@rocketui/vue 0.0.62 → 0.0.64
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/README.md +2 -0
- package/dist/rocket-ui-vue.d.ts +1854 -0
- package/dist/rocket-ui-vue.js +78 -74
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/package.json +7 -7
- package/dist/src/components/Accordion/RAccordion.d.ts +0 -41
- package/dist/src/components/Accordion/RAccordion.d.ts.map +0 -1
- package/dist/src/components/Alert/RAlert.d.ts +0 -125
- package/dist/src/components/Alert/RAlert.d.ts.map +0 -1
- package/dist/src/components/Avatar/RAvatar.d.ts +0 -110
- package/dist/src/components/Avatar/RAvatar.d.ts.map +0 -1
- package/dist/src/components/Badge/RBadge.d.ts +0 -119
- package/dist/src/components/Badge/RBadge.d.ts.map +0 -1
- package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts +0 -40
- package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts.map +0 -1
- package/dist/src/components/Button/RButton.d.ts +0 -206
- package/dist/src/components/Button/RButton.d.ts.map +0 -1
- package/dist/src/components/Checkbox/RCheckbox.d.ts +0 -137
- package/dist/src/components/Checkbox/RCheckbox.d.ts.map +0 -1
- package/dist/src/components/Chips/RChip.d.ts +0 -140
- package/dist/src/components/Chips/RChip.d.ts.map +0 -1
- package/dist/src/components/Dropdown/RDropdown.d.ts +0 -228
- package/dist/src/components/Dropdown/RDropdown.d.ts.map +0 -1
- package/dist/src/components/Icon/RIcon.d.ts +0 -62
- package/dist/src/components/Icon/RIcon.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItem.d.ts +0 -75
- package/dist/src/components/ItemGroup/RItem.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItemGroup.d.ts +0 -145
- package/dist/src/components/ItemGroup/RItemGroup.d.ts.map +0 -1
- package/dist/src/components/Label/RLabel.d.ts +0 -75
- package/dist/src/components/Label/RLabel.d.ts.map +0 -1
- package/dist/src/components/Modal/RModal.d.ts +0 -145
- package/dist/src/components/Modal/RModal.d.ts.map +0 -1
- package/dist/src/components/Pagination/RPagination.d.ts +0 -84
- package/dist/src/components/Pagination/RPagination.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/RProgressbar.d.ts +0 -30
- package/dist/src/components/ProgressBar/RProgressbar.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.d.ts +0 -53
- package/dist/src/components/Sidebar/RSidebar.d.ts.map +0 -1
- package/dist/src/components/Snackbar/RSnackbar.d.ts +0 -138
- package/dist/src/components/Snackbar/RSnackbar.d.ts.map +0 -1
- package/dist/src/components/Switch/RSwitch.d.ts +0 -136
- package/dist/src/components/Switch/RSwitch.d.ts.map +0 -1
- package/dist/src/components/TabItem/RTabItem.d.ts +0 -189
- package/dist/src/components/TabItem/RTabItem.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.d.ts +0 -87
- package/dist/src/components/Tabs/RTabs.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.d.ts +0 -137
- package/dist/src/components/TextArea/RTextArea.d.ts.map +0 -1
- package/dist/src/components/Textfield/RTextfield.d.ts +0 -268
- package/dist/src/components/Textfield/RTextfield.d.ts.map +0 -1
- package/dist/src/components/Tooltip/RTooltip.d.ts +0 -278
- package/dist/src/components/Tooltip/RTooltip.d.ts.map +0 -1
- package/dist/src/components/Tooltip/common.d.ts +0 -24
- package/dist/src/components/Tooltip/common.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/main.d.ts +0 -1
- package/dist/src/main.d.ts.map +0 -1
- package/dist/src/shims.d.ts +0 -9
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
export interface Option {
|
|
2
|
-
value: string | number;
|
|
3
|
-
label: string;
|
|
4
|
-
prependIcon?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface SelectProps {
|
|
8
|
-
/**
|
|
9
|
-
* Options of the Dropdown
|
|
10
|
-
* @type Option[]
|
|
11
|
-
* @default []
|
|
12
|
-
* @example
|
|
13
|
-
* <Dropdown
|
|
14
|
-
* :options="[
|
|
15
|
-
* {
|
|
16
|
-
* value: '1',
|
|
17
|
-
* label: 'Option 1',
|
|
18
|
-
* },
|
|
19
|
-
* {
|
|
20
|
-
* value: '2',
|
|
21
|
-
* label: '2',
|
|
22
|
-
* },
|
|
23
|
-
* ]"
|
|
24
|
-
* />
|
|
25
|
-
*/
|
|
26
|
-
options: Option[];
|
|
27
|
-
/**
|
|
28
|
-
* Value of the Dropdown
|
|
29
|
-
* @type string | number | Option | Option[]
|
|
30
|
-
* @default ''
|
|
31
|
-
* @example
|
|
32
|
-
* <Dropdown v-model="model" />
|
|
33
|
-
*/
|
|
34
|
-
modelValue: string | number | Option | Option[];
|
|
35
|
-
/**
|
|
36
|
-
* Placeholder Dropdown
|
|
37
|
-
* @type InputHTMLAttributes['placeholder'];
|
|
38
|
-
* @default ''
|
|
39
|
-
* @example
|
|
40
|
-
* <Dropdown placeholder="Placeholder" />
|
|
41
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
42
|
-
*/
|
|
43
|
-
placeholder?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Allow to create new options
|
|
46
|
-
* @type boolean
|
|
47
|
-
* @default false
|
|
48
|
-
* @example
|
|
49
|
-
* <Dropdown taggable />
|
|
50
|
-
*/
|
|
51
|
-
taggable?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Allow to select multiple options
|
|
54
|
-
* @type boolean
|
|
55
|
-
* @default false
|
|
56
|
-
* @example
|
|
57
|
-
* <Dropdown multiple />
|
|
58
|
-
*/
|
|
59
|
-
multiple?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Disable the Dropdown
|
|
62
|
-
* @type boolean
|
|
63
|
-
* @default false
|
|
64
|
-
* @example
|
|
65
|
-
* <Dropdown disabled />
|
|
66
|
-
*/
|
|
67
|
-
disabled?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Loading state of the Dropdown
|
|
70
|
-
* @type boolean
|
|
71
|
-
* @default false
|
|
72
|
-
* @example
|
|
73
|
-
* <Dropdown loading />
|
|
74
|
-
*/
|
|
75
|
-
loading?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Icon to prepend
|
|
78
|
-
* @type string
|
|
79
|
-
* @default ''
|
|
80
|
-
* @example
|
|
81
|
-
* <Dropdown prependIcon="search" />
|
|
82
|
-
*/
|
|
83
|
-
prependIcon?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Icon to append
|
|
86
|
-
* @type string
|
|
87
|
-
* @default 'expand_less'
|
|
88
|
-
* @example
|
|
89
|
-
* <Dropdown appendIcon="expand_more" />
|
|
90
|
-
*/
|
|
91
|
-
appendIcon?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Allow to search for options
|
|
94
|
-
* @type boolean
|
|
95
|
-
* @default false
|
|
96
|
-
* @example
|
|
97
|
-
* <Dropdown searchable />
|
|
98
|
-
*/
|
|
99
|
-
searchable?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Id of the Dropdown
|
|
102
|
-
* @type string
|
|
103
|
-
* @default 'test'
|
|
104
|
-
* @example
|
|
105
|
-
* <Dropdown id="test" />
|
|
106
|
-
*/
|
|
107
|
-
id?: string;
|
|
108
|
-
}
|
|
109
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
110
|
-
id: {
|
|
111
|
-
type: import("vue").PropType<string>;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
placeholder: {
|
|
115
|
-
type: import("vue").PropType<string>;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
|
-
disabled: {
|
|
119
|
-
type: import("vue").PropType<boolean>;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
|
-
loading: {
|
|
123
|
-
type: import("vue").PropType<boolean>;
|
|
124
|
-
default: boolean;
|
|
125
|
-
};
|
|
126
|
-
prependIcon: {
|
|
127
|
-
type: import("vue").PropType<string>;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
appendIcon: {
|
|
131
|
-
type: import("vue").PropType<string>;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
modelValue: {
|
|
135
|
-
type: import("vue").PropType<string | number | Option | Option[]>;
|
|
136
|
-
required: true;
|
|
137
|
-
default: string;
|
|
138
|
-
};
|
|
139
|
-
multiple: {
|
|
140
|
-
type: import("vue").PropType<boolean>;
|
|
141
|
-
default: boolean;
|
|
142
|
-
};
|
|
143
|
-
options: {
|
|
144
|
-
type: import("vue").PropType<Option[]>;
|
|
145
|
-
required: true;
|
|
146
|
-
default: () => never[];
|
|
147
|
-
};
|
|
148
|
-
taggable: {
|
|
149
|
-
type: import("vue").PropType<boolean>;
|
|
150
|
-
default: boolean;
|
|
151
|
-
};
|
|
152
|
-
searchable: {
|
|
153
|
-
type: import("vue").PropType<boolean>;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
157
|
-
id: {
|
|
158
|
-
type: import("vue").PropType<string>;
|
|
159
|
-
default: string;
|
|
160
|
-
};
|
|
161
|
-
placeholder: {
|
|
162
|
-
type: import("vue").PropType<string>;
|
|
163
|
-
default: string;
|
|
164
|
-
};
|
|
165
|
-
disabled: {
|
|
166
|
-
type: import("vue").PropType<boolean>;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
loading: {
|
|
170
|
-
type: import("vue").PropType<boolean>;
|
|
171
|
-
default: boolean;
|
|
172
|
-
};
|
|
173
|
-
prependIcon: {
|
|
174
|
-
type: import("vue").PropType<string>;
|
|
175
|
-
default: string;
|
|
176
|
-
};
|
|
177
|
-
appendIcon: {
|
|
178
|
-
type: import("vue").PropType<string>;
|
|
179
|
-
default: string;
|
|
180
|
-
};
|
|
181
|
-
modelValue: {
|
|
182
|
-
type: import("vue").PropType<string | number | Option | Option[]>;
|
|
183
|
-
required: true;
|
|
184
|
-
default: string;
|
|
185
|
-
};
|
|
186
|
-
multiple: {
|
|
187
|
-
type: import("vue").PropType<boolean>;
|
|
188
|
-
default: boolean;
|
|
189
|
-
};
|
|
190
|
-
options: {
|
|
191
|
-
type: import("vue").PropType<Option[]>;
|
|
192
|
-
required: true;
|
|
193
|
-
default: () => never[];
|
|
194
|
-
};
|
|
195
|
-
taggable: {
|
|
196
|
-
type: import("vue").PropType<boolean>;
|
|
197
|
-
default: boolean;
|
|
198
|
-
};
|
|
199
|
-
searchable: {
|
|
200
|
-
type: import("vue").PropType<boolean>;
|
|
201
|
-
default: boolean;
|
|
202
|
-
};
|
|
203
|
-
}>> & {
|
|
204
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
id: string;
|
|
207
|
-
placeholder: string;
|
|
208
|
-
disabled: boolean;
|
|
209
|
-
loading: boolean;
|
|
210
|
-
prependIcon: string;
|
|
211
|
-
appendIcon: string;
|
|
212
|
-
modelValue: string | number | Option | Option[];
|
|
213
|
-
multiple: boolean;
|
|
214
|
-
options: Option[];
|
|
215
|
-
taggable: boolean;
|
|
216
|
-
searchable: boolean;
|
|
217
|
-
}>, {
|
|
218
|
-
prepend?(_: {}): any;
|
|
219
|
-
append?(_: {}): any;
|
|
220
|
-
"option-prepend"?(_: {}): any;
|
|
221
|
-
}>;
|
|
222
|
-
export default _default;
|
|
223
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
224
|
-
new (): {
|
|
225
|
-
$slots: S;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
//# sourceMappingURL=RDropdown.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/RDropdown"],"names":[],"mappings":"AAMA,OAAO,gBAAgB,CAAC;AACxB,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,WAAW,WAAW;IAC1B;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB;;;;;;OAMG;IACH,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IAEhD;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAogBD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { 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: import("vue").DefineComponent<{
|
|
29
|
-
name: {
|
|
30
|
-
type: import("vue").PropType<string | undefined>;
|
|
31
|
-
required: true;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
viewBox: {
|
|
35
|
-
type: import("vue").PropType<string>;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
type: import("vue").PropType<string | number>;
|
|
40
|
-
default: number;
|
|
41
|
-
};
|
|
42
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
name: {
|
|
44
|
-
type: import("vue").PropType<string | undefined>;
|
|
45
|
-
required: true;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
viewBox: {
|
|
49
|
-
type: import("vue").PropType<string>;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
size: {
|
|
53
|
-
type: import("vue").PropType<string | number>;
|
|
54
|
-
default: number;
|
|
55
|
-
};
|
|
56
|
-
}>>, {
|
|
57
|
-
name: string | undefined;
|
|
58
|
-
viewBox: string;
|
|
59
|
-
size: string | number;
|
|
60
|
-
}>;
|
|
61
|
-
export default _default;
|
|
62
|
-
//# sourceMappingURL=RIcon.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RIcon.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/RIcon"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAIzC,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IAExD;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwED,wBAAkD"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export interface ItemProps {
|
|
2
|
-
/**
|
|
3
|
-
* The value of the item
|
|
4
|
-
* @default null
|
|
5
|
-
* @type any
|
|
6
|
-
* @example
|
|
7
|
-
* <RItem :value="1" />
|
|
8
|
-
*/
|
|
9
|
-
value: any;
|
|
10
|
-
/**
|
|
11
|
-
* Whether the item is disabled
|
|
12
|
-
* @default false
|
|
13
|
-
* @type boolean
|
|
14
|
-
* @example
|
|
15
|
-
* <RItem :disabled="true" />
|
|
16
|
-
*/
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* The class to apply to the selected item
|
|
20
|
-
* @default ''
|
|
21
|
-
* @type string
|
|
22
|
-
* @example
|
|
23
|
-
* <RItem selectedClass="bg-blue-500 text-white" />
|
|
24
|
-
*/
|
|
25
|
-
selectedClass?: string;
|
|
26
|
-
}
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
28
|
-
disabled: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
value: {
|
|
33
|
-
type: import("vue").PropType<any>;
|
|
34
|
-
required: true;
|
|
35
|
-
default: null;
|
|
36
|
-
};
|
|
37
|
-
selectedClass: {
|
|
38
|
-
type: import("vue").PropType<string>;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
-
disabled: {
|
|
43
|
-
type: import("vue").PropType<boolean>;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
value: {
|
|
47
|
-
type: import("vue").PropType<any>;
|
|
48
|
-
required: true;
|
|
49
|
-
default: null;
|
|
50
|
-
};
|
|
51
|
-
selectedClass: {
|
|
52
|
-
type: import("vue").PropType<string>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
}>>, {
|
|
56
|
-
disabled: boolean;
|
|
57
|
-
value: any;
|
|
58
|
-
selectedClass: string;
|
|
59
|
-
}>, {
|
|
60
|
-
default?(_: {
|
|
61
|
-
disabled: boolean;
|
|
62
|
-
isSelected: boolean;
|
|
63
|
-
select: () => void;
|
|
64
|
-
selectedClass: string & string[];
|
|
65
|
-
toggle: () => void;
|
|
66
|
-
value: any;
|
|
67
|
-
}): any;
|
|
68
|
-
}>;
|
|
69
|
-
export default _default;
|
|
70
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
-
new (): {
|
|
72
|
-
$slots: S;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=RItem.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemGroup/RItem"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,KAAK,EAAE,GAAG,CAAC;IAEX;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmGD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
export interface ItemGroupProps {
|
|
2
|
-
/**
|
|
3
|
-
* The value of the selected items
|
|
4
|
-
* @default []
|
|
5
|
-
* @model
|
|
6
|
-
* @type number[]
|
|
7
|
-
* @example
|
|
8
|
-
* <RItemGroup v-model="selectedItems" />
|
|
9
|
-
*/
|
|
10
|
-
modelValue: number[];
|
|
11
|
-
/**
|
|
12
|
-
* The class to apply to the selected items
|
|
13
|
-
* @default ''
|
|
14
|
-
* @type string
|
|
15
|
-
* @example
|
|
16
|
-
* <RItemGroup selectedClass="bg-blue-500 text-white" />
|
|
17
|
-
*/
|
|
18
|
-
selectedClass?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Whether the item group is disabled
|
|
21
|
-
* @default false
|
|
22
|
-
* @type boolean
|
|
23
|
-
* @example
|
|
24
|
-
* <RItemGroup :disabled="true" />
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Whether the item group is mandatory
|
|
29
|
-
* @default false
|
|
30
|
-
* @type boolean
|
|
31
|
-
* @example
|
|
32
|
-
* ```js
|
|
33
|
-
* const selected = ref<number[]>([1]);
|
|
34
|
-
* ```
|
|
35
|
-
* ```html
|
|
36
|
-
* <RItemGroup :mandatory="true" v-model="selected" />
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
mandatory?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* The maximum number of items that can be selected
|
|
42
|
-
* @default 0
|
|
43
|
-
* @type number
|
|
44
|
-
* @example
|
|
45
|
-
* <RItemGroup :max="5" />
|
|
46
|
-
*/
|
|
47
|
-
max?: number;
|
|
48
|
-
/**
|
|
49
|
-
* The tag to use for the item group
|
|
50
|
-
* @default div
|
|
51
|
-
* @type string
|
|
52
|
-
* @example
|
|
53
|
-
* <RItemGroup as="ul" />
|
|
54
|
-
*/
|
|
55
|
-
as?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Whether the item group allows multiple selections
|
|
58
|
-
* @default false
|
|
59
|
-
* @type boolean
|
|
60
|
-
* @example
|
|
61
|
-
* <RItemGroup :multiple="true" />
|
|
62
|
-
*/
|
|
63
|
-
multiple?: boolean;
|
|
64
|
-
}
|
|
65
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
66
|
-
max: {
|
|
67
|
-
type: import("vue").PropType<number>;
|
|
68
|
-
default: number;
|
|
69
|
-
};
|
|
70
|
-
disabled: {
|
|
71
|
-
type: import("vue").PropType<boolean>;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
as: {
|
|
75
|
-
type: import("vue").PropType<string>;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
modelValue: {
|
|
79
|
-
type: import("vue").PropType<number[]>;
|
|
80
|
-
required: true;
|
|
81
|
-
default: () => number[];
|
|
82
|
-
};
|
|
83
|
-
multiple: {
|
|
84
|
-
type: import("vue").PropType<boolean>;
|
|
85
|
-
};
|
|
86
|
-
selectedClass: {
|
|
87
|
-
type: import("vue").PropType<string>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
mandatory: {
|
|
91
|
-
type: import("vue").PropType<boolean>;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
95
|
-
max: {
|
|
96
|
-
type: import("vue").PropType<number>;
|
|
97
|
-
default: number;
|
|
98
|
-
};
|
|
99
|
-
disabled: {
|
|
100
|
-
type: import("vue").PropType<boolean>;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
as: {
|
|
104
|
-
type: import("vue").PropType<string>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
modelValue: {
|
|
108
|
-
type: import("vue").PropType<number[]>;
|
|
109
|
-
required: true;
|
|
110
|
-
default: () => number[];
|
|
111
|
-
};
|
|
112
|
-
multiple: {
|
|
113
|
-
type: import("vue").PropType<boolean>;
|
|
114
|
-
};
|
|
115
|
-
selectedClass: {
|
|
116
|
-
type: import("vue").PropType<string>;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
mandatory: {
|
|
120
|
-
type: import("vue").PropType<boolean>;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
|
-
}>> & {
|
|
124
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
125
|
-
}, {
|
|
126
|
-
max: number;
|
|
127
|
-
disabled: boolean;
|
|
128
|
-
as: string;
|
|
129
|
-
modelValue: number[];
|
|
130
|
-
selectedClass: string;
|
|
131
|
-
mandatory: boolean;
|
|
132
|
-
}>, {
|
|
133
|
-
default?(_: {
|
|
134
|
-
isSelected: (id: number) => boolean;
|
|
135
|
-
select: (id: number, value: boolean) => void;
|
|
136
|
-
selected: number[];
|
|
137
|
-
}): any;
|
|
138
|
-
}>;
|
|
139
|
-
export default _default;
|
|
140
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
141
|
-
new (): {
|
|
142
|
-
$slots: S;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
//# sourceMappingURL=RItemGroup.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RItemGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemGroup/RItemGroup"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoHD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, LabelHTMLAttributes } from 'vue';
|
|
2
|
-
export interface LabelProps {
|
|
3
|
-
/**
|
|
4
|
-
* id of the label
|
|
5
|
-
* @type HTMLAttributes['id']
|
|
6
|
-
* @default ''
|
|
7
|
-
* @example
|
|
8
|
-
* <Label id="label" />
|
|
9
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
10
|
-
*/
|
|
11
|
-
id: HTMLAttributes['id'];
|
|
12
|
-
/**
|
|
13
|
-
* for of the label
|
|
14
|
-
* @type LabelHTMLAttributes['for']
|
|
15
|
-
* @default ''
|
|
16
|
-
* @example
|
|
17
|
-
* <Label for="label" />
|
|
18
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
19
|
-
*/
|
|
20
|
-
for: LabelHTMLAttributes['for'];
|
|
21
|
-
/**
|
|
22
|
-
* text of the label
|
|
23
|
-
* @type string | number
|
|
24
|
-
* @default ''
|
|
25
|
-
* @example
|
|
26
|
-
* <Label text="Label" />
|
|
27
|
-
*/
|
|
28
|
-
text: string | number;
|
|
29
|
-
}
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
31
|
-
text: {
|
|
32
|
-
type: import("vue").PropType<string | number>;
|
|
33
|
-
required: true;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
id: {
|
|
37
|
-
type: import("vue").PropType<string | undefined>;
|
|
38
|
-
required: true;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
for: {
|
|
42
|
-
type: import("vue").PropType<string | undefined>;
|
|
43
|
-
required: true;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
text: {
|
|
48
|
-
type: import("vue").PropType<string | number>;
|
|
49
|
-
required: true;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
id: {
|
|
53
|
-
type: import("vue").PropType<string | undefined>;
|
|
54
|
-
required: true;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
for: {
|
|
58
|
-
type: import("vue").PropType<string | undefined>;
|
|
59
|
-
required: true;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
}>>, {
|
|
63
|
-
text: string | number;
|
|
64
|
-
id: string | undefined;
|
|
65
|
-
for: string | undefined;
|
|
66
|
-
}>, {
|
|
67
|
-
default?(_: {}): any;
|
|
68
|
-
}>;
|
|
69
|
-
export default _default;
|
|
70
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
-
new (): {
|
|
72
|
-
$slots: S;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=RLabel.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RLabel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Label/RLabel"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAC/D,OAAO,aAAa,CAAC;AACrB,MAAM,WAAW,UAAU;IACzB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;;OAOG;IACH,GAAG,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAEhC;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwED,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|