@fctc/interface-logic 2.7.6 → 2.7.8

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/configs.js CHANGED
@@ -1779,6 +1779,8 @@ function evaluate(ast, context = {}) {
1779
1779
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1780
1780
  result = DICT[ast2.key];
1781
1781
  leftVal = toPyDict(leftVal);
1782
+ } else if (typeof leftVal === "number") {
1783
+ result = leftVal;
1782
1784
  } else {
1783
1785
  result = leftVal[ast2.key];
1784
1786
  }
package/dist/configs.mjs CHANGED
@@ -1743,6 +1743,8 @@ function evaluate(ast, context = {}) {
1743
1743
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1744
1744
  result = DICT[ast2.key];
1745
1745
  leftVal = toPyDict(leftVal);
1746
+ } else if (typeof leftVal === "number") {
1747
+ result = leftVal;
1746
1748
  } else {
1747
1749
  result = leftVal[ast2.key];
1748
1750
  }
@@ -1781,6 +1781,8 @@ function evaluate(ast, context = {}) {
1781
1781
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1782
1782
  result = DICT[ast2.key];
1783
1783
  leftVal = toPyDict(leftVal);
1784
+ } else if (typeof leftVal === "number") {
1785
+ result = leftVal;
1784
1786
  } else {
1785
1787
  result = leftVal[ast2.key];
1786
1788
  }
@@ -1743,6 +1743,8 @@ function evaluate(ast, context = {}) {
1743
1743
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1744
1744
  result = DICT[ast2.key];
1745
1745
  leftVal = toPyDict(leftVal);
1746
+ } else if (typeof leftVal === "number") {
1747
+ result = leftVal;
1746
1748
  } else {
1747
1749
  result = leftVal[ast2.key];
1748
1750
  }
package/dist/hooks.js CHANGED
@@ -1902,6 +1902,8 @@ function evaluate(ast, context = {}) {
1902
1902
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1903
1903
  result = DICT[ast2.key];
1904
1904
  leftVal = toPyDict(leftVal);
1905
+ } else if (typeof leftVal === "number") {
1906
+ result = leftVal;
1905
1907
  } else {
1906
1908
  result = leftVal[ast2.key];
1907
1909
  }
package/dist/hooks.mjs CHANGED
@@ -1786,6 +1786,8 @@ function evaluate(ast, context = {}) {
1786
1786
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1787
1787
  result = DICT[ast2.key];
1788
1788
  leftVal = toPyDict(leftVal);
1789
+ } else if (typeof leftVal === "number") {
1790
+ result = leftVal;
1789
1791
  } else {
1790
1792
  result = leftVal[ast2.key];
1791
1793
  }
package/dist/provider.js CHANGED
@@ -2479,6 +2479,8 @@ function evaluate(ast, context = {}) {
2479
2479
  } else if (ast2.key === "get" && typeof leftVal === "object") {
2480
2480
  result = DICT[ast2.key];
2481
2481
  leftVal = toPyDict(leftVal);
2482
+ } else if (typeof leftVal === "number") {
2483
+ result = leftVal;
2482
2484
  } else {
2483
2485
  result = leftVal[ast2.key];
2484
2486
  }
package/dist/provider.mjs CHANGED
@@ -2436,6 +2436,8 @@ function evaluate(ast, context = {}) {
2436
2436
  } else if (ast2.key === "get" && typeof leftVal === "object") {
2437
2437
  result = DICT[ast2.key];
2438
2438
  leftVal = toPyDict(leftVal);
2439
+ } else if (typeof leftVal === "number") {
2440
+ result = leftVal;
2439
2441
  } else {
2440
2442
  result = leftVal[ast2.key];
2441
2443
  }
package/dist/services.js CHANGED
@@ -1820,6 +1820,8 @@ function evaluate(ast, context = {}) {
1820
1820
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1821
1821
  result = DICT[ast2.key];
1822
1822
  leftVal = toPyDict(leftVal);
1823
+ } else if (typeof leftVal === "number") {
1824
+ result = leftVal;
1823
1825
  } else {
1824
1826
  result = leftVal[ast2.key];
1825
1827
  }
package/dist/services.mjs CHANGED
@@ -1776,6 +1776,8 @@ function evaluate(ast, context = {}) {
1776
1776
  } else if (ast2.key === "get" && typeof leftVal === "object") {
1777
1777
  result = DICT[ast2.key];
1778
1778
  leftVal = toPyDict(leftVal);
1779
+ } else if (typeof leftVal === "number") {
1780
+ result = leftVal;
1779
1781
  } else {
1780
1782
  result = leftVal[ast2.key];
1781
1783
  }
package/dist/utils.js CHANGED
@@ -2113,6 +2113,8 @@ function evaluate(ast, context = {}) {
2113
2113
  } else if (ast2.key === "get" && typeof leftVal === "object") {
2114
2114
  result = DICT[ast2.key];
2115
2115
  leftVal = toPyDict(leftVal);
2116
+ } else if (typeof leftVal === "number") {
2117
+ result = leftVal;
2116
2118
  } else {
2117
2119
  result = leftVal[ast2.key];
2118
2120
  }
package/dist/utils.mjs CHANGED
@@ -2048,6 +2048,8 @@ function evaluate(ast, context = {}) {
2048
2048
  } else if (ast2.key === "get" && typeof leftVal === "object") {
2049
2049
  result = DICT[ast2.key];
2050
2050
  leftVal = toPyDict(leftVal);
2051
+ } else if (typeof leftVal === "number") {
2052
+ result = leftVal;
2051
2053
  } else {
2052
2054
  result = leftVal[ast2.key];
2053
2055
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "2.7.6",
3
+ "version": "2.7.8",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",