rapid-spreadjs 1.0.79 → 1.0.80
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.cjs.js +8 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +8 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -19832,7 +19832,7 @@ const FormulaUtils = {
|
|
|
19832
19832
|
return '/';
|
|
19833
19833
|
}
|
|
19834
19834
|
// 验证operator参数的有效性
|
|
19835
|
-
const validOperators = ['>', '<', '>=', '<=', '=', '±'];
|
|
19835
|
+
const validOperators = ['>', '>', '<', '<', '>=', '≥', '≧', '<=', '≤', '≦', '=', '=', '±'];
|
|
19836
19836
|
if (!validOperators.includes(operator)) {
|
|
19837
19837
|
return '/';
|
|
19838
19838
|
}
|
|
@@ -19852,6 +19852,7 @@ const FormulaUtils = {
|
|
|
19852
19852
|
}
|
|
19853
19853
|
switch (operator) {
|
|
19854
19854
|
case '>':
|
|
19855
|
+
case '>':
|
|
19855
19856
|
if (isSingleValue1) {
|
|
19856
19857
|
conditionMet = num1 > num2;
|
|
19857
19858
|
}
|
|
@@ -19860,6 +19861,7 @@ const FormulaUtils = {
|
|
|
19860
19861
|
}
|
|
19861
19862
|
break;
|
|
19862
19863
|
case '<':
|
|
19864
|
+
case '<':
|
|
19863
19865
|
if (isSingleValue1) {
|
|
19864
19866
|
conditionMet = num1 < num2;
|
|
19865
19867
|
}
|
|
@@ -19868,6 +19870,8 @@ const FormulaUtils = {
|
|
|
19868
19870
|
}
|
|
19869
19871
|
break;
|
|
19870
19872
|
case '>=':
|
|
19873
|
+
case '≥':
|
|
19874
|
+
case '≧':
|
|
19871
19875
|
if (isSingleValue1) {
|
|
19872
19876
|
conditionMet = num1 >= num2;
|
|
19873
19877
|
}
|
|
@@ -19876,6 +19880,8 @@ const FormulaUtils = {
|
|
|
19876
19880
|
}
|
|
19877
19881
|
break;
|
|
19878
19882
|
case '<=':
|
|
19883
|
+
case '≤':
|
|
19884
|
+
case '≦':
|
|
19879
19885
|
if (isSingleValue1) {
|
|
19880
19886
|
conditionMet = num1 <= num2;
|
|
19881
19887
|
}
|
|
@@ -19884,6 +19890,7 @@ const FormulaUtils = {
|
|
|
19884
19890
|
}
|
|
19885
19891
|
break;
|
|
19886
19892
|
case '=':
|
|
19893
|
+
case '=':
|
|
19887
19894
|
if (isSingleValue1) {
|
|
19888
19895
|
conditionMet = num1 === num2;
|
|
19889
19896
|
}
|