@rocketui/vue 0.0.63 → 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/dist/rocket-ui-vue.d.ts +1854 -0
- 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 -166
- 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,206 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties } from 'vue';
|
|
2
|
-
export declare type ButtonType = 'primary' | 'secondary' | 'text' | 'outline' | 'ghost' | 'link' | 'danger';
|
|
3
|
-
export declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
4
|
-
export interface Props {
|
|
5
|
-
/**
|
|
6
|
-
* Variant of the Button
|
|
7
|
-
* @type 'primary' | 'secondary' | 'text' | 'outline' | 'ghost' | 'link' | 'danger'
|
|
8
|
-
* @default 'primary'
|
|
9
|
-
* @example
|
|
10
|
-
* <Button variant="primary" />
|
|
11
|
-
*/
|
|
12
|
-
variant?: ButtonType;
|
|
13
|
-
/**
|
|
14
|
-
* Loading state of the Button
|
|
15
|
-
* @type boolean
|
|
16
|
-
* @default false
|
|
17
|
-
* @example
|
|
18
|
-
* <Button loading />
|
|
19
|
-
*/
|
|
20
|
-
loading?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Disabled state of the Button
|
|
23
|
-
* @type boolean
|
|
24
|
-
* @default false
|
|
25
|
-
* @example
|
|
26
|
-
* <Button disabled />
|
|
27
|
-
*/
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Prepend icon of the Button
|
|
31
|
-
* @type string
|
|
32
|
-
* @default ''
|
|
33
|
-
* @example
|
|
34
|
-
* <Button prependIcon="icon" />
|
|
35
|
-
*/
|
|
36
|
-
prependIcon?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Append icon of the Button
|
|
39
|
-
* @type string
|
|
40
|
-
* @default ''
|
|
41
|
-
* @example
|
|
42
|
-
* <Button appendIcon="icon" />
|
|
43
|
-
*/
|
|
44
|
-
appendIcon?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Only icon state of the Button
|
|
47
|
-
* @type boolean
|
|
48
|
-
* @default false
|
|
49
|
-
* @example
|
|
50
|
-
* <Button onlyIcon />
|
|
51
|
-
*/
|
|
52
|
-
onlyIcon?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Size of the Button
|
|
55
|
-
* @type 'small' | 'medium' | 'large'
|
|
56
|
-
* @default 'medium'
|
|
57
|
-
* @example
|
|
58
|
-
* <Button size="small" />
|
|
59
|
-
*/
|
|
60
|
-
size?: ButtonSize;
|
|
61
|
-
/**
|
|
62
|
-
* Height of the Button
|
|
63
|
-
* @type string
|
|
64
|
-
* @default ''
|
|
65
|
-
* @example
|
|
66
|
-
* <Button height="40" />
|
|
67
|
-
*/
|
|
68
|
-
height?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Block state of the Button
|
|
71
|
-
* @type boolean
|
|
72
|
-
* @default false
|
|
73
|
-
* @example
|
|
74
|
-
* <Button block />
|
|
75
|
-
* @link https://tailwindcss.com/docs/display#block
|
|
76
|
-
*/
|
|
77
|
-
block?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Background color of the Button
|
|
80
|
-
* @type CSSProperties['backgroundColor']
|
|
81
|
-
* @default ''
|
|
82
|
-
* @example
|
|
83
|
-
* <Button backgroundColor="red" />
|
|
84
|
-
*/
|
|
85
|
-
backgroundColor?: CSSProperties['backgroundColor'];
|
|
86
|
-
/**
|
|
87
|
-
* Color of the Button
|
|
88
|
-
* @type string
|
|
89
|
-
* @default ''
|
|
90
|
-
* @example
|
|
91
|
-
* <Button color="red" />
|
|
92
|
-
*/
|
|
93
|
-
color?: string;
|
|
94
|
-
}
|
|
95
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
96
|
-
color: {
|
|
97
|
-
type: import("vue").PropType<string>;
|
|
98
|
-
};
|
|
99
|
-
height: {
|
|
100
|
-
type: import("vue").PropType<string>;
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
size: {
|
|
104
|
-
type: import("vue").PropType<ButtonSize>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
disabled: {
|
|
108
|
-
type: import("vue").PropType<boolean>;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
variant: {
|
|
112
|
-
type: import("vue").PropType<ButtonType>;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
block: {
|
|
116
|
-
type: import("vue").PropType<boolean>;
|
|
117
|
-
default: boolean;
|
|
118
|
-
};
|
|
119
|
-
backgroundColor: {
|
|
120
|
-
type: import("vue").PropType<string>;
|
|
121
|
-
default: string;
|
|
122
|
-
};
|
|
123
|
-
loading: {
|
|
124
|
-
type: import("vue").PropType<boolean>;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
|
-
prependIcon: {
|
|
128
|
-
type: import("vue").PropType<string>;
|
|
129
|
-
default: string;
|
|
130
|
-
};
|
|
131
|
-
appendIcon: {
|
|
132
|
-
type: import("vue").PropType<string>;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
onlyIcon: {
|
|
136
|
-
type: import("vue").PropType<boolean>;
|
|
137
|
-
default: boolean;
|
|
138
|
-
};
|
|
139
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
-
color: {
|
|
141
|
-
type: import("vue").PropType<string>;
|
|
142
|
-
};
|
|
143
|
-
height: {
|
|
144
|
-
type: import("vue").PropType<string>;
|
|
145
|
-
default: string;
|
|
146
|
-
};
|
|
147
|
-
size: {
|
|
148
|
-
type: import("vue").PropType<ButtonSize>;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
disabled: {
|
|
152
|
-
type: import("vue").PropType<boolean>;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
variant: {
|
|
156
|
-
type: import("vue").PropType<ButtonType>;
|
|
157
|
-
default: string;
|
|
158
|
-
};
|
|
159
|
-
block: {
|
|
160
|
-
type: import("vue").PropType<boolean>;
|
|
161
|
-
default: boolean;
|
|
162
|
-
};
|
|
163
|
-
backgroundColor: {
|
|
164
|
-
type: import("vue").PropType<string>;
|
|
165
|
-
default: string;
|
|
166
|
-
};
|
|
167
|
-
loading: {
|
|
168
|
-
type: import("vue").PropType<boolean>;
|
|
169
|
-
default: boolean;
|
|
170
|
-
};
|
|
171
|
-
prependIcon: {
|
|
172
|
-
type: import("vue").PropType<string>;
|
|
173
|
-
default: string;
|
|
174
|
-
};
|
|
175
|
-
appendIcon: {
|
|
176
|
-
type: import("vue").PropType<string>;
|
|
177
|
-
default: string;
|
|
178
|
-
};
|
|
179
|
-
onlyIcon: {
|
|
180
|
-
type: import("vue").PropType<boolean>;
|
|
181
|
-
default: boolean;
|
|
182
|
-
};
|
|
183
|
-
}>> & {
|
|
184
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
height: string;
|
|
187
|
-
size: ButtonSize;
|
|
188
|
-
disabled: boolean;
|
|
189
|
-
variant: ButtonType;
|
|
190
|
-
block: boolean;
|
|
191
|
-
backgroundColor: string;
|
|
192
|
-
loading: boolean;
|
|
193
|
-
prependIcon: string;
|
|
194
|
-
appendIcon: string;
|
|
195
|
-
onlyIcon: boolean;
|
|
196
|
-
}>, {
|
|
197
|
-
"custom-icon"?(_: {}): any;
|
|
198
|
-
default?(_: {}): any;
|
|
199
|
-
}>;
|
|
200
|
-
export default _default;
|
|
201
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
202
|
-
new (): {
|
|
203
|
-
$slots: S;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
//# sourceMappingURL=RButton.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/RButton"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,KAAK,CAAC;AAEnD,oBAAY,UAAU,GAClB,SAAS,GACT,WAAW,GACX,MAAM,GACN,SAAS,GACT,OAAO,GACP,MAAM,GACN,QAAQ,CAAC;AACb,oBAAY,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AACtD,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAEnD;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmKD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { 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
|
-
declare const _default: import("vue").DefineComponent<{
|
|
66
|
-
label: {
|
|
67
|
-
type: import("vue").PropType<string>;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
id: {
|
|
71
|
-
type: import("vue").PropType<string | undefined>;
|
|
72
|
-
required: true;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
disabled: {
|
|
76
|
-
type: import("vue").PropType<boolean | "true" | "false">;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
indeterminate: {
|
|
80
|
-
type: import("vue").PropType<boolean>;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
modelValue: {
|
|
84
|
-
type: import("vue").PropType<any[] | Set<any> | (boolean | "true" | "false")>;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
hint: {
|
|
88
|
-
type: import("vue").PropType<string>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
errorMsg: {
|
|
92
|
-
type: import("vue").PropType<string>;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
-
label: {
|
|
97
|
-
type: import("vue").PropType<string>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
id: {
|
|
101
|
-
type: import("vue").PropType<string | undefined>;
|
|
102
|
-
required: true;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
disabled: {
|
|
106
|
-
type: import("vue").PropType<boolean | "true" | "false">;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
indeterminate: {
|
|
110
|
-
type: import("vue").PropType<boolean>;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
modelValue: {
|
|
114
|
-
type: import("vue").PropType<any[] | Set<any> | (boolean | "true" | "false")>;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
|
-
hint: {
|
|
118
|
-
type: import("vue").PropType<string>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
errorMsg: {
|
|
122
|
-
type: import("vue").PropType<string>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
}>> & {
|
|
126
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
127
|
-
}, {
|
|
128
|
-
label: string;
|
|
129
|
-
id: string | undefined;
|
|
130
|
-
disabled: boolean | "true" | "false";
|
|
131
|
-
indeterminate: boolean;
|
|
132
|
-
modelValue: any[] | Set<any> | (boolean | "true" | "false");
|
|
133
|
-
hint: string;
|
|
134
|
-
errorMsg: string;
|
|
135
|
-
}>;
|
|
136
|
-
export default _default;
|
|
137
|
-
//# sourceMappingURL=RCheckbox.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/RCheckbox"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,KAAK,CAAC;AAGb,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAE5C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAEnC;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IAErD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAE3C;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqOD,wBAAkD"}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
export interface Props {
|
|
2
|
-
/**
|
|
3
|
-
* Variant of the Chip
|
|
4
|
-
* @type 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info'
|
|
5
|
-
* @default 'primary'
|
|
6
|
-
* @example
|
|
7
|
-
* <Chip variant="primary" />
|
|
8
|
-
*/
|
|
9
|
-
variant: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
10
|
-
/**
|
|
11
|
-
* Label of the Chip
|
|
12
|
-
* @type string | number
|
|
13
|
-
* @default 'label'
|
|
14
|
-
* @example
|
|
15
|
-
* <Chip label="Label" />
|
|
16
|
-
*/
|
|
17
|
-
label?: string | number;
|
|
18
|
-
/**
|
|
19
|
-
* Disabled state of the Chip
|
|
20
|
-
* @type boolean
|
|
21
|
-
* @default false
|
|
22
|
-
* @example
|
|
23
|
-
* <Chip disabled />
|
|
24
|
-
*/
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Prepend icon of the Chip
|
|
28
|
-
* @type string
|
|
29
|
-
* @default ''
|
|
30
|
-
* @example
|
|
31
|
-
* <Chip prependIcon="icon" />
|
|
32
|
-
*/
|
|
33
|
-
prependIcon?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Append icon of the Chip
|
|
36
|
-
* @type string
|
|
37
|
-
* @default ''
|
|
38
|
-
* @example
|
|
39
|
-
* <Chip appendIcon="icon" />
|
|
40
|
-
*/
|
|
41
|
-
appendIcon?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Ghost state of the Chip
|
|
44
|
-
* @type boolean
|
|
45
|
-
* @default false
|
|
46
|
-
* @example
|
|
47
|
-
* <Chip ghost />
|
|
48
|
-
*/
|
|
49
|
-
ghost?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Closable state of the Chip
|
|
52
|
-
* @type boolean
|
|
53
|
-
* @default false
|
|
54
|
-
* @example
|
|
55
|
-
* <Chip closable />
|
|
56
|
-
*/
|
|
57
|
-
closable?: boolean;
|
|
58
|
-
}
|
|
59
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
60
|
-
label: {
|
|
61
|
-
type: import("vue").PropType<string | number>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
disabled: {
|
|
65
|
-
type: import("vue").PropType<boolean>;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
ghost: {
|
|
69
|
-
type: import("vue").PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
variant: {
|
|
73
|
-
type: import("vue").PropType<"success" | "error" | "warning" | "info" | "primary" | "secondary">;
|
|
74
|
-
required: true;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
closable: {
|
|
78
|
-
type: import("vue").PropType<boolean>;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
prependIcon: {
|
|
82
|
-
type: import("vue").PropType<string>;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
appendIcon: {
|
|
86
|
-
type: import("vue").PropType<string>;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click:chip" | "click:close")[], "click:chip" | "click:close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
-
label: {
|
|
91
|
-
type: import("vue").PropType<string | number>;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
disabled: {
|
|
95
|
-
type: import("vue").PropType<boolean>;
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
98
|
-
ghost: {
|
|
99
|
-
type: import("vue").PropType<boolean>;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
variant: {
|
|
103
|
-
type: import("vue").PropType<"success" | "error" | "warning" | "info" | "primary" | "secondary">;
|
|
104
|
-
required: true;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
closable: {
|
|
108
|
-
type: import("vue").PropType<boolean>;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
prependIcon: {
|
|
112
|
-
type: import("vue").PropType<string>;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
appendIcon: {
|
|
116
|
-
type: import("vue").PropType<string>;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
}>> & {
|
|
120
|
-
"onClick:chip"?: ((...args: any[]) => any) | undefined;
|
|
121
|
-
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
label: string | number;
|
|
124
|
-
disabled: boolean;
|
|
125
|
-
ghost: boolean;
|
|
126
|
-
variant: "success" | "error" | "warning" | "info" | "primary" | "secondary";
|
|
127
|
-
closable: boolean;
|
|
128
|
-
prependIcon: string;
|
|
129
|
-
appendIcon: string;
|
|
130
|
-
}>, {
|
|
131
|
-
prepend?(_: {}): any;
|
|
132
|
-
append?(_: {}): any;
|
|
133
|
-
}>;
|
|
134
|
-
export default _default;
|
|
135
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
136
|
-
new (): {
|
|
137
|
-
$slots: S;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
//# sourceMappingURL=RChip.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RChip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chips/RChip"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAE5E;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqKD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|