@leankylin-sheet/core 4.0.7 → 4.0.8

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.
@@ -19,5 +19,5 @@ export declare function getCellsByRange(ctx: Context, range: Selection, options?
19
19
  export declare function getHtmlByRange(ctx: Context, range: Range, options?: CommonOptions): string | null;
20
20
  export declare function setSelection(ctx: Context, range: Range, options: CommonOptions): void;
21
21
  export declare function setCellValuesByRange(ctx: Context, data: any[][], range: SingleRange, cellInput: HTMLDivElement | null, options?: CommonOptions): void;
22
- export declare function setCellValues(ctx: Context, data: any[], cellInput: HTMLDivElement | null, options?: CommonOptions): void;
22
+ export declare function setCellValues(ctx: Context, data: any[], cellInput: HTMLDivElement | null): void;
23
23
  export declare function setCellFormatByRange(ctx: Context, attr: keyof Cell, value: any, range: Range | SingleRange, options?: CommonOptions): void;
package/dist/index.esm.js CHANGED
@@ -55892,7 +55892,6 @@ function setCellValuesByRange(ctx, data, range, cellInput) {
55892
55892
  }
55893
55893
  }
55894
55894
  function setCellValues(ctx, data, cellInput) {
55895
- var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
55896
55895
  if (data == null) {
55897
55896
  throw INVALID_PARAMS;
55898
55897
  }
@@ -55900,8 +55899,9 @@ function setCellValues(ctx, data, cellInput) {
55900
55899
  var _data$j = data[j],
55901
55900
  r = _data$j.r,
55902
55901
  c = _data$j.c,
55903
- v = _data$j.v;
55904
- setCellValue$1(ctx, r, c, v, cellInput, options);
55902
+ v = _data$j.v,
55903
+ ops = _data$j.ops;
55904
+ setCellValue$1(ctx, r, c, v, cellInput, ops);
55905
55905
  }
55906
55906
  }
55907
55907
  function setCellFormatByRange(ctx, attr, value, range) {
package/dist/index.js CHANGED
@@ -55902,7 +55902,6 @@ function setCellValuesByRange(ctx, data, range, cellInput) {
55902
55902
  }
55903
55903
  }
55904
55904
  function setCellValues(ctx, data, cellInput) {
55905
- var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
55906
55905
  if (data == null) {
55907
55906
  throw INVALID_PARAMS;
55908
55907
  }
@@ -55910,8 +55909,9 @@ function setCellValues(ctx, data, cellInput) {
55910
55909
  var _data$j = data[j],
55911
55910
  r = _data$j.r,
55912
55911
  c = _data$j.c,
55913
- v = _data$j.v;
55914
- setCellValue$1(ctx, r, c, v, cellInput, options);
55912
+ v = _data$j.v,
55913
+ ops = _data$j.ops;
55914
+ setCellValue$1(ctx, r, c, v, cellInput, ops);
55915
55915
  }
55916
55916
  }
55917
55917
  function setCellFormatByRange(ctx, attr, value, range) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
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": "4.0.7",
16
+ "@leankylin-sheet/formula-parser": "4.0.8",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",