@firestitch/common 13.0.5 → 14.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 (241) hide show
  1. package/app/directives/auto-focus.directive.d.ts +15 -15
  2. package/app/directives/auto-select.directive.d.ts +11 -11
  3. package/app/directives/index.d.ts +5 -6
  4. package/app/directives/model-change.directive.d.ts +16 -16
  5. package/app/directives/prevent-default.directive.d.ts +6 -6
  6. package/app/directives/stop-propagation.directive.d.ts +6 -6
  7. package/app/fs-common.module.d.ts +20 -21
  8. package/app/pipes/bytes.pipe.d.ts +7 -7
  9. package/app/pipes/currency.pipe.d.ts +9 -9
  10. package/app/pipes/index.d.ts +2 -2
  11. package/app/pipes/number.pipe.d.ts +7 -7
  12. package/app/pipes/ordinal-number.pipe.d.ts +7 -7
  13. package/app/pipes/truncate.pipe.d.ts +8 -8
  14. package/app/pipes/util.pipe.d.ts +24 -24
  15. package/app/services/array.service.d.ts +61 -61
  16. package/app/services/math.service.d.ts +9 -9
  17. package/app/services/util.service.d.ts +89 -89
  18. package/app/services/vaildate.service.d.ts +16 -16
  19. package/esm2020/app/directives/auto-focus.directive.mjs +58 -58
  20. package/esm2020/app/directives/auto-select.directive.mjs +30 -30
  21. package/esm2020/app/directives/index.mjs +6 -7
  22. package/esm2020/app/directives/model-change.directive.mjs +36 -36
  23. package/esm2020/app/directives/prevent-default.directive.mjs +18 -18
  24. package/esm2020/app/directives/stop-propagation.directive.mjs +18 -18
  25. package/esm2020/app/fs-common.module.mjs +99 -105
  26. package/esm2020/app/pipes/bytes.pipe.mjs +16 -16
  27. package/esm2020/app/pipes/currency.pipe.mjs +22 -22
  28. package/esm2020/app/pipes/index.mjs +2 -2
  29. package/esm2020/app/pipes/number.pipe.mjs +16 -16
  30. package/esm2020/app/pipes/ordinal-number.pipe.mjs +16 -16
  31. package/esm2020/app/pipes/truncate.pipe.mjs +17 -17
  32. package/esm2020/app/pipes/util.pipe.mjs +59 -59
  33. package/esm2020/app/services/array.service.mjs +224 -224
  34. package/esm2020/app/services/math.service.mjs +20 -20
  35. package/esm2020/app/services/util.service.mjs +250 -250
  36. package/esm2020/app/services/vaildate.service.mjs +27 -27
  37. package/esm2020/firestitch-common.mjs +4 -4
  38. package/esm2020/libs/array/compare/compare.mjs +7 -7
  39. package/esm2020/libs/array/compare/index.mjs +1 -1
  40. package/esm2020/libs/array/filter/filter.mjs +26 -26
  41. package/esm2020/libs/array/filter/index.mjs +1 -1
  42. package/esm2020/libs/array/find/find.mjs +5 -5
  43. package/esm2020/libs/array/find/index.mjs +1 -1
  44. package/esm2020/libs/array/inArray/inArray.mjs +11 -11
  45. package/esm2020/libs/array/inArray/index.mjs +1 -1
  46. package/esm2020/libs/array/index/index.mjs +7 -7
  47. package/esm2020/libs/array/index.mjs +13 -13
  48. package/esm2020/libs/array/indexOf/index.mjs +1 -1
  49. package/esm2020/libs/array/indexOf/indexOf.mjs +15 -15
  50. package/esm2020/libs/array/keyExists/index.mjs +1 -1
  51. package/esm2020/libs/array/keyExists/keyExists.mjs +3 -3
  52. package/esm2020/libs/array/ksort/index.mjs +1 -1
  53. package/esm2020/libs/array/ksort/ksort.mjs +7 -7
  54. package/esm2020/libs/array/list/index.mjs +1 -1
  55. package/esm2020/libs/array/list/list.mjs +12 -12
  56. package/esm2020/libs/array/nameValue/index.mjs +1 -1
  57. package/esm2020/libs/array/nameValue/nameValue.mjs +20 -20
  58. package/esm2020/libs/array/remove/index.mjs +1 -1
  59. package/esm2020/libs/array/remove/remove.mjs +8 -8
  60. package/esm2020/libs/array/rsort/index.mjs +1 -1
  61. package/esm2020/libs/array/rsort/rsort.mjs +4 -4
  62. package/esm2020/libs/array/sort/index.mjs +1 -1
  63. package/esm2020/libs/array/sort/sort.mjs +26 -26
  64. package/esm2020/libs/format/acronym/acronym.mjs +21 -21
  65. package/esm2020/libs/format/acronym/index.mjs +1 -1
  66. package/esm2020/libs/format/bytes/bytes.mjs +17 -17
  67. package/esm2020/libs/format/bytes/index.mjs +1 -1
  68. package/esm2020/libs/format/currency/currency.mjs +8 -8
  69. package/esm2020/libs/format/currency/index.mjs +1 -1
  70. package/esm2020/libs/format/index.mjs +5 -5
  71. package/esm2020/libs/format/number/index.mjs +1 -1
  72. package/esm2020/libs/format/number/number.mjs +7 -7
  73. package/esm2020/libs/format/truncate/index.mjs +1 -1
  74. package/esm2020/libs/format/truncate/truncate.mjs +11 -11
  75. package/esm2020/libs/index.mjs +5 -5
  76. package/esm2020/libs/rxjs/delayedRetry.mjs +19 -19
  77. package/esm2020/libs/rxjs/keyboard-shortcut.mjs +17 -17
  78. package/esm2020/libs/util/boolean/boolean.mjs +3 -3
  79. package/esm2020/libs/util/boolean/index.mjs +1 -1
  80. package/esm2020/libs/util/clone/clone.mjs +20 -20
  81. package/esm2020/libs/util/clone/index.mjs +1 -1
  82. package/esm2020/libs/util/debounce/debounce.mjs +16 -16
  83. package/esm2020/libs/util/debounce/index.mjs +1 -1
  84. package/esm2020/libs/util/get-normalized-path/get-normalized-path.mjs +5 -5
  85. package/esm2020/libs/util/get-normalized-path/index.mjs +1 -1
  86. package/esm2020/libs/util/guid/guid.mjs +18 -18
  87. package/esm2020/libs/util/guid/index.mjs +1 -1
  88. package/esm2020/libs/util/index.mjs +24 -24
  89. package/esm2020/libs/util/is-array-equal/index.mjs +2 -2
  90. package/esm2020/libs/util/is-array-equal/is-array-equal.mjs +21 -21
  91. package/esm2020/libs/util/is-class/index.mjs +1 -1
  92. package/esm2020/libs/util/is-class/is-class.mjs +17 -17
  93. package/esm2020/libs/util/is-empty/index.mjs +1 -1
  94. package/esm2020/libs/util/is-empty/is-empty.mjs +11 -11
  95. package/esm2020/libs/util/is-numeric/index.mjs +1 -1
  96. package/esm2020/libs/util/is-numeric/is-numeric.mjs +4 -4
  97. package/esm2020/libs/util/is-object/index.mjs +1 -1
  98. package/esm2020/libs/util/is-object/is-object.mjs +3 -3
  99. package/esm2020/libs/util/keys/index.mjs +1 -1
  100. package/esm2020/libs/util/keys/keys.mjs +37 -37
  101. package/esm2020/libs/util/length/index.mjs +1 -1
  102. package/esm2020/libs/util/length/length.mjs +9 -9
  103. package/esm2020/libs/util/ordinal-number/index.mjs +2 -2
  104. package/esm2020/libs/util/ordinal-number/ordinal-number.mjs +7 -7
  105. package/esm2020/libs/util/queue/index.mjs +3 -3
  106. package/esm2020/libs/util/queue/operation.mjs +14 -14
  107. package/esm2020/libs/util/queue/queue-stats.mjs +1 -1
  108. package/esm2020/libs/util/queue/queue.enum.mjs +5 -5
  109. package/esm2020/libs/util/queue/queue.mjs +164 -164
  110. package/esm2020/libs/util/remove-query-params/index.mjs +1 -1
  111. package/esm2020/libs/util/remove-query-params/remove-query-params.mjs +3 -3
  112. package/esm2020/libs/util/resolve/index.mjs +1 -1
  113. package/esm2020/libs/util/resolve/resolve.mjs +9 -9
  114. package/esm2020/libs/util/round/index.mjs +1 -1
  115. package/esm2020/libs/util/round/round.mjs +5 -5
  116. package/esm2020/libs/util/source-loader/index.mjs +2 -2
  117. package/esm2020/libs/util/source-loader/source-loader.mjs +154 -154
  118. package/esm2020/libs/util/stringify/index.mjs +1 -1
  119. package/esm2020/libs/util/stringify/stringify.mjs +3 -3
  120. package/esm2020/libs/util/throttle/index.mjs +1 -1
  121. package/esm2020/libs/util/throttle/throttle.mjs +12 -12
  122. package/esm2020/libs/util/to-string/index.mjs +1 -1
  123. package/esm2020/libs/util/to-string/to-string.mjs +6 -6
  124. package/esm2020/libs/util/uuid/index.mjs +1 -1
  125. package/esm2020/libs/util/uuid/uuid.mjs +4 -4
  126. package/esm2020/libs/util/value/index.mjs +1 -1
  127. package/esm2020/libs/util/value/value.mjs +8 -8
  128. package/esm2020/libs/validate/email/email.mjs +3 -3
  129. package/esm2020/libs/validate/email/index.mjs +1 -1
  130. package/esm2020/libs/validate/index.mjs +3 -3
  131. package/esm2020/libs/validate/phone/index.mjs +1 -1
  132. package/esm2020/libs/validate/phone/phone.mjs +4 -4
  133. package/esm2020/libs/validate/url/index.mjs +1 -1
  134. package/esm2020/libs/validate/url/url.mjs +11 -11
  135. package/esm2020/public_api.mjs +17 -17
  136. package/fesm2015/firestitch-common.mjs +1699 -1716
  137. package/fesm2015/firestitch-common.mjs.map +1 -1
  138. package/fesm2020/firestitch-common.mjs +1692 -1709
  139. package/fesm2020/firestitch-common.mjs.map +1 -1
  140. package/{firestitch-common.d.ts → index.d.ts} +5 -5
  141. package/libs/array/compare/compare.d.ts +1 -1
  142. package/libs/array/compare/index.d.ts +1 -1
  143. package/libs/array/filter/filter.d.ts +1 -1
  144. package/libs/array/filter/index.d.ts +1 -1
  145. package/libs/array/find/find.d.ts +1 -1
  146. package/libs/array/find/index.d.ts +1 -1
  147. package/libs/array/inArray/inArray.d.ts +1 -1
  148. package/libs/array/inArray/index.d.ts +1 -1
  149. package/libs/array/index/index.d.ts +1 -1
  150. package/libs/array/index.d.ts +13 -13
  151. package/libs/array/indexOf/index.d.ts +1 -1
  152. package/libs/array/indexOf/indexOf.d.ts +1 -1
  153. package/libs/array/keyExists/index.d.ts +1 -1
  154. package/libs/array/keyExists/keyExists.d.ts +1 -1
  155. package/libs/array/ksort/index.d.ts +1 -1
  156. package/libs/array/ksort/ksort.d.ts +1 -1
  157. package/libs/array/list/index.d.ts +1 -1
  158. package/libs/array/list/list.d.ts +1 -1
  159. package/libs/array/nameValue/index.d.ts +1 -1
  160. package/libs/array/nameValue/nameValue.d.ts +1 -1
  161. package/libs/array/remove/index.d.ts +1 -1
  162. package/libs/array/remove/remove.d.ts +1 -1
  163. package/libs/array/rsort/index.d.ts +1 -1
  164. package/libs/array/rsort/rsort.d.ts +1 -1
  165. package/libs/array/sort/index.d.ts +1 -1
  166. package/libs/array/sort/sort.d.ts +1 -1
  167. package/libs/format/acronym/acronym.d.ts +1 -1
  168. package/libs/format/acronym/index.d.ts +1 -1
  169. package/libs/format/bytes/bytes.d.ts +1 -1
  170. package/libs/format/bytes/index.d.ts +1 -1
  171. package/libs/format/currency/currency.d.ts +1 -1
  172. package/libs/format/currency/index.d.ts +1 -1
  173. package/libs/format/index.d.ts +5 -5
  174. package/libs/format/number/index.d.ts +1 -1
  175. package/libs/format/number/number.d.ts +1 -1
  176. package/libs/format/truncate/index.d.ts +1 -1
  177. package/libs/format/truncate/truncate.d.ts +1 -1
  178. package/libs/index.d.ts +5 -5
  179. package/libs/rxjs/delayedRetry.d.ts +2 -2
  180. package/libs/rxjs/keyboard-shortcut.d.ts +2 -2
  181. package/libs/util/boolean/boolean.d.ts +1 -1
  182. package/libs/util/boolean/index.d.ts +1 -1
  183. package/libs/util/clone/clone.d.ts +1 -1
  184. package/libs/util/clone/index.d.ts +1 -1
  185. package/libs/util/debounce/debounce.d.ts +1 -1
  186. package/libs/util/debounce/index.d.ts +1 -1
  187. package/libs/util/get-normalized-path/get-normalized-path.d.ts +2 -2
  188. package/libs/util/get-normalized-path/index.d.ts +1 -1
  189. package/libs/util/guid/guid.d.ts +1 -1
  190. package/libs/util/guid/index.d.ts +1 -1
  191. package/libs/util/index.d.ts +23 -23
  192. package/libs/util/is-array-equal/index.d.ts +1 -1
  193. package/libs/util/is-array-equal/is-array-equal.d.ts +1 -1
  194. package/libs/util/is-class/index.d.ts +1 -1
  195. package/libs/util/is-class/is-class.d.ts +1 -1
  196. package/libs/util/is-empty/index.d.ts +1 -1
  197. package/libs/util/is-empty/is-empty.d.ts +1 -1
  198. package/libs/util/is-numeric/index.d.ts +1 -1
  199. package/libs/util/is-numeric/is-numeric.d.ts +1 -1
  200. package/libs/util/is-object/index.d.ts +1 -1
  201. package/libs/util/is-object/is-object.d.ts +1 -1
  202. package/libs/util/keys/index.d.ts +1 -1
  203. package/libs/util/keys/keys.d.ts +37 -37
  204. package/libs/util/length/index.d.ts +1 -1
  205. package/libs/util/length/length.d.ts +1 -1
  206. package/libs/util/ordinal-number/index.d.ts +1 -1
  207. package/libs/util/ordinal-number/ordinal-number.d.ts +1 -1
  208. package/libs/util/queue/index.d.ts +3 -3
  209. package/libs/util/queue/operation.d.ts +7 -7
  210. package/libs/util/queue/queue-stats.d.ts +5 -5
  211. package/libs/util/queue/queue.d.ts +39 -39
  212. package/libs/util/queue/queue.enum.d.ts +4 -4
  213. package/libs/util/remove-query-params/index.d.ts +1 -1
  214. package/libs/util/remove-query-params/remove-query-params.d.ts +1 -1
  215. package/libs/util/resolve/index.d.ts +1 -1
  216. package/libs/util/resolve/resolve.d.ts +1 -1
  217. package/libs/util/round/index.d.ts +1 -1
  218. package/libs/util/round/round.d.ts +1 -1
  219. package/libs/util/source-loader/index.d.ts +1 -1
  220. package/libs/util/source-loader/source-loader.d.ts +11 -11
  221. package/libs/util/stringify/index.d.ts +1 -1
  222. package/libs/util/stringify/stringify.d.ts +1 -1
  223. package/libs/util/throttle/index.d.ts +1 -1
  224. package/libs/util/throttle/throttle.d.ts +1 -1
  225. package/libs/util/to-string/index.d.ts +1 -1
  226. package/libs/util/to-string/to-string.d.ts +1 -1
  227. package/libs/util/uuid/index.d.ts +1 -1
  228. package/libs/util/uuid/uuid.d.ts +1 -1
  229. package/libs/util/value/index.d.ts +1 -1
  230. package/libs/util/value/value.d.ts +1 -1
  231. package/libs/validate/email/email.d.ts +1 -1
  232. package/libs/validate/email/index.d.ts +1 -1
  233. package/libs/validate/index.d.ts +3 -3
  234. package/libs/validate/phone/index.d.ts +1 -1
  235. package/libs/validate/phone/phone.d.ts +1 -1
  236. package/libs/validate/url/index.d.ts +1 -1
  237. package/libs/validate/url/url.d.ts +7 -7
  238. package/package.json +3 -3
  239. package/public_api.d.ts +15 -15
  240. package/app/directives/autofocus.directive.d.ts +0 -6
  241. package/esm2020/app/directives/autofocus.directive.mjs +0 -14
@@ -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
+ }
@@ -1,59 +1,59 @@
1
- import { Directive, ElementRef, Host, Input, Optional } from '@angular/core';
2
- import { MatInput } from '@angular/material/input';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/input";
5
- export class FsAutoFocusDirective {
6
- constructor(_matInput, _el) {
7
- this._matInput = _matInput;
8
- this._el = _el;
9
- this.fsAutofocus = true;
10
- this.fsAutoFocus = true;
11
- this.autofocus = true;
12
- }
13
- ngAfterViewInit() {
14
- if ((this.fsAutofocus ?? true) === true &&
15
- (this.fsAutofocus ?? true) === true &&
16
- (this.autofocus ?? true) === true) {
17
- this.focus();
18
- }
19
- }
20
- focus() {
21
- setTimeout(() => {
22
- const tmpEl = document.createElement('input');
23
- tmpEl.style.width = '0';
24
- tmpEl.style.height = '0';
25
- tmpEl.style.margin = '0';
26
- tmpEl.style.padding = '0';
27
- tmpEl.style.border = '0';
28
- tmpEl.style.opacity = '0';
29
- document.body.appendChild(tmpEl);
30
- tmpEl.focus();
31
- if (this._matInput) {
32
- this._matInput.focus();
33
- }
34
- else if (this._el.nativeElement.focus) {
35
- this._el.nativeElement.focus();
36
- }
37
- document.body.removeChild(tmpEl);
38
- }, 50);
39
- }
40
- }
41
- FsAutoFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsAutoFocusDirective, deps: [{ token: i1.MatInput, host: true, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
42
- FsAutoFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsAutoFocusDirective, selector: "[fsAutofocus],[fsAutoFocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus", fsAutoFocus: "fsAutoFocus", autofocus: "autofocus" }, ngImport: i0 });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
44
- type: Directive,
45
- args: [{
46
- selector: '[fsAutofocus],[fsAutoFocus],[autofocus]',
47
- }]
48
- }], ctorParameters: function () { return [{ type: i1.MatInput, decorators: [{
49
- type: Optional
50
- }, {
51
- type: Host
52
- }] }, { type: i0.ElementRef }]; }, propDecorators: { fsAutofocus: [{
53
- type: Input
54
- }], fsAutoFocus: [{
55
- type: Input
56
- }], autofocus: [{
57
- type: Input
58
- }] } });
1
+ import { Directive, ElementRef, Host, Input, Optional } from '@angular/core';
2
+ import { MatInput } from '@angular/material/input';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/material/input";
5
+ export class FsAutoFocusDirective {
6
+ constructor(_matInput, _el) {
7
+ this._matInput = _matInput;
8
+ this._el = _el;
9
+ this.fsAutofocus = true;
10
+ this.fsAutoFocus = true;
11
+ this.autofocus = true;
12
+ }
13
+ ngAfterViewInit() {
14
+ if ((this.fsAutofocus ?? true) === true &&
15
+ (this.fsAutofocus ?? true) === true &&
16
+ (this.autofocus ?? true) === true) {
17
+ this.focus();
18
+ }
19
+ }
20
+ focus() {
21
+ setTimeout(() => {
22
+ const tmpEl = document.createElement('input');
23
+ tmpEl.style.width = '0';
24
+ tmpEl.style.height = '0';
25
+ tmpEl.style.margin = '0';
26
+ tmpEl.style.padding = '0';
27
+ tmpEl.style.border = '0';
28
+ tmpEl.style.opacity = '0';
29
+ document.body.appendChild(tmpEl);
30
+ tmpEl.focus();
31
+ if (this._matInput) {
32
+ this._matInput.focus();
33
+ }
34
+ else if (this._el.nativeElement.focus) {
35
+ this._el.nativeElement.focus();
36
+ }
37
+ document.body.removeChild(tmpEl);
38
+ }, 50);
39
+ }
40
+ }
41
+ FsAutoFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsAutoFocusDirective, deps: [{ token: i1.MatInput, host: true, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
42
+ FsAutoFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsAutoFocusDirective, selector: "[fsAutofocus],[fsAutoFocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus", fsAutoFocus: "fsAutoFocus", autofocus: "autofocus" }, ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
44
+ type: Directive,
45
+ args: [{
46
+ selector: '[fsAutofocus],[fsAutoFocus],[autofocus]',
47
+ }]
48
+ }], ctorParameters: function () { return [{ type: i1.MatInput, decorators: [{
49
+ type: Optional
50
+ }, {
51
+ type: Host
52
+ }] }, { type: i0.ElementRef }]; }, propDecorators: { fsAutofocus: [{
53
+ type: Input
54
+ }], fsAutoFocus: [{
55
+ type: Input
56
+ }], autofocus: [{
57
+ type: Input
58
+ }] } });
59
59
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1mb2N1cy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2RpcmVjdGl2ZXMvYXV0by1mb2N1cy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixTQUFTLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTVGLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7O0FBTW5ELE1BQU0sT0FBTyxvQkFBb0I7SUFNL0IsWUFDOEIsU0FBbUIsRUFDdkMsR0FBZTtRQURLLGNBQVMsR0FBVCxTQUFTLENBQVU7UUFDdkMsUUFBRyxHQUFILEdBQUcsQ0FBWTtR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ge1xuICAgICAgICB0aGlzLl9tYXRJbnB1dC5mb2N1cygpO1xuICAgICAgfSBlbHNlIGlmICh0aGlzLl9lbC5uYXRpdmVFbGVtZW50LmZvY3VzKSB7XG4gICAgICAgIHRoaXMuX2VsLm5hdGl2ZUVsZW1lbnQuZm9jdXMoKTtcbiAgICAgIH1cblxuICAgICAgZG9jdW1lbnQuYm9keS5yZW1vdmVDaGlsZCh0bXBFbCk7XG4gICAgfSwgNTApO1xuICB9XG59XG4iXX0=
@@ -1,31 +1,31 @@
1
- import { Directive, ElementRef, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FsAutoSelectDirective {
4
- constructor(_el) {
5
- this._el = _el;
6
- this.fsAutoSelect = true;
7
- }
8
- ngAfterViewInit() {
9
- if ((this.fsAutoSelect ?? true) === true) {
10
- this.select();
11
- }
12
- }
13
- select() {
14
- setTimeout(() => {
15
- if (this._el.nativeElement.focus) {
16
- this._el.nativeElement.select();
17
- }
18
- }, 50);
19
- }
20
- }
21
- FsAutoSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsAutoSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
22
- FsAutoSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsAutoSelectDirective, selector: "[fsAutoSelect]", inputs: { fsAutoSelect: "fsAutoSelect" }, ngImport: i0 });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
24
- type: Directive,
25
- args: [{
26
- selector: '[fsAutoSelect]',
27
- }]
28
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fsAutoSelect: [{
29
- type: Input
30
- }] } });
1
+ import { Directive, ElementRef, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FsAutoSelectDirective {
4
+ constructor(_el) {
5
+ this._el = _el;
6
+ this.fsAutoSelect = true;
7
+ }
8
+ ngAfterViewInit() {
9
+ if ((this.fsAutoSelect ?? true) === true) {
10
+ this.select();
11
+ }
12
+ }
13
+ select() {
14
+ setTimeout(() => {
15
+ if (this._el.nativeElement.focus) {
16
+ this._el.nativeElement.select();
17
+ }
18
+ }, 50);
19
+ }
20
+ }
21
+ FsAutoSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsAutoSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
22
+ FsAutoSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsAutoSelectDirective, selector: "[fsAutoSelect]", inputs: { fsAutoSelect: "fsAutoSelect" }, ngImport: i0 });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
24
+ type: Directive,
25
+ args: [{
26
+ selector: '[fsAutoSelect]',
27
+ }]
28
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fsAutoSelect: [{
29
+ type: Input
30
+ }] } });
31
31
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1zZWxlY3QuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FwcC9kaXJlY3RpdmVzL2F1dG8tc2VsZWN0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU01RSxNQUFNLE9BQU8scUJBQXFCO0lBSWhDLFlBQ1UsR0FBZTtRQUFmLFFBQUcsR0FBSCxHQUF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QoKTogdm9pZCB7XG4gICAgaWYgKCh0aGlzLmZzQXV0b1NlbGVjdCA/PyB0cnVlKSA9PT0gdHJ1ZSkge1xuICAgICAgdGhpcy5zZWxlY3QoKTtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgc2VsZWN0KCk6IHZvaWQge1xuICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgaWYgKHRoaXMuX2VsLm5hdGl2ZUVsZW1lbnQuZm9jdXMpIHtcbiAgICAgICAgdGhpcy5fZWwubmF0aXZlRWxlbWVudC5zZWxlY3QoKTtcbiAgICAgIH1cbiAgICB9LCA1MCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +1,6 @@
1
- export * from './auto-focus.directive';
2
- export * from './auto-select.directive';
3
- export * from './autofocus.directive';
4
- export * from './model-change.directive';
5
- export * from './prevent-default.directive';
6
- export * from './stop-propagation.directive';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2RpcmVjdGl2ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2F1dG8tZm9jdXMuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vYXV0by1zZWxlY3QuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vYXV0b2ZvY3VzLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL21vZGVsLWNoYW5nZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcmV2ZW50LWRlZmF1bHQuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vc3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUnO1xuIl19
1
+ export * from './auto-focus.directive';
2
+ export * from './auto-select.directive';
3
+ export * from './model-change.directive';
4
+ export * from './prevent-default.directive';
5
+ export * from './stop-propagation.directive';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2RpcmVjdGl2ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdXRvLWZvY3VzLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2F1dG8tc2VsZWN0LmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL21vZGVsLWNoYW5nZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcmV2ZW50LWRlZmF1bHQuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vc3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUnO1xuIl19
@@ -1,37 +1,37 @@
1
- import { Directive, EventEmitter, Input, Output } from '@angular/core';
2
- import { NgModel } from '@angular/forms';
3
- import { Subject } from 'rxjs';
4
- import { debounceTime, takeUntil } from 'rxjs/operators';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/forms";
7
- export class FsModelChangeDirective {
8
- constructor(_ngModel) {
9
- this._ngModel = _ngModel;
10
- this.fsModelChange = new EventEmitter();
11
- this._destroy$ = new Subject();
12
- }
13
- ngOnInit() {
14
- this._ngModel.update
15
- .pipe(debounceTime(this.fsModelChangeOptions?.debounce || 500), takeUntil(this._destroy$))
16
- .subscribe((value) => {
17
- this.fsModelChange.emit(value);
18
- });
19
- }
20
- ngOnDestroy() {
21
- this._destroy$.next();
22
- this._destroy$.complete();
23
- }
24
- }
25
- FsModelChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
26
- FsModelChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsModelChangeDirective, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsModelChangeDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- selector: '[fsModelChange]',
31
- }]
32
- }], ctorParameters: function () { return [{ type: i1.NgModel }]; }, propDecorators: { fsModelChangeOptions: [{
33
- type: Input
34
- }], fsModelChange: [{
35
- type: Output
36
- }] } });
1
+ import { Directive, EventEmitter, Input, Output } from '@angular/core';
2
+ import { NgModel } from '@angular/forms';
3
+ import { Subject } from 'rxjs';
4
+ import { debounceTime, takeUntil } from 'rxjs/operators';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/forms";
7
+ export class FsModelChangeDirective {
8
+ constructor(_ngModel) {
9
+ this._ngModel = _ngModel;
10
+ this.fsModelChange = new EventEmitter();
11
+ this._destroy$ = new Subject();
12
+ }
13
+ ngOnInit() {
14
+ this._ngModel.update
15
+ .pipe(debounceTime(this.fsModelChangeOptions?.debounce || 500), takeUntil(this._destroy$))
16
+ .subscribe((value) => {
17
+ this.fsModelChange.emit(value);
18
+ });
19
+ }
20
+ ngOnDestroy() {
21
+ this._destroy$.next();
22
+ this._destroy$.complete();
23
+ }
24
+ }
25
+ FsModelChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
26
+ FsModelChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsModelChangeDirective, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsModelChangeDirective, decorators: [{
28
+ type: Directive,
29
+ args: [{
30
+ selector: '[fsModelChange]',
31
+ }]
32
+ }], ctorParameters: function () { return [{ type: i1.NgModel }]; }, propDecorators: { fsModelChangeOptions: [{
33
+ type: Input
34
+ }], fsModelChange: [{
35
+ type: Output
36
+ }] } });
37
37
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWwtY2hhbmdlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvZGlyZWN0aXZlcy9tb2RlbC1jaGFuZ2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV6QyxPQUF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ZhbHVlKTtcbiAgICAgIH0pO1xuICB9XG5cbiAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuX2Rlc3Ryb3kkLm5leHQoKTtcbiAgICB0aGlzLl9kZXN0cm95JC5jb21wbGV0ZSgpO1xuICB9XG5cbn1cbiJdfQ==
@@ -1,19 +1,19 @@
1
- import { Directive, HostListener } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FsPreventDefaultDirective {
4
- preventClick(event) {
5
- event.preventDefault();
6
- }
7
- }
8
- FsPreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
- FsPreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsPreventDefaultDirective, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[fsPreventDefault]',
14
- }]
15
- }], propDecorators: { preventClick: [{
16
- type: HostListener,
17
- args: ['click', ['$event']]
18
- }] } });
1
+ import { Directive, HostListener } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FsPreventDefaultDirective {
4
+ preventClick(event) {
5
+ event.preventDefault();
6
+ }
7
+ }
8
+ FsPreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ FsPreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsPreventDefaultDirective, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: '[fsPreventDefault]',
14
+ }]
15
+ }], propDecorators: { preventClick: [{
16
+ type: HostListener,
17
+ args: ['click', ['$event']]
18
+ }] } });
19
19
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJldmVudC1kZWZhdWx0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvZGlyZWN0aXZlcy9wcmV2ZW50LWRlZmF1bHQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUt4RCxNQUFNLE9BQU8seUJBQXlCO0lBRTdCLFlBQVksQ0FBQyxLQUFLO1FBQ3ZCLEtBQUssQ0FBQyxjQUFjLEVBQUUsQ0FBQztJQUN6QixDQUFDOztzSEFKVSx5QkFBeUI7MEdBQXpCLHlCQUF5QjsyRkFBekIseUJBQXlCO2tCQUhyQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxvQkFBb0I7aUJBQy9COzhCQUdRLFlBQVk7c0JBRGxCLFlBQVk7dUJBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBIb3N0TGlzdGVuZXIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2ZzUHJldmVudERlZmF1bHRdJyxcbn0pXG5leHBvcnQgY2xhc3MgRnNQcmV2ZW50RGVmYXVsdERpcmVjdGl2ZSB7XG4gIEBIb3N0TGlzdGVuZXIoJ2NsaWNrJywgWyckZXZlbnQnXSlcbiAgcHVibGljIHByZXZlbnRDbGljayhldmVudCkge1xuICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,19 +1,19 @@
1
- import { Directive, HostListener } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FsStopPropagationDirective {
4
- preventClick(event) {
5
- event.stopPropagation();
6
- }
7
- }
8
- FsStopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
- FsStopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsStopPropagationDirective, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[fsStopPropagation]',
14
- }]
15
- }], propDecorators: { preventClick: [{
16
- type: HostListener,
17
- args: ['click', ['$event']]
18
- }] } });
1
+ import { Directive, HostListener } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FsStopPropagationDirective {
4
+ preventClick(event) {
5
+ event.stopPropagation();
6
+ }
7
+ }
8
+ FsStopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ FsStopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsStopPropagationDirective, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: '[fsStopPropagation]',
14
+ }]
15
+ }], propDecorators: { preventClick: [{
16
+ type: HostListener,
17
+ args: ['click', ['$event']]
18
+ }] } });
19
19
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2RpcmVjdGl2ZXMvc3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3hELE1BQU0sT0FBTywwQkFBMEI7SUFFOUIsWUFBWSxDQUFDLEtBQUs7UUFDdkIsS0FBSyxDQUFDLGVBQWUsRUFBRSxDQUFDO0lBQzFCLENBQUM7O3VIQUpVLDBCQUEwQjsyR0FBMUIsMEJBQTBCOzJGQUExQiwwQkFBMEI7a0JBSHRDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHFCQUFxQjtpQkFDaEM7OEJBR1EsWUFBWTtzQkFEbEIsWUFBWTt1QkFBQyxPQUFPLEVBQUUsQ0FBQyxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEhvc3RMaXN0ZW5lciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbZnNTdG9wUHJvcGFnYXRpb25dJyxcbn0pXG5leHBvcnQgY2xhc3MgRnNTdG9wUHJvcGFnYXRpb25EaXJlY3RpdmUge1xuICBASG9zdExpc3RlbmVyKCdjbGljaycsIFsnJGV2ZW50J10pXG4gIHB1YmxpYyBwcmV2ZW50Q2xpY2soZXZlbnQpIHtcbiAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgfVxufVxuIl19