@yelon/util 13.2.1 → 13.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/array/array-type.service.d.ts +0 -0
  4. package/array/array.d.ts +0 -0
  5. package/array/array.service.d.ts +0 -0
  6. package/array/index.d.ts +0 -0
  7. package/array/package.json +0 -0
  8. package/browser/browser.d.ts +0 -0
  9. package/browser/cookie.service.d.ts +0 -0
  10. package/browser/copy.d.ts +0 -0
  11. package/browser/index.d.ts +0 -0
  12. package/browser/is-empty.d.ts +0 -0
  13. package/browser/package.json +0 -0
  14. package/browser/scroll.service.d.ts +0 -0
  15. package/browser/style.d.ts +0 -0
  16. package/config/abc/date-picker.type.d.ts +0 -0
  17. package/config/abc/error-collect.type.d.ts +0 -0
  18. package/config/abc/image.type.d.ts +0 -0
  19. package/config/abc/index.d.ts +0 -0
  20. package/config/abc/loading.type.d.ts +0 -0
  21. package/config/abc/lodop.type.d.ts +0 -0
  22. package/config/abc/media.type.d.ts +0 -0
  23. package/config/abc/onboarding.type.d.ts +0 -0
  24. package/config/abc/page-header.type.d.ts +0 -0
  25. package/config/abc/pdf.type.d.ts +0 -0
  26. package/config/abc/qr.type.d.ts +0 -0
  27. package/config/abc/se.type.d.ts +0 -0
  28. package/config/abc/sg.type.d.ts +0 -0
  29. package/config/abc/st.type.d.ts +0 -0
  30. package/config/abc/sv.type.d.ts +0 -0
  31. package/config/abc/xlsx.type.d.ts +0 -0
  32. package/config/abc/zip.type.d.ts +0 -0
  33. package/config/acl/acl.type.d.ts +0 -0
  34. package/config/auth/auth.type.d.ts +0 -0
  35. package/config/bis/bis.type.d.ts +0 -0
  36. package/config/cache/cache.type.d.ts +0 -0
  37. package/config/chart/chart.type.d.ts +0 -0
  38. package/config/config.d.ts +0 -0
  39. package/config/config.service.d.ts +0 -0
  40. package/config/config.types.d.ts +0 -0
  41. package/config/index.d.ts +0 -0
  42. package/config/mock/mock.type.d.ts +0 -0
  43. package/config/package.json +0 -0
  44. package/config/sf/sf.type.d.ts +0 -0
  45. package/config/stomp/stomp.type.d.ts +0 -0
  46. package/config/theme/http.type.d.ts +0 -0
  47. package/config/theme/i18n.type.d.ts +6 -0
  48. package/config/theme/index.d.ts +0 -0
  49. package/config/theme/responsive.type.d.ts +0 -0
  50. package/config/util/array.type.d.ts +0 -0
  51. package/config/util/currency.type.d.ts +0 -0
  52. package/date-time/date-time.d.ts +0 -0
  53. package/date-time/index.d.ts +0 -0
  54. package/date-time/package.json +0 -0
  55. package/date-time/picker.d.ts +0 -0
  56. package/date-time/time.d.ts +0 -0
  57. package/decorator/convert.d.ts +0 -0
  58. package/decorator/decorator.d.ts +0 -0
  59. package/decorator/index.d.ts +0 -0
  60. package/decorator/package.json +0 -0
  61. package/decorator/zone-outside.d.ts +0 -0
  62. package/esm2020/array/array-type.service.mjs +0 -0
  63. package/esm2020/array/array.mjs +0 -0
  64. package/esm2020/array/array.service.mjs +3 -3
  65. package/esm2020/array/index.mjs +0 -0
  66. package/esm2020/browser/browser.mjs +0 -0
  67. package/esm2020/browser/cookie.service.mjs +3 -3
  68. package/esm2020/browser/copy.mjs +0 -0
  69. package/esm2020/browser/index.mjs +0 -0
  70. package/esm2020/browser/is-empty.mjs +0 -0
  71. package/esm2020/browser/scroll.service.mjs +3 -3
  72. package/esm2020/browser/style.mjs +0 -0
  73. package/esm2020/config/abc/date-picker.type.mjs +0 -0
  74. package/esm2020/config/abc/error-collect.type.mjs +0 -0
  75. package/esm2020/config/abc/image.type.mjs +0 -0
  76. package/esm2020/config/abc/index.mjs +0 -0
  77. package/esm2020/config/abc/loading.type.mjs +0 -0
  78. package/esm2020/config/abc/lodop.type.mjs +0 -0
  79. package/esm2020/config/abc/media.type.mjs +0 -0
  80. package/esm2020/config/abc/onboarding.type.mjs +0 -0
  81. package/esm2020/config/abc/page-header.type.mjs +0 -0
  82. package/esm2020/config/abc/pdf.type.mjs +0 -0
  83. package/esm2020/config/abc/qr.type.mjs +0 -0
  84. package/esm2020/config/abc/se.type.mjs +0 -0
  85. package/esm2020/config/abc/sg.type.mjs +0 -0
  86. package/esm2020/config/abc/st.type.mjs +0 -0
  87. package/esm2020/config/abc/sv.type.mjs +0 -0
  88. package/esm2020/config/abc/xlsx.type.mjs +0 -0
  89. package/esm2020/config/abc/zip.type.mjs +0 -0
  90. package/esm2020/config/acl/acl.type.mjs +0 -0
  91. package/esm2020/config/auth/auth.type.mjs +0 -0
  92. package/esm2020/config/bis/bis.type.mjs +0 -0
  93. package/esm2020/config/cache/cache.type.mjs +0 -0
  94. package/esm2020/config/chart/chart.type.mjs +0 -0
  95. package/esm2020/config/config.mjs +0 -0
  96. package/esm2020/config/config.service.mjs +3 -3
  97. package/esm2020/config/config.types.mjs +0 -0
  98. package/esm2020/config/index.mjs +0 -0
  99. package/esm2020/config/mock/mock.type.mjs +0 -0
  100. package/esm2020/config/sf/sf.type.mjs +0 -0
  101. package/esm2020/config/stomp/stomp.type.mjs +0 -0
  102. package/esm2020/config/theme/http.type.mjs +0 -0
  103. package/esm2020/config/theme/i18n.type.mjs +1 -1
  104. package/esm2020/config/theme/index.mjs +0 -0
  105. package/esm2020/config/theme/responsive.type.mjs +0 -0
  106. package/esm2020/config/util/array.type.mjs +0 -0
  107. package/esm2020/config/util/currency.type.mjs +0 -0
  108. package/esm2020/date-time/date-time.mjs +0 -0
  109. package/esm2020/date-time/index.mjs +0 -0
  110. package/esm2020/date-time/picker.mjs +0 -0
  111. package/esm2020/date-time/time.mjs +0 -0
  112. package/esm2020/decorator/convert.mjs +0 -0
  113. package/esm2020/decorator/decorator.mjs +0 -0
  114. package/esm2020/decorator/index.mjs +0 -0
  115. package/esm2020/decorator/zone-outside.mjs +0 -0
  116. package/esm2020/form/form.mjs +0 -0
  117. package/esm2020/form/index.mjs +0 -0
  118. package/esm2020/form/match-control.mjs +0 -0
  119. package/esm2020/form/validators.mjs +0 -0
  120. package/esm2020/format/currency.service.mjs +3 -3
  121. package/esm2020/format/currency.types.mjs +0 -0
  122. package/esm2020/format/format.mjs +0 -0
  123. package/esm2020/format/index.mjs +0 -0
  124. package/esm2020/format/string.mjs +0 -0
  125. package/esm2020/format/validate.mjs +0 -0
  126. package/esm2020/index.mjs +0 -0
  127. package/esm2020/math/in-range.mjs +0 -0
  128. package/esm2020/math/index.mjs +0 -0
  129. package/esm2020/math/math.mjs +0 -0
  130. package/esm2020/math/round.mjs +0 -0
  131. package/esm2020/other/assert.mjs +0 -0
  132. package/esm2020/other/deep.mjs +0 -0
  133. package/esm2020/other/index.mjs +0 -0
  134. package/esm2020/other/lazy.service.mjs +3 -3
  135. package/esm2020/other/logger.mjs +0 -0
  136. package/esm2020/other/other.mjs +0 -0
  137. package/esm2020/other/resize.mjs +0 -0
  138. package/esm2020/other/url.mjs +0 -0
  139. package/esm2020/pipes/currency/cny.pipe.mjs +3 -3
  140. package/esm2020/pipes/currency/index.mjs +0 -0
  141. package/esm2020/pipes/currency/mega.pipe.mjs +3 -3
  142. package/esm2020/pipes/currency/module.mjs +4 -4
  143. package/esm2020/pipes/currency/pipe-currency.mjs +0 -0
  144. package/esm2020/pipes/currency/price.pipe.mjs +3 -3
  145. package/esm2020/pipes/filter/filter.pipe.mjs +3 -3
  146. package/esm2020/pipes/filter/index.mjs +0 -0
  147. package/esm2020/pipes/filter/module.mjs +4 -4
  148. package/esm2020/pipes/filter/pipe-filter.mjs +0 -0
  149. package/esm2020/pipes/format/index.mjs +0 -0
  150. package/esm2020/pipes/format/mask.pipe.mjs +3 -3
  151. package/esm2020/pipes/format/module.mjs +4 -4
  152. package/esm2020/pipes/format/pipe-format.mjs +0 -0
  153. package/esm2020/pipes/index.mjs +0 -0
  154. package/esm2020/pipes/pipes.mjs +0 -0
  155. package/esm2020/token/index.mjs +0 -0
  156. package/esm2020/token/page-visibility.mjs +0 -0
  157. package/esm2020/token/token.mjs +0 -0
  158. package/esm2020/token/window.mjs +0 -0
  159. package/esm2020/yelon-util.mjs +0 -0
  160. package/fesm2015/array.mjs +3 -3
  161. package/fesm2015/array.mjs.map +1 -1
  162. package/fesm2015/browser.mjs +6 -6
  163. package/fesm2015/browser.mjs.map +1 -1
  164. package/fesm2015/config.mjs +3 -3
  165. package/fesm2015/config.mjs.map +1 -1
  166. package/fesm2015/date-time.mjs +0 -0
  167. package/fesm2015/date-time.mjs.map +1 -1
  168. package/fesm2015/decorator.mjs +0 -0
  169. package/fesm2015/decorator.mjs.map +1 -1
  170. package/fesm2015/form.mjs +0 -0
  171. package/fesm2015/form.mjs.map +1 -1
  172. package/fesm2015/format.mjs +3 -3
  173. package/fesm2015/format.mjs.map +1 -1
  174. package/fesm2015/math.mjs +0 -0
  175. package/fesm2015/math.mjs.map +1 -1
  176. package/fesm2015/other.mjs +3 -3
  177. package/fesm2015/other.mjs.map +1 -1
  178. package/fesm2015/pipe-currency.mjs +13 -13
  179. package/fesm2015/pipe-currency.mjs.map +1 -1
  180. package/fesm2015/pipe-filter.mjs +7 -7
  181. package/fesm2015/pipe-filter.mjs.map +1 -1
  182. package/fesm2015/pipe-format.mjs +7 -7
  183. package/fesm2015/pipe-format.mjs.map +1 -1
  184. package/fesm2015/pipes.mjs +0 -0
  185. package/fesm2015/pipes.mjs.map +1 -1
  186. package/fesm2015/token.mjs +0 -0
  187. package/fesm2015/token.mjs.map +1 -1
  188. package/fesm2015/yelon-util.mjs +0 -0
  189. package/fesm2015/yelon-util.mjs.map +1 -1
  190. package/fesm2020/array.mjs +3 -3
  191. package/fesm2020/array.mjs.map +1 -1
  192. package/fesm2020/browser.mjs +6 -6
  193. package/fesm2020/browser.mjs.map +1 -1
  194. package/fesm2020/config.mjs +3 -3
  195. package/fesm2020/config.mjs.map +1 -1
  196. package/fesm2020/date-time.mjs +0 -0
  197. package/fesm2020/date-time.mjs.map +1 -1
  198. package/fesm2020/decorator.mjs +0 -0
  199. package/fesm2020/decorator.mjs.map +1 -1
  200. package/fesm2020/form.mjs +0 -0
  201. package/fesm2020/form.mjs.map +1 -1
  202. package/fesm2020/format.mjs +3 -3
  203. package/fesm2020/format.mjs.map +1 -1
  204. package/fesm2020/math.mjs +0 -0
  205. package/fesm2020/math.mjs.map +1 -1
  206. package/fesm2020/other.mjs +3 -3
  207. package/fesm2020/other.mjs.map +1 -1
  208. package/fesm2020/pipe-currency.mjs +13 -13
  209. package/fesm2020/pipe-currency.mjs.map +1 -1
  210. package/fesm2020/pipe-filter.mjs +7 -7
  211. package/fesm2020/pipe-filter.mjs.map +1 -1
  212. package/fesm2020/pipe-format.mjs +7 -7
  213. package/fesm2020/pipe-format.mjs.map +1 -1
  214. package/fesm2020/pipes.mjs +0 -0
  215. package/fesm2020/pipes.mjs.map +1 -1
  216. package/fesm2020/token.mjs +0 -0
  217. package/fesm2020/token.mjs.map +1 -1
  218. package/fesm2020/yelon-util.mjs +0 -0
  219. package/fesm2020/yelon-util.mjs.map +1 -1
  220. package/form/form.d.ts +0 -0
  221. package/form/index.d.ts +0 -0
  222. package/form/match-control.d.ts +0 -0
  223. package/form/package.json +0 -0
  224. package/form/validators.d.ts +0 -0
  225. package/format/currency.service.d.ts +0 -0
  226. package/format/currency.types.d.ts +0 -0
  227. package/format/format.d.ts +0 -0
  228. package/format/index.d.ts +0 -0
  229. package/format/package.json +0 -0
  230. package/format/string.d.ts +0 -0
  231. package/format/validate.d.ts +0 -0
  232. package/index.d.ts +0 -0
  233. package/math/in-range.d.ts +0 -0
  234. package/math/index.d.ts +0 -0
  235. package/math/math.d.ts +0 -0
  236. package/math/package.json +0 -0
  237. package/math/round.d.ts +0 -0
  238. package/other/assert.d.ts +0 -0
  239. package/other/deep.d.ts +0 -0
  240. package/other/index.d.ts +0 -0
  241. package/other/lazy.service.d.ts +0 -0
  242. package/other/logger.d.ts +0 -0
  243. package/other/other.d.ts +0 -0
  244. package/other/package.json +0 -0
  245. package/other/resize.d.ts +0 -0
  246. package/other/url.d.ts +0 -0
  247. package/package.json +1 -1
  248. package/pipes/currency/cny.pipe.d.ts +0 -0
  249. package/pipes/currency/index.d.ts +0 -0
  250. package/pipes/currency/mega.pipe.d.ts +0 -0
  251. package/pipes/currency/module.d.ts +0 -0
  252. package/pipes/currency/package.json +0 -0
  253. package/pipes/currency/pipe-currency.d.ts +0 -0
  254. package/pipes/currency/price.pipe.d.ts +0 -0
  255. package/pipes/filter/filter.pipe.d.ts +0 -0
  256. package/pipes/filter/index.d.ts +0 -0
  257. package/pipes/filter/module.d.ts +0 -0
  258. package/pipes/filter/package.json +0 -0
  259. package/pipes/filter/pipe-filter.d.ts +0 -0
  260. package/pipes/format/index.d.ts +0 -0
  261. package/pipes/format/mask.pipe.d.ts +0 -0
  262. package/pipes/format/module.d.ts +0 -0
  263. package/pipes/format/package.json +0 -0
  264. package/pipes/format/pipe-format.d.ts +0 -0
  265. package/pipes/index.d.ts +0 -0
  266. package/pipes/package.json +0 -0
  267. package/pipes/pipes.d.ts +0 -0
  268. package/token/index.d.ts +0 -0
  269. package/token/package.json +0 -0
  270. package/token/page-visibility.d.ts +0 -0
  271. package/token/token.d.ts +0 -0
  272. package/token/window.d.ts +0 -0
  273. package/yelon-util.d.ts +0 -0
@@ -11,9 +11,9 @@ class FilterPipe {
11
11
  return array.filter(i => matcher(i, ...args));
12
12
  }
13
13
  }
14
- FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
15
- FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipe, name: "filter" });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipe, decorators: [{
14
+ FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
15
+ FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipe, name: "filter" });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipe, decorators: [{
17
17
  type: Pipe,
18
18
  args: [{ name: 'filter' }]
19
19
  }] });
@@ -21,10 +21,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImpor
21
21
  const PIPES = [FilterPipe];
22
22
  class FilterPipeModule {
23
23
  }
24
- FilterPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
- FilterPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule, declarations: [FilterPipe], exports: [FilterPipe] });
26
- FilterPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule, decorators: [{
24
+ FilterPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
+ FilterPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipeModule, declarations: [FilterPipe], exports: [FilterPipe] });
26
+ FilterPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipeModule });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FilterPipeModule, decorators: [{
28
28
  type: NgModule,
29
29
  args: [{
30
30
  declarations: PIPES,
@@ -1 +1 @@
1
- {"version":3,"file":"pipe-filter.mjs","sources":["../../../../packages/util/pipes/filter/filter.pipe.ts","../../../../packages/util/pipes/filter/module.ts","../../../../packages/util/pipes/filter/pipe-filter.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n@Pipe({ name: 'filter' })\nexport class FilterPipe implements PipeTransform {\n /**\n * Filter array\n *\n * 过滤数组\n */\n transform<T>(array: readonly T[], matcher: (item: T, ...args: NzSafeAny[]) => boolean, ...args: NzSafeAny[]): T[] {\n return array.filter(i => matcher(i, ...args));\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { FilterPipe } from './filter.pipe';\n\nconst PIPES = [FilterPipe];\n\n@NgModule({\n declarations: PIPES,\n exports: PIPES\n})\nexport class FilterPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,UAAU;;;;;;IAMrB,SAAS,CAAI,KAAmB,EAAE,OAAmD,EAAE,GAAG,IAAiB;QACzG,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;KAC/C;;uGARU,UAAU;qGAAV,UAAU;2FAAV,UAAU;kBADtB,IAAI;mBAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;;;ACAxB,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,CAAC;MAMd,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,iBANd,UAAU,aAAV,UAAU;8GAMZ,gBAAgB;2FAAhB,gBAAgB;kBAJ5B,QAAQ;mBAAC;oBACR,YAAY,EAAE,KAAK;oBACnB,OAAO,EAAE,KAAK;iBACf;;;ACTD;;;;;;"}
1
+ {"version":3,"file":"pipe-filter.mjs","sources":["../../../../packages/util/pipes/filter/filter.pipe.ts","../../../../packages/util/pipes/filter/module.ts","../../../../packages/util/pipes/filter/pipe-filter.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n@Pipe({ name: 'filter' })\nexport class FilterPipe implements PipeTransform {\n /**\n * Filter array\n *\n * 过滤数组\n */\n transform<T>(array: readonly T[], matcher: (item: T, ...args: NzSafeAny[]) => boolean, ...args: NzSafeAny[]): T[] {\n return array.filter(i => matcher(i, ...args));\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { FilterPipe } from './filter.pipe';\n\nconst PIPES = [FilterPipe];\n\n@NgModule({\n declarations: PIPES,\n exports: PIPES\n})\nexport class FilterPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,UAAU,CAAA;AACrB;;;;AAIG;AACH,IAAA,SAAS,CAAI,KAAmB,EAAE,OAAmD,EAAE,GAAG,IAAiB,EAAA;AACzG,QAAA,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;KAC/C;;uGARU,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;qGAAV,UAAU,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA,CAAA;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBADtB,IAAI;mBAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAA;;;ACAxB,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,CAAC;MAMd,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,YAAA,EAAA,CANd,UAAU,CAAA,EAAA,OAAA,EAAA,CAAV,UAAU,CAAA,EAAA,CAAA,CAAA;8GAMZ,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,KAAK;AACnB,oBAAA,OAAO,EAAE,KAAK;AACf,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -26,9 +26,9 @@ class FormatMaskPipe {
26
26
  return formatMask(value, mask);
27
27
  }
28
28
  }
29
- FormatMaskPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
30
- FormatMaskPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatMaskPipe, name: "mask" });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatMaskPipe, decorators: [{
29
+ FormatMaskPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
30
+ FormatMaskPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatMaskPipe, name: "mask" });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatMaskPipe, decorators: [{
32
32
  type: Pipe,
33
33
  args: [{ name: 'mask' }]
34
34
  }] });
@@ -36,10 +36,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImpor
36
36
  const PIPES = [FormatMaskPipe];
37
37
  class FormatPipeModule {
38
38
  }
39
- FormatPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
- FormatPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] });
41
- FormatPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule, decorators: [{
39
+ FormatPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
+ FormatPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] });
41
+ FormatPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatPipeModule });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormatPipeModule, decorators: [{
43
43
  type: NgModule,
44
44
  args: [{
45
45
  declarations: PIPES,
@@ -1 +1 @@
1
- {"version":3,"file":"pipe-format.mjs","sources":["../../../../packages/util/pipes/format/mask.pipe.ts","../../../../packages/util/pipes/format/module.ts","../../../../packages/util/pipes/format/pipe-format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\nimport { formatMask, FormatMaskOption } from '@yelon/util/format';\n\n@Pipe({ name: 'mask' })\nexport class FormatMaskPipe implements PipeTransform {\n /**\n * Format mask\n *\n * 格式化掩码\n *\n * | 字符 | 描述 |\n * | --- | --- |\n * | `0` | 任意数字,若该位置字符不符合,则默认为 `0` 填充 |\n * | `9` | 任意数字 |\n * | `#` | 任意字符 |\n * | `U` | 转换大写 |\n * | `L` | 转换小写 |\n * | `*` | 转换为 `*` 字符 |\n *\n * ```ts\n * formatMask('123', '(###)') => (123)\n * formatMask('15900000000', '999****9999') => 159****0000\n * ```\n */\n transform(value: string, mask: string | FormatMaskOption): string {\n return formatMask(value, mask);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { FormatMaskPipe } from './mask.pipe';\n\nconst PIPES = [FormatMaskPipe];\n\n@NgModule({\n declarations: PIPES,\n exports: PIPES\n})\nexport class FormatPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAKa,cAAc;;;;;;;;;;;;;;;;;;;;IAoBzB,SAAS,CAAC,KAAa,EAAE,IAA+B;QACtD,OAAO,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;KAChC;;2GAtBU,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAD1B,IAAI;mBAAC,EAAE,IAAI,EAAE,MAAM,EAAE;;;ACAtB,MAAM,KAAK,GAAG,CAAC,cAAc,CAAC,CAAC;MAMlB,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,iBANd,cAAc,aAAd,cAAc;8GAMhB,gBAAgB;2FAAhB,gBAAgB;kBAJ5B,QAAQ;mBAAC;oBACR,YAAY,EAAE,KAAK;oBACnB,OAAO,EAAE,KAAK;iBACf;;;ACTD;;;;;;"}
1
+ {"version":3,"file":"pipe-format.mjs","sources":["../../../../packages/util/pipes/format/mask.pipe.ts","../../../../packages/util/pipes/format/module.ts","../../../../packages/util/pipes/format/pipe-format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\nimport { formatMask, FormatMaskOption } from '@yelon/util/format';\n\n@Pipe({ name: 'mask' })\nexport class FormatMaskPipe implements PipeTransform {\n /**\n * Format mask\n *\n * 格式化掩码\n *\n * | 字符 | 描述 |\n * | --- | --- |\n * | `0` | 任意数字,若该位置字符不符合,则默认为 `0` 填充 |\n * | `9` | 任意数字 |\n * | `#` | 任意字符 |\n * | `U` | 转换大写 |\n * | `L` | 转换小写 |\n * | `*` | 转换为 `*` 字符 |\n *\n * ```ts\n * formatMask('123', '(###)') => (123)\n * formatMask('15900000000', '999****9999') => 159****0000\n * ```\n */\n transform(value: string, mask: string | FormatMaskOption): string {\n return formatMask(value, mask);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { FormatMaskPipe } from './mask.pipe';\n\nconst PIPES = [FormatMaskPipe];\n\n@NgModule({\n declarations: PIPES,\n exports: PIPES\n})\nexport class FormatPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAKa,cAAc,CAAA;AACzB;;;;;;;;;;;;;;;;;;AAkBG;IACH,SAAS,CAAC,KAAa,EAAE,IAA+B,EAAA;AACtD,QAAA,OAAO,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;KAChC;;2GAtBU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,IAAI;mBAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAA;;;ACAtB,MAAM,KAAK,GAAG,CAAC,cAAc,CAAC,CAAC;MAMlB,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,YAAA,EAAA,CANd,cAAc,CAAA,EAAA,OAAA,EAAA,CAAd,cAAc,CAAA,EAAA,CAAA,CAAA;8GAMhB,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,KAAK;AACnB,oBAAA,OAAO,EAAE,KAAK;AACf,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"pipes.mjs","sources":["../../../../packages/util/pipes/pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;"}
1
+ {"version":3,"file":"pipes.mjs","sources":["../../../../packages/util/pipes/pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;AAEG"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"token.mjs","sources":["../../../../packages/util/token/window.ts","../../../../packages/util/token/page-visibility.ts","../../../../packages/util/token/token.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { inject, InjectionToken } from '@angular/core';\n\n/**\n * Access to global `window` object\n *\n * 访问全局 `window` 对象\n */\nexport const WINDOW = new InjectionToken<Window>('WINDOW', {\n factory: () => {\n const { defaultView } = inject(DOCUMENT);\n if (!defaultView) {\n throw new Error('Window is not available');\n }\n return defaultView;\n }\n});\n","import { DOCUMENT } from '@angular/common';\nimport { inject, InjectionToken } from '@angular/core';\nimport { fromEvent, Observable } from 'rxjs';\nimport { distinctUntilChanged, map, share, startWith } from 'rxjs/operators';\n\n/**\n * Use the `visibilitychange` event to monitor whether the browser tab is visible, which is generally used when the user leaves the browser tab to temp interrupt the backend to continue sending requests\n *\n * 通过 `visibilitychange` 事件来监听浏览器选项卡是否可见,一般用于当用户离开应用时暂时中断后端持续发送请求时\n */\nexport const PAGE_VISIBILITY = new InjectionToken<Observable<boolean>>('PAGE_VISIBILITY`', {\n factory: () => {\n const doc = inject(DOCUMENT);\n return fromEvent(doc, 'visibilitychange').pipe(\n startWith(0),\n map(() => !doc.hidden),\n distinctUntilChanged(),\n share()\n );\n }\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;;;;MAKa,MAAM,GAAG,IAAI,cAAc,CAAS,QAAQ,EAAE;IACzD,OAAO,EAAE;QACP,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QACzC,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC5C;QACD,OAAO,WAAW,CAAC;KACpB;CACF;;ACXD;;;;;MAKa,eAAe,GAAG,IAAI,cAAc,CAAsB,kBAAkB,EAAE;IACzF,OAAO,EAAE;QACP,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC7B,OAAO,SAAS,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,IAAI,CAC5C,SAAS,CAAC,CAAC,CAAC,EACZ,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EACtB,oBAAoB,EAAE,EACtB,KAAK,EAAE,CACR,CAAC;KACH;CACF;;ACpBD;;;;;;"}
1
+ {"version":3,"file":"token.mjs","sources":["../../../../packages/util/token/window.ts","../../../../packages/util/token/page-visibility.ts","../../../../packages/util/token/token.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { inject, InjectionToken } from '@angular/core';\n\n/**\n * Access to global `window` object\n *\n * 访问全局 `window` 对象\n */\nexport const WINDOW = new InjectionToken<Window>('WINDOW', {\n factory: () => {\n const { defaultView } = inject(DOCUMENT);\n if (!defaultView) {\n throw new Error('Window is not available');\n }\n return defaultView;\n }\n});\n","import { DOCUMENT } from '@angular/common';\nimport { inject, InjectionToken } from '@angular/core';\nimport { fromEvent, Observable } from 'rxjs';\nimport { distinctUntilChanged, map, share, startWith } from 'rxjs/operators';\n\n/**\n * Use the `visibilitychange` event to monitor whether the browser tab is visible, which is generally used when the user leaves the browser tab to temp interrupt the backend to continue sending requests\n *\n * 通过 `visibilitychange` 事件来监听浏览器选项卡是否可见,一般用于当用户离开应用时暂时中断后端持续发送请求时\n */\nexport const PAGE_VISIBILITY = new InjectionToken<Observable<boolean>>('PAGE_VISIBILITY`', {\n factory: () => {\n const doc = inject(DOCUMENT);\n return fromEvent(doc, 'visibilitychange').pipe(\n startWith(0),\n map(() => !doc.hidden),\n distinctUntilChanged(),\n share()\n );\n }\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;;;AAIG;MACU,MAAM,GAAG,IAAI,cAAc,CAAS,QAAQ,EAAE;IACzD,OAAO,EAAE,MAAK;QACZ,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QACzC,IAAI,CAAC,WAAW,EAAE;AAChB,YAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAC5C,SAAA;AACD,QAAA,OAAO,WAAW,CAAC;KACpB;AACF,CAAA;;ACXD;;;;AAIG;MACU,eAAe,GAAG,IAAI,cAAc,CAAsB,kBAAkB,EAAE;IACzF,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC7B,QAAA,OAAO,SAAS,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,IAAI,CAC5C,SAAS,CAAC,CAAC,CAAC,EACZ,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EACtB,oBAAoB,EAAE,EACtB,KAAK,EAAE,CACR,CAAC;KACH;AACF,CAAA;;ACpBD;;AAEG;;;;"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"yelon-util.mjs","sources":["../../../../packages/util/yelon-util.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;"}
1
+ {"version":3,"file":"yelon-util.mjs","sources":["../../../../packages/util/yelon-util.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;AAEG"}
package/form/form.d.ts CHANGED
File without changes
package/form/index.d.ts CHANGED
File without changes
File without changes
package/form/package.json CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/format/index.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
package/index.d.ts CHANGED
File without changes
File without changes
package/math/index.d.ts CHANGED
File without changes
package/math/math.d.ts CHANGED
File without changes
package/math/package.json CHANGED
File without changes
package/math/round.d.ts CHANGED
File without changes
package/other/assert.d.ts CHANGED
File without changes
package/other/deep.d.ts CHANGED
File without changes
package/other/index.d.ts CHANGED
File without changes
File without changes
package/other/logger.d.ts CHANGED
File without changes
package/other/other.d.ts CHANGED
File without changes
File without changes
package/other/resize.d.ts CHANGED
File without changes
package/other/url.d.ts CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yelon/util",
3
- "version": "13.2.1",
3
+ "version": "13.4.2",
4
4
  "author": "devcui<devcui@outlook.com>",
5
5
  "license": "MIT",
6
6
  "dependencies": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/pipes/index.d.ts CHANGED
File without changes
File without changes
package/pipes/pipes.d.ts CHANGED
File without changes
package/token/index.d.ts CHANGED
File without changes
File without changes
File without changes
package/token/token.d.ts CHANGED
File without changes
package/token/window.d.ts CHANGED
File without changes
package/yelon-util.d.ts CHANGED
File without changes