@rocketui/vue 0.2.71-beta → 0.2.72
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 +3337 -0
- package/dist/rocket-ui-vue.js +1388 -1681
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -3
- package/dist/types/components/Accordion/RAccordion.vue.d.ts +0 -70
- package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +0 -1
- package/dist/types/components/Alert/RAlert.vue.d.ts +0 -109
- package/dist/types/components/Alert/RAlert.vue.d.ts.map +0 -1
- package/dist/types/components/Avatar/RAvatar.vue.d.ts +0 -92
- package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +0 -1
- package/dist/types/components/Badge/RBadge.vue.d.ts +0 -143
- package/dist/types/components/Badge/RBadge.vue.d.ts.map +0 -1
- package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
- package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
- package/dist/types/components/Button/RButton.vue.d.ts +0 -193
- package/dist/types/components/Button/RButton.vue.d.ts.map +0 -1
- package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +0 -164
- package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
- package/dist/types/components/Chips/RChip.vue.d.ts +0 -132
- package/dist/types/components/Chips/RChip.vue.d.ts.map +0 -1
- package/dist/types/components/Dropdown/RDropdown.vue.d.ts +0 -442
- package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
- package/dist/types/components/Icon/RIcon.vue.d.ts +0 -59
- package/dist/types/components/Icon/RIcon.vue.d.ts.map +0 -1
- package/dist/types/components/ItemGroup/RItem.vue.d.ts +0 -65
- package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +0 -1
- package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
- package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
- package/dist/types/components/Label/RLabel.vue.d.ts +0 -68
- package/dist/types/components/Label/RLabel.vue.d.ts.map +0 -1
- package/dist/types/components/Modal/RModal.vue.d.ts +0 -208
- package/dist/types/components/Modal/RModal.vue.d.ts.map +0 -1
- package/dist/types/components/Pagination/RPagination.vue.d.ts +0 -110
- package/dist/types/components/Pagination/RPagination.vue.d.ts.map +0 -1
- package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
- package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
- package/dist/types/components/Radio/RRadio.vue.d.ts +0 -125
- package/dist/types/components/Radio/RRadio.vue.d.ts.map +0 -1
- package/dist/types/components/Sidebar/RSidebar.vue.d.ts +0 -53
- package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
- package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +0 -113
- package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
- package/dist/types/components/Switch/RSwitch.vue.d.ts +0 -214
- package/dist/types/components/Switch/RSwitch.vue.d.ts.map +0 -1
- package/dist/types/components/TabItem/RTabItem.vue.d.ts +0 -155
- package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +0 -1
- package/dist/types/components/Tabs/RTabs.vue.d.ts +0 -95
- package/dist/types/components/Tabs/RTabs.vue.d.ts.map +0 -1
- package/dist/types/components/TextArea/RTextArea.vue.d.ts +0 -171
- package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +0 -1
- package/dist/types/components/Textfield/RTextfield.vue.d.ts +0 -293
- package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +0 -1
- package/dist/types/components/Tooltip/RTooltip.vue.d.ts +0 -253
- package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
- package/dist/types/lib/main.d.ts +0 -26
- package/dist/types/lib/main.d.ts.map +0 -1
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/**
|
|
4
|
-
* Variant of the Chip
|
|
5
|
-
* @type 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info'
|
|
6
|
-
* @default 'primary'
|
|
7
|
-
* @example
|
|
8
|
-
* <Chip variant="primary" />
|
|
9
|
-
*/
|
|
10
|
-
variant: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
11
|
-
/**
|
|
12
|
-
* Label of the Chip
|
|
13
|
-
* @type string | number
|
|
14
|
-
* @default 'label'
|
|
15
|
-
* @example
|
|
16
|
-
* <Chip label="Label" />
|
|
17
|
-
*/
|
|
18
|
-
label?: string | number;
|
|
19
|
-
/**
|
|
20
|
-
* Disabled state of the Chip
|
|
21
|
-
* @type boolean
|
|
22
|
-
* @default false
|
|
23
|
-
* @example
|
|
24
|
-
* <Chip disabled />
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Prepend icon of the Chip
|
|
29
|
-
* @type string
|
|
30
|
-
* @default ''
|
|
31
|
-
* @example
|
|
32
|
-
* <Chip prependIcon="icon" />
|
|
33
|
-
*/
|
|
34
|
-
prependIcon?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Append icon of the Chip
|
|
37
|
-
* @type string
|
|
38
|
-
* @default ''
|
|
39
|
-
* @example
|
|
40
|
-
* <Chip appendIcon="icon" />
|
|
41
|
-
*/
|
|
42
|
-
appendIcon?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Ghost state of the Chip
|
|
45
|
-
* @type boolean
|
|
46
|
-
* @default false
|
|
47
|
-
* @example
|
|
48
|
-
* <Chip ghost />
|
|
49
|
-
*/
|
|
50
|
-
ghost?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Clearable state of the Chip
|
|
53
|
-
* @type boolean
|
|
54
|
-
* @default false
|
|
55
|
-
* @example
|
|
56
|
-
* <Chip clearable />
|
|
57
|
-
*/
|
|
58
|
-
clearable?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* No wrap state of the Chip
|
|
61
|
-
* @type boolean
|
|
62
|
-
* @default false
|
|
63
|
-
* @example
|
|
64
|
-
* <Chip noWrap />
|
|
65
|
-
*/
|
|
66
|
-
noWrap?: boolean;
|
|
67
|
-
}
|
|
68
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
69
|
-
variant: string;
|
|
70
|
-
label: string;
|
|
71
|
-
disabled: boolean;
|
|
72
|
-
prependIcon: string;
|
|
73
|
-
appendIcon: string;
|
|
74
|
-
ghost: boolean;
|
|
75
|
-
clearable: boolean;
|
|
76
|
-
noWrap: boolean;
|
|
77
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
78
|
-
"click:chip": (...args: any[]) => void;
|
|
79
|
-
"click:close": (...args: any[]) => void;
|
|
80
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
81
|
-
variant: string;
|
|
82
|
-
label: string;
|
|
83
|
-
disabled: boolean;
|
|
84
|
-
prependIcon: string;
|
|
85
|
-
appendIcon: string;
|
|
86
|
-
ghost: boolean;
|
|
87
|
-
clearable: boolean;
|
|
88
|
-
noWrap: boolean;
|
|
89
|
-
}>>> & {
|
|
90
|
-
"onClick:chip"?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
label: string | number;
|
|
94
|
-
disabled: boolean;
|
|
95
|
-
ghost: boolean;
|
|
96
|
-
variant: "success" | "error" | "warning" | "info" | "primary" | "secondary";
|
|
97
|
-
prependIcon: string;
|
|
98
|
-
appendIcon: string;
|
|
99
|
-
clearable: boolean;
|
|
100
|
-
noWrap: boolean;
|
|
101
|
-
}, {}>, {
|
|
102
|
-
prepend?(_: {
|
|
103
|
-
disabled: boolean;
|
|
104
|
-
}): any;
|
|
105
|
-
append?(_: {
|
|
106
|
-
disabled: boolean;
|
|
107
|
-
}): any;
|
|
108
|
-
}>;
|
|
109
|
-
export default _default;
|
|
110
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
111
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
112
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
113
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
114
|
-
} : {
|
|
115
|
-
type: PropType<T[K]>;
|
|
116
|
-
required: true;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
120
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
121
|
-
default: D[K];
|
|
122
|
-
}> : P[K];
|
|
123
|
-
};
|
|
124
|
-
declare type __VLS_Prettify<T> = {
|
|
125
|
-
[K in keyof T]: T[K];
|
|
126
|
-
} & {};
|
|
127
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
128
|
-
new (): {
|
|
129
|
-
$slots: S;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
//# sourceMappingURL=RChip.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RChip.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chips/RChip.vue"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAE3E;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;;;;;OAMG;I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C,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
export interface Option {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
value: string | number;
|
|
5
|
-
label: string;
|
|
6
|
-
prependIcon?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface SelectProps {
|
|
10
|
-
/**
|
|
11
|
-
* Options of the Dropdown
|
|
12
|
-
* @type {Option[]}
|
|
13
|
-
* @default []
|
|
14
|
-
* @example
|
|
15
|
-
* <Dropdown
|
|
16
|
-
* :options="[
|
|
17
|
-
* {
|
|
18
|
-
* value: '1',
|
|
19
|
-
* label: 'Option 1',
|
|
20
|
-
* },
|
|
21
|
-
* {
|
|
22
|
-
* value: '2',
|
|
23
|
-
* label: '2',
|
|
24
|
-
* },
|
|
25
|
-
* ]"
|
|
26
|
-
* />
|
|
27
|
-
*/
|
|
28
|
-
options: Option[] | any;
|
|
29
|
-
/**
|
|
30
|
-
* Value of the Dropdown
|
|
31
|
-
* @type {string | number | Option | Option[]}
|
|
32
|
-
* @default ''
|
|
33
|
-
* @example
|
|
34
|
-
* <Dropdown v-model="model" />
|
|
35
|
-
*/
|
|
36
|
-
modelValue: string | number | Option | Option[] | any;
|
|
37
|
-
/**
|
|
38
|
-
* Placeholder Dropdown
|
|
39
|
-
* @type {InputHTMLAttributes['placeholder']}
|
|
40
|
-
* @default ''
|
|
41
|
-
* @example
|
|
42
|
-
* <Dropdown placeholder="Placeholder" />
|
|
43
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
44
|
-
*/
|
|
45
|
-
placeholder?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Allow to select multiple options as chips
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @default false
|
|
50
|
-
* @example
|
|
51
|
-
* <Dropdown chips />
|
|
52
|
-
*/
|
|
53
|
-
chips?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Allow to select multiple options
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @default false
|
|
58
|
-
* @example
|
|
59
|
-
* <Dropdown multiple />
|
|
60
|
-
*/
|
|
61
|
-
multiple?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Disable the Dropdown
|
|
64
|
-
* @type {boolean}
|
|
65
|
-
* @default false
|
|
66
|
-
* @example
|
|
67
|
-
* <Dropdown disabled />
|
|
68
|
-
*/
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Loading state of the Dropdown
|
|
72
|
-
* @type {boolean}
|
|
73
|
-
* @default false
|
|
74
|
-
* @example
|
|
75
|
-
* <Dropdown loading />
|
|
76
|
-
*/
|
|
77
|
-
loading?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Icon to prepend
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @default ''
|
|
82
|
-
* @example
|
|
83
|
-
* <Dropdown prependIcon="search" />
|
|
84
|
-
*/
|
|
85
|
-
prependIcon?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Icon to append
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @default 'expand_less'
|
|
90
|
-
* @example
|
|
91
|
-
* <Dropdown appendIcon="expand_more" />
|
|
92
|
-
*/
|
|
93
|
-
appendIcon?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Allow to search for options
|
|
96
|
-
* @type {boolean}
|
|
97
|
-
* @default false
|
|
98
|
-
* @example
|
|
99
|
-
* <Dropdown searchable />
|
|
100
|
-
*/
|
|
101
|
-
searchable?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Clearable status to selected and searched options
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @default false
|
|
106
|
-
* @example
|
|
107
|
-
* <Dropdown clearable />
|
|
108
|
-
*/
|
|
109
|
-
clearable?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Id of the Dropdown
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @default 'test'
|
|
114
|
-
* @example
|
|
115
|
-
* <Dropdown id="test" />
|
|
116
|
-
*/
|
|
117
|
-
id?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Close the Dropdown on select
|
|
120
|
-
* @type {boolean}
|
|
121
|
-
* @default true
|
|
122
|
-
* @example
|
|
123
|
-
* <Dropdown :closeOnSelect="false" />
|
|
124
|
-
*/
|
|
125
|
-
closeOnSelect?: boolean;
|
|
126
|
-
/**
|
|
127
|
-
* Class of the Dropdown
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @default ''
|
|
130
|
-
* @example
|
|
131
|
-
* <Dropdown dropdownClass="w-96" />
|
|
132
|
-
*/
|
|
133
|
-
dropdownClass?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Class of the options
|
|
136
|
-
* @type {string}
|
|
137
|
-
* @default ''
|
|
138
|
-
* @example
|
|
139
|
-
* <Dropdown optionsClass="w-96" />
|
|
140
|
-
*/
|
|
141
|
-
optionsClass?: string;
|
|
142
|
-
/**
|
|
143
|
-
* Error message for error state
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @default ''
|
|
146
|
-
* @example
|
|
147
|
-
* <Dropdown errorMsg="Error message" />
|
|
148
|
-
*/
|
|
149
|
-
errorMsg?: string;
|
|
150
|
-
/**
|
|
151
|
-
* Hint message for the Dropdown
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @default ''
|
|
154
|
-
* @example
|
|
155
|
-
* <Dropdown hint="Hint message" />
|
|
156
|
-
*/
|
|
157
|
-
hint?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Hide the hint and error message
|
|
160
|
-
* @type {boolean}
|
|
161
|
-
* @default false
|
|
162
|
-
* @example
|
|
163
|
-
* <Dropdown hideDetails />
|
|
164
|
-
*/
|
|
165
|
-
hideDetails?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* Autocomplete of the Dropdown
|
|
168
|
-
* @type {'on' | 'off'}
|
|
169
|
-
* @default 'off'
|
|
170
|
-
* @example
|
|
171
|
-
* <Dropdown autocomplete="on" />
|
|
172
|
-
*/
|
|
173
|
-
autocomplete?: 'on' | 'off';
|
|
174
|
-
/**
|
|
175
|
-
* Text to show when there is no options
|
|
176
|
-
* @type {string}
|
|
177
|
-
* @default 'No options'
|
|
178
|
-
* @example
|
|
179
|
-
* <Dropdown noOptionsText="No options" />
|
|
180
|
-
*/
|
|
181
|
-
noOptionsText?: string;
|
|
182
|
-
/**
|
|
183
|
-
* Hide the check icon of the selected option
|
|
184
|
-
* @type {boolean}
|
|
185
|
-
* @default false
|
|
186
|
-
* @example
|
|
187
|
-
* <Dropdown hideOptionCheckIcon />
|
|
188
|
-
*/
|
|
189
|
-
hideOptionCheckIcon?: boolean;
|
|
190
|
-
/**
|
|
191
|
-
* Clearable state of the chips
|
|
192
|
-
* @type {boolean}
|
|
193
|
-
* @default false
|
|
194
|
-
* @example
|
|
195
|
-
* <Dropdown hideChipClear />
|
|
196
|
-
*/
|
|
197
|
-
hideChipClear?: boolean;
|
|
198
|
-
/**
|
|
199
|
-
* Tooltip class
|
|
200
|
-
* @type {string}
|
|
201
|
-
* @default ''
|
|
202
|
-
* @example
|
|
203
|
-
* <Dropdown tooltipClass="w-96" />
|
|
204
|
-
*/
|
|
205
|
-
tooltipClass?: string;
|
|
206
|
-
/**
|
|
207
|
-
* Show select all option
|
|
208
|
-
* @type {boolean}
|
|
209
|
-
* @default false
|
|
210
|
-
* @example
|
|
211
|
-
* <Dropdown showSelectAll />
|
|
212
|
-
*/
|
|
213
|
-
showSelectAll?: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Text of the select all option
|
|
216
|
-
* @type {string}
|
|
217
|
-
* @default 'Select all'
|
|
218
|
-
* @example
|
|
219
|
-
* <Dropdown selectAllText="Select all" />
|
|
220
|
-
*/
|
|
221
|
-
selectAllText?: string;
|
|
222
|
-
/**
|
|
223
|
-
* Disable deselecting the selected option
|
|
224
|
-
* @type {boolean}
|
|
225
|
-
* @default false
|
|
226
|
-
* @example
|
|
227
|
-
* <Dropdown disableDeselect />
|
|
228
|
-
*/
|
|
229
|
-
disableDeselect?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Maximum number of visible chips
|
|
232
|
-
* @type {number}
|
|
233
|
-
* @default 2
|
|
234
|
-
* @example
|
|
235
|
-
* <Dropdown :maxVisibleChips="3" />
|
|
236
|
-
*/
|
|
237
|
-
maxVisibleChips?: number;
|
|
238
|
-
/**
|
|
239
|
-
* Label for the dropdown
|
|
240
|
-
* @type string
|
|
241
|
-
* @default ''
|
|
242
|
-
* @example
|
|
243
|
-
* <Dropdown label="Select an option" />
|
|
244
|
-
*/
|
|
245
|
-
label?: string;
|
|
246
|
-
/**
|
|
247
|
-
* Whether the dropdown is required
|
|
248
|
-
* @type boolean
|
|
249
|
-
* @default false
|
|
250
|
-
* @example
|
|
251
|
-
* <Dropdown required />
|
|
252
|
-
*/
|
|
253
|
-
required?: boolean;
|
|
254
|
-
/**
|
|
255
|
-
* Aria label for the dropdown
|
|
256
|
-
* @type string
|
|
257
|
-
* @default ''
|
|
258
|
-
* @example
|
|
259
|
-
* <Dropdown aria-label="Select a country" />
|
|
260
|
-
*/
|
|
261
|
-
ariaLabel?: string;
|
|
262
|
-
/**
|
|
263
|
-
* Name attribute for the dropdown
|
|
264
|
-
* @type string
|
|
265
|
-
* @default ''
|
|
266
|
-
* @example
|
|
267
|
-
* <Dropdown name="country" />
|
|
268
|
-
*/
|
|
269
|
-
name?: string;
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* @description - Removes an option from the selected options
|
|
273
|
-
* @param e option Option to remove
|
|
274
|
-
*/
|
|
275
|
-
declare function removeOption(e: MouseEvent | KeyboardEvent, option: Option, updatePosition: any): void;
|
|
276
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
|
|
277
|
-
options: () => never[];
|
|
278
|
-
modelValue: any;
|
|
279
|
-
placeholder: string;
|
|
280
|
-
chips: boolean;
|
|
281
|
-
multiple: boolean;
|
|
282
|
-
disabled: boolean;
|
|
283
|
-
loading: boolean;
|
|
284
|
-
prependIcon: string;
|
|
285
|
-
appendIcon: string;
|
|
286
|
-
searchable: boolean;
|
|
287
|
-
clearable: boolean;
|
|
288
|
-
id: string;
|
|
289
|
-
label: string;
|
|
290
|
-
closeOnSelect: boolean;
|
|
291
|
-
dropdownClass: string;
|
|
292
|
-
optionsClass: string;
|
|
293
|
-
errorMsg: string;
|
|
294
|
-
hideDetails: boolean;
|
|
295
|
-
autocomplete: string;
|
|
296
|
-
noOptionsText: string;
|
|
297
|
-
hideOptionCheckIcon: boolean;
|
|
298
|
-
hideChipClear: boolean;
|
|
299
|
-
tooltipClass: string;
|
|
300
|
-
showSelectAll: boolean;
|
|
301
|
-
selectAllText: string;
|
|
302
|
-
disableDeselect: boolean;
|
|
303
|
-
maxVisibleChips: number;
|
|
304
|
-
required: boolean;
|
|
305
|
-
ariaLabel: string;
|
|
306
|
-
name: string;
|
|
307
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
308
|
-
"update:modelValue": (...args: any[]) => void;
|
|
309
|
-
clear: (...args: any[]) => void;
|
|
310
|
-
removeOption: (...args: any[]) => void;
|
|
311
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
|
|
312
|
-
options: () => never[];
|
|
313
|
-
modelValue: any;
|
|
314
|
-
placeholder: string;
|
|
315
|
-
chips: boolean;
|
|
316
|
-
multiple: boolean;
|
|
317
|
-
disabled: boolean;
|
|
318
|
-
loading: boolean;
|
|
319
|
-
prependIcon: string;
|
|
320
|
-
appendIcon: string;
|
|
321
|
-
searchable: boolean;
|
|
322
|
-
clearable: boolean;
|
|
323
|
-
id: string;
|
|
324
|
-
label: string;
|
|
325
|
-
closeOnSelect: boolean;
|
|
326
|
-
dropdownClass: string;
|
|
327
|
-
optionsClass: string;
|
|
328
|
-
errorMsg: string;
|
|
329
|
-
hideDetails: boolean;
|
|
330
|
-
autocomplete: string;
|
|
331
|
-
noOptionsText: string;
|
|
332
|
-
hideOptionCheckIcon: boolean;
|
|
333
|
-
hideChipClear: boolean;
|
|
334
|
-
tooltipClass: string;
|
|
335
|
-
showSelectAll: boolean;
|
|
336
|
-
selectAllText: string;
|
|
337
|
-
disableDeselect: boolean;
|
|
338
|
-
maxVisibleChips: number;
|
|
339
|
-
required: boolean;
|
|
340
|
-
ariaLabel: string;
|
|
341
|
-
name: string;
|
|
342
|
-
}>>> & {
|
|
343
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
344
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
345
|
-
onRemoveOption?: ((...args: any[]) => any) | undefined;
|
|
346
|
-
}, {
|
|
347
|
-
name: string;
|
|
348
|
-
required: boolean;
|
|
349
|
-
label: string;
|
|
350
|
-
multiple: boolean;
|
|
351
|
-
disabled: boolean;
|
|
352
|
-
loading: boolean;
|
|
353
|
-
prependIcon: string;
|
|
354
|
-
appendIcon: string;
|
|
355
|
-
ariaLabel: string;
|
|
356
|
-
id: string;
|
|
357
|
-
modelValue: any;
|
|
358
|
-
errorMsg: string;
|
|
359
|
-
hideDetails: boolean;
|
|
360
|
-
clearable: boolean;
|
|
361
|
-
options: any;
|
|
362
|
-
tooltipClass: string;
|
|
363
|
-
placeholder: string;
|
|
364
|
-
chips: boolean;
|
|
365
|
-
searchable: boolean;
|
|
366
|
-
closeOnSelect: boolean;
|
|
367
|
-
dropdownClass: string;
|
|
368
|
-
optionsClass: string;
|
|
369
|
-
autocomplete: "on" | "off";
|
|
370
|
-
noOptionsText: string;
|
|
371
|
-
hideOptionCheckIcon: boolean;
|
|
372
|
-
hideChipClear: boolean;
|
|
373
|
-
showSelectAll: boolean;
|
|
374
|
-
selectAllText: string;
|
|
375
|
-
disableDeselect: boolean;
|
|
376
|
-
maxVisibleChips: number;
|
|
377
|
-
}, {}>, {
|
|
378
|
-
prepend?(_: {
|
|
379
|
-
active: boolean;
|
|
380
|
-
disabled: boolean;
|
|
381
|
-
error: boolean;
|
|
382
|
-
loading: boolean;
|
|
383
|
-
}): any;
|
|
384
|
-
selection?(_: {
|
|
385
|
-
removeOption: typeof removeOption;
|
|
386
|
-
selected: {
|
|
387
|
-
[x: string]: any;
|
|
388
|
-
value: string | number;
|
|
389
|
-
label: string;
|
|
390
|
-
prependIcon?: string | undefined;
|
|
391
|
-
disabled?: boolean | undefined;
|
|
392
|
-
}[];
|
|
393
|
-
}): any;
|
|
394
|
-
"remaining-count"?(_: {
|
|
395
|
-
count: number;
|
|
396
|
-
}): any;
|
|
397
|
-
clearable?(_: {}): any;
|
|
398
|
-
append?(_: {
|
|
399
|
-
active: boolean;
|
|
400
|
-
disabled: boolean;
|
|
401
|
-
error: boolean;
|
|
402
|
-
loading: boolean;
|
|
403
|
-
}): any;
|
|
404
|
-
option?(_: {
|
|
405
|
-
disabled: any;
|
|
406
|
-
isSelected: boolean;
|
|
407
|
-
item: any;
|
|
408
|
-
}): any;
|
|
409
|
-
"option-prepend"?(_: {
|
|
410
|
-
disabled: any;
|
|
411
|
-
isSelected: boolean;
|
|
412
|
-
}): any;
|
|
413
|
-
"option-append"?(_: {
|
|
414
|
-
disabled: any;
|
|
415
|
-
isSelected: boolean;
|
|
416
|
-
}): any;
|
|
417
|
-
"not-options"?(_: {}): any;
|
|
418
|
-
}>;
|
|
419
|
-
export default _default;
|
|
420
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
421
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
422
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
423
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
424
|
-
} : {
|
|
425
|
-
type: PropType<T[K]>;
|
|
426
|
-
required: true;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
430
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
431
|
-
default: D[K];
|
|
432
|
-
}> : P[K];
|
|
433
|
-
};
|
|
434
|
-
declare type __VLS_Prettify<T> = {
|
|
435
|
-
[K in keyof T]: T[K];
|
|
436
|
-
} & {};
|
|
437
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
438
|
-
new (): {
|
|
439
|
-
$slots: S;
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
//# sourceMappingURL=RDropdown.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/RDropdown.vue"],"names":[],"mappings":"AAKA,OAAO,gBAAgB,CAAA;AAGvB,MAAM,WAAW,MAAM;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AACD,MAAM,WAAW,WAAW;IAC1B;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,CAAA;IAEvB;;;;;;OAMG;IACH,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,GAAG,CAAA;IAErD;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB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AAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, SVGAttributes } from 'vue';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
/**
|
|
4
|
-
* Name of the icon
|
|
5
|
-
* @type SVGAttributes['name']
|
|
6
|
-
* @default ''
|
|
7
|
-
* @example
|
|
8
|
-
* <Icon name="icon" />
|
|
9
|
-
*/
|
|
10
|
-
name: SVGAttributes['name'];
|
|
11
|
-
/**
|
|
12
|
-
* Size of the icon
|
|
13
|
-
* @type SVGAttributes['width'] | SVGAttributes['height']
|
|
14
|
-
* @default 24
|
|
15
|
-
* @example
|
|
16
|
-
* <Icon size="24" />
|
|
17
|
-
*/
|
|
18
|
-
size?: SVGAttributes['width'] | SVGAttributes['height'];
|
|
19
|
-
/**
|
|
20
|
-
* Viewbox of the icon
|
|
21
|
-
* @type SVGAttributes['viewBox']
|
|
22
|
-
* @default '0 0 24 24'
|
|
23
|
-
* @example
|
|
24
|
-
* <Icon viewBox="0 0 24 24" />
|
|
25
|
-
*/
|
|
26
|
-
viewBox?: SVGAttributes['viewBox'];
|
|
27
|
-
}
|
|
28
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
29
|
-
name: string;
|
|
30
|
-
size: number;
|
|
31
|
-
viewBox: string;
|
|
32
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
33
|
-
name: string;
|
|
34
|
-
size: number;
|
|
35
|
-
viewBox: string;
|
|
36
|
-
}>>>, {
|
|
37
|
-
name: string | undefined;
|
|
38
|
-
viewBox: string;
|
|
39
|
-
size: string | number;
|
|
40
|
-
}, {}>;
|
|
41
|
-
export default _default;
|
|
42
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
44
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
-
} : {
|
|
47
|
-
type: PropType<T[K]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
-
default: D[K];
|
|
54
|
-
}> : P[K];
|
|
55
|
-
};
|
|
56
|
-
declare type __VLS_Prettify<T> = {
|
|
57
|
-
[K in keyof T]: T[K];
|
|
58
|
-
} & {};
|
|
59
|
-
//# sourceMappingURL=RIcon.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RIcon.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/RIcon.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAKxC,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAE3B;;;;;;OA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