@rocketui/vue 0.0.100 → 0.0.102

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 (157) hide show
  1. package/dist/rocket-ui-vue.js +550 -569
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/src/components/Accordion/Accordion.stories.d.ts +79 -0
  4. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +1 -0
  5. package/dist/src/components/Accordion/RAccordion.vue.d.ts +41 -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 +455 -0
  10. package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
  11. package/dist/src/components/Alert/RAlert.vue.d.ts +105 -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 +220 -0
  22. package/dist/src/components/Badge/Badge.stories.d.ts.map +1 -0
  23. package/dist/src/components/Badge/RBadge.vue.d.ts +109 -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 +541 -0
  36. package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
  37. package/dist/src/components/Button/RButton.vue.d.ts +149 -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 +499 -0
  46. package/dist/src/components/Chips/Chip.stories.d.ts.map +1 -0
  47. package/dist/src/components/Chips/RChip.vue.d.ts +117 -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 +439 -0
  52. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  53. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +263 -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 +75 -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 +253 -0
  76. package/dist/src/components/Modal/Modal.stories.d.ts.map +1 -0
  77. package/dist/src/components/Modal/RModal.vue.d.ts +139 -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 +207 -0
  82. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +1 -0
  83. package/dist/src/components/Pagination/RPagination.vue.d.ts +62 -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 +49 -0
  96. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  97. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +159 -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 +148 -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 +288 -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 +186 -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 +226 -0
  136. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  137. package/dist/src/components/Textfield/Textfield.stories.d.ts +424 -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 +252 -0
  142. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  143. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +458 -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/package.json +1 -1
  157. package/dist/rocket-ui-vue.d.ts +0 -2912
@@ -0,0 +1,424 @@
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 TextfieldStory: Meta<{
4
+ new (...args: any[]): {
5
+ $: ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ type: "number" | "text" | "email" | "password" | "tel" | "url";
9
+ label: string;
10
+ loading: boolean;
11
+ disabled: boolean;
12
+ prependIcon: string;
13
+ appendIcon: string;
14
+ id: string | undefined;
15
+ modelValue: any;
16
+ placeholder: string;
17
+ errorMsg: string;
18
+ hideDetails: boolean;
19
+ hint: string;
20
+ clearable: boolean;
21
+ }> & Omit<{
22
+ readonly type: "number" | "text" | "email" | "password" | "tel" | "url";
23
+ readonly label: string;
24
+ readonly loading: boolean;
25
+ readonly disabled: boolean;
26
+ readonly prependIcon: string;
27
+ readonly appendIcon: string;
28
+ readonly id: string | undefined;
29
+ readonly modelValue: any;
30
+ readonly placeholder: string;
31
+ readonly errorMsg: string;
32
+ readonly hideDetails: boolean;
33
+ readonly hint: string;
34
+ readonly clearable: boolean;
35
+ readonly role?: string | undefined;
36
+ readonly max?: (string | number) | undefined;
37
+ readonly min?: (string | number) | undefined;
38
+ onFocus?: ((...args: any[]) => any) | undefined;
39
+ onBlur?: ((...args: any[]) => any) | undefined;
40
+ onInput?: ((...args: any[]) => any) | undefined;
41
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
42
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
43
+ "onClick:clear"?: ((...args: any[]) => any) | undefined;
44
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
45
+ type: {
46
+ type: PropType<"number" | "text" | "email" | "password" | "tel" | "url">;
47
+ required: true;
48
+ default: string;
49
+ };
50
+ label: {
51
+ type: PropType<string>;
52
+ default: string;
53
+ };
54
+ loading: {
55
+ type: PropType<boolean>;
56
+ default: boolean;
57
+ };
58
+ disabled: {
59
+ type: PropType<boolean>;
60
+ default: boolean;
61
+ };
62
+ prependIcon: {
63
+ type: PropType<string>;
64
+ default: string;
65
+ };
66
+ appendIcon: {
67
+ type: PropType<string>;
68
+ default: string;
69
+ };
70
+ id: {
71
+ type: PropType<string | undefined>;
72
+ required: true;
73
+ default: string;
74
+ };
75
+ role: {
76
+ type: PropType<string>;
77
+ };
78
+ modelValue: {
79
+ type: PropType<any>;
80
+ default: string;
81
+ };
82
+ placeholder: {
83
+ type: PropType<string>;
84
+ default: string;
85
+ };
86
+ errorMsg: {
87
+ type: PropType<string>;
88
+ default: string;
89
+ };
90
+ hideDetails: {
91
+ type: PropType<boolean>;
92
+ default: boolean;
93
+ };
94
+ hint: {
95
+ type: PropType<string>;
96
+ default: string;
97
+ };
98
+ max: {
99
+ type: PropType<string | number>;
100
+ };
101
+ min: {
102
+ type: PropType<string | number>;
103
+ };
104
+ clearable: {
105
+ type: PropType<boolean>;
106
+ default: boolean;
107
+ };
108
+ }>> & {
109
+ onFocus?: ((...args: any[]) => any) | undefined;
110
+ onBlur?: ((...args: any[]) => any) | undefined;
111
+ onInput?: ((...args: any[]) => any) | undefined;
112
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
114
+ "onClick:clear"?: ((...args: any[]) => any) | undefined;
115
+ }, "type" | "label" | "loading" | "disabled" | "prependIcon" | "appendIcon" | "id" | "modelValue" | "placeholder" | "errorMsg" | "hideDetails" | "hint" | "clearable">;
116
+ $attrs: {
117
+ [x: string]: unknown;
118
+ };
119
+ $refs: {
120
+ [x: string]: unknown;
121
+ };
122
+ $slots: Readonly<{
123
+ [name: string]: Slot<any> | undefined;
124
+ }>;
125
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
126
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
127
+ $emit: ((event: "input", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "click:icon", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "click:clear", ...args: any[]) => void);
128
+ $el: any;
129
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
130
+ type: {
131
+ type: PropType<"number" | "text" | "email" | "password" | "tel" | "url">;
132
+ required: true;
133
+ default: string;
134
+ };
135
+ label: {
136
+ type: PropType<string>;
137
+ default: string;
138
+ };
139
+ loading: {
140
+ type: PropType<boolean>;
141
+ default: boolean;
142
+ };
143
+ disabled: {
144
+ type: PropType<boolean>;
145
+ default: boolean;
146
+ };
147
+ prependIcon: {
148
+ type: PropType<string>;
149
+ default: string;
150
+ };
151
+ appendIcon: {
152
+ type: PropType<string>;
153
+ default: string;
154
+ };
155
+ id: {
156
+ type: PropType<string | undefined>;
157
+ required: true;
158
+ default: string;
159
+ };
160
+ role: {
161
+ type: PropType<string>;
162
+ };
163
+ modelValue: {
164
+ type: PropType<any>;
165
+ default: string;
166
+ };
167
+ placeholder: {
168
+ type: PropType<string>;
169
+ default: string;
170
+ };
171
+ errorMsg: {
172
+ type: PropType<string>;
173
+ default: string;
174
+ };
175
+ hideDetails: {
176
+ type: PropType<boolean>;
177
+ default: boolean;
178
+ };
179
+ hint: {
180
+ type: PropType<string>;
181
+ default: string;
182
+ };
183
+ max: {
184
+ type: PropType<string | number>;
185
+ };
186
+ min: {
187
+ type: PropType<string | number>;
188
+ };
189
+ clearable: {
190
+ type: PropType<boolean>;
191
+ default: boolean;
192
+ };
193
+ }>> & {
194
+ onFocus?: ((...args: any[]) => any) | undefined;
195
+ onBlur?: ((...args: any[]) => any) | undefined;
196
+ onInput?: ((...args: any[]) => any) | undefined;
197
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
198
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
199
+ "onClick:clear"?: ((...args: any[]) => any) | undefined;
200
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
+ input: (...args: any[]) => void;
202
+ "update:modelValue": (...args: any[]) => void;
203
+ blur: (...args: any[]) => void;
204
+ "click:icon": (...args: any[]) => void;
205
+ focus: (...args: any[]) => void;
206
+ "click:clear": (...args: any[]) => void;
207
+ }, string, {
208
+ type: "number" | "text" | "email" | "password" | "tel" | "url";
209
+ label: string;
210
+ loading: boolean;
211
+ disabled: boolean;
212
+ prependIcon: string;
213
+ appendIcon: string;
214
+ id: string | undefined;
215
+ modelValue: any;
216
+ placeholder: string;
217
+ errorMsg: string;
218
+ hideDetails: boolean;
219
+ hint: string;
220
+ clearable: boolean;
221
+ }, {}, string, {}> & {
222
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
223
+ created?: ((() => void) | (() => void)[]) | undefined;
224
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
225
+ mounted?: ((() => void) | (() => void)[]) | undefined;
226
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
227
+ updated?: ((() => void) | (() => void)[]) | undefined;
228
+ activated?: ((() => void) | (() => void)[]) | undefined;
229
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
230
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
231
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
232
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
233
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
234
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
235
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
236
+ 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;
237
+ };
238
+ $forceUpdate: () => void;
239
+ $nextTick: typeof nextTick;
240
+ $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;
241
+ } & Readonly<ExtractPropTypes<{
242
+ type: {
243
+ type: PropType<"number" | "text" | "email" | "password" | "tel" | "url">;
244
+ required: true;
245
+ default: string;
246
+ };
247
+ label: {
248
+ type: PropType<string>;
249
+ default: string;
250
+ };
251
+ loading: {
252
+ type: PropType<boolean>;
253
+ default: boolean;
254
+ };
255
+ disabled: {
256
+ type: PropType<boolean>;
257
+ default: boolean;
258
+ };
259
+ prependIcon: {
260
+ type: PropType<string>;
261
+ default: string;
262
+ };
263
+ appendIcon: {
264
+ type: PropType<string>;
265
+ default: string;
266
+ };
267
+ id: {
268
+ type: PropType<string | undefined>;
269
+ required: true;
270
+ default: string;
271
+ };
272
+ role: {
273
+ type: PropType<string>;
274
+ };
275
+ modelValue: {
276
+ type: PropType<any>;
277
+ default: string;
278
+ };
279
+ placeholder: {
280
+ type: PropType<string>;
281
+ default: string;
282
+ };
283
+ errorMsg: {
284
+ type: PropType<string>;
285
+ default: string;
286
+ };
287
+ hideDetails: {
288
+ type: PropType<boolean>;
289
+ default: boolean;
290
+ };
291
+ hint: {
292
+ type: PropType<string>;
293
+ default: string;
294
+ };
295
+ max: {
296
+ type: PropType<string | number>;
297
+ };
298
+ min: {
299
+ type: PropType<string | number>;
300
+ };
301
+ clearable: {
302
+ type: PropType<boolean>;
303
+ default: boolean;
304
+ };
305
+ }>> & {
306
+ onFocus?: ((...args: any[]) => any) | undefined;
307
+ onBlur?: ((...args: any[]) => any) | undefined;
308
+ onInput?: ((...args: any[]) => any) | undefined;
309
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
310
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
311
+ "onClick:clear"?: ((...args: any[]) => any) | undefined;
312
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
313
+ __isFragment?: undefined;
314
+ __isTeleport?: undefined;
315
+ __isSuspense?: undefined;
316
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
317
+ type: {
318
+ type: PropType<"number" | "text" | "email" | "password" | "tel" | "url">;
319
+ required: true;
320
+ default: string;
321
+ };
322
+ label: {
323
+ type: PropType<string>;
324
+ default: string;
325
+ };
326
+ loading: {
327
+ type: PropType<boolean>;
328
+ default: boolean;
329
+ };
330
+ disabled: {
331
+ type: PropType<boolean>;
332
+ default: boolean;
333
+ };
334
+ prependIcon: {
335
+ type: PropType<string>;
336
+ default: string;
337
+ };
338
+ appendIcon: {
339
+ type: PropType<string>;
340
+ default: string;
341
+ };
342
+ id: {
343
+ type: PropType<string | undefined>;
344
+ required: true;
345
+ default: string;
346
+ };
347
+ role: {
348
+ type: PropType<string>;
349
+ };
350
+ modelValue: {
351
+ type: PropType<any>;
352
+ default: string;
353
+ };
354
+ placeholder: {
355
+ type: PropType<string>;
356
+ default: string;
357
+ };
358
+ errorMsg: {
359
+ type: PropType<string>;
360
+ default: string;
361
+ };
362
+ hideDetails: {
363
+ type: PropType<boolean>;
364
+ default: boolean;
365
+ };
366
+ hint: {
367
+ type: PropType<string>;
368
+ default: string;
369
+ };
370
+ max: {
371
+ type: PropType<string | number>;
372
+ };
373
+ min: {
374
+ type: PropType<string | number>;
375
+ };
376
+ clearable: {
377
+ type: PropType<boolean>;
378
+ default: boolean;
379
+ };
380
+ }>> & {
381
+ onFocus?: ((...args: any[]) => any) | undefined;
382
+ onBlur?: ((...args: any[]) => any) | undefined;
383
+ onInput?: ((...args: any[]) => any) | undefined;
384
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
385
+ "onClick:icon"?: ((...args: any[]) => any) | undefined;
386
+ "onClick:clear"?: ((...args: any[]) => any) | undefined;
387
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
388
+ input: (...args: any[]) => void;
389
+ "update:modelValue": (...args: any[]) => void;
390
+ blur: (...args: any[]) => void;
391
+ "click:icon": (...args: any[]) => void;
392
+ focus: (...args: any[]) => void;
393
+ "click:clear": (...args: any[]) => void;
394
+ }, string, {
395
+ type: "number" | "text" | "email" | "password" | "tel" | "url";
396
+ label: string;
397
+ loading: boolean;
398
+ disabled: boolean;
399
+ prependIcon: string;
400
+ appendIcon: string;
401
+ id: string | undefined;
402
+ modelValue: any;
403
+ placeholder: string;
404
+ errorMsg: string;
405
+ hideDetails: boolean;
406
+ hint: string;
407
+ clearable: boolean;
408
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
409
+ $slots: {
410
+ prepend?(_: {}): any;
411
+ append?(_: {}): any;
412
+ };
413
+ })>;
414
+ export default TextfieldStory;
415
+ declare type Story = StoryObj<typeof TextfieldStory>;
416
+ export declare const Overview: Story;
417
+ export declare const Text: Story;
418
+ export declare const Mail: Story;
419
+ export declare const Password: Story;
420
+ export declare const Url: Story;
421
+ export declare const Tel: Story;
422
+ export declare const Number: Story;
423
+ export declare const Error: Story;
424
+ //# sourceMappingURL=Textfield.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textfield.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Textfield/Textfield.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAUrD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBO,CAAA;AAE3B,eAAe,cAAc,CAAA;AAE7B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAE5C,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,KAOjB,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,KAOjB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAOpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=textfield.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textfield.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Textfield/textfield.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,252 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { Placement, type Placements, Theme, Trigger, type Triggers } from './popper';
3
+ export interface IProps {
4
+ /**
5
+ * Placement of the tooltip
6
+ * @type Placements
7
+ * @default Placement.Top
8
+ * @example
9
+ * <Tooltip placement="top" />
10
+ */
11
+ placement?: Placements;
12
+ /**
13
+ * Text of the tooltip content
14
+ * @type string
15
+ * @default ''
16
+ * @example
17
+ * <Tooltip text="Tooltip" />
18
+ */
19
+ text?: string;
20
+ /**
21
+ * Dark theme of the tooltip deneme 1 2 3
22
+ * @type boolean
23
+ * @default true
24
+ * @example
25
+ * <Tooltip dark />
26
+ */
27
+ dark?: boolean;
28
+ /**
29
+ * Light theme of the tooltip
30
+ * @type boolean
31
+ * @default false
32
+ * @example
33
+ * <Tooltip light />
34
+ */
35
+ light?: boolean;
36
+ /**
37
+ * Triggers of the tooltip
38
+ * @type Triggers
39
+ * @default Trigger.Hover
40
+ * @example
41
+ * <Tooltip triggers="hover" />
42
+ */
43
+ triggers?: Array<Triggers>;
44
+ /**
45
+ * Auto hide of the tooltip
46
+ * @type boolean
47
+ * @default true
48
+ * @example
49
+ * <Tooltip autoHide />
50
+ */
51
+ autoHide?: boolean;
52
+ /**
53
+ * Hide delay of the tooltip
54
+ * @type number
55
+ * @default 3000
56
+ * @example
57
+ * <Tooltip hideDelay={3000} />
58
+ */
59
+ hideDelay?: number;
60
+ /**
61
+ * Show delay of the tooltip
62
+ * @type number
63
+ * @default 0
64
+ * @example
65
+ * <Tooltip showDelay={0} />
66
+ */
67
+ showDelay?: number;
68
+ /**
69
+ * Shown state of the tooltip
70
+ * @type boolean
71
+ * @default false
72
+ * @example
73
+ * <Tooltip shown />
74
+ */
75
+ shown?: boolean;
76
+ /**
77
+ * Disabled state of the tooltip
78
+ * @type boolean
79
+ * @default false
80
+ * @example
81
+ * <Tooltip disabled />
82
+ */
83
+ disabled?: boolean;
84
+ /**
85
+ * Offset of the tooltip
86
+ * @type number
87
+ * @default 0
88
+ * @example
89
+ * <Tooltip offset={0} />
90
+ * @link https://floating-ui.com/docs/tutorial#offset-middleware
91
+ */
92
+ offset?: number;
93
+ /**
94
+ * Padding of the tooltip
95
+ * @type number
96
+ * @default 2
97
+ * @example
98
+ * <Tooltip padding={0} />
99
+ * @link https://floating-ui.com/docs/tutorial#shift-middleware
100
+ */
101
+ padding?: number;
102
+ /**
103
+ * Outside click of the tooltip
104
+ * @type boolean
105
+ * @default false
106
+ * @example
107
+ * <Tooltip outsideClick />
108
+ */
109
+ outsideClick?: boolean;
110
+ /**
111
+ * Trigger content of the tooltip
112
+ * @type string
113
+ * @default ''
114
+ * @example
115
+ * <Tooltip triggerContent="Trigger" />
116
+ */
117
+ triggerContent?: string;
118
+ /**
119
+ * Resizable of the tooltip
120
+ * @type boolean
121
+ * @default true
122
+ * @example
123
+ * <Tooltip resizable />
124
+ * @link https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event
125
+ */
126
+ resizable?: boolean;
127
+ /**
128
+ * Trigger class of the tooltip
129
+ * @type string
130
+ * @default ''
131
+ * @example
132
+ * <Tooltip triggerClass="trigger" />
133
+ */
134
+ triggerClass?: string | string[];
135
+ /**
136
+ * Tooltip class of the tooltip
137
+ * @type string
138
+ * @default ''
139
+ * @example
140
+ * <Tooltip tooltipClass="tooltip" />
141
+ */
142
+ tooltipClass?: string | string[];
143
+ type?: Theme | string;
144
+ }
145
+ declare function hideTooltip(): void;
146
+ declare function onClick(): void;
147
+ declare function onMouseEnter(): void;
148
+ declare function onMouseLeave(): void;
149
+ declare function onMouseMove(): void;
150
+ declare function handleUpdate(): void;
151
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
152
+ placement: Placement;
153
+ text: string;
154
+ dark: boolean;
155
+ light: boolean;
156
+ triggers: () => Trigger[];
157
+ autoHide: boolean;
158
+ hideDelay: number;
159
+ showDelay: number;
160
+ shown: boolean;
161
+ disabled: boolean;
162
+ offset: number;
163
+ padding: number;
164
+ outsideClick: boolean;
165
+ triggerContent: string;
166
+ resizable: boolean;
167
+ triggerClass: string;
168
+ tooltipClass: string;
169
+ type: Theme;
170
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
171
+ show: (...args: any[]) => void;
172
+ hide: (...args: any[]) => void;
173
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
174
+ placement: Placement;
175
+ text: string;
176
+ dark: boolean;
177
+ light: boolean;
178
+ triggers: () => Trigger[];
179
+ autoHide: boolean;
180
+ hideDelay: number;
181
+ showDelay: number;
182
+ shown: boolean;
183
+ disabled: boolean;
184
+ offset: number;
185
+ padding: number;
186
+ outsideClick: boolean;
187
+ triggerContent: string;
188
+ resizable: boolean;
189
+ triggerClass: string;
190
+ tooltipClass: string;
191
+ type: Theme;
192
+ }>>> & {
193
+ onShow?: ((...args: any[]) => any) | undefined;
194
+ onHide?: ((...args: any[]) => any) | undefined;
195
+ }, {
196
+ type: string;
197
+ text: string;
198
+ disabled: boolean;
199
+ placement: Placements;
200
+ padding: number;
201
+ dark: boolean;
202
+ light: boolean;
203
+ triggers: Triggers[];
204
+ autoHide: boolean;
205
+ hideDelay: number;
206
+ showDelay: number;
207
+ shown: boolean;
208
+ offset: number;
209
+ outsideClick: boolean;
210
+ triggerContent: string;
211
+ resizable: boolean;
212
+ triggerClass: string | string[];
213
+ tooltipClass: string | string[];
214
+ }, {}>, {
215
+ default?(_: {
216
+ activators: {
217
+ click: typeof onClick;
218
+ mouseenter: typeof onMouseEnter;
219
+ mouseleave: typeof onMouseLeave;
220
+ mousemove: typeof onMouseMove;
221
+ };
222
+ updatePosition: typeof handleUpdate;
223
+ }): any;
224
+ content?(_: {
225
+ hide: typeof hideTooltip;
226
+ updatePosition: typeof handleUpdate;
227
+ }): any;
228
+ }>;
229
+ export default _default;
230
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
231
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
232
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
233
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
234
+ } : {
235
+ type: PropType<T[K]>;
236
+ required: true;
237
+ };
238
+ };
239
+ declare type __VLS_WithDefaults<P, D> = {
240
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
241
+ default: D[K];
242
+ }> : P[K];
243
+ };
244
+ declare type __VLS_Prettify<T> = {
245
+ [K in keyof T]: T[K];
246
+ } & {};
247
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
248
+ new (): {
249
+ $slots: S;
250
+ };
251
+ };
252
+ //# sourceMappingURL=RTooltip.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/RTooltip.vue"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAA;AAGtB,OAAO,EACL,SAAS,EACT,KAAK,UAAU,EACf,KAAK,EACL,OAAO,EACP,KAAK,QAAQ,EAEd,MA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