rayyy-vue-table-components 1.2.36 → 1.2.37

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.
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
9
9
  slots: {
10
10
  button?(_: {}): any;
11
- 'customer-filter'?(_: {}): any;
11
+ customerFilter?(_: {}): any;
12
12
  };
13
13
  refs: {};
14
14
  rootEl: HTMLDivElement;
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
17
17
  firstButton?(_: {}): any;
18
18
  customButton?(_: {}): any;
19
19
  lastButton?(_: {}): any;
20
- filterDrawBody?(_: {}): any;
20
+ filterButton?(_: {}): any;
21
21
  main?(_: {}): any;
22
22
  };
23
23
  refs: {};
@@ -354,7 +354,7 @@ export interface SearchBarSlots {
354
354
  /** 按鈕 slot */
355
355
  button: () => VNode[]
356
356
  /** 自定義篩選 slot */
357
- 'customer-filter': () => VNode[]
357
+ customerFilter: () => VNode[]
358
358
  }
359
359
 
360
360
  // ==================== SearchableListPanel 組件類型 ====================
@@ -409,8 +409,8 @@ export interface SearchableListPanelSlots {
409
409
  customButton: () => VNode[]
410
410
  /** 最後一個按鈕 slot */
411
411
  lastButton: () => VNode[]
412
- /** 篩選抽屜內容 slot */
413
- filterDrawBody: () => VNode[]
412
+ /** 篩選按鈕 slot */
413
+ filterButton: () => VNode[]
414
414
  /** 主要內容 slot */
415
415
  main: () => VNode[]
416
416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayyy-vue-table-components",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "description": "Vue 3 + Element Plus 表格組件庫",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -47,7 +47,7 @@ const resetFilter = () => {
47
47
  class="search-input_inner"
48
48
  />
49
49
  </div>
50
- <slot name="customer-filter"> </slot>
50
+ <slot name="customerFilter"> </slot>
51
51
  </div>
52
52
  </div>
53
53
  </template>
@@ -66,8 +66,8 @@ const changePageSize = (limit: number) => {
66
66
  <slot name="customButton" v-if="showAllFeatures || showEdit"> </slot>
67
67
  <slot name="lastButton"></slot>
68
68
  </template>
69
- <template #filterBody>
70
- <slot name="filterDrawBody"></slot>
69
+ <template #customerFilter>
70
+ <slot name="filterButton"></slot>
71
71
  </template>
72
72
  </search-bar>
73
73
  </template>
@@ -355,7 +355,7 @@ export interface SearchBarSlots {
355
355
  /** 按鈕 slot */
356
356
  button: () => VNode[]
357
357
  /** 自定義篩選 slot */
358
- 'customer-filter': () => VNode[]
358
+ customerFilter: () => VNode[]
359
359
  }
360
360
 
361
361
  // ==================== SearchableListPanel 組件類型 ====================
@@ -410,8 +410,8 @@ export interface SearchableListPanelSlots {
410
410
  customButton: () => VNode[]
411
411
  /** 最後一個按鈕 slot */
412
412
  lastButton: () => VNode[]
413
- /** 篩選抽屜內容 slot */
414
- filterDrawBody: () => VNode[]
413
+ /** 篩選按鈕 slot */
414
+ filterButton: () => VNode[]
415
415
  /** 主要內容 slot */
416
416
  main: () => VNode[]
417
417
  }