@soybeanjs/headless 0.0.8 → 0.0.9

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 (231) 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.js +1 -1
  6. package/dist/components/accordion/accordion-trigger.vue.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-dialog/alert-dialog-close.vue.d.ts +2 -2
  13. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +4 -4
  14. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  15. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  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 +2 -2
  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 +3 -3
  38. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  39. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  40. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  41. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  42. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  43. package/dist/components/collapsible/collapsible-trigger.js +1 -1
  44. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  45. package/dist/components/collapsible/types.d.ts +4 -1
  46. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  47. package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
  48. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  49. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  50. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  51. package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
  52. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  53. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  54. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  55. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  56. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  57. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  58. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  59. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +6 -6
  60. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
  61. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  62. package/dist/components/form/form-description.vue.d.ts +2 -2
  63. package/dist/components/form/form-error.vue.d.ts +2 -2
  64. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  65. package/dist/components/form/form-field.vue.d.ts +2 -2
  66. package/dist/components/form/form-label.vue.d.ts +2 -2
  67. package/dist/components/input/input-control.vue.d.ts +2 -2
  68. package/dist/components/input/input-root.vue.d.ts +4 -4
  69. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  70. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  71. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  72. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  73. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  74. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  75. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  76. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  77. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  78. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  79. package/dist/components/link/index.d.ts +2 -2
  80. package/dist/components/link/link.js +1 -1
  81. package/dist/components/link/link.vue.d.ts +5 -4
  82. package/dist/components/link/types.d.ts +6 -1
  83. package/dist/components/list/list-content.vue.d.ts +2 -2
  84. package/dist/components/list/list-description.vue.d.ts +2 -2
  85. package/dist/components/list/list-item.vue.d.ts +2 -2
  86. package/dist/components/list/list-root.vue.d.ts +2 -2
  87. package/dist/components/list/list-title.vue.d.ts +2 -2
  88. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  89. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  90. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  91. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  92. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  93. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  94. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  95. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  96. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  97. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  98. package/dist/components/menu/menu-content.vue.d.ts +6 -6
  99. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  100. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  101. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  102. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  103. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  104. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  105. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  106. package/dist/components/menu/menu-sub-content.vue.d.ts +6 -6
  107. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  108. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  109. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  110. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  111. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  112. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  113. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  114. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  115. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  116. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  117. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  118. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  119. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  120. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  121. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  122. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  123. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  124. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  125. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  126. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  127. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  128. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  129. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  130. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  131. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  132. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  133. package/dist/components/popover/popover-positioner.vue.d.ts +4 -4
  134. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  135. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  136. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  137. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  138. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  139. package/dist/components/popper/popper-positioner.vue.d.ts +11 -11
  140. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  141. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  142. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  143. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  144. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  145. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  146. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  147. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  148. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  149. package/dist/components/select/select-content.vue.d.ts +4 -4
  150. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  151. package/dist/components/select/select-group.vue.d.ts +2 -2
  152. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  153. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  154. package/dist/components/select/select-item.vue.d.ts +4 -4
  155. package/dist/components/select/select-root.vue.d.ts +3 -3
  156. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  157. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  158. package/dist/components/select/select-separator.vue.d.ts +2 -2
  159. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  160. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  161. package/dist/components/select/select-value.vue.d.ts +3 -3
  162. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  163. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  164. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  165. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  166. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  167. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  168. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  169. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  170. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  171. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  172. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  173. package/dist/components/tag/tag.vue.d.ts +4 -4
  174. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  175. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  176. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  177. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  178. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  179. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  180. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  181. package/dist/components/toast/toast-root.vue.d.ts +8 -8
  182. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  183. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  184. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  185. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  186. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  187. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  188. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  189. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  190. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  191. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  192. package/dist/components/tree-menu/context.d.ts +8 -0
  193. package/dist/components/tree-menu/context.js +1 -0
  194. package/dist/components/tree-menu/index.d.ts +11 -0
  195. package/dist/components/tree-menu/index.js +1 -0
  196. package/dist/components/tree-menu/tree-menu-button.js +1 -0
  197. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +22 -0
  198. package/dist/components/tree-menu/tree-menu-collapsible.js +1 -0
  199. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +22 -0
  200. package/dist/components/tree-menu/tree-menu-group-label.js +1 -0
  201. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +18 -0
  202. package/dist/components/tree-menu/tree-menu-group-root.js +1 -0
  203. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +18 -0
  204. package/dist/components/tree-menu/tree-menu-group.js +1 -0
  205. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +22 -0
  206. package/dist/components/tree-menu/tree-menu-item.js +1 -0
  207. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +22 -0
  208. package/dist/components/tree-menu/tree-menu-root.js +1 -0
  209. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +31 -0
  210. package/dist/components/tree-menu/tree-menu-sub.js +1 -0
  211. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +22 -0
  212. package/dist/components/tree-menu/types.d.ts +74 -0
  213. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  214. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  215. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  216. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  217. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  218. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  219. package/dist/composables/use-exposed-element.d.ts +2 -2
  220. package/dist/composables/use-image-loading-status.d.ts +2 -2
  221. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  222. package/dist/composables/use-kbd.d.ts +2 -2
  223. package/dist/composables/use-locale.d.ts +2 -2
  224. package/dist/composables/use-nonce.d.ts +2 -2
  225. package/dist/composables/use-props.d.ts +3 -3
  226. package/dist/composables/use-selection.d.ts +4 -4
  227. package/dist/index.d.ts +21 -10
  228. package/dist/index.js +1 -1
  229. package/dist/namespaced/index.d.ts +25 -7
  230. package/dist/namespaced/index.js +1 -1
  231. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { ToastCloseProps } from "./types.js";
4
- import * as vue148 from "vue";
4
+ import * as vue1832 from "vue";
5
5
 
6
6
  //#region src/components/toast/toast-close.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: vue148.DefineComponent<ToastCloseProps, {}, {}, {}, {}, vue148.ComponentOptionsMixin, vue148.ComponentOptionsMixin, {}, string, vue148.PublicProps, Readonly<ToastCloseProps> & Readonly<{}>, {
12
- as: AsTag | vue148.Component;
13
- }, {}, {}, {}, string, vue148.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1832.DefineComponent<ToastCloseProps, {}, {}, {}, {}, vue1832.ComponentOptionsMixin, vue1832.ComponentOptionsMixin, {}, string, vue1832.PublicProps, Readonly<ToastCloseProps> & Readonly<{}>, {
12
+ as: AsTag | vue1832.Component;
13
+ }, {}, {}, {}, string, vue1832.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,12 +1,12 @@
1
1
  import { ToastDescriptionProps } from "./types.js";
2
- import * as vue117 from "vue";
2
+ import * as vue1849 from "vue";
3
3
 
4
4
  //#region src/components/toast/toast-description.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: vue117.DefineComponent<ToastDescriptionProps, {}, {}, {}, {}, vue117.ComponentOptionsMixin, vue117.ComponentOptionsMixin, {}, string, vue117.PublicProps, Readonly<ToastDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue117.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1849.DefineComponent<ToastDescriptionProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<ToastDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.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,19 +1,19 @@
1
1
  import { SwipeDirection } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { ToastProviderProps } from "./types.js";
4
- import * as vue112 from "vue";
4
+ import * as vue1821 from "vue";
5
5
 
6
6
  //#region src/components/toast/toast-provider.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: vue112.DefineComponent<ToastProviderProps, {}, {}, {}, {}, vue112.ComponentOptionsMixin, vue112.ComponentOptionsMixin, {}, string, vue112.PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue1821.DefineComponent<ToastProviderProps, {}, {}, {}, {}, vue1821.ComponentOptionsMixin, vue1821.ComponentOptionsMixin, {}, string, vue1821.PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
12
12
  label: string;
13
13
  duration: number;
14
14
  swipeDirection: SwipeDirection;
15
15
  swipeThreshold: number;
16
- }, {}, {}, {}, string, vue112.ComponentProvideOptions, false, {}, any>;
16
+ }, {}, {}, {}, string, vue1821.ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  type __VLS_WithSlots<T, S> = T & {
@@ -3,7 +3,7 @@ import "../../types/index.js";
3
3
  import { AsTag } from "../primitive/types.js";
4
4
  import "../primitive/index.js";
5
5
  import { ToastLiveType, ToastRootProps } from "./types.js";
6
- import * as vue106 from "vue";
6
+ import * as vue1826 from "vue";
7
7
 
8
8
  //#region src/components/toast/toast-root.vue.d.ts
9
9
  declare var __VLS_23: {
@@ -13,30 +13,30 @@ declare var __VLS_23: {
13
13
  type __VLS_Slots = {} & {
14
14
  default?: (props: typeof __VLS_23) => any;
15
15
  };
16
- declare const __VLS_base: vue106.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue106.ComponentOptionsMixin, vue106.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue1826.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue1826.ComponentOptionsMixin, vue1826.ComponentOptionsMixin, {
17
17
  pause: () => any;
18
+ "update:open": (value: boolean) => any;
18
19
  escapeKeyDown: (event: KeyboardEvent) => any;
19
20
  resume: () => any;
20
21
  swipeStart: (event: SwipeEvent) => any;
21
22
  swipeMove: (event: SwipeEvent) => any;
22
23
  swipeCancel: (event: SwipeEvent) => any;
23
24
  swipeEnd: (event: SwipeEvent) => any;
24
- "update:open": (value: boolean) => any;
25
- }, string, vue106.PublicProps, Readonly<ToastRootProps> & Readonly<{
25
+ }, string, vue1826.PublicProps, Readonly<ToastRootProps> & Readonly<{
26
26
  onPause?: (() => any) | undefined;
27
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
27
28
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
28
29
  onResume?: (() => any) | undefined;
29
30
  onSwipeStart?: ((event: SwipeEvent) => any) | undefined;
30
31
  onSwipeMove?: ((event: SwipeEvent) => any) | undefined;
31
32
  onSwipeCancel?: ((event: SwipeEvent) => any) | undefined;
32
33
  onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
33
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
34
34
  }>, {
35
- as: AsTag | vue106.Component;
35
+ as: AsTag | vue1826.Component;
36
36
  open: boolean;
37
- liveType: ToastLiveType;
38
37
  defaultOpen: boolean;
39
- }, {}, {}, {}, string, vue106.ComponentProvideOptions, false, {}, any>;
38
+ liveType: ToastLiveType;
39
+ }, {}, {}, {}, string, vue1826.ComponentProvideOptions, false, {}, any>;
40
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
41
  declare const _default: typeof __VLS_export;
42
42
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { ToastTitleProps } from "./types.js";
2
- import * as vue166 from "vue";
2
+ import * as vue1838 from "vue";
3
3
 
4
4
  //#region src/components/toast/toast-title.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: vue166.DefineComponent<ToastTitleProps, {}, {}, {}, {}, vue166.ComponentOptionsMixin, vue166.ComponentOptionsMixin, {}, string, vue166.PublicProps, Readonly<ToastTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue166.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1838.DefineComponent<ToastTitleProps, {}, {}, {}, {}, vue1838.ComponentOptionsMixin, vue1838.ComponentOptionsMixin, {}, string, vue1838.PublicProps, Readonly<ToastTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1838.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 { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { ToastViewportProps } from "./types.js";
4
- import * as vue154 from "vue";
4
+ import * as vue1815 from "vue";
5
5
 
6
6
  //#region src/components/toast/toast-viewport.vue.d.ts
7
7
  declare var __VLS_14: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_14) => any;
10
10
  };
11
- declare const __VLS_base: vue154.DefineComponent<ToastViewportProps, {}, {}, {}, {}, vue154.ComponentOptionsMixin, vue154.ComponentOptionsMixin, {}, string, vue154.PublicProps, Readonly<ToastViewportProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue1815.DefineComponent<ToastViewportProps, {}, {}, {}, {}, vue1815.ComponentOptionsMixin, vue1815.ComponentOptionsMixin, {}, string, vue1815.PublicProps, Readonly<ToastViewportProps> & Readonly<{}>, {
12
12
  label: string | ((hotkey: string) => string);
13
- as: AsTag | vue154.Component;
13
+ as: AsTag | vue1815.Component;
14
14
  hotkey: string[];
15
- }, {}, {}, {}, string, vue154.ComponentProvideOptions, false, {}, any>;
15
+ }, {}, {}, {}, string, vue1815.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,12 +1,12 @@
1
1
  import { TooltipPopupProps } from "./types.js";
2
- import * as vue1200 from "vue";
2
+ import * as vue1556 from "vue";
3
3
 
4
4
  //#region src/components/tooltip/tooltip-popup.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: vue1200.DefineComponent<TooltipPopupProps, {}, {}, {}, {}, vue1200.ComponentOptionsMixin, vue1200.ComponentOptionsMixin, {}, string, vue1200.PublicProps, Readonly<TooltipPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1200.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1556.DefineComponent<TooltipPopupProps, {}, {}, {}, {}, vue1556.ComponentOptionsMixin, vue1556.ComponentOptionsMixin, {}, string, vue1556.PublicProps, Readonly<TooltipPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1556.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,20 +1,20 @@
1
1
  import { PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { TooltipPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1205 from "vue";
4
+ import * as vue1561 from "vue";
5
5
 
6
6
  //#region src/components/tooltip/tooltip-positioner.vue.d.ts
7
7
  declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue1205.DefineComponent<TooltipPositionerProps, {}, {}, {}, {}, vue1205.ComponentOptionsMixin, vue1205.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1561.DefineComponent<TooltipPositionerProps, {}, {}, {}, {}, vue1561.ComponentOptionsMixin, vue1561.ComponentOptionsMixin, {
12
12
  escapeKeyDown: (event: KeyboardEvent) => any;
13
13
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
14
- }, string, vue1205.PublicProps, Readonly<TooltipPositionerProps> & Readonly<{
14
+ }, string, vue1561.PublicProps, Readonly<TooltipPositionerProps> & Readonly<{
15
15
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
16
16
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, vue1205.ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, vue1561.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { TooltipRootProps } from "./types.js";
2
- import * as vue1189 from "vue";
2
+ import * as vue1545 from "vue";
3
3
 
4
4
  //#region src/components/tooltip/tooltip-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: vue1189.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue1189.ComponentOptionsMixin, vue1189.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1545.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue1545.ComponentOptionsMixin, vue1545.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue1189.PublicProps, Readonly<TooltipRootProps> & Readonly<{
13
+ }, string, vue1545.PublicProps, Readonly<TooltipRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  defaultOpen: boolean;
18
- }, {}, {}, {}, string, vue1189.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue1545.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,16 +2,16 @@ import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { PopperAnchorProps } from "../popper/types.js";
4
4
  import "./types.js";
5
- import * as vue1194 from "vue";
5
+ import * as vue1550 from "vue";
6
6
 
7
7
  //#region src/components/tooltip/tooltip-trigger.vue.d.ts
8
8
  declare var __VLS_8: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_base: vue1194.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1194.ComponentOptionsMixin, vue1194.ComponentOptionsMixin, {}, string, vue1194.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
13
- as: AsTag | vue1194.Component;
14
- }, {}, {}, {}, string, vue1194.ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: vue1550.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1550.ComponentOptionsMixin, vue1550.ComponentOptionsMixin, {}, string, vue1550.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
13
+ as: AsTag | vue1550.Component;
14
+ }, {}, {}, {}, string, vue1550.ComponentProvideOptions, false, {}, any>;
15
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  type __VLS_WithSlots<T, S> = T & {
@@ -3,7 +3,7 @@ import "../../types/index.js";
3
3
  import { AsTag } from "../primitive/types.js";
4
4
  import "../primitive/index.js";
5
5
  import { TreeItemProps } from "./types.js";
6
- import * as vue1118 from "vue";
6
+ import * as vue257 from "vue";
7
7
 
8
8
  //#region src/components/tree/tree-item.vue.d.ts
9
9
  declare var __VLS_19: {
@@ -15,15 +15,15 @@ declare var __VLS_19: {
15
15
  type __VLS_Slots = {} & {
16
16
  default?: (props: typeof __VLS_19) => any;
17
17
  };
18
- declare const __VLS_base: vue1118.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue1118.ComponentOptionsMixin, vue1118.ComponentOptionsMixin, {
18
+ declare const __VLS_base: vue257.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue257.ComponentOptionsMixin, vue257.ComponentOptionsMixin, {
19
19
  select: (event: TreeSelectEvent<string>) => any;
20
20
  toggle: (event: TreeToggleEvent<string>) => any;
21
- }, string, vue1118.PublicProps, Readonly<TreeItemProps> & Readonly<{
21
+ }, string, vue257.PublicProps, Readonly<TreeItemProps> & Readonly<{
22
22
  onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
23
23
  onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
24
24
  }>, {
25
- as: AsTag | vue1118.Component;
26
- }, {}, {}, {}, string, vue1118.ComponentProvideOptions, false, {}, any>;
25
+ as: AsTag | vue257.Component;
26
+ }, {}, {}, {}, string, vue257.ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
1
  import { MaybeArray } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { FlattenedItem, TreeItemData, TreeRootProps } from "./types.js";
4
- import * as vue1124 from "vue";
4
+ import * as vue255 from "vue";
5
5
 
6
6
  //#region src/components/tree/tree-root.vue.d.ts
7
7
  declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, 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
- props: vue1124.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
8
+ props: vue255.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
9
9
  "onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
10
10
  "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
11
11
  }> & (typeof globalThis extends {
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
23
23
  }) => any;
24
24
  };
25
25
  emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
26
- }>) => vue1124.VNode & {
26
+ }>) => vue255.VNode & {
27
27
  __ctx?: Awaited<typeof __VLS_setup>;
28
28
  };
29
29
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,7 @@
1
1
  import { TreeSelectEvent, TreeToggleEvent } from "../../types/event.js";
2
2
  import { TreeVirtualizerItemProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1113 from "vue";
4
+ import * as vue250 from "vue";
5
5
 
6
6
  //#region src/components/tree/tree-virtualizer-item.vue.d.ts
7
7
  declare var __VLS_14: {
@@ -13,13 +13,13 @@ declare var __VLS_14: {
13
13
  type __VLS_Slots = {} & {
14
14
  default?: (props: typeof __VLS_14) => any;
15
15
  };
16
- declare const __VLS_base: vue1113.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue1113.ComponentOptionsMixin, vue1113.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue250.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue250.ComponentOptionsMixin, vue250.ComponentOptionsMixin, {
17
17
  select: (event: TreeSelectEvent<string>) => any;
18
18
  toggle: (event: TreeToggleEvent<string>) => any;
19
- }, string, vue1113.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
19
+ }, string, vue250.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
20
20
  onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
21
21
  onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
22
- }>, {}, {}, {}, {}, string, vue1113.ComponentProvideOptions, false, {}, any>;
22
+ }>, {}, {}, {}, {}, string, vue250.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 { MaybeArray } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { FlattenedItem, TreeItemData, TreeVirtualizerRootProps } from "./types.js";
4
- import * as vue1111 from "vue";
4
+ import * as vue248 from "vue";
5
5
  import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
6
6
 
7
7
  //#region src/components/tree/tree-virtualizer-root.vue.d.ts
8
8
  declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, 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<{
9
- props: vue1111.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
9
+ props: vue248.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
10
10
  "onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
11
11
  "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
12
12
  }> & (typeof globalThis extends {
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
23
23
  }) => any;
24
24
  };
25
25
  emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
26
- }>) => vue1111.VNode & {
26
+ }>) => vue248.VNode & {
27
27
  __ctx?: Awaited<typeof __VLS_setup>;
28
28
  };
29
29
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,8 @@
1
+ import { TreeMenuThemeContextParams } from "./types.js";
2
+ import "vue";
3
+
4
+ //#region src/components/tree-menu/context.d.ts
5
+
6
+ declare const provideTreeMenuThemeContext: (params: TreeMenuThemeContextParams) => TreeMenuThemeContextParams, useTreeMenuThemeContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: TreeMenuThemeContextParams | undefined) => N extends null | undefined ? TreeMenuThemeContextParams | null : TreeMenuThemeContextParams;
7
+ //#endregion
8
+ export { provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext };
@@ -0,0 +1 @@
1
+ import{useContext as e}from"../../composables/use-context.js";const[t,n]=e(`TreeMenuRoot`,e=>{let{modelValue:t,expanded:n,collapsed:r}=e,i=e=>{t.value=e},a=e=>{n.value=e},o=e=>{n.value.includes(e)?n.value=n.value.filter(t=>t!==e):n.value=[...n.value,e]},s=e=>{r.value=e};return{...e,onModelValueChange:i,onExpandedChange:a,onExpandedToggle:o,onCollapsedChange:s}}),[r,i]=e(`TreeMenuItem`,e=>e),[a,o]=e(`TreeMenuTheme`,e=>e);export{r as provideTreeMenuItemContext,t as provideTreeMenuRootContext,a as provideTreeMenuThemeContext,i as useTreeMenuItemContext,n as useTreeMenuRootContext,o as useTreeMenuThemeContext};
@@ -0,0 +1,11 @@
1
+ import { TreeMenuBaseItemProps, TreeMenuButtonProps, TreeMenuCollapsedState, TreeMenuCollapsibleProps, TreeMenuGroupLabelProps, TreeMenuGroupProps, TreeMenuGroupRootProps, TreeMenuItemProps, TreeMenuRootEmits, TreeMenuRootProps, TreeMenuSubProps, TreeMenuThemeSlot, TreeMenuUi } from "./types.js";
2
+ import { _default as _default$6 } from "./tree-menu-root.vue.js";
3
+ import { _default as _default$4 } from "./tree-menu-group-root.vue.js";
4
+ import { _default as _default$2 } from "./tree-menu-group.vue.js";
5
+ import { _default as _default$3 } from "./tree-menu-group-label.vue.js";
6
+ import { _default as _default$5 } from "./tree-menu-item.vue.js";
7
+ import { _default } from "./tree-menu-button.vue.js";
8
+ import { _default as _default$1 } from "./tree-menu-collapsible.vue.js";
9
+ import { _default as _default$7 } from "./tree-menu-sub.vue.js";
10
+ import { provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext } from "./context.js";
11
+ export { type TreeMenuBaseItemProps, _default as TreeMenuButton, type TreeMenuButtonProps, type TreeMenuCollapsedState, _default$1 as TreeMenuCollapsible, type TreeMenuCollapsibleProps, _default$2 as TreeMenuGroup, _default$3 as TreeMenuGroupLabel, type TreeMenuGroupLabelProps, type TreeMenuGroupProps, _default$4 as TreeMenuGroupRoot, type TreeMenuGroupRootProps, _default$5 as TreeMenuItem, type TreeMenuItemProps, _default$6 as TreeMenuRoot, type TreeMenuRootEmits, type TreeMenuRootProps, _default$7 as TreeMenuSub, type TreeMenuSubProps, type TreeMenuThemeSlot, type TreeMenuUi, provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext };
@@ -0,0 +1 @@
1
+ import{provideTreeMenuThemeContext as e,useTreeMenuRootContext as t,useTreeMenuThemeContext as n}from"./context.js";import r from"./tree-menu-root.js";import i from"./tree-menu-group-root.js";import a from"./tree-menu-group.js";import o from"./tree-menu-group-label.js";import s from"./tree-menu-item.js";import c from"./tree-menu-button.js";import l from"./tree-menu-collapsible.js";import u from"./tree-menu-sub.js";export{c as TreeMenuButton,l as TreeMenuCollapsible,a as TreeMenuGroup,o as TreeMenuGroupLabel,i as TreeMenuGroupRoot,s as TreeMenuItem,r as TreeMenuRoot,u as TreeMenuSub,e as provideTreeMenuThemeContext,t as useTreeMenuRootContext,n as useTreeMenuThemeContext};
@@ -0,0 +1 @@
1
+ import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuItemContext as t,useTreeMenuThemeContext as n}from"./context.js";import{computed as r,createBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";var d=a({name:`TreeMenuButton`,__name:`tree-menu-button`,props:{disabledActive:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(a){let d=a,f=n(),p=r(()=>f?.value?.button),{isActive:m,onActive:h}=t(`TreeMenuButton`),g=()=>{d.disabledActive||h()};return(t,n)=>(s(),i(l(e),{as:a.as,"as-child":a.asChild,class:o(p.value),"data-active":l(m),onClick:g},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-active`]))}});export{d as default};
@@ -0,0 +1,22 @@
1
+ import { AsTag } from "../primitive/types.js";
2
+ import "../primitive/index.js";
3
+ import { TreeMenuButtonProps } from "./types.js";
4
+ import * as vue861 from "vue";
5
+
6
+ //#region src/components/tree-menu/tree-menu-button.vue.d.ts
7
+ declare var __VLS_10: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_10) => any;
10
+ };
11
+ declare const __VLS_base: vue861.DefineComponent<TreeMenuButtonProps, {}, {}, {}, {}, vue861.ComponentOptionsMixin, vue861.ComponentOptionsMixin, {}, string, vue861.PublicProps, Readonly<TreeMenuButtonProps> & Readonly<{}>, {
12
+ as: AsTag | vue861.Component;
13
+ }, {}, {}, {}, string, vue861.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //#endregion
22
+ export { _default };
@@ -0,0 +1 @@
1
+ import e from"../collapsible/collapsible-root.js";import t from"../collapsible/collapsible-content.js";import n from"../collapsible/collapsible-trigger.js";import{useTreeMenuItemContext as r,useTreeMenuThemeContext as i}from"./context.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,normalizeClass as l,openBlock as u,renderSlot as d,unref as f,withCtx as p}from"vue";var m=c({name:`TreeMenuCollapsible`,__name:`tree-menu-collapsible`,props:{disabledCollapsible:{type:Boolean},asChild:{type:Boolean},as:{}},setup(c){let{isExpanded:m,onExpandedToggle:h}=r(`TreeMenuCollapsible`),g=i(),_=a(()=>g?.value?.collapsibleContent);return(r,i)=>(u(),o(f(e),{as:c.as,open:f(m),"onUpdate:open":f(h)},{default:p(()=>[s(f(n),{"as-child":``,"disabled-collapsible":c.disabledCollapsible},{default:p(()=>[d(r.$slots,`trigger`)]),_:3},8,[`disabled-collapsible`]),d(r.$slots,`extra`),s(f(t),{class:l(_.value)},{default:p(()=>[d(r.$slots,`default`)]),_:3},8,[`class`])]),_:3},8,[`as`,`open`,`onUpdate:open`]))}});export{m as default};
@@ -0,0 +1,22 @@
1
+ import { TreeMenuCollapsibleProps } from "./types.js";
2
+ import * as vue885 from "vue";
3
+
4
+ //#region src/components/tree-menu/tree-menu-collapsible.vue.d.ts
5
+ declare var __VLS_16: {}, __VLS_18: {}, __VLS_26: {};
6
+ type __VLS_Slots = {} & {
7
+ trigger?: (props: typeof __VLS_16) => any;
8
+ } & {
9
+ extra?: (props: typeof __VLS_18) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_26) => any;
12
+ };
13
+ declare const __VLS_base: vue885.DefineComponent<TreeMenuCollapsibleProps, {}, {}, {}, {}, vue885.ComponentOptionsMixin, vue885.ComponentOptionsMixin, {}, string, vue885.PublicProps, Readonly<TreeMenuCollapsibleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue885.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //#endregion
22
+ export { _default };
@@ -0,0 +1 @@
1
+ import{useTreeMenuThemeContext as e}from"./context.js";import{computed as t,createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o}from"vue";var s=r({name:`TreeMenuGroupLabel`,__name:`tree-menu-group-label`,setup(r){let s=e(),c=t(()=>s?.value?.groupLabel);return(e,t)=>(a(),n(`div`,{class:i(c.value)},[o(e.$slots,`default`)],2))}});export{s as default};
@@ -0,0 +1,18 @@
1
+ import { TreeMenuGroupLabelProps } from "./types.js";
2
+ import * as vue856 from "vue";
3
+
4
+ //#region src/components/tree-menu/tree-menu-group-label.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: vue856.DefineComponent<TreeMenuGroupLabelProps, {}, {}, {}, {}, vue856.ComponentOptionsMixin, vue856.ComponentOptionsMixin, {}, string, vue856.PublicProps, Readonly<TreeMenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue856.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{useTreeMenuThemeContext as e}from"./context.js";import{computed as t,createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o}from"vue";var s=r({name:`TreeMenuGroupRoot`,__name:`tree-menu-group-root`,setup(r){let s=e(),c=t(()=>s?.value?.groupRoot);return(e,t)=>(a(),n(`div`,{class:i(c.value)},[o(e.$slots,`default`)],2))}});export{s as default};
@@ -0,0 +1,18 @@
1
+ import { TreeMenuGroupRootProps } from "./types.js";
2
+ import * as vue845 from "vue";
3
+
4
+ //#region src/components/tree-menu/tree-menu-group-root.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: vue845.DefineComponent<TreeMenuGroupRootProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TreeMenuGroupRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.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{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuThemeContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`TreeMenuGroup`,__name:`tree-menu-group`,props:{asChild:{type:Boolean},as:{default:`ul`}},setup(i){let u=t(),d=n(()=>u?.value?.group);return(t,n)=>(o(),r(c(e),{as:i.as,"as-child":i.asChild,class:a(d.value),role:`group`},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}});export{u as default};
@@ -0,0 +1,22 @@
1
+ import { AsTag } from "../primitive/types.js";
2
+ import "../primitive/index.js";
3
+ import { TreeMenuGroupProps } from "./types.js";
4
+ import * as vue850 from "vue";
5
+
6
+ //#region src/components/tree-menu/tree-menu-group.vue.d.ts
7
+ declare var __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_8) => any;
10
+ };
11
+ declare const __VLS_base: vue850.DefineComponent<TreeMenuGroupProps, {}, {}, {}, {}, vue850.ComponentOptionsMixin, vue850.ComponentOptionsMixin, {}, string, vue850.PublicProps, Readonly<TreeMenuGroupProps> & Readonly<{}>, {
12
+ as: AsTag | vue850.Component;
13
+ }, {}, {}, {}, string, vue850.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //#endregion
22
+ export { _default };
@@ -0,0 +1 @@
1
+ import{Primitive as e}from"../primitive/primitive.js";import{provideTreeMenuItemContext as t,useTreeMenuRootContext as n,useTreeMenuThemeContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";var f=o({name:`TreeMenuItem`,__name:`tree-menu-item`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`li`}},setup(o){let f=o,{modelValue:p,expanded:m,onExpandedToggle:h,onModelValueChange:g}=n(`TreeMenuItem`),_=r(),v=i(()=>_?.value?.item),y=i(()=>p.value===f.value),b=i(()=>m.value?.includes(f.value));return t({value:f.value,isActive:y,isExpanded:b,onExpandedToggle:()=>{f.disabled||h(f.value)},onActive:()=>{f.disabled||g(f.value)}}),(t,n)=>(c(),a(u(e),{as:o.as,"as-child":o.asChild,class:s(v.value),"data-disabled":o.disabled?``:void 0,"data-active":y.value},{default:d(()=>[l(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-disabled`,`data-active`]))}});export{f as default};
@@ -0,0 +1,22 @@
1
+ import { AsTag } from "../primitive/types.js";
2
+ import "../primitive/index.js";
3
+ import { TreeMenuItemProps } from "./types.js";
4
+ import * as vue867 from "vue";
5
+
6
+ //#region src/components/tree-menu/tree-menu-item.vue.d.ts
7
+ declare var __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_8) => any;
10
+ };
11
+ declare const __VLS_base: vue867.DefineComponent<TreeMenuItemProps, {}, {}, {}, {}, vue867.ComponentOptionsMixin, vue867.ComponentOptionsMixin, {}, string, vue867.PublicProps, Readonly<TreeMenuItemProps> & Readonly<{}>, {
12
+ as: AsTag | vue867.Component;
13
+ }, {}, {}, {}, string, vue867.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //#endregion
22
+ export { _default };
@@ -0,0 +1 @@
1
+ import{useControllableState as e}from"../../composables/use-controllable-state.js";import{provideTreeMenuRootContext as t,useTreeMenuThemeContext as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,watch as l}from"vue";const u=[`data-state`];var d=a({name:`TreeMenuRoot`,__name:`tree-menu-root`,props:{modelValue:{},defaultValue:{default:``},expanded:{},defaultExpanded:{default:()=>[]},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:!1}},emits:[`update:modelValue`,`update:expanded`,`update:collapsed`],setup(a,{emit:d}){let f=a,p=d,m=n(),h=r(()=>m?.value?.root),g=e(()=>f.modelValue,e=>{p(`update:modelValue`,e)},f.defaultValue),_=e(()=>f.expanded,e=>{p(`update:expanded`,e??[])},f.defaultExpanded),v=e(()=>f.collapsed,e=>{p(`update:collapsed`,e??!1)},f.defaultCollapsed),y=r(()=>v.value?`collapsed`:`expanded`),b=null;return l(v,e=>{if(e){b=[..._.value??[]],_.value=[];return}b?.length&&(_.value=[...b],b=null)}),t({modelValue:g,expanded:_,collapsed:v}),(e,t)=>(s(),i(`div`,{class:o(h.value),"data-state":y.value},[c(e.$slots,`default`)],10,u))}});export{d as default};
@@ -0,0 +1,31 @@
1
+ import { TreeMenuRootProps } from "./types.js";
2
+ import * as vue840 from "vue";
3
+
4
+ //#region src/components/tree-menu/tree-menu-root.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: vue840.DefineComponent<TreeMenuRootProps, {}, {}, {}, {}, vue840.ComponentOptionsMixin, vue840.ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ "update:expanded": (value: string[]) => any;
12
+ "update:collapsed": (value: boolean) => any;
13
+ }, string, vue840.PublicProps, Readonly<TreeMenuRootProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
16
+ "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ defaultValue: string;
19
+ defaultExpanded: string[];
20
+ collapsed: boolean;
21
+ defaultCollapsed: boolean;
22
+ }, {}, {}, {}, string, vue840.ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
30
+ //#endregion
31
+ export { _default };
@@ -0,0 +1 @@
1
+ import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuThemeContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`TreeMenuSub`,__name:`tree-menu-sub`,props:{asChild:{type:Boolean},as:{default:`ul`}},setup(i){let u=t(),d=n(()=>u?.value?.sub);return(t,n)=>(o(),r(c(e),{as:i.as,"as-child":i.asChild,class:a(d.value),role:`group`},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}});export{u as default};
@@ -0,0 +1,22 @@
1
+ import { AsTag } from "../primitive/types.js";
2
+ import "../primitive/index.js";
3
+ import { TreeMenuSubProps } from "./types.js";
4
+ import * as vue890 from "vue";
5
+
6
+ //#region src/components/tree-menu/tree-menu-sub.vue.d.ts
7
+ declare var __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_8) => any;
10
+ };
11
+ declare const __VLS_base: vue890.DefineComponent<TreeMenuSubProps, {}, {}, {}, {}, vue890.ComponentOptionsMixin, vue890.ComponentOptionsMixin, {}, string, vue890.PublicProps, Readonly<TreeMenuSubProps> & Readonly<{}>, {
12
+ as: AsTag | vue890.Component;
13
+ }, {}, {}, {}, string, vue890.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //#endregion
22
+ export { _default };