@fileverse-dev/dsheet 0.0.73 → 0.0.74

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.
Files changed (2) hide show
  1. package/dist/index.es.js +5 -5
  2. package/package.json +3 -3
package/dist/index.es.js CHANGED
@@ -80308,13 +80308,13 @@ function Ele(e, r, t) {
80308
80308
  for (var he = l[le].column[0]; he <= l[le].column[1]; he += 1)
80309
80309
  if (!(te.isNil(t[ge]) || te.isNil(t[ge][he]))) {
80310
80310
  var z = t[ge][he];
80311
- te.isNil(z) || te.isNil(z.v) || Ci(z.v) || (oe === "greaterThan" && z.v > ce ? "".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
80311
+ te.isNil(z) || te.isNil(z.v) || Ci(z.v) || (oe === "greaterThan" && Number(z.v) > Number(ce) ? "".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
80312
80312
  textColor: re,
80313
80313
  cellColor: fe
80314
- } : oe === "lessThan" && z.v < ce ? "".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
80314
+ } : oe === "lessThan" && Number(z.v) < Number(ce) ? "".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
80315
80315
  textColor: re,
80316
80316
  cellColor: fe
80317
- } : oe === "equal" && z.v.toString() === ce ? "".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
80317
+ } : oe === "equal" && Number(z.v) === Number(ce) ? "".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
80318
80318
  textColor: re,
80319
80319
  cellColor: fe
80320
80320
  } : oe === "textContains" && z.v.toString().indexOf(ce) !== -1 && ("".concat(ge, "_").concat(he) in a ? (a["".concat(ge, "_").concat(he)].textColor = re, a["".concat(ge, "_").concat(he)].cellColor = fe) : a["".concat(ge, "_").concat(he)] = {
@@ -80329,7 +80329,7 @@ function Ele(e, r, t) {
80329
80329
  for (var ve = l[le].column[0]; ve <= l[le].column[1]; ve += 1)
80330
80330
  if (!(te.isNil(t[de]) || te.isNil(t[de][ve]))) {
80331
80331
  var Ae = t[de][ve];
80332
- te.isNil(Ae) || te.isNil(Ae.v) || Ci(Ae.v) || Ae.v >= ee && Ae.v <= Z && ("".concat(de, "_").concat(ve) in a ? (a["".concat(de, "_").concat(ve)].textColor = re, a["".concat(de, "_").concat(ve)].cellColor = fe) : a["".concat(de, "_").concat(ve)] = {
80332
+ te.isNil(Ae) || te.isNil(Ae.v) || Ci(Ae.v) || Number(Ae.v) >= Number(ee) && Number(Ae.v) <= Number(Z) && ("".concat(de, "_").concat(ve) in a ? (a["".concat(de, "_").concat(ve)].textColor = re, a["".concat(de, "_").concat(ve)].cellColor = fe) : a["".concat(de, "_").concat(ve)] = {
80333
80333
  textColor: re,
80334
80334
  cellColor: fe
80335
80335
  });
@@ -160396,7 +160396,7 @@ var Xg = function(r) {
160396
160396
  cellColor: "#D82E2A"
160397
160397
  }), p = Kt(h, 2), m = p[0], v = p[1], g = Lt(function(F) {
160398
160398
  s(), o(function(w) {
160399
- w.conditionRules.textColor.color = m.textColor, w.conditionRules.cellColor.color = m.cellColor, w.rangeDialog.show = !0, w.rangeDialog.type = F, w.rangeDialog.rangeTxt = w.conditionRules.rulesValue, w.rangeDialog.singleSelect = !0;
160399
+ w.conditionRules.textColor.color = m.textColor, w.conditionRules.cellColor.color = m.cellColor, w.rangeDialog.show = !0, w.rangeDialog.type = F, w.rangeDialog.rangeTxt = w.conditionRules.rulesValue, w.rangeDialog.singleSelect = !1;
160400
160400
  });
160401
160401
  }, [m.cellColor, m.textColor, s, o]), y = Lt(function(F) {
160402
160402
  F === "confirm" && o(function(w) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "0.0.73",
5
+ "version": "0.0.74",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@fileverse-dev/dsheets-templates": "^0.0.7",
40
40
  "@fileverse-dev/formulajs": "^4.4.11-mod-20",
41
- "@fileverse-dev/fortune-core": "^1.0.2-mod-61",
42
- "@fileverse-dev/fortune-react": "^1.0.2-mod-61",
41
+ "@fileverse-dev/fortune-core": "^1.0.2-mod-62",
42
+ "@fileverse-dev/fortune-react": "^1.0.2-mod-62",
43
43
  "@fileverse/ui": "^4.1.7-patch-14",
44
44
  "classnames": "^2.5.1",
45
45
  "exceljs": "^4.4.0",