vft 0.0.145 → 0.0.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/es/app-components/upload/types.d.ts +1 -1
- package/es/app-components/upload/utils.d.ts +1 -1
- package/es/component.d.ts +1 -0
- package/es/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +7 -7
- package/es/components/autocomplete/index.d.ts +21 -21
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/backtop/index.d.ts +2 -2
- package/es/components/button/button.vue.d.ts +209 -0
- package/es/components/button/index.d.ts +593 -0
- package/es/components/button/use-button.d.ts +20 -0
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +9 -9
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/checkbox/checkbox.vue.d.ts +6 -6
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
- package/es/components/checkbox/composables/use-checkbox.d.ts +15 -0
- package/es/components/checkbox/index.d.ts +12 -12
- package/es/components/clamp/index.d.ts +2 -2
- package/es/components/color-picker/color-picker.vue.d.ts +4 -4
- package/es/components/color-picker/index.d.ts +4 -4
- package/es/components/config-provider/hooks/use-global-config.d.ts +31 -0
- package/es/components/container/container.vue.d.ts +2 -2
- package/es/components/container/index.d.ts +10 -10
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/panel-utils.d.ts +1 -1
- package/es/components/descriptions/description.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +9 -9
- package/es/components/dialog/index.d.ts +3 -3
- package/es/components/divider/divider.vue.d.ts +2 -2
- package/es/components/divider/index.d.ts +4 -4
- package/es/components/drawer/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +20 -20
- package/es/components/dropdown/index.d.ts +34 -34
- package/es/components/form/form-item.vue.d.ts +9 -9
- package/es/components/form/form.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/es/components/form/index.d.ts +35 -35
- package/es/components/image/index.d.ts +2 -2
- package/es/components/image-viewer/index.d.ts +1 -1
- package/es/components/index.js +113 -113
- package/es/components/input/index.d.ts +9 -9
- package/es/components/input/input.vue.d.ts +3 -3
- package/es/components/link/index.d.ts +2 -2
- package/es/components/loading/index.d.ts +48 -0
- package/es/components/loading/loading.d.ts +36 -0
- package/es/components/md-code-demo/index.d.ts +3 -3
- package/es/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/es/components/menu/index.d.ts +8 -2
- package/es/components/menu/menu.vue.d.ts +10 -2
- package/es/components/menu/menu.vue2.js +28 -26
- package/es/components/modal/index.d.ts +34 -34
- package/es/components/modal/modal.vue.d.ts +21 -21
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/popper/content.vue.d.ts +1 -1
- package/es/components/popper/index.d.ts +4 -4
- package/es/components/popper/popper.vue.d.ts +2 -2
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/radio/index.d.ts +20 -20
- package/es/components/radio/radio-group.vue.d.ts +6 -6
- package/es/components/radio/use-radio.d.ts +15 -0
- package/es/components/row/index.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +2 -2
- package/es/components/search/index.d.ts +1 -1
- package/es/components/select/index.d.ts +1660 -2
- package/es/components/select/select.vue.d.ts +830 -1
- package/es/components/select/useSelect.d.ts +7 -7
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/super-form/index.d.ts +16 -16
- package/es/components/super-form/super-form.vue.d.ts +9 -9
- package/es/components/super-form/super-form.vue2.js +40 -40
- package/es/components/switch/index.d.ts +12 -12
- package/es/components/switch/switch.vue.d.ts +12 -12
- package/es/components/table/index.d.ts +50 -50
- package/es/components/table/table.vue.d.ts +30 -30
- package/es/components/table/table.vue2.js +5 -1
- package/es/components/table/use/use-columns.d.ts +12 -12
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/tabs.vue.d.ts +2 -2
- package/es/components/time-picker/common/picker.vue.d.ts +1 -1
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/time-picker.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/tree/index.d.ts +22 -22
- package/es/components/tree/tree.vue.d.ts +6 -6
- package/es/components/upload/index.d.ts +9 -9
- package/es/components/upload/upload-content.vue.d.ts +6 -6
- package/es/components/upload/upload.vue.d.ts +6 -6
- package/es/components/upload/use-handlers.d.ts +23 -0
- package/es/components/virtual-list/builders/build-list.d.ts +3 -3
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/es/components/virtual-list/props.d.ts +2 -2
- package/es/defaults.d.ts +1 -1
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +113 -113
- package/es/make-installer.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.d.ts +1 -0
- package/lib/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/lib/app-components/upload/types.d.ts +1 -1
- package/lib/app-components/upload/utils.d.ts +1 -1
- package/lib/component.d.ts +1 -0
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +7 -7
- package/lib/components/autocomplete/index.d.ts +21 -21
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/backtop/index.d.ts +2 -2
- package/lib/components/button/button.vue.d.ts +209 -0
- package/lib/components/button/index.d.ts +593 -0
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +20 -0
- package/lib/components/carousel/carousel.vue.d.ts +9 -9
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/checkbox/checkbox.vue.d.ts +6 -6
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
- package/lib/components/checkbox/composables/use-checkbox.d.ts +15 -0
- package/lib/components/checkbox/index.d.ts +12 -12
- package/lib/components/clamp/index.d.ts +2 -2
- package/lib/components/color-picker/color-picker.vue.d.ts +4 -4
- package/lib/components/color-picker/index.d.ts +4 -4
- package/lib/components/config-provider/hooks/use-global-config.d.ts +31 -0
- package/lib/components/container/container.vue.d.ts +2 -2
- package/lib/components/container/index.d.ts +10 -10
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/date-picker/panel-utils.d.ts +1 -1
- package/lib/components/descriptions/description.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +3 -3
- package/lib/components/divider/divider.vue.d.ts +2 -2
- package/lib/components/divider/index.d.ts +4 -4
- package/lib/components/drawer/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +20 -20
- package/lib/components/dropdown/index.d.ts +34 -34
- package/lib/components/form/form-item.vue.d.ts +9 -9
- package/lib/components/form/form.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/lib/components/form/index.d.ts +35 -35
- package/lib/components/image/index.d.ts +2 -2
- package/lib/components/image-viewer/index.d.ts +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.d.ts +9 -9
- package/lib/components/input/input.vue.d.ts +3 -3
- package/lib/components/link/index.d.ts +2 -2
- package/lib/components/loading/index.d.ts +48 -0
- package/lib/components/loading/loading.d.ts +36 -0
- package/lib/components/md-code-demo/index.d.ts +3 -3
- package/lib/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/lib/components/menu/index.d.ts +8 -2
- package/lib/components/menu/menu.vue.d.ts +10 -2
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +34 -34
- package/lib/components/modal/modal.vue.d.ts +21 -21
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/popper/content.vue.d.ts +1 -1
- package/lib/components/popper/index.d.ts +4 -4
- package/lib/components/popper/popper.vue.d.ts +2 -2
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/radio/index.d.ts +20 -20
- package/lib/components/radio/radio-group.vue.d.ts +6 -6
- package/lib/components/radio/use-radio.d.ts +15 -0
- package/lib/components/row/index.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +2 -2
- package/lib/components/search/index.d.ts +1 -1
- package/lib/components/select/index.d.ts +1660 -2
- package/lib/components/select/select.vue.d.ts +830 -1
- package/lib/components/select/useSelect.d.ts +7 -7
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/super-form/index.d.ts +16 -16
- package/lib/components/super-form/super-form.vue.d.ts +9 -9
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/switch/index.d.ts +12 -12
- package/lib/components/switch/switch.vue.d.ts +12 -12
- package/lib/components/table/index.d.ts +50 -50
- package/lib/components/table/table.vue.d.ts +30 -30
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.d.ts +12 -12
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/tabs.vue.d.ts +2 -2
- package/lib/components/time-picker/common/picker.vue.d.ts +1 -1
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +2 -2
- package/lib/components/time-picker/time-picker.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/tree/index.d.ts +22 -22
- package/lib/components/tree/tree.vue.d.ts +6 -6
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/components/upload/upload-content.vue.d.ts +6 -6
- package/lib/components/upload/upload.vue.d.ts +6 -6
- package/lib/components/upload/use-handlers.d.ts +23 -0
- package/lib/components/virtual-list/builders/build-list.d.ts +3 -3
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/lib/components/virtual-list/props.d.ts +2 -2
- package/lib/defaults.d.ts +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/make-installer.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/plugin.d.ts +1 -0
- package/lib/style.css +1 -0
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
46
46
|
type: import("vue").PropType<string>;
|
|
47
47
|
};
|
|
48
48
|
resize: {
|
|
49
|
-
type: import("vue").PropType<"both" | "none" | "
|
|
49
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
50
50
|
};
|
|
51
51
|
autosize: {
|
|
52
52
|
type: import("vue").PropType<boolean | {
|
|
@@ -135,10 +135,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
135
135
|
input: (value: string) => void;
|
|
136
136
|
clear: () => void;
|
|
137
137
|
blur: (evt: FocusEvent) => void;
|
|
138
|
-
focus: (evt: FocusEvent) => void;
|
|
139
138
|
compositionend: (evt: CompositionEvent) => void;
|
|
140
139
|
compositionstart: (evt: CompositionEvent) => void;
|
|
141
140
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
141
|
+
focus: (evt: FocusEvent) => void;
|
|
142
142
|
keydown: (evt: Event | KeyboardEvent) => void;
|
|
143
143
|
mouseenter: (evt: MouseEvent) => void;
|
|
144
144
|
mouseleave: (evt: MouseEvent) => void;
|
|
@@ -162,7 +162,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
162
162
|
type: import("vue").PropType<string>;
|
|
163
163
|
};
|
|
164
164
|
resize: {
|
|
165
|
-
type: import("vue").PropType<"both" | "none" | "
|
|
165
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
166
166
|
};
|
|
167
167
|
autosize: {
|
|
168
168
|
type: import("vue").PropType<boolean | {
|
|
@@ -8,9 +8,8 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
|
|
|
8
8
|
readonly type?: "default" | "success" | "primary" | "warning" | "info" | "danger" | undefined;
|
|
9
9
|
ref?: import("vue").VNodeRef | undefined;
|
|
10
10
|
class?: unknown;
|
|
11
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
readonly underline?: boolean | undefined;
|
|
13
11
|
readonly icon?: import("..").IconProps | undefined;
|
|
12
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
14
13
|
readonly disabled?: boolean | undefined;
|
|
15
14
|
ref_for?: boolean | undefined;
|
|
16
15
|
ref_key?: string | undefined;
|
|
@@ -52,6 +51,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
|
|
|
52
51
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
53
52
|
[key: string]: any;
|
|
54
53
|
}>) => void)[] | undefined;
|
|
54
|
+
readonly underline?: boolean | undefined;
|
|
55
55
|
readonly route?: import("vue-router").RouteLocationRaw | import("@vft/router").WinOpenType | undefined;
|
|
56
56
|
readonly isReplace?: boolean | undefined;
|
|
57
57
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import { vLoading } from './directive';
|
|
3
|
+
import { Loading } from './service';
|
|
4
|
+
export declare const VftLoading: {
|
|
5
|
+
install(app: App): void;
|
|
6
|
+
directive: import("vue").Directive<import("./directive").VftLoading, import("./directive").LoadingBinding>;
|
|
7
|
+
service: (options?: Partial<Omit<import("./types").LoadingOptionsResolved, "target" | "parent"> & {
|
|
8
|
+
target: string | HTMLElement;
|
|
9
|
+
body: boolean;
|
|
10
|
+
}>) => {
|
|
11
|
+
setText: (text: string) => void;
|
|
12
|
+
removeVftLoadingChild: () => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
handleAfterLeave: () => void;
|
|
15
|
+
vm: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
16
|
+
$el: HTMLElement;
|
|
17
|
+
originalPosition: import("vue").Ref<string>;
|
|
18
|
+
originalOverflow: import("vue").Ref<string>;
|
|
19
|
+
visible: import("vue").Ref<boolean>;
|
|
20
|
+
parent: import("vue").Ref<import("./types").LoadingParentElement>;
|
|
21
|
+
background: import("vue").Ref<string>;
|
|
22
|
+
svg: import("vue").Ref<string>;
|
|
23
|
+
svgViewBox: import("vue").Ref<string>;
|
|
24
|
+
spinner: import("vue").Ref<string | boolean>;
|
|
25
|
+
img: import("vue").Ref<string | boolean>;
|
|
26
|
+
icon: import("vue").Ref<string | import("..").IconProps | {
|
|
27
|
+
icon: string;
|
|
28
|
+
size?: string | number | undefined;
|
|
29
|
+
color?: string | undefined;
|
|
30
|
+
rotate?: boolean | undefined;
|
|
31
|
+
rotateSpeed?: number | undefined;
|
|
32
|
+
pointer?: boolean | undefined;
|
|
33
|
+
hoverColor?: string | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
text: import("vue").Ref<string>;
|
|
36
|
+
fullscreen: import("vue").Ref<boolean>;
|
|
37
|
+
rotate: import("vue").Ref<string | boolean>;
|
|
38
|
+
lock: import("vue").Ref<boolean>;
|
|
39
|
+
customClass: import("vue").Ref<string>;
|
|
40
|
+
target: import("vue").Ref<HTMLElement>;
|
|
41
|
+
beforeClose?: import("vue").Ref<(() => boolean) | undefined> | undefined;
|
|
42
|
+
closed?: import("vue").Ref<(() => void) | undefined> | undefined;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default VftLoading;
|
|
46
|
+
export { vLoading as VftLoadingDirective, Loading as VftLoadingService, vLoading, };
|
|
47
|
+
export * from './directive';
|
|
48
|
+
export * from './types';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { LoadingOptionsResolved } from './types';
|
|
2
|
+
export declare function createLoadingComponent(options: LoadingOptionsResolved): {
|
|
3
|
+
setText: (text: string) => void;
|
|
4
|
+
removeVftLoadingChild: () => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
handleAfterLeave: () => void;
|
|
7
|
+
vm: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
8
|
+
$el: HTMLElement;
|
|
9
|
+
originalPosition: import("vue").Ref<string>;
|
|
10
|
+
originalOverflow: import("vue").Ref<string>;
|
|
11
|
+
visible: import("vue").Ref<boolean>;
|
|
12
|
+
parent: import("vue").Ref<import("./types").LoadingParentElement>;
|
|
13
|
+
background: import("vue").Ref<string>;
|
|
14
|
+
svg: import("vue").Ref<string>;
|
|
15
|
+
svgViewBox: import("vue").Ref<string>;
|
|
16
|
+
spinner: import("vue").Ref<string | boolean>;
|
|
17
|
+
img: import("vue").Ref<string | boolean>;
|
|
18
|
+
icon: import("vue").Ref<string | import("vft/es/components/icon").IconProps | {
|
|
19
|
+
icon: string;
|
|
20
|
+
size?: string | number | undefined;
|
|
21
|
+
color?: string | undefined;
|
|
22
|
+
rotate?: boolean | undefined;
|
|
23
|
+
rotateSpeed?: number | undefined;
|
|
24
|
+
pointer?: boolean | undefined;
|
|
25
|
+
hoverColor?: string | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
text: import("vue").Ref<string>;
|
|
28
|
+
fullscreen: import("vue").Ref<boolean>;
|
|
29
|
+
rotate: import("vue").Ref<string | boolean>;
|
|
30
|
+
lock: import("vue").Ref<boolean>;
|
|
31
|
+
customClass: import("vue").Ref<string>;
|
|
32
|
+
target: import("vue").Ref<HTMLElement>;
|
|
33
|
+
beforeClose?: import("vue").Ref<(() => boolean) | undefined> | undefined;
|
|
34
|
+
closed?: import("vue").Ref<(() => void) | undefined> | undefined;
|
|
35
|
+
};
|
|
36
|
+
export type LoadingInstance = ReturnType<typeof createLoadingComponent>;
|
|
@@ -4,7 +4,7 @@ export declare const VftMdCodeDemo: import("vft/es/utils").SFCWithInstall<import
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
type: {
|
|
7
|
-
type: import("vue").PropType<"
|
|
7
|
+
type: import("vue").PropType<"vue" | "normal" | "react">;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
title: {
|
|
@@ -27,7 +27,7 @@ export declare const VftMdCodeDemo: import("vft/es/utils").SFCWithInstall<import
|
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
29
|
type: {
|
|
30
|
-
type: import("vue").PropType<"
|
|
30
|
+
type: import("vue").PropType<"vue" | "normal" | "react">;
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
title: {
|
|
@@ -44,7 +44,7 @@ export declare const VftMdCodeDemo: import("vft/es/utils").SFCWithInstall<import
|
|
|
44
44
|
};
|
|
45
45
|
}>>, {
|
|
46
46
|
title: string;
|
|
47
|
-
type: "
|
|
47
|
+
type: "vue" | "normal" | "react";
|
|
48
48
|
config: string;
|
|
49
49
|
}, {}>> & Record<string, any>;
|
|
50
50
|
export default VftMdCodeDemo;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
* 代码演示类型
|
|
16
16
|
*/
|
|
17
17
|
type: {
|
|
18
|
-
type: PropType<"
|
|
18
|
+
type: PropType<"vue" | "normal" | "react">;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
* 代码演示类型
|
|
62
62
|
*/
|
|
63
63
|
type: {
|
|
64
|
-
type: PropType<"
|
|
64
|
+
type: PropType<"vue" | "normal" | "react">;
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
93
|
};
|
|
94
94
|
}>>, {
|
|
95
95
|
title: string;
|
|
96
|
-
type: "
|
|
96
|
+
type: "vue" | "normal" | "react";
|
|
97
97
|
config: string;
|
|
98
98
|
}, {}>;
|
|
99
99
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const VftMenu: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
mode: {
|
|
3
|
-
type: import("vue").PropType<"
|
|
3
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
4
4
|
};
|
|
5
5
|
defaultActive: {
|
|
6
6
|
type: import("vue").PropType<string>;
|
|
@@ -26,6 +26,9 @@ export declare const VftMenu: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
26
26
|
ellipsis: {
|
|
27
27
|
type: import("vue").PropType<boolean>;
|
|
28
28
|
};
|
|
29
|
+
horizontalMenuProps: {
|
|
30
|
+
type: import("vue").PropType<Partial<import("./sub-menu.vue").SubMenuProps>>;
|
|
31
|
+
};
|
|
29
32
|
}, {
|
|
30
33
|
open: (index: string) => void;
|
|
31
34
|
close: (index: string, indexPath: string[], e?: Event | undefined) => void;
|
|
@@ -48,7 +51,7 @@ export declare const VftMenu: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
48
51
|
}) => void;
|
|
49
52
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
53
|
mode: {
|
|
51
|
-
type: import("vue").PropType<"
|
|
54
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
52
55
|
};
|
|
53
56
|
defaultActive: {
|
|
54
57
|
type: import("vue").PropType<string>;
|
|
@@ -74,6 +77,9 @@ export declare const VftMenu: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
74
77
|
ellipsis: {
|
|
75
78
|
type: import("vue").PropType<boolean>;
|
|
76
79
|
};
|
|
80
|
+
horizontalMenuProps: {
|
|
81
|
+
type: import("vue").PropType<Partial<import("./sub-menu.vue").SubMenuProps>>;
|
|
82
|
+
};
|
|
77
83
|
}>> & {
|
|
78
84
|
onSelect?: ((menuItem: import("./types").MenuItemClicked, routerResult?: Promise<void | import("vue-router").NavigationFailure> | undefined) => any) | undefined;
|
|
79
85
|
onClose?: ((val: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { NavigationFailure } from 'vue-router';
|
|
2
|
+
import { type SubMenuProps } from './sub-menu.vue';
|
|
2
3
|
import type { MenuItemClicked } from './types';
|
|
3
4
|
export interface MenuProps {
|
|
4
5
|
/** 菜单展示模式 */
|
|
@@ -19,10 +20,11 @@ export interface MenuProps {
|
|
|
19
20
|
collapseTransition?: boolean;
|
|
20
21
|
/** 是否省略多余的子项(仅在横向模式生效) */
|
|
21
22
|
ellipsis?: boolean;
|
|
23
|
+
horizontalMenuProps?: Partial<SubMenuProps>;
|
|
22
24
|
}
|
|
23
25
|
declare const _default: import("vue").DefineComponent<{
|
|
24
26
|
mode: {
|
|
25
|
-
type: import("vue").PropType<"
|
|
27
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
26
28
|
};
|
|
27
29
|
defaultActive: {
|
|
28
30
|
type: import("vue").PropType<string>;
|
|
@@ -48,6 +50,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
50
|
ellipsis: {
|
|
49
51
|
type: import("vue").PropType<boolean>;
|
|
50
52
|
};
|
|
53
|
+
horizontalMenuProps: {
|
|
54
|
+
type: import("vue").PropType<Partial<SubMenuProps>>;
|
|
55
|
+
};
|
|
51
56
|
}, {
|
|
52
57
|
open: (index: string) => void;
|
|
53
58
|
close: (index: string, indexPath: string[], e?: Event | undefined) => void;
|
|
@@ -70,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
75
|
}) => void;
|
|
71
76
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
77
|
mode: {
|
|
73
|
-
type: import("vue").PropType<"
|
|
78
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
74
79
|
};
|
|
75
80
|
defaultActive: {
|
|
76
81
|
type: import("vue").PropType<string>;
|
|
@@ -96,6 +101,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
101
|
ellipsis: {
|
|
97
102
|
type: import("vue").PropType<boolean>;
|
|
98
103
|
};
|
|
104
|
+
horizontalMenuProps: {
|
|
105
|
+
type: import("vue").PropType<Partial<SubMenuProps>>;
|
|
106
|
+
};
|
|
99
107
|
}>> & {
|
|
100
108
|
onSelect?: ((menuItem: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
101
109
|
onClose?: ((val: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isNullOrUndefined as
|
|
1
|
+
import { defineComponent as E, useSlots as X, getCurrentInstance as Y, ref as s, computed as Z, watch as T, watchEffect as _, provide as A, reactive as ee, onMounted as te, h as I, nextTick as ne } from "vue";
|
|
2
|
+
import { isNullOrUndefined as B, isMobile as le } from "@vft/utils";
|
|
3
3
|
import { VftIcon as oe } from "../icon/index.js";
|
|
4
4
|
import { useResizeObserver as ue } from "@vueuse/core";
|
|
5
5
|
import "../../utils/ns-cover.js";
|
|
@@ -15,9 +15,9 @@ import re from "./utils/menu-bar.js";
|
|
|
15
15
|
const b = (
|
|
16
16
|
/* hoist-static*/
|
|
17
17
|
W("menu")
|
|
18
|
-
), de =
|
|
18
|
+
), de = E({
|
|
19
19
|
name: b.b()
|
|
20
|
-
}),
|
|
20
|
+
}), ze = /* @__PURE__ */ E({
|
|
21
21
|
...de,
|
|
22
22
|
props: {
|
|
23
23
|
mode: { default: "vertical" },
|
|
@@ -28,11 +28,12 @@ const b = (
|
|
|
28
28
|
menuTrigger: { default: "hover" },
|
|
29
29
|
collapse: { type: Boolean },
|
|
30
30
|
collapseTransition: { type: Boolean, default: !0 },
|
|
31
|
-
ellipsis: { type: Boolean, default: !0 }
|
|
31
|
+
ellipsis: { type: Boolean, default: !0 },
|
|
32
|
+
horizontalMenuProps: {}
|
|
32
33
|
},
|
|
33
34
|
emits: ["update:collapse", "sub-menu-click", "select", "close", "open"],
|
|
34
35
|
setup(n, { expose: V, emit: v }) {
|
|
35
|
-
const y = X(), h = Y(), O = h.appContext.config.globalProperties.$router, i = s(),
|
|
36
|
+
const y = X(), h = Y(), O = h.appContext.config.globalProperties.$router, i = s(), z = W("sub-menu"), f = s(-1), u = s(
|
|
36
37
|
n.defaultOpeneds && !n.collapse ? n.defaultOpeneds.slice(0) : []
|
|
37
38
|
), a = s(n.defaultActive), r = s({}), p = s({}), $ = Z(() => n.mode === "horizontal" || n.mode === "vertical" && n.collapse), q = () => {
|
|
38
39
|
const e = a.value && r.value[a.value];
|
|
@@ -58,7 +59,7 @@ const b = (
|
|
|
58
59
|
}, L = (e) => {
|
|
59
60
|
(n.mode === "horizontal" || n.collapse) && (u.value = []);
|
|
60
61
|
const { index: t, indexPath: l } = e;
|
|
61
|
-
if (!(
|
|
62
|
+
if (!(B(t) || B(l))) {
|
|
62
63
|
if (n.router && O) {
|
|
63
64
|
const o = e.route || t, m = O.push(o).then((c) => (c || (a.value = t), c));
|
|
64
65
|
v("select", e, m);
|
|
@@ -96,14 +97,14 @@ const b = (
|
|
|
96
97
|
}, t);
|
|
97
98
|
};
|
|
98
99
|
};
|
|
99
|
-
let
|
|
100
|
-
const
|
|
100
|
+
let k = !0;
|
|
101
|
+
const P = () => {
|
|
101
102
|
const e = () => {
|
|
102
103
|
f.value = -1, ne(() => {
|
|
103
104
|
f.value = U();
|
|
104
105
|
});
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
+
k ? e() : j(e)(), k = !1;
|
|
107
108
|
};
|
|
108
109
|
T(
|
|
109
110
|
() => n.defaultActive,
|
|
@@ -118,18 +119,18 @@ const b = (
|
|
|
118
119
|
), T(r.value, q);
|
|
119
120
|
let S;
|
|
120
121
|
_(() => {
|
|
121
|
-
n.mode === "horizontal" && n.ellipsis ? S = ue(i,
|
|
122
|
+
n.mode === "horizontal" && n.ellipsis ? S = ue(i, P).stop : S == null || S();
|
|
122
123
|
});
|
|
123
|
-
const
|
|
124
|
+
const N = (e) => {
|
|
124
125
|
p.value[e.index] = e;
|
|
125
|
-
},
|
|
126
|
+
}, R = (e) => {
|
|
126
127
|
delete p.value[e.index];
|
|
127
128
|
}, G = (e) => {
|
|
128
129
|
r.value[e.index] = e;
|
|
129
130
|
}, H = (e) => {
|
|
130
131
|
delete r.value[e.index];
|
|
131
|
-
},
|
|
132
|
-
return
|
|
132
|
+
}, w = s(!1), J = s(), K = s();
|
|
133
|
+
return A(
|
|
133
134
|
"rootMenu",
|
|
134
135
|
ee({
|
|
135
136
|
props: h.props,
|
|
@@ -138,21 +139,21 @@ const b = (
|
|
|
138
139
|
subMenus: p,
|
|
139
140
|
activeIndex: a,
|
|
140
141
|
isMenuPopup: $,
|
|
141
|
-
inSubMenu:
|
|
142
|
+
inSubMenu: w,
|
|
142
143
|
inSubMenuMouseEnterTimer: J,
|
|
143
144
|
inSubMenuMouseleaveTimer: K,
|
|
144
145
|
addMenuItem: G,
|
|
145
146
|
removeMenuItem: H,
|
|
146
|
-
addSubMenu:
|
|
147
|
-
removeSubMenu:
|
|
147
|
+
addSubMenu: N,
|
|
148
|
+
removeSubMenu: R,
|
|
148
149
|
openMenu: g,
|
|
149
150
|
closeMenu: C,
|
|
150
151
|
handleMenuItemClick: L,
|
|
151
152
|
handleSubMenuClick: D
|
|
152
153
|
})
|
|
153
|
-
),
|
|
154
|
-
addSubMenu:
|
|
155
|
-
removeSubMenu:
|
|
154
|
+
), A(`subMenu:${h.uid}`, {
|
|
155
|
+
addSubMenu: N,
|
|
156
|
+
removeSubMenu: R,
|
|
156
157
|
mouseInChild: s(!1),
|
|
157
158
|
// 表示当前是第一级的 sub-menu
|
|
158
159
|
level: 0
|
|
@@ -164,9 +165,9 @@ const b = (
|
|
|
164
165
|
t.forEach((l) => g(l, t));
|
|
165
166
|
},
|
|
166
167
|
close: C,
|
|
167
|
-
handleResize:
|
|
168
|
+
handleResize: P,
|
|
168
169
|
menu: i,
|
|
169
|
-
inSubMenu:
|
|
170
|
+
inSubMenu: w
|
|
170
171
|
}), () => {
|
|
171
172
|
var m;
|
|
172
173
|
let e = ((m = y.default) == null ? void 0 : m.call(y)) ?? [];
|
|
@@ -178,12 +179,13 @@ const b = (
|
|
|
178
179
|
ie,
|
|
179
180
|
{
|
|
180
181
|
index: "sub-menu-more",
|
|
181
|
-
class:
|
|
182
|
+
class: z.e("hide-arrow"),
|
|
183
|
+
...n.horizontalMenuProps
|
|
182
184
|
},
|
|
183
185
|
{
|
|
184
186
|
title: () => I(oe, {
|
|
185
187
|
icon: "icon-menu-line",
|
|
186
|
-
class:
|
|
188
|
+
class: z.e("icon-more")
|
|
187
189
|
}),
|
|
188
190
|
default: () => d
|
|
189
191
|
}
|
|
@@ -210,5 +212,5 @@ const b = (
|
|
|
210
212
|
}
|
|
211
213
|
});
|
|
212
214
|
export {
|
|
213
|
-
|
|
215
|
+
ze as default
|
|
214
216
|
};
|
|
@@ -6,11 +6,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
6
6
|
$props: {
|
|
7
7
|
title?: string | undefined;
|
|
8
8
|
center?: boolean | undefined;
|
|
9
|
-
draggable?: boolean | undefined;
|
|
10
9
|
fullscreen?: boolean | undefined;
|
|
11
10
|
modelValue?: boolean | undefined;
|
|
12
11
|
customClass?: string | undefined;
|
|
13
12
|
showClose?: boolean | undefined;
|
|
13
|
+
draggable?: boolean | undefined;
|
|
14
14
|
closeOnPressEscape?: boolean | undefined;
|
|
15
15
|
alignCenter?: boolean | undefined;
|
|
16
16
|
appendToBody?: boolean | undefined;
|
|
@@ -24,9 +24,9 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
24
|
showActionButtonGroup?: boolean | undefined;
|
|
25
25
|
showSubmitButton?: boolean | undefined;
|
|
26
26
|
showCancelButton?: boolean | undefined;
|
|
27
|
+
style?: unknown;
|
|
27
28
|
readonly top?: string | undefined;
|
|
28
29
|
readonly width?: string | number | undefined;
|
|
29
|
-
style?: unknown;
|
|
30
30
|
readonly zIndex?: number | undefined;
|
|
31
31
|
key?: string | number | symbol | undefined;
|
|
32
32
|
ref?: import("vue").VNodeRef | undefined;
|
|
@@ -93,12 +93,6 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
93
93
|
$emit: (event: string, ...args: any[]) => void;
|
|
94
94
|
$el: any;
|
|
95
95
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
-
top: {
|
|
97
|
-
type: import("vue").PropType<string>;
|
|
98
|
-
};
|
|
99
|
-
width: {
|
|
100
|
-
type: import("vue").PropType<string | number>;
|
|
101
|
-
};
|
|
102
96
|
title: {
|
|
103
97
|
type: import("vue").PropType<string>;
|
|
104
98
|
default: string;
|
|
@@ -107,13 +101,15 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
107
101
|
type: import("vue").PropType<boolean>;
|
|
108
102
|
default: boolean;
|
|
109
103
|
};
|
|
104
|
+
top: {
|
|
105
|
+
type: import("vue").PropType<string>;
|
|
106
|
+
};
|
|
107
|
+
width: {
|
|
108
|
+
type: import("vue").PropType<string | number>;
|
|
109
|
+
};
|
|
110
110
|
zIndex: {
|
|
111
111
|
type: import("vue").PropType<number>;
|
|
112
112
|
};
|
|
113
|
-
draggable: {
|
|
114
|
-
type: import("vue").PropType<boolean>;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
113
|
fullscreen: {
|
|
118
114
|
type: import("vue").PropType<boolean>;
|
|
119
115
|
default: boolean;
|
|
@@ -130,6 +126,10 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
130
126
|
type: import("vue").PropType<boolean>;
|
|
131
127
|
default: boolean;
|
|
132
128
|
};
|
|
129
|
+
draggable: {
|
|
130
|
+
type: import("vue").PropType<boolean>;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
133
|
closeOnPressEscape: {
|
|
134
134
|
type: import("vue").PropType<boolean>;
|
|
135
135
|
default: boolean;
|
|
@@ -208,11 +208,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
208
208
|
}, string, {
|
|
209
209
|
title: string;
|
|
210
210
|
center: boolean;
|
|
211
|
-
draggable: boolean;
|
|
212
211
|
fullscreen: boolean;
|
|
213
212
|
modelValue: boolean;
|
|
214
213
|
customClass: string;
|
|
215
214
|
showClose: boolean;
|
|
215
|
+
draggable: boolean;
|
|
216
216
|
closeOnPressEscape: boolean;
|
|
217
217
|
alignCenter: boolean;
|
|
218
218
|
appendToBody: boolean;
|
|
@@ -247,12 +247,6 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
247
247
|
$nextTick: typeof import("vue").nextTick;
|
|
248
248
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
249
249
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
250
|
-
top: {
|
|
251
|
-
type: import("vue").PropType<string>;
|
|
252
|
-
};
|
|
253
|
-
width: {
|
|
254
|
-
type: import("vue").PropType<string | number>;
|
|
255
|
-
};
|
|
256
250
|
title: {
|
|
257
251
|
type: import("vue").PropType<string>;
|
|
258
252
|
default: string;
|
|
@@ -261,13 +255,15 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
261
255
|
type: import("vue").PropType<boolean>;
|
|
262
256
|
default: boolean;
|
|
263
257
|
};
|
|
258
|
+
top: {
|
|
259
|
+
type: import("vue").PropType<string>;
|
|
260
|
+
};
|
|
261
|
+
width: {
|
|
262
|
+
type: import("vue").PropType<string | number>;
|
|
263
|
+
};
|
|
264
264
|
zIndex: {
|
|
265
265
|
type: import("vue").PropType<number>;
|
|
266
266
|
};
|
|
267
|
-
draggable: {
|
|
268
|
-
type: import("vue").PropType<boolean>;
|
|
269
|
-
default: boolean;
|
|
270
|
-
};
|
|
271
267
|
fullscreen: {
|
|
272
268
|
type: import("vue").PropType<boolean>;
|
|
273
269
|
default: boolean;
|
|
@@ -284,6 +280,10 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
284
280
|
type: import("vue").PropType<boolean>;
|
|
285
281
|
default: boolean;
|
|
286
282
|
};
|
|
283
|
+
draggable: {
|
|
284
|
+
type: import("vue").PropType<boolean>;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
287
|
closeOnPressEscape: {
|
|
288
288
|
type: import("vue").PropType<boolean>;
|
|
289
289
|
default: boolean;
|
|
@@ -362,12 +362,6 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
362
362
|
__isTeleport?: undefined;
|
|
363
363
|
__isSuspense?: undefined;
|
|
364
364
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
365
|
-
top: {
|
|
366
|
-
type: import("vue").PropType<string>;
|
|
367
|
-
};
|
|
368
|
-
width: {
|
|
369
|
-
type: import("vue").PropType<string | number>;
|
|
370
|
-
};
|
|
371
365
|
title: {
|
|
372
366
|
type: import("vue").PropType<string>;
|
|
373
367
|
default: string;
|
|
@@ -376,13 +370,15 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
376
370
|
type: import("vue").PropType<boolean>;
|
|
377
371
|
default: boolean;
|
|
378
372
|
};
|
|
373
|
+
top: {
|
|
374
|
+
type: import("vue").PropType<string>;
|
|
375
|
+
};
|
|
376
|
+
width: {
|
|
377
|
+
type: import("vue").PropType<string | number>;
|
|
378
|
+
};
|
|
379
379
|
zIndex: {
|
|
380
380
|
type: import("vue").PropType<number>;
|
|
381
381
|
};
|
|
382
|
-
draggable: {
|
|
383
|
-
type: import("vue").PropType<boolean>;
|
|
384
|
-
default: boolean;
|
|
385
|
-
};
|
|
386
382
|
fullscreen: {
|
|
387
383
|
type: import("vue").PropType<boolean>;
|
|
388
384
|
default: boolean;
|
|
@@ -399,6 +395,10 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
399
395
|
type: import("vue").PropType<boolean>;
|
|
400
396
|
default: boolean;
|
|
401
397
|
};
|
|
398
|
+
draggable: {
|
|
399
|
+
type: import("vue").PropType<boolean>;
|
|
400
|
+
default: boolean;
|
|
401
|
+
};
|
|
402
402
|
closeOnPressEscape: {
|
|
403
403
|
type: import("vue").PropType<boolean>;
|
|
404
404
|
default: boolean;
|
|
@@ -477,11 +477,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
477
477
|
}, string, {
|
|
478
478
|
title: string;
|
|
479
479
|
center: boolean;
|
|
480
|
-
draggable: boolean;
|
|
481
480
|
fullscreen: boolean;
|
|
482
481
|
modelValue: boolean;
|
|
483
482
|
customClass: string;
|
|
484
483
|
showClose: boolean;
|
|
484
|
+
draggable: boolean;
|
|
485
485
|
closeOnPressEscape: boolean;
|
|
486
486
|
alignCenter: boolean;
|
|
487
487
|
appendToBody: boolean;
|