@fileverse-dev/fortune-core 1.0.2-mod-61-patch-1 → 1.0.2-mod-63

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
@@ -58521,7 +58521,7 @@ function compute(ctx, ruleArr, d) {
58521
58521
  if (_.isNil(_cell6) || _.isNil(_cell6.v) || isRealNull(_cell6.v)) {
58522
58522
  continue;
58523
58523
  }
58524
- if (conditionName === "greaterThan" && _cell6.v > conditionValue0) {
58524
+ if (conditionName === "greaterThan" && Number(_cell6.v) > Number(conditionValue0)) {
58525
58525
  if ("".concat(_r0, "_").concat(_c0) in computeMap) {
58526
58526
  computeMap["".concat(_r0, "_").concat(_c0)].textColor = textColor;
58527
58527
  computeMap["".concat(_r0, "_").concat(_c0)].cellColor = cellColor;
@@ -58531,7 +58531,7 @@ function compute(ctx, ruleArr, d) {
58531
58531
  cellColor: cellColor
58532
58532
  };
58533
58533
  }
58534
- } else if (conditionName === "lessThan" && _cell6.v < conditionValue0) {
58534
+ } else if (conditionName === "lessThan" && Number(_cell6.v) < Number(conditionValue0)) {
58535
58535
  if ("".concat(_r0, "_").concat(_c0) in computeMap) {
58536
58536
  computeMap["".concat(_r0, "_").concat(_c0)].textColor = textColor;
58537
58537
  computeMap["".concat(_r0, "_").concat(_c0)].cellColor = cellColor;
@@ -58541,7 +58541,7 @@ function compute(ctx, ruleArr, d) {
58541
58541
  cellColor: cellColor
58542
58542
  };
58543
58543
  }
58544
- } else if (conditionName === "equal" && _cell6.v.toString() === conditionValue0) {
58544
+ } else if (conditionName === "equal" && Number(_cell6.v) === Number(conditionValue0)) {
58545
58545
  if ("".concat(_r0, "_").concat(_c0) in computeMap) {
58546
58546
  computeMap["".concat(_r0, "_").concat(_c0)].textColor = textColor;
58547
58547
  computeMap["".concat(_r0, "_").concat(_c0)].cellColor = cellColor;
@@ -58583,7 +58583,7 @@ function compute(ctx, ruleArr, d) {
58583
58583
  if (_.isNil(_cell7) || _.isNil(_cell7.v) || isRealNull(_cell7.v)) {
58584
58584
  continue;
58585
58585
  }
58586
- if (_cell7.v >= vSmall && _cell7.v <= vBig) {
58586
+ if (Number(_cell7.v) >= Number(vSmall) && Number(_cell7.v) <= Number(vBig)) {
58587
58587
  if ("".concat(_r1, "_").concat(_c1) in computeMap) {
58588
58588
  computeMap["".concat(_r1, "_").concat(_c1)].textColor = textColor;
58589
58589
  computeMap["".concat(_r1, "_").concat(_c1)].cellColor = cellColor;
@@ -76663,7 +76663,7 @@ var defaultSettings = {
76663
76663
  },
76664
76664
  hooks: {},
76665
76665
  customToolbarItems: [],
76666
- currency: "¥",
76666
+ currency: "$",
76667
76667
  getCommentCellUI: null
76668
76668
  };
76669
76669
 
package/dist/index.js CHANGED
@@ -58531,7 +58531,7 @@ function compute(ctx, ruleArr, d) {
58531
58531
  if (___default['default'].isNil(_cell6) || ___default['default'].isNil(_cell6.v) || isRealNull(_cell6.v)) {
58532
58532
  continue;
58533
58533
  }
58534
- if (conditionName === "greaterThan" && _cell6.v > conditionValue0) {
58534
+ if (conditionName === "greaterThan" && Number(_cell6.v) > Number(conditionValue0)) {
58535
58535
  if ("".concat(_r0, "_").concat(_c0) in computeMap) {
58536
58536
  computeMap["".concat(_r0, "_").concat(_c0)].textColor = textColor;
58537
58537
  computeMap["".concat(_r0, "_").concat(_c0)].cellColor = cellColor;
@@ -58541,7 +58541,7 @@ function compute(ctx, ruleArr, d) {
58541
58541
  cellColor: cellColor
58542
58542
  };
58543
58543
  }
58544
- } else if (conditionName === "lessThan" && _cell6.v < conditionValue0) {
58544
+ } else if (conditionName === "lessThan" && Number(_cell6.v) < Number(conditionValue0)) {
58545
58545
  if ("".concat(_r0, "_").concat(_c0) in computeMap) {
58546
58546
  computeMap["".concat(_r0, "_").concat(_c0)].textColor = textColor;
58547
58547
  computeMap["".concat(_r0, "_").concat(_c0)].cellColor = cellColor;
@@ -58551,7 +58551,7 @@ function compute(ctx, ruleArr, d) {
58551
58551
  cellColor: cellColor
58552
58552
  };
58553
58553
  }
58554
- } else if (conditionName === "equal" && _cell6.v.toString() === conditionValue0) {
58554
+ } else if (conditionName === "equal" && Number(_cell6.v) === Number(conditionValue0)) {
58555
58555
  if ("".concat(_r0, "_").concat(_c0) in computeMap) {
58556
58556
  computeMap["".concat(_r0, "_").concat(_c0)].textColor = textColor;
58557
58557
  computeMap["".concat(_r0, "_").concat(_c0)].cellColor = cellColor;
@@ -58593,7 +58593,7 @@ function compute(ctx, ruleArr, d) {
58593
58593
  if (___default['default'].isNil(_cell7) || ___default['default'].isNil(_cell7.v) || isRealNull(_cell7.v)) {
58594
58594
  continue;
58595
58595
  }
58596
- if (_cell7.v >= vSmall && _cell7.v <= vBig) {
58596
+ if (Number(_cell7.v) >= Number(vSmall) && Number(_cell7.v) <= Number(vBig)) {
58597
58597
  if ("".concat(_r1, "_").concat(_c1) in computeMap) {
58598
58598
  computeMap["".concat(_r1, "_").concat(_c1)].textColor = textColor;
58599
58599
  computeMap["".concat(_r1, "_").concat(_c1)].cellColor = cellColor;
@@ -76673,7 +76673,7 @@ var defaultSettings = {
76673
76673
  },
76674
76674
  hooks: {},
76675
76675
  customToolbarItems: [],
76676
- currency: "¥",
76676
+ currency: "$",
76677
76677
  getCommentCellUI: null
76678
76678
  };
76679
76679
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.2-mod-61-patch-1",
3
+ "version": "1.0.2-mod-63",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",