rapid-spreadjs 1.0.175 → 1.0.177
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 +10 -0
- 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 +10 -0
- 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/dist/utils/echarts-all.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -891,6 +891,9 @@ const BusinessUtils = {
|
|
|
891
891
|
sheet.setValue(totalRowCount, contentColStartIndex + titleCellColumnCount, rowAttrArr[0].blindDisplayStatus != null && rowAttrArr[0].blindDisplayStatus != undefined && rowAttrArr[0].blindDisplayStatus == true
|
|
892
892
|
? '此处隐藏'
|
|
893
893
|
: rowAttrArr[0].value);
|
|
894
|
+
// 启用单元格自动换行 和 自适应行高
|
|
895
|
+
sheet.getCell(totalRowCount, contentColStartIndex).wordWrap(true);
|
|
896
|
+
sheet.autoFitRow(totalRowCount);
|
|
894
897
|
curRowCells.push({ row: totalRowCount, col: contentColStartIndex });
|
|
895
898
|
curRowCells.push({ row: totalRowCount, col: contentColStartIndex + titleCellColumnCount });
|
|
896
899
|
setFontSizeFamily(totalRowCount, contentColStartIndex);
|
|
@@ -917,6 +920,9 @@ const BusinessUtils = {
|
|
|
917
920
|
sheet.setValue(totalRowCount, colIndexValue, rowAttrArr[1].blindDisplayStatus != null && rowAttrArr[1].blindDisplayStatus != undefined && rowAttrArr[1].blindDisplayStatus == true
|
|
918
921
|
? '此处隐藏'
|
|
919
922
|
: rowAttrArr[1].value);
|
|
923
|
+
// 启用单元格自动换行 和 自适应行高
|
|
924
|
+
sheet.getCell(totalRowCount, colIndexTitle).wordWrap(true);
|
|
925
|
+
sheet.autoFitRow(totalRowCount);
|
|
920
926
|
curRowCells.push({ row: totalRowCount, col: colIndexTitle });
|
|
921
927
|
curRowCells.push({ row: totalRowCount, col: colIndexValue });
|
|
922
928
|
setFontSizeFamily(totalRowCount, colIndexTitle);
|
|
@@ -936,6 +942,9 @@ const BusinessUtils = {
|
|
|
936
942
|
sheet.setValue(totalRowCount, colIndexValue, rowAttrArr[2].blindDisplayStatus != null && rowAttrArr[2].blindDisplayStatus != undefined && rowAttrArr[2].blindDisplayStatus == true
|
|
937
943
|
? '此处隐藏'
|
|
938
944
|
: rowAttrArr[2].value);
|
|
945
|
+
// 启用单元格自动换行 和 自适应行高
|
|
946
|
+
sheet.getCell(totalRowCount, colIndexTitle).wordWrap(true);
|
|
947
|
+
sheet.autoFitRow(totalRowCount);
|
|
939
948
|
curRowCells.push({ row: totalRowCount, col: colIndexTitle });
|
|
940
949
|
curRowCells.push({ row: totalRowCount, col: colIndexValue });
|
|
941
950
|
setFontSizeFamily(totalRowCount, colIndexTitle);
|
|
@@ -5463,6 +5472,7 @@ const EChartsUtilsAll = {
|
|
|
5463
5472
|
// 图例,参考文档:https://echarts.apache.org/zh/option.html#legend
|
|
5464
5473
|
legend: {
|
|
5465
5474
|
// show: !yValIsAllNull,
|
|
5475
|
+
top: '0px',
|
|
5466
5476
|
left: 'center',
|
|
5467
5477
|
data: ['筛分曲线', '上限', '下限'],
|
|
5468
5478
|
selected: {
|