@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocketui/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"description": "A set of customizable UI components for Vue 3, built with TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/rocket-ui-vue.umd.cjs",
|
|
@@ -65,12 +65,9 @@
|
|
|
65
65
|
"@floating-ui/dom": "^1.0.7"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
+
"@babel/core": "^7.18.10",
|
|
68
69
|
"@mdi/svg": "^7.2.96",
|
|
69
70
|
"@mdi/util": "^0.3.2",
|
|
70
|
-
"@vueuse/core": "^10.4.1",
|
|
71
|
-
"lodash.kebabcase": "^4.1.1",
|
|
72
|
-
"vue": "^3.2.37",
|
|
73
|
-
"@babel/core": "^7.18.10",
|
|
74
71
|
"@rushstack/eslint-patch": "^1.1.4",
|
|
75
72
|
"@storybook/addon-actions": "^7.3.2",
|
|
76
73
|
"@storybook/addon-essentials": "^7.3.2",
|
|
@@ -89,6 +86,7 @@
|
|
|
89
86
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
90
87
|
"@vue/test-utils": "^2.0.0",
|
|
91
88
|
"@vue/tsconfig": "^0.1.3",
|
|
89
|
+
"@vueuse/core": "^10.4.1",
|
|
92
90
|
"autoprefixer": "^10.4.8",
|
|
93
91
|
"babel-loader": "^8.2.5",
|
|
94
92
|
"chromatic": "^6.20.0",
|
|
@@ -100,6 +98,7 @@
|
|
|
100
98
|
"husky": "^8.0.0",
|
|
101
99
|
"jsdom": "^20.0.0",
|
|
102
100
|
"lint-staged": "^13.0.3",
|
|
101
|
+
"lodash.kebabcase": "^4.1.1",
|
|
103
102
|
"npm-run-all": "^4.1.5",
|
|
104
103
|
"postcss": "^8.4.16",
|
|
105
104
|
"postcss-import": "^15.0.0",
|
|
@@ -112,8 +111,9 @@
|
|
|
112
111
|
"ts-dedent": "^2.2.0",
|
|
113
112
|
"typescript": "~4.7.4",
|
|
114
113
|
"vite": "^4.3.9",
|
|
115
|
-
"vite-plugin-dts": "^3.5.
|
|
114
|
+
"vite-plugin-dts": "^3.5.4",
|
|
116
115
|
"vitest": "^0.32.0",
|
|
116
|
+
"vue": "^3.2.37",
|
|
117
117
|
"vue-loader": "^16.8.3",
|
|
118
118
|
"vue-tsc": "^1.6.5"
|
|
119
119
|
},
|
|
@@ -123,4 +123,4 @@
|
|
|
123
123
|
"yarn prettier"
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
|
-
}
|
|
126
|
+
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,125 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,110 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+ID,wBAAkD"}
|
|
@@ -1,119 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|