@firestitch/common 12.6.4 → 12.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/directives/index.d.ts +4 -0
- package/app/directives/model-change.directive.d.ts +16 -0
- package/app/fs-common.module.d.ts +3 -2
- package/app/pipes/currency.pipe.d.ts +1 -1
- package/bundles/firestitch-common.umd.js +1071 -1032
- package/bundles/firestitch-common.umd.js.map +1 -1
- package/esm2015/app/directives/index.js +5 -0
- package/esm2015/app/directives/model-change.directive.js +37 -0
- package/esm2015/app/fs-common.module.js +19 -14
- package/esm2015/app/pipes/currency.pipe.js +3 -3
- package/esm2015/public_api.js +6 -8
- package/fesm2015/firestitch-common.js +961 -925
- package/fesm2015/firestitch-common.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +5 -7
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { NgModel } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FsModelChangeDirective implements OnInit, OnDestroy {
|
|
5
|
+
private _ngModel;
|
|
6
|
+
fsModelChangeOptions: {
|
|
7
|
+
debounce?: number;
|
|
8
|
+
};
|
|
9
|
+
fsModelChange: EventEmitter<any>;
|
|
10
|
+
private _destroy$;
|
|
11
|
+
constructor(_ngModel: NgModel);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsModelChangeDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsModelChangeDirective, "[fsModelChange]", never, { "fsModelChangeOptions": "fsModelChangeOptions"; }, { "fsModelChange": "fsModelChange"; }, never>;
|
|
16
|
+
}
|
|
@@ -9,10 +9,11 @@ import * as i6 from "./pipes/currency.pipe";
|
|
|
9
9
|
import * as i7 from "./pipes/truncate.pipe";
|
|
10
10
|
import * as i8 from "./pipes/bytes.pipe";
|
|
11
11
|
import * as i9 from "./pipes/ordinal-number.pipe";
|
|
12
|
-
import * as i10 from "
|
|
12
|
+
import * as i10 from "./directives/model-change.directive";
|
|
13
|
+
import * as i11 from "@angular/common";
|
|
13
14
|
export declare class FsCommonModule {
|
|
14
15
|
static forRoot(): ModuleWithProviders<FsCommonModule>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsCommonModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FsCommonModule, [typeof i1.FsStopPropagationDirective, typeof i2.FsPreventDefaultDirective, typeof i3.FsAutofocusDirective, typeof i4.FsUtilGuidPipe, typeof i4.FsUtilIsEmptyPipe, typeof i4.FsUtilIsNotEmptyPipe, typeof i4.FsUtilStringifyPipe, typeof i5.FsFormatNumberPipe, typeof i6.FsFormatCurrencyPipe, typeof i7.FsFormatTruncatePipe, typeof i8.FsFormatBytesPipe, typeof i9.FsFormatOrdinalNumberPipe], [typeof
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FsCommonModule, [typeof i1.FsStopPropagationDirective, typeof i2.FsPreventDefaultDirective, typeof i3.FsAutofocusDirective, typeof i4.FsUtilGuidPipe, typeof i4.FsUtilIsEmptyPipe, typeof i4.FsUtilIsNotEmptyPipe, typeof i4.FsUtilStringifyPipe, typeof i5.FsFormatNumberPipe, typeof i6.FsFormatCurrencyPipe, typeof i7.FsFormatTruncatePipe, typeof i8.FsFormatBytesPipe, typeof i9.FsFormatOrdinalNumberPipe, typeof i10.FsModelChangeDirective], [typeof i11.CommonModule], [typeof i1.FsStopPropagationDirective, typeof i2.FsPreventDefaultDirective, typeof i3.FsAutofocusDirective, typeof i4.FsUtilGuidPipe, typeof i4.FsUtilStringifyPipe, typeof i5.FsFormatNumberPipe, typeof i6.FsFormatCurrencyPipe, typeof i7.FsFormatTruncatePipe, typeof i4.FsUtilIsEmptyPipe, typeof i4.FsUtilIsNotEmptyPipe, typeof i8.FsFormatBytesPipe, typeof i10.FsModelChangeDirective, typeof i9.FsFormatOrdinalNumberPipe]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<FsCommonModule>;
|
|
18
19
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class FsFormatCurrencyPipe implements PipeTransform {
|
|
4
4
|
locale: string;
|
|
5
5
|
constructor(locale: string);
|
|
6
|
-
transform(amount: any, precision?: number, currencyCode?:
|
|
6
|
+
transform(amount: any, precision?: [number, number] | number, currencyCode?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatCurrencyPipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatCurrencyPipe, "fsFormatCurrency">;
|
|
9
9
|
}
|