@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.
- package/LICENSE +21 -21
- package/README.md +1 -1
- package/browser/cookie.service.d.ts +1 -3
- package/browser/style.d.ts +1 -3
- package/config/abc/date-picker.type.d.ts +2 -5
- package/config/abc/exception.type.d.ts +5 -7
- package/config/abc/loading.type.d.ts +1 -3
- package/config/abc/media.type.d.ts +1 -2
- package/config/abc/st.type.d.ts +11 -18
- package/config/acl/acl.type.d.ts +1 -2
- package/config/chart/chart.type.d.ts +1 -4
- package/config/config.service.d.ts +5 -4
- package/config/sf/sf.type.d.ts +3 -6
- package/config/theme/responsive.type.d.ts +8 -10
- package/date-time/time.d.ts +1 -2
- package/decorator/convert.d.ts +2 -3
- package/fesm2022/array.mjs +4 -4
- package/fesm2022/array.mjs.map +1 -1
- package/fesm2022/browser.mjs +13 -16
- package/fesm2022/browser.mjs.map +1 -1
- package/fesm2022/config.mjs +33 -18
- package/fesm2022/config.mjs.map +1 -1
- package/fesm2022/date-time.mjs +1 -1
- package/fesm2022/date-time.mjs.map +1 -1
- package/fesm2022/decorator.mjs.map +1 -1
- package/fesm2022/form.mjs.map +1 -1
- package/fesm2022/format.mjs +9 -7
- package/fesm2022/format.mjs.map +1 -1
- package/fesm2022/math.mjs.map +1 -1
- package/fesm2022/mcache.mjs.map +1 -1
- package/fesm2022/mtypes.mjs +4 -5
- package/fesm2022/mtypes.mjs.map +1 -1
- package/fesm2022/other.mjs +14 -17
- package/fesm2022/other.mjs.map +1 -1
- package/fesm2022/pipe-currency.mjs +20 -26
- package/fesm2022/pipe-currency.mjs.map +1 -1
- package/fesm2022/pipe-filter.mjs +8 -8
- package/fesm2022/pipe-filter.mjs.map +1 -1
- package/fesm2022/pipe-format.mjs +8 -8
- package/fesm2022/pipe-format.mjs.map +1 -1
- package/fesm2022/token.mjs.map +1 -1
- package/format/string.d.ts +3 -6
- package/mtypes/header-menu.type.d.ts +2 -3
- package/mtypes/menu.type.d.ts +5 -6
- package/mtypes/page.d.ts +1 -2
- package/other/deep.d.ts +4 -7
- package/other/lazy.service.d.ts +2 -5
- package/other/logger.d.ts +3 -4
- package/other/path-to-regexp.service.d.ts +11 -12
- package/package.json +12 -46
- package/pipes/filter/filter.pipe.d.ts +1 -2
- package/esm2022/array/array-type.service.mjs +0 -2
- package/esm2022/array/array.mjs +0 -5
- package/esm2022/array/array.service.mjs +0 -278
- package/esm2022/array/index.mjs +0 -3
- package/esm2022/browser/browser.mjs +0 -5
- package/esm2022/browser/cookie.service.mjs +0 -100
- package/esm2022/browser/copy.mjs +0 -28
- package/esm2022/browser/index.mjs +0 -6
- package/esm2022/browser/is-empty.mjs +0 -19
- package/esm2022/browser/scroll.service.mjs +0 -85
- package/esm2022/browser/style.mjs +0 -38
- package/esm2022/config/abc/cell.type.mjs +0 -2
- package/esm2022/config/abc/date-picker.type.mjs +0 -2
- package/esm2022/config/abc/error-collect.type.mjs +0 -2
- package/esm2022/config/abc/exception.type.mjs +0 -2
- package/esm2022/config/abc/image.type.mjs +0 -2
- package/esm2022/config/abc/index.mjs +0 -18
- package/esm2022/config/abc/loading.type.mjs +0 -2
- package/esm2022/config/abc/lodop.type.mjs +0 -2
- package/esm2022/config/abc/media.type.mjs +0 -2
- package/esm2022/config/abc/onboarding.type.mjs +0 -2
- package/esm2022/config/abc/page-header.type.mjs +0 -2
- package/esm2022/config/abc/pdf.type.mjs +0 -2
- package/esm2022/config/abc/se.type.mjs +0 -2
- package/esm2022/config/abc/sg.type.mjs +0 -2
- package/esm2022/config/abc/st.type.mjs +0 -2
- package/esm2022/config/abc/sv.type.mjs +0 -3
- package/esm2022/config/abc/xlsx.type.mjs +0 -2
- package/esm2022/config/abc/zip.type.mjs +0 -2
- package/esm2022/config/acl/acl.type.mjs +0 -2
- package/esm2022/config/auth/auth.type.mjs +0 -2
- package/esm2022/config/bis/bis.type.mjs +0 -2
- package/esm2022/config/cache/cache.type.mjs +0 -2
- package/esm2022/config/chart/chart.type.mjs +0 -2
- package/esm2022/config/config.mjs +0 -5
- package/esm2022/config/config.service.mjs +0 -38
- package/esm2022/config/config.types.mjs +0 -12
- package/esm2022/config/index.mjs +0 -15
- package/esm2022/config/mock/mock.type.mjs +0 -2
- package/esm2022/config/sf/sf.type.mjs +0 -2
- package/esm2022/config/socket/socket.type.mjs +0 -2
- package/esm2022/config/theme/http.type.mjs +0 -2
- package/esm2022/config/theme/i18n.type.mjs +0 -2
- package/esm2022/config/theme/index.mjs +0 -5
- package/esm2022/config/theme/pipe.type.mjs +0 -2
- package/esm2022/config/theme/responsive.type.mjs +0 -2
- package/esm2022/config/util/array.type.mjs +0 -2
- package/esm2022/config/util/currency.type.mjs +0 -2
- package/esm2022/date-time/date-time.mjs +0 -5
- package/esm2022/date-time/index.mjs +0 -3
- package/esm2022/date-time/picker.mjs +0 -116
- package/esm2022/date-time/time.mjs +0 -103
- package/esm2022/decorator/convert.mjs +0 -66
- package/esm2022/decorator/decorator.mjs +0 -5
- package/esm2022/decorator/index.mjs +0 -3
- package/esm2022/decorator/zone-outside.mjs +0 -57
- package/esm2022/form/form.mjs +0 -5
- package/esm2022/form/index.mjs +0 -3
- package/esm2022/form/match-control.mjs +0 -30
- package/esm2022/form/validators.mjs +0 -81
- package/esm2022/format/currency.service.mjs +0 -233
- package/esm2022/format/currency.types.mjs +0 -8
- package/esm2022/format/format.mjs +0 -5
- package/esm2022/format/index.mjs +0 -5
- package/esm2022/format/string.mjs +0 -85
- package/esm2022/format/validate.mjs +0 -94
- package/esm2022/index.mjs +0 -14
- package/esm2022/math/in-range.mjs +0 -25
- package/esm2022/math/index.mjs +0 -3
- package/esm2022/math/math.mjs +0 -5
- package/esm2022/math/round.mjs +0 -53
- package/esm2022/mcache/index.mjs +0 -2
- package/esm2022/mcache/localStorageUtils.mjs +0 -60
- package/esm2022/mcache/mcache.mjs +0 -5
- package/esm2022/mtypes/authority.type.mjs +0 -2
- package/esm2022/mtypes/header-menu.type.mjs +0 -2
- package/esm2022/mtypes/index.mjs +0 -10
- package/esm2022/mtypes/menu.type.mjs +0 -2
- package/esm2022/mtypes/mtypes.mjs +0 -5
- package/esm2022/mtypes/nav.types.mjs +0 -9
- package/esm2022/mtypes/page.mjs +0 -42
- package/esm2022/mtypes/project-info.types.mjs +0 -2
- package/esm2022/mtypes/response.mjs +0 -2
- package/esm2022/mtypes/role.type.mjs +0 -2
- package/esm2022/mtypes/user.types.mjs +0 -2
- package/esm2022/other/assert.mjs +0 -67
- package/esm2022/other/deep.mjs +0 -78
- package/esm2022/other/favicon.mjs +0 -29
- package/esm2022/other/index.mjs +0 -8
- package/esm2022/other/lazy.service.mjs +0 -129
- package/esm2022/other/logger.mjs +0 -33
- package/esm2022/other/other.mjs +0 -5
- package/esm2022/other/path-to-regexp.service.mjs +0 -239
- package/esm2022/other/resize.mjs +0 -4
- package/esm2022/pipes/currency/cny.pipe.mjs +0 -23
- package/esm2022/pipes/currency/index.mjs +0 -5
- package/esm2022/pipes/currency/mega.pipe.mjs +0 -25
- package/esm2022/pipes/currency/module.mjs +0 -19
- package/esm2022/pipes/currency/pipe-currency.mjs +0 -5
- package/esm2022/pipes/currency/price.pipe.mjs +0 -27
- package/esm2022/pipes/filter/filter.pipe.mjs +0 -20
- package/esm2022/pipes/filter/index.mjs +0 -3
- package/esm2022/pipes/filter/module.mjs +0 -17
- package/esm2022/pipes/filter/pipe-filter.mjs +0 -5
- package/esm2022/pipes/format/index.mjs +0 -3
- package/esm2022/pipes/format/mask.pipe.mjs +0 -34
- package/esm2022/pipes/format/module.mjs +0 -17
- package/esm2022/pipes/format/pipe-format.mjs +0 -5
- package/esm2022/pipes/index.mjs +0 -4
- package/esm2022/pipes/pipes.mjs +0 -5
- package/esm2022/token/index.mjs +0 -3
- package/esm2022/token/page-visibility.mjs +0 -15
- package/esm2022/token/token.mjs +0 -5
- package/esm2022/token/window.mjs +0 -17
- package/esm2022/yelon-util.mjs +0 -5
package/format/string.d.ts
CHANGED
@@ -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:
|
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?:
|
19
|
+
default?: any;
|
23
20
|
transform?: (char: string) => string;
|
24
21
|
}
|
25
22
|
/**
|
package/mtypes/menu.type.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
2
1
|
export interface YunzaiMenu {
|
3
|
-
[key: string]:
|
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:
|
38
|
-
dataPlatform:
|
39
|
-
targetUser:
|
40
|
-
starConfig:
|
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
|
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:
|
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:
|
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[]):
|
32
|
+
export declare function deepMerge(original: unknown, ...objects: unknown[]): any;
|
package/other/lazy.service.d.ts
CHANGED
@@ -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?:
|
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:
|
4
|
-
export declare const warnDeprecation: (...args:
|
5
|
-
export declare const log: (...args:
|
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:
|
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:
|
16
|
-
tokensToFunction(tokens:
|
17
|
-
escapeString(str:
|
18
|
-
escapeGroup(group:
|
19
|
-
flags(options:
|
20
|
-
regexpToRegexp(path:
|
21
|
-
arrayToRegexp(path:
|
22
|
-
stringToRegexp(path:
|
23
|
-
tokensToRegExp(tokens:
|
24
|
-
pathToRegexp(path:
|
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": "
|
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
|
-
"./
|
63
|
-
"types": "./
|
64
|
-
"
|
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:
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXktdHlwZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9hcnJheS9hcnJheS10eXB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ahOWAvO+8jOm7mOiupO+8mmB0cnVlYCAqL1xuICBpbmNsdWRlSGFsZkNoZWNrZWQ/OiBib29sZWFuO1xuICAvKiog5piv5ZCm6YeN5paw5oyH5a6aIGBrZXlgIOmUruWQje+8jOiLpeS4jeaMh+WumuihqOekuuS9v+eUqCBgTnpUcmVlTm9kZS5rZXlgIOWAvCAqL1xuICBrZXlNYXBOYW1lPzogc3RyaW5nO1xuICAvKiog5Zue6LCD77yM6L+U5Zue5LiA5Liq5YC8IGBrZXlgIOWAvO+8jOS8mOWFiOe6p+mrmOS6juWFtuS7liAqL1xuICBjYj86IChpdGVtOiBOelRyZWVOb2RlLCBwYXJlbnQ6IE56VHJlZU5vZGUgfCBudWxsLCBkZWVwOiBudW1iZXIpID0+IGFueTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBBcnJheVNlcnZpY2VHcm91cEJ5UmVzdWx0IHtcbiAgW2tleTogc3RyaW5nXTogYW55O1xuICBba2V5OiBudW1iZXJdOiBhbnk7XG59XG4iXX0=
|
package/esm2022/array/array.mjs
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2FycmF5L2FycmF5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|