@firestitch/common 8.0.10

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 +6 -0
  2. package/app/directives/prevent-default.directive.d.ts +3 -0
  3. package/app/directives/stop-propagation.directive.d.ts +3 -0
  4. package/app/fs-common.module.d.ts +4 -0
  5. package/app/pipes/bytes.pipe.d.ts +4 -0
  6. package/app/pipes/currency.pipe.d.ts +6 -0
  7. package/app/pipes/number.pipe.d.ts +4 -0
  8. package/app/pipes/ordinal-number.pipe.d.ts +4 -0
  9. package/app/pipes/truncate.pipe.d.ts +5 -0
  10. package/app/pipes/util.pipe.d.ts +15 -0
  11. package/app/services/array.service.d.ts +58 -0
  12. package/app/services/math.service.d.ts +6 -0
  13. package/app/services/util.service.d.ts +86 -0
  14. package/app/services/vaildate.service.d.ts +13 -0
  15. package/bundles/firestitch-common.umd.js +3548 -0
  16. package/bundles/firestitch-common.umd.js.map +1 -0
  17. package/bundles/firestitch-common.umd.min.js +16 -0
  18. package/bundles/firestitch-common.umd.min.js.map +1 -0
  19. package/esm2015/app/directives/autofocus.directive.js +42 -0
  20. package/esm2015/app/directives/prevent-default.directive.js +24 -0
  21. package/esm2015/app/directives/stop-propagation.directive.js +24 -0
  22. package/esm2015/app/fs-common.module.js +72 -0
  23. package/esm2015/app/pipes/bytes.pipe.js +22 -0
  24. package/esm2015/app/pipes/currency.pipe.js +38 -0
  25. package/esm2015/app/pipes/number.pipe.js +23 -0
  26. package/esm2015/app/pipes/ordinal-number.pipe.js +22 -0
  27. package/esm2015/app/pipes/truncate.pipe.js +28 -0
  28. package/esm2015/app/pipes/util.pipe.js +71 -0
  29. package/esm2015/app/services/array.service.js +352 -0
  30. package/esm2015/app/services/math.service.js +29 -0
  31. package/esm2015/app/services/util.service.js +430 -0
  32. package/esm2015/app/services/vaildate.service.js +48 -0
  33. package/esm2015/firestitch-common.js +19 -0
  34. package/esm2015/libs/array/compare/compare.js +19 -0
  35. package/esm2015/libs/array/compare/index.js +7 -0
  36. package/esm2015/libs/array/filter/filter.js +53 -0
  37. package/esm2015/libs/array/filter/index.js +7 -0
  38. package/esm2015/libs/array/find/find.js +17 -0
  39. package/esm2015/libs/array/find/index.js +7 -0
  40. package/esm2015/libs/array/inArray/inArray.js +22 -0
  41. package/esm2015/libs/array/inArray/index.js +7 -0
  42. package/esm2015/libs/array/index/index.js +24 -0
  43. package/esm2015/libs/array/index.js +19 -0
  44. package/esm2015/libs/array/indexOf/index.js +7 -0
  45. package/esm2015/libs/array/indexOf/indexOf.js +31 -0
  46. package/esm2015/libs/array/keyExists/index.js +7 -0
  47. package/esm2015/libs/array/keyExists/keyExists.js +14 -0
  48. package/esm2015/libs/array/ksort/index.js +7 -0
  49. package/esm2015/libs/array/ksort/ksort.js +22 -0
  50. package/esm2015/libs/array/list/index.js +7 -0
  51. package/esm2015/libs/array/list/list.js +30 -0
  52. package/esm2015/libs/array/nameValue/index.js +7 -0
  53. package/esm2015/libs/array/nameValue/nameValue.js +52 -0
  54. package/esm2015/libs/array/remove/index.js +7 -0
  55. package/esm2015/libs/array/remove/remove.js +20 -0
  56. package/esm2015/libs/array/rsort/index.js +7 -0
  57. package/esm2015/libs/array/rsort/rsort.js +15 -0
  58. package/esm2015/libs/array/sort/index.js +7 -0
  59. package/esm2015/libs/array/sort/sort.js +44 -0
  60. package/esm2015/libs/format/acronym/acronym.js +34 -0
  61. package/esm2015/libs/format/acronym/index.js +7 -0
  62. package/esm2015/libs/format/bytes/bytes.js +23 -0
  63. package/esm2015/libs/format/bytes/index.js +7 -0
  64. package/esm2015/libs/format/currency/currency.js +20 -0
  65. package/esm2015/libs/format/currency/index.js +7 -0
  66. package/esm2015/libs/format/index.js +11 -0
  67. package/esm2015/libs/format/number/index.js +7 -0
  68. package/esm2015/libs/format/number/number.js +14 -0
  69. package/esm2015/libs/format/truncate/index.js +7 -0
  70. package/esm2015/libs/format/truncate/truncate.js +25 -0
  71. package/esm2015/libs/index.js +11 -0
  72. package/esm2015/libs/rxjs/delayedRetry.js +58 -0
  73. package/esm2015/libs/util/boolean/boolean.js +14 -0
  74. package/esm2015/libs/util/boolean/index.js +7 -0
  75. package/esm2015/libs/util/debounce/debounce.js +40 -0
  76. package/esm2015/libs/util/debounce/index.js +7 -0
  77. package/esm2015/libs/util/get-normalized-path/get-normalized-path.js +16 -0
  78. package/esm2015/libs/util/get-normalized-path/index.js +7 -0
  79. package/esm2015/libs/util/guid/guid.js +36 -0
  80. package/esm2015/libs/util/guid/index.js +7 -0
  81. package/esm2015/libs/util/index.js +23 -0
  82. package/esm2015/libs/util/isClass/index.js +7 -0
  83. package/esm2015/libs/util/isClass/isClass.js +28 -0
  84. package/esm2015/libs/util/isEmpty/index.js +7 -0
  85. package/esm2015/libs/util/isEmpty/isEmpty.js +23 -0
  86. package/esm2015/libs/util/isNumeric/index.js +7 -0
  87. package/esm2015/libs/util/isNumeric/isNumeric.js +16 -0
  88. package/esm2015/libs/util/keys/index.js +7 -0
  89. package/esm2015/libs/util/keys/keys.js +80 -0
  90. package/esm2015/libs/util/length/index.js +7 -0
  91. package/esm2015/libs/util/length/length.js +20 -0
  92. package/esm2015/libs/util/ordinal-number/ordinal-number.js +20 -0
  93. package/esm2015/libs/util/queue/index.js +8 -0
  94. package/esm2015/libs/util/queue/operation.js +32 -0
  95. package/esm2015/libs/util/queue/queue.enum.js +12 -0
  96. package/esm2015/libs/util/queue/queue.js +291 -0
  97. package/esm2015/libs/util/remove-query-params/index.js +7 -0
  98. package/esm2015/libs/util/remove-query-params/remove-query-params.js +13 -0
  99. package/esm2015/libs/util/resolve/index.js +7 -0
  100. package/esm2015/libs/util/resolve/resolve.js +33 -0
  101. package/esm2015/libs/util/stringify/index.js +7 -0
  102. package/esm2015/libs/util/stringify/stringify.js +13 -0
  103. package/esm2015/libs/util/throttle/index.js +7 -0
  104. package/esm2015/libs/util/throttle/throttle.js +30 -0
  105. package/esm2015/libs/util/uuid/index.js +7 -0
  106. package/esm2015/libs/util/uuid/uuid.js +13 -0
  107. package/esm2015/libs/util/value/index.js +7 -0
  108. package/esm2015/libs/util/value/value.js +20 -0
  109. package/esm2015/libs/validate/email/email.js +13 -0
  110. package/esm2015/libs/validate/email/index.js +7 -0
  111. package/esm2015/libs/validate/index.js +9 -0
  112. package/esm2015/libs/validate/phone/index.js +7 -0
  113. package/esm2015/libs/validate/phone/phone.js +15 -0
  114. package/esm2015/libs/validate/url/index.js +7 -0
  115. package/esm2015/libs/validate/url/url.js +23 -0
  116. package/esm2015/public_api.js +17 -0
  117. package/esm5/app/directives/autofocus.directive.js +45 -0
  118. package/esm5/app/directives/prevent-default.directive.js +32 -0
  119. package/esm5/app/directives/stop-propagation.directive.js +32 -0
  120. package/esm5/app/fs-common.module.js +79 -0
  121. package/esm5/app/pipes/bytes.pipe.js +30 -0
  122. package/esm5/app/pipes/currency.pipe.js +43 -0
  123. package/esm5/app/pipes/number.pipe.js +32 -0
  124. package/esm5/app/pipes/ordinal-number.pipe.js +30 -0
  125. package/esm5/app/pipes/truncate.pipe.js +38 -0
  126. package/esm5/app/pipes/util.pipe.js +100 -0
  127. package/esm5/app/services/array.service.js +491 -0
  128. package/esm5/app/services/math.service.js +42 -0
  129. package/esm5/app/services/util.service.js +608 -0
  130. package/esm5/app/services/vaildate.service.js +63 -0
  131. package/esm5/firestitch-common.js +19 -0
  132. package/esm5/libs/array/compare/compare.js +19 -0
  133. package/esm5/libs/array/compare/index.js +7 -0
  134. package/esm5/libs/array/filter/filter.js +53 -0
  135. package/esm5/libs/array/filter/index.js +7 -0
  136. package/esm5/libs/array/find/find.js +17 -0
  137. package/esm5/libs/array/find/index.js +7 -0
  138. package/esm5/libs/array/inArray/inArray.js +22 -0
  139. package/esm5/libs/array/inArray/index.js +7 -0
  140. package/esm5/libs/array/index/index.js +24 -0
  141. package/esm5/libs/array/index.js +19 -0
  142. package/esm5/libs/array/indexOf/index.js +7 -0
  143. package/esm5/libs/array/indexOf/indexOf.js +31 -0
  144. package/esm5/libs/array/keyExists/index.js +7 -0
  145. package/esm5/libs/array/keyExists/keyExists.js +14 -0
  146. package/esm5/libs/array/ksort/index.js +7 -0
  147. package/esm5/libs/array/ksort/ksort.js +22 -0
  148. package/esm5/libs/array/list/index.js +7 -0
  149. package/esm5/libs/array/list/list.js +31 -0
  150. package/esm5/libs/array/nameValue/index.js +7 -0
  151. package/esm5/libs/array/nameValue/nameValue.js +52 -0
  152. package/esm5/libs/array/remove/index.js +7 -0
  153. package/esm5/libs/array/remove/remove.js +20 -0
  154. package/esm5/libs/array/rsort/index.js +7 -0
  155. package/esm5/libs/array/rsort/rsort.js +15 -0
  156. package/esm5/libs/array/sort/index.js +7 -0
  157. package/esm5/libs/array/sort/sort.js +45 -0
  158. package/esm5/libs/format/acronym/acronym.js +35 -0
  159. package/esm5/libs/format/acronym/index.js +7 -0
  160. package/esm5/libs/format/bytes/bytes.js +23 -0
  161. package/esm5/libs/format/bytes/index.js +7 -0
  162. package/esm5/libs/format/currency/currency.js +23 -0
  163. package/esm5/libs/format/currency/index.js +7 -0
  164. package/esm5/libs/format/index.js +11 -0
  165. package/esm5/libs/format/number/index.js +7 -0
  166. package/esm5/libs/format/number/number.js +14 -0
  167. package/esm5/libs/format/truncate/index.js +7 -0
  168. package/esm5/libs/format/truncate/truncate.js +28 -0
  169. package/esm5/libs/index.js +11 -0
  170. package/esm5/libs/rxjs/delayedRetry.js +65 -0
  171. package/esm5/libs/util/boolean/boolean.js +14 -0
  172. package/esm5/libs/util/boolean/index.js +7 -0
  173. package/esm5/libs/util/debounce/debounce.js +40 -0
  174. package/esm5/libs/util/debounce/index.js +7 -0
  175. package/esm5/libs/util/get-normalized-path/get-normalized-path.js +16 -0
  176. package/esm5/libs/util/get-normalized-path/index.js +7 -0
  177. package/esm5/libs/util/guid/guid.js +37 -0
  178. package/esm5/libs/util/guid/index.js +7 -0
  179. package/esm5/libs/util/index.js +23 -0
  180. package/esm5/libs/util/isClass/index.js +7 -0
  181. package/esm5/libs/util/isClass/isClass.js +28 -0
  182. package/esm5/libs/util/isEmpty/index.js +7 -0
  183. package/esm5/libs/util/isEmpty/isEmpty.js +23 -0
  184. package/esm5/libs/util/isNumeric/index.js +7 -0
  185. package/esm5/libs/util/isNumeric/isNumeric.js +16 -0
  186. package/esm5/libs/util/keys/index.js +7 -0
  187. package/esm5/libs/util/keys/keys.js +80 -0
  188. package/esm5/libs/util/length/index.js +7 -0
  189. package/esm5/libs/util/length/length.js +20 -0
  190. package/esm5/libs/util/ordinal-number/ordinal-number.js +22 -0
  191. package/esm5/libs/util/queue/index.js +8 -0
  192. package/esm5/libs/util/queue/operation.js +30 -0
  193. package/esm5/libs/util/queue/queue.enum.js +12 -0
  194. package/esm5/libs/util/queue/queue.js +367 -0
  195. package/esm5/libs/util/remove-query-params/index.js +7 -0
  196. package/esm5/libs/util/remove-query-params/remove-query-params.js +13 -0
  197. package/esm5/libs/util/resolve/index.js +7 -0
  198. package/esm5/libs/util/resolve/resolve.js +34 -0
  199. package/esm5/libs/util/stringify/index.js +7 -0
  200. package/esm5/libs/util/stringify/stringify.js +13 -0
  201. package/esm5/libs/util/throttle/index.js +7 -0
  202. package/esm5/libs/util/throttle/throttle.js +30 -0
  203. package/esm5/libs/util/uuid/index.js +7 -0
  204. package/esm5/libs/util/uuid/uuid.js +13 -0
  205. package/esm5/libs/util/value/index.js +7 -0
  206. package/esm5/libs/util/value/value.js +20 -0
  207. package/esm5/libs/validate/email/email.js +13 -0
  208. package/esm5/libs/validate/email/index.js +7 -0
  209. package/esm5/libs/validate/index.js +9 -0
  210. package/esm5/libs/validate/phone/index.js +7 -0
  211. package/esm5/libs/validate/phone/phone.js +15 -0
  212. package/esm5/libs/validate/url/index.js +7 -0
  213. package/esm5/libs/validate/url/url.js +23 -0
  214. package/esm5/public_api.js +17 -0
  215. package/fesm2015/firestitch-common.js +2769 -0
  216. package/fesm2015/firestitch-common.js.map +1 -0
  217. package/fesm5/firestitch-common.js +3284 -0
  218. package/fesm5/firestitch-common.js.map +1 -0
  219. package/firestitch-common.d.ts +13 -0
  220. package/firestitch-common.metadata.json +1 -0
  221. package/libs/array/compare/compare.d.ts +1 -0
  222. package/libs/array/compare/index.d.ts +1 -0
  223. package/libs/array/filter/filter.d.ts +1 -0
  224. package/libs/array/filter/index.d.ts +1 -0
  225. package/libs/array/find/find.d.ts +1 -0
  226. package/libs/array/find/index.d.ts +1 -0
  227. package/libs/array/inArray/inArray.d.ts +1 -0
  228. package/libs/array/inArray/index.d.ts +1 -0
  229. package/libs/array/index/index.d.ts +1 -0
  230. package/libs/array/index.d.ts +13 -0
  231. package/libs/array/indexOf/index.d.ts +1 -0
  232. package/libs/array/indexOf/indexOf.d.ts +1 -0
  233. package/libs/array/keyExists/index.d.ts +1 -0
  234. package/libs/array/keyExists/keyExists.d.ts +1 -0
  235. package/libs/array/ksort/index.d.ts +1 -0
  236. package/libs/array/ksort/ksort.d.ts +1 -0
  237. package/libs/array/list/index.d.ts +1 -0
  238. package/libs/array/list/list.d.ts +1 -0
  239. package/libs/array/nameValue/index.d.ts +1 -0
  240. package/libs/array/nameValue/nameValue.d.ts +1 -0
  241. package/libs/array/remove/index.d.ts +1 -0
  242. package/libs/array/remove/remove.d.ts +1 -0
  243. package/libs/array/rsort/index.d.ts +1 -0
  244. package/libs/array/rsort/rsort.d.ts +1 -0
  245. package/libs/array/sort/index.d.ts +1 -0
  246. package/libs/array/sort/sort.d.ts +1 -0
  247. package/libs/format/acronym/acronym.d.ts +1 -0
  248. package/libs/format/acronym/index.d.ts +1 -0
  249. package/libs/format/bytes/bytes.d.ts +1 -0
  250. package/libs/format/bytes/index.d.ts +1 -0
  251. package/libs/format/currency/currency.d.ts +1 -0
  252. package/libs/format/currency/index.d.ts +1 -0
  253. package/libs/format/index.d.ts +5 -0
  254. package/libs/format/number/index.d.ts +1 -0
  255. package/libs/format/number/number.d.ts +1 -0
  256. package/libs/format/truncate/index.d.ts +1 -0
  257. package/libs/format/truncate/truncate.d.ts +1 -0
  258. package/libs/index.d.ts +5 -0
  259. package/libs/rxjs/delayedRetry.d.ts +2 -0
  260. package/libs/util/boolean/boolean.d.ts +1 -0
  261. package/libs/util/boolean/index.d.ts +1 -0
  262. package/libs/util/debounce/debounce.d.ts +1 -0
  263. package/libs/util/debounce/index.d.ts +1 -0
  264. package/libs/util/get-normalized-path/get-normalized-path.d.ts +2 -0
  265. package/libs/util/get-normalized-path/index.d.ts +1 -0
  266. package/libs/util/guid/guid.d.ts +1 -0
  267. package/libs/util/guid/index.d.ts +1 -0
  268. package/libs/util/index.d.ts +17 -0
  269. package/libs/util/isClass/index.d.ts +1 -0
  270. package/libs/util/isClass/isClass.d.ts +1 -0
  271. package/libs/util/isEmpty/index.d.ts +1 -0
  272. package/libs/util/isEmpty/isEmpty.d.ts +1 -0
  273. package/libs/util/isNumeric/index.d.ts +1 -0
  274. package/libs/util/isNumeric/isNumeric.d.ts +1 -0
  275. package/libs/util/keys/index.d.ts +1 -0
  276. package/libs/util/keys/keys.d.ts +37 -0
  277. package/libs/util/length/index.d.ts +1 -0
  278. package/libs/util/length/length.d.ts +1 -0
  279. package/libs/util/ordinal-number/ordinal-number.d.ts +1 -0
  280. package/libs/util/queue/index.d.ts +2 -0
  281. package/libs/util/queue/operation.d.ts +7 -0
  282. package/libs/util/queue/queue.d.ts +32 -0
  283. package/libs/util/queue/queue.enum.d.ts +4 -0
  284. package/libs/util/remove-query-params/index.d.ts +1 -0
  285. package/libs/util/remove-query-params/remove-query-params.d.ts +1 -0
  286. package/libs/util/resolve/index.d.ts +1 -0
  287. package/libs/util/resolve/resolve.d.ts +1 -0
  288. package/libs/util/stringify/index.d.ts +1 -0
  289. package/libs/util/stringify/stringify.d.ts +1 -0
  290. package/libs/util/throttle/index.d.ts +1 -0
  291. package/libs/util/throttle/throttle.d.ts +1 -0
  292. package/libs/util/uuid/index.d.ts +1 -0
  293. package/libs/util/uuid/uuid.d.ts +1 -0
  294. package/libs/util/value/index.d.ts +1 -0
  295. package/libs/util/value/value.d.ts +1 -0
  296. package/libs/validate/email/email.d.ts +1 -0
  297. package/libs/validate/email/index.d.ts +1 -0
  298. package/libs/validate/index.d.ts +3 -0
  299. package/libs/validate/phone/index.d.ts +1 -0
  300. package/libs/validate/phone/phone.d.ts +1 -0
  301. package/libs/validate/url/index.d.ts +1 -0
  302. package/libs/validate/url/url.d.ts +7 -0
  303. package/package.json +33 -0
  304. package/public_api.d.ts +6 -0
@@ -0,0 +1,6 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ export declare class FsAutofocusDirective implements AfterViewInit {
3
+ private _el;
4
+ constructor(_el: ElementRef);
5
+ ngAfterViewInit(): void;
6
+ }
@@ -0,0 +1,3 @@
1
+ export declare class FsPreventDefaultDirective {
2
+ preventClick(event: any): void;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class FsStopPropagationDirective {
2
+ preventClick(event: any): void;
3
+ }
@@ -0,0 +1,4 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ export declare class FsCommonModule {
3
+ static forRoot(): ModuleWithProviders;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FsFormatBytesPipe implements PipeTransform {
3
+ transform(value: number): string;
4
+ }
@@ -0,0 +1,6 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FsFormatCurrencyPipe implements PipeTransform {
3
+ locale: string;
4
+ constructor(locale: string);
5
+ transform(amount: any, precision?: any, currencyCode?: any): string;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FsFormatNumberPipe implements PipeTransform {
3
+ transform(value: any, decimals?: any): string;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FsFormatOrdinalNumberPipe implements PipeTransform {
3
+ transform(value: any): string;
4
+ }
@@ -0,0 +1,5 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FsFormatTruncatePipe implements PipeTransform {
3
+ constructor();
4
+ transform(value: any, limit?: any, completeWords?: any, ellipsis?: any): string;
5
+ }
@@ -0,0 +1,15 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FsUtilStringifyPipe implements PipeTransform {
3
+ constructor();
4
+ transform(value: any): string;
5
+ }
6
+ export declare class FsUtilGuidPipe implements PipeTransform {
7
+ constructor();
8
+ transform(): string;
9
+ }
10
+ export declare class FsUtilIsEmptyPipe implements PipeTransform {
11
+ transform(value: any): any;
12
+ }
13
+ export declare class FsUtilIsNotEmptyPipe implements PipeTransform {
14
+ transform(value: any): any;
15
+ }
@@ -0,0 +1,58 @@
1
+ export declare class FsArray {
2
+ /**
3
+ * @deprecated use import { nameValue } from @firestitch/common/array; instead
4
+ */
5
+ nameValue(array: any, name: any, value: any): Array<any>;
6
+ /**
7
+ * @deprecated use import { remove } from @firestitch/common/array; instead
8
+ */
9
+ remove(array: any, query: any): any;
10
+ /**
11
+ * @deprecated use import { indexOf } from @firestitch/common/array; instead
12
+ */
13
+ indexOf(array: any, query: any): number;
14
+ /**
15
+ * @deprecated use import { compare } from @firestitch/common/array; instead
16
+ */
17
+ compare(query: any, item: any): boolean;
18
+ /**
19
+ * @deprecated use import { filter } from @firestitch/common/array; instead
20
+ */
21
+ filter(array: any, query: any): Array<any>;
22
+ /**
23
+ * @deprecated use import { index } from @firestitch/common/array; instead
24
+ */
25
+ index(array: any, property: any): Object;
26
+ /**
27
+ * @deprecated use import { sort } from @firestitch/common/array; instead
28
+ */
29
+ sort(array: any, query: any, reverse?: boolean): Array<any>;
30
+ /**
31
+ * @deprecated use import { rsort } from @firestitch/common/array; instead
32
+ */
33
+ rsort(array: any, query: any): Array<any>;
34
+ /**
35
+ * @deprecated use import { list } from @firestitch/common/array; instead
36
+ */
37
+ list(array: any, property: any, index?: any): Object;
38
+ /**
39
+ * @deprecated use import { applyDepth } from @firestitch/common/array; instead
40
+ */
41
+ applyDepth(objects: any, parent_property: any, id_property?: string, depth_property?: string): {};
42
+ /**
43
+ * @deprecated use import { inArray } from @firestitch/common/array; instead
44
+ */
45
+ inArray(values: any, array: any): boolean;
46
+ /**
47
+ * @deprecated use import { keyExists } from @firestitch/common/array; instead
48
+ */
49
+ keyExists(array: any, key: any): any;
50
+ /**
51
+ * @deprecated use import { length } from @firestitch/common/array; instead
52
+ */
53
+ length(array: any): any;
54
+ /**
55
+ * @deprecated use import { ksort } from @firestitch/common/array; instead
56
+ */
57
+ ksort(unordered: any): void;
58
+ }
@@ -0,0 +1,6 @@
1
+ export declare class FsMath {
2
+ /**
3
+ * @deprecated use _.round() instead {@link https://lodash.com/docs/4.17.5#round}
4
+ */
5
+ round(number: any, precision: any): number;
6
+ }
@@ -0,0 +1,86 @@
1
+ export declare const KEY_CANCEL = 3, KEY_HELP = 6, KEY_BACKSPACE = 8, KEY_TAB = 9, KEY_CLEAR = 12, KEY_RETURN = 13, KEY_ENTER = 14, KEY_SHIFT = 16, KEY_CONTROL = 17, KEY_ALT = 18, KEY_PAUSE = 19, KEY_CAPS_LOCK = 20, KEY_ESCAPE = 27, KEY_SPACE = 32, KEY_PAGE_UP = 33, KEY_PAGE_DOWN = 34, KEY_END = 35, KEY_HOME = 36, KEY_LEFT = 37, KEY_UP = 38, KEY_RIGHT = 39, KEY_DOWN = 40, KEY_PRINTSCREEN = 44, KEY_INSERT = 45, KEY_DELETE = 46, KEY_0 = 48, KEY_1 = 49, KEY_2 = 50, KEY_3 = 51, KEY_4 = 52, KEY_5 = 53, KEY_6 = 54, KEY_7 = 55, KEY_8 = 56, KEY_9 = 57, KEY_SEMICOLON = 59, KEY_EQUALS = 61;
2
+ export declare class FsUtil {
3
+ private intervals;
4
+ /**
5
+ * @deprecated use @firestitch/common/util/guid instead
6
+ */
7
+ guid(pattern?: string): string;
8
+ /**
9
+ * @deprecated use import { uuid } from @firestitch/common/util; instead
10
+ */
11
+ uuid(): string;
12
+ /**
13
+ * @deprecated use import { resolve } from @firestitch/common/util; instead
14
+ */
15
+ resolve(promise: Promise<object>, defaults?: any[]): Promise<object>;
16
+ /**
17
+ * @deprecated use _.toInteger() instead
18
+ */
19
+ int(value: any): number;
20
+ /**
21
+ * @deprecated use _.toFinite() instead
22
+ */
23
+ float(value: any): number;
24
+ /**
25
+ * @deprecated use _.toString() instead
26
+ */
27
+ string(string: any): string;
28
+ /**
29
+ * @deprecated use import { isEmpty } from @firestitch/common/util; instead
30
+ */
31
+ isEmpty(value: any, options?: any): boolean;
32
+ /**
33
+ * @deprecated use _.isInteger() instead
34
+ */
35
+ isInt(value: any, type?: any): boolean;
36
+ /**
37
+ * @deprecated use _.each() instead {@link https://lodash.com/docs/4.17.5#forEach}
38
+ */
39
+ each(object: any, func: any): void;
40
+ /**
41
+ * @deprecated use _.isArrayLikeObject() {@link https://lodash.com/docs/4.17.5#isArrayLikeObject}
42
+ * or _.isObject() {@link https://lodash.com/docs/4.17.5#isObject} instead
43
+ */
44
+ isObject(value: any): boolean;
45
+ /**
46
+ * @deprecated use _.isString() instead {@link https://lodash.com/docs/4.17.5#isString}
47
+ */
48
+ isString(value: any): boolean;
49
+ /**
50
+ * @deprecated use _.isArray() instead {@link https://lodash.com/docs/4.17.5#isArray}
51
+ */
52
+ isArray(value: any): boolean;
53
+ /**
54
+ * @deprecated use import { isNumeric } from @firestitch/common/util; instead
55
+ */
56
+ isNumeric(value: any): boolean;
57
+ /**
58
+ * @deprecated use import { isClass } from @firestitch/common/util; instead
59
+ */
60
+ isClass(value: any, cls: any): boolean;
61
+ /**
62
+ * @deprecated use _.isBoolean() instead {@link https://lodash.com/docs/4.17.5#isBoolean}
63
+ */
64
+ isBoolean(value: any): boolean;
65
+ /**
66
+ * @deprecated use import { value } from @firestitch/common/util; instead
67
+ */
68
+ value(object: any, key: any, def: any): any;
69
+ throttle(func: any, wait: any): () => void;
70
+ /**
71
+ * @deprecated use import { debounce } from @firestitch/common/util; instead
72
+ */
73
+ debounce(func: any, wait: any, immediate: any): () => void;
74
+ /**
75
+ * @deprecated use import { length } from @firestitch/common/util; instead
76
+ */
77
+ length(object: any): number;
78
+ /**
79
+ * @deprecated use import { boolean } from @firestitch/common/util; instead
80
+ */
81
+ boolean(value: any): boolean;
82
+ /**
83
+ * @deprecated use import { stringify } from @firestitch/common/util; instead
84
+ */
85
+ stringify(value: any): string;
86
+ }
@@ -0,0 +1,13 @@
1
+ import { FsUtil } from './util.service';
2
+ export declare class FsValidate {
3
+ private fsUtil;
4
+ constructor(fsUtil: FsUtil);
5
+ /**
6
+ * @deprecated use import { email } from @firestitch/common/validate; instead
7
+ */
8
+ phone(value: any): boolean;
9
+ /**
10
+ * @deprecated use import { email } from @firestitch/common/validate; instead
11
+ */
12
+ email(value: any): boolean;
13
+ }