@yelon/util 12.0.17 → 12.0.18
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -21
- package/array/array-type.service.d.ts +68 -68
- package/array/array.service.d.ts +75 -75
- package/array/index.d.ts +2 -2
- package/array/yelon-util-array.d.ts +4 -4
- package/browser/browser.d.ts +4 -4
- package/browser/cookie.service.d.ts +64 -64
- package/browser/copy.d.ts +6 -6
- package/browser/index.d.ts +5 -5
- package/browser/is-empty.d.ts +6 -6
- package/browser/scroll.service.d.ts +34 -34
- package/browser/style.d.ts +21 -21
- package/bundles/browser.umd.js +275 -275
- package/bundles/yelon-util-array.umd.js +602 -602
- package/bundles/yelon-util-config.umd.js +366 -366
- package/bundles/yelon-util-date-time.umd.js +216 -216
- package/bundles/yelon-util-decorator.umd.js +437 -437
- package/bundles/yelon-util-form.umd.js +116 -116
- package/bundles/yelon-util-format.umd.js +726 -726
- package/bundles/yelon-util-math.umd.js +83 -83
- package/bundles/yelon-util-other.umd.js +652 -652
- package/bundles/yelon-util-pipes-currency.umd.js +83 -83
- package/bundles/yelon-util-pipes-filter.umd.js +353 -353
- package/bundles/yelon-util-pipes-format.umd.js +47 -47
- package/bundles/yelon-util-pipes.umd.js +7 -7
- package/bundles/yelon-util-token.umd.js +30 -30
- package/bundles/yelon-util.umd.js +7 -7
- package/config/abc/date-picker.type.d.ts +52 -52
- package/config/abc/error-collect.type.d.ts +10 -10
- package/config/abc/image.type.d.ts +15 -15
- package/config/abc/index.d.ts +16 -16
- package/config/abc/loading.type.d.ts +31 -31
- package/config/abc/lodop.type.d.ts +33 -33
- package/config/abc/media.type.d.ts +11 -11
- package/config/abc/onboarding.type.d.ts +4 -4
- package/config/abc/page-header.type.d.ts +39 -39
- package/config/abc/pdf.type.d.ts +35 -35
- package/config/abc/qr.type.d.ts +25 -25
- package/config/abc/se.type.d.ts +32 -32
- package/config/abc/sg.type.d.ts +10 -10
- package/config/abc/st.type.d.ts +427 -427
- package/config/abc/sv.type.d.ts +14 -14
- package/config/abc/xlsx.type.d.ts +12 -12
- package/config/abc/zip.type.d.ts +10 -10
- package/config/acl/acl.type.d.ts +32 -32
- package/config/auth/auth.type.d.ts +55 -55
- package/config/bis/bis.type.d.ts +7 -7
- package/config/cache/cache.type.d.ts +40 -40
- package/config/chart/chart.type.d.ts +33 -33
- package/config/config.service.d.ts +10 -10
- package/config/config.types.d.ts +49 -49
- package/config/index.d.ts +14 -14
- package/config/mock/mock.type.d.ts +18 -18
- package/config/sf/sf.type.d.ts +127 -127
- package/config/stomp/stomp.type.d.ts +2 -2
- package/config/theme/http.type.d.ts +14 -14
- package/config/theme/i18n.type.d.ts +8 -8
- package/config/theme/index.d.ts +3 -3
- package/config/theme/responsive.type.d.ts +12 -12
- package/config/util/array.type.d.ts +22 -22
- package/config/util/currency.type.d.ts +39 -39
- package/config/yelon-util-config.d.ts +4 -4
- package/date-time/index.d.ts +2 -2
- package/date-time/picker.d.ts +68 -68
- package/date-time/time.d.ts +26 -26
- package/date-time/yelon-util-date-time.d.ts +4 -4
- package/decorator/convert.d.ts +24 -24
- package/decorator/index.d.ts +2 -2
- package/decorator/yelon-util-decorator.d.ts +4 -4
- package/decorator/zone-outside.d.ts +35 -35
- package/esm2015/array/array-type.service.js +1 -1
- package/esm2015/array/array.service.js +249 -249
- package/esm2015/array/index.js +2 -2
- package/esm2015/array/yelon-util-array.js +4 -4
- package/esm2015/browser/browser.js +4 -4
- package/esm2015/browser/cookie.service.js +103 -103
- package/esm2015/browser/copy.js +26 -26
- package/esm2015/browser/index.js +5 -5
- package/esm2015/browser/is-empty.js +18 -18
- package/esm2015/browser/scroll.service.js +88 -88
- package/esm2015/browser/style.js +37 -37
- package/esm2015/config/abc/date-picker.type.js +1 -1
- package/esm2015/config/abc/error-collect.type.js +1 -1
- package/esm2015/config/abc/image.type.js +1 -1
- package/esm2015/config/abc/index.js +16 -16
- package/esm2015/config/abc/loading.type.js +1 -1
- package/esm2015/config/abc/lodop.type.js +1 -1
- package/esm2015/config/abc/media.type.js +1 -1
- package/esm2015/config/abc/onboarding.type.js +1 -1
- package/esm2015/config/abc/page-header.type.js +1 -1
- package/esm2015/config/abc/pdf.type.js +1 -1
- package/esm2015/config/abc/qr.type.js +1 -1
- package/esm2015/config/abc/se.type.js +1 -1
- package/esm2015/config/abc/sg.type.js +1 -1
- package/esm2015/config/abc/st.type.js +1 -1
- package/esm2015/config/abc/sv.type.js +2 -2
- package/esm2015/config/abc/xlsx.type.js +1 -1
- package/esm2015/config/abc/zip.type.js +1 -1
- package/esm2015/config/acl/acl.type.js +1 -1
- package/esm2015/config/auth/auth.type.js +1 -1
- package/esm2015/config/bis/bis.type.js +1 -1
- package/esm2015/config/cache/cache.type.js +1 -1
- package/esm2015/config/chart/chart.type.js +1 -1
- package/esm2015/config/config.service.js +33 -33
- package/esm2015/config/config.types.js +8 -8
- package/esm2015/config/index.js +14 -14
- package/esm2015/config/mock/mock.type.js +1 -1
- package/esm2015/config/sf/sf.type.js +1 -1
- package/esm2015/config/stomp/stomp.type.js +1 -1
- package/esm2015/config/theme/http.type.js +1 -1
- package/esm2015/config/theme/i18n.type.js +1 -1
- package/esm2015/config/theme/index.js +3 -3
- package/esm2015/config/theme/responsive.type.js +1 -1
- package/esm2015/config/util/array.type.js +1 -1
- package/esm2015/config/util/currency.type.js +1 -1
- package/esm2015/config/yelon-util-config.js +4 -4
- package/esm2015/date-time/index.js +2 -2
- package/esm2015/date-time/picker.js +115 -115
- package/esm2015/date-time/time.js +83 -83
- package/esm2015/date-time/yelon-util-date-time.js +4 -4
- package/esm2015/decorator/convert.js +55 -55
- package/esm2015/decorator/index.js +2 -2
- package/esm2015/decorator/yelon-util-decorator.js +4 -4
- package/esm2015/decorator/zone-outside.js +54 -54
- package/esm2015/form/index.js +2 -2
- package/esm2015/form/match-control.js +29 -29
- package/esm2015/form/validators.js +80 -80
- package/esm2015/form/yelon-util-form.js +4 -4
- package/esm2015/format/currency.service.js +224 -224
- package/esm2015/format/currency.types.js +7 -7
- package/esm2015/format/index.js +4 -4
- package/esm2015/format/string.js +75 -75
- package/esm2015/format/validate.js +93 -93
- package/esm2015/format/yelon-util-format.js +4 -4
- package/esm2015/index.js +11 -11
- package/esm2015/math/in-range.js +24 -24
- package/esm2015/math/index.js +2 -2
- package/esm2015/math/round.js +52 -52
- package/esm2015/math/yelon-util-math.js +4 -4
- package/esm2015/other/assert.js +66 -66
- package/esm2015/other/deep.js +75 -75
- package/esm2015/other/index.js +4 -4
- package/esm2015/other/lazy.service.js +117 -117
- package/esm2015/other/logger.js +32 -32
- package/esm2015/other/yelon-util-other.js +4 -4
- package/esm2015/pipes/currency/cny.pipe.js +21 -21
- package/esm2015/pipes/currency/index.js +3 -3
- package/esm2015/pipes/currency/mega.pipe.js +25 -25
- package/esm2015/pipes/currency/module.js +13 -13
- package/esm2015/pipes/currency/price.pipe.js +25 -25
- package/esm2015/pipes/currency/yelon-util-pipes-currency.js +5 -5
- package/esm2015/pipes/filter/filter.pipe.js +14 -14
- package/esm2015/pipes/filter/index.js +2 -2
- package/esm2015/pipes/filter/module.js +11 -11
- package/esm2015/pipes/filter/yelon-util-pipes-filter.js +4 -4
- package/esm2015/pipes/format/index.js +2 -2
- package/esm2015/pipes/format/mask.pipe.js +29 -29
- package/esm2015/pipes/format/module.js +11 -11
- package/esm2015/pipes/format/yelon-util-pipes-format.js +4 -4
- package/esm2015/pipes/index.js +3 -3
- package/esm2015/pipes/yelon-util-pipes.js +4 -4
- package/esm2015/token/index.js +2 -2
- package/esm2015/token/page-visibility.js +15 -15
- package/esm2015/token/window.js +16 -16
- package/esm2015/token/yelon-util-token.js +4 -4
- package/esm2015/yelon-util.js +4 -4
- package/fesm2015/browser.js +257 -257
- package/fesm2015/yelon-util-array.js +245 -245
- package/fesm2015/yelon-util-config.js +36 -36
- package/fesm2015/yelon-util-date-time.js +196 -196
- package/fesm2015/yelon-util-decorator.js +107 -107
- package/fesm2015/yelon-util-form.js +108 -108
- package/fesm2015/yelon-util-format.js +390 -390
- package/fesm2015/yelon-util-math.js +75 -75
- package/fesm2015/yelon-util-other.js +280 -280
- package/fesm2015/yelon-util-pipes-currency.js +72 -72
- package/fesm2015/yelon-util-pipes-filter.js +22 -22
- package/fesm2015/yelon-util-pipes-format.js +36 -36
- package/fesm2015/yelon-util-pipes.js +2 -2
- package/fesm2015/yelon-util-token.js +25 -25
- package/fesm2015/yelon-util.js +2 -2
- package/form/index.d.ts +2 -2
- package/form/match-control.d.ts +15 -15
- package/form/validators.d.ts +62 -62
- package/form/yelon-util-form.d.ts +4 -4
- package/format/currency.service.d.ts +34 -34
- package/format/currency.types.d.ts +77 -77
- package/format/index.d.ts +4 -4
- package/format/string.d.ts +44 -44
- package/format/validate.d.ts +72 -72
- package/format/yelon-util-format.d.ts +4 -4
- package/index.d.ts +11 -11
- package/math/in-range.d.ts +14 -14
- package/math/index.d.ts +2 -2
- package/math/round.d.ts +33 -33
- package/math/yelon-util-math.d.ts +4 -4
- package/other/assert.d.ts +36 -36
- package/other/deep.d.ts +33 -33
- package/other/index.d.ts +4 -4
- package/other/lazy.service.d.ts +22 -22
- package/other/logger.d.ts +5 -5
- package/other/yelon-util-other.d.ts +4 -4
- package/package.json +1 -1
- package/pipes/currency/cny.pipe.d.ts +12 -12
- package/pipes/currency/index.d.ts +3 -3
- package/pipes/currency/mega.pipe.d.ts +13 -13
- package/pipes/currency/module.d.ts +2 -2
- package/pipes/currency/price.pipe.d.ts +16 -16
- package/pipes/currency/yelon-util-pipes-currency.d.ts +5 -5
- package/pipes/filter/filter.pipe.d.ts +10 -10
- package/pipes/filter/index.d.ts +2 -2
- package/pipes/filter/module.d.ts +2 -2
- package/pipes/filter/yelon-util-pipes-filter.d.ts +4 -4
- package/pipes/format/index.d.ts +2 -2
- package/pipes/format/mask.pipe.d.ts +24 -24
- package/pipes/format/module.d.ts +2 -2
- package/pipes/format/yelon-util-pipes-format.d.ts +4 -4
- package/pipes/index.d.ts +3 -3
- package/pipes/yelon-util-pipes.d.ts +4 -4
- package/token/index.d.ts +2 -2
- package/token/page-visibility.d.ts +8 -8
- package/token/window.d.ts +7 -7
- package/token/yelon-util-token.d.ts +4 -4
- package/yelon-util.d.ts +4 -4
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC1vdGhlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvb3RoZXIveWVsb24tdXRpbC1vdGhlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -1,22 +1,22 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
2
|
-
import { CurrencyService } from '@yelon/util/format';
|
3
|
-
export class CurrencyCNYPipe {
|
4
|
-
constructor(srv) {
|
5
|
-
this.srv = srv;
|
6
|
-
}
|
7
|
-
/**
|
8
|
-
* Converted into RMB notation.
|
9
|
-
*
|
10
|
-
* 转化成人民币表示法
|
11
|
-
*/
|
12
|
-
transform(value, options) {
|
13
|
-
return this.srv.cny(value, options);
|
14
|
-
}
|
15
|
-
}
|
16
|
-
CurrencyCNYPipe.decorators = [
|
17
|
-
{ type: Pipe, args: [{ name: 'cny' },] }
|
18
|
-
];
|
19
|
-
CurrencyCNYPipe.ctorParameters = () => [
|
20
|
-
{ type: CurrencyService }
|
21
|
-
];
|
1
|
+
import { Pipe } from '@angular/core';
|
2
|
+
import { CurrencyService } from '@yelon/util/format';
|
3
|
+
export class CurrencyCNYPipe {
|
4
|
+
constructor(srv) {
|
5
|
+
this.srv = srv;
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* Converted into RMB notation.
|
9
|
+
*
|
10
|
+
* 转化成人民币表示法
|
11
|
+
*/
|
12
|
+
transform(value, options) {
|
13
|
+
return this.srv.cny(value, options);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
CurrencyCNYPipe.decorators = [
|
17
|
+
{ type: Pipe, args: [{ name: 'cny' },] }
|
18
|
+
];
|
19
|
+
CurrencyCNYPipe.ctorParameters = () => [
|
20
|
+
{ type: CurrencyService }
|
21
|
+
];
|
22
22
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY255LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2N1cnJlbmN5L2NueS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBRXBELE9BQU8sRUFBc0IsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFHekUsTUFBTSxPQUFPLGVBQWU7SUFDMUIsWUFBb0IsR0FBb0I7UUFBcEIsUUFBRyxHQUFILEdBQUcsQ0FBaUI7SUFBRyxDQUFDO0lBRTVDOzs7O09BSUc7SUFDSCxTQUFTLENBQUMsS0FBc0IsRUFBRSxPQUE0QjtRQUM1RCxPQUFPLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLEtBQUssRUFBRSxPQUFPLENBQUMsQ0FBQztJQUN0QyxDQUFDOzs7WUFYRixJQUFJLFNBQUMsRUFBRSxJQUFJLEVBQUUsS0FBSyxFQUFFOzs7WUFGUSxlQUFlIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBDdXJyZW5jeUNOWU9wdGlvbnMsIEN1cnJlbmN5U2VydmljZSB9IGZyb20gJ0B5ZWxvbi91dGlsL2Zvcm1hdCc7XG5cbkBQaXBlKHsgbmFtZTogJ2NueScgfSlcbmV4cG9ydCBjbGFzcyBDdXJyZW5jeUNOWVBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBzcnY6IEN1cnJlbmN5U2VydmljZSkge31cblxuICAvKipcbiAgICogQ29udmVydGVkIGludG8gUk1CIG5vdGF0aW9uLlxuICAgKlxuICAgKiDovazljJbmiJDkurrmsJHluIHooajnpLrms5VcbiAgICovXG4gIHRyYW5zZm9ybSh2YWx1ZTogbnVtYmVyIHwgc3RyaW5nLCBvcHRpb25zPzogQ3VycmVuY3lDTllPcHRpb25zKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5zcnYuY255KHZhbHVlLCBvcHRpb25zKTtcbiAgfVxufVxuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './mega.pipe';
|
2
|
-
export * from './price.pipe';
|
3
|
-
export * from './module';
|
1
|
+
export * from './mega.pipe';
|
2
|
+
export * from './price.pipe';
|
3
|
+
export * from './module';
|
4
4
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2N1cnJlbmN5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tZWdhLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcmljZS5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9kdWxlJztcbiJdfQ==
|
@@ -1,26 +1,26 @@
|
|
1
|
-
import { Inject, LOCALE_ID, Pipe } from '@angular/core';
|
2
|
-
import { CurrencyService } from '@yelon/util/format';
|
3
|
-
export class CurrencyMegaPipe {
|
4
|
-
constructor(srv, locale) {
|
5
|
-
this.srv = srv;
|
6
|
-
this.isCN = false;
|
7
|
-
this.isCN = locale.startsWith('zh');
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* Large number format filter
|
11
|
-
*
|
12
|
-
* 大数据格式化
|
13
|
-
*/
|
14
|
-
transform(value, options) {
|
15
|
-
const res = this.srv.mega(value, options);
|
16
|
-
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
17
|
-
}
|
18
|
-
}
|
19
|
-
CurrencyMegaPipe.decorators = [
|
20
|
-
{ type: Pipe, args: [{ name: 'mega' },] }
|
21
|
-
];
|
22
|
-
CurrencyMegaPipe.ctorParameters = () => [
|
23
|
-
{ type: CurrencyService },
|
24
|
-
{ type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
25
|
-
];
|
1
|
+
import { Inject, LOCALE_ID, Pipe } from '@angular/core';
|
2
|
+
import { CurrencyService } from '@yelon/util/format';
|
3
|
+
export class CurrencyMegaPipe {
|
4
|
+
constructor(srv, locale) {
|
5
|
+
this.srv = srv;
|
6
|
+
this.isCN = false;
|
7
|
+
this.isCN = locale.startsWith('zh');
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Large number format filter
|
11
|
+
*
|
12
|
+
* 大数据格式化
|
13
|
+
*/
|
14
|
+
transform(value, options) {
|
15
|
+
const res = this.srv.mega(value, options);
|
16
|
+
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
CurrencyMegaPipe.decorators = [
|
20
|
+
{ type: Pipe, args: [{ name: 'mega' },] }
|
21
|
+
];
|
22
|
+
CurrencyMegaPipe.ctorParameters = () => [
|
23
|
+
{ type: CurrencyService },
|
24
|
+
{ type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
25
|
+
];
|
26
26
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVnYS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9jdXJyZW5jeS9tZWdhLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUV2RSxPQUFPLEVBQXVCLGVBQWUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRzFFLE1BQU0sT0FBTyxnQkFBZ0I7SUFFM0IsWUFBb0IsR0FBb0IsRUFBcUIsTUFBYztRQUF2RCxRQUFHLEdBQUgsR0FBRyxDQUFpQjtRQURoQyxTQUFJLEdBQUcsS0FBSyxDQUFDO1FBRW5CLElBQUksQ0FBQyxJQUFJLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN0QyxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNILFNBQVMsQ0FBQyxLQUFzQixFQUFFLE9BQTZCO1FBQzdELE1BQU0sR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxPQUFPLENBQUMsQ0FBQztRQUMxQyxPQUFPLEdBQUcsQ0FBQyxLQUFLLEdBQUcsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsUU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aXQpO1xuICB9XG59XG4iXX0=
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CurrencyCNYPipe } from './cny.pipe';
|
3
|
-
import { CurrencyMegaPipe } from './mega.pipe';
|
4
|
-
import { CurrencyPricePipe } from './price.pipe';
|
5
|
-
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
6
|
-
export class CurrencyPipeModule {
|
7
|
-
}
|
8
|
-
CurrencyPipeModule.decorators = [
|
9
|
-
{ type: NgModule, args: [{
|
10
|
-
declarations: PIPES,
|
11
|
-
exports: PIPES
|
12
|
-
},] }
|
13
|
-
];
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CurrencyCNYPipe } from './cny.pipe';
|
3
|
+
import { CurrencyMegaPipe } from './mega.pipe';
|
4
|
+
import { CurrencyPricePipe } from './price.pipe';
|
5
|
+
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
6
|
+
export class CurrencyPipeModule {
|
7
|
+
}
|
8
|
+
CurrencyPipeModule.decorators = [
|
9
|
+
{ type: NgModule, args: [{
|
10
|
+
declarations: PIPES,
|
11
|
+
exports: PIPES
|
12
|
+
},] }
|
13
|
+
];
|
14
14
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9jdXJyZW5jeS9tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzdDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFakQsTUFBTSxLQUFLLEdBQUcsQ0FBQyxnQkFBZ0IsRUFBRSxpQkFBaUIsRUFBRSxlQUFlLENBQUMsQ0FBQztBQU1yRSxNQUFNLE9BQU8sa0JBQWtCOzs7WUFKOUIsUUFBUSxTQUFDO2dCQUNSLFlBQVksRUFBRSxLQUFLO2dCQUNuQixPQUFPLEVBQUUsS0FBSzthQUNmIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgQ3VycmVuY3lDTllQaXBlIH0gZnJvbSAnLi9jbnkucGlwZSc7XG5pbXBvcnQgeyBDdXJyZW5jeU1lZ2FQaXBlIH0gZnJvbSAnLi9tZWdhLnBpcGUnO1xuaW1wb3J0IHsgQ3VycmVuY3lQcmljZVBpcGUgfSBmcm9tICcuL3ByaWNlLnBpcGUnO1xuXG5jb25zdCBQSVBFUyA9IFtDdXJyZW5jeU1lZ2FQaXBlLCBDdXJyZW5jeVByaWNlUGlwZSwgQ3VycmVuY3lDTllQaXBlXTtcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBQSVBFUyxcbiAgZXhwb3J0czogUElQRVNcbn0pXG5leHBvcnQgY2xhc3MgQ3VycmVuY3lQaXBlTW9kdWxlIHt9XG4iXX0=
|
@@ -1,26 +1,26 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
2
|
-
import { CurrencyService } from '@yelon/util/format';
|
3
|
-
export class CurrencyPricePipe {
|
4
|
-
constructor(srv) {
|
5
|
-
this.srv = srv;
|
6
|
-
}
|
7
|
-
/**
|
8
|
-
* Format a number with commas as thousands separators
|
9
|
-
*
|
10
|
-
* 格式化货币,用逗号将数字格式化为千位分隔符
|
11
|
-
* ```ts
|
12
|
-
* 10000 => `10,000`
|
13
|
-
* 10000.567 => `10,000.57`
|
14
|
-
* ```
|
15
|
-
*/
|
16
|
-
transform(value, options) {
|
17
|
-
return this.srv.format(value, options);
|
18
|
-
}
|
19
|
-
}
|
20
|
-
CurrencyPricePipe.decorators = [
|
21
|
-
{ type: Pipe, args: [{ name: 'price' },] }
|
22
|
-
];
|
23
|
-
CurrencyPricePipe.ctorParameters = () => [
|
24
|
-
{ type: CurrencyService }
|
25
|
-
];
|
1
|
+
import { Pipe } from '@angular/core';
|
2
|
+
import { CurrencyService } from '@yelon/util/format';
|
3
|
+
export class CurrencyPricePipe {
|
4
|
+
constructor(srv) {
|
5
|
+
this.srv = srv;
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* Format a number with commas as thousands separators
|
9
|
+
*
|
10
|
+
* 格式化货币,用逗号将数字格式化为千位分隔符
|
11
|
+
* ```ts
|
12
|
+
* 10000 => `10,000`
|
13
|
+
* 10000.567 => `10,000.57`
|
14
|
+
* ```
|
15
|
+
*/
|
16
|
+
transform(value, options) {
|
17
|
+
return this.srv.format(value, options);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
CurrencyPricePipe.decorators = [
|
21
|
+
{ type: Pipe, args: [{ name: 'price' },] }
|
22
|
+
];
|
23
|
+
CurrencyPricePipe.ctorParameters = () => [
|
24
|
+
{ type: CurrencyService }
|
25
|
+
];
|
26
26
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpY2UucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvcGlwZXMvY3VycmVuY3kvcHJpY2UucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUVwRCxPQUFPLEVBQXlCLGVBQWUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRzVFLE1B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3B0aW9ucz86IEN1cnJlbmN5Rm9ybWF0T3B0aW9ucyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuc3J2LmZvcm1hdCh2YWx1ZSwgb3B0aW9ucyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
export { CurrencyCNYPipe as ɵa } from './cny.pipe';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
export { CurrencyCNYPipe as ɵa } from './cny.pipe';
|
6
6
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC1waXBlcy1jdXJyZW5jeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvcGlwZXMvY3VycmVuY3kveWVsb24tdXRpbC1waXBlcy1jdXJyZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDO0FBRXhCLE9BQU8sRUFBQyxlQUFlLElBQUksRUFBRSxFQUFDLE1BQU0sWUFBWSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcblxuZXhwb3J0IHtDdXJyZW5jeUNOWVBpcGUgYXMgybVhfSBmcm9tICcuL2NueS5waXBlJzsiXX0=
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
2
|
-
export class FilterPipe {
|
3
|
-
/**
|
4
|
-
* Filter array
|
5
|
-
*
|
6
|
-
* 过滤数组
|
7
|
-
*/
|
8
|
-
transform(array, matcher, ...args) {
|
9
|
-
return array.filter(i => matcher(i, ...args));
|
10
|
-
}
|
11
|
-
}
|
12
|
-
FilterPipe.decorators = [
|
13
|
-
{ type: Pipe, args: [{ name: 'filter' },] }
|
14
|
-
];
|
1
|
+
import { Pipe } from '@angular/core';
|
2
|
+
export class FilterPipe {
|
3
|
+
/**
|
4
|
+
* Filter array
|
5
|
+
*
|
6
|
+
* 过滤数组
|
7
|
+
*/
|
8
|
+
transform(array, matcher, ...args) {
|
9
|
+
return array.filter(i => matcher(i, ...args));
|
10
|
+
}
|
11
|
+
}
|
12
|
+
FilterPipe.decorators = [
|
13
|
+
{ type: Pipe, args: [{ name: 'filter' },] }
|
14
|
+
];
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2ZpbHRlci9maWx0ZXIucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUtwRCxNQUFNLE9BQU8sVUFBVTtJQUNyQjs7OztPQUlHO0lBQ0gsU0FBUyxDQUFJLEtBQW1CLEVBQUUsT0FBbUQsRUFBRSxHQUFHLElBQWlCO1FBQ3pHLE9BQU8sS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxDQUFDLEVBQUUsR0FBRyxJQUFJLENBQUMsQ0FBQyxDQUFDO0lBQ2hELENBQUM7OztZQVRGLElBQUksU0FBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB0eXBlIHsgTnpTYWZlQW55IH0gZnJvbSAnbmctem9ycm8tYW50ZC9jb3JlL3R5cGVzJztcblxuQFBpcGUoeyBuYW1lOiAnZmlsdGVyJyB9KVxuZXhwb3J0IGNsYXNzIEZpbHRlclBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgLyoqXG4gICAqIEZpbHRlciBhcnJheVxuICAgKlxuICAgKiDov4fmu6TmlbDnu4RcbiAgICovXG4gIHRyYW5zZm9ybTxUPihhcnJheTogcmVhZG9ubHkgVFtdLCBtYXRjaGVyOiAoaXRlbTogVCwgLi4uYXJnczogTnpTYWZlQW55W10pID0+IGJvb2xlYW4sIC4uLmFyZ3M6IE56U2FmZUFueVtdKTogVFtdIHtcbiAgICByZXR1cm4gYXJyYXkuZmlsdGVyKGkgPT4gbWF0Y2hlcihpLCAuLi5hcmdzKSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './filter.pipe';
|
2
|
-
export * from './module';
|
1
|
+
export * from './filter.pipe';
|
2
|
+
export * from './module';
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2ZpbHRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmlsdGVyLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2R1bGUnO1xuIl19
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { FilterPipe } from './filter.pipe';
|
3
|
-
const PIPES = [FilterPipe];
|
4
|
-
export class FilterPipeModule {
|
5
|
-
}
|
6
|
-
FilterPipeModule.decorators = [
|
7
|
-
{ type: NgModule, args: [{
|
8
|
-
declarations: PIPES,
|
9
|
-
exports: PIPES
|
10
|
-
},] }
|
11
|
-
];
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { FilterPipe } from './filter.pipe';
|
3
|
+
const PIPES = [FilterPipe];
|
4
|
+
export class FilterPipeModule {
|
5
|
+
}
|
6
|
+
FilterPipeModule.decorators = [
|
7
|
+
{ type: NgModule, args: [{
|
8
|
+
declarations: PIPES,
|
9
|
+
exports: PIPES
|
10
|
+
},] }
|
11
|
+
];
|
12
12
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9maWx0ZXIvbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxNQUFNLEtBQUssR0FBRyxDQUFDLFVBQVUsQ0FBQyxDQUFDO0FBTTNCLE1BQU0sT0FBTyxnQkFBZ0I7OztZQUo1QixRQUFRLFNBQUM7Z0JBQ1IsWUFBWSxFQUFFLEtBQUs7Z0JBQ25CLE9BQU8sRUFBRSxLQUFLO2FBQ2YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBGaWx0ZXJQaXBlIH0gZnJvbSAnLi9maWx0ZXIucGlwZSc7XG5cbmNvbnN0IFBJUEVTID0gW0ZpbHRlclBpcGVdO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFBJUEVTLFxuICBleHBvcnRzOiBQSVBFU1xufSlcbmV4cG9ydCBjbGFzcyBGaWx0ZXJQaXBlTW9kdWxlIHt9XG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC1waXBlcy1maWx0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2ZpbHRlci95ZWxvbi11dGlsLXBpcGVzLWZpbHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './mask.pipe';
|
2
|
-
export * from './module';
|
1
|
+
export * from './mask.pipe';
|
2
|
+
export * from './module';
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWFzay5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9kdWxlJztcbiJdfQ==
|
@@ -1,30 +1,30 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
2
|
-
import { formatMask } from '@yelon/util/format';
|
3
|
-
export class FormatMaskPipe {
|
4
|
-
/**
|
5
|
-
* Format mask
|
6
|
-
*
|
7
|
-
* 格式化掩码
|
8
|
-
*
|
9
|
-
* | 字符 | 描述 |
|
10
|
-
* | --- | --- |
|
11
|
-
* | `0` | 任意数字,若该位置字符不符合,则默认为 `0` 填充 |
|
12
|
-
* | `9` | 任意数字 |
|
13
|
-
* | `#` | 任意字符 |
|
14
|
-
* | `U` | 转换大写 |
|
15
|
-
* | `L` | 转换小写 |
|
16
|
-
* | `*` | 转换为 `*` 字符 |
|
17
|
-
*
|
18
|
-
* ```ts
|
19
|
-
* formatMask('123', '(###)') => (123)
|
20
|
-
* formatMask('15900000000', '999****9999') => 159****0000
|
21
|
-
* ```
|
22
|
-
*/
|
23
|
-
transform(value, mask) {
|
24
|
-
return formatMask(value, mask);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
FormatMaskPipe.decorators = [
|
28
|
-
{ type: Pipe, args: [{ name: 'mask' },] }
|
29
|
-
];
|
1
|
+
import { Pipe } from '@angular/core';
|
2
|
+
import { formatMask } from '@yelon/util/format';
|
3
|
+
export class FormatMaskPipe {
|
4
|
+
/**
|
5
|
+
* Format mask
|
6
|
+
*
|
7
|
+
* 格式化掩码
|
8
|
+
*
|
9
|
+
* | 字符 | 描述 |
|
10
|
+
* | --- | --- |
|
11
|
+
* | `0` | 任意数字,若该位置字符不符合,则默认为 `0` 填充 |
|
12
|
+
* | `9` | 任意数字 |
|
13
|
+
* | `#` | 任意字符 |
|
14
|
+
* | `U` | 转换大写 |
|
15
|
+
* | `L` | 转换小写 |
|
16
|
+
* | `*` | 转换为 `*` 字符 |
|
17
|
+
*
|
18
|
+
* ```ts
|
19
|
+
* formatMask('123', '(###)') => (123)
|
20
|
+
* formatMask('15900000000', '999****9999') => 159****0000
|
21
|
+
* ```
|
22
|
+
*/
|
23
|
+
transform(value, mask) {
|
24
|
+
return formatMask(value, mask);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
FormatMaskPipe.decorators = [
|
28
|
+
{ type: Pipe, args: [{ name: 'mask' },] }
|
29
|
+
];
|
30
30
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9mb3JtYXQvbWFzay5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBRXBELE9BQU8sRUFBRSxVQUFVLEVBQW9CLE1BQU0sb0JBQW9CLENBQUM7QUFHbEUsTUFBTSxPQUFPLGNBQWM7SUFDekI7Ozs7Ozs7Ozs7Ozs7Ozs7OztPQWtCRztJQUNILFNBQVMsQ0FBQyxLQUFhLEVBQUUsSUFBK0I7UUFDdEQsT0FBTyxVQUFVLENBQUMsS0FBSyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ2pDLENBQUM7OztZQXZCRixJQUFJLFNBQUMsRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBmb3JtYXRNYXNrLCBGb3JtYXRNYXNrT3B0aW9uIH0gZnJvbSAnQHllbG9uL3V0aWwvZm9ybWF0JztcblxuQFBpcGUoeyBuYW1lOiAnbWFzaycgfSlcbmV4cG9ydCBjbGFzcyBGb3JtYXRNYXNrUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAvKipcbiAgICogRm9ybWF0IG1hc2tcbiAgICpcbiAgICog5qC85byP5YyW5o6p56CBXG4gICAqXG4gICAqIHwg5a2X56ymIHwg5o+P6L+wIHxcbiAgICogfCAtLS0gfCAtLS0gfFxuICAgKiB8IGAwYCB8IOS7u+aEj+aVsOWtl++8jOiLpeivpeS9jee9ruWtl+espuS4jeespuWQiO+8jOWImem7mOiupOS4uiBgMGAg5aGr5YWFIHxcbiAgICogfCBgOWAgfCDku7vmhI/mlbDlrZcgfFxuICAgKiB8IGAjYCB8IOS7u+aEj+Wtl+espiB8XG4gICAqIHwgYFVgIHwg6L2s5o2i5aSn5YaZIHxcbiAgICogfCBgTGAgfCDovazmjaLlsI/lhpkgfFxuICAgKiB8IGAqYCB8IOi9rOaNouS4uiBgKmAg5a2X56ymIHxcbiAgICpcbiAgICogYGBgdHNcbiAgICogZm9ybWF0TWFzaygnMTIzJywgJygjIyMpJykgPT4gKDEyMylcbiAgICogZm9ybWF0TWFzaygnMTU5MDAwMDAwMDAnLCAnOTk5KioqKjk5OTknKSA9PiAxNTkqKioqMDAwMFxuICAgKiBgYGBcbiAgICovXG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nLCBtYXNrOiBzdHJpbmcgfCBGb3JtYXRNYXNrT3B0aW9uKTogc3RyaW5nIHtcbiAgICByZXR1cm4gZm9ybWF0TWFzayh2YWx1ZSwgbWFzayk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { FormatMaskPipe } from './mask.pipe';
|
3
|
-
const PIPES = [FormatMaskPipe];
|
4
|
-
export class FormatPipeModule {
|
5
|
-
}
|
6
|
-
FormatPipeModule.decorators = [
|
7
|
-
{ type: NgModule, args: [{
|
8
|
-
declarations: PIPES,
|
9
|
-
exports: PIPES
|
10
|
-
},] }
|
11
|
-
];
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { FormatMaskPipe } from './mask.pipe';
|
3
|
+
const PIPES = [FormatMaskPipe];
|
4
|
+
export class FormatPipeModule {
|
5
|
+
}
|
6
|
+
FormatPipeModule.decorators = [
|
7
|
+
{ type: NgModule, args: [{
|
8
|
+
declarations: PIPES,
|
9
|
+
exports: PIPES
|
10
|
+
},] }
|
11
|
+
];
|
12
12
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9waXBlcy9mb3JtYXQvbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUU3QyxNQUFNLEtBQUssR0FBRyxDQUFDLGNBQWMsQ0FBQyxDQUFDO0FBTS9CLE1BQU0sT0FBTyxnQkFBZ0I7OztZQUo1QixRQUFRLFNBQUM7Z0JBQ1IsWUFBWSxFQUFFLEtBQUs7Z0JBQ25CLE9BQU8sRUFBRSxLQUFLO2FBQ2YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBGb3JtYXRNYXNrUGlwZSB9IGZyb20gJy4vbWFzay5waXBlJztcblxuY29uc3QgUElQRVMgPSBbRm9ybWF0TWFza1BpcGVdO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFBJUEVTLFxuICBleHBvcnRzOiBQSVBFU1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtYXRQaXBlTW9kdWxlIHt9XG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC1waXBlcy1mb3JtYXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2Zvcm1hdC95ZWxvbi11dGlsLXBpcGVzLWZvcm1hdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
package/esm2015/pipes/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from '@yelon/util/pipes/currency';
|
2
|
-
export * from '@yelon/util/pipes/format';
|
3
|
-
export * from '@yelon/util/pipes/filter';
|
1
|
+
export * from '@yelon/util/pipes/currency';
|
2
|
+
export * from '@yelon/util/pipes/format';
|
3
|
+
export * from '@yelon/util/pipes/filter';
|
4
4
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3BpcGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvcGlwZXMvY3VycmVuY3knO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvcGlwZXMvZm9ybWF0JztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL3BpcGVzL2ZpbHRlcic7XG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC1waXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvcGlwZXMveWVsb24tdXRpbC1waXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
package/esm2015/token/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './window';
|
2
|
-
export * from './page-visibility';
|
1
|
+
export * from './window';
|
2
|
+
export * from './page-visibility';
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL3Rva2VuL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3dpbmRvdyc7XG5leHBvcnQgKiBmcm9tICcuL3BhZ2UtdmlzaWJpbGl0eSc7XG4iXX0=
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { DOCUMENT } from '@angular/common';
|
2
|
-
import { inject, InjectionToken } from '@angular/core';
|
3
|
-
import { fromEvent } from 'rxjs';
|
4
|
-
import { distinctUntilChanged, map, share, startWith } from 'rxjs/operators';
|
5
|
-
/**
|
6
|
-
* Use the `visibilitychange` event to monitor whether the browser tab is visible, which is generally used when the user leaves the browser tab to temp interrupt the backend to continue sending requests
|
7
|
-
*
|
8
|
-
* 通过 `visibilitychange` 事件来监听浏览器选项卡是否可见,一般用于当用户离开应用时暂时中断后端持续发送请求时
|
9
|
-
*/
|
10
|
-
export const PAGE_VISIBILITY = new InjectionToken('PAGE_VISIBILITY`', {
|
11
|
-
factory: () => {
|
12
|
-
const doc = inject(DOCUMENT);
|
13
|
-
return fromEvent(doc, 'visibilitychange').pipe(startWith(0), map(() => !doc.hidden), distinctUntilChanged(), share());
|
14
|
-
}
|
15
|
-
});
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
2
|
+
import { inject, InjectionToken } from '@angular/core';
|
3
|
+
import { fromEvent } from 'rxjs';
|
4
|
+
import { distinctUntilChanged, map, share, startWith } from 'rxjs/operators';
|
5
|
+
/**
|
6
|
+
* Use the `visibilitychange` event to monitor whether the browser tab is visible, which is generally used when the user leaves the browser tab to temp interrupt the backend to continue sending requests
|
7
|
+
*
|
8
|
+
* 通过 `visibilitychange` 事件来监听浏览器选项卡是否可见,一般用于当用户离开应用时暂时中断后端持续发送请求时
|
9
|
+
*/
|
10
|
+
export const PAGE_VISIBILITY = new InjectionToken('PAGE_VISIBILITY`', {
|
11
|
+
factory: () => {
|
12
|
+
const doc = inject(DOCUMENT);
|
13
|
+
return fromEvent(doc, 'visibilitychange').pipe(startWith(0), map(() => !doc.hidden), distinctUntilChanged(), share());
|
14
|
+
}
|
15
|
+
});
|
16
16
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS12aXNpYmlsaXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC90b2tlbi9wYWdlLXZpc2liaWxpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZELE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxNQUFNLENBQUM7QUFDN0MsT0FBTyxFQUFFLG9CQUFvQixFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFN0U7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxJQUFJLGNBQWMsQ0FBc0Isa0JBQWtCLEVBQUU7SUFDekYsT0FBTyxFQUFFLEdBQUcsRUFBRTtRQUNaLE1BQU0sR0FBRyxHQUFHLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUM3QixPQUFPLFNBQVMsQ0FBQyxHQUFHLEVBQUUsa0JBQWtCLENBQUMsQ0FBQyxJQUFJLENBQzVDLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFDWixHQUFHLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLEVBQ3RCLG9CQUFvQixFQUFFLEVB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0KERPQ1VNRU5UKTtcbiAgICByZXR1cm4gZnJvbUV2ZW50KGRvYywgJ3Zpc2liaWxpdHljaGFuZ2UnKS5waXBlKFxuICAgICAgc3RhcnRXaXRoKDApLFxuICAgICAgbWFwKCgpID0+ICFkb2MuaGlkZGVuKSxcbiAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKCksXG4gICAgICBzaGFyZSgpXG4gICAgKTtcbiAgfVxufSk7XG4iXX0=
|
package/esm2015/token/window.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { DOCUMENT } from '@angular/common';
|
2
|
-
import { inject, InjectionToken } from '@angular/core';
|
3
|
-
/**
|
4
|
-
* Access to global `window` object
|
5
|
-
*
|
6
|
-
* 访问全局 `window` 对象
|
7
|
-
*/
|
8
|
-
export const WINDOW = new InjectionToken('WINDOW', {
|
9
|
-
factory: () => {
|
10
|
-
const { defaultView } = inject(DOCUMENT);
|
11
|
-
if (!defaultView) {
|
12
|
-
throw new Error('Window is not available');
|
13
|
-
}
|
14
|
-
return defaultView;
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
2
|
+
import { inject, InjectionToken } from '@angular/core';
|
3
|
+
/**
|
4
|
+
* Access to global `window` object
|
5
|
+
*
|
6
|
+
* 访问全局 `window` 对象
|
7
|
+
*/
|
8
|
+
export const WINDOW = new InjectionToken('WINDOW', {
|
9
|
+
factory: () => {
|
10
|
+
const { defaultView } = inject(DOCUMENT);
|
11
|
+
if (!defaultView) {
|
12
|
+
throw new Error('Window is not available');
|
13
|
+
}
|
14
|
+
return defaultView;
|
15
|
+
}
|
16
|
+
});
|
17
17
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luZG93LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC90b2tlbi93aW5kb3cudHMiXSwibmFtZXMiOltdLCJt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gICAgcmV0dXJuIGRlZmF1bHRWaWV3O1xuICB9XG59KTtcbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC10b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvdG9rZW4veWVsb24tdXRpbC10b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
package/esm2015/yelon-util.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVsb24tdXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwveWVsb24tdXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|