@leankylin-sheet/core 3.0.3 → 3.1.1

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
@@ -44936,14 +44936,14 @@ var make_ssf = function make_ssf(SSF) {
44936
44936
  function format(fmt, v, o) {
44937
44937
  if (fmt === null || fmt === void 0 ? void 0 : fmt.includes('leanky_n')) {
44938
44938
  if (isNaN(v) || Infinity == v || -Infinity == v) {
44939
- return '#VALUE!';
44939
+ return '';
44940
44940
  }
44941
44941
  var precision = fmt.replace('leanky_n', '');
44942
44942
  return numberThousands(v, ',', precision);
44943
44943
  }
44944
44944
  if (fmt === null || fmt === void 0 ? void 0 : fmt.includes('leanky_p')) {
44945
44945
  if (isNaN(v) || Infinity == v || -Infinity == v) {
44946
- return '#VALUE!';
44946
+ return '';
44947
44947
  }
44948
44948
  var _precision = fmt.replace('leanky_p', '');
44949
44949
  return numberThousands(v * 100, ',', _precision) + '%';
package/dist/index.js CHANGED
@@ -44946,14 +44946,14 @@ var make_ssf = function make_ssf(SSF) {
44946
44946
  function format(fmt, v, o) {
44947
44947
  if (fmt === null || fmt === void 0 ? void 0 : fmt.includes('leanky_n')) {
44948
44948
  if (isNaN(v) || Infinity == v || -Infinity == v) {
44949
- return '#VALUE!';
44949
+ return '';
44950
44950
  }
44951
44951
  var precision = fmt.replace('leanky_n', '');
44952
44952
  return numberThousands(v, ',', precision);
44953
44953
  }
44954
44954
  if (fmt === null || fmt === void 0 ? void 0 : fmt.includes('leanky_p')) {
44955
44955
  if (isNaN(v) || Infinity == v || -Infinity == v) {
44956
- return '#VALUE!';
44956
+ return '';
44957
44957
  }
44958
44958
  var _precision = fmt.replace('leanky_p', '');
44959
44959
  return numberThousands(v * 100, ',', _precision) + '%';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "3.0.3",
3
+ "version": "3.1.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "build": "father-build"
14
14
  },
15
15
  "dependencies": {
16
- "@leankylin-sheet/formula-parser": "^3.0.2",
16
+ "@leankylin-sheet/formula-parser": "^3.1.1",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",