@lx-frontend/wrap-element-ui 1.0.15-beta.3 → 1.0.15-beta.4

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": "@lx-frontend/wrap-element-ui",
3
- "version": "1.0.15-beta.3",
3
+ "version": "1.0.15-beta.4",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
@@ -27,22 +27,21 @@
27
27
  {{ column.label }}
28
28
  </div>
29
29
 
30
- <BizSortFilter
31
- v-if="column.isColumnSortable"
32
- :column="column"
33
- :temp-sort-prop="tempSortProp"
34
- :temp-sort-type="tempSortType"
35
- @update:sort="(type, prop) => emit('update:sort', type, prop)"
36
- />
30
+ <div class="editable-table-sort-filter__item">
31
+ <BizSortFilter
32
+ v-if="column.isColumnSortable"
33
+ :column="column"
34
+ :temp-sort-prop="tempSortProp"
35
+ :temp-sort-type="tempSortType"
36
+ @update:sort="(type, prop) => emit('update:sort', type, prop)"
37
+ />
38
+ </div>
37
39
 
38
- <div
39
- v-if="column.filters"
40
- class="editable-table__filter-group"
41
- >
40
+ <template v-if="column.filters">
42
41
  <div
43
42
  v-for="(filterItem, index) in column.filters"
44
43
  :key="index"
45
- class="editable-table__filter-group__filter"
44
+ class="editable-table-sort-filter__item editable-table__filter-group__filter"
46
45
  >
47
46
  <component
48
47
  :is="componentMap[filterItem.type]"
@@ -51,11 +50,11 @@
51
50
  @update:tempFilteredValue="onUpdate"
52
51
  />
53
52
  </div>
54
- </div>
53
+ </template>
55
54
 
56
55
  <div
57
56
  v-if="column.summary"
58
- class="editable-table-sort-filter__filter"
57
+ class="editable-table-sort-filter__item editable-table-sort-filter__filter"
59
58
  >
60
59
  <div class="editable-table-sort-filter__filter-title">
61
60
  统计
@@ -387,9 +387,13 @@
387
387
  border-bottom: 1px solid #d6dbe3;
388
388
  }
389
389
 
390
+ &__item {
391
+ margin-top: 14px;
392
+ }
393
+
390
394
  &__filter,
391
395
  &__search {
392
- padding: 14px;
396
+ padding: 0 14px;
393
397
 
394
398
  .el-radio {
395
399
  width: 100%;
@@ -422,7 +426,6 @@
422
426
  }
423
427
 
424
428
  &__filter {
425
- padding-top: 0;
426
429
 
427
430
  .el-radio-group,
428
431
  .el-checkbox-group {
@@ -433,7 +436,7 @@
433
436
  }
434
437
 
435
438
  &__sort {
436
- padding: 14px;
439
+ padding: 0 14px;
437
440
  display: flex;
438
441
  flex-direction: column;
439
442
  gap: 8px;
@@ -454,12 +457,14 @@
454
457
  height: 32px;
455
458
  }
456
459
  }
460
+
457
461
  &__date-range {
458
462
  display: flex;
459
463
  flex-direction: column;
460
464
  gap: 12px;
461
465
 
462
- .el-date-editor.el-input, .el-date-editor.el-input__inner {
466
+ .el-date-editor.el-input,
467
+ .el-date-editor.el-input__inner {
463
468
  width: 100%;
464
469
  }
465
470
  }
@@ -543,6 +548,7 @@
543
548
  justify-content: flex-end;
544
549
  align-items: center;
545
550
  padding: 0 15px;
551
+ margin-top: 14px;
546
552
  }
547
553
 
548
554
  &__reset-btn,
@@ -802,4 +808,4 @@
802
808
  &::before {
803
809
  bottom: -4px;
804
810
  }
805
- }
811
+ }