@fileverse-dev/fortune-core 1.0.2-mod-92 → 1.0.2-mod-93

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.esm.js CHANGED
@@ -9769,8 +9769,8 @@ var en = {
9769
9769
  example: ""
9770
9770
  }, {
9771
9771
  text: "Number",
9772
- value: "##0.00",
9773
- example: "1000.12"
9772
+ value: "#,##0.00",
9773
+ example: "1,000.12"
9774
9774
  }, {
9775
9775
  text: "Percent",
9776
9776
  value: "#0.00%",
@@ -9785,12 +9785,12 @@ var en = {
9785
9785
  example: ""
9786
9786
  }, {
9787
9787
  text: "Accounting",
9788
- value: "".concat(currency, "(0.00)"),
9789
- example: "".concat(currency, "(1200.09)")
9788
+ value: "".concat(currency, "(#,##0.00)"),
9789
+ example: "".concat(currency, "(1,200.09)")
9790
9790
  }, {
9791
9791
  text: "Currency",
9792
- value: "".concat(currency, "0.00"),
9793
- example: "".concat(currency, "1200.09")
9792
+ value: "".concat(currency, "#,##0.00"),
9793
+ example: "".concat(currency, "1,200.09")
9794
9794
  }, {
9795
9795
  text: "",
9796
9796
  value: "split",
@@ -68521,7 +68521,7 @@ function handleCurrencyFormat(ctx, cellInput) {
68521
68521
  var flowdata = getFlowdata(ctx);
68522
68522
  if (!flowdata) return;
68523
68523
  var currency = ctx.currency || "¥";
68524
- updateFormat(ctx, cellInput, flowdata, "ct", "".concat(currency, " #.00"));
68524
+ updateFormat(ctx, cellInput, flowdata, "ct", "".concat(currency, " #,##0.00"));
68525
68525
  }
68526
68526
  function handlePercentageFormat(ctx, cellInput) {
68527
68527
  var flowdata = getFlowdata(ctx);
package/dist/index.js CHANGED
@@ -9779,8 +9779,8 @@ var en = {
9779
9779
  example: ""
9780
9780
  }, {
9781
9781
  text: "Number",
9782
- value: "##0.00",
9783
- example: "1000.12"
9782
+ value: "#,##0.00",
9783
+ example: "1,000.12"
9784
9784
  }, {
9785
9785
  text: "Percent",
9786
9786
  value: "#0.00%",
@@ -9795,12 +9795,12 @@ var en = {
9795
9795
  example: ""
9796
9796
  }, {
9797
9797
  text: "Accounting",
9798
- value: "".concat(currency, "(0.00)"),
9799
- example: "".concat(currency, "(1200.09)")
9798
+ value: "".concat(currency, "(#,##0.00)"),
9799
+ example: "".concat(currency, "(1,200.09)")
9800
9800
  }, {
9801
9801
  text: "Currency",
9802
- value: "".concat(currency, "0.00"),
9803
- example: "".concat(currency, "1200.09")
9802
+ value: "".concat(currency, "#,##0.00"),
9803
+ example: "".concat(currency, "1,200.09")
9804
9804
  }, {
9805
9805
  text: "",
9806
9806
  value: "split",
@@ -68531,7 +68531,7 @@ function handleCurrencyFormat(ctx, cellInput) {
68531
68531
  var flowdata = getFlowdata(ctx);
68532
68532
  if (!flowdata) return;
68533
68533
  var currency = ctx.currency || "¥";
68534
- updateFormat(ctx, cellInput, flowdata, "ct", "".concat(currency, " #.00"));
68534
+ updateFormat(ctx, cellInput, flowdata, "ct", "".concat(currency, " #,##0.00"));
68535
68535
  }
68536
68536
  function handlePercentageFormat(ctx, cellInput) {
68537
68537
  var flowdata = getFlowdata(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.0.2-mod-92",
3
+ "version": "1.0.2-mod-93",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",