@soybeanjs/headless 0.0.12 → 0.0.14

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 (238) 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/arrow/arrow.vue.d.ts +2 -2
  14. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  15. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  16. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  17. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  18. package/dist/components/avatar/context.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/badge/context.d.ts +2 -2
  22. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  23. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  24. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  25. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  26. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  28. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  29. package/dist/components/breadcrumb/context.d.ts +2 -2
  30. package/dist/components/button/button.vue.d.ts +5 -5
  31. package/dist/components/card/card-content.vue.d.ts +2 -2
  32. package/dist/components/card/card-description.vue.d.ts +2 -2
  33. package/dist/components/card/card-footer.vue.d.ts +2 -2
  34. package/dist/components/card/card-header.vue.d.ts +2 -2
  35. package/dist/components/card/card-root.vue.d.ts +2 -2
  36. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  37. package/dist/components/card/card-title.vue.d.ts +2 -2
  38. package/dist/components/card/context.d.ts +2 -2
  39. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  40. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  41. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  42. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  43. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  44. package/dist/components/checkbox/context.d.ts +2 -2
  45. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  46. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  47. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  48. package/dist/components/collapsible/context.d.ts +2 -2
  49. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  50. package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
  51. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  52. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  53. package/dist/components/dialog/context.d.ts +2 -2
  54. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  55. package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
  56. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  57. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  58. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  59. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  60. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  61. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  62. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  63. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +6 -6
  64. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +6 -6
  65. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  66. package/dist/components/form/context.d.ts +2 -2
  67. package/dist/components/form/form-description.vue.d.ts +2 -2
  68. package/dist/components/form/form-error.vue.d.ts +2 -2
  69. package/dist/components/form/form-field.vue.d.ts +2 -2
  70. package/dist/components/form/form-label.vue.d.ts +2 -2
  71. package/dist/components/input/context.d.ts +2 -2
  72. package/dist/components/input/input-control.vue.d.ts +2 -2
  73. package/dist/components/input/input-root.vue.d.ts +4 -4
  74. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  75. package/dist/components/label/label.vue.d.ts +2 -2
  76. package/dist/components/layout/context.d.ts +2 -2
  77. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  78. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  79. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  80. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  81. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  82. package/dist/components/layout/layout-root.js +1 -1
  83. package/dist/components/layout/layout-root.vue.d.ts +5 -5
  84. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  85. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  86. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  87. package/dist/components/layout/types.d.ts +3 -5
  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 +6 -6
  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 +6 -6
  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 +5 -5
  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 +4 -4
  146. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  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 +47 -47
  153. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  154. package/dist/components/radio-group/context.d.ts +2 -2
  155. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  156. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  157. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  158. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  159. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  160. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  161. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  162. package/dist/components/select/context.d.ts +2 -2
  163. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  164. package/dist/components/select/select-content.vue.d.ts +4 -4
  165. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  166. package/dist/components/select/select-group.vue.d.ts +2 -2
  167. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  168. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  169. package/dist/components/select/select-item.vue.d.ts +4 -4
  170. package/dist/components/select/select-root.vue.d.ts +3 -3
  171. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  172. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  173. package/dist/components/select/select-separator.vue.d.ts +2 -2
  174. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  175. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  176. package/dist/components/select/select-value.vue.d.ts +3 -3
  177. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  178. package/dist/components/separator/context.d.ts +2 -2
  179. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  180. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  181. package/dist/components/slot/slot.d.ts +2 -2
  182. package/dist/components/switch/context.d.ts +2 -2
  183. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  184. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  185. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  186. package/dist/components/tabs/context.d.ts +2 -2
  187. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  188. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  189. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  190. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  191. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  192. package/dist/components/tag/tag.vue.d.ts +4 -4
  193. package/dist/components/textarea/context.d.ts +2 -2
  194. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  195. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  196. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  197. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  198. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  199. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  200. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  201. package/dist/components/toast/toast-root.vue.d.ts +5 -5
  202. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  203. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  204. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  205. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  206. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  207. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  208. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  209. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  210. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  211. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  212. package/dist/components/tree-menu/context.d.ts +2 -2
  213. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  214. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  215. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  216. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  217. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  218. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  219. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  220. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  221. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  222. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  223. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  224. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  225. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  226. package/dist/composables/use-direction.d.ts +2 -2
  227. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  228. package/dist/composables/use-exposed-element.d.ts +2 -2
  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/composables/use-locale.d.ts +2 -2
  234. package/dist/composables/use-nonce.d.ts +2 -2
  235. package/dist/composables/use-presence.d.ts +2 -2
  236. package/dist/composables/use-props.d.ts +3 -3
  237. package/dist/composables/use-selection.d.ts +4 -4
  238. package/package.json +2 -2
@@ -2,27 +2,27 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
2
2
  import "../../types/index.js";
3
3
  import { MenuContentProps } from "../menu/types.js";
4
4
  import "./types.js";
5
- import * as vue1657 from "vue";
5
+ import * as vue1205 from "vue";
6
6
 
7
7
  //#region src/components/dropdown-menu/dropdown-menu-content.vue.d.ts
8
8
  declare var __VLS_11: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_11) => any;
11
11
  };
12
- declare const __VLS_base: vue1657.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1657.ComponentOptionsMixin, vue1657.ComponentOptionsMixin, {
13
- entryFocus: (event: Event) => any;
12
+ declare const __VLS_base: vue1205.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1205.ComponentOptionsMixin, vue1205.ComponentOptionsMixin, {
14
13
  escapeKeyDown: (event: KeyboardEvent) => any;
15
14
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
16
15
  focusOutside: (event: FocusOutsideEvent) => any;
17
16
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
17
+ entryFocus: (event: Event) => any;
18
18
  openAutoFocus: (event: Event) => any;
19
19
  closeAutoFocus: (event: Event) => any;
20
- }, string, vue1657.PublicProps, Readonly<MenuContentProps> & Readonly<{
21
- onEntryFocus?: ((event: Event) => any) | undefined;
20
+ }, string, vue1205.PublicProps, Readonly<MenuContentProps> & Readonly<{
22
21
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
23
22
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
24
23
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
25
24
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
25
+ onEntryFocus?: ((event: Event) => any) | undefined;
26
26
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
27
27
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
@@ -30,7 +30,7 @@ declare const __VLS_base: vue1657.DefineComponent<MenuContentProps, {}, {}, {},
30
30
  sideFlip: boolean;
31
31
  alignFlip: boolean;
32
32
  avoidCollisions: boolean;
33
- }, {}, {}, {}, string, vue1657.ComponentProvideOptions, false, {}, any>;
33
+ }, {}, {}, {}, string, vue1205.ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { DropdownMenuRootProps, DropdownMenuTriggerType } from "./types.js";
2
- import * as vue1646 from "vue";
2
+ import * as vue1194 from "vue";
3
3
 
4
4
  //#region src/components/dropdown-menu/dropdown-menu-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -8,17 +8,17 @@ declare var __VLS_8: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue1646.DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, vue1646.ComponentOptionsMixin, vue1646.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1194.DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, vue1194.ComponentOptionsMixin, vue1194.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue1646.PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
13
+ }, string, vue1194.PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- modal: boolean;
18
- trigger: DropdownMenuTriggerType;
19
17
  delayDuration: number;
20
18
  skipDelayDuration: number;
21
- }, {}, {}, {}, string, vue1646.ComponentProvideOptions, false, {}, any>;
19
+ trigger: DropdownMenuTriggerType;
20
+ modal: boolean;
21
+ }, {}, {}, {}, string, vue1194.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -2,16 +2,16 @@ import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { MenuTriggerProps } from "../menu/types.js";
4
4
  import "./types.js";
5
- import * as vue1651 from "vue";
5
+ import * as vue1199 from "vue";
6
6
 
7
7
  //#region src/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts
8
8
  declare var __VLS_16: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_16) => any;
11
11
  };
12
- declare const __VLS_base: vue1651.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue1651.ComponentOptionsMixin, vue1651.ComponentOptionsMixin, {}, string, vue1651.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {
13
- as: AsTag | vue1651.Component;
14
- }, {}, {}, {}, string, vue1651.ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: vue1199.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue1199.ComponentOptionsMixin, vue1199.ComponentOptionsMixin, {}, string, vue1199.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {
13
+ as: AsTag | vue1199.Component;
14
+ }, {}, {}, {}, string, vue1199.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,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { FormFieldUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1619 from "vue";
4
+ import * as vue1072 from "vue";
5
5
 
6
6
  //#region src/components/form/context.d.ts
7
7
 
8
- declare const provideFormFieldUi: (ui: vue1619.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>) => vue1619.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>, useFormFieldUi: <S extends FormFieldUiSlot | undefined = undefined>(slot?: S | undefined) => S extends FormFieldUiSlot ? vue1619.ComputedRef<ClassValue> : vue1619.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>;
8
+ declare const provideFormFieldUi: (ui: vue1072.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>) => vue1072.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>, useFormFieldUi: <S extends FormFieldUiSlot | undefined = undefined>(slot?: S | undefined) => S extends FormFieldUiSlot ? vue1072.ComputedRef<ClassValue> : vue1072.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideFormFieldUi };
@@ -1,12 +1,12 @@
1
1
  import { FormDescriptionProps } from "./types.js";
2
- import * as vue1631 from "vue";
2
+ import * as vue1062 from "vue";
3
3
 
4
4
  //#region src/components/form/form-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: vue1631.DefineComponent<FormDescriptionProps, {}, {}, {}, {}, vue1631.ComponentOptionsMixin, vue1631.ComponentOptionsMixin, {}, string, vue1631.PublicProps, Readonly<FormDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1631.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1062.DefineComponent<FormDescriptionProps, {}, {}, {}, {}, vue1062.ComponentOptionsMixin, vue1062.ComponentOptionsMixin, {}, string, vue1062.PublicProps, Readonly<FormDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1062.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 { FormErrorProps } from "./types.js";
2
- import * as vue1636 from "vue";
2
+ import * as vue1067 from "vue";
3
3
 
4
4
  //#region src/components/form/form-error.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: vue1636.DefineComponent<FormErrorProps, {}, {}, {}, {}, vue1636.ComponentOptionsMixin, vue1636.ComponentOptionsMixin, {}, string, vue1636.PublicProps, Readonly<FormErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1636.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1067.DefineComponent<FormErrorProps, {}, {}, {}, {}, vue1067.ComponentOptionsMixin, vue1067.ComponentOptionsMixin, {}, string, vue1067.PublicProps, Readonly<FormErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1067.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { FormFieldProps } from "./types.js";
2
- import * as vue1609 from "vue";
2
+ import * as vue1052 from "vue";
3
3
 
4
4
  //#region src/components/form/form-field.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -10,7 +10,7 @@ declare var __VLS_1: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_1) => any;
12
12
  };
13
- declare const __VLS_base: vue1609.DefineComponent<FormFieldProps, {}, {}, {}, {}, vue1609.ComponentOptionsMixin, vue1609.ComponentOptionsMixin, {}, string, vue1609.PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1609.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue1052.DefineComponent<FormFieldProps, {}, {}, {}, {}, vue1052.ComponentOptionsMixin, vue1052.ComponentOptionsMixin, {}, string, vue1052.PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1052.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 { FormLabelProps } from "./types.js";
2
- import * as vue1614 from "vue";
2
+ import * as vue1057 from "vue";
3
3
 
4
4
  //#region src/components/form/form-label.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: vue1614.DefineComponent<FormLabelProps, {}, {}, {}, {}, vue1614.ComponentOptionsMixin, vue1614.ComponentOptionsMixin, {}, string, vue1614.PublicProps, Readonly<FormLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1614.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1057.DefineComponent<FormLabelProps, {}, {}, {}, {}, vue1057.ComponentOptionsMixin, vue1057.ComponentOptionsMixin, {}, string, vue1057.PublicProps, Readonly<FormLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1057.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,9 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { InputUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1605 from "vue";
4
+ import * as vue825 from "vue";
5
5
 
6
6
  //#region src/components/input/context.d.ts
7
- declare const provideInputUi: (ui: vue1605.ComputedRef<Partial<UiClass<InputUiSlot>>>) => vue1605.ComputedRef<Partial<UiClass<InputUiSlot>>>, useInputUi: <S extends InputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends InputUiSlot ? vue1605.ComputedRef<ClassValue> : vue1605.ComputedRef<Partial<UiClass<InputUiSlot>>>;
7
+ declare const provideInputUi: (ui: vue825.ComputedRef<Partial<UiClass<InputUiSlot>>>) => vue825.ComputedRef<Partial<UiClass<InputUiSlot>>>, useInputUi: <S extends InputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends InputUiSlot ? vue825.ComputedRef<ClassValue> : vue825.ComputedRef<Partial<UiClass<InputUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideInputUi };
@@ -1,8 +1,8 @@
1
1
  import { InputControlProps } from "./types.js";
2
- import * as vue1600 from "vue";
2
+ import * as vue820 from "vue";
3
3
 
4
4
  //#region src/components/input/input-control.vue.d.ts
5
- declare const __VLS_export: vue1600.DefineComponent<InputControlProps, {}, {}, {}, {}, vue1600.ComponentOptionsMixin, vue1600.ComponentOptionsMixin, {}, string, vue1600.PublicProps, Readonly<InputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1600.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue820.DefineComponent<InputControlProps, {}, {}, {}, {}, vue820.ComponentOptionsMixin, vue820.ComponentOptionsMixin, {}, string, vue820.PublicProps, Readonly<InputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue820.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1,5 +1,5 @@
1
1
  import { InputRootProps } from "./types.js";
2
- import * as vue1595 from "vue";
2
+ import * as vue815 from "vue";
3
3
 
4
4
  //#region src/components/input/input-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,13 +9,13 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue1595.DefineComponent<InputRootProps, {}, {}, {}, {}, vue1595.ComponentOptionsMixin, vue1595.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue815.DefineComponent<InputRootProps, {}, {}, {}, {}, vue815.ComponentOptionsMixin, vue815.ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: string) => any;
14
- }, string, vue1595.PublicProps, Readonly<InputRootProps> & Readonly<{
14
+ }, string, vue815.PublicProps, Readonly<InputRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
16
  }>, {
17
17
  modelValue: string;
18
- }, {}, {}, {}, string, vue1595.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue815.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 & {
@@ -1,12 +1,12 @@
1
1
  import { KbdProps } from "./types.js";
2
- import * as vue613 from "vue";
2
+ import * as vue447 from "vue";
3
3
 
4
4
  //#region src/components/kbd/kbd.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: vue613.DefineComponent<KbdProps, {}, {}, {}, {}, vue613.ComponentOptionsMixin, vue613.ComponentOptionsMixin, {}, string, vue613.PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, vue613.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue447.DefineComponent<KbdProps, {}, {}, {}, {}, vue447.ComponentOptionsMixin, vue447.ComponentOptionsMixin, {}, string, vue447.PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, vue447.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 { LabelProps } from "./types.js";
2
- import * as vue23 from "vue";
2
+ import * as vue28 from "vue";
3
3
 
4
4
  //#region src/components/label/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: vue23.DefineComponent<LabelProps, {}, {}, {}, {}, vue23.ComponentOptionsMixin, vue23.ComponentOptionsMixin, {}, string, vue23.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue23.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue28.DefineComponent<LabelProps, {}, {}, {}, {}, vue28.ComponentOptionsMixin, vue28.ComponentOptionsMixin, {}, string, vue28.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue28.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 { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { LayoutUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue955 from "vue";
4
+ import * as vue623 from "vue";
5
5
 
6
6
  //#region src/components/layout/context.d.ts
7
7
 
8
- declare const provideLayoutUi: (ui: vue955.ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => vue955.ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: <S extends LayoutUiSlot | undefined = undefined>(slot?: S | undefined) => S extends LayoutUiSlot ? vue955.ComputedRef<ClassValue> : vue955.ComputedRef<Partial<UiClass<LayoutUiSlot>>>;
8
+ declare const provideLayoutUi: (ui: vue623.ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => vue623.ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: <S extends LayoutUiSlot | undefined = undefined>(slot?: S | undefined) => S extends LayoutUiSlot ? vue623.ComputedRef<ClassValue> : vue623.ComputedRef<Partial<UiClass<LayoutUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideLayoutUi };
@@ -1,12 +1,12 @@
1
1
  import { LayoutFooterProps } from "./types.js";
2
- import * as vue945 from "vue";
2
+ import * as vue603 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-footer.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: vue945.DefineComponent<LayoutFooterProps, {}, {}, {}, {}, vue945.ComponentOptionsMixin, vue945.ComponentOptionsMixin, {}, string, vue945.PublicProps, Readonly<LayoutFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue945.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue603.DefineComponent<LayoutFooterProps, {}, {}, {}, {}, vue603.ComponentOptionsMixin, vue603.ComponentOptionsMixin, {}, string, vue603.PublicProps, Readonly<LayoutFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue603.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 { LayoutHeaderProps } from "./types.js";
2
- import * as vue930 from "vue";
2
+ import * as vue588 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-header.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: vue930.DefineComponent<LayoutHeaderProps, {}, {}, {}, {}, vue930.ComponentOptionsMixin, vue930.ComponentOptionsMixin, {}, string, vue930.PublicProps, Readonly<LayoutHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue930.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue588.DefineComponent<LayoutHeaderProps, {}, {}, {}, {}, vue588.ComponentOptionsMixin, vue588.ComponentOptionsMixin, {}, string, vue588.PublicProps, Readonly<LayoutHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue588.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 { LayoutMainProps } from "./types.js";
2
- import * as vue935 from "vue";
2
+ import * as vue593 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-main.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: vue935.DefineComponent<LayoutMainProps, {}, {}, {}, {}, vue935.ComponentOptionsMixin, vue935.ComponentOptionsMixin, {}, string, vue935.PublicProps, Readonly<LayoutMainProps> & Readonly<{}>, {}, {}, {}, {}, string, vue935.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue593.DefineComponent<LayoutMainProps, {}, {}, {}, {}, vue593.ComponentOptionsMixin, vue593.ComponentOptionsMixin, {}, string, vue593.PublicProps, Readonly<LayoutMainProps> & Readonly<{}>, {}, {}, {}, {}, string, vue593.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 { LayoutMobileProps } from "./types.js";
2
- import * as vue992 from "vue";
2
+ import * as vue618 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-mobile.vue.d.ts
5
5
  declare var __VLS_27: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_27) => any;
8
8
  };
9
- declare const __VLS_base: vue992.DefineComponent<LayoutMobileProps, {}, {}, {}, {}, vue992.ComponentOptionsMixin, vue992.ComponentOptionsMixin, {}, string, vue992.PublicProps, Readonly<LayoutMobileProps> & Readonly<{}>, {}, {}, {}, {}, string, vue992.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue618.DefineComponent<LayoutMobileProps, {}, {}, {}, {}, vue618.ComponentOptionsMixin, vue618.ComponentOptionsMixin, {}, string, vue618.PublicProps, Readonly<LayoutMobileProps> & Readonly<{}>, {}, {}, {}, {}, string, vue618.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 { LayoutRailProps } from "./types.js";
2
- import * as vue950 from "vue";
2
+ import * as vue608 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-rail.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: vue950.DefineComponent<LayoutRailProps, {}, {}, {}, {}, vue950.ComponentOptionsMixin, vue950.ComponentOptionsMixin, {}, string, vue950.PublicProps, Readonly<LayoutRailProps> & Readonly<{}>, {}, {}, {}, {}, string, vue950.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue608.DefineComponent<LayoutRailProps, {}, {}, {}, {}, vue608.ComponentOptionsMixin, vue608.ComponentOptionsMixin, {}, string, vue608.PublicProps, Readonly<LayoutRailProps> & Readonly<{}>, {}, {}, {}, {}, string, vue608.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{provideLayoutRootContext as n,useLayoutUi as r}from"./context.js";import{layoutCssVars as i}from"./shared.js";import{computed as a,createElementBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,shallowRef as f,unref as p}from"vue";import{useMediaQuery as m}from"@vueuse/core";const h=[`data-collapsible`,`data-side`,`data-state`,`data-variant`];var g=s({name:`LayoutRoot`,__name:`layout-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},side:{},variant:{},collapsible:{},sidebarWidth:{default:240},collapsedSidebarWidth:{default:50},mobileMediaQuery:{default:`(max-width: 768px)`},mobileSidebarWidth:{default:240},pxToRem:{type:Function,default:e=>e/16}},emits:[`update:open`],setup(s,{emit:g}){let _=s,v=g,y=r(`root`),b=t(()=>_.open,e=>{v(`update:open`,e??!1)},_.defaultOpen),x=m(()=>_.mobileMediaQuery),S=f(!1),C=a(()=>b.value?`expanded`:`collapsed`),w=a(()=>C.value===`collapsed`?_.collapsible:``),T=a(()=>{let e=_.pxToRem(_.sidebarWidth),t=_.pxToRem(_.collapsedSidebarWidth);return{[i.sidebarWidth]:`${e}rem`,[i.collapsedSidebarWidth]:`${t}rem`}}),E=a(()=>_.pxToRem(_.mobileSidebarWidth));return n({...e(_,[`sidebarWidth`,`collapsedSidebarWidth`]),open:b,isMobile:x,mobileOpen:S,mobileSidebarWidth:E,sidebarState:C}),(e,t)=>(u(),o(`div`,{class:c(p(y)),"data-collapsible":w.value,"data-side":s.side,"data-state":C.value,"data-variant":s.variant,style:l(T.value)},[d(e.$slots,`default`,{open:p(b),collapsedSidebarWidth:s.collapsedSidebarWidth})],14,h))}});export{g as default};
1
+ import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{provideLayoutRootContext as n,useLayoutUi as r}from"./context.js";import{layoutCssVars as i}from"./shared.js";import{computed as a,createElementBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,shallowRef as f,unref as p}from"vue";const m=[`data-collapsible`,`data-side`,`data-state`,`data-variant`];var h=s({name:`LayoutRoot`,__name:`layout-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},side:{},variant:{},collapsible:{},sidebarWidth:{default:240},collapsedSidebarWidth:{default:50},isMobile:{type:Boolean,default:!1},mobileSidebarWidth:{default:240},pxToRem:{type:Function,default:e=>e/16}},emits:[`update:open`],setup(s,{emit:h}){let g=s,_=h,v=r(`root`),y=t(()=>g.open,e=>{_(`update:open`,e??!1)},g.defaultOpen),b=f(!1),x=a(()=>y.value?`expanded`:`collapsed`),S=a(()=>x.value===`collapsed`?g.collapsible:``),C=a(()=>{let e=g.pxToRem(g.sidebarWidth),t=g.pxToRem(g.collapsedSidebarWidth);return{[i.sidebarWidth]:`${e}rem`,[i.collapsedSidebarWidth]:`${t}rem`}}),w=a(()=>g.pxToRem(g.mobileSidebarWidth));return n({...e(g,[`sidebarWidth`,`collapsedSidebarWidth`,`isMobile`]),open:y,mobileOpen:b,mobileSidebarWidth:w,sidebarState:x}),(e,t)=>(u(),o(`div`,{class:c(p(v)),"data-collapsible":S.value,"data-side":s.side,"data-state":x.value,"data-variant":s.variant,style:l(C.value)},[d(e.$slots,`default`,{open:p(y),collapsedSidebarWidth:s.collapsedSidebarWidth})],14,m))}});export{h as default};
@@ -1,5 +1,5 @@
1
1
  import { LayoutRootProps } from "./types.js";
2
- import * as vue920 from "vue";
2
+ import * as vue578 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,19 +9,19 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue920.DefineComponent<LayoutRootProps, {}, {}, {}, {}, vue920.ComponentOptionsMixin, vue920.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue578.DefineComponent<LayoutRootProps, {}, {}, {}, {}, vue578.ComponentOptionsMixin, vue578.ComponentOptionsMixin, {
13
13
  "update:open": (open: boolean) => any;
14
- }, string, vue920.PublicProps, Readonly<LayoutRootProps> & Readonly<{
14
+ }, string, vue578.PublicProps, Readonly<LayoutRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
18
18
  defaultOpen: boolean;
19
19
  sidebarWidth: number;
20
20
  collapsedSidebarWidth: number;
21
- mobileMediaQuery: string;
21
+ isMobile: boolean;
22
22
  mobileSidebarWidth: number;
23
23
  pxToRem: (px: number) => number;
24
- }, {}, {}, {}, string, vue920.ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, vue578.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
27
27
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { LayoutSidebarProps } from "./types.js";
2
- import * as vue925 from "vue";
2
+ import * as vue583 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-sidebar.vue.d.ts
5
5
  declare var __VLS_8: {}, __VLS_10: {};
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue925.DefineComponent<LayoutSidebarProps, {}, {}, {}, {}, vue925.ComponentOptionsMixin, vue925.ComponentOptionsMixin, {}, string, vue925.PublicProps, Readonly<LayoutSidebarProps> & Readonly<{}>, {}, {}, {}, {}, string, vue925.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue583.DefineComponent<LayoutSidebarProps, {}, {}, {}, {}, vue583.ComponentOptionsMixin, vue583.ComponentOptionsMixin, {}, string, vue583.PublicProps, Readonly<LayoutSidebarProps> & Readonly<{}>, {}, {}, {}, {}, string, vue583.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 { LayoutTabProps } from "./types.js";
2
- import * as vue940 from "vue";
2
+ import * as vue598 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-tab.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: vue940.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue940.ComponentOptionsMixin, vue940.ComponentOptionsMixin, {}, string, vue940.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue940.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue598.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue598.ComponentOptionsMixin, vue598.ComponentOptionsMixin, {}, string, vue598.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue598.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { LayoutTriggerProps } from "./types.js";
2
- import * as vue987 from "vue";
2
+ import * as vue613 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-trigger.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,7 +8,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: vue987.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue987.ComponentOptionsMixin, vue987.ComponentOptionsMixin, {}, string, vue987.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue987.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue613.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue613.ComponentOptionsMixin, vue613.ComponentOptionsMixin, {}, string, vue613.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue613.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 & {
@@ -35,13 +35,11 @@ interface LayoutRootProps extends /* @vue-ignore */HTMLAttributes {
35
35
  */
36
36
  collapsedSidebarWidth?: number;
37
37
  /**
38
- * The media query to use for the mobile view.
38
+ * Whether the layout is in mobile view.
39
39
  *
40
- * @default '(max-width: 768px)'
41
- *
42
- * @see https://vueuse.org/core/useMediaQuery/
40
+ * @default false
43
41
  */
44
- mobileMediaQuery?: string;
42
+ isMobile?: boolean;
45
43
  /**
46
44
  * The width of the sidebar in the mobile view. (px)
47
45
  *
@@ -1,7 +1,7 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import { LinkProps } from "./types.js";
3
3
  import "../primitive/index.js";
4
- import * as vue577 from "vue";
4
+ import * as vue441 from "vue";
5
5
 
6
6
  //#region src/components/link/link.vue.d.ts
7
7
  declare var __VLS_10: {
@@ -14,9 +14,9 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  default?: (props: typeof __VLS_21) => any;
16
16
  };
17
- declare const __VLS_base: vue577.DefineComponent<LinkProps, {}, {}, {}, {}, vue577.ComponentOptionsMixin, vue577.ComponentOptionsMixin, {}, string, vue577.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
17
+ declare const __VLS_base: vue441.DefineComponent<LinkProps, {}, {}, {}, {}, vue441.ComponentOptionsMixin, vue441.ComponentOptionsMixin, {}, string, vue441.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
18
18
  replace: boolean;
19
- as: AsTag | vue577.Component;
19
+ as: AsTag | vue441.Component;
20
20
  disabled: boolean;
21
21
  viewTransition: boolean;
22
22
  external: boolean;
@@ -24,7 +24,7 @@ declare const __VLS_base: vue577.DefineComponent<LinkProps, {}, {}, {}, {}, vue5
24
24
  noRel: boolean;
25
25
  prefetch: boolean;
26
26
  noPrefetch: boolean;
27
- }, {}, {}, {}, string, vue577.ComponentProvideOptions, false, {}, any>;
27
+ }, {}, {}, {}, string, vue441.ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
29
  declare const _default: typeof __VLS_export;
30
30
  type __VLS_WithSlots<T, S> = T & {
@@ -1,9 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { ListUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue680 from "vue";
4
+ import * as vue811 from "vue";
5
5
 
6
6
  //#region src/components/list/context.d.ts
7
- declare const provideListUi: (ui: vue680.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue680.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue680.ComputedRef<ClassValue> : vue680.ComputedRef<Partial<UiClass<ListUiSlot>>>;
7
+ declare const provideListUi: (ui: vue811.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue811.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue811.ComputedRef<ClassValue> : vue811.ComputedRef<Partial<UiClass<ListUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideListUi };
@@ -1,12 +1,12 @@
1
1
  import { ListContentProps } from "./types.js";
2
- import * as vue660 from "vue";
2
+ import * as vue796 from "vue";
3
3
 
4
4
  //#region src/components/list/list-content.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: vue660.DefineComponent<ListContentProps, {}, {}, {}, {}, vue660.ComponentOptionsMixin, vue660.ComponentOptionsMixin, {}, string, vue660.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue660.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue796.DefineComponent<ListContentProps, {}, {}, {}, {}, vue796.ComponentOptionsMixin, vue796.ComponentOptionsMixin, {}, string, vue796.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue796.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 { ListDescriptionProps } from "./types.js";
2
- import * as vue675 from "vue";
2
+ import * as vue806 from "vue";
3
3
 
4
4
  //#region src/components/list/list-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: vue675.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue675.ComponentOptionsMixin, vue675.ComponentOptionsMixin, {}, string, vue675.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue675.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue806.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue806.ComponentOptionsMixin, vue806.ComponentOptionsMixin, {}, string, vue806.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue806.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 { ListItemProps } from "./types.js";
2
- import * as vue684 from "vue";
2
+ import * as vue791 from "vue";
3
3
 
4
4
  //#region src/components/list/list-item.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue684.DefineComponent<ListItemProps, {}, {}, {}, {}, vue684.ComponentOptionsMixin, vue684.ComponentOptionsMixin, {}, string, vue684.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue684.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue791.DefineComponent<ListItemProps, {}, {}, {}, {}, vue791.ComponentOptionsMixin, vue791.ComponentOptionsMixin, {}, string, vue791.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue791.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 { ListRootProps } from "./types.js";
2
- import * as vue670 from "vue";
2
+ import * as vue786 from "vue";
3
3
 
4
4
  //#region src/components/list/list-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: vue670.DefineComponent<ListRootProps, {}, {}, {}, {}, vue670.ComponentOptionsMixin, vue670.ComponentOptionsMixin, {}, string, vue670.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue670.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue786.DefineComponent<ListRootProps, {}, {}, {}, {}, vue786.ComponentOptionsMixin, vue786.ComponentOptionsMixin, {}, string, vue786.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue786.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 { ListTitleProps } from "./types.js";
2
- import * as vue665 from "vue";
2
+ import * as vue801 from "vue";
3
3
 
4
4
  //#region src/components/list/list-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: vue665.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue665.ComponentOptionsMixin, vue665.ComponentOptionsMixin, {}, string, vue665.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue665.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue801.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue801.ComponentOptionsMixin, vue801.ComponentOptionsMixin, {}, string, vue801.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue801.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 & {