@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,41 @@
|
|
|
1
|
+
export declare type Accordion = {
|
|
2
|
+
title: string;
|
|
3
|
+
content: string;
|
|
4
|
+
open?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export interface AccordionProps {
|
|
8
|
+
/**
|
|
9
|
+
* Accordion list
|
|
10
|
+
* @default []
|
|
11
|
+
* @type Accordion[]
|
|
12
|
+
* @example
|
|
13
|
+
* ```html
|
|
14
|
+
* <r-accordion :accordions="[
|
|
15
|
+
* { title: 'Accordion 1', content: 'Content 1' },
|
|
16
|
+
* ]" />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
accordions: Accordion[];
|
|
20
|
+
}
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
22
|
+
accordions: {
|
|
23
|
+
type: import("vue").PropType<Accordion[]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
accordions: {
|
|
28
|
+
type: import("vue").PropType<Accordion[]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>>, {}>, {
|
|
32
|
+
title?(_: {}): any;
|
|
33
|
+
content?(_: {}): any;
|
|
34
|
+
}>;
|
|
35
|
+
export default _default;
|
|
36
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=RAccordion.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/RAccordion"],"names":[],"mappings":"AAIA,OAAO,iBAAiB,CAAC;AAEzB,oBAAY,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B;;;;;;;;;;OAUG;IACH,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;;;;;;;;;;;;;;;AA0JD,wBAA8G;AAI9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Type of the Alert
|
|
4
|
+
* @type 'success' | 'error' | 'warning' | 'info'
|
|
5
|
+
* @default 'info'
|
|
6
|
+
* @example
|
|
7
|
+
* <Alert type="success" />
|
|
8
|
+
*/
|
|
9
|
+
type: 'success' | 'error' | 'warning' | 'info';
|
|
10
|
+
/**
|
|
11
|
+
* Title of the Alert
|
|
12
|
+
* @type string
|
|
13
|
+
* @default ''
|
|
14
|
+
* @example
|
|
15
|
+
* <Alert title="Title" />
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* Variant of the Alert
|
|
20
|
+
* @type 'solid' | 'outline' | 'ghost'
|
|
21
|
+
* @default 'ghost'
|
|
22
|
+
* @example
|
|
23
|
+
* <Alert variant="ghost" />
|
|
24
|
+
*/
|
|
25
|
+
variant?: 'solid' | 'outline' | 'ghost';
|
|
26
|
+
/**
|
|
27
|
+
* Description of the Alert
|
|
28
|
+
* @type string
|
|
29
|
+
* @default ''
|
|
30
|
+
* @example
|
|
31
|
+
* <Alert description="Description" />
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Allow to close the Alert
|
|
36
|
+
* @type boolean
|
|
37
|
+
* @default true
|
|
38
|
+
* @example
|
|
39
|
+
* <Alert closable />
|
|
40
|
+
*/
|
|
41
|
+
closable?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Block appearance of the Alert
|
|
44
|
+
* @type boolean
|
|
45
|
+
* @default false
|
|
46
|
+
* @example
|
|
47
|
+
* <Alert block />
|
|
48
|
+
*/
|
|
49
|
+
block?: boolean;
|
|
50
|
+
}
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
52
|
+
type: {
|
|
53
|
+
type: import("vue").PropType<"success" | "error" | "warning" | "info">;
|
|
54
|
+
required: true;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
title: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
required: true;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
variant: {
|
|
63
|
+
type: import("vue").PropType<"solid" | "outline" | "ghost">;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
description: {
|
|
67
|
+
type: import("vue").PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
closable: {
|
|
71
|
+
type: import("vue").PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
block: {
|
|
75
|
+
type: import("vue").PropType<boolean>;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
type: {
|
|
80
|
+
type: import("vue").PropType<"success" | "error" | "warning" | "info">;
|
|
81
|
+
required: true;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
title: {
|
|
85
|
+
type: import("vue").PropType<string>;
|
|
86
|
+
required: true;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
variant: {
|
|
90
|
+
type: import("vue").PropType<"solid" | "outline" | "ghost">;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
description: {
|
|
94
|
+
type: import("vue").PropType<string>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
closable: {
|
|
98
|
+
type: import("vue").PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
block: {
|
|
102
|
+
type: import("vue").PropType<boolean>;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
}>> & {
|
|
106
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
type: "success" | "error" | "warning" | "info";
|
|
109
|
+
title: string;
|
|
110
|
+
variant: "solid" | "outline" | "ghost";
|
|
111
|
+
description: string;
|
|
112
|
+
closable: boolean;
|
|
113
|
+
block: boolean;
|
|
114
|
+
}>, {
|
|
115
|
+
"alert-icon"?(_: {}): any;
|
|
116
|
+
content?(_: {}): any;
|
|
117
|
+
"custom-close"?(_: {}): any;
|
|
118
|
+
}>;
|
|
119
|
+
export default _default;
|
|
120
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
121
|
+
new (): {
|
|
122
|
+
$slots: S;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
//# sourceMappingURL=RAlert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RAlert.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/RAlert"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAIrB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAE/C;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IAExC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+LD,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,110 @@
|
|
|
1
|
+
export interface IProps {
|
|
2
|
+
/**
|
|
3
|
+
* Type of the Avatar
|
|
4
|
+
* @type 'image' | 'text'
|
|
5
|
+
* @default 'image'
|
|
6
|
+
* @example
|
|
7
|
+
* <Avatar type="text" />
|
|
8
|
+
*/
|
|
9
|
+
type?: 'image' | 'text';
|
|
10
|
+
/**
|
|
11
|
+
* Source of the Avatar
|
|
12
|
+
* @type string
|
|
13
|
+
* @default ''
|
|
14
|
+
* @example
|
|
15
|
+
* <Avatar src="https://source.unsplash.com/random" />
|
|
16
|
+
*/
|
|
17
|
+
src?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Alt of the Avatar
|
|
20
|
+
* @type string
|
|
21
|
+
* @default 'Avatar'
|
|
22
|
+
* @example
|
|
23
|
+
* <Avatar alt="Avatar" />
|
|
24
|
+
*/
|
|
25
|
+
alt?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Size of the Avatar
|
|
28
|
+
* @type 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'
|
|
29
|
+
* @default '2xl'
|
|
30
|
+
* @example
|
|
31
|
+
* <Avatar size="xs" />
|
|
32
|
+
*/
|
|
33
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
34
|
+
/**
|
|
35
|
+
* Show online status
|
|
36
|
+
* @type boolean
|
|
37
|
+
* @default false
|
|
38
|
+
* @example
|
|
39
|
+
* <Avatar online />
|
|
40
|
+
*/
|
|
41
|
+
online?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Text to show when type is text
|
|
44
|
+
* @type string
|
|
45
|
+
* @default ''
|
|
46
|
+
* @example
|
|
47
|
+
* <Avatar type="text" text="John Doe" />
|
|
48
|
+
*/
|
|
49
|
+
text?: string;
|
|
50
|
+
}
|
|
51
|
+
declare const _default: import("vue").DefineComponent<{
|
|
52
|
+
type: {
|
|
53
|
+
type: import("vue").PropType<"image" | "text">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
text: {
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
src: {
|
|
65
|
+
type: import("vue").PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
alt: {
|
|
69
|
+
type: import("vue").PropType<string>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
online: {
|
|
73
|
+
type: import("vue").PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
type: {
|
|
78
|
+
type: import("vue").PropType<"image" | "text">;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
text: {
|
|
82
|
+
type: import("vue").PropType<string>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
src: {
|
|
90
|
+
type: import("vue").PropType<string>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
alt: {
|
|
94
|
+
type: import("vue").PropType<string>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
online: {
|
|
98
|
+
type: import("vue").PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
}>>, {
|
|
102
|
+
type: "image" | "text";
|
|
103
|
+
text: string;
|
|
104
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
105
|
+
src: string;
|
|
106
|
+
alt: string;
|
|
107
|
+
online: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
export default _default;
|
|
110
|
+
//# sourceMappingURL=RAvatar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RAvatar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/RAvatar"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAItB,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAEhD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4ID,wBAAkD"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export interface BadgeProps {
|
|
2
|
+
/**
|
|
3
|
+
* Variant of the Badge
|
|
4
|
+
* @type 'primary' | 'success' | 'warning' | 'error' | 'neutral'
|
|
5
|
+
* @default 'primary'
|
|
6
|
+
* @example
|
|
7
|
+
* <Badge variant="primary" />
|
|
8
|
+
*/
|
|
9
|
+
variant?: 'primary' | 'success' | 'warning' | 'error' | 'neutral';
|
|
10
|
+
/**
|
|
11
|
+
* Placement of the Badge
|
|
12
|
+
* @type 'right' | 'bottom' | 'left'
|
|
13
|
+
* @default 'right'
|
|
14
|
+
* @example
|
|
15
|
+
* <Badge placement="right" />
|
|
16
|
+
*/
|
|
17
|
+
placement?: 'right' | 'bottom' | 'left';
|
|
18
|
+
/**
|
|
19
|
+
* Overlap the Badge
|
|
20
|
+
* @type boolean
|
|
21
|
+
* @default false
|
|
22
|
+
* @example
|
|
23
|
+
* <Badge overlap />
|
|
24
|
+
*/
|
|
25
|
+
overlap?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Show the Badge on hover
|
|
28
|
+
* @type boolean
|
|
29
|
+
* @default false
|
|
30
|
+
* @example
|
|
31
|
+
* <Badge hover />
|
|
32
|
+
*/
|
|
33
|
+
hover?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Content of the Badge
|
|
36
|
+
* @type string | number
|
|
37
|
+
* @default ''
|
|
38
|
+
* @example
|
|
39
|
+
* <Badge content="1" />
|
|
40
|
+
*/
|
|
41
|
+
content?: string | number;
|
|
42
|
+
/**
|
|
43
|
+
* Show the Badge outside
|
|
44
|
+
* @type boolean
|
|
45
|
+
* @default false
|
|
46
|
+
* @example
|
|
47
|
+
* <Badge outside />
|
|
48
|
+
*/
|
|
49
|
+
outside?: boolean;
|
|
50
|
+
}
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
52
|
+
content: {
|
|
53
|
+
type: import("vue").PropType<string | number>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
variant: {
|
|
57
|
+
type: import("vue").PropType<"success" | "error" | "warning" | "primary" | "neutral">;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
placement: {
|
|
61
|
+
type: import("vue").PropType<"right" | "bottom" | "left">;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
overlap: {
|
|
65
|
+
type: import("vue").PropType<boolean>;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
hover: {
|
|
69
|
+
type: import("vue").PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
outside: {
|
|
73
|
+
type: import("vue").PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
content: {
|
|
78
|
+
type: import("vue").PropType<string | number>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
variant: {
|
|
82
|
+
type: import("vue").PropType<"success" | "error" | "warning" | "primary" | "neutral">;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
placement: {
|
|
86
|
+
type: import("vue").PropType<"right" | "bottom" | "left">;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
overlap: {
|
|
90
|
+
type: import("vue").PropType<boolean>;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
hover: {
|
|
94
|
+
type: import("vue").PropType<boolean>;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
outside: {
|
|
98
|
+
type: import("vue").PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
}>> & {
|
|
102
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
content: string | number;
|
|
105
|
+
variant: "success" | "error" | "warning" | "primary" | "neutral";
|
|
106
|
+
placement: "right" | "bottom" | "left";
|
|
107
|
+
overlap: boolean;
|
|
108
|
+
hover: boolean;
|
|
109
|
+
outside: boolean;
|
|
110
|
+
}>, {
|
|
111
|
+
default?(_: {}): any;
|
|
112
|
+
}>;
|
|
113
|
+
export default _default;
|
|
114
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
115
|
+
new (): {
|
|
116
|
+
$slots: S;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=RBadge.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/RBadge"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAGrB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAElE;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GD,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,40 @@
|
|
|
1
|
+
export interface BreadcrumbItem {
|
|
2
|
+
title: string;
|
|
3
|
+
to: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
onlyIcon?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
8
|
+
items: {
|
|
9
|
+
type: import("vue").PropType<BreadcrumbItem[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
default: () => BreadcrumbItem[];
|
|
12
|
+
};
|
|
13
|
+
seperator: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
items: {
|
|
19
|
+
type: import("vue").PropType<BreadcrumbItem[]>;
|
|
20
|
+
required: true;
|
|
21
|
+
default: () => BreadcrumbItem[];
|
|
22
|
+
};
|
|
23
|
+
seperator: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
items: BreadcrumbItem[];
|
|
29
|
+
seperator: string;
|
|
30
|
+
}>, {
|
|
31
|
+
"item-icon"?(_: {}): any;
|
|
32
|
+
"custom-seperator"?(_: {}): any;
|
|
33
|
+
}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=RBreadcrumb.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RBreadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumb/RBreadcrumb"],"names":[],"mappings":"AAEA,OAAO,kBAAkB,CAAC;AAG1B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoJD,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,206 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|