@yelon/util 15.2.6 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -21
- package/README.md +22 -22
- package/analysis/global-event.subject.d.ts +7 -7
- package/analysis/index.d.ts +1 -1
- package/array/array-type.service.d.ts +68 -68
- package/array/array.service.d.ts +78 -78
- package/array/index.d.ts +2 -2
- package/browser/cookie.service.d.ts +67 -67
- 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 +37 -37
- package/browser/style.d.ts +21 -21
- package/config/abc/date-picker.type.d.ts +52 -52
- package/config/abc/error-collect.type.d.ts +10 -10
- package/config/abc/exception.type.d.ts +9 -9
- package/config/abc/image.type.d.ts +15 -15
- package/config/abc/index.d.ts +17 -17
- 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 +465 -465
- 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 +13 -13
- package/config/config.types.d.ts +48 -48
- package/config/index.d.ts +14 -14
- package/config/mock/mock.type.d.ts +18 -18
- package/config/sf/sf.type.d.ts +133 -133
- package/config/socket/socket.type.d.ts +4 -4
- package/config/theme/http.type.d.ts +14 -14
- package/config/theme/i18n.type.d.ts +14 -14
- 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/date-time/index.d.ts +2 -2
- package/date-time/picker.d.ts +68 -68
- package/date-time/time.d.ts +29 -29
- package/decorator/convert.d.ts +24 -24
- package/decorator/index.d.ts +2 -2
- package/decorator/zone-outside.d.ts +35 -35
- package/{esm2020 → esm2022}/analysis/analysis.mjs +4 -4
- package/esm2022/analysis/global-event.subject.mjs +18 -0
- package/{esm2020 → esm2022}/analysis/index.mjs +2 -2
- package/{esm2020 → esm2022}/array/array-type.service.mjs +1 -1
- package/{esm2020 → esm2022}/array/array.mjs +4 -4
- package/esm2022/array/array.service.mjs +278 -0
- package/{esm2020 → esm2022}/array/index.mjs +2 -2
- package/{esm2020 → esm2022}/browser/browser.mjs +4 -4
- package/esm2022/browser/cookie.service.mjs +104 -0
- package/{esm2020 → esm2022}/browser/copy.mjs +27 -27
- package/{esm2020 → esm2022}/browser/index.mjs +5 -5
- package/{esm2020 → esm2022}/browser/is-empty.mjs +18 -18
- package/esm2022/browser/scroll.service.mjs +89 -0
- package/{esm2020 → esm2022}/browser/style.mjs +37 -37
- package/{esm2020 → esm2022}/config/abc/date-picker.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/error-collect.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/exception.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/image.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/index.mjs +17 -17
- package/{esm2020 → esm2022}/config/abc/loading.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/lodop.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/media.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/onboarding.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/page-header.type.mjs +1 -1
- package/esm2022/config/abc/pdf.type.mjs +2 -0
- package/{esm2020 → esm2022}/config/abc/qr.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/se.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/sg.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/st.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/sv.type.mjs +2 -2
- package/{esm2020 → esm2022}/config/abc/xlsx.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/abc/zip.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/acl/acl.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/auth/auth.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/bis/bis.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/cache/cache.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/chart/chart.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/config.mjs +4 -4
- package/esm2022/config/config.service.mjs +38 -0
- package/{esm2020 → esm2022}/config/config.types.mjs +8 -8
- package/{esm2020 → esm2022}/config/index.mjs +14 -14
- package/{esm2020 → esm2022}/config/mock/mock.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/sf/sf.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/socket/socket.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/theme/http.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/theme/i18n.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/theme/index.mjs +3 -3
- package/{esm2020 → esm2022}/config/theme/responsive.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/util/array.type.mjs +1 -1
- package/{esm2020 → esm2022}/config/util/currency.type.mjs +1 -1
- package/{esm2020 → esm2022}/date-time/date-time.mjs +4 -4
- package/{esm2020 → esm2022}/date-time/index.mjs +2 -2
- package/{esm2020 → esm2022}/date-time/picker.mjs +115 -115
- package/{esm2020 → esm2022}/date-time/time.mjs +88 -88
- package/{esm2020 → esm2022}/decorator/convert.mjs +57 -57
- package/{esm2020 → esm2022}/decorator/decorator.mjs +4 -4
- package/{esm2020 → esm2022}/decorator/index.mjs +2 -2
- package/{esm2020 → esm2022}/decorator/zone-outside.mjs +56 -56
- package/{esm2020 → esm2022}/form/form.mjs +4 -4
- package/{esm2020 → esm2022}/form/index.mjs +2 -2
- package/{esm2020 → esm2022}/form/match-control.mjs +29 -29
- package/{esm2020 → esm2022}/form/validators.mjs +80 -80
- package/esm2022/format/currency.service.mjs +239 -0
- package/{esm2020 → esm2022}/format/currency.types.mjs +7 -7
- package/{esm2020 → esm2022}/format/format.mjs +4 -4
- package/{esm2020 → esm2022}/format/index.mjs +4 -4
- package/{esm2020 → esm2022}/format/string.mjs +84 -84
- package/{esm2020 → esm2022}/format/validate.mjs +93 -93
- package/{esm2020 → esm2022}/index.mjs +12 -12
- package/{esm2020 → esm2022}/math/in-range.mjs +24 -24
- package/{esm2020 → esm2022}/math/index.mjs +2 -2
- package/{esm2020 → esm2022}/math/math.mjs +4 -4
- package/{esm2020 → esm2022}/math/round.mjs +52 -52
- package/{esm2020 → esm2022}/other/assert.mjs +66 -66
- package/{esm2020 → esm2022}/other/deep.mjs +77 -77
- package/{esm2020 → esm2022}/other/favicon.mjs +28 -28
- package/{esm2020 → esm2022}/other/index.mjs +7 -7
- package/esm2022/other/lazy.service.mjs +133 -0
- package/{esm2020 → esm2022}/other/logger.mjs +32 -32
- package/{esm2020 → esm2022}/other/other.mjs +4 -4
- package/esm2022/other/path-to-regexp.service.mjs +240 -0
- package/{esm2020 → esm2022}/other/resize.mjs +3 -3
- package/esm2022/pipes/currency/cny.pipe.mjs +24 -0
- package/{esm2020 → esm2022}/pipes/currency/index.mjs +4 -4
- package/esm2022/pipes/currency/mega.pipe.mjs +30 -0
- package/esm2022/pipes/currency/module.mjs +20 -0
- package/{esm2020 → esm2022}/pipes/currency/pipe-currency.mjs +4 -4
- package/esm2022/pipes/currency/price.pipe.mjs +28 -0
- package/esm2022/pipes/filter/filter.pipe.mjs +20 -0
- package/{esm2020 → esm2022}/pipes/filter/index.mjs +2 -2
- package/esm2022/pipes/filter/module.mjs +18 -0
- package/{esm2020 → esm2022}/pipes/filter/pipe-filter.mjs +4 -4
- package/{esm2020 → esm2022}/pipes/format/index.mjs +2 -2
- package/esm2022/pipes/format/mask.pipe.mjs +35 -0
- package/esm2022/pipes/format/module.mjs +18 -0
- package/{esm2020 → esm2022}/pipes/format/pipe-format.mjs +4 -4
- package/{esm2020 → esm2022}/pipes/index.mjs +3 -3
- package/{esm2020 → esm2022}/pipes/pipes.mjs +4 -4
- package/{esm2020 → esm2022}/token/index.mjs +2 -2
- package/{esm2020 → esm2022}/token/page-visibility.mjs +14 -14
- package/{esm2020 → esm2022}/token/token.mjs +4 -4
- package/{esm2020 → esm2022}/token/window.mjs +16 -16
- package/{esm2020 → esm2022}/yelon-util.mjs +4 -4
- package/{fesm2020 → fesm2022}/analysis.mjs +24 -24
- package/fesm2022/analysis.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/array.mjs +284 -284
- package/{fesm2015 → fesm2022}/array.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/browser.mjs +279 -279
- package/{fesm2020 → fesm2022}/browser.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/config.mjs +54 -54
- package/{fesm2020 → fesm2022}/config.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/date-time.mjs +211 -211
- package/{fesm2020 → fesm2022}/decorator.mjs +121 -121
- package/{fesm2020 → fesm2022}/form.mjs +118 -118
- package/{fesm2020 → fesm2022}/format.mjs +431 -431
- package/{fesm2020 → fesm2022}/format.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/math.mjs +85 -85
- package/{fesm2020 → fesm2022}/other.mjs +586 -586
- package/{fesm2020 → fesm2022}/other.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pipe-currency.mjs +94 -94
- 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/{fesm2020 → fesm2022}/pipe-format.mjs +55 -55
- package/{fesm2015 → fesm2022}/pipe-format.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/pipes.mjs +8 -8
- package/{fesm2020 → fesm2022}/token.mjs +37 -37
- package/{fesm2015 → fesm2022}/yelon-util.mjs +17 -17
- package/form/index.d.ts +2 -2
- package/form/match-control.d.ts +15 -15
- package/form/validators.d.ts +62 -62
- package/format/currency.service.d.ts +37 -37
- 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/index.d.ts +12 -12
- package/math/in-range.d.ts +14 -14
- package/math/index.d.ts +2 -2
- package/math/round.d.ts +33 -33
- package/other/assert.d.ts +36 -36
- package/other/deep.d.ts +35 -35
- package/other/favicon.d.ts +2 -2
- package/other/index.d.ts +7 -7
- package/other/lazy.service.d.ts +48 -48
- package/other/logger.d.ts +5 -5
- package/other/path-to-regexp.service.d.ts +26 -26
- package/other/resize.d.ts +1 -1
- package/package.json +129 -165
- package/pipes/currency/cny.pipe.d.ts +15 -15
- package/pipes/currency/index.d.ts +4 -4
- package/pipes/currency/mega.pipe.d.ts +16 -16
- package/pipes/currency/module.d.ts +9 -9
- package/pipes/currency/price.pipe.d.ts +19 -19
- package/pipes/filter/filter.pipe.d.ts +13 -13
- package/pipes/filter/index.d.ts +2 -2
- package/pipes/filter/module.d.ts +7 -7
- package/pipes/format/index.d.ts +2 -2
- package/pipes/format/mask.pipe.d.ts +27 -27
- package/pipes/format/module.d.ts +7 -7
- package/pipes/index.d.ts +3 -3
- package/token/index.d.ts +2 -2
- package/token/page-visibility.d.ts +8 -8
- package/token/window.d.ts +7 -7
- package/esm2020/analysis/global-event.subject.mjs +0 -17
- package/esm2020/array/array.service.mjs +0 -277
- 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 -37
- package/esm2020/format/currency.service.mjs +0 -238
- package/esm2020/other/lazy.service.mjs +0 -132
- package/esm2020/other/path-to-regexp.service.mjs +0 -239
- 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/analysis.mjs +0 -24
- package/fesm2015/analysis.mjs.map +0 -1
- package/fesm2015/array.mjs +0 -254
- package/fesm2015/browser.mjs +0 -283
- package/fesm2015/browser.mjs.map +0 -1
- package/fesm2015/config.mjs +0 -56
- 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/form.mjs +0 -118
- package/fesm2015/format.mjs +0 -413
- package/fesm2015/format.mjs.map +0 -1
- package/fesm2015/math.mjs +0 -85
- package/fesm2015/other.mjs +0 -589
- 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/fesm2015/pipe-format.mjs +0 -55
- package/fesm2015/token.mjs +0 -37
- package/fesm2020/analysis.mjs.map +0 -1
- package/fesm2020/array.mjs.map +0 -1
- package/fesm2020/form.mjs.map +0 -1
- 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.map +0 -1
- package/fesm2020/pipes.mjs +0 -8
- package/fesm2020/pipes.mjs.map +0 -1
- package/fesm2020/token.mjs.map +0 -1
- package/fesm2020/yelon-util.mjs +0 -17
- package/fesm2020/yelon-util.mjs.map +0 -1
- /package/{fesm2020 → fesm2022}/date-time.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/decorator.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/form.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/math.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/pipes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/token.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/yelon-util.mjs.map +0 -0
@@ -1,81 +1,81 @@
|
|
1
|
-
import { isChinese, isColor, isDecimal, isIdCard, isInt, isIp, isMobile, isNum, isUrl } from '@yelon/util/format';
|
2
|
-
/**
|
3
|
-
* A set of validators for reactive forms
|
4
|
-
*
|
5
|
-
* 一套用于响应式表单的验证器
|
6
|
-
*/
|
7
|
-
export class _Validators {
|
8
|
-
/**
|
9
|
-
* Wheter is number
|
10
|
-
*
|
11
|
-
* 是否为数字
|
12
|
-
*/
|
13
|
-
static num(control) {
|
14
|
-
return isNum(control.value) ? null : { num: true };
|
15
|
-
}
|
16
|
-
/**
|
17
|
-
* Wheter is integer
|
18
|
-
*
|
19
|
-
* 是否为整数
|
20
|
-
*/
|
21
|
-
static int(control) {
|
22
|
-
return isInt(control.value) ? null : { int: true };
|
23
|
-
}
|
24
|
-
/**
|
25
|
-
* Wheter is decimal
|
26
|
-
*
|
27
|
-
* 是否为小数点数值
|
28
|
-
*/
|
29
|
-
static decimal(control) {
|
30
|
-
return isDecimal(control.value) ? null : { decimal: true };
|
31
|
-
}
|
32
|
-
/**
|
33
|
-
* Wheter is People's Republic of China identity card
|
34
|
-
*
|
35
|
-
* 是否为中华人民共和国居民身份证
|
36
|
-
*/
|
37
|
-
static idCard(control) {
|
38
|
-
return isIdCard(control.value) ? null : { idCard: true };
|
39
|
-
}
|
40
|
-
/**
|
41
|
-
* Wheter is china mobile (China)
|
42
|
-
*
|
43
|
-
* 是否为手机号(中国)
|
44
|
-
*/
|
45
|
-
static mobile(control) {
|
46
|
-
return isMobile(control.value) ? null : { mobile: true };
|
47
|
-
}
|
48
|
-
/**
|
49
|
-
* Wheter is url address
|
50
|
-
*
|
51
|
-
* 是否URL地址
|
52
|
-
*/
|
53
|
-
static url(control) {
|
54
|
-
return isUrl(control.value) ? null : { url: true };
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Wheter is IPv4 address (Support v4, v6)
|
58
|
-
*
|
59
|
-
* 是否IP4地址(支持v4、v6)
|
60
|
-
*/
|
61
|
-
static ip(control) {
|
62
|
-
return isIp(control.value) ? null : { ip: true };
|
63
|
-
}
|
64
|
-
/**
|
65
|
-
* Wheter is color
|
66
|
-
*
|
67
|
-
* 是否颜色代码值
|
68
|
-
*/
|
69
|
-
static color(control) {
|
70
|
-
return isColor(control.value) ? null : { color: true };
|
71
|
-
}
|
72
|
-
/**
|
73
|
-
* Wheter is chinese
|
74
|
-
*
|
75
|
-
* 是否中文
|
76
|
-
*/
|
77
|
-
static chinese(control) {
|
78
|
-
return isChinese(control.value) ? null : { chinese: true };
|
79
|
-
}
|
80
|
-
}
|
1
|
+
import { isChinese, isColor, isDecimal, isIdCard, isInt, isIp, isMobile, isNum, isUrl } from '@yelon/util/format';
|
2
|
+
/**
|
3
|
+
* A set of validators for reactive forms
|
4
|
+
*
|
5
|
+
* 一套用于响应式表单的验证器
|
6
|
+
*/
|
7
|
+
export class _Validators {
|
8
|
+
/**
|
9
|
+
* Wheter is number
|
10
|
+
*
|
11
|
+
* 是否为数字
|
12
|
+
*/
|
13
|
+
static num(control) {
|
14
|
+
return isNum(control.value) ? null : { num: true };
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* Wheter is integer
|
18
|
+
*
|
19
|
+
* 是否为整数
|
20
|
+
*/
|
21
|
+
static int(control) {
|
22
|
+
return isInt(control.value) ? null : { int: true };
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Wheter is decimal
|
26
|
+
*
|
27
|
+
* 是否为小数点数值
|
28
|
+
*/
|
29
|
+
static decimal(control) {
|
30
|
+
return isDecimal(control.value) ? null : { decimal: true };
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Wheter is People's Republic of China identity card
|
34
|
+
*
|
35
|
+
* 是否为中华人民共和国居民身份证
|
36
|
+
*/
|
37
|
+
static idCard(control) {
|
38
|
+
return isIdCard(control.value) ? null : { idCard: true };
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Wheter is china mobile (China)
|
42
|
+
*
|
43
|
+
* 是否为手机号(中国)
|
44
|
+
*/
|
45
|
+
static mobile(control) {
|
46
|
+
return isMobile(control.value) ? null : { mobile: true };
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* Wheter is url address
|
50
|
+
*
|
51
|
+
* 是否URL地址
|
52
|
+
*/
|
53
|
+
static url(control) {
|
54
|
+
return isUrl(control.value) ? null : { url: true };
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* Wheter is IPv4 address (Support v4, v6)
|
58
|
+
*
|
59
|
+
* 是否IP4地址(支持v4、v6)
|
60
|
+
*/
|
61
|
+
static ip(control) {
|
62
|
+
return isIp(control.value) ? null : { ip: true };
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* Wheter is color
|
66
|
+
*
|
67
|
+
* 是否颜色代码值
|
68
|
+
*/
|
69
|
+
static color(control) {
|
70
|
+
return isColor(control.value) ? null : { color: true };
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* Wheter is chinese
|
74
|
+
*
|
75
|
+
* 是否中文
|
76
|
+
*/
|
77
|
+
static chinese(control) {
|
78
|
+
return isChinese(control.value) ? null : { chinese: true };
|
79
|
+
}
|
80
|
+
}
|
81
81
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZm9ybS92YWxpZGF0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ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ByZXR1cm4gaXNVcmwoY29udHJvbC52YWx1ZSkgPyBudWxsIDogeyB1cmw6IHRydWUgfTtcbiAgfVxuXG4gIC8qKlxuICAgKiBXaGV0ZXIgaXMgSVB2NCBhZGRyZXNzIChTdXBwb3J0IHY0LCB2NilcbiAgICpcbiAgICog5piv5ZCmSVA05Zyw5Z2A77yI5pSv5oyBdjTjgIF2Nu+8iVxuICAgKi9cbiAgc3RhdGljIGlwKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgfCBudWxsIHtcbiAgICByZXR1cm4gaXNJcChjb250cm9sLnZhbHVlKSA/IG51bGwgOiB7IGlwOiB0cnVlIH07XG4gIH1cblxuICAvKipcbiAgICogV2hldGVyIGlzIGNvbG9yXG4gICAqXG4gICAqIOaYr+WQpuminOiJsuS7o+eggeWAvFxuICAgKi9cbiAgc3RhdGljIGNvbG9yKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgfCBudWxsIHtcbiAgICByZXR1cm4gaXNDb2xvcihjb250cm9sLnZhbHVlKSA/IG51bGwgOiB7IGNvbG9yOiB0cnVlIH07XG4gIH1cblxuICAvKipcbiAgICogV2hldGVyIGlzIGNoaW5lc2VcbiAgICpcbiAgICog5piv5ZCm5Lit5paHXG4gICAqL1xuICBzdGF0aWMgY2hpbmVzZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiBWYWxpZGF0aW9uRXJyb3JzIHwgbnVsbCB7XG4gICAgcmV0dXJuIGlzQ2hpbmVzZShjb250cm9sLnZhbHVlKSA/IG51bGwgOiB7IGNoaW5lc2U6IHRydWUgfTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,239 @@
|
|
1
|
+
import { CurrencyPipe, formatNumber } from '@angular/common';
|
2
|
+
import { DEFAULT_CURRENCY_CODE, Inject, Injectable, LOCALE_ID } from '@angular/core';
|
3
|
+
import { CurrencyMega_Powers } from './currency.types';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "@yelon/util/config";
|
6
|
+
class CurrencyService {
|
7
|
+
constructor(cog, locale, _defaultCurrencyCode = 'USD') {
|
8
|
+
this.locale = locale;
|
9
|
+
this.currencyPipe = new CurrencyPipe(locale, _defaultCurrencyCode);
|
10
|
+
this.c = cog.merge('utilCurrency', {
|
11
|
+
startingUnit: 'yuan',
|
12
|
+
megaUnit: { Q: '京', T: '兆', B: '亿', M: '万', K: '千' },
|
13
|
+
precision: 2,
|
14
|
+
ignoreZeroPrecision: true
|
15
|
+
});
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Format a number with commas as thousands separators
|
19
|
+
*
|
20
|
+
* 格式化货币,用逗号将数字格式化为千位分隔符
|
21
|
+
* ```ts
|
22
|
+
* 10000 => `10,000`
|
23
|
+
* 10000.567 => `10,000.57`
|
24
|
+
* ```
|
25
|
+
*/
|
26
|
+
format(value, options) {
|
27
|
+
options = {
|
28
|
+
startingUnit: this.c.startingUnit,
|
29
|
+
precision: this.c.precision,
|
30
|
+
ignoreZeroPrecision: this.c.ignoreZeroPrecision,
|
31
|
+
ngCurrency: this.c.ngCurrency,
|
32
|
+
...options
|
33
|
+
};
|
34
|
+
let truthValue = Number(value);
|
35
|
+
if (value == null || isNaN(truthValue)) {
|
36
|
+
return '';
|
37
|
+
}
|
38
|
+
if (options.startingUnit === 'cent') {
|
39
|
+
truthValue = truthValue / 100;
|
40
|
+
}
|
41
|
+
if (options.ngCurrency != null) {
|
42
|
+
const cur = options.ngCurrency;
|
43
|
+
return this.currencyPipe.transform(truthValue, cur.currencyCode, cur.display, cur.digitsInfo, cur.locale || this.locale);
|
44
|
+
}
|
45
|
+
const res = formatNumber(truthValue, this.locale, `.${options.ignoreZeroPrecision ? 1 : options.precision}-${options.precision}`);
|
46
|
+
return options.ignoreZeroPrecision ? res.replace(/(?:\.[0]+)$/g, '') : res;
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* Large number format filter
|
50
|
+
*
|
51
|
+
* 大数据格式化
|
52
|
+
* ```ts
|
53
|
+
* 1000 => { value: '1', unit: 'K', unitI18n: '千' }
|
54
|
+
* 12456 => { value: '12.46', unit: 'K', unitI18n: '千' }
|
55
|
+
* ```
|
56
|
+
*/
|
57
|
+
mega(value, options) {
|
58
|
+
options = { precision: this.c.precision, unitI18n: this.c.megaUnit, startingUnit: this.c.startingUnit, ...options };
|
59
|
+
let num = Number(value);
|
60
|
+
const res = { raw: value, value: '', unit: '', unitI18n: '' };
|
61
|
+
if (isNaN(num) || num === 0) {
|
62
|
+
res.value = value.toString();
|
63
|
+
return res;
|
64
|
+
}
|
65
|
+
if (options.startingUnit === 'cent') {
|
66
|
+
num = num / 100;
|
67
|
+
}
|
68
|
+
let abs = Math.abs(+num);
|
69
|
+
const rounder = Math.pow(10, options.precision);
|
70
|
+
const isNegative = num < 0;
|
71
|
+
for (const p of CurrencyMega_Powers) {
|
72
|
+
let reduced = abs / p.value;
|
73
|
+
reduced = Math.round(reduced * rounder) / rounder;
|
74
|
+
if (reduced >= 1) {
|
75
|
+
abs = reduced;
|
76
|
+
res.unit = p.unit;
|
77
|
+
break;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
res.value = (isNegative ? '-' : '') + abs;
|
81
|
+
res.unitI18n = options.unitI18n[res.unit];
|
82
|
+
return res;
|
83
|
+
}
|
84
|
+
/**
|
85
|
+
* Converted into RMB notation.
|
86
|
+
*
|
87
|
+
* 转化成人民币表示法
|
88
|
+
*/
|
89
|
+
cny(value, options) {
|
90
|
+
options = {
|
91
|
+
inWords: true,
|
92
|
+
minusSymbol: '负',
|
93
|
+
startingUnit: this.c.startingUnit,
|
94
|
+
...options
|
95
|
+
};
|
96
|
+
value = Number(value);
|
97
|
+
if (isNaN(value)) {
|
98
|
+
return '';
|
99
|
+
}
|
100
|
+
if (options.startingUnit === 'cent') {
|
101
|
+
value = value / 100;
|
102
|
+
}
|
103
|
+
value = value.toString();
|
104
|
+
let integer;
|
105
|
+
let decimal;
|
106
|
+
[integer, decimal] = value.split('.');
|
107
|
+
let symbol = '';
|
108
|
+
if (integer.startsWith('-')) {
|
109
|
+
symbol = options.minusSymbol;
|
110
|
+
integer = integer.substring(1);
|
111
|
+
}
|
112
|
+
if (/^-?\d+$/.test(value)) {
|
113
|
+
decimal = null;
|
114
|
+
}
|
115
|
+
integer = (+integer).toString();
|
116
|
+
const inWords = options.inWords;
|
117
|
+
const unit = {
|
118
|
+
num: inWords
|
119
|
+
? ['', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖', '点']
|
120
|
+
: ['', '一', '二', '三', '四', '五', '六', '七', '八', '九', '点'],
|
121
|
+
radice: inWords
|
122
|
+
? [
|
123
|
+
'',
|
124
|
+
'拾',
|
125
|
+
'佰',
|
126
|
+
'仟',
|
127
|
+
'万',
|
128
|
+
'拾',
|
129
|
+
'佰',
|
130
|
+
'仟',
|
131
|
+
'亿',
|
132
|
+
'拾',
|
133
|
+
'佰',
|
134
|
+
'仟',
|
135
|
+
'万亿',
|
136
|
+
'拾',
|
137
|
+
'佰',
|
138
|
+
'仟',
|
139
|
+
'兆',
|
140
|
+
'拾',
|
141
|
+
'佰',
|
142
|
+
'仟'
|
143
|
+
]
|
144
|
+
: [
|
145
|
+
'',
|
146
|
+
'十',
|
147
|
+
'百',
|
148
|
+
'千',
|
149
|
+
'万',
|
150
|
+
'十',
|
151
|
+
'百',
|
152
|
+
'千',
|
153
|
+
'亿',
|
154
|
+
'十',
|
155
|
+
'百',
|
156
|
+
'千',
|
157
|
+
'万亿',
|
158
|
+
'十',
|
159
|
+
'百',
|
160
|
+
'千',
|
161
|
+
'兆',
|
162
|
+
'十',
|
163
|
+
'百',
|
164
|
+
'千'
|
165
|
+
],
|
166
|
+
dec: ['角', '分', '厘', '毫']
|
167
|
+
};
|
168
|
+
if (inWords) {
|
169
|
+
value = (+value).toFixed(5).toString();
|
170
|
+
}
|
171
|
+
let integerRes = '';
|
172
|
+
const integerCount = integer.length;
|
173
|
+
if (integer === '0' || integerCount === 0) {
|
174
|
+
integerRes = '零';
|
175
|
+
}
|
176
|
+
else {
|
177
|
+
let cnDesc = '';
|
178
|
+
for (let i = 0; i < integerCount; i++) {
|
179
|
+
const n = +integer[i];
|
180
|
+
const j = integerCount - i - 1;
|
181
|
+
const isZero = i > 1 && n !== 0 && integer[i - 1] === '0';
|
182
|
+
const cnZero = isZero ? '零' : '';
|
183
|
+
const isEmpptyUnit = (n === 0 && j % 4 !== 0) || integer.substring(i - 3, i - 3 + 4) === '0000';
|
184
|
+
const descMark = cnDesc;
|
185
|
+
let cnNum = unit.num[n];
|
186
|
+
cnDesc = isEmpptyUnit ? '' : unit.radice[j];
|
187
|
+
// 第一位是一十
|
188
|
+
if (i === 0 && cnNum === '一' && cnDesc === '十')
|
189
|
+
cnNum = '';
|
190
|
+
const isChangeEr = n > 1 &&
|
191
|
+
cnNum === '二' && // 去除首位
|
192
|
+
['', '十', '百'].indexOf(cnDesc) === -1 && // 不读两\两十\两百
|
193
|
+
descMark !== '十'; // 不读十两
|
194
|
+
if (isChangeEr)
|
195
|
+
cnNum = '两';
|
196
|
+
integerRes += cnZero + cnNum + cnDesc;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
// 小数部分拼接
|
200
|
+
let decimalRes = '';
|
201
|
+
const decimalCount = decimal ? decimal.toString().length : 0;
|
202
|
+
if (decimal === null) {
|
203
|
+
decimalRes = inWords ? '整' : '';
|
204
|
+
}
|
205
|
+
else if (decimal === '0') {
|
206
|
+
decimalRes = '零';
|
207
|
+
}
|
208
|
+
else {
|
209
|
+
for (let i = 0; i < decimalCount; i++) {
|
210
|
+
if (inWords && i > unit.dec.length - 1)
|
211
|
+
break;
|
212
|
+
const n = decimal[i];
|
213
|
+
const cnZero = n === '0' ? '零' : '';
|
214
|
+
const cnNum = unit.num[+n];
|
215
|
+
const cnDesc = inWords ? unit.dec[i] : '';
|
216
|
+
decimalRes += cnZero + cnNum + cnDesc;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
const ret = symbol +
|
220
|
+
(inWords
|
221
|
+
? integerRes + (decimalRes === '零' ? '元整' : `元${decimalRes}`)
|
222
|
+
: integerRes + (decimalRes === '' ? '' : `点${decimalRes}`));
|
223
|
+
return ret;
|
224
|
+
}
|
225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }, { token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
226
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyService, providedIn: 'root' }); }
|
227
|
+
}
|
228
|
+
export { CurrencyService };
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyService, decorators: [{
|
230
|
+
type: Injectable,
|
231
|
+
args: [{ providedIn: 'root' }]
|
232
|
+
}], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }, { type: undefined, decorators: [{
|
233
|
+
type: Inject,
|
234
|
+
args: [LOCALE_ID]
|
235
|
+
}] }, { type: undefined, decorators: [{
|
236
|
+
type: Inject,
|
237
|
+
args: [DEFAULT_CURRENCY_CODE]
|
238
|
+
}] }]; } });
|
239
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZm9ybWF0L2N1cnJlbmN5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM3RCxPQUFPLEVBQUUscUJBQXFCL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xuICAgICAgICAgICAgJ+aLvicsXG4gICAgICAgICAgICAn5L2wJyxcbiAgICAgICAgICAgICfku58nLFxuICAgICAgICAgICAgJ+S6vycsXG4gICAgICAgICAgICAn5ou+JyxcbiAgICAgICAgICAgICfkvbAnLFxuICAgICAgICAgICAgJ+S7nycsXG4gICAgICAgICAgICAn5LiH5Lq/JyxcbiAgICAgICAgICAgICfmi74nLFxuICAgICAgICAgICAgJ+S9sCcsXG4gICAgICAgICAgICAn5LufJyxcbiAgICAgICAgICAgICflhYYnLFxuICAgICAgICAgICAgJ+aLvicsXG4gICAgICAgICAgICAn5L2wJyxcbiAgICAgICAgICAgICfku58nXG4gICAgICAgICAgXVxuICAgICAgICA6IFtcbiAgICAgICAgICAgICcnLFxuICAgICAgICAgICAgJ+WNgScsXG4gICAgICAgICAgICAn55m+JyxcbiAgICAgICAgICAgICfljYMnLFxuICAgICAgICAgICAgJ+S4hycsXG4gICAgICAgICAgICAn5Y2BJyxcbiAgICAgICAgICAgICfnmb4nLFxuICAgICAgICAgICAgJ+WNgycsXG4gICAgICAgICAgICAn5Lq/JyxcbiAgICAgICAgICAgICfljYEnLFxuICAgICAgICAgICAgJ+eZvicsXG4gICAgICAgICAgICAn5Y2DJyxcbiAgICAgICAgICAgICfkuIfkur8nLFxuICAgICAgICAgICAgJ+WNgScsXG4gICAgICAgICAgICAn55m+JyxcbiAgICAgICAgICAgICfljYMnLFxuICAgICAgICAgICAgJ+WFhicsXG4gICAgICAgICAgICAn5Y2BJyxcbiAgICAgICAgICAgICfnmb4nLFxuICAgICAgICAgICAgJ+WNgydcbiAgICAgICAgICBdLFxuICAgICAgZGVjOiBbJ+inkicsICfliIYnLCAn5Y6YJywgJ+avqyddXG4gICAgfTtcbiAgICBpZiAoaW5Xb3Jkcykge1xuICAgICAgdmFsdWUgPSAoK3ZhbHVlKS50b0ZpeGVkKDUpLnRvU3RyaW5nKCk7XG4gICAgfVxuICAgIGxldCBpbnRlZ2VyUmVzID0gJyc7XG4gICA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HJldCA9XG4gICAgICBzeW1ib2wgK1xuICAgICAgKGluV29yZHNcbiAgICAgICAgPyBpbnRlZ2VyUmVzICsgKGRlY2ltYWxSZXMgPT09ICfpm7YnID8gJ+WFg+aVtCcgOiBg5YWDJHtkZWNpbWFsUmVzfWApXG4gICAgICAgIDogaW50ZWdlclJlcyArIChkZWNpbWFsUmVzID09PSAnJyA/ICcnIDogYOeCuSR7ZGVjaW1hbFJlc31gKSk7XG4gICAgcmV0dXJuIHJldDtcbiAgfVxufVxuIl19
|
@@ -1,8 +1,8 @@
|
|
1
|
-
export const CurrencyMega_Powers = [
|
2
|
-
{ unit: 'Q', value: Math.pow(10, 15) },
|
3
|
-
{ unit: 'T', value: Math.pow(10, 12) },
|
4
|
-
{ unit: 'B', value: Math.pow(10, 9) },
|
5
|
-
{ unit: 'M', value: Math.pow(10, 6) },
|
6
|
-
{ unit: 'K', value: 1000 }
|
7
|
-
];
|
1
|
+
export const CurrencyMega_Powers = [
|
2
|
+
{ unit: 'Q', value: Math.pow(10, 15) },
|
3
|
+
{ unit: 'T', value: Math.pow(10, 12) },
|
4
|
+
{ unit: 'B', value: Math.pow(10, 9) },
|
5
|
+
{ unit: 'M', value: Math.pow(10, 6) },
|
6
|
+
{ unit: 'K', value: 1000 }
|
7
|
+
];
|
8
8
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kudHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Zvcm1hdC9jdXJyZW5jeS50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyREEsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUc7SUFDakMsRUFBRSxJQUFJLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUM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YHRydWVgXG4gICAqXG4gICAqIOaYr+WQpui/lOWbnuWkp+WGmeihqOekuuazle+8jOm7mOiupO+8mmB0cnVlYFxuICAgKi9cbiAgaW5Xb3Jkcz86IGJvb2xlYW47XG4gIC8qKlxuICAgKiBTcGVjaWZ5IG5lZ2F0aXZlIHNpZ24sIGRlZmF1bHQ6IGBuZWdhdGl2ZWBcbiAgICpcbiAgICog5oyH5a6a6LSf5pWw56ym5Y+377yM6buY6K6k77yaYOi0n2BcbiAgICovXG4gIG1pbnVzU3ltYm9sPzogc3RyaW5nO1xufVxuIl19
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9mb3JtYXQvZm9ybWF0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './string';
|
2
|
-
export * from './validate';
|
3
|
-
export * from './currency.service';
|
4
|
-
export * from './currency.types';
|
1
|
+
export * from './string';
|
2
|
+
export * from './validate';
|
3
|
+
export * from './currency.service';
|
4
|
+
export * from './currency.types';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N0cmluZyc7XG5leHBvcnQgKiBmcm9tICcuL3ZhbGlkYXRlJztcbmV4cG9ydCAqIGZyb20gJy4vY3VycmVuY3kuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2N1cnJlbmN5LnR5cGVzJztcbiJdfQ==
|