@fileverse-dev/dsheet 1.2.73-cond-patch-1 → 1.2.73-cond-patch-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 +12 -7
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -65171,9 +65171,7 @@ var LT = {
65171
65171
  hi: B0e
65172
65172
  };
65173
65173
  function Pn(e) {
65174
- var t;
65175
- console.log(e == null ? void 0 : e.lang);
65176
- for (var r = [(e == null ? void 0 : e.lang) || "", ((t = e == null ? void 0 : e.lang) === null || t === void 0 ? void 0 : t.split("-")[0]) || ""], i = 0; i < r.length; i += 1)
65174
+ for (var t, r = [(e == null ? void 0 : e.lang) || "", ((t = e == null ? void 0 : e.lang) === null || t === void 0 ? void 0 : t.split("-")[0]) || ""], i = 0; i < r.length; i += 1)
65177
65175
  if (r[i] in LT)
65178
65176
  return LT[r[i]];
65179
65177
  return LT.en;
@@ -172560,10 +172558,17 @@ function zS(e) {
172560
172558
  }
172561
172559
  var Vkt = function() {
172562
172560
  var t = da(Sn), r = t.context, i = t.setContext, n = bf().showDialog, a = Pn(r), s = a.dataVerification, c = a.button, f = Jt(zS(r)), l = f[0], o = f[1], u = Cr(function() {
172563
- var v;
172564
- i(function(m) {
172565
- m.rangeDialog.show = !1, m.rangeDialog.singleSelect = !1;
172566
- }), (v = document.getElementById("data-verification-button")) === null || v === void 0 || v.click();
172561
+ var v, m, h;
172562
+ if (i(function(d) {
172563
+ d.rangeDialog.show = !1, d.rangeDialog.singleSelect = !1;
172564
+ }), (v = document.getElementById("data-verification-button")) === null || v === void 0 || v.click(), !!r.rangeDialog) {
172565
+ var p = r.rangeDialog.type;
172566
+ if (p.indexOf("between") >= 0) {
172567
+ (m = document.getElementById("conditional-format-button")) === null || m === void 0 || m.click();
172568
+ return;
172569
+ }
172570
+ p.indexOf("conditionRules") >= 0 && ((h = document.getElementById("conditional-format-button")) === null || h === void 0 || h.click());
172571
+ }
172567
172572
  }, [i, n, r]);
172568
172573
  return gr(function() {
172569
172574
  o(zS(r));
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.73-cond-patch-1",
5
+ "version": "1.2.73-cond-patch-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.36",
38
- "@fileverse-dev/fortune-react": "1.2.69",
38
+ "@fileverse-dev/fortune-react": "1.2.70",
39
39
  "@fileverse/ui": "^4.1.7-patch-40",
40
40
  "classnames": "^2.5.1",
41
41
  "exceljs": "^4.4.0",