@firestitch/common 8.0.12 → 8.0.13
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/autofocus.directive.d.ts +6 -6
- package/app/directives/prevent-default.directive.d.ts +3 -3
- package/app/directives/stop-propagation.directive.d.ts +3 -3
- package/app/fs-common.module.d.ts +4 -4
- package/app/pipes/bytes.pipe.d.ts +4 -4
- package/app/pipes/currency.pipe.d.ts +6 -6
- package/app/pipes/number.pipe.d.ts +4 -4
- package/app/pipes/ordinal-number.pipe.d.ts +4 -4
- package/app/pipes/truncate.pipe.d.ts +5 -5
- package/app/pipes/util.pipe.d.ts +15 -15
- package/app/services/array.service.d.ts +58 -58
- package/app/services/math.service.d.ts +6 -6
- package/app/services/util.service.d.ts +86 -86
- package/app/services/vaildate.service.d.ts +13 -13
- package/bundles/firestitch-common.umd.js +3144 -3143
- package/bundles/firestitch-common.umd.js.map +1 -1
- package/bundles/firestitch-common.umd.min.js +1 -1
- package/bundles/firestitch-common.umd.min.js.map +1 -1
- package/esm2015/app/directives/autofocus.directive.js +41 -41
- package/esm2015/app/directives/prevent-default.directive.js +23 -23
- package/esm2015/app/directives/stop-propagation.directive.js +23 -23
- package/esm2015/app/fs-common.module.js +71 -71
- package/esm2015/app/pipes/bytes.pipe.js +21 -21
- package/esm2015/app/pipes/currency.pipe.js +37 -37
- package/esm2015/app/pipes/number.pipe.js +22 -22
- package/esm2015/app/pipes/ordinal-number.pipe.js +21 -21
- package/esm2015/app/pipes/truncate.pipe.js +27 -27
- package/esm2015/app/pipes/util.pipe.js +70 -70
- package/esm2015/app/services/array.service.js +351 -351
- package/esm2015/app/services/math.service.js +28 -28
- package/esm2015/app/services/util.service.js +429 -429
- package/esm2015/app/services/vaildate.service.js +47 -47
- package/esm2015/firestitch-common.js +18 -18
- package/esm2015/libs/array/compare/compare.js +18 -18
- package/esm2015/libs/array/compare/index.js +6 -6
- package/esm2015/libs/array/filter/filter.js +52 -52
- package/esm2015/libs/array/filter/index.js +6 -6
- package/esm2015/libs/array/find/find.js +16 -16
- package/esm2015/libs/array/find/index.js +6 -6
- package/esm2015/libs/array/inArray/inArray.js +21 -21
- package/esm2015/libs/array/inArray/index.js +6 -6
- package/esm2015/libs/array/index/index.js +24 -24
- package/esm2015/libs/array/index.js +18 -18
- package/esm2015/libs/array/indexOf/index.js +6 -6
- package/esm2015/libs/array/indexOf/indexOf.js +30 -30
- package/esm2015/libs/array/keyExists/index.js +6 -6
- package/esm2015/libs/array/keyExists/keyExists.js +13 -13
- package/esm2015/libs/array/ksort/index.js +6 -6
- package/esm2015/libs/array/ksort/ksort.js +21 -21
- package/esm2015/libs/array/list/index.js +6 -6
- package/esm2015/libs/array/list/list.js +29 -29
- package/esm2015/libs/array/nameValue/index.js +6 -6
- package/esm2015/libs/array/nameValue/nameValue.js +51 -51
- package/esm2015/libs/array/remove/index.js +6 -6
- package/esm2015/libs/array/remove/remove.js +19 -19
- package/esm2015/libs/array/rsort/index.js +6 -6
- package/esm2015/libs/array/rsort/rsort.js +14 -14
- package/esm2015/libs/array/sort/index.js +6 -6
- package/esm2015/libs/array/sort/sort.js +43 -43
- package/esm2015/libs/format/acronym/acronym.js +33 -33
- package/esm2015/libs/format/acronym/index.js +6 -6
- package/esm2015/libs/format/bytes/bytes.js +22 -22
- package/esm2015/libs/format/bytes/index.js +6 -6
- package/esm2015/libs/format/currency/currency.js +19 -19
- package/esm2015/libs/format/currency/index.js +6 -6
- package/esm2015/libs/format/index.js +10 -10
- package/esm2015/libs/format/number/index.js +6 -6
- package/esm2015/libs/format/number/number.js +13 -13
- package/esm2015/libs/format/truncate/index.js +6 -6
- package/esm2015/libs/format/truncate/truncate.js +24 -24
- package/esm2015/libs/index.js +10 -10
- package/esm2015/libs/rxjs/delayedRetry.js +57 -57
- package/esm2015/libs/util/boolean/boolean.js +13 -13
- package/esm2015/libs/util/boolean/index.js +6 -6
- package/esm2015/libs/util/debounce/debounce.js +39 -39
- package/esm2015/libs/util/debounce/index.js +6 -6
- package/esm2015/libs/util/get-normalized-path/get-normalized-path.js +15 -15
- package/esm2015/libs/util/get-normalized-path/index.js +6 -6
- package/esm2015/libs/util/guid/guid.js +35 -35
- package/esm2015/libs/util/guid/index.js +6 -6
- package/esm2015/libs/util/index.js +22 -22
- package/esm2015/libs/util/isClass/index.js +6 -6
- package/esm2015/libs/util/isClass/isClass.js +27 -27
- package/esm2015/libs/util/isEmpty/index.js +6 -6
- package/esm2015/libs/util/isEmpty/isEmpty.js +22 -22
- package/esm2015/libs/util/isNumeric/index.js +6 -6
- package/esm2015/libs/util/isNumeric/isNumeric.js +15 -15
- package/esm2015/libs/util/keys/index.js +6 -6
- package/esm2015/libs/util/keys/keys.js +79 -79
- package/esm2015/libs/util/length/index.js +6 -6
- package/esm2015/libs/util/length/length.js +19 -19
- package/esm2015/libs/util/ordinal-number/ordinal-number.js +19 -19
- package/esm2015/libs/util/queue/index.js +7 -7
- package/esm2015/libs/util/queue/operation.js +31 -31
- package/esm2015/libs/util/queue/queue.enum.js +11 -11
- package/esm2015/libs/util/queue/queue.js +290 -290
- package/esm2015/libs/util/remove-query-params/index.js +6 -6
- package/esm2015/libs/util/remove-query-params/remove-query-params.js +12 -12
- package/esm2015/libs/util/resolve/index.js +6 -6
- package/esm2015/libs/util/resolve/resolve.js +32 -32
- package/esm2015/libs/util/stringify/index.js +6 -6
- package/esm2015/libs/util/stringify/stringify.js +12 -12
- package/esm2015/libs/util/throttle/index.js +6 -6
- package/esm2015/libs/util/throttle/throttle.js +29 -29
- package/esm2015/libs/util/uuid/index.js +6 -6
- package/esm2015/libs/util/uuid/uuid.js +12 -12
- package/esm2015/libs/util/value/index.js +6 -6
- package/esm2015/libs/util/value/value.js +19 -19
- package/esm2015/libs/validate/email/email.js +12 -12
- package/esm2015/libs/validate/email/index.js +6 -6
- package/esm2015/libs/validate/index.js +8 -8
- package/esm2015/libs/validate/phone/index.js +6 -6
- package/esm2015/libs/validate/phone/phone.js +14 -14
- package/esm2015/libs/validate/url/index.js +6 -6
- package/esm2015/libs/validate/url/url.js +22 -22
- package/esm2015/public_api.js +16 -16
- package/esm5/app/directives/autofocus.directive.js +44 -44
- package/esm5/app/directives/prevent-default.directive.js +31 -31
- package/esm5/app/directives/stop-propagation.directive.js +31 -31
- package/esm5/app/fs-common.module.js +78 -78
- package/esm5/app/pipes/bytes.pipe.js +29 -29
- package/esm5/app/pipes/currency.pipe.js +42 -42
- package/esm5/app/pipes/number.pipe.js +31 -31
- package/esm5/app/pipes/ordinal-number.pipe.js +29 -29
- package/esm5/app/pipes/truncate.pipe.js +37 -37
- package/esm5/app/pipes/util.pipe.js +99 -99
- package/esm5/app/services/array.service.js +490 -490
- package/esm5/app/services/math.service.js +41 -41
- package/esm5/app/services/util.service.js +607 -607
- package/esm5/app/services/vaildate.service.js +62 -62
- package/esm5/firestitch-common.js +18 -18
- package/esm5/libs/array/compare/compare.js +18 -18
- package/esm5/libs/array/compare/index.js +6 -6
- package/esm5/libs/array/filter/filter.js +52 -52
- package/esm5/libs/array/filter/index.js +6 -6
- package/esm5/libs/array/find/find.js +16 -16
- package/esm5/libs/array/find/index.js +6 -6
- package/esm5/libs/array/inArray/inArray.js +21 -21
- package/esm5/libs/array/inArray/index.js +6 -6
- package/esm5/libs/array/index/index.js +25 -24
- package/esm5/libs/array/index.js +18 -18
- package/esm5/libs/array/indexOf/index.js +6 -6
- package/esm5/libs/array/indexOf/indexOf.js +30 -30
- package/esm5/libs/array/keyExists/index.js +6 -6
- package/esm5/libs/array/keyExists/keyExists.js +13 -13
- package/esm5/libs/array/ksort/index.js +6 -6
- package/esm5/libs/array/ksort/ksort.js +21 -21
- package/esm5/libs/array/list/index.js +6 -6
- package/esm5/libs/array/list/list.js +30 -30
- package/esm5/libs/array/nameValue/index.js +6 -6
- package/esm5/libs/array/nameValue/nameValue.js +51 -51
- package/esm5/libs/array/remove/index.js +6 -6
- package/esm5/libs/array/remove/remove.js +19 -19
- package/esm5/libs/array/rsort/index.js +6 -6
- package/esm5/libs/array/rsort/rsort.js +14 -14
- package/esm5/libs/array/sort/index.js +6 -6
- package/esm5/libs/array/sort/sort.js +44 -44
- package/esm5/libs/format/acronym/acronym.js +34 -34
- package/esm5/libs/format/acronym/index.js +6 -6
- package/esm5/libs/format/bytes/bytes.js +22 -22
- package/esm5/libs/format/bytes/index.js +6 -6
- package/esm5/libs/format/currency/currency.js +22 -22
- package/esm5/libs/format/currency/index.js +6 -6
- package/esm5/libs/format/index.js +10 -10
- package/esm5/libs/format/number/index.js +6 -6
- package/esm5/libs/format/number/number.js +13 -13
- package/esm5/libs/format/truncate/index.js +6 -6
- package/esm5/libs/format/truncate/truncate.js +27 -27
- package/esm5/libs/index.js +10 -10
- package/esm5/libs/rxjs/delayedRetry.js +64 -64
- package/esm5/libs/util/boolean/boolean.js +13 -13
- package/esm5/libs/util/boolean/index.js +6 -6
- package/esm5/libs/util/debounce/debounce.js +39 -39
- package/esm5/libs/util/debounce/index.js +6 -6
- package/esm5/libs/util/get-normalized-path/get-normalized-path.js +15 -15
- package/esm5/libs/util/get-normalized-path/index.js +6 -6
- package/esm5/libs/util/guid/guid.js +36 -36
- package/esm5/libs/util/guid/index.js +6 -6
- package/esm5/libs/util/index.js +22 -22
- package/esm5/libs/util/isClass/index.js +6 -6
- package/esm5/libs/util/isClass/isClass.js +27 -27
- package/esm5/libs/util/isEmpty/index.js +6 -6
- package/esm5/libs/util/isEmpty/isEmpty.js +22 -22
- package/esm5/libs/util/isNumeric/index.js +6 -6
- package/esm5/libs/util/isNumeric/isNumeric.js +15 -15
- package/esm5/libs/util/keys/index.js +6 -6
- package/esm5/libs/util/keys/keys.js +79 -79
- package/esm5/libs/util/length/index.js +6 -6
- package/esm5/libs/util/length/length.js +19 -19
- package/esm5/libs/util/ordinal-number/ordinal-number.js +21 -21
- package/esm5/libs/util/queue/index.js +7 -7
- package/esm5/libs/util/queue/operation.js +29 -29
- package/esm5/libs/util/queue/queue.enum.js +11 -11
- package/esm5/libs/util/queue/queue.js +366 -366
- package/esm5/libs/util/remove-query-params/index.js +6 -6
- package/esm5/libs/util/remove-query-params/remove-query-params.js +12 -12
- package/esm5/libs/util/resolve/index.js +6 -6
- package/esm5/libs/util/resolve/resolve.js +33 -33
- package/esm5/libs/util/stringify/index.js +6 -6
- package/esm5/libs/util/stringify/stringify.js +12 -12
- package/esm5/libs/util/throttle/index.js +6 -6
- package/esm5/libs/util/throttle/throttle.js +29 -29
- package/esm5/libs/util/uuid/index.js +6 -6
- package/esm5/libs/util/uuid/uuid.js +12 -12
- package/esm5/libs/util/value/index.js +6 -6
- package/esm5/libs/util/value/value.js +19 -19
- package/esm5/libs/validate/email/email.js +12 -12
- package/esm5/libs/validate/email/index.js +6 -6
- package/esm5/libs/validate/index.js +8 -8
- package/esm5/libs/validate/phone/index.js +6 -6
- package/esm5/libs/validate/phone/phone.js +14 -14
- package/esm5/libs/validate/url/index.js +6 -6
- package/esm5/libs/validate/url/url.js +22 -22
- package/esm5/public_api.js +16 -16
- package/fesm2015/firestitch-common.js +2641 -2641
- package/fesm2015/firestitch-common.js.map +1 -1
- package/fesm5/firestitch-common.js +3156 -3155
- package/fesm5/firestitch-common.js.map +1 -1
- package/firestitch-common.d.ts +13 -13
- package/libs/array/compare/compare.d.ts +1 -1
- package/libs/array/compare/index.d.ts +1 -1
- package/libs/array/filter/filter.d.ts +1 -1
- package/libs/array/filter/index.d.ts +1 -1
- package/libs/array/find/find.d.ts +1 -1
- package/libs/array/find/index.d.ts +1 -1
- package/libs/array/inArray/inArray.d.ts +1 -1
- package/libs/array/inArray/index.d.ts +1 -1
- package/libs/array/index/index.d.ts +1 -1
- package/libs/array/index.d.ts +13 -13
- package/libs/array/indexOf/index.d.ts +1 -1
- package/libs/array/indexOf/indexOf.d.ts +1 -1
- package/libs/array/keyExists/index.d.ts +1 -1
- package/libs/array/keyExists/keyExists.d.ts +1 -1
- package/libs/array/ksort/index.d.ts +1 -1
- package/libs/array/ksort/ksort.d.ts +1 -1
- package/libs/array/list/index.d.ts +1 -1
- package/libs/array/list/list.d.ts +1 -1
- package/libs/array/nameValue/index.d.ts +1 -1
- package/libs/array/nameValue/nameValue.d.ts +1 -1
- package/libs/array/remove/index.d.ts +1 -1
- package/libs/array/remove/remove.d.ts +1 -1
- package/libs/array/rsort/index.d.ts +1 -1
- package/libs/array/rsort/rsort.d.ts +1 -1
- package/libs/array/sort/index.d.ts +1 -1
- package/libs/array/sort/sort.d.ts +1 -1
- package/libs/format/acronym/acronym.d.ts +1 -1
- package/libs/format/acronym/index.d.ts +1 -1
- package/libs/format/bytes/bytes.d.ts +1 -1
- package/libs/format/bytes/index.d.ts +1 -1
- package/libs/format/currency/currency.d.ts +1 -1
- package/libs/format/currency/index.d.ts +1 -1
- package/libs/format/index.d.ts +5 -5
- package/libs/format/number/index.d.ts +1 -1
- package/libs/format/number/number.d.ts +1 -1
- package/libs/format/truncate/index.d.ts +1 -1
- package/libs/format/truncate/truncate.d.ts +1 -1
- package/libs/index.d.ts +5 -5
- package/libs/rxjs/delayedRetry.d.ts +2 -2
- package/libs/util/boolean/boolean.d.ts +1 -1
- package/libs/util/boolean/index.d.ts +1 -1
- package/libs/util/debounce/debounce.d.ts +1 -1
- package/libs/util/debounce/index.d.ts +1 -1
- package/libs/util/get-normalized-path/get-normalized-path.d.ts +2 -2
- package/libs/util/get-normalized-path/index.d.ts +1 -1
- package/libs/util/guid/guid.d.ts +1 -1
- package/libs/util/guid/index.d.ts +1 -1
- package/libs/util/index.d.ts +17 -17
- package/libs/util/isClass/index.d.ts +1 -1
- package/libs/util/isClass/isClass.d.ts +1 -1
- package/libs/util/isEmpty/index.d.ts +1 -1
- package/libs/util/isEmpty/isEmpty.d.ts +1 -1
- package/libs/util/isNumeric/index.d.ts +1 -1
- package/libs/util/isNumeric/isNumeric.d.ts +1 -1
- package/libs/util/keys/index.d.ts +1 -1
- package/libs/util/keys/keys.d.ts +37 -37
- package/libs/util/length/index.d.ts +1 -1
- package/libs/util/length/length.d.ts +1 -1
- package/libs/util/ordinal-number/ordinal-number.d.ts +1 -1
- package/libs/util/queue/index.d.ts +2 -2
- package/libs/util/queue/operation.d.ts +7 -7
- package/libs/util/queue/queue.d.ts +32 -32
- package/libs/util/queue/queue.enum.d.ts +4 -4
- package/libs/util/remove-query-params/index.d.ts +1 -1
- package/libs/util/remove-query-params/remove-query-params.d.ts +1 -1
- package/libs/util/resolve/index.d.ts +1 -1
- package/libs/util/resolve/resolve.d.ts +1 -1
- package/libs/util/stringify/index.d.ts +1 -1
- package/libs/util/stringify/stringify.d.ts +1 -1
- package/libs/util/throttle/index.d.ts +1 -1
- package/libs/util/throttle/throttle.d.ts +1 -1
- package/libs/util/uuid/index.d.ts +1 -1
- package/libs/util/uuid/uuid.d.ts +1 -1
- package/libs/util/value/index.d.ts +1 -1
- package/libs/util/value/value.d.ts +1 -1
- package/libs/validate/email/email.d.ts +1 -1
- package/libs/validate/email/index.d.ts +1 -1
- package/libs/validate/index.d.ts +3 -3
- package/libs/validate/phone/index.d.ts +1 -1
- package/libs/validate/phone/phone.d.ts +1 -1
- package/libs/validate/url/index.d.ts +1 -1
- package/libs/validate/url/url.d.ts +7 -7
- package/package.json +1 -1
- package/public_api.d.ts +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
export declare class FsAutofocusDirective implements AfterViewInit {
|
|
3
|
-
private _el;
|
|
4
|
-
constructor(_el: ElementRef);
|
|
5
|
-
ngAfterViewInit(): void;
|
|
6
|
-
}
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
export declare class FsAutofocusDirective implements AfterViewInit {
|
|
3
|
+
private _el;
|
|
4
|
+
constructor(_el: ElementRef);
|
|
5
|
+
ngAfterViewInit(): void;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class FsPreventDefaultDirective {
|
|
2
|
-
preventClick(event: any): void;
|
|
3
|
-
}
|
|
1
|
+
export declare class FsPreventDefaultDirective {
|
|
2
|
+
preventClick(event: any): void;
|
|
3
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class FsStopPropagationDirective {
|
|
2
|
-
preventClick(event: any): void;
|
|
3
|
-
}
|
|
1
|
+
export declare class FsStopPropagationDirective {
|
|
2
|
+
preventClick(event: any): void;
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
export declare class FsCommonModule {
|
|
3
|
-
static forRoot(): ModuleWithProviders<FsCommonModule>;
|
|
4
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
export declare class FsCommonModule {
|
|
3
|
+
static forRoot(): ModuleWithProviders<FsCommonModule>;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class FsFormatBytesPipe implements PipeTransform {
|
|
3
|
-
transform(value: number): string;
|
|
4
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FsFormatBytesPipe implements PipeTransform {
|
|
3
|
+
transform(value: number): string;
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class FsFormatCurrencyPipe implements PipeTransform {
|
|
3
|
-
locale: string;
|
|
4
|
-
constructor(locale: string);
|
|
5
|
-
transform(amount: any, precision?: any, currencyCode?: any): string;
|
|
6
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FsFormatCurrencyPipe implements PipeTransform {
|
|
3
|
+
locale: string;
|
|
4
|
+
constructor(locale: string);
|
|
5
|
+
transform(amount: any, precision?: any, currencyCode?: any): string;
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class FsFormatNumberPipe implements PipeTransform {
|
|
3
|
-
transform(value: any, decimals?: any): string;
|
|
4
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FsFormatNumberPipe implements PipeTransform {
|
|
3
|
+
transform(value: any, decimals?: any): string;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class FsFormatOrdinalNumberPipe implements PipeTransform {
|
|
3
|
-
transform(value: any): string;
|
|
4
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FsFormatOrdinalNumberPipe implements PipeTransform {
|
|
3
|
+
transform(value: any): string;
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class FsFormatTruncatePipe implements PipeTransform {
|
|
3
|
-
constructor();
|
|
4
|
-
transform(value: any, limit?: any, completeWords?: any, ellipsis?: any): string;
|
|
5
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FsFormatTruncatePipe implements PipeTransform {
|
|
3
|
+
constructor();
|
|
4
|
+
transform(value: any, limit?: any, completeWords?: any, ellipsis?: any): string;
|
|
5
|
+
}
|
package/app/pipes/util.pipe.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class FsUtilStringifyPipe implements PipeTransform {
|
|
3
|
-
constructor();
|
|
4
|
-
transform(value: any): string;
|
|
5
|
-
}
|
|
6
|
-
export declare class FsUtilGuidPipe implements PipeTransform {
|
|
7
|
-
constructor();
|
|
8
|
-
transform(): string;
|
|
9
|
-
}
|
|
10
|
-
export declare class FsUtilIsEmptyPipe implements PipeTransform {
|
|
11
|
-
transform(value: any): any;
|
|
12
|
-
}
|
|
13
|
-
export declare class FsUtilIsNotEmptyPipe implements PipeTransform {
|
|
14
|
-
transform(value: any): any;
|
|
15
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FsUtilStringifyPipe implements PipeTransform {
|
|
3
|
+
constructor();
|
|
4
|
+
transform(value: any): string;
|
|
5
|
+
}
|
|
6
|
+
export declare class FsUtilGuidPipe implements PipeTransform {
|
|
7
|
+
constructor();
|
|
8
|
+
transform(): string;
|
|
9
|
+
}
|
|
10
|
+
export declare class FsUtilIsEmptyPipe implements PipeTransform {
|
|
11
|
+
transform(value: any): any;
|
|
12
|
+
}
|
|
13
|
+
export declare class FsUtilIsNotEmptyPipe implements PipeTransform {
|
|
14
|
+
transform(value: any): any;
|
|
15
|
+
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
export declare class FsArray {
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated use import { nameValue } from @firestitch/common/array; instead
|
|
4
|
-
*/
|
|
5
|
-
nameValue(array: any, name: any, value: any): Array<any>;
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated use import { remove } from @firestitch/common/array; instead
|
|
8
|
-
*/
|
|
9
|
-
remove(array: any, query: any): any;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated use import { indexOf } from @firestitch/common/array; instead
|
|
12
|
-
*/
|
|
13
|
-
indexOf(array: any, query: any): number;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated use import { compare } from @firestitch/common/array; instead
|
|
16
|
-
*/
|
|
17
|
-
compare(query: any, item: any): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated use import { filter } from @firestitch/common/array; instead
|
|
20
|
-
*/
|
|
21
|
-
filter(array: any, query: any): Array<any>;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated use import { index } from @firestitch/common/array; instead
|
|
24
|
-
*/
|
|
25
|
-
index(array: any, property: any): Object;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated use import { sort } from @firestitch/common/array; instead
|
|
28
|
-
*/
|
|
29
|
-
sort(array: any, query: any, reverse?: boolean): Array<any>;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated use import { rsort } from @firestitch/common/array; instead
|
|
32
|
-
*/
|
|
33
|
-
rsort(array: any, query: any): Array<any>;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated use import { list } from @firestitch/common/array; instead
|
|
36
|
-
*/
|
|
37
|
-
list(array: any, property: any, index?: any): Object;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated use import { applyDepth } from @firestitch/common/array; instead
|
|
40
|
-
*/
|
|
41
|
-
applyDepth(objects: any, parent_property: any, id_property?: string, depth_property?: string): {};
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated use import { inArray } from @firestitch/common/array; instead
|
|
44
|
-
*/
|
|
45
|
-
inArray(values: any, array: any): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated use import { keyExists } from @firestitch/common/array; instead
|
|
48
|
-
*/
|
|
49
|
-
keyExists(array: any, key: any): any;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated use import { length } from @firestitch/common/array; instead
|
|
52
|
-
*/
|
|
53
|
-
length(array: any): any;
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated use import { ksort } from @firestitch/common/array; instead
|
|
56
|
-
*/
|
|
57
|
-
ksort(unordered: any): void;
|
|
58
|
-
}
|
|
1
|
+
export declare class FsArray {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated use import { nameValue } from @firestitch/common/array; instead
|
|
4
|
+
*/
|
|
5
|
+
nameValue(array: any, name: any, value: any): Array<any>;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated use import { remove } from @firestitch/common/array; instead
|
|
8
|
+
*/
|
|
9
|
+
remove(array: any, query: any): any;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated use import { indexOf } from @firestitch/common/array; instead
|
|
12
|
+
*/
|
|
13
|
+
indexOf(array: any, query: any): number;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated use import { compare } from @firestitch/common/array; instead
|
|
16
|
+
*/
|
|
17
|
+
compare(query: any, item: any): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use import { filter } from @firestitch/common/array; instead
|
|
20
|
+
*/
|
|
21
|
+
filter(array: any, query: any): Array<any>;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated use import { index } from @firestitch/common/array; instead
|
|
24
|
+
*/
|
|
25
|
+
index(array: any, property: any): Object;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated use import { sort } from @firestitch/common/array; instead
|
|
28
|
+
*/
|
|
29
|
+
sort(array: any, query: any, reverse?: boolean): Array<any>;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated use import { rsort } from @firestitch/common/array; instead
|
|
32
|
+
*/
|
|
33
|
+
rsort(array: any, query: any): Array<any>;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated use import { list } from @firestitch/common/array; instead
|
|
36
|
+
*/
|
|
37
|
+
list(array: any, property: any, index?: any): Object;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated use import { applyDepth } from @firestitch/common/array; instead
|
|
40
|
+
*/
|
|
41
|
+
applyDepth(objects: any, parent_property: any, id_property?: string, depth_property?: string): {};
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated use import { inArray } from @firestitch/common/array; instead
|
|
44
|
+
*/
|
|
45
|
+
inArray(values: any, array: any): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated use import { keyExists } from @firestitch/common/array; instead
|
|
48
|
+
*/
|
|
49
|
+
keyExists(array: any, key: any): any;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated use import { length } from @firestitch/common/array; instead
|
|
52
|
+
*/
|
|
53
|
+
length(array: any): any;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated use import { ksort } from @firestitch/common/array; instead
|
|
56
|
+
*/
|
|
57
|
+
ksort(unordered: any): void;
|
|
58
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare class FsMath {
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated use _.round() instead {@link https://lodash.com/docs/4.17.5#round}
|
|
4
|
-
*/
|
|
5
|
-
round(number: any, precision: any): number;
|
|
6
|
-
}
|
|
1
|
+
export declare class FsMath {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated use _.round() instead {@link https://lodash.com/docs/4.17.5#round}
|
|
4
|
+
*/
|
|
5
|
+
round(number: any, precision: any): number;
|
|
6
|
+
}
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
export declare const KEY_CANCEL = 3, KEY_HELP = 6, KEY_BACKSPACE = 8, KEY_TAB = 9, KEY_CLEAR = 12, KEY_RETURN = 13, KEY_ENTER = 14, KEY_SHIFT = 16, KEY_CONTROL = 17, KEY_ALT = 18, KEY_PAUSE = 19, KEY_CAPS_LOCK = 20, KEY_ESCAPE = 27, KEY_SPACE = 32, KEY_PAGE_UP = 33, KEY_PAGE_DOWN = 34, KEY_END = 35, KEY_HOME = 36, KEY_LEFT = 37, KEY_UP = 38, KEY_RIGHT = 39, KEY_DOWN = 40, KEY_PRINTSCREEN = 44, KEY_INSERT = 45, KEY_DELETE = 46, KEY_0 = 48, KEY_1 = 49, KEY_2 = 50, KEY_3 = 51, KEY_4 = 52, KEY_5 = 53, KEY_6 = 54, KEY_7 = 55, KEY_8 = 56, KEY_9 = 57, KEY_SEMICOLON = 59, KEY_EQUALS = 61;
|
|
2
|
-
export declare class FsUtil {
|
|
3
|
-
private intervals;
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use @firestitch/common/util/guid instead
|
|
6
|
-
*/
|
|
7
|
-
guid(pattern?: string): string;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated use import { uuid } from @firestitch/common/util; instead
|
|
10
|
-
*/
|
|
11
|
-
uuid(): string;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated use import { resolve } from @firestitch/common/util; instead
|
|
14
|
-
*/
|
|
15
|
-
resolve(promise: Promise<object>, defaults?: any[]): Promise<object>;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated use _.toInteger() instead
|
|
18
|
-
*/
|
|
19
|
-
int(value: any): number;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated use _.toFinite() instead
|
|
22
|
-
*/
|
|
23
|
-
float(value: any): number;
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated use _.toString() instead
|
|
26
|
-
*/
|
|
27
|
-
string(string: any): string;
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated use import { isEmpty } from @firestitch/common/util; instead
|
|
30
|
-
*/
|
|
31
|
-
isEmpty(value: any, options?: any): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated use _.isInteger() instead
|
|
34
|
-
*/
|
|
35
|
-
isInt(value: any, type?: any): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated use _.each() instead {@link https://lodash.com/docs/4.17.5#forEach}
|
|
38
|
-
*/
|
|
39
|
-
each(object: any, func: any): void;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated use _.isArrayLikeObject() {@link https://lodash.com/docs/4.17.5#isArrayLikeObject}
|
|
42
|
-
* or _.isObject() {@link https://lodash.com/docs/4.17.5#isObject} instead
|
|
43
|
-
*/
|
|
44
|
-
isObject(value: any): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated use _.isString() instead {@link https://lodash.com/docs/4.17.5#isString}
|
|
47
|
-
*/
|
|
48
|
-
isString(value: any): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated use _.isArray() instead {@link https://lodash.com/docs/4.17.5#isArray}
|
|
51
|
-
*/
|
|
52
|
-
isArray(value: any): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated use import { isNumeric } from @firestitch/common/util; instead
|
|
55
|
-
*/
|
|
56
|
-
isNumeric(value: any): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated use import { isClass } from @firestitch/common/util; instead
|
|
59
|
-
*/
|
|
60
|
-
isClass(value: any, cls: any): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated use _.isBoolean() instead {@link https://lodash.com/docs/4.17.5#isBoolean}
|
|
63
|
-
*/
|
|
64
|
-
isBoolean(value: any): boolean;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated use import { value } from @firestitch/common/util; instead
|
|
67
|
-
*/
|
|
68
|
-
value(object: any, key: any, def: any): any;
|
|
69
|
-
throttle(func: any, wait: any): () => void;
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated use import { debounce } from @firestitch/common/util; instead
|
|
72
|
-
*/
|
|
73
|
-
debounce(func: any, wait: any, immediate: any): () => void;
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated use import { length } from @firestitch/common/util; instead
|
|
76
|
-
*/
|
|
77
|
-
length(object: any): number;
|
|
78
|
-
/**
|
|
79
|
-
* @deprecated use import { boolean } from @firestitch/common/util; instead
|
|
80
|
-
*/
|
|
81
|
-
boolean(value: any): boolean;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated use import { stringify } from @firestitch/common/util; instead
|
|
84
|
-
*/
|
|
85
|
-
stringify(value: any): string;
|
|
86
|
-
}
|
|
1
|
+
export declare const KEY_CANCEL = 3, KEY_HELP = 6, KEY_BACKSPACE = 8, KEY_TAB = 9, KEY_CLEAR = 12, KEY_RETURN = 13, KEY_ENTER = 14, KEY_SHIFT = 16, KEY_CONTROL = 17, KEY_ALT = 18, KEY_PAUSE = 19, KEY_CAPS_LOCK = 20, KEY_ESCAPE = 27, KEY_SPACE = 32, KEY_PAGE_UP = 33, KEY_PAGE_DOWN = 34, KEY_END = 35, KEY_HOME = 36, KEY_LEFT = 37, KEY_UP = 38, KEY_RIGHT = 39, KEY_DOWN = 40, KEY_PRINTSCREEN = 44, KEY_INSERT = 45, KEY_DELETE = 46, KEY_0 = 48, KEY_1 = 49, KEY_2 = 50, KEY_3 = 51, KEY_4 = 52, KEY_5 = 53, KEY_6 = 54, KEY_7 = 55, KEY_8 = 56, KEY_9 = 57, KEY_SEMICOLON = 59, KEY_EQUALS = 61;
|
|
2
|
+
export declare class FsUtil {
|
|
3
|
+
private intervals;
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use @firestitch/common/util/guid instead
|
|
6
|
+
*/
|
|
7
|
+
guid(pattern?: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated use import { uuid } from @firestitch/common/util; instead
|
|
10
|
+
*/
|
|
11
|
+
uuid(): string;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated use import { resolve } from @firestitch/common/util; instead
|
|
14
|
+
*/
|
|
15
|
+
resolve(promise: Promise<object>, defaults?: any[]): Promise<object>;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated use _.toInteger() instead
|
|
18
|
+
*/
|
|
19
|
+
int(value: any): number;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use _.toFinite() instead
|
|
22
|
+
*/
|
|
23
|
+
float(value: any): number;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use _.toString() instead
|
|
26
|
+
*/
|
|
27
|
+
string(string: any): string;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated use import { isEmpty } from @firestitch/common/util; instead
|
|
30
|
+
*/
|
|
31
|
+
isEmpty(value: any, options?: any): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated use _.isInteger() instead
|
|
34
|
+
*/
|
|
35
|
+
isInt(value: any, type?: any): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated use _.each() instead {@link https://lodash.com/docs/4.17.5#forEach}
|
|
38
|
+
*/
|
|
39
|
+
each(object: any, func: any): void;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated use _.isArrayLikeObject() {@link https://lodash.com/docs/4.17.5#isArrayLikeObject}
|
|
42
|
+
* or _.isObject() {@link https://lodash.com/docs/4.17.5#isObject} instead
|
|
43
|
+
*/
|
|
44
|
+
isObject(value: any): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated use _.isString() instead {@link https://lodash.com/docs/4.17.5#isString}
|
|
47
|
+
*/
|
|
48
|
+
isString(value: any): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated use _.isArray() instead {@link https://lodash.com/docs/4.17.5#isArray}
|
|
51
|
+
*/
|
|
52
|
+
isArray(value: any): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated use import { isNumeric } from @firestitch/common/util; instead
|
|
55
|
+
*/
|
|
56
|
+
isNumeric(value: any): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated use import { isClass } from @firestitch/common/util; instead
|
|
59
|
+
*/
|
|
60
|
+
isClass(value: any, cls: any): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated use _.isBoolean() instead {@link https://lodash.com/docs/4.17.5#isBoolean}
|
|
63
|
+
*/
|
|
64
|
+
isBoolean(value: any): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated use import { value } from @firestitch/common/util; instead
|
|
67
|
+
*/
|
|
68
|
+
value(object: any, key: any, def: any): any;
|
|
69
|
+
throttle(func: any, wait: any): () => void;
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated use import { debounce } from @firestitch/common/util; instead
|
|
72
|
+
*/
|
|
73
|
+
debounce(func: any, wait: any, immediate: any): () => void;
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated use import { length } from @firestitch/common/util; instead
|
|
76
|
+
*/
|
|
77
|
+
length(object: any): number;
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated use import { boolean } from @firestitch/common/util; instead
|
|
80
|
+
*/
|
|
81
|
+
boolean(value: any): boolean;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated use import { stringify } from @firestitch/common/util; instead
|
|
84
|
+
*/
|
|
85
|
+
stringify(value: any): string;
|
|
86
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FsUtil } from './util.service';
|
|
2
|
-
export declare class FsValidate {
|
|
3
|
-
private fsUtil;
|
|
4
|
-
constructor(fsUtil: FsUtil);
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated use import { email } from @firestitch/common/validate; instead
|
|
7
|
-
*/
|
|
8
|
-
phone(value: any): boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated use import { email } from @firestitch/common/validate; instead
|
|
11
|
-
*/
|
|
12
|
-
email(value: any): boolean;
|
|
13
|
-
}
|
|
1
|
+
import { FsUtil } from './util.service';
|
|
2
|
+
export declare class FsValidate {
|
|
3
|
+
private fsUtil;
|
|
4
|
+
constructor(fsUtil: FsUtil);
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated use import { email } from @firestitch/common/validate; instead
|
|
7
|
+
*/
|
|
8
|
+
phone(value: any): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated use import { email } from @firestitch/common/validate; instead
|
|
11
|
+
*/
|
|
12
|
+
email(value: any): boolean;
|
|
13
|
+
}
|