@yelon/util 18.2.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 (166) 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/form.mjs.map +1 -1
  27. package/fesm2022/format.mjs +9 -7
  28. package/fesm2022/format.mjs.map +1 -1
  29. package/fesm2022/math.mjs.map +1 -1
  30. package/fesm2022/mcache.mjs.map +1 -1
  31. package/fesm2022/mtypes.mjs +4 -5
  32. package/fesm2022/mtypes.mjs.map +1 -1
  33. package/fesm2022/other.mjs +14 -17
  34. package/fesm2022/other.mjs.map +1 -1
  35. package/fesm2022/pipe-currency.mjs +20 -26
  36. package/fesm2022/pipe-currency.mjs.map +1 -1
  37. package/fesm2022/pipe-filter.mjs +8 -8
  38. package/fesm2022/pipe-filter.mjs.map +1 -1
  39. package/fesm2022/pipe-format.mjs +8 -8
  40. package/fesm2022/pipe-format.mjs.map +1 -1
  41. package/fesm2022/token.mjs.map +1 -1
  42. package/format/string.d.ts +3 -6
  43. package/mtypes/header-menu.type.d.ts +2 -3
  44. package/mtypes/menu.type.d.ts +5 -6
  45. package/mtypes/page.d.ts +1 -2
  46. package/other/deep.d.ts +4 -7
  47. package/other/lazy.service.d.ts +2 -5
  48. package/other/logger.d.ts +3 -4
  49. package/other/path-to-regexp.service.d.ts +11 -12
  50. package/package.json +12 -46
  51. package/pipes/filter/filter.pipe.d.ts +1 -2
  52. package/esm2022/array/array-type.service.mjs +0 -2
  53. package/esm2022/array/array.mjs +0 -5
  54. package/esm2022/array/array.service.mjs +0 -278
  55. package/esm2022/array/index.mjs +0 -3
  56. package/esm2022/browser/browser.mjs +0 -5
  57. package/esm2022/browser/cookie.service.mjs +0 -100
  58. package/esm2022/browser/copy.mjs +0 -28
  59. package/esm2022/browser/index.mjs +0 -6
  60. package/esm2022/browser/is-empty.mjs +0 -19
  61. package/esm2022/browser/scroll.service.mjs +0 -85
  62. package/esm2022/browser/style.mjs +0 -38
  63. package/esm2022/config/abc/cell.type.mjs +0 -2
  64. package/esm2022/config/abc/date-picker.type.mjs +0 -2
  65. package/esm2022/config/abc/error-collect.type.mjs +0 -2
  66. package/esm2022/config/abc/exception.type.mjs +0 -2
  67. package/esm2022/config/abc/image.type.mjs +0 -2
  68. package/esm2022/config/abc/index.mjs +0 -18
  69. package/esm2022/config/abc/loading.type.mjs +0 -2
  70. package/esm2022/config/abc/lodop.type.mjs +0 -2
  71. package/esm2022/config/abc/media.type.mjs +0 -2
  72. package/esm2022/config/abc/onboarding.type.mjs +0 -2
  73. package/esm2022/config/abc/page-header.type.mjs +0 -2
  74. package/esm2022/config/abc/pdf.type.mjs +0 -2
  75. package/esm2022/config/abc/se.type.mjs +0 -2
  76. package/esm2022/config/abc/sg.type.mjs +0 -2
  77. package/esm2022/config/abc/st.type.mjs +0 -2
  78. package/esm2022/config/abc/sv.type.mjs +0 -3
  79. package/esm2022/config/abc/xlsx.type.mjs +0 -2
  80. package/esm2022/config/abc/zip.type.mjs +0 -2
  81. package/esm2022/config/acl/acl.type.mjs +0 -2
  82. package/esm2022/config/auth/auth.type.mjs +0 -2
  83. package/esm2022/config/bis/bis.type.mjs +0 -2
  84. package/esm2022/config/cache/cache.type.mjs +0 -2
  85. package/esm2022/config/chart/chart.type.mjs +0 -2
  86. package/esm2022/config/config.mjs +0 -5
  87. package/esm2022/config/config.service.mjs +0 -38
  88. package/esm2022/config/config.types.mjs +0 -12
  89. package/esm2022/config/index.mjs +0 -15
  90. package/esm2022/config/mock/mock.type.mjs +0 -2
  91. package/esm2022/config/sf/sf.type.mjs +0 -2
  92. package/esm2022/config/socket/socket.type.mjs +0 -2
  93. package/esm2022/config/theme/http.type.mjs +0 -2
  94. package/esm2022/config/theme/i18n.type.mjs +0 -2
  95. package/esm2022/config/theme/index.mjs +0 -5
  96. package/esm2022/config/theme/pipe.type.mjs +0 -2
  97. package/esm2022/config/theme/responsive.type.mjs +0 -2
  98. package/esm2022/config/util/array.type.mjs +0 -2
  99. package/esm2022/config/util/currency.type.mjs +0 -2
  100. package/esm2022/date-time/date-time.mjs +0 -5
  101. package/esm2022/date-time/index.mjs +0 -3
  102. package/esm2022/date-time/picker.mjs +0 -116
  103. package/esm2022/date-time/time.mjs +0 -103
  104. package/esm2022/decorator/convert.mjs +0 -66
  105. package/esm2022/decorator/decorator.mjs +0 -5
  106. package/esm2022/decorator/index.mjs +0 -3
  107. package/esm2022/decorator/zone-outside.mjs +0 -57
  108. package/esm2022/form/form.mjs +0 -5
  109. package/esm2022/form/index.mjs +0 -3
  110. package/esm2022/form/match-control.mjs +0 -30
  111. package/esm2022/form/validators.mjs +0 -81
  112. package/esm2022/format/currency.service.mjs +0 -233
  113. package/esm2022/format/currency.types.mjs +0 -8
  114. package/esm2022/format/format.mjs +0 -5
  115. package/esm2022/format/index.mjs +0 -5
  116. package/esm2022/format/string.mjs +0 -85
  117. package/esm2022/format/validate.mjs +0 -94
  118. package/esm2022/index.mjs +0 -14
  119. package/esm2022/math/in-range.mjs +0 -25
  120. package/esm2022/math/index.mjs +0 -3
  121. package/esm2022/math/math.mjs +0 -5
  122. package/esm2022/math/round.mjs +0 -53
  123. package/esm2022/mcache/index.mjs +0 -2
  124. package/esm2022/mcache/localStorageUtils.mjs +0 -60
  125. package/esm2022/mcache/mcache.mjs +0 -5
  126. package/esm2022/mtypes/authority.type.mjs +0 -2
  127. package/esm2022/mtypes/header-menu.type.mjs +0 -2
  128. package/esm2022/mtypes/index.mjs +0 -10
  129. package/esm2022/mtypes/menu.type.mjs +0 -2
  130. package/esm2022/mtypes/mtypes.mjs +0 -5
  131. package/esm2022/mtypes/nav.types.mjs +0 -9
  132. package/esm2022/mtypes/page.mjs +0 -42
  133. package/esm2022/mtypes/project-info.types.mjs +0 -2
  134. package/esm2022/mtypes/response.mjs +0 -2
  135. package/esm2022/mtypes/role.type.mjs +0 -2
  136. package/esm2022/mtypes/user.types.mjs +0 -2
  137. package/esm2022/other/assert.mjs +0 -67
  138. package/esm2022/other/deep.mjs +0 -78
  139. package/esm2022/other/favicon.mjs +0 -29
  140. package/esm2022/other/index.mjs +0 -8
  141. package/esm2022/other/lazy.service.mjs +0 -129
  142. package/esm2022/other/logger.mjs +0 -33
  143. package/esm2022/other/other.mjs +0 -5
  144. package/esm2022/other/path-to-regexp.service.mjs +0 -239
  145. package/esm2022/other/resize.mjs +0 -4
  146. package/esm2022/pipes/currency/cny.pipe.mjs +0 -23
  147. package/esm2022/pipes/currency/index.mjs +0 -5
  148. package/esm2022/pipes/currency/mega.pipe.mjs +0 -25
  149. package/esm2022/pipes/currency/module.mjs +0 -19
  150. package/esm2022/pipes/currency/pipe-currency.mjs +0 -5
  151. package/esm2022/pipes/currency/price.pipe.mjs +0 -27
  152. package/esm2022/pipes/filter/filter.pipe.mjs +0 -20
  153. package/esm2022/pipes/filter/index.mjs +0 -3
  154. package/esm2022/pipes/filter/module.mjs +0 -17
  155. package/esm2022/pipes/filter/pipe-filter.mjs +0 -5
  156. package/esm2022/pipes/format/index.mjs +0 -3
  157. package/esm2022/pipes/format/mask.pipe.mjs +0 -34
  158. package/esm2022/pipes/format/module.mjs +0 -17
  159. package/esm2022/pipes/format/pipe-format.mjs +0 -5
  160. package/esm2022/pipes/index.mjs +0 -4
  161. package/esm2022/pipes/pipes.mjs +0 -5
  162. package/esm2022/token/index.mjs +0 -3
  163. package/esm2022/token/page-visibility.mjs +0 -15
  164. package/esm2022/token/token.mjs +0 -5
  165. package/esm2022/token/window.mjs +0 -17
  166. package/esm2022/yelon-util.mjs +0 -5
@@ -1,4 +1,3 @@
1
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  /**
3
2
  * String formatting
4
3
  *
@@ -10,16 +9,14 @@ import type { NzSafeAny } from 'ng-zorro-antd/core/types';
10
9
  * // output: this is asdf
11
10
  * ```
12
11
  */
13
- export declare function format(str: string | null | undefined, obj: NzSafeAny | null | undefined, needDeepGet?: boolean): string;
12
+ export declare function format(str: string | null | undefined, obj: any | null | undefined, needDeepGet?: boolean): string;
14
13
  export interface FormatMaskOption {
15
14
  mask: string;
16
- tokens?: {
17
- [key: string]: FormatMaskToken;
18
- };
15
+ tokens?: Record<string, FormatMaskToken>;
19
16
  }
20
17
  export interface FormatMaskToken {
21
18
  pattern: RegExp;
22
- default?: NzSafeAny;
19
+ default?: any;
23
20
  transform?: (char: string) => string;
24
21
  }
25
22
  /**
@@ -1,7 +1,6 @@
1
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  export interface YunzaiNavTopic {
3
- attribute: NzSafeAny;
4
- icon: NzSafeAny;
2
+ attribute: any;
3
+ icon: any;
5
4
  children: YunzaiNavTopic[];
6
5
  intro: string;
7
6
  key: string;
@@ -1,6 +1,5 @@
1
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  export interface YunzaiMenu {
3
- [key: string]: NzSafeAny;
2
+ [key: string]: any;
4
3
  appCode: string;
5
4
  appIconUrl: string;
6
5
  appType: string;
@@ -34,8 +33,8 @@ export interface YunzaiMenu {
34
33
  version: number;
35
34
  }
36
35
  export interface YunzaiMenuAttribute {
37
- defaultRoute: NzSafeAny;
38
- dataPlatform: NzSafeAny;
39
- targetUser: NzSafeAny;
40
- starConfig: NzSafeAny;
36
+ defaultRoute: any;
37
+ dataPlatform: any;
38
+ targetUser: any;
39
+ starConfig: any;
41
40
  }
package/mtypes/page.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  export interface YunzaiPageParam<T> {
3
2
  pageNum?: number;
4
3
  pageSize?: number;
@@ -30,7 +29,7 @@ export interface YunzaiPageResult<T> {
30
29
  totalElements: number;
31
30
  totalPages: number;
32
31
  }
33
- export declare class YunzaiPageBuilder<T extends NzSafeAny | unknown> {
32
+ export declare class YunzaiPageBuilder<T extends any | unknown> {
34
33
  private page;
35
34
  pageNum(pageNum: number): this;
36
35
  pageSize(pageSize: number): this;
package/other/deep.d.ts CHANGED
@@ -1,10 +1,9 @@
1
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  /**
3
2
  * Gets the value at `path` of `object`, like `_.get` in lodash.
4
3
  *
5
4
  * 类似 `_.get`,根据 `path` 获取安全值
6
5
  */
7
- export declare function deepGet(obj: NzSafeAny, path: string | string[] | null | undefined, defaultValue?: unknown): NzSafeAny;
6
+ export declare function deepGet(obj: any, path: string | string[] | null | undefined, defaultValue?: unknown): any;
8
7
  /**
9
8
  * Base on [extend](https://github.com/justmoon/node-extend) deep copy.
10
9
  *
@@ -12,9 +11,7 @@ export declare function deepGet(obj: NzSafeAny, path: string | string[] | null |
12
11
  *
13
12
  * NOTE: Don't a lot of recursion, maybe performance issues
14
13
  */
15
- export declare function deepCopy<T extends {
16
- [key: string]: NzSafeAny;
17
- } = NzSafeAny>(obj: T | null | undefined): T;
14
+ export declare function deepCopy<T extends Record<string, any> = any>(obj: T | null | undefined): T;
18
15
  /**
19
16
  * Deep merge object.
20
17
  *
@@ -26,10 +23,10 @@ export declare function deepCopy<T extends {
26
23
  * - `false` 表示会合并整个数组(将旧数据与新数据合并成新数组)
27
24
  * @param objects 要合并的对象
28
25
  */
29
- export declare function deepMergeKey(original: unknown, arrayProcessMethod: boolean, ...objects: NzSafeAny[]): NzSafeAny;
26
+ export declare function deepMergeKey(original: unknown, arrayProcessMethod: boolean, ...objects: any[]): any;
30
27
  /**
31
28
  * Deep merge object.
32
29
  *
33
30
  * 深度合并对象
34
31
  */
35
- export declare function deepMerge(original: unknown, ...objects: unknown[]): NzSafeAny;
32
+ export declare function deepMerge(original: unknown, ...objects: unknown[]): any;
@@ -1,10 +1,9 @@
1
1
  import { Observable } from 'rxjs';
2
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
3
2
  import * as i0 from "@angular/core";
4
3
  export interface LazyResult {
5
4
  path: string;
6
5
  status: 'ok' | 'error' | 'loading';
7
- error?: NzSafeAny;
6
+ error?: any;
8
7
  }
9
8
  export interface LazyLoadItem {
10
9
  path: string;
@@ -12,9 +11,7 @@ export interface LazyLoadItem {
12
11
  }
13
12
  export interface LazyLoadOptions {
14
13
  innerContent?: string;
15
- attributes?: {
16
- [qualifiedName: string]: string;
17
- };
14
+ attributes?: Record<string, string>;
18
15
  rel?: string;
19
16
  }
20
17
  /**
package/other/logger.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  export declare const PREFIX = "[@YELON]:";
3
- export declare const warn: (...args: NzSafeAny[]) => void;
4
- export declare const warnDeprecation: (...args: NzSafeAny[]) => NzSafeAny;
5
- export declare const log: (...args: NzSafeAny[]) => void;
2
+ export declare const warn: (...args: any[]) => void;
3
+ export declare const warnDeprecation: (...args: any[]) => any;
4
+ export declare const log: (...args: any[]) => void;
@@ -1,10 +1,9 @@
1
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class PathToRegexpService {
4
3
  constructor();
5
4
  DEFAULT_DELIMITER: string;
6
5
  PATH_REGEXP: RegExp;
7
- parse(str: NzSafeAny, options: NzSafeAny): (string | {
6
+ parse(str: any, options: any): (string | {
8
7
  name: string | number;
9
8
  prefix: string;
10
9
  delimiter: any;
@@ -12,16 +11,16 @@ export declare class PathToRegexpService {
12
11
  repeat: boolean;
13
12
  pattern: any;
14
13
  })[];
15
- compile(str: NzSafeAny, options: NzSafeAny): (data: NzSafeAny, options: NzSafeAny) => string;
16
- tokensToFunction(tokens: NzSafeAny, options: NzSafeAny): (data: NzSafeAny, options: NzSafeAny) => string;
17
- escapeString(str: NzSafeAny): any;
18
- escapeGroup(group: NzSafeAny): any;
19
- flags(options: NzSafeAny): "" | "i";
20
- regexpToRegexp(path: NzSafeAny, keys: NzSafeAny): any;
21
- arrayToRegexp(path: NzSafeAny, keys: NzSafeAny, options: NzSafeAny): RegExp;
22
- stringToRegexp(path: NzSafeAny, keys: NzSafeAny, options: NzSafeAny): RegExp;
23
- tokensToRegExp(tokens: NzSafeAny, keys: NzSafeAny, options: NzSafeAny): RegExp;
24
- pathToRegexp(path: NzSafeAny, keys: NzSafeAny, options: NzSafeAny): any;
14
+ compile(str: any, options: any): (data: any, options: any) => string;
15
+ tokensToFunction(tokens: any, options: any): (data: any, options: any) => string;
16
+ escapeString(str: any): any;
17
+ escapeGroup(group: any): any;
18
+ flags(options: any): "" | "i";
19
+ regexpToRegexp(path: any, keys: any): any;
20
+ arrayToRegexp(path: any, keys: any, options: any): RegExp;
21
+ stringToRegexp(path: any, keys: any, options: any): RegExp;
22
+ tokensToRegExp(tokens: any, keys: any, options: any): RegExp;
23
+ pathToRegexp(path: any, keys: any, options: any): any;
25
24
  static ɵfac: i0.ɵɵFactoryDeclaration<PathToRegexpService, never>;
26
25
  static ɵprov: i0.ɵɵInjectableDeclaration<PathToRegexpService>;
27
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yelon/util",
3
- "version": "18.2.0",
3
+ "version": "19.0.0",
4
4
  "author": "yunzai-bot<yunzai-bot@outlook.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,104 +31,70 @@
31
31
  },
32
32
  ".": {
33
33
  "types": "./index.d.ts",
34
- "esm2022": "./esm2022/yelon-util.mjs",
35
- "esm": "./esm2022/yelon-util.mjs",
36
34
  "default": "./fesm2022/yelon-util.mjs"
37
35
  },
38
36
  "./array": {
39
37
  "types": "./array/index.d.ts",
40
- "esm2022": "./esm2022/array/array.mjs",
41
- "esm": "./esm2022/array/array.mjs",
42
38
  "default": "./fesm2022/array.mjs"
43
39
  },
44
40
  "./browser": {
45
41
  "types": "./browser/index.d.ts",
46
- "esm2022": "./esm2022/browser/browser.mjs",
47
- "esm": "./esm2022/browser/browser.mjs",
48
42
  "default": "./fesm2022/browser.mjs"
49
43
  },
50
- "./date-time": {
51
- "types": "./date-time/index.d.ts",
52
- "esm2022": "./esm2022/date-time/date-time.mjs",
53
- "esm": "./esm2022/date-time/date-time.mjs",
54
- "default": "./fesm2022/date-time.mjs"
55
- },
56
44
  "./decorator": {
57
45
  "types": "./decorator/index.d.ts",
58
- "esm2022": "./esm2022/decorator/decorator.mjs",
59
- "esm": "./esm2022/decorator/decorator.mjs",
60
46
  "default": "./fesm2022/decorator.mjs"
61
47
  },
62
- "./form": {
63
- "types": "./form/index.d.ts",
64
- "esm2022": "./esm2022/form/form.mjs",
65
- "esm": "./esm2022/form/form.mjs",
66
- "default": "./fesm2022/form.mjs"
48
+ "./date-time": {
49
+ "types": "./date-time/index.d.ts",
50
+ "default": "./fesm2022/date-time.mjs"
67
51
  },
68
52
  "./config": {
69
53
  "types": "./config/index.d.ts",
70
- "esm2022": "./esm2022/config/config.mjs",
71
- "esm": "./esm2022/config/config.mjs",
72
54
  "default": "./fesm2022/config.mjs"
73
55
  },
56
+ "./form": {
57
+ "types": "./form/index.d.ts",
58
+ "default": "./fesm2022/form.mjs"
59
+ },
74
60
  "./format": {
75
61
  "types": "./format/index.d.ts",
76
- "esm2022": "./esm2022/format/format.mjs",
77
- "esm": "./esm2022/format/format.mjs",
78
62
  "default": "./fesm2022/format.mjs"
79
63
  },
80
64
  "./math": {
81
65
  "types": "./math/index.d.ts",
82
- "esm2022": "./esm2022/math/math.mjs",
83
- "esm": "./esm2022/math/math.mjs",
84
66
  "default": "./fesm2022/math.mjs"
85
67
  },
86
68
  "./mcache": {
87
69
  "types": "./mcache/index.d.ts",
88
- "esm2022": "./esm2022/mcache/mcache.mjs",
89
- "esm": "./esm2022/mcache/mcache.mjs",
90
70
  "default": "./fesm2022/mcache.mjs"
91
71
  },
92
72
  "./mtypes": {
93
73
  "types": "./mtypes/index.d.ts",
94
- "esm2022": "./esm2022/mtypes/mtypes.mjs",
95
- "esm": "./esm2022/mtypes/mtypes.mjs",
96
74
  "default": "./fesm2022/mtypes.mjs"
97
75
  },
76
+ "./token": {
77
+ "types": "./token/index.d.ts",
78
+ "default": "./fesm2022/token.mjs"
79
+ },
98
80
  "./other": {
99
81
  "types": "./other/index.d.ts",
100
- "esm2022": "./esm2022/other/other.mjs",
101
- "esm": "./esm2022/other/other.mjs",
102
82
  "default": "./fesm2022/other.mjs"
103
83
  },
104
84
  "./pipes": {
105
85
  "types": "./pipes/index.d.ts",
106
- "esm2022": "./esm2022/pipes/pipes.mjs",
107
- "esm": "./esm2022/pipes/pipes.mjs",
108
86
  "default": "./fesm2022/pipes.mjs"
109
87
  },
110
- "./token": {
111
- "types": "./token/index.d.ts",
112
- "esm2022": "./esm2022/token/token.mjs",
113
- "esm": "./esm2022/token/token.mjs",
114
- "default": "./fesm2022/token.mjs"
115
- },
116
88
  "./pipes/currency": {
117
89
  "types": "./pipes/currency/index.d.ts",
118
- "esm2022": "./esm2022/pipes/currency/pipe-currency.mjs",
119
- "esm": "./esm2022/pipes/currency/pipe-currency.mjs",
120
90
  "default": "./fesm2022/pipe-currency.mjs"
121
91
  },
122
92
  "./pipes/filter": {
123
93
  "types": "./pipes/filter/index.d.ts",
124
- "esm2022": "./esm2022/pipes/filter/pipe-filter.mjs",
125
- "esm": "./esm2022/pipes/filter/pipe-filter.mjs",
126
94
  "default": "./fesm2022/pipe-filter.mjs"
127
95
  },
128
96
  "./pipes/format": {
129
97
  "types": "./pipes/format/index.d.ts",
130
- "esm2022": "./esm2022/pipes/format/pipe-format.mjs",
131
- "esm": "./esm2022/pipes/format/pipe-format.mjs",
132
98
  "default": "./fesm2022/pipe-format.mjs"
133
99
  }
134
100
  },
@@ -1,5 +1,4 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * Filter array
@@ -7,7 +6,7 @@ import * as i0 from "@angular/core";
7
6
  * 过滤数组
8
7
  */
9
8
  export declare class FilterPipe implements PipeTransform {
10
- transform<T>(array: readonly T[], matcher: (item: T, ...args: NzSafeAny[]) => boolean, ...args: NzSafeAny[]): T[];
9
+ transform<T>(array: readonly T[], matcher: (item: T, ...args: any[]) => boolean, ...args: any[]): T[];
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
12
11
  static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
13
12
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXktdHlwZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9hcnJheS9hcnJheS10eXBlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnkgKi9cbmltcG9ydCB0eXBlIHsgT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cmVlTm9kZS5rZXlgIOWAvCAqL1xuICBrZXlNYXBOYW1lPzogc3RyaW5nO1xuICAvKiog5Zue6LCD77yM6L+U5Zue5LiA5Liq5YC8IGBrZXlgIOWAvO+8jOS8mOWFiOe6p+mrmOS6juWFtuS7liAqL1xuICBjYj86IChpdGVtOiBOelRyZWVOb2RlLCBwYXJlbnQ6IE56VHJlZU5vZGUgfCBudWxsLCBkZWVwOiBudW1iZXIpID0+IGFueTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBBcnJheVNlcnZpY2VHcm91cEJ5UmVzdWx0IHtcbiAgW2tleTogc3RyaW5nXTogYW55O1xuICBba2V5OiBudW1iZXJdOiBhbnk7XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2FycmF5L2FycmF5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19