@fileverse-dev/fortune-core 1.1.99 → 1.2.0-patch-1

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/es/api/rowcol.js CHANGED
@@ -112,7 +112,6 @@ export function setRowHeight(ctx, rowInfo, options, custom) {
112
112
  throw INVALID_PARAMS;
113
113
  }
114
114
  var sheet = getSheet(ctx, options);
115
- console.log("sheet=======", sheet);
116
115
  var cfg = sheet.config || {};
117
116
  if (cfg.rowlen == null) {
118
117
  cfg.rowlen = {};
package/es/canvas.js CHANGED
@@ -11,7 +11,7 @@ import { cellFadeAnimator } from "./animate";
11
11
  export var defaultStyle = {
12
12
  fillStyle: "#000000",
13
13
  textBaseline: "middle",
14
- strokeStyle: "#dfdfdf",
14
+ strokeStyle: "#e8ebec",
15
15
  rowFillStyle: "#5e5e5e",
16
16
  textAlign: "center"
17
17
  };
@@ -895,7 +895,7 @@ var Canvas = function () {
895
895
  return v.trim();
896
896
  });
897
897
  var rgbArray_1 = [];
898
- for (var i = 0; i < colorValues.length; i += 3) {
898
+ for (var i = 0; i < (colorValues === null || colorValues === void 0 ? void 0 : colorValues.length); i += 3) {
899
899
  rgbArray_1.push(colorValues.slice(i, i + 3).join(", "));
900
900
  }
901
901
  var optionValue_1 = (_e = String(option)) === null || _e === void 0 ? void 0 : _e.split(",");
@@ -340,6 +340,9 @@ export function setCellValue(ctx, r, c, d, v) {
340
340
  }
341
341
  }
342
342
  d[r][c] = cell;
343
+ if (ctx.luckysheet_selection_range) {
344
+ ctx.luckysheet_selection_range = [];
345
+ }
343
346
  }
344
347
  export function getRealCellValue(r, c, data, attr) {
345
348
  var value = getCellValue(r, c, data, "m");
package/lib/api/rowcol.js CHANGED
@@ -127,7 +127,6 @@ function setRowHeight(ctx, rowInfo, options, custom) {
127
127
  throw _errors.INVALID_PARAMS;
128
128
  }
129
129
  var sheet = (0, _common.getSheet)(ctx, options);
130
- console.log("sheet=======", sheet);
131
130
  var cfg = sheet.config || {};
132
131
  if (cfg.rowlen == null) {
133
132
  cfg.rowlen = {};
package/lib/canvas.js CHANGED
@@ -18,7 +18,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
18
18
  var defaultStyle = exports.defaultStyle = {
19
19
  fillStyle: "#000000",
20
20
  textBaseline: "middle",
21
- strokeStyle: "#dfdfdf",
21
+ strokeStyle: "#e8ebec",
22
22
  rowFillStyle: "#5e5e5e",
23
23
  textAlign: "center"
24
24
  };
@@ -902,7 +902,7 @@ var Canvas = exports.Canvas = function () {
902
902
  return v.trim();
903
903
  });
904
904
  var rgbArray_1 = [];
905
- for (var i = 0; i < colorValues.length; i += 3) {
905
+ for (var i = 0; i < (colorValues === null || colorValues === void 0 ? void 0 : colorValues.length); i += 3) {
906
906
  rgbArray_1.push(colorValues.slice(i, i + 3).join(", "));
907
907
  }
908
908
  var optionValue_1 = (_e = String(option)) === null || _e === void 0 ? void 0 : _e.split(",");
@@ -373,6 +373,9 @@ function setCellValue(ctx, r, c, d, v) {
373
373
  }
374
374
  }
375
375
  d[r][c] = cell;
376
+ if (ctx.luckysheet_selection_range) {
377
+ ctx.luckysheet_selection_range = [];
378
+ }
376
379
  }
377
380
  function getRealCellValue(r, c, data, attr) {
378
381
  var value = getCellValue(r, c, data, "m");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.1.99",
3
+ "version": "1.2.0-patch-1",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",