@velkymx/vibeui 0.9.0 → 1.0.2

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 (205) hide show
  1. package/AGENTS.md +44 -0
  2. package/CLAUDE.md +48 -0
  3. package/README.md +222 -197
  4. package/dist/purify.es-1D-VntFD.mjs +679 -0
  5. package/dist/src/App.vue.d.ts +3 -0
  6. package/dist/src/components/HelloWorld.vue.d.ts +6 -0
  7. package/dist/src/components/VibeAccordion.vue.d.ts +89 -0
  8. package/dist/{components → src/components}/VibeAlert.vue.d.ts +18 -34
  9. package/dist/src/components/VibeAutocomplete.vue.d.ts +74 -0
  10. package/dist/{components → src/components}/VibeBadge.vue.d.ts +10 -18
  11. package/dist/src/components/VibeBreadcrumb.vue.d.ts +51 -0
  12. package/dist/{components → src/components}/VibeButton.vue.d.ts +13 -17
  13. package/dist/{components → src/components}/VibeButtonGroup.vue.d.ts +10 -18
  14. package/dist/{components → src/components}/VibeCard.vue.d.ts +51 -24
  15. package/dist/{components → src/components}/VibeCarousel.vue.d.ts +27 -49
  16. package/dist/src/components/VibeChartBar.vue.d.ts +61 -0
  17. package/dist/src/components/VibeChartLine.vue.d.ts +70 -0
  18. package/dist/src/components/VibeChartPie.vue.d.ts +34 -0
  19. package/dist/{components → src/components}/VibeCloseButton.vue.d.ts +9 -7
  20. package/dist/{components → src/components}/VibeCol.vue.d.ts +9 -17
  21. package/dist/src/components/VibeCollapse.vue.d.ts +76 -0
  22. package/dist/src/components/VibeContainer.vue.d.ts +36 -0
  23. package/dist/src/components/VibeDataTable.vue.d.ts +131 -0
  24. package/dist/{components → src/components}/VibeDatePicker.vue.d.ts +4 -6
  25. package/dist/{components → src/components}/VibeDraggable.vue.d.ts +9 -13
  26. package/dist/{components → src/components}/VibeDropdown.vue.d.ts +46 -43
  27. package/dist/{components → src/components}/VibeDroppable.vue.d.ts +9 -13
  28. package/dist/{components → src/components}/VibeFileInput.vue.d.ts +14 -20
  29. package/dist/{components → src/components}/VibeFormCheckbox.vue.d.ts +29 -21
  30. package/dist/{components → src/components}/VibeFormDatepicker.vue.d.ts +26 -29
  31. package/dist/{components → src/components}/VibeFormGroup.vue.d.ts +10 -13
  32. package/dist/{components → src/components}/VibeFormInput.vue.d.ts +22 -23
  33. package/dist/{components → src/components}/VibeFormRadio.vue.d.ts +22 -23
  34. package/dist/{components → src/components}/VibeFormSelect.vue.d.ts +27 -33
  35. package/dist/{components → src/components}/VibeFormSpinbutton.vue.d.ts +30 -33
  36. package/dist/{components → src/components}/VibeFormSwitch.vue.d.ts +21 -22
  37. package/dist/{components → src/components}/VibeFormTextarea.vue.d.ts +23 -24
  38. package/dist/{components → src/components}/VibeFormWysiwyg.vue.d.ts +22 -21
  39. package/dist/src/components/VibeHero.vue.d.ts +108 -0
  40. package/dist/{components → src/components}/VibeIcon.vue.d.ts +27 -7
  41. package/dist/{components → src/components}/VibeInputGroup.vue.d.ts +11 -13
  42. package/dist/{components → src/components}/VibeLink.vue.d.ts +14 -18
  43. package/dist/{components → src/components}/VibeListGroup.vue.d.ts +26 -22
  44. package/dist/{components → src/components}/VibeModal.vue.d.ts +29 -45
  45. package/dist/{components → src/components}/VibeNav.vue.d.ts +40 -20
  46. package/dist/{components → src/components}/VibeNavbar.vue.d.ts +12 -19
  47. package/dist/src/components/VibeNavbarBrand.vue.d.ts +34 -0
  48. package/dist/src/components/VibeNavbarNav.vue.d.ts +80 -0
  49. package/dist/{components → src/components}/VibeNavbarToggle.vue.d.ts +7 -5
  50. package/dist/{components → src/components}/VibeOffcanvas.vue.d.ts +28 -43
  51. package/dist/{components → src/components}/VibePagination.vue.d.ts +38 -29
  52. package/dist/{components → src/components}/VibePlaceholder.vue.d.ts +9 -17
  53. package/dist/src/components/VibePopover.vue.d.ts +72 -0
  54. package/dist/src/components/VibeProgress.vue.d.ts +37 -0
  55. package/dist/{components → src/components}/VibeResizable.vue.d.ts +10 -14
  56. package/dist/{components → src/components}/VibeRow.vue.d.ts +9 -17
  57. package/dist/src/components/VibeScrollspy.vue.d.ts +89 -0
  58. package/dist/{components → src/components}/VibeSkeleton.vue.d.ts +2 -1
  59. package/dist/{components → src/components}/VibeSlider.vue.d.ts +4 -5
  60. package/dist/src/components/VibeSortable.vue.d.ts +59 -0
  61. package/dist/{components → src/components}/VibeSpinner.vue.d.ts +4 -7
  62. package/dist/{components → src/components}/VibeStepper.vue.d.ts +32 -31
  63. package/dist/{components → src/components}/VibeTab.vue.d.ts +7 -11
  64. package/dist/src/components/VibeTabContent.vue.d.ts +56 -0
  65. package/dist/{components → src/components}/VibeTabs.vue.d.ts +9 -13
  66. package/dist/{components → src/components}/VibeToast.vue.d.ts +31 -44
  67. package/dist/{components → src/components}/VibeToastHost.vue.d.ts +2 -1
  68. package/dist/src/components/VibeTooltip.vue.d.ts +63 -0
  69. package/dist/src/components/chart/chartColors.d.ts +3 -0
  70. package/dist/src/components/chart/chartResize.d.ts +2 -0
  71. package/dist/src/components/chart/chartTooltip.d.ts +2 -0
  72. package/dist/src/components/chart/chartTypes.d.ts +6 -0
  73. package/dist/src/components/chart/drawBar.d.ts +5 -0
  74. package/dist/src/components/chart/drawLine.d.ts +18 -0
  75. package/dist/src/components/chart/drawPie.d.ts +4 -0
  76. package/dist/{components → src/components}/dndStore.d.ts +1 -0
  77. package/dist/{components → src/components}/index.d.ts +5 -1
  78. package/dist/{composables → src/composables}/useBreakpoints.d.ts +1 -0
  79. package/dist/{composables → src/composables}/useColorMode.d.ts +1 -1
  80. package/dist/src/composables/useId.d.ts +2 -0
  81. package/dist/{directives → src/directives}/vTooltip.d.ts +2 -3
  82. package/dist/src/injectionKeys.d.ts +28 -0
  83. package/dist/{types.d.ts → src/types.d.ts} +21 -2
  84. package/dist/src/utils/safeCss.d.ts +16 -0
  85. package/dist/src/utils/safeHref.d.ts +7 -0
  86. package/dist/src/utils/sanitizeHtml.d.ts +13 -0
  87. package/dist/vibeui.css +2 -1
  88. package/dist/vibeui.es.js +8269 -5855
  89. package/dist/vibeui.umd.js +3 -1
  90. package/docs/README.md +225 -0
  91. package/docs/components/advanced/popover.md +125 -0
  92. package/docs/components/advanced/scrollspy.md +106 -0
  93. package/docs/components/advanced/tooltip.md +90 -0
  94. package/docs/components/card/card.md +223 -0
  95. package/docs/components/charts/chart-bar.md +129 -0
  96. package/docs/components/charts/chart-line.md +136 -0
  97. package/docs/components/charts/chart-pie.md +102 -0
  98. package/docs/components/core/alert.md +94 -0
  99. package/docs/components/core/badge.md +75 -0
  100. package/docs/components/core/button-group.md +99 -0
  101. package/docs/components/core/button.md +127 -0
  102. package/docs/components/core/close-button.md +82 -0
  103. package/docs/components/core/link.md +79 -0
  104. package/docs/components/core/placeholder.md +129 -0
  105. package/docs/components/core/skeleton.md +40 -0
  106. package/docs/components/core/spinner.md +103 -0
  107. package/docs/components/data/datatable.md +435 -0
  108. package/docs/components/hero/hero.md +64 -0
  109. package/docs/components/interactive/accordion.md +121 -0
  110. package/docs/components/interactive/carousel.md +112 -0
  111. package/docs/components/interactive/collapse.md +106 -0
  112. package/docs/components/interactive/date-picker.md +78 -0
  113. package/docs/components/interactive/draggable.md +91 -0
  114. package/docs/components/interactive/dropdown.md +129 -0
  115. package/docs/components/interactive/modal.md +143 -0
  116. package/docs/components/interactive/offcanvas.md +92 -0
  117. package/docs/components/interactive/resizable.md +73 -0
  118. package/docs/components/interactive/slider.md +57 -0
  119. package/docs/components/interactive/sortable.md +52 -0
  120. package/docs/components/interactive/stepper.md +83 -0
  121. package/docs/components/interactive/tabs.md +66 -0
  122. package/docs/components/interactive/toast.md +177 -0
  123. package/docs/components/layout/col.md +117 -0
  124. package/docs/components/layout/container.md +53 -0
  125. package/docs/components/layout/row.md +107 -0
  126. package/docs/components/list/list-group.md +225 -0
  127. package/docs/components/navigation/breadcrumb.md +120 -0
  128. package/docs/components/navigation/nav.md +151 -0
  129. package/docs/components/navigation/navbar.md +108 -0
  130. package/docs/components/navigation/pagination.md +162 -0
  131. package/docs/components/progress/progress.md +188 -0
  132. package/docs/composables/back-button.md +28 -0
  133. package/docs/composables/breakpoints.md +54 -0
  134. package/docs/composables/color-mode.md +179 -0
  135. package/docs/composables/use-form.md +78 -0
  136. package/docs/composables/use-position.md +68 -0
  137. package/docs/composables/use-toast.md +91 -0
  138. package/docs/directives/v-tooltip.md +58 -0
  139. package/docs/forms/README.md +87 -0
  140. package/docs/forms/autocomplete.md +96 -0
  141. package/docs/forms/file-input.md +97 -0
  142. package/docs/forms/form-checkbox.md +100 -0
  143. package/docs/forms/form-datepicker.md +80 -0
  144. package/docs/forms/form-group.md +115 -0
  145. package/docs/forms/form-input.md +112 -0
  146. package/docs/forms/form-radio.md +82 -0
  147. package/docs/forms/form-select.md +98 -0
  148. package/docs/forms/form-spinbutton.md +94 -0
  149. package/docs/forms/form-switch.md +75 -0
  150. package/docs/forms/form-textarea.md +82 -0
  151. package/docs/forms/form-wysiwyg.md +99 -0
  152. package/docs/forms/input-group.md +70 -0
  153. package/docs/forms/validation.md +213 -0
  154. package/docs/getting-started/starter-template.md +136 -0
  155. package/docs/superpowers/plans/2026-05-12-vibe-charts.md +1999 -0
  156. package/docs/superpowers/plans/2026-05-29-e2e-browser-testing.md +615 -0
  157. package/docs/superpowers/specs/2026-05-12-charting-design.md +185 -0
  158. package/docs/superpowers/specs/2026-05-29-e2e-browser-testing-design.md +168 -0
  159. package/docs/utilities/position.md +82 -0
  160. package/docs/versioning.md +57 -0
  161. package/examples/README.md +201 -0
  162. package/examples/album.html +262 -0
  163. package/examples/blog.html +166 -0
  164. package/examples/carousel.html +114 -0
  165. package/examples/checkout.html +275 -0
  166. package/examples/cover.html +89 -0
  167. package/examples/dashboard.html +156 -0
  168. package/examples/index.html +129 -0
  169. package/examples/jumbotron.html +56 -0
  170. package/examples/mobile-dashboard.html +138 -0
  171. package/examples/pricing.html +172 -0
  172. package/examples/product.html +145 -0
  173. package/examples/sidebars.html +166 -0
  174. package/examples/sign-in.html +119 -0
  175. package/examples/starter.html +314 -0
  176. package/examples/sticky-footer-navbar.html +70 -0
  177. package/examples/sticky-footer.html +60 -0
  178. package/examples/test-simple.html +91 -0
  179. package/llms.txt +782 -0
  180. package/package.json +44 -14
  181. package/dist/App.vue.d.ts +0 -2
  182. package/dist/components/HelloWorld.vue.d.ts +0 -5
  183. package/dist/components/VibeAccordion.vue.d.ts +0 -90
  184. package/dist/components/VibeAutocomplete.vue.d.ts +0 -46
  185. package/dist/components/VibeBreadcrumb.vue.d.ts +0 -47
  186. package/dist/components/VibeCollapse.vue.d.ts +0 -84
  187. package/dist/components/VibeContainer.vue.d.ts +0 -44
  188. package/dist/components/VibeDataTable.vue.d.ts +0 -76
  189. package/dist/components/VibeNavbarBrand.vue.d.ts +0 -42
  190. package/dist/components/VibeNavbarNav.vue.d.ts +0 -61
  191. package/dist/components/VibePopover.vue.d.ts +0 -95
  192. package/dist/components/VibeProgress.vue.d.ts +0 -45
  193. package/dist/components/VibeScrollspy.vue.d.ts +0 -77
  194. package/dist/components/VibeSortable.vue.d.ts +0 -40
  195. package/dist/components/VibeTabContent.vue.d.ts +0 -74
  196. package/dist/components/VibeTooltip.vue.d.ts +0 -86
  197. package/dist/composables/useId.d.ts +0 -5
  198. package/dist/types/index.d.ts +0 -6
  199. /package/dist/{composables → src/composables}/useBackButton.d.ts +0 -0
  200. /package/dist/{composables → src/composables}/useForm.d.ts +0 -0
  201. /package/dist/{composables → src/composables}/useFormValidation.d.ts +0 -0
  202. /package/dist/{composables → src/composables}/usePosition.d.ts +0 -0
  203. /package/dist/{composables → src/composables}/useToast.d.ts +0 -0
  204. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  205. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
@@ -1,15 +1,10 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Tag, Variant } 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 | "a">;
15
10
  default: string;
@@ -27,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
27
22
  default: undefined;
28
23
  };
29
24
  underline: {
30
- type: PropType<boolean | "0" | "1" | "2" | "3">;
25
+ type: PropType<boolean | "0">;
31
26
  default: boolean;
32
27
  };
33
28
  underlineVariant: {
@@ -68,7 +63,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
68
63
  default: undefined;
69
64
  };
70
65
  underline: {
71
- type: PropType<boolean | "0" | "1" | "2" | "3">;
66
+ type: PropType<boolean | "0">;
72
67
  default: boolean;
73
68
  };
74
69
  underlineVariant: {
@@ -93,19 +88,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
93
88
  };
94
89
  }>> & Readonly<{}>, {
95
90
  variant: Variant;
96
- tag: "a" | Tag;
91
+ tag: Tag | "a";
97
92
  href: string;
98
93
  to: string | Record<string, any>;
99
94
  focusRing: boolean;
100
- offset: 1 | "1" | "2" | "3" | 2 | 3;
101
- underline: boolean | "0" | "1" | "2" | "3";
95
+ underline: boolean | "0";
96
+ offset: 1 | 2 | 3 | "1" | "2" | "3";
102
97
  underlineVariant: Variant;
103
- underlineOpacity: 0 | "0" | 10 | 100 | "10" | 25 | 50 | "25" | "50" | "75" | "100" | 75;
104
- opacity: 10 | 100 | "10" | 25 | 50 | "25" | "50" | "75" | "100" | 75;
98
+ underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | "25" | "50" | "75" | "100" | 75;
99
+ opacity: 10 | "10" | 100 | 50 | 25 | "25" | "50" | "75" | "100" | 75;
105
100
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
106
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
101
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
102
+ declare const _default: typeof __VLS_export;
107
103
  export default _default;
108
- type __VLS_WithTemplateSlots<T, S> = T & {
104
+ type __VLS_WithSlots<T, S> = T & {
109
105
  new (): {
110
106
  $slots: S;
111
107
  };
@@ -1,17 +1,12 @@
1
- import { Tag, ListGroupItem } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- item?(_: {
6
- item: ListGroupItem;
7
- index: number;
8
- }): any;
9
- };
10
- refs: {};
11
- rootEl: any;
1
+ import { Tag, ListGroupItem, ComponentError } from '../types';
2
+ declare var __VLS_16: {
3
+ item: ListGroupItem;
4
+ index: number;
5
+ };
6
+ type __VLS_Slots = {} & {
7
+ item?: (props: typeof __VLS_16) => 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
  flush: {
16
11
  type: BooleanConstructor;
17
12
  default: boolean;
@@ -32,9 +27,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
32
27
  type: () => ListGroupItem[];
33
28
  required: true;
34
29
  };
35
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
- "component-error": (...args: any[]) => void;
37
- "item-click": (...args: any[]) => void;
30
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
31
+ "component-error": (error: ComponentError) => any;
32
+ "item-click": (payload: {
33
+ item: ListGroupItem;
34
+ index: number;
35
+ event: Event;
36
+ }) => any;
38
37
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
38
  flush: {
40
39
  type: BooleanConstructor;
@@ -57,17 +56,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
57
56
  required: true;
58
57
  };
59
58
  }>> & Readonly<{
60
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
61
- "onItem-click"?: ((...args: any[]) => any) | undefined;
59
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
60
+ "onItem-click"?: ((payload: {
61
+ item: ListGroupItem;
62
+ index: number;
63
+ event: Event;
64
+ }) => any) | undefined;
62
65
  }>, {
63
- tag: "ol" | "ul" | Tag;
64
- flush: boolean;
66
+ tag: Tag | "ol" | "ul";
65
67
  horizontal: string | boolean;
68
+ flush: boolean;
66
69
  numbered: boolean;
67
70
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
71
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
+ declare const _default: typeof __VLS_export;
69
73
  export default _default;
70
- type __VLS_WithTemplateSlots<T, S> = T & {
74
+ type __VLS_WithSlots<T, S> = T & {
71
75
  new (): {
72
76
  $slots: S;
73
77
  };
@@ -1,27 +1,22 @@
1
- import { Size } from '../types';
1
+ import { Size, ComponentError } from '../types';
2
2
  interface BootstrapModal {
3
3
  show: () => void;
4
4
  hide: () => void;
5
5
  dispose: () => void;
6
6
  handleUpdate: () => void;
7
7
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- header?(_: {}): any;
12
- default?(_: {}): any;
13
- footer?(_: {}): any;
14
- };
15
- refs: {
16
- modalRef: HTMLDivElement;
17
- };
18
- rootEl: any;
8
+ declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
9
+ type __VLS_Slots = {} & {
10
+ header?: (props: typeof __VLS_7) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_9) => any;
13
+ } & {
14
+ footer?: (props: typeof __VLS_11) => any;
19
15
  };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
16
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
22
17
  id: {
23
18
  type: StringConstructor;
24
- default: () => string;
19
+ default: undefined;
25
20
  };
26
21
  modelValue: {
27
22
  type: BooleanConstructor;
@@ -67,28 +62,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
67
62
  show: () => void | undefined;
68
63
  hide: () => void | undefined;
69
64
  handleUpdate: () => void | undefined;
70
- bsInstance: import('vue').Ref<{
71
- show: () => void;
72
- hide: () => void;
73
- dispose: () => void;
74
- handleUpdate: () => void;
75
- } | null, BootstrapModal | {
76
- show: () => void;
77
- hide: () => void;
78
- dispose: () => void;
79
- handleUpdate: () => void;
80
- } | null>;
81
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
82
- "update:modelValue": (...args: any[]) => void;
83
- "component-error": (...args: any[]) => void;
84
- show: (...args: any[]) => void;
85
- shown: (...args: any[]) => void;
86
- hide: (...args: any[]) => void;
87
- hidden: (...args: any[]) => void;
65
+ _unsafe_bsInstance: import('vue').ShallowRef<BootstrapModal | null, BootstrapModal | null>;
66
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
67
+ "update:modelValue": (value: boolean) => any;
68
+ "component-error": (error: ComponentError) => any;
69
+ show: () => any;
70
+ hidden: () => any;
71
+ hide: () => any;
72
+ shown: () => any;
88
73
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
89
74
  id: {
90
75
  type: StringConstructor;
91
- default: () => string;
76
+ default: undefined;
92
77
  };
93
78
  modelValue: {
94
79
  type: BooleanConstructor;
@@ -131,12 +116,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
131
116
  default: string;
132
117
  };
133
118
  }>> & Readonly<{
134
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
135
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
136
- onShow?: ((...args: any[]) => any) | undefined;
137
- onShown?: ((...args: any[]) => any) | undefined;
138
- onHide?: ((...args: any[]) => any) | undefined;
139
- onHidden?: ((...args: any[]) => any) | undefined;
119
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
120
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
121
+ onShow?: (() => any) | undefined;
122
+ onHidden?: (() => any) | undefined;
123
+ onHide?: (() => any) | undefined;
124
+ onShown?: (() => any) | undefined;
140
125
  }>, {
141
126
  modelValue: boolean;
142
127
  title: string;
@@ -149,12 +134,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
149
134
  hideHeader: boolean;
150
135
  hideFooter: boolean;
151
136
  teleport: string | boolean;
152
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
153
- modalRef: HTMLDivElement;
154
- }, any>;
155
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
137
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
138
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
139
+ declare const _default: typeof __VLS_export;
156
140
  export default _default;
157
- type __VLS_WithTemplateSlots<T, S> = T & {
141
+ type __VLS_WithSlots<T, S> = T & {
158
142
  new (): {
159
143
  $slots: S;
160
144
  };
@@ -1,9 +1,16 @@
1
- import { NavItem } from '../types';
1
+ import { NavItem, ComponentError } from '../types';
2
2
  interface BootstrapTab {
3
3
  show: () => void;
4
4
  dispose: () => void;
5
5
  }
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ declare var __VLS_23: {
7
+ item: NavItem;
8
+ index: number;
9
+ };
10
+ type __VLS_Slots = {} & {
11
+ item?: (props: typeof __VLS_23) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
14
  items: {
8
15
  type: () => NavItem[];
9
16
  required: true;
@@ -37,15 +44,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
37
44
  default: string;
38
45
  };
39
46
  }>, {
40
- bsInstances: Map<HTMLElement, BootstrapTab>;
41
47
  refresh: () => Promise<void>;
42
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
- "component-error": (...args: any[]) => void;
44
- show: (...args: any[]) => void;
45
- "item-click": (...args: any[]) => void;
46
- shown: (...args: any[]) => void;
47
- hide: (...args: any[]) => void;
48
- hidden: (...args: any[]) => void;
48
+ _unsafe_bsInstances: Map<HTMLElement, BootstrapTab>;
49
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
50
+ "component-error": (error: ComponentError) => any;
51
+ show: (event: Event) => any;
52
+ hidden: (event: Event) => any;
53
+ hide: (event: Event) => any;
54
+ "item-click": (payload: {
55
+ item: NavItem;
56
+ index: number;
57
+ event: Event;
58
+ }) => any;
59
+ shown: (event: Event) => any;
49
60
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
50
61
  items: {
51
62
  type: () => NavItem[];
@@ -80,21 +91,30 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
80
91
  default: string;
81
92
  };
82
93
  }>> & Readonly<{
83
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
84
- onShow?: ((...args: any[]) => any) | undefined;
85
- "onItem-click"?: ((...args: any[]) => any) | undefined;
86
- onShown?: ((...args: any[]) => any) | undefined;
87
- onHide?: ((...args: any[]) => any) | undefined;
88
- onHidden?: ((...args: any[]) => any) | undefined;
94
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
95
+ onShow?: ((event: Event) => any) | undefined;
96
+ onHidden?: ((event: Event) => any) | undefined;
97
+ onHide?: ((event: Event) => any) | undefined;
98
+ "onItem-click"?: ((payload: {
99
+ item: NavItem;
100
+ index: number;
101
+ event: Event;
102
+ }) => any) | undefined;
103
+ onShown?: ((event: Event) => any) | undefined;
89
104
  }>, {
90
105
  fill: boolean;
91
106
  tag: string;
92
107
  vertical: boolean;
108
+ underline: boolean;
93
109
  pills: boolean;
94
110
  tabs: boolean;
95
111
  justified: boolean;
96
- underline: boolean;
97
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
98
- navRef: unknown;
99
- }, any>;
112
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
113
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
114
+ declare const _default: typeof __VLS_export;
100
115
  export default _default;
116
+ type __VLS_WithSlots<T, S> = T & {
117
+ new (): {
118
+ $slots: S;
119
+ };
120
+ };
@@ -1,15 +1,11 @@
1
1
  import { Variant, Tag, NavbarPosition } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
2
+ declare var __VLS_8: {}, __VLS_10: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_8) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_10) => any;
10
7
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
9
  variant: {
14
10
  type: () => Variant | "dark" | "light";
15
11
  default: string;
@@ -34,9 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
34
30
  type: () => Tag | "nav";
35
31
  default: string;
36
32
  };
37
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
- "component-error": (...args: any[]) => void;
39
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
40
34
  variant: {
41
35
  type: () => Variant | "dark" | "light";
42
36
  default: string;
@@ -61,19 +55,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
61
55
  type: () => Tag | "nav";
62
56
  default: string;
63
57
  };
64
- }>> & Readonly<{
65
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
66
- }>, {
58
+ }>> & Readonly<{}>, {
67
59
  variant: Variant;
68
60
  tag: Tag;
61
+ position: NavbarPosition;
69
62
  container: string | boolean;
70
63
  theme: "light" | "dark";
71
64
  expand: string | boolean;
72
- position: NavbarPosition;
73
65
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
74
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
67
+ declare const _default: typeof __VLS_export;
75
68
  export default _default;
76
- type __VLS_WithTemplateSlots<T, S> = T & {
69
+ type __VLS_WithSlots<T, S> = T & {
77
70
  new (): {
78
71
  $slots: S;
79
72
  };
@@ -0,0 +1,34 @@
1
+ declare var __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_8) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ href: {
7
+ type: StringConstructor;
8
+ default: undefined;
9
+ };
10
+ to: {
11
+ type: (StringConstructor | ObjectConstructor)[];
12
+ default: undefined;
13
+ };
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ href: {
16
+ type: StringConstructor;
17
+ default: undefined;
18
+ };
19
+ to: {
20
+ type: (StringConstructor | ObjectConstructor)[];
21
+ default: undefined;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ href: string;
25
+ to: string | Record<string, any>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,80 @@
1
+ import { NavItem, DropdownItem, ComponentError } from '../types';
2
+ declare var __VLS_9: {
3
+ item: NavItem;
4
+ index: number;
5
+ }, __VLS_19: {
6
+ item: NavItem;
7
+ child: DropdownItem;
8
+ index: number;
9
+ childIndex: number;
10
+ }, __VLS_29: {
11
+ item: NavItem;
12
+ index: number;
13
+ }, __VLS_31: {};
14
+ type __VLS_Slots = {} & {
15
+ item?: (props: typeof __VLS_9) => any;
16
+ } & {
17
+ 'dropdown-item'?: (props: typeof __VLS_19) => any;
18
+ } & {
19
+ item?: (props: typeof __VLS_29) => any;
20
+ } & {
21
+ default?: (props: typeof __VLS_31) => any;
22
+ };
23
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
24
+ tag: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ items: {
29
+ type: () => NavItem[];
30
+ default: undefined;
31
+ };
32
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
33
+ "component-error": (error: ComponentError) => any;
34
+ "item-click": (payload: {
35
+ item: NavItem;
36
+ index: number;
37
+ event: Event;
38
+ }) => any;
39
+ "dropdown-item-click": (payload: {
40
+ item: NavItem;
41
+ itemIndex: number;
42
+ child: DropdownItem;
43
+ childIndex: number;
44
+ event: Event;
45
+ }) => any;
46
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
+ tag: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ items: {
52
+ type: () => NavItem[];
53
+ default: undefined;
54
+ };
55
+ }>> & Readonly<{
56
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
57
+ "onItem-click"?: ((payload: {
58
+ item: NavItem;
59
+ index: number;
60
+ event: Event;
61
+ }) => any) | undefined;
62
+ "onDropdown-item-click"?: ((payload: {
63
+ item: NavItem;
64
+ itemIndex: number;
65
+ child: DropdownItem;
66
+ childIndex: number;
67
+ event: Event;
68
+ }) => any) | undefined;
69
+ }>, {
70
+ tag: string;
71
+ items: NavItem[];
72
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
73
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
74
+ declare const _default: typeof __VLS_export;
75
+ export default _default;
76
+ type __VLS_WithSlots<T, S> = T & {
77
+ new (): {
78
+ $slots: S;
79
+ };
80
+ };
@@ -1,4 +1,5 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ import { ComponentError } from '../types';
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
3
  target: {
3
4
  type: StringConstructor;
4
5
  required: true;
@@ -7,8 +8,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7
8
  type: StringConstructor;
8
9
  default: string;
9
10
  };
10
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "component-error": (...args: any[]) => void;
11
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ "component-error": (error: ComponentError) => any;
12
13
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
14
  target: {
14
15
  type: StringConstructor;
@@ -19,8 +20,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
19
20
  default: string;
20
21
  };
21
22
  }>> & Readonly<{
22
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
23
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
23
24
  }>, {
24
25
  ariaLabel: string;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ declare const _default: typeof __VLS_export;
26
28
  export default _default;
@@ -1,25 +1,19 @@
1
- import { OffcanvasPlacement } from '../types';
1
+ import { OffcanvasPlacement, ComponentError } from '../types';
2
2
  interface BootstrapOffcanvas {
3
3
  show: () => void;
4
4
  hide: () => void;
5
5
  dispose: () => void;
6
6
  }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- header?(_: {}): any;
11
- default?(_: {}): any;
12
- };
13
- refs: {
14
- offcanvasRef: HTMLDivElement;
15
- };
16
- rootEl: any;
7
+ declare var __VLS_7: {}, __VLS_9: {};
8
+ type __VLS_Slots = {} & {
9
+ header?: (props: typeof __VLS_7) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_9) => any;
17
12
  };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
20
14
  id: {
21
15
  type: StringConstructor;
22
- default: () => string;
16
+ default: undefined;
23
17
  };
24
18
  modelValue: {
25
19
  type: BooleanConstructor;
@@ -48,26 +42,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
48
42
  }>, {
49
43
  show: () => void | undefined;
50
44
  hide: () => void | undefined;
51
- bsInstance: import('vue').Ref<{
52
- show: () => void;
53
- hide: () => void;
54
- dispose: () => void;
55
- } | null, BootstrapOffcanvas | {
56
- show: () => void;
57
- hide: () => void;
58
- dispose: () => void;
59
- } | null>;
60
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
- "update:modelValue": (...args: any[]) => void;
62
- "component-error": (...args: any[]) => void;
63
- show: (...args: any[]) => void;
64
- shown: (...args: any[]) => void;
65
- hide: (...args: any[]) => void;
66
- hidden: (...args: any[]) => void;
45
+ _unsafe_bsInstance: import('vue').ShallowRef<BootstrapOffcanvas | null, BootstrapOffcanvas | null>;
46
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
47
+ "update:modelValue": (value: boolean) => any;
48
+ "component-error": (error: ComponentError) => any;
49
+ show: () => any;
50
+ hidden: () => any;
51
+ hide: () => any;
52
+ shown: () => any;
67
53
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
68
54
  id: {
69
55
  type: StringConstructor;
70
- default: () => string;
56
+ default: undefined;
71
57
  };
72
58
  modelValue: {
73
59
  type: BooleanConstructor;
@@ -94,26 +80,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
94
80
  default: string;
95
81
  };
96
82
  }>> & Readonly<{
97
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
98
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
99
- onShow?: ((...args: any[]) => any) | undefined;
100
- onShown?: ((...args: any[]) => any) | undefined;
101
- onHide?: ((...args: any[]) => any) | undefined;
102
- onHidden?: ((...args: any[]) => any) | undefined;
83
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
84
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
85
+ onShow?: (() => any) | undefined;
86
+ onHidden?: (() => any) | undefined;
87
+ onHide?: (() => any) | undefined;
88
+ onShown?: (() => any) | undefined;
103
89
  }>, {
104
90
  modelValue: boolean;
105
- scroll: boolean;
106
91
  title: string;
92
+ scroll: boolean;
107
93
  id: string;
108
94
  teleport: string | boolean;
109
95
  placement: OffcanvasPlacement;
110
96
  backdrop: string | boolean;
111
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
112
- offcanvasRef: HTMLDivElement;
113
- }, any>;
114
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
97
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
98
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
99
+ declare const _default: typeof __VLS_export;
115
100
  export default _default;
116
- type __VLS_WithTemplateSlots<T, S> = T & {
101
+ type __VLS_WithSlots<T, S> = T & {
117
102
  new (): {
118
103
  $slots: S;
119
104
  };