@fileverse-dev/dsheet 0.0.114 → 0.0.115

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 +17 -17
  2. package/package.json +3 -3
package/dist/index.es.js CHANGED
@@ -34051,8 +34051,8 @@ If the value is FALSE, return the accrued interest from the first interest accru
34051
34051
  example: ""
34052
34052
  }, {
34053
34053
  text: "Number",
34054
- value: "##0.00",
34055
- example: "1000.12"
34054
+ value: "#,##0.00",
34055
+ example: "1,000.12"
34056
34056
  }, {
34057
34057
  text: "Percent",
34058
34058
  value: "#0.00%",
@@ -34067,12 +34067,12 @@ If the value is FALSE, return the accrued interest from the first interest accru
34067
34067
  example: ""
34068
34068
  }, {
34069
34069
  text: "Accounting",
34070
- value: "".concat(r, "(0.00)"),
34071
- example: "".concat(r, "(1200.09)")
34070
+ value: "".concat(r, "(#,##0.00)"),
34071
+ example: "".concat(r, "(1,200.09)")
34072
34072
  }, {
34073
34073
  text: "Currency",
34074
- value: "".concat(r, "0.00"),
34075
- example: "".concat(r, "1200.09")
34074
+ value: "".concat(r, "#,##0.00"),
34075
+ example: "".concat(r, "1,200.09")
34076
34076
  }, {
34077
34077
  text: "",
34078
34078
  value: "split",
@@ -86483,7 +86483,7 @@ function Zse(e, r) {
86483
86483
  var t = Bt(e);
86484
86484
  if (t) {
86485
86485
  var a = e.currency || "¥";
86486
- Gi(e, r, t, "ct", "".concat(a, " #.00"));
86486
+ Gi(e, r, t, "ct", "".concat(a, " #,##0.00"));
86487
86487
  }
86488
86488
  }
86489
86489
  function Kse(e, r) {
@@ -162048,7 +162048,10 @@ var t4 = function(r) {
162048
162048
  }, l.applyRange), /* @__PURE__ */ z.createElement(mn, {
162049
162049
  rightIcon: /* @__PURE__ */ z.createElement(ir, {
162050
162050
  name: "Grid2x2",
162051
- size: "sm"
162051
+ size: "sm",
162052
+ onClick: function() {
162053
+ g("conditionRules".concat(t));
162054
+ }
162052
162055
  }),
162053
162056
  "aria-hidden": "true",
162054
162057
  readOnly: !0,
@@ -163670,15 +163673,12 @@ var Jyt = function() {
163670
163673
  u(function(E) {
163671
163674
  var B = Mt(E, E.currentSheetId);
163672
163675
  if (!te.isNil(B)) {
163673
- var k = D[v].value;
163674
- te.forEach(E.luckysheet_select_save, function(T) {
163675
- for (var S = T.row[0]; S <= T.row[1]; S += 1)
163676
- for (var I = T.column[0]; I <= T.column[1]; I += 1) {
163677
- var M, U, q, _;
163678
- if (!((M = E.luckysheetfile[B].data) === null || M === void 0) && M[S][I] && ((U = E.luckysheetfile[B].data) === null || U === void 0 || (q = U[S][I]) === null || q === void 0 || (_ = q.ct) === null || _ === void 0 ? void 0 : _.t) === "n") {
163679
- var K = 0;
163680
- E.luckysheetfile[B].data[S][I].ct.fa = "".concat(k).concat(K.toFixed(d)), E.luckysheetfile[B].data[S][I].m = hi("".concat(k).concat(K.toFixed(d)), E.luckysheetfile[B].data[S][I].v);
163681
- }
163676
+ var k = D[v].value, T = "".concat(k, "#,##0.").concat("0".repeat(d));
163677
+ te.forEach(E.luckysheet_select_save, function(S) {
163678
+ for (var I = S.row[0]; I <= S.row[1]; I += 1)
163679
+ for (var M = S.column[0]; M <= S.column[1]; M += 1) {
163680
+ var U, q, _, K;
163681
+ !((U = E.luckysheetfile[B].data) === null || U === void 0) && U[I][M] && ((q = E.luckysheetfile[B].data) === null || q === void 0 || (_ = q[I][M]) === null || _ === void 0 || (K = _.ct) === null || K === void 0 ? void 0 : K.t) === "n" && (E.luckysheetfile[B].data[I][M].ct.fa = T, E.luckysheetfile[B].data[I][M].m = hi(T, E.luckysheetfile[B].data[I][M].v));
163682
163682
  }
163683
163683
  }), o();
163684
163684
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "0.0.114",
5
+ "version": "0.0.115",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -39,8 +39,8 @@
39
39
  "@fileverse-dev/dsheets-templates": "^0.0.7",
40
40
  "@fileverse-dev/formula-parser": "^0.2.13-mod-24",
41
41
  "@fileverse-dev/formulajs": "^4.4.11-mod-40",
42
- "@fileverse-dev/fortune-core": "^1.0.2-mod-92",
43
- "@fileverse-dev/fortune-react": "^1.0.2-mod-92",
42
+ "@fileverse-dev/fortune-core": "^1.0.2-mod-93",
43
+ "@fileverse-dev/fortune-react": "^1.0.2-mod-93",
44
44
  "@fileverse/ui": "^4.1.7-patch-18",
45
45
  "classnames": "^2.5.1",
46
46
  "exceljs": "^4.4.0",