rayyy-vue-table-components 2.0.41 → 2.0.43

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.
@@ -31,7 +31,9 @@ declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNull
31
31
  } & Partial<{}>> & import('vue').PublicProps;
32
32
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
33
33
  attrs: any;
34
- slots: {};
34
+ slots: {
35
+ firstButton?(_: {}): any;
36
+ };
35
37
  emit: {
36
38
  (e: "open:transfer"): void;
37
39
  (e: "click:downloadExcelFile"): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayyy-vue-table-components",
3
- "version": "2.0.41",
3
+ "version": "2.0.43",
4
4
  "description": "Vue 3 + Element Plus 表格組件庫",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -9,7 +9,6 @@
9
9
  // Element Plus 對話框樣式覆蓋
10
10
  .el-dialog.base-dialog {
11
11
  @apply p-0;
12
- max-width: 500px;
13
12
 
14
13
  .el-dialog__header {
15
14
  @apply h-12 pt-2 bg-primary-15 border-b;
@@ -42,7 +42,6 @@ const resetFilter = () => {
42
42
  <base-input
43
43
  v-model="keyword"
44
44
  :placeholder="t('search.placeholder')"
45
- :show-word-limit="true"
46
45
  :show-search="true"
47
46
  @keydown.enter="doSearch"
48
47
  @update:clearValue="clearableClick"
@@ -66,6 +66,7 @@ const state = reactive({
66
66
  <div class="w-full mb-4">
67
67
  <div class="flex items-center h-12 bg-gray-200 px-1.5 rounded-t justify-end">
68
68
  <div class="flex items-center mr-4">
69
+ <slot name="firstButton"></slot>
69
70
  <div
70
71
  class="cursor-pointer text-text text-xl flex items-center justify-center hover:text-blue-600"
71
72
  @click="openTransferDialog"