@fileverse-dev/dsheet 1.2.76-cf-2 → 1.2.76-cf-3

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 +13 -10
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -174565,16 +174565,19 @@ var Tte = function(t) {
174565
174565
  cellColor: "#DDFBDF"
174566
174566
  }), z = W[0], J = W[1], ne = Qt(!1), le = ne[0], G = ne[1], K = Qt(!1), U = K[0], V = K[1], se = Qt(!1), ve = se[0], ke = se[1], de = Qt(!1), fe = de[0], he = de[1];
174567
174567
  br(function() {
174568
- var Y, re, oe = Xt(i, i == null ? void 0 : i.currentSheetId) || 0, ye = i.luckysheetfile[oe].luckysheet_conditionformat_save;
174569
- N(ye);
174570
- var Te = (Y = i.luckysheet_select_save) === null || Y === void 0 ? void 0 : Y[0].column, je = (re = i.luckysheet_select_save) === null || re === void 0 ? void 0 : re[0].row, Ve = [];
174571
- ye && (Object.keys(ye).forEach(function(Xe) {
174572
- var He, Be = ye[Xe], qe = (He = Be.cellrange) === null || He === void 0 ? void 0 : He[0];
174573
- if (!(!qe || !Te || !je)) {
174574
- var at = qe.column, yt = qe.row, Je = !(Te[1] < at[0] || Te[0] > at[1]), Ke = !(je[1] < yt[0] || je[0] > yt[1]);
174575
- Je && Ke && Ve.push(Xe);
174576
- }
174577
- }), R(Ve)), !o.current && (Ve.length >= 0 && s(!1), b.current && Ve.length <= 0 && (s(!0), b.current = !1));
174568
+ var Y, re;
174569
+ if (!f) {
174570
+ var oe = Xt(i, i == null ? void 0 : i.currentSheetId) || 0, ye = i.luckysheetfile[oe].luckysheet_conditionformat_save;
174571
+ N(ye);
174572
+ var Te = (Y = i.luckysheet_select_save) === null || Y === void 0 ? void 0 : Y[0].column, je = (re = i.luckysheet_select_save) === null || re === void 0 ? void 0 : re[0].row, Ve = [];
174573
+ ye && (Object.keys(ye).forEach(function(Xe) {
174574
+ var He, Be = ye[Xe], qe = (He = Be.cellrange) === null || He === void 0 ? void 0 : He[0];
174575
+ if (!(!qe || !Te || !je)) {
174576
+ var at = qe.column, yt = qe.row, Je = !(Te[1] < at[0] || Te[0] > at[1]), Ke = !(je[1] < yt[0] || je[0] > yt[1]);
174577
+ Je && Ke && Ve.push(Xe);
174578
+ }
174579
+ }), R(Ve)), !o.current && (Ve.length >= 0 && s(!1), b.current && Ve.length <= 0 && (s(!0), b.current = !1));
174580
+ }
174578
174581
  }, [i]);
174579
174582
  var pe = function() {
174580
174583
  P(function(re) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "1.2.76-cf-2",
5
+ "version": "1.2.76-cf-3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@fileverse-dev/dsheets-templates": "^0.0.29",
37
37
  "@fileverse-dev/formulajs": "^4.4.41",
38
- "@fileverse-dev/fortune-react": "1.2.78-cf-2",
38
+ "@fileverse-dev/fortune-react": "1.2.78-cf-3",
39
39
  "@fileverse/ui": "^4.1.7-patch-40",
40
40
  "classnames": "^2.5.1",
41
41
  "exceljs": "^4.4.0",