@velkymx/vibeui 0.9.0 → 1.1.0

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 (184) hide show
  1. package/AGENTS.md +44 -0
  2. package/CLAUDE.md +48 -0
  3. package/README.md +222 -197
  4. package/dist/App.vue.d.ts +2 -1
  5. package/dist/components/HelloWorld.vue.d.ts +2 -1
  6. package/dist/components/VibeAccordion.vue.d.ts +39 -40
  7. package/dist/components/VibeAlert.vue.d.ts +21 -37
  8. package/dist/components/VibeAutocomplete.vue.d.ts +59 -31
  9. package/dist/components/VibeBadge.vue.d.ts +10 -18
  10. package/dist/components/VibeBreadcrumb.vue.d.ts +25 -21
  11. package/dist/components/VibeButton.vue.d.ts +13 -17
  12. package/dist/components/VibeButtonGroup.vue.d.ts +11 -19
  13. package/dist/components/VibeCard.vue.d.ts +51 -24
  14. package/dist/components/VibeCarousel.vue.d.ts +27 -49
  15. package/dist/components/VibeChartBar.vue.d.ts +61 -0
  16. package/dist/components/VibeChartLine.vue.d.ts +70 -0
  17. package/dist/components/VibeChartPie.vue.d.ts +34 -0
  18. package/dist/components/VibeCloseButton.vue.d.ts +9 -7
  19. package/dist/components/VibeCol.vue.d.ts +9 -17
  20. package/dist/components/VibeCollapse.vue.d.ts +24 -32
  21. package/dist/components/VibeContainer.vue.d.ts +9 -17
  22. package/dist/components/VibeDataTable.vue.d.ts +122 -63
  23. package/dist/components/VibeDatePicker.vue.d.ts +4 -6
  24. package/dist/components/VibeDraggable.vue.d.ts +9 -13
  25. package/dist/components/VibeDropdown.vue.d.ts +46 -43
  26. package/dist/components/VibeDroppable.vue.d.ts +9 -13
  27. package/dist/components/VibeFileInput.vue.d.ts +14 -20
  28. package/dist/components/VibeFormCheckbox.vue.d.ts +30 -22
  29. package/dist/components/VibeFormDatepicker.vue.d.ts +27 -30
  30. package/dist/components/VibeFormErrorSummary.vue.d.ts +17 -0
  31. package/dist/components/VibeFormGroup.vue.d.ts +10 -13
  32. package/dist/components/VibeFormInput.vue.d.ts +60 -25
  33. package/dist/components/VibeFormRadio.vue.d.ts +23 -24
  34. package/dist/components/VibeFormSelect.vue.d.ts +28 -34
  35. package/dist/components/VibeFormSpinbutton.vue.d.ts +31 -34
  36. package/dist/components/VibeFormSwitch.vue.d.ts +22 -23
  37. package/dist/components/VibeFormTextarea.vue.d.ts +24 -25
  38. package/dist/components/VibeFormWysiwyg.vue.d.ts +23 -22
  39. package/dist/components/VibeHero.vue.d.ts +117 -0
  40. package/dist/components/VibeIcon.vue.d.ts +27 -7
  41. package/dist/components/VibeInputGroup.vue.d.ts +12 -14
  42. package/dist/components/VibeLink.vue.d.ts +14 -18
  43. package/dist/components/VibeListGroup.vue.d.ts +26 -22
  44. package/dist/components/VibeModal.vue.d.ts +47 -45
  45. package/dist/components/VibeNav.vue.d.ts +40 -20
  46. package/dist/components/VibeNavbar.vue.d.ts +12 -19
  47. package/dist/components/VibeNavbarBrand.vue.d.ts +9 -17
  48. package/dist/components/VibeNavbarNav.vue.d.ts +52 -33
  49. package/dist/components/VibeNavbarToggle.vue.d.ts +7 -5
  50. package/dist/components/VibeOffcanvas.vue.d.ts +28 -43
  51. package/dist/components/VibePagination.vue.d.ts +38 -29
  52. package/dist/components/VibePlaceholder.vue.d.ts +9 -17
  53. package/dist/components/VibePopover.vue.d.ts +17 -40
  54. package/dist/components/VibeProgress.vue.d.ts +13 -21
  55. package/dist/components/VibeResizable.vue.d.ts +10 -14
  56. package/dist/components/VibeRow.vue.d.ts +9 -17
  57. package/dist/components/VibeScrollspy.vue.d.ts +37 -25
  58. package/dist/components/VibeSkeleton.vue.d.ts +2 -1
  59. package/dist/components/VibeSlider.vue.d.ts +4 -5
  60. package/dist/components/VibeSortable.vue.d.ts +37 -18
  61. package/dist/components/VibeSpinner.vue.d.ts +4 -7
  62. package/dist/components/VibeStepper.vue.d.ts +32 -31
  63. package/dist/components/VibeTab.vue.d.ts +7 -11
  64. package/dist/components/VibeTabContent.vue.d.ts +13 -31
  65. package/dist/components/VibeTabs.vue.d.ts +9 -13
  66. package/dist/components/VibeToast.vue.d.ts +31 -44
  67. package/dist/components/VibeToastHost.vue.d.ts +2 -1
  68. package/dist/components/VibeTooltip.vue.d.ts +16 -39
  69. package/dist/components/chart/chartColors.d.ts +3 -0
  70. package/dist/components/chart/chartResize.d.ts +2 -0
  71. package/dist/components/chart/chartTooltip.d.ts +2 -0
  72. package/dist/components/chart/chartTypes.d.ts +6 -0
  73. package/dist/components/chart/drawBar.d.ts +5 -0
  74. package/dist/components/chart/drawLine.d.ts +18 -0
  75. package/dist/components/chart/drawPie.d.ts +4 -0
  76. package/dist/components/dndStore.d.ts +1 -0
  77. package/dist/components/index.d.ts +6 -1
  78. package/dist/composables/useBreakpoints.d.ts +1 -0
  79. package/dist/composables/useColorMode.d.ts +1 -1
  80. package/dist/composables/useId.d.ts +1 -4
  81. package/dist/directives/vTooltip.d.ts +2 -3
  82. package/dist/injectionKeys.d.ts +34 -0
  83. package/dist/purify.es-eYghtX9j.mjs +735 -0
  84. package/dist/types.d.ts +23 -2
  85. package/dist/utils/routeKey.d.ts +11 -0
  86. package/dist/utils/safeCss.d.ts +16 -0
  87. package/dist/utils/safeHref.d.ts +7 -0
  88. package/dist/utils/sanitizeHtml.d.ts +13 -0
  89. package/dist/vibeui.css +2 -1
  90. package/dist/vibeui.es.js +8527 -5855
  91. package/dist/vibeui.umd.js +3 -1
  92. package/docs/README.md +225 -0
  93. package/docs/components/advanced/popover.md +125 -0
  94. package/docs/components/advanced/scrollspy.md +106 -0
  95. package/docs/components/advanced/tooltip.md +90 -0
  96. package/docs/components/card/card.md +223 -0
  97. package/docs/components/charts/chart-bar.md +129 -0
  98. package/docs/components/charts/chart-line.md +136 -0
  99. package/docs/components/charts/chart-pie.md +102 -0
  100. package/docs/components/core/alert.md +94 -0
  101. package/docs/components/core/badge.md +75 -0
  102. package/docs/components/core/button-group.md +99 -0
  103. package/docs/components/core/button.md +145 -0
  104. package/docs/components/core/close-button.md +82 -0
  105. package/docs/components/core/link.md +79 -0
  106. package/docs/components/core/placeholder.md +129 -0
  107. package/docs/components/core/skeleton.md +40 -0
  108. package/docs/components/core/spinner.md +103 -0
  109. package/docs/components/data/datatable.md +437 -0
  110. package/docs/components/hero/hero.md +65 -0
  111. package/docs/components/interactive/accordion.md +121 -0
  112. package/docs/components/interactive/carousel.md +112 -0
  113. package/docs/components/interactive/collapse.md +106 -0
  114. package/docs/components/interactive/date-picker.md +78 -0
  115. package/docs/components/interactive/draggable.md +91 -0
  116. package/docs/components/interactive/dropdown.md +129 -0
  117. package/docs/components/interactive/modal.md +151 -0
  118. package/docs/components/interactive/offcanvas.md +92 -0
  119. package/docs/components/interactive/resizable.md +73 -0
  120. package/docs/components/interactive/slider.md +57 -0
  121. package/docs/components/interactive/sortable.md +52 -0
  122. package/docs/components/interactive/stepper.md +83 -0
  123. package/docs/components/interactive/tabs.md +66 -0
  124. package/docs/components/interactive/toast.md +177 -0
  125. package/docs/components/layout/col.md +117 -0
  126. package/docs/components/layout/container.md +53 -0
  127. package/docs/components/layout/row.md +107 -0
  128. package/docs/components/list/list-group.md +225 -0
  129. package/docs/components/navigation/breadcrumb.md +120 -0
  130. package/docs/components/navigation/nav.md +151 -0
  131. package/docs/components/navigation/navbar.md +114 -0
  132. package/docs/components/navigation/pagination.md +163 -0
  133. package/docs/components/progress/progress.md +188 -0
  134. package/docs/composables/back-button.md +28 -0
  135. package/docs/composables/breakpoints.md +54 -0
  136. package/docs/composables/color-mode.md +179 -0
  137. package/docs/composables/use-form.md +78 -0
  138. package/docs/composables/use-position.md +68 -0
  139. package/docs/composables/use-toast.md +91 -0
  140. package/docs/directives/v-tooltip.md +58 -0
  141. package/docs/forms/README.md +87 -0
  142. package/docs/forms/autocomplete.md +96 -0
  143. package/docs/forms/file-input.md +97 -0
  144. package/docs/forms/form-checkbox.md +100 -0
  145. package/docs/forms/form-datepicker.md +80 -0
  146. package/docs/forms/form-error-summary.md +96 -0
  147. package/docs/forms/form-group.md +118 -0
  148. package/docs/forms/form-input.md +140 -0
  149. package/docs/forms/form-radio.md +82 -0
  150. package/docs/forms/form-select.md +98 -0
  151. package/docs/forms/form-spinbutton.md +94 -0
  152. package/docs/forms/form-switch.md +75 -0
  153. package/docs/forms/form-textarea.md +82 -0
  154. package/docs/forms/form-wysiwyg.md +99 -0
  155. package/docs/forms/input-group.md +70 -0
  156. package/docs/forms/validation.md +213 -0
  157. package/docs/getting-started/starter-template.md +136 -0
  158. package/docs/superpowers/plans/2026-05-12-vibe-charts.md +1999 -0
  159. package/docs/superpowers/plans/2026-05-29-e2e-browser-testing.md +615 -0
  160. package/docs/superpowers/specs/2026-05-12-charting-design.md +185 -0
  161. package/docs/superpowers/specs/2026-05-29-e2e-browser-testing-design.md +168 -0
  162. package/docs/utilities/position.md +82 -0
  163. package/docs/versioning.md +57 -0
  164. package/examples/README.md +201 -0
  165. package/examples/album.html +262 -0
  166. package/examples/blog.html +166 -0
  167. package/examples/carousel.html +114 -0
  168. package/examples/checkout.html +275 -0
  169. package/examples/cover.html +89 -0
  170. package/examples/dashboard.html +156 -0
  171. package/examples/index.html +129 -0
  172. package/examples/jumbotron.html +56 -0
  173. package/examples/mobile-dashboard.html +138 -0
  174. package/examples/pricing.html +172 -0
  175. package/examples/product.html +145 -0
  176. package/examples/sidebars.html +166 -0
  177. package/examples/sign-in.html +119 -0
  178. package/examples/starter.html +314 -0
  179. package/examples/sticky-footer-navbar.html +70 -0
  180. package/examples/sticky-footer.html +60 -0
  181. package/examples/test-simple.html +91 -0
  182. package/llms.txt +801 -0
  183. package/package.json +44 -14
  184. package/dist/types/index.d.ts +0 -6
@@ -1,17 +1,12 @@
1
1
  import { ProgressBar } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- label?(_: {
6
- bar: ProgressBar;
7
- index: number;
8
- }): any;
9
- };
10
- refs: {};
11
- rootEl: HTMLDivElement;
2
+ declare var __VLS_1: {
3
+ bar: ProgressBar;
4
+ index: number;
5
+ };
6
+ type __VLS_Slots = {} & {
7
+ label?: (props: typeof __VLS_1) => any;
12
8
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
10
  height: {
16
11
  type: StringConstructor;
17
12
  default: undefined;
@@ -20,9 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
20
15
  type: () => ProgressBar[];
21
16
  required: true;
22
17
  };
23
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
- "component-error": (...args: any[]) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
19
  height: {
27
20
  type: StringConstructor;
28
21
  default: undefined;
@@ -31,14 +24,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
24
  type: () => ProgressBar[];
32
25
  required: true;
33
26
  };
34
- }>> & Readonly<{
35
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
36
- }>, {
27
+ }>> & Readonly<{}>, {
37
28
  height: string;
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
+ declare const _default: typeof __VLS_export;
40
32
  export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
33
+ type __VLS_WithSlots<T, S> = T & {
42
34
  new (): {
43
35
  $slots: S;
44
36
  };
@@ -1,15 +1,10 @@
1
1
  import { PropType } from 'vue';
2
2
  type Handle = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
3
+ declare var __VLS_1: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
10
6
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
8
  handles: {
14
9
  type: PropType<Handle[]>;
15
10
  default: () => Handle[];
@@ -128,16 +123,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
128
123
  width: number;
129
124
  height: number;
130
125
  grid: number;
131
- handles: Handle[];
132
126
  minWidth: number;
133
127
  maxWidth: number;
134
128
  minHeight: number;
135
- maxHeight: number;
136
129
  aspectRatio: number;
137
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
138
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
130
+ handles: Handle[];
131
+ maxHeight: number;
132
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
133
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
134
+ declare const _default: typeof __VLS_export;
139
135
  export default _default;
140
- type __VLS_WithTemplateSlots<T, S> = T & {
136
+ type __VLS_WithSlots<T, S> = T & {
141
137
  new (): {
142
138
  $slots: S;
143
139
  };
@@ -1,15 +1,10 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Tag, GutterSize, RowColsSize, AlignItems, JustifyContent } from '../types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
10
6
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
8
  tag: {
14
9
  type: PropType<Tag>;
15
10
  default: string;
@@ -118,9 +113,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
118
113
  type: PropType<JustifyContent>;
119
114
  default: undefined;
120
115
  };
121
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
122
- "component-error": (...args: any[]) => void;
123
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
116
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
124
117
  tag: {
125
118
  type: PropType<Tag>;
126
119
  default: string;
@@ -229,9 +222,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
229
222
  type: PropType<JustifyContent>;
230
223
  default: undefined;
231
224
  };
232
- }>> & Readonly<{
233
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
234
- }>, {
225
+ }>> & Readonly<{}>, {
235
226
  tag: Tag;
236
227
  gutters: GutterSize;
237
228
  guttersX: GutterSize;
@@ -260,9 +251,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
260
251
  alignItems: AlignItems;
261
252
  justifyContent: JustifyContent;
262
253
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
263
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
254
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
255
+ declare const _default: typeof __VLS_export;
264
256
  export default _default;
265
- type __VLS_WithTemplateSlots<T, S> = T & {
257
+ type __VLS_WithSlots<T, S> = T & {
266
258
  new (): {
267
259
  $slots: S;
268
260
  };
@@ -1,23 +1,21 @@
1
- import { Tag } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {
8
- scrollspyRef: unknown;
9
- };
10
- rootEl: any;
1
+ import { Tag, ComponentError } from '../types';
2
+ declare var __VLS_9: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_9) => any;
11
5
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
7
  target: {
15
8
  type: StringConstructor;
16
9
  required: true;
17
10
  };
11
+ /** @deprecated Bootstrap 5.2+ uses rootMargin. Use rootMargin instead. */
18
12
  offset: {
19
13
  type: NumberConstructor;
20
- default: number;
14
+ default: undefined;
15
+ };
16
+ rootMargin: {
17
+ type: StringConstructor;
18
+ default: string;
21
19
  };
22
20
  method: {
23
21
  type: StringConstructor;
@@ -31,19 +29,28 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
29
  type: () => Tag;
32
30
  default: string;
33
31
  };
32
+ height: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
34
36
  }>, {
35
- refresh: () => void;
36
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- "component-error": (...args: any[]) => void;
38
- activate: (...args: any[]) => void;
37
+ refresh: () => void | undefined;
38
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
39
+ "component-error": (error: ComponentError) => any;
40
+ activate: (event: Event) => any;
39
41
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
40
42
  target: {
41
43
  type: StringConstructor;
42
44
  required: true;
43
45
  };
46
+ /** @deprecated Bootstrap 5.2+ uses rootMargin. Use rootMargin instead. */
44
47
  offset: {
45
48
  type: NumberConstructor;
46
- default: number;
49
+ default: undefined;
50
+ };
51
+ rootMargin: {
52
+ type: StringConstructor;
53
+ default: string;
47
54
  };
48
55
  method: {
49
56
  type: StringConstructor;
@@ -57,20 +64,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
57
64
  type: () => Tag;
58
65
  default: string;
59
66
  };
67
+ height: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
60
71
  }>> & Readonly<{
61
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
62
- onActivate?: ((...args: any[]) => any) | undefined;
72
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
73
+ onActivate?: ((event: Event) => any) | undefined;
63
74
  }>, {
64
75
  tag: Tag;
76
+ height: string;
65
77
  offset: number;
78
+ rootMargin: string;
66
79
  method: string;
67
80
  smoothScroll: boolean;
68
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
69
- scrollspyRef: unknown;
70
- }, any>;
71
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
81
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
82
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
+ declare const _default: typeof __VLS_export;
72
84
  export default _default;
73
- type __VLS_WithTemplateSlots<T, S> = T & {
85
+ type __VLS_WithSlots<T, S> = T & {
74
86
  new (): {
75
87
  $slots: S;
76
88
  };
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  type SkeletonVariant = 'text' | 'rect' | 'circle' | 'card';
3
3
  type Dim = string | number;
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
5
  variant: {
6
6
  type: PropType<SkeletonVariant>;
7
7
  default: string;
@@ -50,4 +50,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
50
50
  lines: number;
51
51
  animated: boolean;
52
52
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
53
+ declare const _default: typeof __VLS_export;
53
54
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  type SliderValue = number | [number, number];
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  modelValue: {
5
5
  type: PropType<SliderValue>;
6
6
  default: number;
@@ -68,11 +68,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
68
  modelValue: SliderValue;
69
69
  disabled: boolean;
70
70
  vertical: boolean;
71
- step: number;
72
71
  range: boolean;
72
+ step: number;
73
73
  min: number;
74
74
  max: number;
75
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
76
- trackRef: HTMLDivElement;
77
- }, HTMLDivElement>;
75
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
76
+ declare const _default: typeof __VLS_export;
78
77
  export default _default;
@@ -1,27 +1,43 @@
1
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
- props: __VLS_PrettifyLocal<Pick<Partial<{
3
- tag: string;
4
- disabled: boolean;
5
- itemTag: string;
6
- }> & Omit<{
7
- readonly modelValue: T[];
8
- readonly tag: string;
9
- readonly disabled: boolean;
10
- readonly itemTag: string;
11
- readonly "onUpdate:modelValue"?: ((items: T[]) => any) | undefined;
12
- readonly onReorder?: ((payload: {
1
+ import { PropType } from 'vue';
2
+ declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<import('vue').ExtractPublicPropTypes<{
4
+ modelValue: {
5
+ type: PropType<T[]>;
6
+ required: boolean;
7
+ };
8
+ itemKey: {
9
+ type: StringConstructor;
10
+ default: undefined;
11
+ };
12
+ disabled: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ tag: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ itemTag: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ }> & {
25
+ "onUpdate:modelValue"?: ((items: T[]) => any) | undefined;
26
+ onReorder?: ((payload: {
13
27
  from: number;
14
28
  to: number;
15
29
  item: T;
16
30
  }) => any) | undefined;
17
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "tag" | "disabled" | "itemTag">, "modelValue" | "onUpdate:modelValue" | "onReorder" | ("tag" | "disabled" | "itemTag")> & {} & Partial<{}>> & import('vue').PublicProps;
18
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
31
+ }> & (typeof globalThis extends {
32
+ __VLS_PROPS_FALLBACK: infer P;
33
+ } ? P : {});
34
+ expose: (exposed: {}) => void;
19
35
  attrs: any;
20
36
  slots: {
21
- default?(_: {
37
+ default?: (props: {
22
38
  item: T;
23
39
  index: number;
24
- }): any;
40
+ }) => any;
25
41
  };
26
42
  emit: {
27
43
  (e: "update:modelValue", items: T[]): void;
@@ -34,7 +50,10 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
34
50
  }>) => import('vue').VNode & {
35
51
  __ctx?: Awaited<typeof __VLS_setup>;
36
52
  };
53
+ declare const _default: typeof __VLS_export;
37
54
  export default _default;
38
- type __VLS_PrettifyLocal<T> = {
55
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
39
56
  [K in keyof T]: T[K];
40
- } & {};
57
+ } : {
58
+ [K in keyof T as K]: T[K];
59
+ }) & {};
@@ -1,5 +1,5 @@
1
1
  import { Variant, Size, SpinnerType } from '../types';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
3
  variant: {
4
4
  type: () => Variant;
5
5
  default: undefined;
@@ -20,9 +20,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
20
20
  type: StringConstructor;
21
21
  default: string;
22
22
  };
23
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
- "component-error": (...args: any[]) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
24
  variant: {
27
25
  type: () => Variant;
28
26
  default: undefined;
@@ -43,13 +41,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
43
41
  type: StringConstructor;
44
42
  default: string;
45
43
  };
46
- }>> & Readonly<{
47
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
48
- }>, {
44
+ }>> & Readonly<{}>, {
49
45
  variant: Variant;
50
46
  type: SpinnerType;
51
47
  label: string;
52
48
  tag: string;
53
49
  size: Size;
54
50
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
+ declare const _default: typeof __VLS_export;
55
52
  export default _default;
@@ -6,34 +6,32 @@ export interface StepperStep {
6
6
  icon?: string;
7
7
  }
8
8
  type StepperGuard = (currentIndex: number, direction: 'next' | 'prev') => boolean | Promise<boolean>;
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- marker?(_: {
13
- index: number;
14
- step: StepperStep;
15
- active: boolean;
16
- }): any;
17
- label?(_: {
18
- index: number;
19
- step: StepperStep;
20
- }): any;
21
- step?(_: {
22
- index: number;
23
- step: StepperStep;
24
- }): any;
25
- actions?(_: {
26
- next: () => Promise<void>;
27
- prev: () => Promise<void>;
28
- isFirst: boolean;
29
- isLast: boolean;
30
- }): any;
31
- };
32
- refs: {};
33
- rootEl: HTMLDivElement;
9
+ declare var __VLS_1: {
10
+ index: number;
11
+ step: StepperStep;
12
+ active: boolean;
13
+ }, __VLS_3: {
14
+ index: number;
15
+ step: StepperStep;
16
+ }, __VLS_5: {
17
+ index: number;
18
+ step: StepperStep | undefined;
19
+ }, __VLS_7: {
20
+ next: () => Promise<void>;
21
+ prev: () => Promise<void>;
22
+ isFirst: boolean;
23
+ isLast: boolean;
34
24
  };
35
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
25
+ type __VLS_Slots = {} & {
26
+ marker?: (props: typeof __VLS_1) => any;
27
+ } & {
28
+ label?: (props: typeof __VLS_3) => any;
29
+ } & {
30
+ step?: (props: typeof __VLS_5) => any;
31
+ } & {
32
+ actions?: (props: typeof __VLS_7) => any;
33
+ };
34
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
37
35
  modelValue: {
38
36
  type: NumberConstructor;
39
37
  default: number;
@@ -72,6 +70,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
72
70
  };
73
71
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
74
72
  "update:modelValue": (index: number) => any;
73
+ "component-error": (error: unknown) => any;
75
74
  finish: () => any;
76
75
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
77
76
  modelValue: {
@@ -112,20 +111,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
112
111
  };
113
112
  }>> & Readonly<{
114
113
  "onUpdate:modelValue"?: ((index: number) => any) | undefined;
114
+ "onComponent-error"?: ((error: unknown) => any) | undefined;
115
115
  onFinish?: (() => any) | undefined;
116
116
  }>, {
117
117
  modelValue: number;
118
118
  vertical: boolean;
119
+ linear: boolean;
119
120
  prevText: string;
120
121
  nextText: string;
121
- linear: boolean;
122
122
  beforeNext: StepperGuard;
123
123
  beforePrev: StepperGuard;
124
124
  finishText: string;
125
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
126
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
125
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
126
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
127
+ declare const _default: typeof __VLS_export;
127
128
  export default _default;
128
- type __VLS_WithTemplateSlots<T, S> = T & {
129
+ type __VLS_WithSlots<T, S> = T & {
129
130
  new (): {
130
131
  $slots: S;
131
132
  };
@@ -1,13 +1,8 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: any;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
6
  name: {
12
7
  type: StringConstructor;
13
8
  required: true;
@@ -36,9 +31,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
36
31
  }>> & Readonly<{}>, {
37
32
  disabled: boolean;
38
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
+ declare const _default: typeof __VLS_export;
40
36
  export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
37
+ type __VLS_WithSlots<T, S> = T & {
42
38
  new (): {
43
39
  $slots: S;
44
40
  };
@@ -1,20 +1,13 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Tag, TabPane } from '../types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- pane?(_: {
7
- pane: TabPane;
8
- index: number;
9
- }): any;
10
- };
11
- refs: {
12
- tabContentRef: unknown;
13
- };
14
- rootEl: any;
3
+ declare var __VLS_8: {
4
+ pane: TabPane;
5
+ index: number;
6
+ };
7
+ type __VLS_Slots = {} & {
8
+ pane?: (props: typeof __VLS_8) => any;
15
9
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
10
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
18
11
  id: {
19
12
  type: StringConstructor;
20
13
  default: undefined;
@@ -31,12 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
24
  type: BooleanConstructor;
32
25
  default: boolean;
33
26
  };
34
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- "component-error": (...args: any[]) => void;
36
- shown: (...args: any[]) => void;
37
- hide: (...args: any[]) => void;
38
- hidden: (...args: any[]) => void;
39
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
40
28
  id: {
41
29
  type: StringConstructor;
42
30
  default: undefined;
@@ -53,21 +41,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
53
41
  type: BooleanConstructor;
54
42
  default: boolean;
55
43
  };
56
- }>> & Readonly<{
57
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
58
- onShown?: ((...args: any[]) => any) | undefined;
59
- onHide?: ((...args: any[]) => any) | undefined;
60
- onHidden?: ((...args: any[]) => any) | undefined;
61
- }>, {
44
+ }>> & Readonly<{}>, {
62
45
  fade: boolean;
63
46
  tag: Tag;
64
47
  id: string;
65
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
66
- tabContentRef: unknown;
67
- }, any>;
68
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
50
+ declare const _default: typeof __VLS_export;
69
51
  export default _default;
70
- type __VLS_WithTemplateSlots<T, S> = T & {
52
+ type __VLS_WithSlots<T, S> = T & {
71
53
  new (): {
72
54
  $slots: S;
73
55
  };
@@ -1,15 +1,10 @@
1
1
  import { PropType } from 'vue';
2
2
  type TabsVariant = 'tabs' | 'pills' | 'underline';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
3
+ declare var __VLS_1: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
10
6
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
8
  modelValue: {
14
9
  type: StringConstructor;
15
10
  default: undefined;
@@ -69,13 +64,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
69
64
  variant: TabsVariant;
70
65
  modelValue: string;
71
66
  fill: boolean;
72
- lazy: boolean;
73
67
  vertical: boolean;
74
68
  justified: boolean;
75
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
76
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
69
+ lazy: boolean;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
+ declare const _default: typeof __VLS_export;
77
73
  export default _default;
78
- type __VLS_WithTemplateSlots<T, S> = T & {
74
+ type __VLS_WithSlots<T, S> = T & {
79
75
  new (): {
80
76
  $slots: S;
81
77
  };