@robuust-digital/vue-components 2.1.0 → 2.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/CHANGELOG.md +6 -0
- package/dist/_shared/ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js +60 -0
- package/dist/_shared/ChevronDownIcon-DaaXfD3C.js +41 -0
- package/dist/_shared/Combobox.vue_vue_type_script_setup_true_lang-CP3x2DUA.js +266 -0
- package/dist/_shared/Drawer.vue_vue_type_script_setup_true_lang-CD5914Fk.js +185 -0
- package/dist/_shared/Dropdown.vue_vue_type_script_setup_true_lang-CmYj-7WQ.js +115 -0
- package/dist/_shared/FormInput.vue_vue_type_script_setup_true_lang-BhJpG-Fw.js +75 -0
- package/dist/_shared/Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js +43 -0
- package/dist/_shared/Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js +186 -0
- package/dist/_shared/RichTextEditor.vue_vue_type_script_setup_true_lang-CIVhqJtE.js +274 -0
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-BgOTdYXd.js +676 -0
- package/dist/_shared/Toast.vue_vue_type_script_setup_true_lang-Be3i_0zE.js +78 -0
- package/dist/_shared/Tooltip.vue_vue_type_script_setup_true_lang-CoydN9sS.js +96 -0
- package/dist/_shared/{icon-spinner-CmxIOqaK.js → icon-spinner-CP0VP_YM.js} +2 -2
- package/dist/combobox/index.js +3 -347
- package/dist/combobox.d.ts +132 -0
- package/dist/core/index.js +17 -826
- package/dist/core.d.ts +669 -0
- package/dist/dialogs/index.js +4 -216
- package/dist/dialogs.d.ts +226 -0
- package/dist/dropdown/index.js +3 -131
- package/dist/dropdown.d.ts +145 -0
- package/dist/index/index.js +35 -0
- package/dist/index.d.ts +1343 -0
- package/dist/lightswitch/index.js +3 -47
- package/dist/lightswitch.d.ts +39 -0
- package/dist/rich-text-editor/index.js +3 -261
- package/dist/rich-text-editor.d.ts +89 -0
- package/dist/toast/index.js +3 -99
- package/dist/toast.d.ts +66 -0
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip.d.ts +61 -0
- package/package.json +69 -38
- package/dist/_shared/ButtonBase-DfkwHIhN.js +0 -87
- package/dist/_shared/ChevronDownIcon-z-5U4fIb.js +0 -55
- package/dist/_shared/FormInput-B-SQTZTA.js +0 -92
- package/dist/_shared/Modal-Bw2sID1x.js +0 -213
- package/dist/_shared/Tooltip-B93ZF7IF.js +0 -126
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { ComponentCustomProps } from 'vue';
|
|
3
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
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
|
+
}, string, PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
19
|
+
"onDropdown:click"?: ((item: DropdownItem) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
label: string;
|
|
22
|
+
rootClass: string;
|
|
23
|
+
alignLeft: boolean;
|
|
24
|
+
fullWidth: boolean;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
|
|
27
|
+
declare function __VLS_template(): {
|
|
28
|
+
attrs: Partial<{}>;
|
|
29
|
+
slots: {
|
|
30
|
+
button?(_: {
|
|
31
|
+
label: string;
|
|
32
|
+
button: DefineComponent< {
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
as: {
|
|
38
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
id: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: null;
|
|
44
|
+
};
|
|
45
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}> | VNode<RendererNode, RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
50
|
+
disabled: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
as: {
|
|
55
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
id: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: null;
|
|
61
|
+
};
|
|
62
|
+
}>>, {
|
|
63
|
+
id: string;
|
|
64
|
+
as: string | Record<string, any>;
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
}): any;
|
|
68
|
+
items?(_: {
|
|
69
|
+
items: DropdownItem[];
|
|
70
|
+
menuItem: DefineComponent< {
|
|
71
|
+
as: {
|
|
72
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
id: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: null;
|
|
82
|
+
};
|
|
83
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
}> | VNode<RendererNode, RendererElement, {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
|
|
88
|
+
as: {
|
|
89
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
id: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: null;
|
|
99
|
+
};
|
|
100
|
+
}>>, {
|
|
101
|
+
id: string;
|
|
102
|
+
as: string | Record<string, any>;
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
105
|
+
}): any;
|
|
106
|
+
item?(_: {
|
|
107
|
+
item: DropdownItem;
|
|
108
|
+
}): any;
|
|
109
|
+
};
|
|
110
|
+
refs: {};
|
|
111
|
+
rootEl: any;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
115
|
+
|
|
116
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
117
|
+
new (): {
|
|
118
|
+
$slots: S;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
123
|
+
export { _default as Dropdown }
|
|
124
|
+
export default _default;
|
|
125
|
+
|
|
126
|
+
declare interface DropdownItem {
|
|
127
|
+
name: string;
|
|
128
|
+
as?: string;
|
|
129
|
+
bindAs?: string;
|
|
130
|
+
event?: () => void;
|
|
131
|
+
icon?: Icon | null;
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
declare interface DropdownProps {
|
|
136
|
+
items: DropdownItem[];
|
|
137
|
+
alignLeft?: boolean;
|
|
138
|
+
fullWidth?: boolean;
|
|
139
|
+
label?: string;
|
|
140
|
+
rootClass?: string;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
144
|
+
|
|
145
|
+
export { }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-BgOTdYXd.js";
|
|
2
|
+
import { _ as d } from "../_shared/ChevronDownIcon-DaaXfD3C.js";
|
|
3
|
+
import { _ as n } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js";
|
|
4
|
+
import { _ as h } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-BhJpG-Fw.js";
|
|
5
|
+
import { _ as g } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-CP3x2DUA.js";
|
|
6
|
+
import { _ as B } from "../_shared/Drawer.vue_vue_type_script_setup_true_lang-CD5914Fk.js";
|
|
7
|
+
import { _ as F } from "../_shared/Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js";
|
|
8
|
+
import { _ as A } from "../_shared/Dropdown.vue_vue_type_script_setup_true_lang-CmYj-7WQ.js";
|
|
9
|
+
import { _ as E } from "../_shared/Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js";
|
|
10
|
+
import { _ as S } from "../_shared/RichTextEditor.vue_vue_type_script_setup_true_lang-CIVhqJtE.js";
|
|
11
|
+
import { _ as y } from "../_shared/Toast.vue_vue_type_script_setup_true_lang-Be3i_0zE.js";
|
|
12
|
+
import { _ as L } from "../_shared/Tooltip.vue_vue_type_script_setup_true_lang-CoydN9sS.js";
|
|
13
|
+
export {
|
|
14
|
+
r as Accordion,
|
|
15
|
+
t as Alert,
|
|
16
|
+
d as Badge,
|
|
17
|
+
n as ButtonBase,
|
|
18
|
+
e as Checkbox,
|
|
19
|
+
g as Combobox,
|
|
20
|
+
s as DataTable,
|
|
21
|
+
B as Drawer,
|
|
22
|
+
A as Dropdown,
|
|
23
|
+
m as EmptyState,
|
|
24
|
+
h as FormInput,
|
|
25
|
+
p as FormSelect,
|
|
26
|
+
x as FormTextarea,
|
|
27
|
+
E as Lightswitch,
|
|
28
|
+
F as Modal,
|
|
29
|
+
f as Pagination,
|
|
30
|
+
_ as Radio,
|
|
31
|
+
S as RichTextEditor,
|
|
32
|
+
i as Tabs,
|
|
33
|
+
y as Toast,
|
|
34
|
+
L as Tooltip
|
|
35
|
+
};
|