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.cjs.js
CHANGED
|
@@ -19854,7 +19854,7 @@ const FormulaUtils = {
|
|
|
19854
19854
|
return '/';
|
|
19855
19855
|
}
|
|
19856
19856
|
// 验证operator参数的有效性
|
|
19857
|
-
const validOperators = ['>', '<', '>=', '<=', '=', '±'];
|
|
19857
|
+
const validOperators = ['>', '>', '<', '<', '>=', '≥', '≧', '<=', '≤', '≦', '=', '=', '±'];
|
|
19858
19858
|
if (!validOperators.includes(operator)) {
|
|
19859
19859
|
return '/';
|
|
19860
19860
|
}
|
|
@@ -19874,6 +19874,7 @@ const FormulaUtils = {
|
|
|
19874
19874
|
}
|
|
19875
19875
|
switch (operator) {
|
|
19876
19876
|
case '>':
|
|
19877
|
+
case '>':
|
|
19877
19878
|
if (isSingleValue1) {
|
|
19878
19879
|
conditionMet = num1 > num2;
|
|
19879
19880
|
}
|
|
@@ -19882,6 +19883,7 @@ const FormulaUtils = {
|
|
|
19882
19883
|
}
|
|
19883
19884
|
break;
|
|
19884
19885
|
case '<':
|
|
19886
|
+
case '<':
|
|
19885
19887
|
if (isSingleValue1) {
|
|
19886
19888
|
conditionMet = num1 < num2;
|
|
19887
19889
|
}
|
|
@@ -19890,6 +19892,8 @@ const FormulaUtils = {
|
|
|
19890
19892
|
}
|
|
19891
19893
|
break;
|
|
19892
19894
|
case '>=':
|
|
19895
|
+
case '≥':
|
|
19896
|
+
case '≧':
|
|
19893
19897
|
if (isSingleValue1) {
|
|
19894
19898
|
conditionMet = num1 >= num2;
|
|
19895
19899
|
}
|
|
@@ -19898,6 +19902,8 @@ const FormulaUtils = {
|
|
|
19898
19902
|
}
|
|
19899
19903
|
break;
|
|
19900
19904
|
case '<=':
|
|
19905
|
+
case '≤':
|
|
19906
|
+
case '≦':
|
|
19901
19907
|
if (isSingleValue1) {
|
|
19902
19908
|
conditionMet = num1 <= num2;
|
|
19903
19909
|
}
|
|
@@ -19906,6 +19912,7 @@ const FormulaUtils = {
|
|
|
19906
19912
|
}
|
|
19907
19913
|
break;
|
|
19908
19914
|
case '=':
|
|
19915
|
+
case '=':
|
|
19909
19916
|
if (isSingleValue1) {
|
|
19910
19917
|
conditionMet = num1 === num2;
|
|
19911
19918
|
}
|