@acpaas-ui/ngx-utils
Advanced tools
Comparing version 5.0.1 to 6.0.0-beta.0
import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; | ||
import { FilterComponent } from '../../types/filter.types'; | ||
import { FormArray, FormBuilder, FormGroup } from '@angular/forms'; | ||
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; | ||
import * as i0 from "@angular/core"; | ||
export declare class CheckboxFilterComponent implements OnInit, FilterComponent, OnDestroy { | ||
@@ -8,11 +9,13 @@ private formBuilder; | ||
update: EventEmitter<any>; | ||
form: FormGroup; | ||
form: UntypedFormGroup; | ||
value: any; | ||
private destroy$; | ||
constructor(formBuilder: FormBuilder); | ||
constructor(formBuilder: UntypedFormBuilder); | ||
ngOnInit(): void; | ||
private buildCheckboxes; | ||
readonly options: FormArray; | ||
get options(): UntypedFormArray; | ||
onFilter(value: any): void; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFilterComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFilterComponent, "aui-checkbox-filter", never, { "filter": "filter"; }, { "update": "update"; }, never, never, false, never>; | ||
} |
import { EventEmitter, OnInit } from '@angular/core'; | ||
import { FilterComponent } from '../../types/filter.types'; | ||
import * as i0 from "@angular/core"; | ||
export declare class InputFilterComponent implements OnInit, FilterComponent { | ||
@@ -9,2 +10,4 @@ filter: any; | ||
onFilter(value: any): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InputFilterComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<InputFilterComponent, "aui-input-filter", never, { "filter": "filter"; }, { "update": "update"; }, never, never, false, never>; | ||
} |
import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; | ||
import { FilterComponent } from '../../types/filter.types'; | ||
import { FormControl } from '@angular/forms'; | ||
import { UntypedFormControl } from '@angular/forms'; | ||
import * as i0 from "@angular/core"; | ||
export declare class SelectFilterComponent implements OnInit, FilterComponent, OnDestroy { | ||
filter: any; | ||
update: EventEmitter<any>; | ||
select: FormControl; | ||
select: UntypedFormControl; | ||
value: any; | ||
@@ -13,2 +14,4 @@ private destroy$; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "aui-select-filter", never, { "filter": "filter"; }, { "update": "update"; }, never, never, false, never>; | ||
} |
@@ -0,2 +1,12 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./components/checkbox-filter/checkbox-filter.component"; | ||
import * as i2 from "./components/input-filter/input-filter.component"; | ||
import * as i3 from "./components/select-filter/select-filter.component"; | ||
import * as i4 from "@angular/common"; | ||
import * as i5 from "@acpaas-ui/ngx-icon"; | ||
import * as i6 from "@angular/forms"; | ||
export declare class FilterModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FilterModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterModule, [typeof i1.CheckboxFilterComponent, typeof i2.InputFilterComponent, typeof i3.SelectFilterComponent], [typeof i4.CommonModule, typeof i5.IconModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule], [typeof i1.CheckboxFilterComponent, typeof i2.InputFilterComponent, typeof i3.SelectFilterComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<FilterModule>; | ||
} |
import { Filter } from '../classes/filter.class'; | ||
import * as i0 from "@angular/core"; | ||
export declare class FilterService { | ||
filterData(data: any[], filters: Filter[]): any[]; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>; | ||
} |
@@ -0,2 +1,8 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./pipes/pluralize-label.pipe"; | ||
import * as i2 from "./pipes/interpolate-label.pipe"; | ||
export declare class LabelsModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<LabelsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<LabelsModule, [typeof i1.PluralizeLabelPipe, typeof i2.InterpolateLabelPipe], never, [typeof i1.PluralizeLabelPipe, typeof i2.InterpolateLabelPipe]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<LabelsModule>; | ||
} |
import { PipeTransform } from '@angular/core'; | ||
import { ReplaceData } from '../types/labels.types'; | ||
import * as i0 from "@angular/core"; | ||
export declare class InterpolateLabelPipe implements PipeTransform { | ||
transform(label: string, replaceData: ReplaceData): string; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InterpolateLabelPipe, never>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<InterpolateLabelPipe, "interpolateLabel", false>; | ||
} |
import { PipeTransform } from '@angular/core'; | ||
import { Label } from '../types/labels.types'; | ||
import * as i0 from "@angular/core"; | ||
export declare class PluralizeLabelPipe implements PipeTransform { | ||
transform(label: Label | string, count: number): string; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PluralizeLabelPipe, never>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<PluralizeLabelPipe, "pluralizeLabel", false>; | ||
} |
import { ClassProvider, FactoryProvider, InjectionToken } from '@angular/core'; | ||
export declare const WINDOW: InjectionToken<unknown>; | ||
export declare abstract class WindowRef { | ||
readonly nativeWindow: Window | object; | ||
get nativeWindow(): Window | object; | ||
} | ||
export declare class BrowserWindowRef extends WindowRef { | ||
constructor(); | ||
readonly nativeWindow: Window | object; | ||
get nativeWindow(): Window | object; | ||
} | ||
export declare function windowFactory(browserWindowRef: BrowserWindowRef, platformId: object): Window | object; | ||
export declare const WINDOW_PROVIDERS: (ClassProvider | FactoryProvider)[]; |
@@ -0,2 +1,6 @@ | ||
import * as i0 from "@angular/core"; | ||
export declare class WindowModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<WindowModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<WindowModule, never, never, never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<WindowModule>; | ||
} |
{ | ||
"name": "@acpaas-ui/ngx-utils", | ||
"version": "5.0.1", | ||
"version": "6.0.0-beta.0", | ||
"publishConfig": { | ||
@@ -8,22 +8,35 @@ "access": "public" | ||
"dependencies": { | ||
"@acpaas-ui/ngx-icon": "^5.0.0", | ||
"tslib": "^1.9.0" | ||
"@acpaas-ui/ngx-icon": "^6.0.0-beta.0", | ||
"tslib": "^2.3.0" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": ">=8.2.14", | ||
"@angular/core": ">=8.2.14", | ||
"@angular/forms": ">=8.2.14", | ||
"@angular/platform-browser": ">=8.2.14" | ||
"@angular/common": ">=15.2.0", | ||
"@angular/core": ">=15.2.0", | ||
"@angular/forms": ">=15.2.0", | ||
"@angular/platform-browser": ">=15.2.0" | ||
}, | ||
"gitHead": "f05b6565cdf91900938a267c7125480b06a46ed1", | ||
"main": "bundles/acpaas-ui-ngx-utils.umd.js", | ||
"module": "fesm5/acpaas-ui-ngx-utils.js", | ||
"es2015": "fesm2015/acpaas-ui-ngx-utils.js", | ||
"esm5": "esm5/acpaas-ui-ngx-utils.js", | ||
"esm2015": "esm2015/acpaas-ui-ngx-utils.js", | ||
"fesm5": "fesm5/acpaas-ui-ngx-utils.js", | ||
"fesm2015": "fesm2015/acpaas-ui-ngx-utils.js", | ||
"typings": "acpaas-ui-ngx-utils.d.ts", | ||
"metadata": "acpaas-ui-ngx-utils.metadata.json", | ||
"sideEffects": false | ||
} | ||
"gitHead": "dbb0072384e2869923a0b538d97c2fb4c3c6b59f", | ||
"module": "fesm2015/acpaas-ui-ngx-utils.mjs", | ||
"es2020": "fesm2020/acpaas-ui-ngx-utils.mjs", | ||
"esm2020": "esm2020/acpaas-ui-ngx-utils.mjs", | ||
"fesm2020": "fesm2020/acpaas-ui-ngx-utils.mjs", | ||
"fesm2015": "fesm2015/acpaas-ui-ngx-utils.mjs", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/acpaas-ui-ngx-utils.mjs", | ||
"es2020": "./fesm2020/acpaas-ui-ngx-utils.mjs", | ||
"es2015": "./fesm2015/acpaas-ui-ngx-utils.mjs", | ||
"node": "./fesm2015/acpaas-ui-ngx-utils.mjs", | ||
"default": "./fesm2020/acpaas-ui-ngx-utils.mjs" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
218073
46
1980
1
+ Added@acpaas-ui/ngx-icon@6.1.2(transitive)
+ Addedrxjs@7.8.1(transitive)
- Removed@acpaas-ui/ngx-icon@5.0.0(transitive)
- Removed@angular/common@8.2.14(transitive)
- Removed@angular/core@8.2.14(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedtslib@1.14.1(transitive)
- Removedzone.js@0.9.1(transitive)
Updatedtslib@^2.3.0