@soybeanjs/headless 0.0.6-beta.1 → 0.0.6

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 (207) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +4 -4
  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 +7 -5
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  7. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  8. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  10. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  11. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +4 -4
  12. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +4 -4
  13. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +6 -6
  14. package/dist/components/arrow/arrow.vue.d.ts +7 -7
  15. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +5 -5
  16. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  17. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  18. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  19. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  20. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  21. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  22. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  23. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +4 -4
  24. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  25. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  26. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  28. package/dist/components/button/button.vue.d.ts +5 -5
  29. package/dist/components/card/card-content.vue.d.ts +2 -2
  30. package/dist/components/card/card-description.vue.d.ts +2 -2
  31. package/dist/components/card/card-footer.vue.d.ts +2 -2
  32. package/dist/components/card/card-header.vue.d.ts +2 -2
  33. package/dist/components/card/card-root.vue.d.ts +2 -2
  34. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  35. package/dist/components/card/card-title.vue.d.ts +2 -2
  36. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  37. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +7 -5
  38. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +6 -6
  39. package/dist/components/checkbox/checkbox-label.vue.d.ts +4 -4
  40. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  41. package/dist/components/collapsible/collapsible-content.vue.d.ts +4 -4
  42. package/dist/components/collapsible/collapsible-root.vue.d.ts +8 -8
  43. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  44. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  45. package/dist/components/context-menu/context-menu-content.vue.d.ts +4 -4
  46. package/dist/components/context-menu/context-menu-root.vue.d.ts +6 -6
  47. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +6 -6
  48. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  49. package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
  50. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  51. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  52. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  53. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  54. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  55. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  56. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  57. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +4 -4
  58. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +8 -8
  59. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +6 -6
  60. package/dist/components/form/form-description.vue.d.ts +2 -2
  61. package/dist/components/form/form-error.vue.d.ts +2 -2
  62. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  63. package/dist/components/form/form-field.vue.d.ts +2 -2
  64. package/dist/components/form/form-label.vue.d.ts +4 -4
  65. package/dist/components/input/input-control.vue.d.ts +2 -2
  66. package/dist/components/input/input-root.vue.d.ts +4 -4
  67. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  68. package/dist/components/label/label.vue.d.ts +2 -2
  69. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  70. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  71. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  72. package/dist/components/layout/layout-mobile.vue.d.ts +4 -4
  73. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  74. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  75. package/dist/components/layout/layout-sidebar.vue.d.ts +5 -5
  76. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  77. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  78. package/dist/components/link/link.vue.d.ts +4 -4
  79. package/dist/components/list/list-content.vue.d.ts +2 -2
  80. package/dist/components/list/list-description.vue.d.ts +2 -2
  81. package/dist/components/list/list-item.vue.d.ts +2 -2
  82. package/dist/components/list/list-root.vue.d.ts +2 -2
  83. package/dist/components/list/list-title.vue.d.ts +2 -2
  84. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  85. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  86. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  87. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  88. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +6 -6
  89. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  90. package/dist/components/listbox/listbox-root.vue.d.ts +11 -9
  91. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  92. package/dist/components/menu/menu-checkbox-group.vue.d.ts +7 -5
  93. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  94. package/dist/components/menu/menu-content-impl.js +1 -1
  95. package/dist/components/menu/menu-content.vue.d.ts +4 -4
  96. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  97. package/dist/components/menu/menu-group.vue.d.ts +4 -4
  98. package/dist/components/menu/menu-item-indicator.vue.d.ts +6 -6
  99. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  100. package/dist/components/menu/menu-radio-group.vue.d.ts +7 -5
  101. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  102. package/dist/components/menu/menu-root.vue.d.ts +6 -6
  103. package/dist/components/menu/menu-sub-content.vue.d.ts +4 -4
  104. package/dist/components/menu/menu-sub-trigger.vue.d.ts +4 -4
  105. package/dist/components/menu/menu-sub.vue.d.ts +6 -6
  106. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +6 -6
  107. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +4 -4
  108. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  109. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  110. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  111. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
  112. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  113. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  114. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  115. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  116. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  117. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  118. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  119. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  120. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  121. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  122. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  123. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  124. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  125. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  126. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  127. package/dist/components/popover/popover-anchor.vue.d.ts +4 -4
  128. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  129. package/dist/components/popover/popover-content.vue.d.ts +4 -4
  130. package/dist/components/popover/popover-root.vue.d.ts +6 -6
  131. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  132. package/dist/components/popper/context.d.ts +5 -5
  133. package/dist/components/popper/popper-anchor.vue.d.ts +4 -4
  134. package/dist/components/popper/popper-arrow.vue.d.ts +4 -4
  135. package/dist/components/popper/popper-content.vue.d.ts +13 -9
  136. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  137. package/dist/components/portal/portal.vue.d.ts +5 -5
  138. package/dist/components/radio-group/radio-group-control.vue.d.ts +4 -4
  139. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +6 -6
  140. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  141. package/dist/components/radio-group/radio-group-label.vue.d.ts +4 -4
  142. package/dist/components/radio-group/radio-group-root.vue.d.ts +7 -5
  143. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +8 -8
  144. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +5 -5
  145. package/dist/components/select/select-arrow.vue.d.ts +4 -4
  146. package/dist/components/select/select-content.vue.d.ts +7 -7
  147. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  148. package/dist/components/select/select-group.vue.d.ts +2 -2
  149. package/dist/components/select/select-item-indicator.vue.d.ts +6 -6
  150. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  151. package/dist/components/select/select-item.vue.d.ts +4 -4
  152. package/dist/components/select/select-root.vue.d.ts +7 -5
  153. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  154. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  155. package/dist/components/select/select-separator.vue.d.ts +2 -2
  156. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  157. package/dist/components/select/select-trigger.vue.d.ts +6 -6
  158. package/dist/components/select/select-value.vue.d.ts +3 -3
  159. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  160. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  161. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  162. package/dist/components/slot/slot.d.ts +2 -2
  163. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  164. package/dist/components/switch/switch-root.vue.d.ts +7 -5
  165. package/dist/components/switch/switch-thumb.vue.d.ts +6 -6
  166. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  167. package/dist/components/tabs/tabs-indicator.vue.d.ts +4 -4
  168. package/dist/components/tabs/tabs-list.vue.d.ts +4 -4
  169. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  170. package/dist/components/tabs/tabs-trigger.vue.d.ts +6 -6
  171. package/dist/components/tag/tag.vue.d.ts +4 -4
  172. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  173. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  174. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  175. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  176. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  177. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  178. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  179. package/dist/components/toast/toast-root.vue.d.ts +7 -7
  180. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  181. package/dist/components/toast/toast-viewport.vue.d.ts +6 -6
  182. package/dist/components/tooltip/tooltip-content.vue.d.ts +6 -6
  183. package/dist/components/tooltip/tooltip-root.vue.d.ts +6 -6
  184. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +6 -6
  185. package/dist/components/tree/tree-item.js +1 -1
  186. package/dist/components/tree/tree-item.vue.d.ts +8 -7
  187. package/dist/components/tree/tree-root.vue.d.ts +7 -5
  188. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +7 -6
  189. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +7 -5
  190. package/dist/components/tree/types.d.ts +1 -1
  191. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  192. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +4 -4
  193. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +7 -5
  194. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +8 -6
  195. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +6 -6
  196. package/dist/composables/use-direction.d.ts +2 -2
  197. package/dist/composables/use-dismissable-layer.d.ts +6 -6
  198. package/dist/composables/use-exposed-element.d.ts +2 -2
  199. package/dist/composables/use-forward-element.d.ts +2 -2
  200. package/dist/composables/use-image-loading-status.d.ts +2 -2
  201. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  202. package/dist/composables/use-kbd.d.ts +2 -2
  203. package/dist/composables/use-nonce.d.ts +2 -2
  204. package/dist/composables/use-presence.d.ts +2 -2
  205. package/dist/composables/use-props.d.ts +3 -3
  206. package/dist/composables/use-selection.d.ts +4 -4
  207. package/package.json +9 -9
@@ -3,20 +3,20 @@ import "../../types/index.js";
3
3
  import { AsTag } from "../primitive/types.js";
4
4
  import "../primitive/index.js";
5
5
  import { ListboxItemProps } from "./types.js";
6
- import * as vue746 from "vue";
6
+ import * as vue861 from "vue";
7
7
 
8
8
  //#region src/components/listbox/listbox-item.vue.d.ts
9
9
  declare var __VLS_12: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_12) => any;
12
12
  };
13
- declare const __VLS_base: vue746.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue746.ComponentOptionsMixin, vue746.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue861.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue861.ComponentOptionsMixin, vue861.ComponentOptionsMixin, {
14
14
  select: (event: SelectEvent<string>) => any;
15
- }, string, vue746.PublicProps, Readonly<ListboxItemProps> & Readonly<{
15
+ }, string, vue861.PublicProps, Readonly<ListboxItemProps> & Readonly<{
16
16
  onSelect?: ((event: SelectEvent<string>) => any) | undefined;
17
17
  }>, {
18
- as: AsTag | vue746.Component;
19
- }, {}, {}, {}, string, vue746.ComponentProvideOptions, false, {}, any>;
18
+ as: AsTag | vue861.Component;
19
+ }, {}, {}, {}, string, vue861.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,18 +1,20 @@
1
1
  import { CollectionItemData } from "../../composables/use-collection.js";
2
2
  import "../../composables/index.js";
3
3
  import { ListboxCollectionItemData, ListboxRootProps } from "./types.js";
4
- import * as vue758 from "vue";
4
+ import * as vue738 from "vue";
5
5
 
6
6
  //#region src/components/listbox/listbox-root.vue.d.ts
7
- declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
+ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: __VLS_PrettifyLocal<ListboxRootProps<M> & {
9
- "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
10
9
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
10
+ "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
11
11
  onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
12
12
  onLeave?: ((event: Event) => any) | undefined;
13
- }> & vue758.PublicProps;
14
- expose: (exposed: vue758.ShallowUnwrapRef<{
15
- highlightedElement: vue758.ShallowRef<HTMLElement | null, HTMLElement | null>;
13
+ }> & vue738.PublicProps & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
16
+ expose: (exposed: vue738.ShallowUnwrapRef<{
17
+ highlightedElement: vue738.ShallowRef<HTMLElement | null, HTMLElement | null>;
16
18
  highlightItem: (value: string) => void;
17
19
  highlightFirstItem: () => void;
18
20
  highlightSelected: (event?: Event) => Promise<void>;
@@ -24,11 +26,11 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
24
26
  modelValue: (M extends true ? string[] : string) | undefined;
25
27
  }) => any;
26
28
  };
27
- emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
28
- }>) => vue758.VNode & {
29
+ emit: ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
30
+ }>) => vue738.VNode & {
29
31
  __ctx?: Awaited<typeof __VLS_setup>;
30
32
  };
31
33
  declare const _default: typeof __VLS_export;
32
- type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
34
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
33
35
  //#endregion
34
36
  export { _default };
@@ -1,9 +1,9 @@
1
1
  import { ListboxVirtualizerProps, ListboxVirtualizerSlots } from "./types.js";
2
- import * as vue782 from "vue";
2
+ import * as vue888 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-virtualizer.vue.d.ts
5
5
  type __VLS_Slots = ListboxVirtualizerSlots;
6
- declare const __VLS_base: vue782.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue782.ComponentOptionsMixin, vue782.ComponentOptionsMixin, {}, string, vue782.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue782.ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_base: vue888.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue888.ComponentOptionsMixin, vue888.ComponentOptionsMixin, {}, string, vue888.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue888.ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  type __VLS_WithSlots<T, S> = T & {
@@ -1,13 +1,15 @@
1
1
  import { DefinedValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuCheckboxGroupProps } from "./types.js";
4
- import * as vue283 from "vue";
4
+ import * as vue1089 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-checkbox-group.vue.d.ts
7
- declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
+ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
9
9
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
10
- }> & vue283.PublicProps;
10
+ }> & vue1089.PublicProps & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
11
13
  expose: (exposed: {}) => void;
12
14
  attrs: any;
13
15
  slots: {
@@ -16,10 +18,10 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
16
18
  }) => any;
17
19
  };
18
20
  emit: (evt: "update:modelValue", value: T[]) => void;
19
- }>) => vue283.VNode & {
21
+ }>) => vue1089.VNode & {
20
22
  __ctx?: Awaited<typeof __VLS_setup>;
21
23
  };
22
24
  declare const _default: typeof __VLS_export;
23
- type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
25
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
24
26
  //#endregion
25
27
  export { _default };
@@ -1,7 +1,7 @@
1
1
  import { CheckedState } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuCheckboxItemProps } from "./types.js";
4
- import * as vue285 from "vue";
4
+ import * as vue1091 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-checkbox-item.vue.d.ts
7
7
  declare var __VLS_9: {
@@ -10,13 +10,13 @@ declare var __VLS_9: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_9) => any;
12
12
  };
13
- declare const __VLS_base: vue285.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue285.ComponentOptionsMixin, vue285.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1091.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1091.ComponentOptionsMixin, vue1091.ComponentOptionsMixin, {
14
14
  select: (event: Event) => any;
15
15
  "update:modelValue": (value: CheckedState) => any;
16
- }, string, vue285.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
16
+ }, string, vue1091.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
17
17
  onSelect?: ((event: Event) => any) | undefined;
18
18
  "onUpdate:modelValue"?: ((value: CheckedState) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue285.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue1091.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as r}from"../../shared/focus.js";import{isMouseEvent as i}from"../../shared/event.js";import{useBodyScrollLock as a}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as o}from"../../composables/use-dismissable-layer.js";import{useForwardElement as s}from"../../composables/use-forward-element.js";import{useExposedElement as c}from"../../composables/use-exposed-element.js";import{useFocusGuards as l}from"../../composables/use-focus-guards.js";import{useFocusScope as u}from"../../composables/use-focus-scope.js";import{useHideOthers as d}from"../../composables/use-hide-others.js";import{useOmitProps as f}from"../../composables/use-props.js";import{useTypeahead as p}from"../../composables/use-typeahead.js";import m from"../roving-focus/roving-focus-group.js";import h from"../popper/popper-content.js";import{provideMenuContentContext as g,useMenuContext as _,useMenuRootContext as v,useMenuSubContext as y}from"./context.js";import{FIRST_LAST_KEYS as ee,LAST_KEYS as te,MENU_CONTENT_DATA_ATTRIBUTE as ne}from"./shared.js";import{createBlock as b,createVNode as x,defineComponent as S,isRef as C,mergeProps as w,onWatcherCleanup as T,openBlock as E,renderSlot as D,unref as O,useAttrs as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=S({name:`MenuContentImpl`,inheritAttrs:!1,__name:`menu-content-impl`,props:{floatingRef:{type:Function},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(S,{emit:N}){let P=S,F=N,I=k(),{onOpenChange:L,dataState:R,onContentElementChange:z}=_(`MenuContentImpl`),{modal:re,dir:B,isUsingKeyboard:V}=v(`MenuContentImpl`),[H,U]=s(P.floatingRef),[W,G]=c(z),{currentItemId:K,searchRef:q,pointerSide:J}=g({contentElement:W}),Y=y(),{handleTypeaheadSearch:X}=p(),Z=A(`rovingFocusGroupRef`),{computedStyle:ie,layerProps:ae}=o(W,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{Y||L(!1)}}),{onKeydown:oe,focusScopeProps:se}=u(H,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),W.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),Q=f(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`],I,ae,se),ce=e=>{F(`entryFocus`,e),V.value||e.preventDefault()},le=i=>{if(oe(i),i.defaultPrevented)return;let a=i.target.closest(`[${ne}]`)===i.currentTarget,o=i.ctrlKey||i.altKey||i.metaKey,s=i.key.length===1,c=t(i,n(),W.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:B.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(c){c.focus();return}if(i.code===`Space`)return;let l=Z.value?.getItems()??[];if(a&&(i.key===`Tab`&&i.preventDefault(),!o&&s&&X(i.key,l)),i.target!==W.value||!ee.includes(i.key))return;i.preventDefault();let u=[...l.map(e=>e.element)];te.includes(i.key)&&u.reverse(),r(u)};function ue(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(q.value=``)}let $=0;function de(e){if(!i(e))return;let t=e.target,n=$!==e.clientX;e?.currentTarget?.contains(t)&&n&&(J.value=e.clientX>$?`right`:`left`,$=e.clientX)}return l(),d(W,()=>re.value&&!Y),j(()=>{P.disableOutsidePointerEvents&&T(a())}),(e,t)=>(E(),b(O(m),{ref_key:`rovingFocusGroupRef`,ref:Z,"current-tab-stop-id":O(K),"onUpdate:currentTabStopId":t[0]||=e=>C(K)?K.value=e:null,"as-child":``,orientation:`vertical`,dir:O(B),loop:S.loop,onEntryFocus:ce},{default:M(()=>[x(O(h),w(O(Q),{ref:O(G),"floating-ref":O(U),role:`menu`,"data-soybean-menu-content":``,"aria-orientation":`vertical`,"data-state":O(R),dir:O(B),style:O(ie),onKeydown:le,onBlur:ue,onPointermove:de}),{default:M(()=>[D(e.$slots,`default`)]),_:3},16,[`floating-ref`,`data-state`,`dir`,`style`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
1
+ import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as r}from"../../shared/focus.js";import{isMouseEvent as i}from"../../shared/event.js";import{useBodyScrollLock as a}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as o}from"../../composables/use-dismissable-layer.js";import{useForwardElement as s}from"../../composables/use-forward-element.js";import{useExposedElement as c}from"../../composables/use-exposed-element.js";import{useFocusGuards as l}from"../../composables/use-focus-guards.js";import{useFocusScope as u}from"../../composables/use-focus-scope.js";import{useHideOthers as d}from"../../composables/use-hide-others.js";import{useOmitProps as f}from"../../composables/use-props.js";import{useTypeahead as p}from"../../composables/use-typeahead.js";import m from"../roving-focus/roving-focus-group.js";import h from"../popper/popper-content.js";import{provideMenuContentContext as g,useMenuContext as _,useMenuRootContext as v,useMenuSubContext as y}from"./context.js";import{FIRST_LAST_KEYS as ee,LAST_KEYS as te,MENU_CONTENT_DATA_ATTRIBUTE as ne}from"./shared.js";import{createBlock as b,createVNode as x,defineComponent as S,isRef as C,mergeProps as w,onWatcherCleanup as T,openBlock as E,renderSlot as D,unref as O,useAttrs as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=S({name:`MenuContentImpl`,inheritAttrs:!1,__name:`menu-content-impl`,props:{floatingRef:{type:Function},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(S,{emit:N}){let P=S,F=N,I=k(),{onOpenChange:L,dataState:R,onContentElementChange:z}=_(`MenuContentImpl`),{modal:re,dir:B,isUsingKeyboard:V}=v(`MenuContentImpl`),[H,U]=s(P.floatingRef),[W,G]=c(z),{currentItemId:K,searchRef:q,pointerSide:J}=g({contentElement:W}),Y=y(),{handleTypeaheadSearch:X}=p(),Z=A(`rovingFocusGroupRef`),{computedStyle:ie,layerProps:ae}=o(W,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{Y||L(!1)}}),{onKeydown:oe,focusScopeProps:se}=u(H,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),W.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),Q=f(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`],I,ae,se),ce=e=>{F(`entryFocus`,e),V.value||e.preventDefault()},le=i=>{if(oe(i),i.defaultPrevented)return;let a=i.target.closest(`[${ne}]`)===i.currentTarget,o=i.ctrlKey||i.altKey||i.metaKey,s=i.key.length===1,c=t(i,n(),W.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:B.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(c){c.focus();return}if(i.code===`Space`)return;let l=Z.value?.getItems()??[];if(a&&(i.key===`Tab`&&i.preventDefault(),!o&&s&&X(i.key,l)),i.target!==W.value||!ee.includes(i.key))return;i.preventDefault();let u=[...l.map(e=>e.element)];te.includes(i.key)&&u.reverse(),r(u)};function ue(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(q.value=``)}let $=0;function de(e){if(!i(e))return;let t=e.target,n=$!==e.clientX;(e?.currentTarget)?.contains(t)&&n&&(J.value=e.clientX>$?`right`:`left`,$=e.clientX)}return l(),d(W,()=>re.value&&!Y),j(()=>{P.disableOutsidePointerEvents&&T(a())}),(e,t)=>(E(),b(O(m),{ref_key:`rovingFocusGroupRef`,ref:Z,"current-tab-stop-id":O(K),"onUpdate:currentTabStopId":t[0]||=e=>C(K)?K.value=e:null,"as-child":``,orientation:`vertical`,dir:O(B),loop:S.loop,onEntryFocus:ce},{default:M(()=>[x(O(h),w(O(Q),{ref:O(G),"floating-ref":O(U),role:`menu`,"data-soybean-menu-content":``,"aria-orientation":`vertical`,"data-state":O(R),dir:O(B),style:O(ie),onKeydown:le,onBlur:ue,onPointermove:de}),{default:M(()=>[D(e.$slots,`default`)]),_:3},16,[`floating-ref`,`data-state`,`dir`,`style`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
@@ -2,14 +2,14 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
2
2
  import "../../types/index.js";
3
3
  import { MenuContentPrivateProps } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue248 from "vue";
5
+ import * as vue1054 from "vue";
6
6
 
7
7
  //#region src/components/menu/menu-content.vue.d.ts
8
8
  declare var __VLS_9: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_9) => any;
11
11
  };
12
- declare const __VLS_base: vue248.DefineComponent<MenuContentPrivateProps, {}, {}, {}, {}, vue248.ComponentOptionsMixin, vue248.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1054.DefineComponent<MenuContentPrivateProps, {}, {}, {}, {}, vue1054.ComponentOptionsMixin, vue1054.ComponentOptionsMixin, {
13
13
  entryFocus: (event: Event) => any;
14
14
  escapeKeyDown: (event: KeyboardEvent) => any;
15
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
@@ -17,7 +17,7 @@ declare const __VLS_base: vue248.DefineComponent<MenuContentPrivateProps, {}, {}
17
17
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
18
18
  openAutoFocus: (event: Event) => any;
19
19
  closeAutoFocus: (event: Event) => any;
20
- }, string, vue248.PublicProps, Readonly<MenuContentPrivateProps> & Readonly<{
20
+ }, string, vue1054.PublicProps, Readonly<MenuContentPrivateProps> & Readonly<{
21
21
  onEntryFocus?: ((event: Event) => any) | undefined;
22
22
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
23
23
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
@@ -25,7 +25,7 @@ declare const __VLS_base: vue248.DefineComponent<MenuContentPrivateProps, {}, {}
25
25
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
26
26
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
27
27
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, vue248.ComponentProvideOptions, false, {}, any>;
28
+ }>, {}, {}, {}, {}, string, vue1054.ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { MenuGroupLabelProps } from "./types.js";
2
- import * as vue273 from "vue";
2
+ import * as vue1079 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-group-label.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: vue273.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue273.ComponentOptionsMixin, vue273.ComponentOptionsMixin, {}, string, vue273.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue273.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1079.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1079.ComponentOptionsMixin, vue1079.ComponentOptionsMixin, {}, string, vue1079.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1079.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 { MenuGroupProps } from "./types.js";
2
- import * as vue268 from "vue";
2
+ import * as vue1074 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-group.vue.d.ts
5
- declare var __VLS_7: {};
5
+ declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_7) => any;
7
+ default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue268.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue268.ComponentOptionsMixin, vue268.ComponentOptionsMixin, {}, string, vue268.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue268.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1074.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1074.ComponentOptionsMixin, vue1074.ComponentOptionsMixin, {}, string, vue1074.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1074.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 { MenuItemIndicatorProps } from "./types.js";
4
- import * as vue373 from "vue";
4
+ import * as vue1103 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-item-indicator.vue.d.ts
7
- declare var __VLS_7: {};
7
+ declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
9
+ default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue373.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue373.ComponentOptionsMixin, vue373.ComponentOptionsMixin, {}, string, vue373.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue373.Component;
13
- }, {}, {}, {}, string, vue373.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1103.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1103.ComponentOptionsMixin, vue1103.ComponentOptionsMixin, {}, string, vue1103.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue1103.Component;
13
+ }, {}, {}, {}, string, vue1103.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 { MenuItemProps } from "./types.js";
2
- import * as vue278 from "vue";
2
+ import * as vue1084 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-item.vue.d.ts
5
5
  declare var __VLS_12: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_12) => any;
8
8
  };
9
- declare const __VLS_base: vue278.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue278.ComponentOptionsMixin, vue278.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1084.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1084.ComponentOptionsMixin, vue1084.ComponentOptionsMixin, {
10
10
  select: (event: Event) => any;
11
- }, string, vue278.PublicProps, Readonly<MenuItemProps> & Readonly<{
11
+ }, string, vue1084.PublicProps, Readonly<MenuItemProps> & Readonly<{
12
12
  onSelect?: ((event: Event) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, vue278.ComponentProvideOptions, false, {}, any>;
13
+ }>, {}, {}, {}, {}, string, vue1084.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,13 +1,15 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuRadioGroupProps } from "./types.js";
4
- import * as vue290 from "vue";
4
+ import * as vue1096 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-radio-group.vue.d.ts
7
- declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
+ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: __VLS_PrettifyLocal<MenuRadioGroupProps<T> & {
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
- }> & vue290.PublicProps;
10
+ }> & vue1096.PublicProps & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
11
13
  expose: (exposed: {}) => void;
12
14
  attrs: any;
13
15
  slots: {
@@ -16,10 +18,10 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
16
18
  }) => any;
17
19
  };
18
20
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
19
- }>) => vue290.VNode & {
21
+ }>) => vue1096.VNode & {
20
22
  __ctx?: Awaited<typeof __VLS_setup>;
21
23
  };
22
24
  declare const _default: typeof __VLS_export;
23
- type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
25
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
24
26
  //#endregion
25
27
  export { _default };
@@ -1,5 +1,5 @@
1
1
  import { MenuRadioItemProps } from "./types.js";
2
- import * as vue368 from "vue";
2
+ import * as vue1098 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-radio-item.vue.d.ts
5
5
  declare var __VLS_9: {
@@ -8,11 +8,11 @@ declare var __VLS_9: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_9) => any;
10
10
  };
11
- declare const __VLS_base: vue368.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue368.ComponentOptionsMixin, vue368.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1098.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1098.ComponentOptionsMixin, vue1098.ComponentOptionsMixin, {
12
12
  select: (event: Event) => any;
13
- }, string, vue368.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
13
+ }, string, vue1098.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
14
14
  onSelect?: ((event: Event) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue368.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue1098.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,21 +1,21 @@
1
1
  import { MenuRootProps } from "./types.js";
2
- import * as vue243 from "vue";
2
+ import * as vue1049 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-root.vue.d.ts
5
- declare var __VLS_7: {
5
+ declare var __VLS_8: {
6
6
  open: boolean | undefined;
7
7
  };
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
9
+ default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue243.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue243.ComponentOptionsMixin, vue243.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1049.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1049.ComponentOptionsMixin, vue1049.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue243.PublicProps, Readonly<MenuRootProps> & Readonly<{
13
+ }, string, vue1049.PublicProps, Readonly<MenuRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  modal: boolean;
18
- }, {}, {}, {}, string, vue243.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue1049.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,14 +2,14 @@ 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 vue258 from "vue";
5
+ import * as vue1064 from "vue";
6
6
 
7
7
  //#region src/components/menu/menu-sub-content.vue.d.ts
8
8
  declare var __VLS_13: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_13) => any;
11
11
  };
12
- declare const __VLS_base: vue258.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue258.ComponentOptionsMixin, vue258.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1064.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1064.ComponentOptionsMixin, vue1064.ComponentOptionsMixin, {
13
13
  entryFocus: (event: Event) => any;
14
14
  escapeKeyDown: (event: KeyboardEvent) => any;
15
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
@@ -17,7 +17,7 @@ declare const __VLS_base: vue258.DefineComponent<MenuSubContentProps, {}, {}, {}
17
17
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
18
18
  openAutoFocus: (event: Event) => any;
19
19
  closeAutoFocus: (event: Event) => any;
20
- }, string, vue258.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
20
+ }, string, vue1064.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
21
21
  onEntryFocus?: ((event: Event) => any) | undefined;
22
22
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
23
23
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
@@ -27,7 +27,7 @@ declare const __VLS_base: vue258.DefineComponent<MenuSubContentProps, {}, {}, {}
27
27
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
29
29
  prioritizePosition: boolean;
30
- }, {}, {}, {}, string, vue258.ComponentProvideOptions, false, {}, any>;
30
+ }, {}, {}, {}, string, vue1064.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 vue263 from "vue";
2
+ import * as vue1069 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-sub-trigger.vue.d.ts
5
- declare var __VLS_17: {};
5
+ declare var __VLS_18: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_17) => any;
7
+ default?: (props: typeof __VLS_18) => any;
8
8
  };
9
- declare const __VLS_base: vue263.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue263.ComponentOptionsMixin, vue263.ComponentOptionsMixin, {}, string, vue263.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue263.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1069.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1069.ComponentOptionsMixin, vue1069.ComponentOptionsMixin, {}, string, vue1069.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1069.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 vue253 from "vue";
2
+ import * as vue1059 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-sub.vue.d.ts
5
- declare var __VLS_7: {};
5
+ declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_7) => any;
7
+ default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue253.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue253.ComponentOptionsMixin, vue253.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1059.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1059.ComponentOptionsMixin, vue1059.ComponentOptionsMixin, {
10
10
  "update:open": (value: boolean) => any;
11
- }, string, vue253.PublicProps, Readonly<MenuSubProps> & Readonly<{
11
+ }, string, vue1059.PublicProps, Readonly<MenuSubProps> & Readonly<{
12
12
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
13
  }>, {
14
14
  open: boolean;
15
- }, {}, {}, {}, string, vue253.ComponentProvideOptions, false, {}, any>;
15
+ }, {}, {}, {}, string, vue1059.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,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 vue600 from "vue";
4
+ import * as vue1210 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
7
- declare var __VLS_15: {};
7
+ declare var __VLS_16: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_15) => any;
9
+ default?: (props: typeof __VLS_16) => any;
10
10
  };
11
- declare const __VLS_base: vue600.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue600.ComponentOptionsMixin, vue600.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1210.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue1210.ComponentOptionsMixin, vue1210.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, vue600.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
16
+ }, string, vue1210.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, vue600.ComponentProvideOptions, false, {}, any>;
21
+ }>, {}, {}, {}, {}, string, vue1210.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 vue616 from "vue";
2
+ import * as vue1226 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-indicator.vue.d.ts
5
- declare var __VLS_6: {};
5
+ declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_6) => any;
7
+ default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue616.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue616.ComponentOptionsMixin, vue616.ComponentOptionsMixin, {}, string, vue616.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue616.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1226.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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 vue575 from "vue";
2
+ import * as vue1200 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: vue575.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue575.ComponentOptionsMixin, vue575.ComponentOptionsMixin, {}, string, vue575.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue575.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1200.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue1200.ComponentOptionsMixin, vue1200.ComponentOptionsMixin, {}, string, vue1200.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1200.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,5 +1,5 @@
1
1
  import { NavigationMenuLinkProps } from "./types.js";
2
- import * as vue595 from "vue";
2
+ import * as vue1205 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-link.vue.d.ts
5
5
  declare var __VLS_9: {
@@ -8,15 +8,15 @@ declare var __VLS_9: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_9) => any;
10
10
  };
11
- declare const __VLS_base: vue595.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue595.ComponentOptionsMixin, vue595.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1205.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue1205.ComponentOptionsMixin, vue1205.ComponentOptionsMixin, {
12
12
  select: (payload: CustomEvent<{
13
13
  originalEvent: Event;
14
14
  }>) => any;
15
- }, string, vue595.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
15
+ }, string, vue1205.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
16
16
  onSelect?: ((payload: CustomEvent<{
17
17
  originalEvent: Event;
18
18
  }>) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue595.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue1205.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuListProps } from "./types.js";
2
- import * as vue585 from "vue";
2
+ import * as vue1190 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: vue585.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue585.ComponentOptionsMixin, vue585.ComponentOptionsMixin, {}, string, vue585.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue585.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1190.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue1190.ComponentOptionsMixin, vue1190.ComponentOptionsMixin, {}, string, vue1190.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1190.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 { Direction } from "../../types/common.js";
2
2
  import { NavigationMenuRootProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue580 from "vue";
4
+ import * as vue1185 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-root.vue.d.ts
7
7
  declare var __VLS_1: {
@@ -10,16 +10,16 @@ declare var __VLS_1: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_1) => any;
12
12
  };
13
- declare const __VLS_base: vue580.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue580.ComponentOptionsMixin, vue580.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1185.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1185.ComponentOptionsMixin, vue1185.ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: string) => any;
15
- }, string, vue580.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
15
+ }, string, vue1185.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
17
  }>, {
18
18
  dir: Direction;
19
19
  delayDuration: number;
20
20
  skipDelayDuration: number;
21
21
  unmountOnHide: boolean;
22
- }, {}, {}, {}, string, vue580.ComponentProvideOptions, false, {}, any>;
22
+ }, {}, {}, {}, string, vue1185.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
25
25
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuSubListProps } from "./types.js";
2
- import * as vue590 from "vue";
2
+ import * as vue1195 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: vue590.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue590.ComponentOptionsMixin, vue590.ComponentOptionsMixin, {}, string, vue590.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue590.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1195.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue1195.ComponentOptionsMixin, vue1195.ComponentOptionsMixin, {}, string, vue1195.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1195.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 & {