@rocketui/vue 0.2.71 → 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.
Files changed (55) hide show
  1. package/dist/rocket-ui-vue.d.ts +3337 -0
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/package.json +1 -1
  4. package/dist/types/components/Accordion/RAccordion.vue.d.ts +0 -70
  5. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  6. package/dist/types/components/Alert/RAlert.vue.d.ts +0 -109
  7. package/dist/types/components/Alert/RAlert.vue.d.ts.map +0 -1
  8. package/dist/types/components/Avatar/RAvatar.vue.d.ts +0 -92
  9. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  10. package/dist/types/components/Badge/RBadge.vue.d.ts +0 -143
  11. package/dist/types/components/Badge/RBadge.vue.d.ts.map +0 -1
  12. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  13. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  14. package/dist/types/components/Button/RButton.vue.d.ts +0 -155
  15. package/dist/types/components/Button/RButton.vue.d.ts.map +0 -1
  16. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  17. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  18. package/dist/types/components/Chips/RChip.vue.d.ts +0 -132
  19. package/dist/types/components/Chips/RChip.vue.d.ts.map +0 -1
  20. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +0 -418
  21. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  22. package/dist/types/components/Icon/RIcon.vue.d.ts +0 -59
  23. package/dist/types/components/Icon/RIcon.vue.d.ts.map +0 -1
  24. package/dist/types/components/ItemGroup/RItem.vue.d.ts +0 -65
  25. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  26. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  27. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  28. package/dist/types/components/Label/RLabel.vue.d.ts +0 -68
  29. package/dist/types/components/Label/RLabel.vue.d.ts.map +0 -1
  30. package/dist/types/components/Modal/RModal.vue.d.ts +0 -183
  31. package/dist/types/components/Modal/RModal.vue.d.ts.map +0 -1
  32. package/dist/types/components/Pagination/RPagination.vue.d.ts +0 -110
  33. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +0 -1
  34. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  35. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  36. package/dist/types/components/Radio/RRadio.vue.d.ts +0 -66
  37. package/dist/types/components/Radio/RRadio.vue.d.ts.map +0 -1
  38. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +0 -53
  39. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  40. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  41. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  42. package/dist/types/components/Switch/RSwitch.vue.d.ts +0 -135
  43. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +0 -1
  44. package/dist/types/components/TabItem/RTabItem.vue.d.ts +0 -155
  45. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  46. package/dist/types/components/Tabs/RTabs.vue.d.ts +0 -95
  47. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +0 -1
  48. package/dist/types/components/TextArea/RTextArea.vue.d.ts +0 -120
  49. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  50. package/dist/types/components/Textfield/RTextfield.vue.d.ts +0 -249
  51. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  52. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +0 -253
  53. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  54. package/dist/types/lib/main.d.ts +0 -26
  55. package/dist/types/lib/main.d.ts.map +0 -1
@@ -1,120 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
- export interface Props {
3
- /**
4
- * id of the checkbox
5
- * @type {HTMLAttributes['id']}
6
- * @default ''
7
- * @example
8
- * <Checkbox id="checkbox" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * Input checked state
14
- * @type {InputHTMLAttributes['checked']}
15
- * @default false
16
- * @example
17
- * <Checkbox :modelValue="true" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
19
- */
20
- modelValue?: InputHTMLAttributes['checked'];
21
- /**
22
- * label of the checkbox
23
- * @type {LabelHTMLAttributes['label']}
24
- * @default ''
25
- * @example
26
- * <Checkbox label="Checkbox" />
27
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
28
- */
29
- label?: LabelHTMLAttributes['for'];
30
- /**
31
- * Input indeterminate state
32
- * @type {InputHTMLAttributes['indeterminate']}
33
- * @default false
34
- * @example
35
- * <Checkbox indeterminate="true" />
36
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate
37
- */
38
- indeterminate?: InputHTMLAttributes['indeterminate'];
39
- /**
40
- * Input disabled state
41
- * @type {InputHTMLAttributes['disabled']}
42
- * @default false
43
- * @example
44
- * <Checkbox disabled="true" />
45
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
46
- */
47
- disabled?: InputHTMLAttributes['disabled'];
48
- /**
49
- * Hint text
50
- * @type {string}
51
- * @default ''
52
- * @example
53
- * <Checkbox hint="This is a hint" />
54
- */
55
- hint?: string;
56
- /**
57
- * Error message
58
- * @type {string}
59
- * @default ''
60
- * @example
61
- * <Checkbox errorMsg="This is an error" />
62
- */
63
- errorMsg?: string;
64
- /**
65
- * Hide the hint and error message
66
- * @type {boolean}
67
- * @default false
68
- * @example
69
- * <Checkbox hideDetails />
70
- */
71
- hideDetails?: boolean;
72
- }
73
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
74
- id: string;
75
- label: string;
76
- indeterminate: boolean;
77
- disabled: boolean;
78
- hint: string;
79
- errorMsg: string;
80
- modelValue: boolean;
81
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
82
- "update:modelValue": (...args: any[]) => void;
83
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
84
- id: string;
85
- label: string;
86
- indeterminate: boolean;
87
- disabled: boolean;
88
- hint: string;
89
- errorMsg: string;
90
- modelValue: boolean;
91
- }>>> & {
92
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
93
- }, {
94
- label: string;
95
- disabled: boolean | "true" | "false";
96
- id: string | undefined;
97
- indeterminate: boolean;
98
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
99
- hint: string;
100
- errorMsg: string;
101
- }, {}>;
102
- export default _default;
103
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
104
- declare type __VLS_TypePropsToRuntimeProps<T> = {
105
- [K in keyof T]-?: {} extends Pick<T, K> ? {
106
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
107
- } : {
108
- type: PropType<T[K]>;
109
- required: true;
110
- };
111
- };
112
- declare type __VLS_WithDefaults<P, D> = {
113
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
114
- default: D[K];
115
- }> : P[K];
116
- };
117
- declare type __VLS_Prettify<T> = {
118
- [K in keyof T]: T[K];
119
- } & {};
120
- //# sourceMappingURL=RCheckbox.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RChe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AAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,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"}
@@ -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;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiMD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,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,418 +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
- /**
240
- * @description - Removes an option from the selected options
241
- * @param e option Option to remove
242
- */
243
- declare function removeOption(e: MouseEvent | KeyboardEvent, option: Option, updatePosition: any): void;
244
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
245
- options: () => never[];
246
- modelValue: any;
247
- placeholder: string;
248
- chips: boolean;
249
- multiple: boolean;
250
- disabled: boolean;
251
- loading: boolean;
252
- prependIcon: string;
253
- appendIcon: string;
254
- searchable: boolean;
255
- clearable: boolean;
256
- id: string;
257
- label: string;
258
- closeOnSelect: boolean;
259
- dropdownClass: string;
260
- optionsClass: string;
261
- errorMsg: string;
262
- hideDetails: boolean;
263
- autocomplete: string;
264
- noOptionsText: string;
265
- hideOptionCheckIcon: boolean;
266
- hideChipClear: boolean;
267
- tooltipClass: string;
268
- showSelectAll: boolean;
269
- selectAllText: string;
270
- disableDeselect: boolean;
271
- maxVisibleChips: number;
272
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
273
- "update:modelValue": (...args: any[]) => void;
274
- clear: (...args: any[]) => void;
275
- removeOption: (...args: any[]) => void;
276
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__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
- }>>> & {
305
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
306
- onClear?: ((...args: any[]) => any) | undefined;
307
- onRemoveOption?: ((...args: any[]) => any) | undefined;
308
- }, {
309
- multiple: boolean;
310
- disabled: boolean;
311
- loading: boolean;
312
- prependIcon: string;
313
- appendIcon: string;
314
- id: string;
315
- modelValue: any;
316
- errorMsg: string;
317
- hideDetails: boolean;
318
- clearable: boolean;
319
- options: any;
320
- tooltipClass: string;
321
- placeholder: string;
322
- chips: boolean;
323
- searchable: boolean;
324
- closeOnSelect: boolean;
325
- dropdownClass: string;
326
- optionsClass: string;
327
- autocomplete: "on" | "off";
328
- noOptionsText: string;
329
- hideOptionCheckIcon: boolean;
330
- hideChipClear: boolean;
331
- showSelectAll: boolean;
332
- selectAllText: string;
333
- disableDeselect: boolean;
334
- maxVisibleChips: number;
335
- }, {}>, {
336
- prepend?(_: {
337
- active: boolean;
338
- disabled: boolean;
339
- error: number;
340
- loading: boolean;
341
- }): any;
342
- selection?(_: {
343
- removeOption: typeof removeOption;
344
- selected: {
345
- [x: string]: any;
346
- value: string | number;
347
- label: string;
348
- prependIcon?: string | undefined;
349
- disabled?: boolean | undefined;
350
- }[];
351
- }): any;
352
- "remaining-count"?(_: {
353
- count: number;
354
- }): any;
355
- clearable?(_: {}): any;
356
- append?(_: {
357
- active: boolean;
358
- disabled: boolean;
359
- error: number;
360
- loading: boolean;
361
- }): any;
362
- option?(_: {
363
- disabled: boolean | undefined;
364
- isSelected: boolean | {
365
- [x: string]: any;
366
- value: string | number;
367
- label: string;
368
- prependIcon?: string | undefined;
369
- disabled?: boolean | undefined;
370
- } | undefined;
371
- item: Option;
372
- }): any;
373
- "option-prepend"?(_: {
374
- disabled: boolean | undefined;
375
- isSelected: boolean | {
376
- [x: string]: any;
377
- value: string | number;
378
- label: string;
379
- prependIcon?: string | undefined;
380
- disabled?: boolean | undefined;
381
- } | undefined;
382
- }): any;
383
- "option-append"?(_: {
384
- disabled: boolean | undefined;
385
- isSelected: boolean | {
386
- [x: string]: any;
387
- value: string | number;
388
- label: string;
389
- prependIcon?: string | undefined;
390
- disabled?: boolean | undefined;
391
- } | undefined;
392
- }): any;
393
- "not-options"?(_: {}): any;
394
- }>;
395
- export default _default;
396
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
397
- declare type __VLS_TypePropsToRuntimeProps<T> = {
398
- [K in keyof T]-?: {} extends Pick<T, K> ? {
399
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
400
- } : {
401
- type: PropType<T[K]>;
402
- required: true;
403
- };
404
- };
405
- declare type __VLS_WithDefaults<P, D> = {
406
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
407
- default: D[K];
408
- }> : P[K];
409
- };
410
- declare type __VLS_Prettify<T> = {
411
- [K in keyof T]: T[K];
412
- } & {};
413
- declare type __VLS_WithTemplateSlots<T, S> = T & {
414
- new (): {
415
- $slots: S;
416
- };
417
- };
418
- //# 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,WA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