kui-vue 6.0.0 → 6.2.0
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/AI.en-US.md +21 -1
- package/AI.md +37 -1
- package/ai/behaviors.json +82 -0
- package/ai/evals/README.md +59 -0
- package/ai/evals/cases.json +91 -24
- package/ai/evals/config.json +4 -0
- package/ai/evals/evaluate.mjs +267 -0
- package/ai/evals/run.mjs +118 -0
- package/ai/kui-components.json +7894 -955
- package/ai/kui-components.schema.json +67 -0
- package/ai/mcp.mjs +210 -166
- package/ai/skills/kui-vue/SKILL.md +2 -1
- package/ai/skills/kui-vue/references/mcp.md +12 -12
- package/ai/templates/form.vue +49 -0
- package/ai/templates/index.json +23 -0
- package/ai/templates/modal-editor.vue +59 -0
- package/ai/templates/table.vue +63 -0
- package/ai/validate.mjs +225 -0
- package/dist/index.js +2 -2
- package/es/index.js +2180 -2179
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +37 -31
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +2 -2
- package/types/affix/index.d.ts +5 -5
- package/types/alert/index.d.ts +9 -7
- package/types/anchor/anchor-link.d.ts +4 -4
- package/types/anchor/anchor.d.ts +6 -6
- package/types/anchor/context.d.ts +1 -1
- package/types/anchor/index.d.ts +4 -4
- package/types/auto-complete/index.d.ts +7 -11
- package/types/avatar/avatar-group.d.ts +5 -5
- package/types/avatar/avatar.d.ts +6 -6
- package/types/avatar/context.d.ts +1 -1
- package/types/avatar/index.d.ts +4 -4
- package/types/back-top/index.d.ts +5 -5
- package/types/badge/index.d.ts +6 -6
- package/types/base/transition.d.ts +1 -1
- package/types/breadcrumb/breadcrumb-item.d.ts +6 -6
- package/types/breadcrumb/breadcrumb.d.ts +4 -4
- package/types/breadcrumb/index.d.ts +4 -4
- package/types/button/button-group.d.ts +5 -5
- package/types/button/button.d.ts +4 -4
- package/types/button/index.d.ts +4 -4
- package/types/calendar/index.d.ts +8 -5
- package/types/card/card-meta.d.ts +4 -4
- package/types/card/index.d.ts +8 -8
- package/types/carousel/carousel-item.d.ts +1 -1
- package/types/carousel/carousel.d.ts +20 -7
- package/types/carousel/index.d.ts +3 -3
- package/types/cascader/index.d.ts +41 -32
- package/types/cascader/types.d.ts +7 -3
- package/types/check-card/check-card-group.d.ts +10 -7
- package/types/check-card/check-card.d.ts +21 -8
- package/types/check-card/context.d.ts +3 -3
- package/types/check-card/index.d.ts +5 -5
- package/types/check-card/types.d.ts +2 -2
- package/types/checkbox/checkbox-group.d.ts +20 -7
- package/types/checkbox/checkbox.d.ts +4 -3
- package/types/checkbox/index.d.ts +5 -5
- package/types/collapse/collapse-panel.d.ts +6 -6
- package/types/collapse/collapse.d.ts +7 -7
- package/types/collapse/context.d.ts +1 -1
- package/types/collapse/index.d.ts +4 -4
- package/types/color-picker/alpha.d.ts +10 -6
- package/types/color-picker/hue.d.ts +7 -4
- package/types/color-picker/index.d.ts +34 -20
- package/types/color-picker/mode.d.ts +9 -9
- package/types/color-picker/paint.d.ts +9 -6
- package/types/color-picker/presets.d.ts +7 -7
- package/types/color-picker/types.d.ts +1 -0
- package/types/components.d.ts +166 -161
- package/types/config/context.d.ts +2 -2
- package/types/config/index.d.ts +7 -7
- package/types/config/popup.d.ts +1 -1
- package/types/const/types.d.ts +2 -2
- package/types/date-picker/index.d.ts +49 -19
- package/types/descriptions/descriptions-item.d.ts +5 -5
- package/types/descriptions/descriptions.d.ts +5 -5
- package/types/descriptions/index.d.ts +4 -2
- package/types/directives/outsiteclick.d.ts +1 -1
- package/types/directives/resize.d.ts +1 -1
- package/types/directives/scroll.d.ts +1 -1
- package/types/divider/index.d.ts +5 -5
- package/types/drawer/index.d.ts +24 -11
- package/types/dropdown/dropdown-button.d.ts +7 -7
- package/types/dropdown/dropdown.d.ts +12 -16
- package/types/dropdown/index.d.ts +4 -2
- package/types/dropdown/trigger.d.ts +6 -6
- package/types/empty/index.d.ts +1 -1
- package/types/feature-card/index.d.ts +7 -7
- package/types/feedback-panel/feedback-panel.d.ts +7 -7
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/index.d.ts +9 -9
- package/types/flex/index.d.ts +7 -7
- package/types/flex/types.d.ts +1 -1
- package/types/form/context.d.ts +3 -3
- package/types/form/form-item.d.ts +6 -6
- package/types/form/form.d.ts +9 -13
- package/types/form/index.d.ts +6 -6
- package/types/global.d.ts +2 -0
- package/types/grid/grid-item.d.ts +2 -2
- package/types/grid/grid.d.ts +3 -3
- package/types/grid/index.d.ts +5 -5
- package/types/grid/useBreakpoint.d.ts +1 -1
- package/types/icon/index.d.ts +8 -8
- package/types/image/context.d.ts +2 -2
- package/types/image/group.d.ts +4 -4
- package/types/image/image.d.ts +7 -7
- package/types/image/index.d.ts +5 -5
- package/types/image/instance.d.ts +11 -4
- package/types/image/preview.d.ts +6 -6
- package/types/index.d.cts +2 -2
- package/types/index.d.ts +2 -2
- package/types/input/index.d.ts +6 -6
- package/types/input/input-box.d.ts +6 -6
- package/types/input/input-group.d.ts +5 -5
- package/types/input/input.d.ts +27 -10
- package/types/input/textarea.d.ts +17 -8
- package/types/input-number/index.d.ts +10 -7
- package/types/input-otp/index.d.ts +3 -3
- package/types/input-otp/input-otp.d.ts +21 -8
- package/types/input-tag/index.d.ts +6 -6
- package/types/kanban/index.d.ts +5 -5
- package/types/layout/index.d.ts +17 -17
- package/types/list-panel/index.d.ts +7 -7
- package/types/mentions/index.d.ts +7 -7
- package/types/menu/index.d.ts +6 -6
- package/types/menu/menu-context.d.ts +4 -2
- package/types/menu/menu-divider.d.ts +1 -1
- package/types/menu/menu-group.d.ts +4 -4
- package/types/menu/menu-item.d.ts +10 -6
- package/types/menu/menu.d.ts +24 -17
- package/types/menu/recursive-menu.d.ts +5 -5
- package/types/menu/sub-menu.d.ts +6 -6
- package/types/menu/types.d.ts +2 -2
- package/types/message/index.d.ts +3 -3
- package/types/modal/index.d.ts +15 -10
- package/types/modal/modal.d.ts +25 -97
- package/types/modal/toast.d.ts +11 -10
- package/types/notice/container.d.ts +3 -3
- package/types/notice/content.d.ts +10 -77
- package/types/notice/index.d.ts +3 -3
- package/types/notice/instance.d.ts +2 -2
- package/types/page/index.d.ts +6 -6
- package/types/page-header/index.d.ts +4 -4
- package/types/popconfirm/index.d.ts +8 -45
- package/types/poptip/index.d.ts +9 -47
- package/types/popup/index.d.ts +251 -0
- package/types/popup/layers.d.ts +9 -0
- package/types/popup/types.d.ts +15 -0
- package/types/progress/index.d.ts +6 -6
- package/types/qrcode/index.d.ts +7 -7
- package/types/radio/index.d.ts +8 -7
- package/types/radio/radio-button.d.ts +8 -8
- package/types/radio/radio-group.d.ts +4 -3
- package/types/radio/radio.d.ts +7 -7
- package/types/radio/types.d.ts +1 -1
- package/types/rate/index.d.ts +7 -7
- package/types/rate/star.d.ts +7 -7
- package/types/result/index.d.ts +3 -3
- package/types/result/result.d.ts +7 -7
- package/types/ripple/index.d.ts +6 -6
- package/types/row-col/col.d.ts +4 -4
- package/types/row-col/index.d.ts +4 -4
- package/types/row-col/row.d.ts +4 -4
- package/types/segmented/index.d.ts +6 -4
- package/types/select/index.d.ts +5 -5
- package/types/select/option.d.ts +13 -14
- package/types/select/select.d.ts +10 -6
- package/types/select/types.d.ts +1 -1
- package/types/skeleton/index.d.ts +10 -10
- package/types/skeleton/skeleton-avatar.d.ts +13 -13
- package/types/skeleton/skeleton-button.d.ts +15 -15
- package/types/skeleton/skeleton-image.d.ts +11 -11
- package/types/skeleton/skeleton-text.d.ts +11 -11
- package/types/skeleton/skeleton.d.ts +15 -15
- package/types/skeleton/types.d.ts +2 -2
- package/types/skeleton/use-skeleton-loading.d.ts +1 -1
- package/types/slider/index.d.ts +8 -3
- package/types/slider/thumb.d.ts +7 -7
- package/types/space/index.d.ts +4 -4
- package/types/spin/index.d.ts +18 -5
- package/types/splitter/index.d.ts +2 -2
- package/types/splitter/splitter-panel.d.ts +4 -4
- package/types/splitter/splitter.d.ts +6 -6
- package/types/stat-card/countup.d.ts +4 -4
- package/types/stat-card/index.d.ts +5 -5
- package/types/stat-card/rollup.d.ts +6 -4
- package/types/stat-card/stat-card.d.ts +7 -7
- package/types/stat-card/stat-number.d.ts +19 -6
- package/types/stat-card/types.d.ts +1 -1
- package/types/stat-card/utils/countup.d.ts +1 -1
- package/types/stat-card/utils/odometer.d.ts +8 -5
- package/types/steps/index.d.ts +8 -8
- package/types/switch/index.d.ts +3 -2
- package/types/table/column-setting.d.ts +7 -7
- package/types/table/index.d.ts +13 -26
- package/types/table/types.d.ts +2 -2
- package/types/table/utils.d.ts +1 -1
- package/types/tabs/index.d.ts +5 -4
- package/types/tabs/tab-panel.d.ts +6 -6
- package/types/tabs/tabs.d.ts +6 -6
- package/types/tabs/types.d.ts +1 -1
- package/types/tag/index.d.ts +9 -7
- package/types/time-line/index.d.ts +5 -5
- package/types/time-line/timeline-item.d.ts +5 -5
- package/types/time-line/timeline.d.ts +6 -6
- package/types/tooltip/index.d.ts +21 -35
- package/types/tour/index.d.ts +34 -23
- package/types/transfer/index.d.ts +18 -5
- package/types/tree/context.d.ts +1 -1
- package/types/tree/index.d.ts +13 -10
- package/types/tree/types.d.ts +1 -1
- package/types/tree/utils.d.ts +1 -1
- package/types/tree-select/index.d.ts +14 -7
- package/types/typography/index.d.ts +26 -17
- package/types/upload/file-list.d.ts +8 -8
- package/types/upload/index.d.ts +9 -22
- package/types/upload/picture-sort.d.ts +2 -0
- package/types/upload/selector.d.ts +9 -9
- package/types/upload/types.d.ts +1 -1
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/model-value.d.ts +10 -0
- package/types/utils/number.d.ts +1 -1
- package/types/utils/placement.d.ts +1 -1
- package/types/utils/popup.d.ts +11 -0
- package/types/utils/selection-tags.d.ts +18 -0
- package/types/utils/vnode.d.ts +3 -3
- package/types/utils/vue.d.ts +7 -1
- package/types/virtual-list/index.d.ts +6 -6
- package/types/watermark/index.d.ts +8 -8
- package/vetur/attributes.json +1717 -781
- package/vetur/tags.json +359 -159
- package/vetur/web-types.json +7563 -6197
- package/types/directives/transfer.d.ts +0 -2
package/types/layout/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { BooleanType } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
3
|
declare const layoutProps: {
|
|
4
4
|
suffixCls: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -28,7 +28,7 @@ declare const siderProps: {
|
|
|
28
28
|
};
|
|
29
29
|
export type LayoutProps = ExtractPropTypes<typeof layoutProps>;
|
|
30
30
|
export type SiderProps = ExtractPropTypes<typeof siderProps>;
|
|
31
|
-
declare const LayoutMain: import(
|
|
31
|
+
declare const LayoutMain: import("vue").DefineComponent<ExtractPropTypes<{
|
|
32
32
|
suffixCls: {
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
@@ -37,7 +37,7 @@ declare const LayoutMain: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
37
37
|
type: BooleanType;
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
40
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
41
41
|
suffixCls: {
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: string;
|
|
@@ -49,8 +49,8 @@ declare const LayoutMain: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
50
|
suffixCls: string;
|
|
51
51
|
hasSider: boolean | undefined;
|
|
52
|
-
}, {}, {}, {}, string, import(
|
|
53
|
-
declare const Sider: import(
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const Sider: import("vue").DefineComponent<ExtractPropTypes<{
|
|
54
54
|
suffixCls: {
|
|
55
55
|
type: StringConstructor;
|
|
56
56
|
default: string;
|
|
@@ -65,7 +65,7 @@ declare const Sider: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
65
65
|
};
|
|
66
66
|
collapsible: BooleanType;
|
|
67
67
|
collapsed: BooleanType;
|
|
68
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
68
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
69
69
|
suffixCls: {
|
|
70
70
|
type: StringConstructor;
|
|
71
71
|
default: string;
|
|
@@ -84,46 +84,46 @@ declare const Sider: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
84
84
|
width: string | number;
|
|
85
85
|
suffixCls: string;
|
|
86
86
|
collapsedWidth: string | number;
|
|
87
|
-
}, {}, {}, {}, string, import(
|
|
88
|
-
declare const Content: import(
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
declare const Content: import("vue").DefineComponent<ExtractPropTypes<{
|
|
89
89
|
suffixCls: {
|
|
90
90
|
type: StringConstructor;
|
|
91
91
|
default: string;
|
|
92
92
|
};
|
|
93
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
93
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
94
94
|
suffixCls: {
|
|
95
95
|
type: StringConstructor;
|
|
96
96
|
default: string;
|
|
97
97
|
};
|
|
98
98
|
}>> & Readonly<{}>, {
|
|
99
99
|
suffixCls: string;
|
|
100
|
-
}, {}, {}, {}, string, import(
|
|
101
|
-
declare const Header: import(
|
|
100
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
declare const Header: import("vue").DefineComponent<ExtractPropTypes<{
|
|
102
102
|
suffixCls: {
|
|
103
103
|
type: StringConstructor;
|
|
104
104
|
default: string;
|
|
105
105
|
};
|
|
106
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
106
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
107
107
|
suffixCls: {
|
|
108
108
|
type: StringConstructor;
|
|
109
109
|
default: string;
|
|
110
110
|
};
|
|
111
111
|
}>> & Readonly<{}>, {
|
|
112
112
|
suffixCls: string;
|
|
113
|
-
}, {}, {}, {}, string, import(
|
|
114
|
-
declare const Footer: import(
|
|
113
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
114
|
+
declare const Footer: import("vue").DefineComponent<ExtractPropTypes<{
|
|
115
115
|
suffixCls: {
|
|
116
116
|
type: StringConstructor;
|
|
117
117
|
default: string;
|
|
118
118
|
};
|
|
119
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
119
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
120
120
|
suffixCls: {
|
|
121
121
|
type: StringConstructor;
|
|
122
122
|
default: string;
|
|
123
123
|
};
|
|
124
124
|
}>> & Readonly<{}>, {
|
|
125
125
|
suffixCls: string;
|
|
126
|
-
}, {}, {}, {}, string, import(
|
|
126
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
127
127
|
type InternalLayoutType = typeof LayoutMain;
|
|
128
128
|
type LayoutType = InternalLayoutType & {
|
|
129
129
|
Header: typeof Header;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { CardShape } from
|
|
3
|
-
import { BooleanType, SizeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import { type CardShape } from "../card";
|
|
3
|
+
import type { BooleanType, SizeType } from "../const/types";
|
|
4
4
|
declare const listPanelProps: {
|
|
5
5
|
summary: PropType<VNodeChild>;
|
|
6
6
|
bordered: {
|
|
@@ -25,7 +25,7 @@ declare const listPanelProps: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export type ListPanelProps = ExtractPropTypes<typeof listPanelProps>;
|
|
28
|
-
declare const ListPanel: import(
|
|
28
|
+
declare const ListPanel: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
summary: PropType<VNodeChild>;
|
|
30
30
|
bordered: {
|
|
31
31
|
type: BooleanType;
|
|
@@ -47,7 +47,7 @@ declare const ListPanel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
47
47
|
type: NumberConstructor;
|
|
48
48
|
default: number;
|
|
49
49
|
};
|
|
50
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
50
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
51
51
|
summary: PropType<VNodeChild>;
|
|
52
52
|
bordered: {
|
|
53
53
|
type: BooleanType;
|
|
@@ -72,8 +72,8 @@ declare const ListPanel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
72
72
|
}>> & Readonly<{}>, {
|
|
73
73
|
size: SizeType;
|
|
74
74
|
theme: "fill" | "outline" | "plain";
|
|
75
|
-
shape: import(
|
|
75
|
+
shape: import("..").SurfaceShapeType;
|
|
76
76
|
bordered: boolean | undefined;
|
|
77
77
|
selectedCount: number;
|
|
78
|
-
}, {}, {}, {}, string, import(
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
79
79
|
export default ListPanel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { DropPlacementsType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
3
|
export interface MentionOption {
|
|
4
4
|
value: string;
|
|
5
5
|
label?: VNodeChild;
|
|
@@ -46,7 +46,7 @@ declare const propsDef: {
|
|
|
46
46
|
filterOption: PropType<(query: string, option: MentionOption) => boolean>;
|
|
47
47
|
};
|
|
48
48
|
export type MentionsProps = ExtractPropTypes<typeof propsDef>;
|
|
49
|
-
declare const _default: import(
|
|
49
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
50
50
|
modelValue: StringConstructor;
|
|
51
51
|
value: {
|
|
52
52
|
type: StringConstructor;
|
|
@@ -85,13 +85,13 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
85
85
|
};
|
|
86
86
|
emptyText: StringConstructor;
|
|
87
87
|
filterOption: PropType<(query: string, option: MentionOption) => boolean>;
|
|
88
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
88
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
89
|
"update:modelValue": (value: string) => boolean;
|
|
90
90
|
change: (value: string) => boolean;
|
|
91
91
|
select: (option: MentionOption, trigger: string) => boolean;
|
|
92
92
|
search: (value: string, trigger: string) => boolean;
|
|
93
93
|
clear: () => true;
|
|
94
|
-
}, string, import(
|
|
94
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
95
95
|
modelValue: StringConstructor;
|
|
96
96
|
value: {
|
|
97
97
|
type: StringConstructor;
|
|
@@ -139,13 +139,13 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
139
139
|
}>, {
|
|
140
140
|
disabled: boolean;
|
|
141
141
|
loading: boolean;
|
|
142
|
+
placement: DropPlacementsType;
|
|
142
143
|
theme: ThemeType;
|
|
143
144
|
value: string;
|
|
144
|
-
placement: DropPlacementsType;
|
|
145
145
|
readonly: boolean;
|
|
146
146
|
clearable: boolean;
|
|
147
147
|
rows: number;
|
|
148
148
|
options: (string | MentionOption)[];
|
|
149
149
|
triggers: string[];
|
|
150
|
-
}, {}, {}, {}, string, import(
|
|
150
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
151
151
|
export default _default;
|
package/types/menu/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MenuOptionsProps, MenuSelectEvent } from
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import Menu, { type MenuProps } from "./menu";
|
|
2
|
+
import type { MenuOptionsProps, MenuSelectEvent } from "./types";
|
|
3
|
+
import MenuDivider from "./menu-divider";
|
|
4
|
+
import MenuGroup, { type MenuGroupProps } from "./menu-group";
|
|
5
|
+
import MenuItem, { type MenuItemProps } from "./menu-item";
|
|
6
|
+
import SubMenu, { type SubMenuProps } from "./sub-menu";
|
|
7
7
|
export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu };
|
|
8
8
|
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InjectionKey } from
|
|
2
|
-
import { DirectionType } from
|
|
1
|
+
import type { InjectionKey } from "vue";
|
|
2
|
+
import type { DirectionType } from "../const/types";
|
|
3
3
|
export interface MenuContext {
|
|
4
4
|
theme?: "light" | "dark";
|
|
5
5
|
openKeys: string[];
|
|
@@ -8,6 +8,8 @@ export interface MenuContext {
|
|
|
8
8
|
inlineCollapsed: boolean;
|
|
9
9
|
collapsedTooltip: boolean;
|
|
10
10
|
popupInlineCollapsed: boolean;
|
|
11
|
+
inlineTransition: boolean;
|
|
12
|
+
inlineOpenKeys: string[];
|
|
11
13
|
dropdown: boolean;
|
|
12
14
|
openKeysChange: (key: string, opened: boolean, keyPath: string[]) => void;
|
|
13
15
|
selectedKeysChange: (key: string, selected: boolean, keyPath: string[]) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const MenuDivider: import(
|
|
1
|
+
declare const MenuDivider: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default MenuDivider;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
2
|
declare const menuGroupProps: {
|
|
3
3
|
title: PropType<VNodeChild>;
|
|
4
4
|
};
|
|
5
5
|
export type MenuGroupProps = ExtractPropTypes<typeof menuGroupProps>;
|
|
6
|
-
declare const MenuGroup: import(
|
|
6
|
+
declare const MenuGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
7
7
|
title: PropType<VNodeChild>;
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
9
9
|
title: PropType<VNodeChild>;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default MenuGroup;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const menuItemProps: {
|
|
5
5
|
icon: PropType<IconType[]>;
|
|
6
6
|
title: PropType<VNodeChild>;
|
|
7
7
|
disabled: BooleanType;
|
|
8
8
|
};
|
|
9
9
|
export type MenuItemProps = ExtractPropTypes<typeof menuItemProps>;
|
|
10
|
-
declare const MenuItem: import(
|
|
10
|
+
declare const MenuItem: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
11
|
icon: PropType<IconType[]>;
|
|
12
12
|
title: PropType<VNodeChild>;
|
|
13
13
|
disabled: BooleanType;
|
|
14
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
14
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
click: (event: MouseEvent) => boolean;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
15
17
|
icon: PropType<IconType[]>;
|
|
16
18
|
title: PropType<VNodeChild>;
|
|
17
19
|
disabled: BooleanType;
|
|
18
|
-
}>> & Readonly<{
|
|
20
|
+
}>> & Readonly<{
|
|
21
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
23
|
export default MenuItem;
|
package/types/menu/menu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, DirectionType } from
|
|
3
|
-
import { MenuOptionsProps } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType } from "../const/types";
|
|
3
|
+
import type { MenuOptionsProps, MenuSelectEvent } from "./types";
|
|
4
4
|
declare const menuProps: {
|
|
5
5
|
theme: PropType<"light" | "dark">;
|
|
6
6
|
mode: {
|
|
@@ -8,6 +8,10 @@ declare const menuProps: {
|
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
modelValue: {
|
|
11
|
+
type: PropType<string[]>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
11
15
|
type: PropType<string[]>;
|
|
12
16
|
default: () => never[];
|
|
13
17
|
};
|
|
@@ -24,13 +28,17 @@ declare const menuProps: {
|
|
|
24
28
|
};
|
|
25
29
|
};
|
|
26
30
|
export type MenuProps = ExtractPropTypes<typeof menuProps>;
|
|
27
|
-
declare const Menu: import(
|
|
31
|
+
declare const Menu: import("vue").DefineComponent<ExtractPropTypes<{
|
|
28
32
|
theme: PropType<"light" | "dark">;
|
|
29
33
|
mode: {
|
|
30
34
|
type: PropType<DirectionType>;
|
|
31
35
|
default: string;
|
|
32
36
|
};
|
|
33
37
|
modelValue: {
|
|
38
|
+
type: PropType<string[]>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
value: {
|
|
34
42
|
type: PropType<string[]>;
|
|
35
43
|
default: () => never[];
|
|
36
44
|
};
|
|
@@ -45,21 +53,22 @@ declare const Menu: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
45
53
|
type: PropType<string[]>;
|
|
46
54
|
default: () => never[];
|
|
47
55
|
};
|
|
48
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
56
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
57
|
"update:modelValue": (keys: string[]) => boolean;
|
|
50
58
|
"update:openKeys": (keys: string[]) => boolean;
|
|
51
|
-
select: (event:
|
|
52
|
-
key: string;
|
|
53
|
-
keyPath: string[];
|
|
54
|
-
}) => boolean;
|
|
59
|
+
select: (event: MenuSelectEvent) => boolean;
|
|
55
60
|
openChange: (keys: string[]) => boolean;
|
|
56
|
-
}, string, import(
|
|
61
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
57
62
|
theme: PropType<"light" | "dark">;
|
|
58
63
|
mode: {
|
|
59
64
|
type: PropType<DirectionType>;
|
|
60
65
|
default: string;
|
|
61
66
|
};
|
|
62
67
|
modelValue: {
|
|
68
|
+
type: PropType<string[]>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
value: {
|
|
63
72
|
type: PropType<string[]>;
|
|
64
73
|
default: () => never[];
|
|
65
74
|
};
|
|
@@ -75,18 +84,16 @@ declare const Menu: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
75
84
|
default: () => never[];
|
|
76
85
|
};
|
|
77
86
|
}>> & Readonly<{
|
|
78
|
-
onSelect?: ((event:
|
|
79
|
-
key: string;
|
|
80
|
-
keyPath: string[];
|
|
81
|
-
}) => any) | undefined;
|
|
82
|
-
"onUpdate:modelValue"?: ((keys: string[]) => any) | undefined;
|
|
87
|
+
onSelect?: ((event: MenuSelectEvent) => any) | undefined;
|
|
83
88
|
onOpenChange?: ((keys: string[]) => any) | undefined;
|
|
89
|
+
"onUpdate:modelValue"?: ((keys: string[]) => any) | undefined;
|
|
84
90
|
"onUpdate:openKeys"?: ((keys: string[]) => any) | undefined;
|
|
85
91
|
}>, {
|
|
86
92
|
mode: DirectionType;
|
|
93
|
+
value: string[];
|
|
87
94
|
modelValue: string[];
|
|
88
95
|
openKeys: string[];
|
|
89
96
|
collapsedTooltip: boolean | undefined;
|
|
90
|
-
}, {}, {}, {}, string, import(
|
|
97
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
98
|
export default Menu;
|
|
92
|
-
export type { MenuOptionsProps, MenuSelectEvent } from
|
|
99
|
+
export type { MenuOptionsProps, MenuSelectEvent } from "./types";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { MenuOptionsProps } from
|
|
3
|
-
declare const RecursiveMenu: import(
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { MenuOptionsProps } from "./types";
|
|
3
|
+
declare const RecursiveMenu: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
item: {
|
|
5
5
|
type: PropType<MenuOptionsProps>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
item: {
|
|
10
10
|
type: PropType<MenuOptionsProps>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default RecursiveMenu;
|
package/types/menu/sub-menu.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const submenuProps: {
|
|
5
5
|
disabled: BooleanType;
|
|
6
6
|
title: PropType<VNodeChild>;
|
|
7
7
|
icon: PropType<IconType[]>;
|
|
8
8
|
};
|
|
9
9
|
export type SubMenuProps = ExtractPropTypes<typeof submenuProps>;
|
|
10
|
-
declare const SubMenu: import(
|
|
10
|
+
declare const SubMenu: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
11
|
disabled: BooleanType;
|
|
12
12
|
title: PropType<VNodeChild>;
|
|
13
13
|
icon: PropType<IconType[]>;
|
|
14
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
14
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
15
15
|
disabled: BooleanType;
|
|
16
16
|
title: PropType<VNodeChild>;
|
|
17
17
|
icon: PropType<IconType[]>;
|
|
18
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
18
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
export default SubMenu;
|
package/types/menu/types.d.ts
CHANGED
package/types/message/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VNode } from
|
|
2
|
-
import { NoticeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { NoticeType } from "../const/types";
|
|
3
|
+
import type { IconType } from "../icon";
|
|
4
4
|
export interface MessageOptions {
|
|
5
5
|
type?: NoticeType;
|
|
6
6
|
content?: string | VNode;
|
package/types/modal/index.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { IconType } from
|
|
2
|
-
import
|
|
3
|
-
export type { ModalProps } from
|
|
1
|
+
import type { IconType } from "../icon";
|
|
2
|
+
import Modal, { ModalPanel } from "./modal";
|
|
3
|
+
export type { ModalProps } from "./modal";
|
|
4
4
|
export { ModalPanel };
|
|
5
|
+
export interface ModalInstance {
|
|
6
|
+
show: () => void;
|
|
7
|
+
hide: () => void;
|
|
8
|
+
destroy: () => void;
|
|
9
|
+
}
|
|
5
10
|
export interface ModalApiProps {
|
|
6
11
|
title: string;
|
|
7
12
|
okText?: string;
|
|
@@ -9,18 +14,18 @@ export interface ModalApiProps {
|
|
|
9
14
|
content: string;
|
|
10
15
|
color?: string;
|
|
11
16
|
icon?: IconType[];
|
|
12
|
-
onOk?: () => void
|
|
17
|
+
onOk?: () => void | PromiseLike<unknown>;
|
|
13
18
|
onCancel?: () => void;
|
|
14
19
|
type?: "info" | "success" | "error" | "warning" | "confirm";
|
|
15
20
|
}
|
|
16
21
|
export interface ModalApi {
|
|
17
22
|
name?: "modal";
|
|
18
|
-
show(props: ModalApiProps):
|
|
19
|
-
info(props: ModalApiProps):
|
|
20
|
-
success(props: ModalApiProps):
|
|
21
|
-
warning(props: ModalApiProps):
|
|
22
|
-
confirm(props: ModalApiProps):
|
|
23
|
-
error(props: ModalApiProps):
|
|
23
|
+
show(props: ModalApiProps): ModalInstance | null;
|
|
24
|
+
info(props: ModalApiProps): ModalInstance | null;
|
|
25
|
+
success(props: ModalApiProps): ModalInstance | null;
|
|
26
|
+
warning(props: ModalApiProps): ModalInstance | null;
|
|
27
|
+
confirm(props: ModalApiProps): ModalInstance | null;
|
|
28
|
+
error(props: ModalApiProps): ModalInstance | null;
|
|
24
29
|
destroyAll(): void;
|
|
25
30
|
}
|
|
26
31
|
export declare const modal: ModalApi;
|
package/types/modal/modal.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ForwardedComponent } from "../utils/vue";
|
|
2
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
3
|
+
import type { BooleanType } from "../const/types";
|
|
3
4
|
declare const modalProps: {
|
|
4
|
-
modelValue:
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: BooleanType;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
value: BooleanType;
|
|
5
10
|
title: StringConstructor;
|
|
6
11
|
okText: StringConstructor;
|
|
7
12
|
cancelText: StringConstructor;
|
|
@@ -40,8 +45,12 @@ declare const modalProps: {
|
|
|
40
45
|
panelOnly: BooleanType;
|
|
41
46
|
};
|
|
42
47
|
export type ModalProps = ExtractPropTypes<typeof modalProps>;
|
|
43
|
-
declare const Modal: import(
|
|
44
|
-
modelValue:
|
|
48
|
+
declare const Modal: import("vue").DefineComponent<ExtractPropTypes<{
|
|
49
|
+
modelValue: {
|
|
50
|
+
type: BooleanType;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
value: BooleanType;
|
|
45
54
|
title: StringConstructor;
|
|
46
55
|
okText: StringConstructor;
|
|
47
56
|
cancelText: StringConstructor;
|
|
@@ -78,14 +87,18 @@ declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
78
87
|
default: boolean;
|
|
79
88
|
};
|
|
80
89
|
panelOnly: BooleanType;
|
|
81
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import(
|
|
90
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
82
91
|
"update:modelValue": (visible: boolean) => boolean;
|
|
83
92
|
openChange: (visible: boolean) => boolean;
|
|
84
93
|
ok: () => true;
|
|
85
94
|
cancel: () => true;
|
|
86
95
|
close: () => true;
|
|
87
|
-
}, string, import(
|
|
88
|
-
modelValue:
|
|
96
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
97
|
+
modelValue: {
|
|
98
|
+
type: BooleanType;
|
|
99
|
+
default: undefined;
|
|
100
|
+
};
|
|
101
|
+
value: BooleanType;
|
|
89
102
|
title: StringConstructor;
|
|
90
103
|
okText: StringConstructor;
|
|
91
104
|
cancelText: StringConstructor;
|
|
@@ -125,103 +138,18 @@ declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
125
138
|
}>> & Readonly<{
|
|
126
139
|
onCancel?: (() => any) | undefined;
|
|
127
140
|
onClose?: (() => any) | undefined;
|
|
128
|
-
"onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
|
|
129
141
|
onOpenChange?: ((visible: boolean) => any) | undefined;
|
|
142
|
+
"onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
|
|
130
143
|
onOk?: (() => any) | undefined;
|
|
131
144
|
}>, {
|
|
132
145
|
top: number;
|
|
133
146
|
width: string | number;
|
|
134
147
|
mask: boolean | undefined;
|
|
135
148
|
footer: boolean | undefined;
|
|
149
|
+
modelValue: boolean | undefined;
|
|
136
150
|
maskClosable: boolean | undefined;
|
|
137
151
|
escKey: boolean | undefined;
|
|
138
152
|
showClose: boolean | undefined;
|
|
139
|
-
}, {}, {}, {}, string, import(
|
|
140
|
-
export declare const ModalPanel:
|
|
141
|
-
modelValue: BooleanType;
|
|
142
|
-
title: StringConstructor;
|
|
143
|
-
okText: StringConstructor;
|
|
144
|
-
cancelText: StringConstructor;
|
|
145
|
-
width: {
|
|
146
|
-
type: PropType<number | string>;
|
|
147
|
-
default: number;
|
|
148
|
-
};
|
|
149
|
-
top: {
|
|
150
|
-
type: PropType<number>;
|
|
151
|
-
default: number;
|
|
152
|
-
};
|
|
153
|
-
mask: {
|
|
154
|
-
type: BooleanType;
|
|
155
|
-
default: boolean;
|
|
156
|
-
};
|
|
157
|
-
maskClosable: {
|
|
158
|
-
type: BooleanType;
|
|
159
|
-
default: boolean;
|
|
160
|
-
};
|
|
161
|
-
maximized: BooleanType;
|
|
162
|
-
centered: BooleanType;
|
|
163
|
-
draggable: BooleanType;
|
|
164
|
-
showClose: {
|
|
165
|
-
type: BooleanType;
|
|
166
|
-
default: boolean;
|
|
167
|
-
};
|
|
168
|
-
loading: BooleanType;
|
|
169
|
-
footer: {
|
|
170
|
-
type: BooleanType;
|
|
171
|
-
default: boolean;
|
|
172
|
-
};
|
|
173
|
-
escKey: {
|
|
174
|
-
type: BooleanType;
|
|
175
|
-
default: boolean;
|
|
176
|
-
};
|
|
177
|
-
panelOnly: BooleanType;
|
|
178
|
-
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
179
|
-
[key: string]: any;
|
|
180
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
181
|
-
modelValue: BooleanType;
|
|
182
|
-
title: StringConstructor;
|
|
183
|
-
okText: StringConstructor;
|
|
184
|
-
cancelText: StringConstructor;
|
|
185
|
-
width: {
|
|
186
|
-
type: PropType<number | string>;
|
|
187
|
-
default: number;
|
|
188
|
-
};
|
|
189
|
-
top: {
|
|
190
|
-
type: PropType<number>;
|
|
191
|
-
default: number;
|
|
192
|
-
};
|
|
193
|
-
mask: {
|
|
194
|
-
type: BooleanType;
|
|
195
|
-
default: boolean;
|
|
196
|
-
};
|
|
197
|
-
maskClosable: {
|
|
198
|
-
type: BooleanType;
|
|
199
|
-
default: boolean;
|
|
200
|
-
};
|
|
201
|
-
maximized: BooleanType;
|
|
202
|
-
centered: BooleanType;
|
|
203
|
-
draggable: BooleanType;
|
|
204
|
-
showClose: {
|
|
205
|
-
type: BooleanType;
|
|
206
|
-
default: boolean;
|
|
207
|
-
};
|
|
208
|
-
loading: BooleanType;
|
|
209
|
-
footer: {
|
|
210
|
-
type: BooleanType;
|
|
211
|
-
default: boolean;
|
|
212
|
-
};
|
|
213
|
-
escKey: {
|
|
214
|
-
type: BooleanType;
|
|
215
|
-
default: boolean;
|
|
216
|
-
};
|
|
217
|
-
panelOnly: BooleanType;
|
|
218
|
-
}>> & Readonly<{}>, {
|
|
219
|
-
top: number;
|
|
220
|
-
width: string | number;
|
|
221
|
-
mask: boolean | undefined;
|
|
222
|
-
footer: boolean | undefined;
|
|
223
|
-
maskClosable: boolean | undefined;
|
|
224
|
-
escKey: boolean | undefined;
|
|
225
|
-
showClose: boolean | undefined;
|
|
226
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
153
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
154
|
+
export declare const ModalPanel: ForwardedComponent<typeof Modal>;
|
|
227
155
|
export default Modal;
|