@soybeanjs/headless 0.2.7 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  8. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  11. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  12. package/dist/components/alert/context.d.ts +2 -2
  13. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  14. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  15. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  16. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  17. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  18. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  19. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  20. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  21. package/dist/components/avatar/context.d.ts +2 -2
  22. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  23. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  24. package/dist/components/badge/context.d.ts +2 -2
  25. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  26. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  28. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  29. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/context.d.ts +2 -2
  33. package/dist/components/button/button.vue.d.ts +5 -5
  34. package/dist/components/card/card-content.vue.d.ts +2 -2
  35. package/dist/components/card/card-description.vue.d.ts +2 -2
  36. package/dist/components/card/card-footer.vue.d.ts +2 -2
  37. package/dist/components/card/card-header.vue.d.ts +2 -2
  38. package/dist/components/card/card-root.vue.d.ts +2 -2
  39. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  40. package/dist/components/card/card-title.vue.d.ts +2 -2
  41. package/dist/components/card/context.d.ts +2 -2
  42. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  43. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  44. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  45. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  46. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  47. package/dist/components/checkbox/context.d.ts +2 -2
  48. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  49. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  50. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  51. package/dist/components/collapsible/context.d.ts +2 -2
  52. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  53. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  54. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  55. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  56. package/dist/components/dialog/context.d.ts +2 -2
  57. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  58. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  59. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  60. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  61. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  62. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  63. package/dist/components/dialog/dialog-root.vue.d.ts +5 -5
  64. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  65. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  66. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  67. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
  68. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  69. package/dist/components/form/context.d.ts +2 -2
  70. package/dist/components/form/form-description.vue.d.ts +2 -2
  71. package/dist/components/form/form-error.vue.d.ts +2 -2
  72. package/dist/components/form/form-field.vue.d.ts +2 -2
  73. package/dist/components/form/form-label.vue.d.ts +2 -2
  74. package/dist/components/input/context.d.ts +2 -2
  75. package/dist/components/input/input-control.vue.d.ts +2 -2
  76. package/dist/components/input/input-root.vue.d.ts +4 -4
  77. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  78. package/dist/components/layout/context.d.ts +2 -2
  79. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  80. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  81. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  82. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  83. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  84. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  85. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  86. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  87. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  88. package/dist/components/link/link.vue.d.ts +4 -4
  89. package/dist/components/list/context.d.ts +2 -2
  90. package/dist/components/list/list-content.vue.d.ts +2 -2
  91. package/dist/components/list/list-description.vue.d.ts +2 -2
  92. package/dist/components/list/list-item.vue.d.ts +2 -2
  93. package/dist/components/list/list-root.vue.d.ts +2 -2
  94. package/dist/components/list/list-title.vue.d.ts +2 -2
  95. package/dist/components/listbox/context.d.ts +2 -2
  96. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  97. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  98. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  99. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  100. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  101. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  102. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  103. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  104. package/dist/components/menu/context.d.ts +2 -2
  105. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  106. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  107. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  108. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  109. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  110. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  111. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  112. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  113. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  114. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  115. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  116. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  117. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  118. package/dist/components/navigation-menu/context.d.ts +2 -2
  119. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  120. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  121. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  122. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  123. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  124. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
  125. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  126. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  127. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  128. package/dist/components/number-input/context.d.ts +2 -2
  129. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  130. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  131. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  132. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  133. package/dist/components/pagination/context.d.ts +2 -2
  134. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  135. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  136. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  137. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  138. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  139. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  140. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  141. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  142. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  143. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  144. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  145. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  146. package/dist/components/popover/popover-root.vue.d.ts +5 -5
  147. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  148. package/dist/components/popper/context.d.ts +2 -2
  149. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  150. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  151. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  152. package/dist/components/popper/popper-positioner.vue.d.ts +18 -18
  153. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  154. package/dist/components/portal/portal.vue.d.ts +3 -3
  155. package/dist/components/primitive/primitive.d.ts +2 -2
  156. package/dist/components/radio-group/context.d.ts +2 -2
  157. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  158. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  159. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  160. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  161. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  162. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  163. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  164. package/dist/components/select/context.d.ts +2 -2
  165. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  166. package/dist/components/select/select-content.vue.d.ts +8 -8
  167. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  168. package/dist/components/select/select-group.vue.d.ts +2 -2
  169. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  170. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  171. package/dist/components/select/select-item.vue.d.ts +4 -4
  172. package/dist/components/select/select-root.vue.d.ts +3 -3
  173. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  174. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  175. package/dist/components/select/select-separator.vue.d.ts +2 -2
  176. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  177. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  178. package/dist/components/select/select-value.vue.d.ts +3 -3
  179. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  180. package/dist/components/separator/context.d.ts +2 -2
  181. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  182. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  183. package/dist/components/slot/slot.d.ts +2 -2
  184. package/dist/components/switch/context.d.ts +2 -2
  185. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  186. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  187. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  188. package/dist/components/tabs/context.d.ts +2 -2
  189. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  190. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  191. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  192. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  193. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  194. package/dist/components/tag/tag.vue.d.ts +4 -4
  195. package/dist/components/textarea/context.d.ts +2 -2
  196. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  197. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  198. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  199. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  200. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  201. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  202. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  203. package/dist/components/toast/toast-root.vue.d.ts +7 -7
  204. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  205. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  206. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  207. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  208. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  209. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  210. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  211. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  212. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  213. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  214. package/dist/components/tree-menu/context.d.ts +2 -2
  215. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  216. package/dist/components/tree-menu/tree-menu-collapsible.js +1 -1
  217. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  218. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  219. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  220. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  221. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  222. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  223. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  224. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  225. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  226. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  227. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  228. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  229. package/dist/composables/use-forward-element.d.ts +2 -2
  230. package/dist/composables/use-image-loading-status.d.ts +2 -2
  231. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  232. package/dist/composables/use-kbd.d.ts +2 -2
  233. package/dist/shared/index.d.ts +2 -1
  234. package/dist/shared/index.js +1 -1
  235. package/dist/shared/tree.d.ts +13 -0
  236. package/dist/shared/tree.js +1 -0
  237. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { TooltipRootProps } from "./types.js";
2
- import * as vue1168 from "vue";
2
+ import * as vue1433 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: vue1168.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue1168.ComponentOptionsMixin, vue1168.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1433.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue1433.ComponentOptionsMixin, vue1433.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue1168.PublicProps, Readonly<TooltipRootProps> & Readonly<{
13
+ }, string, vue1433.PublicProps, Readonly<TooltipRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  defaultOpen: boolean;
18
- }, {}, {}, {}, string, vue1168.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue1433.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 vue1162 from "vue";
5
+ import * as vue1533 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: vue1162.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1162.ComponentOptionsMixin, vue1162.ComponentOptionsMixin, {}, string, vue1162.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
13
- as: AsTag | vue1162.Component;
14
- }, {}, {}, {}, string, vue1162.ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: vue1533.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1533.ComponentOptionsMixin, vue1533.ComponentOptionsMixin, {}, string, vue1533.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
13
+ as: AsTag | vue1533.Component;
14
+ }, {}, {}, {}, string, vue1533.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 vue397 from "vue";
6
+ import * as vue750 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: vue397.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue397.ComponentOptionsMixin, vue397.ComponentOptionsMixin, {
18
+ declare const __VLS_base: vue750.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue750.ComponentOptionsMixin, vue750.ComponentOptionsMixin, {
19
19
  select: (event: TreeSelectEvent<string>) => any;
20
20
  toggle: (event: TreeToggleEvent<string>) => any;
21
- }, string, vue397.PublicProps, Readonly<TreeItemProps> & Readonly<{
21
+ }, string, vue750.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 | vue397.Component;
26
- }, {}, {}, {}, string, vue397.ComponentProvideOptions, false, {}, any>;
25
+ as: AsTag | vue750.Component;
26
+ }, {}, {}, {}, string, vue750.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 vue395 from "vue";
4
+ import * as vue748 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: vue395.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
8
+ props: vue748.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
- }>) => vue395.VNode & {
26
+ }>) => vue748.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 vue405 from "vue";
4
+ import * as vue758 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: vue405.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue405.ComponentOptionsMixin, vue405.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue758.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue758.ComponentOptionsMixin, vue758.ComponentOptionsMixin, {
17
17
  select: (event: TreeSelectEvent<string>) => any;
18
18
  toggle: (event: TreeToggleEvent<string>) => any;
19
- }, string, vue405.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
19
+ }, string, vue758.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
20
20
  onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
21
21
  onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
22
- }>, {}, {}, {}, {}, string, vue405.ComponentProvideOptions, false, {}, any>;
22
+ }>, {}, {}, {}, {}, string, vue758.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 vue403 from "vue";
4
+ import * as vue756 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: vue403.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
9
+ props: vue756.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
- }>) => vue403.VNode & {
26
+ }>) => vue756.VNode & {
27
27
  __ctx?: Awaited<typeof __VLS_setup>;
28
28
  };
29
29
  declare const _default: typeof __VLS_export;
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { TreeMenuUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue368 from "vue";
4
+ import * as vue655 from "vue";
5
5
 
6
6
  //#region src/components/tree-menu/context.d.ts
7
7
 
8
- declare const provideTreeMenuUi: (ui: vue368.ComputedRef<Partial<UiClass<TreeMenuUiSlot>>>) => vue368.ComputedRef<Partial<UiClass<TreeMenuUiSlot>>>, useTreeMenuUi: <S extends TreeMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends TreeMenuUiSlot ? vue368.ComputedRef<ClassValue> : vue368.ComputedRef<Partial<UiClass<TreeMenuUiSlot>>>;
8
+ declare const provideTreeMenuUi: (ui: vue655.ComputedRef<Partial<UiClass<TreeMenuUiSlot>>>) => vue655.ComputedRef<Partial<UiClass<TreeMenuUiSlot>>>, useTreeMenuUi: <S extends TreeMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends TreeMenuUiSlot ? vue655.ComputedRef<ClassValue> : vue655.ComputedRef<Partial<UiClass<TreeMenuUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideTreeMenuUi, useTreeMenuRootContext };
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { TreeMenuButtonProps } from "./types.js";
4
- import * as vue346 from "vue";
4
+ import * as vue638 from "vue";
5
5
 
6
6
  //#region src/components/tree-menu/tree-menu-button.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: vue346.DefineComponent<TreeMenuButtonProps, {}, {}, {}, {}, vue346.ComponentOptionsMixin, vue346.ComponentOptionsMixin, {}, string, vue346.PublicProps, Readonly<TreeMenuButtonProps> & Readonly<{}>, {
12
- as: AsTag | vue346.Component;
13
- }, {}, {}, {}, string, vue346.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue638.DefineComponent<TreeMenuButtonProps, {}, {}, {}, {}, vue638.ComponentOptionsMixin, vue638.ComponentOptionsMixin, {}, string, vue638.PublicProps, Readonly<TreeMenuButtonProps> & Readonly<{}>, {
12
+ as: AsTag | vue638.Component;
13
+ }, {}, {}, {}, string, vue638.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 +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,useTreeMenuUi as i}from"./context.js";import{createBlock as a,createVNode as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";var p=s({name:`TreeMenuCollapsible`,__name:`tree-menu-collapsible`,props:{disabledCollapsible:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){let{isExpanded:p,onExpandedToggle:m}=r(`TreeMenuCollapsible`),h=i(`collapsibleContent`);return(r,i)=>(l(),a(d(e),{as:s.as,open:d(p),"onUpdate:open":d(m)},{default:f(()=>[o(d(n),{"as-child":``,"disabled-collapsible":s.disabledCollapsible},{default:f(()=>[u(r.$slots,`trigger`)]),_:3},8,[`disabled-collapsible`]),u(r.$slots,`extra`),o(d(t),{class:c(d(h))},{default:f(()=>[u(r.$slots,`default`)]),_:3},8,[`class`])]),_:3},8,[`as`,`open`,`onUpdate:open`]))}});export{p as default};
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,useTreeMenuUi 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 m=c,{isExpanded:h,onExpandedToggle:g}=r(`TreeMenuCollapsible`),_=i(`collapsibleContent`),v=a(()=>!m.disabledCollapsible&&h.value);return(r,i)=>(u(),o(f(e),{as:c.as,open:v.value,"onUpdate:open":f(g)},{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(f(_))},{default:p(()=>[d(r.$slots,`default`)]),_:3},8,[`class`])]),_:3},8,[`as`,`open`,`onUpdate:open`]))}});export{m as default};
@@ -1,5 +1,5 @@
1
1
  import { TreeMenuCollapsibleProps } from "./types.js";
2
- import * as vue335 from "vue";
2
+ import * as vue644 from "vue";
3
3
 
4
4
  //#region src/components/tree-menu/tree-menu-collapsible.vue.d.ts
5
5
  declare var __VLS_16: {}, __VLS_18: {}, __VLS_26: {};
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_26) => any;
12
12
  };
13
- declare const __VLS_base: vue335.DefineComponent<TreeMenuCollapsibleProps, {}, {}, {}, {}, vue335.ComponentOptionsMixin, vue335.ComponentOptionsMixin, {}, string, vue335.PublicProps, Readonly<TreeMenuCollapsibleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue335.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue644.DefineComponent<TreeMenuCollapsibleProps, {}, {}, {}, {}, vue644.ComponentOptionsMixin, vue644.ComponentOptionsMixin, {}, string, vue644.PublicProps, Readonly<TreeMenuCollapsibleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue644.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 { TreeMenuGroupLabelProps } from "./types.js";
2
- import * as vue390 from "vue";
2
+ import * as vue611 from "vue";
3
3
 
4
4
  //#region src/components/tree-menu/tree-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: vue390.DefineComponent<TreeMenuGroupLabelProps, {}, {}, {}, {}, vue390.ComponentOptionsMixin, vue390.ComponentOptionsMixin, {}, string, vue390.PublicProps, Readonly<TreeMenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue390.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue611.DefineComponent<TreeMenuGroupLabelProps, {}, {}, {}, {}, vue611.ComponentOptionsMixin, vue611.ComponentOptionsMixin, {}, string, vue611.PublicProps, Readonly<TreeMenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue611.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 { TreeMenuGroupRootProps } from "./types.js";
2
- import * as vue358 from "vue";
2
+ import * as vue621 from "vue";
3
3
 
4
4
  //#region src/components/tree-menu/tree-menu-group-root.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: vue358.DefineComponent<TreeMenuGroupRootProps, {}, {}, {}, {}, vue358.ComponentOptionsMixin, vue358.ComponentOptionsMixin, {}, string, vue358.PublicProps, Readonly<TreeMenuGroupRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue358.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue621.DefineComponent<TreeMenuGroupRootProps, {}, {}, {}, {}, vue621.ComponentOptionsMixin, vue621.ComponentOptionsMixin, {}, string, vue621.PublicProps, Readonly<TreeMenuGroupRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue621.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 { TreeMenuGroupProps } from "./types.js";
4
- import * as vue384 from "vue";
4
+ import * as vue632 from "vue";
5
5
 
6
6
  //#region src/components/tree-menu/tree-menu-group.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: vue384.DefineComponent<TreeMenuGroupProps, {}, {}, {}, {}, vue384.ComponentOptionsMixin, vue384.ComponentOptionsMixin, {}, string, vue384.PublicProps, Readonly<TreeMenuGroupProps> & Readonly<{}>, {
12
- as: AsTag | vue384.Component;
13
- }, {}, {}, {}, string, vue384.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue632.DefineComponent<TreeMenuGroupProps, {}, {}, {}, {}, vue632.ComponentOptionsMixin, vue632.ComponentOptionsMixin, {}, string, vue632.PublicProps, Readonly<TreeMenuGroupProps> & Readonly<{}>, {
12
+ as: AsTag | vue632.Component;
13
+ }, {}, {}, {}, string, vue632.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { TreeMenuItemProps } from "./types.js";
4
- import * as vue340 from "vue";
4
+ import * as vue626 from "vue";
5
5
 
6
6
  //#region src/components/tree-menu/tree-menu-item.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: vue340.DefineComponent<TreeMenuItemProps, {}, {}, {}, {}, vue340.ComponentOptionsMixin, vue340.ComponentOptionsMixin, {}, string, vue340.PublicProps, Readonly<TreeMenuItemProps> & Readonly<{}>, {
12
- as: AsTag | vue340.Component;
13
- }, {}, {}, {}, string, vue340.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue626.DefineComponent<TreeMenuItemProps, {}, {}, {}, {}, vue626.ComponentOptionsMixin, vue626.ComponentOptionsMixin, {}, string, vue626.PublicProps, Readonly<TreeMenuItemProps> & Readonly<{}>, {
12
+ as: AsTag | vue626.Component;
13
+ }, {}, {}, {}, string, vue626.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 { TreeMenuRootProps } from "./types.js";
2
- import * as vue363 from "vue";
2
+ import * as vue616 from "vue";
3
3
 
4
4
  //#region src/components/tree-menu/tree-menu-root.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: vue363.DefineComponent<TreeMenuRootProps, {}, {}, {}, {}, vue363.ComponentOptionsMixin, vue363.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue616.DefineComponent<TreeMenuRootProps, {}, {}, {}, {}, vue616.ComponentOptionsMixin, vue616.ComponentOptionsMixin, {
10
10
  "update:modelValue": (value: string) => any;
11
11
  "update:expanded": (value: string[]) => any;
12
12
  "update:collapsed": (value: boolean) => any;
13
- }, string, vue363.PublicProps, Readonly<TreeMenuRootProps> & Readonly<{
13
+ }, string, vue616.PublicProps, Readonly<TreeMenuRootProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
15
  "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
16
16
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
@@ -19,7 +19,7 @@ declare const __VLS_base: vue363.DefineComponent<TreeMenuRootProps, {}, {}, {},
19
19
  defaultExpanded: string[];
20
20
  collapsed: boolean;
21
21
  defaultCollapsed: boolean;
22
- }, {}, {}, {}, string, vue363.ComponentProvideOptions, false, {}, any>;
22
+ }, {}, {}, {}, string, vue616.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,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { TreeMenuSubProps } from "./types.js";
4
- import * as vue352 from "vue";
4
+ import * as vue649 from "vue";
5
5
 
6
6
  //#region src/components/tree-menu/tree-menu-sub.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: vue352.DefineComponent<TreeMenuSubProps, {}, {}, {}, {}, vue352.ComponentOptionsMixin, vue352.ComponentOptionsMixin, {}, string, vue352.PublicProps, Readonly<TreeMenuSubProps> & Readonly<{}>, {
12
- as: AsTag | vue352.Component;
13
- }, {}, {}, {}, string, vue352.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue649.DefineComponent<TreeMenuSubProps, {}, {}, {}, {}, vue649.ComponentOptionsMixin, vue649.ComponentOptionsMixin, {}, string, vue649.PublicProps, Readonly<TreeMenuSubProps> & Readonly<{}>, {
12
+ as: AsTag | vue649.Component;
13
+ }, {}, {}, {}, string, vue649.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { VirtualizerContentProps } from "./types.js";
2
- import * as vue325 from "vue";
2
+ import * as vue536 from "vue";
3
3
 
4
4
  //#region src/components/virtualizer/virtualizer-content.vue.d.ts
5
5
  declare var __VLS_1: {}, __VLS_3: {};
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_3) => any;
10
10
  };
11
- declare const __VLS_base: vue325.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue325.ComponentOptionsMixin, vue325.ComponentOptionsMixin, {}, string, vue325.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue325.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue536.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue536.ComponentOptionsMixin, vue536.ComponentOptionsMixin, {}, string, vue536.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue536.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { VirtualizerItemProps } from "./types.js";
2
- import * as vue330 from "vue";
2
+ import * as vue541 from "vue";
3
3
 
4
4
  //#region src/components/virtualizer/virtualizer-item.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: vue330.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue330.ComponentOptionsMixin, vue330.ComponentOptionsMixin, {}, string, vue330.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue330.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue541.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue541.ComponentOptionsMixin, vue541.ComponentOptionsMixin, {}, string, vue541.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue541.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,10 +1,10 @@
1
1
  import { VirtualizerRootProps } from "./types.js";
2
- import * as vue323 from "vue";
2
+ import * as vue534 from "vue";
3
3
  import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
4
4
 
5
5
  //#region src/components/virtualizer/virtualizer-root.vue.d.ts
6
6
  declare const __VLS_export: <T extends Record<string, any>>(__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<{
7
- props: vue323.PublicProps & __VLS_PrettifyLocal<VirtualizerRootProps<T>> & (typeof globalThis extends {
7
+ props: vue534.PublicProps & __VLS_PrettifyLocal<VirtualizerRootProps<T>> & (typeof globalThis extends {
8
8
  __VLS_PROPS_FALLBACK: infer P;
9
9
  } ? P : {});
10
10
  expose: (exposed: {}) => void;
@@ -16,7 +16,7 @@ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNull
16
16
  }) => any;
17
17
  };
18
18
  emit: {};
19
- }>) => vue323.VNode & {
19
+ }>) => vue534.VNode & {
20
20
  __ctx?: Awaited<typeof __VLS_setup>;
21
21
  };
22
22
  declare const _default: typeof __VLS_export;
@@ -1,11 +1,11 @@
1
1
  import { VisuallyHiddenFeature, VisuallyHiddenInputProps } from "./types.js";
2
- import * as vue416 from "vue";
2
+ import * as vue780 from "vue";
3
3
 
4
4
  //#region src/components/visually-hidden/visually-hidden-input.vue.d.ts
5
- declare const __VLS_export: vue416.DefineComponent<VisuallyHiddenInputProps, {}, {}, {}, {}, vue416.ComponentOptionsMixin, vue416.ComponentOptionsMixin, {}, string, vue416.PublicProps, Readonly<VisuallyHiddenInputProps> & Readonly<{}>, {
5
+ declare const __VLS_export: vue780.DefineComponent<VisuallyHiddenInputProps, {}, {}, {}, {}, vue780.ComponentOptionsMixin, vue780.ComponentOptionsMixin, {}, string, vue780.PublicProps, Readonly<VisuallyHiddenInputProps> & Readonly<{}>, {
6
6
  checked: boolean;
7
7
  feature: VisuallyHiddenFeature;
8
- }, {}, {}, {}, string, vue416.ComponentProvideOptions, false, {}, any>;
8
+ }, {}, {}, {}, string, vue780.ComponentProvideOptions, false, {}, any>;
9
9
  declare const _default: typeof __VLS_export;
10
10
  //#endregion
11
11
  export { _default };
@@ -1,17 +1,17 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { VisuallyHiddenFeature, VisuallyHiddenProps } from "./types.js";
4
- import * as vue410 from "vue";
4
+ import * as vue774 from "vue";
5
5
 
6
6
  //#region src/components/visually-hidden/visually-hidden.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: vue410.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue410.ComponentOptionsMixin, vue410.ComponentOptionsMixin, {}, string, vue410.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
12
- as: AsTag | vue410.Component;
11
+ declare const __VLS_base: vue774.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue774.ComponentOptionsMixin, vue774.ComponentOptionsMixin, {}, string, vue774.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
12
+ as: AsTag | vue774.Component;
13
13
  feature: VisuallyHiddenFeature;
14
- }, {}, {}, {}, string, vue410.ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, vue774.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 & {
@@ -1,6 +1,6 @@
1
1
  import { VNodeRef } from "../types/vue.js";
2
2
  import "../types/index.js";
3
- import * as vue6 from "vue";
3
+ import * as vue7 from "vue";
4
4
 
5
5
  //#region src/composables/use-forward-element.d.ts
6
6
 
@@ -9,6 +9,6 @@ import * as vue6 from "vue";
9
9
  *
10
10
  * @returns An object containing the element reference and a function to set the element reference.
11
11
  */
12
- declare function useForwardElement<T extends HTMLElement = HTMLElement>(callback?: (el: T) => void): readonly [vue6.ShallowRef<T | undefined, T | undefined>, (nodeRef: VNodeRef) => void];
12
+ declare function useForwardElement<T extends HTMLElement = HTMLElement>(callback?: (el: T) => void): readonly [vue7.ShallowRef<T | undefined, T | undefined>, (nodeRef: VNodeRef) => void];
13
13
  //#endregion
14
14
  export { useForwardElement };
@@ -1,6 +1,6 @@
1
1
  import { ImageLoadingStatus } from "../types/dom.js";
2
2
  import "../types/index.js";
3
- import * as vue7 from "vue";
3
+ import * as vue6 from "vue";
4
4
  import { ImgHTMLAttributes, MaybeRefOrGetter } from "vue";
5
5
 
6
6
  //#region src/composables/use-image-loading-status.d.ts
@@ -15,6 +15,6 @@ interface ImageLoadingOptions {
15
15
  * @param options - Additional image loading options
16
16
  * @returns Reactive loading status
17
17
  */
18
- declare function useImageLoadingStatus(options: ImageLoadingOptions): vue7.ShallowRef<ImageLoadingStatus, ImageLoadingStatus>;
18
+ declare function useImageLoadingStatus(options: ImageLoadingOptions): vue6.ShallowRef<ImageLoadingStatus, ImageLoadingStatus>;
19
19
  //#endregion
20
20
  export { useImageLoadingStatus };
@@ -1,6 +1,6 @@
1
- import * as vue8 from "vue";
1
+ import * as vue9 from "vue";
2
2
 
3
3
  //#region src/composables/use-is-using-keyboard.d.ts
4
- declare function useIsUsingKeyboard(): vue8.ComputedRef<boolean>;
4
+ declare function useIsUsingKeyboard(): vue9.ComputedRef<boolean>;
5
5
  //#endregion
6
6
  export { useIsUsingKeyboard };
@@ -1,11 +1,11 @@
1
1
  import { KbdKey } from "../types/common.js";
2
2
  import "../types/index.js";
3
- import * as vue9 from "vue";
3
+ import * as vue8 from "vue";
4
4
 
5
5
  //#region src/composables/use-kbd.d.ts
6
6
  declare const kbdMap: Record<KbdKey, string>;
7
7
  declare function useKbdKey(): {
8
- macOS: vue9.ComputedRef<"" | RegExpMatchArray | null>;
8
+ macOS: vue8.ComputedRef<"" | RegExpMatchArray | null>;
9
9
  getKeyboardKey: (value?: KbdKey | (string & {})) => string | undefined;
10
10
  };
11
11
  declare const useKbd: typeof useKbdKey;
@@ -10,4 +10,5 @@ import { getElFromTemplateRef, getLifeCycleTarget, getRawChildren, isFormControl
10
10
  import { isBrowser, isClient, isIOS, refreshIOSDetection } from "./env.js";
11
11
  import { handleAndDispatchCustomEvent, isMouseEvent } from "./event.js";
12
12
  import { getExitSideFromRect, getHull, getPaddedExitPoints, getPointsFromRect, isDeltaInDirection, isPointInPolygon, isPointerInGraceArea } from "./geometry.js";
13
- export { appendAt, arrayRemove, clamp, compact, createFieldName, findValuesBetween, flattenChildren, focus, focusFirstAndSelect, getActiveElement, getAriaLabel, getAriaLabelByVNode, getAriaLabelByVNodeList, getBinaryCheckedState, getCheckedState, getCollectionItemElements, getDirectionAwareKey, getDisclosureState, getElFromTemplateRef, getExitSideFromRect, getFocusIntent, getHull, getLifeCycleTarget, getNextMatch, getOpenFromSingleOrMultiple, getPaddedExitPoints, getPointsFromRect, getRawChildren, getTabbableCandidates, getTabbableEdges, getValue, handleAndDispatchCustomEvent, insertAt, isArrayValue, isBlankString, isBrowser, isClient, isDateObject, isDeltaInDirection, isElementHasAttribute, isFormControl, isFunction, isHTMLElement, isIOS, isIndeterminate, isKey, isMouseEvent, isNonNullObject, isNullish, isObject, isObjectType, isPointInPolygon, isPointerInGraceArea, isPrimitive, isPromise, isString, isValueEqualOrExist, keysOf, moveAt, omit, parseArrayValue, parseFormValue, parseObjectValue, parsePrimitiveValue, pick, prependAt, refreshIOSDetection, removeAt, removeFromTabOrder, removeLinks, roundToStepPrecision, setValue, snapValueToStep, stringToPath, swapAt, toCamelCase, toKebabCase, toPascalCase, transformPropsToContext, tryFocusFirst, updateAt, wrapArray };
13
+ import { getTreePaths } from "./tree.js";
14
+ export { appendAt, arrayRemove, clamp, compact, createFieldName, findValuesBetween, flattenChildren, focus, focusFirstAndSelect, getActiveElement, getAriaLabel, getAriaLabelByVNode, getAriaLabelByVNodeList, getBinaryCheckedState, getCheckedState, getCollectionItemElements, getDirectionAwareKey, getDisclosureState, getElFromTemplateRef, getExitSideFromRect, getFocusIntent, getHull, getLifeCycleTarget, getNextMatch, getOpenFromSingleOrMultiple, getPaddedExitPoints, getPointsFromRect, getRawChildren, getTabbableCandidates, getTabbableEdges, getTreePaths, getValue, handleAndDispatchCustomEvent, insertAt, isArrayValue, isBlankString, isBrowser, isClient, isDateObject, isDeltaInDirection, isElementHasAttribute, isFormControl, isFunction, isHTMLElement, isIOS, isIndeterminate, isKey, isMouseEvent, isNonNullObject, isNullish, isObject, isObjectType, isPointInPolygon, isPointerInGraceArea, isPrimitive, isPromise, isString, isValueEqualOrExist, keysOf, moveAt, omit, parseArrayValue, parseFormValue, parseObjectValue, parsePrimitiveValue, pick, prependAt, refreshIOSDetection, removeAt, removeFromTabOrder, removeLinks, roundToStepPrecision, setValue, snapValueToStep, stringToPath, swapAt, toCamelCase, toKebabCase, toPascalCase, transformPropsToContext, tryFocusFirst, updateAt, wrapArray };
@@ -1 +1 @@
1
- import{isArrayValue as e,isBlankString as t,isDateObject as n,isFunction as r,isNonNullObject as i,isNullish as a,isObject as o,isObjectType as s,isPrimitive as c,isPromise as l,isString as u,keysOf as d}from"./guard.js";import{appendAt as f,arrayRemove as p,compact as m,findValuesBetween as h,flattenChildren as g,getNextMatch as _,insertAt as v,moveAt as y,omit as b,pick as x,prependAt as S,removeAt as C,swapAt as w,updateAt as T,wrapArray as E}from"./object.js";import{isKey as D,stringToPath as O,toCamelCase as k,toKebabCase as A,toPascalCase as j}from"./string.js";import{isValueEqualOrExist as M}from"./comparison.js";import{clamp as N,getBinaryCheckedState as P,getCheckedState as F,getDisclosureState as I,getOpenFromSingleOrMultiple as L,getValue as R,isIndeterminate as z,roundToStepPrecision as B,setValue as V,snapValueToStep as H}from"./value.js";import{createFieldName as U,parseArrayValue as W,parseFormValue as G,parseObjectValue as K,parsePrimitiveValue as q}from"./form.js";import{getActiveElement as J,getAriaLabel as Y,getAriaLabelByVNode as X,getAriaLabelByVNodeList as Z,getCollectionItemElements as Q,isElementHasAttribute as $,isHTMLElement as ee,removeLinks as te}from"./dom.js";import{focus as ne,focusFirstAndSelect as re,getDirectionAwareKey as ie,getFocusIntent as ae,getTabbableCandidates as oe,getTabbableEdges as se,removeFromTabOrder as ce,tryFocusFirst as le}from"./focus.js";import{getElFromTemplateRef as ue,getLifeCycleTarget as de,getRawChildren as fe,isFormControl as pe,transformPropsToContext as me}from"./vue.js";import{isBrowser as he,isClient as ge,isIOS as _e,refreshIOSDetection as ve}from"./env.js";import{handleAndDispatchCustomEvent as ye,isMouseEvent as be}from"./event.js";import{getExitSideFromRect as xe,getHull as Se,getPaddedExitPoints as Ce,getPointsFromRect as we,isDeltaInDirection as Te,isPointInPolygon as Ee,isPointerInGraceArea as De}from"./geometry.js";export{f as appendAt,p as arrayRemove,N as clamp,m as compact,U as createFieldName,h as findValuesBetween,g as flattenChildren,ne as focus,re as focusFirstAndSelect,J as getActiveElement,Y as getAriaLabel,X as getAriaLabelByVNode,Z as getAriaLabelByVNodeList,P as getBinaryCheckedState,F as getCheckedState,Q as getCollectionItemElements,ie as getDirectionAwareKey,I as getDisclosureState,ue as getElFromTemplateRef,xe as getExitSideFromRect,ae as getFocusIntent,Se as getHull,de as getLifeCycleTarget,_ as getNextMatch,L as getOpenFromSingleOrMultiple,Ce as getPaddedExitPoints,we as getPointsFromRect,fe as getRawChildren,oe as getTabbableCandidates,se as getTabbableEdges,R as getValue,ye as handleAndDispatchCustomEvent,v as insertAt,e as isArrayValue,t as isBlankString,he as isBrowser,ge as isClient,n as isDateObject,Te as isDeltaInDirection,$ as isElementHasAttribute,pe as isFormControl,r as isFunction,ee as isHTMLElement,_e as isIOS,z as isIndeterminate,D as isKey,be as isMouseEvent,i as isNonNullObject,a as isNullish,o as isObject,s as isObjectType,Ee as isPointInPolygon,De as isPointerInGraceArea,c as isPrimitive,l as isPromise,u as isString,M as isValueEqualOrExist,d as keysOf,y as moveAt,b as omit,W as parseArrayValue,G as parseFormValue,K as parseObjectValue,q as parsePrimitiveValue,x as pick,S as prependAt,ve as refreshIOSDetection,C as removeAt,ce as removeFromTabOrder,te as removeLinks,B as roundToStepPrecision,V as setValue,H as snapValueToStep,O as stringToPath,w as swapAt,k as toCamelCase,A as toKebabCase,j as toPascalCase,me as transformPropsToContext,le as tryFocusFirst,T as updateAt,E as wrapArray};
1
+ import{isArrayValue as e,isBlankString as t,isDateObject as n,isFunction as r,isNonNullObject as i,isNullish as a,isObject as o,isObjectType as s,isPrimitive as c,isPromise as l,isString as u,keysOf as d}from"./guard.js";import{appendAt as f,arrayRemove as p,compact as m,findValuesBetween as h,flattenChildren as g,getNextMatch as _,insertAt as v,moveAt as y,omit as b,pick as x,prependAt as S,removeAt as C,swapAt as w,updateAt as T,wrapArray as E}from"./object.js";import{isKey as D,stringToPath as O,toCamelCase as k,toKebabCase as A,toPascalCase as j}from"./string.js";import{isValueEqualOrExist as M}from"./comparison.js";import{clamp as N,getBinaryCheckedState as P,getCheckedState as F,getDisclosureState as I,getOpenFromSingleOrMultiple as L,getValue as R,isIndeterminate as z,roundToStepPrecision as B,setValue as V,snapValueToStep as H}from"./value.js";import{createFieldName as U,parseArrayValue as W,parseFormValue as G,parseObjectValue as K,parsePrimitiveValue as q}from"./form.js";import{getActiveElement as J,getAriaLabel as Y,getAriaLabelByVNode as X,getAriaLabelByVNodeList as Z,getCollectionItemElements as Q,isElementHasAttribute as $,isHTMLElement as ee,removeLinks as te}from"./dom.js";import{focus as ne,focusFirstAndSelect as re,getDirectionAwareKey as ie,getFocusIntent as ae,getTabbableCandidates as oe,getTabbableEdges as se,removeFromTabOrder as ce,tryFocusFirst as le}from"./focus.js";import{getElFromTemplateRef as ue,getLifeCycleTarget as de,getRawChildren as fe,isFormControl as pe,transformPropsToContext as me}from"./vue.js";import{isBrowser as he,isClient as ge,isIOS as _e,refreshIOSDetection as ve}from"./env.js";import{handleAndDispatchCustomEvent as ye,isMouseEvent as be}from"./event.js";import{getExitSideFromRect as xe,getHull as Se,getPaddedExitPoints as Ce,getPointsFromRect as we,isDeltaInDirection as Te,isPointInPolygon as Ee,isPointerInGraceArea as De}from"./geometry.js";import{getTreePaths as Oe}from"./tree.js";export{f as appendAt,p as arrayRemove,N as clamp,m as compact,U as createFieldName,h as findValuesBetween,g as flattenChildren,ne as focus,re as focusFirstAndSelect,J as getActiveElement,Y as getAriaLabel,X as getAriaLabelByVNode,Z as getAriaLabelByVNodeList,P as getBinaryCheckedState,F as getCheckedState,Q as getCollectionItemElements,ie as getDirectionAwareKey,I as getDisclosureState,ue as getElFromTemplateRef,xe as getExitSideFromRect,ae as getFocusIntent,Se as getHull,de as getLifeCycleTarget,_ as getNextMatch,L as getOpenFromSingleOrMultiple,Ce as getPaddedExitPoints,we as getPointsFromRect,fe as getRawChildren,oe as getTabbableCandidates,se as getTabbableEdges,Oe as getTreePaths,R as getValue,ye as handleAndDispatchCustomEvent,v as insertAt,e as isArrayValue,t as isBlankString,he as isBrowser,ge as isClient,n as isDateObject,Te as isDeltaInDirection,$ as isElementHasAttribute,pe as isFormControl,r as isFunction,ee as isHTMLElement,_e as isIOS,z as isIndeterminate,D as isKey,be as isMouseEvent,i as isNonNullObject,a as isNullish,o as isObject,s as isObjectType,Ee as isPointInPolygon,De as isPointerInGraceArea,c as isPrimitive,l as isPromise,u as isString,M as isValueEqualOrExist,d as keysOf,y as moveAt,b as omit,W as parseArrayValue,G as parseFormValue,K as parseObjectValue,q as parsePrimitiveValue,x as pick,S as prependAt,ve as refreshIOSDetection,C as removeAt,ce as removeFromTabOrder,te as removeLinks,B as roundToStepPrecision,V as setValue,H as snapValueToStep,O as stringToPath,w as swapAt,k as toCamelCase,A as toKebabCase,j as toPascalCase,me as transformPropsToContext,le as tryFocusFirst,T as updateAt,E as wrapArray};
@@ -0,0 +1,13 @@
1
+ import { DefinedValue } from "../types/common.js";
2
+ import "../types/index.js";
3
+
4
+ //#region src/shared/tree.d.ts
5
+ interface BaseTree<T extends DefinedValue = DefinedValue> {
6
+ value: T;
7
+ }
8
+ type Tree<T extends DefinedValue = DefinedValue, S extends BaseTree<T> = BaseTree<T>> = BaseTree<T> & {
9
+ children?: S[];
10
+ };
11
+ declare function getTreePaths<T extends DefinedValue = DefinedValue, S extends BaseTree<T> = BaseTree<T>>(targetValue: T, items: Tree<T, S>[]): T[];
12
+ //#endregion
13
+ export { getTreePaths };
@@ -0,0 +1 @@
1
+ function e(e,t){let n=[];if(!e)return n;function r(t,n){let i=[...n,t.value];if(t.value===e)return i;if(t.children&&t.children.length>0)for(let e of t.children){let t=r(e,i);if(t)return t}return null}for(let e of t){let t=r(e,[]);if(t){n.push(...t);break}}return n}export{e as getTreePaths};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soybeanjs/headless",
3
3
  "type": "module",
4
- "version": "0.2.7",
4
+ "version": "0.3.0",
5
5
  "description": "SoybeanHeadless is a collection unstyled components for Vue 3. It is designed to be lightweight and easy to use.",
6
6
  "author": {
7
7
  "name": "Soybean",