@yelon/util 12.0.17 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. package/LICENSE +21 -21
  2. package/array/array-type.service.d.ts +68 -68
  3. package/{date-time/yelon-util-date-time.d.ts → array/array.d.ts} +5 -4
  4. package/array/array.service.d.ts +78 -75
  5. package/array/index.d.ts +2 -2
  6. package/array/package.json +6 -7
  7. package/browser/browser.d.ts +5 -4
  8. package/browser/cookie.service.d.ts +67 -64
  9. package/browser/copy.d.ts +6 -6
  10. package/browser/index.d.ts +5 -5
  11. package/browser/is-empty.d.ts +6 -6
  12. package/browser/package.json +5 -6
  13. package/browser/scroll.service.d.ts +37 -34
  14. package/browser/style.d.ts +21 -21
  15. package/config/abc/date-picker.type.d.ts +52 -52
  16. package/config/abc/error-collect.type.d.ts +10 -10
  17. package/config/abc/image.type.d.ts +15 -15
  18. package/config/abc/index.d.ts +16 -16
  19. package/config/abc/loading.type.d.ts +31 -31
  20. package/config/abc/lodop.type.d.ts +33 -33
  21. package/config/abc/media.type.d.ts +11 -11
  22. package/config/abc/onboarding.type.d.ts +4 -4
  23. package/config/abc/page-header.type.d.ts +39 -39
  24. package/config/abc/pdf.type.d.ts +35 -35
  25. package/config/abc/qr.type.d.ts +25 -25
  26. package/config/abc/se.type.d.ts +32 -32
  27. package/config/abc/sg.type.d.ts +10 -10
  28. package/config/abc/st.type.d.ts +427 -427
  29. package/config/abc/sv.type.d.ts +14 -14
  30. package/config/abc/xlsx.type.d.ts +12 -12
  31. package/config/abc/zip.type.d.ts +10 -10
  32. package/config/acl/acl.type.d.ts +32 -32
  33. package/config/auth/auth.type.d.ts +55 -55
  34. package/config/bis/bis.type.d.ts +7 -7
  35. package/config/cache/cache.type.d.ts +40 -40
  36. package/config/chart/chart.type.d.ts +33 -33
  37. package/config/config.d.ts +5 -0
  38. package/config/config.service.d.ts +13 -10
  39. package/config/config.types.d.ts +49 -49
  40. package/config/index.d.ts +14 -14
  41. package/config/mock/mock.type.d.ts +18 -18
  42. package/config/package.json +6 -7
  43. package/config/sf/sf.type.d.ts +127 -127
  44. package/config/stomp/stomp.type.d.ts +2 -2
  45. package/config/theme/http.type.d.ts +14 -14
  46. package/config/theme/i18n.type.d.ts +8 -8
  47. package/config/theme/index.d.ts +3 -3
  48. package/config/theme/responsive.type.d.ts +12 -12
  49. package/config/util/array.type.d.ts +22 -22
  50. package/config/util/currency.type.d.ts +39 -39
  51. package/date-time/date-time.d.ts +5 -0
  52. package/date-time/index.d.ts +2 -2
  53. package/date-time/package.json +6 -7
  54. package/date-time/picker.d.ts +68 -68
  55. package/date-time/time.d.ts +26 -26
  56. package/decorator/convert.d.ts +24 -24
  57. package/decorator/decorator.d.ts +5 -0
  58. package/decorator/index.d.ts +2 -2
  59. package/decorator/package.json +6 -7
  60. package/decorator/zone-outside.d.ts +35 -35
  61. package/{esm2015/array/array-type.service.js → esm2020/array/array-type.service.mjs} +1 -1
  62. package/esm2020/array/array.mjs +5 -0
  63. package/esm2020/array/array.service.mjs +278 -0
  64. package/{esm2015/array/index.js → esm2020/array/index.mjs} +2 -2
  65. package/{esm2015/browser/browser.js → esm2020/browser/browser.mjs} +4 -4
  66. package/esm2020/browser/cookie.service.mjs +103 -0
  67. package/esm2020/browser/copy.mjs +9 -0
  68. package/{esm2015/browser/index.js → esm2020/browser/index.mjs} +5 -5
  69. package/{esm2015/browser/is-empty.js → esm2020/browser/is-empty.mjs} +18 -18
  70. package/esm2020/browser/scroll.service.mjs +88 -0
  71. package/{esm2015/browser/style.js → esm2020/browser/style.mjs} +38 -38
  72. package/{esm2015/config/abc/date-picker.type.js → esm2020/config/abc/date-picker.type.mjs} +1 -1
  73. package/{esm2015/config/abc/error-collect.type.js → esm2020/config/abc/error-collect.type.mjs} +1 -1
  74. package/{esm2015/config/abc/image.type.js → esm2020/config/abc/image.type.mjs} +1 -1
  75. package/{esm2015/config/abc/index.js → esm2020/config/abc/index.mjs} +16 -16
  76. package/{esm2015/config/abc/loading.type.js → esm2020/config/abc/loading.type.mjs} +1 -1
  77. package/{esm2015/config/abc/lodop.type.js → esm2020/config/abc/lodop.type.mjs} +1 -1
  78. package/{esm2015/config/abc/media.type.js → esm2020/config/abc/media.type.mjs} +1 -1
  79. package/{esm2015/config/abc/onboarding.type.js → esm2020/config/abc/onboarding.type.mjs} +1 -1
  80. package/{esm2015/config/abc/page-header.type.js → esm2020/config/abc/page-header.type.mjs} +1 -1
  81. package/esm2020/config/abc/pdf.type.mjs +2 -0
  82. package/esm2020/config/abc/qr.type.mjs +2 -0
  83. package/{esm2015/config/abc/se.type.js → esm2020/config/abc/se.type.mjs} +1 -1
  84. package/{esm2015/config/abc/sg.type.js → esm2020/config/abc/sg.type.mjs} +1 -1
  85. package/{esm2015/config/abc/st.type.js → esm2020/config/abc/st.type.mjs} +1 -1
  86. package/{esm2015/config/abc/sv.type.js → esm2020/config/abc/sv.type.mjs} +2 -2
  87. package/{esm2015/config/abc/xlsx.type.js → esm2020/config/abc/xlsx.type.mjs} +1 -1
  88. package/{esm2015/config/abc/zip.type.js → esm2020/config/abc/zip.type.mjs} +1 -1
  89. package/{esm2015/config/acl/acl.type.js → esm2020/config/acl/acl.type.mjs} +1 -1
  90. package/{esm2015/config/auth/auth.type.js → esm2020/config/auth/auth.type.mjs} +1 -1
  91. package/{esm2015/config/bis/bis.type.js → esm2020/config/bis/bis.type.mjs} +1 -1
  92. package/{esm2015/config/cache/cache.type.js → esm2020/config/cache/cache.type.mjs} +1 -1
  93. package/{esm2015/config/chart/chart.type.js → esm2020/config/chart/chart.type.mjs} +1 -1
  94. package/esm2020/config/config.mjs +5 -0
  95. package/esm2020/config/config.service.mjs +37 -0
  96. package/{esm2015/config/config.types.js → esm2020/config/config.types.mjs} +8 -8
  97. package/{esm2015/config/index.js → esm2020/config/index.mjs} +14 -14
  98. package/{esm2015/config/mock/mock.type.js → esm2020/config/mock/mock.type.mjs} +1 -1
  99. package/{esm2015/config/sf/sf.type.js → esm2020/config/sf/sf.type.mjs} +1 -1
  100. package/{esm2015/config/stomp/stomp.type.js → esm2020/config/stomp/stomp.type.mjs} +1 -1
  101. package/{esm2015/config/theme/http.type.js → esm2020/config/theme/http.type.mjs} +1 -1
  102. package/{esm2015/config/theme/i18n.type.js → esm2020/config/theme/i18n.type.mjs} +1 -1
  103. package/{esm2015/config/theme/index.js → esm2020/config/theme/index.mjs} +3 -3
  104. package/{esm2015/config/theme/responsive.type.js → esm2020/config/theme/responsive.type.mjs} +1 -1
  105. package/{esm2015/config/util/array.type.js → esm2020/config/util/array.type.mjs} +1 -1
  106. package/{esm2015/config/util/currency.type.js → esm2020/config/util/currency.type.mjs} +1 -1
  107. package/esm2020/date-time/date-time.mjs +5 -0
  108. package/{esm2015/date-time/index.js → esm2020/date-time/index.mjs} +2 -2
  109. package/esm2020/date-time/picker.mjs +116 -0
  110. package/{esm2015/date-time/time.js → esm2020/date-time/time.mjs} +88 -84
  111. package/esm2020/decorator/convert.mjs +58 -0
  112. package/esm2020/decorator/decorator.mjs +5 -0
  113. package/{esm2015/decorator/index.js → esm2020/decorator/index.mjs} +2 -2
  114. package/esm2020/decorator/zone-outside.mjs +57 -0
  115. package/esm2020/form/form.mjs +5 -0
  116. package/{esm2015/form/index.js → esm2020/form/index.mjs} +2 -2
  117. package/{esm2015/form/match-control.js → esm2020/form/match-control.mjs} +29 -29
  118. package/{esm2015/form/validators.js → esm2020/form/validators.mjs} +80 -80
  119. package/esm2020/format/currency.service.mjs +238 -0
  120. package/{esm2015/format/currency.types.js → esm2020/format/currency.types.mjs} +7 -7
  121. package/esm2020/format/format.mjs +5 -0
  122. package/{esm2015/format/index.js → esm2020/format/index.mjs} +4 -4
  123. package/esm2020/format/string.mjs +85 -0
  124. package/{esm2015/format/validate.js → esm2020/format/validate.mjs} +93 -93
  125. package/{esm2015/index.js → esm2020/index.mjs} +11 -11
  126. package/{esm2015/math/in-range.js → esm2020/math/in-range.mjs} +24 -24
  127. package/{esm2015/math/index.js → esm2020/math/index.mjs} +2 -2
  128. package/esm2020/math/math.mjs +5 -0
  129. package/{esm2015/math/round.js → esm2020/math/round.mjs} +52 -52
  130. package/{esm2015/other/assert.js → esm2020/other/assert.mjs} +66 -66
  131. package/{esm2015/other/deep.js → esm2020/other/deep.mjs} +75 -75
  132. package/{esm2015/other/index.js → esm2020/other/index.mjs} +7 -5
  133. package/esm2020/other/lazy.service.mjs +119 -0
  134. package/{esm2015/other/logger.js → esm2020/other/logger.mjs} +32 -32
  135. package/esm2020/other/other.mjs +5 -0
  136. package/esm2020/other/resize.mjs +4 -0
  137. package/esm2020/other/url.mjs +13 -0
  138. package/esm2020/pipes/currency/cny.pipe.mjs +23 -0
  139. package/{esm2015/pipes/currency/index.js → esm2020/pipes/currency/index.mjs} +5 -4
  140. package/esm2020/pipes/currency/mega.pipe.mjs +29 -0
  141. package/esm2020/pipes/currency/module.mjs +19 -0
  142. package/esm2020/pipes/currency/pipe-currency.mjs +5 -0
  143. package/esm2020/pipes/currency/price.pipe.mjs +27 -0
  144. package/esm2020/pipes/filter/filter.pipe.mjs +19 -0
  145. package/{esm2015/pipes/filter/index.js → esm2020/pipes/filter/index.mjs} +2 -2
  146. package/esm2020/pipes/filter/module.mjs +17 -0
  147. package/{esm2015/other/yelon-util-other.js → esm2020/pipes/filter/pipe-filter.mjs} +5 -5
  148. package/{esm2015/pipes/format/index.js → esm2020/pipes/format/index.mjs} +2 -2
  149. package/esm2020/pipes/format/mask.pipe.mjs +34 -0
  150. package/esm2020/pipes/format/module.mjs +17 -0
  151. package/{esm2015/array/yelon-util-array.js → esm2020/pipes/format/pipe-format.mjs} +5 -5
  152. package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +3 -3
  153. package/esm2020/pipes/pipes.mjs +5 -0
  154. package/{esm2015/token/index.js → esm2020/token/index.mjs} +2 -2
  155. package/{esm2015/token/page-visibility.js → esm2020/token/page-visibility.mjs} +15 -15
  156. package/esm2020/token/token.mjs +5 -0
  157. package/{esm2015/token/window.js → esm2020/token/window.mjs} +16 -16
  158. package/{esm2015/yelon-util.js → esm2020/yelon-util.mjs} +4 -4
  159. package/fesm2015/{yelon-util-array.js → array.mjs} +247 -249
  160. package/fesm2015/array.mjs.map +1 -0
  161. package/fesm2015/{browser.js → browser.mjs} +249 -263
  162. package/fesm2015/browser.mjs.map +1 -0
  163. package/fesm2015/{yelon-util-config.js → config.mjs} +44 -38
  164. package/fesm2015/config.mjs.map +1 -0
  165. package/fesm2015/{yelon-util-date-time.js → date-time.mjs} +197 -197
  166. package/fesm2015/date-time.mjs.map +1 -0
  167. package/fesm2015/{yelon-util-decorator.js → decorator.mjs} +112 -108
  168. package/fesm2015/decorator.mjs.map +1 -0
  169. package/fesm2015/{yelon-util-form.js → form.mjs} +109 -109
  170. package/fesm2015/form.mjs.map +1 -0
  171. package/fesm2015/{yelon-util-format.js → format.mjs} +398 -394
  172. package/fesm2015/format.mjs.map +1 -0
  173. package/fesm2015/{yelon-util-math.js → math.mjs} +76 -76
  174. package/fesm2015/math.mjs.map +1 -0
  175. package/fesm2015/{yelon-util-other.js → other.mjs} +304 -284
  176. package/fesm2015/other.mjs.map +1 -0
  177. package/fesm2015/pipe-currency.mjs +96 -0
  178. package/fesm2015/pipe-currency.mjs.map +1 -0
  179. package/fesm2015/pipe-filter.mjs +40 -0
  180. package/fesm2015/pipe-filter.mjs.map +1 -0
  181. package/fesm2015/pipe-format.mjs +55 -0
  182. package/fesm2015/pipe-format.mjs.map +1 -0
  183. package/fesm2015/{yelon-util-pipes.js → pipes.mjs} +3 -3
  184. package/fesm2015/pipes.mjs.map +1 -0
  185. package/fesm2015/{yelon-util-token.js → token.mjs} +26 -26
  186. package/fesm2015/token.mjs.map +1 -0
  187. package/fesm2015/{yelon-util.js → yelon-util.mjs} +3 -3
  188. package/fesm2015/yelon-util.mjs.map +1 -0
  189. package/fesm2020/array.mjs +285 -0
  190. package/fesm2020/array.mjs.map +1 -0
  191. package/fesm2020/browser.mjs +260 -0
  192. package/fesm2020/browser.mjs.map +1 -0
  193. package/fesm2020/config.mjs +54 -0
  194. package/fesm2020/config.mjs.map +1 -0
  195. package/fesm2020/date-time.mjs +210 -0
  196. package/fesm2020/date-time.mjs.map +1 -0
  197. package/fesm2020/decorator.mjs +121 -0
  198. package/fesm2020/decorator.mjs.map +1 -0
  199. package/fesm2020/form.mjs +118 -0
  200. package/fesm2020/form.mjs.map +1 -0
  201. package/fesm2020/format.mjs +431 -0
  202. package/fesm2020/format.mjs.map +1 -0
  203. package/fesm2020/math.mjs +85 -0
  204. package/fesm2020/math.mjs.map +1 -0
  205. package/fesm2020/other.mjs +318 -0
  206. package/{fesm2015/yelon-util-other.js.map → fesm2020/other.mjs.map} +1 -1
  207. package/fesm2020/pipe-currency.mjs +94 -0
  208. package/fesm2020/pipe-currency.mjs.map +1 -0
  209. package/fesm2020/pipe-filter.mjs +40 -0
  210. package/fesm2020/pipe-filter.mjs.map +1 -0
  211. package/fesm2020/pipe-format.mjs +55 -0
  212. package/fesm2020/pipe-format.mjs.map +1 -0
  213. package/fesm2020/pipes.mjs +8 -0
  214. package/fesm2020/pipes.mjs.map +1 -0
  215. package/fesm2020/token.mjs +38 -0
  216. package/fesm2020/token.mjs.map +1 -0
  217. package/fesm2020/yelon-util.mjs +16 -0
  218. package/fesm2020/yelon-util.mjs.map +1 -0
  219. package/{array/yelon-util-array.d.ts → form/form.d.ts} +5 -4
  220. package/form/index.d.ts +2 -2
  221. package/form/match-control.d.ts +15 -15
  222. package/form/package.json +6 -7
  223. package/form/validators.d.ts +62 -62
  224. package/format/currency.service.d.ts +37 -34
  225. package/format/currency.types.d.ts +77 -77
  226. package/format/format.d.ts +5 -0
  227. package/format/index.d.ts +4 -4
  228. package/format/package.json +6 -7
  229. package/format/string.d.ts +44 -44
  230. package/format/validate.d.ts +72 -72
  231. package/index.d.ts +11 -11
  232. package/math/in-range.d.ts +14 -14
  233. package/math/index.d.ts +2 -2
  234. package/{config/yelon-util-config.d.ts → math/math.d.ts} +5 -4
  235. package/math/package.json +6 -7
  236. package/math/round.d.ts +33 -33
  237. package/other/assert.d.ts +36 -36
  238. package/other/deep.d.ts +33 -33
  239. package/other/index.d.ts +6 -4
  240. package/other/lazy.service.d.ts +25 -22
  241. package/other/logger.d.ts +5 -5
  242. package/{decorator/yelon-util-decorator.d.ts → other/other.d.ts} +5 -4
  243. package/other/package.json +6 -7
  244. package/other/resize.d.ts +1 -0
  245. package/other/url.d.ts +2 -0
  246. package/package.json +132 -8
  247. package/pipes/currency/cny.pipe.d.ts +15 -12
  248. package/pipes/currency/index.d.ts +4 -3
  249. package/pipes/currency/mega.pipe.d.ts +16 -13
  250. package/pipes/currency/module.d.ts +9 -2
  251. package/pipes/currency/package.json +6 -7
  252. package/pipes/currency/pipe-currency.d.ts +5 -0
  253. package/pipes/currency/price.pipe.d.ts +19 -16
  254. package/pipes/filter/filter.pipe.d.ts +13 -10
  255. package/pipes/filter/index.d.ts +2 -2
  256. package/pipes/filter/module.d.ts +7 -2
  257. package/pipes/filter/package.json +6 -7
  258. package/pipes/filter/pipe-filter.d.ts +5 -0
  259. package/pipes/format/index.d.ts +2 -2
  260. package/pipes/format/mask.pipe.d.ts +27 -24
  261. package/pipes/format/module.d.ts +7 -2
  262. package/pipes/format/package.json +6 -7
  263. package/pipes/format/pipe-format.d.ts +5 -0
  264. package/pipes/index.d.ts +3 -3
  265. package/pipes/package.json +6 -7
  266. package/pipes/pipes.d.ts +5 -0
  267. package/token/index.d.ts +2 -2
  268. package/token/package.json +6 -7
  269. package/token/page-visibility.d.ts +8 -8
  270. package/token/token.d.ts +5 -0
  271. package/token/window.d.ts +7 -7
  272. package/yelon-util.d.ts +5 -4
  273. package/array/yelon-util-array.metadata.json +0 -1
  274. package/browser/browser.metadata.json +0 -1
  275. package/bundles/browser.umd.js +0 -325
  276. package/bundles/browser.umd.js.map +0 -1
  277. package/bundles/yelon-util-array.umd.js +0 -641
  278. package/bundles/yelon-util-array.umd.js.map +0 -1
  279. package/bundles/yelon-util-config.umd.js +0 -411
  280. package/bundles/yelon-util-config.umd.js.map +0 -1
  281. package/bundles/yelon-util-date-time.umd.js +0 -238
  282. package/bundles/yelon-util-date-time.umd.js.map +0 -1
  283. package/bundles/yelon-util-decorator.umd.js +0 -462
  284. package/bundles/yelon-util-decorator.umd.js.map +0 -1
  285. package/bundles/yelon-util-form.umd.js +0 -135
  286. package/bundles/yelon-util-form.umd.js.map +0 -1
  287. package/bundles/yelon-util-format.umd.js +0 -785
  288. package/bundles/yelon-util-format.umd.js.map +0 -1
  289. package/bundles/yelon-util-math.umd.js +0 -104
  290. package/bundles/yelon-util-math.umd.js.map +0 -1
  291. package/bundles/yelon-util-other.umd.js +0 -714
  292. package/bundles/yelon-util-other.umd.js.map +0 -1
  293. package/bundles/yelon-util-pipes-currency.umd.js +0 -108
  294. package/bundles/yelon-util-pipes-currency.umd.js.map +0 -1
  295. package/bundles/yelon-util-pipes-filter.umd.js +0 -374
  296. package/bundles/yelon-util-pipes-filter.umd.js.map +0 -1
  297. package/bundles/yelon-util-pipes-format.umd.js +0 -66
  298. package/bundles/yelon-util-pipes-format.umd.js.map +0 -1
  299. package/bundles/yelon-util-pipes.umd.js +0 -38
  300. package/bundles/yelon-util-pipes.umd.js.map +0 -1
  301. package/bundles/yelon-util-token.umd.js +0 -49
  302. package/bundles/yelon-util-token.umd.js.map +0 -1
  303. package/bundles/yelon-util.umd.js +0 -86
  304. package/bundles/yelon-util.umd.js.map +0 -1
  305. package/config/yelon-util-config.metadata.json +0 -1
  306. package/date-time/yelon-util-date-time.metadata.json +0 -1
  307. package/decorator/yelon-util-decorator.metadata.json +0 -1
  308. package/esm2015/array/array.service.js +0 -250
  309. package/esm2015/browser/cookie.service.js +0 -104
  310. package/esm2015/browser/copy.js +0 -27
  311. package/esm2015/browser/scroll.service.js +0 -89
  312. package/esm2015/config/abc/pdf.type.js +0 -2
  313. package/esm2015/config/abc/qr.type.js +0 -2
  314. package/esm2015/config/config.service.js +0 -34
  315. package/esm2015/config/yelon-util-config.js +0 -5
  316. package/esm2015/date-time/picker.js +0 -116
  317. package/esm2015/date-time/yelon-util-date-time.js +0 -5
  318. package/esm2015/decorator/convert.js +0 -56
  319. package/esm2015/decorator/yelon-util-decorator.js +0 -5
  320. package/esm2015/decorator/zone-outside.js +0 -55
  321. package/esm2015/form/yelon-util-form.js +0 -5
  322. package/esm2015/format/currency.service.js +0 -225
  323. package/esm2015/format/string.js +0 -76
  324. package/esm2015/format/yelon-util-format.js +0 -5
  325. package/esm2015/math/yelon-util-math.js +0 -5
  326. package/esm2015/other/lazy.service.js +0 -118
  327. package/esm2015/pipes/currency/cny.pipe.js +0 -22
  328. package/esm2015/pipes/currency/mega.pipe.js +0 -26
  329. package/esm2015/pipes/currency/module.js +0 -14
  330. package/esm2015/pipes/currency/price.pipe.js +0 -26
  331. package/esm2015/pipes/currency/yelon-util-pipes-currency.js +0 -6
  332. package/esm2015/pipes/filter/filter.pipe.js +0 -15
  333. package/esm2015/pipes/filter/module.js +0 -12
  334. package/esm2015/pipes/filter/yelon-util-pipes-filter.js +0 -5
  335. package/esm2015/pipes/format/mask.pipe.js +0 -30
  336. package/esm2015/pipes/format/module.js +0 -12
  337. package/esm2015/pipes/format/yelon-util-pipes-format.js +0 -5
  338. package/esm2015/pipes/yelon-util-pipes.js +0 -5
  339. package/esm2015/token/yelon-util-token.js +0 -5
  340. package/fesm2015/browser.js.map +0 -1
  341. package/fesm2015/yelon-util-array.js.map +0 -1
  342. package/fesm2015/yelon-util-config.js.map +0 -1
  343. package/fesm2015/yelon-util-date-time.js.map +0 -1
  344. package/fesm2015/yelon-util-decorator.js.map +0 -1
  345. package/fesm2015/yelon-util-form.js.map +0 -1
  346. package/fesm2015/yelon-util-format.js.map +0 -1
  347. package/fesm2015/yelon-util-math.js.map +0 -1
  348. package/fesm2015/yelon-util-pipes-currency.js +0 -87
  349. package/fesm2015/yelon-util-pipes-currency.js.map +0 -1
  350. package/fesm2015/yelon-util-pipes-filter.js +0 -32
  351. package/fesm2015/yelon-util-pipes-filter.js.map +0 -1
  352. package/fesm2015/yelon-util-pipes-format.js +0 -47
  353. package/fesm2015/yelon-util-pipes-format.js.map +0 -1
  354. package/fesm2015/yelon-util-pipes.js.map +0 -1
  355. package/fesm2015/yelon-util-token.js.map +0 -1
  356. package/fesm2015/yelon-util.js.map +0 -1
  357. package/form/yelon-util-form.d.ts +0 -4
  358. package/form/yelon-util-form.metadata.json +0 -1
  359. package/format/yelon-util-format.d.ts +0 -4
  360. package/format/yelon-util-format.metadata.json +0 -1
  361. package/math/yelon-util-math.d.ts +0 -4
  362. package/math/yelon-util-math.metadata.json +0 -1
  363. package/other/yelon-util-other.d.ts +0 -4
  364. package/other/yelon-util-other.metadata.json +0 -1
  365. package/pipes/currency/yelon-util-pipes-currency.d.ts +0 -5
  366. package/pipes/currency/yelon-util-pipes-currency.metadata.json +0 -1
  367. package/pipes/filter/yelon-util-pipes-filter.d.ts +0 -4
  368. package/pipes/filter/yelon-util-pipes-filter.metadata.json +0 -1
  369. package/pipes/format/yelon-util-pipes-format.d.ts +0 -4
  370. package/pipes/format/yelon-util-pipes-format.metadata.json +0 -1
  371. package/pipes/yelon-util-pipes.d.ts +0 -4
  372. package/pipes/yelon-util-pipes.metadata.json +0 -1
  373. package/token/yelon-util-token.d.ts +0 -4
  374. package/token/yelon-util-token.metadata.json +0 -1
  375. package/yelon-util.metadata.json +0 -1
@@ -1,462 +0,0 @@
1
- /**
2
- * @license ng-yunzai(devcui@outlook.com) v12.0.17
3
- * (c) 2020 devcui https://github.com/hbyunzai/yelon/
4
- * License: MIT
5
- */
6
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@yelon/util/other')) :
8
- typeof define === 'function' && define.amd ? define('@yelon/util/decorator', ['exports', '@yelon/util/other'], factory) :
9
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.yelon = global.yelon || {}, global.yelon.util = global.yelon.util || {}, global.yelon.util.decorator = {}), global.yelon.util.other));
10
- })(this, (function (exports, other) { 'use strict';
11
-
12
- function propDecoratorFactory(name, fallback, defaultValue) {
13
- function propDecorator(target, propName, originalDescriptor) {
14
- var privatePropName = "$$__" + propName;
15
- if (Object.prototype.hasOwnProperty.call(target, privatePropName)) {
16
- other.warn("The prop \"" + privatePropName + "\" is already exist, it will be overrided by " + name + " decorator.");
17
- }
18
- Object.defineProperty(target, privatePropName, {
19
- configurable: true,
20
- writable: true
21
- });
22
- return {
23
- get: function () {
24
- return originalDescriptor && originalDescriptor.get
25
- ? originalDescriptor.get.bind(this)()
26
- : this[privatePropName];
27
- },
28
- set: function (value) {
29
- if (originalDescriptor && originalDescriptor.set) {
30
- originalDescriptor.set.bind(this)(fallback(value, defaultValue));
31
- }
32
- this[privatePropName] = fallback(value, defaultValue);
33
- }
34
- };
35
- }
36
- return propDecorator;
37
- }
38
- function toBoolean(value, defaultValue) {
39
- if (defaultValue === void 0) { defaultValue = false; }
40
- return value == null ? defaultValue : "" + value !== 'false';
41
- }
42
- /**
43
- * Input decorator that handle a prop to do get/set automatically with toBoolean
44
- *
45
- * ```ts
46
- * {AT}Input() {AT}InputBoolean() visible: boolean = false;
47
- * {AT}Input() {AT}InputBoolean(null) visible: boolean = false;
48
- * ```
49
- */
50
- function InputBoolean(defaultValue) {
51
- if (defaultValue === void 0) { defaultValue = false; }
52
- return propDecoratorFactory('InputBoolean', toBoolean, defaultValue);
53
- }
54
- function toNumber(value, fallbackValue) {
55
- if (fallbackValue === void 0) { fallbackValue = 0; }
56
- return !isNaN(parseFloat(value)) && !isNaN(Number(value)) ? Number(value) : fallbackValue;
57
- }
58
- /**
59
- * Input decorator that handle a prop to do get/set automatically with toNumber
60
- *
61
- * ```ts
62
- * {AT}Input() {AT}InputNumber() visible: number = 1;
63
- * {AT}Input() {AT}InputNumber(null) visible: number = 2;
64
- * ```
65
- */
66
- function InputNumber(defaultValue) {
67
- if (defaultValue === void 0) { defaultValue = 0; }
68
- return propDecoratorFactory('InputNumber', toNumber, defaultValue);
69
- }
70
-
71
- /*! *****************************************************************************
72
- Copyright (c) Microsoft Corporation.
73
-
74
- Permission to use, copy, modify, and/or distribute this software for any
75
- purpose with or without fee is hereby granted.
76
-
77
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
78
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
79
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
80
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
81
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
82
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
83
- PERFORMANCE OF THIS SOFTWARE.
84
- ***************************************************************************** */
85
- /* global Reflect, Promise */
86
- var extendStatics = function (d, b) {
87
- extendStatics = Object.setPrototypeOf ||
88
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
89
- function (d, b) { for (var p in b)
90
- if (Object.prototype.hasOwnProperty.call(b, p))
91
- d[p] = b[p]; };
92
- return extendStatics(d, b);
93
- };
94
- function __extends(d, b) {
95
- if (typeof b !== "function" && b !== null)
96
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
97
- extendStatics(d, b);
98
- function __() { this.constructor = d; }
99
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
100
- }
101
- var __assign = function () {
102
- __assign = Object.assign || function __assign(t) {
103
- for (var s, i = 1, n = arguments.length; i < n; i++) {
104
- s = arguments[i];
105
- for (var p in s)
106
- if (Object.prototype.hasOwnProperty.call(s, p))
107
- t[p] = s[p];
108
- }
109
- return t;
110
- };
111
- return __assign.apply(this, arguments);
112
- };
113
- function __rest(s, e) {
114
- var t = {};
115
- for (var p in s)
116
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
117
- t[p] = s[p];
118
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
119
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
120
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
121
- t[p[i]] = s[p[i]];
122
- }
123
- return t;
124
- }
125
- function __decorate(decorators, target, key, desc) {
126
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
127
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
128
- r = Reflect.decorate(decorators, target, key, desc);
129
- else
130
- for (var i = decorators.length - 1; i >= 0; i--)
131
- if (d = decorators[i])
132
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
133
- return c > 3 && r && Object.defineProperty(target, key, r), r;
134
- }
135
- function __param(paramIndex, decorator) {
136
- return function (target, key) { decorator(target, key, paramIndex); };
137
- }
138
- function __metadata(metadataKey, metadataValue) {
139
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
140
- return Reflect.metadata(metadataKey, metadataValue);
141
- }
142
- function __awaiter(thisArg, _arguments, P, generator) {
143
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
144
- return new (P || (P = Promise))(function (resolve, reject) {
145
- function fulfilled(value) { try {
146
- step(generator.next(value));
147
- }
148
- catch (e) {
149
- reject(e);
150
- } }
151
- function rejected(value) { try {
152
- step(generator["throw"](value));
153
- }
154
- catch (e) {
155
- reject(e);
156
- } }
157
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
158
- step((generator = generator.apply(thisArg, _arguments || [])).next());
159
- });
160
- }
161
- function __generator(thisArg, body) {
162
- var _ = { label: 0, sent: function () { if (t[0] & 1)
163
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
164
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
165
- function verb(n) { return function (v) { return step([n, v]); }; }
166
- function step(op) {
167
- if (f)
168
- throw new TypeError("Generator is already executing.");
169
- while (_)
170
- try {
171
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
172
- return t;
173
- if (y = 0, t)
174
- op = [op[0] & 2, t.value];
175
- switch (op[0]) {
176
- case 0:
177
- case 1:
178
- t = op;
179
- break;
180
- case 4:
181
- _.label++;
182
- return { value: op[1], done: false };
183
- case 5:
184
- _.label++;
185
- y = op[1];
186
- op = [0];
187
- continue;
188
- case 7:
189
- op = _.ops.pop();
190
- _.trys.pop();
191
- continue;
192
- default:
193
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
194
- _ = 0;
195
- continue;
196
- }
197
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
198
- _.label = op[1];
199
- break;
200
- }
201
- if (op[0] === 6 && _.label < t[1]) {
202
- _.label = t[1];
203
- t = op;
204
- break;
205
- }
206
- if (t && _.label < t[2]) {
207
- _.label = t[2];
208
- _.ops.push(op);
209
- break;
210
- }
211
- if (t[2])
212
- _.ops.pop();
213
- _.trys.pop();
214
- continue;
215
- }
216
- op = body.call(thisArg, _);
217
- }
218
- catch (e) {
219
- op = [6, e];
220
- y = 0;
221
- }
222
- finally {
223
- f = t = 0;
224
- }
225
- if (op[0] & 5)
226
- throw op[1];
227
- return { value: op[0] ? op[1] : void 0, done: true };
228
- }
229
- }
230
- var __createBinding = Object.create ? (function (o, m, k, k2) {
231
- if (k2 === undefined)
232
- k2 = k;
233
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
234
- }) : (function (o, m, k, k2) {
235
- if (k2 === undefined)
236
- k2 = k;
237
- o[k2] = m[k];
238
- });
239
- function __exportStar(m, o) {
240
- for (var p in m)
241
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
242
- __createBinding(o, m, p);
243
- }
244
- function __values(o) {
245
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
246
- if (m)
247
- return m.call(o);
248
- if (o && typeof o.length === "number")
249
- return {
250
- next: function () {
251
- if (o && i >= o.length)
252
- o = void 0;
253
- return { value: o && o[i++], done: !o };
254
- }
255
- };
256
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
257
- }
258
- function __read(o, n) {
259
- var m = typeof Symbol === "function" && o[Symbol.iterator];
260
- if (!m)
261
- return o;
262
- var i = m.call(o), r, ar = [], e;
263
- try {
264
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
265
- ar.push(r.value);
266
- }
267
- catch (error) {
268
- e = { error: error };
269
- }
270
- finally {
271
- try {
272
- if (r && !r.done && (m = i["return"]))
273
- m.call(i);
274
- }
275
- finally {
276
- if (e)
277
- throw e.error;
278
- }
279
- }
280
- return ar;
281
- }
282
- /** @deprecated */
283
- function __spread() {
284
- for (var ar = [], i = 0; i < arguments.length; i++)
285
- ar = ar.concat(__read(arguments[i]));
286
- return ar;
287
- }
288
- /** @deprecated */
289
- function __spreadArrays() {
290
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
291
- s += arguments[i].length;
292
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
293
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
294
- r[k] = a[j];
295
- return r;
296
- }
297
- function __spreadArray(to, from, pack) {
298
- if (pack || arguments.length === 2)
299
- for (var i = 0, l = from.length, ar; i < l; i++) {
300
- if (ar || !(i in from)) {
301
- if (!ar)
302
- ar = Array.prototype.slice.call(from, 0, i);
303
- ar[i] = from[i];
304
- }
305
- }
306
- return to.concat(ar || Array.prototype.slice.call(from));
307
- }
308
- function __await(v) {
309
- return this instanceof __await ? (this.v = v, this) : new __await(v);
310
- }
311
- function __asyncGenerator(thisArg, _arguments, generator) {
312
- if (!Symbol.asyncIterator)
313
- throw new TypeError("Symbol.asyncIterator is not defined.");
314
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
315
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
316
- function verb(n) { if (g[n])
317
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
318
- function resume(n, v) { try {
319
- step(g[n](v));
320
- }
321
- catch (e) {
322
- settle(q[0][3], e);
323
- } }
324
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
325
- function fulfill(value) { resume("next", value); }
326
- function reject(value) { resume("throw", value); }
327
- function settle(f, v) { if (f(v), q.shift(), q.length)
328
- resume(q[0][0], q[0][1]); }
329
- }
330
- function __asyncDelegator(o) {
331
- var i, p;
332
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
333
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
334
- }
335
- function __asyncValues(o) {
336
- if (!Symbol.asyncIterator)
337
- throw new TypeError("Symbol.asyncIterator is not defined.");
338
- var m = o[Symbol.asyncIterator], i;
339
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
340
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
341
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
342
- }
343
- function __makeTemplateObject(cooked, raw) {
344
- if (Object.defineProperty) {
345
- Object.defineProperty(cooked, "raw", { value: raw });
346
- }
347
- else {
348
- cooked.raw = raw;
349
- }
350
- return cooked;
351
- }
352
- ;
353
- var __setModuleDefault = Object.create ? (function (o, v) {
354
- Object.defineProperty(o, "default", { enumerable: true, value: v });
355
- }) : function (o, v) {
356
- o["default"] = v;
357
- };
358
- function __importStar(mod) {
359
- if (mod && mod.__esModule)
360
- return mod;
361
- var result = {};
362
- if (mod != null)
363
- for (var k in mod)
364
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
365
- __createBinding(result, mod, k);
366
- __setModuleDefault(result, mod);
367
- return result;
368
- }
369
- function __importDefault(mod) {
370
- return (mod && mod.__esModule) ? mod : { default: mod };
371
- }
372
- function __classPrivateFieldGet(receiver, state, kind, f) {
373
- if (kind === "a" && !f)
374
- throw new TypeError("Private accessor was defined without a getter");
375
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
376
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
377
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
378
- }
379
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
380
- if (kind === "m")
381
- throw new TypeError("Private method is not writable");
382
- if (kind === "a" && !f)
383
- throw new TypeError("Private accessor was defined without a setter");
384
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
385
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
386
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
387
- }
388
-
389
- function makeFn(type, options) {
390
- return function (_, __, descriptor) {
391
- var source = descriptor.value;
392
- descriptor.value = function () {
393
- var _this = this;
394
- var data = [];
395
- for (var _i = 0; _i < arguments.length; _i++) {
396
- data[_i] = arguments[_i];
397
- }
398
- var that = this;
399
- var ngZone = that[(options === null || options === void 0 ? void 0 : options.ngZoneName) || 'ngZone'];
400
- if (!ngZone) {
401
- other.warn("ZoneOutside: Decorator should have 'ngZone' property with 'NgZone' class.");
402
- return source.call.apply(source, __spreadArray([this], __read(data)));
403
- }
404
- var res;
405
- ngZone[type](function () {
406
- res = source.call.apply(source, __spreadArray([_this], __read(data)));
407
- });
408
- return res;
409
- };
410
- return descriptor;
411
- };
412
- }
413
- /**
414
- * The decoration method runs in `runOutsideAngular`
415
- *
416
- * 装饰方法运行在 `runOutsideAngular` 内
417
- *
418
- * ```ts
419
- * class MockClass {
420
- * constructor(public ngZone: NgZone) {}
421
- *
422
- * {AT}ZoneOutside()
423
- * runOutsideAngular(): void {}
424
- * }
425
- * ```
426
- */
427
- function ZoneOutside(options) {
428
- return makeFn('runOutsideAngular', options);
429
- }
430
- /**
431
- * The decoration method runs in `run`
432
- *
433
- * 装饰方法运行在 `run` 内
434
- *
435
- * ```ts
436
- * class MockClass {
437
- * constructor(public ngZone: NgZone) {}
438
- *
439
- * {AT}ZoneRun()
440
- * run(): void {}
441
- * }
442
- * ```
443
- */
444
- function ZoneRun(options) {
445
- return makeFn('run', options);
446
- }
447
-
448
- /**
449
- * Generated bundle index. Do not edit.
450
- */
451
-
452
- exports.InputBoolean = InputBoolean;
453
- exports.InputNumber = InputNumber;
454
- exports.ZoneOutside = ZoneOutside;
455
- exports.ZoneRun = ZoneRun;
456
- exports.toBoolean = toBoolean;
457
- exports.toNumber = toNumber;
458
-
459
- Object.defineProperty(exports, '__esModule', { value: true });
460
-
461
- }));
462
- //# sourceMappingURL=yelon-util-decorator.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yelon-util-decorator.umd.js","sources":["../../../../packages/util/decorator/convert.ts","../../../../node_modules/tslib/tslib.es6.js","../../../../packages/util/decorator/zone-outside.ts","../../../../packages/util/decorator/yelon-util-decorator.ts"],"sourcesContent":["import type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nimport { warn } from '@yelon/util/other';\n\nexport type BooleanInput = boolean | string | undefined | null;\nexport type NumberInput = number | string | undefined | null;\n\nfunction propDecoratorFactory<T, D>(\n name: string,\n fallback: (v: T, defaultValue: D) => D,\n defaultValue: NzSafeAny\n): (target: NzSafeAny, propName: string) => void {\n function propDecorator(\n target: NzSafeAny,\n propName: string,\n originalDescriptor?: TypedPropertyDescriptor<NzSafeAny>\n ): NzSafeAny {\n const privatePropName = `$$__${propName}`;\n\n if (Object.prototype.hasOwnProperty.call(target, privatePropName)) {\n warn(`The prop \"${privatePropName}\" is already exist, it will be overrided by ${name} decorator.`);\n }\n\n Object.defineProperty(target, privatePropName, {\n configurable: true,\n writable: true\n });\n\n return {\n get(): string {\n return originalDescriptor && originalDescriptor.get\n ? originalDescriptor.get.bind(this)()\n : this[privatePropName];\n },\n set(value: T): void {\n if (originalDescriptor && originalDescriptor.set) {\n originalDescriptor.set.bind(this)(fallback(value, defaultValue));\n }\n this[privatePropName] = fallback(value, defaultValue);\n }\n };\n }\n\n return propDecorator;\n}\n\nexport function toBoolean(\n value: unknown,\n defaultValue: boolean | null | undefined = false\n): boolean | null | undefined {\n return value == null ? defaultValue : `${value}` !== 'false';\n}\n\n/**\n * Input decorator that handle a prop to do get/set automatically with toBoolean\n *\n * ```ts\n * {AT}Input() {AT}InputBoolean() visible: boolean = false;\n * {AT}Input() {AT}InputBoolean(null) visible: boolean = false;\n * ```\n */\nexport function InputBoolean(defaultValue: boolean | null = false): NzSafeAny {\n return propDecoratorFactory('InputBoolean', toBoolean, defaultValue);\n}\n\nexport function toNumber(value: unknown): number;\nexport function toNumber<D>(value: unknown, fallback: D): number | D;\nexport function toNumber(value: unknown, fallbackValue: number = 0): number {\n return !isNaN(parseFloat(value as NzSafeAny)) && !isNaN(Number(value)) ? Number(value) : fallbackValue;\n}\n\n/**\n * Input decorator that handle a prop to do get/set automatically with toNumber\n *\n * ```ts\n * {AT}Input() {AT}InputNumber() visible: number = 1;\n * {AT}Input() {AT}InputNumber(null) visible: number = 2;\n * ```\n */\nexport function InputNumber(defaultValue: number | null = 0): NzSafeAny {\n return propDecoratorFactory('InputNumber', toNumber, defaultValue);\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nimport { warn } from '@yelon/util/other';\n\nexport interface ZoneOptions {\n ngZoneName?: string;\n}\n\ntype DecoratorType = (target: unknown, fn: string, descriptor: PropertyDescriptor) => PropertyDescriptor;\n\nfunction makeFn(type: 'runOutsideAngular' | 'run', options?: ZoneOptions): DecoratorType {\n return (_, __, descriptor) => {\n const source = descriptor.value;\n descriptor.value = function (...data: NzSafeAny[]): () => void {\n const that = this as NzSafeAny;\n const ngZone = that[options?.ngZoneName || 'ngZone'];\n if (!ngZone) {\n warn(`ZoneOutside: Decorator should have 'ngZone' property with 'NgZone' class.`);\n return source.call(this, ...data);\n }\n let res: NzSafeAny;\n ngZone[type](() => {\n res = source.call(this, ...data);\n });\n return res;\n };\n\n return descriptor;\n };\n}\n\n/**\n * The decoration method runs in `runOutsideAngular`\n *\n * 装饰方法运行在 `runOutsideAngular` 内\n *\n * ```ts\n * class MockClass {\n * constructor(public ngZone: NgZone) {}\n *\n * {AT}ZoneOutside()\n * runOutsideAngular(): void {}\n * }\n * ```\n */\nexport function ZoneOutside(options?: ZoneOptions): DecoratorType {\n return makeFn('runOutsideAngular', options);\n}\n\n/**\n * The decoration method runs in `run`\n *\n * 装饰方法运行在 `run` 内\n *\n * ```ts\n * class MockClass {\n * constructor(public ngZone: NgZone) {}\n *\n * {AT}ZoneRun()\n * run(): void {}\n * }\n * ```\n */\nexport function ZoneRun(options?: ZoneOptions): DecoratorType {\n return makeFn('run', options);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["warn"],"mappings":";;;;;;IAOA,SAAS,oBAAoB,CAC3B,IAAY,EACZ,QAAsC,EACtC,YAAuB;QAEvB,SAAS,aAAa,CACpB,MAAiB,EACjB,QAAgB,EAChB,kBAAuD;YAEvD,IAAM,eAAe,GAAG,SAAO,QAAU,CAAC;YAE1C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,EAAE;gBACjEA,UAAI,CAAC,gBAAa,eAAe,qDAA+C,IAAI,gBAAa,CAAC,CAAC;aACpG;YAED,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,eAAe,EAAE;gBAC7C,YAAY,EAAE,IAAI;gBAClB,QAAQ,EAAE,IAAI;aACf,CAAC,CAAC;YAEH,OAAO;gBACL,GAAG;oBACD,OAAO,kBAAkB,IAAI,kBAAkB,CAAC,GAAG;0BAC/C,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;0BACnC,IAAI,CAAC,eAAe,CAAC,CAAC;iBAC3B;gBACD,GAAG,YAAC,KAAQ;oBACV,IAAI,kBAAkB,IAAI,kBAAkB,CAAC,GAAG,EAAE;wBAChD,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;qBAClE;oBACD,IAAI,CAAC,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;iBACvD;aACF,CAA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KAAK,CAAC;YAChC,UAAU,CAAC,KAAK,GAAG;gBAAA,iBAYlB;gBAZ4B,cAAoB;qBAApB,UAAoB,EAApB,qBAAoB,EAApB,IAAoB;oBAApB,yBAAoB;;gBAC/C,IAAM,IAAI,GAAG,IAAiB,CAAC;gBAC/B,IAAM,MAAM,GAAG,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,KAAI,QAAQ,CAAC,CAAC;gBACrD,IAAI,CAAC,MAAM,EAAE;oBACXA,UAAI,CAAC,2EAA2E,CAAC,CAAC;oBAClF,OAAO,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,UAAK,IAAI,IAAE;iBACnC;gBACD,IAAI,GAAc,CAAC;gBACnB,MAAM,CAAC,IAAI,CAAC,CAAC;oBACX,GAAG,GAAG,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,KAAI,UAAK,IAAI,GAAC,CAAC;iBAClC,CAAC,CAAC;gBACH,OAAO,GAAG,CAAC;aACZ,CAAC;YAEF,OAAO,UAAU,CAAC;SACnB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;aAcgB,WAAW,CAAC,OAAqB;QAC/C,OAAO,MAAM,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;;;;;aAcgB,OAAO,CAAC,OAAqB;QAC3C,OAAO,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChC;;ICjEA;;;;;;;;;;;;;;;;;"}
@@ -1,135 +0,0 @@
1
- /**
2
- * @license ng-yunzai(devcui@outlook.com) v12.0.17
3
- * (c) 2020 devcui https://github.com/hbyunzai/yelon/
4
- * License: MIT
5
- */
6
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@yelon/util/format')) :
8
- typeof define === 'function' && define.amd ? define('@yelon/util/form', ['exports', '@yelon/util/format'], factory) :
9
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.yelon = global.yelon || {}, global.yelon.util = global.yelon.util || {}, global.yelon.util.form = {}), global.yelon.util.format));
10
- })(this, (function (exports, format) { 'use strict';
11
-
12
- /**
13
- * A set of validators for reactive forms
14
- *
15
- * 一套用于响应式表单的验证器
16
- */
17
- var _Validators = /** @class */ (function () {
18
- function _Validators() {
19
- }
20
- /**
21
- * Wheter is number
22
- *
23
- * 是否为数字
24
- */
25
- _Validators.num = function (control) {
26
- return format.isNum(control.value) ? null : { num: true };
27
- };
28
- /**
29
- * Wheter is integer
30
- *
31
- * 是否为整数
32
- */
33
- _Validators.int = function (control) {
34
- return format.isInt(control.value) ? null : { int: true };
35
- };
36
- /**
37
- * Wheter is decimal
38
- *
39
- * 是否为小数点数值
40
- */
41
- _Validators.decimal = function (control) {
42
- return format.isDecimal(control.value) ? null : { decimal: true };
43
- };
44
- /**
45
- * Wheter is People's Republic of China identity card
46
- *
47
- * 是否为中华人民共和国居民身份证
48
- */
49
- _Validators.idCard = function (control) {
50
- return format.isIdCard(control.value) ? null : { idCard: true };
51
- };
52
- /**
53
- * Wheter is china mobile (China)
54
- *
55
- * 是否为手机号(中国)
56
- */
57
- _Validators.mobile = function (control) {
58
- return format.isMobile(control.value) ? null : { mobile: true };
59
- };
60
- /**
61
- * Wheter is url address
62
- *
63
- * 是否URL地址
64
- */
65
- _Validators.url = function (control) {
66
- return format.isUrl(control.value) ? null : { url: true };
67
- };
68
- /**
69
- * Wheter is IPv4 address (Support v4, v6)
70
- *
71
- * 是否IP4地址(支持v4、v6)
72
- */
73
- _Validators.ip = function (control) {
74
- return format.isIp(control.value) ? null : { ip: true };
75
- };
76
- /**
77
- * Wheter is color
78
- *
79
- * 是否颜色代码值
80
- */
81
- _Validators.color = function (control) {
82
- return format.isColor(control.value) ? null : { color: true };
83
- };
84
- /**
85
- * Wheter is chinese
86
- *
87
- * 是否中文
88
- */
89
- _Validators.chinese = function (control) {
90
- return format.isChinese(control.value) ? null : { chinese: true };
91
- };
92
- return _Validators;
93
- }());
94
-
95
- /**
96
- * Match two control values
97
- *
98
- * 匹配两个控件值
99
- * ```ts
100
- * this.form = new FormGroup({
101
- * pwd: new FormControl(''),
102
- * repwd: new FormControl(''),
103
- * }, {
104
- * validators: MatchControl('pwd', 'repwd'),
105
- * });
106
- * ```
107
- */
108
- function MatchControl(controlName, matchingControlName) {
109
- return function (formGroup) {
110
- var control = formGroup.get(controlName);
111
- var matchingControl = formGroup.get(matchingControlName);
112
- if (matchingControl.errors && !matchingControl.errors.matchControl) {
113
- return null;
114
- }
115
- if (control.value !== matchingControl.value) {
116
- matchingControl.setErrors({ matchControl: true });
117
- }
118
- else {
119
- matchingControl.setErrors(null);
120
- }
121
- return null;
122
- };
123
- }
124
-
125
- /**
126
- * Generated bundle index. Do not edit.
127
- */
128
-
129
- exports.MatchControl = MatchControl;
130
- exports._Validators = _Validators;
131
-
132
- Object.defineProperty(exports, '__esModule', { value: true });
133
-
134
- }));
135
- //# sourceMappingURL=yelon-util-form.umd.js.map