n20-common-lib 3.0.31 → 3.0.32
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/package.json +1 -1
- package/src/assets/css/font-icon.scss +0 -1
- package/src/assets/css/table.scss +2 -0
- package/src/components/FileUploadTable/37.svg +29 -0
- package/src/components/FileUploadTable/46.svg +29 -0
- package/src/components/FileUploadTable/60.svg +29 -0
- package/src/components/FileUploadTable/FileUploadTableV3.vue +555 -652
- package/src/components/TablePro/index.vue +18 -6
|
@@ -171,12 +171,21 @@
|
|
|
171
171
|
@mouseenter="hoverHeaderProp = item.prop"
|
|
172
172
|
@mouseleave="hoverHeaderProp = null"
|
|
173
173
|
>
|
|
174
|
-
<
|
|
175
|
-
<i
|
|
174
|
+
<span
|
|
176
175
|
v-if="item.tooltip"
|
|
177
|
-
class="
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
class="pointer"
|
|
177
|
+
style="border-bottom: 1px dashed"
|
|
178
|
+
v-title="typeof item.tooltip === 'function' ? item.tooltip(column) : item.tooltip"
|
|
179
|
+
>
|
|
180
|
+
<slot :name="`header_${column.field}`" :column="column">
|
|
181
|
+
{{ column.title }}
|
|
182
|
+
</slot>
|
|
183
|
+
</span>
|
|
184
|
+
<template v-else>
|
|
185
|
+
<slot :name="`header_${column.field}`" :column="column">
|
|
186
|
+
{{ column.title }}
|
|
187
|
+
</slot>
|
|
188
|
+
</template>
|
|
180
189
|
<!-- 已固定列(fixed='left'):hover 时显示 lock 图标,点击取消固定 -->
|
|
181
190
|
<i
|
|
182
191
|
v-if="item.fixed === 'left'"
|
|
@@ -214,7 +223,10 @@
|
|
|
214
223
|
v-if="$attrs.treeConfig || $attrs['tree-config']"
|
|
215
224
|
v-title="!isExpand ? $lc('展开分组') : $lc('折叠分组')"
|
|
216
225
|
class="pointer"
|
|
217
|
-
:class="[
|
|
226
|
+
:class="[
|
|
227
|
+
isExpand ? 'v3-icon-group-collapse' : 'v3-icon-group-expand',
|
|
228
|
+
hoverIconKey === 'toggleExpand' ? 'color-primary' : ''
|
|
229
|
+
]"
|
|
218
230
|
@mouseenter="hoverIconKey = 'toggleExpand'"
|
|
219
231
|
@mouseleave="hoverIconKey = null"
|
|
220
232
|
@click="toggleExpand"
|