@robuust-digital/vue-components 2.7.0 → 3.0.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/CHANGELOG.md +25 -0
- package/dist/_shared/ButtonBase-DyeIkb-l.js +76 -0
- package/dist/_shared/ChevronDownIcon-Y_yqpwON.js +39 -0
- package/dist/_shared/FormInput-k0vAk3VU.js +69 -0
- package/dist/_shared/Modal-D0x_VHiB.js +188 -0
- package/dist/_shared/Tooltip-B5w_Ojie.js +85 -0
- package/dist/_shared/XMarkIcon-CBoWSM1l.js +17 -0
- package/dist/_shared/combobox-yh0YQ8_d.js +265 -0
- package/dist/_shared/core-C0o6izrz.js +854 -0
- package/dist/_shared/dialogs-SvdPsILD.js +179 -0
- package/dist/_shared/dropdown-BPUpLokN.js +134 -0
- package/dist/_shared/icon-spinner-D3Dhustt.js +23 -0
- package/dist/_shared/lightswitch-CpyX1iA_.js +38 -0
- package/dist/_shared/rich-text-editor-DkHKNS2n.js +226 -0
- package/dist/_shared/toast-DNxJDQWN.js +84 -0
- package/dist/combobox/index.js +2 -5
- package/dist/combobox.d.ts +3 -132
- package/dist/composables/useDialogContext.d.ts +19 -0
- package/dist/composables/useForm.d.ts +6 -0
- package/dist/core/file-upload.css +28 -1
- package/dist/core/index.js +5 -20
- package/dist/core.d.ts +15 -794
- package/dist/dialogs/index.js +3 -6
- package/dist/dialogs.d.ts +3 -300
- package/dist/dropdown/index.js +2 -5
- package/dist/dropdown.d.ts +3 -149
- package/dist/index/index.js +14 -36
- package/dist/index.d.ts +8 -1546
- package/dist/lightswitch/index.js +2 -5
- package/dist/lightswitch.d.ts +3 -39
- package/dist/rich-text-editor/index.js +2 -5
- package/dist/rich-text-editor.d.ts +3 -89
- package/dist/toast/index.js +2 -5
- package/dist/toast.d.ts +3 -66
- package/dist/tooltip/index.js +5 -5
- package/dist/tooltip.d.ts +3 -61
- package/dist/types/shared.d.ts +2 -0
- package/package.json +33 -36
- package/dist/_shared/ButtonBase.vue_vue_type_script_setup_true_lang-ZYVNEyNx.js +0 -60
- package/dist/_shared/ChevronDownIcon-BYWciGnh.js +0 -41
- package/dist/_shared/Combobox.vue_vue_type_script_setup_true_lang-BwTRzqr6.js +0 -256
- package/dist/_shared/Drawer.vue_vue_type_script_setup_true_lang-DeAu2U_2.js +0 -197
- package/dist/_shared/Dropdown.vue_vue_type_script_setup_true_lang-Cv3HwIyF.js +0 -150
- package/dist/_shared/FormInput.vue_vue_type_script_setup_true_lang-Bg7YPGyY.js +0 -74
- package/dist/_shared/Lightswitch.vue_vue_type_script_setup_true_lang-hiuDVfo5.js +0 -43
- package/dist/_shared/Modal.vue_vue_type_script_setup_true_lang-CdMsCCBi.js +0 -203
- package/dist/_shared/RichTextEditor.vue_vue_type_script_setup_true_lang-Miebq2nL.js +0 -247
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-BaTWaeN3.js +0 -931
- package/dist/_shared/Toast.vue_vue_type_script_setup_true_lang-DS6keeu7.js +0 -78
- package/dist/_shared/Tooltip.vue_vue_type_script_setup_true_lang-B3MHy48T.js +0 -95
- package/dist/_shared/XMarkIcon-CPr_Rd8y.js +0 -19
- package/dist/_shared/icon-spinner-BYCMrTdL.js +0 -26
package/dist/dialogs/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
a as Drawer,
|
|
5
|
-
f as Modal
|
|
6
|
-
};
|
|
1
|
+
import { t as e } from "../_shared/Modal-D0x_VHiB.js";
|
|
2
|
+
import { t } from "../_shared/dialogs-SvdPsILD.js";
|
|
3
|
+
export { t as Drawer, e as Modal };
|
package/dist/dialogs.d.ts
CHANGED
|
@@ -1,300 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
-
import { ComponentProvideOptions } from 'vue';
|
|
6
|
-
import { DefineComponent } from 'vue';
|
|
7
|
-
import { ExtractPropTypes } from 'vue';
|
|
8
|
-
import { FunctionalComponent } from 'vue';
|
|
9
|
-
import { HTMLAttributes } from 'vue';
|
|
10
|
-
import { PublicProps } from 'vue';
|
|
11
|
-
import { RendererElement } from 'vue';
|
|
12
|
-
import { RendererNode } from 'vue';
|
|
13
|
-
import { VNode } from 'vue';
|
|
14
|
-
import { VNodeProps } from 'vue';
|
|
15
|
-
|
|
16
|
-
declare const __VLS_component: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
-
"drawer:open": () => any;
|
|
18
|
-
"drawer:opened": () => any;
|
|
19
|
-
"drawer:close": () => any;
|
|
20
|
-
"drawer:save": (event?: Event | undefined) => any;
|
|
21
|
-
"drawer:closed": () => any;
|
|
22
|
-
}, string, PublicProps, Readonly<DrawerProps> & Readonly<{
|
|
23
|
-
"onDrawer:open"?: (() => any) | undefined;
|
|
24
|
-
"onDrawer:opened"?: (() => any) | undefined;
|
|
25
|
-
"onDrawer:close"?: (() => any) | undefined;
|
|
26
|
-
"onDrawer:save"?: ((event?: Event | undefined) => any) | undefined;
|
|
27
|
-
"onDrawer:closed"?: (() => any) | undefined;
|
|
28
|
-
}>, {
|
|
29
|
-
as: string | Component;
|
|
30
|
-
spinning: boolean;
|
|
31
|
-
showClose: boolean;
|
|
32
|
-
scrolledDown: boolean;
|
|
33
|
-
headerSticky: boolean;
|
|
34
|
-
submitLabel: string;
|
|
35
|
-
cancelLabel: string;
|
|
36
|
-
panelClass: string;
|
|
37
|
-
resetHeader: boolean;
|
|
38
|
-
resetFooter: boolean;
|
|
39
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
40
|
-
contentRef: HTMLDivElement;
|
|
41
|
-
}, any>;
|
|
42
|
-
|
|
43
|
-
declare const __VLS_component_2: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
44
|
-
"modal:open": () => any;
|
|
45
|
-
"modal:opened": () => any;
|
|
46
|
-
"modal:close": () => any;
|
|
47
|
-
"modal:save": (event?: Event | undefined) => any;
|
|
48
|
-
"modal:closed": () => any;
|
|
49
|
-
}, string, PublicProps, Readonly<ModalProps> & Readonly<{
|
|
50
|
-
"onModal:open"?: (() => any) | undefined;
|
|
51
|
-
"onModal:opened"?: (() => any) | undefined;
|
|
52
|
-
"onModal:close"?: (() => any) | undefined;
|
|
53
|
-
"onModal:save"?: ((event?: Event | undefined) => any) | undefined;
|
|
54
|
-
"onModal:closed"?: (() => any) | undefined;
|
|
55
|
-
}>, {
|
|
56
|
-
as: string | Component;
|
|
57
|
-
spinning: boolean;
|
|
58
|
-
showClose: boolean;
|
|
59
|
-
submitLabel: string;
|
|
60
|
-
cancelLabel: string;
|
|
61
|
-
panelClass: string;
|
|
62
|
-
resetHeader: boolean;
|
|
63
|
-
resetFooter: boolean;
|
|
64
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
65
|
-
contentRef: HTMLDivElement;
|
|
66
|
-
}, any>;
|
|
67
|
-
|
|
68
|
-
declare function __VLS_template(): {
|
|
69
|
-
attrs: Partial<{}>;
|
|
70
|
-
slots: {
|
|
71
|
-
panel?(_: {
|
|
72
|
-
title: string;
|
|
73
|
-
loading: boolean;
|
|
74
|
-
isForm: boolean;
|
|
75
|
-
titleId: string;
|
|
76
|
-
descriptionId: string;
|
|
77
|
-
contentRef: HTMLElement | null;
|
|
78
|
-
dialogTitle: DefineComponent< {
|
|
79
|
-
as: {
|
|
80
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
id: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default: null;
|
|
86
|
-
};
|
|
87
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
88
|
-
[key: string]: any;
|
|
89
|
-
}> | VNode<RendererNode, RendererElement, {
|
|
90
|
-
[key: string]: any;
|
|
91
|
-
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
92
|
-
as: {
|
|
93
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
id: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
default: null;
|
|
99
|
-
};
|
|
100
|
-
}>>, {
|
|
101
|
-
id: string;
|
|
102
|
-
as: string | Record<string, any>;
|
|
103
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
104
|
-
emitClose: () => void;
|
|
105
|
-
emitSave: (event?: undefined) => void;
|
|
106
|
-
}): any;
|
|
107
|
-
header?(_: {
|
|
108
|
-
title: string;
|
|
109
|
-
showClose: boolean;
|
|
110
|
-
}): any;
|
|
111
|
-
header?(_: {}): any;
|
|
112
|
-
title?(_: {
|
|
113
|
-
id: string;
|
|
114
|
-
dialogTitle: DefineComponent< {
|
|
115
|
-
as: {
|
|
116
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
id: {
|
|
120
|
-
type: StringConstructor;
|
|
121
|
-
default: null;
|
|
122
|
-
};
|
|
123
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
124
|
-
[key: string]: any;
|
|
125
|
-
}> | VNode<RendererNode, RendererElement, {
|
|
126
|
-
[key: string]: any;
|
|
127
|
-
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
128
|
-
as: {
|
|
129
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
130
|
-
default: string;
|
|
131
|
-
};
|
|
132
|
-
id: {
|
|
133
|
-
type: StringConstructor;
|
|
134
|
-
default: null;
|
|
135
|
-
};
|
|
136
|
-
}>>, {
|
|
137
|
-
id: string;
|
|
138
|
-
as: string | Record<string, any>;
|
|
139
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
140
|
-
title: string;
|
|
141
|
-
}): any;
|
|
142
|
-
close?(_: {
|
|
143
|
-
icon: FunctionalComponent<HTMLAttributes & VNodeProps, {}, any, {}>;
|
|
144
|
-
emitClose: () => void;
|
|
145
|
-
}): any;
|
|
146
|
-
default?(_: {
|
|
147
|
-
ready: boolean;
|
|
148
|
-
}): any;
|
|
149
|
-
footer?(_: {
|
|
150
|
-
loading: boolean;
|
|
151
|
-
}): any;
|
|
152
|
-
footer?(_: {}): any;
|
|
153
|
-
};
|
|
154
|
-
refs: {
|
|
155
|
-
contentRef: HTMLDivElement;
|
|
156
|
-
};
|
|
157
|
-
rootEl: any;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
declare function __VLS_template_2(): {
|
|
161
|
-
attrs: Partial<{}>;
|
|
162
|
-
slots: {
|
|
163
|
-
panel?(_: {
|
|
164
|
-
title: string;
|
|
165
|
-
loading: boolean;
|
|
166
|
-
isForm: boolean;
|
|
167
|
-
titleId: string;
|
|
168
|
-
descriptionId: string;
|
|
169
|
-
contentRef: HTMLElement | null;
|
|
170
|
-
dialogTitle: DefineComponent< {
|
|
171
|
-
as: {
|
|
172
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
173
|
-
default: string;
|
|
174
|
-
};
|
|
175
|
-
id: {
|
|
176
|
-
type: StringConstructor;
|
|
177
|
-
default: null;
|
|
178
|
-
};
|
|
179
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
180
|
-
[key: string]: any;
|
|
181
|
-
}> | VNode<RendererNode, RendererElement, {
|
|
182
|
-
[key: string]: any;
|
|
183
|
-
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
184
|
-
as: {
|
|
185
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
186
|
-
default: string;
|
|
187
|
-
};
|
|
188
|
-
id: {
|
|
189
|
-
type: StringConstructor;
|
|
190
|
-
default: null;
|
|
191
|
-
};
|
|
192
|
-
}>>, {
|
|
193
|
-
id: string;
|
|
194
|
-
as: string | Record<string, any>;
|
|
195
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
196
|
-
emitClose: () => void;
|
|
197
|
-
emitSave: (event?: undefined) => void;
|
|
198
|
-
}): any;
|
|
199
|
-
header?(_: {
|
|
200
|
-
title: string;
|
|
201
|
-
showClose: boolean;
|
|
202
|
-
}): any;
|
|
203
|
-
header?(_: {}): any;
|
|
204
|
-
title?(_: {
|
|
205
|
-
id: string;
|
|
206
|
-
dialogTitle: DefineComponent< {
|
|
207
|
-
as: {
|
|
208
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
209
|
-
default: string;
|
|
210
|
-
};
|
|
211
|
-
id: {
|
|
212
|
-
type: StringConstructor;
|
|
213
|
-
default: null;
|
|
214
|
-
};
|
|
215
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
216
|
-
[key: string]: any;
|
|
217
|
-
}> | VNode<RendererNode, RendererElement, {
|
|
218
|
-
[key: string]: any;
|
|
219
|
-
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
220
|
-
as: {
|
|
221
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
222
|
-
default: string;
|
|
223
|
-
};
|
|
224
|
-
id: {
|
|
225
|
-
type: StringConstructor;
|
|
226
|
-
default: null;
|
|
227
|
-
};
|
|
228
|
-
}>>, {
|
|
229
|
-
id: string;
|
|
230
|
-
as: string | Record<string, any>;
|
|
231
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
232
|
-
title: string;
|
|
233
|
-
}): any;
|
|
234
|
-
close?(_: {
|
|
235
|
-
icon: FunctionalComponent<HTMLAttributes & VNodeProps, {}, any, {}>;
|
|
236
|
-
emitClose: () => void;
|
|
237
|
-
}): any;
|
|
238
|
-
default?(_: {
|
|
239
|
-
ready: boolean;
|
|
240
|
-
}): any;
|
|
241
|
-
footer?(_: {
|
|
242
|
-
loading: boolean;
|
|
243
|
-
}): any;
|
|
244
|
-
footer?(_: {}): any;
|
|
245
|
-
};
|
|
246
|
-
refs: {
|
|
247
|
-
contentRef: HTMLDivElement;
|
|
248
|
-
};
|
|
249
|
-
rootEl: any;
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
253
|
-
|
|
254
|
-
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
255
|
-
|
|
256
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
257
|
-
new (): {
|
|
258
|
-
$slots: S;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
263
|
-
new (): {
|
|
264
|
-
$slots: S;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
export declare const Drawer: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
269
|
-
|
|
270
|
-
declare interface DrawerProps {
|
|
271
|
-
as?: string | Component;
|
|
272
|
-
id: string;
|
|
273
|
-
title: string;
|
|
274
|
-
showClose?: boolean;
|
|
275
|
-
scrolledDown?: boolean;
|
|
276
|
-
headerSticky?: boolean;
|
|
277
|
-
spinning?: boolean;
|
|
278
|
-
submitLabel?: string;
|
|
279
|
-
cancelLabel?: string;
|
|
280
|
-
panelClass?: string;
|
|
281
|
-
resetHeader?: boolean;
|
|
282
|
-
resetFooter?: boolean;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export declare const Modal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
286
|
-
|
|
287
|
-
declare interface ModalProps {
|
|
288
|
-
as?: string | Component;
|
|
289
|
-
id: string;
|
|
290
|
-
title: string;
|
|
291
|
-
showClose?: boolean;
|
|
292
|
-
spinning?: boolean;
|
|
293
|
-
submitLabel?: string;
|
|
294
|
-
cancelLabel?: string;
|
|
295
|
-
panelClass?: string;
|
|
296
|
-
resetHeader?: boolean;
|
|
297
|
-
resetFooter?: boolean;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
export { }
|
|
1
|
+
import { default as Drawer } from './components/Drawer.vue';
|
|
2
|
+
import { default as Modal } from './components/Modal.vue';
|
|
3
|
+
export { Drawer, Modal };
|
package/dist/dropdown/index.js
CHANGED
package/dist/dropdown.d.ts
CHANGED
|
@@ -1,149 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { ComponentProvideOptions } from 'vue';
|
|
5
|
-
import { DefineComponent } from 'vue';
|
|
6
|
-
import { ExtractPropTypes } from 'vue';
|
|
7
|
-
import { FunctionalComponent } from 'vue';
|
|
8
|
-
import { HTMLAttributes } from 'vue';
|
|
9
|
-
import { PublicProps } from 'vue';
|
|
10
|
-
import { RendererElement } from 'vue';
|
|
11
|
-
import { RendererNode } from 'vue';
|
|
12
|
-
import { SVGAttributes } from 'vue';
|
|
13
|
-
import { VNode } from 'vue';
|
|
14
|
-
import { VNodeProps } from 'vue';
|
|
15
|
-
|
|
16
|
-
declare const __VLS_component: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
-
"dropdown:click": (item: DropdownItem) => any;
|
|
18
|
-
"update:open": (value: boolean) => any;
|
|
19
|
-
}, string, PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
20
|
-
"onDropdown:click"?: ((item: DropdownItem) => any) | undefined;
|
|
21
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
label: string;
|
|
24
|
-
open: boolean | null;
|
|
25
|
-
rootClass: string;
|
|
26
|
-
alignLeft: boolean;
|
|
27
|
-
fullWidth: boolean;
|
|
28
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
29
|
-
|
|
30
|
-
declare function __VLS_template(): {
|
|
31
|
-
attrs: Partial<{}>;
|
|
32
|
-
slots: {
|
|
33
|
-
button?(_: {
|
|
34
|
-
label: string;
|
|
35
|
-
button: DefineComponent< {
|
|
36
|
-
disabled: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
as: {
|
|
41
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
id: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: null;
|
|
47
|
-
};
|
|
48
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}> | VNode<RendererNode, RendererElement, {
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
53
|
-
disabled: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
as: {
|
|
58
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
id: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
default: null;
|
|
64
|
-
};
|
|
65
|
-
}>>, {
|
|
66
|
-
id: string;
|
|
67
|
-
as: string | Record<string, any>;
|
|
68
|
-
disabled: boolean;
|
|
69
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
70
|
-
}): any;
|
|
71
|
-
items?(_: {
|
|
72
|
-
items: DropdownItem[];
|
|
73
|
-
menuItem: DefineComponent< {
|
|
74
|
-
as: {
|
|
75
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
disabled: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
id: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: null;
|
|
85
|
-
};
|
|
86
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
87
|
-
[key: string]: any;
|
|
88
|
-
}> | VNode<RendererNode, RendererElement, {
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
91
|
-
as: {
|
|
92
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
disabled: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
id: {
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
default: null;
|
|
102
|
-
};
|
|
103
|
-
}>>, {
|
|
104
|
-
id: string;
|
|
105
|
-
as: string | Record<string, any>;
|
|
106
|
-
disabled: boolean;
|
|
107
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
108
|
-
}): any;
|
|
109
|
-
item?(_: {
|
|
110
|
-
item: DropdownItem;
|
|
111
|
-
}): any;
|
|
112
|
-
};
|
|
113
|
-
refs: {};
|
|
114
|
-
rootEl: any;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
118
|
-
|
|
119
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
120
|
-
new (): {
|
|
121
|
-
$slots: S;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
126
|
-
export { _default as Dropdown }
|
|
127
|
-
export default _default;
|
|
128
|
-
|
|
129
|
-
declare interface DropdownItem {
|
|
130
|
-
name: string;
|
|
131
|
-
as?: string;
|
|
132
|
-
bindAs?: string;
|
|
133
|
-
event?: () => void;
|
|
134
|
-
icon?: Icon | null;
|
|
135
|
-
[key: string]: unknown;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
declare interface DropdownProps {
|
|
139
|
-
items: DropdownItem[];
|
|
140
|
-
alignLeft?: boolean;
|
|
141
|
-
fullWidth?: boolean;
|
|
142
|
-
label?: string;
|
|
143
|
-
open?: boolean | null;
|
|
144
|
-
rootClass?: string;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
148
|
-
|
|
149
|
-
export { }
|
|
1
|
+
import { default as Dropdown } from './components/Dropdown.vue';
|
|
2
|
+
export { Dropdown };
|
|
3
|
+
export default Dropdown;
|
package/dist/index/index.js
CHANGED
|
@@ -1,36 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
t as Alert,
|
|
16
|
-
l as Badge,
|
|
17
|
-
n as ButtonBase,
|
|
18
|
-
e as Checkbox,
|
|
19
|
-
F as Combobox,
|
|
20
|
-
s as DataTable,
|
|
21
|
-
B as Drawer,
|
|
22
|
-
C as Dropdown,
|
|
23
|
-
m as EmptyState,
|
|
24
|
-
p as FileUpload,
|
|
25
|
-
h as FormInput,
|
|
26
|
-
x as FormSelect,
|
|
27
|
-
f as FormTextarea,
|
|
28
|
-
R as Lightswitch,
|
|
29
|
-
u as Modal,
|
|
30
|
-
_ as Pagination,
|
|
31
|
-
i as Radio,
|
|
32
|
-
j as RichTextEditor,
|
|
33
|
-
d as Tabs,
|
|
34
|
-
y as Toast,
|
|
35
|
-
L as Tooltip
|
|
36
|
-
};
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../_shared/core-C0o6izrz.js";
|
|
2
|
+
import { n as d } from "../_shared/ChevronDownIcon-Y_yqpwON.js";
|
|
3
|
+
import { t as f } from "../_shared/ButtonBase-DyeIkb-l.js";
|
|
4
|
+
import { t as p } from "../_shared/FormInput-k0vAk3VU.js";
|
|
5
|
+
import { n as m } from "../_shared/rich-text-editor-DkHKNS2n.js";
|
|
6
|
+
import { n as h } from "../_shared/combobox-yh0YQ8_d.js";
|
|
7
|
+
import { n as g } from "../_shared/dropdown-BPUpLokN.js";
|
|
8
|
+
import { t as _ } from "../_shared/Modal-D0x_VHiB.js";
|
|
9
|
+
import { t as v } from "../_shared/dialogs-SvdPsILD.js";
|
|
10
|
+
import { n as y } from "../_shared/lightswitch-CpyX1iA_.js";
|
|
11
|
+
import { t as b } from "../_shared/Tooltip-B5w_Ojie.js";
|
|
12
|
+
import { n as x } from "../_shared/toast-DNxJDQWN.js";
|
|
13
|
+
import "../tooltip/index.js";
|
|
14
|
+
export { n as Accordion, u as Alert, d as Badge, f as ButtonBase, i as Checkbox, h as Combobox, o as DataTable, v as Drawer, g as Dropdown, e as EmptyState, r as FileUpload, p as FormInput, t as FormSelect, s as FormTextarea, y as Lightswitch, _ as Modal, c as Pagination, a as Radio, m as RichTextEditor, l as Tabs, x as Toast, b as Tooltip };
|