@yelon/util 18.3.0 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1 -1
  3. package/browser/cookie.service.d.ts +1 -3
  4. package/browser/style.d.ts +1 -3
  5. package/config/abc/date-picker.type.d.ts +2 -5
  6. package/config/abc/exception.type.d.ts +5 -7
  7. package/config/abc/loading.type.d.ts +1 -3
  8. package/config/abc/media.type.d.ts +1 -2
  9. package/config/abc/st.type.d.ts +11 -18
  10. package/config/acl/acl.type.d.ts +1 -2
  11. package/config/chart/chart.type.d.ts +1 -4
  12. package/config/config.service.d.ts +5 -4
  13. package/config/sf/sf.type.d.ts +3 -6
  14. package/config/theme/responsive.type.d.ts +8 -10
  15. package/date-time/time.d.ts +1 -2
  16. package/decorator/convert.d.ts +2 -3
  17. package/fesm2022/array.mjs +4 -4
  18. package/fesm2022/array.mjs.map +1 -1
  19. package/fesm2022/browser.mjs +13 -16
  20. package/fesm2022/browser.mjs.map +1 -1
  21. package/fesm2022/config.mjs +33 -18
  22. package/fesm2022/config.mjs.map +1 -1
  23. package/fesm2022/date-time.mjs +1 -1
  24. package/fesm2022/date-time.mjs.map +1 -1
  25. package/fesm2022/decorator.mjs.map +1 -1
  26. package/fesm2022/format.mjs +9 -7
  27. package/fesm2022/format.mjs.map +1 -1
  28. package/fesm2022/mcache.mjs.map +1 -1
  29. package/fesm2022/mtypes.mjs +4 -5
  30. package/fesm2022/mtypes.mjs.map +1 -1
  31. package/fesm2022/other.mjs +14 -17
  32. package/fesm2022/other.mjs.map +1 -1
  33. package/fesm2022/pipe-currency.mjs +20 -26
  34. package/fesm2022/pipe-currency.mjs.map +1 -1
  35. package/fesm2022/pipe-filter.mjs +8 -8
  36. package/fesm2022/pipe-filter.mjs.map +1 -1
  37. package/fesm2022/pipe-format.mjs +8 -8
  38. package/fesm2022/pipe-format.mjs.map +1 -1
  39. package/format/string.d.ts +3 -6
  40. package/mtypes/header-menu.type.d.ts +2 -3
  41. package/mtypes/menu.type.d.ts +5 -6
  42. package/mtypes/page.d.ts +1 -2
  43. package/other/deep.d.ts +4 -7
  44. package/other/lazy.service.d.ts +2 -5
  45. package/other/logger.d.ts +3 -4
  46. package/other/path-to-regexp.service.d.ts +11 -12
  47. package/package.json +14 -48
  48. package/pipes/filter/filter.pipe.d.ts +1 -2
  49. package/esm2022/array/array-type.service.mjs +0 -2
  50. package/esm2022/array/array.mjs +0 -5
  51. package/esm2022/array/array.service.mjs +0 -278
  52. package/esm2022/array/index.mjs +0 -3
  53. package/esm2022/browser/browser.mjs +0 -5
  54. package/esm2022/browser/cookie.service.mjs +0 -100
  55. package/esm2022/browser/copy.mjs +0 -28
  56. package/esm2022/browser/index.mjs +0 -6
  57. package/esm2022/browser/is-empty.mjs +0 -19
  58. package/esm2022/browser/scroll.service.mjs +0 -85
  59. package/esm2022/browser/style.mjs +0 -38
  60. package/esm2022/config/abc/cell.type.mjs +0 -2
  61. package/esm2022/config/abc/date-picker.type.mjs +0 -2
  62. package/esm2022/config/abc/error-collect.type.mjs +0 -2
  63. package/esm2022/config/abc/exception.type.mjs +0 -2
  64. package/esm2022/config/abc/image.type.mjs +0 -2
  65. package/esm2022/config/abc/index.mjs +0 -18
  66. package/esm2022/config/abc/loading.type.mjs +0 -2
  67. package/esm2022/config/abc/lodop.type.mjs +0 -2
  68. package/esm2022/config/abc/media.type.mjs +0 -2
  69. package/esm2022/config/abc/onboarding.type.mjs +0 -2
  70. package/esm2022/config/abc/page-header.type.mjs +0 -2
  71. package/esm2022/config/abc/pdf.type.mjs +0 -2
  72. package/esm2022/config/abc/se.type.mjs +0 -2
  73. package/esm2022/config/abc/sg.type.mjs +0 -2
  74. package/esm2022/config/abc/st.type.mjs +0 -2
  75. package/esm2022/config/abc/sv.type.mjs +0 -3
  76. package/esm2022/config/abc/xlsx.type.mjs +0 -2
  77. package/esm2022/config/abc/zip.type.mjs +0 -2
  78. package/esm2022/config/acl/acl.type.mjs +0 -2
  79. package/esm2022/config/auth/auth.type.mjs +0 -2
  80. package/esm2022/config/bis/bis.type.mjs +0 -2
  81. package/esm2022/config/cache/cache.type.mjs +0 -2
  82. package/esm2022/config/chart/chart.type.mjs +0 -2
  83. package/esm2022/config/config.mjs +0 -5
  84. package/esm2022/config/config.service.mjs +0 -38
  85. package/esm2022/config/config.types.mjs +0 -12
  86. package/esm2022/config/index.mjs +0 -15
  87. package/esm2022/config/mock/mock.type.mjs +0 -2
  88. package/esm2022/config/sf/sf.type.mjs +0 -2
  89. package/esm2022/config/socket/socket.type.mjs +0 -2
  90. package/esm2022/config/theme/http.type.mjs +0 -2
  91. package/esm2022/config/theme/i18n.type.mjs +0 -2
  92. package/esm2022/config/theme/index.mjs +0 -5
  93. package/esm2022/config/theme/pipe.type.mjs +0 -2
  94. package/esm2022/config/theme/responsive.type.mjs +0 -2
  95. package/esm2022/config/util/array.type.mjs +0 -2
  96. package/esm2022/config/util/currency.type.mjs +0 -2
  97. package/esm2022/date-time/date-time.mjs +0 -5
  98. package/esm2022/date-time/index.mjs +0 -3
  99. package/esm2022/date-time/picker.mjs +0 -116
  100. package/esm2022/date-time/time.mjs +0 -103
  101. package/esm2022/decorator/convert.mjs +0 -66
  102. package/esm2022/decorator/decorator.mjs +0 -5
  103. package/esm2022/decorator/index.mjs +0 -3
  104. package/esm2022/decorator/zone-outside.mjs +0 -57
  105. package/esm2022/form/form.mjs +0 -5
  106. package/esm2022/form/index.mjs +0 -3
  107. package/esm2022/form/match-control.mjs +0 -30
  108. package/esm2022/form/validators.mjs +0 -81
  109. package/esm2022/format/currency.service.mjs +0 -233
  110. package/esm2022/format/currency.types.mjs +0 -8
  111. package/esm2022/format/format.mjs +0 -5
  112. package/esm2022/format/index.mjs +0 -5
  113. package/esm2022/format/string.mjs +0 -85
  114. package/esm2022/format/validate.mjs +0 -94
  115. package/esm2022/index.mjs +0 -14
  116. package/esm2022/math/in-range.mjs +0 -25
  117. package/esm2022/math/index.mjs +0 -3
  118. package/esm2022/math/math.mjs +0 -5
  119. package/esm2022/math/round.mjs +0 -53
  120. package/esm2022/mcache/index.mjs +0 -2
  121. package/esm2022/mcache/localStorageUtils.mjs +0 -60
  122. package/esm2022/mcache/mcache.mjs +0 -5
  123. package/esm2022/mtypes/authority.type.mjs +0 -2
  124. package/esm2022/mtypes/header-menu.type.mjs +0 -2
  125. package/esm2022/mtypes/index.mjs +0 -10
  126. package/esm2022/mtypes/menu.type.mjs +0 -2
  127. package/esm2022/mtypes/mtypes.mjs +0 -5
  128. package/esm2022/mtypes/nav.types.mjs +0 -9
  129. package/esm2022/mtypes/page.mjs +0 -42
  130. package/esm2022/mtypes/project-info.types.mjs +0 -2
  131. package/esm2022/mtypes/response.mjs +0 -2
  132. package/esm2022/mtypes/role.type.mjs +0 -2
  133. package/esm2022/mtypes/user.types.mjs +0 -2
  134. package/esm2022/other/assert.mjs +0 -67
  135. package/esm2022/other/deep.mjs +0 -78
  136. package/esm2022/other/favicon.mjs +0 -29
  137. package/esm2022/other/index.mjs +0 -8
  138. package/esm2022/other/lazy.service.mjs +0 -129
  139. package/esm2022/other/logger.mjs +0 -33
  140. package/esm2022/other/other.mjs +0 -5
  141. package/esm2022/other/path-to-regexp.service.mjs +0 -239
  142. package/esm2022/other/resize.mjs +0 -4
  143. package/esm2022/pipes/currency/cny.pipe.mjs +0 -23
  144. package/esm2022/pipes/currency/index.mjs +0 -5
  145. package/esm2022/pipes/currency/mega.pipe.mjs +0 -25
  146. package/esm2022/pipes/currency/module.mjs +0 -19
  147. package/esm2022/pipes/currency/pipe-currency.mjs +0 -5
  148. package/esm2022/pipes/currency/price.pipe.mjs +0 -27
  149. package/esm2022/pipes/filter/filter.pipe.mjs +0 -20
  150. package/esm2022/pipes/filter/index.mjs +0 -3
  151. package/esm2022/pipes/filter/module.mjs +0 -17
  152. package/esm2022/pipes/filter/pipe-filter.mjs +0 -5
  153. package/esm2022/pipes/format/index.mjs +0 -3
  154. package/esm2022/pipes/format/mask.pipe.mjs +0 -34
  155. package/esm2022/pipes/format/module.mjs +0 -17
  156. package/esm2022/pipes/format/pipe-format.mjs +0 -5
  157. package/esm2022/pipes/index.mjs +0 -4
  158. package/esm2022/pipes/pipes.mjs +0 -5
  159. package/esm2022/token/index.mjs +0 -3
  160. package/esm2022/token/page-visibility.mjs +0 -15
  161. package/esm2022/token/token.mjs +0 -5
  162. package/esm2022/token/window.mjs +0 -17
  163. package/esm2022/yelon-util.mjs +0 -5
@@ -1,3 +0,0 @@
1
- export * from './filter.pipe';
2
- export * from './module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2ZpbHRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmlsdGVyLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2R1bGUnO1xuIl19
@@ -1,17 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { FilterPipe } from './filter.pipe';
3
- import * as i0 from "@angular/core";
4
- const PIPES = [FilterPipe];
5
- export class FilterPipeModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: FilterPipeModule, imports: [FilterPipe], exports: [FilterPipe] }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FilterPipeModule }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FilterPipeModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: PIPES,
14
- exports: PIPES
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9maWx0ZXIvbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFFM0MsTUFBTSxLQUFLLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQztBQU0zQixNQUFNLE9BQU8sZ0JBQWdCOytHQUFoQixnQkFBZ0I7Z0hBQWhCLGdCQUFnQixZQU5kLFVBQVUsYUFBVixVQUFVO2dIQU1aLGdCQUFnQjs7NEZBQWhCLGdCQUFnQjtrQkFKNUIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsS0FBSztvQkFDZCxPQUFPLEVBQUUsS0FBSztpQkFDZiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IEZpbHRlclBpcGUgfSBmcm9tICcuL2ZpbHRlci5waXBlJztcblxuY29uc3QgUElQRVMgPSBbRmlsdGVyUGlwZV07XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFBJUEVTLFxuICBleHBvcnRzOiBQSVBFU1xufSlcbmV4cG9ydCBjbGFzcyBGaWx0ZXJQaXBlTW9kdWxlIHt9XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZS1maWx0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2ZpbHRlci9waXBlLWZpbHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * from './mask.pipe';
2
- export * from './module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWFzay5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9kdWxlJztcbiJdfQ==
@@ -1,34 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { formatMask } from '@yelon/util/format';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Format mask
6
- *
7
- * 格式化掩码
8
- *
9
- * | 字符 | 描述 |
10
- * | --- | --- |
11
- * | `0` | 任意数字,若该位置字符不符合,则默认为 `0` 填充 |
12
- * | `9` | 任意数字 |
13
- * | `#` | 任意字符 |
14
- * | `U` | 转换大写 |
15
- * | `L` | 转换小写 |
16
- * | `*` | 转换为 `*` 字符 |
17
- *
18
- * ```ts
19
- * formatMask('123', '(###)') => (123)
20
- * formatMask('15900000000', '999****9999') => 159****0000
21
- * ```
22
- */
23
- export class FormatMaskPipe {
24
- transform(value, mask) {
25
- return formatMask(value, mask);
26
- }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
28
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: FormatMaskPipe, isStandalone: true, name: "mask" }); }
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FormatMaskPipe, decorators: [{
31
- type: Pipe,
32
- args: [{ name: 'mask', standalone: true }]
33
- }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9mb3JtYXQvbWFzay5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBRXBELE9BQU8sRUFBRSxVQUFVLEVBQW9CLE1BQU0sb0JBQW9CLENBQUM7O0FBRWxFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FrQkc7QUFFSCxNQUFNLE9BQU8sY0FBYztJQUN6QixTQUFTLENBQUMsS0FBYSxFQUFFLElBQStCO1FBQ3RELE9BQU8sVUFBVSxDQUFDLEtBQUssRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNqQyxDQUFDOytHQUhVLGNB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IG1hc2s6IHN0cmluZyB8IEZvcm1hdE1hc2tPcHRpb24pOiBzdHJpbmcge1xuICAgIHJldHVybiBmb3JtYXRNYXNrKHZhbHVlLCBtYXNrKTtcbiAgfVxufVxuIl19
@@ -1,17 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { FormatMaskPipe } from './mask.pipe';
3
- import * as i0 from "@angular/core";
4
- const PIPES = [FormatMaskPipe];
5
- export class FormatPipeModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: FormatPipeModule, imports: [FormatMaskPipe], exports: [FormatMaskPipe] }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FormatPipeModule }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: FormatPipeModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: PIPES,
14
- exports: PIPES
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9mb3JtYXQvbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGFBQWEsQ0FBQzs7QUFFN0MsTUFBTSxLQUFLLEdBQUcsQ0FBQyxjQUFjLENBQUMsQ0FBQztBQU0vQixNQUFNLE9BQU8sZ0JBQWdCOytHQUFoQixnQkFBZ0I7Z0hBQWhCLGdCQUFnQixZQU5kLGNBQWMsYUFBZCxjQUFjO2dIQU1oQixnQkFBZ0I7OzRGQUFoQixnQkFBZ0I7a0JBSjVCLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFLEtBQUs7b0JBQ2QsT0FBTyxFQUFFLEtBQUs7aUJBQ2YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBGb3JtYXRNYXNrUGlwZSB9IGZyb20gJy4vbWFzay5waXBlJztcblxuY29uc3QgUElQRVMgPSBbRm9ybWF0TWFza1BpcGVdO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBQSVBFUyxcbiAgZXhwb3J0czogUElQRVNcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWF0UGlwZU1vZHVsZSB7fVxuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZS1mb3JtYXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2Zvcm1hdC9waXBlLWZvcm1hdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from '@yelon/util/pipes/currency';
2
- export * from '@yelon/util/pipes/format';
3
- export * from '@yelon/util/pipes/filter';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvcGlwZXMvY3VycmVuY3knO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvcGlwZXMvZm9ybWF0JztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL3BpcGVzL2ZpbHRlcic7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL3BpcGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -1,3 +0,0 @@
1
- export * from './window';
2
- export * from './page-visibility';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3Rva2VuL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3dpbmRvdyc7XG5leHBvcnQgKiBmcm9tICcuL3BhZ2UtdmlzaWJpbGl0eSc7XG4iXX0=
@@ -1,15 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import { inject, InjectionToken } from '@angular/core';
3
- import { fromEvent, distinctUntilChanged, map, share, startWith } from 'rxjs';
4
- /**
5
- * 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
6
- *
7
- * 通过 `visibilitychange` 事件来监听浏览器选项卡是否可见,一般用于当用户离开应用时暂时中断后端持续发送请求时
8
- */
9
- export const PAGE_VISIBILITY = new InjectionToken('PAGE_VISIBILITY`', {
10
- factory: () => {
11
- const doc = inject(DOCUMENT);
12
- return fromEvent(doc, 'visibilitychange').pipe(startWith(0), map(() => !doc.hidden), distinctUntilChanged(), share());
13
- }
14
- });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS12aXNpYmlsaXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC90b2tlbi9wYWdlLXZpc2liaWxpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZELE9BQU8sRUFBRSxTQUFTLEVBQWMsb0JBQW9CLEVBQUU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tlbmQgdG8gY29udGludWUgc2VuZGluZyByZXF1ZXN0c1xuICpcbiAqIOmAmui/hyBgdmlzaWJpbGl0eWNoYW5nZWAg5LqL5Lu25p2l55uR5ZCs5rWP6KeI5Zmo6YCJ6aG55Y2h5piv5ZCm5Y+v6KeB77yM5LiA6Iis55So5LqO5b2T55So5oi356a75byA5bqU55So5pe25pqC5pe25Lit5pat5ZCO56uv5oyB57ut5Y+R6YCB6K+35rGC5pe2XG4gKi9cbmV4cG9ydCBjb25zdCBQQUdFX1ZJU0lCSUxJVFkgPSBuZXcgSW5qZWN0aW9uVG9rZW48T2JzZXJ2YWJsZTxib29sZWFuPj4oJ1BBR0VfVklTSUJJTElUWWAnLCB7XG4gIGZhY3Rvcnk6ICgpID0+IHtcbiAgICBjb25zdCBkb2MgPSBpbmplY3QoRE9DVU1FTlQpO1xuICAgIHJldHVybiBmcm9tRXZlbnQoZG9jLCAndmlzaWJpbGl0eWNoYW5nZScpLnBpcGUoXG4gICAgICBzdGFydFdpdGgoMCksXG4gICAgICBtYXAoKCkgPT4gIWRvYy5oaWRkZW4pLFxuICAgICAgZGlzdGluY3RVbnRpbENoYW5nZWQoKSxcbiAgICAgIHNoYXJlKClcbiAgICApO1xuICB9XG59KTtcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3Rva2VuL3Rva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -1,17 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import { inject, InjectionToken } from '@angular/core';
3
- /**
4
- * Access to global `window` object
5
- *
6
- * 访问全局 `window` 对象
7
- */
8
- export const WINDOW = new InjectionToken('WINDOW', {
9
- factory: () => {
10
- const { defaultView } = inject(DOCUMENT);
11
- if (!defaultView) {
12
- throw new Error('Window is not available');
13
- }
14
- return defaultView;
15
- }
16
- });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luZG93LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC90b2tlbi93aW5kb3cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZEOzs7O0dBSUc7QUFDSCxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQUcsSUFBSSxjQUFjLENBQVMsUUFBUSxFQUFFO0lBQ3pELE9BQU8sRUFBRSxHQUFHLEVBQUU7UUFDWixNQUFNLEVBQUUsV0FBVyxFQUFFLEdBQUcsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1FBQ3pDLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUNqQixNQUFNLElBQUksS0FBSyxDQUFDLHlCQUF5QixDQUFDLENBQUM7UUFDN0MsQ0FBQztRQUNELE9BQU8sV0FBVyxDQUFDO0lBQ3JCLENBQUM7Q0FDRixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBET0NVTUVOVCB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBpbmplY3QsIEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQWNjZXNzIHRvIGdsb2JhbCBgd2luZG93YCBvYmplY3RcbiAqXG4gKiDorr/pl67lhajlsYAgYHdpbmRvd2Ag5a+56LGhXG4gKi9cbmV4cG9ydCBjb25zdCBXSU5ET1cgPSBuZXcgSW5qZWN0aW9uVG9rZW48V2luZG93PignV0lORE9XJywge1xuICBmYWN0b3J5OiAoKSA9PiB7XG4gICAgY29uc3QgeyBkZWZhdWx0VmlldyB9ID0gaW5qZWN0KERPQ1VNRU5UKTtcbiAgICBpZiAoIWRlZmF1bHRWaWV3KSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ1dpbmRvdyBpcyBub3QgYXZhaWxhYmxlJyk7XG4gICAgfVxuICAgIHJldHVybiBkZWZhdWx0VmlldztcbiAgfVxufSk7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwveWVsb24tdXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==