@leankylin-sheet/core 7.0.11 → 7.0.13

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