@leankylin-sheet/core 7.0.11 → 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 CHANGED
@@ -9500,7 +9500,8 @@ var en = {
9500
9500
  customFormat: "Custom format",
9501
9501
  customFormatName: "Name",
9502
9502
  customFormatExample: "e.g. #0.00, 0.00%, yyyy-MM-dd",
9503
- tipCustomFormat: "Please enter a custom format code!"
9503
+ tipCustomFormat: "Please enter a custom format code!",
9504
+ tipUnsupportedFormat: "The format you entered is not supported, please check the format code!"
9504
9505
  },
9505
9506
  info: {
9506
9507
  detailUpdate: "New opened",
@@ -10168,19 +10169,19 @@ var en = {
10168
10169
  example: "1000.12"
10169
10170
  }, {
10170
10171
  text: "thousand",
10171
- value: "leanky_n",
10172
+ value: "#,##0",
10172
10173
  example: "12,345"
10173
10174
  }, {
10174
10175
  text: "thousand-1",
10175
- value: "leanky_n1",
10176
+ value: "#,##0.0",
10176
10177
  example: "12,345.6"
10177
10178
  }, {
10178
10179
  text: "thousand-2",
10179
- value: "leanky_n2",
10180
+ value: "#,##0.00",
10180
10181
  example: "12,345.67"
10181
10182
  }, {
10182
10183
  text: "thousand-4",
10183
- value: "leanky_n4",
10184
+ value: "#,##0.0000",
10184
10185
  example: "12,345.6789"
10185
10186
  }, {
10186
10187
  text: "Percent",
@@ -20076,7 +20077,8 @@ var zh = {
20076
20077
  customFormat: "自定义格式",
20077
20078
  customFormatName: "名称",
20078
20079
  customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
20079
- tipCustomFormat: "请输入自定义格式代码!"
20080
+ tipCustomFormat: "请输入自定义格式代码!",
20081
+ tipUnsupportedFormat: "输入的格式暂不支持,请检查格式代码!"
20080
20082
  },
20081
20083
  info: {
20082
20084
  detailUpdate: "新打开",
@@ -20744,19 +20746,19 @@ var zh = {
20744
20746
  example: "1000.12"
20745
20747
  }, {
20746
20748
  text: "千分符整数",
20747
- value: "leanky_n",
20749
+ value: "#,##0",
20748
20750
  example: "12,345"
20749
20751
  }, {
20750
20752
  text: "千分符1位小数",
20751
- value: "leanky_n1",
20753
+ value: "#,##0.0",
20752
20754
  example: "12,345.6"
20753
20755
  }, {
20754
20756
  text: "千分符2位小数",
20755
- value: "leanky_n2",
20757
+ value: "#,##0.00",
20756
20758
  example: "12,345.67"
20757
20759
  }, {
20758
20760
  text: "千分符4位小数",
20759
- value: "leanky_n4",
20761
+ value: "#,##0.0000",
20760
20762
  example: "12,345.6789"
20761
20763
  }, {
20762
20764
  text: "百分比整数",
@@ -30669,7 +30671,8 @@ var es = {
30669
30671
  customFormat: "Formato personalizado",
30670
30672
  customFormatName: "Nombre",
30671
30673
  customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
30672
- tipCustomFormat: "Introduce un código de formato personalizado"
30674
+ tipCustomFormat: "Introduce un código de formato personalizado",
30675
+ tipUnsupportedFormat: "El formato introducido no es compatible, revisa el código de formato"
30673
30676
  },
30674
30677
  info: {
30675
30678
  detailUpdate: "Nuevo abierto",
package/dist/index.js CHANGED
@@ -9510,7 +9510,8 @@ var en = {
9510
9510
  customFormat: "Custom format",
9511
9511
  customFormatName: "Name",
9512
9512
  customFormatExample: "e.g. #0.00, 0.00%, yyyy-MM-dd",
9513
- tipCustomFormat: "Please enter a custom format code!"
9513
+ tipCustomFormat: "Please enter a custom format code!",
9514
+ tipUnsupportedFormat: "The format you entered is not supported, please check the format code!"
9514
9515
  },
9515
9516
  info: {
9516
9517
  detailUpdate: "New opened",
@@ -10178,19 +10179,19 @@ var en = {
10178
10179
  example: "1000.12"
10179
10180
  }, {
10180
10181
  text: "thousand",
10181
- value: "leanky_n",
10182
+ value: "#,##0",
10182
10183
  example: "12,345"
10183
10184
  }, {
10184
10185
  text: "thousand-1",
10185
- value: "leanky_n1",
10186
+ value: "#,##0.0",
10186
10187
  example: "12,345.6"
10187
10188
  }, {
10188
10189
  text: "thousand-2",
10189
- value: "leanky_n2",
10190
+ value: "#,##0.00",
10190
10191
  example: "12,345.67"
10191
10192
  }, {
10192
10193
  text: "thousand-4",
10193
- value: "leanky_n4",
10194
+ value: "#,##0.0000",
10194
10195
  example: "12,345.6789"
10195
10196
  }, {
10196
10197
  text: "Percent",
@@ -20086,7 +20087,8 @@ var zh = {
20086
20087
  customFormat: "自定义格式",
20087
20088
  customFormatName: "名称",
20088
20089
  customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
20089
- tipCustomFormat: "请输入自定义格式代码!"
20090
+ tipCustomFormat: "请输入自定义格式代码!",
20091
+ tipUnsupportedFormat: "输入的格式暂不支持,请检查格式代码!"
20090
20092
  },
20091
20093
  info: {
20092
20094
  detailUpdate: "新打开",
@@ -20754,19 +20756,19 @@ var zh = {
20754
20756
  example: "1000.12"
20755
20757
  }, {
20756
20758
  text: "千分符整数",
20757
- value: "leanky_n",
20759
+ value: "#,##0",
20758
20760
  example: "12,345"
20759
20761
  }, {
20760
20762
  text: "千分符1位小数",
20761
- value: "leanky_n1",
20763
+ value: "#,##0.0",
20762
20764
  example: "12,345.6"
20763
20765
  }, {
20764
20766
  text: "千分符2位小数",
20765
- value: "leanky_n2",
20767
+ value: "#,##0.00",
20766
20768
  example: "12,345.67"
20767
20769
  }, {
20768
20770
  text: "千分符4位小数",
20769
- value: "leanky_n4",
20771
+ value: "#,##0.0000",
20770
20772
  example: "12,345.6789"
20771
20773
  }, {
20772
20774
  text: "百分比整数",
@@ -30679,7 +30681,8 @@ var es = {
30679
30681
  customFormat: "Formato personalizado",
30680
30682
  customFormatName: "Nombre",
30681
30683
  customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
30682
- tipCustomFormat: "Introduce un código de formato personalizado"
30684
+ tipCustomFormat: "Introduce un código de formato personalizado",
30685
+ tipUnsupportedFormat: "El formato introducido no es compatible, revisa el código de formato"
30683
30686
  },
30684
30687
  info: {
30685
30688
  detailUpdate: "Nuevo abierto",
@@ -173,6 +173,7 @@ declare const _default: {
173
173
  customFormatName: string;
174
174
  customFormatExample: string;
175
175
  tipCustomFormat: string;
176
+ tipUnsupportedFormat: string;
176
177
  };
177
178
  info: {
178
179
  detailUpdate: string;
@@ -157,6 +157,7 @@ declare const _default: {
157
157
  customFormatName: string;
158
158
  customFormatExample: string;
159
159
  tipCustomFormat: string;
160
+ tipUnsupportedFormat: string;
160
161
  };
161
162
  info: {
162
163
  detailUpdate: string;
@@ -173,6 +173,7 @@ declare function locale(ctx: Context): {
173
173
  customFormatName: string;
174
174
  customFormatExample: string;
175
175
  tipCustomFormat: string;
176
+ tipUnsupportedFormat: string;
176
177
  };
177
178
  info: {
178
179
  detailUpdate: string;
@@ -172,6 +172,7 @@ declare const _default: {
172
172
  customFormatName: string;
173
173
  customFormatExample: string;
174
174
  tipCustomFormat: string;
175
+ tipUnsupportedFormat: string;
175
176
  };
176
177
  info: {
177
178
  detailUpdate: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "7.0.11",
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.11",
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",