@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 +1 @@
|
|
|
1
|
-
export * from './currency';
|
|
1
|
+
export * from './currency';
|
package/libs/format/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './number';
|
|
2
|
-
export * from './acronym';
|
|
3
|
-
export * from './currency';
|
|
4
|
-
export * from './truncate';
|
|
5
|
-
export * from './bytes';
|
|
1
|
+
export * from './number';
|
|
2
|
+
export * from './acronym';
|
|
3
|
+
export * from './currency';
|
|
4
|
+
export * from './truncate';
|
|
5
|
+
export * from './bytes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './number';
|
|
1
|
+
export * from './number';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function number(value: any, decimals?: any): string;
|
|
1
|
+
export declare function number(value: any, decimals?: any): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './truncate';
|
|
1
|
+
export * from './truncate';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function truncate(value: string, limit?: number, completeWords?: boolean, ellipsis?: string): string;
|
|
1
|
+
export declare function truncate(value: string, limit?: number, completeWords?: boolean, ellipsis?: string): string;
|
package/libs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './validate';
|
|
2
|
-
export * from './array';
|
|
3
|
-
export * from './util';
|
|
4
|
-
export * from './format';
|
|
5
|
-
export { delayedRetry } from './rxjs/delayedRetry';
|
|
1
|
+
export * from './validate';
|
|
2
|
+
export * from './array';
|
|
3
|
+
export * from './util';
|
|
4
|
+
export * from './format';
|
|
5
|
+
export { delayedRetry } from './rxjs/delayedRetry';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
export declare function delayedRetry(delayMs: number, maxRetry?: number, message?: string): (src: Observable<unknown>) => Observable<unknown>;
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export declare function delayedRetry(delayMs: number, maxRetry?: number, message?: string): (src: Observable<unknown>) => Observable<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function boolean(value: any): boolean;
|
|
1
|
+
export declare function boolean(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './boolean';
|
|
1
|
+
export * from './boolean';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function debounce(func: any, wait: any, immediate: any): () => void;
|
|
1
|
+
export declare function debounce(func: any, wait: any, immediate: any): () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './debounce';
|
|
1
|
+
export * from './debounce';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
export declare function getNormalizedPath(locationSrv: Location): string;
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
export declare function getNormalizedPath(locationSrv: Location): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getNormalizedPath } from './get-normalized-path';
|
|
1
|
+
export { getNormalizedPath } from './get-normalized-path';
|
package/libs/util/guid/guid.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function guid(pattern?: string, options?: any): string;
|
|
1
|
+
export declare function guid(pattern?: string, options?: any): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './guid';
|
|
1
|
+
export * from './guid';
|
package/libs/util/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export * from './boolean';
|
|
2
|
-
export * from './debounce';
|
|
3
|
-
export * from './guid';
|
|
4
|
-
export * from './keys';
|
|
5
|
-
export * from './length';
|
|
6
|
-
export * from './resolve';
|
|
7
|
-
export * from './stringify';
|
|
8
|
-
export * from './uuid';
|
|
9
|
-
export * from './value';
|
|
10
|
-
export * from './isClass';
|
|
11
|
-
export * from './isNumeric';
|
|
12
|
-
export * from './isEmpty';
|
|
13
|
-
export * from './throttle';
|
|
14
|
-
export * from './queue';
|
|
15
|
-
export { getNormalizedPath } from './get-normalized-path';
|
|
16
|
-
export { removeQueryParams } from './remove-query-params';
|
|
17
|
-
export { ordinalNumber } from './ordinal-number/ordinal-number';
|
|
1
|
+
export * from './boolean';
|
|
2
|
+
export * from './debounce';
|
|
3
|
+
export * from './guid';
|
|
4
|
+
export * from './keys';
|
|
5
|
+
export * from './length';
|
|
6
|
+
export * from './resolve';
|
|
7
|
+
export * from './stringify';
|
|
8
|
+
export * from './uuid';
|
|
9
|
+
export * from './value';
|
|
10
|
+
export * from './isClass';
|
|
11
|
+
export * from './isNumeric';
|
|
12
|
+
export * from './isEmpty';
|
|
13
|
+
export * from './throttle';
|
|
14
|
+
export * from './queue';
|
|
15
|
+
export { getNormalizedPath } from './get-normalized-path';
|
|
16
|
+
export { removeQueryParams } from './remove-query-params';
|
|
17
|
+
export { ordinalNumber } from './ordinal-number/ordinal-number';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './isClass';
|
|
1
|
+
export * from './isClass';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isClass(value: any, cls: any): boolean;
|
|
1
|
+
export declare function isClass(value: any, cls: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './isEmpty';
|
|
1
|
+
export * from './isEmpty';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isEmpty(value: any, options?: any): boolean;
|
|
1
|
+
export declare function isEmpty(value: any, options?: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './isNumeric';
|
|
1
|
+
export * from './isNumeric';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isNumeric(value: any): boolean;
|
|
1
|
+
export declare function isNumeric(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './keys';
|
|
1
|
+
export * from './keys';
|
package/libs/util/keys/keys.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export declare const KEY_CANCEL = 3;
|
|
2
|
-
export declare const KEY_HELP = 6;
|
|
3
|
-
export declare const KEY_BACKSPACE = 8;
|
|
4
|
-
export declare const KEY_TAB = 9;
|
|
5
|
-
export declare const KEY_CLEAR = 12;
|
|
6
|
-
export declare const KEY_RETURN = 13;
|
|
7
|
-
export declare const KEY_ENTER = 14;
|
|
8
|
-
export declare const KEY_SHIFT = 16;
|
|
9
|
-
export declare const KEY_CONTROL = 17;
|
|
10
|
-
export declare const KEY_ALT = 18;
|
|
11
|
-
export declare const KEY_PAUSE = 19;
|
|
12
|
-
export declare const KEY_CAPS_LOCK = 20;
|
|
13
|
-
export declare const KEY_ESCAPE = 27;
|
|
14
|
-
export declare const KEY_SPACE = 32;
|
|
15
|
-
export declare const KEY_PAGE_UP = 33;
|
|
16
|
-
export declare const KEY_PAGE_DOWN = 34;
|
|
17
|
-
export declare const KEY_END = 35;
|
|
18
|
-
export declare const KEY_HOME = 36;
|
|
19
|
-
export declare const KEY_LEFT = 37;
|
|
20
|
-
export declare const KEY_UP = 38;
|
|
21
|
-
export declare const KEY_RIGHT = 39;
|
|
22
|
-
export declare const KEY_DOWN = 40;
|
|
23
|
-
export declare const KEY_PRINTSCREEN = 44;
|
|
24
|
-
export declare const KEY_INSERT = 45;
|
|
25
|
-
export declare const KEY_DELETE = 46;
|
|
26
|
-
export declare const KEY_0 = 48;
|
|
27
|
-
export declare const KEY_1 = 49;
|
|
28
|
-
export declare const KEY_2 = 50;
|
|
29
|
-
export declare const KEY_3 = 51;
|
|
30
|
-
export declare const KEY_4 = 52;
|
|
31
|
-
export declare const KEY_5 = 53;
|
|
32
|
-
export declare const KEY_6 = 54;
|
|
33
|
-
export declare const KEY_7 = 55;
|
|
34
|
-
export declare const KEY_8 = 56;
|
|
35
|
-
export declare const KEY_9 = 57;
|
|
36
|
-
export declare const KEY_SEMICOLON = 59;
|
|
37
|
-
export declare const KEY_EQUALS = 61;
|
|
1
|
+
export declare const KEY_CANCEL = 3;
|
|
2
|
+
export declare const KEY_HELP = 6;
|
|
3
|
+
export declare const KEY_BACKSPACE = 8;
|
|
4
|
+
export declare const KEY_TAB = 9;
|
|
5
|
+
export declare const KEY_CLEAR = 12;
|
|
6
|
+
export declare const KEY_RETURN = 13;
|
|
7
|
+
export declare const KEY_ENTER = 14;
|
|
8
|
+
export declare const KEY_SHIFT = 16;
|
|
9
|
+
export declare const KEY_CONTROL = 17;
|
|
10
|
+
export declare const KEY_ALT = 18;
|
|
11
|
+
export declare const KEY_PAUSE = 19;
|
|
12
|
+
export declare const KEY_CAPS_LOCK = 20;
|
|
13
|
+
export declare const KEY_ESCAPE = 27;
|
|
14
|
+
export declare const KEY_SPACE = 32;
|
|
15
|
+
export declare const KEY_PAGE_UP = 33;
|
|
16
|
+
export declare const KEY_PAGE_DOWN = 34;
|
|
17
|
+
export declare const KEY_END = 35;
|
|
18
|
+
export declare const KEY_HOME = 36;
|
|
19
|
+
export declare const KEY_LEFT = 37;
|
|
20
|
+
export declare const KEY_UP = 38;
|
|
21
|
+
export declare const KEY_RIGHT = 39;
|
|
22
|
+
export declare const KEY_DOWN = 40;
|
|
23
|
+
export declare const KEY_PRINTSCREEN = 44;
|
|
24
|
+
export declare const KEY_INSERT = 45;
|
|
25
|
+
export declare const KEY_DELETE = 46;
|
|
26
|
+
export declare const KEY_0 = 48;
|
|
27
|
+
export declare const KEY_1 = 49;
|
|
28
|
+
export declare const KEY_2 = 50;
|
|
29
|
+
export declare const KEY_3 = 51;
|
|
30
|
+
export declare const KEY_4 = 52;
|
|
31
|
+
export declare const KEY_5 = 53;
|
|
32
|
+
export declare const KEY_6 = 54;
|
|
33
|
+
export declare const KEY_7 = 55;
|
|
34
|
+
export declare const KEY_8 = 56;
|
|
35
|
+
export declare const KEY_9 = 57;
|
|
36
|
+
export declare const KEY_SEMICOLON = 59;
|
|
37
|
+
export declare const KEY_EQUALS = 61;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './length';
|
|
1
|
+
export * from './length';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function length(object: any): any;
|
|
1
|
+
export declare function length(object: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function ordinalNumber(value: any): string;
|
|
1
|
+
export declare function ordinalNumber(value: any): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './queue';
|
|
2
|
-
export { QueueState } from './queue.enum';
|
|
1
|
+
export * from './queue';
|
|
2
|
+
export { QueueState } from './queue.enum';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
export declare class Operation {
|
|
3
|
-
name: string;
|
|
4
|
-
target: Observable<any>;
|
|
5
|
-
ready$: Subject<unknown>;
|
|
6
|
-
constructor(target: any, name?: any);
|
|
7
|
-
}
|
|
1
|
+
import { Observable, Subject } from 'rxjs';
|
|
2
|
+
export declare class Operation {
|
|
3
|
+
name: string;
|
|
4
|
+
target: Observable<any>;
|
|
5
|
+
ready$: Subject<unknown>;
|
|
6
|
+
constructor(target: any, name?: any);
|
|
7
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { QueueState } from './queue.enum';
|
|
3
|
-
export declare class Queue {
|
|
4
|
-
private _limit;
|
|
5
|
-
private _done;
|
|
6
|
-
private _queue;
|
|
7
|
-
private _inProgress;
|
|
8
|
-
private _total;
|
|
9
|
-
private _completed;
|
|
10
|
-
private _errors;
|
|
11
|
-
private _state;
|
|
12
|
-
private _destroy$;
|
|
13
|
-
constructor(_limit?: number);
|
|
14
|
-
readonly total: number;
|
|
15
|
-
readonly completed: number;
|
|
16
|
-
readonly pending: number;
|
|
17
|
-
readonly inProgress: number;
|
|
18
|
-
readonly errors: number;
|
|
19
|
-
readonly state: QueueState;
|
|
20
|
-
readonly empty: boolean;
|
|
21
|
-
readonly pendingOperations: string[];
|
|
22
|
-
readonly inProgressOperations: string[];
|
|
23
|
-
isProcessing(): boolean;
|
|
24
|
-
isIdle(): boolean;
|
|
25
|
-
setLimit(value: number): void;
|
|
26
|
-
subscribe(fun: any, err?: any, complete?: any): void;
|
|
27
|
-
complete(fun: any, err?: any, complete?: any): void;
|
|
28
|
-
push(target: any, name?: any): Subject<unknown>;
|
|
29
|
-
clear(): void;
|
|
30
|
-
destroy(): void;
|
|
31
|
-
private _processOperation;
|
|
32
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { QueueState } from './queue.enum';
|
|
3
|
+
export declare class Queue {
|
|
4
|
+
private _limit;
|
|
5
|
+
private _done;
|
|
6
|
+
private _queue;
|
|
7
|
+
private _inProgress;
|
|
8
|
+
private _total;
|
|
9
|
+
private _completed;
|
|
10
|
+
private _errors;
|
|
11
|
+
private _state;
|
|
12
|
+
private _destroy$;
|
|
13
|
+
constructor(_limit?: number);
|
|
14
|
+
readonly total: number;
|
|
15
|
+
readonly completed: number;
|
|
16
|
+
readonly pending: number;
|
|
17
|
+
readonly inProgress: number;
|
|
18
|
+
readonly errors: number;
|
|
19
|
+
readonly state: QueueState;
|
|
20
|
+
readonly empty: boolean;
|
|
21
|
+
readonly pendingOperations: string[];
|
|
22
|
+
readonly inProgressOperations: string[];
|
|
23
|
+
isProcessing(): boolean;
|
|
24
|
+
isIdle(): boolean;
|
|
25
|
+
setLimit(value: number): void;
|
|
26
|
+
subscribe(fun: any, err?: any, complete?: any): void;
|
|
27
|
+
complete(fun: any, err?: any, complete?: any): void;
|
|
28
|
+
push(target: any, name?: any): Subject<unknown>;
|
|
29
|
+
clear(): void;
|
|
30
|
+
destroy(): void;
|
|
31
|
+
private _processOperation;
|
|
32
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum QueueState {
|
|
2
|
-
Idle = "idle",
|
|
3
|
-
Processing = "processing"
|
|
4
|
-
}
|
|
1
|
+
export declare enum QueueState {
|
|
2
|
+
Idle = "idle",
|
|
3
|
+
Processing = "processing"
|
|
4
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { removeQueryParams } from './remove-query-params';
|
|
1
|
+
export { removeQueryParams } from './remove-query-params';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function removeQueryParams(path: string): string;
|
|
1
|
+
export declare function removeQueryParams(path: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './resolve';
|
|
1
|
+
export * from './resolve';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function resolve(promise: Promise<object>, defaults?: any[]): Promise<unknown>;
|
|
1
|
+
export declare function resolve(promise: Promise<object>, defaults?: any[]): Promise<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './stringify';
|
|
1
|
+
export * from './stringify';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function stringify(value: any): string;
|
|
1
|
+
export declare function stringify(value: any): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './throttle';
|
|
1
|
+
export * from './throttle';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function throttle(func: any, wait: any): () => void;
|
|
1
|
+
export declare function throttle(func: any, wait: any): () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './uuid';
|
|
1
|
+
export * from './uuid';
|
package/libs/util/uuid/uuid.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function uuid(): string;
|
|
1
|
+
export declare function uuid(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './value';
|
|
1
|
+
export * from './value';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function value(object: any, key: any, def: any): any;
|
|
1
|
+
export declare function value(object: any, key: any, def: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function email(value: any): boolean;
|
|
1
|
+
export declare function email(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './email';
|
|
1
|
+
export * from './email';
|
package/libs/validate/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './email';
|
|
2
|
-
export * from './phone';
|
|
3
|
-
export * from './url';
|
|
1
|
+
export * from './email';
|
|
2
|
+
export * from './phone';
|
|
3
|
+
export * from './url';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './phone';
|
|
1
|
+
export * from './phone';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function phone(value: any): boolean;
|
|
1
|
+
export declare function phone(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './url';
|
|
1
|
+
export * from './url';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Check validity of the url.
|
|
3
|
-
* Protocol (http/https) isn't required.
|
|
4
|
-
* @param value
|
|
5
|
-
* @returns {boolean}
|
|
6
|
-
*/
|
|
7
|
-
export declare function url(value: any): boolean;
|
|
1
|
+
/**
|
|
2
|
+
* Check validity of the url.
|
|
3
|
+
* Protocol (http/https) isn't required.
|
|
4
|
+
* @param value
|
|
5
|
+
* @returns {boolean}
|
|
6
|
+
*/
|
|
7
|
+
export declare function url(value: any): boolean;
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FsCommonModule } from './app/fs-common.module';
|
|
2
|
-
export { FsArray } from './app/services/array.service';
|
|
3
|
-
export { FsMath } from './app/services/math.service';
|
|
4
|
-
export { FsUtil } from './app/services/util.service';
|
|
5
|
-
export { FsValidate } from './app/services/vaildate.service';
|
|
6
|
-
export * from './libs';
|
|
1
|
+
export { FsCommonModule } from './app/fs-common.module';
|
|
2
|
+
export { FsArray } from './app/services/array.service';
|
|
3
|
+
export { FsMath } from './app/services/math.service';
|
|
4
|
+
export { FsUtil } from './app/services/util.service';
|
|
5
|
+
export { FsValidate } from './app/services/vaildate.service';
|
|
6
|
+
export * from './libs';
|