@firestitch/common 12.4.1 → 12.5.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.
Files changed (219) hide show
  1. package/app/directives/autofocus.directive.d.ts +13 -9
  2. package/app/directives/prevent-default.directive.d.ts +6 -6
  3. package/app/directives/stop-propagation.directive.d.ts +6 -6
  4. package/app/fs-common.module.d.ts +18 -18
  5. package/app/pipes/bytes.pipe.d.ts +7 -7
  6. package/app/pipes/currency.pipe.d.ts +9 -9
  7. package/app/pipes/index.d.ts +2 -2
  8. package/app/pipes/number.pipe.d.ts +7 -7
  9. package/app/pipes/ordinal-number.pipe.d.ts +7 -7
  10. package/app/pipes/truncate.pipe.d.ts +8 -8
  11. package/app/pipes/util.pipe.d.ts +24 -24
  12. package/app/services/array.service.d.ts +61 -61
  13. package/app/services/math.service.d.ts +9 -9
  14. package/app/services/util.service.d.ts +89 -89
  15. package/app/services/vaildate.service.d.ts +16 -16
  16. package/bundles/firestitch-common.umd.js +1951 -1888
  17. package/bundles/firestitch-common.umd.js.map +1 -1
  18. package/esm2015/app/directives/autofocus.directive.js +41 -21
  19. package/esm2015/app/directives/prevent-default.directive.js +18 -18
  20. package/esm2015/app/directives/stop-propagation.directive.js +18 -18
  21. package/esm2015/app/fs-common.module.js +93 -93
  22. package/esm2015/app/pipes/bytes.pipe.js +16 -16
  23. package/esm2015/app/pipes/currency.pipe.js +22 -22
  24. package/esm2015/app/pipes/index.js +2 -2
  25. package/esm2015/app/pipes/number.pipe.js +16 -16
  26. package/esm2015/app/pipes/ordinal-number.pipe.js +16 -16
  27. package/esm2015/app/pipes/truncate.pipe.js +17 -17
  28. package/esm2015/app/pipes/util.pipe.js +59 -59
  29. package/esm2015/app/services/array.service.js +224 -224
  30. package/esm2015/app/services/math.service.js +20 -20
  31. package/esm2015/app/services/util.service.js +250 -250
  32. package/esm2015/app/services/vaildate.service.js +27 -27
  33. package/esm2015/firestitch-common.js +4 -4
  34. package/esm2015/libs/array/compare/compare.js +7 -7
  35. package/esm2015/libs/array/compare/index.js +1 -1
  36. package/esm2015/libs/array/filter/filter.js +26 -26
  37. package/esm2015/libs/array/filter/index.js +1 -1
  38. package/esm2015/libs/array/find/find.js +5 -5
  39. package/esm2015/libs/array/find/index.js +1 -1
  40. package/esm2015/libs/array/inArray/inArray.js +11 -11
  41. package/esm2015/libs/array/inArray/index.js +1 -1
  42. package/esm2015/libs/array/index/index.js +7 -7
  43. package/esm2015/libs/array/index.js +13 -13
  44. package/esm2015/libs/array/indexOf/index.js +1 -1
  45. package/esm2015/libs/array/indexOf/indexOf.js +15 -15
  46. package/esm2015/libs/array/keyExists/index.js +1 -1
  47. package/esm2015/libs/array/keyExists/keyExists.js +3 -3
  48. package/esm2015/libs/array/ksort/index.js +1 -1
  49. package/esm2015/libs/array/ksort/ksort.js +7 -7
  50. package/esm2015/libs/array/list/index.js +1 -1
  51. package/esm2015/libs/array/list/list.js +12 -12
  52. package/esm2015/libs/array/nameValue/index.js +1 -1
  53. package/esm2015/libs/array/nameValue/nameValue.js +20 -20
  54. package/esm2015/libs/array/remove/index.js +1 -1
  55. package/esm2015/libs/array/remove/remove.js +8 -8
  56. package/esm2015/libs/array/rsort/index.js +1 -1
  57. package/esm2015/libs/array/rsort/rsort.js +4 -4
  58. package/esm2015/libs/array/sort/index.js +1 -1
  59. package/esm2015/libs/array/sort/sort.js +26 -26
  60. package/esm2015/libs/format/acronym/acronym.js +21 -21
  61. package/esm2015/libs/format/acronym/index.js +1 -1
  62. package/esm2015/libs/format/bytes/bytes.js +17 -17
  63. package/esm2015/libs/format/bytes/index.js +1 -1
  64. package/esm2015/libs/format/currency/currency.js +5 -5
  65. package/esm2015/libs/format/currency/index.js +1 -1
  66. package/esm2015/libs/format/index.js +5 -5
  67. package/esm2015/libs/format/number/index.js +1 -1
  68. package/esm2015/libs/format/number/number.js +3 -3
  69. package/esm2015/libs/format/truncate/index.js +1 -1
  70. package/esm2015/libs/format/truncate/truncate.js +11 -11
  71. package/esm2015/libs/index.js +5 -5
  72. package/esm2015/libs/rxjs/delayedRetry.js +19 -19
  73. package/esm2015/libs/rxjs/keyboard-shortcut.js +17 -17
  74. package/esm2015/libs/util/boolean/boolean.js +3 -3
  75. package/esm2015/libs/util/boolean/index.js +1 -1
  76. package/esm2015/libs/util/clone/clone.js +20 -20
  77. package/esm2015/libs/util/clone/index.js +1 -1
  78. package/esm2015/libs/util/debounce/debounce.js +16 -16
  79. package/esm2015/libs/util/debounce/index.js +1 -1
  80. package/esm2015/libs/util/get-normalized-path/get-normalized-path.js +5 -5
  81. package/esm2015/libs/util/get-normalized-path/index.js +1 -1
  82. package/esm2015/libs/util/guid/guid.js +18 -18
  83. package/esm2015/libs/util/guid/index.js +1 -1
  84. package/esm2015/libs/util/index.js +21 -21
  85. package/esm2015/libs/util/is-array-equal/is-array-equal.js +21 -21
  86. package/esm2015/libs/util/isClass/index.js +1 -1
  87. package/esm2015/libs/util/isClass/isClass.js +17 -17
  88. package/esm2015/libs/util/isEmpty/index.js +1 -1
  89. package/esm2015/libs/util/isEmpty/isEmpty.js +11 -11
  90. package/esm2015/libs/util/isNumeric/index.js +1 -1
  91. package/esm2015/libs/util/isNumeric/isNumeric.js +4 -4
  92. package/esm2015/libs/util/keys/index.js +1 -1
  93. package/esm2015/libs/util/keys/keys.js +37 -37
  94. package/esm2015/libs/util/length/index.js +1 -1
  95. package/esm2015/libs/util/length/length.js +9 -9
  96. package/esm2015/libs/util/ordinal-number/ordinal-number.js +7 -7
  97. package/esm2015/libs/util/queue/index.js +4 -3
  98. package/esm2015/libs/util/queue/operation.js +15 -15
  99. package/esm2015/libs/util/queue/queue-stats.js +2 -0
  100. package/esm2015/libs/util/queue/queue.enum.js +5 -5
  101. package/esm2015/libs/util/queue/queue.js +170 -137
  102. package/esm2015/libs/util/remove-query-params/index.js +1 -1
  103. package/esm2015/libs/util/remove-query-params/remove-query-params.js +3 -3
  104. package/esm2015/libs/util/resolve/index.js +1 -1
  105. package/esm2015/libs/util/resolve/resolve.js +9 -9
  106. package/esm2015/libs/util/round/index.js +1 -1
  107. package/esm2015/libs/util/round/round.js +4 -4
  108. package/esm2015/libs/util/source-loader/source-loader.js +144 -144
  109. package/esm2015/libs/util/stringify/index.js +1 -1
  110. package/esm2015/libs/util/stringify/stringify.js +3 -3
  111. package/esm2015/libs/util/throttle/index.js +1 -1
  112. package/esm2015/libs/util/throttle/throttle.js +12 -12
  113. package/esm2015/libs/util/uuid/index.js +1 -1
  114. package/esm2015/libs/util/uuid/uuid.js +4 -4
  115. package/esm2015/libs/util/value/index.js +1 -1
  116. package/esm2015/libs/util/value/value.js +8 -8
  117. package/esm2015/libs/validate/email/email.js +3 -3
  118. package/esm2015/libs/validate/email/index.js +1 -1
  119. package/esm2015/libs/validate/index.js +3 -3
  120. package/esm2015/libs/validate/phone/index.js +1 -1
  121. package/esm2015/libs/validate/phone/phone.js +4 -4
  122. package/esm2015/libs/validate/url/index.js +1 -1
  123. package/esm2015/libs/validate/url/url.js +11 -11
  124. package/esm2015/public_api.js +22 -22
  125. package/fesm2015/firestitch-common.js +1513 -1461
  126. package/fesm2015/firestitch-common.js.map +1 -1
  127. package/firestitch-common.d.ts +5 -5
  128. package/libs/array/compare/compare.d.ts +1 -1
  129. package/libs/array/compare/index.d.ts +1 -1
  130. package/libs/array/filter/filter.d.ts +1 -1
  131. package/libs/array/filter/index.d.ts +1 -1
  132. package/libs/array/find/find.d.ts +1 -1
  133. package/libs/array/find/index.d.ts +1 -1
  134. package/libs/array/inArray/inArray.d.ts +1 -1
  135. package/libs/array/inArray/index.d.ts +1 -1
  136. package/libs/array/index/index.d.ts +1 -1
  137. package/libs/array/index.d.ts +13 -13
  138. package/libs/array/indexOf/index.d.ts +1 -1
  139. package/libs/array/indexOf/indexOf.d.ts +1 -1
  140. package/libs/array/keyExists/index.d.ts +1 -1
  141. package/libs/array/keyExists/keyExists.d.ts +1 -1
  142. package/libs/array/ksort/index.d.ts +1 -1
  143. package/libs/array/ksort/ksort.d.ts +1 -1
  144. package/libs/array/list/index.d.ts +1 -1
  145. package/libs/array/list/list.d.ts +1 -1
  146. package/libs/array/nameValue/index.d.ts +1 -1
  147. package/libs/array/nameValue/nameValue.d.ts +1 -1
  148. package/libs/array/remove/index.d.ts +1 -1
  149. package/libs/array/remove/remove.d.ts +1 -1
  150. package/libs/array/rsort/index.d.ts +1 -1
  151. package/libs/array/rsort/rsort.d.ts +1 -1
  152. package/libs/array/sort/index.d.ts +1 -1
  153. package/libs/array/sort/sort.d.ts +1 -1
  154. package/libs/format/acronym/acronym.d.ts +1 -1
  155. package/libs/format/acronym/index.d.ts +1 -1
  156. package/libs/format/bytes/bytes.d.ts +1 -1
  157. package/libs/format/bytes/index.d.ts +1 -1
  158. package/libs/format/currency/currency.d.ts +1 -1
  159. package/libs/format/currency/index.d.ts +1 -1
  160. package/libs/format/index.d.ts +5 -5
  161. package/libs/format/number/index.d.ts +1 -1
  162. package/libs/format/number/number.d.ts +1 -1
  163. package/libs/format/truncate/index.d.ts +1 -1
  164. package/libs/format/truncate/truncate.d.ts +1 -1
  165. package/libs/index.d.ts +5 -5
  166. package/libs/rxjs/delayedRetry.d.ts +2 -2
  167. package/libs/rxjs/keyboard-shortcut.d.ts +2 -2
  168. package/libs/util/boolean/boolean.d.ts +1 -1
  169. package/libs/util/boolean/index.d.ts +1 -1
  170. package/libs/util/clone/clone.d.ts +1 -1
  171. package/libs/util/clone/index.d.ts +1 -1
  172. package/libs/util/debounce/debounce.d.ts +1 -1
  173. package/libs/util/debounce/index.d.ts +1 -1
  174. package/libs/util/get-normalized-path/get-normalized-path.d.ts +2 -2
  175. package/libs/util/get-normalized-path/index.d.ts +1 -1
  176. package/libs/util/guid/guid.d.ts +1 -1
  177. package/libs/util/guid/index.d.ts +1 -1
  178. package/libs/util/index.d.ts +21 -21
  179. package/libs/util/is-array-equal/is-array-equal.d.ts +1 -1
  180. package/libs/util/isClass/index.d.ts +1 -1
  181. package/libs/util/isClass/isClass.d.ts +1 -1
  182. package/libs/util/isEmpty/index.d.ts +1 -1
  183. package/libs/util/isEmpty/isEmpty.d.ts +1 -1
  184. package/libs/util/isNumeric/index.d.ts +1 -1
  185. package/libs/util/isNumeric/isNumeric.d.ts +1 -1
  186. package/libs/util/keys/index.d.ts +1 -1
  187. package/libs/util/keys/keys.d.ts +37 -37
  188. package/libs/util/length/index.d.ts +1 -1
  189. package/libs/util/length/length.d.ts +1 -1
  190. package/libs/util/ordinal-number/ordinal-number.d.ts +1 -1
  191. package/libs/util/queue/index.d.ts +3 -2
  192. package/libs/util/queue/operation.d.ts +7 -7
  193. package/libs/util/queue/queue-stats.d.ts +5 -0
  194. package/libs/util/queue/queue.d.ts +40 -32
  195. package/libs/util/queue/queue.enum.d.ts +4 -4
  196. package/libs/util/remove-query-params/index.d.ts +1 -1
  197. package/libs/util/remove-query-params/remove-query-params.d.ts +1 -1
  198. package/libs/util/resolve/index.d.ts +1 -1
  199. package/libs/util/resolve/resolve.d.ts +1 -1
  200. package/libs/util/round/index.d.ts +1 -1
  201. package/libs/util/round/round.d.ts +1 -1
  202. package/libs/util/source-loader/source-loader.d.ts +7 -7
  203. package/libs/util/stringify/index.d.ts +1 -1
  204. package/libs/util/stringify/stringify.d.ts +1 -1
  205. package/libs/util/throttle/index.d.ts +1 -1
  206. package/libs/util/throttle/throttle.d.ts +1 -1
  207. package/libs/util/uuid/index.d.ts +1 -1
  208. package/libs/util/uuid/uuid.d.ts +1 -1
  209. package/libs/util/value/index.d.ts +1 -1
  210. package/libs/util/value/value.d.ts +1 -1
  211. package/libs/validate/email/email.d.ts +1 -1
  212. package/libs/validate/email/index.d.ts +1 -1
  213. package/libs/validate/index.d.ts +3 -3
  214. package/libs/validate/phone/index.d.ts +1 -1
  215. package/libs/validate/phone/phone.d.ts +1 -1
  216. package/libs/validate/url/index.d.ts +1 -1
  217. package/libs/validate/url/url.d.ts +7 -7
  218. package/package.json +1 -1
  219. package/public_api.d.ts +16 -16
@@ -1,9 +1,13 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsAutofocusDirective implements AfterViewInit {
4
- private _el;
5
- constructor(_el: ElementRef);
6
- ngAfterViewInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FsAutofocusDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsAutofocusDirective, "[autofocus]", never, {}, {}, never>;
9
- }
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { MatInput } from '@angular/material/input';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsAutofocusDirective implements AfterViewInit {
5
+ private _matInput;
6
+ private _el;
7
+ fsAutofocus: boolean;
8
+ constructor(_matInput: MatInput, _el: ElementRef);
9
+ ngAfterViewInit(): void;
10
+ focus(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsAutofocusDirective, [{ optional: true; host: true; }, null]>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsAutofocusDirective, "[fsAutofocus],[autofocus]", never, { "fsAutofocus": "fsAutofocus"; }, {}, never>;
13
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FsPreventDefaultDirective {
3
- preventClick(event: any): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<FsPreventDefaultDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsPreventDefaultDirective, "[fsPreventDefault]", never, {}, {}, never>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FsPreventDefaultDirective {
3
+ preventClick(event: any): void;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsPreventDefaultDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsPreventDefaultDirective, "[fsPreventDefault]", never, {}, {}, never>;
6
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FsStopPropagationDirective {
3
- preventClick(event: any): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<FsStopPropagationDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsStopPropagationDirective, "[fsStopPropagation]", never, {}, {}, never>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FsStopPropagationDirective {
3
+ preventClick(event: any): void;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsStopPropagationDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsStopPropagationDirective, "[fsStopPropagation]", never, {}, {}, never>;
6
+ }
@@ -1,18 +1,18 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./directives/stop-propagation.directive";
4
- import * as i2 from "./directives/prevent-default.directive";
5
- import * as i3 from "./directives/autofocus.directive";
6
- import * as i4 from "./pipes/util.pipe";
7
- import * as i5 from "./pipes/number.pipe";
8
- import * as i6 from "./pipes/currency.pipe";
9
- import * as i7 from "./pipes/truncate.pipe";
10
- import * as i8 from "./pipes/bytes.pipe";
11
- import * as i9 from "./pipes/ordinal-number.pipe";
12
- import * as i10 from "@angular/common";
13
- export declare class FsCommonModule {
14
- static forRoot(): ModuleWithProviders<FsCommonModule>;
15
- 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 i10.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 i9.FsFormatOrdinalNumberPipe]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<FsCommonModule>;
18
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./directives/stop-propagation.directive";
4
+ import * as i2 from "./directives/prevent-default.directive";
5
+ import * as i3 from "./directives/autofocus.directive";
6
+ import * as i4 from "./pipes/util.pipe";
7
+ import * as i5 from "./pipes/number.pipe";
8
+ import * as i6 from "./pipes/currency.pipe";
9
+ import * as i7 from "./pipes/truncate.pipe";
10
+ import * as i8 from "./pipes/bytes.pipe";
11
+ import * as i9 from "./pipes/ordinal-number.pipe";
12
+ import * as i10 from "@angular/common";
13
+ export declare class FsCommonModule {
14
+ static forRoot(): ModuleWithProviders<FsCommonModule>;
15
+ 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 i10.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 i9.FsFormatOrdinalNumberPipe]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<FsCommonModule>;
18
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsFormatBytesPipe implements PipeTransform {
4
- transform(value: number, decimals?: any, unit?: 'KB' | 'MB' | 'GB' | 'TB' | 'PB'): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatBytesPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatBytesPipe, "fsFormatBytes">;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsFormatBytesPipe implements PipeTransform {
4
+ transform(value: number, decimals?: any, unit?: 'KB' | 'MB' | 'GB' | 'TB' | 'PB'): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatBytesPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatBytesPipe, "fsFormatBytes">;
7
+ }
@@ -1,9 +1,9 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsFormatCurrencyPipe implements PipeTransform {
4
- locale: string;
5
- constructor(locale: string);
6
- transform(amount: any, precision?: number, currencyCode?: any): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatCurrencyPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatCurrencyPipe, "fsFormatCurrency">;
9
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsFormatCurrencyPipe implements PipeTransform {
4
+ locale: string;
5
+ constructor(locale: string);
6
+ transform(amount: any, precision?: number, currencyCode?: any): string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatCurrencyPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatCurrencyPipe, "fsFormatCurrency">;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './util.pipe';
2
- export * from './bytes.pipe';
1
+ export * from './util.pipe';
2
+ export * from './bytes.pipe';
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsFormatNumberPipe implements PipeTransform {
4
- transform(value: any, decimals?: any): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatNumberPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatNumberPipe, "fsFormatNumber">;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsFormatNumberPipe implements PipeTransform {
4
+ transform(value: any, decimals?: any): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatNumberPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatNumberPipe, "fsFormatNumber">;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsFormatOrdinalNumberPipe implements PipeTransform {
4
- transform(value: any): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatOrdinalNumberPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatOrdinalNumberPipe, "fsFormatOrdinalNumber">;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsFormatOrdinalNumberPipe implements PipeTransform {
4
+ transform(value: any): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatOrdinalNumberPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatOrdinalNumberPipe, "fsFormatOrdinalNumber">;
7
+ }
@@ -1,8 +1,8 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsFormatTruncatePipe implements PipeTransform {
4
- constructor();
5
- transform(value: any, limit?: any, completeWords?: any, ellipsis?: any): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatTruncatePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatTruncatePipe, "fsFormatTruncate">;
8
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsFormatTruncatePipe implements PipeTransform {
4
+ constructor();
5
+ transform(value: any, limit?: any, completeWords?: any, ellipsis?: any): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatTruncatePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatTruncatePipe, "fsFormatTruncate">;
8
+ }
@@ -1,24 +1,24 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FsUtilStringifyPipe implements PipeTransform {
4
- constructor();
5
- transform(value: any): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilStringifyPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilStringifyPipe, "fsUtilStringify">;
8
- }
9
- export declare class FsUtilGuidPipe implements PipeTransform {
10
- constructor();
11
- transform(): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilGuidPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilGuidPipe, "fsUtilGuid">;
14
- }
15
- export declare class FsUtilIsEmptyPipe implements PipeTransform {
16
- transform(value: any): any;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilIsEmptyPipe, never>;
18
- static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilIsEmptyPipe, "fsUtilIsEmpty">;
19
- }
20
- export declare class FsUtilIsNotEmptyPipe implements PipeTransform {
21
- transform(value: any): any;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilIsNotEmptyPipe, never>;
23
- static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilIsNotEmptyPipe, "fsUtilIsNotEmpty">;
24
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsUtilStringifyPipe implements PipeTransform {
4
+ constructor();
5
+ transform(value: any): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilStringifyPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilStringifyPipe, "fsUtilStringify">;
8
+ }
9
+ export declare class FsUtilGuidPipe implements PipeTransform {
10
+ constructor();
11
+ transform(): string;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilGuidPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilGuidPipe, "fsUtilGuid">;
14
+ }
15
+ export declare class FsUtilIsEmptyPipe implements PipeTransform {
16
+ transform(value: any): any;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilIsEmptyPipe, never>;
18
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilIsEmptyPipe, "fsUtilIsEmpty">;
19
+ }
20
+ export declare class FsUtilIsNotEmptyPipe implements PipeTransform {
21
+ transform(value: any): any;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsUtilIsNotEmptyPipe, never>;
23
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsUtilIsNotEmptyPipe, "fsUtilIsNotEmpty">;
24
+ }
@@ -1,61 +1,61 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FsArray {
3
- /**
4
- * @deprecated use import { nameValue } from @firestitch/common/array; instead
5
- */
6
- nameValue(array: any, name: any, value: any): Array<any>;
7
- /**
8
- * @deprecated use import { remove } from @firestitch/common/array; instead
9
- */
10
- remove(array: any, query: any): any;
11
- /**
12
- * @deprecated use import { indexOf } from @firestitch/common/array; instead
13
- */
14
- indexOf(array: any, query: any): number;
15
- /**
16
- * @deprecated use import { compare } from @firestitch/common/array; instead
17
- */
18
- compare(query: any, item: any): boolean;
19
- /**
20
- * @deprecated use import { filter } from @firestitch/common/array; instead
21
- */
22
- filter(array: any, query: any): Array<any>;
23
- /**
24
- * @deprecated use import { index } from @firestitch/common/array; instead
25
- */
26
- index(array: any, property: any): Object;
27
- /**
28
- * @deprecated use import { sort } from @firestitch/common/array; instead
29
- */
30
- sort(array: any, query: any, reverse?: boolean): Array<any>;
31
- /**
32
- * @deprecated use import { rsort } from @firestitch/common/array; instead
33
- */
34
- rsort(array: any, query: any): Array<any>;
35
- /**
36
- * @deprecated use import { list } from @firestitch/common/array; instead
37
- */
38
- list(array: any, property: any, index?: any): Object;
39
- /**
40
- * @deprecated use import { applyDepth } from @firestitch/common/array; instead
41
- */
42
- applyDepth(objects: any, parent_property: any, id_property?: string, depth_property?: string): {};
43
- /**
44
- * @deprecated use import { inArray } from @firestitch/common/array; instead
45
- */
46
- inArray(values: any, array: any): boolean;
47
- /**
48
- * @deprecated use import { keyExists } from @firestitch/common/array; instead
49
- */
50
- keyExists(array: any, key: any): any;
51
- /**
52
- * @deprecated use import { length } from @firestitch/common/array; instead
53
- */
54
- length(array: any): any;
55
- /**
56
- * @deprecated use import { ksort } from @firestitch/common/array; instead
57
- */
58
- ksort(unordered: any): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<FsArray, never>;
60
- static ɵprov: i0.ɵɵInjectableDeclaration<FsArray>;
61
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FsArray {
3
+ /**
4
+ * @deprecated use import { nameValue } from @firestitch/common/array; instead
5
+ */
6
+ nameValue(array: any, name: any, value: any): Array<any>;
7
+ /**
8
+ * @deprecated use import { remove } from @firestitch/common/array; instead
9
+ */
10
+ remove(array: any, query: any): any;
11
+ /**
12
+ * @deprecated use import { indexOf } from @firestitch/common/array; instead
13
+ */
14
+ indexOf(array: any, query: any): number;
15
+ /**
16
+ * @deprecated use import { compare } from @firestitch/common/array; instead
17
+ */
18
+ compare(query: any, item: any): boolean;
19
+ /**
20
+ * @deprecated use import { filter } from @firestitch/common/array; instead
21
+ */
22
+ filter(array: any, query: any): Array<any>;
23
+ /**
24
+ * @deprecated use import { index } from @firestitch/common/array; instead
25
+ */
26
+ index(array: any, property: any): Object;
27
+ /**
28
+ * @deprecated use import { sort } from @firestitch/common/array; instead
29
+ */
30
+ sort(array: any, query: any, reverse?: boolean): Array<any>;
31
+ /**
32
+ * @deprecated use import { rsort } from @firestitch/common/array; instead
33
+ */
34
+ rsort(array: any, query: any): Array<any>;
35
+ /**
36
+ * @deprecated use import { list } from @firestitch/common/array; instead
37
+ */
38
+ list(array: any, property: any, index?: any): Object;
39
+ /**
40
+ * @deprecated use import { applyDepth } from @firestitch/common/array; instead
41
+ */
42
+ applyDepth(objects: any, parent_property: any, id_property?: string, depth_property?: string): {};
43
+ /**
44
+ * @deprecated use import { inArray } from @firestitch/common/array; instead
45
+ */
46
+ inArray(values: any, array: any): boolean;
47
+ /**
48
+ * @deprecated use import { keyExists } from @firestitch/common/array; instead
49
+ */
50
+ keyExists(array: any, key: any): any;
51
+ /**
52
+ * @deprecated use import { length } from @firestitch/common/array; instead
53
+ */
54
+ length(array: any): any;
55
+ /**
56
+ * @deprecated use import { ksort } from @firestitch/common/array; instead
57
+ */
58
+ ksort(unordered: any): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsArray, never>;
60
+ static ɵprov: i0.ɵɵInjectableDeclaration<FsArray>;
61
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FsMath {
3
- /**
4
- * @deprecated use _.round() instead {@link https://lodash.com/docs/4.17.5#round}
5
- */
6
- round(number: any, precision: any): number;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FsMath, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<FsMath>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FsMath {
3
+ /**
4
+ * @deprecated use _.round() instead {@link https://lodash.com/docs/4.17.5#round}
5
+ */
6
+ round(number: any, precision: any): number;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsMath, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<FsMath>;
9
+ }
@@ -1,89 +1,89 @@
1
- import * as i0 from "@angular/core";
2
- 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;
3
- export declare class FsUtil {
4
- private intervals;
5
- /**
6
- * @deprecated use @firestitch/common/util/guid instead
7
- */
8
- guid(pattern?: string): string;
9
- /**
10
- * @deprecated use import { uuid } from @firestitch/common/util; instead
11
- */
12
- uuid(): string;
13
- /**
14
- * @deprecated use import { resolve } from @firestitch/common/util; instead
15
- */
16
- resolve(promise: Promise<object>, defaults?: any[]): Promise<object>;
17
- /**
18
- * @deprecated use _.toInteger() instead
19
- */
20
- int(value: any): number;
21
- /**
22
- * @deprecated use _.toFinite() instead
23
- */
24
- float(value: any): number;
25
- /**
26
- * @deprecated use _.toString() instead
27
- */
28
- string(string: any): string;
29
- /**
30
- * @deprecated use import { isEmpty } from @firestitch/common/util; instead
31
- */
32
- isEmpty(value: any, options?: any): boolean;
33
- /**
34
- * @deprecated use _.isInteger() instead
35
- */
36
- isInt(value: any, type?: any): boolean;
37
- /**
38
- * @deprecated use _.each() instead {@link https://lodash.com/docs/4.17.5#forEach}
39
- */
40
- each(object: any, func: any): void;
41
- /**
42
- * @deprecated use _.isArrayLikeObject() {@link https://lodash.com/docs/4.17.5#isArrayLikeObject}
43
- * or _.isObject() {@link https://lodash.com/docs/4.17.5#isObject} instead
44
- */
45
- isObject(value: any): boolean;
46
- /**
47
- * @deprecated use _.isString() instead {@link https://lodash.com/docs/4.17.5#isString}
48
- */
49
- isString(value: any): boolean;
50
- /**
51
- * @deprecated use _.isArray() instead {@link https://lodash.com/docs/4.17.5#isArray}
52
- */
53
- isArray(value: any): boolean;
54
- /**
55
- * @deprecated use import { isNumeric } from @firestitch/common/util; instead
56
- */
57
- isNumeric(value: any): boolean;
58
- /**
59
- * @deprecated use import { isClass } from @firestitch/common/util; instead
60
- */
61
- isClass(value: any, cls: any): boolean;
62
- /**
63
- * @deprecated use _.isBoolean() instead {@link https://lodash.com/docs/4.17.5#isBoolean}
64
- */
65
- isBoolean(value: any): boolean;
66
- /**
67
- * @deprecated use import { value } from @firestitch/common/util; instead
68
- */
69
- value(object: any, key: any, def: any): any;
70
- throttle(func: any, wait: any): () => void;
71
- /**
72
- * @deprecated use import { debounce } from @firestitch/common/util; instead
73
- */
74
- debounce(func: any, wait: any, immediate: any): () => void;
75
- /**
76
- * @deprecated use import { length } from @firestitch/common/util; instead
77
- */
78
- length(object: any): number;
79
- /**
80
- * @deprecated use import { boolean } from @firestitch/common/util; instead
81
- */
82
- boolean(value: any): boolean;
83
- /**
84
- * @deprecated use import { stringify } from @firestitch/common/util; instead
85
- */
86
- stringify(value: any): string;
87
- static ɵfac: i0.ɵɵFactoryDeclaration<FsUtil, never>;
88
- static ɵprov: i0.ɵɵInjectableDeclaration<FsUtil>;
89
- }
1
+ import * as i0 from "@angular/core";
2
+ 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;
3
+ export declare class FsUtil {
4
+ private intervals;
5
+ /**
6
+ * @deprecated use @firestitch/common/util/guid instead
7
+ */
8
+ guid(pattern?: string): string;
9
+ /**
10
+ * @deprecated use import { uuid } from @firestitch/common/util; instead
11
+ */
12
+ uuid(): string;
13
+ /**
14
+ * @deprecated use import { resolve } from @firestitch/common/util; instead
15
+ */
16
+ resolve(promise: Promise<object>, defaults?: any[]): Promise<object>;
17
+ /**
18
+ * @deprecated use _.toInteger() instead
19
+ */
20
+ int(value: any): number;
21
+ /**
22
+ * @deprecated use _.toFinite() instead
23
+ */
24
+ float(value: any): number;
25
+ /**
26
+ * @deprecated use _.toString() instead
27
+ */
28
+ string(string: any): string;
29
+ /**
30
+ * @deprecated use import { isEmpty } from @firestitch/common/util; instead
31
+ */
32
+ isEmpty(value: any, options?: any): boolean;
33
+ /**
34
+ * @deprecated use _.isInteger() instead
35
+ */
36
+ isInt(value: any, type?: any): boolean;
37
+ /**
38
+ * @deprecated use _.each() instead {@link https://lodash.com/docs/4.17.5#forEach}
39
+ */
40
+ each(object: any, func: any): void;
41
+ /**
42
+ * @deprecated use _.isArrayLikeObject() {@link https://lodash.com/docs/4.17.5#isArrayLikeObject}
43
+ * or _.isObject() {@link https://lodash.com/docs/4.17.5#isObject} instead
44
+ */
45
+ isObject(value: any): boolean;
46
+ /**
47
+ * @deprecated use _.isString() instead {@link https://lodash.com/docs/4.17.5#isString}
48
+ */
49
+ isString(value: any): boolean;
50
+ /**
51
+ * @deprecated use _.isArray() instead {@link https://lodash.com/docs/4.17.5#isArray}
52
+ */
53
+ isArray(value: any): boolean;
54
+ /**
55
+ * @deprecated use import { isNumeric } from @firestitch/common/util; instead
56
+ */
57
+ isNumeric(value: any): boolean;
58
+ /**
59
+ * @deprecated use import { isClass } from @firestitch/common/util; instead
60
+ */
61
+ isClass(value: any, cls: any): boolean;
62
+ /**
63
+ * @deprecated use _.isBoolean() instead {@link https://lodash.com/docs/4.17.5#isBoolean}
64
+ */
65
+ isBoolean(value: any): boolean;
66
+ /**
67
+ * @deprecated use import { value } from @firestitch/common/util; instead
68
+ */
69
+ value(object: any, key: any, def: any): any;
70
+ throttle(func: any, wait: any): () => void;
71
+ /**
72
+ * @deprecated use import { debounce } from @firestitch/common/util; instead
73
+ */
74
+ debounce(func: any, wait: any, immediate: any): () => void;
75
+ /**
76
+ * @deprecated use import { length } from @firestitch/common/util; instead
77
+ */
78
+ length(object: any): number;
79
+ /**
80
+ * @deprecated use import { boolean } from @firestitch/common/util; instead
81
+ */
82
+ boolean(value: any): boolean;
83
+ /**
84
+ * @deprecated use import { stringify } from @firestitch/common/util; instead
85
+ */
86
+ stringify(value: any): string;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsUtil, never>;
88
+ static ɵprov: i0.ɵɵInjectableDeclaration<FsUtil>;
89
+ }
@@ -1,16 +1,16 @@
1
- import { FsUtil } from './util.service';
2
- import * as i0 from "@angular/core";
3
- export declare class FsValidate {
4
- private fsUtil;
5
- constructor(fsUtil: FsUtil);
6
- /**
7
- * @deprecated use import { email } from @firestitch/common/validate; instead
8
- */
9
- phone(value: any): boolean;
10
- /**
11
- * @deprecated use import { email } from @firestitch/common/validate; instead
12
- */
13
- email(value: any): boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FsValidate, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<FsValidate>;
16
- }
1
+ import { FsUtil } from './util.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsValidate {
4
+ private fsUtil;
5
+ constructor(fsUtil: FsUtil);
6
+ /**
7
+ * @deprecated use import { email } from @firestitch/common/validate; instead
8
+ */
9
+ phone(value: any): boolean;
10
+ /**
11
+ * @deprecated use import { email } from @firestitch/common/validate; instead
12
+ */
13
+ email(value: any): boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsValidate, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<FsValidate>;
16
+ }