sone-ui-component-3.2.4 2.0.273 → 2.0.275
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/Notice.md +106 -0
- package/lib/sone-ui.common.js +35 -29
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +35 -29
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +2 -2
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/table/src/main.vue +12 -6
- package/packages/watermark/src/main.js +3 -3
- package/src/index.js +1 -1
- package/src/styles/table.scss +12 -0
- package/src/styles/tree.scss +3 -3
package/package.json
CHANGED
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
</el-table-column>
|
|
366
366
|
<!-- 序号+复选 -->
|
|
367
367
|
<el-table-column
|
|
368
|
-
:width="option.indexCheckWidth"
|
|
368
|
+
:width="option.indexCheckWidth||70"
|
|
369
369
|
fixed
|
|
370
370
|
:label="option.indexLabel ? option.indexLabel : '序号'"
|
|
371
371
|
type="index"
|
|
@@ -467,7 +467,6 @@
|
|
|
467
467
|
:align="column.hasOwnProperty('align') ? column.align : 'left'"
|
|
468
468
|
filter-placement="bottom-end"
|
|
469
469
|
:header-align="column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left'"
|
|
470
|
-
:show-overflow-tooltip="column.hasOwnProperty('showOverflowTooltip') ? column.showOverflowTooltip : false"
|
|
471
470
|
v-else-if="column.hasOwnProperty('istrue')?column.istrue:true"
|
|
472
471
|
:column-key="column.hasOwnProperty('elementId')? column.elementId:column.prop"
|
|
473
472
|
:resizable="column.hasOwnProperty('resizable') ? column.resizable : true"
|
|
@@ -486,7 +485,6 @@
|
|
|
486
485
|
:align="childColumn.hasOwnProperty('align') ? childColumn.align : 'left'"
|
|
487
486
|
filter-placement="bottom-end"
|
|
488
487
|
:header-align="childColumn.hasOwnProperty('headerAlign') ? childColumn.headerAlign : 'left'"
|
|
489
|
-
:show-overflow-tooltip="childColumn.hasOwnProperty('showOverflowTooltip') ? childColumn.showOverflowTooltip : false"
|
|
490
488
|
v-if="childColumn.hasOwnProperty('istrue')?childColumn.istrue:true"
|
|
491
489
|
:column-key="childColumn.prop"
|
|
492
490
|
:resizable="childColumn.hasOwnProperty('resizable') ? childColumn.resizable : true"
|
|
@@ -545,7 +543,11 @@
|
|
|
545
543
|
:row="scope.row"
|
|
546
544
|
v-if="childColumn.slotCell"
|
|
547
545
|
></slot>
|
|
548
|
-
<template v-else>
|
|
546
|
+
<template v-else>
|
|
547
|
+
<el-tooltip :content="scope.row[childColumn.prop]" placement="top" effect="light" popper-class="over_popper">
|
|
548
|
+
<span class="over_title">{{ scope.row[childColumn.prop] }}</span>
|
|
549
|
+
</el-tooltip>
|
|
550
|
+
</template>
|
|
549
551
|
</template>
|
|
550
552
|
</el-table-column>
|
|
551
553
|
</template>
|
|
@@ -608,7 +610,11 @@
|
|
|
608
610
|
:row="scope.row"
|
|
609
611
|
v-if="column.slotCell"
|
|
610
612
|
></slot>
|
|
611
|
-
<template v-else>
|
|
613
|
+
<template v-else>
|
|
614
|
+
<el-tooltip :content="scope.row[column.prop]" placement="top" effect="light" popper-class="over_popper">
|
|
615
|
+
<span class="over_title">{{ scope.row[column.prop] }}</span>
|
|
616
|
+
</el-tooltip>
|
|
617
|
+
</template>
|
|
612
618
|
</template>
|
|
613
619
|
</el-table-column>
|
|
614
620
|
</template>
|
|
@@ -693,7 +699,7 @@ import IconButton from "sone-ui-component/packages/IconButton/index.vue";
|
|
|
693
699
|
default: () => {
|
|
694
700
|
return {
|
|
695
701
|
index: true,
|
|
696
|
-
indexWidth:
|
|
702
|
+
indexWidth: 70,
|
|
697
703
|
height: 'auto',
|
|
698
704
|
maxHeight: 'auto',
|
|
699
705
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Description:
|
|
3
3
|
* @Author: songlin
|
|
4
4
|
* @Date: 2021-09-14 14:33:47
|
|
5
|
-
* @LastEditTime:
|
|
6
|
-
* @LastEditors:
|
|
5
|
+
* @LastEditTime: 2024-06-04 18:01:41
|
|
6
|
+
* @LastEditors: lw
|
|
7
7
|
*/
|
|
8
8
|
import Vue from 'vue';
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ function createSVG(text = "", singal) {
|
|
|
23
23
|
max-width: 160px;
|
|
24
24
|
padding: 6px;
|
|
25
25
|
border: 3px solid #FF6B61;
|
|
26
|
-
opacity: .
|
|
26
|
+
opacity: 0.5;
|
|
27
27
|
border-radius: 10px;
|
|
28
28
|
color: #FF6B61;
|
|
29
29
|
font-size: ${sFontsize};
|
package/src/index.js
CHANGED
package/src/styles/table.scss
CHANGED
package/src/styles/tree.scss
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
background: #ffffff;
|
|
62
62
|
position: absolute;
|
|
63
63
|
right: 10px;top:20px;
|
|
64
|
-
z-index:
|
|
64
|
+
z-index: 120;
|
|
65
65
|
div{
|
|
66
66
|
min-height: 30px;
|
|
67
67
|
line-height:30px;
|
|
@@ -182,10 +182,10 @@
|
|
|
182
182
|
height: 26px;
|
|
183
183
|
position: absolute;
|
|
184
184
|
left: 0;
|
|
185
|
-
z-index:
|
|
185
|
+
z-index: 100;
|
|
186
186
|
}
|
|
187
187
|
.sone-tree-wrap .el-tree-node__content > .el-tree-node__expand-icon {
|
|
188
|
-
z-index:
|
|
188
|
+
z-index: 101;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.sone-components-tree-more-btn-color{
|