@fileverse-dev/dsheet 1.2.75-patch-2 → 1.2.76-cf

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 CHANGED
@@ -174557,8 +174557,8 @@ var Tte = function(t) {
174557
174557
  var r = t.type, i = t.context;
174558
174558
  console.log("rulesType", r);
174559
174559
  var n = Qt("greaterThan"), a = n[0], l = n[1], c = Qt(!1), f = c[0], s = c[1], o = mr(!1), u = mr(null), v = mr(null), m = Qt(null), h = m[0], p = m[1], d = mr(null), b = Qt(""), g = b[0], w = b[1], x = Qt(null), k = x[0], T = x[1], F = Qt([]), A = F[0], O = F[1], N = Qt(null), P = N[0], j = N[1], R = da(Dn).setContext, q = bf().hideDialog, S = qn(i), C = S.conditionformat, D = S.button, L = S.protection, E = S.generalDialog, I = Qt({
174560
- textColor: "#FFFFFF",
174561
- cellColor: "#D82E2A"
174560
+ textColor: "#177E23",
174561
+ cellColor: "#DDFBDF"
174562
174562
  }), W = I[0], z = I[1], J = Qt(!1), ne = J[0], le = J[1], G = Qt(!1), K = G[0], U = G[1], V = Qt(!1), se = V[0], ve = V[1], xe = Qt(!1), de = xe[0], fe = xe[1];
174563
174563
  br(function() {
174564
174564
  var pe, Y, ae = Xt(i, i == null ? void 0 : i.currentSheetId) || 0, oe = i.luckysheetfile[ae].luckysheet_conditionformat_save;
@@ -174920,9 +174920,19 @@ var Tte = function(t) {
174920
174920
  }, "Formatting styles"), /* @__PURE__ */ Z.createElement("div", {
174921
174921
  className: "toolbar-container"
174922
174922
  }, /* @__PURE__ */ Z.createElement("div", {
174923
- className: "toolbar-header"
174923
+ className: "toolbar-header",
174924
+ style: {
174925
+ backgroundColor: W.cellColor,
174926
+ color: W.textColor,
174927
+ textDecoration: se ? "underline" : "",
174928
+ textDecorationLine: de ? "line-through" : ""
174929
+ }
174924
174930
  }, /* @__PURE__ */ Z.createElement("h2", {
174925
- className: "toolbar-title"
174931
+ className: "toolbar-title",
174932
+ style: {
174933
+ fontWeight: ne ? "bold" : "",
174934
+ fontStyle: K ? "italic" : ""
174935
+ }
174926
174936
  }, "Formatting styles preview")), /* @__PURE__ */ Z.createElement("div", {
174927
174937
  className: "toolbar-content"
174928
174938
  }, /* @__PURE__ */ Z.createElement(fn, {
@@ -175099,7 +175109,7 @@ var Tte = function(t) {
175099
175109
  ge("edit");
175100
175110
  },
175101
175111
  tabIndex: 0
175102
- }, "Edit rule") : /* @__PURE__ */ Z.createElement(fn, {
175112
+ }, "Update rule") : /* @__PURE__ */ Z.createElement(fn, {
175103
175113
  variant: "default",
175104
175114
  style: {
175105
175115
  minWidth: "80px"
@@ -185285,7 +185295,18 @@ var YTt = function(t) {
185285
185295
  var le = (r = g.luckysheetfile) === null || r === void 0 ? void 0 : r[ne];
185286
185296
  return le ? /* @__PURE__ */ Z.createElement(Dn.Provider, {
185287
185297
  value: S
185288
- }, /* @__PURE__ */ Z.createElement(Pkt, null, /* @__PURE__ */ Z.createElement("div", {
185298
+ }, /* @__PURE__ */ Z.createElement("div", {
185299
+ id: "placeholder-conditional-format",
185300
+ style: {
185301
+ width: "500px",
185302
+ height: "500px",
185303
+ position: "fixed",
185304
+ zIndex: "1000",
185305
+ backgroundColor: "white",
185306
+ padding: "12px",
185307
+ top: "100px"
185308
+ }
185309
+ }), /* @__PURE__ */ Z.createElement(Pkt, null, /* @__PURE__ */ Z.createElement("div", {
185289
185310
  className: "fortune-container",
185290
185311
  ref: p,
185291
185312
  onKeyDown: W