@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
|
@@ -10,10 +10,11 @@ declare function __VLS_template(): {
|
|
|
10
10
|
refEl: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
11
11
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
12
12
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
14
|
readonly showWeekNumber: BooleanConstructor;
|
|
14
15
|
readonly ariaLabel: StringConstructor;
|
|
15
16
|
readonly emptyValues: ArrayConstructor;
|
|
16
|
-
readonly valueOnClear: EpPropFinalized<
|
|
17
|
+
readonly valueOnClear: EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
|
|
17
18
|
readonly disabledDate: {
|
|
18
19
|
readonly type: PropType<Function>;
|
|
19
20
|
readonly required: false;
|
|
@@ -87,7 +88,7 @@ declare function __VLS_template(): {
|
|
|
87
88
|
readonly disabled: BooleanConstructor;
|
|
88
89
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
89
90
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
90
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown, "", boolean>;
|
|
91
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
91
92
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
92
93
|
readonly startPlaceholder: StringConstructor;
|
|
93
94
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -110,10 +111,10 @@ declare function __VLS_template(): {
|
|
|
110
111
|
readonly disabled: boolean;
|
|
111
112
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown>;
|
|
112
113
|
readonly placeholder: string;
|
|
113
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown>;
|
|
114
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
114
115
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
115
116
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
116
|
-
readonly valueOnClear: EpPropMergeType<
|
|
117
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
117
118
|
readonly readonly: boolean;
|
|
118
119
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
119
120
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -125,6 +126,7 @@ declare function __VLS_template(): {
|
|
|
125
126
|
readonly rangeSeparator: string;
|
|
126
127
|
readonly shortcuts: unknown[];
|
|
127
128
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
129
|
+
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
128
130
|
readonly showWeekNumber: boolean;
|
|
129
131
|
readonly arrowControl: boolean;
|
|
130
132
|
readonly unlinkPanels: boolean;
|
|
@@ -139,10 +141,11 @@ declare function __VLS_template(): {
|
|
|
139
141
|
}, Readonly< ExtractPropTypes<{
|
|
140
142
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
141
143
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
144
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
142
145
|
readonly showWeekNumber: BooleanConstructor;
|
|
143
146
|
readonly ariaLabel: StringConstructor;
|
|
144
147
|
readonly emptyValues: ArrayConstructor;
|
|
145
|
-
readonly valueOnClear: EpPropFinalized<
|
|
148
|
+
readonly valueOnClear: EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
|
|
146
149
|
readonly disabledDate: {
|
|
147
150
|
readonly type: PropType<Function>;
|
|
148
151
|
readonly required: false;
|
|
@@ -216,7 +219,7 @@ declare function __VLS_template(): {
|
|
|
216
219
|
readonly disabled: BooleanConstructor;
|
|
217
220
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
218
221
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
219
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown, "", boolean>;
|
|
222
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
220
223
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
221
224
|
readonly startPlaceholder: StringConstructor;
|
|
222
225
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -239,10 +242,10 @@ declare function __VLS_template(): {
|
|
|
239
242
|
readonly disabled: boolean;
|
|
240
243
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown>;
|
|
241
244
|
readonly placeholder: string;
|
|
242
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown>;
|
|
245
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
243
246
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
244
247
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
245
|
-
readonly valueOnClear: EpPropMergeType<
|
|
248
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
246
249
|
readonly readonly: boolean;
|
|
247
250
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
248
251
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -254,6 +257,7 @@ declare function __VLS_template(): {
|
|
|
254
257
|
readonly rangeSeparator: string;
|
|
255
258
|
readonly shortcuts: unknown[];
|
|
256
259
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
260
|
+
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
257
261
|
readonly showWeekNumber: boolean;
|
|
258
262
|
readonly arrowControl: boolean;
|
|
259
263
|
readonly unlinkPanels: boolean;
|
|
@@ -269,10 +273,11 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
269
273
|
refEl: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
270
274
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
271
275
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
276
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
272
277
|
readonly showWeekNumber: BooleanConstructor;
|
|
273
278
|
readonly ariaLabel: StringConstructor;
|
|
274
279
|
readonly emptyValues: ArrayConstructor;
|
|
275
|
-
readonly valueOnClear: EpPropFinalized<
|
|
280
|
+
readonly valueOnClear: EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
|
|
276
281
|
readonly disabledDate: {
|
|
277
282
|
readonly type: PropType<Function>;
|
|
278
283
|
readonly required: false;
|
|
@@ -346,7 +351,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
346
351
|
readonly disabled: BooleanConstructor;
|
|
347
352
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
348
353
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
349
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown, "", boolean>;
|
|
354
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
350
355
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
351
356
|
readonly startPlaceholder: StringConstructor;
|
|
352
357
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -369,10 +374,10 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
369
374
|
readonly disabled: boolean;
|
|
370
375
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown>;
|
|
371
376
|
readonly placeholder: string;
|
|
372
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown>;
|
|
377
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
373
378
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
374
379
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
375
|
-
readonly valueOnClear: EpPropMergeType<
|
|
380
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
376
381
|
readonly readonly: boolean;
|
|
377
382
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
378
383
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -384,6 +389,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
384
389
|
readonly rangeSeparator: string;
|
|
385
390
|
readonly shortcuts: unknown[];
|
|
386
391
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
392
|
+
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
387
393
|
readonly showWeekNumber: boolean;
|
|
388
394
|
readonly arrowControl: boolean;
|
|
389
395
|
readonly unlinkPanels: boolean;
|
|
@@ -398,10 +404,11 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
398
404
|
}, Readonly< ExtractPropTypes<{
|
|
399
405
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
400
406
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
407
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
401
408
|
readonly showWeekNumber: BooleanConstructor;
|
|
402
409
|
readonly ariaLabel: StringConstructor;
|
|
403
410
|
readonly emptyValues: ArrayConstructor;
|
|
404
|
-
readonly valueOnClear: EpPropFinalized<
|
|
411
|
+
readonly valueOnClear: EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
|
|
405
412
|
readonly disabledDate: {
|
|
406
413
|
readonly type: PropType<Function>;
|
|
407
414
|
readonly required: false;
|
|
@@ -475,7 +482,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
475
482
|
readonly disabled: BooleanConstructor;
|
|
476
483
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
477
484
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
478
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown, "", boolean>;
|
|
485
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
479
486
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
480
487
|
readonly startPlaceholder: StringConstructor;
|
|
481
488
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -498,10 +505,10 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
498
505
|
readonly disabled: boolean;
|
|
499
506
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown>;
|
|
500
507
|
readonly placeholder: string;
|
|
501
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown>;
|
|
508
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | [ DateModelType, DateModelType]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
502
509
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
503
510
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
504
|
-
readonly valueOnClear: EpPropMergeType<
|
|
511
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
505
512
|
readonly readonly: boolean;
|
|
506
513
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
507
514
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -513,6 +520,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
513
520
|
readonly rangeSeparator: string;
|
|
514
521
|
readonly shortcuts: unknown[];
|
|
515
522
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
523
|
+
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
516
524
|
readonly showWeekNumber: boolean;
|
|
517
525
|
readonly arrowControl: boolean;
|
|
518
526
|
readonly unlinkPanels: boolean;
|
|
@@ -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 Dialog: SFCWithInstall<{
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
@@ -14,6 +14,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
14
14
|
readonly title: string;
|
|
15
15
|
readonly center: boolean;
|
|
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 modelValue: boolean;
|
|
18
19
|
readonly ariaLevel: string;
|
|
19
20
|
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>;
|
|
@@ -30,18 +31,21 @@ declare const Dialog: SFCWithInstall<{
|
|
|
30
31
|
readonly headerAriaLevel: string;
|
|
31
32
|
readonly appendToBody: boolean;
|
|
32
33
|
readonly destroyOnClose: boolean;
|
|
34
|
+
readonly modalPenetrable: boolean;
|
|
33
35
|
readonly trapFocus: boolean;
|
|
34
36
|
}> & Omit<{
|
|
37
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
35
38
|
readonly title: string;
|
|
36
39
|
readonly modelValue: boolean;
|
|
40
|
+
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>;
|
|
37
41
|
readonly center: boolean;
|
|
38
42
|
readonly appendToBody: boolean;
|
|
39
|
-
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>;
|
|
40
43
|
readonly destroyOnClose: boolean;
|
|
41
44
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
42
45
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
46
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
44
47
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
48
|
+
readonly modalPenetrable: boolean;
|
|
45
49
|
readonly openDelay: number;
|
|
46
50
|
readonly closeDelay: number;
|
|
47
51
|
readonly trapFocus: boolean;
|
|
@@ -68,7 +72,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
68
72
|
onClosed?: (() => any) | undefined | undefined;
|
|
69
73
|
onOpenAutoFocus?: (() => any) | undefined | undefined;
|
|
70
74
|
onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
71
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "modelValue" | "
|
|
75
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel">;
|
|
72
76
|
$attrs: {
|
|
73
77
|
[x: string]: unknown;
|
|
74
78
|
};
|
|
@@ -97,6 +101,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
97
101
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
98
102
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
99
103
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
104
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
100
105
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
101
106
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
102
107
|
readonly top: {
|
|
@@ -124,6 +129,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
124
129
|
};
|
|
125
130
|
readonly trapFocus: BooleanConstructor;
|
|
126
131
|
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
132
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
127
133
|
readonly center: BooleanConstructor;
|
|
128
134
|
readonly alignCenter: BooleanConstructor;
|
|
129
135
|
readonly closeIcon: {
|
|
@@ -163,6 +169,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
163
169
|
readonly title: string;
|
|
164
170
|
readonly center: boolean;
|
|
165
171
|
readonly overflow: boolean;
|
|
172
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
166
173
|
readonly modelValue: boolean;
|
|
167
174
|
readonly ariaLevel: string;
|
|
168
175
|
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>;
|
|
@@ -179,6 +186,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
179
186
|
readonly headerAriaLevel: string;
|
|
180
187
|
readonly appendToBody: boolean;
|
|
181
188
|
readonly destroyOnClose: boolean;
|
|
189
|
+
readonly modalPenetrable: boolean;
|
|
182
190
|
readonly trapFocus: boolean;
|
|
183
191
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
184
192
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -204,6 +212,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
204
212
|
readonly title: string;
|
|
205
213
|
readonly center: boolean;
|
|
206
214
|
readonly overflow: boolean;
|
|
215
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
207
216
|
readonly modelValue: boolean;
|
|
208
217
|
readonly ariaLevel: string;
|
|
209
218
|
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>;
|
|
@@ -220,6 +229,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
220
229
|
readonly headerAriaLevel: string;
|
|
221
230
|
readonly appendToBody: boolean;
|
|
222
231
|
readonly destroyOnClose: boolean;
|
|
232
|
+
readonly modalPenetrable: boolean;
|
|
223
233
|
readonly trapFocus: boolean;
|
|
224
234
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
225
235
|
readonly appendToBody: BooleanConstructor;
|
|
@@ -235,6 +245,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
235
245
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
236
246
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
237
247
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
248
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
238
249
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
239
250
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
240
251
|
readonly top: {
|
|
@@ -262,6 +273,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
262
273
|
};
|
|
263
274
|
readonly trapFocus: BooleanConstructor;
|
|
264
275
|
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
276
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
265
277
|
readonly center: BooleanConstructor;
|
|
266
278
|
readonly alignCenter: BooleanConstructor;
|
|
267
279
|
readonly closeIcon: {
|
|
@@ -284,7 +296,7 @@ declare const Dialog: SFCWithInstall<{
|
|
|
284
296
|
onClosed?: (() => any) | undefined;
|
|
285
297
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
286
298
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
287
|
-
}, "title" | "modelValue" | "
|
|
299
|
+
}, "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "visible" | "dialogContentRef" | "resetPosition" | "handleClose"> & ShallowUnwrapRef<{
|
|
288
300
|
visible: Ref<boolean>;
|
|
289
301
|
dialogContentRef: Ref<any>;
|
|
290
302
|
resetPosition: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
1
|
+
import { ComponentInternalInstance, TransitionProps, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, 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<{}>;
|
|
@@ -13,6 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
readonly title: string;
|
|
14
14
|
readonly center: boolean;
|
|
15
15
|
readonly overflow: boolean;
|
|
16
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
16
17
|
readonly modelValue: boolean;
|
|
17
18
|
readonly ariaLevel: string;
|
|
18
19
|
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>;
|
|
@@ -29,18 +30,21 @@ declare function __VLS_template(): {
|
|
|
29
30
|
readonly headerAriaLevel: string;
|
|
30
31
|
readonly appendToBody: boolean;
|
|
31
32
|
readonly destroyOnClose: boolean;
|
|
33
|
+
readonly modalPenetrable: boolean;
|
|
32
34
|
readonly trapFocus: boolean;
|
|
33
35
|
}> & Omit<{
|
|
36
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
34
37
|
readonly title: string;
|
|
35
38
|
readonly modelValue: boolean;
|
|
39
|
+
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>;
|
|
36
40
|
readonly center: boolean;
|
|
37
41
|
readonly appendToBody: boolean;
|
|
38
|
-
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>;
|
|
39
42
|
readonly destroyOnClose: boolean;
|
|
40
43
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
41
44
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
42
45
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
46
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
|
+
readonly modalPenetrable: boolean;
|
|
44
48
|
readonly openDelay: number;
|
|
45
49
|
readonly closeDelay: number;
|
|
46
50
|
readonly trapFocus: boolean;
|
|
@@ -67,7 +71,7 @@ declare function __VLS_template(): {
|
|
|
67
71
|
onClosed?: (() => any) | undefined | undefined;
|
|
68
72
|
onOpenAutoFocus?: (() => any) | undefined | undefined;
|
|
69
73
|
onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
70
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "modelValue" | "
|
|
74
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel">;
|
|
71
75
|
$attrs: {
|
|
72
76
|
[x: string]: unknown;
|
|
73
77
|
};
|
|
@@ -96,6 +100,7 @@ declare function __VLS_template(): {
|
|
|
96
100
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
97
101
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
98
102
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
103
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
99
104
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
100
105
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
101
106
|
readonly top: {
|
|
@@ -123,6 +128,7 @@ declare function __VLS_template(): {
|
|
|
123
128
|
};
|
|
124
129
|
readonly trapFocus: BooleanConstructor;
|
|
125
130
|
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
131
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
126
132
|
readonly center: BooleanConstructor;
|
|
127
133
|
readonly alignCenter: BooleanConstructor;
|
|
128
134
|
readonly closeIcon: {
|
|
@@ -162,6 +168,7 @@ declare function __VLS_template(): {
|
|
|
162
168
|
readonly title: string;
|
|
163
169
|
readonly center: boolean;
|
|
164
170
|
readonly overflow: boolean;
|
|
171
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
165
172
|
readonly modelValue: boolean;
|
|
166
173
|
readonly ariaLevel: string;
|
|
167
174
|
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>;
|
|
@@ -178,6 +185,7 @@ declare function __VLS_template(): {
|
|
|
178
185
|
readonly headerAriaLevel: string;
|
|
179
186
|
readonly appendToBody: boolean;
|
|
180
187
|
readonly destroyOnClose: boolean;
|
|
188
|
+
readonly modalPenetrable: boolean;
|
|
181
189
|
readonly trapFocus: boolean;
|
|
182
190
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
183
191
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -203,6 +211,7 @@ declare function __VLS_template(): {
|
|
|
203
211
|
readonly title: string;
|
|
204
212
|
readonly center: boolean;
|
|
205
213
|
readonly overflow: boolean;
|
|
214
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
206
215
|
readonly modelValue: boolean;
|
|
207
216
|
readonly ariaLevel: string;
|
|
208
217
|
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>;
|
|
@@ -219,6 +228,7 @@ declare function __VLS_template(): {
|
|
|
219
228
|
readonly headerAriaLevel: string;
|
|
220
229
|
readonly appendToBody: boolean;
|
|
221
230
|
readonly destroyOnClose: boolean;
|
|
231
|
+
readonly modalPenetrable: boolean;
|
|
222
232
|
readonly trapFocus: boolean;
|
|
223
233
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
224
234
|
readonly appendToBody: BooleanConstructor;
|
|
@@ -234,6 +244,7 @@ declare function __VLS_template(): {
|
|
|
234
244
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
235
245
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
236
246
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
247
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
237
248
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
238
249
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
239
250
|
readonly top: {
|
|
@@ -261,6 +272,7 @@ declare function __VLS_template(): {
|
|
|
261
272
|
};
|
|
262
273
|
readonly trapFocus: BooleanConstructor;
|
|
263
274
|
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
275
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
264
276
|
readonly center: BooleanConstructor;
|
|
265
277
|
readonly alignCenter: BooleanConstructor;
|
|
266
278
|
readonly closeIcon: {
|
|
@@ -283,7 +295,7 @@ declare function __VLS_template(): {
|
|
|
283
295
|
onClosed?: (() => any) | undefined;
|
|
284
296
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
285
297
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
286
|
-
}, "title" | "modelValue" | "
|
|
298
|
+
}, "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "visible" | "dialogContentRef" | "resetPosition" | "handleClose"> & ShallowUnwrapRef<{
|
|
287
299
|
visible: Ref<boolean>;
|
|
288
300
|
dialogContentRef: Ref<any>;
|
|
289
301
|
resetPosition: () => void;
|
|
@@ -314,6 +326,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
314
326
|
readonly title: string;
|
|
315
327
|
readonly center: boolean;
|
|
316
328
|
readonly overflow: boolean;
|
|
329
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
317
330
|
readonly modelValue: boolean;
|
|
318
331
|
readonly ariaLevel: string;
|
|
319
332
|
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>;
|
|
@@ -330,18 +343,21 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
330
343
|
readonly headerAriaLevel: string;
|
|
331
344
|
readonly appendToBody: boolean;
|
|
332
345
|
readonly destroyOnClose: boolean;
|
|
346
|
+
readonly modalPenetrable: boolean;
|
|
333
347
|
readonly trapFocus: boolean;
|
|
334
348
|
}> & Omit<{
|
|
349
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
335
350
|
readonly title: string;
|
|
336
351
|
readonly modelValue: boolean;
|
|
352
|
+
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>;
|
|
337
353
|
readonly center: boolean;
|
|
338
354
|
readonly appendToBody: boolean;
|
|
339
|
-
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>;
|
|
340
355
|
readonly destroyOnClose: boolean;
|
|
341
356
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
342
357
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
343
358
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
344
359
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
360
|
+
readonly modalPenetrable: boolean;
|
|
345
361
|
readonly openDelay: number;
|
|
346
362
|
readonly closeDelay: number;
|
|
347
363
|
readonly trapFocus: boolean;
|
|
@@ -368,7 +384,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
368
384
|
onClosed?: (() => any) | undefined | undefined;
|
|
369
385
|
onOpenAutoFocus?: (() => any) | undefined | undefined;
|
|
370
386
|
onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
371
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "modelValue" | "
|
|
387
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel">;
|
|
372
388
|
$attrs: {
|
|
373
389
|
[x: string]: unknown;
|
|
374
390
|
};
|
|
@@ -397,6 +413,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
397
413
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
398
414
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
399
415
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
416
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
400
417
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
401
418
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
402
419
|
readonly top: {
|
|
@@ -424,6 +441,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
424
441
|
};
|
|
425
442
|
readonly trapFocus: BooleanConstructor;
|
|
426
443
|
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
444
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
427
445
|
readonly center: BooleanConstructor;
|
|
428
446
|
readonly alignCenter: BooleanConstructor;
|
|
429
447
|
readonly closeIcon: {
|
|
@@ -463,6 +481,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
463
481
|
readonly title: string;
|
|
464
482
|
readonly center: boolean;
|
|
465
483
|
readonly overflow: boolean;
|
|
484
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
466
485
|
readonly modelValue: boolean;
|
|
467
486
|
readonly ariaLevel: string;
|
|
468
487
|
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>;
|
|
@@ -479,6 +498,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
479
498
|
readonly headerAriaLevel: string;
|
|
480
499
|
readonly appendToBody: boolean;
|
|
481
500
|
readonly destroyOnClose: boolean;
|
|
501
|
+
readonly modalPenetrable: boolean;
|
|
482
502
|
readonly trapFocus: boolean;
|
|
483
503
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
484
504
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -504,6 +524,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
504
524
|
readonly title: string;
|
|
505
525
|
readonly center: boolean;
|
|
506
526
|
readonly overflow: boolean;
|
|
527
|
+
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
507
528
|
readonly modelValue: boolean;
|
|
508
529
|
readonly ariaLevel: string;
|
|
509
530
|
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>;
|
|
@@ -520,6 +541,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
520
541
|
readonly headerAriaLevel: string;
|
|
521
542
|
readonly appendToBody: boolean;
|
|
522
543
|
readonly destroyOnClose: boolean;
|
|
544
|
+
readonly modalPenetrable: boolean;
|
|
523
545
|
readonly trapFocus: boolean;
|
|
524
546
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
525
547
|
readonly appendToBody: BooleanConstructor;
|
|
@@ -535,6 +557,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
535
557
|
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
536
558
|
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
537
559
|
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
560
|
+
readonly modalPenetrable: BooleanConstructor;
|
|
538
561
|
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
539
562
|
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
540
563
|
readonly top: {
|
|
@@ -562,6 +585,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
562
585
|
};
|
|
563
586
|
readonly trapFocus: BooleanConstructor;
|
|
564
587
|
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
588
|
+
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, "dialog-fade", boolean>;
|
|
565
589
|
readonly center: BooleanConstructor;
|
|
566
590
|
readonly alignCenter: BooleanConstructor;
|
|
567
591
|
readonly closeIcon: {
|
|
@@ -584,7 +608,7 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
584
608
|
onClosed?: (() => any) | undefined;
|
|
585
609
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
586
610
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
587
|
-
}, "title" | "modelValue" | "
|
|
611
|
+
}, "transition" | "title" | "modelValue" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "visible" | "dialogContentRef" | "resetPosition" | "handleClose"> & ShallowUnwrapRef<{
|
|
588
612
|
visible: Ref<boolean>;
|
|
589
613
|
dialogContentRef: Ref<any>;
|
|
590
614
|
resetPosition: () => void;
|
|
@@ -10,7 +10,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
10
10
|
props: data.dataProps,
|
|
11
11
|
emits: data.dataEmits,
|
|
12
12
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13
|
-
const cs = index.useCssName("
|
|
13
|
+
const cs = index.useCssName("dialogs");
|
|
14
14
|
const props = __props;
|
|
15
15
|
const attrs = vue.useAttrs();
|
|
16
16
|
const slots = vue.useSlots();
|
|
@@ -8,7 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
props: dataProps,
|
|
9
9
|
emits: dataEmits,
|
|
10
10
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11
|
-
const cs = useCssName("
|
|
11
|
+
const cs = useCssName("dialogs");
|
|
12
12
|
const props = __props;
|
|
13
13
|
const attrs = useAttrs();
|
|
14
14
|
const slots = useSlots();
|