@fileverse-dev/fortune-core 1.2.82 → 1.2.83-a

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.
@@ -698,6 +698,12 @@ function replaceDotsInFunctionName(str) {
698
698
  return "=".concat(fixedFnName).concat(str.substring(openParenIndex));
699
699
  }
700
700
  export function execfunction(ctx, txt, r, c, id, calcChainSet, isrefresh, notInsertFunc) {
701
+ console.log("execfunction:", {
702
+ txt: txt,
703
+ r: r,
704
+ c: c,
705
+ id: id
706
+ });
701
707
  var originalTxt = txt;
702
708
  if (txt.toUpperCase().includes("NETWORKDAYS.INTL") || txt.toUpperCase().includes("WORKDAY.INTL")) {
703
709
  txt = replaceDotsInFunctionName(txt);
@@ -815,6 +821,7 @@ export function execFunctionGroup(ctx, origin_r, origin_c, value, id, data, isFo
815
821
  if (isForce === void 0) {
816
822
  isForce = false;
817
823
  }
824
+ console.log("execFunctionGroup", origin_r, origin_c, value, id, data);
818
825
  if (_.isNil(data)) {
819
826
  data = getFlowdata(ctx);
820
827
  }
@@ -728,6 +728,12 @@ function replaceDotsInFunctionName(str) {
728
728
  return "=".concat(fixedFnName).concat(str.substring(openParenIndex));
729
729
  }
730
730
  function execfunction(ctx, txt, r, c, id, calcChainSet, isrefresh, notInsertFunc) {
731
+ console.log("execfunction:", {
732
+ txt: txt,
733
+ r: r,
734
+ c: c,
735
+ id: id
736
+ });
731
737
  var originalTxt = txt;
732
738
  if (txt.toUpperCase().includes("NETWORKDAYS.INTL") || txt.toUpperCase().includes("WORKDAY.INTL")) {
733
739
  txt = replaceDotsInFunctionName(txt);
@@ -845,6 +851,7 @@ function execFunctionGroup(ctx, origin_r, origin_c, value, id, data, isForce) {
845
851
  if (isForce === void 0) {
846
852
  isForce = false;
847
853
  }
854
+ console.log("execFunctionGroup", origin_r, origin_c, value, id, data);
848
855
  if (_lodash.default.isNil(data)) {
849
856
  data = (0, _context.getFlowdata)(ctx);
850
857
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.82",
3
+ "version": "1.2.83-a",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "dev": "father-build --watch"
16
16
  },
17
17
  "dependencies": {
18
- "@fileverse-dev/formula-parser": "0.2.90",
18
+ "@fileverse-dev/formula-parser": "0.2.91-a",
19
19
  "dayjs": "^1.11.0",
20
20
  "immer": "^9.0.12",
21
21
  "lodash": "^4.17.21",