@firestitch/common 8.0.13 → 12.0.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 (304) hide show
  1. package/app/directives/autofocus.directive.d.ts +9 -6
  2. package/app/directives/prevent-default.directive.d.ts +6 -3
  3. package/app/directives/stop-propagation.directive.d.ts +6 -3
  4. package/app/fs-common.module.d.ts +18 -4
  5. package/app/pipes/bytes.pipe.d.ts +7 -4
  6. package/app/pipes/currency.pipe.d.ts +9 -6
  7. package/app/pipes/number.pipe.d.ts +7 -4
  8. package/app/pipes/ordinal-number.pipe.d.ts +7 -4
  9. package/app/pipes/truncate.pipe.d.ts +8 -5
  10. package/app/pipes/util.pipe.d.ts +24 -15
  11. package/app/services/array.service.d.ts +61 -58
  12. package/app/services/math.service.d.ts +9 -6
  13. package/app/services/util.service.d.ts +89 -86
  14. package/app/services/vaildate.service.d.ts +16 -13
  15. package/bundles/firestitch-common.umd.js +1771 -3404
  16. package/bundles/firestitch-common.umd.js.map +1 -1
  17. package/esm2015/app/directives/autofocus.directive.js +21 -42
  18. package/esm2015/app/directives/prevent-default.directive.js +19 -24
  19. package/esm2015/app/directives/stop-propagation.directive.js +19 -24
  20. package/esm2015/app/fs-common.module.js +93 -72
  21. package/esm2015/app/pipes/bytes.pipe.js +17 -22
  22. package/esm2015/app/pipes/currency.pipe.js +23 -38
  23. package/esm2015/app/pipes/number.pipe.js +17 -23
  24. package/esm2015/app/pipes/ordinal-number.pipe.js +17 -22
  25. package/esm2015/app/pipes/truncate.pipe.js +18 -28
  26. package/esm2015/app/pipes/util.pipe.js +60 -71
  27. package/esm2015/app/services/array.service.js +225 -352
  28. package/esm2015/app/services/math.service.js +21 -29
  29. package/esm2015/app/services/util.service.js +251 -430
  30. package/esm2015/app/services/vaildate.service.js +28 -48
  31. package/esm2015/firestitch-common.js +5 -19
  32. package/esm2015/libs/array/compare/compare.js +8 -19
  33. package/esm2015/libs/array/compare/index.js +2 -7
  34. package/esm2015/libs/array/filter/filter.js +27 -53
  35. package/esm2015/libs/array/filter/index.js +2 -7
  36. package/esm2015/libs/array/find/find.js +6 -17
  37. package/esm2015/libs/array/find/index.js +2 -7
  38. package/esm2015/libs/array/inArray/inArray.js +12 -22
  39. package/esm2015/libs/array/inArray/index.js +2 -7
  40. package/esm2015/libs/array/index/index.js +8 -24
  41. package/esm2015/libs/array/index.js +14 -19
  42. package/esm2015/libs/array/indexOf/index.js +2 -7
  43. package/esm2015/libs/array/indexOf/indexOf.js +16 -31
  44. package/esm2015/libs/array/keyExists/index.js +2 -7
  45. package/esm2015/libs/array/keyExists/keyExists.js +4 -14
  46. package/esm2015/libs/array/ksort/index.js +2 -7
  47. package/esm2015/libs/array/ksort/ksort.js +8 -22
  48. package/esm2015/libs/array/list/index.js +2 -7
  49. package/esm2015/libs/array/list/list.js +13 -30
  50. package/esm2015/libs/array/nameValue/index.js +2 -7
  51. package/esm2015/libs/array/nameValue/nameValue.js +21 -52
  52. package/esm2015/libs/array/remove/index.js +2 -7
  53. package/esm2015/libs/array/remove/remove.js +9 -20
  54. package/esm2015/libs/array/rsort/index.js +2 -7
  55. package/esm2015/libs/array/rsort/rsort.js +5 -15
  56. package/esm2015/libs/array/sort/index.js +2 -7
  57. package/esm2015/libs/array/sort/sort.js +27 -44
  58. package/esm2015/libs/format/acronym/acronym.js +22 -34
  59. package/esm2015/libs/format/acronym/index.js +2 -7
  60. package/esm2015/libs/format/bytes/bytes.js +12 -23
  61. package/esm2015/libs/format/bytes/index.js +2 -7
  62. package/esm2015/libs/format/currency/currency.js +7 -20
  63. package/esm2015/libs/format/currency/index.js +2 -7
  64. package/esm2015/libs/format/index.js +6 -11
  65. package/esm2015/libs/format/number/index.js +2 -7
  66. package/esm2015/libs/format/number/number.js +4 -14
  67. package/esm2015/libs/format/truncate/index.js +2 -7
  68. package/esm2015/libs/format/truncate/truncate.js +12 -25
  69. package/esm2015/libs/index.js +6 -11
  70. package/esm2015/libs/rxjs/delayedRetry.js +20 -58
  71. package/esm2015/libs/util/boolean/boolean.js +5 -14
  72. package/esm2015/libs/util/boolean/index.js +2 -7
  73. package/esm2015/libs/util/debounce/debounce.js +17 -40
  74. package/esm2015/libs/util/debounce/index.js +2 -7
  75. package/esm2015/libs/util/get-normalized-path/get-normalized-path.js +6 -16
  76. package/esm2015/libs/util/get-normalized-path/index.js +2 -7
  77. package/esm2015/libs/util/guid/guid.js +19 -36
  78. package/esm2015/libs/util/guid/index.js +2 -7
  79. package/esm2015/libs/util/index.js +18 -23
  80. package/esm2015/libs/util/isClass/index.js +2 -7
  81. package/esm2015/libs/util/isClass/isClass.js +18 -28
  82. package/esm2015/libs/util/isEmpty/index.js +2 -7
  83. package/esm2015/libs/util/isEmpty/isEmpty.js +13 -23
  84. package/esm2015/libs/util/isNumeric/index.js +2 -7
  85. package/esm2015/libs/util/isNumeric/isNumeric.js +6 -16
  86. package/esm2015/libs/util/keys/index.js +2 -7
  87. package/esm2015/libs/util/keys/keys.js +38 -80
  88. package/esm2015/libs/util/length/index.js +2 -7
  89. package/esm2015/libs/util/length/length.js +11 -20
  90. package/esm2015/libs/util/ordinal-number/ordinal-number.js +8 -20
  91. package/esm2015/libs/util/queue/index.js +3 -8
  92. package/esm2015/libs/util/queue/operation.js +15 -32
  93. package/esm2015/libs/util/queue/queue.enum.js +6 -12
  94. package/esm2015/libs/util/queue/queue.js +137 -291
  95. package/esm2015/libs/util/remove-query-params/index.js +2 -7
  96. package/esm2015/libs/util/remove-query-params/remove-query-params.js +4 -13
  97. package/esm2015/libs/util/resolve/index.js +2 -7
  98. package/esm2015/libs/util/resolve/resolve.js +10 -33
  99. package/esm2015/libs/util/stringify/index.js +2 -7
  100. package/esm2015/libs/util/stringify/stringify.js +4 -13
  101. package/esm2015/libs/util/throttle/index.js +2 -7
  102. package/esm2015/libs/util/throttle/throttle.js +13 -30
  103. package/esm2015/libs/util/uuid/index.js +2 -7
  104. package/esm2015/libs/util/uuid/uuid.js +5 -13
  105. package/esm2015/libs/util/value/index.js +2 -7
  106. package/esm2015/libs/util/value/value.js +9 -20
  107. package/esm2015/libs/validate/email/email.js +4 -13
  108. package/esm2015/libs/validate/email/index.js +2 -7
  109. package/esm2015/libs/validate/index.js +4 -9
  110. package/esm2015/libs/validate/phone/index.js +2 -7
  111. package/esm2015/libs/validate/phone/phone.js +5 -15
  112. package/esm2015/libs/validate/url/index.js +2 -7
  113. package/esm2015/libs/validate/url/url.js +12 -23
  114. package/esm2015/public_api.js +21 -17
  115. package/fesm2015/firestitch-common.js +1287 -2677
  116. package/fesm2015/firestitch-common.js.map +1 -1
  117. package/firestitch-common.d.ts +5 -13
  118. package/libs/array/compare/compare.d.ts +1 -1
  119. package/libs/array/compare/index.d.ts +1 -1
  120. package/libs/array/filter/filter.d.ts +1 -1
  121. package/libs/array/filter/index.d.ts +1 -1
  122. package/libs/array/find/find.d.ts +1 -1
  123. package/libs/array/find/index.d.ts +1 -1
  124. package/libs/array/inArray/inArray.d.ts +1 -1
  125. package/libs/array/inArray/index.d.ts +1 -1
  126. package/libs/array/index/index.d.ts +1 -1
  127. package/libs/array/index.d.ts +13 -13
  128. package/libs/array/indexOf/index.d.ts +1 -1
  129. package/libs/array/indexOf/indexOf.d.ts +1 -1
  130. package/libs/array/keyExists/index.d.ts +1 -1
  131. package/libs/array/keyExists/keyExists.d.ts +1 -1
  132. package/libs/array/ksort/index.d.ts +1 -1
  133. package/libs/array/ksort/ksort.d.ts +1 -1
  134. package/libs/array/list/index.d.ts +1 -1
  135. package/libs/array/list/list.d.ts +1 -1
  136. package/libs/array/nameValue/index.d.ts +1 -1
  137. package/libs/array/nameValue/nameValue.d.ts +1 -1
  138. package/libs/array/remove/index.d.ts +1 -1
  139. package/libs/array/remove/remove.d.ts +1 -1
  140. package/libs/array/rsort/index.d.ts +1 -1
  141. package/libs/array/rsort/rsort.d.ts +1 -1
  142. package/libs/array/sort/index.d.ts +1 -1
  143. package/libs/array/sort/sort.d.ts +1 -1
  144. package/libs/format/acronym/acronym.d.ts +1 -1
  145. package/libs/format/acronym/index.d.ts +1 -1
  146. package/libs/format/bytes/bytes.d.ts +1 -1
  147. package/libs/format/bytes/index.d.ts +1 -1
  148. package/libs/format/currency/currency.d.ts +1 -1
  149. package/libs/format/currency/index.d.ts +1 -1
  150. package/libs/format/index.d.ts +5 -5
  151. package/libs/format/number/index.d.ts +1 -1
  152. package/libs/format/number/number.d.ts +1 -1
  153. package/libs/format/truncate/index.d.ts +1 -1
  154. package/libs/format/truncate/truncate.d.ts +1 -1
  155. package/libs/index.d.ts +5 -5
  156. package/libs/rxjs/delayedRetry.d.ts +2 -2
  157. package/libs/util/boolean/boolean.d.ts +1 -1
  158. package/libs/util/boolean/index.d.ts +1 -1
  159. package/libs/util/debounce/debounce.d.ts +1 -1
  160. package/libs/util/debounce/index.d.ts +1 -1
  161. package/libs/util/get-normalized-path/get-normalized-path.d.ts +2 -2
  162. package/libs/util/get-normalized-path/index.d.ts +1 -1
  163. package/libs/util/guid/guid.d.ts +1 -1
  164. package/libs/util/guid/index.d.ts +1 -1
  165. package/libs/util/index.d.ts +17 -17
  166. package/libs/util/isClass/index.d.ts +1 -1
  167. package/libs/util/isClass/isClass.d.ts +1 -1
  168. package/libs/util/isEmpty/index.d.ts +1 -1
  169. package/libs/util/isEmpty/isEmpty.d.ts +1 -1
  170. package/libs/util/isNumeric/index.d.ts +1 -1
  171. package/libs/util/isNumeric/isNumeric.d.ts +1 -1
  172. package/libs/util/keys/index.d.ts +1 -1
  173. package/libs/util/keys/keys.d.ts +37 -37
  174. package/libs/util/length/index.d.ts +1 -1
  175. package/libs/util/length/length.d.ts +1 -1
  176. package/libs/util/ordinal-number/ordinal-number.d.ts +1 -1
  177. package/libs/util/queue/index.d.ts +2 -2
  178. package/libs/util/queue/operation.d.ts +7 -7
  179. package/libs/util/queue/queue.d.ts +32 -32
  180. package/libs/util/queue/queue.enum.d.ts +4 -4
  181. package/libs/util/remove-query-params/index.d.ts +1 -1
  182. package/libs/util/remove-query-params/remove-query-params.d.ts +1 -1
  183. package/libs/util/resolve/index.d.ts +1 -1
  184. package/libs/util/resolve/resolve.d.ts +1 -1
  185. package/libs/util/stringify/index.d.ts +1 -1
  186. package/libs/util/stringify/stringify.d.ts +1 -1
  187. package/libs/util/throttle/index.d.ts +1 -1
  188. package/libs/util/throttle/throttle.d.ts +1 -1
  189. package/libs/util/uuid/index.d.ts +1 -1
  190. package/libs/util/uuid/uuid.d.ts +1 -1
  191. package/libs/util/value/index.d.ts +1 -1
  192. package/libs/util/value/value.d.ts +1 -1
  193. package/libs/validate/email/email.d.ts +1 -1
  194. package/libs/validate/email/index.d.ts +1 -1
  195. package/libs/validate/index.d.ts +3 -3
  196. package/libs/validate/phone/index.d.ts +1 -1
  197. package/libs/validate/phone/phone.d.ts +1 -1
  198. package/libs/validate/url/index.d.ts +1 -1
  199. package/libs/validate/url/url.d.ts +7 -7
  200. package/package.json +7 -11
  201. package/public_api.d.ts +15 -6
  202. package/bundles/firestitch-common.umd.min.js +0 -16
  203. package/bundles/firestitch-common.umd.min.js.map +0 -1
  204. package/esm5/app/directives/autofocus.directive.js +0 -45
  205. package/esm5/app/directives/prevent-default.directive.js +0 -32
  206. package/esm5/app/directives/stop-propagation.directive.js +0 -32
  207. package/esm5/app/fs-common.module.js +0 -79
  208. package/esm5/app/pipes/bytes.pipe.js +0 -30
  209. package/esm5/app/pipes/currency.pipe.js +0 -43
  210. package/esm5/app/pipes/number.pipe.js +0 -32
  211. package/esm5/app/pipes/ordinal-number.pipe.js +0 -30
  212. package/esm5/app/pipes/truncate.pipe.js +0 -38
  213. package/esm5/app/pipes/util.pipe.js +0 -100
  214. package/esm5/app/services/array.service.js +0 -491
  215. package/esm5/app/services/math.service.js +0 -42
  216. package/esm5/app/services/util.service.js +0 -608
  217. package/esm5/app/services/vaildate.service.js +0 -63
  218. package/esm5/firestitch-common.js +0 -19
  219. package/esm5/libs/array/compare/compare.js +0 -19
  220. package/esm5/libs/array/compare/index.js +0 -7
  221. package/esm5/libs/array/filter/filter.js +0 -53
  222. package/esm5/libs/array/filter/index.js +0 -7
  223. package/esm5/libs/array/find/find.js +0 -17
  224. package/esm5/libs/array/find/index.js +0 -7
  225. package/esm5/libs/array/inArray/inArray.js +0 -22
  226. package/esm5/libs/array/inArray/index.js +0 -7
  227. package/esm5/libs/array/index/index.js +0 -25
  228. package/esm5/libs/array/index.js +0 -19
  229. package/esm5/libs/array/indexOf/index.js +0 -7
  230. package/esm5/libs/array/indexOf/indexOf.js +0 -31
  231. package/esm5/libs/array/keyExists/index.js +0 -7
  232. package/esm5/libs/array/keyExists/keyExists.js +0 -14
  233. package/esm5/libs/array/ksort/index.js +0 -7
  234. package/esm5/libs/array/ksort/ksort.js +0 -22
  235. package/esm5/libs/array/list/index.js +0 -7
  236. package/esm5/libs/array/list/list.js +0 -31
  237. package/esm5/libs/array/nameValue/index.js +0 -7
  238. package/esm5/libs/array/nameValue/nameValue.js +0 -52
  239. package/esm5/libs/array/remove/index.js +0 -7
  240. package/esm5/libs/array/remove/remove.js +0 -20
  241. package/esm5/libs/array/rsort/index.js +0 -7
  242. package/esm5/libs/array/rsort/rsort.js +0 -15
  243. package/esm5/libs/array/sort/index.js +0 -7
  244. package/esm5/libs/array/sort/sort.js +0 -45
  245. package/esm5/libs/format/acronym/acronym.js +0 -35
  246. package/esm5/libs/format/acronym/index.js +0 -7
  247. package/esm5/libs/format/bytes/bytes.js +0 -23
  248. package/esm5/libs/format/bytes/index.js +0 -7
  249. package/esm5/libs/format/currency/currency.js +0 -23
  250. package/esm5/libs/format/currency/index.js +0 -7
  251. package/esm5/libs/format/index.js +0 -11
  252. package/esm5/libs/format/number/index.js +0 -7
  253. package/esm5/libs/format/number/number.js +0 -14
  254. package/esm5/libs/format/truncate/index.js +0 -7
  255. package/esm5/libs/format/truncate/truncate.js +0 -28
  256. package/esm5/libs/index.js +0 -11
  257. package/esm5/libs/rxjs/delayedRetry.js +0 -65
  258. package/esm5/libs/util/boolean/boolean.js +0 -14
  259. package/esm5/libs/util/boolean/index.js +0 -7
  260. package/esm5/libs/util/debounce/debounce.js +0 -40
  261. package/esm5/libs/util/debounce/index.js +0 -7
  262. package/esm5/libs/util/get-normalized-path/get-normalized-path.js +0 -16
  263. package/esm5/libs/util/get-normalized-path/index.js +0 -7
  264. package/esm5/libs/util/guid/guid.js +0 -37
  265. package/esm5/libs/util/guid/index.js +0 -7
  266. package/esm5/libs/util/index.js +0 -23
  267. package/esm5/libs/util/isClass/index.js +0 -7
  268. package/esm5/libs/util/isClass/isClass.js +0 -28
  269. package/esm5/libs/util/isEmpty/index.js +0 -7
  270. package/esm5/libs/util/isEmpty/isEmpty.js +0 -23
  271. package/esm5/libs/util/isNumeric/index.js +0 -7
  272. package/esm5/libs/util/isNumeric/isNumeric.js +0 -16
  273. package/esm5/libs/util/keys/index.js +0 -7
  274. package/esm5/libs/util/keys/keys.js +0 -80
  275. package/esm5/libs/util/length/index.js +0 -7
  276. package/esm5/libs/util/length/length.js +0 -20
  277. package/esm5/libs/util/ordinal-number/ordinal-number.js +0 -22
  278. package/esm5/libs/util/queue/index.js +0 -8
  279. package/esm5/libs/util/queue/operation.js +0 -30
  280. package/esm5/libs/util/queue/queue.enum.js +0 -12
  281. package/esm5/libs/util/queue/queue.js +0 -367
  282. package/esm5/libs/util/remove-query-params/index.js +0 -7
  283. package/esm5/libs/util/remove-query-params/remove-query-params.js +0 -13
  284. package/esm5/libs/util/resolve/index.js +0 -7
  285. package/esm5/libs/util/resolve/resolve.js +0 -34
  286. package/esm5/libs/util/stringify/index.js +0 -7
  287. package/esm5/libs/util/stringify/stringify.js +0 -13
  288. package/esm5/libs/util/throttle/index.js +0 -7
  289. package/esm5/libs/util/throttle/throttle.js +0 -30
  290. package/esm5/libs/util/uuid/index.js +0 -7
  291. package/esm5/libs/util/uuid/uuid.js +0 -13
  292. package/esm5/libs/util/value/index.js +0 -7
  293. package/esm5/libs/util/value/value.js +0 -20
  294. package/esm5/libs/validate/email/email.js +0 -13
  295. package/esm5/libs/validate/email/index.js +0 -7
  296. package/esm5/libs/validate/index.js +0 -9
  297. package/esm5/libs/validate/phone/index.js +0 -7
  298. package/esm5/libs/validate/phone/phone.js +0 -15
  299. package/esm5/libs/validate/url/index.js +0 -7
  300. package/esm5/libs/validate/url/url.js +0 -23
  301. package/esm5/public_api.js +0 -17
  302. package/fesm5/firestitch-common.js +0 -3285
  303. package/fesm5/firestitch-common.js.map +0 -1
  304. package/firestitch-common.metadata.json +0 -1
@@ -1,6 +1,9 @@
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
+ 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,3 +1,6 @@
1
- export declare class FsPreventDefaultDirective {
2
- preventClick(event: any): void;
3
- }
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,3 +1,6 @@
1
- export declare class FsStopPropagationDirective {
2
- preventClick(event: any): void;
3
- }
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,4 +1,18 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- export declare class FsCommonModule {
3
- static forRoot(): ModuleWithProviders<FsCommonModule>;
4
- }
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,4 +1,7 @@
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
+ import * as i0 from "@angular/core";
3
+ export declare class FsFormatBytesPipe implements PipeTransform {
4
+ transform(value: number): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatBytesPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatBytesPipe, "fsFormatBytes">;
7
+ }
@@ -1,6 +1,9 @@
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
+ 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?: any, currencyCode?: any): string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormatCurrencyPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<FsFormatCurrencyPipe, "fsFormatCurrency">;
9
+ }
@@ -1,4 +1,7 @@
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
+ 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,4 +1,7 @@
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
+ 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,5 +1,8 @@
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
+ 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,15 +1,24 @@
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
+ 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,58 +1,61 @@
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
+ 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,6 +1,9 @@
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
+ 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,86 +1,89 @@
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
+ 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,13 +1,16 @@
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
+ 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
+ }