@leankylin-sheet/core 4.0.1 → 4.0.2

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
@@ -51972,7 +51972,7 @@ var Canvas = /*#__PURE__*/function () {
51972
51972
  continue;
51973
51973
  }
51974
51974
  if (((_this$sheetCtx$config = this.sheetCtx.config) === null || _this$sheetCtx$config === void 0 ? void 0 : (_this$sheetCtx$config2 = _this$sheetCtx$config.rowhidden) === null || _this$sheetCtx$config2 === void 0 ? void 0 : _this$sheetCtx$config2[r]) == null) {
51975
- renderCtx.fillStyle = "#ffffff";
51975
+ renderCtx.fillStyle = "#F8F9FA";
51976
51976
  renderCtx.fillRect(0, start_r + offsetTop + firstOffset, this.sheetCtx.rowHeaderWidth - 1, end_r - start_r + 1 + lastOffset - firstOffset);
51977
51977
  renderCtx.fillStyle = "#000000";
51978
51978
  renderCtx.save();
@@ -52065,7 +52065,7 @@ var Canvas = /*#__PURE__*/function () {
52065
52065
  continue;
52066
52066
  }
52067
52067
  if (((_this$sheetCtx$config5 = this.sheetCtx.config) === null || _this$sheetCtx$config5 === void 0 ? void 0 : (_this$sheetCtx$config6 = _this$sheetCtx$config5.colhidden) === null || _this$sheetCtx$config6 === void 0 ? void 0 : _this$sheetCtx$config6[c]) == null) {
52068
- renderCtx.fillStyle = "#ffffff";
52068
+ renderCtx.fillStyle = "#F8F9FA";
52069
52069
  renderCtx.fillRect(start_c + offsetLeft - 1, 0, end_c - start_c, this.sheetCtx.columnHeaderHeight - 1);
52070
52070
  renderCtx.fillStyle = "#000000";
52071
52071
  renderCtx.save();
@@ -53818,10 +53818,6 @@ function createFilter(ctx) {
53818
53818
  if (_.size(ctx.luckysheet_select_save) > 1) {
53819
53819
  return;
53820
53820
  }
53821
- if (_.size(ctx.luckysheet_filter_save) > 0) {
53822
- clearFilter(ctx);
53823
- return;
53824
- }
53825
53821
  var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
53826
53822
  if (sheetIndex == null || ctx.luckysheetfile[sheetIndex].isPivotTable) {
53827
53823
  return;
package/dist/index.js CHANGED
@@ -51982,7 +51982,7 @@ var Canvas = /*#__PURE__*/function () {
51982
51982
  continue;
51983
51983
  }
51984
51984
  if (((_this$sheetCtx$config = this.sheetCtx.config) === null || _this$sheetCtx$config === void 0 ? void 0 : (_this$sheetCtx$config2 = _this$sheetCtx$config.rowhidden) === null || _this$sheetCtx$config2 === void 0 ? void 0 : _this$sheetCtx$config2[r]) == null) {
51985
- renderCtx.fillStyle = "#ffffff";
51985
+ renderCtx.fillStyle = "#F8F9FA";
51986
51986
  renderCtx.fillRect(0, start_r + offsetTop + firstOffset, this.sheetCtx.rowHeaderWidth - 1, end_r - start_r + 1 + lastOffset - firstOffset);
51987
51987
  renderCtx.fillStyle = "#000000";
51988
51988
  renderCtx.save();
@@ -52075,7 +52075,7 @@ var Canvas = /*#__PURE__*/function () {
52075
52075
  continue;
52076
52076
  }
52077
52077
  if (((_this$sheetCtx$config5 = this.sheetCtx.config) === null || _this$sheetCtx$config5 === void 0 ? void 0 : (_this$sheetCtx$config6 = _this$sheetCtx$config5.colhidden) === null || _this$sheetCtx$config6 === void 0 ? void 0 : _this$sheetCtx$config6[c]) == null) {
52078
- renderCtx.fillStyle = "#ffffff";
52078
+ renderCtx.fillStyle = "#F8F9FA";
52079
52079
  renderCtx.fillRect(start_c + offsetLeft - 1, 0, end_c - start_c, this.sheetCtx.columnHeaderHeight - 1);
52080
52080
  renderCtx.fillStyle = "#000000";
52081
52081
  renderCtx.save();
@@ -53828,10 +53828,6 @@ function createFilter(ctx) {
53828
53828
  if (___default['default'].size(ctx.luckysheet_select_save) > 1) {
53829
53829
  return;
53830
53830
  }
53831
- if (___default['default'].size(ctx.luckysheet_filter_save) > 0) {
53832
- clearFilter(ctx);
53833
- return;
53834
- }
53835
53831
  var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
53836
53832
  if (sheetIndex == null || ctx.luckysheetfile[sheetIndex].isPivotTable) {
53837
53833
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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.1",
16
+ "@leankylin-sheet/formula-parser": "4.0.2",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",