@rocketui/vue 0.2.68 → 0.2.70

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 (57) hide show
  1. package/dist/rocket-ui-vue.js +912 -896
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/Accordion/RAccordion.vue.d.ts +70 -0
  5. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  6. package/dist/types/components/Alert/RAlert.vue.d.ts +109 -0
  7. package/dist/types/components/Alert/RAlert.vue.d.ts.map +1 -0
  8. package/dist/types/components/Avatar/RAvatar.vue.d.ts +92 -0
  9. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  10. package/dist/types/components/Badge/RBadge.vue.d.ts +143 -0
  11. package/dist/types/components/Badge/RBadge.vue.d.ts.map +1 -0
  12. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  13. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  14. package/dist/types/components/Button/RButton.vue.d.ts +155 -0
  15. package/dist/types/components/Button/RButton.vue.d.ts.map +1 -0
  16. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +120 -0
  17. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  18. package/dist/types/components/Chips/RChip.vue.d.ts +132 -0
  19. package/dist/types/components/Chips/RChip.vue.d.ts.map +1 -0
  20. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +415 -0
  21. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  22. package/dist/types/components/Icon/RIcon.vue.d.ts +59 -0
  23. package/dist/types/components/Icon/RIcon.vue.d.ts.map +1 -0
  24. package/dist/types/components/ItemGroup/RItem.vue.d.ts +65 -0
  25. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  26. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  27. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  28. package/dist/types/components/Label/RLabel.vue.d.ts +68 -0
  29. package/dist/types/components/Label/RLabel.vue.d.ts.map +1 -0
  30. package/dist/types/components/Modal/RModal.vue.d.ts +183 -0
  31. package/dist/types/components/Modal/RModal.vue.d.ts.map +1 -0
  32. package/dist/types/components/Pagination/RPagination.vue.d.ts +110 -0
  33. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +1 -0
  34. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  35. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  36. package/dist/types/components/Radio/RRadio.vue.d.ts +66 -0
  37. package/dist/types/components/Radio/RRadio.vue.d.ts.map +1 -0
  38. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +53 -0
  39. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  40. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  41. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  42. package/dist/types/components/Switch/RSwitch.vue.d.ts +135 -0
  43. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +1 -0
  44. package/dist/types/components/TabItem/RTabItem.vue.d.ts +155 -0
  45. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  46. package/dist/types/components/Tabs/RTabs.vue.d.ts +95 -0
  47. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +1 -0
  48. package/dist/types/components/TextArea/RTextArea.vue.d.ts +120 -0
  49. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  50. package/dist/types/components/Textfield/RTextfield.vue.d.ts +249 -0
  51. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  52. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +253 -0
  53. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  54. package/dist/types/lib/main.d.ts +26 -0
  55. package/dist/types/lib/main.d.ts.map +1 -0
  56. package/package.json +1 -1
  57. package/dist/rocket-ui-vue.d.ts +0 -3306
@@ -0,0 +1,143 @@
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
@@ -0,0 +1 @@
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,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0HD,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"}
@@ -0,0 +1,50 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,155 @@
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
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgLD,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"}
@@ -0,0 +1,120 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, 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
+ * Hide the hint and error message
66
+ * @type {boolean}
67
+ * @default false
68
+ * @example
69
+ * <Checkbox hideDetails />
70
+ */
71
+ hideDetails?: boolean;
72
+ }
73
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
74
+ id: string;
75
+ label: string;
76
+ indeterminate: boolean;
77
+ disabled: boolean;
78
+ hint: string;
79
+ errorMsg: string;
80
+ modelValue: boolean;
81
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
82
+ "update:modelValue": (...args: any[]) => void;
83
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
84
+ id: string;
85
+ label: string;
86
+ indeterminate: boolean;
87
+ disabled: boolean;
88
+ hint: string;
89
+ errorMsg: string;
90
+ modelValue: boolean;
91
+ }>>> & {
92
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
93
+ }, {
94
+ label: string;
95
+ disabled: boolean | "true" | "false";
96
+ id: string | undefined;
97
+ indeterminate: boolean;
98
+ modelValue: any[] | Set<any> | (boolean | "true" | "false");
99
+ hint: string;
100
+ errorMsg: string;
101
+ }, {}>;
102
+ export default _default;
103
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
104
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
105
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
106
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
107
+ } : {
108
+ type: PropType<T[K]>;
109
+ required: true;
110
+ };
111
+ };
112
+ declare type __VLS_WithDefaults<P, D> = {
113
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
114
+ default: D[K];
115
+ }> : P[K];
116
+ };
117
+ declare type __VLS_Prettify<T> = {
118
+ [K in keyof T]: T[K];
119
+ } & {};
120
+ //# sourceMappingURL=RCheckbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/RCheckbox.vue"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,CAAA;AACvB,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAIzB,MAAM,KAAK,CAAA;AAIZ,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAA;IAE3C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAElC;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAA;IAEpD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAA;IAE1C;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiPD,wBAOG;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"}
@@ -0,0 +1,132 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface Props {
3
+ /**
4
+ * Variant of the Chip
5
+ * @type 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info'
6
+ * @default 'primary'
7
+ * @example
8
+ * <Chip variant="primary" />
9
+ */
10
+ variant: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
11
+ /**
12
+ * Label of the Chip
13
+ * @type string | number
14
+ * @default 'label'
15
+ * @example
16
+ * <Chip label="Label" />
17
+ */
18
+ label?: string | number;
19
+ /**
20
+ * Disabled state of the Chip
21
+ * @type boolean
22
+ * @default false
23
+ * @example
24
+ * <Chip disabled />
25
+ */
26
+ disabled?: boolean;
27
+ /**
28
+ * Prepend icon of the Chip
29
+ * @type string
30
+ * @default ''
31
+ * @example
32
+ * <Chip prependIcon="icon" />
33
+ */
34
+ prependIcon?: string;
35
+ /**
36
+ * Append icon of the Chip
37
+ * @type string
38
+ * @default ''
39
+ * @example
40
+ * <Chip appendIcon="icon" />
41
+ */
42
+ appendIcon?: string;
43
+ /**
44
+ * Ghost state of the Chip
45
+ * @type boolean
46
+ * @default false
47
+ * @example
48
+ * <Chip ghost />
49
+ */
50
+ ghost?: boolean;
51
+ /**
52
+ * Clearable state of the Chip
53
+ * @type boolean
54
+ * @default false
55
+ * @example
56
+ * <Chip clearable />
57
+ */
58
+ clearable?: boolean;
59
+ /**
60
+ * No wrap state of the Chip
61
+ * @type boolean
62
+ * @default false
63
+ * @example
64
+ * <Chip noWrap />
65
+ */
66
+ noWrap?: boolean;
67
+ }
68
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
69
+ variant: string;
70
+ label: string;
71
+ disabled: boolean;
72
+ prependIcon: string;
73
+ appendIcon: string;
74
+ ghost: boolean;
75
+ clearable: boolean;
76
+ noWrap: boolean;
77
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
78
+ "click:chip": (...args: any[]) => void;
79
+ "click:close": (...args: any[]) => void;
80
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
81
+ variant: string;
82
+ label: string;
83
+ disabled: boolean;
84
+ prependIcon: string;
85
+ appendIcon: string;
86
+ ghost: boolean;
87
+ clearable: boolean;
88
+ noWrap: boolean;
89
+ }>>> & {
90
+ "onClick:chip"?: ((...args: any[]) => any) | undefined;
91
+ "onClick:close"?: ((...args: any[]) => any) | undefined;
92
+ }, {
93
+ label: string | number;
94
+ disabled: boolean;
95
+ ghost: boolean;
96
+ variant: "success" | "error" | "warning" | "info" | "primary" | "secondary";
97
+ prependIcon: string;
98
+ appendIcon: string;
99
+ clearable: boolean;
100
+ noWrap: boolean;
101
+ }, {}>, {
102
+ prepend?(_: {
103
+ disabled: boolean;
104
+ }): any;
105
+ append?(_: {
106
+ disabled: boolean;
107
+ }): any;
108
+ }>;
109
+ export default _default;
110
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
112
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
113
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
114
+ } : {
115
+ type: PropType<T[K]>;
116
+ required: true;
117
+ };
118
+ };
119
+ declare type __VLS_WithDefaults<P, D> = {
120
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
121
+ default: D[K];
122
+ }> : P[K];
123
+ };
124
+ declare type __VLS_Prettify<T> = {
125
+ [K in keyof T]: T[K];
126
+ } & {};
127
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
128
+ new (): {
129
+ $slots: S;
130
+ };
131
+ };
132
+ //# sourceMappingURL=RChip.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RChip.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chips/RChip.vue"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAE3E;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;;;;;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,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiMD,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"}