rapid-spreadjs 1.0.88 → 1.0.89
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 +7 -7
- 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 +7 -7
- 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
|
@@ -19981,7 +19981,7 @@ const FormulaUtils = {
|
|
|
19981
19981
|
isAcceptArea: true,
|
|
19982
19982
|
funParams: [
|
|
19983
19983
|
{
|
|
19984
|
-
name: '
|
|
19984
|
+
name: '需要用作判断的数字数组、字符串数组或单值',
|
|
19985
19985
|
repeatable: false,
|
|
19986
19986
|
optional: false,
|
|
19987
19987
|
},
|
|
@@ -20017,7 +20017,7 @@ const FormulaUtils = {
|
|
|
20017
20017
|
if (retData.allCellValsEw.length < 5) {
|
|
20018
20018
|
return '/';
|
|
20019
20019
|
}
|
|
20020
|
-
let array1 = retData.allCellValsEw[0], array2 = retData.allCellValsEw[1], operator = retData.allCellValsEw[2], value = retData.allCellValsEw[3], delimiter = retData.allCellValsEw[4], isOpposite = retData.allCellValsEw.length
|
|
20020
|
+
let array1 = retData.allCellValsEw[0], array2 = retData.allCellValsEw[1], operator = retData.allCellValsEw[2], value = retData.allCellValsEw[3], delimiter = retData.allCellValsEw[4], isOpposite = retData.allCellValsEw.length < 6 ? 0 : retData.allCellValsEw[5];
|
|
20021
20021
|
try {
|
|
20022
20022
|
// 处理array1和array2的默认值
|
|
20023
20023
|
if (array1 == null || array1 == undefined || (typeof array1 == 'string' && array1.trim().length == 0)) {
|
|
@@ -20086,7 +20086,7 @@ const FormulaUtils = {
|
|
|
20086
20086
|
case '>':
|
|
20087
20087
|
case '>':
|
|
20088
20088
|
if (isSingleValue1) {
|
|
20089
|
-
conditionMet =
|
|
20089
|
+
conditionMet = num2 > num1;
|
|
20090
20090
|
}
|
|
20091
20091
|
else {
|
|
20092
20092
|
conditionMet = num1 > numValue;
|
|
@@ -20095,7 +20095,7 @@ const FormulaUtils = {
|
|
|
20095
20095
|
case '<':
|
|
20096
20096
|
case '<':
|
|
20097
20097
|
if (isSingleValue1) {
|
|
20098
|
-
conditionMet =
|
|
20098
|
+
conditionMet = num2 < num1;
|
|
20099
20099
|
}
|
|
20100
20100
|
else {
|
|
20101
20101
|
conditionMet = num1 < numValue;
|
|
@@ -20105,7 +20105,7 @@ const FormulaUtils = {
|
|
|
20105
20105
|
case '≥':
|
|
20106
20106
|
case '≧':
|
|
20107
20107
|
if (isSingleValue1) {
|
|
20108
|
-
conditionMet =
|
|
20108
|
+
conditionMet = num2 >= num1;
|
|
20109
20109
|
}
|
|
20110
20110
|
else {
|
|
20111
20111
|
conditionMet = num1 >= numValue;
|
|
@@ -20115,7 +20115,7 @@ const FormulaUtils = {
|
|
|
20115
20115
|
case '≤':
|
|
20116
20116
|
case '≦':
|
|
20117
20117
|
if (isSingleValue1) {
|
|
20118
|
-
conditionMet =
|
|
20118
|
+
conditionMet = num2 <= num1;
|
|
20119
20119
|
}
|
|
20120
20120
|
else {
|
|
20121
20121
|
conditionMet = num1 <= numValue;
|
|
@@ -20124,7 +20124,7 @@ const FormulaUtils = {
|
|
|
20124
20124
|
case '=':
|
|
20125
20125
|
case '=':
|
|
20126
20126
|
if (isSingleValue1) {
|
|
20127
|
-
conditionMet =
|
|
20127
|
+
conditionMet = num2 === num1;
|
|
20128
20128
|
}
|
|
20129
20129
|
else {
|
|
20130
20130
|
conditionMet = num1 === numValue;
|