ele-admin-plus 1.1.1-beta.1 → 1.1.2
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/es/ele-popconfirm/index.d.ts +38 -50
- package/es/ele-popconfirm/index.js +2 -2
- package/es/ele-popconfirm/props.d.ts +19 -25
- package/es/ele-popconfirm/style/index.js +2 -0
- package/lib/ele-popconfirm/index.d.ts +38 -50
- package/lib/ele-popconfirm/index.js +1 -1
- package/lib/ele-popconfirm/props.d.ts +19 -25
- package/lib/ele-popconfirm/style/index.js +2 -0
- package/package.json +1 -1
|
@@ -32,19 +32,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
33
33
|
titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
34
34
|
contentStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
40
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
41
|
-
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
-
popperStyle: {
|
|
43
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
35
|
+
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
36
|
+
effect: {
|
|
37
|
+
readonly default: "light";
|
|
38
|
+
readonly type: import("vue").PropType<string>;
|
|
44
39
|
readonly required: false;
|
|
45
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
-
__epPropKey: true;
|
|
41
|
+
readonly __epPropKey: true;
|
|
47
42
|
};
|
|
43
|
+
placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown, "bottom", boolean>;
|
|
44
|
+
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
45
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
48
46
|
popperClass: {
|
|
49
47
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
50
48
|
[x: string]: boolean;
|
|
@@ -139,35 +137,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
137
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
138
|
__epPropKey: true;
|
|
141
139
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
disabled: BooleanConstructor;
|
|
141
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
142
|
+
visible: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
143
|
+
transition: StringConstructor;
|
|
144
|
+
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
145
|
+
popperStyle: {
|
|
146
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
145
147
|
readonly required: false;
|
|
146
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
-
|
|
149
|
+
__epPropKey: true;
|
|
148
150
|
};
|
|
149
|
-
|
|
150
|
-
readonly default:
|
|
151
|
-
readonly type: import("vue").PropType<
|
|
151
|
+
enterable: {
|
|
152
|
+
readonly default: true;
|
|
153
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
152
154
|
readonly required: false;
|
|
153
155
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
156
|
readonly __epPropKey: true;
|
|
155
157
|
};
|
|
156
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
157
158
|
title: StringConstructor;
|
|
158
159
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
159
|
-
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
160
160
|
showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
161
161
|
hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
162
162
|
autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
163
163
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
164
164
|
persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
165
|
-
'onUpdate:visible': {
|
|
166
|
-
readonly type: import("vue").PropType<(visible: boolean) => void>;
|
|
167
|
-
readonly required: false;
|
|
168
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
-
__epPropKey: true;
|
|
170
|
-
};
|
|
171
165
|
}, {
|
|
172
166
|
popoverRef: import("vue").Ref<ElPopoverInstance | undefined>;
|
|
173
167
|
rootProps: import("vue").ComputedRef<PopoverProps>;
|
|
@@ -221,19 +215,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
215
|
bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
222
216
|
titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
223
217
|
contentStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
229
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
230
|
-
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
231
|
-
popperStyle: {
|
|
232
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
218
|
+
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
219
|
+
effect: {
|
|
220
|
+
readonly default: "light";
|
|
221
|
+
readonly type: import("vue").PropType<string>;
|
|
233
222
|
readonly required: false;
|
|
234
223
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
-
__epPropKey: true;
|
|
224
|
+
readonly __epPropKey: true;
|
|
236
225
|
};
|
|
226
|
+
placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown, "bottom", boolean>;
|
|
227
|
+
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
228
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
237
229
|
popperClass: {
|
|
238
230
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
239
231
|
[x: string]: boolean;
|
|
@@ -328,35 +320,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
328
320
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
329
321
|
__epPropKey: true;
|
|
330
322
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
323
|
+
disabled: BooleanConstructor;
|
|
324
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
325
|
+
visible: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
326
|
+
transition: StringConstructor;
|
|
327
|
+
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
328
|
+
popperStyle: {
|
|
329
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
334
330
|
readonly required: false;
|
|
335
331
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
336
|
-
|
|
332
|
+
__epPropKey: true;
|
|
337
333
|
};
|
|
338
|
-
|
|
339
|
-
readonly default:
|
|
340
|
-
readonly type: import("vue").PropType<
|
|
334
|
+
enterable: {
|
|
335
|
+
readonly default: true;
|
|
336
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
341
337
|
readonly required: false;
|
|
342
338
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
343
339
|
readonly __epPropKey: true;
|
|
344
340
|
};
|
|
345
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
346
341
|
title: StringConstructor;
|
|
347
342
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
348
|
-
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
349
343
|
showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
350
344
|
hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
351
345
|
autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
352
346
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
353
347
|
persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
354
|
-
'onUpdate:visible': {
|
|
355
|
-
readonly type: import("vue").PropType<(visible: boolean) => void>;
|
|
356
|
-
readonly required: false;
|
|
357
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
|
-
__epPropKey: true;
|
|
359
|
-
};
|
|
360
348
|
}>> & {
|
|
361
349
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
362
350
|
"onBefore-enter"?: (() => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, normalizeProps, resolveDynamicComponent, normalizeStyle, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { ElIcon, useLocale } from "element-plus";
|
|
2
|
+
import { ElIcon, ElButton, useLocale } from "element-plus";
|
|
3
3
|
import { QuestionFilled } from "@element-plus/icons-vue";
|
|
4
4
|
import { useLicense } from "../ele-config-provider/receiver";
|
|
5
5
|
import { omit } from "../utils/core";
|
|
@@ -7,7 +7,7 @@ import ElePopover from "../ele-popover/index";
|
|
|
7
7
|
import { popconfirmProps, popconfirmEmits } from "./props";
|
|
8
8
|
const _sfc_main = defineComponent({
|
|
9
9
|
name: "ElePopconfirm",
|
|
10
|
-
components: { QuestionFilled, ElIcon, ElePopover },
|
|
10
|
+
components: { QuestionFilled, ElIcon, ElButton, ElePopover },
|
|
11
11
|
props: popconfirmProps,
|
|
12
12
|
emits: popconfirmEmits,
|
|
13
13
|
setup(props, { emit }) {
|
|
@@ -35,19 +35,17 @@ export declare const popconfirmProps: {
|
|
|
35
35
|
bodyStyle: PropType<StyleValue>;
|
|
36
36
|
titleStyle: PropType<StyleValue>;
|
|
37
37
|
contentStyle: PropType<StyleValue>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
43
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
44
|
-
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
45
|
-
popperStyle: {
|
|
46
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
38
|
+
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
39
|
+
effect: {
|
|
40
|
+
readonly default: "light";
|
|
41
|
+
readonly type: PropType<string>;
|
|
47
42
|
readonly required: false;
|
|
48
43
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
|
-
__epPropKey: true;
|
|
44
|
+
readonly __epPropKey: true;
|
|
50
45
|
};
|
|
46
|
+
placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown, "bottom", boolean>;
|
|
47
|
+
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
48
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
51
49
|
popperClass: {
|
|
52
50
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
53
51
|
[x: string]: boolean;
|
|
@@ -142,35 +140,31 @@ export declare const popconfirmProps: {
|
|
|
142
140
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
141
|
__epPropKey: true;
|
|
144
142
|
};
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
disabled: BooleanConstructor;
|
|
144
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
145
|
+
visible: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
146
|
+
transition: StringConstructor;
|
|
147
|
+
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
148
|
+
popperStyle: {
|
|
149
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
148
150
|
readonly required: false;
|
|
149
151
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
-
|
|
152
|
+
__epPropKey: true;
|
|
151
153
|
};
|
|
152
|
-
|
|
153
|
-
readonly default:
|
|
154
|
-
readonly type: PropType<
|
|
154
|
+
enterable: {
|
|
155
|
+
readonly default: true;
|
|
156
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
155
157
|
readonly required: false;
|
|
156
158
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
157
159
|
readonly __epPropKey: true;
|
|
158
160
|
};
|
|
159
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
160
161
|
title: StringConstructor;
|
|
161
162
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
162
|
-
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
163
163
|
showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
164
164
|
hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
165
165
|
autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
166
166
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
167
167
|
persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
168
|
-
'onUpdate:visible': {
|
|
169
|
-
readonly type: PropType<(visible: boolean) => void>;
|
|
170
|
-
readonly required: false;
|
|
171
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
-
__epPropKey: true;
|
|
173
|
-
};
|
|
174
168
|
};
|
|
175
169
|
export type PopconfirmProps = ExtractPropTypes<typeof popconfirmProps>;
|
|
176
170
|
/**
|
|
@@ -32,19 +32,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
33
33
|
titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
34
34
|
contentStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
40
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
41
|
-
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
-
popperStyle: {
|
|
43
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
35
|
+
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
36
|
+
effect: {
|
|
37
|
+
readonly default: "light";
|
|
38
|
+
readonly type: import("vue").PropType<string>;
|
|
44
39
|
readonly required: false;
|
|
45
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
-
__epPropKey: true;
|
|
41
|
+
readonly __epPropKey: true;
|
|
47
42
|
};
|
|
43
|
+
placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown, "bottom", boolean>;
|
|
44
|
+
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
45
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
48
46
|
popperClass: {
|
|
49
47
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
50
48
|
[x: string]: boolean;
|
|
@@ -139,35 +137,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
137
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
138
|
__epPropKey: true;
|
|
141
139
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
disabled: BooleanConstructor;
|
|
141
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
142
|
+
visible: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
143
|
+
transition: StringConstructor;
|
|
144
|
+
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
145
|
+
popperStyle: {
|
|
146
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
145
147
|
readonly required: false;
|
|
146
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
-
|
|
149
|
+
__epPropKey: true;
|
|
148
150
|
};
|
|
149
|
-
|
|
150
|
-
readonly default:
|
|
151
|
-
readonly type: import("vue").PropType<
|
|
151
|
+
enterable: {
|
|
152
|
+
readonly default: true;
|
|
153
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
152
154
|
readonly required: false;
|
|
153
155
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
156
|
readonly __epPropKey: true;
|
|
155
157
|
};
|
|
156
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
157
158
|
title: StringConstructor;
|
|
158
159
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
159
|
-
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
160
160
|
showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
161
161
|
hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
162
162
|
autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
163
163
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
164
164
|
persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
165
|
-
'onUpdate:visible': {
|
|
166
|
-
readonly type: import("vue").PropType<(visible: boolean) => void>;
|
|
167
|
-
readonly required: false;
|
|
168
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
-
__epPropKey: true;
|
|
170
|
-
};
|
|
171
165
|
}, {
|
|
172
166
|
popoverRef: import("vue").Ref<ElPopoverInstance | undefined>;
|
|
173
167
|
rootProps: import("vue").ComputedRef<PopoverProps>;
|
|
@@ -221,19 +215,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
215
|
bodyStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
222
216
|
titleStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
223
217
|
contentStyle: import("vue").PropType<import("../ele-app/types").StyleValue>;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
229
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
230
|
-
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
231
|
-
popperStyle: {
|
|
232
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
218
|
+
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
219
|
+
effect: {
|
|
220
|
+
readonly default: "light";
|
|
221
|
+
readonly type: import("vue").PropType<string>;
|
|
233
222
|
readonly required: false;
|
|
234
223
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
-
__epPropKey: true;
|
|
224
|
+
readonly __epPropKey: true;
|
|
236
225
|
};
|
|
226
|
+
placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown, "bottom", boolean>;
|
|
227
|
+
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
228
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
237
229
|
popperClass: {
|
|
238
230
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
239
231
|
[x: string]: boolean;
|
|
@@ -328,35 +320,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
328
320
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
329
321
|
__epPropKey: true;
|
|
330
322
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
323
|
+
disabled: BooleanConstructor;
|
|
324
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
325
|
+
visible: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
326
|
+
transition: StringConstructor;
|
|
327
|
+
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
328
|
+
popperStyle: {
|
|
329
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
334
330
|
readonly required: false;
|
|
335
331
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
336
|
-
|
|
332
|
+
__epPropKey: true;
|
|
337
333
|
};
|
|
338
|
-
|
|
339
|
-
readonly default:
|
|
340
|
-
readonly type: import("vue").PropType<
|
|
334
|
+
enterable: {
|
|
335
|
+
readonly default: true;
|
|
336
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
341
337
|
readonly required: false;
|
|
342
338
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
343
339
|
readonly __epPropKey: true;
|
|
344
340
|
};
|
|
345
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
346
341
|
title: StringConstructor;
|
|
347
342
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
348
|
-
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
349
343
|
showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
350
344
|
hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
351
345
|
autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
352
346
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
353
347
|
persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
354
|
-
'onUpdate:visible': {
|
|
355
|
-
readonly type: import("vue").PropType<(visible: boolean) => void>;
|
|
356
|
-
readonly required: false;
|
|
357
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
|
-
__epPropKey: true;
|
|
359
|
-
};
|
|
360
348
|
}>> & {
|
|
361
349
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
362
350
|
"onBefore-enter"?: (() => any) | undefined;
|
|
@@ -8,7 +8,7 @@ const ElePopover = require("../ele-popover/index");
|
|
|
8
8
|
const props = require("./props");
|
|
9
9
|
const _sfc_main = vue.defineComponent({
|
|
10
10
|
name: "ElePopconfirm",
|
|
11
|
-
components: { QuestionFilled: iconsVue.QuestionFilled, ElIcon: elementPlus.ElIcon, ElePopover },
|
|
11
|
+
components: { QuestionFilled: iconsVue.QuestionFilled, ElIcon: elementPlus.ElIcon, ElButton: elementPlus.ElButton, ElePopover },
|
|
12
12
|
props: props.popconfirmProps,
|
|
13
13
|
emits: props.popconfirmEmits,
|
|
14
14
|
setup(props2, { emit }) {
|
|
@@ -35,19 +35,17 @@ export declare const popconfirmProps: {
|
|
|
35
35
|
bodyStyle: PropType<StyleValue>;
|
|
36
36
|
titleStyle: PropType<StyleValue>;
|
|
37
37
|
contentStyle: PropType<StyleValue>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
43
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
44
|
-
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
45
|
-
popperStyle: {
|
|
46
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
38
|
+
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
39
|
+
effect: {
|
|
40
|
+
readonly default: "light";
|
|
41
|
+
readonly type: PropType<string>;
|
|
47
42
|
readonly required: false;
|
|
48
43
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
|
-
__epPropKey: true;
|
|
44
|
+
readonly __epPropKey: true;
|
|
50
45
|
};
|
|
46
|
+
placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown, "bottom", boolean>;
|
|
47
|
+
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
48
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
51
49
|
popperClass: {
|
|
52
50
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
53
51
|
[x: string]: boolean;
|
|
@@ -142,35 +140,31 @@ export declare const popconfirmProps: {
|
|
|
142
140
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
141
|
__epPropKey: true;
|
|
144
142
|
};
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
disabled: BooleanConstructor;
|
|
144
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
145
|
+
visible: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
146
|
+
transition: StringConstructor;
|
|
147
|
+
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
148
|
+
popperStyle: {
|
|
149
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
148
150
|
readonly required: false;
|
|
149
151
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
-
|
|
152
|
+
__epPropKey: true;
|
|
151
153
|
};
|
|
152
|
-
|
|
153
|
-
readonly default:
|
|
154
|
-
readonly type: PropType<
|
|
154
|
+
enterable: {
|
|
155
|
+
readonly default: true;
|
|
156
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
155
157
|
readonly required: false;
|
|
156
158
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
157
159
|
readonly __epPropKey: true;
|
|
158
160
|
};
|
|
159
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
160
161
|
title: StringConstructor;
|
|
161
162
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
162
|
-
offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
163
163
|
showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
164
164
|
hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
165
165
|
autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
166
166
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
167
167
|
persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
168
|
-
'onUpdate:visible': {
|
|
169
|
-
readonly type: PropType<(visible: boolean) => void>;
|
|
170
|
-
readonly required: false;
|
|
171
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
-
__epPropKey: true;
|
|
173
|
-
};
|
|
174
168
|
};
|
|
175
169
|
export type PopconfirmProps = ExtractPropTypes<typeof popconfirmProps>;
|
|
176
170
|
/**
|