@fileverse-dev/fortune-core 1.2.80 → 1.2.81-yield

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.
@@ -270,7 +270,6 @@ export function setConditionRules(ctx, protection, generalDialog, conditionforma
270
270
  };
271
271
  var index = getSheetIndex(ctx, ctx.currentSheetId);
272
272
  var ruleArr = (_b = ctx.luckysheetfile[index].luckysheet_conditionformat_save) !== null && _b !== void 0 ? _b : [];
273
- console.log(rule, ruleArr, editKey, edit);
274
273
  if (edit) {
275
274
  ruleArr.splice(Number(editKey), 1, rule);
276
275
  } else {
@@ -1014,7 +1013,6 @@ export function getComputeMap(ctx) {
1014
1013
  var data = ctx.luckysheetfile[index].data;
1015
1014
  if (_.isNil(data)) return null;
1016
1015
  var editKey = (_c = ctx.luckysheetfile[index].conditionRules) === null || _c === void 0 ? void 0 : _c.editKey;
1017
- console.log("before", editKey, ruleArr);
1018
1016
  if (ctx.luckysheet_select_save && ((_d = ctx.luckysheetfile[index].conditionRules) === null || _d === void 0 ? void 0 : _d.rulesValue) !== "") {
1019
1017
  if (editKey !== null && editKey !== undefined) {
1020
1018
  ruleArr.splice(Number(editKey), 1);
@@ -1035,7 +1033,6 @@ export function getComputeMap(ctx) {
1035
1033
  conditionValue: [(_m = ctx.luckysheetfile[index].conditionRules) === null || _m === void 0 ? void 0 : _m.rulesValue]
1036
1034
  });
1037
1035
  }
1038
- console.log("after", editKey, ruleArr);
1039
1036
  var computeMap = compute(ctx, ruleArr, data);
1040
1037
  return computeMap;
1041
1038
  }
@@ -285,7 +285,6 @@ function setConditionRules(ctx, protection, generalDialog, conditionformat, rule
285
285
  };
286
286
  var index = (0, _utils.getSheetIndex)(ctx, ctx.currentSheetId);
287
287
  var ruleArr = (_b = ctx.luckysheetfile[index].luckysheet_conditionformat_save) !== null && _b !== void 0 ? _b : [];
288
- console.log(rule, ruleArr, editKey, edit);
289
288
  if (edit) {
290
289
  ruleArr.splice(Number(editKey), 1, rule);
291
290
  } else {
@@ -1029,7 +1028,6 @@ function getComputeMap(ctx) {
1029
1028
  var data = ctx.luckysheetfile[index].data;
1030
1029
  if (_lodash.default.isNil(data)) return null;
1031
1030
  var editKey = (_c = ctx.luckysheetfile[index].conditionRules) === null || _c === void 0 ? void 0 : _c.editKey;
1032
- console.log("before", editKey, ruleArr);
1033
1031
  if (ctx.luckysheet_select_save && ((_d = ctx.luckysheetfile[index].conditionRules) === null || _d === void 0 ? void 0 : _d.rulesValue) !== "") {
1034
1032
  if (editKey !== null && editKey !== undefined) {
1035
1033
  ruleArr.splice(Number(editKey), 1);
@@ -1050,7 +1048,6 @@ function getComputeMap(ctx) {
1050
1048
  conditionValue: [(_m = ctx.luckysheetfile[index].conditionRules) === null || _m === void 0 ? void 0 : _m.rulesValue]
1051
1049
  });
1052
1050
  }
1053
- console.log("after", editKey, ruleArr);
1054
1051
  var computeMap = compute(ctx, ruleArr, data);
1055
1052
  return computeMap;
1056
1053
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.80",
3
+ "version": "1.2.81-yield",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "dev": "father-build --watch"
16
16
  },
17
17
  "dependencies": {
18
- "@fileverse-dev/formula-parser": "0.2.89",
18
+ "@fileverse-dev/formula-parser": "0.2.89-yield",
19
19
  "dayjs": "^1.11.0",
20
20
  "immer": "^9.0.12",
21
21
  "lodash": "^4.17.21",