@leankylin-sheet/core 7.0.9 → 7.0.11
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 +40 -4
- package/dist/index.js +40 -4
- package/dist/locale/en.d.ts +4 -0
- package/dist/locale/es.d.ts +4 -0
- package/dist/locale/index.d.ts +4 -0
- package/dist/locale/zh.d.ts +4 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -9496,7 +9496,11 @@ 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!"
|
|
9500
9504
|
},
|
|
9501
9505
|
info: {
|
|
9502
9506
|
detailUpdate: "New opened",
|
|
@@ -10166,6 +10170,10 @@ var en = {
|
|
|
10166
10170
|
text: "thousand",
|
|
10167
10171
|
value: "leanky_n",
|
|
10168
10172
|
example: "12,345"
|
|
10173
|
+
}, {
|
|
10174
|
+
text: "thousand-1",
|
|
10175
|
+
value: "leanky_n1",
|
|
10176
|
+
example: "12,345.6"
|
|
10169
10177
|
}, {
|
|
10170
10178
|
text: "thousand-2",
|
|
10171
10179
|
value: "leanky_n2",
|
|
@@ -10176,6 +10184,14 @@ var en = {
|
|
|
10176
10184
|
example: "12,345.6789"
|
|
10177
10185
|
}, {
|
|
10178
10186
|
text: "Percent",
|
|
10187
|
+
value: "#0%",
|
|
10188
|
+
example: "12%"
|
|
10189
|
+
}, {
|
|
10190
|
+
text: "Percent-1",
|
|
10191
|
+
value: "#0.0%",
|
|
10192
|
+
example: "12.2%"
|
|
10193
|
+
}, {
|
|
10194
|
+
text: "Percent-2",
|
|
10179
10195
|
value: "#0.00%",
|
|
10180
10196
|
example: "12.21%"
|
|
10181
10197
|
}, {
|
|
@@ -20056,7 +20072,11 @@ var zh = {
|
|
|
20056
20072
|
tipDecimalPlaces: "小数位数必须在0-9之间!",
|
|
20057
20073
|
select: "选择",
|
|
20058
20074
|
format: "格式",
|
|
20059
|
-
currency: "货币"
|
|
20075
|
+
currency: "货币",
|
|
20076
|
+
customFormat: "自定义格式",
|
|
20077
|
+
customFormatName: "名称",
|
|
20078
|
+
customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
|
|
20079
|
+
tipCustomFormat: "请输入自定义格式代码!"
|
|
20060
20080
|
},
|
|
20061
20081
|
info: {
|
|
20062
20082
|
detailUpdate: "新打开",
|
|
@@ -20726,6 +20746,10 @@ var zh = {
|
|
|
20726
20746
|
text: "千分符整数",
|
|
20727
20747
|
value: "leanky_n",
|
|
20728
20748
|
example: "12,345"
|
|
20749
|
+
}, {
|
|
20750
|
+
text: "千分符1位小数",
|
|
20751
|
+
value: "leanky_n1",
|
|
20752
|
+
example: "12,345.6"
|
|
20729
20753
|
}, {
|
|
20730
20754
|
text: "千分符2位小数",
|
|
20731
20755
|
value: "leanky_n2",
|
|
@@ -20735,7 +20759,15 @@ var zh = {
|
|
|
20735
20759
|
value: "leanky_n4",
|
|
20736
20760
|
example: "12,345.6789"
|
|
20737
20761
|
}, {
|
|
20738
|
-
text: "
|
|
20762
|
+
text: "百分比整数",
|
|
20763
|
+
value: "#0%",
|
|
20764
|
+
example: "12%"
|
|
20765
|
+
}, {
|
|
20766
|
+
text: "百分比1位小数",
|
|
20767
|
+
value: "#0.0%",
|
|
20768
|
+
example: "12.2%"
|
|
20769
|
+
}, {
|
|
20770
|
+
text: "百分比2位小数",
|
|
20739
20771
|
value: "#0.00%",
|
|
20740
20772
|
example: "12.21%"
|
|
20741
20773
|
}, {
|
|
@@ -30633,7 +30665,11 @@ var es = {
|
|
|
30633
30665
|
titleCurrency: "Formatos de moneda",
|
|
30634
30666
|
decimalPlaces: "Decimales",
|
|
30635
30667
|
titleDateTime: "Formatos de fecha y hora",
|
|
30636
|
-
titleNumber: "Formatos de números"
|
|
30668
|
+
titleNumber: "Formatos de números",
|
|
30669
|
+
customFormat: "Formato personalizado",
|
|
30670
|
+
customFormatName: "Nombre",
|
|
30671
|
+
customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
|
|
30672
|
+
tipCustomFormat: "Introduce un código de formato personalizado"
|
|
30637
30673
|
},
|
|
30638
30674
|
info: {
|
|
30639
30675
|
detailUpdate: "Nuevo abierto",
|
package/dist/index.js
CHANGED
|
@@ -9506,7 +9506,11 @@ 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!"
|
|
9510
9514
|
},
|
|
9511
9515
|
info: {
|
|
9512
9516
|
detailUpdate: "New opened",
|
|
@@ -10176,6 +10180,10 @@ var en = {
|
|
|
10176
10180
|
text: "thousand",
|
|
10177
10181
|
value: "leanky_n",
|
|
10178
10182
|
example: "12,345"
|
|
10183
|
+
}, {
|
|
10184
|
+
text: "thousand-1",
|
|
10185
|
+
value: "leanky_n1",
|
|
10186
|
+
example: "12,345.6"
|
|
10179
10187
|
}, {
|
|
10180
10188
|
text: "thousand-2",
|
|
10181
10189
|
value: "leanky_n2",
|
|
@@ -10186,6 +10194,14 @@ var en = {
|
|
|
10186
10194
|
example: "12,345.6789"
|
|
10187
10195
|
}, {
|
|
10188
10196
|
text: "Percent",
|
|
10197
|
+
value: "#0%",
|
|
10198
|
+
example: "12%"
|
|
10199
|
+
}, {
|
|
10200
|
+
text: "Percent-1",
|
|
10201
|
+
value: "#0.0%",
|
|
10202
|
+
example: "12.2%"
|
|
10203
|
+
}, {
|
|
10204
|
+
text: "Percent-2",
|
|
10189
10205
|
value: "#0.00%",
|
|
10190
10206
|
example: "12.21%"
|
|
10191
10207
|
}, {
|
|
@@ -20066,7 +20082,11 @@ var zh = {
|
|
|
20066
20082
|
tipDecimalPlaces: "小数位数必须在0-9之间!",
|
|
20067
20083
|
select: "选择",
|
|
20068
20084
|
format: "格式",
|
|
20069
|
-
currency: "货币"
|
|
20085
|
+
currency: "货币",
|
|
20086
|
+
customFormat: "自定义格式",
|
|
20087
|
+
customFormatName: "名称",
|
|
20088
|
+
customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
|
|
20089
|
+
tipCustomFormat: "请输入自定义格式代码!"
|
|
20070
20090
|
},
|
|
20071
20091
|
info: {
|
|
20072
20092
|
detailUpdate: "新打开",
|
|
@@ -20736,6 +20756,10 @@ var zh = {
|
|
|
20736
20756
|
text: "千分符整数",
|
|
20737
20757
|
value: "leanky_n",
|
|
20738
20758
|
example: "12,345"
|
|
20759
|
+
}, {
|
|
20760
|
+
text: "千分符1位小数",
|
|
20761
|
+
value: "leanky_n1",
|
|
20762
|
+
example: "12,345.6"
|
|
20739
20763
|
}, {
|
|
20740
20764
|
text: "千分符2位小数",
|
|
20741
20765
|
value: "leanky_n2",
|
|
@@ -20745,7 +20769,15 @@ var zh = {
|
|
|
20745
20769
|
value: "leanky_n4",
|
|
20746
20770
|
example: "12,345.6789"
|
|
20747
20771
|
}, {
|
|
20748
|
-
text: "
|
|
20772
|
+
text: "百分比整数",
|
|
20773
|
+
value: "#0%",
|
|
20774
|
+
example: "12%"
|
|
20775
|
+
}, {
|
|
20776
|
+
text: "百分比1位小数",
|
|
20777
|
+
value: "#0.0%",
|
|
20778
|
+
example: "12.2%"
|
|
20779
|
+
}, {
|
|
20780
|
+
text: "百分比2位小数",
|
|
20749
20781
|
value: "#0.00%",
|
|
20750
20782
|
example: "12.21%"
|
|
20751
20783
|
}, {
|
|
@@ -30643,7 +30675,11 @@ var es = {
|
|
|
30643
30675
|
titleCurrency: "Formatos de moneda",
|
|
30644
30676
|
decimalPlaces: "Decimales",
|
|
30645
30677
|
titleDateTime: "Formatos de fecha y hora",
|
|
30646
|
-
titleNumber: "Formatos de números"
|
|
30678
|
+
titleNumber: "Formatos de números",
|
|
30679
|
+
customFormat: "Formato personalizado",
|
|
30680
|
+
customFormatName: "Nombre",
|
|
30681
|
+
customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
|
|
30682
|
+
tipCustomFormat: "Introduce un código de formato personalizado"
|
|
30647
30683
|
},
|
|
30648
30684
|
info: {
|
|
30649
30685
|
detailUpdate: "Nuevo abierto",
|
package/dist/locale/en.d.ts
CHANGED
|
@@ -169,6 +169,10 @@ 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;
|
|
172
176
|
};
|
|
173
177
|
info: {
|
|
174
178
|
detailUpdate: string;
|
package/dist/locale/es.d.ts
CHANGED
|
@@ -153,6 +153,10 @@ 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;
|
|
156
160
|
};
|
|
157
161
|
info: {
|
|
158
162
|
detailUpdate: string;
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -169,6 +169,10 @@ 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;
|
|
172
176
|
};
|
|
173
177
|
info: {
|
|
174
178
|
detailUpdate: string;
|
package/dist/locale/zh.d.ts
CHANGED
|
@@ -168,6 +168,10 @@ 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;
|
|
171
175
|
};
|
|
172
176
|
info: {
|
|
173
177
|
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.11",
|
|
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.11",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|