@fileverse-dev/dsheet 1.2.68-patch-7 → 1.2.68-patch-11

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 +32 -10
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -88937,7 +88937,7 @@ function Mg(e) {
88937
88937
  var t = Jt(e, e.currentSheetId), r = e.luckysheetfile[t].luckysheet_conditionformat_save, i = e.luckysheetfile[t].data;
88938
88938
  if (ce.isNil(i)) return null;
88939
88939
  var n = PH(e, r, i);
88940
- return console.log("computeMap", n, r, i), n;
88940
+ return n;
88941
88941
  }
88942
88942
  function Sh(e, t, r) {
88943
88943
  return !ce.isNil(r) && "".concat(e, "_").concat(t) in r ? r["".concat(e, "_").concat(t)] : null;
@@ -172226,7 +172226,11 @@ var Xp = function(t) {
172226
172226
  backgroundColor: P ? "hsl(var(--color-bg-default-selected))" : ""
172227
172227
  }
172228
172228
  }, /* @__PURE__ */ G.createElement(Pr, {
172229
- name: "Bold"
172229
+ name: "Bold",
172230
+ style: {
172231
+ width: "16px",
172232
+ height: "16px"
172233
+ }
172230
172234
  })), /* @__PURE__ */ G.createElement(un, {
172231
172235
  variant: "ghost",
172232
172236
  onClick: function() {
@@ -172238,7 +172242,11 @@ var Xp = function(t) {
172238
172242
  height: 30
172239
172243
  }
172240
172244
  }, /* @__PURE__ */ G.createElement(Pr, {
172241
- name: "Italic"
172245
+ name: "Italic",
172246
+ style: {
172247
+ width: "16px",
172248
+ height: "16px"
172249
+ }
172242
172250
  })), /* @__PURE__ */ G.createElement(un, {
172243
172251
  variant: "ghost",
172244
172252
  onClick: function() {
@@ -172250,7 +172258,11 @@ var Xp = function(t) {
172250
172258
  height: 30
172251
172259
  }
172252
172260
  }, /* @__PURE__ */ G.createElement(Pr, {
172253
- name: "Underline"
172261
+ name: "Underline",
172262
+ style: {
172263
+ width: "16px",
172264
+ height: "16px"
172265
+ }
172254
172266
  })), /* @__PURE__ */ G.createElement(un, {
172255
172267
  variant: "ghost",
172256
172268
  onClick: function() {
@@ -172262,7 +172274,11 @@ var Xp = function(t) {
172262
172274
  height: 30
172263
172275
  }
172264
172276
  }, /* @__PURE__ */ G.createElement(Pr, {
172265
- name: "Strikethrough"
172277
+ name: "Strikethrough",
172278
+ style: {
172279
+ width: "16px",
172280
+ height: "16px"
172281
+ }
172266
172282
  })), /* @__PURE__ */ G.createElement("div", null, /* @__PURE__ */ G.createElement(un, {
172267
172283
  variant: "ghost",
172268
172284
  className: Cr("fortune-toolbar-combo-button !min-w-fit !px-0", {}),
@@ -172277,6 +172293,10 @@ var Xp = function(t) {
172277
172293
  alignItems: "center"
172278
172294
  }
172279
172295
  }, /* @__PURE__ */ G.createElement("svg", {
172296
+ style: {
172297
+ width: "19px",
172298
+ height: "19px"
172299
+ },
172280
172300
  xmlns: "http://www.w3.org/2000/svg",
172281
172301
  width: "24",
172282
172302
  height: "24",
@@ -172317,7 +172337,11 @@ var Xp = function(t) {
172317
172337
  flexDirection: "column"
172318
172338
  }
172319
172339
  }, /* @__PURE__ */ G.createElement(Pr, {
172320
- name: "PaintBucket"
172340
+ name: "PaintBucket",
172341
+ style: {
172342
+ width: "16px",
172343
+ height: "16px"
172344
+ }
172321
172345
  }), /* @__PURE__ */ G.createElement("input", {
172322
172346
  type: "color",
172323
172347
  className: "condition-rules-select-color",
@@ -172358,7 +172382,7 @@ var Xp = function(t) {
172358
172382
  }, u.map(function(ne) {
172359
172383
  var Z, Y;
172360
172384
  return /* @__PURE__ */ G.createElement("div", {
172361
- className: "group flex items-center border-b border-gray-200 last:border-b-0 condition-list-parent",
172385
+ className: "group flex items-center border-b border-gray-200 condition-list-parent",
172362
172386
  key: ne
172363
172387
  }, /* @__PURE__ */ G.createElement("div", {
172364
172388
  className: "condition-list-pill",
@@ -172398,9 +172422,7 @@ var Xp = function(t) {
172398
172422
  onClick: function() {
172399
172423
  h(function(V) {
172400
172424
  var se = Jt(V, V.currentSheetId), ve = V.luckysheetfile[se].luckysheet_conditionformat_save || [];
172401
- return ve.splice(ve.findIndex(function(ke) {
172402
- return ke.type === ne;
172403
- }), 1), V.luckysheetfile[se].luckysheet_conditionformat_save = ve, V;
172425
+ return console.log(u, ve, d), ve.splice(Number(ne), 1), V.luckysheetfile[se].luckysheet_conditionformat_save = ve, V;
172404
172426
  });
172405
172427
  }
172406
172428
  })));
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.68-patch-7",
5
+ "version": "1.2.68-patch-11",
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.28",
37
37
  "@fileverse-dev/formulajs": "^4.4.36",
38
- "@fileverse-dev/fortune-react": "1.2.64-patch-7",
38
+ "@fileverse-dev/fortune-react": "1.2.64-patch-11",
39
39
  "@fileverse/ui": "^4.1.7-patch-40",
40
40
  "classnames": "^2.5.1",
41
41
  "exceljs": "^4.4.0",