rapid-spreadjs 1.0.78 → 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 +12 -3
- 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 +12 -3
- 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
|
@@ -5157,7 +5157,8 @@ const EChartsUtilsAll = {
|
|
|
5157
5157
|
sheet.setValue(chartExtJson.jxhslSnShScfc.row, chartExtJson.jxhslSnShScfc.col, '/');
|
|
5158
5158
|
}
|
|
5159
5159
|
else {
|
|
5160
|
-
|
|
5160
|
+
const curXVal = EChartsUtilsComm.getRound(gsS.jj, 0.0001);
|
|
5161
|
+
sheet.setValue(chartExtJson.jxhslSnShScfc.row, chartExtJson.jxhslSnShScfc.col, `Y=${EChartsUtilsComm.getRound(gsS.xl, 0.0001)}X${curXVal >= 0 ? '+' : ''}${curXVal}`);
|
|
5161
5162
|
}
|
|
5162
5163
|
}
|
|
5163
5164
|
}
|
|
@@ -8202,7 +8203,8 @@ const EChartsUtilsAll = {
|
|
|
8202
8203
|
sheet.setValue(chartExtJson.yhmhlBzHgx.row, chartExtJson.yhmhlBzHgx.col, '/');
|
|
8203
8204
|
}
|
|
8204
8205
|
else {
|
|
8205
|
-
|
|
8206
|
+
const curXVal = EChartsUtilsComm.getRound(gsS.jj, 0.0001);
|
|
8207
|
+
sheet.setValue(chartExtJson.yhmhlBzHgx.row, chartExtJson.yhmhlBzHgx.col, `Y=${EChartsUtilsComm.getRound(gsS.xl, 0.0001)}X${curXVal >= 0 ? '+' : ''}${curXVal}`);
|
|
8206
8208
|
}
|
|
8207
8209
|
}
|
|
8208
8210
|
}
|
|
@@ -19830,7 +19832,7 @@ const FormulaUtils = {
|
|
|
19830
19832
|
return '/';
|
|
19831
19833
|
}
|
|
19832
19834
|
// 验证operator参数的有效性
|
|
19833
|
-
const validOperators = ['>', '<', '>=', '<=', '=', '±'];
|
|
19835
|
+
const validOperators = ['>', '>', '<', '<', '>=', '≥', '≧', '<=', '≤', '≦', '=', '=', '±'];
|
|
19834
19836
|
if (!validOperators.includes(operator)) {
|
|
19835
19837
|
return '/';
|
|
19836
19838
|
}
|
|
@@ -19850,6 +19852,7 @@ const FormulaUtils = {
|
|
|
19850
19852
|
}
|
|
19851
19853
|
switch (operator) {
|
|
19852
19854
|
case '>':
|
|
19855
|
+
case '>':
|
|
19853
19856
|
if (isSingleValue1) {
|
|
19854
19857
|
conditionMet = num1 > num2;
|
|
19855
19858
|
}
|
|
@@ -19858,6 +19861,7 @@ const FormulaUtils = {
|
|
|
19858
19861
|
}
|
|
19859
19862
|
break;
|
|
19860
19863
|
case '<':
|
|
19864
|
+
case '<':
|
|
19861
19865
|
if (isSingleValue1) {
|
|
19862
19866
|
conditionMet = num1 < num2;
|
|
19863
19867
|
}
|
|
@@ -19866,6 +19870,8 @@ const FormulaUtils = {
|
|
|
19866
19870
|
}
|
|
19867
19871
|
break;
|
|
19868
19872
|
case '>=':
|
|
19873
|
+
case '≥':
|
|
19874
|
+
case '≧':
|
|
19869
19875
|
if (isSingleValue1) {
|
|
19870
19876
|
conditionMet = num1 >= num2;
|
|
19871
19877
|
}
|
|
@@ -19874,6 +19880,8 @@ const FormulaUtils = {
|
|
|
19874
19880
|
}
|
|
19875
19881
|
break;
|
|
19876
19882
|
case '<=':
|
|
19883
|
+
case '≤':
|
|
19884
|
+
case '≦':
|
|
19877
19885
|
if (isSingleValue1) {
|
|
19878
19886
|
conditionMet = num1 <= num2;
|
|
19879
19887
|
}
|
|
@@ -19882,6 +19890,7 @@ const FormulaUtils = {
|
|
|
19882
19890
|
}
|
|
19883
19891
|
break;
|
|
19884
19892
|
case '=':
|
|
19893
|
+
case '=':
|
|
19885
19894
|
if (isSingleValue1) {
|
|
19886
19895
|
conditionMet = num1 === num2;
|
|
19887
19896
|
}
|