@rocketui/vue 0.0.52 → 0.0.54
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.js +35 -35
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/src/components/Accordion/RAccordion.d.ts +41 -0
- package/dist/src/components/Accordion/RAccordion.d.ts.map +1 -0
- package/dist/src/components/Alert/RAlert.d.ts +125 -0
- package/dist/src/components/Alert/RAlert.d.ts.map +1 -0
- package/dist/src/components/Avatar/RAvatar.d.ts +110 -0
- package/dist/src/components/Avatar/RAvatar.d.ts.map +1 -0
- package/dist/src/components/Badge/RBadge.d.ts +119 -0
- package/dist/src/components/Badge/RBadge.d.ts.map +1 -0
- package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts +40 -0
- package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts.map +1 -0
- package/dist/src/components/Button/RButton.d.ts +206 -0
- package/dist/src/components/Button/RButton.d.ts.map +1 -0
- package/dist/src/components/Checkbox/RCheckbox.d.ts +137 -0
- package/dist/src/components/Checkbox/RCheckbox.d.ts.map +1 -0
- package/dist/src/components/Chips/RChip.d.ts +140 -0
- package/dist/src/components/Chips/RChip.d.ts.map +1 -0
- package/dist/src/components/Dropdown/RDropdown.d.ts +228 -0
- package/dist/src/components/Dropdown/RDropdown.d.ts.map +1 -0
- package/dist/src/components/Icon/RIcon.d.ts +62 -0
- package/dist/src/components/Icon/RIcon.d.ts.map +1 -0
- package/dist/src/components/ItemGroup/RItem.d.ts +75 -0
- package/dist/src/components/ItemGroup/RItem.d.ts.map +1 -0
- package/dist/src/components/ItemGroup/RItemGroup.d.ts +145 -0
- package/dist/src/components/ItemGroup/RItemGroup.d.ts.map +1 -0
- package/dist/src/components/Label/RLabel.d.ts +68 -0
- package/dist/src/components/Label/RLabel.d.ts.map +1 -0
- package/dist/src/components/Modal/RModal.d.ts +145 -0
- package/dist/src/components/Modal/RModal.d.ts.map +1 -0
- package/dist/src/components/Pagination/RPagination.d.ts +84 -0
- package/dist/src/components/Pagination/RPagination.d.ts.map +1 -0
- package/dist/src/components/ProgressBar/RProgressbar.d.ts +30 -0
- package/dist/src/components/ProgressBar/RProgressbar.d.ts.map +1 -0
- package/dist/src/components/Shared/Enums.d.ts +2 -0
- package/dist/src/components/Shared/Enums.d.ts.map +1 -0
- package/dist/src/components/Sidebar/RSidebar.d.ts +28 -0
- package/dist/src/components/Sidebar/RSidebar.d.ts.map +1 -0
- package/dist/src/components/Snackbar/RSnackbar.d.ts +138 -0
- package/dist/src/components/Snackbar/RSnackbar.d.ts.map +1 -0
- package/dist/src/components/Switch/RSwitch.d.ts +136 -0
- package/dist/src/components/Switch/RSwitch.d.ts.map +1 -0
- package/dist/src/components/TabItem/RTabItem.d.ts +189 -0
- package/dist/src/components/TabItem/RTabItem.d.ts.map +1 -0
- package/dist/src/components/TabItem/common.d.ts +7 -0
- package/dist/src/components/TabItem/common.d.ts.map +1 -0
- package/dist/src/components/Tabs/RTabs.d.ts +87 -0
- package/dist/src/components/Tabs/RTabs.d.ts.map +1 -0
- package/dist/src/components/Tabs/types.d.ts +11 -0
- package/dist/src/components/Tabs/types.d.ts.map +1 -0
- package/dist/src/components/TextArea/RTextArea.d.ts +137 -0
- package/dist/src/components/TextArea/RTextArea.d.ts.map +1 -0
- package/dist/src/components/Textfield/RTextfield.d.ts +268 -0
- package/dist/src/components/Textfield/RTextfield.d.ts.map +1 -0
- package/dist/src/components/Tooltip/RTooltip.d.ts +278 -0
- package/dist/src/components/Tooltip/RTooltip.d.ts.map +1 -0
- package/dist/src/components/Tooltip/common.d.ts +24 -0
- package/dist/src/components/Tooltip/common.d.ts.map +1 -0
- package/dist/src/directives/index.d.ts +5 -0
- package/dist/src/directives/index.d.ts.map +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/shims.d.ts +9 -0
- package/dist/style.css +1 -1
- package/package.json +13 -8
- package/dist/rocket-ui-vue.d.ts +0 -1812
|
@@ -0,0 +1,137 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,140 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,228 @@
|
|
|
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
|
+
parentElement?: string;
|
|
101
|
+
id?: string;
|
|
102
|
+
}
|
|
103
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
104
|
+
id: {
|
|
105
|
+
type: import("vue").PropType<string>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
placeholder: {
|
|
109
|
+
type: import("vue").PropType<string>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
disabled: {
|
|
113
|
+
type: import("vue").PropType<boolean>;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
loading: {
|
|
117
|
+
type: import("vue").PropType<boolean>;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
prependIcon: {
|
|
121
|
+
type: import("vue").PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
appendIcon: {
|
|
125
|
+
type: import("vue").PropType<string>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
modelValue: {
|
|
129
|
+
type: import("vue").PropType<string | number | Option | Option[]>;
|
|
130
|
+
required: true;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
multiple: {
|
|
134
|
+
type: import("vue").PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
options: {
|
|
138
|
+
type: import("vue").PropType<Option[]>;
|
|
139
|
+
required: true;
|
|
140
|
+
default: () => never[];
|
|
141
|
+
};
|
|
142
|
+
taggable: {
|
|
143
|
+
type: import("vue").PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
searchable: {
|
|
147
|
+
type: import("vue").PropType<boolean>;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
parentElement: {
|
|
151
|
+
type: import("vue").PropType<string>;
|
|
152
|
+
};
|
|
153
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
+
id: {
|
|
155
|
+
type: import("vue").PropType<string>;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
placeholder: {
|
|
159
|
+
type: import("vue").PropType<string>;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
disabled: {
|
|
163
|
+
type: import("vue").PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
loading: {
|
|
167
|
+
type: import("vue").PropType<boolean>;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
prependIcon: {
|
|
171
|
+
type: import("vue").PropType<string>;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
appendIcon: {
|
|
175
|
+
type: import("vue").PropType<string>;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
modelValue: {
|
|
179
|
+
type: import("vue").PropType<string | number | Option | Option[]>;
|
|
180
|
+
required: true;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
multiple: {
|
|
184
|
+
type: import("vue").PropType<boolean>;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
options: {
|
|
188
|
+
type: import("vue").PropType<Option[]>;
|
|
189
|
+
required: true;
|
|
190
|
+
default: () => never[];
|
|
191
|
+
};
|
|
192
|
+
taggable: {
|
|
193
|
+
type: import("vue").PropType<boolean>;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
searchable: {
|
|
197
|
+
type: import("vue").PropType<boolean>;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
parentElement: {
|
|
201
|
+
type: import("vue").PropType<string>;
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwfD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|