@leankylin-sheet/core 7.0.12 → 7.0.14

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,6 +9499,7 @@ 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
9504
  tipCustomFormat: "Please enter a custom format code!",
9504
9505
  tipUnsupportedFormat: "The format you entered is not supported, please check the format code!"
@@ -20076,6 +20077,7 @@ var zh = {
20076
20077
  currency: "货币",
20077
20078
  customFormat: "自定义格式",
20078
20079
  customFormatName: "名称",
20080
+ customFormatPreview: "示例",
20079
20081
  customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
20080
20082
  tipCustomFormat: "请输入自定义格式代码!",
20081
20083
  tipUnsupportedFormat: "输入的格式暂不支持,请检查格式代码!"
@@ -30670,6 +30672,7 @@ var es = {
30670
30672
  titleNumber: "Formatos de números",
30671
30673
  customFormat: "Formato personalizado",
30672
30674
  customFormatName: "Nombre",
30675
+ customFormatPreview: "Ejemplo",
30673
30676
  customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
30674
30677
  tipCustomFormat: "Introduce un código de formato personalizado",
30675
30678
  tipUnsupportedFormat: "El formato introducido no es compatible, revisa el código de formato"
package/dist/index.js CHANGED
@@ -9509,6 +9509,7 @@ 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
9514
  tipCustomFormat: "Please enter a custom format code!",
9514
9515
  tipUnsupportedFormat: "The format you entered is not supported, please check the format code!"
@@ -20086,6 +20087,7 @@ var zh = {
20086
20087
  currency: "货币",
20087
20088
  customFormat: "自定义格式",
20088
20089
  customFormatName: "名称",
20090
+ customFormatPreview: "示例",
20089
20091
  customFormatExample: "例如:#0.00、0.00%、yyyy-MM-dd",
20090
20092
  tipCustomFormat: "请输入自定义格式代码!",
20091
20093
  tipUnsupportedFormat: "输入的格式暂不支持,请检查格式代码!"
@@ -30680,6 +30682,7 @@ var es = {
30680
30682
  titleNumber: "Formatos de números",
30681
30683
  customFormat: "Formato personalizado",
30682
30684
  customFormatName: "Nombre",
30685
+ customFormatPreview: "Ejemplo",
30683
30686
  customFormatExample: "ej. #0.00, 0.00%, yyyy-MM-dd",
30684
30687
  tipCustomFormat: "Introduce un código de formato personalizado",
30685
30688
  tipUnsupportedFormat: "El formato introducido no es compatible, revisa el código de formato"
@@ -171,6 +171,7 @@ 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;
176
177
  tipUnsupportedFormat: string;
@@ -155,6 +155,7 @@ 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;
160
161
  tipUnsupportedFormat: string;
@@ -171,6 +171,7 @@ 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;
176
177
  tipUnsupportedFormat: string;
@@ -170,6 +170,7 @@ 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;
175
176
  tipUnsupportedFormat: string;
@@ -70,7 +70,7 @@ export type Hooks = {
70
70
  onCopySheetBefore?: (oldSheetId: any, sheetData: any) => any;
71
71
  onCopySheetCheck?: (oldSheetId: string, sheet: Sheet) => boolean | Promise<boolean>;
72
72
  onCopyCheck?: (selection: Selection[]) => boolean;
73
- commentsPreRender?: (r: number, c: number) => any;
73
+ commentsPreRender?: (r: number, c: number, sheetId: string) => any;
74
74
  showCommentsMenu?: (item: {
75
75
  text: string;
76
76
  show: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "7.0.12",
3
+ "version": "7.0.14",
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.12",
16
+ "@leankylin-sheet/formula-parser": "7.0.14",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",