@rocketui/vue 0.0.53 → 0.0.55

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 (66) hide show
  1. package/dist/rocket-ui-vue.js +522 -514
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/src/components/Accordion/RAccordion.d.ts +41 -0
  4. package/dist/src/components/Accordion/RAccordion.d.ts.map +1 -0
  5. package/dist/src/components/Alert/RAlert.d.ts +125 -0
  6. package/dist/src/components/Alert/RAlert.d.ts.map +1 -0
  7. package/dist/src/components/Avatar/RAvatar.d.ts +110 -0
  8. package/dist/src/components/Avatar/RAvatar.d.ts.map +1 -0
  9. package/dist/src/components/Badge/RBadge.d.ts +119 -0
  10. package/dist/src/components/Badge/RBadge.d.ts.map +1 -0
  11. package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts +40 -0
  12. package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts.map +1 -0
  13. package/dist/src/components/Button/RButton.d.ts +206 -0
  14. package/dist/src/components/Button/RButton.d.ts.map +1 -0
  15. package/dist/src/components/Checkbox/RCheckbox.d.ts +137 -0
  16. package/dist/src/components/Checkbox/RCheckbox.d.ts.map +1 -0
  17. package/dist/src/components/Chips/RChip.d.ts +140 -0
  18. package/dist/src/components/Chips/RChip.d.ts.map +1 -0
  19. package/dist/src/components/Dropdown/RDropdown.d.ts +228 -0
  20. package/dist/src/components/Dropdown/RDropdown.d.ts.map +1 -0
  21. package/dist/src/components/Icon/RIcon.d.ts +62 -0
  22. package/dist/src/components/Icon/RIcon.d.ts.map +1 -0
  23. package/dist/src/components/ItemGroup/RItem.d.ts +75 -0
  24. package/dist/src/components/ItemGroup/RItem.d.ts.map +1 -0
  25. package/dist/src/components/ItemGroup/RItemGroup.d.ts +145 -0
  26. package/dist/src/components/ItemGroup/RItemGroup.d.ts.map +1 -0
  27. package/dist/src/components/Label/RLabel.d.ts +75 -0
  28. package/dist/src/components/Label/RLabel.d.ts.map +1 -0
  29. package/dist/src/components/Modal/RModal.d.ts +145 -0
  30. package/dist/src/components/Modal/RModal.d.ts.map +1 -0
  31. package/dist/src/components/Pagination/RPagination.d.ts +84 -0
  32. package/dist/src/components/Pagination/RPagination.d.ts.map +1 -0
  33. package/dist/src/components/ProgressBar/RProgressbar.d.ts +30 -0
  34. package/dist/src/components/ProgressBar/RProgressbar.d.ts.map +1 -0
  35. package/dist/src/components/Shared/Enums.d.ts +2 -0
  36. package/dist/src/components/Shared/Enums.d.ts.map +1 -0
  37. package/dist/src/components/Sidebar/RSidebar.d.ts +28 -0
  38. package/dist/src/components/Sidebar/RSidebar.d.ts.map +1 -0
  39. package/dist/src/components/Snackbar/RSnackbar.d.ts +138 -0
  40. package/dist/src/components/Snackbar/RSnackbar.d.ts.map +1 -0
  41. package/dist/src/components/Switch/RSwitch.d.ts +136 -0
  42. package/dist/src/components/Switch/RSwitch.d.ts.map +1 -0
  43. package/dist/src/components/TabItem/RTabItem.d.ts +189 -0
  44. package/dist/src/components/TabItem/RTabItem.d.ts.map +1 -0
  45. package/dist/src/components/TabItem/common.d.ts +7 -0
  46. package/dist/src/components/TabItem/common.d.ts.map +1 -0
  47. package/dist/src/components/Tabs/RTabs.d.ts +87 -0
  48. package/dist/src/components/Tabs/RTabs.d.ts.map +1 -0
  49. package/dist/src/components/Tabs/types.d.ts +11 -0
  50. package/dist/src/components/Tabs/types.d.ts.map +1 -0
  51. package/dist/src/components/TextArea/RTextArea.d.ts +137 -0
  52. package/dist/src/components/TextArea/RTextArea.d.ts.map +1 -0
  53. package/dist/src/components/Textfield/RTextfield.d.ts +268 -0
  54. package/dist/src/components/Textfield/RTextfield.d.ts.map +1 -0
  55. package/dist/src/components/Tooltip/RTooltip.d.ts +278 -0
  56. package/dist/src/components/Tooltip/RTooltip.d.ts.map +1 -0
  57. package/dist/src/components/Tooltip/common.d.ts +24 -0
  58. package/dist/src/components/Tooltip/common.d.ts.map +1 -0
  59. package/dist/src/directives/index.d.ts +5 -0
  60. package/dist/src/directives/index.d.ts.map +1 -0
  61. package/dist/src/main.d.ts +1 -0
  62. package/dist/src/main.d.ts.map +1 -0
  63. package/dist/src/shims.d.ts +9 -0
  64. package/dist/style.css +1 -1
  65. package/package.json +8 -8
  66. package/dist/rocket-ui-vue.d.ts +0 -1812
@@ -0,0 +1,136 @@
1
+ import { type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
+ export interface Props {
3
+ /**
4
+ * id of the checkbox
5
+ * @type HTMLAttributes['id']
6
+ * @default ''
7
+ * @example
8
+ * <Checkbox id="checkbox" />
9
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
+ */
11
+ id: HTMLAttributes['id'];
12
+ /**
13
+ * Input checked state
14
+ * @type InputHTMLAttributes['checked']
15
+ * @default false
16
+ * @example
17
+ * <Checkbox modelValue="true" />
18
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
19
+ */
20
+ modelValue?: InputHTMLAttributes['checked'];
21
+ /**
22
+ * Input disabled state
23
+ * @type InputHTMLAttributes['disabled']
24
+ * @default false
25
+ * @example
26
+ * <Checkbox disabled="true" />
27
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
28
+ */
29
+ disabled?: InputHTMLAttributes['disabled'];
30
+ /**
31
+ * label of the checkbox
32
+ * @type LabelHTMLAttributes['label']
33
+ * @default ''
34
+ * @example
35
+ * <Checkbox label="Checkbox" />
36
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
37
+ */
38
+ label?: LabelHTMLAttributes['for'];
39
+ /**
40
+ * Hint text
41
+ * @type string
42
+ * @default ''
43
+ * @example
44
+ * <Checkbox hint="This is a hint" />
45
+ */
46
+ hint?: string;
47
+ /**
48
+ * Error message
49
+ * @type string
50
+ * @default ''
51
+ * @example
52
+ * <Checkbox errorMsg="This is an error" />
53
+ */
54
+ errorMsg?: string;
55
+ /**
56
+ * Size of the checkbox
57
+ * @type 'small' | 'medium' | 'large'
58
+ * @default 'medium'
59
+ * @example
60
+ * <Checkbox size="small" />
61
+ */
62
+ size?: 'small' | 'medium' | 'large';
63
+ }
64
+ declare const _default: import("vue").DefineComponent<{
65
+ label: {
66
+ type: import("vue").PropType<string>;
67
+ default: string;
68
+ };
69
+ id: {
70
+ type: import("vue").PropType<string | undefined>;
71
+ required: true;
72
+ default: string;
73
+ };
74
+ size: {
75
+ type: import("vue").PropType<"small" | "medium" | "large">;
76
+ default: string;
77
+ };
78
+ disabled: {
79
+ type: import("vue").PropType<boolean | "true" | "false">;
80
+ default: boolean;
81
+ };
82
+ modelValue: {
83
+ type: import("vue").PropType<any[] | Set<any> | (boolean | "true" | "false")>;
84
+ default: boolean;
85
+ };
86
+ hint: {
87
+ type: import("vue").PropType<string>;
88
+ default: string;
89
+ };
90
+ errorMsg: {
91
+ type: import("vue").PropType<string>;
92
+ default: string;
93
+ };
94
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
95
+ label: {
96
+ type: import("vue").PropType<string>;
97
+ default: string;
98
+ };
99
+ id: {
100
+ type: import("vue").PropType<string | undefined>;
101
+ required: true;
102
+ default: string;
103
+ };
104
+ size: {
105
+ type: import("vue").PropType<"small" | "medium" | "large">;
106
+ default: string;
107
+ };
108
+ disabled: {
109
+ type: import("vue").PropType<boolean | "true" | "false">;
110
+ default: boolean;
111
+ };
112
+ modelValue: {
113
+ type: import("vue").PropType<any[] | Set<any> | (boolean | "true" | "false")>;
114
+ default: boolean;
115
+ };
116
+ hint: {
117
+ type: import("vue").PropType<string>;
118
+ default: string;
119
+ };
120
+ errorMsg: {
121
+ type: import("vue").PropType<string>;
122
+ default: string;
123
+ };
124
+ }>> & {
125
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
126
+ }, {
127
+ label: string;
128
+ id: string | undefined;
129
+ size: "small" | "medium" | "large";
130
+ disabled: boolean | "true" | "false";
131
+ modelValue: any[] | Set<any> | (boolean | "true" | "false");
132
+ hint: string;
133
+ errorMsg: string;
134
+ }>;
135
+ export default _default;
136
+ //# sourceMappingURL=RSwitch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/RSwitch"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,KAAK,CAAC;AACb,OAAO,cAAc,CAAC;AACtB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAE5C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAE3C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAEnC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmLD,wBAAkD"}
@@ -0,0 +1,189 @@
1
+ import { TabItemVariants, type TabItemVariant } from './common';
2
+ export interface IProps {
3
+ /**
4
+ * Id of the tab item
5
+ * @type string | number
6
+ * @default ''
7
+ * @example
8
+ * <TabItem id="1" />
9
+ */
10
+ id: string | number;
11
+ /**
12
+ * Variant of the tab item
13
+ * @type TabItemVariant
14
+ * @default TabItemVariants.DEFAULT
15
+ * @example
16
+ * <TabItem variant="default" />
17
+ */
18
+ variant?: TabItemVariant;
19
+ /**
20
+ * Label of the tab item
21
+ * @type string
22
+ * @default ''
23
+ * @example
24
+ * <TabItem label="Label" />
25
+ */
26
+ label?: string;
27
+ /**
28
+ * prependIcon of the tab item
29
+ * @type string
30
+ * @default ''
31
+ * @example
32
+ * <TabItem prependIcon="prependIcon" />
33
+ */
34
+ prependIcon?: string;
35
+ /**
36
+ * appendIcon of the tab item
37
+ * @type string
38
+ * @default ''
39
+ * @example
40
+ * <TabItem appendIcon="appendIcon" />
41
+ */
42
+ appendIcon?: string;
43
+ /**
44
+ * Disabled state of the tab item
45
+ * @type ButtonHTMLAttributes['disabled']
46
+ * @default false
47
+ * @example
48
+ * <TabItem disabled />
49
+ */
50
+ disabled?: boolean;
51
+ /**
52
+ * Model value of the tab item
53
+ * @type string | number
54
+ * @default ''
55
+ * @example
56
+ * <TabItem v-model="model" />
57
+ */
58
+ modelValue?: string | number;
59
+ /**
60
+ * Tile state of the tab item
61
+ * @type boolean
62
+ * @default false
63
+ * @example
64
+ * <TabItem tile />
65
+ */
66
+ tile?: boolean;
67
+ /**
68
+ * Block state of the tab item
69
+ * @type boolean
70
+ * @default false
71
+ * @example
72
+ * <TabItem block />
73
+ */
74
+ block?: boolean;
75
+ /**
76
+ * Color of the tab item
77
+ * @type string
78
+ * @default ''
79
+ * @example
80
+ * <TabItem color="" />
81
+ */
82
+ color?: string;
83
+ }
84
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
85
+ label: {
86
+ type: import("vue").PropType<string>;
87
+ default: string;
88
+ };
89
+ id: {
90
+ type: import("vue").PropType<string | number>;
91
+ required: true;
92
+ };
93
+ color: {
94
+ type: import("vue").PropType<string>;
95
+ default: string;
96
+ };
97
+ disabled: {
98
+ type: import("vue").PropType<boolean>;
99
+ default: boolean;
100
+ };
101
+ variant: {
102
+ type: import("vue").PropType<TabItemVariant>;
103
+ default: TabItemVariants;
104
+ };
105
+ block: {
106
+ type: import("vue").PropType<boolean>;
107
+ default: boolean;
108
+ };
109
+ prependIcon: {
110
+ type: import("vue").PropType<string>;
111
+ default: string;
112
+ };
113
+ appendIcon: {
114
+ type: import("vue").PropType<string>;
115
+ default: string;
116
+ };
117
+ modelValue: {
118
+ type: import("vue").PropType<string | number>;
119
+ default: string;
120
+ };
121
+ tile: {
122
+ type: import("vue").PropType<boolean>;
123
+ default: boolean;
124
+ };
125
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "click:icon")[], "update:modelValue" | "click:icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
126
+ label: {
127
+ type: import("vue").PropType<string>;
128
+ default: string;
129
+ };
130
+ id: {
131
+ type: import("vue").PropType<string | number>;
132
+ required: true;
133
+ };
134
+ color: {
135
+ type: import("vue").PropType<string>;
136
+ default: string;
137
+ };
138
+ disabled: {
139
+ type: import("vue").PropType<boolean>;
140
+ default: boolean;
141
+ };
142
+ variant: {
143
+ type: import("vue").PropType<TabItemVariant>;
144
+ default: TabItemVariants;
145
+ };
146
+ block: {
147
+ type: import("vue").PropType<boolean>;
148
+ default: boolean;
149
+ };
150
+ prependIcon: {
151
+ type: import("vue").PropType<string>;
152
+ default: string;
153
+ };
154
+ appendIcon: {
155
+ type: import("vue").PropType<string>;
156
+ default: string;
157
+ };
158
+ modelValue: {
159
+ type: import("vue").PropType<string | number>;
160
+ default: string;
161
+ };
162
+ tile: {
163
+ type: import("vue").PropType<boolean>;
164
+ default: boolean;
165
+ };
166
+ }>> & {
167
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
168
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
169
+ }, {
170
+ label: string;
171
+ color: string;
172
+ disabled: boolean;
173
+ variant: TabItemVariant;
174
+ block: boolean;
175
+ prependIcon: string;
176
+ appendIcon: string;
177
+ modelValue: string | number;
178
+ tile: boolean;
179
+ }>, {
180
+ prepend?(_: {}): any;
181
+ append?(_: {}): any;
182
+ }>;
183
+ export default _default;
184
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
185
+ new (): {
186
+ $slots: S;
187
+ };
188
+ };
189
+ //# sourceMappingURL=RTabItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/RTabItem"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAChE,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;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,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkLD,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,7 @@
1
+ export declare type TabItemVariant = 'default' | 'text' | 'icon';
2
+ export declare enum TabItemVariants {
3
+ DEFAULT = "default",
4
+ TEXT = "text",
5
+ ICON = "icon"
6
+ }
7
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/common.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AACzD,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;CACd"}
@@ -0,0 +1,87 @@
1
+ import type { Tab } from './types';
2
+ export interface IProps {
3
+ /**
4
+ * Tabs of the tabs
5
+ * @type Tab[]
6
+ * @default []
7
+ * @example
8
+ * <Tabs :tabs="[]" />
9
+ */
10
+ tabs?: Tab[];
11
+ /**
12
+ * Block state of the tabs
13
+ * @type boolean
14
+ * @default false
15
+ * @example
16
+ * <Tabs block />
17
+ */
18
+ block?: boolean;
19
+ /**
20
+ * Active tab of the tabs
21
+ * @type number | string
22
+ * @default tabs[0].id
23
+ * @example
24
+ * <Tabs v-model="activeTab" />
25
+ */
26
+ modelValue?: number | string;
27
+ /**
28
+ * Tile state of the tabs
29
+ * @type boolean
30
+ * @default false
31
+ * @example
32
+ * <Tabs tile />
33
+ */
34
+ tile?: boolean;
35
+ }
36
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
+ block: {
38
+ type: import("vue").PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ modelValue: {
42
+ type: import("vue").PropType<string | number>;
43
+ default: string;
44
+ };
45
+ tile: {
46
+ type: import("vue").PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ tabs: {
50
+ type: import("vue").PropType<Tab[]>;
51
+ default: () => never[];
52
+ };
53
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "click:icon")[], "update:modelValue" | "click:icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
54
+ block: {
55
+ type: import("vue").PropType<boolean>;
56
+ default: boolean;
57
+ };
58
+ modelValue: {
59
+ type: import("vue").PropType<string | number>;
60
+ default: string;
61
+ };
62
+ tile: {
63
+ type: import("vue").PropType<boolean>;
64
+ default: boolean;
65
+ };
66
+ tabs: {
67
+ type: import("vue").PropType<Tab[]>;
68
+ default: () => never[];
69
+ };
70
+ }>> & {
71
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
72
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
73
+ }, {
74
+ block: boolean;
75
+ modelValue: string | number;
76
+ tile: boolean;
77
+ tabs: Tab[];
78
+ }>, {
79
+ default?(_: {}): any;
80
+ }>;
81
+ export default _default;
82
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
83
+ new (): {
84
+ $slots: S;
85
+ };
86
+ };
87
+ //# sourceMappingURL=RTabs.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/RTabs"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAInC,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IAEb;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoHD,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,11 @@
1
+ import type { TabItemVariant } from '../TabItem/common';
2
+ export declare type Tab = {
3
+ id: string | number;
4
+ variant?: TabItemVariant;
5
+ label?: string;
6
+ prependIcon?: string;
7
+ appendIcon?: string;
8
+ disabled?: boolean;
9
+ active?: boolean;
10
+ };
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,oBAAY,GAAG,GAAG;IAChB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC"}
@@ -0,0 +1,137 @@
1
+ import { type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
+ export interface IProps {
3
+ /**
4
+ * id of the textarea
5
+ * @type HTMLAttributes['id']
6
+ * @default ''
7
+ * @example
8
+ * <TextArea id="textarea" />
9
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
+ */
11
+ id: HTMLAttributes['id'];
12
+ /**
13
+ * Input value
14
+ * @type InputHTMLAttributes['value'];
15
+ * @default ''
16
+ * @example
17
+ * <TextArea modelValue="Hello" />
18
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
19
+ */
20
+ modelValue?: InputHTMLAttributes['value'];
21
+ /**
22
+ * label of the textarea
23
+ * @type LabelHTMLAttributes['label']
24
+ * @default ''
25
+ * @example
26
+ * <TextArea label="TextArea" />
27
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
28
+ */
29
+ label?: LabelHTMLAttributes['for'];
30
+ /**
31
+ * Placeholder text
32
+ * @type InputHTMLAttributes['placeholder'];
33
+ * @default ''
34
+ * @example
35
+ * <TextArea placeholder="Placeholder" />
36
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
37
+ */
38
+ placeholder?: InputHTMLAttributes['placeholder'];
39
+ /**
40
+ * Disabled state
41
+ * @type InputHTMLAttributes['disabled'];
42
+ * @default false
43
+ * @example
44
+ * <TextArea disabled />
45
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
46
+ */
47
+ disabled?: InputHTMLAttributes['disabled'];
48
+ /**
49
+ * Hint text
50
+ * @type string
51
+ * @default 'This is a hint'
52
+ * @example
53
+ * <TextArea hint="This is a hint" />
54
+ */
55
+ hint?: string;
56
+ /**
57
+ * Error message
58
+ * @type string
59
+ * @default ''
60
+ * @example
61
+ * <TextArea errorMsg="This is an error" />
62
+ */
63
+ errorMsg?: string;
64
+ }
65
+ declare const _default: import("vue").DefineComponent<{
66
+ label: {
67
+ type: import("vue").PropType<string>;
68
+ default: string;
69
+ };
70
+ id: {
71
+ type: import("vue").PropType<string | undefined>;
72
+ required: true;
73
+ default: string;
74
+ };
75
+ placeholder: {
76
+ type: import("vue").PropType<string>;
77
+ default: string;
78
+ };
79
+ disabled: {
80
+ type: import("vue").PropType<boolean | "true" | "false">;
81
+ default: boolean;
82
+ };
83
+ modelValue: {
84
+ type: import("vue").PropType<any>;
85
+ default: string;
86
+ };
87
+ hint: {
88
+ type: import("vue").PropType<string>;
89
+ default: string;
90
+ };
91
+ errorMsg: {
92
+ type: import("vue").PropType<string>;
93
+ default: string;
94
+ };
95
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
96
+ label: {
97
+ type: import("vue").PropType<string>;
98
+ default: string;
99
+ };
100
+ id: {
101
+ type: import("vue").PropType<string | undefined>;
102
+ required: true;
103
+ default: string;
104
+ };
105
+ placeholder: {
106
+ type: import("vue").PropType<string>;
107
+ default: string;
108
+ };
109
+ disabled: {
110
+ type: import("vue").PropType<boolean | "true" | "false">;
111
+ default: boolean;
112
+ };
113
+ modelValue: {
114
+ type: import("vue").PropType<any>;
115
+ default: string;
116
+ };
117
+ hint: {
118
+ type: import("vue").PropType<string>;
119
+ default: string;
120
+ };
121
+ errorMsg: {
122
+ type: import("vue").PropType<string>;
123
+ default: string;
124
+ };
125
+ }>> & {
126
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
127
+ }, {
128
+ label: string;
129
+ id: string | undefined;
130
+ placeholder: string;
131
+ disabled: boolean | "true" | "false";
132
+ modelValue: any;
133
+ hint: string;
134
+ errorMsg: string;
135
+ }>;
136
+ export default _default;
137
+ //# sourceMappingURL=RTextArea.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/RTextArea"],"names":[],"mappings":"AAGA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,KAAK,CAAC;AACb,MAAM,WAAW,MAAM;IACrB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE1C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAEnC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC;IAEjD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAE3C;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuJD,wBAAkD"}