el-plus 0.0.91 → 0.0.93
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/CHANGELOG.md +12 -0
- package/dist/index.full.js +11 -10
- package/dist/index.full.min.js +4 -4
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +11 -10
- package/docs/components/select.md +105 -19
- package/es/components/buttons/index.d.ts +5 -31
- package/es/components/buttons/src/buttons-vue.d.ts +1 -1
- package/es/components/buttons/src/buttons.d.ts +3 -3
- package/es/components/buttons/src/buttons.mjs.map +1 -1
- package/es/components/header/index.d.ts +5 -31
- package/es/components/header/src/header.vue.d.ts +1 -1
- package/es/components/search-list-page/index.d.ts +32 -32
- package/es/components/search-list-page/src/search-list-page.d.ts +3 -2
- package/es/components/search-list-page/src/search-list-page.mjs +2 -2
- package/es/components/search-list-page/src/search-list-page.mjs.map +1 -1
- package/es/components/search-list-page/src/search-list-page.vue.d.ts +9 -9
- package/es/components/search-list-page/src/use-search-list-page.d.ts +9 -8
- package/es/components/search-list-page/src/use-search-list-page.mjs +7 -7
- package/es/components/search-list-page/src/use-search-list-page.mjs.map +1 -1
- package/es/components/table/index.d.ts +5 -5
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/table/src/use-table.d.ts +1 -1
- package/es/components/title/index.d.ts +5 -31
- package/es/components/title/src/title.vue.d.ts +1 -1
- package/es/package.json.mjs +1 -1
- package/lib/components/buttons/index.d.ts +5 -31
- package/lib/components/buttons/src/buttons-vue.d.ts +1 -1
- package/lib/components/buttons/src/buttons.d.ts +3 -3
- package/lib/components/buttons/src/buttons.js.map +1 -1
- package/lib/components/header/index.d.ts +5 -31
- package/lib/components/header/src/header.vue.d.ts +1 -1
- package/lib/components/search-list-page/index.d.ts +32 -32
- package/lib/components/search-list-page/src/search-list-page.d.ts +3 -2
- package/lib/components/search-list-page/src/search-list-page.js +2 -2
- package/lib/components/search-list-page/src/search-list-page.js.map +1 -1
- package/lib/components/search-list-page/src/search-list-page.vue.d.ts +9 -9
- package/lib/components/search-list-page/src/use-search-list-page.d.ts +9 -8
- package/lib/components/search-list-page/src/use-search-list-page.js +7 -7
- package/lib/components/search-list-page/src/use-search-list-page.js.map +1 -1
- package/lib/components/table/index.d.ts +5 -5
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/table/src/use-table.d.ts +1 -1
- package/lib/components/title/index.d.ts +5 -31
- package/lib/components/title/src/title.vue.d.ts +1 -1
- package/lib/package.json.js +1 -1
- package/package.json +1 -1
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! ElPlus v0.0.
|
|
1
|
+
/*! ElPlus v0.0.93 */
|
|
2
2
|
|
|
3
3
|
import { useAttrs, getCurrentInstance, inject, provide, ref, nextTick, defineComponent, computed, createVNode, Fragment, withDirectives, resolveComponent, mergeProps, resolveDirective, useTemplateRef, reactive, onBeforeUpdate, createTextVNode, h, mergeModels, useModel, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, withCtx, renderSlot, renderList, createBlock, vShow, toDisplayString, useSlots, watch, onMounted, createSlots, normalizeProps, guardReactiveProps, markRaw, Transition, shallowReactive, isVNode, render, createElementVNode, toRaw } from 'vue';
|
|
4
4
|
import { buttonProps, useLocale as useLocale$1, ElLoading, ElMessage, ElMessageBox, formProps as formProps$1, formEmits as formEmits$1, ElTooltip, formItemProps as formItemProps$1, ElFormItem, ElForm, ElRow, ElCol, inputProps as inputProps$1, inputEmits as inputEmits$1, configProviderContextKey, ElConfigProvider, ElDialog, ElButton, ElTable, ElIcon, selectProps as selectProps$1, selectEmits as selectEmits$1, ElPageHeader, datePickerProps, linkProps as linkProps$1, ElSkeleton } from 'element-plus';
|
|
@@ -2587,7 +2587,8 @@ const searchListPageProps = {
|
|
|
2587
2587
|
},
|
|
2588
2588
|
// 左侧按钮
|
|
2589
2589
|
leftButtons: {
|
|
2590
|
-
|
|
2590
|
+
type: Array,
|
|
2591
|
+
default: () => []
|
|
2591
2592
|
},
|
|
2592
2593
|
// 表格列
|
|
2593
2594
|
columns: {
|
|
@@ -2797,13 +2798,13 @@ const useButtons$1 = (props, { validate, resetFields, tableRef }) => {
|
|
|
2797
2798
|
const rows = tableRef.value.elTableRef.getSelectionRows();
|
|
2798
2799
|
clickFn(rows);
|
|
2799
2800
|
};
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
}
|
|
2801
|
+
}
|
|
2802
|
+
if (item.confirmBefore) {
|
|
2803
|
+
const confirmBeforeFn = item.confirmBefore;
|
|
2804
|
+
item.confirmBefore = async () => {
|
|
2805
|
+
const rows = tableRef.value.elTableRef.getSelectionRows();
|
|
2806
|
+
await confirmBeforeFn(rows);
|
|
2807
|
+
};
|
|
2807
2808
|
}
|
|
2808
2809
|
});
|
|
2809
2810
|
const buttonsProps = computed(() => {
|
|
@@ -4485,7 +4486,7 @@ var components = [
|
|
|
4485
4486
|
EpFooterInfo
|
|
4486
4487
|
];
|
|
4487
4488
|
|
|
4488
|
-
var version = "0.0.
|
|
4489
|
+
var version = "0.0.93";
|
|
4489
4490
|
|
|
4490
4491
|
var globalProperties = {
|
|
4491
4492
|
install(app) {
|
|
@@ -64,11 +64,11 @@ const formItemList = [
|
|
|
64
64
|
|
|
65
65
|
```tsx
|
|
66
66
|
{
|
|
67
|
-
prop: '
|
|
68
|
-
label: '
|
|
67
|
+
prop: 'testCode',
|
|
68
|
+
label: '测试',
|
|
69
69
|
type: 'EpSelect',
|
|
70
70
|
props: {
|
|
71
|
-
api: '/
|
|
71
|
+
api: '/test',
|
|
72
72
|
valueKey: 'code',
|
|
73
73
|
labelKey: 'name',
|
|
74
74
|
},
|
|
@@ -78,11 +78,11 @@ const formItemList = [
|
|
|
78
78
|
## 远程搜索
|
|
79
79
|
```tsx
|
|
80
80
|
{
|
|
81
|
-
prop: '
|
|
82
|
-
label: '
|
|
81
|
+
prop: 'testCode',
|
|
82
|
+
label: '测试',
|
|
83
83
|
type: 'EpSelect',
|
|
84
84
|
props: {
|
|
85
|
-
api: '/
|
|
85
|
+
api: '/test',
|
|
86
86
|
valueKey: 'code',
|
|
87
87
|
labelKey: 'name',
|
|
88
88
|
remote: true,
|
|
@@ -96,11 +96,11 @@ const formItemList = [
|
|
|
96
96
|
- 适用于有code,但配置为remote/lazy,导致没有name的情况
|
|
97
97
|
```tsx
|
|
98
98
|
{
|
|
99
|
-
prop: '
|
|
100
|
-
label: '
|
|
99
|
+
prop: 'testCode',
|
|
100
|
+
label: '测试',
|
|
101
101
|
type: 'EpSelect',
|
|
102
102
|
props: {
|
|
103
|
-
api: '/
|
|
103
|
+
api: '/test',
|
|
104
104
|
valueKey: 'code',
|
|
105
105
|
labelKey: 'name',
|
|
106
106
|
lazy: true,
|
|
@@ -113,11 +113,11 @@ const formItemList = [
|
|
|
113
113
|
|
|
114
114
|
```tsx
|
|
115
115
|
{
|
|
116
|
-
prop: '
|
|
117
|
-
label: '
|
|
116
|
+
prop: 'testCode',
|
|
117
|
+
label: '测试',
|
|
118
118
|
type: 'EpSelect',
|
|
119
119
|
props: {
|
|
120
|
-
api: '/
|
|
120
|
+
api: '/test',
|
|
121
121
|
valueKey: 'code',
|
|
122
122
|
labelKey: 'name',
|
|
123
123
|
formatLabel: (item) => `${item.name} (${item.code})`,
|
|
@@ -129,8 +129,8 @@ const formItemList = [
|
|
|
129
129
|
|
|
130
130
|
```tsx
|
|
131
131
|
{
|
|
132
|
-
prop: '
|
|
133
|
-
label: '
|
|
132
|
+
prop: 'testCode',
|
|
133
|
+
label: '测试',
|
|
134
134
|
type: 'EpSelect',
|
|
135
135
|
props: {
|
|
136
136
|
options: [],
|
|
@@ -138,7 +138,7 @@ const formItemList = [
|
|
|
138
138
|
onChange: (value, item) => {
|
|
139
139
|
// value: 选中的值
|
|
140
140
|
// item: 选中的选项对象
|
|
141
|
-
formData.
|
|
141
|
+
formData.testName = item?.name
|
|
142
142
|
},
|
|
143
143
|
}
|
|
144
144
|
```
|
|
@@ -149,15 +149,101 @@ const formItemList = [
|
|
|
149
149
|
|
|
150
150
|
```tsx
|
|
151
151
|
{
|
|
152
|
-
prop: '
|
|
153
|
-
label: '
|
|
152
|
+
prop: 'testCode',
|
|
153
|
+
label: '测试',
|
|
154
154
|
type: 'EpSelect',
|
|
155
155
|
props: {
|
|
156
|
-
api: '/
|
|
156
|
+
api: '/test',
|
|
157
157
|
valueKey: 'code',
|
|
158
158
|
labelKey: 'name',
|
|
159
159
|
codeInLabel: true, // 显示为 "name code"
|
|
160
|
-
// codeInLabel: '
|
|
160
|
+
// codeInLabel: 'testCode', // 显示为 "name testCode字段值"
|
|
161
161
|
},
|
|
162
162
|
}
|
|
163
163
|
```
|
|
164
|
+
|
|
165
|
+
## 常用场景
|
|
166
|
+
|
|
167
|
+
```tsx
|
|
168
|
+
// 公司 - 简单接口选择
|
|
169
|
+
{
|
|
170
|
+
prop: 'companyCode',
|
|
171
|
+
label: '公司',
|
|
172
|
+
type: 'EpSelect',
|
|
173
|
+
props: {
|
|
174
|
+
api: '/api-pms-order/api/common/queryAllCompany',
|
|
175
|
+
method: 'post',
|
|
176
|
+
labelKey: 'name',
|
|
177
|
+
valueKey: 'code',
|
|
178
|
+
},
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// 币种 - 简单接口选择
|
|
182
|
+
{
|
|
183
|
+
prop: 'currencyCode',
|
|
184
|
+
label: '币种',
|
|
185
|
+
type: 'EpSelect',
|
|
186
|
+
props: {
|
|
187
|
+
api: '/api-finance-base/api/finance/base/currency/queryList',
|
|
188
|
+
method: 'post',
|
|
189
|
+
labelKey: 'name',
|
|
190
|
+
valueKey: 'code',
|
|
191
|
+
},
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// 账套 - 简单接口选择
|
|
195
|
+
{
|
|
196
|
+
prop: 'accountSetCode',
|
|
197
|
+
label: '账套',
|
|
198
|
+
type: 'EpSelect',
|
|
199
|
+
props: {
|
|
200
|
+
api: '/api-globalization/api/accountSet/queryLatestVerAccountSet',
|
|
201
|
+
labelKey: 'accountSetName',
|
|
202
|
+
valueKey: 'accountSetCode',
|
|
203
|
+
},
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// 仓库 - 远程搜索(数据量大,输入关键词搜索)
|
|
207
|
+
{
|
|
208
|
+
prop: 'warehouseCode',
|
|
209
|
+
label: '仓库',
|
|
210
|
+
type: 'EpSelect',
|
|
211
|
+
props: {
|
|
212
|
+
api: '/api-wms/api/warehouse/search/list',
|
|
213
|
+
method: 'post',
|
|
214
|
+
remote: true,
|
|
215
|
+
filterable: true,
|
|
216
|
+
reqData: {
|
|
217
|
+
statusList: [1],
|
|
218
|
+
name: '$query',
|
|
219
|
+
pageNum: 1,
|
|
220
|
+
pageSize: 20,
|
|
221
|
+
},
|
|
222
|
+
labelKey: 'name',
|
|
223
|
+
valueKey: 'code',
|
|
224
|
+
},
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// 人员 - 远程搜索 + 自定义格式(同时展示编码和名称)
|
|
228
|
+
{
|
|
229
|
+
prop: 'personAccount',
|
|
230
|
+
label: '人员',
|
|
231
|
+
type: 'EpSelect',
|
|
232
|
+
props: {
|
|
233
|
+
api: '/api-u/api/saas/user/personInfoManage/queryPersonInfoPage',
|
|
234
|
+
method: 'post',
|
|
235
|
+
remote: true,
|
|
236
|
+
filterable: true,
|
|
237
|
+
reqData: {
|
|
238
|
+
page: 1,
|
|
239
|
+
pageSize: 20,
|
|
240
|
+
searchText: '$query',
|
|
241
|
+
},
|
|
242
|
+
labelKey: 'name',
|
|
243
|
+
valueKey: 'account',
|
|
244
|
+
formatLabel: (item) => `${item.account || ''} ${item.name || ''}`,
|
|
245
|
+
},
|
|
246
|
+
}
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
> `reqData` 中 `$query` 为占位符,组件会自动替换为用户输入的搜索关键词。
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
export declare const EpButtons: {
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
3
|
readonly list: {
|
|
4
|
-
readonly type: import("vue").PropType<
|
|
5
|
-
name: string;
|
|
6
|
-
prop: string;
|
|
7
|
-
permission: string;
|
|
8
|
-
onClick: (e: MouseEvent | import("el-plus/es").TableScope) => void;
|
|
9
|
-
scopedSlots: Record<string, () => import("vue").VNode>;
|
|
10
|
-
disabled: import("el-plus/es/utils").IDisabled;
|
|
11
|
-
confirm: boolean;
|
|
12
|
-
confirmText: string;
|
|
13
|
-
confirmBefore: () => Promise<void>;
|
|
14
|
-
} & {} & {
|
|
15
|
-
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
16
|
-
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
17
|
-
}>[]>;
|
|
4
|
+
readonly type: import("vue").PropType<import("./src/buttons").ButtonProps[]>;
|
|
18
5
|
readonly default: () => never[];
|
|
19
6
|
};
|
|
20
7
|
readonly size: {
|
|
@@ -64,7 +51,7 @@ export declare const EpButtons: {
|
|
|
64
51
|
disabled: import("el-plus/es/utils").IDisabled;
|
|
65
52
|
confirm: boolean;
|
|
66
53
|
confirmText: string;
|
|
67
|
-
confirmBefore: () => Promise<void>;
|
|
54
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es").TableScope) => Promise<void>;
|
|
68
55
|
} & {} & {
|
|
69
56
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
70
57
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -99,20 +86,7 @@ export declare const EpButtons: {
|
|
|
99
86
|
Defaults: {};
|
|
100
87
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
101
88
|
readonly list: {
|
|
102
|
-
readonly type: import("vue").PropType<
|
|
103
|
-
name: string;
|
|
104
|
-
prop: string;
|
|
105
|
-
permission: string;
|
|
106
|
-
onClick: (e: MouseEvent | import("el-plus/es").TableScope) => void;
|
|
107
|
-
scopedSlots: Record<string, () => import("vue").VNode>;
|
|
108
|
-
disabled: import("el-plus/es/utils").IDisabled;
|
|
109
|
-
confirm: boolean;
|
|
110
|
-
confirmText: string;
|
|
111
|
-
confirmBefore: () => Promise<void>;
|
|
112
|
-
} & {} & {
|
|
113
|
-
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
114
|
-
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
115
|
-
}>[]>;
|
|
89
|
+
readonly type: import("vue").PropType<import("./src/buttons").ButtonProps[]>;
|
|
116
90
|
readonly default: () => never[];
|
|
117
91
|
};
|
|
118
92
|
readonly size: {
|
|
@@ -162,7 +136,7 @@ export declare const EpButtons: {
|
|
|
162
136
|
disabled: import("el-plus/es/utils").IDisabled;
|
|
163
137
|
confirm: boolean;
|
|
164
138
|
confirmText: string;
|
|
165
|
-
confirmBefore: () => Promise<void>;
|
|
139
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es").TableScope) => Promise<void>;
|
|
166
140
|
} & {} & {
|
|
167
141
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
168
142
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -238,7 +212,7 @@ export declare const EpButtons: {
|
|
|
238
212
|
disabled: import("el-plus/es/utils").IDisabled;
|
|
239
213
|
confirm: boolean;
|
|
240
214
|
confirmText: string;
|
|
241
|
-
confirmBefore: () => Promise<void>;
|
|
215
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es").TableScope) => Promise<void>;
|
|
242
216
|
} & {} & {
|
|
243
217
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
244
218
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
93
|
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
94
94
|
confirm: boolean;
|
|
95
95
|
confirmText: string;
|
|
96
|
-
confirmBefore: () => Promise<void>;
|
|
96
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es").TableScope) => Promise<void>;
|
|
97
97
|
} & {} & {
|
|
98
98
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
99
99
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -2,16 +2,16 @@ import type { PropType, ExtractPublicPropTypes, VNode } from 'vue';
|
|
|
2
2
|
import { type ButtonProps as ElButtonProps } from 'element-plus';
|
|
3
3
|
import type { VisibleProps, IDisabled } from 'el-plus/es/utils/props';
|
|
4
4
|
import type { TableScope } from 'el-plus/es/components/table';
|
|
5
|
-
export type ButtonProps = Partial<Omit<ElButtonProps, 'disabled'> & {
|
|
5
|
+
export type ButtonProps<TClickArg = MouseEvent | TableScope> = Partial<Omit<ElButtonProps, 'disabled'> & {
|
|
6
6
|
name: string;
|
|
7
7
|
prop: string;
|
|
8
8
|
permission: string;
|
|
9
|
-
onClick: (e:
|
|
9
|
+
onClick: (e: TClickArg) => void;
|
|
10
10
|
scopedSlots: Record<string, () => VNode>;
|
|
11
11
|
disabled: IDisabled;
|
|
12
12
|
confirm: boolean;
|
|
13
13
|
confirmText: string;
|
|
14
|
-
confirmBefore: () => Promise<void>;
|
|
14
|
+
confirmBefore: (e: TClickArg) => Promise<void>;
|
|
15
15
|
} & VisibleProps>;
|
|
16
16
|
export declare const buttonsProps: {
|
|
17
17
|
readonly list: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.mjs","sources":["../../../../../../packages/components/buttons/src/buttons.ts"],"sourcesContent":["import type { PropType, ExtractPublicPropTypes, VNode } from 'vue'\nimport {\n buttonProps as elButtonProps,\n // buttonEmits as elButtonEmits,\n type ButtonProps as ElButtonProps,\n} from 'element-plus'\nimport { disabledProps } from '@el-plus/utils/props'\nimport type { VisibleProps, IDisabled } from '@el-plus/utils/props'\nimport type { TableScope } from '@el-plus/components/table'\n\nexport type ButtonProps = Partial<\n Omit<ElButtonProps, 'disabled'> & {\n name: string\n prop: string // 唯一标识\n permission: string // 权限\n onClick: (e:
|
|
1
|
+
{"version":3,"file":"buttons.mjs","sources":["../../../../../../packages/components/buttons/src/buttons.ts"],"sourcesContent":["import type { PropType, ExtractPublicPropTypes, VNode } from 'vue'\nimport {\n buttonProps as elButtonProps,\n // buttonEmits as elButtonEmits,\n type ButtonProps as ElButtonProps,\n} from 'element-plus'\nimport { disabledProps } from '@el-plus/utils/props'\nimport type { VisibleProps, IDisabled } from '@el-plus/utils/props'\nimport type { TableScope } from '@el-plus/components/table'\n\nexport type ButtonProps<TClickArg = MouseEvent | TableScope> = Partial<\n Omit<ElButtonProps, 'disabled'> & {\n name: string\n prop: string // 唯一标识\n permission: string // 权限\n onClick: (e: TClickArg) => void\n scopedSlots: Record<string, () => VNode>\n disabled: IDisabled\n confirm: boolean\n confirmText: string\n confirmBefore: (e: TClickArg) => Promise<void>\n } & VisibleProps\n>\nexport const buttonsProps = {\n ...elButtonProps,\n ...disabledProps,\n list: {\n type: Array as PropType<ButtonProps[]>,\n default: () => [],\n },\n size: {\n ...elButtonProps.size,\n default: 'small',\n },\n type: {\n ...elButtonProps.type,\n default: 'default',\n },\n} as const\nexport type ButtonsProps = ExtractPublicPropTypes<typeof buttonsProps>\n// export const buttonsEmits = {\n// ...elButtonEmits,\n// }\n// export type ButtonsEmits = typeof buttonsEmits\n// export const buttonsEmitsKeys = Object.keys(buttonsEmits)\n"],"names":["elButtonProps"],"mappings":";;;AAuBO,MAAM,YAAA,GAAe;AAAA,EAC1B,GAAGA,WAAA;AAAA,EACH,GAAG,aAAA;AAAA,EACH,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,KAAA;AAAA,IACN,OAAA,EAAS,MAAM;AAAC,GAClB;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,GAAGA,WAAA,CAAc,IAAA;AAAA,IACjB,OAAA,EAAS;AAAA,GACX;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,GAAGA,WAAA,CAAc,IAAA;AAAA,IACjB,OAAA,EAAS;AAAA;AAEb;;;;"}
|
|
@@ -8,20 +8,7 @@ export declare const EpHeader: {
|
|
|
8
8
|
readonly default: true;
|
|
9
9
|
};
|
|
10
10
|
readonly buttons: {
|
|
11
|
-
readonly type: import("vue").PropType<
|
|
12
|
-
name: string;
|
|
13
|
-
prop: string;
|
|
14
|
-
permission: string;
|
|
15
|
-
onClick: (e: MouseEvent | import("el-plus/es/index").TableScope) => void;
|
|
16
|
-
scopedSlots: Record<string, () => import("vue").VNode>;
|
|
17
|
-
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
18
|
-
confirm: boolean;
|
|
19
|
-
confirmText: string;
|
|
20
|
-
confirmBefore: () => Promise<void>;
|
|
21
|
-
} & {} & {
|
|
22
|
-
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
23
|
-
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
24
|
-
}>[]>;
|
|
11
|
+
readonly type: import("vue").PropType<import("el-plus/es/index").ButtonProps[]>;
|
|
25
12
|
readonly default: () => never[];
|
|
26
13
|
};
|
|
27
14
|
readonly name: StringConstructor;
|
|
@@ -51,7 +38,7 @@ export declare const EpHeader: {
|
|
|
51
38
|
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
52
39
|
confirm: boolean;
|
|
53
40
|
confirmText: string;
|
|
54
|
-
confirmBefore: () => Promise<void>;
|
|
41
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es/index").TableScope) => Promise<void>;
|
|
55
42
|
} & {} & {
|
|
56
43
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
57
44
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -98,20 +85,7 @@ export declare const EpHeader: {
|
|
|
98
85
|
readonly default: true;
|
|
99
86
|
};
|
|
100
87
|
readonly buttons: {
|
|
101
|
-
readonly type: import("vue").PropType<
|
|
102
|
-
name: string;
|
|
103
|
-
prop: string;
|
|
104
|
-
permission: string;
|
|
105
|
-
onClick: (e: MouseEvent | import("el-plus/es/index").TableScope) => void;
|
|
106
|
-
scopedSlots: Record<string, () => import("vue").VNode>;
|
|
107
|
-
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
108
|
-
confirm: boolean;
|
|
109
|
-
confirmText: string;
|
|
110
|
-
confirmBefore: () => Promise<void>;
|
|
111
|
-
} & {} & {
|
|
112
|
-
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
113
|
-
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
114
|
-
}>[]>;
|
|
88
|
+
readonly type: import("vue").PropType<import("el-plus/es/index").ButtonProps[]>;
|
|
115
89
|
readonly default: () => never[];
|
|
116
90
|
};
|
|
117
91
|
readonly name: StringConstructor;
|
|
@@ -141,7 +115,7 @@ export declare const EpHeader: {
|
|
|
141
115
|
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
142
116
|
confirm: boolean;
|
|
143
117
|
confirmText: string;
|
|
144
|
-
confirmBefore: () => Promise<void>;
|
|
118
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es/index").TableScope) => Promise<void>;
|
|
145
119
|
} & {} & {
|
|
146
120
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
147
121
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -215,7 +189,7 @@ export declare const EpHeader: {
|
|
|
215
189
|
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
216
190
|
confirm: boolean;
|
|
217
191
|
confirmText: string;
|
|
218
|
-
confirmBefore: () => Promise<void>;
|
|
192
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es/index").TableScope) => Promise<void>;
|
|
219
193
|
} & {} & {
|
|
220
194
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
221
195
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
66
66
|
disabled: import("el-plus/es/utils/props").IDisabled;
|
|
67
67
|
confirm: boolean;
|
|
68
68
|
confirmText: string;
|
|
69
|
-
confirmBefore: () => Promise<void>;
|
|
69
|
+
confirmBefore: (e: MouseEvent | import("el-plus/es").TableScope) => Promise<void>;
|
|
70
70
|
} & {} & {
|
|
71
71
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
72
72
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|