@soybeanjs/headless 0.3.3 → 0.4.1

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 (267) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  8. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  11. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  12. package/dist/components/alert/context.d.ts +2 -2
  13. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  14. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +4 -4
  15. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  16. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  17. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  18. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  19. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  20. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  21. package/dist/components/avatar/context.d.ts +2 -2
  22. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  23. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  24. package/dist/components/badge/context.d.ts +2 -2
  25. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  26. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
  28. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  29. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/context.d.ts +2 -2
  34. package/dist/components/button/button.vue.d.ts +5 -5
  35. package/dist/components/card/card-content.vue.d.ts +2 -2
  36. package/dist/components/card/card-description.vue.d.ts +2 -2
  37. package/dist/components/card/card-footer.vue.d.ts +2 -2
  38. package/dist/components/card/card-header.vue.d.ts +2 -2
  39. package/dist/components/card/card-root.vue.d.ts +2 -2
  40. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  41. package/dist/components/card/card-title.vue.d.ts +2 -2
  42. package/dist/components/card/context.d.ts +2 -2
  43. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  44. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  45. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  46. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  48. package/dist/components/checkbox/context.d.ts +2 -2
  49. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  50. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  51. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  52. package/dist/components/collapsible/context.d.ts +2 -2
  53. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  54. package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
  55. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  56. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  57. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +5 -6
  58. package/dist/components/context-menu/context.js +1 -1
  59. package/dist/components/context-menu/index.d.ts +3 -3
  60. package/dist/components/context-menu/types.d.ts +7 -1
  61. package/dist/components/dialog/context.d.ts +2 -2
  62. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  63. package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
  64. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  65. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  66. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  67. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  68. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  69. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  71. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +6 -6
  72. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
  73. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  74. package/dist/components/form/context.d.ts +2 -2
  75. package/dist/components/form/form-description.vue.d.ts +2 -2
  76. package/dist/components/form/form-error.vue.d.ts +2 -2
  77. package/dist/components/form/form-field.vue.d.ts +2 -2
  78. package/dist/components/form/form-label.vue.d.ts +2 -2
  79. package/dist/components/input/context.d.ts +2 -2
  80. package/dist/components/input/input-control.vue.d.ts +2 -2
  81. package/dist/components/input/input-root.vue.d.ts +4 -4
  82. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  83. package/dist/components/layout/context.d.ts +2 -2
  84. package/dist/components/layout/layout-content.vue.d.ts +2 -2
  85. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  86. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  87. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  88. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  89. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  90. package/dist/components/layout/layout-root.vue.d.ts +5 -5
  91. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  92. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  94. package/dist/components/link/link.js +1 -1
  95. package/dist/components/link/link.vue.d.ts +5 -5
  96. package/dist/components/link/types.d.ts +28 -6
  97. package/dist/components/list/context.d.ts +2 -2
  98. package/dist/components/list/list-content.vue.d.ts +2 -2
  99. package/dist/components/list/list-description.vue.d.ts +2 -2
  100. package/dist/components/list/list-item.vue.d.ts +2 -2
  101. package/dist/components/list/list-root.vue.d.ts +2 -2
  102. package/dist/components/list/list-title.vue.d.ts +2 -2
  103. package/dist/components/listbox/context.d.ts +2 -2
  104. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  105. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  106. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  107. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  108. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  109. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  110. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  111. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  112. package/dist/components/menu/context.d.ts +2 -2
  113. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  114. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  115. package/dist/components/menu/menu-content.vue.d.ts +6 -6
  116. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  117. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  118. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  119. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  120. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  121. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  122. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  123. package/dist/components/menu/menu-sub-content.vue.d.ts +6 -6
  124. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  125. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  126. package/dist/components/navigation-menu/context.d.ts +2 -2
  127. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  128. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  129. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  130. package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
  131. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  132. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  133. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
  134. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  135. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  136. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  137. package/dist/components/number-input/context.d.ts +2 -2
  138. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  139. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  140. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  141. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  142. package/dist/components/page-tabs/context.d.ts +10 -0
  143. package/dist/components/page-tabs/context.js +1 -0
  144. package/dist/components/page-tabs/hooks.js +1 -0
  145. package/dist/components/page-tabs/index.d.ts +7 -0
  146. package/dist/components/page-tabs/index.js +1 -0
  147. package/dist/components/page-tabs/page-tabs-close.js +1 -0
  148. package/dist/components/page-tabs/page-tabs-close.vue.d.ts +18 -0
  149. package/dist/components/page-tabs/page-tabs-item.js +1 -0
  150. package/dist/components/page-tabs/page-tabs-item.vue.d.ts +24 -0
  151. package/dist/components/page-tabs/page-tabs-pin.js +1 -0
  152. package/dist/components/page-tabs/page-tabs-pin.vue.d.ts +18 -0
  153. package/dist/components/page-tabs/page-tabs-root.js +12 -0
  154. package/dist/components/page-tabs/page-tabs-root.vue.d.ts +36 -0
  155. package/dist/components/page-tabs/types.d.ts +89 -0
  156. package/dist/components/pagination/context.d.ts +2 -2
  157. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  158. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  159. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  160. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  161. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  162. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  163. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  165. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  166. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  167. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  168. package/dist/components/popover/popover-positioner.vue.d.ts +4 -4
  169. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  170. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  171. package/dist/components/popper/context.d.ts +2 -2
  172. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  173. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  174. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  175. package/dist/components/popper/popper-positioner.vue.d.ts +18 -18
  176. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  177. package/dist/components/portal/portal.vue.d.ts +3 -3
  178. package/dist/components/primitive/primitive.d.ts +2 -2
  179. package/dist/components/radio-group/context.d.ts +2 -2
  180. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  181. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  182. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  183. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  184. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  185. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  186. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  187. package/dist/components/select/context.d.ts +2 -2
  188. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  189. package/dist/components/select/select-content.vue.d.ts +4 -4
  190. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  191. package/dist/components/select/select-group.vue.d.ts +2 -2
  192. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  193. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  194. package/dist/components/select/select-item.vue.d.ts +4 -4
  195. package/dist/components/select/select-root.vue.d.ts +5 -5
  196. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  197. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  198. package/dist/components/select/select-separator.vue.d.ts +2 -2
  199. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  200. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  201. package/dist/components/select/select-value.vue.d.ts +3 -3
  202. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  203. package/dist/components/separator/context.d.ts +2 -2
  204. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  205. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  206. package/dist/components/slot/slot.d.ts +2 -2
  207. package/dist/components/switch/context.d.ts +2 -2
  208. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  209. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  210. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  211. package/dist/components/tabs/context.d.ts +2 -2
  212. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  213. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  214. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  215. package/dist/components/tabs/tabs-root.vue.d.ts +4 -4
  216. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  217. package/dist/components/tag/tag.vue.d.ts +4 -4
  218. package/dist/components/textarea/context.d.ts +2 -2
  219. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  220. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  221. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  222. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  223. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  224. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  225. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  226. package/dist/components/toast/toast-root.vue.d.ts +5 -5
  227. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  228. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  229. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  230. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  231. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  232. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  233. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  234. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  235. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  236. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  237. package/dist/components/tree-menu/context.d.ts +2 -2
  238. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  239. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  240. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  241. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  242. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  243. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  244. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  245. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  246. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  247. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  248. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  249. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  250. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  251. package/dist/composables/use-collection.d.ts +6 -6
  252. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  253. package/dist/composables/use-exposed-element.d.ts +2 -2
  254. package/dist/composables/use-forward-element.d.ts +2 -2
  255. package/dist/composables/use-image-loading-status.d.ts +2 -2
  256. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  257. package/dist/composables/use-kbd.d.ts +2 -2
  258. package/dist/composables/use-presence.d.ts +2 -2
  259. package/dist/composables/use-props.d.ts +3 -3
  260. package/dist/composables/use-selection.d.ts +4 -4
  261. package/dist/constants/components.d.ts +1 -0
  262. package/dist/constants/components.js +1 -1
  263. package/dist/index.d.ts +89 -82
  264. package/dist/index.js +1 -1
  265. package/dist/namespaced/index.d.ts +165 -155
  266. package/dist/namespaced/index.js +1 -1
  267. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { MenuRadioItemProps } from "./types.js";
2
- import * as vue1202 from "vue";
2
+ import * as vue1833 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-radio-item.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,11 +8,11 @@ declare var __VLS_10: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue1202.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1202.ComponentOptionsMixin, vue1202.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1833.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1833.ComponentOptionsMixin, vue1833.ComponentOptionsMixin, {
12
12
  select: (event: Event) => any;
13
- }, string, vue1202.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
13
+ }, string, vue1833.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
14
14
  onSelect?: ((event: Event) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1202.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue1833.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { MenuRootProps } from "./types.js";
2
- import * as vue1074 from "vue";
2
+ import * as vue1787 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -8,14 +8,14 @@ declare var __VLS_8: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue1074.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1074.ComponentOptionsMixin, vue1074.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1787.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1787.ComponentOptionsMixin, vue1787.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue1074.PublicProps, Readonly<MenuRootProps> & Readonly<{
13
+ }, string, vue1787.PublicProps, Readonly<MenuRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  modal: boolean;
18
- }, {}, {}, {}, string, vue1074.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue1787.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  type __VLS_WithSlots<T, S> = T & {
@@ -2,32 +2,32 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
2
2
  import "../../types/index.js";
3
3
  import { MenuSubContentProps } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue1223 from "vue";
5
+ import * as vue1818 from "vue";
6
6
 
7
7
  //#region src/components/menu/menu-sub-content.vue.d.ts
8
8
  declare var __VLS_14: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_14) => any;
11
11
  };
12
- declare const __VLS_base: vue1223.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1223.ComponentOptionsMixin, vue1223.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1818.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1818.ComponentOptionsMixin, vue1818.ComponentOptionsMixin, {
13
+ entryFocus: (event: Event) => any;
13
14
  escapeKeyDown: (event: KeyboardEvent) => any;
14
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
15
16
  focusOutside: (event: FocusOutsideEvent) => any;
16
17
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
17
18
  openAutoFocus: (event: Event) => any;
18
19
  closeAutoFocus: (event: Event) => any;
19
- entryFocus: (event: Event) => any;
20
- }, string, vue1223.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
20
+ }, string, vue1818.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
21
+ onEntryFocus?: ((event: Event) => any) | undefined;
21
22
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
22
23
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
23
24
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
24
25
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
25
26
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
26
27
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
- onEntryFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
29
29
  prioritizePosition: boolean;
30
- }, {}, {}, {}, string, vue1223.ComponentProvideOptions, false, {}, any>;
30
+ }, {}, {}, {}, string, vue1818.ComponentProvideOptions, false, {}, any>;
31
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { MenuSubTriggerProps } from "./types.js";
2
- import * as vue1213 from "vue";
2
+ import * as vue1845 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-sub-trigger.vue.d.ts
5
5
  declare var __VLS_19: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_19) => any;
8
8
  };
9
- declare const __VLS_base: vue1213.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1213.ComponentOptionsMixin, vue1213.ComponentOptionsMixin, {}, string, vue1213.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1213.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1845.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1845.ComponentOptionsMixin, vue1845.ComponentOptionsMixin, {}, string, vue1845.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1845.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,18 +1,18 @@
1
1
  import { MenuSubProps } from "./types.js";
2
- import * as vue1188 from "vue";
2
+ import * as vue1840 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-sub.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue1188.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1188.ComponentOptionsMixin, vue1188.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1840.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1840.ComponentOptionsMixin, vue1840.ComponentOptionsMixin, {
10
10
  "update:open": (value: boolean) => any;
11
- }, string, vue1188.PublicProps, Readonly<MenuSubProps> & Readonly<{
11
+ }, string, vue1840.PublicProps, Readonly<MenuSubProps> & Readonly<{
12
12
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
13
  }>, {
14
14
  open: boolean;
15
- }, {}, {}, {}, string, vue1188.ComponentProvideOptions, false, {}, any>;
15
+ }, {}, {}, {}, string, vue1840.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import "../../composables/index.js";
3
3
  import { NavigationMenuUiSlot } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue839 from "vue";
5
+ import * as vue1412 from "vue";
6
6
 
7
7
  //#region src/components/navigation-menu/context.d.ts
8
8
 
9
- declare const provideNavigationMenuUi: (ui: vue839.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue839.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue839.ComputedRef<ClassValue> : vue839.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>;
9
+ declare const provideNavigationMenuUi: (ui: vue1412.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue1412.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue1412.ComputedRef<ClassValue> : vue1412.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>;
10
10
  //#endregion
11
11
  export { provideNavigationMenuUi };
@@ -1,24 +1,24 @@
1
1
  import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { NavigationMenuContentProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue813 from "vue";
4
+ import * as vue1387 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
7
7
  declare var __VLS_17: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_17) => any;
10
10
  };
11
- declare const __VLS_base: vue813.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue813.ComponentOptionsMixin, vue813.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1387.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue1387.ComponentOptionsMixin, vue1387.ComponentOptionsMixin, {
12
12
  escapeKeyDown: (event: KeyboardEvent) => any;
13
13
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
14
14
  focusOutside: (event: FocusOutsideEvent) => any;
15
15
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
16
- }, string, vue813.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
16
+ }, string, vue1387.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
17
17
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
18
18
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
19
19
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
20
20
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, vue813.ComponentProvideOptions, false, {}, any>;
21
+ }>, {}, {}, {}, {}, string, vue1387.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuIndicatorProps } from "./types.js";
2
- import * as vue941 from "vue";
2
+ import * as vue1397 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-indicator.vue.d.ts
5
5
  declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue941.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue941.ComponentOptionsMixin, vue941.ComponentOptionsMixin, {}, string, vue941.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue941.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1397.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue1397.ComponentOptionsMixin, vue1397.ComponentOptionsMixin, {}, string, vue1397.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1397.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuItemProps } from "./types.js";
2
- import * as vue803 from "vue";
2
+ import * as vue1382 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-item.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue803.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue803.ComponentOptionsMixin, vue803.ComponentOptionsMixin, {}, string, vue803.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue803.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1382.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue1382.ComponentOptionsMixin, vue1382.ComponentOptionsMixin, {}, string, vue1382.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1382.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{useOmitProps as e}from"../../composables/use-props.js";import t from"../link/link.js";import{useCollectionItem as n,useNavigationMenuRootContext as r,useNavigationMenuUi as i}from"./context.js";import{EVENT_ROOT_CONTENT_DISMISS as a,LINK_SELECT as o}from"./shared.js";import{computed as s,createBlock as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";var _=l({name:`NavigationMenuLink`,__name:`navigation-menu-link`,props:{active:{type:Boolean},to:{},href:{},disabled:{type:Boolean},inactiveClass:{},external:{type:Boolean},target:{},rel:{},noRel:{type:Boolean},prefetchedClass:{},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},trailingSlash:{},asChild:{type:Boolean},as:{},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean}},emits:[`select`],setup(l,{emit:_}){let v=l,y=_,{isRoot:b}=r(`NavigationMenuLink`),x=i(),S=s(()=>b?x.value?.link:x.value?.subLink),{itemProps:C,setItemElement:w}=n(),T=e(v,[`active`],C),E=async e=>{let t=new CustomEvent(o,{bubbles:!0,cancelable:!0,detail:{originalEvent:e}});if(y(`select`,t),t.defaultPrevented||e.metaKey)return;let n=new CustomEvent(a,{bubbles:!0,cancelable:!0});e.target?.dispatchEvent(n)};return(e,n)=>(p(),c(t,d(h(T),{ref:h(w),class:S.value,"data-active":l.active?``:void 0,"aria-current":l.active?`page`:void 0,onClick:E}),{default:g(t=>[m(e.$slots,`default`,f(u(t)))]),_:3},16,[`class`,`data-active`,`aria-current`]))}});export{_ as default};
1
+ import{useOmitProps as e}from"../../composables/use-props.js";import t from"../link/link.js";import{useCollectionItem as n,useNavigationMenuRootContext as r,useNavigationMenuUi as i}from"./context.js";import{EVENT_ROOT_CONTENT_DISMISS as a,LINK_SELECT as o}from"./shared.js";import{computed as s,createBlock as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";var _=l({name:`NavigationMenuLink`,__name:`navigation-menu-link`,props:{active:{type:Boolean},to:{},replace:{type:Boolean},href:{},disabled:{type:Boolean},activeClass:{},exactActiveClass:{},inactiveClass:{},prefetchedClass:{},external:{type:Boolean},ariaCurrentValue:{},viewTransition:{type:Boolean},target:{},rel:{},noRel:{type:Boolean},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},trailingSlash:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(l,{emit:_}){let v=l,y=_,{isRoot:b}=r(`NavigationMenuLink`),x=i(),S=s(()=>b?x.value?.link:x.value?.subLink),{itemProps:C,setItemElement:w}=n(),T=e(v,[`active`],C),E=async e=>{let t=new CustomEvent(o,{bubbles:!0,cancelable:!0,detail:{originalEvent:e}});if(y(`select`,t),t.defaultPrevented||e.metaKey)return;let n=new CustomEvent(a,{bubbles:!0,cancelable:!0});e.target?.dispatchEvent(n)};return(e,n)=>(p(),c(t,d(h(T),{ref:h(w),class:S.value,"data-active":l.active?``:void 0,"aria-current":l.active?`page`:void 0,onClick:E}),{default:g(t=>[m(e.$slots,`default`,f(u(t)))]),_:3},16,[`class`,`data-active`,`aria-current`]))}});export{_ as default};
@@ -1,5 +1,5 @@
1
1
  import { NavigationMenuLinkProps } from "./types.js";
2
- import * as vue828 from "vue";
2
+ import * as vue1392 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-link.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -10,15 +10,15 @@ declare var __VLS_10: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_10) => any;
12
12
  };
13
- declare const __VLS_base: vue828.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue828.ComponentOptionsMixin, vue828.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1392.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue1392.ComponentOptionsMixin, vue1392.ComponentOptionsMixin, {
14
14
  select: (payload: CustomEvent<{
15
15
  originalEvent: Event;
16
16
  }>) => any;
17
- }, string, vue828.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
17
+ }, string, vue1392.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
18
18
  onSelect?: ((payload: CustomEvent<{
19
19
  originalEvent: Event;
20
20
  }>) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, vue828.ComponentProvideOptions, false, {}, any>;
21
+ }>, {}, {}, {}, {}, string, vue1392.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuListProps } from "./types.js";
2
- import * as vue818 from "vue";
2
+ import * as vue1366 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-list.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue818.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue818.ComponentOptionsMixin, vue818.ComponentOptionsMixin, {}, string, vue818.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue818.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1366.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue1366.ComponentOptionsMixin, vue1366.ComponentOptionsMixin, {}, string, vue1366.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1366.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { DataOrientation, Direction } from "../../types/common.js";
2
2
  import { NavigationMenuRootProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue808 from "vue";
4
+ import * as vue1371 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-root.vue.d.ts
7
7
  declare var __VLS_1: {
@@ -10,9 +10,9 @@ declare var __VLS_1: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_1) => any;
12
12
  };
13
- declare const __VLS_base: vue808.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue808.ComponentOptionsMixin, vue808.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1371.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1371.ComponentOptionsMixin, vue1371.ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: string) => any;
15
- }, string, vue808.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
15
+ }, string, vue1371.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
17
  }>, {
18
18
  dir: Direction;
@@ -20,7 +20,7 @@ declare const __VLS_base: vue808.DefineComponent<NavigationMenuRootProps, {}, {}
20
20
  unmountOnHide: boolean;
21
21
  delayDuration: number;
22
22
  skipDelayDuration: number;
23
- }, {}, {}, {}, string, vue808.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue1371.ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
25
  declare const _default: typeof __VLS_export;
26
26
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuSubListProps } from "./types.js";
2
- import * as vue823 from "vue";
2
+ import * as vue1402 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-sub-list.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue823.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue823.ComponentOptionsMixin, vue823.ComponentOptionsMixin, {}, string, vue823.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue823.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1402.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue1402.ComponentOptionsMixin, vue1402.ComponentOptionsMixin, {}, string, vue1402.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1402.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { NavigationMenuTriggerProps } from "./types.js";
4
- import * as vue833 from "vue";
4
+ import * as vue1376 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-trigger.vue.d.ts
7
7
  declare var __VLS_13: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_13) => any;
10
10
  };
11
- declare const __VLS_base: vue833.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue833.ComponentOptionsMixin, vue833.ComponentOptionsMixin, {}, string, vue833.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue833.Component;
13
- }, {}, {}, {}, string, vue833.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1376.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue1376.ComponentOptionsMixin, vue1376.ComponentOptionsMixin, {}, string, vue1376.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue1376.Component;
13
+ }, {}, {}, {}, string, vue1376.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { Align } from "../../types/common.js";
2
2
  import { NavigationMenuViewportProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue946 from "vue";
4
+ import * as vue1407 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-viewport.vue.d.ts
7
7
  declare var __VLS_1: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue946.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue946.ComponentOptionsMixin, vue946.ComponentOptionsMixin, {}, string, vue946.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue1407.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue1407.ComponentOptionsMixin, vue1407.ComponentOptionsMixin, {}, string, vue1407.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {
12
12
  align: Align;
13
- }, {}, {}, {}, string, vue946.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue1407.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { NumberInputUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue608 from "vue";
4
+ import * as vue186 from "vue";
5
5
 
6
6
  //#region src/components/number-input/context.d.ts
7
7
 
8
- declare const provideNumberInputUi: (ui: vue608.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>) => vue608.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>, useNumberInputUi: <S extends NumberInputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NumberInputUiSlot ? vue608.ComputedRef<ClassValue> : vue608.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>;
8
+ declare const provideNumberInputUi: (ui: vue186.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>) => vue186.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>, useNumberInputUi: <S extends NumberInputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NumberInputUiSlot ? vue186.ComputedRef<ClassValue> : vue186.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideNumberInputUi };
@@ -1,8 +1,8 @@
1
1
  import { NumberInputControlProps } from "./types.js";
2
- import * as vue700 from "vue";
2
+ import * as vue169 from "vue";
3
3
 
4
4
  //#region src/components/number-input/number-input-control.vue.d.ts
5
- declare const __VLS_export: vue700.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue700.ComponentOptionsMixin, vue700.ComponentOptionsMixin, {}, string, vue700.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue700.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue169.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { NumberInputDecrementProps } from "./types.js";
4
- import * as vue602 from "vue";
4
+ import * as vue180 from "vue";
5
5
 
6
6
  //#region src/components/number-input/number-input-decrement.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue602.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue602.ComponentOptionsMixin, vue602.ComponentOptionsMixin, {}, string, vue602.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
12
- as: AsTag | vue602.Component;
13
- }, {}, {}, {}, string, vue602.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue180.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue180.ComponentOptionsMixin, vue180.ComponentOptionsMixin, {}, string, vue180.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
12
+ as: AsTag | vue180.Component;
13
+ }, {}, {}, {}, string, vue180.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { NumberInputIncrementProps } from "./types.js";
4
- import * as vue705 from "vue";
4
+ import * as vue174 from "vue";
5
5
 
6
6
  //#region src/components/number-input/number-input-increment.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue705.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue705.ComponentOptionsMixin, vue705.ComponentOptionsMixin, {}, string, vue705.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
12
- as: AsTag | vue705.Component;
13
- }, {}, {}, {}, string, vue705.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue174.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue174.ComponentOptionsMixin, vue174.ComponentOptionsMixin, {}, string, vue174.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
12
+ as: AsTag | vue174.Component;
13
+ }, {}, {}, {}, string, vue174.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { NumberInputRootProps } from "./types.js";
2
- import * as vue597 from "vue";
2
+ import * as vue164 from "vue";
3
3
 
4
4
  //#region src/components/number-input/number-input-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,15 +9,15 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue597.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue597.ComponentOptionsMixin, vue597.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue164.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue164.ComponentOptionsMixin, vue164.ComponentOptionsMixin, {
13
13
  "update:modelValue": (val: number) => any;
14
- }, string, vue597.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
14
+ }, string, vue164.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
16
16
  }>, {
17
17
  modelValue: number | null;
18
18
  step: number;
19
19
  stepSnapping: boolean;
20
- }, {}, {}, {}, string, vue597.ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, vue164.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -0,0 +1,10 @@
1
+ import { ClassValue, UiClass } from "../../types/common.js";
2
+ import { PageTabsUiSlot } from "./types.js";
3
+ import "../../index.js";
4
+ import * as vue1646 from "vue";
5
+
6
+ //#region src/components/page-tabs/context.d.ts
7
+
8
+ declare const providePageTabsUi: (ui: vue1646.ComputedRef<Partial<UiClass<PageTabsUiSlot>>>) => vue1646.ComputedRef<Partial<UiClass<PageTabsUiSlot>>>, usePageTabsUi: <S extends PageTabsUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PageTabsUiSlot ? vue1646.ComputedRef<ClassValue> : vue1646.ComputedRef<Partial<UiClass<PageTabsUiSlot>>>;
9
+ //#endregion
10
+ export { providePageTabsUi };
@@ -0,0 +1 @@
1
+ import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import{usePageTabsOperation as n}from"./hooks.js";const[r,i]=e(`PageTabsRoot`,e=>{let t=n(e);return{...e,operations:t}}),[a,o]=e(`PageTabsItem`,e=>e),[s,c]=t(`PageTabsUi`);export{a as providePageTabsItemContext,r as providePageTabsRootContext,s as providePageTabsUi,o as usePageTabsItemContext,i as usePageTabsRootContext,c as usePageTabsUi};
@@ -0,0 +1 @@
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{computed as t,watchEffect as n}from"vue";function r(r){let[i,a]=e(),o=t(()=>(i.value?.offsetWidth??0)/2);return n(()=>{if(!i.value||!o.value||!r.value)return;let e=i.value.querySelector(`[data-value="${r.value}"]`);if(!e)return;let t=e.offsetLeft+e.offsetWidth/2-o.value;i.value.scrollTo({left:t,behavior:`smooth`})}),{setRootElement:a,onWheel:e=>{i.value&&(i.value.scrollLeft+=e.deltaY)}}}function i(e){let{modelValue:t,pins:n,values:r,residents:i,beforeClose:a}=e,o=e=>i.value.includes(e),s=e=>{t.value!==e&&(t.value=e)},c=e=>{r.value.includes(e)||(r.value=[...r.value,e])},l=e=>{r.value.indexOf(e)!==-1&&(r.value=r.value.filter(t=>t!==e))},u=e=>n.value.includes(e),d=e=>!o(e)&&!u(e),f=e=>{d(e)&&(n.value=[...n.value,e])},p=e=>!o(e)&&u(e),m=e=>{n.value.indexOf(e)!==-1&&(n.value=n.value.filter(t=>t!==e))},h=e=>{u(e)?m(e):f(e)},g=e=>!o(e)&&!u(e),_=async(e,n)=>{if(!g(e)||await a?.(e)===!1)return;let i=t.value===e,o;if(i){let t=r.value.indexOf(e);o=r.value[t+1]??r.value[t-1]??void 0}l(e),i&&(t.value=o??``),n?.()};return{setActiveTab:s,addTab:c,removeTab:l,isTabPinned:u,pinTab:f,unpinTab:m,togglePinTab:h,closeTab:_,closeLeftTabs:e=>{let t=r.value.indexOf(e);t<=0||r.value.slice(0,t).forEach(e=>{_(e)})},closeRightTabs:e=>{let t=r.value.indexOf(e);t===-1||t===r.value.length-1||r.value.slice(t+1).forEach(e=>{_(e)})},closeOtherTabs:e=>{r.value.forEach(t=>{t!==e&&_(t)})},closeAllTabs:()=>{r.value.forEach(e=>{_(e)})},canPinTab:d,canUnpinTab:p,canCloseTab:g,canCloseLeftTabs:e=>{let t=r.value.indexOf(e);return t<=0?!1:r.value.slice(0,t).some(e=>g(e))},canCloseRightTabs:e=>{let t=r.value.indexOf(e);return t===-1||t>=r.value.length-1?!1:r.value.slice(t+1).some(e=>g(e))},canCloseOtherTabs:e=>r.value.some(t=>t!==e&&g(t)),canCloseAllTabs:()=>r.value.some(e=>g(e))}}export{i as usePageTabsOperation,r as usePageTabsScroll};
@@ -0,0 +1,7 @@
1
+ import { PageTabsCloseProps, PageTabsItemEmits, PageTabsItemProps, PageTabsOperations, PageTabsPinProps, PageTabsRootEmits, PageTabsRootProps, PageTabsUi, PageTabsUiSlot } from "./types.js";
2
+ import { _default as _default$3 } from "./page-tabs-root.vue.js";
3
+ import { _default as _default$1 } from "./page-tabs-item.vue.js";
4
+ import { _default } from "./page-tabs-close.vue.js";
5
+ import { _default as _default$2 } from "./page-tabs-pin.vue.js";
6
+ import { providePageTabsUi } from "./context.js";
7
+ export { _default as PageTabsClose, type PageTabsCloseProps, _default$1 as PageTabsItem, type PageTabsItemEmits, type PageTabsItemProps, type PageTabsOperations, _default$2 as PageTabsPin, type PageTabsPinProps, _default$3 as PageTabsRoot, type PageTabsRootEmits, type PageTabsRootProps, type PageTabsUi, type PageTabsUiSlot, providePageTabsUi };
@@ -0,0 +1 @@
1
+ import{providePageTabsUi as e}from"./context.js";import t from"./page-tabs-root.js";import n from"./page-tabs-item.js";import r from"./page-tabs-close.js";import i from"./page-tabs-pin.js";export{r as PageTabsClose,n as PageTabsItem,i as PageTabsPin,t as PageTabsRoot,e as providePageTabsUi};
@@ -0,0 +1 @@
1
+ import{Primitive as e}from"../primitive/primitive.js";import{usePageTabsItemContext as t,usePageTabsUi as n}from"./context.js";import{createBlock as r,createCommentVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u,withModifiers as d}from"vue";var f=a({name:`PageTabsClose`,__name:`page-tabs-close`,props:{asChild:{type:Boolean},as:{}},setup(a){let f=n(`close`),{closable:p,onClose:m}=t(`PageTabsClose`);return(t,n)=>l(p)?(s(),r(l(e),{key:0,as:a.as,"as-child":a.asChild,class:o(l(f)),onClick:d(l(m),[`stop`])},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`onClick`])):i(`v-if`,!0)}});export{f as default};
@@ -0,0 +1,18 @@
1
+ import { PageTabsCloseProps } from "./types.js";
2
+ import * as vue1631 from "vue";
3
+
4
+ //#region src/components/page-tabs/page-tabs-close.vue.d.ts
5
+ declare var __VLS_10: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_10) => any;
8
+ };
9
+ declare const __VLS_base: vue1631.DefineComponent<PageTabsCloseProps, {}, {}, {}, {}, vue1631.ComponentOptionsMixin, vue1631.ComponentOptionsMixin, {}, string, vue1631.PublicProps, Readonly<PageTabsCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1631.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
17
+ //#endregion
18
+ export { _default };
@@ -0,0 +1 @@
1
+ import{providePageTabsItemContext as e,usePageTabsRootContext as t,usePageTabsUi as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`data-value`,`data-active`,`data-pinned`];var d=a({name:`PageTabsItem`,__name:`page-tabs-item`,props:{value:{}},emits:[`close`,`pin`],setup(a,{emit:d}){let f=a,p=d,m=n(`item`),{modelValue:h,middleClickClose:g,operations:{setActiveTab:_,isTabPinned:v,closeTab:y,togglePinTab:b,canCloseTab:x}}=t(`PageTabsItem`),S=r(()=>h.value===f.value),C=r(()=>v(f.value)),w=r(()=>x(f.value)),T=()=>{_(f.value)},E=async()=>{y(f.value,()=>{p(`close`)})},D=e=>{e.button===1&&g.value&&(e.preventDefault(),E())};return e({closable:w,pinned:C,onClose:E,onPin:()=>{let e=C.value;b(f.value),p(`pin`,!e)}}),(e,t)=>(s(),i(`button`,{class:o(l(m)),"data-value":a.value,"data-active":S.value,"data-pinned":C.value,onClick:T,onMousedown:D},[c(e.$slots,`default`)],42,u))}});export{d as default};
@@ -0,0 +1,24 @@
1
+ import { PageTabsItemProps } from "./types.js";
2
+ import * as vue1626 from "vue";
3
+
4
+ //#region src/components/page-tabs/page-tabs-item.vue.d.ts
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: vue1626.DefineComponent<PageTabsItemProps, {}, {}, {}, {}, vue1626.ComponentOptionsMixin, vue1626.ComponentOptionsMixin, {} & {
10
+ close: () => any;
11
+ pin: (pinned: boolean) => any;
12
+ }, string, vue1626.PublicProps, Readonly<PageTabsItemProps> & Readonly<{
13
+ onClose?: (() => any) | undefined;
14
+ onPin?: ((pinned: boolean) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, vue1626.ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
23
+ //#endregion
24
+ export { _default };
@@ -0,0 +1 @@
1
+ import{Primitive as e}from"../primitive/primitive.js";import{usePageTabsItemContext as t,usePageTabsUi as n}from"./context.js";import{createBlock as r,createCommentVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u,withModifiers as d}from"vue";var f=a({name:`PageTabsPin`,__name:`page-tabs-pin`,props:{asChild:{type:Boolean},as:{}},setup(a){let f=n(`pin`),{pinned:p,onPin:m}=t(`PageTabsPin`);return(t,n)=>l(p)?(s(),r(l(e),{key:0,as:a.as,"as-child":a.asChild,class:o(l(f)),onClick:d(l(m),[`stop`])},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`onClick`])):i(`v-if`,!0)}});export{f as default};
@@ -0,0 +1,18 @@
1
+ import { PageTabsPinProps } from "./types.js";
2
+ import * as vue1636 from "vue";
3
+
4
+ //#region src/components/page-tabs/page-tabs-pin.vue.d.ts
5
+ declare var __VLS_10: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_10) => any;
8
+ };
9
+ declare const __VLS_base: vue1636.DefineComponent<PageTabsPinProps, {}, {}, {}, {}, vue1636.ComponentOptionsMixin, vue1636.ComponentOptionsMixin, {}, string, vue1636.PublicProps, Readonly<PageTabsPinProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1636.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
17
+ //#endregion
18
+ export { _default };
@@ -0,0 +1,12 @@
1
+ import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{Primitive as n}from"../primitive/primitive.js";import{usePageTabsScroll as r}from"./hooks.js";import{providePageTabsRootContext as i,usePageTabsUi as a}from"./context.js";import{createElementBlock as o,createTextVNode as s,createVNode as c,defineComponent as l,normalizeClass as u,openBlock as d,renderSlot as f,toDisplayString as p,unref as m,withCtx as h}from"vue";var g=l({name:`PageTabsRoot`,__name:`page-tabs-root`,props:{modelValue:{default:void 0},values:{default:void 0},pins:{default:void 0},residents:{default:()=>[]},beforeClose:{type:Function,default:()=>!0},middleClickClose:{type:Boolean}},emits:[`update:modelValue`,`update:values`,`update:pins`],setup(l,{expose:g,emit:_}){let v=l,y=_,b=a(`root`),x=t(()=>v.modelValue,e=>{y(`update:modelValue`,e??``)},``),S=t(()=>v.values,e=>{y(`update:values`,e??[])},[]),C=t(()=>v.pins,e=>{y(`update:pins`,e??[])},[]),{setRootElement:w,onWheel:T}=r(x),E=i({...e(v,[`residents`,`middleClickClose`]),modelValue:x,values:S,pins:C,beforeClose:v.beforeClose}).operations;return g({operations:E}),(e,t)=>(d(),o(`div`,{ref:m(w),class:u([m(b),`page-tabs-root`]),onWheel:t[0]||(t[0]=(...e)=>m(T)&&m(T)(...e))},[f(e.$slots,`default`),c(m(n),{as:`style`},{default:h(()=>[s(p(`
2
+ .page-tabs-root {
3
+ overflow-x: auto;
4
+ overflow-y: hidden;
5
+ -ms-overflow-style: none;
6
+ scrollbar-width: none;
7
+ }
8
+
9
+ .page-tabs-root::-webkit-scrollbar {
10
+ display: none;
11
+ }
12
+ `))]),_:1})],34))}});export{g as default};