@rocketui/vue 0.2.75 → 0.2.77

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 (165) hide show
  1. package/dist/design-tokens.source.json +1 -0
  2. package/dist/favicon.ico +0 -0
  3. package/dist/rocket-ui-vue.js +10293 -0
  4. package/dist/rocket-ui-vue.umd.cjs +1 -0
  5. package/dist/src/components/Accordion/Accordion.stories.d.ts +116 -0
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +1 -0
  7. package/dist/src/components/Accordion/RAccordion.vue.d.ts +70 -0
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  9. package/dist/src/components/Accordion/accordion.spec.d.ts +2 -0
  10. package/dist/src/components/Accordion/accordion.spec.d.ts.map +1 -0
  11. package/dist/src/components/Alert/Alert.stories.d.ts +461 -0
  12. package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
  13. package/dist/src/components/Alert/RAlert.vue.d.ts +109 -0
  14. package/dist/src/components/Alert/RAlert.vue.d.ts.map +1 -0
  15. package/dist/src/components/Alert/alert.spec.d.ts +2 -0
  16. package/dist/src/components/Alert/alert.spec.d.ts.map +1 -0
  17. package/dist/src/components/Avatar/Avatar.stories.d.ts +68 -0
  18. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
  19. package/dist/src/components/Avatar/RAvatar.vue.d.ts +92 -0
  20. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  21. package/dist/src/components/Avatar/avatar.spec.d.ts +2 -0
  22. package/dist/src/components/Avatar/avatar.spec.d.ts.map +1 -0
  23. package/dist/src/components/Badge/Badge.stories.d.ts +281 -0
  24. package/dist/src/components/Badge/Badge.stories.d.ts.map +1 -0
  25. package/dist/src/components/Badge/RBadge.vue.d.ts +143 -0
  26. package/dist/src/components/Badge/RBadge.vue.d.ts.map +1 -0
  27. package/dist/src/components/Badge/badge.spec.d.ts +2 -0
  28. package/dist/src/components/Badge/badge.spec.d.ts.map +1 -0
  29. package/dist/src/components/Box/Box.stories.d.ts +167 -0
  30. package/dist/src/components/Box/Box.stories.d.ts.map +1 -0
  31. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +111 -0
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
  33. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  35. package/dist/src/components/Button/Button.spec.d.ts +2 -0
  36. package/dist/src/components/Button/Button.spec.d.ts.map +1 -0
  37. package/dist/src/components/Button/Button.stories.d.ts +553 -0
  38. package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
  39. package/dist/src/components/Button/RButton.vue.d.ts +155 -0
  40. package/dist/src/components/Button/RButton.vue.d.ts.map +1 -0
  41. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +88 -0
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  43. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +120 -0
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  45. package/dist/src/components/Checkbox/checkbox.spec.d.ts +2 -0
  46. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +1 -0
  47. package/dist/src/components/Chips/Chip.stories.d.ts +547 -0
  48. package/dist/src/components/Chips/Chip.stories.d.ts.map +1 -0
  49. package/dist/src/components/Chips/RChip.vue.d.ts +132 -0
  50. package/dist/src/components/Chips/RChip.vue.d.ts.map +1 -0
  51. package/dist/src/components/Chips/chip.spec.d.ts +2 -0
  52. package/dist/src/components/Chips/chip.spec.d.ts.map +1 -0
  53. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +690 -0
  54. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  55. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +418 -0
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  57. package/dist/src/components/Dropdown/dropdown.spec.d.ts +2 -0
  58. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +1 -0
  59. package/dist/src/components/Icon/Icon.stories.d.ts +39 -0
  60. package/dist/src/components/Icon/Icon.stories.d.ts.map +1 -0
  61. package/dist/src/components/Icon/RIcon.vue.d.ts +59 -0
  62. package/dist/src/components/Icon/RIcon.vue.d.ts.map +1 -0
  63. package/dist/src/components/Icon/icon.spec.d.ts +2 -0
  64. package/dist/src/components/Icon/icon.spec.d.ts.map +1 -0
  65. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +215 -0
  66. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +1 -0
  67. package/dist/src/components/ItemGroup/RItem.vue.d.ts +65 -0
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  69. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  71. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +2 -0
  72. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +1 -0
  73. package/dist/src/components/Label/Label.stories.d.ts +133 -0
  74. package/dist/src/components/Label/Label.stories.d.ts.map +1 -0
  75. package/dist/src/components/Label/RLabel.vue.d.ts +68 -0
  76. package/dist/src/components/Label/RLabel.vue.d.ts.map +1 -0
  77. package/dist/src/components/Modal/Modal.stories.d.ts +343 -0
  78. package/dist/src/components/Modal/Modal.stories.d.ts.map +1 -0
  79. package/dist/src/components/Modal/RModal.vue.d.ts +183 -0
  80. package/dist/src/components/Modal/RModal.vue.d.ts.map +1 -0
  81. package/dist/src/components/Modal/modal.spec.d.ts +2 -0
  82. package/dist/src/components/Modal/modal.spec.d.ts.map +1 -0
  83. package/dist/src/components/Pagination/Pagination.stories.d.ts +243 -0
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +1 -0
  85. package/dist/src/components/Pagination/RPagination.vue.d.ts +110 -0
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +1 -0
  87. package/dist/src/components/Pagination/pagination.spec.d.ts +2 -0
  88. package/dist/src/components/Pagination/pagination.spec.d.ts.map +1 -0
  89. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +30 -0
  90. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +1 -0
  91. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  92. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  93. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +2 -0
  94. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +1 -0
  95. package/dist/src/components/Radio/RRadio.vue.d.ts +66 -0
  96. package/dist/src/components/Radio/RRadio.vue.d.ts.map +1 -0
  97. package/dist/src/components/Radio/Radio.stories.d.ts +100 -0
  98. package/dist/src/components/Radio/Radio.stories.d.ts.map +1 -0
  99. package/dist/src/components/Shared/Enums.d.ts +2 -0
  100. package/dist/src/components/Shared/Enums.d.ts.map +1 -0
  101. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +53 -0
  102. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  103. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +163 -0
  104. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
  105. package/dist/src/components/Sidebar/sidebar.spec.d.ts +2 -0
  106. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +1 -0
  107. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  108. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  109. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +224 -0
  110. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +1 -0
  111. package/dist/src/components/Snackbar/snackbar.spec.d.ts +2 -0
  112. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +1 -0
  113. package/dist/src/components/Switch/RSwitch.vue.d.ts +135 -0
  114. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +1 -0
  115. package/dist/src/components/Switch/Switch.stories.d.ts +102 -0
  116. package/dist/src/components/Switch/Switch.stories.d.ts.map +1 -0
  117. package/dist/src/components/Switch/switch.spec.d.ts +2 -0
  118. package/dist/src/components/Switch/switch.spec.d.ts.map +1 -0
  119. package/dist/src/components/TabItem/RTabItem.vue.d.ts +155 -0
  120. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  121. package/dist/src/components/TabItem/TabItem.spec.d.ts +2 -0
  122. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +1 -0
  123. package/dist/src/components/TabItem/TabItem.stories.d.ts +290 -0
  124. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +1 -0
  125. package/dist/src/components/TabItem/common.d.ts +7 -0
  126. package/dist/src/components/TabItem/common.d.ts.map +1 -0
  127. package/dist/src/components/Tabs/RTabs.vue.d.ts +95 -0
  128. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +1 -0
  129. package/dist/src/components/Tabs/Tabs.spec.d.ts +2 -0
  130. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +1 -0
  131. package/dist/src/components/Tabs/Tabs.stories.d.ts +181 -0
  132. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +1 -0
  133. package/dist/src/components/Tabs/types.d.ts +11 -0
  134. package/dist/src/components/Tabs/types.d.ts.map +1 -0
  135. package/dist/src/components/TextArea/RTextArea.vue.d.ts +120 -0
  136. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  137. package/dist/src/components/TextArea/TextArea.stories.d.ts +89 -0
  138. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +1 -0
  139. package/dist/src/components/TextArea/textarea.spec.d.ts +2 -0
  140. package/dist/src/components/TextArea/textarea.spec.d.ts.map +1 -0
  141. package/dist/src/components/Textfield/RTextfield.vue.d.ts +249 -0
  142. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  143. package/dist/src/components/Textfield/Textfield.stories.d.ts +459 -0
  144. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +1 -0
  145. package/dist/src/components/Textfield/textfield.spec.d.ts +2 -0
  146. package/dist/src/components/Textfield/textfield.spec.d.ts.map +1 -0
  147. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +264 -0
  148. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  149. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +479 -0
  150. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  151. package/dist/src/components/Tooltip/popper.d.ts +29 -0
  152. package/dist/src/components/Tooltip/popper.d.ts.map +1 -0
  153. package/dist/src/components/Tooltip/tooltip.spec.d.ts +2 -0
  154. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +1 -0
  155. package/dist/src/directives/index.d.ts +5 -0
  156. package/dist/src/directives/index.d.ts.map +1 -0
  157. package/dist/src/lib/main.d.ts +26 -0
  158. package/dist/src/lib/main.d.ts.map +1 -0
  159. package/dist/src/main.d.ts +1 -0
  160. package/dist/src/main.d.ts.map +1 -0
  161. package/dist/src/shims.d.ts +9 -0
  162. package/dist/src/utils/helpers.d.ts +2 -0
  163. package/dist/src/utils/helpers.d.ts.map +1 -0
  164. package/dist/style.css +1 -0
  165. package/package.json +1 -1
@@ -0,0 +1,343 @@
1
+ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3';
3
+ declare const ModalStory: Meta<{
4
+ new (...args: any[]): {
5
+ $: ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ width: string;
9
+ height: string;
10
+ style: string;
11
+ title: string;
12
+ class: string | string[];
13
+ outsideClick: boolean;
14
+ block: boolean;
15
+ modelValue: boolean;
16
+ description: string;
17
+ icon: string;
18
+ clearContent: boolean;
19
+ overlayClass: string | string[];
20
+ allowBodyScroll: boolean;
21
+ }> & Omit<{
22
+ readonly width: string;
23
+ readonly height: string;
24
+ readonly style: string;
25
+ readonly title: string;
26
+ readonly class: string | string[];
27
+ readonly outsideClick: boolean;
28
+ readonly block: boolean;
29
+ readonly modelValue: boolean;
30
+ readonly description: string;
31
+ readonly icon: string;
32
+ readonly clearContent: boolean;
33
+ readonly overlayClass: string | string[];
34
+ readonly allowBodyScroll: boolean;
35
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
36
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
37
+ width: {
38
+ type: PropType<string>;
39
+ default: string;
40
+ };
41
+ height: {
42
+ type: PropType<string>;
43
+ default: string;
44
+ };
45
+ style: {
46
+ type: PropType<string>;
47
+ default: string;
48
+ };
49
+ title: {
50
+ type: PropType<string>;
51
+ default: string;
52
+ };
53
+ class: {
54
+ type: PropType<string | string[]>;
55
+ default: string;
56
+ };
57
+ outsideClick: {
58
+ type: PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ block: {
62
+ type: PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ modelValue: {
66
+ type: PropType<boolean>;
67
+ required: true;
68
+ default: boolean;
69
+ };
70
+ description: {
71
+ type: PropType<string>;
72
+ default: string;
73
+ };
74
+ icon: {
75
+ type: PropType<string>;
76
+ default: string;
77
+ };
78
+ clearContent: {
79
+ type: PropType<boolean>;
80
+ default: boolean;
81
+ };
82
+ overlayClass: {
83
+ type: PropType<string | string[]>;
84
+ default: string;
85
+ };
86
+ allowBodyScroll: {
87
+ type: PropType<boolean>;
88
+ default: boolean;
89
+ };
90
+ }>> & {
91
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
92
+ }, "width" | "height" | "style" | "title" | "class" | "outsideClick" | "block" | "modelValue" | "description" | "icon" | "clearContent" | "overlayClass" | "allowBodyScroll">;
93
+ $attrs: {
94
+ [x: string]: unknown;
95
+ };
96
+ $refs: {
97
+ [x: string]: unknown;
98
+ };
99
+ $slots: Readonly<{
100
+ [name: string]: Slot<any> | undefined;
101
+ }>;
102
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
103
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
104
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
105
+ $el: any;
106
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
107
+ width: {
108
+ type: PropType<string>;
109
+ default: string;
110
+ };
111
+ height: {
112
+ type: PropType<string>;
113
+ default: string;
114
+ };
115
+ style: {
116
+ type: PropType<string>;
117
+ default: string;
118
+ };
119
+ title: {
120
+ type: PropType<string>;
121
+ default: string;
122
+ };
123
+ class: {
124
+ type: PropType<string | string[]>;
125
+ default: string;
126
+ };
127
+ outsideClick: {
128
+ type: PropType<boolean>;
129
+ default: boolean;
130
+ };
131
+ block: {
132
+ type: PropType<boolean>;
133
+ default: boolean;
134
+ };
135
+ modelValue: {
136
+ type: PropType<boolean>;
137
+ required: true;
138
+ default: boolean;
139
+ };
140
+ description: {
141
+ type: PropType<string>;
142
+ default: string;
143
+ };
144
+ icon: {
145
+ type: PropType<string>;
146
+ default: string;
147
+ };
148
+ clearContent: {
149
+ type: PropType<boolean>;
150
+ default: boolean;
151
+ };
152
+ overlayClass: {
153
+ type: PropType<string | string[]>;
154
+ default: string;
155
+ };
156
+ allowBodyScroll: {
157
+ type: PropType<boolean>;
158
+ default: boolean;
159
+ };
160
+ }>> & {
161
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
162
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
163
+ "update:modelValue": (...args: any[]) => void;
164
+ }, string, {
165
+ width: string;
166
+ height: string;
167
+ style: string;
168
+ title: string;
169
+ class: string | string[];
170
+ outsideClick: boolean;
171
+ block: boolean;
172
+ modelValue: boolean;
173
+ description: string;
174
+ icon: string;
175
+ clearContent: boolean;
176
+ overlayClass: string | string[];
177
+ allowBodyScroll: boolean;
178
+ }, {}, string, {}> & {
179
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
180
+ created?: ((() => void) | (() => void)[]) | undefined;
181
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
182
+ mounted?: ((() => void) | (() => void)[]) | undefined;
183
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
184
+ updated?: ((() => void) | (() => void)[]) | undefined;
185
+ activated?: ((() => void) | (() => void)[]) | undefined;
186
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
187
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
188
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
189
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
190
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
191
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
192
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
193
+ 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;
194
+ };
195
+ $forceUpdate: () => void;
196
+ $nextTick: typeof nextTick;
197
+ $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;
198
+ } & Readonly<ExtractPropTypes<{
199
+ width: {
200
+ type: PropType<string>;
201
+ default: string;
202
+ };
203
+ height: {
204
+ type: PropType<string>;
205
+ default: string;
206
+ };
207
+ style: {
208
+ type: PropType<string>;
209
+ default: string;
210
+ };
211
+ title: {
212
+ type: PropType<string>;
213
+ default: string;
214
+ };
215
+ class: {
216
+ type: PropType<string | string[]>;
217
+ default: string;
218
+ };
219
+ outsideClick: {
220
+ type: PropType<boolean>;
221
+ default: boolean;
222
+ };
223
+ block: {
224
+ type: PropType<boolean>;
225
+ default: boolean;
226
+ };
227
+ modelValue: {
228
+ type: PropType<boolean>;
229
+ required: true;
230
+ default: boolean;
231
+ };
232
+ description: {
233
+ type: PropType<string>;
234
+ default: string;
235
+ };
236
+ icon: {
237
+ type: PropType<string>;
238
+ default: string;
239
+ };
240
+ clearContent: {
241
+ type: PropType<boolean>;
242
+ default: boolean;
243
+ };
244
+ overlayClass: {
245
+ type: PropType<string | string[]>;
246
+ default: string;
247
+ };
248
+ allowBodyScroll: {
249
+ type: PropType<boolean>;
250
+ default: boolean;
251
+ };
252
+ }>> & {
253
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
254
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
255
+ __isFragment?: undefined;
256
+ __isTeleport?: undefined;
257
+ __isSuspense?: undefined;
258
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
259
+ width: {
260
+ type: PropType<string>;
261
+ default: string;
262
+ };
263
+ height: {
264
+ type: PropType<string>;
265
+ default: string;
266
+ };
267
+ style: {
268
+ type: PropType<string>;
269
+ default: string;
270
+ };
271
+ title: {
272
+ type: PropType<string>;
273
+ default: string;
274
+ };
275
+ class: {
276
+ type: PropType<string | string[]>;
277
+ default: string;
278
+ };
279
+ outsideClick: {
280
+ type: PropType<boolean>;
281
+ default: boolean;
282
+ };
283
+ block: {
284
+ type: PropType<boolean>;
285
+ default: boolean;
286
+ };
287
+ modelValue: {
288
+ type: PropType<boolean>;
289
+ required: true;
290
+ default: boolean;
291
+ };
292
+ description: {
293
+ type: PropType<string>;
294
+ default: string;
295
+ };
296
+ icon: {
297
+ type: PropType<string>;
298
+ default: string;
299
+ };
300
+ clearContent: {
301
+ type: PropType<boolean>;
302
+ default: boolean;
303
+ };
304
+ overlayClass: {
305
+ type: PropType<string | string[]>;
306
+ default: string;
307
+ };
308
+ allowBodyScroll: {
309
+ type: PropType<boolean>;
310
+ default: boolean;
311
+ };
312
+ }>> & {
313
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
314
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
315
+ "update:modelValue": (...args: any[]) => void;
316
+ }, string, {
317
+ width: string;
318
+ height: string;
319
+ style: string;
320
+ title: string;
321
+ class: string | string[];
322
+ outsideClick: boolean;
323
+ block: boolean;
324
+ modelValue: boolean;
325
+ description: string;
326
+ icon: string;
327
+ clearContent: boolean;
328
+ overlayClass: string | string[];
329
+ allowBodyScroll: boolean;
330
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
331
+ $slots: {
332
+ wrapper?(_: {}): any;
333
+ header?(_: {}): any;
334
+ default?(_: {}): any;
335
+ actions?(_: {}): any;
336
+ };
337
+ })>;
338
+ export default ModalStory;
339
+ declare type Story = StoryObj<typeof ModalStory>;
340
+ export declare const Overview: Story;
341
+ export declare const WithActionsSlot: Story;
342
+ export declare const WithForm: Story;
343
+ //# sourceMappingURL=Modal.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAOrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBO,CAAA;AAEvB,eAAe,UAAU,CAAA;AAEzB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAA;AAEjC,eAAO,MAAM,eAAe,EAAE,KAsD7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAkCtB,CAAA"}
@@ -0,0 +1,183 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface ModalProps {
3
+ /**
4
+ * modelValue the modal
5
+ * @type boolean
6
+ * @default false
7
+ * @example
8
+ * <Modal :modelValue="true" />
9
+ */
10
+ modelValue: boolean;
11
+ /**
12
+ * Modal width is 100%
13
+ * @type boolean
14
+ * @default false
15
+ * @example
16
+ * <Modal block />
17
+ */
18
+ block?: boolean;
19
+ /**
20
+ * Title of the Modal
21
+ * @type string
22
+ * @default ''
23
+ * @example
24
+ * <Modal title="Modal Title" />
25
+ */
26
+ title?: string;
27
+ /**
28
+ * Description of the Modal
29
+ * @type string
30
+ * @default ''
31
+ * @example
32
+ * <Modal description="Modal Description" />
33
+ */
34
+ description?: string;
35
+ /**
36
+ * Icon of the Modal
37
+ * @type string
38
+ * @default ''
39
+ * @example
40
+ * <Modal icon="mdiMail" />
41
+ */
42
+ icon?: string;
43
+ /**
44
+ * Width of the Modal
45
+ * @type string
46
+ * @default ''
47
+ * @example
48
+ * <Modal width="500px" />
49
+ */
50
+ width?: string;
51
+ /**
52
+ * Height of the Modal
53
+ * @type string
54
+ * @default ''
55
+ * @example
56
+ * <Modal height="500px" />
57
+ */
58
+ height?: string;
59
+ /**
60
+ * Close the modal when clicking outside
61
+ * @type boolean
62
+ * @default false
63
+ * @example
64
+ * <Modal :modelValue="true" :outsideClick="true" />
65
+ */
66
+ outsideClick?: boolean;
67
+ /**
68
+ * Remove padding and gap from the modal
69
+ * @type boolean
70
+ * @default false
71
+ * @example
72
+ * <Modal :modelValue="true" :clearContent="true" />
73
+ */
74
+ clearContent?: boolean;
75
+ /**
76
+ * Class of the Modal
77
+ * @type string
78
+ * @default ''
79
+ * @example
80
+ * <Modal class="my-class" />
81
+ */
82
+ class?: string | string[];
83
+ /**
84
+ * Class of the overlay
85
+ * @type string
86
+ * @default ''
87
+ * @example
88
+ * <Modal overlayClass="my-class" />
89
+ */
90
+ overlayClass?: string | string[];
91
+ /**
92
+ * Style of the Modal
93
+ * @type string
94
+ * @default ''
95
+ * @example
96
+ * <Modal style="color: red" />
97
+ */
98
+ style?: string;
99
+ /**
100
+ * Control the scroll of the body
101
+ * @type boolean
102
+ * @default false
103
+ * @example
104
+ * <Modal :modelValue="true" :allowBodyScroll="true" />
105
+ */
106
+ allowBodyScroll?: boolean;
107
+ }
108
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
109
+ modelValue: boolean;
110
+ block: boolean;
111
+ title: string;
112
+ description: string;
113
+ icon: string;
114
+ width: string;
115
+ height: string;
116
+ outsideClick: boolean;
117
+ clearContent: boolean;
118
+ class: string;
119
+ overlayClass: string;
120
+ style: string;
121
+ allowBodyScroll: boolean;
122
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
123
+ "update:modelValue": (...args: any[]) => void;
124
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
125
+ modelValue: boolean;
126
+ block: boolean;
127
+ title: string;
128
+ description: string;
129
+ icon: string;
130
+ width: string;
131
+ height: string;
132
+ outsideClick: boolean;
133
+ clearContent: boolean;
134
+ class: string;
135
+ overlayClass: string;
136
+ style: string;
137
+ allowBodyScroll: boolean;
138
+ }>>> & {
139
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
140
+ }, {
141
+ width: string;
142
+ height: string;
143
+ style: string;
144
+ title: string;
145
+ class: string | string[];
146
+ outsideClick: boolean;
147
+ block: boolean;
148
+ modelValue: boolean;
149
+ description: string;
150
+ icon: string;
151
+ clearContent: boolean;
152
+ overlayClass: string | string[];
153
+ allowBodyScroll: boolean;
154
+ }, {}>, {
155
+ wrapper?(_: {}): any;
156
+ header?(_: {}): any;
157
+ default?(_: {}): any;
158
+ actions?(_: {}): any;
159
+ }>;
160
+ export default _default;
161
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
162
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
163
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
164
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
165
+ } : {
166
+ type: PropType<T[K]>;
167
+ required: true;
168
+ };
169
+ };
170
+ declare type __VLS_WithDefaults<P, D> = {
171
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
172
+ default: D[K];
173
+ }> : P[K];
174
+ };
175
+ declare type __VLS_Prettify<T> = {
176
+ [K in keyof T]: T[K];
177
+ } & {};
178
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
179
+ new (): {
180
+ $slots: S;
181
+ };
182
+ };
183
+ //# sourceMappingURL=RModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RModal.vue.d.ts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