@delon/util 17.3.1 → 18.0.0-beta.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/index.d.ts +0 -1
- package/config/config.types.d.ts +1 -2
- package/esm2022/array/array.service.mjs +3 -3
- package/esm2022/browser/cookie.service.mjs +3 -3
- package/esm2022/browser/scroll.service.mjs +3 -3
- package/esm2022/config/abc/index.mjs +1 -2
- package/esm2022/config/config.service.mjs +3 -3
- package/esm2022/config/config.types.mjs +1 -1
- package/esm2022/format/currency.service.mjs +3 -3
- package/esm2022/other/lazy.service.mjs +3 -3
- package/esm2022/pipes/currency/cny.pipe.mjs +3 -3
- package/esm2022/pipes/currency/mega.pipe.mjs +3 -3
- package/esm2022/pipes/currency/module.mjs +4 -4
- package/esm2022/pipes/currency/price.pipe.mjs +3 -3
- package/esm2022/pipes/filter/filter.pipe.mjs +3 -3
- package/esm2022/pipes/filter/module.mjs +4 -4
- package/esm2022/pipes/format/mask.pipe.mjs +3 -3
- package/esm2022/pipes/format/module.mjs +4 -4
- package/fesm2022/array.mjs +3 -3
- package/fesm2022/browser.mjs +6 -6
- package/fesm2022/config.mjs +3 -3
- package/fesm2022/config.mjs.map +1 -1
- package/fesm2022/format.mjs +3 -3
- package/fesm2022/other.mjs +3 -3
- package/fesm2022/pipe-currency.mjs +13 -13
- package/fesm2022/pipe-filter.mjs +7 -7
- package/fesm2022/pipe-format.mjs +7 -7
- package/package.json +1 -1
- package/config/abc/qr.type.d.ts +0 -25
- package/esm2022/config/abc/qr.type.mjs +0 -2
package/config/abc/index.d.ts
CHANGED
package/config/config.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnvironmentProviders, InjectionToken } from '@angular/core';
|
|
2
|
-
import { AlainCellConfig, AlainDateRangePickerConfig, AlainErrorCollectConfig, AlainExceptionType, AlainImageConfig, AlainLoadingConfig, AlainLodopConfig, AlainMediaConfig, AlainOnboardingConfig, AlainPageHeaderConfig, AlainPdfConfig,
|
|
2
|
+
import { AlainCellConfig, AlainDateRangePickerConfig, AlainErrorCollectConfig, AlainExceptionType, AlainImageConfig, AlainLoadingConfig, AlainLodopConfig, AlainMediaConfig, AlainOnboardingConfig, AlainPageHeaderConfig, AlainPdfConfig, AlainSEConfig, AlainSGConfig, AlainSTConfig, AlainSVConfig, AlainXlsxConfig, AlainZipConfig } from './abc/index';
|
|
3
3
|
import { AlainACLConfig } from './acl/acl.type';
|
|
4
4
|
import { AlainAuthConfig } from './auth/auth.type';
|
|
5
5
|
import { AlainCacheConfig } from './cache/cache.type';
|
|
@@ -19,7 +19,6 @@ export interface AlainConfig {
|
|
|
19
19
|
onboarding?: AlainOnboardingConfig;
|
|
20
20
|
lodop?: AlainLodopConfig;
|
|
21
21
|
pageHeader?: AlainPageHeaderConfig;
|
|
22
|
-
qr?: AlainQRConfig;
|
|
23
22
|
se?: AlainSEConfig;
|
|
24
23
|
sg?: AlainSGConfig;
|
|
25
24
|
sv?: AlainSVConfig;
|
|
@@ -268,10 +268,10 @@ export class ArrayService {
|
|
|
268
268
|
}, new Map())
|
|
269
269
|
.values());
|
|
270
270
|
}
|
|
271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
272
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ArrayService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
272
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ArrayService, providedIn: 'root' }); }
|
|
273
273
|
}
|
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ArrayService, decorators: [{
|
|
275
275
|
type: Injectable,
|
|
276
276
|
args: [{ providedIn: 'root' }]
|
|
277
277
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
@@ -90,10 +90,10 @@ export class CookieService {
|
|
|
90
90
|
removeAll() {
|
|
91
91
|
this.doc.cookie = '';
|
|
92
92
|
}
|
|
93
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
94
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CookieService, providedIn: 'root' }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CookieService, decorators: [{
|
|
97
97
|
type: Injectable,
|
|
98
98
|
args: [{ providedIn: 'root' }]
|
|
99
99
|
}] });
|
|
@@ -75,10 +75,10 @@ export class ScrollService {
|
|
|
75
75
|
}
|
|
76
76
|
this.scrollToElement(this._getDoc().body, topOffset);
|
|
77
77
|
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
79
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
|
|
80
80
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ScrollService, decorators: [{
|
|
82
82
|
type: Injectable,
|
|
83
83
|
args: [{ providedIn: 'root' }]
|
|
84
84
|
}] });
|
|
@@ -4,7 +4,6 @@ export * from './date-picker.type';
|
|
|
4
4
|
export * from './loading.type';
|
|
5
5
|
export * from './lodop.type';
|
|
6
6
|
export * from './page-header.type';
|
|
7
|
-
export * from './qr.type';
|
|
8
7
|
export * from './se.type';
|
|
9
8
|
export * from './sv.type';
|
|
10
9
|
export * from './sg.type';
|
|
@@ -16,4 +15,4 @@ export * from './pdf.type';
|
|
|
16
15
|
export * from './onboarding.type';
|
|
17
16
|
export * from './cell.type';
|
|
18
17
|
export * from './exception.type';
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2NvbmZpZy9hYmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Vycm9yLWNvbGxlY3QudHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2ltYWdlLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9kYXRlLXBpY2tlci50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbG9hZGluZy50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbG9kb3AudHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3BhZ2UtaGVhZGVyLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zZS50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vc3YudHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3NnLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zdC50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4veGxzeC50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vemlwLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tZWRpYS50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vcGRmLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9vbmJvYXJkaW5nLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9jZWxsLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9leGNlcHRpb24udHlwZSc7XG4iXX0=
|
|
@@ -23,10 +23,10 @@ export class AlainConfigService {
|
|
|
23
23
|
set(componentName, value) {
|
|
24
24
|
this.config[componentName] = { ...this.config[componentName], ...value };
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: AlainConfigService, deps: [{ token: ALAIN_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: AlainConfigService, providedIn: 'root' }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: AlainConfigService, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{ providedIn: 'root' }]
|
|
32
32
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -9,4 +9,4 @@ export function ALAIN_CONFIG_FACTORY() {
|
|
|
9
9
|
export function provideAlainConfig(config) {
|
|
10
10
|
return makeEnvironmentProviders([{ provide: ALAIN_CONFIG, useValue: config }]);
|
|
11
11
|
}
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9jb25maWcvY29uZmlnLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBd0IsY0FBYyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBa0UvRixNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUc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QgY29uc3QgQUxBSU5fQ09ORklHID0gbmV3IEluamVjdGlvblRva2VuPEFsYWluQ29uZmlnPignYWxhaW4tY29uZmlnJywge1xuICBwcm92aWRlZEluOiAncm9vdCcsXG4gIGZhY3Rvcnk6IEFMQUlOX0NPTkZJR19GQUNUT1JZXG59KTtcblxuZXhwb3J0IGZ1bmN0aW9uIEFMQUlOX0NPTkZJR19GQUNUT1JZKCk6IEFsYWluQ29uZmlnIHtcbiAgcmV0dXJuIHt9O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gcHJvdmlkZUFsYWluQ29uZmlnKGNvbmZpZzogQWxhaW5Db25maWcpOiBFbnZpcm9ubWVudFByb3ZpZGVycyB7XG4gIHJldHVybiBtYWtlRW52aXJvbm1lbnRQcm92aWRlcnMoW3sgcHJvdmlkZTogQUxBSU5fQ09ORklHLCB1c2VWYWx1ZTogY29uZmlnIH1dKTtcbn1cbiJdfQ==
|
|
@@ -223,10 +223,10 @@ export class CurrencyService {
|
|
|
223
223
|
: integerRes + (decimalRes === '' ? '' : `点${decimalRes}`));
|
|
224
224
|
return ret;
|
|
225
225
|
}
|
|
226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
227
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
227
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyService, providedIn: 'root' }); }
|
|
228
228
|
}
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyService, decorators: [{
|
|
230
230
|
type: Injectable,
|
|
231
231
|
args: [{ providedIn: 'root' }]
|
|
232
232
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
|
@@ -119,10 +119,10 @@ export class LazyService {
|
|
|
119
119
|
resolve(item);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
123
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: LazyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
123
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: LazyService, providedIn: 'root' }); }
|
|
124
124
|
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: LazyService, decorators: [{
|
|
126
126
|
type: Injectable,
|
|
127
127
|
args: [{ providedIn: 'root' }]
|
|
128
128
|
}] });
|
|
@@ -13,10 +13,10 @@ export class CurrencyCNYPipe {
|
|
|
13
13
|
transform(value, options) {
|
|
14
14
|
return this.srv.cny(value, options);
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyCNYPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
17
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyCNYPipe, isStandalone: true, name: "cny" }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
|
|
20
20
|
type: Pipe,
|
|
21
21
|
args: [{ name: 'cny', standalone: true }]
|
|
22
22
|
}] });
|
|
@@ -15,10 +15,10 @@ export class CurrencyMegaPipe {
|
|
|
15
15
|
const res = this.srv.mega(value, options);
|
|
16
16
|
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyMegaPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
19
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyMegaPipe, isStandalone: true, name: "mega" }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
|
|
22
22
|
type: Pipe,
|
|
23
23
|
args: [{ name: 'mega', standalone: true }]
|
|
24
24
|
}] });
|
|
@@ -5,11 +5,11 @@ import { CurrencyPricePipe } from './price.pipe';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
|
7
7
|
export class CurrencyPipeModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule, imports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: PIPES,
|
|
@@ -17,10 +17,10 @@ export class CurrencyPricePipe {
|
|
|
17
17
|
transform(value, options) {
|
|
18
18
|
return this.srv.format(value, options);
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPricePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
21
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPricePipe, isStandalone: true, name: "price" }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPricePipe, decorators: [{
|
|
24
24
|
type: Pipe,
|
|
25
25
|
args: [{ name: 'price', standalone: true }]
|
|
26
26
|
}] });
|
|
@@ -10,10 +10,10 @@ export class FilterPipe {
|
|
|
10
10
|
transform(array, matcher, ...args) {
|
|
11
11
|
return array.filter(i => matcher(i, ...args));
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FilterPipe, isStandalone: true, name: "filter", pure: false }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{ name: 'filter', standalone: true, pure: false }]
|
|
19
19
|
}] });
|
|
@@ -3,11 +3,11 @@ import { FilterPipe } from './filter.pipe';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const PIPES = [FilterPipe];
|
|
5
5
|
export class FilterPipeModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule, imports: [FilterPipe], exports: [FilterPipe] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
imports: PIPES,
|
|
@@ -24,10 +24,10 @@ export class FormatMaskPipe {
|
|
|
24
24
|
transform(value, mask) {
|
|
25
25
|
return formatMask(value, mask);
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
28
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FormatMaskPipe, isStandalone: true, name: "mask" }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatMaskPipe, decorators: [{
|
|
31
31
|
type: Pipe,
|
|
32
32
|
args: [{ name: 'mask', standalone: true }]
|
|
33
33
|
}] });
|
|
@@ -3,11 +3,11 @@ import { FormatMaskPipe } from './mask.pipe';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const PIPES = [FormatMaskPipe];
|
|
5
5
|
export class FormatPipeModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule, imports: [FormatMaskPipe], exports: [FormatMaskPipe] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
imports: PIPES,
|
package/fesm2022/array.mjs
CHANGED
|
@@ -269,10 +269,10 @@ class ArrayService {
|
|
|
269
269
|
}, new Map())
|
|
270
270
|
.values());
|
|
271
271
|
}
|
|
272
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
273
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ArrayService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
273
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ArrayService, providedIn: 'root' }); }
|
|
274
274
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ArrayService, decorators: [{
|
|
276
276
|
type: Injectable,
|
|
277
277
|
args: [{ providedIn: 'root' }]
|
|
278
278
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
package/fesm2022/browser.mjs
CHANGED
|
@@ -91,10 +91,10 @@ class CookieService {
|
|
|
91
91
|
removeAll() {
|
|
92
92
|
this.doc.cookie = '';
|
|
93
93
|
}
|
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
95
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
95
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CookieService, providedIn: 'root' }); }
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CookieService, decorators: [{
|
|
98
98
|
type: Injectable,
|
|
99
99
|
args: [{ providedIn: 'root' }]
|
|
100
100
|
}] });
|
|
@@ -219,10 +219,10 @@ class ScrollService {
|
|
|
219
219
|
}
|
|
220
220
|
this.scrollToElement(this._getDoc().body, topOffset);
|
|
221
221
|
}
|
|
222
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
223
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
223
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
|
|
224
224
|
}
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: ScrollService, decorators: [{
|
|
226
226
|
type: Injectable,
|
|
227
227
|
args: [{ providedIn: 'root' }]
|
|
228
228
|
}] });
|
package/fesm2022/config.mjs
CHANGED
|
@@ -37,10 +37,10 @@ class AlainConfigService {
|
|
|
37
37
|
set(componentName, value) {
|
|
38
38
|
this.config[componentName] = { ...this.config[componentName], ...value };
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: AlainConfigService, deps: [{ token: ALAIN_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
41
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: AlainConfigService, providedIn: 'root' }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: AlainConfigService, decorators: [{
|
|
44
44
|
type: Injectable,
|
|
45
45
|
args: [{ providedIn: 'root' }]
|
|
46
46
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
package/fesm2022/config.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.mjs","sources":["../../../../packages/util/config/abc/sv.type.ts","../../../../packages/util/config/config.types.ts","../../../../packages/util/config/config.service.ts","../../../../packages/util/config/config.ts"],"sourcesContent":["export class AlainSVConfig {\n /** 大小,默认:`large` */\n size?: 'small' | 'large';\n /** 间距,默认:`32` */\n gutter?: number;\n /** 布局,默认:`horizontal` */\n layout?: 'horizontal' | 'vertical';\n /** 列数,默认:`3` */\n col?: number;\n /** 是否显示默认值,当内容为空值时显示 `-`,默认:`true` */\n default?: boolean;\n /** `label` 固定宽度,若 `null` 或 `undefined` 表示非固定,默认:`null` */\n labelWidth?: number;\n}\n","import { EnvironmentProviders, InjectionToken, makeEnvironmentProviders } from '@angular/core';\n\nimport {\n AlainCellConfig,\n AlainDateRangePickerConfig,\n AlainErrorCollectConfig,\n AlainExceptionType,\n AlainImageConfig,\n AlainLoadingConfig,\n AlainLodopConfig,\n AlainMediaConfig,\n AlainOnboardingConfig,\n AlainPageHeaderConfig,\n AlainPdfConfig,\n
|
|
1
|
+
{"version":3,"file":"config.mjs","sources":["../../../../packages/util/config/abc/sv.type.ts","../../../../packages/util/config/config.types.ts","../../../../packages/util/config/config.service.ts","../../../../packages/util/config/config.ts"],"sourcesContent":["export class AlainSVConfig {\n /** 大小,默认:`large` */\n size?: 'small' | 'large';\n /** 间距,默认:`32` */\n gutter?: number;\n /** 布局,默认:`horizontal` */\n layout?: 'horizontal' | 'vertical';\n /** 列数,默认:`3` */\n col?: number;\n /** 是否显示默认值,当内容为空值时显示 `-`,默认:`true` */\n default?: boolean;\n /** `label` 固定宽度,若 `null` 或 `undefined` 表示非固定,默认:`null` */\n labelWidth?: number;\n}\n","import { EnvironmentProviders, InjectionToken, makeEnvironmentProviders } from '@angular/core';\n\nimport {\n AlainCellConfig,\n AlainDateRangePickerConfig,\n AlainErrorCollectConfig,\n AlainExceptionType,\n AlainImageConfig,\n AlainLoadingConfig,\n AlainLodopConfig,\n AlainMediaConfig,\n AlainOnboardingConfig,\n AlainPageHeaderConfig,\n AlainPdfConfig,\n AlainSEConfig,\n AlainSGConfig,\n AlainSTConfig,\n AlainSVConfig,\n AlainXlsxConfig,\n AlainZipConfig\n} from './abc/index';\nimport { AlainACLConfig } from './acl/acl.type';\nimport { AlainAuthConfig } from './auth/auth.type';\nimport { AlainCacheConfig } from './cache/cache.type';\nimport { AlainChartConfig } from './chart/chart.type';\nimport { AlainMockConfig } from './mock/mock.type';\nimport { AlainSFConfig } from './sf/sf.type';\nimport { AlainThemeHttpClientConfig, AlainThemeResponsiveConfig, AlainThemeI18nConfig } from './theme/index';\nimport { AlainThemePipeConfig } from './theme/pipe.type';\nimport { AlainUtilArrayConfig } from './util/array.type';\nimport { AlainUtilCurrencyConfig } from './util/currency.type';\n\nexport interface AlainConfig {\n dataRange?: AlainDateRangePickerConfig;\n exception?: AlainExceptionType;\n errorCollect?: AlainErrorCollectConfig;\n image?: AlainImageConfig;\n loading?: AlainLoadingConfig;\n onboarding?: AlainOnboardingConfig;\n lodop?: AlainLodopConfig;\n pageHeader?: AlainPageHeaderConfig;\n se?: AlainSEConfig;\n sg?: AlainSGConfig;\n sv?: AlainSVConfig;\n st?: AlainSTConfig;\n sf?: AlainSFConfig;\n cell?: AlainCellConfig;\n xlsx?: AlainXlsxConfig;\n zip?: AlainZipConfig;\n pdf?: AlainPdfConfig;\n media?: AlainMediaConfig;\n acl?: AlainACLConfig;\n auth?: AlainAuthConfig;\n cache?: AlainCacheConfig;\n chart?: AlainChartConfig;\n mock?: AlainMockConfig;\n utilArray?: AlainUtilArrayConfig;\n utilCurrency?: AlainUtilCurrencyConfig;\n themeHttp?: AlainThemeHttpClientConfig;\n themeResponsive?: AlainThemeResponsiveConfig;\n themeI18n?: AlainThemeI18nConfig;\n themePipe?: AlainThemePipeConfig;\n}\n\nexport type AlainConfigKey = keyof AlainConfig;\n\nexport const ALAIN_CONFIG = new InjectionToken<AlainConfig>('alain-config', {\n providedIn: 'root',\n factory: ALAIN_CONFIG_FACTORY\n});\n\nexport function ALAIN_CONFIG_FACTORY(): AlainConfig {\n return {};\n}\n\nexport function provideAlainConfig(config: AlainConfig): EnvironmentProviders {\n return makeEnvironmentProviders([{ provide: ALAIN_CONFIG, useValue: config }]);\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Inject, Injectable, Optional } from '@angular/core';\n\nimport { deepMergeKey } from '@delon/util/other';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nimport { AlainConfig, AlainConfigKey, ALAIN_CONFIG } from './config.types';\n\n@Injectable({ providedIn: 'root' })\nexport class AlainConfigService {\n private config: AlainConfig;\n\n constructor(@Optional() @Inject(ALAIN_CONFIG) defaultConfig?: AlainConfig) {\n this.config = { ...defaultConfig };\n }\n\n get<T extends AlainConfigKey>(componentName: T, key?: string): AlainConfig[T] {\n const res = ((this.config[componentName] as { [key: string]: unknown }) || {}) as NzSafeAny;\n return key ? { [key]: res[key] } : res;\n }\n\n merge<T extends AlainConfigKey>(componentName: T, ...defaultValues: Array<AlainConfig[T]>): AlainConfig[T] {\n return deepMergeKey({}, true, ...defaultValues, this.get(componentName));\n }\n\n attach<T extends AlainConfigKey>(componentThis: unknown, componentName: T, defaultValues: AlainConfig[T]): void {\n Object.assign(componentThis as any, this.merge(componentName, defaultValues));\n }\n\n attachKey<T extends AlainConfigKey>(componentThis: unknown, componentName: T, key: string): void {\n Object.assign(componentThis as any, this.get(componentName, key));\n }\n\n set<T extends AlainConfigKey>(componentName: T, value: AlainConfig[T]): void {\n this.config[componentName] = { ...this.config[componentName], ...value };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAAa,aAAa,CAAA;AAazB;;MCqDY,YAAY,GAAG,IAAI,cAAc,CAAc,cAAc,EAAE;AAC1E,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,OAAO,EAAE,oBAAoB;AAC9B,CAAA,EAAE;SAEa,oBAAoB,GAAA;AAClC,IAAA,OAAO,EAAE,CAAC;AACZ,CAAC;AAEK,SAAU,kBAAkB,CAAC,MAAmB,EAAA;AACpD,IAAA,OAAO,wBAAwB,CAAC,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AACjF;;AC7EA;MASa,kBAAkB,CAAA;AAG7B,IAAA,WAAA,CAA8C,aAA2B,EAAA;AACvE,QAAA,IAAI,CAAC,MAAM,GAAG,EAAE,GAAG,aAAa,EAAE,CAAC;KACpC;IAED,GAAG,CAA2B,aAAgB,EAAE,GAAY,EAAA;AAC1D,QAAA,MAAM,GAAG,IAAK,IAAI,CAAC,MAAM,CAAC,aAAa,CAAgC,IAAI,EAAE,CAAc,CAAC;AAC5F,QAAA,OAAO,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC;KACxC;AAED,IAAA,KAAK,CAA2B,aAAgB,EAAE,GAAG,aAAoC,EAAA;AACvF,QAAA,OAAO,YAAY,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG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BAAC,YAAY,CAAA;;;ACZ9C;;AAEG;;;;"}
|
package/fesm2022/format.mjs
CHANGED
|
@@ -410,10 +410,10 @@ class CurrencyService {
|
|
|
410
410
|
: integerRes + (decimalRes === '' ? '' : `点${decimalRes}`));
|
|
411
411
|
return ret;
|
|
412
412
|
}
|
|
413
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
414
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
413
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
414
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyService, providedIn: 'root' }); }
|
|
415
415
|
}
|
|
416
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyService, decorators: [{
|
|
417
417
|
type: Injectable,
|
|
418
418
|
args: [{ providedIn: 'root' }]
|
|
419
419
|
}], ctorParameters: () => [{ type: i1.AlainConfigService }] });
|
package/fesm2022/other.mjs
CHANGED
|
@@ -231,10 +231,10 @@ class LazyService {
|
|
|
231
231
|
resolve(item);
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
235
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: LazyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
235
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: LazyService, providedIn: 'root' }); }
|
|
236
236
|
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: LazyService, decorators: [{
|
|
238
238
|
type: Injectable,
|
|
239
239
|
args: [{ providedIn: 'root' }]
|
|
240
240
|
}] });
|
|
@@ -16,10 +16,10 @@ class CurrencyMegaPipe {
|
|
|
16
16
|
const res = this.srv.mega(value, options);
|
|
17
17
|
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyMegaPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
20
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyMegaPipe, isStandalone: true, name: "mega" }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
|
|
23
23
|
type: Pipe,
|
|
24
24
|
args: [{ name: 'mega', standalone: true }]
|
|
25
25
|
}] });
|
|
@@ -40,10 +40,10 @@ class CurrencyPricePipe {
|
|
|
40
40
|
transform(value, options) {
|
|
41
41
|
return this.srv.format(value, options);
|
|
42
42
|
}
|
|
43
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
43
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPricePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
44
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPricePipe, isStandalone: true, name: "price" }); }
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPricePipe, decorators: [{
|
|
47
47
|
type: Pipe,
|
|
48
48
|
args: [{ name: 'price', standalone: true }]
|
|
49
49
|
}] });
|
|
@@ -60,21 +60,21 @@ class CurrencyCNYPipe {
|
|
|
60
60
|
transform(value, options) {
|
|
61
61
|
return this.srv.cny(value, options);
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
64
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyCNYPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
64
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyCNYPipe, isStandalone: true, name: "cny" }); }
|
|
65
65
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
|
|
67
67
|
type: Pipe,
|
|
68
68
|
args: [{ name: 'cny', standalone: true }]
|
|
69
69
|
}] });
|
|
70
70
|
|
|
71
71
|
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
|
72
72
|
class CurrencyPipeModule {
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
74
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
75
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
74
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule, imports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] }); }
|
|
75
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule }); }
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
|
78
78
|
type: NgModule,
|
|
79
79
|
args: [{
|
|
80
80
|
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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
15
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FilterPipe, isStandalone: true, name: "filter", pure: false }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{ name: 'filter', standalone: true, pure: false }]
|
|
20
20
|
}] });
|
|
21
21
|
|
|
22
22
|
const PIPES = [FilterPipe];
|
|
23
23
|
class FilterPipeModule {
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
26
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
25
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule, imports: [FilterPipe], exports: [FilterPipe] }); }
|
|
26
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FilterPipeModule }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", 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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
29
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FormatMaskPipe, isStandalone: true, name: "mask" }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatMaskPipe, decorators: [{
|
|
32
32
|
type: Pipe,
|
|
33
33
|
args: [{ name: 'mask', standalone: true }]
|
|
34
34
|
}] });
|
|
35
35
|
|
|
36
36
|
const PIPES = [FormatMaskPipe];
|
|
37
37
|
class FormatPipeModule {
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
40
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
39
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule, imports: [FormatMaskPipe], exports: [FormatMaskPipe] }); }
|
|
40
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: FormatPipeModule, decorators: [{
|
|
43
43
|
type: NgModule,
|
|
44
44
|
args: [{
|
|
45
45
|
imports: PIPES,
|
package/package.json
CHANGED
package/config/abc/qr.type.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface AlainQRConfig {
|
|
2
|
-
/**
|
|
3
|
-
* [qrious](https://github.com/neocotic/qrious) 外网地址,默认:`https://cdn.jsdelivr.net/npm/qrious/dist/qrious.min.js`
|
|
4
|
-
*
|
|
5
|
-
* 若在 `angular.json` 配置 `"scripts": [ "node_modules/qrious/dist/qrious.min.js" ]` 则优先使用
|
|
6
|
-
*/
|
|
7
|
-
lib?: string;
|
|
8
|
-
/** 背景,默认:`white` */
|
|
9
|
-
background?: string;
|
|
10
|
-
/** 背景透明级别,范围:`0-1` 之间,默认:`1` */
|
|
11
|
-
backgroundAlpha?: number;
|
|
12
|
-
/** 前景,默认:`black` */
|
|
13
|
-
foreground?: string;
|
|
14
|
-
/** 前景透明级别,范围:`0-1` 之间,默认:`1` */
|
|
15
|
-
foregroundAlpha?: number;
|
|
16
|
-
/** 误差校正级别,默认:`L` */
|
|
17
|
-
level?: 'L' | 'M' | 'Q' | 'H';
|
|
18
|
-
/** 二维码输出图片MIME类型,默认:`image/png` */
|
|
19
|
-
mime?: string;
|
|
20
|
-
/** 内边距(单位:px),默认:`10` */
|
|
21
|
-
padding?: number;
|
|
22
|
-
/** 大小(单位:px),默认:`220` */
|
|
23
|
-
size?: number;
|
|
24
|
-
delay?: number;
|
|
25
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvY29uZmlnL2FiYy9xci50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFsYWluUVJDb25maWcge1xuICAvKipcbiAgICogW3FyaW91c10oaHR0cHM6Ly9naXRodWIuY29tL25lb2NvdGljL3FyaW91cykg5aSW572R5Zyw5Z2A77yM6buY6K6k77yaYGh0dHBzOi8vY2RuLmpzZGVsaXZyLm5ldC9ucG0vcXJpb3VzL2Rpc3QvcXJpb3VzLm1pbi5qc2BcbiAgICpcbiAgICog6Iul5ZyoIGBhbmd1bGFyLmpzb25gIOmFjee9riBgXCJzY3JpcHRzXCI6IFsgXCJub2RlX21vZHVsZXMvcXJpb3VzL2Rpc3QvcXJpb3VzLm1pbi5qc1wiIF1gIOWImeS8mOWFiOS9v+eUqFxuICAgKi9cbiAgbGliPzogc3RyaW5nO1xuICAvKiog6IOM5pmv77yM6buY6K6k77yaYHdoaXRlYCAqL1xuICBiYWNrZ3JvdW5kPzogc3RyaW5nO1xuICAvKiog6IOM5pmv6YCP5piO57qn5Yir77yM6IyD5Zu077yaYDAtMWAg5LmL6Ze077yM6buY6K6k77yaYDFgICovXG4gIGJhY2tncm91bmRBbHBoYT86IG51bWJlcjtcbiAgLyo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