@fangzhongya/fang-ui 0.0.40 → 0.0.42
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/dist/components/alert/index.scss +1 -1
- package/dist/components/array/index.scss +1 -1
- package/dist/components/box/index.scss +1 -1
- package/dist/components/box-adjust/index.scss +1 -1
- package/dist/components/box-local/index.scss +1 -1
- package/dist/components/box-mask/index.scss +1 -1
- package/dist/components/box-title/index.scss +1 -1
- package/dist/components/button/index.d.ts +3 -3
- package/dist/components/button/index.scss +1 -1
- package/dist/components/button/src/index.d.ts +6 -6
- package/dist/components/buttons/index.scss +1 -1
- package/dist/components/card/index.d.ts +3 -3
- package/dist/components/card/index.scss +1 -1
- package/dist/components/card/src/index.d.ts +6 -6
- package/dist/components/cascader/index.d.ts +49 -23
- package/dist/components/cascader/index.scss +1 -1
- package/dist/components/cascader/src/index.d.ts +96 -44
- package/dist/components/cascader-panel/index.d.ts +25 -13
- package/dist/components/cascader-panel/index.scss +1 -1
- package/dist/components/cascader-panel/src/index.d.ts +49 -25
- package/dist/components/cascaders/index.css +2 -3
- package/dist/components/cascaders/index.scss +3 -4
- package/dist/components/cascaders/style/index2.scss +1 -1
- package/dist/components/checkbox/index.scss +1 -1
- package/dist/components/checkbox-group/index.scss +1 -1
- package/dist/components/checks/index.scss +1 -1
- package/dist/components/collapse/index.scss +1 -1
- package/dist/components/collapse-item/index.scss +1 -1
- package/dist/components/color-picker/index.d.ts +20 -4
- package/dist/components/color-picker/index.scss +1 -1
- package/dist/components/color-picker/src/index.d.ts +40 -8
- package/dist/components/config-provider/index.d.ts +17 -5
- package/dist/components/config-provider/index.scss +1 -1
- package/dist/components/config-provider/src/index.d.ts +33 -9
- package/dist/components/date-picker/index.d.ts +12 -8
- package/dist/components/date-picker/index.scss +1 -1
- package/dist/components/date-picker/src/index.d.ts +24 -16
- package/dist/components/dates/index.scss +1 -1
- package/dist/components/dialog/index.d.ts +17 -5
- package/dist/components/dialog/index.scss +1 -1
- package/dist/components/dialog/src/index.d.ts +32 -8
- package/dist/components/dialogs/index.scss +1 -1
- package/dist/components/dialogs/src/index2.cjs +1 -1
- package/dist/components/dialogs/src/index2.js +1 -1
- package/dist/components/divider/index.scss +1 -1
- package/dist/components/drawer/index.d.ts +17 -5
- package/dist/components/drawer/index.scss +1 -1
- package/dist/components/drawer/src/index.d.ts +32 -8
- package/dist/components/dropdown/index.scss +1 -1
- package/dist/components/dropdown-item/index.scss +1 -1
- package/dist/components/dropdown-menu/index.scss +1 -1
- package/dist/components/edit/index.scss +1 -1
- package/dist/components/form/index.d.ts +14 -106
- package/dist/components/form/index.scss +1 -1
- package/dist/components/form-item/index.scss +1 -1
- package/dist/components/forms/index.d.ts +15 -411
- package/dist/components/forms/index.scss +1 -1
- package/dist/components/forms-div/index.scss +1 -1
- package/dist/components/forms-drag/index.d.ts +15 -488
- package/dist/components/forms-item/index.scss +1 -1
- package/dist/components/global-config/index.scss +1 -1
- package/dist/components/icon/index.scss +1 -1
- package/dist/components/icon/src/index2.cjs +6 -4
- package/dist/components/icon/src/index2.js +6 -4
- package/dist/components/image/index.scss +1 -1
- package/dist/components/index.scss +2 -2
- package/dist/components/index2.scss +2 -2
- package/dist/components/input/index.scss +1 -1
- package/dist/components/input-array/index.scss +1 -1
- package/dist/components/input-num/index.scss +1 -1
- package/dist/components/input-number/index.d.ts +14 -2
- package/dist/components/input-number/index.scss +1 -1
- package/dist/components/input-number/src/index.d.ts +28 -4
- package/dist/components/input-select/index.scss +1 -1
- package/dist/components/inputs/index.scss +1 -1
- package/dist/components/lists/index.scss +1 -1
- package/dist/components/menus/index.scss +1 -1
- package/dist/components/message/index.d.ts +2 -2
- package/dist/components/message/src/index.d.ts +2 -2
- package/dist/components/option/index.scss +1 -1
- package/dist/components/option-group/index.scss +1 -1
- package/dist/components/page/index.d.ts +21 -2738
- package/dist/components/page/index.scss +1 -1
- package/dist/components/pagination/index.scss +1 -1
- package/dist/components/paging/index.scss +1 -1
- package/dist/components/popconfirm/index.d.ts +3 -3
- package/dist/components/popconfirm/index.scss +1 -1
- package/dist/components/popconfirm/src/index.d.ts +6 -6
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popover/index.scss +1 -1
- package/dist/components/popover/src/index.d.ts +6 -6
- package/dist/components/popup/index.scss +1 -1
- package/dist/components/radio/index.scss +1 -1
- package/dist/components/radio-group/index.scss +1 -1
- package/dist/components/right-key/index.scss +1 -1
- package/dist/components/seamless-scroll/index.scss +1 -1
- package/dist/components/select/index.d.ts +63 -19
- package/dist/components/select/index.scss +1 -1
- package/dist/components/select/src/index.d.ts +125 -37
- package/dist/components/selects/index.scss +1 -1
- package/dist/components/slider/index.scss +1 -1
- package/dist/components/switch/index.scss +1 -1
- package/dist/components/switchs/index.scss +1 -1
- package/dist/components/tab-pane/index.scss +1 -1
- package/dist/components/tables/index.d.ts +28 -24
- package/dist/components/tables/index.scss +1 -1
- package/dist/components/tables/src/index.d.ts +56 -48
- package/dist/components/tablesp/index.d.ts +28 -24
- package/dist/components/tablesp/index.scss +1 -1
- package/dist/components/tablesp/src/index.d.ts +56 -48
- package/dist/components/tabless/index.d.ts +28 -24
- package/dist/components/tabless/index.scss +1 -1
- package/dist/components/tabless/src/index.d.ts +56 -48
- package/dist/components/tablesv/index.scss +1 -1
- package/dist/components/tablesvp/index.scss +1 -1
- package/dist/components/tabs/index.scss +1 -1
- package/dist/components/text/index.scss +1 -1
- package/dist/components/time-picker/index.d.ts +12 -8
- package/dist/components/time-picker/index.scss +1 -1
- package/dist/components/time-picker/src/index.d.ts +24 -16
- package/dist/components/time-select/index.d.ts +40 -10
- package/dist/components/time-select/index.scss +1 -1
- package/dist/components/time-select/src/index.d.ts +80 -20
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/tooltip/index.scss +1 -1
- package/dist/components/tooltip/src/index.d.ts +6 -6
- package/dist/components/tree/index.d.ts +4 -4
- package/dist/components/tree/index.scss +1 -1
- package/dist/components/tree/src/index.d.ts +8 -8
- package/dist/components/tree-select/index.scss +1 -1
- package/dist/components/tree-select-box/index.d.ts +4 -4
- package/dist/components/tree-select-box/src/index.d.ts +8 -8
- package/dist/components/upload/index.d.ts +3 -3
- package/dist/components/upload/index.scss +1 -1
- package/dist/components/upload/src/index.d.ts +6 -6
- package/dist/components/user-select/index.d.ts +4 -4
- package/dist/components/user-select/src/index.d.ts +8 -8
- package/dist/components/window/index.scss +1 -1
- package/dist/css/array.css +70 -0
- package/dist/css/box-adjust.css +80 -0
- package/dist/css/box-local.css +87 -0
- package/dist/css/box-mask.css +25 -0
- package/dist/css/box-title.css +37 -0
- package/dist/css/box.css +83 -0
- package/dist/css/buttons.css +17 -0
- package/dist/css/cascaders.css +22 -0
- package/dist/css/checks.css +21 -0
- package/dist/css/collapse-item.css +13 -0
- package/dist/css/dates-divide.css +7 -0
- package/dist/css/dates.css +19 -0
- package/dist/css/dialogs.css +34 -0
- package/dist/css/edit-float.css +30 -0
- package/dist/css/edit.css +31 -0
- package/dist/css/forms-div.css +21 -0
- package/dist/css/forms-items.css +36 -0
- package/dist/css/forms.css +104 -0
- package/dist/css/global-config.css +17 -0
- package/dist/css/history.css +14 -0
- package/dist/css/icon.css +27 -0
- package/dist/css/index.css +899 -0
- package/dist/css/input-array.css +52 -0
- package/dist/css/input-history.css +64 -0
- package/dist/css/input-num.css +17 -0
- package/dist/css/input-select.css +72 -0
- package/dist/css/inputs.css +17 -0
- package/dist/css/labels.css +7 -0
- package/dist/css/lists.css +96 -0
- package/dist/css/menus.css +21 -0
- package/dist/css/page/set-column.css +38 -0
- package/dist/css/page.css +293 -0
- package/dist/css/paging.css +29 -0
- package/dist/css/popup.css +96 -0
- package/dist/css/right-key.css +41 -0
- package/dist/css/seamless-scroll.css +30 -0
- package/dist/css/select-scroll.css +52 -0
- package/dist/css/selector.css +64 -0
- package/dist/css/selects.css +21 -0
- package/dist/css/switchs.css +17 -0
- package/dist/css/tables.css +33 -0
- package/dist/css/tablesp.css +71 -0
- package/dist/css/tabless.css +36 -0
- package/dist/css/tablesv.css +92 -0
- package/dist/css/tablesvp.css +130 -0
- package/dist/css/window.css +89 -0
- package/dist/icons/index.css +54 -52
- package/dist/icons/index.json +11 -11
- package/dist/index.css +2 -25
- package/package.json +12 -12
- package/dist/components/form/src/index.d.ts +0 -381
- package/dist/components/forms/src/index.d.ts +0 -681
- package/dist/components/forms-drag/src/index.d.ts +0 -879
- package/dist/components/page/src/index.d.ts +0 -5161
- /package/dist/components/{radio-group → collapse-item}/index.css +0 -0
- /package/dist/components/{css → scss}/common.scss +0 -0
- /package/dist/components/{css → scss}/config.scss +0 -0
- /package/dist/components/{css → scss}/function.scss +0 -0
- /package/dist/components/{css → scss}/mixins.scss +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, TransitionProps, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
4
|
-
import { DialogBeforeCloseFn } from 'element-plus/es/components/dialog';
|
|
4
|
+
import { DialogTransition, DialogBeforeCloseFn } from 'element-plus/es/components/dialog';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
6
|
declare const Drawer: SFCWithInstall<{
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
@@ -15,6 +15,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
15
15
|
readonly center: boolean;
|
|
16
16
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
17
17
|
readonly overflow: boolean;
|
|
18
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
18
19
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
19
20
|
readonly modelValue: boolean;
|
|
20
21
|
readonly ariaLevel: string;
|
|
@@ -32,21 +33,24 @@ declare const Drawer: SFCWithInstall<{
|
|
|
32
33
|
readonly headerAriaLevel: string;
|
|
33
34
|
readonly appendToBody: boolean;
|
|
34
35
|
readonly destroyOnClose: boolean;
|
|
36
|
+
readonly modalPenetrable: boolean;
|
|
35
37
|
readonly trapFocus: boolean;
|
|
36
38
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
39
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
38
40
|
}> & Omit<{
|
|
39
41
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
42
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
40
43
|
readonly title: string;
|
|
41
44
|
readonly modelValue: boolean;
|
|
45
|
+
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
42
46
|
readonly center: boolean;
|
|
43
47
|
readonly appendToBody: boolean;
|
|
44
|
-
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
45
48
|
readonly destroyOnClose: boolean;
|
|
46
49
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
50
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
48
51
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
49
52
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
53
|
+
readonly modalPenetrable: boolean;
|
|
50
54
|
readonly openDelay: number;
|
|
51
55
|
readonly closeDelay: number;
|
|
52
56
|
readonly trapFocus: boolean;
|
|
@@ -76,7 +80,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
76
80
|
onClosed?: (() => any) | undefined | undefined;
|
|
77
81
|
onOpenAutoFocus?: (() => any) | undefined | undefined;
|
|
78
82
|
onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
79
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "title" | "modelValue" | "
|
|
83
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "direction" | "withHeader" | "modalFade">;
|
|
80
84
|
$attrs: {
|
|
81
85
|
[x: string]: unknown;
|
|
82
86
|
};
|
|
@@ -110,6 +114,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
110
114
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
111
115
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
112
116
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
117
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
113
118
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
114
119
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
115
120
|
readonly top: {
|
|
@@ -136,6 +141,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
136
141
|
__epPropKey: true;
|
|
137
142
|
};
|
|
138
143
|
readonly trapFocus: BooleanConstructor;
|
|
144
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
139
145
|
readonly center: BooleanConstructor;
|
|
140
146
|
readonly alignCenter: BooleanConstructor;
|
|
141
147
|
readonly closeIcon: {
|
|
@@ -175,6 +181,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
175
181
|
readonly center: boolean;
|
|
176
182
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
177
183
|
readonly overflow: boolean;
|
|
184
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
178
185
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
179
186
|
readonly modelValue: boolean;
|
|
180
187
|
readonly ariaLevel: string;
|
|
@@ -192,6 +199,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
192
199
|
readonly headerAriaLevel: string;
|
|
193
200
|
readonly appendToBody: boolean;
|
|
194
201
|
readonly destroyOnClose: boolean;
|
|
202
|
+
readonly modalPenetrable: boolean;
|
|
195
203
|
readonly trapFocus: boolean;
|
|
196
204
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
205
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -220,6 +228,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
220
228
|
readonly center: boolean;
|
|
221
229
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
222
230
|
readonly overflow: boolean;
|
|
231
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
223
232
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
224
233
|
readonly modelValue: boolean;
|
|
225
234
|
readonly ariaLevel: string;
|
|
@@ -237,6 +246,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
237
246
|
readonly headerAriaLevel: string;
|
|
238
247
|
readonly appendToBody: boolean;
|
|
239
248
|
readonly destroyOnClose: boolean;
|
|
249
|
+
readonly modalPenetrable: boolean;
|
|
240
250
|
readonly trapFocus: boolean;
|
|
241
251
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
242
252
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -259,6 +269,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
259
269
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
260
270
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
261
271
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
272
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
262
273
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
263
274
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
264
275
|
readonly top: {
|
|
@@ -285,6 +296,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
285
296
|
__epPropKey: true;
|
|
286
297
|
};
|
|
287
298
|
readonly trapFocus: BooleanConstructor;
|
|
299
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
288
300
|
readonly center: BooleanConstructor;
|
|
289
301
|
readonly alignCenter: BooleanConstructor;
|
|
290
302
|
readonly closeIcon: {
|
|
@@ -307,7 +319,7 @@ declare const Drawer: SFCWithInstall<{
|
|
|
307
319
|
onClosed?: (() => any) | undefined;
|
|
308
320
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
309
321
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
310
|
-
}, "size" | "title" | "modelValue" | "
|
|
322
|
+
}, "size" | "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "handleClose" | "direction" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
311
323
|
handleClose: () => void;
|
|
312
324
|
afterEnter: () => void;
|
|
313
325
|
afterLeave: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, Ref, PublicProps } from 'vue';
|
|
1
|
+
import { ComponentInternalInstance, TransitionProps, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, Ref, PublicProps } from 'vue';
|
|
2
2
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
3
|
-
import { DialogBeforeCloseFn } from 'element-plus/es/components/dialog';
|
|
3
|
+
import { DialogTransition, DialogBeforeCloseFn } from 'element-plus/es/components/dialog';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
attrs: Partial<{}>;
|
|
@@ -14,6 +14,7 @@ declare function __VLS_template(): {
|
|
|
14
14
|
readonly center: boolean;
|
|
15
15
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
16
16
|
readonly overflow: boolean;
|
|
17
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
17
18
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
18
19
|
readonly modelValue: boolean;
|
|
19
20
|
readonly ariaLevel: string;
|
|
@@ -31,21 +32,24 @@ declare function __VLS_template(): {
|
|
|
31
32
|
readonly headerAriaLevel: string;
|
|
32
33
|
readonly appendToBody: boolean;
|
|
33
34
|
readonly destroyOnClose: boolean;
|
|
35
|
+
readonly modalPenetrable: boolean;
|
|
34
36
|
readonly trapFocus: boolean;
|
|
35
37
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
38
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
39
|
}> & Omit<{
|
|
38
40
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
41
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
39
42
|
readonly title: string;
|
|
40
43
|
readonly modelValue: boolean;
|
|
44
|
+
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
41
45
|
readonly center: boolean;
|
|
42
46
|
readonly appendToBody: boolean;
|
|
43
|
-
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
44
47
|
readonly destroyOnClose: boolean;
|
|
45
48
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
46
49
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
50
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
48
51
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
|
+
readonly modalPenetrable: boolean;
|
|
49
53
|
readonly openDelay: number;
|
|
50
54
|
readonly closeDelay: number;
|
|
51
55
|
readonly trapFocus: boolean;
|
|
@@ -75,7 +79,7 @@ declare function __VLS_template(): {
|
|
|
75
79
|
onClosed?: (() => any) | undefined | undefined;
|
|
76
80
|
onOpenAutoFocus?: (() => any) | undefined | undefined;
|
|
77
81
|
onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
78
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "title" | "modelValue" | "
|
|
82
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "direction" | "withHeader" | "modalFade">;
|
|
79
83
|
$attrs: {
|
|
80
84
|
[x: string]: unknown;
|
|
81
85
|
};
|
|
@@ -109,6 +113,7 @@ declare function __VLS_template(): {
|
|
|
109
113
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
114
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
111
115
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
116
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
112
117
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
113
118
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
114
119
|
readonly top: {
|
|
@@ -135,6 +140,7 @@ declare function __VLS_template(): {
|
|
|
135
140
|
__epPropKey: true;
|
|
136
141
|
};
|
|
137
142
|
readonly trapFocus: BooleanConstructor;
|
|
143
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
138
144
|
readonly center: BooleanConstructor;
|
|
139
145
|
readonly alignCenter: BooleanConstructor;
|
|
140
146
|
readonly closeIcon: {
|
|
@@ -174,6 +180,7 @@ declare function __VLS_template(): {
|
|
|
174
180
|
readonly center: boolean;
|
|
175
181
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
176
182
|
readonly overflow: boolean;
|
|
183
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
177
184
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
178
185
|
readonly modelValue: boolean;
|
|
179
186
|
readonly ariaLevel: string;
|
|
@@ -191,6 +198,7 @@ declare function __VLS_template(): {
|
|
|
191
198
|
readonly headerAriaLevel: string;
|
|
192
199
|
readonly appendToBody: boolean;
|
|
193
200
|
readonly destroyOnClose: boolean;
|
|
201
|
+
readonly modalPenetrable: boolean;
|
|
194
202
|
readonly trapFocus: boolean;
|
|
195
203
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
204
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -219,6 +227,7 @@ declare function __VLS_template(): {
|
|
|
219
227
|
readonly center: boolean;
|
|
220
228
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
221
229
|
readonly overflow: boolean;
|
|
230
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
222
231
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
223
232
|
readonly modelValue: boolean;
|
|
224
233
|
readonly ariaLevel: string;
|
|
@@ -236,6 +245,7 @@ declare function __VLS_template(): {
|
|
|
236
245
|
readonly headerAriaLevel: string;
|
|
237
246
|
readonly appendToBody: boolean;
|
|
238
247
|
readonly destroyOnClose: boolean;
|
|
248
|
+
readonly modalPenetrable: boolean;
|
|
239
249
|
readonly trapFocus: boolean;
|
|
240
250
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
241
251
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -258,6 +268,7 @@ declare function __VLS_template(): {
|
|
|
258
268
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
259
269
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
260
270
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
271
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
261
272
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
262
273
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
263
274
|
readonly top: {
|
|
@@ -284,6 +295,7 @@ declare function __VLS_template(): {
|
|
|
284
295
|
__epPropKey: true;
|
|
285
296
|
};
|
|
286
297
|
readonly trapFocus: BooleanConstructor;
|
|
298
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
287
299
|
readonly center: BooleanConstructor;
|
|
288
300
|
readonly alignCenter: BooleanConstructor;
|
|
289
301
|
readonly closeIcon: {
|
|
@@ -306,7 +318,7 @@ declare function __VLS_template(): {
|
|
|
306
318
|
onClosed?: (() => any) | undefined;
|
|
307
319
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
308
320
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
309
|
-
}, "size" | "title" | "modelValue" | "
|
|
321
|
+
}, "size" | "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "handleClose" | "direction" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
310
322
|
handleClose: () => void;
|
|
311
323
|
afterEnter: () => void;
|
|
312
324
|
afterLeave: () => void;
|
|
@@ -337,6 +349,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
337
349
|
readonly center: boolean;
|
|
338
350
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
339
351
|
readonly overflow: boolean;
|
|
352
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
340
353
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
341
354
|
readonly modelValue: boolean;
|
|
342
355
|
readonly ariaLevel: string;
|
|
@@ -354,21 +367,24 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
354
367
|
readonly headerAriaLevel: string;
|
|
355
368
|
readonly appendToBody: boolean;
|
|
356
369
|
readonly destroyOnClose: boolean;
|
|
370
|
+
readonly modalPenetrable: boolean;
|
|
357
371
|
readonly trapFocus: boolean;
|
|
358
372
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
359
373
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
360
374
|
}> & Omit<{
|
|
361
375
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
376
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
362
377
|
readonly title: string;
|
|
363
378
|
readonly modelValue: boolean;
|
|
379
|
+
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
364
380
|
readonly center: boolean;
|
|
365
381
|
readonly appendToBody: boolean;
|
|
366
|
-
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
367
382
|
readonly destroyOnClose: boolean;
|
|
368
383
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
369
384
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
370
385
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
371
386
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
387
|
+
readonly modalPenetrable: boolean;
|
|
372
388
|
readonly openDelay: number;
|
|
373
389
|
readonly closeDelay: number;
|
|
374
390
|
readonly trapFocus: boolean;
|
|
@@ -398,7 +414,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
398
414
|
onClosed?: (() => any) | undefined | undefined;
|
|
399
415
|
onOpenAutoFocus?: (() => any) | undefined | undefined;
|
|
400
416
|
onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
401
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "title" | "modelValue" | "
|
|
417
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "direction" | "withHeader" | "modalFade">;
|
|
402
418
|
$attrs: {
|
|
403
419
|
[x: string]: unknown;
|
|
404
420
|
};
|
|
@@ -432,6 +448,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
432
448
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
433
449
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
434
450
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
451
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
435
452
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
436
453
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
437
454
|
readonly top: {
|
|
@@ -458,6 +475,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
458
475
|
__epPropKey: true;
|
|
459
476
|
};
|
|
460
477
|
readonly trapFocus: BooleanConstructor;
|
|
478
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
461
479
|
readonly center: BooleanConstructor;
|
|
462
480
|
readonly alignCenter: BooleanConstructor;
|
|
463
481
|
readonly closeIcon: {
|
|
@@ -497,6 +515,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
497
515
|
readonly center: boolean;
|
|
498
516
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
499
517
|
readonly overflow: boolean;
|
|
518
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
500
519
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
501
520
|
readonly modelValue: boolean;
|
|
502
521
|
readonly ariaLevel: string;
|
|
@@ -514,6 +533,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
514
533
|
readonly headerAriaLevel: string;
|
|
515
534
|
readonly appendToBody: boolean;
|
|
516
535
|
readonly destroyOnClose: boolean;
|
|
536
|
+
readonly modalPenetrable: boolean;
|
|
517
537
|
readonly trapFocus: boolean;
|
|
518
538
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
519
539
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -542,6 +562,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
542
562
|
readonly center: boolean;
|
|
543
563
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
544
564
|
readonly overflow: boolean;
|
|
565
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
545
566
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
546
567
|
readonly modelValue: boolean;
|
|
547
568
|
readonly ariaLevel: string;
|
|
@@ -559,6 +580,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
559
580
|
readonly headerAriaLevel: string;
|
|
560
581
|
readonly appendToBody: boolean;
|
|
561
582
|
readonly destroyOnClose: boolean;
|
|
583
|
+
readonly modalPenetrable: boolean;
|
|
562
584
|
readonly trapFocus: boolean;
|
|
563
585
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
564
586
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -581,6 +603,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
581
603
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
582
604
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
583
605
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
606
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
584
607
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
585
608
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
586
609
|
readonly top: {
|
|
@@ -607,6 +630,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
607
630
|
__epPropKey: true;
|
|
608
631
|
};
|
|
609
632
|
readonly trapFocus: BooleanConstructor;
|
|
633
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
610
634
|
readonly center: BooleanConstructor;
|
|
611
635
|
readonly alignCenter: BooleanConstructor;
|
|
612
636
|
readonly closeIcon: {
|
|
@@ -629,7 +653,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
629
653
|
onClosed?: (() => any) | undefined;
|
|
630
654
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
631
655
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
632
|
-
}, "size" | "title" | "modelValue" | "
|
|
656
|
+
}, "size" | "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "handleClose" | "direction" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
633
657
|
handleClose: () => void;
|
|
634
658
|
afterEnter: () => void;
|
|
635
659
|
afterLeave: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType,
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, nextTick, WatchOptions, WatchStopHandle } from 'vue';
|
|
3
3
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
4
4
|
import { FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext } from 'element-plus/es/components/form';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -20,7 +20,7 @@ declare const Form: SFCWithInstall<{
|
|
|
20
20
|
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
21
21
|
readonly labelSuffix: string;
|
|
22
22
|
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
23
|
-
readonly scrollIntoViewOptions: EpPropMergeType<
|
|
23
|
+
readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
24
24
|
readonly statusIcon: boolean;
|
|
25
25
|
readonly hideRequiredAsterisk: boolean;
|
|
26
26
|
readonly scrollToError: boolean;
|
|
@@ -37,7 +37,7 @@ declare const Form: SFCWithInstall<{
|
|
|
37
37
|
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
38
38
|
readonly hideRequiredAsterisk: boolean;
|
|
39
39
|
readonly scrollToError: boolean;
|
|
40
|
-
readonly scrollIntoViewOptions: EpPropMergeType<
|
|
40
|
+
readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
41
41
|
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
42
42
|
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
|
|
43
43
|
readonly model?: Record<string, any> | undefined;
|
|
@@ -76,7 +76,7 @@ declare const Form: SFCWithInstall<{
|
|
|
76
76
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
77
77
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
78
78
|
readonly scrollToError: BooleanConstructor;
|
|
79
|
-
readonly scrollIntoViewOptions: EpPropFinalized<
|
|
79
|
+
readonly scrollIntoViewOptions: EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
|
|
80
80
|
readonly size: {
|
|
81
81
|
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
82
82
|
readonly required: false;
|
|
@@ -93,115 +93,23 @@ declare const Form: SFCWithInstall<{
|
|
|
93
93
|
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
|
94
94
|
scrollToField: (prop: FormItemProp) => void;
|
|
95
95
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
96
|
-
fields:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
readonly inline: boolean;
|
|
102
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
103
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
104
|
-
readonly inlineMessage: boolean;
|
|
105
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
106
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
107
|
-
readonly labelSuffix: string;
|
|
108
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
109
|
-
readonly scrollIntoViewOptions: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>;
|
|
110
|
-
readonly statusIcon: boolean;
|
|
111
|
-
readonly hideRequiredAsterisk: boolean;
|
|
112
|
-
readonly scrollToError: boolean;
|
|
113
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
114
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
115
|
-
created?: (() => void) | (() => void)[];
|
|
116
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
117
|
-
mounted?: (() => void) | (() => void)[];
|
|
118
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
119
|
-
updated?: (() => void) | (() => void)[];
|
|
120
|
-
activated?: (() => void) | (() => void)[];
|
|
121
|
-
deactivated?: (() => void) | (() => void)[];
|
|
122
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
123
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
124
|
-
destroyed?: (() => void) | (() => void)[];
|
|
125
|
-
unmounted?: (() => void) | (() => void)[];
|
|
126
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
127
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
128
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
96
|
+
fields: {
|
|
97
|
+
/*elided*/
|
|
98
|
+
}[];
|
|
99
|
+
}, /*... 14 more elided ...*/ any, ComponentProvideOptions> & {
|
|
100
|
+
/*elided*/
|
|
129
101
|
};
|
|
130
102
|
$forceUpdate: () => void;
|
|
131
103
|
$nextTick: nextTick;
|
|
132
104
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
133
|
-
} &
|
|
134
|
-
|
|
135
|
-
readonly inline: boolean;
|
|
136
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
137
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
138
|
-
readonly inlineMessage: boolean;
|
|
139
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
140
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
141
|
-
readonly labelSuffix: string;
|
|
142
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
143
|
-
readonly scrollIntoViewOptions: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>;
|
|
144
|
-
readonly statusIcon: boolean;
|
|
145
|
-
readonly hideRequiredAsterisk: boolean;
|
|
146
|
-
readonly scrollToError: boolean;
|
|
147
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
|
148
|
-
readonly model: ObjectConstructor;
|
|
149
|
-
readonly rules: {
|
|
150
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
151
|
-
readonly required: false;
|
|
152
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
-
__epPropKey: true;
|
|
154
|
-
};
|
|
155
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
156
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
157
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
158
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
159
|
-
readonly inline: BooleanConstructor;
|
|
160
|
-
readonly inlineMessage: BooleanConstructor;
|
|
161
|
-
readonly statusIcon: BooleanConstructor;
|
|
162
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
163
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
164
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
165
|
-
readonly scrollToError: BooleanConstructor;
|
|
166
|
-
readonly scrollIntoViewOptions: EpPropFinalized<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown, true, boolean>;
|
|
167
|
-
readonly size: {
|
|
168
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
169
|
-
readonly required: false;
|
|
170
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
171
|
-
__epPropKey: true;
|
|
172
|
-
};
|
|
173
|
-
readonly disabled: BooleanConstructor;
|
|
174
|
-
}>> & {
|
|
175
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
176
|
-
}, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef<{
|
|
177
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
178
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
179
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
180
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
|
181
|
-
scrollToField: (prop: FormItemProp) => void;
|
|
182
|
-
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
183
|
-
fields: Reactive< FormItemContext[]>;
|
|
184
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
185
|
-
$slots: {
|
|
186
|
-
default?(_: {}): any;
|
|
187
|
-
};
|
|
105
|
+
} & /*... 6 more elided ...*/ any & {
|
|
106
|
+
/*elided*/
|
|
188
107
|
}) | null;
|
|
189
|
-
},
|
|
190
|
-
P: {};
|
|
191
|
-
B: {};
|
|
192
|
-
D: {};
|
|
193
|
-
C: {};
|
|
194
|
-
M: {};
|
|
195
|
-
Defaults: {};
|
|
196
|
-
}, Readonly<{}> & Readonly<{}>, {
|
|
197
|
-
refEl: Ref<any, any>;
|
|
198
|
-
}, {}, {}, {}, {}>;
|
|
108
|
+
}, /*... 8 more elided ...*/ any, {}>;
|
|
199
109
|
__isFragment?: never;
|
|
200
110
|
__isTeleport?: never;
|
|
201
111
|
__isSuspense?: never;
|
|
202
|
-
} &
|
|
203
|
-
|
|
204
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
205
|
-
$slots: Partial<Record<string, (_: any) => any>>;
|
|
112
|
+
} & /*... 4 more elided ...*/ any & (new () => {
|
|
113
|
+
/*elided*/
|
|
206
114
|
})>;
|
|
207
115
|
export { Form, Form as default };
|