@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
@@ -0,0 +1,57 @@
1
+ import { warn } from '@yelon/util/other';
2
+ function makeFn(type, options) {
3
+ return (_, __, descriptor) => {
4
+ const source = descriptor.value;
5
+ descriptor.value = function (...data) {
6
+ const that = this;
7
+ const ngZone = that[options?.ngZoneName || 'ngZone'];
8
+ if (!ngZone) {
9
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
10
+ warn(`ZoneOutside: Decorator should have 'ngZone' property with 'NgZone' class.`);
11
+ }
12
+ return source.call(this, ...data);
13
+ }
14
+ let res;
15
+ ngZone[type](() => {
16
+ res = source.call(this, ...data);
17
+ });
18
+ return res;
19
+ };
20
+ return descriptor;
21
+ };
22
+ }
23
+ /**
24
+ * The decoration method runs in `runOutsideAngular`
25
+ *
26
+ * 装饰方法运行在 `runOutsideAngular` 内
27
+ *
28
+ * ```ts
29
+ * class MockClass {
30
+ * constructor(public ngZone: NgZone) {}
31
+ *
32
+ * {AT}ZoneOutside()
33
+ * runOutsideAngular(): void {}
34
+ * }
35
+ * ```
36
+ */
37
+ export function ZoneOutside(options) {
38
+ return makeFn('runOutsideAngular', options);
39
+ }
40
+ /**
41
+ * The decoration method runs in `run`
42
+ *
43
+ * 装饰方法运行在 `run` 内
44
+ *
45
+ * ```ts
46
+ * class MockClass {
47
+ * constructor(public ngZone: NgZone) {}
48
+ *
49
+ * {AT}ZoneRun()
50
+ * run(): void {}
51
+ * }
52
+ * ```
53
+ */
54
+ export function ZoneRun(options) {
55
+ return makeFn('run', options);
56
+ }
57
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9uZS1vdXRzaWRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9kZWNvcmF0b3Ivem9uZS1vdXRzaWRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQVN6QyxTQUFTLE1BQU0sQ0FBQyxJQUFpQyxFQUFFLE9BQXFCO0lBQ3RFLE9BQU8sQ0FBQyxDQUFDLEVBQUUsRUFBRSxFQUFFLFVBQVUsRUFBRSxFQUFFO1FBQzNCLE1BQU0sTUFBTSxHQUFHLFVBQVUsQ0FBQyxLQUFLLENBQUM7UUFDaEMsVUFBVSxDQUFDLEtBQUssR0FBRyxVQUFVLEdBQUcsSUFBaUI7WUFDL0MsTUFBTSxJQUFJLEdBQUcsSUFBaUIsQ0FBQztZQUMvQixNQUFNLE1BQU0sR0FBRyxJQUFJLENBQUMsT0FBTyxFQUFFLFVBQVUs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Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZm9ybS9mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -1,3 +1,3 @@
1
- export * from './validators';
2
- export * from './match-control';
1
+ export * from './validators';
2
+ export * from './match-control';
3
3
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Zvcm0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdmFsaWRhdG9ycyc7XG5leHBvcnQgKiBmcm9tICcuL21hdGNoLWNvbnRyb2wnO1xuIl19
@@ -1,30 +1,30 @@
1
- /**
2
- * Match two control values
3
- *
4
- * 匹配两个控件值
5
- * ```ts
6
- * this.form = new FormGroup({
7
- * pwd: new FormControl(''),
8
- * repwd: new FormControl(''),
9
- * }, {
10
- * validators: MatchControl('pwd', 'repwd'),
11
- * });
12
- * ```
13
- */
14
- export function MatchControl(controlName, matchingControlName) {
15
- return (formGroup) => {
16
- const control = formGroup.get(controlName);
17
- const matchingControl = formGroup.get(matchingControlName);
18
- if (matchingControl.errors && !matchingControl.errors.matchControl) {
19
- return null;
20
- }
21
- if (control.value !== matchingControl.value) {
22
- matchingControl.setErrors({ matchControl: true });
23
- }
24
- else {
25
- matchingControl.setErrors(null);
26
- }
27
- return null;
28
- };
29
- }
1
+ /**
2
+ * Match two control values
3
+ *
4
+ * 匹配两个控件值
5
+ * ```ts
6
+ * this.form = new FormGroup({
7
+ * pwd: new FormControl(''),
8
+ * repwd: new FormControl(''),
9
+ * }, {
10
+ * validators: MatchControl('pwd', 'repwd'),
11
+ * });
12
+ * ```
13
+ */
14
+ export function MatchControl(controlName, matchingControlName) {
15
+ return (formGroup) => {
16
+ const control = formGroup.get(controlName);
17
+ const matchingControl = formGroup.get(matchingControlName);
18
+ if (matchingControl.errors && !matchingControl.errors.matchControl) {
19
+ return null;
20
+ }
21
+ if (control.value !== matchingControl.value) {
22
+ matchingControl.setErrors({ matchControl: true });
23
+ }
24
+ else {
25
+ matchingControl.setErrors(null);
26
+ }
27
+ return null;
28
+ };
29
+ }
30
30
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0Y2gtY29udHJvbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZm9ybS9tYXRjaC1jb250cm9sLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOzs7Ozs7Ozs7Ozs7R0FZRztBQUNILE1BQU0sVUFBVSxZQUFZLENBQUMsV0FBbUIsRUFBRSxtQkFBMkI7SUFDM0UsT0FBTyxDQUFDLFNBQTBCLEVBQUUsRUFBRTtRQUNwQyxNQUFNLE9BQU8sR0FBRyxTQUFTLENBQUMsR0FBRyxDQUFDLFdBQVcsQ0FBRSxDQUFDO1FBQzVDLE1BQU0sZUFBZSxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsbUJBQW1CL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JvbCA9IGZvcm1Hcm91cC5nZXQoY29udHJvbE5hbWUpITtcbiAgICBjb25zdCBtYXRjaGluZ0NvbnRyb2wgPSBmb3JtR3JvdXAuZ2V0KG1hdGNoaW5nQ29udHJvbE5hbWUpITtcbiAgICBpZiAobWF0Y2hpbmdDb250cm9sLmVycm9ycyAmJiAhbWF0Y2hpbmdDb250cm9sLmVycm9ycy5tYXRjaENvbnRyb2wpIHtcbiAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbiAgICBpZiAoY29udHJvbC52YWx1ZSAhPT0gbWF0Y2hpbmdDb250cm9sLnZhbHVlKSB7XG4gICAgICBtYXRjaGluZ0NvbnRyb2wuc2V0RXJyb3JzKHsgbWF0Y2hDb250cm9sOiB0cnVlIH0pO1xuICAgIH0gZWxzZSB7XG4gICAgICBtYXRjaGluZ0NvbnRyb2wuc2V0RXJyb3JzKG51bGwpO1xuICAgIH1cbiAgICByZXR1cm4gbnVsbDtcbiAgfTtcbn1cbiJdfQ==
@@ -1,81 +1,81 @@
1
- import { isChinese, isColor, isDecimal, isIdCard, isInt, isIp, isMobile, isNum, isUrl } from '@yelon/util/format';
2
- /**
3
- * A set of validators for reactive forms
4
- *
5
- * 一套用于响应式表单的验证器
6
- */
7
- export class _Validators {
8
- /**
9
- * Wheter is number
10
- *
11
- * 是否为数字
12
- */
13
- static num(control) {
14
- return isNum(control.value) ? null : { num: true };
15
- }
16
- /**
17
- * Wheter is integer
18
- *
19
- * 是否为整数
20
- */
21
- static int(control) {
22
- return isInt(control.value) ? null : { int: true };
23
- }
24
- /**
25
- * Wheter is decimal
26
- *
27
- * 是否为小数点数值
28
- */
29
- static decimal(control) {
30
- return isDecimal(control.value) ? null : { decimal: true };
31
- }
32
- /**
33
- * Wheter is People's Republic of China identity card
34
- *
35
- * 是否为中华人民共和国居民身份证
36
- */
37
- static idCard(control) {
38
- return isIdCard(control.value) ? null : { idCard: true };
39
- }
40
- /**
41
- * Wheter is china mobile (China)
42
- *
43
- * 是否为手机号(中国)
44
- */
45
- static mobile(control) {
46
- return isMobile(control.value) ? null : { mobile: true };
47
- }
48
- /**
49
- * Wheter is url address
50
- *
51
- * 是否URL地址
52
- */
53
- static url(control) {
54
- return isUrl(control.value) ? null : { url: true };
55
- }
56
- /**
57
- * Wheter is IPv4 address (Support v4, v6)
58
- *
59
- * 是否IP4地址(支持v4、v6)
60
- */
61
- static ip(control) {
62
- return isIp(control.value) ? null : { ip: true };
63
- }
64
- /**
65
- * Wheter is color
66
- *
67
- * 是否颜色代码值
68
- */
69
- static color(control) {
70
- return isColor(control.value) ? null : { color: true };
71
- }
72
- /**
73
- * Wheter is chinese
74
- *
75
- * 是否中文
76
- */
77
- static chinese(control) {
78
- return isChinese(control.value) ? null : { chinese: true };
79
- }
80
- }
1
+ import { isChinese, isColor, isDecimal, isIdCard, isInt, isIp, isMobile, isNum, isUrl } from '@yelon/util/format';
2
+ /**
3
+ * A set of validators for reactive forms
4
+ *
5
+ * 一套用于响应式表单的验证器
6
+ */
7
+ export class _Validators {
8
+ /**
9
+ * Wheter is number
10
+ *
11
+ * 是否为数字
12
+ */
13
+ static num(control) {
14
+ return isNum(control.value) ? null : { num: true };
15
+ }
16
+ /**
17
+ * Wheter is integer
18
+ *
19
+ * 是否为整数
20
+ */
21
+ static int(control) {
22
+ return isInt(control.value) ? null : { int: true };
23
+ }
24
+ /**
25
+ * Wheter is decimal
26
+ *
27
+ * 是否为小数点数值
28
+ */
29
+ static decimal(control) {
30
+ return isDecimal(control.value) ? null : { decimal: true };
31
+ }
32
+ /**
33
+ * Wheter is People's Republic of China identity card
34
+ *
35
+ * 是否为中华人民共和国居民身份证
36
+ */
37
+ static idCard(control) {
38
+ return isIdCard(control.value) ? null : { idCard: true };
39
+ }
40
+ /**
41
+ * Wheter is china mobile (China)
42
+ *
43
+ * 是否为手机号(中国)
44
+ */
45
+ static mobile(control) {
46
+ return isMobile(control.value) ? null : { mobile: true };
47
+ }
48
+ /**
49
+ * Wheter is url address
50
+ *
51
+ * 是否URL地址
52
+ */
53
+ static url(control) {
54
+ return isUrl(control.value) ? null : { url: true };
55
+ }
56
+ /**
57
+ * Wheter is IPv4 address (Support v4, v6)
58
+ *
59
+ * 是否IP4地址(支持v4、v6)
60
+ */
61
+ static ip(control) {
62
+ return isIp(control.value) ? null : { ip: true };
63
+ }
64
+ /**
65
+ * Wheter is color
66
+ *
67
+ * 是否颜色代码值
68
+ */
69
+ static color(control) {
70
+ return isColor(control.value) ? null : { color: true };
71
+ }
72
+ /**
73
+ * Wheter is chinese
74
+ *
75
+ * 是否中文
76
+ */
77
+ static chinese(control) {
78
+ return isChinese(control.value) ? null : { chinese: true };
79
+ }
80
+ }
81
81
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZm9ybS92YWxpZGF0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRWxIOzs7O0dBSUc7QUFDSCxNQUFNLE9BQU8sV0FBVztJQUN0Qjs7OztPQUlHO0lBQ0gsTUFBTSxDQUFDLEdBQUcsQ0FBQyxPQUF3QjtRQUNqQyxPQUFPLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxHQUFHLEVBQUUsSUFBSSxFQUFFLENBQUM7SUFDckQsQ0FBQztJQUVEOzs7O09BSUc7SUFDSCxNQUFNLENBQUMsR0FBRyxDQUFDLE9BQXdCO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b2w6IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgfCBudWxsIHtcbiAgICByZXR1cm4gaXNDb2xvcihjb250cm9sLnZhbHVlKSA/IG51bGwgOiB7IGNvbG9yOiB0cnVlIH07XG4gIH1cblxuICAvKipcbiAgICogV2hldGVyIGlzIGNoaW5lc2VcbiAgICpcbiAgICog5piv5ZCm5Lit5paHXG4gICAqL1xuICBzdGF0aWMgY2hpbmVzZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiBWYWxpZGF0aW9uRXJyb3JzIHwgbnVsbCB7XG4gICAgcmV0dXJuIGlzQ2hpbmVzZShjb250cm9sLnZhbHVlKSA/IG51bGwgOiB7IGNoaW5lc2U6IHRydWUgfTtcbiAgfVxufVxuIl19
@@ -0,0 +1,238 @@
1
+ import { CurrencyPipe, formatNumber } from '@angular/common';
2
+ import { DEFAULT_CURRENCY_CODE, Inject, Injectable, LOCALE_ID } from '@angular/core';
3
+ import { CurrencyMega_Powers } from './currency.types';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@yelon/util/config";
6
+ export class CurrencyService {
7
+ constructor(cog, locale, _defaultCurrencyCode = 'USD') {
8
+ this.locale = locale;
9
+ this.currencyPipe = new CurrencyPipe(locale, _defaultCurrencyCode);
10
+ this.c = cog.merge('utilCurrency', {
11
+ startingUnit: 'yuan',
12
+ megaUnit: { Q: '京', T: '兆', B: '亿', M: '万', K: '千' },
13
+ precision: 2,
14
+ ignoreZeroPrecision: true
15
+ });
16
+ }
17
+ /**
18
+ * Format a number with commas as thousands separators
19
+ *
20
+ * 格式化货币,用逗号将数字格式化为千位分隔符
21
+ * ```ts
22
+ * 10000 => `10,000`
23
+ * 10000.567 => `10,000.57`
24
+ * ```
25
+ */
26
+ format(value, options) {
27
+ options = {
28
+ startingUnit: this.c.startingUnit,
29
+ precision: this.c.precision,
30
+ ignoreZeroPrecision: this.c.ignoreZeroPrecision,
31
+ ngCurrency: this.c.ngCurrency,
32
+ ...options
33
+ };
34
+ let truthValue = Number(value);
35
+ if (value == null || isNaN(truthValue)) {
36
+ return '';
37
+ }
38
+ if (options.startingUnit === 'cent') {
39
+ truthValue = truthValue / 100;
40
+ }
41
+ if (options.ngCurrency != null) {
42
+ const cur = options.ngCurrency;
43
+ return this.currencyPipe.transform(truthValue, cur.currencyCode, cur.display, cur.digitsInfo, cur.locale || this.locale);
44
+ }
45
+ const res = formatNumber(truthValue, this.locale, `.${options.ignoreZeroPrecision ? 1 : options.precision}-${options.precision}`);
46
+ return options.ignoreZeroPrecision ? res.replace(/(?:\.[0]+)$/g, '') : res;
47
+ }
48
+ /**
49
+ * Large number format filter
50
+ *
51
+ * 大数据格式化
52
+ * ```ts
53
+ * 1000 => { value: '1', unit: 'K', unitI18n: '千' }
54
+ * 12456 => { value: '12.46', unit: 'K', unitI18n: '千' }
55
+ * ```
56
+ */
57
+ mega(value, options) {
58
+ options = { precision: this.c.precision, unitI18n: this.c.megaUnit, startingUnit: this.c.startingUnit, ...options };
59
+ let num = Number(value);
60
+ const res = { raw: value, value: '', unit: '', unitI18n: '' };
61
+ if (isNaN(num) || num === 0) {
62
+ res.value = value.toString();
63
+ return res;
64
+ }
65
+ if (options.startingUnit === 'cent') {
66
+ num = num / 100;
67
+ }
68
+ let abs = Math.abs(+num);
69
+ const rounder = Math.pow(10, options.precision);
70
+ const isNegative = num < 0;
71
+ for (const p of CurrencyMega_Powers) {
72
+ let reduced = abs / p.value;
73
+ reduced = Math.round(reduced * rounder) / rounder;
74
+ if (reduced >= 1) {
75
+ abs = reduced;
76
+ res.unit = p.unit;
77
+ break;
78
+ }
79
+ }
80
+ res.value = (isNegative ? '-' : '') + abs;
81
+ res.unitI18n = options.unitI18n[res.unit];
82
+ return res;
83
+ }
84
+ /**
85
+ * Converted into RMB notation.
86
+ *
87
+ * 转化成人民币表示法
88
+ */
89
+ cny(value, options) {
90
+ options = {
91
+ inWords: true,
92
+ minusSymbol: '负',
93
+ startingUnit: this.c.startingUnit,
94
+ ...options
95
+ };
96
+ value = Number(value);
97
+ if (isNaN(value)) {
98
+ return '';
99
+ }
100
+ if (options.startingUnit === 'cent') {
101
+ value = value / 100;
102
+ }
103
+ value = value.toString();
104
+ let integer;
105
+ let decimal;
106
+ [integer, decimal] = value.split('.');
107
+ let symbol = '';
108
+ if (integer.startsWith('-')) {
109
+ symbol = options.minusSymbol;
110
+ integer = integer.substring(1);
111
+ }
112
+ if (/^-?\d+$/.test(value)) {
113
+ decimal = null;
114
+ }
115
+ integer = (+integer).toString();
116
+ const inWords = options.inWords;
117
+ const unit = {
118
+ num: inWords
119
+ ? ['', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖', '点']
120
+ : ['', '一', '二', '三', '四', '五', '六', '七', '八', '九', '点'],
121
+ radice: inWords
122
+ ? [
123
+ '',
124
+ '拾',
125
+ '佰',
126
+ '仟',
127
+ '万',
128
+ '拾',
129
+ '佰',
130
+ '仟',
131
+ '亿',
132
+ '拾',
133
+ '佰',
134
+ '仟',
135
+ '万亿',
136
+ '拾',
137
+ '佰',
138
+ '仟',
139
+ '兆',
140
+ '拾',
141
+ '佰',
142
+ '仟'
143
+ ]
144
+ : [
145
+ '',
146
+ '十',
147
+ '百',
148
+ '千',
149
+ '万',
150
+ '十',
151
+ '百',
152
+ '千',
153
+ '亿',
154
+ '十',
155
+ '百',
156
+ '千',
157
+ '万亿',
158
+ '十',
159
+ '百',
160
+ '千',
161
+ '兆',
162
+ '十',
163
+ '百',
164
+ '千'
165
+ ],
166
+ dec: ['角', '分', '厘', '毫']
167
+ };
168
+ if (inWords) {
169
+ value = (+value).toFixed(5).toString();
170
+ }
171
+ let integerRes = '';
172
+ const integerCount = integer.length;
173
+ if (integer === '0' || integerCount === 0) {
174
+ integerRes = '零';
175
+ }
176
+ else {
177
+ let cnDesc = '';
178
+ for (let i = 0; i < integerCount; i++) {
179
+ const n = +integer[i];
180
+ const j = integerCount - i - 1;
181
+ const isZero = i > 1 && n !== 0 && integer[i - 1] === '0';
182
+ const cnZero = isZero ? '零' : '';
183
+ const isEmpptyUnit = (n === 0 && j % 4 !== 0) || integer.substring(i - 3, i - 3 + 4) === '0000';
184
+ const descMark = cnDesc;
185
+ let cnNum = unit.num[n];
186
+ cnDesc = isEmpptyUnit ? '' : unit.radice[j];
187
+ // 第一位是一十
188
+ if (i === 0 && cnNum === '一' && cnDesc === '十')
189
+ cnNum = '';
190
+ const isChangeEr = n > 1 &&
191
+ cnNum === '二' && // 去除首位
192
+ ['', '十', '百'].indexOf(cnDesc) === -1 && // 不读两\两十\两百
193
+ descMark !== '十'; // 不读十两
194
+ if (isChangeEr)
195
+ cnNum = '两';
196
+ integerRes += cnZero + cnNum + cnDesc;
197
+ }
198
+ }
199
+ // 小数部分拼接
200
+ let decimalRes = '';
201
+ const decimalCount = decimal ? decimal.toString().length : 0;
202
+ if (decimal === null) {
203
+ decimalRes = inWords ? '整' : '';
204
+ }
205
+ else if (decimal === '0') {
206
+ decimalRes = '零';
207
+ }
208
+ else {
209
+ for (let i = 0; i < decimalCount; i++) {
210
+ if (inWords && i > unit.dec.length - 1)
211
+ break;
212
+ const n = decimal[i];
213
+ const cnZero = n === '0' ? '零' : '';
214
+ const cnNum = unit.num[+n];
215
+ const cnDesc = inWords ? unit.dec[i] : '';
216
+ decimalRes += cnZero + cnNum + cnDesc;
217
+ }
218
+ }
219
+ const ret = symbol +
220
+ (inWords
221
+ ? integerRes + (decimalRes === '零' ? '元整' : `元${decimalRes}`)
222
+ : integerRes + (decimalRes === '' ? '' : `点${decimalRes}`));
223
+ return ret;
224
+ }
225
+ }
226
+ CurrencyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }, { token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Injectable });
227
+ CurrencyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CurrencyService, providedIn: 'root' });
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CurrencyService, decorators: [{
229
+ type: Injectable,
230
+ args: [{ providedIn: 'root' }]
231
+ }], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }, { type: undefined, decorators: [{
232
+ type: Inject,
233
+ args: [LOCALE_ID]
234
+ }] }, { type: undefined, decorators: [{
235
+ type: Inject,
236
+ args: [DEFAULT_CURRENCY_CODE]
237
+ }] }]; } });
238
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZm9ybWF0L2N1cnJlbmN5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM3RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFLckYsT0FBTyxFQUtMLG1CQUFtQixFQUNwQixNQUFNLGtCQUFrQixDQUFDOzs7QUFHMUIsTUFBTSxPQUFPLGVBQWU7SUFJMUIsWUFDRSxHQUF3QixFQUNHLE1BQWMsRUFDVix1QkFBK0IsS0FBSztRQUR4QyxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBR3pDLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxZQUFZLENBQUMsTUFBTSxFQUFFLG9CQUFvQixDQUFDLENBQUM7UUFDbkUsSUFBSSxDQUFDLENBQUMsR0FBRyxHQUFHLENBQUMsS0FBSyxDQUFDLGNBQWMsRUFBRTtZQUNqQyxZQUFZLEV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XIuc3Vic3RyaW5nKDEpO1xuICAgIH1cbiAgICBpZiAoL14tP1xcZCskLy50ZXN0KHZhbHVlKSkge1xuICAgICAgZGVjaW1hbCA9IG51bGw7XG4gICAgfVxuICAgIGludGVnZXIgPSAoK2ludGVnZXIpLnRvU3RyaW5nKCk7XG4gICAgY29uc3QgaW5Xb3JkcyA9IG9wdGlvbnMuaW5Xb3JkcztcbiAgICBjb25zdCB1bml0OiB7IFtrZXk6IHN0cmluZ106IHN0cmluZ1tdIH0gPSB7XG4gICAgICBudW06IGluV29yZHNcbiAgICAgICAgPyBbJycsICflo7knLCAn6LSwJywgJ+WPgScsICfogoYnLCAn5LyNJywgJ+mZhicsICfmn5InLCAn5o2MJywgJ+eOlicsICfngrknXVxuICAgICAgICA6IFsnJywgJ+S4gCcsICfkuownLCAn5LiJJywgJ+WbmycsICfkupQnLCAn5YWtJywgJ+S4gycsICflhasnLCAn5LmdJywgJ+eCuSddLFxuICAgICAgcmFkaWNlOiBpbldvcmRzXG4gICAgICAgID8gW1xuICAgICAgICAgICAgJycsXG4gICAgICAgICAgICAn5ou+JyxcbiAgICAgICAgICAgICfkvbAnLFxuICAgICAgICAgICAgJ+S7nycsXG4gICAgICAgICAgICAn5LiHJyxcbiAgICAgICAgICAgICfmi74nLFxuICAgICAgICAgICAgJ+S9sCcsXG4gICAgICAgICAgICAn5LufJyxcbiAgICAgICAgICAgICfkur8nLFxuICAgICAgICAgICAgJ+aLvicsXG4gICAgICAgICAgICAn5L2wJyxcbiAgICAgICAgICAgICfku58nLFxuICAgICAgICAgICAgJ+S4h+S6vycsXG4gICAgICAgICAgICAn5ou+JyxcbiAgICAgICAgICAgICfkvbAnLFxuICAgICAgICAgICAgJ+S7nycsXG4gICAgICAgICAgICAn5YWGJyxcbiAgICAgICAgICAgICfmi74nLFxuICAgICAgICAgICAgJ+S9sCcsXG4gICAgICAgICAgICAn5LufJ1xuICAgICAgICAgIF1cbiAgICAgICAgOiBbXG4gICAgICAgICAgICAnJyxcbiAgICAgICAgICAgICfljYEnLFxuICAgICAgICAgICAgJ+eZvicsXG4gICAgICAgICAgICAn5Y2DJyxcbiAgICAgICAgICAgICfkuIcnLFxuICAgICAgICAgICAgJ+WNgScsXG4gICAgICAgICAgICAn55m+JyxcbiAgICAgICAgICAgICfljYMnLFxuICAgICAgICAgICAgJ+S6vycsXG4gICAgICAgICAgICAn5Y2BJyxcbiAgICAgICAgICAgICfnmb4nLFxuICAgICAgICAgICAgJ+WNgycsXG4gICAgICAgICAgICAn5LiH5Lq/JyxcbiAgICAgICAgICAgICfljYEnLFxuICAgICAgICAgICAgJ+eZvicsXG4gICAgICAgICAgICAn5Y2DJyxcbiAgICAgICAgICAgICflhYYnLFxuICAgICAgICAgICAgJ+WNgScsXG4gICAgICAgICAgICAn55m+JyxcbiAgICAgICAgICAgICfljYMnXG4gICAgICAgICAgXSxcbiAgICAgIGRlYzogWyfop5InLCAn5YiGJywgJ+WOmCcsICfmr6snXVxuICAgIH07XG4gICAgaWYgKGluV29yZHMpIHtcbiAgICAgIHZhbHVlID0gKCt2YWx1ZSkudG9GaXhlZCg1KS50b1N0cmluZygpO1xuICAgIH1cbiAgICBsZXQgaW50ZWdlclJlcyA9ICcnO1xuICAgIGNvbnN0IGludGVnZXJDb3VudCA9IGludGVnZXIubGVuZ3RoO1xuICAgIGlmIChpbnRlZ2VyID09PSAnMCcgfHwgaW50ZWdlckNvdW50ID09PSAwKSB7XG4gICAgICBpbnRlZ2VyUmVzID0gJ+mbtic7XG4gICAgfSBlbHNlIHtcbiAgICAgIGxldCBjbkRlc2MgPSAnJztcbiAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgaW50ZWdlckNvdW50OyBpKyspIHtcbiAgICAgICAgY29uc3QgbiA9ICtpbnRlZ2VyW2ldO1xuICAgICAgICBjb25zdCBqID0gaW50ZWdlckNvdW50IC0gaSAtIDE7XG4gICAgICAgIGNvbnN0IGlzWmVybyA9IGkgPiAxICYmIG4gIT09IDAgJiYgaW50ZWd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3RoIDogMDtcbiAgICBpZiAoZGVjaW1hbCA9PT0gbnVsbCkge1xuICAgICAgZGVjaW1hbFJlcyA9IGluV29yZHMgPyAn5pW0JyA6ICcnO1xuICAgIH0gZWxzZSBpZiAoZGVjaW1hbCA9PT0gJzAnKSB7XG4gICAgICBkZWNpbWFsUmVzID0gJ+mbtic7XG4gICAgfSBlbHNlIHtcbiAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgZGVjaW1hbENvdW50OyBpKyspIHtcbiAgICAgICAgaWYgKGluV29yZHMgJiYgaSA+IHVuaXQuZGVjLmxlbmd0aCAtIDEpIGJyZWFrO1xuICAgICAgICBjb25zdCBuID0gZGVjaW1hbFtpXTtcbiAgICAgICAgY29uc3QgY25aZXJvID0gbiA9PT0gJzAnID8gJ+mbticgOiAnJztcbiAgICAgICAgY29uc3QgY25OdW0gPSB1bml0Lm51bVsrbl07XG4gICAgICAgIGNvbnN0IGNuRGVzYyA9IGluV29yZHMgPyB1bml0LmRlY1tpXSA6ICcnO1xuICAgICAgICBkZWNpbWFsUmVzICs9IGNuWmVybyArIGNuTnVtICsgY25EZXNjO1xuICAgICAgfVxuICAgIH1cbiAgICBjb25zdCByZXQgPVxuICAgICAgc3ltYm9sICtcbiAgICAgIChpbldvcmRzXG4gICAgICAgID8gaW50ZWdlclJlcyArIChkZWNpbWFsUmVzID09PSAn6Zu2JyA/ICflhYPmlbQnIDogYOWFgyR7ZGVjaW1hbFJlc31gKVxuICAgICAgICA6IGludGVnZXJSZXMgKyAoZGVjaW1hbFJlcyA9PT0gJycgPyAnJyA6IGDngrkke2RlY2ltYWxSZXN9YCkpO1xuICAgIHJldHVybiByZXQ7XG4gIH1cbn1cbiJdfQ==
@@ -1,8 +1,8 @@
1
- export const CurrencyMega_Powers = [
2
- { unit: 'Q', value: Math.pow(10, 15) },
3
- { unit: 'T', value: Math.pow(10, 12) },
4
- { unit: 'B', value: Math.pow(10, 9) },
5
- { unit: 'M', value: Math.pow(10, 6) },
6
- { unit: 'K', value: 1000 }
7
- ];
1
+ export const CurrencyMega_Powers = [
2
+ { unit: 'Q', value: Math.pow(10, 15) },
3
+ { unit: 'T', value: Math.pow(10, 12) },
4
+ { unit: 'B', value: Math.pow(10, 9) },
5
+ { unit: 'M', value: Math.pow(10, 6) },
6
+ { unit: 'K', value: 1000 }
7
+ ];
8
8
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kudHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Zvcm1hdC9jdXJyZW5jeS50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyREEsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUc7SUFDakMsRUFBRSxJQUFJLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUMsRUFBRTtJQUN0QyxFQUFFLElBQUksRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFO0lBQ3RDLEVBQUUsSUFBSSxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUU7SUFDckMsRUFBRSxJQUFJLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFBRTtJQUNyQyxFQUFFLElBQUksRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRTtDQUMzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQ3VycmVuY3lTdGFydGluZ1VuaXQ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biAgeyB1bml0OiAnVCcsIHZhbHVlOiBNYXRoLnBvdygxMCwgMTIpIH0sXG4gIHsgdW5pdDogJ0InLCB2YWx1ZTogTWF0aC5wb3coMTAsIDkpIH0sXG4gIHsgdW5pdDogJ00nLCB2YWx1ZTogTWF0aC5wb3coMTAsIDYpIH0sXG4gIHsgdW5pdDogJ0snLCB2YWx1ZTogMTAwMCB9XG5dO1xuXG5leHBvcnQgaW50ZXJmYWNlIEN1cnJlbmN5TWVnYVVuaXRJMThuIHtcbiAgUTogc3RyaW5nO1xuICBUOiBzdHJpbmc7XG4gIEI6IHN0cmluZztcbiAgTTogc3RyaW5nO1xuICBLOiBzdHJpbmc7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ3VycmVuY3lDTllPcHRpb25zIGV4dGVuZHMgQ3VycmVuY3lTdGFydGluZ1VuaXRPcHRpb25zIHtcbiAgLyoqXG4gICAqIFdoZXRoZXIgdG8gcmV0dXJuIHRvIHVwcGVyY2FzZSBub3RhdGlvbiwgZGVmYXVsdDogYHRydWVgXG4gICAqXG4gICAqIOaYr+WQpui/lOWbnuWkp+WGmeihqOekuuazle+8jOm7mOiupO+8mmB0cnVlYFxuICAgKi9cbiAgaW5Xb3Jkcz86IGJvb2xlYW47XG4gIC8qKlxuICAgKiBTcGVjaWZ5IG5lZ2F0aXZlIHNpZ24sIGRlZmF1bHQ6IGBuZWdhdGl2ZWBcbiAgICpcbiAgICog5oyH5a6a6LSf5pWw56ym5Y+377yM6buY6K6k77yaYOi0n2BcbiAgICovXG4gIG1pbnVzU3ltYm9sPzogc3RyaW5nO1xufVxuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9mb3JtYXQvZm9ybWF0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -1,5 +1,5 @@
1
- export * from './string';
2
- export * from './validate';
3
- export * from './currency.service';
4
- export * from './currency.types';
1
+ export * from './string';
2
+ export * from './validate';
3
+ export * from './currency.service';
4
+ export * from './currency.types';
5
5
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N0cmluZyc7XG5leHBvcnQgKiBmcm9tICcuL3ZhbGlkYXRlJztcbmV4cG9ydCAqIGZyb20gJy4vY3VycmVuY3kuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2N1cnJlbmN5LnR5cGVzJztcbiJdfQ==