@contentstudio/ui 0.2.23 → 0.2.24-rc.22
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/README.md +21 -65
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/ActionIcon/ActionIcon.vue.d.ts +88 -0
- package/dist/components/ActionIcon/index.d.ts +2 -0
- package/dist/components/ActionIcon/types.d.ts +36 -0
- package/dist/components/Alert/Alert.vue.d.ts +94 -0
- package/dist/components/Alert/index.d.ts +4 -0
- package/dist/components/Alert/types.d.ts +30 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +106 -0
- package/dist/components/Avatar/AvatarGroup.vue.d.ts +76 -0
- package/dist/components/Avatar/index.d.ts +5 -0
- package/dist/components/Avatar/types.d.ts +58 -0
- package/dist/components/Avatar/utils.d.ts +9 -0
- package/dist/components/Badge/Badge.vue.d.ts +109 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/types.d.ts +35 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +80 -0
- package/dist/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/components/Breadcrumbs/types.d.ts +23 -0
- package/dist/components/Button/Button.vue.d.ts +85 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/types.d.ts +40 -0
- package/dist/components/Card/Card.vue.d.ts +187 -0
- package/dist/components/Card/CardSection.vue.d.ts +55 -0
- package/dist/components/Card/index.d.ts +4 -0
- package/dist/components/Card/types.d.ts +27 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +94 -0
- package/dist/components/Checkbox/index.d.ts +4 -0
- package/dist/components/Checkbox/types.d.ts +20 -0
- package/dist/components/Chip/Chip.vue.d.ts +108 -0
- package/dist/components/Chip/index.d.ts +4 -0
- package/dist/components/Chip/types.d.ts +48 -0
- package/dist/components/ClientExtensionDemo/index.d.ts +1 -0
- package/dist/components/ClientExtensionDemo.vue.d.ts +2 -0
- package/dist/components/Collapsible/Collapsible.vue.d.ts +77 -0
- package/dist/components/Collapsible/index.d.ts +4 -0
- package/dist/components/Collapsible/types.d.ts +9 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +151 -0
- package/dist/components/Dialog/index.d.ts +4 -0
- package/dist/components/Dialog/types.d.ts +28 -0
- package/dist/components/Drawer/Drawer.vue.d.ts +134 -0
- package/dist/components/Drawer/index.d.ts +4 -0
- package/dist/components/Drawer/types.d.ts +61 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts +131 -0
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +64 -0
- package/dist/components/Dropdown/index.d.ts +7 -0
- package/dist/components/Dropdown/types.d.ts +41 -0
- package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +109 -0
- package/dist/components/DropdownMenu/index.d.ts +3 -0
- package/dist/components/HoverCard/HoverCard.vue.d.ts +104 -0
- package/dist/components/HoverCard/HoverCardTarget.vue.d.ts +49 -0
- package/dist/components/HoverCard/index.d.ts +384 -0
- package/dist/components/HoverCard/types.d.ts +40 -0
- package/dist/components/HoverCard/useHoverCard.d.ts +20 -0
- package/dist/components/Icon/Icon.vue.d.ts +15 -0
- package/dist/components/Icon/index.d.ts +4 -0
- package/dist/components/Icon/types.d.ts +12 -0
- package/dist/components/Indicator/Indicator.vue.d.ts +129 -0
- package/dist/components/Indicator/index.d.ts +2 -0
- package/dist/components/Indicator/types.d.ts +29 -0
- package/dist/components/ListItem/ListItem.vue.d.ts +64 -0
- package/dist/components/ListItem/index.d.ts +6 -0
- package/dist/components/ListItem/types.d.ts +7 -0
- package/dist/components/Loader/Loader.vue.d.ts +65 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Loader/types.d.ts +16 -0
- package/dist/components/Loader/variants/BarsLoader.vue.d.ts +35 -0
- package/dist/components/Loader/variants/DotsLoader.vue.d.ts +35 -0
- package/dist/components/Loader/variants/OvalLoader.vue.d.ts +39 -0
- package/dist/components/Modal/MessageBoxConfirm.vue.d.ts +275 -0
- package/dist/components/Modal/MessageBoxOk.vue.d.ts +207 -0
- package/dist/components/Modal/Modal.vue.d.ts +475 -0
- package/dist/components/Modal/directive.d.ts +14 -0
- package/dist/components/Modal/index.d.ts +7 -0
- package/dist/components/Modal/plugin.d.ts +59 -0
- package/dist/components/Modal/types.d.ts +75 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +84 -0
- package/dist/components/Pagination/index.d.ts +3 -0
- package/dist/components/Pagination/types.d.ts +32 -0
- package/dist/components/Pill/Pill.vue.d.ts +84 -0
- package/dist/components/Pill/index.d.ts +2 -0
- package/dist/components/Pill/types.d.ts +21 -0
- package/dist/components/Popover/Popover.vue.d.ts +192 -0
- package/dist/components/Popover/index.d.ts +4 -0
- package/dist/components/Popover/types.d.ts +65 -0
- package/dist/components/Progress/Progress.vue.d.ts +138 -0
- package/dist/components/Progress/index.d.ts +4 -0
- package/dist/components/Progress/types.d.ts +44 -0
- package/dist/components/Radio/Radio.vue.d.ts +99 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Radio/types.d.ts +53 -0
- package/dist/components/RangeSlider/RangeSlider.vue.d.ts +175 -0
- package/dist/components/RangeSlider/index.d.ts +2 -0
- package/dist/components/RangeSlider/types.d.ts +115 -0
- package/dist/components/SearchInput/index.d.ts +2 -0
- package/dist/components/SearchInput/types.d.ts +52 -0
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +97 -0
- package/dist/components/SegmentedControl/index.d.ts +4 -0
- package/dist/components/SegmentedControl/types.d.ts +55 -0
- package/dist/components/Select/Select.vue.d.ts +123 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/types.d.ts +22 -0
- package/dist/components/Slider/Slider.vue.d.ts +164 -0
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/types.d.ts +145 -0
- package/dist/components/SplitButton/SplitButton.vue.d.ts +105 -0
- package/dist/components/SplitButton/index.d.ts +2 -0
- package/dist/components/SplitButton/types.d.ts +22 -0
- package/dist/components/Switch/Switch.vue.d.ts +117 -0
- package/dist/components/Switch/index.d.ts +4 -0
- package/dist/components/Switch/types.d.ts +55 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +78 -0
- package/dist/components/Tabs/TabsList.vue.d.ts +52 -0
- package/dist/components/Tabs/TabsPanel.vue.d.ts +38 -0
- package/dist/components/Tabs/TabsTab.vue.d.ts +108 -0
- package/dist/components/Tabs/index.d.ts +5 -0
- package/dist/components/Tabs/types.d.ts +69 -0
- package/dist/components/TextInput/index.d.ts +2 -0
- package/dist/components/TextInput/types.d.ts +47 -0
- package/dist/components/Textarea/index.d.ts +2 -0
- package/dist/components/Textarea/types.d.ts +54 -0
- package/dist/components/ThemeProvider/ThemeProvider.vue.d.ts +88 -0
- package/dist/components/ThemeProvider/index.d.ts +1 -0
- package/dist/components/ThemeToggle/ThemeToggle.vue.d.ts +46 -0
- package/dist/components/ThemeToggle/index.d.ts +1 -0
- package/dist/components/Toast/CustomToast.vue.d.ts +50 -0
- package/dist/components/Toast/Toast.vue.d.ts +154 -0
- package/dist/components/Toast/index.d.ts +7 -0
- package/dist/components/Toast/plugin.d.ts +70 -0
- package/dist/components/Toast/types.d.ts +93 -0
- package/dist/components/index.d.ts +32 -0
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/useDropdown.d.ts +23 -0
- package/dist/composables/useTheme.d.ts +189 -0
- package/dist/composables/useThemeContext.d.ts +193 -0
- package/dist/composables/useThemeMode.d.ts +21 -0
- package/dist/directives/click-away/index.d.ts +2 -0
- package/dist/index.d.ts +47 -6937
- package/dist/index.js +15634 -13820
- package/dist/index.umd.cjs +1623 -1620
- package/dist/main.d.ts +0 -0
- package/dist/style.css +1 -1
- package/dist/theme/darkMode.d.ts +17 -0
- package/dist/theme/extensions.d.ts +50 -0
- package/dist/theme/generator.d.ts +31 -0
- package/dist/theme/tailwind.d.ts +10 -0
- package/dist/theme/types.d.ts +47 -0
- package/dist/types/common.d.ts +14 -0
- package/dist/types/index.d.ts +70 -0
- package/dist/utils/colors.d.ts +89 -0
- package/dist/utils/forms.d.ts +35 -0
- package/dist/utils/position.d.ts +11 -0
- package/dist/utils/radius.d.ts +2 -0
- package/dist/utils/shadows.d.ts +9 -0
- package/dist/utils/sizes.d.ts +7 -0
- package/dist/utils/states.d.ts +28 -0
- package/package.json +7 -11
- package/theme.css +243 -0
- package/dist/tailwind-151a5d8c.js +0 -2261
- package/dist/tailwind-e7334431.cjs +0 -66
- package/dist/tailwind.d.ts +0 -107
- package/dist/tailwind.js +0 -12
- package/dist/tailwind.umd.cjs +0 -1
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
message: {
|
|
3
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
okTitle: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
okVariant: {
|
|
15
|
+
type: () => "filled" | "light" | "outline" | "subtle" | "text";
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
okColor: {
|
|
19
|
+
type: () => "primary" | "secondary" | "light" | "success" | "warning" | "danger" | "info" | "dark";
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
okDisabled: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
centered: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
scrollable: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
fullscreen: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
headerClass: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
bodyClass: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
footerClass: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
contentClass: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
dialogClass: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
modalClass: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
showHeaderDivider: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
showFooterDivider: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
showDividers: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
radius: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
busy: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
zIndex: {
|
|
87
|
+
type: NumberConstructor;
|
|
88
|
+
default: number;
|
|
89
|
+
};
|
|
90
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
91
|
+
close: (...args: any[]) => void;
|
|
92
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
message: {
|
|
94
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
title: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
okTitle: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
okVariant: {
|
|
106
|
+
type: () => "filled" | "light" | "outline" | "subtle" | "text";
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
okColor: {
|
|
110
|
+
type: () => "primary" | "secondary" | "light" | "success" | "warning" | "danger" | "info" | "dark";
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
okDisabled: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
centered: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
scrollable: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
fullscreen: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
size: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
headerClass: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
bodyClass: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
footerClass: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
contentClass: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
dialogClass: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
modalClass: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
showHeaderDivider: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
showFooterDivider: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
showDividers: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
radius: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
busy: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
zIndex: {
|
|
178
|
+
type: NumberConstructor;
|
|
179
|
+
default: number;
|
|
180
|
+
};
|
|
181
|
+
}>> & {
|
|
182
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
size: string;
|
|
185
|
+
radius: string;
|
|
186
|
+
title: string;
|
|
187
|
+
fullscreen: boolean;
|
|
188
|
+
zIndex: number;
|
|
189
|
+
message: string | Record<string, any>;
|
|
190
|
+
centered: boolean;
|
|
191
|
+
okTitle: string;
|
|
192
|
+
okVariant: "light" | "filled" | "outline" | "subtle" | "text";
|
|
193
|
+
okColor: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
|
|
194
|
+
okDisabled: boolean;
|
|
195
|
+
scrollable: boolean;
|
|
196
|
+
headerClass: string;
|
|
197
|
+
bodyClass: string;
|
|
198
|
+
footerClass: string;
|
|
199
|
+
contentClass: string;
|
|
200
|
+
dialogClass: string;
|
|
201
|
+
modalClass: string;
|
|
202
|
+
showHeaderDivider: boolean;
|
|
203
|
+
showFooterDivider: boolean;
|
|
204
|
+
showDividers: boolean;
|
|
205
|
+
busy: boolean;
|
|
206
|
+
}>;
|
|
207
|
+
export default _default;
|
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare function show(): void;
|
|
3
|
+
declare function hide(trigger?: string): void;
|
|
4
|
+
declare function toggle(triggerEl?: HTMLElement | string): void;
|
|
5
|
+
declare function close(trigger: string): void;
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
slots: {
|
|
8
|
+
"modal-header"?(_: {}): any;
|
|
9
|
+
"modal-title"?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
"modal-footer"?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
modalElement: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
20
|
+
id: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: () => string;
|
|
23
|
+
};
|
|
24
|
+
title: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
modelValue: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
radius: {
|
|
37
|
+
type: PropType<"none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
centered: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
scrollable: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
fullscreen: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
hideHeader: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
hideFooter: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
hideHeaderClose: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
titleSrOnly: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
ariaLabel: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
content: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
okTitle: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
okVariant: {
|
|
81
|
+
type: PropType<"filled" | "light" | "outline" | "subtle" | "text">;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
okColor: {
|
|
85
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light">;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
okDisabled: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
cancelTitle: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
cancelVariant: {
|
|
97
|
+
type: PropType<"filled" | "light" | "outline" | "subtle" | "text">;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
cancelColor: {
|
|
101
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light">;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
cancelDisabled: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
modalClass: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
dialogClass: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
contentClass: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
headerClass: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
bodyClass: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
footerClass: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
ariaLabelledby: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
teleport: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
backdrop: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
backdropClass: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
titleClass: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
showHeaderDivider: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
showFooterDivider: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
showDividers: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: undefined;
|
|
163
|
+
};
|
|
164
|
+
closeTitle: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
busy: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
noCloseOnBackdrop: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
noCloseOnEsc: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
static: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
lazy: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
okOnly: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
zIndex: {
|
|
193
|
+
type: NumberConstructor;
|
|
194
|
+
default: number;
|
|
195
|
+
};
|
|
196
|
+
disableFocusTrap: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
ignoreEnforceFocusSelector: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
204
|
+
returnFocusOnClose: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
}, {
|
|
209
|
+
hide: typeof hide;
|
|
210
|
+
show: typeof show;
|
|
211
|
+
close: typeof close;
|
|
212
|
+
toggle: typeof toggle;
|
|
213
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
214
|
+
"update:modelValue": (...args: any[]) => void;
|
|
215
|
+
hidden: (...args: any[]) => void;
|
|
216
|
+
close: (...args: any[]) => void;
|
|
217
|
+
cancel: (...args: any[]) => void;
|
|
218
|
+
hide: (...args: any[]) => void;
|
|
219
|
+
show: (...args: any[]) => void;
|
|
220
|
+
shown: (...args: any[]) => void;
|
|
221
|
+
ok: (...args: any[]) => void;
|
|
222
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
223
|
+
id: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
default: () => string;
|
|
226
|
+
};
|
|
227
|
+
title: {
|
|
228
|
+
type: StringConstructor;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
modelValue: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
235
|
+
size: {
|
|
236
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
radius: {
|
|
240
|
+
type: PropType<"none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
centered: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
scrollable: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: boolean;
|
|
250
|
+
};
|
|
251
|
+
fullscreen: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
hideHeader: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
hideFooter: {
|
|
260
|
+
type: BooleanConstructor;
|
|
261
|
+
default: boolean;
|
|
262
|
+
};
|
|
263
|
+
hideHeaderClose: {
|
|
264
|
+
type: BooleanConstructor;
|
|
265
|
+
default: boolean;
|
|
266
|
+
};
|
|
267
|
+
titleSrOnly: {
|
|
268
|
+
type: BooleanConstructor;
|
|
269
|
+
default: boolean;
|
|
270
|
+
};
|
|
271
|
+
ariaLabel: {
|
|
272
|
+
type: StringConstructor;
|
|
273
|
+
default: string;
|
|
274
|
+
};
|
|
275
|
+
content: {
|
|
276
|
+
type: StringConstructor;
|
|
277
|
+
default: string;
|
|
278
|
+
};
|
|
279
|
+
okTitle: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: string;
|
|
282
|
+
};
|
|
283
|
+
okVariant: {
|
|
284
|
+
type: PropType<"filled" | "light" | "outline" | "subtle" | "text">;
|
|
285
|
+
default: string;
|
|
286
|
+
};
|
|
287
|
+
okColor: {
|
|
288
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light">;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
291
|
+
okDisabled: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
295
|
+
cancelTitle: {
|
|
296
|
+
type: StringConstructor;
|
|
297
|
+
default: string;
|
|
298
|
+
};
|
|
299
|
+
cancelVariant: {
|
|
300
|
+
type: PropType<"filled" | "light" | "outline" | "subtle" | "text">;
|
|
301
|
+
default: string;
|
|
302
|
+
};
|
|
303
|
+
cancelColor: {
|
|
304
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light">;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
cancelDisabled: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
311
|
+
modalClass: {
|
|
312
|
+
type: StringConstructor;
|
|
313
|
+
default: string;
|
|
314
|
+
};
|
|
315
|
+
dialogClass: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
contentClass: {
|
|
320
|
+
type: StringConstructor;
|
|
321
|
+
default: string;
|
|
322
|
+
};
|
|
323
|
+
headerClass: {
|
|
324
|
+
type: StringConstructor;
|
|
325
|
+
default: string;
|
|
326
|
+
};
|
|
327
|
+
bodyClass: {
|
|
328
|
+
type: StringConstructor;
|
|
329
|
+
default: string;
|
|
330
|
+
};
|
|
331
|
+
footerClass: {
|
|
332
|
+
type: StringConstructor;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
ariaLabelledby: {
|
|
336
|
+
type: StringConstructor;
|
|
337
|
+
default: string;
|
|
338
|
+
};
|
|
339
|
+
teleport: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: boolean;
|
|
342
|
+
};
|
|
343
|
+
backdrop: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
backdropClass: {
|
|
348
|
+
type: StringConstructor;
|
|
349
|
+
default: string;
|
|
350
|
+
};
|
|
351
|
+
titleClass: {
|
|
352
|
+
type: StringConstructor;
|
|
353
|
+
default: string;
|
|
354
|
+
};
|
|
355
|
+
showHeaderDivider: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
showFooterDivider: {
|
|
360
|
+
type: BooleanConstructor;
|
|
361
|
+
default: boolean;
|
|
362
|
+
};
|
|
363
|
+
showDividers: {
|
|
364
|
+
type: BooleanConstructor;
|
|
365
|
+
default: undefined;
|
|
366
|
+
};
|
|
367
|
+
closeTitle: {
|
|
368
|
+
type: StringConstructor;
|
|
369
|
+
default: string;
|
|
370
|
+
};
|
|
371
|
+
busy: {
|
|
372
|
+
type: BooleanConstructor;
|
|
373
|
+
default: boolean;
|
|
374
|
+
};
|
|
375
|
+
noCloseOnBackdrop: {
|
|
376
|
+
type: BooleanConstructor;
|
|
377
|
+
default: boolean;
|
|
378
|
+
};
|
|
379
|
+
noCloseOnEsc: {
|
|
380
|
+
type: BooleanConstructor;
|
|
381
|
+
default: boolean;
|
|
382
|
+
};
|
|
383
|
+
static: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
lazy: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
okOnly: {
|
|
392
|
+
type: BooleanConstructor;
|
|
393
|
+
default: boolean;
|
|
394
|
+
};
|
|
395
|
+
zIndex: {
|
|
396
|
+
type: NumberConstructor;
|
|
397
|
+
default: number;
|
|
398
|
+
};
|
|
399
|
+
disableFocusTrap: {
|
|
400
|
+
type: BooleanConstructor;
|
|
401
|
+
default: boolean;
|
|
402
|
+
};
|
|
403
|
+
ignoreEnforceFocusSelector: {
|
|
404
|
+
type: StringConstructor;
|
|
405
|
+
default: string;
|
|
406
|
+
};
|
|
407
|
+
returnFocusOnClose: {
|
|
408
|
+
type: BooleanConstructor;
|
|
409
|
+
default: boolean;
|
|
410
|
+
};
|
|
411
|
+
}>> & {
|
|
412
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
413
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
414
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
415
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
|
416
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
417
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
418
|
+
onShown?: ((...args: any[]) => any) | undefined;
|
|
419
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
420
|
+
}, {
|
|
421
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
422
|
+
radius: "sm" | "md" | "lg" | "xl" | "none" | "full";
|
|
423
|
+
title: string;
|
|
424
|
+
modelValue: boolean;
|
|
425
|
+
id: string;
|
|
426
|
+
ariaLabel: string;
|
|
427
|
+
fullscreen: boolean;
|
|
428
|
+
content: string;
|
|
429
|
+
zIndex: number;
|
|
430
|
+
static: boolean;
|
|
431
|
+
centered: boolean;
|
|
432
|
+
okTitle: string;
|
|
433
|
+
okVariant: "light" | "filled" | "outline" | "subtle" | "text";
|
|
434
|
+
okColor: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
|
|
435
|
+
okDisabled: boolean;
|
|
436
|
+
scrollable: boolean;
|
|
437
|
+
headerClass: string;
|
|
438
|
+
bodyClass: string;
|
|
439
|
+
footerClass: string;
|
|
440
|
+
contentClass: string;
|
|
441
|
+
dialogClass: string;
|
|
442
|
+
modalClass: string;
|
|
443
|
+
showHeaderDivider: boolean;
|
|
444
|
+
showFooterDivider: boolean;
|
|
445
|
+
showDividers: boolean;
|
|
446
|
+
busy: boolean;
|
|
447
|
+
cancelTitle: string;
|
|
448
|
+
cancelVariant: "light" | "filled" | "outline" | "subtle" | "text";
|
|
449
|
+
cancelColor: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
|
|
450
|
+
cancelDisabled: boolean;
|
|
451
|
+
noCloseOnBackdrop: boolean;
|
|
452
|
+
noCloseOnEsc: boolean;
|
|
453
|
+
titleClass: string;
|
|
454
|
+
hideHeader: boolean;
|
|
455
|
+
hideFooter: boolean;
|
|
456
|
+
hideHeaderClose: boolean;
|
|
457
|
+
titleSrOnly: boolean;
|
|
458
|
+
ariaLabelledby: string;
|
|
459
|
+
teleport: boolean;
|
|
460
|
+
backdrop: boolean;
|
|
461
|
+
backdropClass: string;
|
|
462
|
+
closeTitle: string;
|
|
463
|
+
lazy: boolean;
|
|
464
|
+
okOnly: boolean;
|
|
465
|
+
disableFocusTrap: boolean;
|
|
466
|
+
ignoreEnforceFocusSelector: string;
|
|
467
|
+
returnFocusOnClose: boolean;
|
|
468
|
+
}>;
|
|
469
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
470
|
+
export default _default;
|
|
471
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
472
|
+
new (): {
|
|
473
|
+
$slots: S;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* v-cstu-modal directive
|
|
4
|
+
*
|
|
5
|
+
* Usage:
|
|
6
|
+
* v-cstu-modal="'my-modal-id'" or v-cstu-modal.my-modal-id
|
|
7
|
+
*
|
|
8
|
+
* This directive allows elements to trigger modal visibility when clicked
|
|
9
|
+
*/
|
|
10
|
+
export declare const VCstuModal: ObjectDirective;
|
|
11
|
+
declare const _default: {
|
|
12
|
+
install: (app: any) => void;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as Modal } from './Modal.vue';
|
|
2
|
+
import { ModalProps } from './types';
|
|
3
|
+
import { ModalPlugin, useModal } from './plugin';
|
|
4
|
+
import { default as ModalDirective } from './directive';
|
|
5
|
+
export { Modal, ModalPlugin, useModal, ModalDirective };
|
|
6
|
+
export type { ModalProps };
|
|
7
|
+
export default Modal;
|