@fileverse-dev/dsheet 1.2.75-patch-1 → 1.2.75-patch-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.es.js +15 -15
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -89730,26 +89730,26 @@ function FV(e, t, r) {
|
|
|
89730
89730
|
return i;
|
|
89731
89731
|
}
|
|
89732
89732
|
function jg(e) {
|
|
89733
|
-
var t, r, i, n, a, l, c, f, s, o, u, v = Xt(e, e.currentSheetId),
|
|
89734
|
-
if (ce.isNil(
|
|
89735
|
-
var
|
|
89736
|
-
console.log("before",
|
|
89733
|
+
var t, r, i, n, a, l, c, f, s, o, u, v, m = Xt(e, e.currentSheetId), h = !((t = e.luckysheetfile[m]) === null || t === void 0) && t.luckysheet_conditionformat_save ? mpe([], (r = e.luckysheetfile[m]) === null || r === void 0 ? void 0 : r.luckysheet_conditionformat_save, !0) : [], p = e.luckysheetfile[m].data;
|
|
89734
|
+
if (ce.isNil(p)) return null;
|
|
89735
|
+
var d = (i = e.luckysheetfile[m].conditionRules) === null || i === void 0 ? void 0 : i.editKey;
|
|
89736
|
+
console.log("before", d, h), e.luckysheet_select_save && ((n = e.luckysheetfile[m].conditionRules) === null || n === void 0 ? void 0 : n.rulesValue) !== "" && (d != null && h.splice(Number(d), 1), h.push({
|
|
89737
89737
|
type: "default",
|
|
89738
89738
|
cellrange: e.luckysheet_select_save,
|
|
89739
89739
|
format: {
|
|
89740
|
-
textColor: (
|
|
89741
|
-
cellColor: (
|
|
89742
|
-
bold: (
|
|
89743
|
-
italic: (
|
|
89744
|
-
underline: (
|
|
89745
|
-
strikethrough: (
|
|
89740
|
+
textColor: (a = e.luckysheetfile[m].conditionRules) === null || a === void 0 ? void 0 : a.textColor.color,
|
|
89741
|
+
cellColor: (l = e.luckysheetfile[m].conditionRules) === null || l === void 0 ? void 0 : l.cellColor.color,
|
|
89742
|
+
bold: (c = e.luckysheetfile[m].conditionRules) === null || c === void 0 ? void 0 : c.font.bold,
|
|
89743
|
+
italic: (f = e.luckysheetfile[m].conditionRules) === null || f === void 0 ? void 0 : f.font.italic,
|
|
89744
|
+
underline: (s = e.luckysheetfile[m].conditionRules) === null || s === void 0 ? void 0 : s.font.underline,
|
|
89745
|
+
strikethrough: (o = e.luckysheetfile[m].conditionRules) === null || o === void 0 ? void 0 : o.font.strikethrough
|
|
89746
89746
|
},
|
|
89747
|
-
conditionName: (
|
|
89747
|
+
conditionName: (u = e.luckysheetfile[m].conditionRules) === null || u === void 0 ? void 0 : u.rulesType,
|
|
89748
89748
|
conditionRange: [],
|
|
89749
|
-
conditionValue: [(
|
|
89750
|
-
})), console.log("after",
|
|
89751
|
-
var
|
|
89752
|
-
return
|
|
89749
|
+
conditionValue: [(v = e.luckysheetfile[m].conditionRules) === null || v === void 0 ? void 0 : v.rulesValue]
|
|
89750
|
+
})), console.log("after", d, h);
|
|
89751
|
+
var b = FV(e, h, p);
|
|
89752
|
+
return b;
|
|
89753
89753
|
}
|
|
89754
89754
|
function Nh(e, t, r) {
|
|
89755
89755
|
return !ce.isNil(r) && "".concat(e, "_").concat(t) in r ? r["".concat(e, "_").concat(t)] : null;
|
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.75-patch-
|
|
5
|
+
"version": "1.2.75-patch-2",
|
|
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.77-patch-
|
|
38
|
+
"@fileverse-dev/fortune-react": "1.2.77-patch-2",
|
|
39
39
|
"@fileverse/ui": "^4.1.7-patch-40",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"exceljs": "^4.4.0",
|