@wirekyt/vue 0.0.1 → 0.0.3

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 (291) hide show
  1. package/dist/accordion.cjs +273 -0
  2. package/dist/accordion.d.cts +195 -0
  3. package/dist/accordion.d.ts +195 -0
  4. package/dist/accordion.js +250 -0
  5. package/dist/angle-slider.cjs +268 -0
  6. package/dist/angle-slider.d.cts +228 -0
  7. package/dist/angle-slider.d.ts +228 -0
  8. package/dist/angle-slider.js +244 -0
  9. package/dist/avatar.cjs +145 -0
  10. package/dist/avatar.d.cts +114 -0
  11. package/dist/avatar.d.ts +114 -0
  12. package/dist/avatar.js +126 -0
  13. package/dist/boolean-BCaEpMxQ.js +6 -0
  14. package/dist/boolean-Dyu9-5Wp.cjs +11 -0
  15. package/dist/carousel.cjs +342 -0
  16. package/dist/carousel.d.cts +303 -0
  17. package/dist/carousel.d.ts +303 -0
  18. package/dist/carousel.js +320 -0
  19. package/dist/checkbox.cjs +345 -0
  20. package/dist/checkbox.d.cts +272 -0
  21. package/dist/checkbox.d.ts +272 -0
  22. package/dist/checkbox.js +324 -0
  23. package/dist/clean-props--1kqQE0Y.js +8 -0
  24. package/dist/clean-props-MyKqus13.cjs +13 -0
  25. package/dist/client-only.cjs +17 -0
  26. package/dist/client-only.d.cts +18 -0
  27. package/dist/client-only.d.ts +18 -0
  28. package/dist/client-only.js +16 -0
  29. package/dist/clipboard.cjs +229 -0
  30. package/dist/clipboard.d.cts +203 -0
  31. package/dist/clipboard.d.ts +203 -0
  32. package/dist/clipboard.js +206 -0
  33. package/dist/collapsible-BnUr4dTo.cjs +232 -0
  34. package/dist/collapsible-jvqnRz16.js +179 -0
  35. package/dist/collapsible.cjs +23 -0
  36. package/dist/collapsible.d.cts +161 -0
  37. package/dist/collapsible.d.ts +161 -0
  38. package/dist/collapsible.js +2 -0
  39. package/dist/collection-B0onOyyK.cjs +254 -0
  40. package/dist/collection-Dg6EtML_.js +211 -0
  41. package/dist/collection.cjs +9 -0
  42. package/dist/collection.d.cts +2 -0
  43. package/dist/collection.d.ts +2 -0
  44. package/dist/collection.js +2 -0
  45. package/dist/color-picker.cjs +804 -0
  46. package/dist/color-picker.d.cts +605 -0
  47. package/dist/color-picker.d.ts +605 -0
  48. package/dist/color-picker.js +759 -0
  49. package/dist/combobox.cjs +552 -0
  50. package/dist/combobox.d.cts +442 -0
  51. package/dist/combobox.d.ts +442 -0
  52. package/dist/combobox.js +521 -0
  53. package/dist/create-split-props-BBxrD7TV.js +10 -0
  54. package/dist/create-split-props-Jx-IEwdk.cjs +15 -0
  55. package/dist/date-input.cjs +293 -0
  56. package/dist/date-input.d.cts +212 -0
  57. package/dist/date-input.d.ts +212 -0
  58. package/dist/date-input.js +270 -0
  59. package/dist/date-picker.cjs +821 -0
  60. package/dist/date-picker.d.cts +637 -0
  61. package/dist/date-picker.d.ts +637 -0
  62. package/dist/date-picker.js +776 -0
  63. package/dist/dialog.cjs +333 -0
  64. package/dist/dialog.d.cts +272 -0
  65. package/dist/dialog.d.ts +272 -0
  66. package/dist/dialog.js +308 -0
  67. package/dist/download-trigger.cjs +65 -0
  68. package/dist/download-trigger.d.cts +34 -0
  69. package/dist/download-trigger.d.ts +34 -0
  70. package/dist/download-trigger.js +63 -0
  71. package/dist/drawer.cjs +448 -0
  72. package/dist/drawer.d.cts +346 -0
  73. package/dist/drawer.d.ts +346 -0
  74. package/dist/drawer.js +415 -0
  75. package/dist/editable.cjs +331 -0
  76. package/dist/editable.d.cts +285 -0
  77. package/dist/editable.d.ts +285 -0
  78. package/dist/editable.js +306 -0
  79. package/dist/factory-8Ao0DEy3.js +34 -0
  80. package/dist/factory-BNwuanv4.d.cts +21 -0
  81. package/dist/factory-BNwuanv4.d.ts +21 -0
  82. package/dist/factory-JL7MPjkk.cjs +45 -0
  83. package/dist/field-C3pLqz1S.js +435 -0
  84. package/dist/field-DRz-v4rB.cjs +524 -0
  85. package/dist/field.cjs +22 -0
  86. package/dist/field.d.cts +344 -0
  87. package/dist/field.d.ts +344 -0
  88. package/dist/field.js +2 -0
  89. package/dist/fieldset-ByP_r1Uq.js +216 -0
  90. package/dist/fieldset-C5aj6Ims.cjs +275 -0
  91. package/dist/fieldset.cjs +17 -0
  92. package/dist/fieldset.d.cts +159 -0
  93. package/dist/fieldset.d.ts +159 -0
  94. package/dist/fieldset.js +2 -0
  95. package/dist/file-upload.cjs +421 -0
  96. package/dist/file-upload.d.cts +327 -0
  97. package/dist/file-upload.d.ts +327 -0
  98. package/dist/file-upload.js +392 -0
  99. package/dist/floating-panel.cjs +412 -0
  100. package/dist/floating-panel.d.cts +337 -0
  101. package/dist/floating-panel.d.ts +337 -0
  102. package/dist/floating-panel.js +383 -0
  103. package/dist/focus-trap.cjs +79 -0
  104. package/dist/focus-trap.d.cts +46 -0
  105. package/dist/focus-trap.d.ts +46 -0
  106. package/dist/focus-trap.js +78 -0
  107. package/dist/format.cjs +116 -0
  108. package/dist/format.d.cts +46 -0
  109. package/dist/format.d.ts +46 -0
  110. package/dist/format.js +106 -0
  111. package/dist/frame.cjs +93 -0
  112. package/dist/frame.d.cts +37 -0
  113. package/dist/frame.d.ts +37 -0
  114. package/dist/frame.js +92 -0
  115. package/dist/highlight.cjs +44 -0
  116. package/dist/highlight.d.cts +32 -0
  117. package/dist/highlight.d.ts +32 -0
  118. package/dist/highlight.js +42 -0
  119. package/dist/hover-card.cjs +269 -0
  120. package/dist/hover-card.d.cts +202 -0
  121. package/dist/hover-card.d.ts +202 -0
  122. package/dist/hover-card.js +246 -0
  123. package/dist/image-cropper.cjs +252 -0
  124. package/dist/image-cropper.d.cts +207 -0
  125. package/dist/image-cropper.d.ts +207 -0
  126. package/dist/image-cropper.js +235 -0
  127. package/dist/index-B-o8jLyV.d.cts +31 -0
  128. package/dist/index-BSoF1D-v.d.ts +31 -0
  129. package/dist/index-BTNfeIXf.d.ts +104 -0
  130. package/dist/index-C8zR9eg3.d.ts +444 -0
  131. package/dist/index-Cc4qS0rQ.d.cts +38 -0
  132. package/dist/index-Cc4qS0rQ.d.ts +38 -0
  133. package/dist/index-DaLvr6SW.d.ts +37 -0
  134. package/dist/index-Di84rFjS.d.cts +444 -0
  135. package/dist/index-Dpm1wGVS.d.cts +74 -0
  136. package/dist/index-Zc9P69Ka.d.cts +104 -0
  137. package/dist/index-kCBQJqpU.d.ts +74 -0
  138. package/dist/index-vIbTjrJ-.d.cts +37 -0
  139. package/dist/index.cjs +43 -0
  140. package/dist/index.d.cts +5 -0
  141. package/dist/index.d.ts +5 -0
  142. package/dist/index.js +7 -0
  143. package/dist/json-tree-view.cjs +346 -0
  144. package/dist/json-tree-view.d.cts +86 -0
  145. package/dist/json-tree-view.d.ts +86 -0
  146. package/dist/json-tree-view.js +336 -0
  147. package/dist/listbox.cjs +386 -0
  148. package/dist/listbox.d.cts +323 -0
  149. package/dist/listbox.d.ts +323 -0
  150. package/dist/listbox.js +361 -0
  151. package/dist/marquee.cjs +256 -0
  152. package/dist/marquee.d.cts +208 -0
  153. package/dist/marquee.d.ts +208 -0
  154. package/dist/marquee.js +235 -0
  155. package/dist/menu.cjs +650 -0
  156. package/dist/menu.d.cts +501 -0
  157. package/dist/menu.d.ts +501 -0
  158. package/dist/menu.js +613 -0
  159. package/dist/navigation-menu.cjs +408 -0
  160. package/dist/navigation-menu.d.cts +271 -0
  161. package/dist/navigation-menu.d.ts +271 -0
  162. package/dist/navigation-menu.js +380 -0
  163. package/dist/number-input.cjs +298 -0
  164. package/dist/number-input.d.cts +253 -0
  165. package/dist/number-input.d.ts +253 -0
  166. package/dist/number-input.js +274 -0
  167. package/dist/pagination.cjs +249 -0
  168. package/dist/pagination.d.cts +209 -0
  169. package/dist/pagination.d.ts +209 -0
  170. package/dist/pagination.js +226 -0
  171. package/dist/password-input.cjs +232 -0
  172. package/dist/password-input.d.cts +208 -0
  173. package/dist/password-input.d.ts +208 -0
  174. package/dist/password-input.js +210 -0
  175. package/dist/pin-input.cjs +245 -0
  176. package/dist/pin-input.d.cts +199 -0
  177. package/dist/pin-input.d.ts +199 -0
  178. package/dist/pin-input.js +224 -0
  179. package/dist/popover.cjs +377 -0
  180. package/dist/popover.d.cts +324 -0
  181. package/dist/popover.d.ts +324 -0
  182. package/dist/popover.js +349 -0
  183. package/dist/presence-DD3l4Tgb.cjs +60 -0
  184. package/dist/presence-jaHZaD_O.js +43 -0
  185. package/dist/presence.cjs +7 -0
  186. package/dist/presence.d.cts +3 -0
  187. package/dist/presence.d.ts +3 -0
  188. package/dist/presence.js +3 -0
  189. package/dist/progress.cjs +270 -0
  190. package/dist/progress.d.cts +229 -0
  191. package/dist/progress.d.ts +229 -0
  192. package/dist/progress.js +245 -0
  193. package/dist/providers-5QhcwgSd.cjs +190 -0
  194. package/dist/providers-C3XQH-uu.js +119 -0
  195. package/dist/qr-code.cjs +195 -0
  196. package/dist/qr-code.d.cts +157 -0
  197. package/dist/qr-code.d.ts +157 -0
  198. package/dist/qr-code.js +174 -0
  199. package/dist/radio-group.cjs +274 -0
  200. package/dist/radio-group.d.cts +230 -0
  201. package/dist/radio-group.d.ts +230 -0
  202. package/dist/radio-group.js +249 -0
  203. package/dist/rating-group.cjs +243 -0
  204. package/dist/rating-group.d.cts +200 -0
  205. package/dist/rating-group.d.ts +200 -0
  206. package/dist/rating-group.js +220 -0
  207. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  208. package/dist/rolldown-runtime-DakpK96I.cjs +43 -0
  209. package/dist/scroll-area.cjs +206 -0
  210. package/dist/scroll-area.d.cts +169 -0
  211. package/dist/scroll-area.d.ts +169 -0
  212. package/dist/scroll-area.js +184 -0
  213. package/dist/segment-group.cjs +318 -0
  214. package/dist/segment-group.d.cts +229 -0
  215. package/dist/segment-group.d.ts +229 -0
  216. package/dist/segment-group.js +298 -0
  217. package/dist/select.cjs +560 -0
  218. package/dist/select.d.cts +430 -0
  219. package/dist/select.d.ts +430 -0
  220. package/dist/select.js +523 -0
  221. package/dist/signature-pad.cjs +260 -0
  222. package/dist/signature-pad.d.cts +200 -0
  223. package/dist/signature-pad.d.ts +200 -0
  224. package/dist/signature-pad.js +237 -0
  225. package/dist/slider.cjs +350 -0
  226. package/dist/slider.d.cts +299 -0
  227. package/dist/slider.d.ts +299 -0
  228. package/dist/slider.js +323 -0
  229. package/dist/splitter.cjs +225 -0
  230. package/dist/splitter.d.cts +166 -0
  231. package/dist/splitter.d.ts +166 -0
  232. package/dist/splitter.js +198 -0
  233. package/dist/steps.cjs +348 -0
  234. package/dist/steps.d.cts +289 -0
  235. package/dist/steps.d.ts +289 -0
  236. package/dist/steps.js +319 -0
  237. package/dist/swap.cjs +154 -0
  238. package/dist/swap.d.cts +98 -0
  239. package/dist/swap.d.ts +98 -0
  240. package/dist/swap.js +141 -0
  241. package/dist/switch.cjs +213 -0
  242. package/dist/switch.d.cts +177 -0
  243. package/dist/switch.d.ts +177 -0
  244. package/dist/switch.js +192 -0
  245. package/dist/tabs.cjs +240 -0
  246. package/dist/tabs.d.cts +179 -0
  247. package/dist/tabs.d.ts +179 -0
  248. package/dist/tabs.js +218 -0
  249. package/dist/tags-input.cjs +405 -0
  250. package/dist/tags-input.d.cts +340 -0
  251. package/dist/tags-input.d.ts +340 -0
  252. package/dist/tags-input.js +376 -0
  253. package/dist/timer.cjs +221 -0
  254. package/dist/timer.d.cts +176 -0
  255. package/dist/timer.d.ts +176 -0
  256. package/dist/timer.js +199 -0
  257. package/dist/toast.cjs +211 -0
  258. package/dist/toast.d.cts +157 -0
  259. package/dist/toast.d.ts +157 -0
  260. package/dist/toast.js +189 -0
  261. package/dist/toggle-group.cjs +150 -0
  262. package/dist/toggle-group.d.cts +122 -0
  263. package/dist/toggle-group.d.ts +122 -0
  264. package/dist/toggle-group.js +132 -0
  265. package/dist/toggle.cjs +107 -0
  266. package/dist/toggle.d.cts +98 -0
  267. package/dist/toggle.d.ts +98 -0
  268. package/dist/toggle.js +94 -0
  269. package/dist/tooltip.cjs +265 -0
  270. package/dist/tooltip.d.cts +204 -0
  271. package/dist/tooltip.d.ts +204 -0
  272. package/dist/tooltip.js +242 -0
  273. package/dist/tour.cjs +418 -0
  274. package/dist/tour.d.cts +304 -0
  275. package/dist/tour.d.ts +304 -0
  276. package/dist/tour.js +374 -0
  277. package/dist/tree-view-DnTVwhew.cjs +651 -0
  278. package/dist/tree-view-goUH3_RC.js +508 -0
  279. package/dist/tree-view.cjs +41 -0
  280. package/dist/tree-view.d.cts +3 -0
  281. package/dist/tree-view.d.ts +3 -0
  282. package/dist/tree-view.js +3 -0
  283. package/dist/types-rSRkzyd6.d.cts +13 -0
  284. package/dist/types-rSRkzyd6.d.ts +13 -0
  285. package/dist/use-presence-BSp_dR-C.d.cts +22 -0
  286. package/dist/use-presence-CtEY6ZT8.cjs +49 -0
  287. package/dist/use-presence-DkGU_j9h.d.ts +22 -0
  288. package/dist/use-presence-oNdFU2c2.js +42 -0
  289. package/dist/utils-D95V66v9.js +548 -0
  290. package/dist/utils-XrBZd2Yk.cjs +625 -0
  291. package/package.json +277 -6
@@ -0,0 +1,408 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
3
+ const require_utils = require("./utils-XrBZd2Yk.cjs");
4
+ const require_providers = require("./providers-5QhcwgSd.cjs");
5
+ const require_clean_props = require("./clean-props-MyKqus13.cjs");
6
+ const require_factory = require("./factory-JL7MPjkk.cjs");
7
+ require("./presence-DD3l4Tgb.cjs");
8
+ const require_use_presence = require("./use-presence-CtEY6ZT8.cjs");
9
+ let vue = require("vue");
10
+ let _wirekyt_dom_utils = require("@wirekyt/dom/utils");
11
+ let _wirekyt_dom_machines_navigation_menu = require("@wirekyt/dom/machines/navigation-menu");
12
+ _wirekyt_dom_machines_navigation_menu = require_rolldown_runtime.__toESM(_wirekyt_dom_machines_navigation_menu, 1);
13
+ let _wirekyt_dom = require("@wirekyt/dom");
14
+ //#region src/components/navigation-menu/use-context.ts
15
+ const [NavigationMenuProvider, useNavigationMenuContext] = require_utils.createContext("NavigationMenuContext");
16
+ //#endregion
17
+ //#region src/components/navigation-menu/arrow.vue
18
+ const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
19
+ __name: "arrow",
20
+ props: { asChild: { type: Boolean } },
21
+ setup(__props) {
22
+ const navigationMenu = useNavigationMenuContext();
23
+ require_utils.useForwardExpose();
24
+ return (_ctx, _cache) => {
25
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)((0, vue.unref)(navigationMenu).getArrowProps(), { "as-child": __props.asChild }), {
26
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
27
+ _: 3
28
+ }, 16, ["as-child"]);
29
+ };
30
+ }
31
+ });
32
+ //#endregion
33
+ //#region src/components/navigation-menu/use-item-props-context.ts
34
+ const [NavigationMenuItemPropsProvider, useNavigationMenuItemPropsContext] = require_utils.createContext("NavigationMenuItemPropsContext");
35
+ //#endregion
36
+ //#region src/components/navigation-menu/content.vue
37
+ const _sfc_main$1 = /*@__PURE__*/ (0, vue.defineComponent)({
38
+ __name: "content",
39
+ props: {
40
+ value: {},
41
+ asChild: { type: Boolean }
42
+ },
43
+ setup(__props) {
44
+ const props = __props;
45
+ const attrs = (0, vue.useAttrs)();
46
+ const api = useNavigationMenuContext();
47
+ const itemContext = useNavigationMenuItemPropsContext();
48
+ const renderStrategy = require_utils.useRenderStrategyProps();
49
+ const value = (0, vue.computed)(() => props.value ?? itemContext?.value.value);
50
+ const contentProps = (0, vue.computed)(() => ({
51
+ ...props,
52
+ value: value.value
53
+ }));
54
+ const presence = require_use_presence.usePresence((0, vue.computed)(() => ({
55
+ ...renderStrategy.value,
56
+ present: api.value.value === value.value
57
+ })));
58
+ const mergedProps = (0, vue.computed)(() => (0, _wirekyt_dom.mergeProps)({ ...attrs }, api.value.getContentProps(contentProps.value), presence.value.presenceProps));
59
+ const viewportNode = (0, vue.computed)(() => api.value.getViewportNode());
60
+ const isViewportRendered = (0, vue.computed)(() => api.value.isViewportRendered);
61
+ require_utils.useForwardExpose();
62
+ return (_ctx, _cache) => {
63
+ return isViewportRendered.value && viewportNode.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [
64
+ (0, vue.createElementVNode)("div", (0, vue.normalizeProps)((0, vue.guardReactiveProps)((0, vue.unref)(api).getViewportProxyProps(contentProps.value))), null, 16),
65
+ (0, vue.createElementVNode)("div", (0, vue.normalizeProps)((0, vue.guardReactiveProps)((0, vue.unref)(api).getTriggerProxyProps(contentProps.value))), null, 16),
66
+ ((0, vue.openBlock)(), (0, vue.createBlock)(vue.Teleport, { to: viewportNode.value }, [!(0, vue.unref)(presence).unmounted ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
67
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
68
+ _: 3
69
+ }, 16, ["as-child"])) : (0, vue.createCommentVNode)("v-if", true)], 8, ["to"]))
70
+ ], 64)) : !(0, vue.unref)(presence).unmounted ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)({ key: 1 }, mergedProps.value, { "as-child": __props.asChild }), {
71
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
72
+ _: 3
73
+ }, 16, ["as-child"])) : (0, vue.createCommentVNode)("v-if", true);
74
+ };
75
+ }
76
+ });
77
+ //#endregion
78
+ //#region src/components/navigation-menu/context.vue
79
+ const _sfc_main$2 = /*@__PURE__*/ (0, vue.defineComponent)({
80
+ __name: "context",
81
+ setup(__props) {
82
+ const navigationMenu = useNavigationMenuContext();
83
+ return (_ctx, _cache) => {
84
+ return (0, vue.renderSlot)(_ctx.$slots, "default", (0, vue.normalizeProps)((0, vue.guardReactiveProps)((0, vue.unref)(navigationMenu))));
85
+ };
86
+ }
87
+ });
88
+ //#endregion
89
+ //#region src/components/navigation-menu/indicator.vue
90
+ const _sfc_main$3 = /*@__PURE__*/ (0, vue.defineComponent)({
91
+ __name: "indicator",
92
+ props: { asChild: { type: Boolean } },
93
+ setup(__props) {
94
+ const navigationMenu = useNavigationMenuContext();
95
+ const renderStrategy = require_utils.useRenderStrategyProps();
96
+ const presence = require_use_presence.usePresence((0, vue.computed)(() => ({
97
+ ...renderStrategy.value,
98
+ present: navigationMenu.value.open
99
+ })));
100
+ const mergedProps = (0, vue.computed)(() => (0, _wirekyt_dom.mergeProps)(navigationMenu.value.getIndicatorProps(), presence.value.presenceProps));
101
+ require_utils.useForwardExpose();
102
+ return (_ctx, _cache) => {
103
+ return !(0, vue.unref)(presence).unmounted ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
104
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
105
+ _: 3
106
+ }, 16, ["as-child"])) : (0, vue.createCommentVNode)("v-if", true);
107
+ };
108
+ }
109
+ });
110
+ //#endregion
111
+ //#region src/components/navigation-menu/item.vue
112
+ const _sfc_main$4 = /*@__PURE__*/ (0, vue.defineComponent)({
113
+ __name: "item",
114
+ props: {
115
+ value: {},
116
+ disabled: { type: Boolean },
117
+ asChild: { type: Boolean }
118
+ },
119
+ setup(__props) {
120
+ const props = __props;
121
+ const navigationMenu = useNavigationMenuContext();
122
+ NavigationMenuItemPropsProvider((0, vue.computed)(() => ({
123
+ value: props.value,
124
+ disabled: props.disabled
125
+ })));
126
+ require_utils.useForwardExpose();
127
+ return (_ctx, _cache) => {
128
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)((0, vue.unref)(navigationMenu).getItemProps(props), { "as-child": __props.asChild }), {
129
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
130
+ _: 3
131
+ }, 16, ["as-child"]);
132
+ };
133
+ }
134
+ });
135
+ //#endregion
136
+ //#region src/components/navigation-menu/item-indicator.vue
137
+ const _sfc_main$5 = /*@__PURE__*/ (0, vue.defineComponent)({
138
+ __name: "item-indicator",
139
+ props: { asChild: { type: Boolean } },
140
+ setup(__props) {
141
+ const attrs = (0, vue.useAttrs)();
142
+ const api = useNavigationMenuContext();
143
+ const itemProps = useNavigationMenuItemPropsContext();
144
+ const mergedProps = (0, vue.computed)(() => (0, _wirekyt_dom.mergeProps)({ ...attrs }, api.value.getItemIndicatorProps(itemProps?.value)));
145
+ require_utils.useForwardExpose();
146
+ return (_ctx, _cache) => {
147
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)(mergedProps.value, { "as-child": __props.asChild }), {
148
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
149
+ _: 3
150
+ }, 16, ["as-child"]);
151
+ };
152
+ }
153
+ });
154
+ //#endregion
155
+ //#region src/components/navigation-menu/link.vue
156
+ const _sfc_main$6 = /*@__PURE__*/ (0, vue.defineComponent)({
157
+ __name: "link",
158
+ props: {
159
+ value: {},
160
+ current: { type: Boolean },
161
+ onSelect: { type: Function },
162
+ closeOnClick: { type: Boolean },
163
+ asChild: { type: Boolean }
164
+ },
165
+ setup(__props) {
166
+ const props = __props;
167
+ const navigationMenu = useNavigationMenuContext();
168
+ const itemContext = useNavigationMenuItemPropsContext();
169
+ const value = (0, vue.computed)(() => props.value ?? itemContext?.value?.value);
170
+ const linkProps = (0, vue.computed)(() => ({
171
+ ...props,
172
+ value: value.value
173
+ }));
174
+ require_utils.useForwardExpose();
175
+ return (_ctx, _cache) => {
176
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).a, (0, vue.mergeProps)((0, vue.unref)(navigationMenu).getLinkProps(linkProps.value), { "as-child": __props.asChild }), {
177
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
178
+ _: 3
179
+ }, 16, ["as-child"]);
180
+ };
181
+ }
182
+ });
183
+ //#endregion
184
+ //#region src/components/navigation-menu/list.vue
185
+ const _sfc_main$7 = /*@__PURE__*/ (0, vue.defineComponent)({
186
+ __name: "list",
187
+ props: { asChild: { type: Boolean } },
188
+ setup(__props) {
189
+ const navigationMenu = useNavigationMenuContext();
190
+ require_utils.useForwardExpose();
191
+ return (_ctx, _cache) => {
192
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)((0, vue.unref)(navigationMenu).getListProps(), { "as-child": __props.asChild }), {
193
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
194
+ _: 3
195
+ }, 16, ["as-child"]);
196
+ };
197
+ }
198
+ });
199
+ //#endregion
200
+ //#region src/components/navigation-menu/use-navigation-menu.ts
201
+ const useNavigationMenu = (props = {}, emit) => {
202
+ const id = (0, vue.useId)();
203
+ const env = require_providers.useEnvironmentContext(require_providers.DEFAULT_ENVIRONMENT);
204
+ const locale = require_providers.useLocaleContext(require_providers.DEFAULT_LOCALE);
205
+ const context = (0, vue.computed)(() => {
206
+ const localProps = (0, vue.toValue)(props);
207
+ return {
208
+ id,
209
+ dir: locale.value.dir,
210
+ getRootNode: env?.value.getRootNode,
211
+ ...require_clean_props.cleanProps(localProps),
212
+ onValueChange: (details) => {
213
+ emit?.("valueChange", details);
214
+ emit?.("update:value", details.value);
215
+ localProps.onValueChange?.(details);
216
+ }
217
+ };
218
+ });
219
+ const service = require_utils.useMachine(_wirekyt_dom_machines_navigation_menu.machine, context);
220
+ return (0, vue.computed)(() => _wirekyt_dom_machines_navigation_menu.connect(service, require_utils.normalizeProps));
221
+ };
222
+ //#endregion
223
+ //#region src/components/navigation-menu/root.vue
224
+ const _sfc_main$8 = /*@__PURE__*/ (0, vue.defineComponent)({
225
+ __name: "root",
226
+ props: /*@__PURE__*/ (0, vue.mergeDefaults)({
227
+ closeDelay: {},
228
+ defaultValue: {},
229
+ disableClickTrigger: { type: Boolean },
230
+ disableHoverTrigger: { type: Boolean },
231
+ disablePointerLeaveClose: { type: Boolean },
232
+ id: {},
233
+ ids: {},
234
+ openDelay: {},
235
+ orientation: {},
236
+ translations: {},
237
+ value: {},
238
+ lazyMount: { type: Boolean },
239
+ unmountOnExit: { type: Boolean }
240
+ }, {
241
+ disableClickTrigger: void 0,
242
+ disableHoverTrigger: void 0,
243
+ disablePointerLeaveClose: void 0
244
+ }),
245
+ emits: ["valueChange", "update:value"],
246
+ setup(__props, { emit: __emit }) {
247
+ const props = __props;
248
+ const navigationMenu = useNavigationMenu(props, __emit);
249
+ NavigationMenuProvider(navigationMenu);
250
+ require_utils.RenderStrategyPropsProvider((0, vue.computed)(() => ({
251
+ lazyMount: props.lazyMount,
252
+ unmountOnExit: props.unmountOnExit
253
+ })));
254
+ require_utils.useForwardExpose();
255
+ return (_ctx, _cache) => {
256
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).nav, (0, vue.normalizeProps)((0, vue.guardReactiveProps)((0, vue.unref)(navigationMenu).getRootProps())), {
257
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
258
+ _: 3
259
+ }, 16);
260
+ };
261
+ }
262
+ });
263
+ //#endregion
264
+ //#region src/components/navigation-menu/root-provider.vue
265
+ const _sfc_main$9 = /*@__PURE__*/ (0, vue.defineComponent)({
266
+ __name: "root-provider",
267
+ props: {
268
+ value: {},
269
+ lazyMount: { type: Boolean },
270
+ unmountOnExit: { type: Boolean }
271
+ },
272
+ setup(__props) {
273
+ const props = __props;
274
+ const navigationMenu = (0, vue.computed)(() => props.value);
275
+ NavigationMenuProvider(navigationMenu);
276
+ require_utils.RenderStrategyPropsProvider((0, vue.computed)(() => ({
277
+ lazyMount: props.lazyMount,
278
+ unmountOnExit: props.unmountOnExit
279
+ })));
280
+ require_utils.useForwardExpose();
281
+ return (_ctx, _cache) => {
282
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).nav, (0, vue.normalizeProps)((0, vue.guardReactiveProps)(navigationMenu.value.getRootProps())), {
283
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
284
+ _: 3
285
+ }, 16);
286
+ };
287
+ }
288
+ });
289
+ //#endregion
290
+ //#region src/components/navigation-menu/trigger.vue
291
+ const _sfc_main$10 = /*@__PURE__*/ (0, vue.defineComponent)({
292
+ __name: "trigger",
293
+ props: {
294
+ disabled: { type: Boolean },
295
+ asChild: { type: Boolean }
296
+ },
297
+ setup(__props) {
298
+ const props = __props;
299
+ const navigationMenu = useNavigationMenuContext();
300
+ const itemContext = useNavigationMenuItemPropsContext();
301
+ (0, _wirekyt_dom_utils.ensure)(itemContext?.value, () => "NavigationMenu.Trigger must be used within NavigationMenu.Item");
302
+ const triggerProps = (0, vue.computed)(() => ({
303
+ ...props,
304
+ value: itemContext?.value.value,
305
+ disabled: props.disabled ?? itemContext?.value.disabled
306
+ }));
307
+ require_utils.useForwardExpose();
308
+ return (_ctx, _cache) => {
309
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).button, (0, vue.mergeProps)((0, vue.unref)(navigationMenu).getTriggerProps(triggerProps.value), { "as-child": __props.asChild }), {
310
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
311
+ _: 3
312
+ }, 16, ["as-child"]);
313
+ };
314
+ }
315
+ });
316
+ //#endregion
317
+ //#region src/components/navigation-menu/use-viewport-props-context.ts
318
+ const [setNavigationMenuViewportPropsContext, getNavigationMenuViewportPropsContext] = require_utils.createContext("NavigationMenuViewportPropsContext");
319
+ //#endregion
320
+ //#region src/components/navigation-menu/viewport.vue
321
+ const _sfc_main$11 = /*@__PURE__*/ (0, vue.defineComponent)({
322
+ __name: "viewport",
323
+ props: { asChild: { type: Boolean } },
324
+ setup(__props) {
325
+ const viewportPropsContext = getNavigationMenuViewportPropsContext();
326
+ const navigationMenu = useNavigationMenuContext();
327
+ const renderStrategy = require_utils.useRenderStrategyProps();
328
+ const presence = require_use_presence.usePresence((0, vue.computed)(() => ({
329
+ ...renderStrategy.value,
330
+ present: navigationMenu.value.open
331
+ })));
332
+ const mergedProps = (0, vue.computed)(() => (0, _wirekyt_dom.mergeProps)(navigationMenu.value.getViewportProps(viewportPropsContext?.value), presence.value.presenceProps));
333
+ require_utils.useForwardExpose();
334
+ return (_ctx, _cache) => {
335
+ return !(0, vue.unref)(presence).unmounted ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
336
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
337
+ _: 3
338
+ }, 16, ["as-child"])) : (0, vue.createCommentVNode)("v-if", true);
339
+ };
340
+ }
341
+ });
342
+ //#endregion
343
+ //#region src/components/navigation-menu/viewport-positioner.vue
344
+ const _sfc_main$12 = /*@__PURE__*/ (0, vue.defineComponent)({
345
+ __name: "viewport-positioner",
346
+ props: {
347
+ align: {},
348
+ asChild: { type: Boolean }
349
+ },
350
+ setup(__props) {
351
+ const props = __props;
352
+ const navigationMenu = useNavigationMenuContext();
353
+ const viewportProps = (0, vue.computed)(() => ({ align: props.align }));
354
+ setNavigationMenuViewportPropsContext(viewportProps);
355
+ require_utils.useForwardExpose();
356
+ return (_ctx, _cache) => {
357
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_factory.wire).div, (0, vue.mergeProps)((0, vue.unref)(navigationMenu).getViewportPositionerProps(viewportProps.value), { "as-child": __props.asChild }), {
358
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
359
+ _: 3
360
+ }, 16, ["as-child"]);
361
+ };
362
+ }
363
+ });
364
+ //#endregion
365
+ //#region src/components/navigation-menu/navigation-menu.ts
366
+ var navigation_menu_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
367
+ Arrow: () => _sfc_main,
368
+ Content: () => _sfc_main$1,
369
+ Context: () => _sfc_main$2,
370
+ Indicator: () => _sfc_main$3,
371
+ Item: () => _sfc_main$4,
372
+ ItemIndicator: () => _sfc_main$5,
373
+ Link: () => _sfc_main$6,
374
+ List: () => _sfc_main$7,
375
+ Root: () => _sfc_main$8,
376
+ RootProvider: () => _sfc_main$9,
377
+ Trigger: () => _sfc_main$10,
378
+ Viewport: () => _sfc_main$11,
379
+ ViewportPositioner: () => _sfc_main$12
380
+ });
381
+ //#endregion
382
+ Object.defineProperty(exports, "NavigationMenu", {
383
+ enumerable: true,
384
+ get: function() {
385
+ return navigation_menu_exports;
386
+ }
387
+ });
388
+ exports.NavigationMenuArrow = _sfc_main;
389
+ exports.NavigationMenuContent = _sfc_main$1;
390
+ exports.NavigationMenuContext = _sfc_main$2;
391
+ exports.NavigationMenuIndicator = _sfc_main$3;
392
+ exports.NavigationMenuItem = _sfc_main$4;
393
+ exports.NavigationMenuItemIndicator = _sfc_main$5;
394
+ exports.NavigationMenuLink = _sfc_main$6;
395
+ exports.NavigationMenuList = _sfc_main$7;
396
+ exports.NavigationMenuRoot = _sfc_main$8;
397
+ exports.NavigationMenuRootProvider = _sfc_main$9;
398
+ exports.NavigationMenuTrigger = _sfc_main$10;
399
+ exports.NavigationMenuViewport = _sfc_main$11;
400
+ exports.NavigationMenuViewportPositioner = _sfc_main$12;
401
+ Object.defineProperty(exports, "navigationMenuAnatomy", {
402
+ enumerable: true,
403
+ get: function() {
404
+ return _wirekyt_dom_machines_navigation_menu.anatomy;
405
+ }
406
+ });
407
+ exports.useNavigationMenu = useNavigationMenu;
408
+ exports.useNavigationMenuContext = useNavigationMenuContext;
@@ -0,0 +1,271 @@
1
+ import { a as PolymorphicProps } from "./factory-BNwuanv4.cjs";
2
+ import { i as EmitFn$1, l as PropTypes, o as Optional } from "./index-B-o8jLyV.cjs";
3
+ import { n as RenderStrategyProps } from "./index-Cc4qS0rQ.cjs";
4
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
5
+ import * as navigationMenu from "@wirekyt/dom/machines/navigation-menu";
6
+ import { ContentProps, ItemProps, LinkProps, ValueChangeDetails, ValueChangeDetails as NavigationMenuValueChangeDetails, ViewportProps, anatomy as navigationMenuAnatomy } from "@wirekyt/dom/machines/navigation-menu";
7
+ //#region src/components/navigation-menu/arrow.vue.d.ts
8
+ interface NavigationMenuArrowBaseProps extends PolymorphicProps {}
9
+ interface NavigationMenuArrowProps extends NavigationMenuArrowBaseProps,
10
+ /**
11
+ * @vue-ignore
12
+ */
13
+ HTMLAttributes {}
14
+ declare const _default: typeof __VLS_export$12;
15
+ declare const __VLS_export$12: __VLS_WithSlots$12<import("vue").DefineComponent<NavigationMenuArrowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
16
+ default?: (props: {}) => any;
17
+ }>;
18
+ type __VLS_WithSlots$12<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
23
+ //#endregion
24
+ //#region src/components/navigation-menu/content.vue.d.ts
25
+ interface NavigationMenuContentBaseProps extends Partial<ContentProps>, PolymorphicProps {}
26
+ interface NavigationMenuContentProps extends NavigationMenuContentBaseProps,
27
+ /**
28
+ * @vue-ignore
29
+ */
30
+ Omit<HTMLAttributes, "onSelect"> {}
31
+ declare const _default$1: typeof __VLS_export$11;
32
+ declare const __VLS_export$11: __VLS_WithSlots$11<import("vue").DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
33
+ default?: (props: {}) => any;
34
+ } & {
35
+ default?: (props: {}) => any;
36
+ }>;
37
+ type __VLS_WithSlots$11<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
42
+ //#endregion
43
+ //#region src/components/navigation-menu/types.d.ts
44
+ interface RootProps {
45
+ closeDelay?: number;
46
+ defaultValue?: string;
47
+ disableClickTrigger?: boolean;
48
+ disableHoverTrigger?: boolean;
49
+ disablePointerLeaveClose?: boolean;
50
+ id?: string;
51
+ ids?: Partial<{
52
+ root: string;
53
+ list: string;
54
+ item: string;
55
+ trigger: (value: string) => string;
56
+ content: (value: string) => string;
57
+ viewport: string;
58
+ }>;
59
+ openDelay?: number;
60
+ orientation?: "horizontal" | "vertical";
61
+ translations?: navigationMenu.IntlTranslations;
62
+ value?: string;
63
+ }
64
+ type RootEmits = {
65
+ valueChange: [details: navigationMenu.ValueChangeDetails];
66
+ "update:value": [value: string];
67
+ };
68
+ //#endregion
69
+ //#region src/components/navigation-menu/use-navigation-menu.d.ts
70
+ interface UseNavigationMenuProps extends Optional<Omit<navigationMenu.Props, "dir" | "getRootNode">, "id"> {}
71
+ interface UseNavigationMenuReturn extends ComputedRef<navigationMenu.Api<PropTypes>> {}
72
+ declare const useNavigationMenu: (props?: MaybeRef<UseNavigationMenuProps>, emit?: EmitFn$1<RootEmits>) => UseNavigationMenuReturn;
73
+ //#endregion
74
+ //#region src/components/navigation-menu/use-context.d.ts
75
+ interface UseNavigationMenuContext extends UseNavigationMenuReturn {}
76
+ declare const NavigationMenuProvider: (opts: UseNavigationMenuContext) => void, useNavigationMenuContext: (fallback?: UseNavigationMenuContext | undefined) => UseNavigationMenuContext;
77
+ //#endregion
78
+ //#region src/components/navigation-menu/context.vue.d.ts
79
+ interface NavigationMenuContextProps extends SlotsType<{
80
+ default: UnwrapRef<UseNavigationMenuContext>;
81
+ }> {}
82
+ declare const _default$2: typeof __VLS_export$10;
83
+ declare const __VLS_export$10: __VLS_WithSlots$10<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
84
+ default(navigationMenu: UnwrapRef<UseNavigationMenuContext>): unknown;
85
+ }>;
86
+ type __VLS_WithSlots$10<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
91
+ //#endregion
92
+ //#region src/components/navigation-menu/indicator.vue.d.ts
93
+ interface NavigationMenuIndicatorBaseProps extends PolymorphicProps {}
94
+ interface NavigationMenuIndicatorProps extends NavigationMenuIndicatorBaseProps,
95
+ /**
96
+ * @vue-ignore
97
+ */
98
+ HTMLAttributes {}
99
+ declare const _default$3: typeof __VLS_export$9;
100
+ declare const __VLS_export$9: __VLS_WithSlots$9<import("vue").DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
101
+ default?: (props: {}) => any;
102
+ }>;
103
+ type __VLS_WithSlots$9<T, S> = T & {
104
+ new (): {
105
+ $slots: S;
106
+ };
107
+ };
108
+ //#endregion
109
+ //#region src/components/navigation-menu/item.vue.d.ts
110
+ interface NavigationMenuItemBaseProps extends ItemProps, PolymorphicProps {}
111
+ interface NavigationMenuItemProps extends NavigationMenuItemBaseProps,
112
+ /**
113
+ * @vue-ignore
114
+ */
115
+ HTMLAttributes {}
116
+ declare const _default$4: typeof __VLS_export$8;
117
+ declare const __VLS_export$8: __VLS_WithSlots$8<import("vue").DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
118
+ default?: (props: {}) => any;
119
+ }>;
120
+ type __VLS_WithSlots$8<T, S> = T & {
121
+ new (): {
122
+ $slots: S;
123
+ };
124
+ };
125
+ //#endregion
126
+ //#region src/components/navigation-menu/item-indicator.vue.d.ts
127
+ interface NavigationMenuItemIndicatorBaseProps extends PolymorphicProps {}
128
+ interface NavigationMenuItemIndicatorProps extends NavigationMenuItemIndicatorBaseProps,
129
+ /**
130
+ * @vue-ignore
131
+ */
132
+ HTMLAttributes {}
133
+ declare const _default$5: typeof __VLS_export$7;
134
+ declare const __VLS_export$7: __VLS_WithSlots$7<import("vue").DefineComponent<NavigationMenuItemIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
135
+ default?: (props: {}) => any;
136
+ }>;
137
+ type __VLS_WithSlots$7<T, S> = T & {
138
+ new (): {
139
+ $slots: S;
140
+ };
141
+ };
142
+ //#endregion
143
+ //#region src/components/navigation-menu/link.vue.d.ts
144
+ interface NavigationMenuLinkBaseProps extends Partial<LinkProps>, PolymorphicProps {}
145
+ interface NavigationMenuLinkProps extends NavigationMenuLinkBaseProps,
146
+ /**
147
+ * @vue-ignore
148
+ */
149
+ Omit<AnchorHTMLAttributes, "current" | "onSelect"> {}
150
+ declare const _default$6: typeof __VLS_export$6;
151
+ declare const __VLS_export$6: __VLS_WithSlots$6<import("vue").DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
152
+ default?: (props: {}) => any;
153
+ }>;
154
+ type __VLS_WithSlots$6<T, S> = T & {
155
+ new (): {
156
+ $slots: S;
157
+ };
158
+ };
159
+ //#endregion
160
+ //#region src/components/navigation-menu/list.vue.d.ts
161
+ interface NavigationMenuListBaseProps extends PolymorphicProps {}
162
+ interface NavigationMenuListProps extends NavigationMenuListBaseProps,
163
+ /**
164
+ * @vue-ignore
165
+ */
166
+ HTMLAttributes {}
167
+ declare const _default$7: typeof __VLS_export$5;
168
+ declare const __VLS_export$5: __VLS_WithSlots$5<import("vue").DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
169
+ default?: (props: {}) => any;
170
+ }>;
171
+ type __VLS_WithSlots$5<T, S> = T & {
172
+ new (): {
173
+ $slots: S;
174
+ };
175
+ };
176
+ //#endregion
177
+ //#region src/components/navigation-menu/root.vue.d.ts
178
+ interface NavigationMenuRootBaseProps extends RootProps, RenderStrategyProps {}
179
+ interface NavigationMenuRootProps extends NavigationMenuRootBaseProps {}
180
+ interface NavigationMenuRootEmits extends RootEmits {}
181
+ declare const _default$8: typeof __VLS_export$4;
182
+ declare const __VLS_export$4: __VLS_WithSlots$4<import("vue").DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
183
+ valueChange: (details: import("@wirekyt/dom/machines/navigation-menu").ValueChangeDetails) => any;
184
+ "update:value": (value: string) => any;
185
+ }, string, import("vue").PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
186
+ onValueChange?: ((details: import("@wirekyt/dom/machines/navigation-menu").ValueChangeDetails) => any) | undefined;
187
+ "onUpdate:value"?: ((value: string) => any) | undefined;
188
+ }>, {
189
+ disableClickTrigger: boolean;
190
+ disableHoverTrigger: boolean;
191
+ disablePointerLeaveClose: boolean;
192
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
193
+ default?: (props: {}) => any;
194
+ }>;
195
+ type __VLS_WithSlots$4<T, S> = T & {
196
+ new (): {
197
+ $slots: S;
198
+ };
199
+ };
200
+ //#endregion
201
+ //#region src/components/navigation-menu/root-provider.vue.d.ts
202
+ interface RootProviderProps {
203
+ value: UnwrapRef<UseNavigationMenuReturn>;
204
+ }
205
+ interface NavigationMenuRootProviderBaseProps extends RootProviderProps, RenderStrategyProps {}
206
+ interface NavigationMenuRootProviderProps extends NavigationMenuRootProviderBaseProps {}
207
+ declare const _default$9: typeof __VLS_export$3;
208
+ declare const __VLS_export$3: __VLS_WithSlots$3<import("vue").DefineComponent<NavigationMenuRootProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
209
+ default?: (props: {}) => any;
210
+ }>;
211
+ type __VLS_WithSlots$3<T, S> = T & {
212
+ new (): {
213
+ $slots: S;
214
+ };
215
+ };
216
+ //#endregion
217
+ //#region src/components/navigation-menu/trigger.vue.d.ts
218
+ interface NavigationMenuTriggerBaseProps extends Omit<ItemProps, "value">, PolymorphicProps {}
219
+ interface NavigationMenuTriggerProps extends NavigationMenuTriggerBaseProps,
220
+ /**
221
+ * @vue-ignore
222
+ */
223
+ Omit<ButtonHTMLAttributes, "disabled" | "value"> {}
224
+ declare const _default$10: typeof __VLS_export$2;
225
+ declare const __VLS_export$2: __VLS_WithSlots$2<import("vue").DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
226
+ default?: (props: {}) => any;
227
+ }>;
228
+ type __VLS_WithSlots$2<T, S> = T & {
229
+ new (): {
230
+ $slots: S;
231
+ };
232
+ };
233
+ //#endregion
234
+ //#region src/components/navigation-menu/viewport.vue.d.ts
235
+ interface NavigationMenuViewportBaseProps extends PolymorphicProps {}
236
+ interface NavigationMenuViewportProps extends NavigationMenuViewportBaseProps,
237
+ /**
238
+ * @vue-ignore
239
+ */
240
+ HTMLAttributes {}
241
+ declare const _default$11: typeof __VLS_export$1;
242
+ declare const __VLS_export$1: __VLS_WithSlots$1<import("vue").DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
243
+ default?: (props: {}) => any;
244
+ }>;
245
+ type __VLS_WithSlots$1<T, S> = T & {
246
+ new (): {
247
+ $slots: S;
248
+ };
249
+ };
250
+ //#endregion
251
+ //#region src/components/navigation-menu/viewport-positioner.vue.d.ts
252
+ interface NavigationMenuViewportPositionerBaseProps extends ViewportProps, PolymorphicProps {}
253
+ interface NavigationMenuViewportPositionerProps extends NavigationMenuViewportPositionerBaseProps,
254
+ /**
255
+ * @vue-ignore
256
+ */
257
+ HTMLAttributes {}
258
+ declare const _default$12: typeof __VLS_export;
259
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<NavigationMenuViewportPositionerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuViewportPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
260
+ default?: (props: {}) => any;
261
+ }>;
262
+ type __VLS_WithSlots<T, S> = T & {
263
+ new (): {
264
+ $slots: S;
265
+ };
266
+ };
267
+ declare namespace navigation_menu_d_exports {
268
+ export { _default as Arrow, NavigationMenuArrowBaseProps as ArrowBaseProps, NavigationMenuArrowProps as ArrowProps, _default$1 as Content, NavigationMenuContentBaseProps as ContentBaseProps, NavigationMenuContentProps as ContentProps, _default$2 as Context, NavigationMenuContextProps as ContextProps, _default$3 as Indicator, NavigationMenuIndicatorBaseProps as IndicatorBaseProps, NavigationMenuIndicatorProps as IndicatorProps, _default$4 as Item, NavigationMenuItemBaseProps as ItemBaseProps, _default$5 as ItemIndicator, NavigationMenuItemIndicatorBaseProps as ItemIndicatorBaseProps, NavigationMenuItemIndicatorProps as ItemIndicatorProps, NavigationMenuItemProps as ItemProps, _default$6 as Link, NavigationMenuLinkBaseProps as LinkBaseProps, NavigationMenuLinkProps as LinkProps, _default$7 as List, NavigationMenuListBaseProps as ListBaseProps, NavigationMenuListProps as ListProps, _default$8 as Root, NavigationMenuRootBaseProps as RootBaseProps, NavigationMenuRootEmits as RootEmits, NavigationMenuRootProps as RootProps, _default$9 as RootProvider, NavigationMenuRootProviderBaseProps as RootProviderBaseProps, NavigationMenuRootProviderProps as RootProviderProps, _default$10 as Trigger, NavigationMenuTriggerBaseProps as TriggerBaseProps, NavigationMenuTriggerProps as TriggerProps, ValueChangeDetails, _default$11 as Viewport, NavigationMenuViewportBaseProps as ViewportBaseProps, _default$12 as ViewportPositioner, NavigationMenuViewportPositionerBaseProps as ViewportPositionerBaseProps, NavigationMenuViewportPositionerProps as ViewportPositionerProps, NavigationMenuViewportProps as ViewportProps };
269
+ }
270
+ //#endregion
271
+ export { navigation_menu_d_exports as NavigationMenu, _default as NavigationMenuArrow, type NavigationMenuArrowBaseProps, type NavigationMenuArrowProps, _default$1 as NavigationMenuContent, type NavigationMenuContentBaseProps, type NavigationMenuContentProps, _default$2 as NavigationMenuContext, type NavigationMenuContextProps, _default$3 as NavigationMenuIndicator, type NavigationMenuIndicatorBaseProps, type NavigationMenuIndicatorProps, _default$4 as NavigationMenuItem, type NavigationMenuItemBaseProps, _default$5 as NavigationMenuItemIndicator, type NavigationMenuItemIndicatorBaseProps, type NavigationMenuItemIndicatorProps, type NavigationMenuItemProps, _default$6 as NavigationMenuLink, type NavigationMenuLinkBaseProps, type NavigationMenuLinkProps, _default$7 as NavigationMenuList, type NavigationMenuListBaseProps, type NavigationMenuListProps, _default$8 as NavigationMenuRoot, type NavigationMenuRootBaseProps, type NavigationMenuRootEmits, type NavigationMenuRootProps, _default$9 as NavigationMenuRootProvider, type NavigationMenuRootProviderBaseProps, type NavigationMenuRootProviderProps, _default$10 as NavigationMenuTrigger, type NavigationMenuTriggerBaseProps, type NavigationMenuTriggerProps, type NavigationMenuValueChangeDetails, _default$11 as NavigationMenuViewport, type NavigationMenuViewportBaseProps, _default$12 as NavigationMenuViewportPositioner, type NavigationMenuViewportPositionerBaseProps, type NavigationMenuViewportPositionerProps, type NavigationMenuViewportProps, type UseNavigationMenuContext, type UseNavigationMenuProps, type UseNavigationMenuReturn, navigationMenuAnatomy, useNavigationMenu, useNavigationMenuContext };