@rocketui/vue 0.2.57 → 0.2.58

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