@rocketui/vue 0.2.79 → 0.2.81
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/dist/rocket-ui-vue.d.ts +3348 -0
- package/dist/rocket-ui-vue.js +423 -397
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -116
- package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
- package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -70
- package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
- package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
- package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
- package/dist/src/components/Alert/Alert.stories.d.ts +0 -461
- package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
- package/dist/src/components/Alert/RAlert.vue.d.ts +0 -109
- package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
- package/dist/src/components/Alert/alert.spec.d.ts +0 -2
- package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
- package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
- package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
- package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
- package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
- package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
- package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
- package/dist/src/components/Badge/Badge.stories.d.ts +0 -281
- package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
- package/dist/src/components/Badge/RBadge.vue.d.ts +0 -143
- package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
- package/dist/src/components/Badge/badge.spec.d.ts +0 -2
- package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
- package/dist/src/components/Box/Box.stories.d.ts +0 -167
- package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
- package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
- package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
- package/dist/src/components/Button/Button.spec.d.ts +0 -2
- package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +0 -553
- package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
- package/dist/src/components/Button/RButton.vue.d.ts +0 -155
- package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
- package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
- package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
- package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
- package/dist/src/components/Chips/Chip.stories.d.ts +0 -547
- package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
- package/dist/src/components/Chips/RChip.vue.d.ts +0 -132
- package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
- package/dist/src/components/Chips/chip.spec.d.ts +0 -2
- package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
- package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -690
- package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
- package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -418
- package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
- package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
- package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
- package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
- package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
- package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
- package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
- package/dist/src/components/Icon/icon.spec.d.ts +0 -2
- package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
- package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -65
- package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
- package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
- package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
- package/dist/src/components/Label/Label.stories.d.ts +0 -133
- package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
- package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
- package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
- package/dist/src/components/Modal/Modal.stories.d.ts +0 -343
- package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
- package/dist/src/components/Modal/RModal.vue.d.ts +0 -183
- package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
- package/dist/src/components/Modal/modal.spec.d.ts +0 -2
- package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -243
- package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
- package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -110
- package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
- package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
- package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
- package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
- package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
- package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
- package/dist/src/components/Radio/RRadio.vue.d.ts +0 -66
- package/dist/src/components/Radio/RRadio.vue.d.ts.map +0 -1
- package/dist/src/components/Radio/Radio.stories.d.ts +0 -100
- package/dist/src/components/Radio/Radio.stories.d.ts.map +0 -1
- package/dist/src/components/Shared/Enums.d.ts +0 -2
- package/dist/src/components/Shared/Enums.d.ts.map +0 -1
- package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -53
- package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -163
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
- package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
- package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
- package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
- package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
- package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
- package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
- package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
- package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
- package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -135
- package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
- package/dist/src/components/Switch/Switch.stories.d.ts +0 -102
- package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
- package/dist/src/components/Switch/switch.spec.d.ts +0 -2
- package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
- package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -155
- package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
- package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
- package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
- package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -290
- package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
- package/dist/src/components/TabItem/common.d.ts +0 -7
- package/dist/src/components/TabItem/common.d.ts.map +0 -1
- package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
- package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
- package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
- package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -181
- package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
- package/dist/src/components/Tabs/types.d.ts +0 -11
- package/dist/src/components/Tabs/types.d.ts.map +0 -1
- package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
- package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
- package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
- package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
- package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
- package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
- package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -249
- package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
- package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -459
- package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
- package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
- package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
- package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -264
- package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -479
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/dist/src/components/Tooltip/popper.d.ts +0 -29
- package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
- package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
- package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
- package/dist/src/directives/index.d.ts +0 -5
- package/dist/src/directives/index.d.ts.map +0 -1
- package/dist/src/lib/main.d.ts +0 -26
- package/dist/src/lib/main.d.ts.map +0 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/main.d.ts.map +0 -1
- package/dist/src/shims.d.ts +0 -9
- package/dist/src/utils/helpers.d.ts +0 -2
- package/dist/src/utils/helpers.d.ts.map +0 -1
|
@@ -0,0 +1,3348 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { ComponentCustomProps } from 'vue';
|
|
3
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
4
|
+
import { DefineComponent } from 'vue';
|
|
5
|
+
import { ExtractPropTypes } from 'vue';
|
|
6
|
+
import { HTMLAttributes } from 'vue';
|
|
7
|
+
import { InputHTMLAttributes } from 'vue';
|
|
8
|
+
import { LabelHTMLAttributes } from 'vue';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
import { SVGAttributes } from 'vue';
|
|
11
|
+
import { VNodeProps } from 'vue';
|
|
12
|
+
|
|
13
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
|
|
15
|
+
declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
|
|
16
|
+
|
|
17
|
+
declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
|
|
18
|
+
|
|
19
|
+
declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
|
|
20
|
+
|
|
21
|
+
declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
|
|
22
|
+
|
|
23
|
+
declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
|
|
24
|
+
|
|
25
|
+
declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
|
|
26
|
+
|
|
27
|
+
declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
|
|
28
|
+
|
|
29
|
+
declare type __VLS_NonUndefinedable_17<T> = T extends undefined ? never : T;
|
|
30
|
+
|
|
31
|
+
declare type __VLS_NonUndefinedable_18<T> = T extends undefined ? never : T;
|
|
32
|
+
|
|
33
|
+
declare type __VLS_NonUndefinedable_19<T> = T extends undefined ? never : T;
|
|
34
|
+
|
|
35
|
+
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
36
|
+
|
|
37
|
+
declare type __VLS_NonUndefinedable_20<T> = T extends undefined ? never : T;
|
|
38
|
+
|
|
39
|
+
declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
40
|
+
|
|
41
|
+
declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
|
|
42
|
+
|
|
43
|
+
declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
|
|
44
|
+
|
|
45
|
+
declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
|
|
46
|
+
|
|
47
|
+
declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
|
|
48
|
+
|
|
49
|
+
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
50
|
+
|
|
51
|
+
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
52
|
+
|
|
53
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
54
|
+
|
|
55
|
+
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
56
|
+
|
|
57
|
+
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
58
|
+
|
|
59
|
+
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
60
|
+
|
|
61
|
+
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
|
62
|
+
|
|
63
|
+
declare type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
66
|
+
|
|
67
|
+
declare type __VLS_Prettify_10<T> = {
|
|
68
|
+
[K in keyof T]: T[K];
|
|
69
|
+
} & {};
|
|
70
|
+
|
|
71
|
+
declare type __VLS_Prettify_11<T> = {
|
|
72
|
+
[K in keyof T]: T[K];
|
|
73
|
+
} & {};
|
|
74
|
+
|
|
75
|
+
declare type __VLS_Prettify_12<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
78
|
+
|
|
79
|
+
declare type __VLS_Prettify_13<T> = {
|
|
80
|
+
[K in keyof T]: T[K];
|
|
81
|
+
} & {};
|
|
82
|
+
|
|
83
|
+
declare type __VLS_Prettify_14<T> = {
|
|
84
|
+
[K in keyof T]: T[K];
|
|
85
|
+
} & {};
|
|
86
|
+
|
|
87
|
+
declare type __VLS_Prettify_15<T> = {
|
|
88
|
+
[K in keyof T]: T[K];
|
|
89
|
+
} & {};
|
|
90
|
+
|
|
91
|
+
declare type __VLS_Prettify_16<T> = {
|
|
92
|
+
[K in keyof T]: T[K];
|
|
93
|
+
} & {};
|
|
94
|
+
|
|
95
|
+
declare type __VLS_Prettify_17<T> = {
|
|
96
|
+
[K in keyof T]: T[K];
|
|
97
|
+
} & {};
|
|
98
|
+
|
|
99
|
+
declare type __VLS_Prettify_18<T> = {
|
|
100
|
+
[K in keyof T]: T[K];
|
|
101
|
+
} & {};
|
|
102
|
+
|
|
103
|
+
declare type __VLS_Prettify_19<T> = {
|
|
104
|
+
[K in keyof T]: T[K];
|
|
105
|
+
} & {};
|
|
106
|
+
|
|
107
|
+
declare type __VLS_Prettify_2<T> = {
|
|
108
|
+
[K in keyof T]: T[K];
|
|
109
|
+
} & {};
|
|
110
|
+
|
|
111
|
+
declare type __VLS_Prettify_20<T> = {
|
|
112
|
+
[K in keyof T]: T[K];
|
|
113
|
+
} & {};
|
|
114
|
+
|
|
115
|
+
declare type __VLS_Prettify_21<T> = {
|
|
116
|
+
[K in keyof T]: T[K];
|
|
117
|
+
} & {};
|
|
118
|
+
|
|
119
|
+
declare type __VLS_Prettify_22<T> = {
|
|
120
|
+
[K in keyof T]: T[K];
|
|
121
|
+
} & {};
|
|
122
|
+
|
|
123
|
+
declare type __VLS_Prettify_23<T> = {
|
|
124
|
+
[K in keyof T]: T[K];
|
|
125
|
+
} & {};
|
|
126
|
+
|
|
127
|
+
declare type __VLS_Prettify_24<T> = {
|
|
128
|
+
[K in keyof T]: T[K];
|
|
129
|
+
} & {};
|
|
130
|
+
|
|
131
|
+
declare type __VLS_Prettify_3<T> = {
|
|
132
|
+
[K in keyof T]: T[K];
|
|
133
|
+
} & {};
|
|
134
|
+
|
|
135
|
+
declare type __VLS_Prettify_4<T> = {
|
|
136
|
+
[K in keyof T]: T[K];
|
|
137
|
+
} & {};
|
|
138
|
+
|
|
139
|
+
declare type __VLS_Prettify_5<T> = {
|
|
140
|
+
[K in keyof T]: T[K];
|
|
141
|
+
} & {};
|
|
142
|
+
|
|
143
|
+
declare type __VLS_Prettify_6<T> = {
|
|
144
|
+
[K in keyof T]: T[K];
|
|
145
|
+
} & {};
|
|
146
|
+
|
|
147
|
+
declare type __VLS_Prettify_7<T> = {
|
|
148
|
+
[K in keyof T]: T[K];
|
|
149
|
+
} & {};
|
|
150
|
+
|
|
151
|
+
declare type __VLS_Prettify_8<T> = {
|
|
152
|
+
[K in keyof T]: T[K];
|
|
153
|
+
} & {};
|
|
154
|
+
|
|
155
|
+
declare type __VLS_Prettify_9<T> = {
|
|
156
|
+
[K in keyof T]: T[K];
|
|
157
|
+
} & {};
|
|
158
|
+
|
|
159
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
160
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
161
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
162
|
+
} : {
|
|
163
|
+
type: PropType<T[K]>;
|
|
164
|
+
required: true;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
declare type __VLS_TypePropsToRuntimeProps_10<T> = {
|
|
169
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
170
|
+
type: PropType<__VLS_NonUndefinedable_10<T[K]>>;
|
|
171
|
+
} : {
|
|
172
|
+
type: PropType<T[K]>;
|
|
173
|
+
required: true;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
declare type __VLS_TypePropsToRuntimeProps_11<T> = {
|
|
178
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
179
|
+
type: PropType<__VLS_NonUndefinedable_11<T[K]>>;
|
|
180
|
+
} : {
|
|
181
|
+
type: PropType<T[K]>;
|
|
182
|
+
required: true;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
declare type __VLS_TypePropsToRuntimeProps_12<T> = {
|
|
187
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
188
|
+
type: PropType<__VLS_NonUndefinedable_12<T[K]>>;
|
|
189
|
+
} : {
|
|
190
|
+
type: PropType<T[K]>;
|
|
191
|
+
required: true;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
declare type __VLS_TypePropsToRuntimeProps_13<T> = {
|
|
196
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
197
|
+
type: PropType<__VLS_NonUndefinedable_13<T[K]>>;
|
|
198
|
+
} : {
|
|
199
|
+
type: PropType<T[K]>;
|
|
200
|
+
required: true;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
declare type __VLS_TypePropsToRuntimeProps_14<T> = {
|
|
205
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
206
|
+
type: PropType<__VLS_NonUndefinedable_14<T[K]>>;
|
|
207
|
+
} : {
|
|
208
|
+
type: PropType<T[K]>;
|
|
209
|
+
required: true;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
declare type __VLS_TypePropsToRuntimeProps_15<T> = {
|
|
214
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
215
|
+
type: PropType<__VLS_NonUndefinedable_15<T[K]>>;
|
|
216
|
+
} : {
|
|
217
|
+
type: PropType<T[K]>;
|
|
218
|
+
required: true;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
declare type __VLS_TypePropsToRuntimeProps_16<T> = {
|
|
223
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
224
|
+
type: PropType<__VLS_NonUndefinedable_16<T[K]>>;
|
|
225
|
+
} : {
|
|
226
|
+
type: PropType<T[K]>;
|
|
227
|
+
required: true;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
declare type __VLS_TypePropsToRuntimeProps_17<T> = {
|
|
232
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
233
|
+
type: PropType<__VLS_NonUndefinedable_17<T[K]>>;
|
|
234
|
+
} : {
|
|
235
|
+
type: PropType<T[K]>;
|
|
236
|
+
required: true;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
declare type __VLS_TypePropsToRuntimeProps_18<T> = {
|
|
241
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
242
|
+
type: PropType<__VLS_NonUndefinedable_18<T[K]>>;
|
|
243
|
+
} : {
|
|
244
|
+
type: PropType<T[K]>;
|
|
245
|
+
required: true;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
declare type __VLS_TypePropsToRuntimeProps_19<T> = {
|
|
250
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
251
|
+
type: PropType<__VLS_NonUndefinedable_19<T[K]>>;
|
|
252
|
+
} : {
|
|
253
|
+
type: PropType<T[K]>;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
259
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
260
|
+
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
261
|
+
} : {
|
|
262
|
+
type: PropType<T[K]>;
|
|
263
|
+
required: true;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
declare type __VLS_TypePropsToRuntimeProps_20<T> = {
|
|
268
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
269
|
+
type: PropType<__VLS_NonUndefinedable_20<T[K]>>;
|
|
270
|
+
} : {
|
|
271
|
+
type: PropType<T[K]>;
|
|
272
|
+
required: true;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
declare type __VLS_TypePropsToRuntimeProps_21<T> = {
|
|
277
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
278
|
+
type: PropType<__VLS_NonUndefinedable_21<T[K]>>;
|
|
279
|
+
} : {
|
|
280
|
+
type: PropType<T[K]>;
|
|
281
|
+
required: true;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
declare type __VLS_TypePropsToRuntimeProps_22<T> = {
|
|
286
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
287
|
+
type: PropType<__VLS_NonUndefinedable_22<T[K]>>;
|
|
288
|
+
} : {
|
|
289
|
+
type: PropType<T[K]>;
|
|
290
|
+
required: true;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
declare type __VLS_TypePropsToRuntimeProps_23<T> = {
|
|
295
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
296
|
+
type: PropType<__VLS_NonUndefinedable_23<T[K]>>;
|
|
297
|
+
} : {
|
|
298
|
+
type: PropType<T[K]>;
|
|
299
|
+
required: true;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
declare type __VLS_TypePropsToRuntimeProps_24<T> = {
|
|
304
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
305
|
+
type: PropType<__VLS_NonUndefinedable_24<T[K]>>;
|
|
306
|
+
} : {
|
|
307
|
+
type: PropType<T[K]>;
|
|
308
|
+
required: true;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
declare type __VLS_TypePropsToRuntimeProps_25<T> = {
|
|
313
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
314
|
+
type: PropType<__VLS_NonUndefinedable_25<T[K]>>;
|
|
315
|
+
} : {
|
|
316
|
+
type: PropType<T[K]>;
|
|
317
|
+
required: true;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
322
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
323
|
+
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
324
|
+
} : {
|
|
325
|
+
type: PropType<T[K]>;
|
|
326
|
+
required: true;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
331
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
332
|
+
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
333
|
+
} : {
|
|
334
|
+
type: PropType<T[K]>;
|
|
335
|
+
required: true;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
340
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
341
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
342
|
+
} : {
|
|
343
|
+
type: PropType<T[K]>;
|
|
344
|
+
required: true;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
349
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
350
|
+
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
351
|
+
} : {
|
|
352
|
+
type: PropType<T[K]>;
|
|
353
|
+
required: true;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
358
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
359
|
+
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
360
|
+
} : {
|
|
361
|
+
type: PropType<T[K]>;
|
|
362
|
+
required: true;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
declare type __VLS_TypePropsToRuntimeProps_8<T> = {
|
|
367
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
368
|
+
type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
|
|
369
|
+
} : {
|
|
370
|
+
type: PropType<T[K]>;
|
|
371
|
+
required: true;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
declare type __VLS_TypePropsToRuntimeProps_9<T> = {
|
|
376
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
377
|
+
type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
|
|
378
|
+
} : {
|
|
379
|
+
type: PropType<T[K]>;
|
|
380
|
+
required: true;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
385
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
386
|
+
default: D[K];
|
|
387
|
+
}> : P[K];
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
declare type __VLS_WithDefaults_10<P, D> = {
|
|
391
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_10<P[K] & {
|
|
392
|
+
default: D[K];
|
|
393
|
+
}> : P[K];
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
declare type __VLS_WithDefaults_11<P, D> = {
|
|
397
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_11<P[K] & {
|
|
398
|
+
default: D[K];
|
|
399
|
+
}> : P[K];
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
declare type __VLS_WithDefaults_12<P, D> = {
|
|
403
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_12<P[K] & {
|
|
404
|
+
default: D[K];
|
|
405
|
+
}> : P[K];
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
declare type __VLS_WithDefaults_13<P, D> = {
|
|
409
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_13<P[K] & {
|
|
410
|
+
default: D[K];
|
|
411
|
+
}> : P[K];
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
declare type __VLS_WithDefaults_14<P, D> = {
|
|
415
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_14<P[K] & {
|
|
416
|
+
default: D[K];
|
|
417
|
+
}> : P[K];
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
declare type __VLS_WithDefaults_15<P, D> = {
|
|
421
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_15<P[K] & {
|
|
422
|
+
default: D[K];
|
|
423
|
+
}> : P[K];
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
declare type __VLS_WithDefaults_16<P, D> = {
|
|
427
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_16<P[K] & {
|
|
428
|
+
default: D[K];
|
|
429
|
+
}> : P[K];
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
declare type __VLS_WithDefaults_17<P, D> = {
|
|
433
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_17<P[K] & {
|
|
434
|
+
default: D[K];
|
|
435
|
+
}> : P[K];
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
declare type __VLS_WithDefaults_18<P, D> = {
|
|
439
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_18<P[K] & {
|
|
440
|
+
default: D[K];
|
|
441
|
+
}> : P[K];
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
declare type __VLS_WithDefaults_19<P, D> = {
|
|
445
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_19<P[K] & {
|
|
446
|
+
default: D[K];
|
|
447
|
+
}> : P[K];
|
|
448
|
+
};
|
|
449
|
+
|
|
450
|
+
declare type __VLS_WithDefaults_2<P, D> = {
|
|
451
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
|
|
452
|
+
default: D[K];
|
|
453
|
+
}> : P[K];
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
declare type __VLS_WithDefaults_20<P, D> = {
|
|
457
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_20<P[K] & {
|
|
458
|
+
default: D[K];
|
|
459
|
+
}> : P[K];
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
declare type __VLS_WithDefaults_21<P, D> = {
|
|
463
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_21<P[K] & {
|
|
464
|
+
default: D[K];
|
|
465
|
+
}> : P[K];
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
declare type __VLS_WithDefaults_22<P, D> = {
|
|
469
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_22<P[K] & {
|
|
470
|
+
default: D[K];
|
|
471
|
+
}> : P[K];
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
declare type __VLS_WithDefaults_23<P, D> = {
|
|
475
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_23<P[K] & {
|
|
476
|
+
default: D[K];
|
|
477
|
+
}> : P[K];
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
declare type __VLS_WithDefaults_24<P, D> = {
|
|
481
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_24<P[K] & {
|
|
482
|
+
default: D[K];
|
|
483
|
+
}> : P[K];
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
declare type __VLS_WithDefaults_3<P, D> = {
|
|
487
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
|
|
488
|
+
default: D[K];
|
|
489
|
+
}> : P[K];
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
declare type __VLS_WithDefaults_4<P, D> = {
|
|
493
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
|
|
494
|
+
default: D[K];
|
|
495
|
+
}> : P[K];
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
declare type __VLS_WithDefaults_5<P, D> = {
|
|
499
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
500
|
+
default: D[K];
|
|
501
|
+
}> : P[K];
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
declare type __VLS_WithDefaults_6<P, D> = {
|
|
505
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
|
|
506
|
+
default: D[K];
|
|
507
|
+
}> : P[K];
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
declare type __VLS_WithDefaults_7<P, D> = {
|
|
511
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
|
|
512
|
+
default: D[K];
|
|
513
|
+
}> : P[K];
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
declare type __VLS_WithDefaults_8<P, D> = {
|
|
517
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
|
|
518
|
+
default: D[K];
|
|
519
|
+
}> : P[K];
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
declare type __VLS_WithDefaults_9<P, D> = {
|
|
523
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
|
|
524
|
+
default: D[K];
|
|
525
|
+
}> : P[K];
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
529
|
+
new (): {
|
|
530
|
+
$slots: S;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
535
|
+
new (): {
|
|
536
|
+
$slots: S;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
541
|
+
new (): {
|
|
542
|
+
$slots: S;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
547
|
+
new (): {
|
|
548
|
+
$slots: S;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
553
|
+
new (): {
|
|
554
|
+
$slots: S;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
559
|
+
new (): {
|
|
560
|
+
$slots: S;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
565
|
+
new (): {
|
|
566
|
+
$slots: S;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
571
|
+
new (): {
|
|
572
|
+
$slots: S;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
577
|
+
new (): {
|
|
578
|
+
$slots: S;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
583
|
+
new (): {
|
|
584
|
+
$slots: S;
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
589
|
+
new (): {
|
|
590
|
+
$slots: S;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
595
|
+
new (): {
|
|
596
|
+
$slots: S;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
601
|
+
new (): {
|
|
602
|
+
$slots: S;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
607
|
+
new (): {
|
|
608
|
+
$slots: S;
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
613
|
+
new (): {
|
|
614
|
+
$slots: S;
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
619
|
+
new (): {
|
|
620
|
+
$slots: S;
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
625
|
+
new (): {
|
|
626
|
+
$slots: S;
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
631
|
+
new (): {
|
|
632
|
+
$slots: S;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
declare interface Accordion {
|
|
637
|
+
title: string;
|
|
638
|
+
content: string;
|
|
639
|
+
open?: boolean;
|
|
640
|
+
disabled?: boolean;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
declare interface AccordionProps {
|
|
644
|
+
/**
|
|
645
|
+
* Accordion list
|
|
646
|
+
* @default []
|
|
647
|
+
* @type Accordion[]
|
|
648
|
+
* @example
|
|
649
|
+
* ```html
|
|
650
|
+
* <r-accordion :accordions="[
|
|
651
|
+
* { title: 'Accordion 1', content: 'Content 1' },
|
|
652
|
+
* ]" />
|
|
653
|
+
* ```
|
|
654
|
+
*/
|
|
655
|
+
accordions: Accordion[];
|
|
656
|
+
/**
|
|
657
|
+
* Allow multiple accordions to be open at the same time
|
|
658
|
+
* @default false
|
|
659
|
+
* @type boolean
|
|
660
|
+
*/
|
|
661
|
+
multiple?: boolean;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
declare interface BadgeProps {
|
|
665
|
+
/**
|
|
666
|
+
* Variant of the Badge
|
|
667
|
+
* @type { 'primary' | 'success' | 'warning' | 'error' | 'neutral' }
|
|
668
|
+
* @default 'primary'
|
|
669
|
+
* @example
|
|
670
|
+
* <Badge variant="primary" />
|
|
671
|
+
*/
|
|
672
|
+
variant?: 'primary' | 'success' | 'warning' | 'error' | 'neutral';
|
|
673
|
+
/**
|
|
674
|
+
* Placement of the Badge
|
|
675
|
+
* @type { 'right' | 'bottom' | 'left' }
|
|
676
|
+
* @default 'right'
|
|
677
|
+
* @example
|
|
678
|
+
* <Badge placement="right" />
|
|
679
|
+
*/
|
|
680
|
+
placement?: 'right' | 'bottom' | 'left';
|
|
681
|
+
/**
|
|
682
|
+
* Overlap the Badge
|
|
683
|
+
* @type { boolean }
|
|
684
|
+
* @default false
|
|
685
|
+
* @example
|
|
686
|
+
* <Badge overlap />
|
|
687
|
+
*/
|
|
688
|
+
overlap?: boolean;
|
|
689
|
+
/**
|
|
690
|
+
* Show the Badge on hover
|
|
691
|
+
* @type { boolean }
|
|
692
|
+
* @default false
|
|
693
|
+
* @example
|
|
694
|
+
* <Badge hover />
|
|
695
|
+
*/
|
|
696
|
+
hover?: boolean;
|
|
697
|
+
/**
|
|
698
|
+
* Show the Badge outside
|
|
699
|
+
* @type { boolean }
|
|
700
|
+
* @default false
|
|
701
|
+
* @example
|
|
702
|
+
* <Badge outside />
|
|
703
|
+
*/
|
|
704
|
+
outside?: boolean;
|
|
705
|
+
/**
|
|
706
|
+
* Show the Badge animation
|
|
707
|
+
* @type { boolean }
|
|
708
|
+
* @default false
|
|
709
|
+
* @example
|
|
710
|
+
* <Badge animation />
|
|
711
|
+
*/
|
|
712
|
+
animation?: boolean;
|
|
713
|
+
/**
|
|
714
|
+
* Class of the Badge
|
|
715
|
+
* @type { string | string[] }
|
|
716
|
+
* @example
|
|
717
|
+
* <Badge class="text-red-500" />
|
|
718
|
+
*/
|
|
719
|
+
class?: string | string[];
|
|
720
|
+
/**
|
|
721
|
+
* Content of the Badge
|
|
722
|
+
* @type { string }
|
|
723
|
+
* @example
|
|
724
|
+
* <Badge content="99+" />
|
|
725
|
+
*/
|
|
726
|
+
content?: string;
|
|
727
|
+
/**
|
|
728
|
+
* Class of the content of the Badge
|
|
729
|
+
* @type { string | string[] }
|
|
730
|
+
* @example
|
|
731
|
+
* <Badge contentClass="text-red-500" />
|
|
732
|
+
*/
|
|
733
|
+
contentClass?: string | string[];
|
|
734
|
+
/**
|
|
735
|
+
* Wrapper class of the Badge
|
|
736
|
+
* @type { string | string[] }
|
|
737
|
+
* @example
|
|
738
|
+
* <Badge wrapperClass="text-red-500" />
|
|
739
|
+
*/
|
|
740
|
+
wrapperClass?: string | string[];
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare interface BreadcrumbItem {
|
|
744
|
+
title: string;
|
|
745
|
+
to: string;
|
|
746
|
+
icon?: string;
|
|
747
|
+
onlyIcon?: boolean;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
declare type ButtonColor = 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
|
|
751
|
+
|
|
752
|
+
declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
753
|
+
|
|
754
|
+
declare type ButtonType = 'default' | 'text' | 'outline';
|
|
755
|
+
|
|
756
|
+
declare function close_2(): void;
|
|
757
|
+
|
|
758
|
+
declare function handleSelect(): void;
|
|
759
|
+
|
|
760
|
+
declare function handleToggle(): void;
|
|
761
|
+
|
|
762
|
+
declare function handleUpdate(extraData?: any): void;
|
|
763
|
+
|
|
764
|
+
declare function hideTooltip(e?: Event | null): void;
|
|
765
|
+
|
|
766
|
+
declare interface IProps {
|
|
767
|
+
/**
|
|
768
|
+
* Type of the Avatar
|
|
769
|
+
* @type 'image' | 'text'
|
|
770
|
+
* @default 'image'
|
|
771
|
+
* @example
|
|
772
|
+
* <Avatar type="text" />
|
|
773
|
+
*/
|
|
774
|
+
type?: 'image' | 'text';
|
|
775
|
+
/**
|
|
776
|
+
* Source of the Avatar
|
|
777
|
+
* @type string
|
|
778
|
+
* @default ''
|
|
779
|
+
* @example
|
|
780
|
+
* <Avatar src="https://source.unsplash.com/random" />
|
|
781
|
+
*/
|
|
782
|
+
src?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Alt of the Avatar
|
|
785
|
+
* @type string
|
|
786
|
+
* @default 'Avatar'
|
|
787
|
+
* @example
|
|
788
|
+
* <Avatar alt="Avatar" />
|
|
789
|
+
*/
|
|
790
|
+
alt?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Size of the Avatar
|
|
793
|
+
* @type 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'
|
|
794
|
+
* @default '2xl'
|
|
795
|
+
* @example
|
|
796
|
+
* <Avatar size="xs" />
|
|
797
|
+
*/
|
|
798
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
799
|
+
/**
|
|
800
|
+
* Show online status
|
|
801
|
+
* @type boolean
|
|
802
|
+
* @default false
|
|
803
|
+
* @example
|
|
804
|
+
* <Avatar online />
|
|
805
|
+
*/
|
|
806
|
+
online?: boolean;
|
|
807
|
+
/**
|
|
808
|
+
* Text to show when type is text
|
|
809
|
+
* @type string
|
|
810
|
+
* @default ''
|
|
811
|
+
* @example
|
|
812
|
+
* <Avatar type="text" text="John Doe" />
|
|
813
|
+
*/
|
|
814
|
+
text?: string;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare interface IProps_2 {
|
|
818
|
+
/**
|
|
819
|
+
* Name of the icon
|
|
820
|
+
* @type SVGAttributes['name']
|
|
821
|
+
* @default ''
|
|
822
|
+
* @example
|
|
823
|
+
* <Icon name="icon" />
|
|
824
|
+
*/
|
|
825
|
+
name: SVGAttributes['name'];
|
|
826
|
+
/**
|
|
827
|
+
* Size of the icon
|
|
828
|
+
* @type SVGAttributes['width'] | SVGAttributes['height']
|
|
829
|
+
* @default 24
|
|
830
|
+
* @example
|
|
831
|
+
* <Icon size="24" />
|
|
832
|
+
*/
|
|
833
|
+
size?: SVGAttributes['width'] | SVGAttributes['height'];
|
|
834
|
+
/**
|
|
835
|
+
* Viewbox of the icon
|
|
836
|
+
* @type SVGAttributes['viewBox']
|
|
837
|
+
* @default '0 0 24 24'
|
|
838
|
+
* @example
|
|
839
|
+
* <Icon viewBox="0 0 24 24" />
|
|
840
|
+
*/
|
|
841
|
+
viewBox?: SVGAttributes['viewBox'];
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
declare interface IProps_3 {
|
|
845
|
+
/**
|
|
846
|
+
* Show of the snackbar
|
|
847
|
+
* @type boolean
|
|
848
|
+
* @default false
|
|
849
|
+
* @example
|
|
850
|
+
* <Snackbar show />
|
|
851
|
+
*/
|
|
852
|
+
modelValue: boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Text of the snackbar
|
|
855
|
+
* @type string
|
|
856
|
+
* @default ''
|
|
857
|
+
* @example
|
|
858
|
+
* <Snackbar text="Snackbar" />
|
|
859
|
+
*/
|
|
860
|
+
text: string;
|
|
861
|
+
/**
|
|
862
|
+
* Show close of the snackbar
|
|
863
|
+
* @type boolean
|
|
864
|
+
* @default false
|
|
865
|
+
* @example
|
|
866
|
+
* <Snackbar closable />
|
|
867
|
+
*/
|
|
868
|
+
closable?: boolean;
|
|
869
|
+
/**
|
|
870
|
+
* Set the snackbar slide from left otherwise slide from right
|
|
871
|
+
* @type boolean
|
|
872
|
+
* @default false
|
|
873
|
+
* @example
|
|
874
|
+
* <Snackbar left />
|
|
875
|
+
*/
|
|
876
|
+
left?: boolean;
|
|
877
|
+
/**
|
|
878
|
+
* Timeout of the snackbar. <br />
|
|
879
|
+
* If timeout is 0, the snackbar will not close automatically
|
|
880
|
+
* @type number
|
|
881
|
+
* @default 0
|
|
882
|
+
* @example
|
|
883
|
+
* <Snackbar timeout="1000" />
|
|
884
|
+
*/
|
|
885
|
+
timeout?: number;
|
|
886
|
+
/**
|
|
887
|
+
* Variant of the snackbar
|
|
888
|
+
* @type 'success' | 'error' | 'warning' | 'info'
|
|
889
|
+
* @default 'info'
|
|
890
|
+
* @example
|
|
891
|
+
* <Snackbar variant="success" />
|
|
892
|
+
*/
|
|
893
|
+
variant?: 'success' | 'error' | 'warning' | 'info';
|
|
894
|
+
/**
|
|
895
|
+
* Set the snackbar slide on top otherwise slide on bottom
|
|
896
|
+
* @type boolean
|
|
897
|
+
* @default false
|
|
898
|
+
* @example
|
|
899
|
+
* <Snackbar top />
|
|
900
|
+
*/
|
|
901
|
+
top?: boolean;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
declare interface IProps_4 {
|
|
905
|
+
/**
|
|
906
|
+
* Id of the tab item
|
|
907
|
+
* @type string | number
|
|
908
|
+
* @default ''
|
|
909
|
+
* @example
|
|
910
|
+
* <TabItem id="1" />
|
|
911
|
+
*/
|
|
912
|
+
id: string | number;
|
|
913
|
+
/**
|
|
914
|
+
* Variant of the tab item
|
|
915
|
+
* @type TabItemVariant
|
|
916
|
+
* @default TabItemVariants.DEFAULT
|
|
917
|
+
* @example
|
|
918
|
+
* <TabItem variant="default" />
|
|
919
|
+
*/
|
|
920
|
+
variant?: TabItemVariant;
|
|
921
|
+
/**
|
|
922
|
+
* Label of the tab item
|
|
923
|
+
* @type string
|
|
924
|
+
* @default ''
|
|
925
|
+
* @example
|
|
926
|
+
* <TabItem label="Label" />
|
|
927
|
+
*/
|
|
928
|
+
label?: string;
|
|
929
|
+
/**
|
|
930
|
+
* prependIcon of the tab item
|
|
931
|
+
* @type string
|
|
932
|
+
* @default ''
|
|
933
|
+
* @example
|
|
934
|
+
* <TabItem prependIcon="prependIcon" />
|
|
935
|
+
*/
|
|
936
|
+
prependIcon?: string;
|
|
937
|
+
/**
|
|
938
|
+
* appendIcon of the tab item
|
|
939
|
+
* @type string
|
|
940
|
+
* @default ''
|
|
941
|
+
* @example
|
|
942
|
+
* <TabItem appendIcon="appendIcon" />
|
|
943
|
+
*/
|
|
944
|
+
appendIcon?: string;
|
|
945
|
+
/**
|
|
946
|
+
* Disabled state of the tab item
|
|
947
|
+
* @type ButtonHTMLAttributes['disabled']
|
|
948
|
+
* @default false
|
|
949
|
+
* @example
|
|
950
|
+
* <TabItem disabled />
|
|
951
|
+
*/
|
|
952
|
+
disabled?: boolean;
|
|
953
|
+
/**
|
|
954
|
+
* Model value of the tab item
|
|
955
|
+
* @type string | number
|
|
956
|
+
* @default ''
|
|
957
|
+
* @example
|
|
958
|
+
* <TabItem v-model="model" />
|
|
959
|
+
*/
|
|
960
|
+
modelValue?: string | number;
|
|
961
|
+
/**
|
|
962
|
+
* Tile state of the tab item
|
|
963
|
+
* @type boolean
|
|
964
|
+
* @default false
|
|
965
|
+
* @example
|
|
966
|
+
* <TabItem tile />
|
|
967
|
+
*/
|
|
968
|
+
tile?: boolean;
|
|
969
|
+
/**
|
|
970
|
+
* Block state of the tab item
|
|
971
|
+
* @type boolean
|
|
972
|
+
* @default false
|
|
973
|
+
* @example
|
|
974
|
+
* <TabItem block />
|
|
975
|
+
*/
|
|
976
|
+
block?: boolean;
|
|
977
|
+
/**
|
|
978
|
+
* Color of the tab item
|
|
979
|
+
* @type string
|
|
980
|
+
* @default ''
|
|
981
|
+
* @example
|
|
982
|
+
* <TabItem color="" />
|
|
983
|
+
*/
|
|
984
|
+
color?: string;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
declare interface IProps_5 {
|
|
988
|
+
/**
|
|
989
|
+
* Tabs of the tabs
|
|
990
|
+
* @type {Tab[]}
|
|
991
|
+
* @default []
|
|
992
|
+
* @example
|
|
993
|
+
* <Tabs :tabs="[]" />
|
|
994
|
+
*/
|
|
995
|
+
tabs?: Tab[];
|
|
996
|
+
/**
|
|
997
|
+
* Block state of the tabs
|
|
998
|
+
* @type {boolean}
|
|
999
|
+
* @default false
|
|
1000
|
+
* @example
|
|
1001
|
+
* <Tabs block />
|
|
1002
|
+
*/
|
|
1003
|
+
block?: boolean;
|
|
1004
|
+
/**
|
|
1005
|
+
* Active tab of the tabs
|
|
1006
|
+
* @type {number | string}
|
|
1007
|
+
* @default tabs[0].id
|
|
1008
|
+
* @example
|
|
1009
|
+
* <Tabs v-model="activeTab" />
|
|
1010
|
+
*/
|
|
1011
|
+
modelValue?: number | string;
|
|
1012
|
+
/**
|
|
1013
|
+
* Tile state of the tabs
|
|
1014
|
+
* @type {boolean}
|
|
1015
|
+
* @default false
|
|
1016
|
+
* @example
|
|
1017
|
+
* <Tabs tile />
|
|
1018
|
+
*/
|
|
1019
|
+
tile?: boolean;
|
|
1020
|
+
/**
|
|
1021
|
+
* Scrollable state of the tabs
|
|
1022
|
+
* @type {boolean}
|
|
1023
|
+
* @default false
|
|
1024
|
+
* @example
|
|
1025
|
+
* <Tabs scrollable />
|
|
1026
|
+
*/
|
|
1027
|
+
scrollable?: boolean;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare interface IProps_6 {
|
|
1031
|
+
/**
|
|
1032
|
+
* id of the textarea
|
|
1033
|
+
* @type HTMLAttributes['id']
|
|
1034
|
+
* @default ''
|
|
1035
|
+
* @example
|
|
1036
|
+
* <TextArea id="textarea" />
|
|
1037
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
1038
|
+
*/
|
|
1039
|
+
id: HTMLAttributes['id'];
|
|
1040
|
+
/**
|
|
1041
|
+
* Input value
|
|
1042
|
+
* @type InputHTMLAttributes['value'];
|
|
1043
|
+
* @default ''
|
|
1044
|
+
* @example
|
|
1045
|
+
* <TextArea modelValue="Hello" />
|
|
1046
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
|
|
1047
|
+
*/
|
|
1048
|
+
modelValue?: InputHTMLAttributes['value'];
|
|
1049
|
+
/**
|
|
1050
|
+
* label of the textarea
|
|
1051
|
+
* @type LabelHTMLAttributes['label']
|
|
1052
|
+
* @default ''
|
|
1053
|
+
* @example
|
|
1054
|
+
* <TextArea label="TextArea" />
|
|
1055
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
1056
|
+
*/
|
|
1057
|
+
label?: LabelHTMLAttributes['for'];
|
|
1058
|
+
/**
|
|
1059
|
+
* Placeholder text
|
|
1060
|
+
* @type InputHTMLAttributes['placeholder'];
|
|
1061
|
+
* @default ''
|
|
1062
|
+
* @example
|
|
1063
|
+
* <TextArea placeholder="Placeholder" />
|
|
1064
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
1065
|
+
*/
|
|
1066
|
+
placeholder?: InputHTMLAttributes['placeholder'];
|
|
1067
|
+
/**
|
|
1068
|
+
* Disabled state
|
|
1069
|
+
* @type InputHTMLAttributes['disabled'];
|
|
1070
|
+
* @default false
|
|
1071
|
+
* @example
|
|
1072
|
+
* <TextArea disabled />
|
|
1073
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
|
|
1074
|
+
*/
|
|
1075
|
+
disabled?: InputHTMLAttributes['disabled'];
|
|
1076
|
+
/**
|
|
1077
|
+
* Hint text
|
|
1078
|
+
* @type string
|
|
1079
|
+
* @default 'This is a hint'
|
|
1080
|
+
* @example
|
|
1081
|
+
* <TextArea hint="This is a hint" />
|
|
1082
|
+
*/
|
|
1083
|
+
hint?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Error message
|
|
1086
|
+
* @type string
|
|
1087
|
+
* @default ''
|
|
1088
|
+
* @example
|
|
1089
|
+
* <TextArea errorMsg="This is an error" />
|
|
1090
|
+
*/
|
|
1091
|
+
errorMsg?: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* Hide details
|
|
1094
|
+
* @type {boolean}
|
|
1095
|
+
* @default false
|
|
1096
|
+
* @example
|
|
1097
|
+
* <TextArea hideDetails />
|
|
1098
|
+
*/
|
|
1099
|
+
hideDetails?: boolean;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
declare interface IProps_7 {
|
|
1103
|
+
/**
|
|
1104
|
+
* Placement of the tooltip
|
|
1105
|
+
* @type Placements
|
|
1106
|
+
* @default Placement.Top
|
|
1107
|
+
* @example
|
|
1108
|
+
* <Tooltip placement="top" />
|
|
1109
|
+
*/
|
|
1110
|
+
placement?: Placements;
|
|
1111
|
+
/**
|
|
1112
|
+
* Text of the tooltip content
|
|
1113
|
+
* @type string
|
|
1114
|
+
* @default ''
|
|
1115
|
+
* @example
|
|
1116
|
+
* <Tooltip text="Tooltip" />
|
|
1117
|
+
*/
|
|
1118
|
+
text?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Dark theme of the tooltip
|
|
1121
|
+
* @type boolean
|
|
1122
|
+
* @default true
|
|
1123
|
+
* @example
|
|
1124
|
+
* <Tooltip dark />
|
|
1125
|
+
*/
|
|
1126
|
+
dark?: boolean;
|
|
1127
|
+
/**
|
|
1128
|
+
* Light theme of the tooltip
|
|
1129
|
+
* @type boolean
|
|
1130
|
+
* @default false
|
|
1131
|
+
* @example
|
|
1132
|
+
* <Tooltip light />
|
|
1133
|
+
*/
|
|
1134
|
+
light?: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* Triggers of the tooltip
|
|
1137
|
+
* @type Triggers
|
|
1138
|
+
* @default Trigger.Hover
|
|
1139
|
+
* @example
|
|
1140
|
+
* <Tooltip triggers="hover" />
|
|
1141
|
+
*/
|
|
1142
|
+
triggers?: Array<Triggers>;
|
|
1143
|
+
/**
|
|
1144
|
+
* Auto hide of the tooltip
|
|
1145
|
+
* @type boolean
|
|
1146
|
+
* @default true
|
|
1147
|
+
* @example
|
|
1148
|
+
* <Tooltip autoHide />
|
|
1149
|
+
*/
|
|
1150
|
+
autoHide?: boolean;
|
|
1151
|
+
/**
|
|
1152
|
+
* Hide delay of the tooltip
|
|
1153
|
+
* @type number
|
|
1154
|
+
* @default 3000
|
|
1155
|
+
* @example
|
|
1156
|
+
* <Tooltip hideDelay={3000} />
|
|
1157
|
+
*/
|
|
1158
|
+
hideDelay?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* Show delay of the tooltip
|
|
1161
|
+
* @type number
|
|
1162
|
+
* @default 0
|
|
1163
|
+
* @example
|
|
1164
|
+
* <Tooltip showDelay={0} />
|
|
1165
|
+
*/
|
|
1166
|
+
showDelay?: number;
|
|
1167
|
+
/**
|
|
1168
|
+
* Shown state of the tooltip
|
|
1169
|
+
* @type boolean
|
|
1170
|
+
* @default false
|
|
1171
|
+
* @example
|
|
1172
|
+
* <Tooltip shown />
|
|
1173
|
+
*/
|
|
1174
|
+
shown?: boolean;
|
|
1175
|
+
/**
|
|
1176
|
+
* Disabled state of the tooltip
|
|
1177
|
+
* @type boolean
|
|
1178
|
+
* @default false
|
|
1179
|
+
* @example
|
|
1180
|
+
* <Tooltip disabled />
|
|
1181
|
+
*/
|
|
1182
|
+
disabled?: boolean;
|
|
1183
|
+
/**
|
|
1184
|
+
* Offset of the tooltip
|
|
1185
|
+
* @type number
|
|
1186
|
+
* @default 0
|
|
1187
|
+
* @example
|
|
1188
|
+
* <Tooltip offset={0} />
|
|
1189
|
+
* @link https://floating-ui.com/docs/tutorial#offset-middleware
|
|
1190
|
+
*/
|
|
1191
|
+
offset?: number;
|
|
1192
|
+
/**
|
|
1193
|
+
* Padding of the tooltip
|
|
1194
|
+
* @type number
|
|
1195
|
+
* @default 2
|
|
1196
|
+
* @example
|
|
1197
|
+
* <Tooltip padding={0} />
|
|
1198
|
+
* @link https://floating-ui.com/docs/tutorial#shift-middleware
|
|
1199
|
+
*/
|
|
1200
|
+
padding?: number;
|
|
1201
|
+
/**
|
|
1202
|
+
* Outside click of the tooltip
|
|
1203
|
+
* @type boolean
|
|
1204
|
+
* @default false
|
|
1205
|
+
* @example
|
|
1206
|
+
* <Tooltip outsideClick />
|
|
1207
|
+
*/
|
|
1208
|
+
outsideClick?: boolean;
|
|
1209
|
+
/**
|
|
1210
|
+
* Trigger content of the tooltip
|
|
1211
|
+
* @type string
|
|
1212
|
+
* @default ''
|
|
1213
|
+
* @example
|
|
1214
|
+
* <Tooltip triggerContent="Trigger" />
|
|
1215
|
+
*/
|
|
1216
|
+
triggerContent?: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Resizable of the tooltip
|
|
1219
|
+
* @type boolean
|
|
1220
|
+
* @default true
|
|
1221
|
+
* @example
|
|
1222
|
+
* <Tooltip resizable />
|
|
1223
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event
|
|
1224
|
+
*/
|
|
1225
|
+
resizable?: boolean;
|
|
1226
|
+
/**
|
|
1227
|
+
* Trigger class of the tooltip
|
|
1228
|
+
* @type string
|
|
1229
|
+
* @default ''
|
|
1230
|
+
* @example
|
|
1231
|
+
* <Tooltip triggerClass="trigger" />
|
|
1232
|
+
*/
|
|
1233
|
+
triggerClass?: string | string[];
|
|
1234
|
+
/**
|
|
1235
|
+
* Tooltip class of the tooltip
|
|
1236
|
+
* @type string
|
|
1237
|
+
* @default ''
|
|
1238
|
+
* @example
|
|
1239
|
+
* <Tooltip tooltipClass="tooltip" />
|
|
1240
|
+
*/
|
|
1241
|
+
tooltipClass?: string | string[];
|
|
1242
|
+
/**
|
|
1243
|
+
* Persistent state of the tooltip
|
|
1244
|
+
* @type boolean
|
|
1245
|
+
* @default false
|
|
1246
|
+
* @example
|
|
1247
|
+
* <Tooltip persistent />
|
|
1248
|
+
*/
|
|
1249
|
+
persistent?: boolean;
|
|
1250
|
+
type?: Theme | string;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
declare function isSelected(id: never): boolean;
|
|
1254
|
+
|
|
1255
|
+
declare interface ItemGroupProps {
|
|
1256
|
+
/**
|
|
1257
|
+
* The value of the selected items
|
|
1258
|
+
* @default []
|
|
1259
|
+
* @model
|
|
1260
|
+
* @type {number[] | string[]}
|
|
1261
|
+
* @example
|
|
1262
|
+
* <RItemGroup v-model="selectedItems" />
|
|
1263
|
+
*/
|
|
1264
|
+
modelValue: number[] | string[];
|
|
1265
|
+
/**
|
|
1266
|
+
* The class to apply to the selected items
|
|
1267
|
+
* @default ''
|
|
1268
|
+
* @type {string}
|
|
1269
|
+
* @example
|
|
1270
|
+
* <RItemGroup selectedClass="bg-blue-500 text-white" />
|
|
1271
|
+
*/
|
|
1272
|
+
selectedClass?: string | string[];
|
|
1273
|
+
/**
|
|
1274
|
+
* Whether the item group is disabled
|
|
1275
|
+
* @default false
|
|
1276
|
+
* @type {boolean}
|
|
1277
|
+
* @example
|
|
1278
|
+
* <RItemGroup :disabled="true" />
|
|
1279
|
+
*/
|
|
1280
|
+
disabled?: boolean;
|
|
1281
|
+
/**
|
|
1282
|
+
* Whether the item group is mandatory
|
|
1283
|
+
* @default false
|
|
1284
|
+
* @type {boolean}
|
|
1285
|
+
* @example
|
|
1286
|
+
* ```js
|
|
1287
|
+
* const selected = ref<number[]>([1]);
|
|
1288
|
+
* ```
|
|
1289
|
+
* ```html
|
|
1290
|
+
* <RItemGroup :mandatory="true" v-model="selected" />
|
|
1291
|
+
* ```
|
|
1292
|
+
*/
|
|
1293
|
+
mandatory?: boolean;
|
|
1294
|
+
/**
|
|
1295
|
+
* The maximum number of items that can be selected
|
|
1296
|
+
* @default 0
|
|
1297
|
+
* @type {number}
|
|
1298
|
+
* @example
|
|
1299
|
+
* <RItemGroup :max="5" />
|
|
1300
|
+
*/
|
|
1301
|
+
max?: number;
|
|
1302
|
+
/**
|
|
1303
|
+
* The tag to use for the item group
|
|
1304
|
+
* @default div
|
|
1305
|
+
* @type {string}
|
|
1306
|
+
* @example
|
|
1307
|
+
* <RItemGroup as="ul" />
|
|
1308
|
+
*/
|
|
1309
|
+
as?: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Whether the item group allows multiple selections
|
|
1312
|
+
* @default false
|
|
1313
|
+
* @type {boolean}
|
|
1314
|
+
* @example
|
|
1315
|
+
* <RItemGroup :multiple="true" />
|
|
1316
|
+
*/
|
|
1317
|
+
multiple?: boolean;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
declare interface ItemProps {
|
|
1321
|
+
/**
|
|
1322
|
+
* The value of the item
|
|
1323
|
+
* @default null
|
|
1324
|
+
* @type any
|
|
1325
|
+
* @example
|
|
1326
|
+
* <RItem :value="1" />
|
|
1327
|
+
*/
|
|
1328
|
+
value: any;
|
|
1329
|
+
/**
|
|
1330
|
+
* The class to apply to the selected item
|
|
1331
|
+
* @default ''
|
|
1332
|
+
* @type string
|
|
1333
|
+
* @example
|
|
1334
|
+
* <RItem selectedClass="bg-blue-500 text-white" />
|
|
1335
|
+
*/
|
|
1336
|
+
selectedClass?: string | string[];
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
declare interface LabelProps {
|
|
1340
|
+
/**
|
|
1341
|
+
* id of the label
|
|
1342
|
+
* @type HTMLAttributes['id']
|
|
1343
|
+
* @default ''
|
|
1344
|
+
* @example
|
|
1345
|
+
* <Label id="label" />
|
|
1346
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
1347
|
+
*/
|
|
1348
|
+
id: HTMLAttributes['id'];
|
|
1349
|
+
/**
|
|
1350
|
+
* for of the label
|
|
1351
|
+
* @type LabelHTMLAttributes['for']
|
|
1352
|
+
* @default ''
|
|
1353
|
+
* @example
|
|
1354
|
+
* <Label for="label" />
|
|
1355
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
1356
|
+
*/
|
|
1357
|
+
for: LabelHTMLAttributes['for'];
|
|
1358
|
+
/**
|
|
1359
|
+
* text of the label
|
|
1360
|
+
* @type string | number
|
|
1361
|
+
* @default ''
|
|
1362
|
+
* @example
|
|
1363
|
+
* <Label text="Label" />
|
|
1364
|
+
*/
|
|
1365
|
+
text: string | number;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
declare interface ModalProps {
|
|
1369
|
+
/**
|
|
1370
|
+
* modelValue the modal
|
|
1371
|
+
* @type boolean
|
|
1372
|
+
* @default false
|
|
1373
|
+
* @example
|
|
1374
|
+
* <Modal :modelValue="true" />
|
|
1375
|
+
*/
|
|
1376
|
+
modelValue: boolean;
|
|
1377
|
+
/**
|
|
1378
|
+
* Modal width is 100%
|
|
1379
|
+
* @type boolean
|
|
1380
|
+
* @default false
|
|
1381
|
+
* @example
|
|
1382
|
+
* <Modal block />
|
|
1383
|
+
*/
|
|
1384
|
+
block?: boolean;
|
|
1385
|
+
/**
|
|
1386
|
+
* Title of the Modal
|
|
1387
|
+
* @type string
|
|
1388
|
+
* @default ''
|
|
1389
|
+
* @example
|
|
1390
|
+
* <Modal title="Modal Title" />
|
|
1391
|
+
*/
|
|
1392
|
+
title?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* Description of the Modal
|
|
1395
|
+
* @type string
|
|
1396
|
+
* @default ''
|
|
1397
|
+
* @example
|
|
1398
|
+
* <Modal description="Modal Description" />
|
|
1399
|
+
*/
|
|
1400
|
+
description?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Icon of the Modal
|
|
1403
|
+
* @type string
|
|
1404
|
+
* @default ''
|
|
1405
|
+
* @example
|
|
1406
|
+
* <Modal icon="mdiMail" />
|
|
1407
|
+
*/
|
|
1408
|
+
icon?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Width of the Modal
|
|
1411
|
+
* @type string
|
|
1412
|
+
* @default ''
|
|
1413
|
+
* @example
|
|
1414
|
+
* <Modal width="500px" />
|
|
1415
|
+
*/
|
|
1416
|
+
width?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* Height of the Modal
|
|
1419
|
+
* @type string
|
|
1420
|
+
* @default ''
|
|
1421
|
+
* @example
|
|
1422
|
+
* <Modal height="500px" />
|
|
1423
|
+
*/
|
|
1424
|
+
height?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Close the modal when clicking outside
|
|
1427
|
+
* @type boolean
|
|
1428
|
+
* @default false
|
|
1429
|
+
* @example
|
|
1430
|
+
* <Modal :modelValue="true" :outsideClick="true" />
|
|
1431
|
+
*/
|
|
1432
|
+
outsideClick?: boolean;
|
|
1433
|
+
/**
|
|
1434
|
+
* Remove padding and gap from the modal
|
|
1435
|
+
* @type boolean
|
|
1436
|
+
* @default false
|
|
1437
|
+
* @example
|
|
1438
|
+
* <Modal :modelValue="true" :clearContent="true" />
|
|
1439
|
+
*/
|
|
1440
|
+
clearContent?: boolean;
|
|
1441
|
+
/**
|
|
1442
|
+
* Class of the Modal
|
|
1443
|
+
* @type string
|
|
1444
|
+
* @default ''
|
|
1445
|
+
* @example
|
|
1446
|
+
* <Modal class="my-class" />
|
|
1447
|
+
*/
|
|
1448
|
+
class?: string | string[];
|
|
1449
|
+
/**
|
|
1450
|
+
* Class of the overlay
|
|
1451
|
+
* @type string
|
|
1452
|
+
* @default ''
|
|
1453
|
+
* @example
|
|
1454
|
+
* <Modal overlayClass="my-class" />
|
|
1455
|
+
*/
|
|
1456
|
+
overlayClass?: string | string[];
|
|
1457
|
+
/**
|
|
1458
|
+
* Style of the Modal
|
|
1459
|
+
* @type string
|
|
1460
|
+
* @default ''
|
|
1461
|
+
* @example
|
|
1462
|
+
* <Modal style="color: red" />
|
|
1463
|
+
*/
|
|
1464
|
+
style?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Control the scroll of the body
|
|
1467
|
+
* @type boolean
|
|
1468
|
+
* @default false
|
|
1469
|
+
* @example
|
|
1470
|
+
* <Modal :modelValue="true" :allowBodyScroll="true" />
|
|
1471
|
+
*/
|
|
1472
|
+
allowBodyScroll?: boolean;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
declare function onClick(e: MouseEvent): void;
|
|
1476
|
+
|
|
1477
|
+
declare function onMouseEnter(): void;
|
|
1478
|
+
|
|
1479
|
+
declare function onMouseLeave(): void;
|
|
1480
|
+
|
|
1481
|
+
declare function onMouseMove(): void;
|
|
1482
|
+
|
|
1483
|
+
declare interface Option_2 {
|
|
1484
|
+
[key: string]: any;
|
|
1485
|
+
value: string | number;
|
|
1486
|
+
label: string;
|
|
1487
|
+
prependIcon?: string;
|
|
1488
|
+
disabled?: boolean;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
declare interface PaginationProps {
|
|
1492
|
+
/**
|
|
1493
|
+
* @default 1
|
|
1494
|
+
* The current page number.
|
|
1495
|
+
* @type number
|
|
1496
|
+
*/
|
|
1497
|
+
page: number;
|
|
1498
|
+
/**
|
|
1499
|
+
* @default 10
|
|
1500
|
+
* The number of items per page.
|
|
1501
|
+
* @type number
|
|
1502
|
+
*/
|
|
1503
|
+
perPage: number;
|
|
1504
|
+
/**
|
|
1505
|
+
* @default 100
|
|
1506
|
+
* The total number of items.
|
|
1507
|
+
* @type number
|
|
1508
|
+
*/
|
|
1509
|
+
totalItems: number;
|
|
1510
|
+
/**
|
|
1511
|
+
* @default [10, 20, 50, 100]
|
|
1512
|
+
* The options to display in the per page dropdown.
|
|
1513
|
+
* @type number[]
|
|
1514
|
+
*/
|
|
1515
|
+
perPageOptions?: number[];
|
|
1516
|
+
/**
|
|
1517
|
+
* @default 'Items per page:'
|
|
1518
|
+
* The text to display for the items per page label.
|
|
1519
|
+
*/
|
|
1520
|
+
itemsPerPageText?: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* @default 'right'
|
|
1523
|
+
* The position of the pagination component.
|
|
1524
|
+
* @type 'left' | 'center' | 'right' | string
|
|
1525
|
+
*/
|
|
1526
|
+
position?: 'left' | 'center' | 'right' | string;
|
|
1527
|
+
/**
|
|
1528
|
+
* @default '1-10 of 100'
|
|
1529
|
+
* The text to display for the info section.
|
|
1530
|
+
* The text can contain the following placeholders:
|
|
1531
|
+
* - `{{ start }}` - The start index of the current page.
|
|
1532
|
+
* - `{{ end }}` - The end index of the current page.
|
|
1533
|
+
* - `{{ total }}` - The total number of items.
|
|
1534
|
+
* @type string
|
|
1535
|
+
*/
|
|
1536
|
+
infoText?: string;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
declare enum Placement {
|
|
1540
|
+
Top = "top",
|
|
1541
|
+
Bottom = "bottom",
|
|
1542
|
+
Left = "left",
|
|
1543
|
+
Right = "right",
|
|
1544
|
+
TopStart = "top-start",
|
|
1545
|
+
TopEnd = "top-end",
|
|
1546
|
+
RightStart = "right-start",
|
|
1547
|
+
RightEnd = "right-end",
|
|
1548
|
+
BottomStart = "bottom-start",
|
|
1549
|
+
BottomEnd = "bottom-end",
|
|
1550
|
+
LeftStart = "left-start",
|
|
1551
|
+
LeftEnd = "left-end"
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
declare type Placements = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end';
|
|
1555
|
+
|
|
1556
|
+
declare interface ProgressBarProps {
|
|
1557
|
+
value: number;
|
|
1558
|
+
height?: number;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
declare interface Props {
|
|
1562
|
+
/**
|
|
1563
|
+
* Type of the Alert
|
|
1564
|
+
* @type 'success' | 'error' | 'warning' | 'info'
|
|
1565
|
+
* @default 'info'
|
|
1566
|
+
* @example
|
|
1567
|
+
* <Alert type="success" />
|
|
1568
|
+
*/
|
|
1569
|
+
type: 'success' | 'error' | 'warning' | 'info';
|
|
1570
|
+
/**
|
|
1571
|
+
* Title of the Alert
|
|
1572
|
+
* @type string
|
|
1573
|
+
* @default ''
|
|
1574
|
+
* @example
|
|
1575
|
+
* <Alert title="Title" />
|
|
1576
|
+
*/
|
|
1577
|
+
title: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Variant of the Alert
|
|
1580
|
+
* @type 'solid' | 'outline' | 'ghost'
|
|
1581
|
+
* @default 'ghost'
|
|
1582
|
+
* @example
|
|
1583
|
+
* <Alert variant="ghost" />
|
|
1584
|
+
*/
|
|
1585
|
+
variant?: 'solid' | 'outline' | 'ghost';
|
|
1586
|
+
/**
|
|
1587
|
+
* Description of the Alert
|
|
1588
|
+
* @type string
|
|
1589
|
+
* @default ''
|
|
1590
|
+
* @example
|
|
1591
|
+
* <Alert description="Description" />
|
|
1592
|
+
*/
|
|
1593
|
+
description?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* Allow to close the Alert
|
|
1596
|
+
* @type boolean
|
|
1597
|
+
* @default true
|
|
1598
|
+
* @example
|
|
1599
|
+
* <Alert closable />
|
|
1600
|
+
*/
|
|
1601
|
+
closable?: boolean;
|
|
1602
|
+
/**
|
|
1603
|
+
* Block appearance of the Alert
|
|
1604
|
+
* @type boolean
|
|
1605
|
+
* @default false
|
|
1606
|
+
* @example
|
|
1607
|
+
* <Alert block />
|
|
1608
|
+
*/
|
|
1609
|
+
block?: boolean;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
declare interface Props_2 {
|
|
1613
|
+
/**
|
|
1614
|
+
* Variant of the Button
|
|
1615
|
+
* @type { 'default' | 'text' | 'outline' | 'ghost'}
|
|
1616
|
+
* @default 'default'
|
|
1617
|
+
* @example
|
|
1618
|
+
* <Button variant="default" />
|
|
1619
|
+
*/
|
|
1620
|
+
variant?: ButtonType;
|
|
1621
|
+
/**
|
|
1622
|
+
* Color of the Button
|
|
1623
|
+
* @type { 'primary' | 'secondary' | 'danger'}
|
|
1624
|
+
* @default 'primary'
|
|
1625
|
+
* @example
|
|
1626
|
+
* <Button color="primary" />
|
|
1627
|
+
*/
|
|
1628
|
+
color?: ButtonColor;
|
|
1629
|
+
/**
|
|
1630
|
+
* Loading state of the Button
|
|
1631
|
+
* @type { boolean }
|
|
1632
|
+
* @default false
|
|
1633
|
+
* @example
|
|
1634
|
+
* <Button loading />
|
|
1635
|
+
*/
|
|
1636
|
+
loading?: boolean;
|
|
1637
|
+
/**
|
|
1638
|
+
* Disabled state of the Button
|
|
1639
|
+
* @type { boolean }
|
|
1640
|
+
* @default false
|
|
1641
|
+
* @example
|
|
1642
|
+
* <Button disabled />
|
|
1643
|
+
*/
|
|
1644
|
+
disabled?: boolean;
|
|
1645
|
+
/**
|
|
1646
|
+
* Prepend icon of the Button
|
|
1647
|
+
* @type { string }
|
|
1648
|
+
* @default ''
|
|
1649
|
+
* @example
|
|
1650
|
+
* <Button prependIcon="icon" />
|
|
1651
|
+
*/
|
|
1652
|
+
prependIcon?: string;
|
|
1653
|
+
/**
|
|
1654
|
+
* Append icon of the Button
|
|
1655
|
+
* @type { string }
|
|
1656
|
+
* @default ''
|
|
1657
|
+
* @example
|
|
1658
|
+
* <Button appendIcon="icon" />
|
|
1659
|
+
*/
|
|
1660
|
+
appendIcon?: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* Only icon state of the Button
|
|
1663
|
+
* @type { boolean }
|
|
1664
|
+
* @default false
|
|
1665
|
+
* @example
|
|
1666
|
+
* <Button icon />
|
|
1667
|
+
*/
|
|
1668
|
+
icon?: boolean;
|
|
1669
|
+
/**
|
|
1670
|
+
* Size of the Button
|
|
1671
|
+
* @type { 'small' | 'medium' | 'large' }
|
|
1672
|
+
* @default 'medium'
|
|
1673
|
+
* @example
|
|
1674
|
+
* <Button size="small" />
|
|
1675
|
+
*/
|
|
1676
|
+
size?: ButtonSize;
|
|
1677
|
+
/**
|
|
1678
|
+
* Height of the Button
|
|
1679
|
+
* @type { string }
|
|
1680
|
+
* @default ''
|
|
1681
|
+
* @example
|
|
1682
|
+
* <Button height="40" />
|
|
1683
|
+
*/
|
|
1684
|
+
height?: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* Block state of the Button
|
|
1687
|
+
* @type { boolean }
|
|
1688
|
+
* @default false
|
|
1689
|
+
* @example
|
|
1690
|
+
* <Button block />
|
|
1691
|
+
*/
|
|
1692
|
+
block?: boolean;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
declare interface Props_3 {
|
|
1696
|
+
/**
|
|
1697
|
+
* id of the checkbox
|
|
1698
|
+
* @type {HTMLAttributes['id']}
|
|
1699
|
+
* @default ''
|
|
1700
|
+
* @example
|
|
1701
|
+
* <Checkbox id="checkbox" />
|
|
1702
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
1703
|
+
*/
|
|
1704
|
+
id: HTMLAttributes['id'];
|
|
1705
|
+
/**
|
|
1706
|
+
* Input checked state
|
|
1707
|
+
* @type {InputHTMLAttributes['checked']}
|
|
1708
|
+
* @default false
|
|
1709
|
+
* @example
|
|
1710
|
+
* <Checkbox :modelValue="true" />
|
|
1711
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
|
|
1712
|
+
*/
|
|
1713
|
+
modelValue?: InputHTMLAttributes['checked'];
|
|
1714
|
+
/**
|
|
1715
|
+
* label of the checkbox
|
|
1716
|
+
* @type {LabelHTMLAttributes['label']}
|
|
1717
|
+
* @default ''
|
|
1718
|
+
* @example
|
|
1719
|
+
* <Checkbox label="Checkbox" />
|
|
1720
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
1721
|
+
*/
|
|
1722
|
+
label?: LabelHTMLAttributes['for'];
|
|
1723
|
+
/**
|
|
1724
|
+
* Input indeterminate state
|
|
1725
|
+
* @type {InputHTMLAttributes['indeterminate']}
|
|
1726
|
+
* @default false
|
|
1727
|
+
* @example
|
|
1728
|
+
* <Checkbox indeterminate="true" />
|
|
1729
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate
|
|
1730
|
+
*/
|
|
1731
|
+
indeterminate?: InputHTMLAttributes['indeterminate'];
|
|
1732
|
+
/**
|
|
1733
|
+
* Input disabled state
|
|
1734
|
+
* @type {InputHTMLAttributes['disabled']}
|
|
1735
|
+
* @default false
|
|
1736
|
+
* @example
|
|
1737
|
+
* <Checkbox disabled="true" />
|
|
1738
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
|
|
1739
|
+
*/
|
|
1740
|
+
disabled?: InputHTMLAttributes['disabled'];
|
|
1741
|
+
/**
|
|
1742
|
+
* Hint text
|
|
1743
|
+
* @type {string}
|
|
1744
|
+
* @default ''
|
|
1745
|
+
* @example
|
|
1746
|
+
* <Checkbox hint="This is a hint" />
|
|
1747
|
+
*/
|
|
1748
|
+
hint?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* Error message
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @default ''
|
|
1753
|
+
* @example
|
|
1754
|
+
* <Checkbox errorMsg="This is an error" />
|
|
1755
|
+
*/
|
|
1756
|
+
errorMsg?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Hide the hint and error message
|
|
1759
|
+
* @type {boolean}
|
|
1760
|
+
* @default false
|
|
1761
|
+
* @example
|
|
1762
|
+
* <Checkbox hideDetails />
|
|
1763
|
+
*/
|
|
1764
|
+
hideDetails?: boolean;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
declare interface Props_4 {
|
|
1768
|
+
/**
|
|
1769
|
+
* Variant of the Chip
|
|
1770
|
+
* @type 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info'
|
|
1771
|
+
* @default 'primary'
|
|
1772
|
+
* @example
|
|
1773
|
+
* <Chip variant="primary" />
|
|
1774
|
+
*/
|
|
1775
|
+
variant: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
1776
|
+
/**
|
|
1777
|
+
* Label of the Chip
|
|
1778
|
+
* @type string | number
|
|
1779
|
+
* @default 'label'
|
|
1780
|
+
* @example
|
|
1781
|
+
* <Chip label="Label" />
|
|
1782
|
+
*/
|
|
1783
|
+
label?: string | number;
|
|
1784
|
+
/**
|
|
1785
|
+
* Disabled state of the Chip
|
|
1786
|
+
* @type boolean
|
|
1787
|
+
* @default false
|
|
1788
|
+
* @example
|
|
1789
|
+
* <Chip disabled />
|
|
1790
|
+
*/
|
|
1791
|
+
disabled?: boolean;
|
|
1792
|
+
/**
|
|
1793
|
+
* Prepend icon of the Chip
|
|
1794
|
+
* @type string
|
|
1795
|
+
* @default ''
|
|
1796
|
+
* @example
|
|
1797
|
+
* <Chip prependIcon="icon" />
|
|
1798
|
+
*/
|
|
1799
|
+
prependIcon?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* Append icon of the Chip
|
|
1802
|
+
* @type string
|
|
1803
|
+
* @default ''
|
|
1804
|
+
* @example
|
|
1805
|
+
* <Chip appendIcon="icon" />
|
|
1806
|
+
*/
|
|
1807
|
+
appendIcon?: string;
|
|
1808
|
+
/**
|
|
1809
|
+
* Ghost state of the Chip
|
|
1810
|
+
* @type boolean
|
|
1811
|
+
* @default false
|
|
1812
|
+
* @example
|
|
1813
|
+
* <Chip ghost />
|
|
1814
|
+
*/
|
|
1815
|
+
ghost?: boolean;
|
|
1816
|
+
/**
|
|
1817
|
+
* Clearable state of the Chip
|
|
1818
|
+
* @type boolean
|
|
1819
|
+
* @default false
|
|
1820
|
+
* @example
|
|
1821
|
+
* <Chip clearable />
|
|
1822
|
+
*/
|
|
1823
|
+
clearable?: boolean;
|
|
1824
|
+
/**
|
|
1825
|
+
* No wrap state of the Chip
|
|
1826
|
+
* @type boolean
|
|
1827
|
+
* @default false
|
|
1828
|
+
* @example
|
|
1829
|
+
* <Chip noWrap />
|
|
1830
|
+
*/
|
|
1831
|
+
noWrap?: boolean;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
declare interface Props_5 {
|
|
1835
|
+
/**
|
|
1836
|
+
* id of the checkbox
|
|
1837
|
+
* @type {HTMLAttributes['id']}
|
|
1838
|
+
* @default ''
|
|
1839
|
+
* @example
|
|
1840
|
+
* <Checkbox id="checkbox" />
|
|
1841
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
1842
|
+
*/
|
|
1843
|
+
id: HTMLAttributes['id'];
|
|
1844
|
+
/**
|
|
1845
|
+
* Input checked state
|
|
1846
|
+
* @type InputHTMLAttributes['checked']
|
|
1847
|
+
* @default false
|
|
1848
|
+
* @example
|
|
1849
|
+
* <Checkbox modelValue="true" />
|
|
1850
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
|
|
1851
|
+
*/
|
|
1852
|
+
modelValue?: InputHTMLAttributes['checked'];
|
|
1853
|
+
/**
|
|
1854
|
+
* Input disabled state
|
|
1855
|
+
* @type InputHTMLAttributes['disabled']
|
|
1856
|
+
* @default false
|
|
1857
|
+
* @example
|
|
1858
|
+
* <Checkbox disabled="true" />
|
|
1859
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
|
|
1860
|
+
*/
|
|
1861
|
+
disabled?: InputHTMLAttributes['disabled'];
|
|
1862
|
+
/**
|
|
1863
|
+
* label of the checkbox
|
|
1864
|
+
* @type LabelHTMLAttributes['label']
|
|
1865
|
+
* @default ''
|
|
1866
|
+
* @example
|
|
1867
|
+
* <Checkbox label="Checkbox" />
|
|
1868
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
1869
|
+
*/
|
|
1870
|
+
label?: LabelHTMLAttributes['for'];
|
|
1871
|
+
/**
|
|
1872
|
+
* Hint text
|
|
1873
|
+
* @type string
|
|
1874
|
+
* @default ''
|
|
1875
|
+
* @example
|
|
1876
|
+
* <Checkbox hint="This is a hint" />
|
|
1877
|
+
*/
|
|
1878
|
+
hint?: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* Error message
|
|
1881
|
+
* @type string
|
|
1882
|
+
* @default ''
|
|
1883
|
+
* @example
|
|
1884
|
+
* <Checkbox errorMsg="This is an error" />
|
|
1885
|
+
*/
|
|
1886
|
+
errorMsg?: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* Size of the checkbox
|
|
1889
|
+
* @type 'small' | 'medium' | 'large'
|
|
1890
|
+
* @default 'medium'
|
|
1891
|
+
* @example
|
|
1892
|
+
* <Checkbox size="small" />
|
|
1893
|
+
*/
|
|
1894
|
+
size?: 'small' | 'medium' | 'large';
|
|
1895
|
+
/**
|
|
1896
|
+
* Hide the hint and error message
|
|
1897
|
+
* @type {boolean}
|
|
1898
|
+
* @default false
|
|
1899
|
+
* @example
|
|
1900
|
+
* <Checkbox hideDetails />
|
|
1901
|
+
*/
|
|
1902
|
+
hideDetails?: boolean;
|
|
1903
|
+
/**
|
|
1904
|
+
* Reverse the order of the checkbox and the label
|
|
1905
|
+
* @type {boolean}
|
|
1906
|
+
* @default false
|
|
1907
|
+
* @example
|
|
1908
|
+
* <Checkbox reverse />
|
|
1909
|
+
*/
|
|
1910
|
+
reverse?: boolean;
|
|
1911
|
+
/**
|
|
1912
|
+
* Name of the checkbox
|
|
1913
|
+
* @type {string}
|
|
1914
|
+
* @default ''
|
|
1915
|
+
* @example
|
|
1916
|
+
* <Checkbox name="checkbox" />
|
|
1917
|
+
*/
|
|
1918
|
+
name?: string;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
declare interface Props_6 {
|
|
1922
|
+
/**
|
|
1923
|
+
* id of the textfield
|
|
1924
|
+
* @type HTMLAttributes['id']
|
|
1925
|
+
* @default ''
|
|
1926
|
+
* @example
|
|
1927
|
+
* <Textfield id="textfield" />
|
|
1928
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
1929
|
+
*/
|
|
1930
|
+
id: HTMLAttributes['id'];
|
|
1931
|
+
/**
|
|
1932
|
+
* Input type
|
|
1933
|
+
* @type 'text' | 'password' | 'email' | 'number' | 'tel' | 'url'
|
|
1934
|
+
* @default 'text'
|
|
1935
|
+
* @example
|
|
1936
|
+
* <Textfield type="password" />
|
|
1937
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
1938
|
+
*/
|
|
1939
|
+
type: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
|
|
1940
|
+
/**
|
|
1941
|
+
* Input value
|
|
1942
|
+
* @type InputHTMLAttributes['value'];
|
|
1943
|
+
* @default ''
|
|
1944
|
+
* @example
|
|
1945
|
+
* <Textfield modelValue="Hello" />
|
|
1946
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
|
|
1947
|
+
*/
|
|
1948
|
+
modelValue?: InputHTMLAttributes['value'];
|
|
1949
|
+
/**
|
|
1950
|
+
* label of the textfield
|
|
1951
|
+
* @type LabelHTMLAttributes['label']
|
|
1952
|
+
* @default ''
|
|
1953
|
+
* @example
|
|
1954
|
+
* <Textfield label="Textfield" />
|
|
1955
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
1956
|
+
*/
|
|
1957
|
+
label?: LabelHTMLAttributes['for'];
|
|
1958
|
+
/**
|
|
1959
|
+
* Placeholder text
|
|
1960
|
+
* @type InputHTMLAttributes['placeholder'];
|
|
1961
|
+
* @default ''
|
|
1962
|
+
* @example
|
|
1963
|
+
* <Textfield placeholder="Placeholder" />
|
|
1964
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
1965
|
+
*/
|
|
1966
|
+
placeholder?: InputHTMLAttributes['placeholder'];
|
|
1967
|
+
/**
|
|
1968
|
+
* Error message
|
|
1969
|
+
* @type string
|
|
1970
|
+
* @default ''
|
|
1971
|
+
* @example
|
|
1972
|
+
* <Textfield errorMsg="This is an error" />
|
|
1973
|
+
*/
|
|
1974
|
+
errorMsg?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
* Hint text
|
|
1977
|
+
* @type string
|
|
1978
|
+
* @default ''
|
|
1979
|
+
* @example
|
|
1980
|
+
* <Textfield hint="This is a hint" />
|
|
1981
|
+
*/
|
|
1982
|
+
hint?: string;
|
|
1983
|
+
/**
|
|
1984
|
+
* Icon to prepend
|
|
1985
|
+
* @type string
|
|
1986
|
+
* @default ''
|
|
1987
|
+
* @example
|
|
1988
|
+
* <Textfield prependIcon="mdiLock" />
|
|
1989
|
+
*/
|
|
1990
|
+
prependIcon?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* Icon to append
|
|
1993
|
+
* @type string
|
|
1994
|
+
* @default ''
|
|
1995
|
+
* @example
|
|
1996
|
+
* <Textfield appendIcon="mdiEyeOffOutline" />
|
|
1997
|
+
*/
|
|
1998
|
+
appendIcon?: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* Input disabled state
|
|
2001
|
+
* @type InputHTMLAttributes['disabled'] | boolean
|
|
2002
|
+
* @default false
|
|
2003
|
+
* @example
|
|
2004
|
+
* <Textfield disabled="true" />
|
|
2005
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
|
|
2006
|
+
*/
|
|
2007
|
+
disabled?: boolean;
|
|
2008
|
+
/**
|
|
2009
|
+
* Input loading state
|
|
2010
|
+
* @type boolean
|
|
2011
|
+
* @default false
|
|
2012
|
+
* @example
|
|
2013
|
+
* <Textfield loading="true" />
|
|
2014
|
+
*/
|
|
2015
|
+
loading?: boolean;
|
|
2016
|
+
/**
|
|
2017
|
+
* Input clearable state
|
|
2018
|
+
* @type boolean
|
|
2019
|
+
* @default false
|
|
2020
|
+
* @example
|
|
2021
|
+
* <Textfield clearable="true" />
|
|
2022
|
+
*/
|
|
2023
|
+
clearable?: boolean;
|
|
2024
|
+
/**
|
|
2025
|
+
* Input number min value
|
|
2026
|
+
* @type InputHTMLAttributes['min']
|
|
2027
|
+
* @default ''
|
|
2028
|
+
* @example
|
|
2029
|
+
* <Textfield min="0" />
|
|
2030
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
2031
|
+
*/
|
|
2032
|
+
min?: InputHTMLAttributes['min'];
|
|
2033
|
+
/**
|
|
2034
|
+
* Input number max value
|
|
2035
|
+
* @type InputHTMLAttributes['max']
|
|
2036
|
+
* @default ''
|
|
2037
|
+
* @example
|
|
2038
|
+
* <Textfield max="10" />
|
|
2039
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
|
|
2040
|
+
*/
|
|
2041
|
+
max?: InputHTMLAttributes['max'];
|
|
2042
|
+
/**
|
|
2043
|
+
* Hide details state of textfield details
|
|
2044
|
+
* @type {boolean}
|
|
2045
|
+
* @default false
|
|
2046
|
+
* @example
|
|
2047
|
+
* <Textfield hideDetails />
|
|
2048
|
+
*/
|
|
2049
|
+
hideDetails?: boolean;
|
|
2050
|
+
/**
|
|
2051
|
+
* Input role
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @default ''
|
|
2054
|
+
* @example
|
|
2055
|
+
* <Textfield role="search" />
|
|
2056
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#role
|
|
2057
|
+
*/
|
|
2058
|
+
role?: string;
|
|
2059
|
+
/**
|
|
2060
|
+
* Input readonly state
|
|
2061
|
+
* @type {boolean}
|
|
2062
|
+
* @default false
|
|
2063
|
+
* @example
|
|
2064
|
+
* <Textfield readonly />
|
|
2065
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
|
|
2066
|
+
*/
|
|
2067
|
+
readonly?: boolean;
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
declare interface Props_7 {
|
|
2071
|
+
id: string;
|
|
2072
|
+
modelValue?: boolean;
|
|
2073
|
+
name?: string;
|
|
2074
|
+
disabled?: boolean;
|
|
2075
|
+
label?: string;
|
|
2076
|
+
hint?: string;
|
|
2077
|
+
errorMsg?: string;
|
|
2078
|
+
title?: string;
|
|
2079
|
+
value?: string;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
export declare const RAccordion: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
|
|
2083
|
+
title?(_: {
|
|
2084
|
+
accordion: Accordion & {
|
|
2085
|
+
title: string;
|
|
2086
|
+
content: string;
|
|
2087
|
+
open: boolean;
|
|
2088
|
+
disabled: boolean;
|
|
2089
|
+
};
|
|
2090
|
+
}): any;
|
|
2091
|
+
icon?(_: {
|
|
2092
|
+
item: Accordion & {
|
|
2093
|
+
title: string;
|
|
2094
|
+
content: string;
|
|
2095
|
+
open: boolean;
|
|
2096
|
+
disabled: boolean;
|
|
2097
|
+
};
|
|
2098
|
+
open: boolean;
|
|
2099
|
+
}): any;
|
|
2100
|
+
content?(_: {
|
|
2101
|
+
accordion: Accordion & {
|
|
2102
|
+
title: string;
|
|
2103
|
+
content: string;
|
|
2104
|
+
open: boolean;
|
|
2105
|
+
disabled: boolean;
|
|
2106
|
+
};
|
|
2107
|
+
}): any;
|
|
2108
|
+
}>;
|
|
2109
|
+
|
|
2110
|
+
export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps_2<Props>, {
|
|
2111
|
+
type: string;
|
|
2112
|
+
title: string;
|
|
2113
|
+
variant: string;
|
|
2114
|
+
description: string;
|
|
2115
|
+
closable: boolean;
|
|
2116
|
+
block: boolean;
|
|
2117
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2118
|
+
close: (...args: any[]) => void;
|
|
2119
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps_2<Props>, {
|
|
2120
|
+
type: string;
|
|
2121
|
+
title: string;
|
|
2122
|
+
variant: string;
|
|
2123
|
+
description: string;
|
|
2124
|
+
closable: boolean;
|
|
2125
|
+
block: boolean;
|
|
2126
|
+
}>>> & {
|
|
2127
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2128
|
+
}, {
|
|
2129
|
+
type: "success" | "error" | "warning" | "info";
|
|
2130
|
+
title: string;
|
|
2131
|
+
variant: "ghost" | "solid" | "outline";
|
|
2132
|
+
block: boolean;
|
|
2133
|
+
description: string;
|
|
2134
|
+
closable: boolean;
|
|
2135
|
+
}, {}>, {
|
|
2136
|
+
"alert-icon"?(_: {}): any;
|
|
2137
|
+
content?(_: {}): any;
|
|
2138
|
+
"custom-close"?(_: {
|
|
2139
|
+
close: typeof close_2;
|
|
2140
|
+
slotClass: string;
|
|
2141
|
+
}): any;
|
|
2142
|
+
}>;
|
|
2143
|
+
|
|
2144
|
+
export declare const RAvatar: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_3<IProps>, {
|
|
2145
|
+
type: string;
|
|
2146
|
+
size: string;
|
|
2147
|
+
src: string;
|
|
2148
|
+
alt: string;
|
|
2149
|
+
online: boolean;
|
|
2150
|
+
text: string;
|
|
2151
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_3<IProps>, {
|
|
2152
|
+
type: string;
|
|
2153
|
+
size: string;
|
|
2154
|
+
src: string;
|
|
2155
|
+
alt: string;
|
|
2156
|
+
online: boolean;
|
|
2157
|
+
text: string;
|
|
2158
|
+
}>>>, {
|
|
2159
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
2160
|
+
type: "image" | "text";
|
|
2161
|
+
text: string;
|
|
2162
|
+
src: string;
|
|
2163
|
+
alt: string;
|
|
2164
|
+
online: boolean;
|
|
2165
|
+
}, {}>;
|
|
2166
|
+
|
|
2167
|
+
export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<BadgeProps>, {
|
|
2168
|
+
variant: string;
|
|
2169
|
+
placement: string;
|
|
2170
|
+
overlap: boolean;
|
|
2171
|
+
hover: boolean;
|
|
2172
|
+
content: string;
|
|
2173
|
+
outside: boolean;
|
|
2174
|
+
animation: boolean;
|
|
2175
|
+
class: string;
|
|
2176
|
+
contentClass: string;
|
|
2177
|
+
wrapperClass: string;
|
|
2178
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2179
|
+
click: (...args: any[]) => void;
|
|
2180
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<BadgeProps>, {
|
|
2181
|
+
variant: string;
|
|
2182
|
+
placement: string;
|
|
2183
|
+
overlap: boolean;
|
|
2184
|
+
hover: boolean;
|
|
2185
|
+
content: string;
|
|
2186
|
+
outside: boolean;
|
|
2187
|
+
animation: boolean;
|
|
2188
|
+
class: string;
|
|
2189
|
+
contentClass: string;
|
|
2190
|
+
wrapperClass: string;
|
|
2191
|
+
}>>> & {
|
|
2192
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
2193
|
+
}, {
|
|
2194
|
+
class: string | string[];
|
|
2195
|
+
variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
2196
|
+
hover: boolean;
|
|
2197
|
+
placement: "bottom" | "left" | "right";
|
|
2198
|
+
content: string;
|
|
2199
|
+
overlap: boolean;
|
|
2200
|
+
outside: boolean;
|
|
2201
|
+
animation: boolean;
|
|
2202
|
+
contentClass: string | string[];
|
|
2203
|
+
wrapperClass: string | string[];
|
|
2204
|
+
}, {}>, {
|
|
2205
|
+
default?(_: {}): any;
|
|
2206
|
+
}>;
|
|
2207
|
+
|
|
2208
|
+
export declare const RBreadcrumb: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<{
|
|
2209
|
+
items: BreadcrumbItem[];
|
|
2210
|
+
seperator?: string | undefined;
|
|
2211
|
+
}>, {
|
|
2212
|
+
items: () => BreadcrumbItem[];
|
|
2213
|
+
seperator: string;
|
|
2214
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<{
|
|
2215
|
+
items: BreadcrumbItem[];
|
|
2216
|
+
seperator?: string | undefined;
|
|
2217
|
+
}>, {
|
|
2218
|
+
items: () => BreadcrumbItem[];
|
|
2219
|
+
seperator: string;
|
|
2220
|
+
}>>>, {
|
|
2221
|
+
items: BreadcrumbItem[];
|
|
2222
|
+
seperator: string;
|
|
2223
|
+
}, {}>, {
|
|
2224
|
+
"item-icon"?(_: {}): any;
|
|
2225
|
+
"custom-seperator"?(_: {}): any;
|
|
2226
|
+
}>;
|
|
2227
|
+
|
|
2228
|
+
export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<Props_2>, {
|
|
2229
|
+
variant: string;
|
|
2230
|
+
loading: boolean;
|
|
2231
|
+
disabled: boolean;
|
|
2232
|
+
prependIcon: string;
|
|
2233
|
+
appendIcon: string;
|
|
2234
|
+
icon: boolean;
|
|
2235
|
+
size: string;
|
|
2236
|
+
height: string;
|
|
2237
|
+
block: boolean;
|
|
2238
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2239
|
+
click: (...args: any[]) => void;
|
|
2240
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<Props_2>, {
|
|
2241
|
+
variant: string;
|
|
2242
|
+
loading: boolean;
|
|
2243
|
+
disabled: boolean;
|
|
2244
|
+
prependIcon: string;
|
|
2245
|
+
appendIcon: string;
|
|
2246
|
+
icon: boolean;
|
|
2247
|
+
size: string;
|
|
2248
|
+
height: string;
|
|
2249
|
+
block: boolean;
|
|
2250
|
+
}>>> & {
|
|
2251
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
2252
|
+
}, {
|
|
2253
|
+
height: string;
|
|
2254
|
+
size: ButtonSize;
|
|
2255
|
+
variant: ButtonType;
|
|
2256
|
+
disabled: boolean;
|
|
2257
|
+
prependIcon: string;
|
|
2258
|
+
appendIcon: string;
|
|
2259
|
+
block: boolean;
|
|
2260
|
+
loading: boolean;
|
|
2261
|
+
icon: boolean;
|
|
2262
|
+
}, {}>, {
|
|
2263
|
+
prepend?(_: {
|
|
2264
|
+
onlyIcon: boolean;
|
|
2265
|
+
}): any;
|
|
2266
|
+
default?(_: {
|
|
2267
|
+
disabled: boolean;
|
|
2268
|
+
}): any;
|
|
2269
|
+
append?(_: {
|
|
2270
|
+
onlyIcon: boolean;
|
|
2271
|
+
}): any;
|
|
2272
|
+
}>;
|
|
2273
|
+
|
|
2274
|
+
export declare const RCheckbox: DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<Props_3>, {
|
|
2275
|
+
id: string;
|
|
2276
|
+
label: string;
|
|
2277
|
+
indeterminate: boolean;
|
|
2278
|
+
disabled: boolean;
|
|
2279
|
+
hint: string;
|
|
2280
|
+
errorMsg: string;
|
|
2281
|
+
modelValue: boolean;
|
|
2282
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2283
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2284
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<Props_3>, {
|
|
2285
|
+
id: string;
|
|
2286
|
+
label: string;
|
|
2287
|
+
indeterminate: boolean;
|
|
2288
|
+
disabled: boolean;
|
|
2289
|
+
hint: string;
|
|
2290
|
+
errorMsg: string;
|
|
2291
|
+
modelValue: boolean;
|
|
2292
|
+
}>>> & {
|
|
2293
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2294
|
+
}, {
|
|
2295
|
+
label: string;
|
|
2296
|
+
disabled: boolean | "true" | "false";
|
|
2297
|
+
id: string | undefined;
|
|
2298
|
+
modelValue: any[] | Set<any> | (boolean | "true" | "false");
|
|
2299
|
+
errorMsg: string;
|
|
2300
|
+
hint: string;
|
|
2301
|
+
indeterminate: boolean;
|
|
2302
|
+
}, {}>;
|
|
2303
|
+
|
|
2304
|
+
export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
2305
|
+
variant: string;
|
|
2306
|
+
label: string;
|
|
2307
|
+
disabled: boolean;
|
|
2308
|
+
prependIcon: string;
|
|
2309
|
+
appendIcon: string;
|
|
2310
|
+
ghost: boolean;
|
|
2311
|
+
clearable: boolean;
|
|
2312
|
+
noWrap: boolean;
|
|
2313
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2314
|
+
"click:chip": (...args: any[]) => void;
|
|
2315
|
+
"click:close": (...args: any[]) => void;
|
|
2316
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
2317
|
+
variant: string;
|
|
2318
|
+
label: string;
|
|
2319
|
+
disabled: boolean;
|
|
2320
|
+
prependIcon: string;
|
|
2321
|
+
appendIcon: string;
|
|
2322
|
+
ghost: boolean;
|
|
2323
|
+
clearable: boolean;
|
|
2324
|
+
noWrap: boolean;
|
|
2325
|
+
}>>> & {
|
|
2326
|
+
"onClick:chip"?: ((...args: any[]) => any) | undefined;
|
|
2327
|
+
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
2328
|
+
}, {
|
|
2329
|
+
label: string | number;
|
|
2330
|
+
variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
|
|
2331
|
+
disabled: boolean;
|
|
2332
|
+
prependIcon: string;
|
|
2333
|
+
appendIcon: string;
|
|
2334
|
+
ghost: boolean;
|
|
2335
|
+
clearable: boolean;
|
|
2336
|
+
noWrap: boolean;
|
|
2337
|
+
}, {}>, {
|
|
2338
|
+
prepend?(_: {
|
|
2339
|
+
disabled: boolean;
|
|
2340
|
+
}): any;
|
|
2341
|
+
append?(_: {
|
|
2342
|
+
disabled: boolean;
|
|
2343
|
+
}): any;
|
|
2344
|
+
}>;
|
|
2345
|
+
|
|
2346
|
+
export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
2347
|
+
options: () => never[];
|
|
2348
|
+
modelValue: any;
|
|
2349
|
+
placeholder: string;
|
|
2350
|
+
chips: boolean;
|
|
2351
|
+
multiple: boolean;
|
|
2352
|
+
disabled: boolean;
|
|
2353
|
+
loading: boolean;
|
|
2354
|
+
prependIcon: string;
|
|
2355
|
+
appendIcon: string;
|
|
2356
|
+
searchable: boolean;
|
|
2357
|
+
clearable: boolean;
|
|
2358
|
+
id: string;
|
|
2359
|
+
label: string;
|
|
2360
|
+
closeOnSelect: boolean;
|
|
2361
|
+
dropdownClass: string;
|
|
2362
|
+
optionsClass: string;
|
|
2363
|
+
errorMsg: string;
|
|
2364
|
+
hideDetails: boolean;
|
|
2365
|
+
autocomplete: string;
|
|
2366
|
+
noOptionsText: string;
|
|
2367
|
+
hideOptionCheckIcon: boolean;
|
|
2368
|
+
hideChipClear: boolean;
|
|
2369
|
+
tooltipClass: string;
|
|
2370
|
+
showSelectAll: boolean;
|
|
2371
|
+
selectAllText: string;
|
|
2372
|
+
disableDeselect: boolean;
|
|
2373
|
+
maxVisibleChips: number;
|
|
2374
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2375
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2376
|
+
clear: (...args: any[]) => void;
|
|
2377
|
+
removeOption: (...args: any[]) => void;
|
|
2378
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
2379
|
+
options: () => never[];
|
|
2380
|
+
modelValue: any;
|
|
2381
|
+
placeholder: string;
|
|
2382
|
+
chips: boolean;
|
|
2383
|
+
multiple: boolean;
|
|
2384
|
+
disabled: boolean;
|
|
2385
|
+
loading: boolean;
|
|
2386
|
+
prependIcon: string;
|
|
2387
|
+
appendIcon: string;
|
|
2388
|
+
searchable: boolean;
|
|
2389
|
+
clearable: boolean;
|
|
2390
|
+
id: string;
|
|
2391
|
+
label: string;
|
|
2392
|
+
closeOnSelect: boolean;
|
|
2393
|
+
dropdownClass: string;
|
|
2394
|
+
optionsClass: string;
|
|
2395
|
+
errorMsg: string;
|
|
2396
|
+
hideDetails: boolean;
|
|
2397
|
+
autocomplete: string;
|
|
2398
|
+
noOptionsText: string;
|
|
2399
|
+
hideOptionCheckIcon: boolean;
|
|
2400
|
+
hideChipClear: boolean;
|
|
2401
|
+
tooltipClass: string;
|
|
2402
|
+
showSelectAll: boolean;
|
|
2403
|
+
selectAllText: string;
|
|
2404
|
+
disableDeselect: boolean;
|
|
2405
|
+
maxVisibleChips: number;
|
|
2406
|
+
}>>> & {
|
|
2407
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2408
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
2409
|
+
onRemoveOption?: ((...args: any[]) => any) | undefined;
|
|
2410
|
+
}, {
|
|
2411
|
+
disabled: boolean;
|
|
2412
|
+
prependIcon: string;
|
|
2413
|
+
appendIcon: string;
|
|
2414
|
+
clearable: boolean;
|
|
2415
|
+
options: any;
|
|
2416
|
+
tooltipClass: string;
|
|
2417
|
+
id: string;
|
|
2418
|
+
modelValue: any;
|
|
2419
|
+
placeholder: string;
|
|
2420
|
+
chips: boolean;
|
|
2421
|
+
multiple: boolean;
|
|
2422
|
+
loading: boolean;
|
|
2423
|
+
searchable: boolean;
|
|
2424
|
+
closeOnSelect: boolean;
|
|
2425
|
+
dropdownClass: string;
|
|
2426
|
+
optionsClass: string;
|
|
2427
|
+
errorMsg: string;
|
|
2428
|
+
hideDetails: boolean;
|
|
2429
|
+
autocomplete: "on" | "off";
|
|
2430
|
+
noOptionsText: string;
|
|
2431
|
+
hideOptionCheckIcon: boolean;
|
|
2432
|
+
hideChipClear: boolean;
|
|
2433
|
+
showSelectAll: boolean;
|
|
2434
|
+
selectAllText: string;
|
|
2435
|
+
disableDeselect: boolean;
|
|
2436
|
+
maxVisibleChips: number;
|
|
2437
|
+
}, {}>, {
|
|
2438
|
+
prepend?(_: {
|
|
2439
|
+
active: boolean;
|
|
2440
|
+
disabled: boolean;
|
|
2441
|
+
error: number;
|
|
2442
|
+
loading: boolean;
|
|
2443
|
+
}): any;
|
|
2444
|
+
selection?(_: {
|
|
2445
|
+
removeOption: typeof removeOption;
|
|
2446
|
+
selected: {
|
|
2447
|
+
[x: string]: any;
|
|
2448
|
+
value: string | number;
|
|
2449
|
+
label: string;
|
|
2450
|
+
prependIcon?: string | undefined;
|
|
2451
|
+
disabled?: boolean | undefined;
|
|
2452
|
+
}[];
|
|
2453
|
+
}): any;
|
|
2454
|
+
"remaining-count"?(_: {
|
|
2455
|
+
count: number;
|
|
2456
|
+
}): any;
|
|
2457
|
+
clearable?(_: {}): any;
|
|
2458
|
+
append?(_: {
|
|
2459
|
+
active: boolean;
|
|
2460
|
+
disabled: boolean;
|
|
2461
|
+
error: number;
|
|
2462
|
+
loading: boolean;
|
|
2463
|
+
}): any;
|
|
2464
|
+
option?(_: {
|
|
2465
|
+
disabled: boolean | undefined;
|
|
2466
|
+
isSelected: boolean | {
|
|
2467
|
+
[x: string]: any;
|
|
2468
|
+
value: string | number;
|
|
2469
|
+
label: string;
|
|
2470
|
+
prependIcon?: string | undefined;
|
|
2471
|
+
disabled?: boolean | undefined;
|
|
2472
|
+
} | undefined;
|
|
2473
|
+
item: Option_2;
|
|
2474
|
+
}): any;
|
|
2475
|
+
"option-prepend"?(_: {
|
|
2476
|
+
disabled: boolean | undefined;
|
|
2477
|
+
isSelected: boolean | {
|
|
2478
|
+
[x: string]: any;
|
|
2479
|
+
value: string | number;
|
|
2480
|
+
label: string;
|
|
2481
|
+
prependIcon?: string | undefined;
|
|
2482
|
+
disabled?: boolean | undefined;
|
|
2483
|
+
} | undefined;
|
|
2484
|
+
}): any;
|
|
2485
|
+
"option-append"?(_: {
|
|
2486
|
+
disabled: boolean | undefined;
|
|
2487
|
+
isSelected: boolean | {
|
|
2488
|
+
[x: string]: any;
|
|
2489
|
+
value: string | number;
|
|
2490
|
+
label: string;
|
|
2491
|
+
prependIcon?: string | undefined;
|
|
2492
|
+
disabled?: boolean | undefined;
|
|
2493
|
+
} | undefined;
|
|
2494
|
+
}): any;
|
|
2495
|
+
"not-options"?(_: {}): any;
|
|
2496
|
+
}>;
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* @description - Removes an option from the selected options
|
|
2500
|
+
* @param e option Option to remove
|
|
2501
|
+
*/
|
|
2502
|
+
declare function removeOption(e: MouseEvent | KeyboardEvent, option: Option_2, updatePosition: any): void;
|
|
2503
|
+
|
|
2504
|
+
export declare const RIcon: DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<IProps_2>, {
|
|
2505
|
+
name: string;
|
|
2506
|
+
size: number;
|
|
2507
|
+
viewBox: string;
|
|
2508
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<IProps_2>, {
|
|
2509
|
+
name: string;
|
|
2510
|
+
size: number;
|
|
2511
|
+
viewBox: string;
|
|
2512
|
+
}>>>, {
|
|
2513
|
+
name: string | undefined;
|
|
2514
|
+
viewBox: string;
|
|
2515
|
+
size: string | number;
|
|
2516
|
+
}, {}>;
|
|
2517
|
+
|
|
2518
|
+
export declare const RItem: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<ItemProps>, {
|
|
2519
|
+
disabled: boolean;
|
|
2520
|
+
selectedClass: string;
|
|
2521
|
+
value: null;
|
|
2522
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<ItemProps>, {
|
|
2523
|
+
disabled: boolean;
|
|
2524
|
+
selectedClass: string;
|
|
2525
|
+
value: null;
|
|
2526
|
+
}>>>, {
|
|
2527
|
+
value: any;
|
|
2528
|
+
selectedClass: string | string[];
|
|
2529
|
+
}, {}>, {
|
|
2530
|
+
default?(_: {
|
|
2531
|
+
disabled: boolean;
|
|
2532
|
+
isSelected: boolean;
|
|
2533
|
+
select: typeof handleSelect;
|
|
2534
|
+
selectedClass: (string | string[]) & (false | (string | string[])[]);
|
|
2535
|
+
toggle: typeof handleToggle;
|
|
2536
|
+
}): any;
|
|
2537
|
+
}>;
|
|
2538
|
+
|
|
2539
|
+
export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<ItemGroupProps>, {
|
|
2540
|
+
disabled: boolean;
|
|
2541
|
+
mandatory: boolean;
|
|
2542
|
+
max: number;
|
|
2543
|
+
as: string;
|
|
2544
|
+
selectedClass: string;
|
|
2545
|
+
modelValue: () => number[];
|
|
2546
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2547
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2548
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<ItemGroupProps>, {
|
|
2549
|
+
disabled: boolean;
|
|
2550
|
+
mandatory: boolean;
|
|
2551
|
+
max: number;
|
|
2552
|
+
as: string;
|
|
2553
|
+
selectedClass: string;
|
|
2554
|
+
modelValue: () => number[];
|
|
2555
|
+
}>>> & {
|
|
2556
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2557
|
+
}, {
|
|
2558
|
+
disabled: boolean;
|
|
2559
|
+
modelValue: string[] | number[];
|
|
2560
|
+
as: string;
|
|
2561
|
+
selectedClass: string | string[];
|
|
2562
|
+
mandatory: boolean;
|
|
2563
|
+
max: number;
|
|
2564
|
+
}, {}>, {
|
|
2565
|
+
default?(_: {
|
|
2566
|
+
isSelected: typeof isSelected;
|
|
2567
|
+
select: typeof select;
|
|
2568
|
+
selected: string[] | number[];
|
|
2569
|
+
}): any;
|
|
2570
|
+
}>;
|
|
2571
|
+
|
|
2572
|
+
export declare const RLabel: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<LabelProps>, {
|
|
2573
|
+
id: string;
|
|
2574
|
+
for: string;
|
|
2575
|
+
text: string;
|
|
2576
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<LabelProps>, {
|
|
2577
|
+
id: string;
|
|
2578
|
+
for: string;
|
|
2579
|
+
text: string;
|
|
2580
|
+
}>>>, {
|
|
2581
|
+
text: string | number;
|
|
2582
|
+
id: string | undefined;
|
|
2583
|
+
for: string | undefined;
|
|
2584
|
+
}, {}>, {
|
|
2585
|
+
default?(_: {}): any;
|
|
2586
|
+
}>;
|
|
2587
|
+
|
|
2588
|
+
export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<ModalProps>, {
|
|
2589
|
+
modelValue: boolean;
|
|
2590
|
+
block: boolean;
|
|
2591
|
+
title: string;
|
|
2592
|
+
description: string;
|
|
2593
|
+
icon: string;
|
|
2594
|
+
width: string;
|
|
2595
|
+
height: string;
|
|
2596
|
+
outsideClick: boolean;
|
|
2597
|
+
clearContent: boolean;
|
|
2598
|
+
class: string;
|
|
2599
|
+
overlayClass: string;
|
|
2600
|
+
style: string;
|
|
2601
|
+
allowBodyScroll: boolean;
|
|
2602
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2603
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2604
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<ModalProps>, {
|
|
2605
|
+
modelValue: boolean;
|
|
2606
|
+
block: boolean;
|
|
2607
|
+
title: string;
|
|
2608
|
+
description: string;
|
|
2609
|
+
icon: string;
|
|
2610
|
+
width: string;
|
|
2611
|
+
height: string;
|
|
2612
|
+
outsideClick: boolean;
|
|
2613
|
+
clearContent: boolean;
|
|
2614
|
+
class: string;
|
|
2615
|
+
overlayClass: string;
|
|
2616
|
+
style: string;
|
|
2617
|
+
allowBodyScroll: boolean;
|
|
2618
|
+
}>>> & {
|
|
2619
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2620
|
+
}, {
|
|
2621
|
+
width: string;
|
|
2622
|
+
height: string;
|
|
2623
|
+
style: string;
|
|
2624
|
+
title: string;
|
|
2625
|
+
class: string | string[];
|
|
2626
|
+
outsideClick: boolean;
|
|
2627
|
+
block: boolean;
|
|
2628
|
+
modelValue: boolean;
|
|
2629
|
+
description: string;
|
|
2630
|
+
icon: string;
|
|
2631
|
+
clearContent: boolean;
|
|
2632
|
+
overlayClass: string | string[];
|
|
2633
|
+
allowBodyScroll: boolean;
|
|
2634
|
+
}, {}>, {
|
|
2635
|
+
wrapper?(_: {}): any;
|
|
2636
|
+
header?(_: {}): any;
|
|
2637
|
+
default?(_: {}): any;
|
|
2638
|
+
actions?(_: {}): any;
|
|
2639
|
+
}>;
|
|
2640
|
+
|
|
2641
|
+
export declare const RPagination: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<PaginationProps>, {
|
|
2642
|
+
page: number;
|
|
2643
|
+
perPage: number;
|
|
2644
|
+
totalItems: number;
|
|
2645
|
+
perPageOptions: () => number[];
|
|
2646
|
+
itemsPerPageText: string;
|
|
2647
|
+
position: string;
|
|
2648
|
+
infoText: string;
|
|
2649
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2650
|
+
"update:page": (...args: any[]) => void;
|
|
2651
|
+
"update:perPage": (...args: any[]) => void;
|
|
2652
|
+
"update:info": (...args: any[]) => void;
|
|
2653
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<PaginationProps>, {
|
|
2654
|
+
page: number;
|
|
2655
|
+
perPage: number;
|
|
2656
|
+
totalItems: number;
|
|
2657
|
+
perPageOptions: () => number[];
|
|
2658
|
+
itemsPerPageText: string;
|
|
2659
|
+
position: string;
|
|
2660
|
+
infoText: string;
|
|
2661
|
+
}>>> & {
|
|
2662
|
+
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
2663
|
+
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
2664
|
+
"onUpdate:info"?: ((...args: any[]) => any) | undefined;
|
|
2665
|
+
}, {
|
|
2666
|
+
page: number;
|
|
2667
|
+
perPage: number;
|
|
2668
|
+
totalItems: number;
|
|
2669
|
+
perPageOptions: number[];
|
|
2670
|
+
itemsPerPageText: string;
|
|
2671
|
+
position: string;
|
|
2672
|
+
infoText: string;
|
|
2673
|
+
}, {}>, {
|
|
2674
|
+
first?(_: {}): any;
|
|
2675
|
+
prev?(_: {}): any;
|
|
2676
|
+
next?(_: {}): any;
|
|
2677
|
+
last?(_: {}): any;
|
|
2678
|
+
}>;
|
|
2679
|
+
|
|
2680
|
+
export declare const RProgressbar: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<ProgressBarProps>, {
|
|
2681
|
+
value: number;
|
|
2682
|
+
height: number;
|
|
2683
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<ProgressBarProps>, {
|
|
2684
|
+
value: number;
|
|
2685
|
+
height: number;
|
|
2686
|
+
}>>>, {
|
|
2687
|
+
height: number;
|
|
2688
|
+
value: number;
|
|
2689
|
+
}, {}>;
|
|
2690
|
+
|
|
2691
|
+
export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
|
|
2692
|
+
id: string;
|
|
2693
|
+
modelValue: boolean;
|
|
2694
|
+
name: string;
|
|
2695
|
+
disabled: boolean;
|
|
2696
|
+
label: string;
|
|
2697
|
+
hint: string;
|
|
2698
|
+
errorMsg: string;
|
|
2699
|
+
title: string;
|
|
2700
|
+
value: string;
|
|
2701
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2702
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2703
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
|
|
2704
|
+
id: string;
|
|
2705
|
+
modelValue: boolean;
|
|
2706
|
+
name: string;
|
|
2707
|
+
disabled: boolean;
|
|
2708
|
+
label: string;
|
|
2709
|
+
hint: string;
|
|
2710
|
+
errorMsg: string;
|
|
2711
|
+
title: string;
|
|
2712
|
+
value: string;
|
|
2713
|
+
}>>> & {
|
|
2714
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2715
|
+
}, {
|
|
2716
|
+
name: string;
|
|
2717
|
+
label: string;
|
|
2718
|
+
title: string;
|
|
2719
|
+
disabled: boolean;
|
|
2720
|
+
value: string;
|
|
2721
|
+
id: string;
|
|
2722
|
+
modelValue: boolean;
|
|
2723
|
+
errorMsg: string;
|
|
2724
|
+
hint: string;
|
|
2725
|
+
}, {}>;
|
|
2726
|
+
|
|
2727
|
+
export declare const RSidebar: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<RSidebarProps>, {
|
|
2728
|
+
modelValue: boolean;
|
|
2729
|
+
showTrigger: boolean;
|
|
2730
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2731
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2732
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<RSidebarProps>, {
|
|
2733
|
+
modelValue: boolean;
|
|
2734
|
+
showTrigger: boolean;
|
|
2735
|
+
}>>> & {
|
|
2736
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2737
|
+
}, {
|
|
2738
|
+
modelValue: boolean;
|
|
2739
|
+
showTrigger: boolean;
|
|
2740
|
+
}, {}>, {
|
|
2741
|
+
default?(_: {
|
|
2742
|
+
open: boolean;
|
|
2743
|
+
}): any;
|
|
2744
|
+
trigger?(_: {
|
|
2745
|
+
open: boolean;
|
|
2746
|
+
}): any;
|
|
2747
|
+
}>;
|
|
2748
|
+
|
|
2749
|
+
declare interface RSidebarProps {
|
|
2750
|
+
modelValue: boolean;
|
|
2751
|
+
showTrigger?: boolean;
|
|
2752
|
+
class?: string | string[];
|
|
2753
|
+
triggerClass?: string | string[];
|
|
2754
|
+
wrapperClass?: string | string[];
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<IProps_3>, {
|
|
2758
|
+
text: string;
|
|
2759
|
+
closable: boolean;
|
|
2760
|
+
left: boolean;
|
|
2761
|
+
modelValue: boolean;
|
|
2762
|
+
timeout: number;
|
|
2763
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2764
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2765
|
+
action: (...args: any[]) => void;
|
|
2766
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<IProps_3>, {
|
|
2767
|
+
text: string;
|
|
2768
|
+
closable: boolean;
|
|
2769
|
+
left: boolean;
|
|
2770
|
+
modelValue: boolean;
|
|
2771
|
+
timeout: number;
|
|
2772
|
+
}>>> & {
|
|
2773
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2774
|
+
onAction?: ((...args: any[]) => any) | undefined;
|
|
2775
|
+
}, {
|
|
2776
|
+
text: string;
|
|
2777
|
+
left: boolean;
|
|
2778
|
+
modelValue: boolean;
|
|
2779
|
+
closable: boolean;
|
|
2780
|
+
timeout: number;
|
|
2781
|
+
}, {}>, {
|
|
2782
|
+
icon?(_: {}): any;
|
|
2783
|
+
default?(_: {}): any;
|
|
2784
|
+
close?(_: {}): any;
|
|
2785
|
+
}>;
|
|
2786
|
+
|
|
2787
|
+
export declare const RSwitch: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_5>, {
|
|
2788
|
+
id: string;
|
|
2789
|
+
modelValue: boolean;
|
|
2790
|
+
size: string;
|
|
2791
|
+
disabled: boolean;
|
|
2792
|
+
label: string;
|
|
2793
|
+
hint: string;
|
|
2794
|
+
errorMsg: string;
|
|
2795
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2796
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2797
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_5>, {
|
|
2798
|
+
id: string;
|
|
2799
|
+
modelValue: boolean;
|
|
2800
|
+
size: string;
|
|
2801
|
+
disabled: boolean;
|
|
2802
|
+
label: string;
|
|
2803
|
+
hint: string;
|
|
2804
|
+
errorMsg: string;
|
|
2805
|
+
}>>> & {
|
|
2806
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2807
|
+
}, {
|
|
2808
|
+
size: "small" | "medium" | "large";
|
|
2809
|
+
label: string;
|
|
2810
|
+
disabled: boolean | "true" | "false";
|
|
2811
|
+
id: string | undefined;
|
|
2812
|
+
modelValue: any[] | Set<any> | (boolean | "true" | "false");
|
|
2813
|
+
errorMsg: string;
|
|
2814
|
+
hint: string;
|
|
2815
|
+
}, {}>;
|
|
2816
|
+
|
|
2817
|
+
export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
|
|
2818
|
+
label: string;
|
|
2819
|
+
variant: TabItemVariants;
|
|
2820
|
+
prependIcon: string;
|
|
2821
|
+
appendIcon: string;
|
|
2822
|
+
disabled: boolean;
|
|
2823
|
+
modelValue: string;
|
|
2824
|
+
tile: boolean;
|
|
2825
|
+
block: boolean;
|
|
2826
|
+
color: string;
|
|
2827
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2828
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2829
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
|
|
2830
|
+
label: string;
|
|
2831
|
+
variant: TabItemVariants;
|
|
2832
|
+
prependIcon: string;
|
|
2833
|
+
appendIcon: string;
|
|
2834
|
+
disabled: boolean;
|
|
2835
|
+
modelValue: string;
|
|
2836
|
+
tile: boolean;
|
|
2837
|
+
block: boolean;
|
|
2838
|
+
color: string;
|
|
2839
|
+
}>>> & {
|
|
2840
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2841
|
+
}, {
|
|
2842
|
+
label: string;
|
|
2843
|
+
variant: TabItemVariant;
|
|
2844
|
+
disabled: boolean;
|
|
2845
|
+
prependIcon: string;
|
|
2846
|
+
appendIcon: string;
|
|
2847
|
+
block: boolean;
|
|
2848
|
+
modelValue: string | number;
|
|
2849
|
+
color: string;
|
|
2850
|
+
tile: boolean;
|
|
2851
|
+
}, {}>, {
|
|
2852
|
+
prepend?(_: {
|
|
2853
|
+
active: boolean;
|
|
2854
|
+
disabled: boolean;
|
|
2855
|
+
}): any;
|
|
2856
|
+
default?(_: {
|
|
2857
|
+
label: string;
|
|
2858
|
+
}): any;
|
|
2859
|
+
append?(_: {
|
|
2860
|
+
active: boolean;
|
|
2861
|
+
disabled: boolean;
|
|
2862
|
+
}): any;
|
|
2863
|
+
}>;
|
|
2864
|
+
|
|
2865
|
+
export declare const RTabs: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<IProps_5>, {
|
|
2866
|
+
tabs: () => never[];
|
|
2867
|
+
block: boolean;
|
|
2868
|
+
modelValue: string;
|
|
2869
|
+
tile: boolean;
|
|
2870
|
+
scrollable: boolean;
|
|
2871
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2872
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2873
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<IProps_5>, {
|
|
2874
|
+
tabs: () => never[];
|
|
2875
|
+
block: boolean;
|
|
2876
|
+
modelValue: string;
|
|
2877
|
+
tile: boolean;
|
|
2878
|
+
scrollable: boolean;
|
|
2879
|
+
}>>> & {
|
|
2880
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2881
|
+
}, {
|
|
2882
|
+
block: boolean;
|
|
2883
|
+
modelValue: string | number;
|
|
2884
|
+
tile: boolean;
|
|
2885
|
+
tabs: Tab[];
|
|
2886
|
+
scrollable: boolean;
|
|
2887
|
+
}, {}>, {
|
|
2888
|
+
default?(_: {
|
|
2889
|
+
activeTab: string | number;
|
|
2890
|
+
}): any;
|
|
2891
|
+
}>;
|
|
2892
|
+
|
|
2893
|
+
export declare const RTextArea: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<IProps_6>, {
|
|
2894
|
+
id: string;
|
|
2895
|
+
errorMsg: string;
|
|
2896
|
+
disabled: boolean;
|
|
2897
|
+
placeholder: string;
|
|
2898
|
+
modelValue: string;
|
|
2899
|
+
label: string;
|
|
2900
|
+
hint: string;
|
|
2901
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2902
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2903
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<IProps_6>, {
|
|
2904
|
+
id: string;
|
|
2905
|
+
errorMsg: string;
|
|
2906
|
+
disabled: boolean;
|
|
2907
|
+
placeholder: string;
|
|
2908
|
+
modelValue: string;
|
|
2909
|
+
label: string;
|
|
2910
|
+
hint: string;
|
|
2911
|
+
}>>> & {
|
|
2912
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2913
|
+
}, {
|
|
2914
|
+
label: string;
|
|
2915
|
+
disabled: boolean | "true" | "false";
|
|
2916
|
+
id: string | undefined;
|
|
2917
|
+
modelValue: any;
|
|
2918
|
+
placeholder: string;
|
|
2919
|
+
errorMsg: string;
|
|
2920
|
+
hint: string;
|
|
2921
|
+
}, {}>;
|
|
2922
|
+
|
|
2923
|
+
export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
|
|
2924
|
+
id: string;
|
|
2925
|
+
type: string;
|
|
2926
|
+
modelValue: string;
|
|
2927
|
+
label: string;
|
|
2928
|
+
placeholder: string;
|
|
2929
|
+
errorMsg: string;
|
|
2930
|
+
hint: string;
|
|
2931
|
+
prependIcon: string;
|
|
2932
|
+
appendIcon: string;
|
|
2933
|
+
iconColor: string;
|
|
2934
|
+
disabled: boolean;
|
|
2935
|
+
loading: boolean;
|
|
2936
|
+
clearable: boolean;
|
|
2937
|
+
hideDetails: boolean;
|
|
2938
|
+
role: string;
|
|
2939
|
+
readonly: boolean;
|
|
2940
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2941
|
+
input: (...args: any[]) => void;
|
|
2942
|
+
blur: (...args: any[]) => void;
|
|
2943
|
+
focus: (...args: any[]) => void;
|
|
2944
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2945
|
+
"click:icon": (...args: any[]) => void;
|
|
2946
|
+
"click:clear": (...args: any[]) => void;
|
|
2947
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
|
|
2948
|
+
id: string;
|
|
2949
|
+
type: string;
|
|
2950
|
+
modelValue: string;
|
|
2951
|
+
label: string;
|
|
2952
|
+
placeholder: string;
|
|
2953
|
+
errorMsg: string;
|
|
2954
|
+
hint: string;
|
|
2955
|
+
prependIcon: string;
|
|
2956
|
+
appendIcon: string;
|
|
2957
|
+
iconColor: string;
|
|
2958
|
+
disabled: boolean;
|
|
2959
|
+
loading: boolean;
|
|
2960
|
+
clearable: boolean;
|
|
2961
|
+
hideDetails: boolean;
|
|
2962
|
+
role: string;
|
|
2963
|
+
readonly: boolean;
|
|
2964
|
+
}>>> & {
|
|
2965
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
2966
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
2967
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
2968
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2969
|
+
"onClick:icon"?: ((...args: any[]) => any) | undefined;
|
|
2970
|
+
"onClick:clear"?: ((...args: any[]) => any) | undefined;
|
|
2971
|
+
}, {
|
|
2972
|
+
type: "number" | "text" | "email" | "password" | "tel" | "url";
|
|
2973
|
+
label: string;
|
|
2974
|
+
disabled: boolean;
|
|
2975
|
+
prependIcon: string;
|
|
2976
|
+
appendIcon: string;
|
|
2977
|
+
clearable: boolean;
|
|
2978
|
+
id: string | undefined;
|
|
2979
|
+
role: string;
|
|
2980
|
+
modelValue: any;
|
|
2981
|
+
placeholder: string;
|
|
2982
|
+
loading: boolean;
|
|
2983
|
+
errorMsg: string;
|
|
2984
|
+
hint: string;
|
|
2985
|
+
hideDetails: boolean;
|
|
2986
|
+
readonly: boolean;
|
|
2987
|
+
}, {}>, {
|
|
2988
|
+
prepend?(_: {
|
|
2989
|
+
disabled: boolean;
|
|
2990
|
+
error: number;
|
|
2991
|
+
loading: boolean;
|
|
2992
|
+
}): any;
|
|
2993
|
+
append?(_: {
|
|
2994
|
+
disabled: boolean;
|
|
2995
|
+
error: number;
|
|
2996
|
+
loading: boolean;
|
|
2997
|
+
}): any;
|
|
2998
|
+
}>;
|
|
2999
|
+
|
|
3000
|
+
export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<IProps_7>, {
|
|
3001
|
+
placement: Placement;
|
|
3002
|
+
text: string;
|
|
3003
|
+
dark: boolean;
|
|
3004
|
+
light: boolean;
|
|
3005
|
+
triggers: () => Trigger[];
|
|
3006
|
+
autoHide: boolean;
|
|
3007
|
+
hideDelay: number;
|
|
3008
|
+
showDelay: number;
|
|
3009
|
+
shown: boolean;
|
|
3010
|
+
disabled: boolean;
|
|
3011
|
+
persistent: boolean;
|
|
3012
|
+
offset: number;
|
|
3013
|
+
padding: number;
|
|
3014
|
+
outsideClick: boolean;
|
|
3015
|
+
triggerContent: string;
|
|
3016
|
+
resizable: boolean;
|
|
3017
|
+
triggerClass: string;
|
|
3018
|
+
tooltipClass: string;
|
|
3019
|
+
type: Theme;
|
|
3020
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3021
|
+
show: (...args: any[]) => void;
|
|
3022
|
+
hide: (...args: any[]) => void;
|
|
3023
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<IProps_7>, {
|
|
3024
|
+
placement: Placement;
|
|
3025
|
+
text: string;
|
|
3026
|
+
dark: boolean;
|
|
3027
|
+
light: boolean;
|
|
3028
|
+
triggers: () => Trigger[];
|
|
3029
|
+
autoHide: boolean;
|
|
3030
|
+
hideDelay: number;
|
|
3031
|
+
showDelay: number;
|
|
3032
|
+
shown: boolean;
|
|
3033
|
+
disabled: boolean;
|
|
3034
|
+
persistent: boolean;
|
|
3035
|
+
offset: number;
|
|
3036
|
+
padding: number;
|
|
3037
|
+
outsideClick: boolean;
|
|
3038
|
+
triggerContent: string;
|
|
3039
|
+
resizable: boolean;
|
|
3040
|
+
triggerClass: string;
|
|
3041
|
+
tooltipClass: string;
|
|
3042
|
+
type: Theme;
|
|
3043
|
+
}>>> & {
|
|
3044
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
3045
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
3046
|
+
}, {
|
|
3047
|
+
type: string;
|
|
3048
|
+
text: string;
|
|
3049
|
+
disabled: boolean;
|
|
3050
|
+
placement: Placements;
|
|
3051
|
+
padding: number;
|
|
3052
|
+
dark: boolean;
|
|
3053
|
+
light: boolean;
|
|
3054
|
+
triggers: Triggers[];
|
|
3055
|
+
autoHide: boolean;
|
|
3056
|
+
hideDelay: number;
|
|
3057
|
+
showDelay: number;
|
|
3058
|
+
shown: boolean;
|
|
3059
|
+
offset: number;
|
|
3060
|
+
outsideClick: boolean;
|
|
3061
|
+
triggerContent: string;
|
|
3062
|
+
resizable: boolean;
|
|
3063
|
+
triggerClass: string | string[];
|
|
3064
|
+
tooltipClass: string | string[];
|
|
3065
|
+
persistent: boolean;
|
|
3066
|
+
}, {}>, {
|
|
3067
|
+
default?(_: {
|
|
3068
|
+
activators: {
|
|
3069
|
+
click: typeof onClick;
|
|
3070
|
+
mouseenter: typeof onMouseEnter;
|
|
3071
|
+
mouseleave: typeof onMouseLeave;
|
|
3072
|
+
mousemove: typeof onMouseMove;
|
|
3073
|
+
};
|
|
3074
|
+
tooltipId: string;
|
|
3075
|
+
updatePosition: typeof handleUpdate;
|
|
3076
|
+
}): any;
|
|
3077
|
+
content?(_: {
|
|
3078
|
+
hide: typeof hideTooltip;
|
|
3079
|
+
updatePosition: typeof handleUpdate;
|
|
3080
|
+
}): any;
|
|
3081
|
+
}>;
|
|
3082
|
+
|
|
3083
|
+
declare function select(id: never, value: boolean): void;
|
|
3084
|
+
|
|
3085
|
+
declare interface SelectProps {
|
|
3086
|
+
/**
|
|
3087
|
+
* Options of the Dropdown
|
|
3088
|
+
* @type {Option[]}
|
|
3089
|
+
* @default []
|
|
3090
|
+
* @example
|
|
3091
|
+
* <Dropdown
|
|
3092
|
+
* :options="[
|
|
3093
|
+
* {
|
|
3094
|
+
* value: '1',
|
|
3095
|
+
* label: 'Option 1',
|
|
3096
|
+
* },
|
|
3097
|
+
* {
|
|
3098
|
+
* value: '2',
|
|
3099
|
+
* label: '2',
|
|
3100
|
+
* },
|
|
3101
|
+
* ]"
|
|
3102
|
+
* />
|
|
3103
|
+
*/
|
|
3104
|
+
options: Option_2[] | any;
|
|
3105
|
+
/**
|
|
3106
|
+
* Value of the Dropdown
|
|
3107
|
+
* @type {string | number | Option | Option[]}
|
|
3108
|
+
* @default ''
|
|
3109
|
+
* @example
|
|
3110
|
+
* <Dropdown v-model="model" />
|
|
3111
|
+
*/
|
|
3112
|
+
modelValue: string | number | Option_2 | Option_2[] | any;
|
|
3113
|
+
/**
|
|
3114
|
+
* Placeholder Dropdown
|
|
3115
|
+
* @type {InputHTMLAttributes['placeholder']}
|
|
3116
|
+
* @default ''
|
|
3117
|
+
* @example
|
|
3118
|
+
* <Dropdown placeholder="Placeholder" />
|
|
3119
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
3120
|
+
*/
|
|
3121
|
+
placeholder?: string;
|
|
3122
|
+
/**
|
|
3123
|
+
* Allow to select multiple options as chips
|
|
3124
|
+
* @type {boolean}
|
|
3125
|
+
* @default false
|
|
3126
|
+
* @example
|
|
3127
|
+
* <Dropdown chips />
|
|
3128
|
+
*/
|
|
3129
|
+
chips?: boolean;
|
|
3130
|
+
/**
|
|
3131
|
+
* Allow to select multiple options
|
|
3132
|
+
* @type {boolean}
|
|
3133
|
+
* @default false
|
|
3134
|
+
* @example
|
|
3135
|
+
* <Dropdown multiple />
|
|
3136
|
+
*/
|
|
3137
|
+
multiple?: boolean;
|
|
3138
|
+
/**
|
|
3139
|
+
* Disable the Dropdown
|
|
3140
|
+
* @type {boolean}
|
|
3141
|
+
* @default false
|
|
3142
|
+
* @example
|
|
3143
|
+
* <Dropdown disabled />
|
|
3144
|
+
*/
|
|
3145
|
+
disabled?: boolean;
|
|
3146
|
+
/**
|
|
3147
|
+
* Loading state of the Dropdown
|
|
3148
|
+
* @type {boolean}
|
|
3149
|
+
* @default false
|
|
3150
|
+
* @example
|
|
3151
|
+
* <Dropdown loading />
|
|
3152
|
+
*/
|
|
3153
|
+
loading?: boolean;
|
|
3154
|
+
/**
|
|
3155
|
+
* Icon to prepend
|
|
3156
|
+
* @type {string}
|
|
3157
|
+
* @default ''
|
|
3158
|
+
* @example
|
|
3159
|
+
* <Dropdown prependIcon="search" />
|
|
3160
|
+
*/
|
|
3161
|
+
prependIcon?: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* Icon to append
|
|
3164
|
+
* @type {string}
|
|
3165
|
+
* @default 'expand_less'
|
|
3166
|
+
* @example
|
|
3167
|
+
* <Dropdown appendIcon="expand_more" />
|
|
3168
|
+
*/
|
|
3169
|
+
appendIcon?: string;
|
|
3170
|
+
/**
|
|
3171
|
+
* Allow to search for options
|
|
3172
|
+
* @type {boolean}
|
|
3173
|
+
* @default false
|
|
3174
|
+
* @example
|
|
3175
|
+
* <Dropdown searchable />
|
|
3176
|
+
*/
|
|
3177
|
+
searchable?: boolean;
|
|
3178
|
+
/**
|
|
3179
|
+
* Clearable status to selected and searched options
|
|
3180
|
+
* @type {boolean}
|
|
3181
|
+
* @default false
|
|
3182
|
+
* @example
|
|
3183
|
+
* <Dropdown clearable />
|
|
3184
|
+
*/
|
|
3185
|
+
clearable?: boolean;
|
|
3186
|
+
/**
|
|
3187
|
+
* Id of the Dropdown
|
|
3188
|
+
* @type {string}
|
|
3189
|
+
* @default 'test'
|
|
3190
|
+
* @example
|
|
3191
|
+
* <Dropdown id="test" />
|
|
3192
|
+
*/
|
|
3193
|
+
id?: string;
|
|
3194
|
+
/**
|
|
3195
|
+
* Close the Dropdown on select
|
|
3196
|
+
* @type {boolean}
|
|
3197
|
+
* @default true
|
|
3198
|
+
* @example
|
|
3199
|
+
* <Dropdown :closeOnSelect="false" />
|
|
3200
|
+
*/
|
|
3201
|
+
closeOnSelect?: boolean;
|
|
3202
|
+
/**
|
|
3203
|
+
* Class of the Dropdown
|
|
3204
|
+
* @type {string}
|
|
3205
|
+
* @default ''
|
|
3206
|
+
* @example
|
|
3207
|
+
* <Dropdown dropdownClass="w-96" />
|
|
3208
|
+
*/
|
|
3209
|
+
dropdownClass?: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* Class of the options
|
|
3212
|
+
* @type {string}
|
|
3213
|
+
* @default ''
|
|
3214
|
+
* @example
|
|
3215
|
+
* <Dropdown optionsClass="w-96" />
|
|
3216
|
+
*/
|
|
3217
|
+
optionsClass?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* Error message for error state
|
|
3220
|
+
* @type {string}
|
|
3221
|
+
* @default ''
|
|
3222
|
+
* @example
|
|
3223
|
+
* <Dropdown errorMsg="Error message" />
|
|
3224
|
+
*/
|
|
3225
|
+
errorMsg?: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* Hint message for the Dropdown
|
|
3228
|
+
* @type {string}
|
|
3229
|
+
* @default ''
|
|
3230
|
+
* @example
|
|
3231
|
+
* <Dropdown hint="Hint message" />
|
|
3232
|
+
*/
|
|
3233
|
+
hint?: string;
|
|
3234
|
+
/**
|
|
3235
|
+
* Hide the hint and error message
|
|
3236
|
+
* @type {boolean}
|
|
3237
|
+
* @default false
|
|
3238
|
+
* @example
|
|
3239
|
+
* <Dropdown hideDetails />
|
|
3240
|
+
*/
|
|
3241
|
+
hideDetails?: boolean;
|
|
3242
|
+
/**
|
|
3243
|
+
* Autocomplete of the Dropdown
|
|
3244
|
+
* @type {'on' | 'off'}
|
|
3245
|
+
* @default 'off'
|
|
3246
|
+
* @example
|
|
3247
|
+
* <Dropdown autocomplete="on" />
|
|
3248
|
+
*/
|
|
3249
|
+
autocomplete?: 'on' | 'off';
|
|
3250
|
+
/**
|
|
3251
|
+
* Text to show when there is no options
|
|
3252
|
+
* @type {string}
|
|
3253
|
+
* @default 'No options'
|
|
3254
|
+
* @example
|
|
3255
|
+
* <Dropdown noOptionsText="No options" />
|
|
3256
|
+
*/
|
|
3257
|
+
noOptionsText?: string;
|
|
3258
|
+
/**
|
|
3259
|
+
* Hide the check icon of the selected option
|
|
3260
|
+
* @type {boolean}
|
|
3261
|
+
* @default false
|
|
3262
|
+
* @example
|
|
3263
|
+
* <Dropdown hideOptionCheckIcon />
|
|
3264
|
+
*/
|
|
3265
|
+
hideOptionCheckIcon?: boolean;
|
|
3266
|
+
/**
|
|
3267
|
+
* Clearable state of the chips
|
|
3268
|
+
* @type {boolean}
|
|
3269
|
+
* @default false
|
|
3270
|
+
* @example
|
|
3271
|
+
* <Dropdown hideChipClear />
|
|
3272
|
+
*/
|
|
3273
|
+
hideChipClear?: boolean;
|
|
3274
|
+
/**
|
|
3275
|
+
* Tooltip class
|
|
3276
|
+
* @type {string}
|
|
3277
|
+
* @default ''
|
|
3278
|
+
* @example
|
|
3279
|
+
* <Dropdown tooltipClass="w-96" />
|
|
3280
|
+
*/
|
|
3281
|
+
tooltipClass?: string;
|
|
3282
|
+
/**
|
|
3283
|
+
* Show select all option
|
|
3284
|
+
* @type {boolean}
|
|
3285
|
+
* @default false
|
|
3286
|
+
* @example
|
|
3287
|
+
* <Dropdown showSelectAll />
|
|
3288
|
+
*/
|
|
3289
|
+
showSelectAll?: boolean;
|
|
3290
|
+
/**
|
|
3291
|
+
* Text of the select all option
|
|
3292
|
+
* @type {string}
|
|
3293
|
+
* @default 'Select all'
|
|
3294
|
+
* @example
|
|
3295
|
+
* <Dropdown selectAllText="Select all" />
|
|
3296
|
+
*/
|
|
3297
|
+
selectAllText?: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* Disable deselecting the selected option
|
|
3300
|
+
* @type {boolean}
|
|
3301
|
+
* @default false
|
|
3302
|
+
* @example
|
|
3303
|
+
* <Dropdown disableDeselect />
|
|
3304
|
+
*/
|
|
3305
|
+
disableDeselect?: boolean;
|
|
3306
|
+
/**
|
|
3307
|
+
* Maximum number of visible chips
|
|
3308
|
+
* @type {number}
|
|
3309
|
+
* @default 2
|
|
3310
|
+
* @example
|
|
3311
|
+
* <Dropdown :maxVisibleChips="3" />
|
|
3312
|
+
*/
|
|
3313
|
+
maxVisibleChips?: number;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
declare interface Tab {
|
|
3317
|
+
id: string | number;
|
|
3318
|
+
variant?: TabItemVariant;
|
|
3319
|
+
label?: string;
|
|
3320
|
+
prependIcon?: string;
|
|
3321
|
+
appendIcon?: string;
|
|
3322
|
+
disabled?: boolean;
|
|
3323
|
+
active?: boolean;
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
declare type TabItemVariant = 'default' | 'text' | 'icon';
|
|
3327
|
+
|
|
3328
|
+
declare enum TabItemVariants {
|
|
3329
|
+
DEFAULT = "default",
|
|
3330
|
+
TEXT = "text",
|
|
3331
|
+
ICON = "icon"
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
declare enum Theme {
|
|
3335
|
+
Tooltip = "tooltip",
|
|
3336
|
+
Popover = "popover",
|
|
3337
|
+
Dropdown = "dropdown"
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
declare enum Trigger {
|
|
3341
|
+
Click = "click",
|
|
3342
|
+
Hover = "hover",
|
|
3343
|
+
Manual = "manual"
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
declare type Triggers = 'click' | 'hover' | 'manual';
|
|
3347
|
+
|
|
3348
|
+
export { }
|