@yelon/util 19.1.0 → 19.2.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/config/abc/st.type.d.ts +13 -7
- package/fesm2022/array.mjs +3 -3
- package/fesm2022/browser.mjs +6 -6
- package/fesm2022/config.mjs +3 -3
- package/fesm2022/format.mjs +3 -3
- package/fesm2022/other.mjs +6 -6
- package/fesm2022/pipe-currency.mjs +13 -13
- package/fesm2022/pipe-filter.mjs +7 -7
- package/fesm2022/pipe-format.mjs +7 -7
- package/package.json +13 -13
package/config/abc/st.type.d.ts
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
import { HttpHeaders, HttpParams } from '@angular/common/http';
|
2
2
|
import { TemplateRef, TrackByFunction } from '@angular/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
|
+
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
4
5
|
import type { NzDrawerOptions } from 'ng-zorro-antd/drawer';
|
5
6
|
import type { ModalOptions } from 'ng-zorro-antd/modal';
|
6
7
|
import type { PaginationItemRenderContext } from 'ng-zorro-antd/pagination';
|
8
|
+
import type { NzTableSortOrder } from 'ng-zorro-antd/table';
|
7
9
|
export interface YunzaiSTConfig {
|
8
10
|
/**
|
9
11
|
* 起始页码,默认为:`1`
|
@@ -46,7 +48,7 @@ export interface YunzaiSTConfig {
|
|
46
48
|
/** 请求方法,默认:`GET` */
|
47
49
|
method?: string;
|
48
50
|
/** 请求体 `Header` */
|
49
|
-
headers?:
|
51
|
+
headers?: NzSafeAny;
|
50
52
|
/**
|
51
53
|
* 重命名参数 `pi`、`ps`,默认:`{ pi: 'pi', ps: 'ps', skip: 'skip', limit: 'limit' }`
|
52
54
|
* - `{ pi: 'Page' }` => `pi` 会被替换成 Page
|
@@ -68,7 +70,7 @@ export interface YunzaiSTConfig {
|
|
68
70
|
/**
|
69
71
|
* 请求前数据处理
|
70
72
|
*/
|
71
|
-
process?: (requestOptions:
|
73
|
+
process?: (requestOptions: NzSafeAny) => NzSafeAny;
|
72
74
|
};
|
73
75
|
/** 返回体配置 */
|
74
76
|
res?: {
|
@@ -79,18 +81,18 @@ export interface YunzaiSTConfig {
|
|
79
81
|
reName?: {
|
80
82
|
total?: string | string[];
|
81
83
|
list?: string | string[];
|
82
|
-
} | ((result:
|
84
|
+
} | ((result: NzSafeAny, options: {
|
83
85
|
pi: number;
|
84
86
|
ps: number;
|
85
87
|
total: number;
|
86
88
|
}) => {
|
87
89
|
total: number;
|
88
|
-
list:
|
90
|
+
list: NzSafeAny[];
|
89
91
|
});
|
90
92
|
/**
|
91
93
|
* 数据预处理
|
92
94
|
*/
|
93
|
-
process?: (data:
|
95
|
+
process?: (data: NzSafeAny[], rawData?: NzSafeAny) => NzSafeAny[];
|
94
96
|
};
|
95
97
|
/** 返回体配置 */
|
96
98
|
page?: {
|
@@ -161,6 +163,10 @@ export interface YunzaiSTConfig {
|
|
161
163
|
ascend?: string;
|
162
164
|
descend?: string;
|
163
165
|
};
|
166
|
+
/**
|
167
|
+
* 排序状态
|
168
|
+
*/
|
169
|
+
sortDirections?: NzTableSortOrder[];
|
164
170
|
/**
|
165
171
|
* 单排序规则
|
166
172
|
* - 若不指定,则返回:`columnName=ascend|descend`
|
@@ -326,7 +332,7 @@ export interface YunzaiSTConfig {
|
|
326
332
|
/**
|
327
333
|
* 表格行的类名
|
328
334
|
*/
|
329
|
-
rowClassName?: (record:
|
335
|
+
rowClassName?: (record: NzSafeAny, index: number) => string;
|
330
336
|
/**
|
331
337
|
* 通过点击行来展开子行,Default: `false`
|
332
338
|
*/
|
@@ -403,7 +409,7 @@ export interface YunzaiSTConfig {
|
|
403
409
|
headers?: HttpHeaders | Record<string, string | string[]>;
|
404
410
|
params?: HttpParams | Record<string, string | string[]>;
|
405
411
|
};
|
406
|
-
}) => Observable<
|
412
|
+
}) => Observable<NzSafeAny>;
|
407
413
|
/**
|
408
414
|
* Date format
|
409
415
|
*
|
package/fesm2022/array.mjs
CHANGED
@@ -269,10 +269,10 @@ class ArrayService {
|
|
269
269
|
}, new Map())
|
270
270
|
.values());
|
271
271
|
}
|
272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
273
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
273
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ArrayService, providedIn: 'root' });
|
274
274
|
}
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ArrayService, decorators: [{
|
276
276
|
type: Injectable,
|
277
277
|
args: [{ providedIn: 'root' }]
|
278
278
|
}], ctorParameters: () => [{ type: i1.YunzaiConfigService }] });
|
package/fesm2022/browser.mjs
CHANGED
@@ -91,10 +91,10 @@ class CookieService {
|
|
91
91
|
removeAll() {
|
92
92
|
this.doc.cookie = '';
|
93
93
|
}
|
94
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
95
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
95
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CookieService, providedIn: 'root' });
|
96
96
|
}
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CookieService, decorators: [{
|
98
98
|
type: Injectable,
|
99
99
|
args: [{ providedIn: 'root' }]
|
100
100
|
}] });
|
@@ -216,10 +216,10 @@ class ScrollService {
|
|
216
216
|
}
|
217
217
|
this.scrollToElement(this._getDoc().body, topOffset);
|
218
218
|
}
|
219
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
220
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
220
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ScrollService, providedIn: 'root' });
|
221
221
|
}
|
222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ScrollService, decorators: [{
|
223
223
|
type: Injectable,
|
224
224
|
args: [{ providedIn: 'root' }]
|
225
225
|
}] });
|
package/fesm2022/config.mjs
CHANGED
@@ -57,10 +57,10 @@ class YunzaiConfigService {
|
|
57
57
|
set(componentName, value) {
|
58
58
|
this.config[componentName] = { ...this.config[componentName], ...value };
|
59
59
|
}
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
61
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: YunzaiConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
61
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: YunzaiConfigService, providedIn: 'root' });
|
62
62
|
}
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: YunzaiConfigService, decorators: [{
|
64
64
|
type: Injectable,
|
65
65
|
args: [{ providedIn: 'root' }]
|
66
66
|
}] });
|
package/fesm2022/format.mjs
CHANGED
@@ -412,10 +412,10 @@ class CurrencyService {
|
|
412
412
|
: integerRes + (decimalRes === '' ? '' : `点${decimalRes}`));
|
413
413
|
return ret;
|
414
414
|
}
|
415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
416
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
416
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyService, providedIn: 'root' });
|
417
417
|
}
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyService, decorators: [{
|
419
419
|
type: Injectable,
|
420
420
|
args: [{ providedIn: 'root' }]
|
421
421
|
}], ctorParameters: () => [{ type: i1.YunzaiConfigService }] });
|
package/fesm2022/other.mjs
CHANGED
@@ -229,10 +229,10 @@ class LazyService {
|
|
229
229
|
resolve(item);
|
230
230
|
});
|
231
231
|
}
|
232
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
233
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LazyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
233
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LazyService, providedIn: 'root' });
|
234
234
|
}
|
235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LazyService, decorators: [{
|
236
236
|
type: Injectable,
|
237
237
|
args: [{ providedIn: 'root' }]
|
238
238
|
}] });
|
@@ -528,10 +528,10 @@ class PathToRegexpService {
|
|
528
528
|
}
|
529
529
|
return this.stringToRegexp(/** @type {string} */ path, keys, options);
|
530
530
|
}
|
531
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
532
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
531
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: PathToRegexpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
532
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: PathToRegexpService, providedIn: 'root' });
|
533
533
|
}
|
534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: PathToRegexpService, decorators: [{
|
535
535
|
type: Injectable,
|
536
536
|
args: [{
|
537
537
|
providedIn: 'root'
|
@@ -14,10 +14,10 @@ class CurrencyMegaPipe {
|
|
14
14
|
const res = this.srv.mega(value, options);
|
15
15
|
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
16
16
|
}
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
18
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyMegaPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
18
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: CurrencyMegaPipe, isStandalone: true, name: "mega" });
|
19
19
|
}
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
|
21
21
|
type: Pipe,
|
22
22
|
args: [{ name: 'mega' }]
|
23
23
|
}] });
|
@@ -36,10 +36,10 @@ class CurrencyPricePipe {
|
|
36
36
|
transform(value, options) {
|
37
37
|
return this.srv.format(value, options);
|
38
38
|
}
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
40
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPricePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
40
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPricePipe, isStandalone: true, name: "price" });
|
41
41
|
}
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPricePipe, decorators: [{
|
43
43
|
type: Pipe,
|
44
44
|
args: [{ name: 'price' }]
|
45
45
|
}] });
|
@@ -54,21 +54,21 @@ class CurrencyCNYPipe {
|
|
54
54
|
transform(value, options) {
|
55
55
|
return this.srv.cny(value, options);
|
56
56
|
}
|
57
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
58
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
57
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyCNYPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
58
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: CurrencyCNYPipe, isStandalone: true, name: "cny" });
|
59
59
|
}
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
|
61
61
|
type: Pipe,
|
62
62
|
args: [{ name: 'cny' }]
|
63
63
|
}] });
|
64
64
|
|
65
65
|
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
66
66
|
class CurrencyPipeModule {
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
68
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
69
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
68
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPipeModule, imports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] });
|
69
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPipeModule });
|
70
70
|
}
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
72
72
|
type: NgModule,
|
73
73
|
args: [{
|
74
74
|
imports: PIPES,
|
package/fesm2022/pipe-filter.mjs
CHANGED
@@ -11,21 +11,21 @@ class FilterPipe {
|
|
11
11
|
transform(array, matcher, ...args) {
|
12
12
|
return array.filter(i => matcher(i, ...args));
|
13
13
|
}
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
15
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
15
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: FilterPipe, isStandalone: true, name: "filter", pure: false });
|
16
16
|
}
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FilterPipe, decorators: [{
|
18
18
|
type: Pipe,
|
19
19
|
args: [{ name: 'filter', pure: false }]
|
20
20
|
}] });
|
21
21
|
|
22
22
|
const PIPES = [FilterPipe];
|
23
23
|
class FilterPipeModule {
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
25
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
26
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
25
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: FilterPipeModule, imports: [FilterPipe], exports: [FilterPipe] });
|
26
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FilterPipeModule });
|
27
27
|
}
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FilterPipeModule, decorators: [{
|
29
29
|
type: NgModule,
|
30
30
|
args: [{
|
31
31
|
imports: PIPES,
|
package/fesm2022/pipe-format.mjs
CHANGED
@@ -25,21 +25,21 @@ class FormatMaskPipe {
|
|
25
25
|
transform(value, mask) {
|
26
26
|
return formatMask(value, mask);
|
27
27
|
}
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
29
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
29
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: FormatMaskPipe, isStandalone: true, name: "mask" });
|
30
30
|
}
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FormatMaskPipe, decorators: [{
|
32
32
|
type: Pipe,
|
33
33
|
args: [{ name: 'mask' }]
|
34
34
|
}] });
|
35
35
|
|
36
36
|
const PIPES = [FormatMaskPipe];
|
37
37
|
class FormatPipeModule {
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
39
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
40
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
39
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: FormatPipeModule, imports: [FormatMaskPipe], exports: [FormatMaskPipe] });
|
40
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FormatPipeModule });
|
41
41
|
}
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FormatPipeModule, decorators: [{
|
43
43
|
type: NgModule,
|
44
44
|
args: [{
|
45
45
|
imports: PIPES,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yelon/util",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.2.0",
|
4
4
|
"author": "yunzai-bot<yunzai-bot@outlook.com>",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -37,14 +37,14 @@
|
|
37
37
|
"types": "./array/index.d.ts",
|
38
38
|
"default": "./fesm2022/array.mjs"
|
39
39
|
},
|
40
|
-
"./config": {
|
41
|
-
"types": "./config/index.d.ts",
|
42
|
-
"default": "./fesm2022/config.mjs"
|
43
|
-
},
|
44
40
|
"./browser": {
|
45
41
|
"types": "./browser/index.d.ts",
|
46
42
|
"default": "./fesm2022/browser.mjs"
|
47
43
|
},
|
44
|
+
"./config": {
|
45
|
+
"types": "./config/index.d.ts",
|
46
|
+
"default": "./fesm2022/config.mjs"
|
47
|
+
},
|
48
48
|
"./date-time": {
|
49
49
|
"types": "./date-time/index.d.ts",
|
50
50
|
"default": "./fesm2022/date-time.mjs"
|
@@ -65,26 +65,26 @@
|
|
65
65
|
"types": "./math/index.d.ts",
|
66
66
|
"default": "./fesm2022/math.mjs"
|
67
67
|
},
|
68
|
-
"./mtypes": {
|
69
|
-
"types": "./mtypes/index.d.ts",
|
70
|
-
"default": "./fesm2022/mtypes.mjs"
|
71
|
-
},
|
72
68
|
"./mcache": {
|
73
69
|
"types": "./mcache/index.d.ts",
|
74
70
|
"default": "./fesm2022/mcache.mjs"
|
75
71
|
},
|
72
|
+
"./mtypes": {
|
73
|
+
"types": "./mtypes/index.d.ts",
|
74
|
+
"default": "./fesm2022/mtypes.mjs"
|
75
|
+
},
|
76
76
|
"./other": {
|
77
77
|
"types": "./other/index.d.ts",
|
78
78
|
"default": "./fesm2022/other.mjs"
|
79
79
|
},
|
80
|
-
"./token": {
|
81
|
-
"types": "./token/index.d.ts",
|
82
|
-
"default": "./fesm2022/token.mjs"
|
83
|
-
},
|
84
80
|
"./pipes": {
|
85
81
|
"types": "./pipes/index.d.ts",
|
86
82
|
"default": "./fesm2022/pipes.mjs"
|
87
83
|
},
|
84
|
+
"./token": {
|
85
|
+
"types": "./token/index.d.ts",
|
86
|
+
"default": "./fesm2022/token.mjs"
|
87
|
+
},
|
88
88
|
"./pipes/currency": {
|
89
89
|
"types": "./pipes/currency/index.d.ts",
|
90
90
|
"default": "./fesm2022/pipe-currency.mjs"
|