n20-common-lib 3.0.68 → 3.0.70

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "3.0.68",
3
+ "version": "3.0.70",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -195,7 +195,13 @@
195
195
  z-index: 9999 !important;
196
196
  }
197
197
 
198
- & .cell-default-set-- .vxe-table--body-wrapper .vxe-body--row .vxe-body--column .vxe-cell .vxe-cell--label:empty::before {
198
+ &
199
+ .cell-default-set--
200
+ .vxe-table--body-wrapper
201
+ .vxe-body--row
202
+ .vxe-body--column
203
+ .vxe-cell
204
+ .vxe-cell--label:empty::before {
199
205
  content: '--';
200
206
  }
201
207
 
@@ -231,8 +237,8 @@
231
237
  }
232
238
  }
233
239
 
234
- /* 为没有wrapper的旧版本组件添加兼容样式 - 全局作用域 */
235
- /* 这些样式会应用于所有TablePro组件,无论是否有wrapper */
240
+ /* 为没有wrapper的旧版本组件添加兼容样式 */
241
+ /* 这些全局样式会被v3版本的wrapper样式覆盖,实现兼容 */
236
242
  .el-table--small {
237
243
  font-size: 14px;
238
244
  }
@@ -415,11 +421,6 @@
415
421
  font-size: 14px !important;
416
422
  }
417
423
 
418
- .vxe-header--row th,
419
- th.vxe-header--column {
420
- position: relative;
421
- font-weight: $--font-weight-primary;
422
- }
423
424
 
424
425
  .vxe-table--tooltip-wrapper {
425
426
  z-index: 9999 !important;
@@ -448,14 +449,34 @@ th.vxe-header--column {
448
449
  max-height: 100%;
449
450
  }
450
451
 
451
- .vxe-header--column {
452
- .vxe-cell {
453
- justify-content: center !important;
454
- }
455
- }
456
452
 
457
453
  .el-table th.el-table__cell > .cell {
458
454
  overflow: hidden;
459
455
  text-overflow: ellipsis;
460
456
  white-space: nowrap;
461
457
  }
458
+
459
+ /* TableSetSize 组件样式 - 仅在v2版本中引入 */
460
+ @import '../../components/TableSetSize/style.scss';
461
+
462
+ .el-table-set-size-item {
463
+ .icon-mini {
464
+ background-image: url('../../components/TableSetSize/small.png');
465
+ }
466
+
467
+ .icon-mini {
468
+ background-image: url('../../components/TableSetSize/mini.png');
469
+ }
470
+ }
471
+
472
+ @import '../../components/TableSetSize/style.scss';
473
+
474
+ .el-table-set-size-item {
475
+ .icon-mini {
476
+ background-image: url('../../components/TableSetSize/small.png');
477
+ }
478
+
479
+ .icon-mini {
480
+ background-image: url('../../components/TableSetSize/mini.png');
481
+ }
482
+ }