@rocketui/vue 0.2.80 → 0.2.81

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 (161) hide show
  1. package/dist/rocket-ui-vue.d.ts +3348 -0
  2. package/package.json +1 -1
  3. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -116
  4. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  5. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -70
  6. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  7. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  8. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  9. package/dist/src/components/Alert/Alert.stories.d.ts +0 -461
  10. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  11. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -109
  12. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  13. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  14. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  15. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  16. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  17. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  18. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  19. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  20. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  21. package/dist/src/components/Badge/Badge.stories.d.ts +0 -281
  22. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  23. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -143
  24. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  25. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  26. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  27. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  28. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  29. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  30. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  31. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  32. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  33. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  34. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  35. package/dist/src/components/Button/Button.stories.d.ts +0 -553
  36. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  37. package/dist/src/components/Button/RButton.vue.d.ts +0 -155
  38. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  39. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  40. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  41. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  42. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  43. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  44. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  45. package/dist/src/components/Chips/Chip.stories.d.ts +0 -547
  46. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  47. package/dist/src/components/Chips/RChip.vue.d.ts +0 -132
  48. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  49. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  50. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  51. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -690
  52. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  53. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -418
  54. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  55. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  56. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  57. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  58. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  59. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  60. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  61. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  62. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  63. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  64. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  65. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -65
  66. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  67. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  68. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  69. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  70. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  71. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  72. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  73. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  74. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  75. package/dist/src/components/Modal/Modal.stories.d.ts +0 -343
  76. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  77. package/dist/src/components/Modal/RModal.vue.d.ts +0 -183
  78. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  79. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  80. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  81. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -243
  82. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  83. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -110
  84. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  85. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  86. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  87. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  88. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  89. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  90. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  91. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  92. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  93. package/dist/src/components/Radio/RRadio.vue.d.ts +0 -66
  94. package/dist/src/components/Radio/RRadio.vue.d.ts.map +0 -1
  95. package/dist/src/components/Radio/Radio.stories.d.ts +0 -100
  96. package/dist/src/components/Radio/Radio.stories.d.ts.map +0 -1
  97. package/dist/src/components/Shared/Enums.d.ts +0 -2
  98. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -53
  100. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  101. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -163
  102. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  103. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  104. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  106. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  107. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  108. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  109. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  110. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -135
  112. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  113. package/dist/src/components/Switch/Switch.stories.d.ts +0 -102
  114. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  115. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  116. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  117. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -155
  118. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  119. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  120. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  121. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -290
  122. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  123. package/dist/src/components/TabItem/common.d.ts +0 -7
  124. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  125. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  126. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  127. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  128. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  129. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -181
  130. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  131. package/dist/src/components/Tabs/types.d.ts +0 -11
  132. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  134. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  135. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  136. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  137. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  138. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -249
  140. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  141. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -459
  142. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  143. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  144. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -264
  146. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  147. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -482
  148. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  149. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  150. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  151. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  152. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  153. package/dist/src/directives/index.d.ts +0 -5
  154. package/dist/src/directives/index.d.ts.map +0 -1
  155. package/dist/src/lib/main.d.ts +0 -26
  156. package/dist/src/lib/main.d.ts.map +0 -1
  157. package/dist/src/main.d.ts +0 -1
  158. package/dist/src/main.d.ts.map +0 -1
  159. package/dist/src/shims.d.ts +0 -9
  160. package/dist/src/utils/helpers.d.ts +0 -2
  161. package/dist/src/utils/helpers.d.ts.map +0 -1
@@ -1,547 +0,0 @@
1
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
2
- import type { Meta, StoryObj } from '@storybook/vue3';
3
- declare const ChipStory: Meta<{
4
- new (...args: any[]): {
5
- $: ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- label: string | number;
9
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
10
- disabled: boolean;
11
- prependIcon: string;
12
- appendIcon: string;
13
- ghost: boolean;
14
- clearable: boolean;
15
- noWrap: boolean;
16
- }> & Omit<{
17
- readonly label: string | number;
18
- readonly variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
19
- readonly disabled: boolean;
20
- readonly prependIcon: string;
21
- readonly appendIcon: string;
22
- readonly ghost: boolean;
23
- readonly clearable: boolean;
24
- readonly noWrap: boolean;
25
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
26
- "onClick:close"?: ((...args: any[]) => any) | undefined;
27
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
28
- label: {
29
- type: PropType<string | number>;
30
- default: string;
31
- };
32
- variant: {
33
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
34
- required: true;
35
- default: string;
36
- };
37
- disabled: {
38
- type: PropType<boolean>;
39
- default: boolean;
40
- };
41
- prependIcon: {
42
- type: PropType<string>;
43
- default: string;
44
- };
45
- appendIcon: {
46
- type: PropType<string>;
47
- default: string;
48
- };
49
- ghost: {
50
- type: PropType<boolean>;
51
- default: boolean;
52
- };
53
- clearable: {
54
- type: PropType<boolean>;
55
- default: boolean;
56
- };
57
- noWrap: {
58
- type: PropType<boolean>;
59
- default: boolean;
60
- };
61
- }>> & {
62
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
63
- "onClick:close"?: ((...args: any[]) => any) | undefined;
64
- }, "label" | "variant" | "disabled" | "prependIcon" | "appendIcon" | "ghost" | "clearable" | "noWrap">;
65
- $attrs: {
66
- [x: string]: unknown;
67
- };
68
- $refs: {
69
- [x: string]: unknown;
70
- };
71
- $slots: Readonly<{
72
- [name: string]: Slot<any> | undefined;
73
- }>;
74
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
75
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
76
- $emit: ((event: "click:chip", ...args: any[]) => void) & ((event: "click:close", ...args: any[]) => void);
77
- $el: any;
78
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
79
- label: {
80
- type: PropType<string | number>;
81
- default: string;
82
- };
83
- variant: {
84
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
85
- required: true;
86
- default: string;
87
- };
88
- disabled: {
89
- type: PropType<boolean>;
90
- default: boolean;
91
- };
92
- prependIcon: {
93
- type: PropType<string>;
94
- default: string;
95
- };
96
- appendIcon: {
97
- type: PropType<string>;
98
- default: string;
99
- };
100
- ghost: {
101
- type: PropType<boolean>;
102
- default: boolean;
103
- };
104
- clearable: {
105
- type: PropType<boolean>;
106
- default: boolean;
107
- };
108
- noWrap: {
109
- type: PropType<boolean>;
110
- default: boolean;
111
- };
112
- }>> & {
113
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
114
- "onClick:close"?: ((...args: any[]) => any) | undefined;
115
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
116
- "click:chip": (...args: any[]) => void;
117
- "click:close": (...args: any[]) => void;
118
- }, string, {
119
- label: string | number;
120
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
121
- disabled: boolean;
122
- prependIcon: string;
123
- appendIcon: string;
124
- ghost: boolean;
125
- clearable: boolean;
126
- noWrap: boolean;
127
- }, {}, string, {}> & {
128
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
129
- created?: ((() => void) | (() => void)[]) | undefined;
130
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
131
- mounted?: ((() => void) | (() => void)[]) | undefined;
132
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
133
- updated?: ((() => void) | (() => void)[]) | undefined;
134
- activated?: ((() => void) | (() => void)[]) | undefined;
135
- deactivated?: ((() => void) | (() => void)[]) | undefined;
136
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
137
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
138
- destroyed?: ((() => void) | (() => void)[]) | undefined;
139
- unmounted?: ((() => void) | (() => void)[]) | undefined;
140
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
141
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
142
- 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;
143
- };
144
- $forceUpdate: () => void;
145
- $nextTick: typeof nextTick;
146
- $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;
147
- } & Readonly<ExtractPropTypes<{
148
- label: {
149
- type: PropType<string | number>;
150
- default: string;
151
- };
152
- variant: {
153
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
154
- required: true;
155
- default: string;
156
- };
157
- disabled: {
158
- type: PropType<boolean>;
159
- default: boolean;
160
- };
161
- prependIcon: {
162
- type: PropType<string>;
163
- default: string;
164
- };
165
- appendIcon: {
166
- type: PropType<string>;
167
- default: string;
168
- };
169
- ghost: {
170
- type: PropType<boolean>;
171
- default: boolean;
172
- };
173
- clearable: {
174
- type: PropType<boolean>;
175
- default: boolean;
176
- };
177
- noWrap: {
178
- type: PropType<boolean>;
179
- default: boolean;
180
- };
181
- }>> & {
182
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
183
- "onClick:close"?: ((...args: any[]) => any) | undefined;
184
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
185
- __isFragment?: undefined;
186
- __isTeleport?: undefined;
187
- __isSuspense?: undefined;
188
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
189
- label: {
190
- type: PropType<string | number>;
191
- default: string;
192
- };
193
- variant: {
194
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
195
- required: true;
196
- default: string;
197
- };
198
- disabled: {
199
- type: PropType<boolean>;
200
- default: boolean;
201
- };
202
- prependIcon: {
203
- type: PropType<string>;
204
- default: string;
205
- };
206
- appendIcon: {
207
- type: PropType<string>;
208
- default: string;
209
- };
210
- ghost: {
211
- type: PropType<boolean>;
212
- default: boolean;
213
- };
214
- clearable: {
215
- type: PropType<boolean>;
216
- default: boolean;
217
- };
218
- noWrap: {
219
- type: PropType<boolean>;
220
- default: boolean;
221
- };
222
- }>> & {
223
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
224
- "onClick:close"?: ((...args: any[]) => any) | undefined;
225
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
226
- "click:chip": (...args: any[]) => void;
227
- "click:close": (...args: any[]) => void;
228
- }, string, {
229
- label: string | number;
230
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
231
- disabled: boolean;
232
- prependIcon: string;
233
- appendIcon: string;
234
- ghost: boolean;
235
- clearable: boolean;
236
- noWrap: boolean;
237
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
238
- $slots: {
239
- prepend?(_: {
240
- disabled: boolean;
241
- }): any;
242
- append?(_: {
243
- disabled: boolean;
244
- }): any;
245
- };
246
- })>;
247
- export default ChipStory;
248
- declare type Story = StoryObj<typeof ChipStory>;
249
- export declare const Overview: Story;
250
- export declare const Primary: Story;
251
- export declare const Secondary: Story;
252
- export declare const Success: Story;
253
- export declare const Error: Story;
254
- export declare const Warning: Story;
255
- export declare const Info: Story;
256
- export declare const Ghost: Story;
257
- export declare const Disabled: Story;
258
- export declare const clearable: Story;
259
- export declare const Slots: {
260
- render: (args: any) => {
261
- components: {
262
- Chip: {
263
- new (...args: any[]): {
264
- $: ComponentInternalInstance;
265
- $data: {};
266
- $props: Partial<{
267
- label: string | number;
268
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
269
- disabled: boolean;
270
- prependIcon: string;
271
- appendIcon: string;
272
- ghost: boolean;
273
- clearable: boolean;
274
- noWrap: boolean;
275
- }> & Omit<{
276
- readonly label: string | number;
277
- readonly variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
278
- readonly disabled: boolean;
279
- readonly prependIcon: string;
280
- readonly appendIcon: string;
281
- readonly ghost: boolean;
282
- readonly clearable: boolean;
283
- readonly noWrap: boolean;
284
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
285
- "onClick:close"?: ((...args: any[]) => any) | undefined;
286
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
287
- label: {
288
- type: PropType<string | number>;
289
- default: string;
290
- };
291
- variant: {
292
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
293
- required: true;
294
- default: string;
295
- };
296
- disabled: {
297
- type: PropType<boolean>;
298
- default: boolean;
299
- };
300
- prependIcon: {
301
- type: PropType<string>;
302
- default: string;
303
- };
304
- appendIcon: {
305
- type: PropType<string>;
306
- default: string;
307
- };
308
- ghost: {
309
- type: PropType<boolean>;
310
- default: boolean;
311
- };
312
- clearable: {
313
- type: PropType<boolean>;
314
- default: boolean;
315
- };
316
- noWrap: {
317
- type: PropType<boolean>;
318
- default: boolean;
319
- };
320
- }>> & {
321
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
322
- "onClick:close"?: ((...args: any[]) => any) | undefined;
323
- }, "label" | "variant" | "disabled" | "prependIcon" | "appendIcon" | "ghost" | "clearable" | "noWrap">;
324
- $attrs: {
325
- [x: string]: unknown;
326
- };
327
- $refs: {
328
- [x: string]: unknown;
329
- };
330
- $slots: Readonly<{
331
- [name: string]: Slot<any> | undefined;
332
- }>;
333
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
334
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
335
- $emit: ((event: "click:chip", ...args: any[]) => void) & ((event: "click:close", ...args: any[]) => void);
336
- $el: any;
337
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
338
- label: {
339
- type: PropType<string | number>;
340
- default: string;
341
- };
342
- variant: {
343
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
344
- required: true;
345
- default: string;
346
- };
347
- disabled: {
348
- type: PropType<boolean>;
349
- default: boolean;
350
- };
351
- prependIcon: {
352
- type: PropType<string>;
353
- default: string;
354
- };
355
- appendIcon: {
356
- type: PropType<string>;
357
- default: string;
358
- };
359
- ghost: {
360
- type: PropType<boolean>;
361
- default: boolean;
362
- };
363
- clearable: {
364
- type: PropType<boolean>;
365
- default: boolean;
366
- };
367
- noWrap: {
368
- type: PropType<boolean>;
369
- default: boolean;
370
- };
371
- }>> & {
372
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
373
- "onClick:close"?: ((...args: any[]) => any) | undefined;
374
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
375
- "click:chip": (...args: any[]) => void;
376
- "click:close": (...args: any[]) => void;
377
- }, string, {
378
- label: string | number;
379
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
380
- disabled: boolean;
381
- prependIcon: string;
382
- appendIcon: string;
383
- ghost: boolean;
384
- clearable: boolean;
385
- noWrap: boolean;
386
- }, {}, string, {}> & {
387
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
388
- created?: ((() => void) | (() => void)[]) | undefined;
389
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
390
- mounted?: ((() => void) | (() => void)[]) | undefined;
391
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
392
- updated?: ((() => void) | (() => void)[]) | undefined;
393
- activated?: ((() => void) | (() => void)[]) | undefined;
394
- deactivated?: ((() => void) | (() => void)[]) | undefined;
395
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
396
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
397
- destroyed?: ((() => void) | (() => void)[]) | undefined;
398
- unmounted?: ((() => void) | (() => void)[]) | undefined;
399
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
400
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
401
- 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;
402
- };
403
- $forceUpdate: () => void;
404
- $nextTick: typeof nextTick;
405
- $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;
406
- } & Readonly<ExtractPropTypes<{
407
- label: {
408
- type: PropType<string | number>;
409
- default: string;
410
- };
411
- variant: {
412
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
413
- required: true;
414
- default: string;
415
- };
416
- disabled: {
417
- type: PropType<boolean>;
418
- default: boolean;
419
- };
420
- prependIcon: {
421
- type: PropType<string>;
422
- default: string;
423
- };
424
- appendIcon: {
425
- type: PropType<string>;
426
- default: string;
427
- };
428
- ghost: {
429
- type: PropType<boolean>;
430
- default: boolean;
431
- };
432
- clearable: {
433
- type: PropType<boolean>;
434
- default: boolean;
435
- };
436
- noWrap: {
437
- type: PropType<boolean>;
438
- default: boolean;
439
- };
440
- }>> & {
441
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
442
- "onClick:close"?: ((...args: any[]) => any) | undefined;
443
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
444
- __isFragment?: undefined;
445
- __isTeleport?: undefined;
446
- __isSuspense?: undefined;
447
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
448
- label: {
449
- type: PropType<string | number>;
450
- default: string;
451
- };
452
- variant: {
453
- type: PropType<"primary" | "secondary" | "success" | "error" | "warning" | "info">;
454
- required: true;
455
- default: string;
456
- };
457
- disabled: {
458
- type: PropType<boolean>;
459
- default: boolean;
460
- };
461
- prependIcon: {
462
- type: PropType<string>;
463
- default: string;
464
- };
465
- appendIcon: {
466
- type: PropType<string>;
467
- default: string;
468
- };
469
- ghost: {
470
- type: PropType<boolean>;
471
- default: boolean;
472
- };
473
- clearable: {
474
- type: PropType<boolean>;
475
- default: boolean;
476
- };
477
- noWrap: {
478
- type: PropType<boolean>;
479
- default: boolean;
480
- };
481
- }>> & {
482
- "onClick:chip"?: ((...args: any[]) => any) | undefined;
483
- "onClick:close"?: ((...args: any[]) => any) | undefined;
484
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
485
- "click:chip": (...args: any[]) => void;
486
- "click:close": (...args: any[]) => void;
487
- }, string, {
488
- label: string | number;
489
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
490
- disabled: boolean;
491
- prependIcon: string;
492
- appendIcon: string;
493
- ghost: boolean;
494
- clearable: boolean;
495
- noWrap: boolean;
496
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
497
- $slots: {
498
- prepend?(_: {
499
- disabled: boolean;
500
- }): any;
501
- append?(_: {
502
- disabled: boolean;
503
- }): any;
504
- };
505
- });
506
- Icon: DefineComponent<{
507
- name: {
508
- type: PropType<string | undefined>;
509
- required: true;
510
- default: string;
511
- };
512
- viewBox: {
513
- type: PropType<string>;
514
- default: string;
515
- };
516
- size: {
517
- type: PropType<string | number>;
518
- default: number;
519
- };
520
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
521
- name: {
522
- type: PropType<string | undefined>;
523
- required: true;
524
- default: string;
525
- };
526
- viewBox: {
527
- type: PropType<string>;
528
- default: string;
529
- };
530
- size: {
531
- type: PropType<string | number>;
532
- default: number;
533
- };
534
- }>>, {
535
- name: string | undefined;
536
- viewBox: string;
537
- size: string | number;
538
- }, {}>;
539
- };
540
- setup(): {
541
- args: any;
542
- };
543
- template: string;
544
- };
545
- args: {};
546
- };
547
- //# sourceMappingURL=Chip.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chip.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Chips/Chip.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AA4BrD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAaO,CAAA;AAEtB,eAAe,SAAS,CAAA;AAExB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvC,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA;AAEhC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAInB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAInB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAA;AAED,eAAO,MAAM,KAAK;mBACD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBnB,CAAA"}
@@ -1,132 +0,0 @@
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
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
95
- disabled: boolean;
96
- prependIcon: string;
97
- appendIcon: string;
98
- ghost: boolean;
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
@@ -1 +0,0 @@
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"}