@rocketui/vue 0.2.71 → 0.2.72

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.
Files changed (55) hide show
  1. package/dist/rocket-ui-vue.d.ts +3337 -0
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/package.json +1 -1
  4. package/dist/types/components/Accordion/RAccordion.vue.d.ts +0 -70
  5. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  6. package/dist/types/components/Alert/RAlert.vue.d.ts +0 -109
  7. package/dist/types/components/Alert/RAlert.vue.d.ts.map +0 -1
  8. package/dist/types/components/Avatar/RAvatar.vue.d.ts +0 -92
  9. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  10. package/dist/types/components/Badge/RBadge.vue.d.ts +0 -143
  11. package/dist/types/components/Badge/RBadge.vue.d.ts.map +0 -1
  12. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  13. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  14. package/dist/types/components/Button/RButton.vue.d.ts +0 -155
  15. package/dist/types/components/Button/RButton.vue.d.ts.map +0 -1
  16. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  17. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  18. package/dist/types/components/Chips/RChip.vue.d.ts +0 -132
  19. package/dist/types/components/Chips/RChip.vue.d.ts.map +0 -1
  20. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +0 -418
  21. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  22. package/dist/types/components/Icon/RIcon.vue.d.ts +0 -59
  23. package/dist/types/components/Icon/RIcon.vue.d.ts.map +0 -1
  24. package/dist/types/components/ItemGroup/RItem.vue.d.ts +0 -65
  25. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  26. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  27. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  28. package/dist/types/components/Label/RLabel.vue.d.ts +0 -68
  29. package/dist/types/components/Label/RLabel.vue.d.ts.map +0 -1
  30. package/dist/types/components/Modal/RModal.vue.d.ts +0 -183
  31. package/dist/types/components/Modal/RModal.vue.d.ts.map +0 -1
  32. package/dist/types/components/Pagination/RPagination.vue.d.ts +0 -110
  33. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +0 -1
  34. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  35. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  36. package/dist/types/components/Radio/RRadio.vue.d.ts +0 -66
  37. package/dist/types/components/Radio/RRadio.vue.d.ts.map +0 -1
  38. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +0 -53
  39. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  40. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  41. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  42. package/dist/types/components/Switch/RSwitch.vue.d.ts +0 -135
  43. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +0 -1
  44. package/dist/types/components/TabItem/RTabItem.vue.d.ts +0 -155
  45. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  46. package/dist/types/components/Tabs/RTabs.vue.d.ts +0 -95
  47. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +0 -1
  48. package/dist/types/components/TextArea/RTextArea.vue.d.ts +0 -120
  49. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  50. package/dist/types/components/Textfield/RTextfield.vue.d.ts +0 -249
  51. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  52. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +0 -253
  53. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  54. package/dist/types/lib/main.d.ts +0 -26
  55. package/dist/types/lib/main.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rocketui/vue",
3
3
  "type": "module",
4
- "version": "0.2.71",
4
+ "version": "0.2.72",
5
5
  "packageManager": "yarn@1.22.17",
6
6
  "description": "A set of customizable UI components for Vue 3, built with TypeScript",
7
7
  "homepage": "https://teknasyon.github.io/rocket-ui/",
@@ -1,70 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface Accordion {
3
- title: string;
4
- content: string;
5
- open?: boolean;
6
- disabled?: boolean;
7
- }
8
- export interface AccordionProps {
9
- /**
10
- * Accordion list
11
- * @default []
12
- * @type Accordion[]
13
- * @example
14
- * ```html
15
- * <r-accordion :accordions="[
16
- * { title: 'Accordion 1', content: 'Content 1' },
17
- * ]" />
18
- * ```
19
- */
20
- accordions: Accordion[];
21
- /**
22
- * Allow multiple accordions to be open at the same time
23
- * @default false
24
- * @type boolean
25
- */
26
- multiple?: boolean;
27
- }
28
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
29
- title?(_: {
30
- accordion: Accordion & {
31
- title: string;
32
- content: string;
33
- open: boolean;
34
- disabled: boolean;
35
- };
36
- }): any;
37
- icon?(_: {
38
- item: Accordion & {
39
- title: string;
40
- content: string;
41
- open: boolean;
42
- disabled: boolean;
43
- };
44
- open: boolean;
45
- }): any;
46
- content?(_: {
47
- accordion: Accordion & {
48
- title: string;
49
- content: string;
50
- open: boolean;
51
- disabled: boolean;
52
- };
53
- }): any;
54
- }>;
55
- export default _default;
56
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
- declare type __VLS_TypePropsToRuntimeProps<T> = {
58
- [K in keyof T]-?: {} extends Pick<T, K> ? {
59
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
60
- } : {
61
- type: PropType<T[K]>;
62
- required: true;
63
- };
64
- };
65
- declare type __VLS_WithTemplateSlots<T, S> = T & {
66
- new (): {
67
- $slots: S;
68
- };
69
- };
70
- //# sourceMappingURL=RAccordion.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/RAccordion.vue"],"names":[],"mappings":"AAIA,OAAO,iBAAiB,CAAA;AAExB,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;;;;;;OAUG;IACH,UAAU,EAAE,SAAS,EAAE,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,109 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface Props {
3
- /**
4
- * Type of the Alert
5
- * @type 'success' | 'error' | 'warning' | 'info'
6
- * @default 'info'
7
- * @example
8
- * <Alert type="success" />
9
- */
10
- type: 'success' | 'error' | 'warning' | 'info';
11
- /**
12
- * Title of the Alert
13
- * @type string
14
- * @default ''
15
- * @example
16
- * <Alert title="Title" />
17
- */
18
- title: string;
19
- /**
20
- * Variant of the Alert
21
- * @type 'solid' | 'outline' | 'ghost'
22
- * @default 'ghost'
23
- * @example
24
- * <Alert variant="ghost" />
25
- */
26
- variant?: 'solid' | 'outline' | 'ghost';
27
- /**
28
- * Description of the Alert
29
- * @type string
30
- * @default ''
31
- * @example
32
- * <Alert description="Description" />
33
- */
34
- description?: string;
35
- /**
36
- * Allow to close the Alert
37
- * @type boolean
38
- * @default true
39
- * @example
40
- * <Alert closable />
41
- */
42
- closable?: boolean;
43
- /**
44
- * Block appearance of the Alert
45
- * @type boolean
46
- * @default false
47
- * @example
48
- * <Alert block />
49
- */
50
- block?: boolean;
51
- }
52
- declare function close(): void;
53
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
54
- type: string;
55
- title: string;
56
- variant: string;
57
- description: string;
58
- closable: boolean;
59
- block: boolean;
60
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
61
- close: (...args: any[]) => void;
62
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
63
- type: string;
64
- title: string;
65
- variant: string;
66
- description: string;
67
- closable: boolean;
68
- block: boolean;
69
- }>>> & {
70
- onClose?: ((...args: any[]) => any) | undefined;
71
- }, {
72
- type: "success" | "error" | "warning" | "info";
73
- title: string;
74
- variant: "solid" | "outline" | "ghost";
75
- description: string;
76
- closable: boolean;
77
- block: boolean;
78
- }, {}>, {
79
- "alert-icon"?(_: {}): any;
80
- content?(_: {}): any;
81
- "custom-close"?(_: {
82
- close: typeof close;
83
- slotClass: string;
84
- }): any;
85
- }>;
86
- export default _default;
87
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
88
- declare type __VLS_TypePropsToRuntimeProps<T> = {
89
- [K in keyof T]-?: {} extends Pick<T, K> ? {
90
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
91
- } : {
92
- type: PropType<T[K]>;
93
- required: true;
94
- };
95
- };
96
- declare type __VLS_WithDefaults<P, D> = {
97
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
98
- default: D[K];
99
- }> : P[K];
100
- };
101
- declare type __VLS_Prettify<T> = {
102
- [K in keyof T]: T[K];
103
- } & {};
104
- declare type __VLS_WithTemplateSlots<T, S> = T & {
105
- new (): {
106
- $slots: S;
107
- };
108
- };
109
- //# sourceMappingURL=RAlert.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RAlert.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Alert/RAlert.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAIpB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAE9C;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEvC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IAC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ent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface IProps {
3
- /**
4
- * Type of the Avatar
5
- * @type 'image' | 'text'
6
- * @default 'image'
7
- * @example
8
- * <Avatar type="text" />
9
- */
10
- type?: 'image' | 'text';
11
- /**
12
- * Source of the Avatar
13
- * @type string
14
- * @default ''
15
- * @example
16
- * <Avatar src="https://source.unsplash.com/random" />
17
- */
18
- src?: string;
19
- /**
20
- * Alt of the Avatar
21
- * @type string
22
- * @default 'Avatar'
23
- * @example
24
- * <Avatar alt="Avatar" />
25
- */
26
- alt?: string;
27
- /**
28
- * Size of the Avatar
29
- * @type 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'
30
- * @default '2xl'
31
- * @example
32
- * <Avatar size="xs" />
33
- */
34
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
35
- /**
36
- * Show online status
37
- * @type boolean
38
- * @default false
39
- * @example
40
- * <Avatar online />
41
- */
42
- online?: boolean;
43
- /**
44
- * Text to show when type is text
45
- * @type string
46
- * @default ''
47
- * @example
48
- * <Avatar type="text" text="John Doe" />
49
- */
50
- text?: string;
51
- }
52
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
53
- type: string;
54
- size: string;
55
- src: string;
56
- alt: string;
57
- online: boolean;
58
- text: string;
59
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
60
- type: string;
61
- size: string;
62
- src: string;
63
- alt: string;
64
- online: boolean;
65
- text: string;
66
- }>>>, {
67
- size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
68
- type: "image" | "text";
69
- text: string;
70
- src: string;
71
- alt: string;
72
- online: boolean;
73
- }, {}>;
74
- export default _default;
75
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
- declare type __VLS_TypePropsToRuntimeProps<T> = {
77
- [K in keyof T]-?: {} extends Pick<T, K> ? {
78
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
79
- } : {
80
- type: PropType<T[K]>;
81
- required: true;
82
- };
83
- };
84
- declare type __VLS_WithDefaults<P, D> = {
85
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
86
- default: D[K];
87
- }> : P[K];
88
- };
89
- declare type __VLS_Prettify<T> = {
90
- [K in keyof T]: T[K];
91
- } & {};
92
- //# sourceMappingURL=RAvatar.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RAvatar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/RAvatar.vue"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAA;AAGrB,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAEvB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAA;IAEvD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;;;;;;;;;;;;;;;;;;;;;;;AA4ID,wBAMG;AACH,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,143 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface BadgeProps {
3
- /**
4
- * Variant of the Badge
5
- * @type { 'primary' | 'success' | 'warning' | 'error' | 'neutral' }
6
- * @default 'primary'
7
- * @example
8
- * <Badge variant="primary" />
9
- */
10
- variant?: 'primary' | 'success' | 'warning' | 'error' | 'neutral';
11
- /**
12
- * Placement of the Badge
13
- * @type { 'right' | 'bottom' | 'left' }
14
- * @default 'right'
15
- * @example
16
- * <Badge placement="right" />
17
- */
18
- placement?: 'right' | 'bottom' | 'left';
19
- /**
20
- * Overlap the Badge
21
- * @type { boolean }
22
- * @default false
23
- * @example
24
- * <Badge overlap />
25
- */
26
- overlap?: boolean;
27
- /**
28
- * Show the Badge on hover
29
- * @type { boolean }
30
- * @default false
31
- * @example
32
- * <Badge hover />
33
- */
34
- hover?: boolean;
35
- /**
36
- * Show the Badge outside
37
- * @type { boolean }
38
- * @default false
39
- * @example
40
- * <Badge outside />
41
- */
42
- outside?: boolean;
43
- /**
44
- * Show the Badge animation
45
- * @type { boolean }
46
- * @default false
47
- * @example
48
- * <Badge animation />
49
- */
50
- animation?: boolean;
51
- /**
52
- * Class of the Badge
53
- * @type { string | string[] }
54
- * @example
55
- * <Badge class="text-red-500" />
56
- */
57
- class?: string | string[];
58
- /**
59
- * Content of the Badge
60
- * @type { string }
61
- * @example
62
- * <Badge content="99+" />
63
- */
64
- content?: string;
65
- /**
66
- * Class of the content of the Badge
67
- * @type { string | string[] }
68
- * @example
69
- * <Badge contentClass="text-red-500" />
70
- */
71
- contentClass?: string | string[];
72
- /**
73
- * Wrapper class of the Badge
74
- * @type { string | string[] }
75
- * @example
76
- * <Badge wrapperClass="text-red-500" />
77
- */
78
- wrapperClass?: string | string[];
79
- }
80
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
81
- variant: string;
82
- placement: string;
83
- overlap: boolean;
84
- hover: boolean;
85
- content: string;
86
- outside: boolean;
87
- animation: boolean;
88
- class: string;
89
- contentClass: string;
90
- wrapperClass: string;
91
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
92
- click: (...args: any[]) => void;
93
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
94
- variant: string;
95
- placement: string;
96
- overlap: boolean;
97
- hover: boolean;
98
- content: string;
99
- outside: boolean;
100
- animation: boolean;
101
- class: string;
102
- contentClass: string;
103
- wrapperClass: string;
104
- }>>> & {
105
- onClick?: ((...args: any[]) => any) | undefined;
106
- }, {
107
- class: string | string[];
108
- content: string;
109
- variant: "success" | "error" | "warning" | "primary" | "neutral";
110
- placement: "right" | "bottom" | "left";
111
- overlap: boolean;
112
- hover: boolean;
113
- outside: boolean;
114
- animation: boolean;
115
- contentClass: string | string[];
116
- wrapperClass: string | string[];
117
- }, {}>, {
118
- default?(_: {}): any;
119
- }>;
120
- export default _default;
121
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
122
- declare type __VLS_TypePropsToRuntimeProps<T> = {
123
- [K in keyof T]-?: {} extends Pick<T, K> ? {
124
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
125
- } : {
126
- type: PropType<T[K]>;
127
- required: true;
128
- };
129
- };
130
- declare type __VLS_WithDefaults<P, D> = {
131
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
132
- default: D[K];
133
- }> : P[K];
134
- };
135
- declare type __VLS_Prettify<T> = {
136
- [K in keyof T]: T[K];
137
- } & {};
138
- declare type __VLS_WithTemplateSlots<T, S> = T & {
139
- new (): {
140
- $slots: S;
141
- };
142
- };
143
- //# sourceMappingURL=RBadge.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RBadge.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/RBadge.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAGpB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;IAEjE;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAEvC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;OAKG;IACH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AAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,50 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface BreadcrumbItem {
3
- title: string;
4
- to: string;
5
- icon?: string;
6
- onlyIcon?: boolean;
7
- }
8
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- items: BreadcrumbItem[];
10
- seperator?: string | undefined;
11
- }>, {
12
- items: () => BreadcrumbItem[];
13
- seperator: string;
14
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
- items: BreadcrumbItem[];
16
- seperator?: string | undefined;
17
- }>, {
18
- items: () => BreadcrumbItem[];
19
- seperator: string;
20
- }>>>, {
21
- items: BreadcrumbItem[];
22
- seperator: string;
23
- }, {}>, {
24
- "item-icon"?(_: {}): any;
25
- "custom-seperator"?(_: {}): any;
26
- }>;
27
- export default _default;
28
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- declare type __VLS_TypePropsToRuntimeProps<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: PropType<T[K]>;
34
- required: true;
35
- };
36
- };
37
- declare type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
- default: D[K];
40
- }> : P[K];
41
- };
42
- declare type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
45
- declare type __VLS_WithTemplateSlots<T, S> = T & {
46
- new (): {
47
- $slots: S;
48
- };
49
- };
50
- //# sourceMappingURL=RBreadcrumb.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RBreadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/RBreadcrumb.vue"],"names":[],"mappings":"AAEA,OAAO,kBAAkB,CAAA;AAIzB,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;AAmKD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,155 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export declare type ButtonType = 'default' | 'text' | 'outline';
3
- export declare type ButtonColor = 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
4
- export declare type ButtonSize = 'small' | 'medium' | 'large';
5
- export interface Props {
6
- /**
7
- * Variant of the Button
8
- * @type { 'default' | 'text' | 'outline' | 'ghost'}
9
- * @default 'default'
10
- * @example
11
- * <Button variant="default" />
12
- */
13
- variant?: ButtonType;
14
- /**
15
- * Color of the Button
16
- * @type { 'primary' | 'secondary' | 'danger'}
17
- * @default 'primary'
18
- * @example
19
- * <Button color="primary" />
20
- */
21
- color?: ButtonColor;
22
- /**
23
- * Loading state of the Button
24
- * @type { boolean }
25
- * @default false
26
- * @example
27
- * <Button loading />
28
- */
29
- loading?: boolean;
30
- /**
31
- * Disabled state of the Button
32
- * @type { boolean }
33
- * @default false
34
- * @example
35
- * <Button disabled />
36
- */
37
- disabled?: boolean;
38
- /**
39
- * Prepend icon of the Button
40
- * @type { string }
41
- * @default ''
42
- * @example
43
- * <Button prependIcon="icon" />
44
- */
45
- prependIcon?: string;
46
- /**
47
- * Append icon of the Button
48
- * @type { string }
49
- * @default ''
50
- * @example
51
- * <Button appendIcon="icon" />
52
- */
53
- appendIcon?: string;
54
- /**
55
- * Only icon state of the Button
56
- * @type { boolean }
57
- * @default false
58
- * @example
59
- * <Button icon />
60
- */
61
- icon?: boolean;
62
- /**
63
- * Size of the Button
64
- * @type { 'small' | 'medium' | 'large' }
65
- * @default 'medium'
66
- * @example
67
- * <Button size="small" />
68
- */
69
- size?: ButtonSize;
70
- /**
71
- * Height of the Button
72
- * @type { string }
73
- * @default ''
74
- * @example
75
- * <Button height="40" />
76
- */
77
- height?: string;
78
- /**
79
- * Block state of the Button
80
- * @type { boolean }
81
- * @default false
82
- * @example
83
- * <Button block />
84
- */
85
- block?: boolean;
86
- }
87
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
88
- variant: string;
89
- loading: boolean;
90
- disabled: boolean;
91
- prependIcon: string;
92
- appendIcon: string;
93
- icon: boolean;
94
- size: string;
95
- height: string;
96
- block: boolean;
97
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
98
- click: (...args: any[]) => void;
99
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
100
- variant: string;
101
- loading: boolean;
102
- disabled: boolean;
103
- prependIcon: string;
104
- appendIcon: string;
105
- icon: boolean;
106
- size: string;
107
- height: string;
108
- block: boolean;
109
- }>>> & {
110
- onClick?: ((...args: any[]) => any) | undefined;
111
- }, {
112
- height: string;
113
- size: ButtonSize;
114
- disabled: boolean;
115
- variant: ButtonType;
116
- block: boolean;
117
- icon: boolean;
118
- loading: boolean;
119
- prependIcon: string;
120
- appendIcon: string;
121
- }, {}>, {
122
- prepend?(_: {
123
- onlyIcon: boolean;
124
- }): any;
125
- default?(_: {
126
- disabled: boolean;
127
- }): any;
128
- append?(_: {
129
- onlyIcon: boolean;
130
- }): any;
131
- }>;
132
- export default _default;
133
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
134
- declare type __VLS_TypePropsToRuntimeProps<T> = {
135
- [K in keyof T]-?: {} extends Pick<T, K> ? {
136
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
137
- } : {
138
- type: PropType<T[K]>;
139
- required: true;
140
- };
141
- };
142
- declare type __VLS_WithDefaults<P, D> = {
143
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
144
- default: D[K];
145
- }> : P[K];
146
- };
147
- declare type __VLS_Prettify<T> = {
148
- [K in keyof T]: T[K];
149
- } & {};
150
- declare type __VLS_WithTemplateSlots<T, S> = T & {
151
- new (): {
152
- $slots: S;
153
- };
154
- };
155
- //# sourceMappingURL=RButton.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/RButton.vue"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAA;AAIrB,oBAAY,UAAU,GAClB,SAAS,GACT,MAAM,GACN,SAAS,CAAA;AAEb,oBAAY,WAAW,GAAK,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;AAC/F,oBAAY,UAAU,GAAK,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AACvD,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,UAAU,CAAA;IAEpB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,WAAW,CAAA;IAEnB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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