@lx-frontend/wrap-element-ui 1.0.2-beta.1 → 1.0.2-beta.3

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.2-beta.1",
3
+ "version": "1.0.2-beta.3",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
@@ -75,16 +75,15 @@ export function useColumnHeaderOperation({ props, tableDomRef, sortFilterPopover
75
75
 
76
76
  const isColumnHeadActive = (column: IColumnConfig) => {
77
77
  return (
78
- column.filters && (Array.isArray(column.filters)
79
- ? (filteredValue.value[column.prop] as any[]).length
78
+ !!(column.filters && (Array.isArray(column.filters)
79
+ ? ((filteredValue.value[column.prop] as any[]).length)
80
80
  : column.filters.type === 'radio'
81
81
  ? filteredValue.value[column.prop]
82
- : (filteredValue.value[column.prop] as any[]).length)
83
- ) ||
84
- (
85
- column.search
86
- ? Array.isArray(column.search) && column.search?.some(v => searchValue.value[v.prop])
87
- : searchValue.value[column.prop]
82
+ : (filteredValue.value[column.prop] as any[]).length))
83
+ ) || (
84
+ !!(column.search
85
+ ? Array.isArray(column.search) && column.search?.some(v => searchValue.value[v.prop])
86
+ : searchValue.value[column.prop])
88
87
  ) ||
89
88
  sortingColumn.value?.prop === column.prop ||
90
89
  summaryList.value.includes(column.prop);
@@ -327,7 +327,7 @@
327
327
  padding-left: 20px;
328
328
  }
329
329
 
330
- &__content-right-input {
330
+ &__content-right-input.el-input {
331
331
  width: 140px;
332
332
  margin: 0 4px;
333
333
 
@@ -463,7 +463,7 @@
463
463
  }
464
464
  }
465
465
 
466
- &__sort-btn {
466
+ &__sort-btn.el-button {
467
467
  width: 112px;
468
468
  height: 28px;
469
469
  padding: 4px 42px;
@@ -513,18 +513,20 @@
513
513
 
514
514
  &__reset-btn,
515
515
  &__confirm-btn {
516
- width: 50px;
517
- height: 28px;
518
- margin-left: 10px;
519
- display: flex;
520
- justify-content: center;
521
- align-items: center;
522
- border-radius: 2px;
523
- font-size: 14px;
524
- font-weight: 400;
516
+ &.el-button {
517
+ width: 50px;
518
+ height: 28px;
519
+ margin-left: 10px;
520
+ display: flex;
521
+ justify-content: center;
522
+ align-items: center;
523
+ border-radius: 2px;
524
+ font-size: 14px;
525
+ font-weight: 400;
526
+ }
525
527
  }
526
528
 
527
- &__confirm-btn {
529
+ &__confirm-btn.el-button {
528
530
  background-color: @--theme-blue--;
529
531
  border-color: @--theme-blue--;
530
532
  }
@@ -612,7 +614,7 @@
612
614
  align-items: center;
613
615
  margin-top: 12px;
614
616
 
615
- & .el-pagination {
617
+ & .el-pagination.is-background {
616
618
  padding: 0;
617
619
 
618
620
  .el-pager li.number {