@leankylin-sheet/core 7.0.10 → 7.0.12
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/dist/index.esm.js +49 -10
- package/dist/index.js +49 -10
- package/dist/locale/en.d.ts +5 -0
- package/dist/locale/es.d.ts +5 -0
- package/dist/locale/index.d.ts +5 -0
- package/dist/locale/zh.d.ts +5 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -9496,7 +9496,12 @@ var en = {
|
|
|
9496
9496
|
tipDecimalPlaces: "The decimal places must be between 0-9!",
|
|
9497
9497
|
select: "Select",
|
|
9498
9498
|
format: "format",
|
|
9499
|
-
currency: "currency"
|
|
9499
|
+
currency: "currency",
|
|
9500
|
+
customFormat: "Custom format",
|
|
9501
|
+
customFormatName: "Name",
|
|
9502
|
+
customFormatExample: "e.g. #0.00, 0.00%, yyyy-MM-dd",
|
|
9503
|
+
tipCustomFormat: "Please enter a custom format code!",
|
|
9504
|
+
tipUnsupportedFormat: "The format you entered is not supported, please check the format code!"
|
|
9500
9505
|
},
|
|
9501
9506
|
info: {
|
|
9502
9507
|
detailUpdate: "New opened",
|
|
@@ -10164,18 +10169,30 @@ var en = {
|
|
|
10164
10169
|
example: "1000.12"
|
|
10165
10170
|
}, {
|
|
10166
10171
|
text: "thousand",
|
|
10167
|
-
value: "
|
|
10172
|
+
value: "#,##0",
|
|
10168
10173
|
example: "12,345"
|
|
10174
|
+
}, {
|
|
10175
|
+
text: "thousand-1",
|
|
10176
|
+
value: "#,##0.0",
|
|
10177
|
+
example: "12,345.6"
|
|
10169
10178
|
}, {
|
|
10170
10179
|
text: "thousand-2",
|
|
10171
|
-
value: "
|
|
10180
|
+
value: "#,##0.00",
|
|
10172
10181
|
example: "12,345.67"
|
|
10173
10182
|
}, {
|
|
10174
10183
|
text: "thousand-4",
|
|
10175
|
-
value: "
|
|
10184
|
+
value: "#,##0.0000",
|
|
10176
10185
|
example: "12,345.6789"
|
|
10177
10186
|
}, {
|
|
10178
10187
|
text: "Percent",
|
|
10188
|
+
value: "#0%",
|
|
10189
|
+
example: "12%"
|
|
10190
|
+
}, {
|
|
10191
|
+
text: "Percent-1",
|
|
10192
|
+
value: "#0.0%",
|
|
10193
|
+
example: "12.2%"
|
|
10194
|
+
}, {
|
|
10195
|
+
text: "Percent-2",
|
|
10179
10196
|
value: "#0.00%",
|
|
10180
10197
|
example: "12.21%"
|
|
10181
10198
|
}, {
|
|
@@ -20056,7 +20073,12 @@ var zh = {
|
|
|
20056
20073
|
tipDecimalPlaces: "小数位数必须在0-9之间!",
|
|
20057
20074
|
select: "选择",
|
|
20058
20075
|
format: "格式",
|
|
20059
|
-
currency: "货币"
|
|
20076
|
+
currency: "货币",
|
|
20077
|
+
customFormat: "自定义格式",
|
|
20078
|
+
customFormatName: "名称",
|
|
20079
|
+
customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
|
|
20080
|
+
tipCustomFormat: "请输入自定义格式代码!",
|
|
20081
|
+
tipUnsupportedFormat: "输入的格式暂不支持,请检查格式代码!"
|
|
20060
20082
|
},
|
|
20061
20083
|
info: {
|
|
20062
20084
|
detailUpdate: "新打开",
|
|
@@ -20724,18 +20746,30 @@ var zh = {
|
|
|
20724
20746
|
example: "1000.12"
|
|
20725
20747
|
}, {
|
|
20726
20748
|
text: "千分符整数",
|
|
20727
|
-
value: "
|
|
20749
|
+
value: "#,##0",
|
|
20728
20750
|
example: "12,345"
|
|
20751
|
+
}, {
|
|
20752
|
+
text: "千分符1位小数",
|
|
20753
|
+
value: "#,##0.0",
|
|
20754
|
+
example: "12,345.6"
|
|
20729
20755
|
}, {
|
|
20730
20756
|
text: "千分符2位小数",
|
|
20731
|
-
value: "
|
|
20757
|
+
value: "#,##0.00",
|
|
20732
20758
|
example: "12,345.67"
|
|
20733
20759
|
}, {
|
|
20734
20760
|
text: "千分符4位小数",
|
|
20735
|
-
value: "
|
|
20761
|
+
value: "#,##0.0000",
|
|
20736
20762
|
example: "12,345.6789"
|
|
20737
20763
|
}, {
|
|
20738
|
-
text: "
|
|
20764
|
+
text: "百分比整数",
|
|
20765
|
+
value: "#0%",
|
|
20766
|
+
example: "12%"
|
|
20767
|
+
}, {
|
|
20768
|
+
text: "百分比1位小数",
|
|
20769
|
+
value: "#0.0%",
|
|
20770
|
+
example: "12.2%"
|
|
20771
|
+
}, {
|
|
20772
|
+
text: "百分比2位小数",
|
|
20739
20773
|
value: "#0.00%",
|
|
20740
20774
|
example: "12.21%"
|
|
20741
20775
|
}, {
|
|
@@ -30633,7 +30667,12 @@ var es = {
|
|
|
30633
30667
|
titleCurrency: "Formatos de moneda",
|
|
30634
30668
|
decimalPlaces: "Decimales",
|
|
30635
30669
|
titleDateTime: "Formatos de fecha y hora",
|
|
30636
|
-
titleNumber: "Formatos de números"
|
|
30670
|
+
titleNumber: "Formatos de números",
|
|
30671
|
+
customFormat: "Formato personalizado",
|
|
30672
|
+
customFormatName: "Nombre",
|
|
30673
|
+
customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
|
|
30674
|
+
tipCustomFormat: "Introduce un código de formato personalizado",
|
|
30675
|
+
tipUnsupportedFormat: "El formato introducido no es compatible, revisa el código de formato"
|
|
30637
30676
|
},
|
|
30638
30677
|
info: {
|
|
30639
30678
|
detailUpdate: "Nuevo abierto",
|
package/dist/index.js
CHANGED
|
@@ -9506,7 +9506,12 @@ var en = {
|
|
|
9506
9506
|
tipDecimalPlaces: "The decimal places must be between 0-9!",
|
|
9507
9507
|
select: "Select",
|
|
9508
9508
|
format: "format",
|
|
9509
|
-
currency: "currency"
|
|
9509
|
+
currency: "currency",
|
|
9510
|
+
customFormat: "Custom format",
|
|
9511
|
+
customFormatName: "Name",
|
|
9512
|
+
customFormatExample: "e.g. #0.00, 0.00%, yyyy-MM-dd",
|
|
9513
|
+
tipCustomFormat: "Please enter a custom format code!",
|
|
9514
|
+
tipUnsupportedFormat: "The format you entered is not supported, please check the format code!"
|
|
9510
9515
|
},
|
|
9511
9516
|
info: {
|
|
9512
9517
|
detailUpdate: "New opened",
|
|
@@ -10174,18 +10179,30 @@ var en = {
|
|
|
10174
10179
|
example: "1000.12"
|
|
10175
10180
|
}, {
|
|
10176
10181
|
text: "thousand",
|
|
10177
|
-
value: "
|
|
10182
|
+
value: "#,##0",
|
|
10178
10183
|
example: "12,345"
|
|
10184
|
+
}, {
|
|
10185
|
+
text: "thousand-1",
|
|
10186
|
+
value: "#,##0.0",
|
|
10187
|
+
example: "12,345.6"
|
|
10179
10188
|
}, {
|
|
10180
10189
|
text: "thousand-2",
|
|
10181
|
-
value: "
|
|
10190
|
+
value: "#,##0.00",
|
|
10182
10191
|
example: "12,345.67"
|
|
10183
10192
|
}, {
|
|
10184
10193
|
text: "thousand-4",
|
|
10185
|
-
value: "
|
|
10194
|
+
value: "#,##0.0000",
|
|
10186
10195
|
example: "12,345.6789"
|
|
10187
10196
|
}, {
|
|
10188
10197
|
text: "Percent",
|
|
10198
|
+
value: "#0%",
|
|
10199
|
+
example: "12%"
|
|
10200
|
+
}, {
|
|
10201
|
+
text: "Percent-1",
|
|
10202
|
+
value: "#0.0%",
|
|
10203
|
+
example: "12.2%"
|
|
10204
|
+
}, {
|
|
10205
|
+
text: "Percent-2",
|
|
10189
10206
|
value: "#0.00%",
|
|
10190
10207
|
example: "12.21%"
|
|
10191
10208
|
}, {
|
|
@@ -20066,7 +20083,12 @@ var zh = {
|
|
|
20066
20083
|
tipDecimalPlaces: "小数位数必须在0-9之间!",
|
|
20067
20084
|
select: "选择",
|
|
20068
20085
|
format: "格式",
|
|
20069
|
-
currency: "货币"
|
|
20086
|
+
currency: "货币",
|
|
20087
|
+
customFormat: "自定义格式",
|
|
20088
|
+
customFormatName: "名称",
|
|
20089
|
+
customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
|
|
20090
|
+
tipCustomFormat: "请输入自定义格式代码!",
|
|
20091
|
+
tipUnsupportedFormat: "输入的格式暂不支持,请检查格式代码!"
|
|
20070
20092
|
},
|
|
20071
20093
|
info: {
|
|
20072
20094
|
detailUpdate: "新打开",
|
|
@@ -20734,18 +20756,30 @@ var zh = {
|
|
|
20734
20756
|
example: "1000.12"
|
|
20735
20757
|
}, {
|
|
20736
20758
|
text: "千分符整数",
|
|
20737
|
-
value: "
|
|
20759
|
+
value: "#,##0",
|
|
20738
20760
|
example: "12,345"
|
|
20761
|
+
}, {
|
|
20762
|
+
text: "千分符1位小数",
|
|
20763
|
+
value: "#,##0.0",
|
|
20764
|
+
example: "12,345.6"
|
|
20739
20765
|
}, {
|
|
20740
20766
|
text: "千分符2位小数",
|
|
20741
|
-
value: "
|
|
20767
|
+
value: "#,##0.00",
|
|
20742
20768
|
example: "12,345.67"
|
|
20743
20769
|
}, {
|
|
20744
20770
|
text: "千分符4位小数",
|
|
20745
|
-
value: "
|
|
20771
|
+
value: "#,##0.0000",
|
|
20746
20772
|
example: "12,345.6789"
|
|
20747
20773
|
}, {
|
|
20748
|
-
text: "
|
|
20774
|
+
text: "百分比整数",
|
|
20775
|
+
value: "#0%",
|
|
20776
|
+
example: "12%"
|
|
20777
|
+
}, {
|
|
20778
|
+
text: "百分比1位小数",
|
|
20779
|
+
value: "#0.0%",
|
|
20780
|
+
example: "12.2%"
|
|
20781
|
+
}, {
|
|
20782
|
+
text: "百分比2位小数",
|
|
20749
20783
|
value: "#0.00%",
|
|
20750
20784
|
example: "12.21%"
|
|
20751
20785
|
}, {
|
|
@@ -30643,7 +30677,12 @@ var es = {
|
|
|
30643
30677
|
titleCurrency: "Formatos de moneda",
|
|
30644
30678
|
decimalPlaces: "Decimales",
|
|
30645
30679
|
titleDateTime: "Formatos de fecha y hora",
|
|
30646
|
-
titleNumber: "Formatos de números"
|
|
30680
|
+
titleNumber: "Formatos de números",
|
|
30681
|
+
customFormat: "Formato personalizado",
|
|
30682
|
+
customFormatName: "Nombre",
|
|
30683
|
+
customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
|
|
30684
|
+
tipCustomFormat: "Introduce un código de formato personalizado",
|
|
30685
|
+
tipUnsupportedFormat: "El formato introducido no es compatible, revisa el código de formato"
|
|
30647
30686
|
},
|
|
30648
30687
|
info: {
|
|
30649
30688
|
detailUpdate: "Nuevo abierto",
|
package/dist/locale/en.d.ts
CHANGED
|
@@ -169,6 +169,11 @@ declare const _default: {
|
|
|
169
169
|
select: string;
|
|
170
170
|
format: string;
|
|
171
171
|
currency: string;
|
|
172
|
+
customFormat: string;
|
|
173
|
+
customFormatName: string;
|
|
174
|
+
customFormatExample: string;
|
|
175
|
+
tipCustomFormat: string;
|
|
176
|
+
tipUnsupportedFormat: string;
|
|
172
177
|
};
|
|
173
178
|
info: {
|
|
174
179
|
detailUpdate: string;
|
package/dist/locale/es.d.ts
CHANGED
|
@@ -153,6 +153,11 @@ declare const _default: {
|
|
|
153
153
|
decimalPlaces: string;
|
|
154
154
|
titleDateTime: string;
|
|
155
155
|
titleNumber: string;
|
|
156
|
+
customFormat: string;
|
|
157
|
+
customFormatName: string;
|
|
158
|
+
customFormatExample: string;
|
|
159
|
+
tipCustomFormat: string;
|
|
160
|
+
tipUnsupportedFormat: string;
|
|
156
161
|
};
|
|
157
162
|
info: {
|
|
158
163
|
detailUpdate: string;
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -169,6 +169,11 @@ declare function locale(ctx: Context): {
|
|
|
169
169
|
select: string;
|
|
170
170
|
format: string;
|
|
171
171
|
currency: string;
|
|
172
|
+
customFormat: string;
|
|
173
|
+
customFormatName: string;
|
|
174
|
+
customFormatExample: string;
|
|
175
|
+
tipCustomFormat: string;
|
|
176
|
+
tipUnsupportedFormat: string;
|
|
172
177
|
};
|
|
173
178
|
info: {
|
|
174
179
|
detailUpdate: string;
|
package/dist/locale/zh.d.ts
CHANGED
|
@@ -168,6 +168,11 @@ declare const _default: {
|
|
|
168
168
|
select: string;
|
|
169
169
|
format: string;
|
|
170
170
|
currency: string;
|
|
171
|
+
customFormat: string;
|
|
172
|
+
customFormatName: string;
|
|
173
|
+
customFormatExample: string;
|
|
174
|
+
tipCustomFormat: string;
|
|
175
|
+
tipUnsupportedFormat: string;
|
|
171
176
|
};
|
|
172
177
|
info: {
|
|
173
178
|
detailUpdate: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.12",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build": "father-build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@leankylin-sheet/formula-parser": "7.0.
|
|
16
|
+
"@leankylin-sheet/formula-parser": "7.0.12",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|