@rocketui/vue 0.1.25 → 0.2.0

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 (158) hide show
  1. package/dist/rocket-ui-vue.d.ts +2999 -0
  2. package/dist/rocket-ui-vue.js +795 -709
  3. package/dist/rocket-ui-vue.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +12 -12
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -79
  7. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -41
  9. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  10. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  11. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  12. package/dist/src/components/Alert/Alert.stories.d.ts +0 -455
  13. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  14. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -105
  15. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  16. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  17. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  18. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  19. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  20. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  21. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  22. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  23. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  24. package/dist/src/components/Badge/Badge.stories.d.ts +0 -220
  25. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  26. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -109
  27. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  28. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  29. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  30. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  31. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  33. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  35. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  36. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  37. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  38. package/dist/src/components/Button/Button.stories.d.ts +0 -541
  39. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  40. package/dist/src/components/Button/RButton.vue.d.ts +0 -149
  41. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  43. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  45. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  46. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  47. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  48. package/dist/src/components/Chips/Chip.stories.d.ts +0 -499
  49. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  50. package/dist/src/components/Chips/RChip.vue.d.ts +0 -117
  51. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  52. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  53. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  54. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -485
  55. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -289
  57. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  58. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  59. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  60. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  61. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  62. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  63. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  64. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  65. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  66. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  67. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -75
  69. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  71. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  72. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  73. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  74. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  75. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  76. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  77. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  78. package/dist/src/components/Modal/Modal.stories.d.ts +0 -322
  79. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  80. package/dist/src/components/Modal/RModal.vue.d.ts +0 -171
  81. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  82. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  83. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -171
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -54
  87. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  88. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  89. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  90. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  91. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  92. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  93. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  94. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  95. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  96. package/dist/src/components/Shared/Enums.d.ts +0 -2
  97. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  98. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -49
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  100. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -159
  101. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  102. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  103. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  104. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  106. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  107. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  108. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  109. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  110. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -127
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  112. package/dist/src/components/Switch/Switch.stories.d.ts +0 -96
  113. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  114. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  115. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  116. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -148
  117. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  118. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  119. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  120. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -288
  121. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  122. package/dist/src/components/TabItem/common.d.ts +0 -7
  123. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  124. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  125. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  126. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  127. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  128. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -186
  129. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  130. package/dist/src/components/Tabs/types.d.ts +0 -11
  131. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  132. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  134. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  135. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  136. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  137. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  138. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -241
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  140. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -451
  141. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  142. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  143. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  144. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -252
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  146. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -458
  147. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  148. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  149. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  150. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  151. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  152. package/dist/src/directives/index.d.ts +0 -5
  153. package/dist/src/directives/index.d.ts.map +0 -1
  154. package/dist/src/lib/main.d.ts +0 -25
  155. package/dist/src/lib/main.d.ts.map +0 -1
  156. package/dist/src/main.d.ts +0 -1
  157. package/dist/src/main.d.ts.map +0 -1
  158. package/dist/src/shims.d.ts +0 -9
@@ -1,288 +0,0 @@
1
- import { TabItemVariant, TabItemVariants } from './common';
2
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
- import type { Meta, StoryObj } from '@storybook/vue3';
4
- declare const TabItemStory: Meta<{
5
- new (...args: any[]): {
6
- $: ComponentInternalInstance;
7
- $data: {};
8
- $props: Partial<{
9
- label: string;
10
- variant: TabItemVariant;
11
- color: string;
12
- disabled: boolean;
13
- prependIcon: string;
14
- appendIcon: string;
15
- block: boolean;
16
- modelValue: string | number;
17
- tile: boolean;
18
- }> & Omit<{
19
- readonly label: string;
20
- readonly variant: TabItemVariant;
21
- readonly color: string;
22
- readonly disabled: boolean;
23
- readonly prependIcon: string;
24
- readonly appendIcon: string;
25
- readonly block: boolean;
26
- readonly id: string | number;
27
- readonly modelValue: string | number;
28
- readonly tile: boolean;
29
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
31
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
32
- label: {
33
- type: PropType<string>;
34
- default: string;
35
- };
36
- variant: {
37
- type: PropType<TabItemVariant>;
38
- default: TabItemVariants;
39
- };
40
- color: {
41
- type: PropType<string>;
42
- default: string;
43
- };
44
- disabled: {
45
- type: PropType<boolean>;
46
- default: boolean;
47
- };
48
- prependIcon: {
49
- type: PropType<string>;
50
- default: string;
51
- };
52
- appendIcon: {
53
- type: PropType<string>;
54
- default: string;
55
- };
56
- block: {
57
- type: PropType<boolean>;
58
- default: boolean;
59
- };
60
- id: {
61
- type: PropType<string | number>;
62
- required: true;
63
- };
64
- modelValue: {
65
- type: PropType<string | number>;
66
- default: string;
67
- };
68
- tile: {
69
- type: PropType<boolean>;
70
- default: boolean;
71
- };
72
- }>> & {
73
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
74
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
75
- }, "label" | "variant" | "color" | "disabled" | "prependIcon" | "appendIcon" | "block" | "modelValue" | "tile">;
76
- $attrs: {
77
- [x: string]: unknown;
78
- };
79
- $refs: {
80
- [x: string]: unknown;
81
- };
82
- $slots: Readonly<{
83
- [name: string]: Slot<any> | undefined;
84
- }>;
85
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
86
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
87
- $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "click:icon", ...args: any[]) => void);
88
- $el: any;
89
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
90
- label: {
91
- type: PropType<string>;
92
- default: string;
93
- };
94
- variant: {
95
- type: PropType<TabItemVariant>;
96
- default: TabItemVariants;
97
- };
98
- color: {
99
- type: PropType<string>;
100
- default: string;
101
- };
102
- disabled: {
103
- type: PropType<boolean>;
104
- default: boolean;
105
- };
106
- prependIcon: {
107
- type: PropType<string>;
108
- default: string;
109
- };
110
- appendIcon: {
111
- type: PropType<string>;
112
- default: string;
113
- };
114
- block: {
115
- type: PropType<boolean>;
116
- default: boolean;
117
- };
118
- id: {
119
- type: PropType<string | number>;
120
- required: true;
121
- };
122
- modelValue: {
123
- type: PropType<string | number>;
124
- default: string;
125
- };
126
- tile: {
127
- type: PropType<boolean>;
128
- default: boolean;
129
- };
130
- }>> & {
131
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
132
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
133
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
134
- "update:modelValue": (...args: any[]) => void;
135
- "click:icon": (...args: any[]) => void;
136
- }, string, {
137
- label: string;
138
- variant: TabItemVariant;
139
- color: string;
140
- disabled: boolean;
141
- prependIcon: string;
142
- appendIcon: string;
143
- block: boolean;
144
- modelValue: string | number;
145
- tile: boolean;
146
- }, {}, string, {}> & {
147
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
148
- created?: ((() => void) | (() => void)[]) | undefined;
149
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
150
- mounted?: ((() => void) | (() => void)[]) | undefined;
151
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
152
- updated?: ((() => void) | (() => void)[]) | undefined;
153
- activated?: ((() => void) | (() => void)[]) | undefined;
154
- deactivated?: ((() => void) | (() => void)[]) | undefined;
155
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
156
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
157
- destroyed?: ((() => void) | (() => void)[]) | undefined;
158
- unmounted?: ((() => void) | (() => void)[]) | undefined;
159
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
160
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
161
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
162
- };
163
- $forceUpdate: () => void;
164
- $nextTick: typeof nextTick;
165
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
166
- } & Readonly<ExtractPropTypes<{
167
- label: {
168
- type: PropType<string>;
169
- default: string;
170
- };
171
- variant: {
172
- type: PropType<TabItemVariant>;
173
- default: TabItemVariants;
174
- };
175
- color: {
176
- type: PropType<string>;
177
- default: string;
178
- };
179
- disabled: {
180
- type: PropType<boolean>;
181
- default: boolean;
182
- };
183
- prependIcon: {
184
- type: PropType<string>;
185
- default: string;
186
- };
187
- appendIcon: {
188
- type: PropType<string>;
189
- default: string;
190
- };
191
- block: {
192
- type: PropType<boolean>;
193
- default: boolean;
194
- };
195
- id: {
196
- type: PropType<string | number>;
197
- required: true;
198
- };
199
- modelValue: {
200
- type: PropType<string | number>;
201
- default: string;
202
- };
203
- tile: {
204
- type: PropType<boolean>;
205
- default: boolean;
206
- };
207
- }>> & {
208
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
209
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
210
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
211
- __isFragment?: undefined;
212
- __isTeleport?: undefined;
213
- __isSuspense?: undefined;
214
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
215
- label: {
216
- type: PropType<string>;
217
- default: string;
218
- };
219
- variant: {
220
- type: PropType<TabItemVariant>;
221
- default: TabItemVariants;
222
- };
223
- color: {
224
- type: PropType<string>;
225
- default: string;
226
- };
227
- disabled: {
228
- type: PropType<boolean>;
229
- default: boolean;
230
- };
231
- prependIcon: {
232
- type: PropType<string>;
233
- default: string;
234
- };
235
- appendIcon: {
236
- type: PropType<string>;
237
- default: string;
238
- };
239
- block: {
240
- type: PropType<boolean>;
241
- default: boolean;
242
- };
243
- id: {
244
- type: PropType<string | number>;
245
- required: true;
246
- };
247
- modelValue: {
248
- type: PropType<string | number>;
249
- default: string;
250
- };
251
- tile: {
252
- type: PropType<boolean>;
253
- default: boolean;
254
- };
255
- }>> & {
256
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
257
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
258
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
259
- "update:modelValue": (...args: any[]) => void;
260
- "click:icon": (...args: any[]) => void;
261
- }, string, {
262
- label: string;
263
- variant: TabItemVariant;
264
- color: string;
265
- disabled: boolean;
266
- prependIcon: string;
267
- appendIcon: string;
268
- block: boolean;
269
- modelValue: string | number;
270
- tile: boolean;
271
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
272
- $slots: {
273
- prepend?(_: {}): any;
274
- append?(_: {}): any;
275
- };
276
- })>;
277
- export default TabItemStory;
278
- declare type Story = StoryObj<typeof TabItemStory>;
279
- export declare const Overview: Story;
280
- export declare const Default: Story;
281
- export declare const Icon: Story;
282
- export declare const Text: Story;
283
- export declare const Disabled: Story;
284
- export declare const Tile: Story;
285
- export declare const Block: Story;
286
- export declare const Active: Story;
287
- export declare const TwoIcons: Story;
288
- //# sourceMappingURL=TabItem.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabItem.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/TabItem.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAsBrD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAeO,CAAA;AAEzB,eAAe,YAAY,CAAA;AAE3B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAInB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA"}
@@ -1,7 +0,0 @@
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
@@ -1 +0,0 @@
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,CAAA;AACxD,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;CACd"}
@@ -1,95 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- import type { Tab } from './types';
3
- export interface IProps {
4
- /**
5
- * Tabs of the tabs
6
- * @type {Tab[]}
7
- * @default []
8
- * @example
9
- * <Tabs :tabs="[]" />
10
- */
11
- tabs?: Tab[];
12
- /**
13
- * Block state of the tabs
14
- * @type {boolean}
15
- * @default false
16
- * @example
17
- * <Tabs block />
18
- */
19
- block?: boolean;
20
- /**
21
- * Active tab of the tabs
22
- * @type {number | string}
23
- * @default tabs[0].id
24
- * @example
25
- * <Tabs v-model="activeTab" />
26
- */
27
- modelValue?: number | string;
28
- /**
29
- * Tile state of the tabs
30
- * @type {boolean}
31
- * @default false
32
- * @example
33
- * <Tabs tile />
34
- */
35
- tile?: boolean;
36
- /**
37
- * Scrollable state of the tabs
38
- * @type {boolean}
39
- * @default false
40
- * @example
41
- * <Tabs scrollable />
42
- */
43
- scrollable?: boolean;
44
- }
45
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
46
- tabs: () => never[];
47
- block: boolean;
48
- modelValue: string;
49
- tile: boolean;
50
- scrollable: boolean;
51
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
52
- "update:modelValue": (...args: any[]) => void;
53
- "click:icon": (...args: any[]) => void;
54
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
55
- tabs: () => never[];
56
- block: boolean;
57
- modelValue: string;
58
- tile: boolean;
59
- scrollable: boolean;
60
- }>>> & {
61
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
62
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
63
- }, {
64
- block: boolean;
65
- modelValue: string | number;
66
- tile: boolean;
67
- tabs: Tab[];
68
- scrollable: boolean;
69
- }, {}>, {
70
- default?(_: {}): any;
71
- }>;
72
- export default _default;
73
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- declare type __VLS_TypePropsToRuntimeProps<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: PropType<T[K]>;
79
- required: true;
80
- };
81
- };
82
- declare type __VLS_WithDefaults<P, D> = {
83
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
84
- default: D[K];
85
- }> : P[K];
86
- };
87
- declare type __VLS_Prettify<T> = {
88
- [K in keyof T]: T[K];
89
- } & {};
90
- declare type __VLS_WithTemplateSlots<T, S> = T & {
91
- new (): {
92
- $slots: S;
93
- };
94
- };
95
- //# sourceMappingURL=RTabs.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/RTabs.vue"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IAEZ;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE5B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4HD,wBAAwG;AAGxG,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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Tabs.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tabs.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.spec.ts"],"names":[],"mappings":""}
@@ -1,186 +0,0 @@
1
- import { Tab } from './types';
2
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
- import type { Meta, StoryObj } from '@storybook/vue3';
4
- declare const TabsStory: Meta<{
5
- new (...args: any[]): {
6
- $: ComponentInternalInstance;
7
- $data: {};
8
- $props: Partial<{
9
- block: boolean;
10
- modelValue: string | number;
11
- tile: boolean;
12
- tabs: Tab[];
13
- scrollable: boolean;
14
- }> & Omit<{
15
- readonly block: boolean;
16
- readonly modelValue: string | number;
17
- readonly tile: boolean;
18
- readonly tabs: Tab[];
19
- readonly scrollable: boolean;
20
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
22
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
23
- block: {
24
- type: PropType<boolean>;
25
- default: boolean;
26
- };
27
- modelValue: {
28
- type: PropType<string | number>;
29
- default: string;
30
- };
31
- tile: {
32
- type: PropType<boolean>;
33
- default: boolean;
34
- };
35
- tabs: {
36
- type: PropType<Tab[]>;
37
- default: () => never[];
38
- };
39
- scrollable: {
40
- type: PropType<boolean>;
41
- default: boolean;
42
- };
43
- }>> & {
44
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
46
- }, "block" | "modelValue" | "tile" | "tabs" | "scrollable">;
47
- $attrs: {
48
- [x: string]: unknown;
49
- };
50
- $refs: {
51
- [x: string]: unknown;
52
- };
53
- $slots: Readonly<{
54
- [name: string]: Slot<any> | undefined;
55
- }>;
56
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
57
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
58
- $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "click:icon", ...args: any[]) => void);
59
- $el: any;
60
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
61
- block: {
62
- type: PropType<boolean>;
63
- default: boolean;
64
- };
65
- modelValue: {
66
- type: PropType<string | number>;
67
- default: string;
68
- };
69
- tile: {
70
- type: PropType<boolean>;
71
- default: boolean;
72
- };
73
- tabs: {
74
- type: PropType<Tab[]>;
75
- default: () => never[];
76
- };
77
- scrollable: {
78
- type: PropType<boolean>;
79
- default: boolean;
80
- };
81
- }>> & {
82
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
83
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
84
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
85
- "update:modelValue": (...args: any[]) => void;
86
- "click:icon": (...args: any[]) => void;
87
- }, string, {
88
- block: boolean;
89
- modelValue: string | number;
90
- tile: boolean;
91
- tabs: Tab[];
92
- scrollable: boolean;
93
- }, {}, string, {}> & {
94
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
95
- created?: ((() => void) | (() => void)[]) | undefined;
96
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
97
- mounted?: ((() => void) | (() => void)[]) | undefined;
98
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
99
- updated?: ((() => void) | (() => void)[]) | undefined;
100
- activated?: ((() => void) | (() => void)[]) | undefined;
101
- deactivated?: ((() => void) | (() => void)[]) | undefined;
102
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
103
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
104
- destroyed?: ((() => void) | (() => void)[]) | undefined;
105
- unmounted?: ((() => void) | (() => void)[]) | undefined;
106
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
107
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
108
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
109
- };
110
- $forceUpdate: () => void;
111
- $nextTick: typeof nextTick;
112
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
113
- } & Readonly<ExtractPropTypes<{
114
- block: {
115
- type: PropType<boolean>;
116
- default: boolean;
117
- };
118
- modelValue: {
119
- type: PropType<string | number>;
120
- default: string;
121
- };
122
- tile: {
123
- type: PropType<boolean>;
124
- default: boolean;
125
- };
126
- tabs: {
127
- type: PropType<Tab[]>;
128
- default: () => never[];
129
- };
130
- scrollable: {
131
- type: PropType<boolean>;
132
- default: boolean;
133
- };
134
- }>> & {
135
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
136
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
137
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
138
- __isFragment?: undefined;
139
- __isTeleport?: undefined;
140
- __isSuspense?: undefined;
141
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
142
- block: {
143
- type: PropType<boolean>;
144
- default: boolean;
145
- };
146
- modelValue: {
147
- type: PropType<string | number>;
148
- default: string;
149
- };
150
- tile: {
151
- type: PropType<boolean>;
152
- default: boolean;
153
- };
154
- tabs: {
155
- type: PropType<Tab[]>;
156
- default: () => never[];
157
- };
158
- scrollable: {
159
- type: PropType<boolean>;
160
- default: boolean;
161
- };
162
- }>> & {
163
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
164
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
165
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
166
- "update:modelValue": (...args: any[]) => void;
167
- "click:icon": (...args: any[]) => void;
168
- }, string, {
169
- block: boolean;
170
- modelValue: string | number;
171
- tile: boolean;
172
- tabs: Tab[];
173
- scrollable: boolean;
174
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
175
- $slots: {
176
- default?(_: {}): any;
177
- };
178
- })>;
179
- export default TabsStory;
180
- declare type Story = StoryObj<typeof TabsStory>;
181
- export declare const Overview: Story;
182
- export declare const Default: Story;
183
- export declare const Icon: Story;
184
- export declare const Text: Story;
185
- export declare const Tile: Story;
186
- //# sourceMappingURL=Tabs.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAgBrD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkBO,CAAA;AAEtB,eAAe,SAAS,CAAA;AAExB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAA;AAEjC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA;AAEhC,eAAO,MAAM,IAAI,EAAE,KAkElB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAkElB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAA"}
@@ -1,11 +0,0 @@
1
- import type { TabItemVariant } from '../TabItem/common';
2
- export interface 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAEvD,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB"}