@rocketui/vue 0.0.91 → 0.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/dist/rocket-ui-vue.d.ts +2007 -0
  2. package/dist/rocket-ui-vue.js +138 -139
  3. package/dist/rocket-ui-vue.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +2 -2
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -77
  7. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -42
  9. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  10. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  11. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  12. package/dist/src/components/Alert/Alert.stories.d.ts +0 -431
  13. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  14. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -126
  15. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  16. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  17. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  18. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  19. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  20. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -111
  21. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  22. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  23. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  24. package/dist/src/components/Badge/Badge.stories.d.ts +0 -207
  25. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  26. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -130
  27. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  28. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  29. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  30. package/dist/src/components/Box/Box.stories.d.ts +0 -158
  31. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -108
  33. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -41
  35. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  36. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  37. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  38. package/dist/src/components/Button/Button.stories.d.ts +0 -506
  39. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  40. package/dist/src/components/Button/RButton.vue.d.ts +0 -189
  41. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -86
  43. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -151
  45. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  46. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  47. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  48. package/dist/src/components/Chips/Chip.stories.d.ts +0 -467
  49. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  50. package/dist/src/components/Chips/RChip.vue.d.ts +0 -141
  51. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  52. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  53. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  54. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -379
  55. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -311
  57. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  58. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  59. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  60. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  61. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  62. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -62
  63. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  64. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  65. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  66. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -202
  67. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -78
  69. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -148
  71. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  72. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  73. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  74. package/dist/src/components/Label/Label.stories.d.ts +0 -129
  75. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  76. package/dist/src/components/Label/RLabel.vue.d.ts +0 -75
  77. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  78. package/dist/src/components/Modal/Modal.stories.d.ts +0 -236
  79. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  80. package/dist/src/components/Modal/RModal.vue.d.ts +0 -188
  81. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  82. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  83. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -195
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -85
  87. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  88. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  89. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  90. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  91. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  92. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -31
  93. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  94. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  95. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  96. package/dist/src/components/Shared/Enums.d.ts +0 -2
  97. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  98. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -56
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  100. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -137
  101. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  102. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  103. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  104. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -139
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  106. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -208
  107. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  108. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  109. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  110. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -164
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  112. package/dist/src/components/Switch/Switch.stories.d.ts +0 -94
  113. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  114. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  115. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  116. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -190
  117. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  118. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  119. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  120. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -269
  121. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  122. package/dist/src/components/TabItem/common.d.ts +0 -7
  123. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  124. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -105
  125. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  126. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  127. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  128. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -172
  129. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  130. package/dist/src/components/Tabs/types.d.ts +0 -11
  131. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  132. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -151
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  134. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -87
  135. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  136. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  137. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  138. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -285
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  140. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -375
  141. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  142. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  143. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  144. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -337
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  146. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -429
  147. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  148. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  149. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  150. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  151. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  152. package/dist/src/directives/index.d.ts +0 -5
  153. package/dist/src/directives/index.d.ts.map +0 -1
  154. package/dist/src/lib/main.d.ts +0 -25
  155. package/dist/src/lib/main.d.ts.map +0 -1
  156. package/dist/src/main.d.ts +0 -1
  157. package/dist/src/main.d.ts.map +0 -1
  158. package/dist/src/shims.d.ts +0 -9
@@ -1,285 +0,0 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
- export interface Props {
3
- /**
4
- * id of the textfield
5
- * @type HTMLAttributes['id']
6
- * @default ''
7
- * @example
8
- * <Textfield id="textfield" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * Input type
14
- * @type 'text' | 'password' | 'email' | 'number' | 'tel' | 'url'
15
- * @default 'text'
16
- * @example
17
- * <Textfield type="password" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
19
- */
20
- type: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
21
- /**
22
- * Input value
23
- * @type InputHTMLAttributes['value'];
24
- * @default ''
25
- * @example
26
- * <Textfield modelValue="Hello" />
27
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
28
- */
29
- modelValue?: InputHTMLAttributes['value'];
30
- /**
31
- * label of the textfield
32
- * @type LabelHTMLAttributes['label']
33
- * @default ''
34
- * @example
35
- * <Textfield label="Textfield" />
36
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
37
- */
38
- label?: LabelHTMLAttributes['for'];
39
- /**
40
- * Placeholder text
41
- * @type InputHTMLAttributes['placeholder'];
42
- * @default ''
43
- * @example
44
- * <Textfield placeholder="Placeholder" />
45
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
46
- */
47
- placeholder?: InputHTMLAttributes['placeholder'];
48
- /**
49
- * Error message
50
- * @type string
51
- * @default ''
52
- * @example
53
- * <Textfield errorMsg="This is an error" />
54
- */
55
- errorMsg?: string;
56
- /**
57
- * Hint text
58
- * @type string
59
- * @default ''
60
- * @example
61
- * <Textfield hint="This is a hint" />
62
- */
63
- hint?: string;
64
- /**
65
- * Icon to prepend
66
- * @type string
67
- * @default ''
68
- * @example
69
- * <Textfield prependIcon="mdiLock" />
70
- */
71
- prependIcon?: string;
72
- /**
73
- * Icon to append
74
- * @type string
75
- * @default ''
76
- * @example
77
- * <Textfield appendIcon="mdiEyeOffOutline" />
78
- */
79
- appendIcon?: string;
80
- /**
81
- * Input disabled state
82
- * @type InputHTMLAttributes['disabled'] | boolean
83
- * @default false
84
- * @example
85
- * <Textfield disabled="true" />
86
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
87
- */
88
- disabled?: boolean;
89
- /**
90
- * Input loading state
91
- * @type boolean
92
- * @default false
93
- * @example
94
- * <Textfield loading="true" />
95
- */
96
- loading?: boolean;
97
- /**
98
- * Input clearable state
99
- * @type boolean
100
- * @default false
101
- * @example
102
- * <Textfield clearable="true" />
103
- */
104
- clearable?: boolean;
105
- /**
106
- * Input number min value
107
- * @type InputHTMLAttributes['min']
108
- * @default ''
109
- * @example
110
- * <Textfield min="0" />
111
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
112
- */
113
- min?: InputHTMLAttributes['min'];
114
- /**
115
- * Input number max value
116
- * @type InputHTMLAttributes['max']
117
- * @default ''
118
- * @example
119
- * <Textfield max="10" />
120
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
121
- */
122
- max?: InputHTMLAttributes['max'];
123
- /**
124
- * Hide details state of textfield details
125
- * @type {boolean}
126
- * @default false
127
- * @example
128
- * <Textfield hideDetails />
129
- */
130
- hideDetails?: boolean;
131
- }
132
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
133
- type: {
134
- type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
135
- required: true;
136
- default: string;
137
- };
138
- label: {
139
- type: PropType<string>;
140
- default: string;
141
- };
142
- id: {
143
- type: PropType<string | undefined>;
144
- required: true;
145
- default: string;
146
- };
147
- max: {
148
- type: PropType<string | number>;
149
- };
150
- min: {
151
- type: PropType<string | number>;
152
- };
153
- loading: {
154
- type: PropType<boolean>;
155
- default: boolean;
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
- placeholder: {
170
- type: PropType<string>;
171
- default: string;
172
- };
173
- modelValue: {
174
- type: PropType<any>;
175
- default: string;
176
- };
177
- errorMsg: {
178
- type: PropType<string>;
179
- default: string;
180
- };
181
- hideDetails: {
182
- type: PropType<boolean>;
183
- default: boolean;
184
- };
185
- hint: {
186
- type: PropType<string>;
187
- default: string;
188
- };
189
- clearable: {
190
- type: PropType<boolean>;
191
- default: boolean;
192
- };
193
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "input" | "click:icon" | "click:clear")[], "input" | "update:modelValue" | "blur" | "focus" | "click:icon" | "click:clear", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
194
- type: {
195
- type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
196
- required: true;
197
- default: string;
198
- };
199
- label: {
200
- type: PropType<string>;
201
- default: string;
202
- };
203
- id: {
204
- type: PropType<string | undefined>;
205
- required: true;
206
- default: string;
207
- };
208
- max: {
209
- type: PropType<string | number>;
210
- };
211
- min: {
212
- type: PropType<string | number>;
213
- };
214
- loading: {
215
- type: PropType<boolean>;
216
- default: boolean;
217
- };
218
- disabled: {
219
- type: PropType<boolean>;
220
- default: boolean;
221
- };
222
- prependIcon: {
223
- type: PropType<string>;
224
- default: string;
225
- };
226
- appendIcon: {
227
- type: PropType<string>;
228
- default: string;
229
- };
230
- placeholder: {
231
- type: PropType<string>;
232
- default: string;
233
- };
234
- modelValue: {
235
- type: PropType<any>;
236
- default: string;
237
- };
238
- errorMsg: {
239
- type: PropType<string>;
240
- default: string;
241
- };
242
- hideDetails: {
243
- type: PropType<boolean>;
244
- default: boolean;
245
- };
246
- hint: {
247
- type: PropType<string>;
248
- default: string;
249
- };
250
- clearable: {
251
- type: PropType<boolean>;
252
- default: boolean;
253
- };
254
- }>> & {
255
- onFocus?: ((...args: any[]) => any) | undefined;
256
- onBlur?: ((...args: any[]) => any) | undefined;
257
- onInput?: ((...args: any[]) => any) | undefined;
258
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
259
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
260
- "onClick:clear"?: ((...args: any[]) => any) | undefined;
261
- }, {
262
- type: "number" | "text" | "password" | "email" | "tel" | "url";
263
- label: string;
264
- id: string | undefined;
265
- loading: boolean;
266
- disabled: boolean;
267
- prependIcon: string;
268
- appendIcon: string;
269
- placeholder: string;
270
- modelValue: any;
271
- errorMsg: string;
272
- hideDetails: boolean;
273
- hint: string;
274
- clearable: boolean;
275
- }>, {
276
- prepend?(_: {}): any;
277
- append?(_: {}): any;
278
- }>;
279
- export default _default;
280
- declare type __VLS_WithTemplateSlots<T, S> = T & {
281
- new (): {
282
- $slots: S;
283
- };
284
- };
285
- //# sourceMappingURL=RTextfield.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTextfield.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Textfield/RTextfield.vue"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKzB,MAAM,KAAK,CAAC;AACb,OAAO,iBAAiB,CAAC;AAKzB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IACxB;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAA;IAE9D;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAA;IAEzC;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAElC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAA;IAEhD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;;;OAOG;IACH,GAAG,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAEhC;;;;;;;OAOG;IACH,GAAG,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAEhC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqZD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,375 +0,0 @@
1
- import { ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, 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" | "password" | "email" | "tel" | "url";
9
- label: string;
10
- id: string | undefined;
11
- loading: boolean;
12
- disabled: boolean;
13
- prependIcon: string;
14
- appendIcon: string;
15
- placeholder: string;
16
- modelValue: any;
17
- errorMsg: string;
18
- hideDetails: boolean;
19
- hint: string;
20
- clearable: boolean;
21
- }> & Omit<Readonly<ExtractPropTypes<{
22
- type: {
23
- type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
24
- required: true;
25
- default: string;
26
- };
27
- label: {
28
- type: PropType<string>;
29
- default: string;
30
- };
31
- id: {
32
- type: PropType<string | undefined>;
33
- required: true;
34
- default: string;
35
- };
36
- max: {
37
- type: PropType<string | number>;
38
- };
39
- min: {
40
- type: PropType<string | number>;
41
- };
42
- loading: {
43
- type: PropType<boolean>;
44
- default: boolean;
45
- };
46
- disabled: {
47
- type: PropType<boolean>;
48
- default: boolean;
49
- };
50
- prependIcon: {
51
- type: PropType<string>;
52
- default: string;
53
- };
54
- appendIcon: {
55
- type: PropType<string>;
56
- default: string;
57
- };
58
- placeholder: {
59
- type: PropType<string>;
60
- default: string;
61
- };
62
- modelValue: {
63
- type: PropType<any>;
64
- default: string;
65
- };
66
- errorMsg: {
67
- type: PropType<string>;
68
- default: string;
69
- };
70
- hideDetails: {
71
- type: PropType<boolean>;
72
- default: boolean;
73
- };
74
- hint: {
75
- type: PropType<string>;
76
- default: string;
77
- };
78
- clearable: {
79
- type: PropType<boolean>;
80
- default: boolean;
81
- };
82
- }>> & {
83
- onFocus?: ((...args: any[]) => any) | undefined;
84
- onBlur?: ((...args: any[]) => any) | undefined;
85
- onInput?: ((...args: any[]) => any) | undefined;
86
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
87
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
88
- "onClick:clear"?: ((...args: any[]) => any) | undefined;
89
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "label" | "id" | "loading" | "disabled" | "prependIcon" | "appendIcon" | "placeholder" | "modelValue" | "errorMsg" | "hideDetails" | "hint" | "clearable">;
90
- $attrs: {
91
- [x: string]: unknown;
92
- };
93
- $refs: {
94
- [x: string]: unknown;
95
- };
96
- $slots: Readonly<{
97
- [name: string]: Slot | undefined;
98
- }>;
99
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
100
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
101
- $emit: (event: "update:modelValue" | "blur" | "focus" | "input" | "click:icon" | "click:clear", ...args: any[]) => void;
102
- $el: any;
103
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
104
- type: {
105
- type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
106
- required: true;
107
- default: string;
108
- };
109
- label: {
110
- type: PropType<string>;
111
- default: string;
112
- };
113
- id: {
114
- type: PropType<string | undefined>;
115
- required: true;
116
- default: string;
117
- };
118
- max: {
119
- type: PropType<string | number>;
120
- };
121
- min: {
122
- type: PropType<string | number>;
123
- };
124
- loading: {
125
- type: PropType<boolean>;
126
- default: boolean;
127
- };
128
- disabled: {
129
- type: PropType<boolean>;
130
- default: boolean;
131
- };
132
- prependIcon: {
133
- type: PropType<string>;
134
- default: string;
135
- };
136
- appendIcon: {
137
- type: PropType<string>;
138
- default: string;
139
- };
140
- placeholder: {
141
- type: PropType<string>;
142
- default: string;
143
- };
144
- modelValue: {
145
- type: PropType<any>;
146
- default: string;
147
- };
148
- errorMsg: {
149
- type: PropType<string>;
150
- default: string;
151
- };
152
- hideDetails: {
153
- type: PropType<boolean>;
154
- default: boolean;
155
- };
156
- hint: {
157
- type: PropType<string>;
158
- default: string;
159
- };
160
- clearable: {
161
- type: PropType<boolean>;
162
- default: boolean;
163
- };
164
- }>> & {
165
- onFocus?: ((...args: any[]) => any) | undefined;
166
- onBlur?: ((...args: any[]) => any) | undefined;
167
- onInput?: ((...args: any[]) => any) | undefined;
168
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
169
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
170
- "onClick:clear"?: ((...args: any[]) => any) | undefined;
171
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "input" | "click:icon" | "click:clear")[], string, {
172
- type: "number" | "text" | "password" | "email" | "tel" | "url";
173
- label: string;
174
- id: string | undefined;
175
- loading: boolean;
176
- disabled: boolean;
177
- prependIcon: string;
178
- appendIcon: string;
179
- placeholder: string;
180
- modelValue: any;
181
- errorMsg: string;
182
- hideDetails: boolean;
183
- hint: string;
184
- clearable: boolean;
185
- }> & {
186
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
187
- created?: ((() => void) | (() => void)[]) | undefined;
188
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
189
- mounted?: ((() => void) | (() => void)[]) | undefined;
190
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
191
- updated?: ((() => void) | (() => void)[]) | undefined;
192
- activated?: ((() => void) | (() => void)[]) | undefined;
193
- deactivated?: ((() => void) | (() => void)[]) | undefined;
194
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
195
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
196
- destroyed?: ((() => void) | (() => void)[]) | undefined;
197
- unmounted?: ((() => void) | (() => void)[]) | undefined;
198
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
199
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
200
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
201
- };
202
- $forceUpdate: () => void;
203
- $nextTick: typeof nextTick;
204
- $watch(source: string | Function, cb: Function, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
205
- } & Readonly<ExtractPropTypes<{
206
- type: {
207
- type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
208
- required: true;
209
- default: string;
210
- };
211
- label: {
212
- type: PropType<string>;
213
- default: string;
214
- };
215
- id: {
216
- type: PropType<string | undefined>;
217
- required: true;
218
- default: string;
219
- };
220
- max: {
221
- type: PropType<string | number>;
222
- };
223
- min: {
224
- type: PropType<string | number>;
225
- };
226
- loading: {
227
- type: PropType<boolean>;
228
- default: boolean;
229
- };
230
- disabled: {
231
- type: PropType<boolean>;
232
- default: boolean;
233
- };
234
- prependIcon: {
235
- type: PropType<string>;
236
- default: string;
237
- };
238
- appendIcon: {
239
- type: PropType<string>;
240
- default: string;
241
- };
242
- placeholder: {
243
- type: PropType<string>;
244
- default: string;
245
- };
246
- modelValue: {
247
- type: PropType<any>;
248
- default: string;
249
- };
250
- errorMsg: {
251
- type: PropType<string>;
252
- default: string;
253
- };
254
- hideDetails: {
255
- type: PropType<boolean>;
256
- default: boolean;
257
- };
258
- hint: {
259
- type: PropType<string>;
260
- default: string;
261
- };
262
- clearable: {
263
- type: PropType<boolean>;
264
- default: boolean;
265
- };
266
- }>> & {
267
- onFocus?: ((...args: any[]) => any) | undefined;
268
- onBlur?: ((...args: any[]) => any) | undefined;
269
- onInput?: ((...args: any[]) => any) | undefined;
270
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
271
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
272
- "onClick:clear"?: ((...args: any[]) => any) | undefined;
273
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties;
274
- __isFragment?: undefined;
275
- __isTeleport?: undefined;
276
- __isSuspense?: undefined;
277
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
278
- type: {
279
- type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
280
- required: true;
281
- default: string;
282
- };
283
- label: {
284
- type: PropType<string>;
285
- default: string;
286
- };
287
- id: {
288
- type: PropType<string | undefined>;
289
- required: true;
290
- default: string;
291
- };
292
- max: {
293
- type: PropType<string | number>;
294
- };
295
- min: {
296
- type: PropType<string | number>;
297
- };
298
- loading: {
299
- type: PropType<boolean>;
300
- default: boolean;
301
- };
302
- disabled: {
303
- type: PropType<boolean>;
304
- default: boolean;
305
- };
306
- prependIcon: {
307
- type: PropType<string>;
308
- default: string;
309
- };
310
- appendIcon: {
311
- type: PropType<string>;
312
- default: string;
313
- };
314
- placeholder: {
315
- type: PropType<string>;
316
- default: string;
317
- };
318
- modelValue: {
319
- type: PropType<any>;
320
- default: string;
321
- };
322
- errorMsg: {
323
- type: PropType<string>;
324
- default: string;
325
- };
326
- hideDetails: {
327
- type: PropType<boolean>;
328
- default: boolean;
329
- };
330
- hint: {
331
- type: PropType<string>;
332
- default: string;
333
- };
334
- clearable: {
335
- type: PropType<boolean>;
336
- default: boolean;
337
- };
338
- }>> & {
339
- onFocus?: ((...args: any[]) => any) | undefined;
340
- onBlur?: ((...args: any[]) => any) | undefined;
341
- onInput?: ((...args: any[]) => any) | undefined;
342
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
343
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
344
- "onClick:clear"?: ((...args: any[]) => any) | undefined;
345
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "input" | "click:icon" | "click:clear")[], "input" | "update:modelValue" | "blur" | "focus" | "click:icon" | "click:clear", {
346
- type: "number" | "text" | "password" | "email" | "tel" | "url";
347
- label: string;
348
- id: string | undefined;
349
- loading: boolean;
350
- disabled: boolean;
351
- prependIcon: string;
352
- appendIcon: string;
353
- placeholder: string;
354
- modelValue: any;
355
- errorMsg: string;
356
- hideDetails: boolean;
357
- hint: string;
358
- clearable: boolean;
359
- }> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
360
- $slots: {
361
- prepend?(_: {}): any;
362
- append?(_: {}): any;
363
- };
364
- })>;
365
- export default TextfieldStory;
366
- declare type Story = StoryObj<typeof TextfieldStory>;
367
- export declare const Overview: Story;
368
- export declare const Text: Story;
369
- export declare const Mail: Story;
370
- export declare const Password: Story;
371
- export declare const Url: Story;
372
- export declare const Tel: Story;
373
- export declare const Number: Story;
374
- export declare const Error: Story;
375
- //# sourceMappingURL=Textfield.stories.d.ts.map
@@ -1 +0,0 @@
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,CAAC;AAUtD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBO,CAAC;AAE5B,eAAe,cAAc,CAAC;AAE9B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAOjB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAOjB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAOpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=textfield.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"textfield.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Textfield/textfield.spec.ts"],"names":[],"mappings":""}