@delon/util 15.2.1 → 16.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/config/abc/pdf.type.d.ts +1 -1
- package/esm2022/array/array.service.mjs +279 -0
- package/esm2022/browser/cookie.service.mjs +104 -0
- package/esm2022/browser/scroll.service.mjs +89 -0
- package/esm2022/config/abc/pdf.type.mjs +2 -0
- package/esm2022/config/config.service.mjs +39 -0
- package/esm2022/format/currency.service.mjs +239 -0
- package/esm2022/other/lazy.service.mjs +133 -0
- package/esm2022/pipes/currency/cny.pipe.mjs +24 -0
- package/esm2022/pipes/currency/mega.pipe.mjs +30 -0
- package/esm2022/pipes/currency/module.mjs +20 -0
- package/esm2022/pipes/currency/price.pipe.mjs +28 -0
- package/esm2022/pipes/filter/filter.pipe.mjs +20 -0
- package/esm2022/pipes/filter/module.mjs +18 -0
- package/esm2022/pipes/format/mask.pipe.mjs +35 -0
- package/esm2022/pipes/format/module.mjs +18 -0
- package/{fesm2020 → fesm2022}/array.mjs +3 -3
- package/{fesm2015 → fesm2022}/array.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/browser.mjs +6 -6
- package/{fesm2020 → fesm2022}/browser.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/config.mjs +3 -3
- package/{fesm2020 → fesm2022}/config.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/format.mjs +3 -3
- package/{fesm2020 → fesm2022}/format.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/other.mjs +3 -3
- package/{fesm2020 → fesm2022}/other.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pipe-currency.mjs +13 -13
- package/{fesm2020 → fesm2022}/pipe-currency.mjs.map +1 -1
- package/fesm2022/pipe-filter.mjs +40 -0
- package/{fesm2015 → fesm2022}/pipe-filter.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/pipe-format.mjs +7 -7
- package/{fesm2015 → fesm2022}/pipe-format.mjs.map +1 -1
- package/package.json +53 -87
- package/esm2020/array/array.service.mjs +0 -278
- package/esm2020/browser/cookie.service.mjs +0 -103
- package/esm2020/browser/scroll.service.mjs +0 -88
- package/esm2020/config/abc/pdf.type.mjs +0 -2
- package/esm2020/config/config.service.mjs +0 -38
- package/esm2020/format/currency.service.mjs +0 -238
- package/esm2020/other/lazy.service.mjs +0 -132
- package/esm2020/pipes/currency/cny.pipe.mjs +0 -23
- package/esm2020/pipes/currency/mega.pipe.mjs +0 -29
- package/esm2020/pipes/currency/module.mjs +0 -19
- package/esm2020/pipes/currency/price.pipe.mjs +0 -27
- package/esm2020/pipes/filter/filter.pipe.mjs +0 -19
- package/esm2020/pipes/filter/module.mjs +0 -17
- package/esm2020/pipes/format/mask.pipe.mjs +0 -34
- package/esm2020/pipes/format/module.mjs +0 -17
- package/fesm2015/array.mjs +0 -255
- package/fesm2015/browser.mjs +0 -283
- package/fesm2015/browser.mjs.map +0 -1
- package/fesm2015/config.mjs +0 -57
- package/fesm2015/config.mjs.map +0 -1
- package/fesm2015/date-time.mjs +0 -207
- package/fesm2015/date-time.mjs.map +0 -1
- package/fesm2015/decorator.mjs +0 -121
- package/fesm2015/decorator.mjs.map +0 -1
- package/fesm2015/format.mjs +0 -413
- package/fesm2015/format.mjs.map +0 -1
- package/fesm2015/other.mjs +0 -319
- package/fesm2015/other.mjs.map +0 -1
- package/fesm2015/pipe-currency.mjs +0 -96
- package/fesm2015/pipe-currency.mjs.map +0 -1
- package/fesm2015/pipe-filter.mjs +0 -40
- package/fesm2020/array.mjs.map +0 -1
- package/fesm2020/delon-util.mjs +0 -16
- package/fesm2020/delon-util.mjs.map +0 -1
- package/fesm2020/form.mjs +0 -118
- package/fesm2020/form.mjs.map +0 -1
- package/fesm2020/math.mjs +0 -85
- package/fesm2020/math.mjs.map +0 -1
- package/fesm2020/pipe-filter.mjs +0 -40
- package/fesm2020/pipe-filter.mjs.map +0 -1
- package/fesm2020/pipe-format.mjs +0 -55
- package/fesm2020/pipe-format.mjs.map +0 -1
- package/fesm2020/pipes.mjs +0 -8
- package/fesm2020/pipes.mjs.map +0 -1
- package/fesm2020/token.mjs +0 -37
- package/fesm2020/token.mjs.map +0 -1
- /package/{esm2020 → esm2022}/array/array-type.service.mjs +0 -0
- /package/{esm2020 → esm2022}/array/array.mjs +0 -0
- /package/{esm2020 → esm2022}/array/index.mjs +0 -0
- /package/{esm2020 → esm2022}/browser/browser.mjs +0 -0
- /package/{esm2020 → esm2022}/browser/copy.mjs +0 -0
- /package/{esm2020 → esm2022}/browser/index.mjs +0 -0
- /package/{esm2020 → esm2022}/browser/is-empty.mjs +0 -0
- /package/{esm2020 → esm2022}/browser/style.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/date-picker.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/error-collect.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/exception.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/image.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/index.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/loading.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/lodop.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/media.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/onboarding.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/page-header.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/qr.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/se.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/sg.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/st.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/sv.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/xlsx.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/abc/zip.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/acl/acl.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/auth/auth.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/cache/cache.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/chart/chart.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/config.mjs +0 -0
- /package/{esm2020 → esm2022}/config/config.types.mjs +0 -0
- /package/{esm2020 → esm2022}/config/index.mjs +0 -0
- /package/{esm2020 → esm2022}/config/mock/mock.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/sf/sf.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/theme/http.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/theme/i18n.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/theme/index.mjs +0 -0
- /package/{esm2020 → esm2022}/config/theme/responsive.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/util/array.type.mjs +0 -0
- /package/{esm2020 → esm2022}/config/util/currency.type.mjs +0 -0
- /package/{esm2020 → esm2022}/date-time/date-time.mjs +0 -0
- /package/{esm2020 → esm2022}/date-time/index.mjs +0 -0
- /package/{esm2020 → esm2022}/date-time/picker.mjs +0 -0
- /package/{esm2020 → esm2022}/date-time/time.mjs +0 -0
- /package/{esm2020 → esm2022}/decorator/convert.mjs +0 -0
- /package/{esm2020 → esm2022}/decorator/decorator.mjs +0 -0
- /package/{esm2020 → esm2022}/decorator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/decorator/zone-outside.mjs +0 -0
- /package/{esm2020 → esm2022}/delon-util.mjs +0 -0
- /package/{esm2020 → esm2022}/form/form.mjs +0 -0
- /package/{esm2020 → esm2022}/form/index.mjs +0 -0
- /package/{esm2020 → esm2022}/form/match-control.mjs +0 -0
- /package/{esm2020 → esm2022}/form/validators.mjs +0 -0
- /package/{esm2020 → esm2022}/format/currency.types.mjs +0 -0
- /package/{esm2020 → esm2022}/format/format.mjs +0 -0
- /package/{esm2020 → esm2022}/format/index.mjs +0 -0
- /package/{esm2020 → esm2022}/format/string.mjs +0 -0
- /package/{esm2020 → esm2022}/format/validate.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/math/in-range.mjs +0 -0
- /package/{esm2020 → esm2022}/math/index.mjs +0 -0
- /package/{esm2020 → esm2022}/math/math.mjs +0 -0
- /package/{esm2020 → esm2022}/math/round.mjs +0 -0
- /package/{esm2020 → esm2022}/other/assert.mjs +0 -0
- /package/{esm2020 → esm2022}/other/deep.mjs +0 -0
- /package/{esm2020 → esm2022}/other/index.mjs +0 -0
- /package/{esm2020 → esm2022}/other/logger.mjs +0 -0
- /package/{esm2020 → esm2022}/other/other.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/currency/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/currency/pipe-currency.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/filter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/filter/pipe-filter.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/format/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/format/pipe-format.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/pipes.mjs +0 -0
- /package/{esm2020 → esm2022}/token/index.mjs +0 -0
- /package/{esm2020 → esm2022}/token/page-visibility.mjs +0 -0
- /package/{esm2020 → esm2022}/token/token.mjs +0 -0
- /package/{esm2020 → esm2022}/token/window.mjs +0 -0
- /package/{fesm2020 → fesm2022}/date-time.mjs +0 -0
- /package/{fesm2020 → fesm2022}/date-time.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/decorator.mjs +0 -0
- /package/{fesm2020 → fesm2022}/decorator.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/delon-util.mjs +0 -0
- /package/{fesm2015 → fesm2022}/delon-util.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/form.mjs +0 -0
- /package/{fesm2015 → fesm2022}/form.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/math.mjs +0 -0
- /package/{fesm2015 → fesm2022}/math.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/pipes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/pipes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/token.mjs +0 -0
- /package/{fesm2015 → fesm2022}/token.mjs.map +0 -0
|
@@ -17,10 +17,10 @@ class CurrencyMegaPipe {
|
|
|
17
17
|
const res = this.srv.mega(value, options);
|
|
18
18
|
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
|
19
19
|
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyMegaPipe, deps: [{ token: i1.CurrencyService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
21
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: CurrencyMegaPipe, name: "mega" }); }
|
|
20
22
|
}
|
|
21
|
-
|
|
22
|
-
CurrencyMegaPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CurrencyMegaPipe, name: "mega" });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
|
|
24
24
|
type: Pipe,
|
|
25
25
|
args: [{ name: 'mega' }]
|
|
26
26
|
}], ctorParameters: function () { return [{ type: i1.CurrencyService }, { type: undefined, decorators: [{
|
|
@@ -44,10 +44,10 @@ class CurrencyPricePipe {
|
|
|
44
44
|
transform(value, options) {
|
|
45
45
|
return this.srv.format(value, options);
|
|
46
46
|
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPricePipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
48
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPricePipe, name: "price" }); }
|
|
47
49
|
}
|
|
48
|
-
|
|
49
|
-
CurrencyPricePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CurrencyPricePipe, name: "price" });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CurrencyPricePipe, decorators: [{
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPricePipe, decorators: [{
|
|
51
51
|
type: Pipe,
|
|
52
52
|
args: [{ name: 'price' }]
|
|
53
53
|
}], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
|
|
@@ -64,21 +64,21 @@ class CurrencyCNYPipe {
|
|
|
64
64
|
transform(value, options) {
|
|
65
65
|
return this.srv.cny(value, options);
|
|
66
66
|
}
|
|
67
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyCNYPipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
68
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: CurrencyCNYPipe, name: "cny" }); }
|
|
67
69
|
}
|
|
68
|
-
|
|
69
|
-
CurrencyCNYPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CurrencyCNYPipe, name: "cny" });
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
|
|
71
71
|
type: Pipe,
|
|
72
72
|
args: [{ name: 'cny' }]
|
|
73
73
|
}], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
|
|
74
74
|
|
|
75
75
|
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
|
76
76
|
class CurrencyPipeModule {
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
78
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] }); }
|
|
79
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPipeModule }); }
|
|
77
80
|
}
|
|
78
|
-
|
|
79
|
-
CurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] });
|
|
80
|
-
CurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CurrencyPipeModule });
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
|
82
82
|
type: NgModule,
|
|
83
83
|
args: [{
|
|
84
84
|
declarations: PIPES,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipe-currency.mjs","sources":["../../../../packages/util/pipes/currency/mega.pipe.ts","../../../../packages/util/pipes/currency/price.pipe.ts","../../../../packages/util/pipes/currency/cny.pipe.ts","../../../../packages/util/pipes/currency/module.ts","../../../../packages/util/pipes/currency/pipe-currency.ts"],"sourcesContent":["import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\n\nimport { CurrencyMegaOptions, CurrencyService } from '@delon/util/format';\n\n@Pipe({ name: 'mega' })\nexport class CurrencyMegaPipe implements PipeTransform {\n private isCN = false;\n constructor(private srv: CurrencyService, @Inject(LOCALE_ID) locale: string) {\n this.isCN = locale.startsWith('zh');\n }\n\n /**\n * Large number format filter\n *\n * 大数据格式化\n */\n transform(value: number | string, options?: CurrencyMegaOptions): string {\n const res = this.srv.mega(value, options);\n return res.value + (this.isCN ? res.unitI18n : res.unit);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { CurrencyFormatOptions, CurrencyService } from '@delon/util/format';\n\n@Pipe({ name: 'price' })\nexport class CurrencyPricePipe implements PipeTransform {\n constructor(private srv: CurrencyService) {}\n /**\n * Format a number with commas as thousands separators\n *\n * 格式化货币,用逗号将数字格式化为千位分隔符\n * ```ts\n * 10000 => `10,000`\n * 10000.567 => `10,000.57`\n * ```\n */\n transform(value: number | string, options?: CurrencyFormatOptions): string {\n return this.srv.format(value, options);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { CurrencyCNYOptions, CurrencyService } from '@delon/util/format';\n\n@Pipe({ name: 'cny' })\nexport class CurrencyCNYPipe implements PipeTransform {\n constructor(private srv: CurrencyService) {}\n\n /**\n * Converted into RMB notation.\n *\n * 转化成人民币表示法\n */\n transform(value: number | string, options?: CurrencyCNYOptions): string {\n return this.srv.cny(value, options);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { CurrencyCNYPipe } from './cny.pipe';\nimport { CurrencyMegaPipe } from './mega.pipe';\nimport { CurrencyPricePipe } from './price.pipe';\n\nconst PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];\n\n@NgModule({\n declarations: PIPES,\n exports: PIPES\n})\nexport class CurrencyPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"pipe-currency.mjs","sources":["../../../../packages/util/pipes/currency/mega.pipe.ts","../../../../packages/util/pipes/currency/price.pipe.ts","../../../../packages/util/pipes/currency/cny.pipe.ts","../../../../packages/util/pipes/currency/module.ts","../../../../packages/util/pipes/currency/pipe-currency.ts"],"sourcesContent":["import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\n\nimport { CurrencyMegaOptions, CurrencyService } from '@delon/util/format';\n\n@Pipe({ name: 'mega' })\nexport class CurrencyMegaPipe implements PipeTransform {\n private isCN = false;\n constructor(private srv: CurrencyService, @Inject(LOCALE_ID) locale: string) {\n this.isCN = locale.startsWith('zh');\n }\n\n /**\n * Large number format filter\n *\n * 大数据格式化\n */\n transform(value: number | string, options?: CurrencyMegaOptions): string {\n const res = this.srv.mega(value, options);\n return res.value + (this.isCN ? res.unitI18n : res.unit);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { CurrencyFormatOptions, CurrencyService } from '@delon/util/format';\n\n@Pipe({ name: 'price' })\nexport class CurrencyPricePipe implements PipeTransform {\n constructor(private srv: CurrencyService) {}\n /**\n * Format a number with commas as thousands separators\n *\n * 格式化货币,用逗号将数字格式化为千位分隔符\n * ```ts\n * 10000 => `10,000`\n * 10000.567 => `10,000.57`\n * ```\n */\n transform(value: number | string, options?: CurrencyFormatOptions): string {\n return this.srv.format(value, options);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { CurrencyCNYOptions, CurrencyService } from '@delon/util/format';\n\n@Pipe({ name: 'cny' })\nexport class CurrencyCNYPipe implements PipeTransform {\n constructor(private srv: CurrencyService) {}\n\n /**\n * Converted into RMB notation.\n *\n * 转化成人民币表示法\n */\n transform(value: number | string, options?: CurrencyCNYOptions): string {\n return this.srv.cny(value, options);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { CurrencyCNYPipe } from './cny.pipe';\nimport { CurrencyMegaPipe } from './mega.pipe';\nimport { CurrencyPricePipe } from './price.pipe';\n\nconst PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];\n\n@NgModule({\n declarations: PIPES,\n exports: PIPES\n})\nexport class CurrencyPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class FilterPipe {
|
|
5
|
+
/**
|
|
6
|
+
* Filter array
|
|
7
|
+
*
|
|
8
|
+
* 过滤数组
|
|
9
|
+
*/
|
|
10
|
+
transform(array, matcher, ...args) {
|
|
11
|
+
return array.filter(i => matcher(i, ...args));
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: FilterPipe, name: "filter" }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FilterPipe, decorators: [{
|
|
17
|
+
type: Pipe,
|
|
18
|
+
args: [{ name: 'filter' }]
|
|
19
|
+
}] });
|
|
20
|
+
|
|
21
|
+
const PIPES = [FilterPipe];
|
|
22
|
+
class FilterPipeModule {
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
24
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: FilterPipeModule, declarations: [FilterPipe], exports: [FilterPipe] }); }
|
|
25
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FilterPipeModule }); }
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FilterPipeModule, decorators: [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
declarations: PIPES,
|
|
31
|
+
exports: PIPES
|
|
32
|
+
}]
|
|
33
|
+
}] });
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Generated bundle index. Do not edit.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
export { FilterPipe, FilterPipeModule };
|
|
40
|
+
//# sourceMappingURL=pipe-filter.mjs.map
|
|
@@ -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":";;;
|
|
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":";;;AAIA,MACa,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;8GARU,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAV,UAAU,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA,CAAA,EAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBADtB,IAAI;mBAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAA;;;ACAxB,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,CAAC;AAE3B,MAIa,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAhB,gBAAgB,EAAA,YAAA,EAAA,CANd,UAAU,CAAA,EAAA,OAAA,EAAA,CAAV,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;+GAMZ,gBAAgB,EAAA,CAAA,CAAA,EAAA;;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;;;;"}
|
|
@@ -25,21 +25,21 @@ class FormatMaskPipe {
|
|
|
25
25
|
transform(value, mask) {
|
|
26
26
|
return formatMask(value, mask);
|
|
27
27
|
}
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
29
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: FormatMaskPipe, name: "mask" }); }
|
|
28
30
|
}
|
|
29
|
-
|
|
30
|
-
FormatMaskPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FormatMaskPipe, name: "mask" });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormatMaskPipe, decorators: [{
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", 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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
39
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] }); }
|
|
40
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: FormatPipeModule }); }
|
|
38
41
|
}
|
|
39
|
-
|
|
40
|
-
FormatPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] });
|
|
41
|
-
FormatPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormatPipeModule });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormatPipeModule, decorators: [{
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", 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 '@delon/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":";;;;
|
|
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 '@delon/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":";;;;AAIA,MACa,cAAc,CAAA;AACzB;;;;;;;;;;;;;;;;;;AAkBG;IACH,SAAS,CAAC,KAAa,EAAE,IAA+B,EAAA;AACtD,QAAA,OAAO,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;KAChC;8GAtBU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAd,cAAc,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,IAAI;mBAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAA;;;ACAtB,MAAM,KAAK,GAAG,CAAC,cAAc,CAAC,CAAC;AAE/B,MAIa,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAhB,gBAAgB,EAAA,YAAA,EAAA,CANd,cAAc,CAAA,EAAA,OAAA,EAAA,CAAd,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;+GAMhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;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;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delon/util",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -23,11 +23,7 @@
|
|
|
23
23
|
"extend": "^3.0.2",
|
|
24
24
|
"tslib": "^2.3.0"
|
|
25
25
|
},
|
|
26
|
-
"module": "
|
|
27
|
-
"es2020": "fesm2020/delon-util.mjs",
|
|
28
|
-
"esm2020": "esm2020/delon-util.mjs",
|
|
29
|
-
"fesm2020": "fesm2020/delon-util.mjs",
|
|
30
|
-
"fesm2015": "fesm2015/delon-util.mjs",
|
|
26
|
+
"module": "fesm2022/delon-util.mjs",
|
|
31
27
|
"typings": "index.d.ts",
|
|
32
28
|
"exports": {
|
|
33
29
|
"./package.json": {
|
|
@@ -35,123 +31,93 @@
|
|
|
35
31
|
},
|
|
36
32
|
".": {
|
|
37
33
|
"types": "./index.d.ts",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"node": "./fesm2015/delon-util.mjs",
|
|
42
|
-
"default": "./fesm2020/delon-util.mjs"
|
|
34
|
+
"esm2022": "./esm2022/delon-util.mjs",
|
|
35
|
+
"esm": "./esm2022/delon-util.mjs",
|
|
36
|
+
"default": "./fesm2022/delon-util.mjs"
|
|
43
37
|
},
|
|
44
38
|
"./array": {
|
|
45
39
|
"types": "./array/index.d.ts",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"node": "./fesm2015/array.mjs",
|
|
50
|
-
"default": "./fesm2020/array.mjs"
|
|
40
|
+
"esm2022": "./esm2022/array/array.mjs",
|
|
41
|
+
"esm": "./esm2022/array/array.mjs",
|
|
42
|
+
"default": "./fesm2022/array.mjs"
|
|
51
43
|
},
|
|
52
44
|
"./browser": {
|
|
53
45
|
"types": "./browser/index.d.ts",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"node": "./fesm2015/browser.mjs",
|
|
58
|
-
"default": "./fesm2020/browser.mjs"
|
|
46
|
+
"esm2022": "./esm2022/browser/browser.mjs",
|
|
47
|
+
"esm": "./esm2022/browser/browser.mjs",
|
|
48
|
+
"default": "./fesm2022/browser.mjs"
|
|
59
49
|
},
|
|
60
50
|
"./config": {
|
|
61
51
|
"types": "./config/index.d.ts",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"node": "./fesm2015/config.mjs",
|
|
66
|
-
"default": "./fesm2020/config.mjs"
|
|
52
|
+
"esm2022": "./esm2022/config/config.mjs",
|
|
53
|
+
"esm": "./esm2022/config/config.mjs",
|
|
54
|
+
"default": "./fesm2022/config.mjs"
|
|
67
55
|
},
|
|
68
56
|
"./date-time": {
|
|
69
57
|
"types": "./date-time/index.d.ts",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"node": "./fesm2015/date-time.mjs",
|
|
74
|
-
"default": "./fesm2020/date-time.mjs"
|
|
58
|
+
"esm2022": "./esm2022/date-time/date-time.mjs",
|
|
59
|
+
"esm": "./esm2022/date-time/date-time.mjs",
|
|
60
|
+
"default": "./fesm2022/date-time.mjs"
|
|
75
61
|
},
|
|
76
62
|
"./decorator": {
|
|
77
63
|
"types": "./decorator/index.d.ts",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"node": "./fesm2015/decorator.mjs",
|
|
82
|
-
"default": "./fesm2020/decorator.mjs"
|
|
64
|
+
"esm2022": "./esm2022/decorator/decorator.mjs",
|
|
65
|
+
"esm": "./esm2022/decorator/decorator.mjs",
|
|
66
|
+
"default": "./fesm2022/decorator.mjs"
|
|
83
67
|
},
|
|
84
68
|
"./form": {
|
|
85
69
|
"types": "./form/index.d.ts",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"node": "./fesm2015/form.mjs",
|
|
90
|
-
"default": "./fesm2020/form.mjs"
|
|
70
|
+
"esm2022": "./esm2022/form/form.mjs",
|
|
71
|
+
"esm": "./esm2022/form/form.mjs",
|
|
72
|
+
"default": "./fesm2022/form.mjs"
|
|
91
73
|
},
|
|
92
74
|
"./format": {
|
|
93
75
|
"types": "./format/index.d.ts",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"node": "./fesm2015/format.mjs",
|
|
98
|
-
"default": "./fesm2020/format.mjs"
|
|
76
|
+
"esm2022": "./esm2022/format/format.mjs",
|
|
77
|
+
"esm": "./esm2022/format/format.mjs",
|
|
78
|
+
"default": "./fesm2022/format.mjs"
|
|
99
79
|
},
|
|
100
80
|
"./math": {
|
|
101
81
|
"types": "./math/index.d.ts",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"node": "./fesm2015/math.mjs",
|
|
106
|
-
"default": "./fesm2020/math.mjs"
|
|
82
|
+
"esm2022": "./esm2022/math/math.mjs",
|
|
83
|
+
"esm": "./esm2022/math/math.mjs",
|
|
84
|
+
"default": "./fesm2022/math.mjs"
|
|
107
85
|
},
|
|
108
86
|
"./other": {
|
|
109
87
|
"types": "./other/index.d.ts",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
88
|
+
"esm2022": "./esm2022/other/other.mjs",
|
|
89
|
+
"esm": "./esm2022/other/other.mjs",
|
|
90
|
+
"default": "./fesm2022/other.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./pipes": {
|
|
93
|
+
"types": "./pipes/index.d.ts",
|
|
94
|
+
"esm2022": "./esm2022/pipes/pipes.mjs",
|
|
95
|
+
"esm": "./esm2022/pipes/pipes.mjs",
|
|
96
|
+
"default": "./fesm2022/pipes.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./token": {
|
|
99
|
+
"types": "./token/index.d.ts",
|
|
100
|
+
"esm2022": "./esm2022/token/token.mjs",
|
|
101
|
+
"esm": "./esm2022/token/token.mjs",
|
|
102
|
+
"default": "./fesm2022/token.mjs"
|
|
115
103
|
},
|
|
116
104
|
"./pipes/currency": {
|
|
117
105
|
"types": "./pipes/currency/index.d.ts",
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"node": "./fesm2015/pipe-currency.mjs",
|
|
122
|
-
"default": "./fesm2020/pipe-currency.mjs"
|
|
106
|
+
"esm2022": "./esm2022/pipes/currency/pipe-currency.mjs",
|
|
107
|
+
"esm": "./esm2022/pipes/currency/pipe-currency.mjs",
|
|
108
|
+
"default": "./fesm2022/pipe-currency.mjs"
|
|
123
109
|
},
|
|
124
110
|
"./pipes/filter": {
|
|
125
111
|
"types": "./pipes/filter/index.d.ts",
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"node": "./fesm2015/pipe-filter.mjs",
|
|
130
|
-
"default": "./fesm2020/pipe-filter.mjs"
|
|
112
|
+
"esm2022": "./esm2022/pipes/filter/pipe-filter.mjs",
|
|
113
|
+
"esm": "./esm2022/pipes/filter/pipe-filter.mjs",
|
|
114
|
+
"default": "./fesm2022/pipe-filter.mjs"
|
|
131
115
|
},
|
|
132
116
|
"./pipes/format": {
|
|
133
117
|
"types": "./pipes/format/index.d.ts",
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"node": "./fesm2015/pipe-format.mjs",
|
|
138
|
-
"default": "./fesm2020/pipe-format.mjs"
|
|
139
|
-
},
|
|
140
|
-
"./pipes": {
|
|
141
|
-
"types": "./pipes/index.d.ts",
|
|
142
|
-
"esm2020": "./esm2020/pipes/pipes.mjs",
|
|
143
|
-
"es2020": "./fesm2020/pipes.mjs",
|
|
144
|
-
"es2015": "./fesm2015/pipes.mjs",
|
|
145
|
-
"node": "./fesm2015/pipes.mjs",
|
|
146
|
-
"default": "./fesm2020/pipes.mjs"
|
|
147
|
-
},
|
|
148
|
-
"./token": {
|
|
149
|
-
"types": "./token/index.d.ts",
|
|
150
|
-
"esm2020": "./esm2020/token/token.mjs",
|
|
151
|
-
"es2020": "./fesm2020/token.mjs",
|
|
152
|
-
"es2015": "./fesm2015/token.mjs",
|
|
153
|
-
"node": "./fesm2015/token.mjs",
|
|
154
|
-
"default": "./fesm2020/token.mjs"
|
|
118
|
+
"esm2022": "./esm2022/pipes/format/pipe-format.mjs",
|
|
119
|
+
"esm": "./esm2022/pipes/format/pipe-format.mjs",
|
|
120
|
+
"default": "./fesm2022/pipe-format.mjs"
|
|
155
121
|
}
|
|
156
122
|
},
|
|
157
123
|
"sideEffects": false
|