@wow-two-beta/fe 0.0.26 → 0.0.28

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 (82) hide show
  1. package/README.md +15 -3
  2. package/dist/chunks/{AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js → AccountMenu.vue_vue_type_script_setup_true_lang-CWsiHHiy.js} +700 -283
  3. package/dist/chunks/AccountMenu.vue_vue_type_script_setup_true_lang-CWsiHHiy.js.map +1 -0
  4. package/dist/chunks/Avatar.vue_vue_type_script_setup_true_lang-BIoaOjCh.js +267 -0
  5. package/dist/chunks/Avatar.vue_vue_type_script_setup_true_lang-BIoaOjCh.js.map +1 -0
  6. package/dist/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-CNMcUYtR.js → BackToTopButton.vue_vue_type_script_setup_true_lang-6tfkqsrZ.js} +2 -2
  7. package/dist/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-CNMcUYtR.js.map → BackToTopButton.vue_vue_type_script_setup_true_lang-6tfkqsrZ.js.map} +1 -1
  8. package/dist/chunks/{Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js → Button.vue_vue_type_script_setup_true_lang-Cw0QS_Mm.js} +2 -3
  9. package/dist/chunks/{Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js.map → Button.vue_vue_type_script_setup_true_lang-Cw0QS_Mm.js.map} +1 -1
  10. package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-CZQnfNGk.js → DrawerContent.vue_vue_type_script_setup_true_lang-BA-au7LC.js} +2 -2
  11. package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-CZQnfNGk.js.map → DrawerContent.vue_vue_type_script_setup_true_lang-BA-au7LC.js.map} +1 -1
  12. package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-DzqE0ZF8.js} +4 -4
  13. package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js.map → ErrorBoundary.vue_vue_type_script_setup_true_lang-DzqE0ZF8.js.map} +1 -1
  14. package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js → FieldHelperText.vue_vue_type_script_setup_true_lang-DuMcXUch.js} +2 -2
  15. package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js.map → FieldHelperText.vue_vue_type_script_setup_true_lang-DuMcXUch.js.map} +1 -1
  16. package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-BCnquIre.js → KanbanCard.vue_vue_type_script_setup_true_lang-CyXb4ZZw.js} +169 -427
  17. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-CyXb4ZZw.js.map +1 -0
  18. package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-Dm79L1eK.js → LightboxModal.vue_vue_type_script_setup_true_lang-BxdSYLYf.js} +6 -6
  19. package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-Dm79L1eK.js.map → LightboxModal.vue_vue_type_script_setup_true_lang-BxdSYLYf.js.map} +1 -1
  20. package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-TuNWahLw.js → MasonryLayout.vue_vue_type_script_setup_true_lang-DD_jRzkM.js} +22 -7
  21. package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-DD_jRzkM.js.map +1 -0
  22. package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-DdT24dkW.js → MentionInput.vue_vue_type_script_setup_true_lang-hYD3uP3P.js} +6 -6
  23. package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-DdT24dkW.js.map → MentionInput.vue_vue_type_script_setup_true_lang-hYD3uP3P.js.map} +1 -1
  24. package/dist/chunks/{OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js → OverlayCloseButton.vue_vue_type_script_setup_true_lang-Df9raD_m.js} +2 -2
  25. package/dist/chunks/{OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js.map → OverlayCloseButton.vue_vue_type_script_setup_true_lang-Df9raD_m.js.map} +1 -1
  26. package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js → PopoverContent.vue_vue_type_script_setup_true_lang-C6YKEo3H.js} +2 -2
  27. package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js.map → PopoverContent.vue_vue_type_script_setup_true_lang-C6YKEo3H.js.map} +1 -1
  28. package/dist/chunks/{ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js → ReportAction.vue_vue_type_script_setup_true_lang-DCnPCczd.js} +2 -2
  29. package/dist/chunks/{ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js.map → ReportAction.vue_vue_type_script_setup_true_lang-DCnPCczd.js.map} +1 -1
  30. package/dist/chunks/{SurfaceStyles-B8KNkFsm.js → SurfaceStyles-BYvRlsWe.js} +2 -2
  31. package/dist/chunks/{SurfaceStyles-B8KNkFsm.js.map → SurfaceStyles-BYvRlsWe.js.map} +1 -1
  32. package/dist/chunks/{ToastHost.vue_vue_type_script_setup_true_lang-p0bfXJ9l.js → ToastHost.vue_vue_type_script_setup_true_lang-J1ZPZXn3.js} +3 -3
  33. package/dist/chunks/{ToastHost.vue_vue_type_script_setup_true_lang-p0bfXJ9l.js.map → ToastHost.vue_vue_type_script_setup_true_lang-J1ZPZXn3.js.map} +1 -1
  34. package/dist/chunks/{Tones-CQu-OvAk.js → Tones-Bcz8dIo3.js} +159 -1
  35. package/dist/chunks/Tones-Bcz8dIo3.js.map +1 -0
  36. package/dist/chunks/UseScrollActivity-D8MC5xgH.js +37 -0
  37. package/dist/chunks/UseScrollActivity-D8MC5xgH.js.map +1 -0
  38. package/dist/chunks/{index-C-r59Hob.js → index-CGIXFfl9.js} +3 -4
  39. package/dist/chunks/{index-C-r59Hob.js.map → index-CGIXFfl9.js.map} +1 -1
  40. package/dist/chunks/{index-rh4HVTr5.js → index-COgbQxBT.js} +5 -1
  41. package/dist/chunks/{index-rh4HVTr5.js.map → index-COgbQxBT.js.map} +1 -1
  42. package/dist/chunks/{index-CuiXILXc.js → index-Dp6L9sX7.js} +6 -2
  43. package/dist/chunks/index-Dp6L9sX7.js.map +1 -0
  44. package/dist/foundation/config/ConfigSource.d.ts +12 -5
  45. package/dist/foundation/config/DefineConfig.d.ts +9 -4
  46. package/dist/foundation/config/index.d.ts +1 -1
  47. package/dist/foundation/config/index.js +12 -9
  48. package/dist/foundation/config/index.js.map +1 -1
  49. package/dist/foundation/dom/hooks/UseScrollActivity.d.ts +15 -0
  50. package/dist/foundation/dom/index.d.ts +1 -0
  51. package/dist/foundation/dom/index.js +7 -3
  52. package/dist/foundation/dom/index.js.map +1 -1
  53. package/dist/foundation/primitives/index.js +1 -1
  54. package/dist/foundation/primitives/scrollViewport/ScrollViewport.vue.d.ts +9 -0
  55. package/dist/foundation/styles/index.js +9 -10
  56. package/dist/foundation/styles/index.js.map +1 -1
  57. package/dist/index.css +83 -36
  58. package/dist/index.js +467 -465
  59. package/dist/index.js.map +1 -1
  60. package/dist/presentation/actions/index.js +2 -2
  61. package/dist/presentation/display/index.js +178 -177
  62. package/dist/presentation/display/index.js.map +1 -1
  63. package/dist/presentation/feedback/index.js +3 -3
  64. package/dist/presentation/feedback/toastHost/index.js +1 -1
  65. package/dist/presentation/forms/index.js +2 -2
  66. package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +14 -5
  67. package/dist/presentation/layout/index.js +1 -1
  68. package/dist/presentation/layout/scrollArea/ScrollArea.vue.d.ts +7 -0
  69. package/dist/presentation/layout/virtualScrollArea/VirtualScrollArea.vue.d.ts +6 -0
  70. package/dist/presentation/nav/accountMenu/AccountMenu.vue.d.ts +131 -0
  71. package/dist/presentation/nav/accountMenu/index.d.ts +1 -0
  72. package/dist/presentation/nav/index.d.ts +1 -0
  73. package/dist/presentation/nav/index.js +72 -71
  74. package/dist/presentation/overlays/index.js +4 -4
  75. package/package.json +1 -1
  76. package/dist/chunks/AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js.map +0 -1
  77. package/dist/chunks/CssExtensions-ctGVlfYU.js +0 -161
  78. package/dist/chunks/CssExtensions-ctGVlfYU.js.map +0 -1
  79. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BCnquIre.js.map +0 -1
  80. package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-TuNWahLw.js.map +0 -1
  81. package/dist/chunks/Tones-CQu-OvAk.js.map +0 -1
  82. package/dist/chunks/index-CuiXILXc.js.map +0 -1
@@ -1,42 +1,44 @@
1
1
  import { defineComponent, useAttrs, useTemplateRef, computed, openBlock, createElementBlock, mergeProps, unref, createElementVNode, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode, normalizeClass, inject, provide, onScopeDispose, createBlock, withCtx, shallowRef, watch, useSlots, nextTick, onMounted, toValue, normalizeProps, guardReactiveProps, normalizeStyle, withDirectives, vShow } from "vue";
2
2
  import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
3
3
  import { U as UrlExtensions } from "./UrlExtensions-DqgLm0KY.js";
4
- import { ChevronRight, ChevronsLeft, ChevronLeft, ChevronsRight, Minus, Check, ChevronDown, ExternalLink, LayoutGrid } from "lucide-vue-next";
4
+ import { ChevronRight, ChevronsLeft, ChevronLeft, ChevronsRight, Minus, Check, ChevronDown, ExternalLink, LayoutGrid, Monitor, Sun, Moon, UserRound, LogOut } from "lucide-vue-next";
5
5
  import { c as cn } from "./Cn-C7De6POU.js";
6
- import { _ as _sfc_main$E } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
6
+ import { _ as _sfc_main$F } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
7
7
  import { d as dataAttr } from "./DataAttr-7BR67dTj.js";
8
8
  import { u as useId } from "./UseId-CtgAhGrn.js";
9
9
  import { u as useControlled } from "./UseControlled-BQneb7BW.js";
10
10
  import { r as resolveElement } from "./ResolveElement-CyRfM82x.js";
11
11
  import { P as Primitive } from "./Primitive-D-9ShOm7.js";
12
- import { u as useReducedMotion, a as useMediaQuery } from "./UseReducedMotion-NZ5fg-Xb.js";
13
- import { P as Presence } from "./Presence-DDk0ZtAr.js";
14
12
  import { D as DomOrderExtensions } from "./DomOrderExtensions-Czsyvn6e.js";
15
- import { _ as _sfc_main$J, b as useRovingFocusItem } from "./RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js";
13
+ import { _ as _sfc_main$K, b as useRovingFocusItem } from "./RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js";
16
14
  import { tv } from "tailwind-variants";
17
- import { s as surfaceVariants } from "./SurfaceStyles-B8KNkFsm.js";
18
- import { u as useTypeahead } from "./UseTypeahead-C-y7nBo2.js";
19
- import { _ as _sfc_main$F } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
20
- import { _ as _sfc_main$G } from "./AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
21
- import { _ as _sfc_main$H } from "./FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js";
22
- import { _ as _sfc_main$I } from "./DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js";
23
15
  import { A as AriaAttribute } from "./AriaAttribute-CmUjjXjp.js";
16
+ import { s as surfaceVariants } from "./SurfaceStyles-BYvRlsWe.js";
17
+ import { u as useReducedMotion, a as useMediaQuery } from "./UseReducedMotion-NZ5fg-Xb.js";
18
+ import { _ as _sfc_main$G } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
19
+ import { _ as _sfc_main$H } from "./AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
20
+ import { _ as _sfc_main$J } from "./DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js";
21
+ import { P as Presence } from "./Presence-DDk0ZtAr.js";
24
22
  import { H as HtmlElement } from "./HtmlValues-jlKY5f9C.js";
25
23
  import { S as Slottable } from "./Slot-BGJ_Mr_j.js";
26
24
  import { T as TailwindBreakpoints } from "./Breakpoints-CltjxN0E.js";
27
25
  import { u as useLocaleDefaults } from "./UseLocaleDefaults-DnL2Ctbe.js";
28
- import { a as _sfc_main$N, c as _sfc_main$O, _ as _sfc_main$P, b as _sfc_main$Q } from "./OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js";
29
- import { _ as _sfc_main$K, b as _sfc_main$L, a as _sfc_main$M } from "./PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js";
30
- const _hoisted_1$l = ["aria-label"];
31
- const _hoisted_2$d = { class: "flex flex-wrap items-center gap-1.5" };
32
- const _hoisted_3$7 = ["href"];
33
- const _hoisted_4$5 = ["aria-current"];
34
- const _hoisted_5$3 = {
26
+ import { a as _sfc_main$O, c as _sfc_main$P, _ as _sfc_main$Q, b as _sfc_main$R } from "./OverlayCloseButton.vue_vue_type_script_setup_true_lang-Df9raD_m.js";
27
+ import { _ as _sfc_main$L, b as _sfc_main$M, a as _sfc_main$N } from "./PopoverContent.vue_vue_type_script_setup_true_lang-C6YKEo3H.js";
28
+ import { _ as _sfc_main$S } from "./Avatar.vue_vue_type_script_setup_true_lang-BIoaOjCh.js";
29
+ import { u as useTypeahead } from "./UseTypeahead-C-y7nBo2.js";
30
+ import { _ as _sfc_main$I } from "./FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js";
31
+ import { b as ColorModeKey, C as ColorMode } from "./ColorModeContext-ivCR7JC9.js";
32
+ const _hoisted_1$m = ["aria-label"];
33
+ const _hoisted_2$e = { class: "flex flex-wrap items-center gap-1.5" };
34
+ const _hoisted_3$8 = ["href"];
35
+ const _hoisted_4$6 = ["aria-current"];
36
+ const _hoisted_5$4 = {
35
37
  key: 0,
36
38
  "aria-hidden": "true",
37
39
  class: "text-subtle-foreground"
38
40
  };
39
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
41
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
40
42
  ...{ name: "Breadcrumb", inheritAttrs: false },
41
43
  __name: "Breadcrumb",
42
44
  props: {
@@ -60,7 +62,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
60
62
  ref: el,
61
63
  "aria-label": unref(locale).t("Breadcrumb.breadcrumb", void 0, "Breadcrumb")
62
64
  }, rest.value, { class: classes.value }), [
63
- createElementVNode("ol", _hoisted_2$d, [
65
+ createElementVNode("ol", _hoisted_2$e, [
64
66
  (openBlock(true), createElementBlock(Fragment, null, renderList(props.items, (item, i) => {
65
67
  return openBlock(), createElementBlock(Fragment, {
66
68
  key: item.href ?? item.label
@@ -77,7 +79,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
77
79
  }, () => [
78
80
  createTextVNode(toDisplayString(item.label), 1)
79
81
  ])
80
- ], 8, _hoisted_3$7)) : (openBlock(), createElementBlock("span", {
82
+ ], 8, _hoisted_3$8)) : (openBlock(), createElementBlock("span", {
81
83
  key: 1,
82
84
  "aria-current": i === lastIndex.value ? "page" : void 0,
83
85
  class: "text-foreground"
@@ -88,11 +90,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
88
90
  }, () => [
89
91
  createTextVNode(toDisplayString(item.label), 1)
90
92
  ])
91
- ], 8, _hoisted_4$5))
93
+ ], 8, _hoisted_4$6))
92
94
  ]),
93
- i !== lastIndex.value ? (openBlock(), createElementBlock("li", _hoisted_5$3, [
95
+ i !== lastIndex.value ? (openBlock(), createElementBlock("li", _hoisted_5$4, [
94
96
  renderSlot(_ctx.$slots, "separator", {}, () => [
95
- createVNode(unref(_sfc_main$E), {
97
+ createVNode(unref(_sfc_main$F), {
96
98
  icon: unref(ChevronRight),
97
99
  size: 14
98
100
  }, null, 8, ["icon"])
@@ -101,16 +103,16 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
101
103
  ], 64);
102
104
  }), 128))
103
105
  ])
104
- ], 16, _hoisted_1$l);
106
+ ], 16, _hoisted_1$m);
105
107
  };
106
108
  }
107
109
  });
108
- const _hoisted_1$k = ["aria-label"];
109
- const _hoisted_2$c = ["aria-label", "disabled"];
110
- const _hoisted_3$6 = ["aria-label", "disabled"];
111
- const _hoisted_4$4 = ["aria-current", "onClick"];
112
- const _hoisted_5$2 = ["aria-label", "disabled"];
113
- const _hoisted_6$2 = ["aria-label", "disabled"];
110
+ const _hoisted_1$l = ["aria-label"];
111
+ const _hoisted_2$d = ["aria-label", "disabled"];
112
+ const _hoisted_3$7 = ["aria-label", "disabled"];
113
+ const _hoisted_4$5 = ["aria-current", "onClick"];
114
+ const _hoisted_5$3 = ["aria-label", "disabled"];
115
+ const _hoisted_6$3 = ["aria-label", "disabled"];
114
116
  function range(start, end) {
115
117
  return Array.from({ length: Math.max(0, end - start + 1) }, (_, i) => start + i);
116
118
  }
@@ -126,7 +128,7 @@ function buildPages(total, page, siblings) {
126
128
  return pages;
127
129
  }
128
130
  const BaseButton = "inline-flex h-8 min-w-8 items-center justify-center rounded-md border border-transparent px-2 text-sm transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50";
129
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
131
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
130
132
  ...{ name: "Pagination", inheritAttrs: false },
131
133
  __name: "Pagination",
132
134
  props: {
@@ -177,11 +179,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
177
179
  class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
178
180
  onClick: _cache[0] || (_cache[0] = ($event) => go(1))
179
181
  }, [
180
- createVNode(unref(_sfc_main$E), {
182
+ createVNode(unref(_sfc_main$F), {
181
183
  icon: unref(ChevronsLeft),
182
184
  size: 16
183
185
  }, null, 8, ["icon"])
184
- ], 10, _hoisted_2$c)) : createCommentVNode("", true),
186
+ ], 10, _hoisted_2$d)) : createCommentVNode("", true),
185
187
  createElementVNode("button", {
186
188
  type: "button",
187
189
  "aria-label": unref(locale).t("Pagination.previousPage", void 0, "Previous page"),
@@ -189,11 +191,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
189
191
  class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
190
192
  onClick: _cache[1] || (_cache[1] = ($event) => go(page.value - 1))
191
193
  }, [
192
- createVNode(unref(_sfc_main$E), {
194
+ createVNode(unref(_sfc_main$F), {
193
195
  icon: unref(ChevronLeft),
194
196
  size: 16
195
197
  }, null, 8, ["icon"])
196
- ], 10, _hoisted_3$6),
198
+ ], 10, _hoisted_3$7),
197
199
  (openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (p, i) => {
198
200
  return openBlock(), createElementBlock(Fragment, null, [
199
201
  p === "ellipsis" ? (openBlock(), createElementBlock("span", {
@@ -205,7 +207,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
205
207
  "aria-current": p === page.value ? "page" : void 0,
206
208
  class: normalizeClass(unref(cn)(BaseButton, p === page.value ? "border-primary bg-primary text-primary-foreground" : "hover:bg-muted")),
207
209
  onClick: ($event) => go(p)
208
- }, toDisplayString(p), 11, _hoisted_4$4))
210
+ }, toDisplayString(p), 11, _hoisted_4$5))
209
211
  ], 64);
210
212
  }), 256)),
211
213
  createElementVNode("button", {
@@ -215,11 +217,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
215
217
  class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
216
218
  onClick: _cache[2] || (_cache[2] = ($event) => go(page.value + 1))
217
219
  }, [
218
- createVNode(unref(_sfc_main$E), {
220
+ createVNode(unref(_sfc_main$F), {
219
221
  icon: unref(ChevronRight),
220
222
  size: 16
221
223
  }, null, 8, ["icon"])
222
- ], 10, _hoisted_5$2),
224
+ ], 10, _hoisted_5$3),
223
225
  hasFirstLast.value ? (openBlock(), createElementBlock("button", {
224
226
  key: 1,
225
227
  type: "button",
@@ -228,12 +230,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
228
230
  class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
229
231
  onClick: _cache[3] || (_cache[3] = ($event) => go(total.value))
230
232
  }, [
231
- createVNode(unref(_sfc_main$E), {
233
+ createVNode(unref(_sfc_main$F), {
232
234
  icon: unref(ChevronsRight),
233
235
  size: 16
234
236
  }, null, 8, ["icon"])
235
- ], 10, _hoisted_6$2)) : createCommentVNode("", true)
236
- ], 16, _hoisted_1$k);
237
+ ], 10, _hoisted_6$3)) : createCommentVNode("", true)
238
+ ], 16, _hoisted_1$l);
237
239
  };
238
240
  }
239
241
  });
@@ -318,7 +320,7 @@ const MenuItemState = {
318
320
  Disabled: "disabled"
319
321
  };
320
322
  const SubmenuCloseDelayMs = 250;
321
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
323
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
322
324
  ...{ name: "Menu", inheritAttrs: false },
323
325
  __name: "Menu",
324
326
  props: {
@@ -529,9 +531,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
529
531
  }
530
532
  }
531
533
  return (_ctx, _cache) => {
532
- return openBlock(), createBlock(unref(_sfc_main$F), null, {
534
+ return openBlock(), createBlock(unref(_sfc_main$G), null, {
533
535
  default: withCtx(() => [
534
- createVNode(unref(_sfc_main$G), {
536
+ createVNode(unref(_sfc_main$H), {
535
537
  anchor: props.anchor,
536
538
  placement: props.placement,
537
539
  offset: props.offset,
@@ -540,7 +542,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
540
542
  default: withCtx(() => [
541
543
  createVNode(unref(Presence), { "is-present": isMenuOpen.value }, {
542
544
  default: withCtx(() => [
543
- createVNode(unref(_sfc_main$H), {
545
+ createVNode(unref(_sfc_main$I), {
544
546
  "as-child": "",
545
547
  "is-trapped": !unref(isSubmenu),
546
548
  "can-loop": "",
@@ -548,7 +550,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
548
550
  "on-mount-auto-focus": handleMountAutoFocus
549
551
  }, {
550
552
  default: withCtx(() => [
551
- createVNode(unref(_sfc_main$I), mergeProps({
553
+ createVNode(unref(_sfc_main$J), mergeProps({
552
554
  ref_key: "layer",
553
555
  ref: layer,
554
556
  role: "menu",
@@ -578,8 +580,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
578
580
  };
579
581
  }
580
582
  });
581
- const _hoisted_1$j = ["disabled", "aria-disabled", "data-disabled"];
582
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
583
+ const _hoisted_1$k = ["disabled", "aria-disabled", "data-disabled"];
584
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
583
585
  ...{ name: "MenuItem", inheritAttrs: false },
584
586
  __name: "MenuItem",
585
587
  props: {
@@ -655,12 +657,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
655
657
  onPointerleave: handlePointerLeave
656
658
  }), [
657
659
  renderSlot(_ctx.$slots, "default")
658
- ], 16, _hoisted_1$j);
660
+ ], 16, _hoisted_1$k);
659
661
  };
660
662
  }
661
663
  });
662
- const _hoisted_1$i = ["aria-checked", "disabled", "aria-disabled", "data-disabled", "data-state"];
663
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
664
+ const _hoisted_1$j = ["aria-checked", "disabled", "aria-disabled", "data-disabled", "data-state"];
665
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
664
666
  ...{ name: "MenuCheckboxItem", inheritAttrs: false },
665
667
  __name: "MenuCheckboxItem",
666
668
  props: {
@@ -758,11 +760,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
758
760
  checked: unref(isChecked),
759
761
  isIndeterminate: __props.isIndeterminate
760
762
  }, () => [
761
- __props.isIndeterminate ? (openBlock(), createBlock(unref(_sfc_main$E), {
763
+ __props.isIndeterminate ? (openBlock(), createBlock(unref(_sfc_main$F), {
762
764
  key: 0,
763
765
  icon: unref(Minus),
764
766
  size: 14
765
- }, null, 8, ["icon"])) : unref(isChecked) ? (openBlock(), createBlock(unref(_sfc_main$E), {
767
+ }, null, 8, ["icon"])) : unref(isChecked) ? (openBlock(), createBlock(unref(_sfc_main$F), {
766
768
  key: 1,
767
769
  icon: unref(Check),
768
770
  size: 14
@@ -770,13 +772,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
770
772
  ])
771
773
  ], 2),
772
774
  renderSlot(_ctx.$slots, "default")
773
- ], 16, _hoisted_1$i);
775
+ ], 16, _hoisted_1$j);
774
776
  };
775
777
  }
776
778
  });
777
- const _hoisted_1$h = ["aria-labelledby"];
778
- const _hoisted_2$b = ["id"];
779
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
779
+ const _hoisted_1$i = ["aria-labelledby"];
780
+ const _hoisted_2$c = ["id"];
781
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
780
782
  ...{ name: "MenuRadioGroup", inheritAttrs: false },
781
783
  __name: "MenuRadioGroup",
782
784
  props: {
@@ -822,18 +824,18 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
822
824
  renderSlot(_ctx.$slots, "label", {}, () => [
823
825
  createTextVNode(toDisplayString(props.label), 1)
824
826
  ])
825
- ], 10, _hoisted_2$b)) : createCommentVNode("", true),
827
+ ], 10, _hoisted_2$c)) : createCommentVNode("", true),
826
828
  renderSlot(_ctx.$slots, "default")
827
- ], 16, _hoisted_1$h);
829
+ ], 16, _hoisted_1$i);
828
830
  };
829
831
  }
830
832
  });
831
- const _hoisted_1$g = ["aria-checked", "disabled", "aria-disabled", "data-disabled", "data-state"];
832
- const _hoisted_2$a = {
833
+ const _hoisted_1$h = ["aria-checked", "disabled", "aria-disabled", "data-disabled", "data-state"];
834
+ const _hoisted_2$b = {
833
835
  key: 0,
834
836
  class: "size-2 rounded-full bg-current"
835
837
  };
836
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
838
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
837
839
  ...{ name: "MenuRadioItem", inheritAttrs: false },
838
840
  __name: "MenuRadioItem",
839
841
  props: {
@@ -920,15 +922,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
920
922
  "aria-hidden": "true"
921
923
  }, [
922
924
  renderSlot(_ctx.$slots, "indicator", { checked: isChecked.value }, () => [
923
- isChecked.value ? (openBlock(), createElementBlock("span", _hoisted_2$a)) : createCommentVNode("", true)
925
+ isChecked.value ? (openBlock(), createElementBlock("span", _hoisted_2$b)) : createCommentVNode("", true)
924
926
  ])
925
927
  ], 2),
926
928
  renderSlot(_ctx.$slots, "default")
927
- ], 16, _hoisted_1$g);
929
+ ], 16, _hoisted_1$h);
928
930
  };
929
931
  }
930
932
  });
931
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
933
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
932
934
  ...{ name: "MenuSub", inheritAttrs: false },
933
935
  __name: "MenuSub",
934
936
  props: {
@@ -979,9 +981,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
979
981
  };
980
982
  }
981
983
  });
982
- const _hoisted_1$f = ["aria-expanded", "aria-controls", "disabled", "aria-disabled", "data-disabled", "data-state", "id"];
984
+ const _hoisted_1$g = ["aria-expanded", "aria-controls", "disabled", "aria-disabled", "data-disabled", "data-state", "id"];
983
985
  const OpenDelayMs = 100;
984
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
986
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
985
987
  ...{ name: "MenuSubTrigger", inheritAttrs: false },
986
988
  __name: "MenuSubTrigger",
987
989
  props: {
@@ -1090,16 +1092,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1090
1092
  onPointerleave: handlePointerLeave
1091
1093
  }), [
1092
1094
  renderSlot(_ctx.$slots, "default"),
1093
- createVNode(unref(_sfc_main$E), {
1095
+ createVNode(unref(_sfc_main$F), {
1094
1096
  icon: unref(ChevronRight),
1095
1097
  size: 14,
1096
1098
  class: normalizeClass(unref(menuSubIndicatorVariants)())
1097
1099
  }, null, 8, ["icon", "class"])
1098
- ], 16, _hoisted_1$f);
1100
+ ], 16, _hoisted_1$g);
1099
1101
  };
1100
1102
  }
1101
1103
  });
1102
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
1104
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1103
1105
  ...{ name: "MenuSubContent", inheritAttrs: false },
1104
1106
  __name: "MenuSubContent",
1105
1107
  props: {
@@ -1130,7 +1132,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
1130
1132
  return sub.triggerEl.value;
1131
1133
  }
1132
1134
  return (_ctx, _cache) => {
1133
- return unref(isOpen) ? (openBlock(), createBlock(_sfc_main$B, mergeProps({
1135
+ return unref(isOpen) ? (openBlock(), createBlock(_sfc_main$C, mergeProps({
1134
1136
  key: 0,
1135
1137
  open: unref(isOpen),
1136
1138
  anchor: anchor.value,
@@ -1156,9 +1158,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
1156
1158
  };
1157
1159
  }
1158
1160
  });
1159
- const _hoisted_1$e = ["aria-labelledby"];
1160
- const _hoisted_2$9 = ["id"];
1161
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
1161
+ const _hoisted_1$f = ["aria-labelledby"];
1162
+ const _hoisted_2$a = ["id"];
1163
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
1162
1164
  ...{ name: "MenuGroup", inheritAttrs: false },
1163
1165
  __name: "MenuGroup",
1164
1166
  props: {
@@ -1187,13 +1189,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
1187
1189
  renderSlot(_ctx.$slots, "label", {}, () => [
1188
1190
  createTextVNode(toDisplayString(props.label), 1)
1189
1191
  ])
1190
- ], 10, _hoisted_2$9)) : createCommentVNode("", true),
1192
+ ], 10, _hoisted_2$a)) : createCommentVNode("", true),
1191
1193
  renderSlot(_ctx.$slots, "default")
1192
- ], 16, _hoisted_1$e);
1194
+ ], 16, _hoisted_1$f);
1193
1195
  };
1194
1196
  }
1195
1197
  });
1196
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
1198
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
1197
1199
  ...{ name: "MenuLabel", inheritAttrs: false },
1198
1200
  __name: "MenuLabel",
1199
1201
  setup(__props, { expose: __expose }) {
@@ -1215,7 +1217,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1215
1217
  };
1216
1218
  }
1217
1219
  });
1218
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
1220
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1219
1221
  ...{ name: "MenuSeparator", inheritAttrs: false },
1220
1222
  __name: "MenuSeparator",
1221
1223
  setup(__props, { expose: __expose }) {
@@ -1242,7 +1244,7 @@ function useDropdownMenuContext() {
1242
1244
  if (!context) throw new Error("DropdownMenu.* must be used inside <DropdownMenu>");
1243
1245
  return context;
1244
1246
  }
1245
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
1247
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1246
1248
  ...{ name: "DropdownMenu", inheritAttrs: false },
1247
1249
  __name: "DropdownMenu",
1248
1250
  props: {
@@ -1296,7 +1298,7 @@ const NavExtensions = {
1296
1298
  return !node || node.matches(':disabled,[aria-disabled="true"],[data-disabled]');
1297
1299
  }
1298
1300
  };
1299
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
1301
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1300
1302
  ...{ name: "DropdownMenuTrigger", inheritAttrs: false },
1301
1303
  __name: "DropdownMenuTrigger",
1302
1304
  props: {
@@ -1351,7 +1353,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1351
1353
  };
1352
1354
  }
1353
1355
  });
1354
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
1356
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1355
1357
  ...{ name: "DropdownMenuContent", inheritAttrs: false },
1356
1358
  __name: "DropdownMenuContent",
1357
1359
  setup(__props) {
@@ -1419,7 +1421,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1419
1421
  return others;
1420
1422
  });
1421
1423
  return (_ctx, _cache) => {
1422
- return mounted.value ? (openBlock(), createBlock(_sfc_main$B, mergeProps({
1424
+ return mounted.value ? (openBlock(), createBlock(_sfc_main$C, mergeProps({
1423
1425
  key: 0,
1424
1426
  open: mounted.value,
1425
1427
  anchor: anchor.value,
@@ -1451,7 +1453,7 @@ function useContextMenuContext() {
1451
1453
  if (!context) throw new Error("ContextMenu.* must be used inside <ContextMenu>");
1452
1454
  return context;
1453
1455
  }
1454
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1456
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1455
1457
  ...{ name: "ContextMenu", inheritAttrs: false },
1456
1458
  __name: "ContextMenu",
1457
1459
  setup(__props) {
@@ -1494,7 +1496,7 @@ function makeVirtualAnchor(x, y, document2) {
1494
1496
  document2.body.appendChild(el);
1495
1497
  return el;
1496
1498
  }
1497
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1499
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1498
1500
  ...{ name: "ContextMenuTrigger", inheritAttrs: false },
1499
1501
  __name: "ContextMenuTrigger",
1500
1502
  props: {
@@ -1603,7 +1605,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1603
1605
  };
1604
1606
  }
1605
1607
  });
1606
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
1608
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1607
1609
  ...{ name: "ContextMenuContent", inheritAttrs: false },
1608
1610
  __name: "ContextMenuContent",
1609
1611
  props: {
@@ -1621,7 +1623,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1621
1623
  return others;
1622
1624
  });
1623
1625
  return (_ctx, _cache) => {
1624
- return openBlock(), createBlock(_sfc_main$B, mergeProps({
1626
+ return openBlock(), createBlock(_sfc_main$C, mergeProps({
1625
1627
  open: unref(isOpen),
1626
1628
  anchor: unref(anchor),
1627
1629
  "return-focus": () => unref(context).restoreFocus.current,
@@ -1657,7 +1659,7 @@ const menubarVariants = tv({
1657
1659
  const menubarTriggerVariants = tv({
1658
1660
  base: "inline-flex select-none items-center rounded-sm px-3 py-1 text-sm font-medium text-foreground outline-hidden transition-colors hover:bg-muted focus-visible:bg-muted data-[state=open]:bg-muted"
1659
1661
  });
1660
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
1662
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1661
1663
  ...{ name: "Menubar", inheritAttrs: false },
1662
1664
  __name: "Menubar",
1663
1665
  props: {
@@ -1720,7 +1722,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1720
1722
  });
1721
1723
  __expose({ el: rootElement });
1722
1724
  return (_ctx, _cache) => {
1723
- return openBlock(), createBlock(unref(_sfc_main$J), mergeProps({
1725
+ return openBlock(), createBlock(unref(_sfc_main$K), mergeProps({
1724
1726
  ref_key: "el",
1725
1727
  ref: el,
1726
1728
  orientation: "horizontal",
@@ -1735,7 +1737,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1735
1737
  };
1736
1738
  }
1737
1739
  });
1738
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
1740
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1739
1741
  ...{ name: "MenubarMenu", inheritAttrs: false },
1740
1742
  __name: "MenubarMenu",
1741
1743
  props: {
@@ -1757,8 +1759,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1757
1759
  };
1758
1760
  }
1759
1761
  });
1760
- const _hoisted_1$d = ["aria-expanded", "data-state", "tabindex"];
1761
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
1762
+ const _hoisted_1$e = ["aria-expanded", "data-state", "tabindex"];
1763
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1762
1764
  ...{ name: "MenubarTrigger", inheritAttrs: false },
1763
1765
  __name: "MenubarTrigger",
1764
1766
  setup(__props, { expose: __expose }) {
@@ -1840,11 +1842,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1840
1842
  onKeydown: handleKeydown
1841
1843
  }), [
1842
1844
  renderSlot(_ctx.$slots, "default")
1843
- ], 16, _hoisted_1$d);
1845
+ ], 16, _hoisted_1$e);
1844
1846
  };
1845
1847
  }
1846
1848
  });
1847
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1849
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1848
1850
  ...{ name: "MenubarContent", inheritAttrs: false },
1849
1851
  __name: "MenubarContent",
1850
1852
  props: {
@@ -1874,7 +1876,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1874
1876
  }
1875
1877
  }
1876
1878
  return (_ctx, _cache) => {
1877
- return openBlock(), createBlock(_sfc_main$B, mergeProps({
1879
+ return openBlock(), createBlock(_sfc_main$C, mergeProps({
1878
1880
  open: unref(isOpen),
1879
1881
  anchor: anchor.value,
1880
1882
  placement: __props.placement,
@@ -1905,9 +1907,9 @@ function useNavigationMenuItemContext() {
1905
1907
  }
1906
1908
  return context;
1907
1909
  }
1908
- const _hoisted_1$c = ["aria-label"];
1910
+ const _hoisted_1$d = ["aria-label"];
1909
1911
  const DefaultAriaLabel = "Main navigation";
1910
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1912
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1911
1913
  ...{ name: "NavigationMenu", inheritAttrs: false },
1912
1914
  __name: "NavigationMenu",
1913
1915
  props: {
@@ -1943,11 +1945,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1943
1945
  "aria-label": ariaLabel.value
1944
1946
  }, rest.value, { class: classes.value }), [
1945
1947
  renderSlot(_ctx.$slots, "default")
1946
- ], 16, _hoisted_1$c);
1948
+ ], 16, _hoisted_1$d);
1947
1949
  };
1948
1950
  }
1949
1951
  });
1950
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
1952
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1951
1953
  ...{ name: "NavigationMenuList", inheritAttrs: false },
1952
1954
  __name: "NavigationMenuList",
1953
1955
  setup(__props, { expose: __expose }) {
@@ -1965,7 +1967,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1965
1967
  });
1966
1968
  __expose({ el: rootElement });
1967
1969
  return (_ctx, _cache) => {
1968
- return openBlock(), createBlock(unref(_sfc_main$J), mergeProps({
1970
+ return openBlock(), createBlock(unref(_sfc_main$K), mergeProps({
1969
1971
  ref_key: "el",
1970
1972
  ref: el,
1971
1973
  orientation: "horizontal",
@@ -1980,7 +1982,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1980
1982
  };
1981
1983
  }
1982
1984
  });
1983
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1985
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1984
1986
  ...{ name: "NavigationMenuItem", inheritAttrs: false },
1985
1987
  __name: "NavigationMenuItem",
1986
1988
  props: {
@@ -2017,8 +2019,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2017
2019
  };
2018
2020
  }
2019
2021
  });
2020
- const _hoisted_1$b = ["id", "aria-expanded", "aria-controls", "data-state", "tabindex"];
2021
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
2022
+ const _hoisted_1$c = ["id", "aria-expanded", "aria-controls", "data-state", "tabindex"];
2023
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2022
2024
  ...{ name: "NavigationMenuTrigger", inheritAttrs: false },
2023
2025
  __name: "NavigationMenuTrigger",
2024
2026
  setup(__props, { expose: __expose }) {
@@ -2105,12 +2107,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2105
2107
  createVNode(unref(ChevronDown), {
2106
2108
  class: normalizeClass(unref(cn)("h-4 w-4 transition-transform", unref(isOpen) && "rotate-180"))
2107
2109
  }, null, 8, ["class"])
2108
- ], 16, _hoisted_1$b);
2110
+ ], 16, _hoisted_1$c);
2109
2111
  };
2110
2112
  }
2111
2113
  });
2112
- const _hoisted_1$a = ["id", "aria-labelledby"];
2113
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
2114
+ const _hoisted_1$b = ["id", "aria-labelledby"];
2115
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2114
2116
  ...{ name: "NavigationMenuContent", inheritAttrs: false },
2115
2117
  __name: "NavigationMenuContent",
2116
2118
  setup(__props, { expose: __expose }) {
@@ -2170,16 +2172,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2170
2172
  });
2171
2173
  __expose({ el });
2172
2174
  return (_ctx, _cache) => {
2173
- return mounted.value ? (openBlock(), createBlock(unref(_sfc_main$F), { key: 0 }, {
2175
+ return mounted.value ? (openBlock(), createBlock(unref(_sfc_main$G), { key: 0 }, {
2174
2176
  default: withCtx(() => [
2175
- createVNode(unref(_sfc_main$G), {
2177
+ createVNode(unref(_sfc_main$H), {
2176
2178
  anchor: anchor.value,
2177
2179
  placement: "bottom-start",
2178
2180
  offset: 6,
2179
2181
  class: "z-dropdown"
2180
2182
  }, {
2181
2183
  default: withCtx(() => [
2182
- createVNode(unref(_sfc_main$I), {
2184
+ createVNode(unref(_sfc_main$J), {
2183
2185
  "on-escape": handleClose,
2184
2186
  "on-outside-pointer-down": handleOutsidePointerDown
2185
2187
  }, {
@@ -2195,7 +2197,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2195
2197
  onAnimationend: handleAnimationEnd
2196
2198
  }), [
2197
2199
  renderSlot(_ctx.$slots, "default")
2198
- ], 16, _hoisted_1$a)
2200
+ ], 16, _hoisted_1$b)
2199
2201
  ]),
2200
2202
  _: 3
2201
2203
  }, 8, ["is-present"])
@@ -2211,8 +2213,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2211
2213
  };
2212
2214
  }
2213
2215
  });
2214
- const _hoisted_1$9 = ["tabindex"];
2215
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
2216
+ const _hoisted_1$a = ["tabindex"];
2217
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2216
2218
  ...{ name: "NavigationMenuLink", inheritAttrs: false },
2217
2219
  __name: "NavigationMenuLink",
2218
2220
  setup(__props, { expose: __expose }) {
@@ -2252,7 +2254,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2252
2254
  onKeydown: handleKeydown
2253
2255
  }), [
2254
2256
  renderSlot(_ctx.$slots, "default")
2255
- ], 16, _hoisted_1$9);
2257
+ ], 16, _hoisted_1$a);
2256
2258
  };
2257
2259
  }
2258
2260
  });
@@ -2317,7 +2319,7 @@ function useScrollSpy(ids, options = {}) {
2317
2319
  );
2318
2320
  return activeId;
2319
2321
  }
2320
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
2322
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2321
2323
  ...{ name: "ScrollSpy" },
2322
2324
  __name: "ScrollSpy",
2323
2325
  props: {
@@ -2341,14 +2343,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2341
2343
  };
2342
2344
  }
2343
2345
  });
2344
- const _hoisted_1$8 = ["aria-label"];
2345
- const _hoisted_2$8 = { class: "space-y-1 text-sm" };
2346
- const _hoisted_3$5 = ["href", "aria-current", "onClick"];
2346
+ const _hoisted_1$9 = ["aria-label"];
2347
+ const _hoisted_2$9 = { class: "space-y-1 text-sm" };
2348
+ const _hoisted_3$6 = ["href", "aria-current", "onClick"];
2347
2349
  function depthFromTagName(tag) {
2348
2350
  const match = /^H([1-6])$/i.exec(tag);
2349
2351
  return match ? Number(match[1]) - 2 : 0;
2350
2352
  }
2351
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2353
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2352
2354
  ...{ name: "TableOfContents", inheritAttrs: false },
2353
2355
  __name: "TableOfContents",
2354
2356
  props: {
@@ -2406,7 +2408,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2406
2408
  ref: el,
2407
2409
  "aria-label": unref(locale).t("TableOfContents.tableOfContents", void 0, "Table of contents")
2408
2410
  }, rest.value, { class: classes.value }), [
2409
- createElementVNode("ul", _hoisted_2$8, [
2411
+ createElementVNode("ul", _hoisted_2$9, [
2410
2412
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, i) => {
2411
2413
  return openBlock(), createElementBlock("li", {
2412
2414
  key: item.id,
@@ -2429,11 +2431,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2429
2431
  }, () => [
2430
2432
  createTextVNode(toDisplayString(item.label), 1)
2431
2433
  ])
2432
- ], 10, _hoisted_3$5)
2434
+ ], 10, _hoisted_3$6)
2433
2435
  ], 4);
2434
2436
  }), 128))
2435
2437
  ])
2436
- ], 16, _hoisted_1$8)) : createCommentVNode("", true);
2438
+ ], 16, _hoisted_1$9)) : createCommentVNode("", true);
2437
2439
  };
2438
2440
  }
2439
2441
  });
@@ -2479,7 +2481,7 @@ const linkVariants = tv({
2479
2481
  size: "md"
2480
2482
  }
2481
2483
  });
2482
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2484
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2483
2485
  ...{ name: "LinkItem", inheritAttrs: false },
2484
2486
  __name: "LinkItem",
2485
2487
  props: {
@@ -2520,12 +2522,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2520
2522
  };
2521
2523
  }
2522
2524
  });
2523
- const _hoisted_1$7 = ["aria-label"];
2524
- const _hoisted_2$7 = {
2525
+ const _hoisted_1$8 = ["aria-label"];
2526
+ const _hoisted_2$8 = {
2525
2527
  role: "list",
2526
2528
  class: "mx-auto grid max-w-lg auto-cols-fr grid-flow-col"
2527
2529
  };
2528
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2530
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2529
2531
  ...{ name: "BottomNavMenu", inheritAttrs: false },
2530
2532
  __name: "BottomNavMenu",
2531
2533
  props: {
@@ -2554,28 +2556,28 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2554
2556
  "aria-label": landmarkName.value,
2555
2557
  class: classes.value
2556
2558
  }), [
2557
- createElementVNode("ul", _hoisted_2$7, [
2559
+ createElementVNode("ul", _hoisted_2$8, [
2558
2560
  renderSlot(_ctx.$slots, "default")
2559
2561
  ])
2560
- ], 16, _hoisted_1$7);
2562
+ ], 16, _hoisted_1$8);
2561
2563
  };
2562
2564
  }
2563
2565
  });
2564
- const _hoisted_1$6 = { class: "flex" };
2565
- const _hoisted_2$6 = {
2566
+ const _hoisted_1$7 = { class: "flex" };
2567
+ const _hoisted_2$7 = {
2566
2568
  key: 0,
2567
2569
  class: "relative inline-flex"
2568
2570
  };
2569
- const _hoisted_3$4 = {
2571
+ const _hoisted_3$5 = {
2570
2572
  key: 0,
2571
2573
  class: "inline-flex",
2572
2574
  "aria-hidden": "true"
2573
2575
  };
2574
- const _hoisted_4$3 = {
2576
+ const _hoisted_4$4 = {
2575
2577
  key: 2,
2576
2578
  class: "max-w-full truncate"
2577
2579
  };
2578
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2580
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2579
2581
  ...{ name: "BottomNavMenuItem", inheritAttrs: false },
2580
2582
  __name: "BottomNavMenuItem",
2581
2583
  props: {
@@ -2602,7 +2604,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2602
2604
  const el = computed(() => resolveElement(inner.value));
2603
2605
  __expose({ el });
2604
2606
  return (_ctx, _cache) => {
2605
- return openBlock(), createElementBlock("li", _hoisted_1$6, [
2607
+ return openBlock(), createElementBlock("li", _hoisted_1$7, [
2606
2608
  createVNode(unref(Primitive), mergeProps({
2607
2609
  ref_key: "inner",
2608
2610
  ref: inner,
@@ -2612,8 +2614,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2612
2614
  "data-active": unref(dataAttr)(props.isActive)
2613
2615
  }, rest.value, { class: classes.value }), {
2614
2616
  default: withCtx(() => [
2615
- _ctx.$slots.icon || _ctx.$slots.badge ? (openBlock(), createElementBlock("span", _hoisted_2$6, [
2616
- _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_3$4, [
2617
+ _ctx.$slots.icon || _ctx.$slots.badge ? (openBlock(), createElementBlock("span", _hoisted_2$7, [
2618
+ _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_3$5, [
2617
2619
  renderSlot(_ctx.$slots, "icon")
2618
2620
  ])) : createCommentVNode("", true),
2619
2621
  _ctx.$slots.badge ? (openBlock(), createElementBlock("span", {
@@ -2628,7 +2630,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2628
2630
  renderSlot(_ctx.$slots, "default")
2629
2631
  ]),
2630
2632
  _: 3
2631
- })) : (openBlock(), createElementBlock("span", _hoisted_4$3, [
2633
+ })) : (openBlock(), createElementBlock("span", _hoisted_4$4, [
2632
2634
  renderSlot(_ctx.$slots, "default")
2633
2635
  ]))
2634
2636
  ]),
@@ -2643,12 +2645,12 @@ const Standalone = { isCollapsed: false };
2643
2645
  function useSidebarMenuContext() {
2644
2646
  return inject(SidebarMenuKey, Standalone);
2645
2647
  }
2646
- const _hoisted_1$5 = ["aria-label", "data-collapsed"];
2647
- const _hoisted_2$5 = {
2648
+ const _hoisted_1$6 = ["aria-label", "data-collapsed"];
2649
+ const _hoisted_2$6 = {
2648
2650
  role: "list",
2649
2651
  class: "flex flex-col gap-0.5"
2650
2652
  };
2651
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2653
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2652
2654
  ...{ name: "SidebarMenu", inheritAttrs: false },
2653
2655
  __name: "SidebarMenu",
2654
2656
  props: {
@@ -2677,24 +2679,24 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2677
2679
  "data-collapsed": unref(dataAttr)(props.isCollapsed),
2678
2680
  class: classes.value
2679
2681
  }), [
2680
- createElementVNode("ul", _hoisted_2$5, [
2682
+ createElementVNode("ul", _hoisted_2$6, [
2681
2683
  renderSlot(_ctx.$slots, "default")
2682
2684
  ])
2683
- ], 16, _hoisted_1$5);
2685
+ ], 16, _hoisted_1$6);
2684
2686
  };
2685
2687
  }
2686
2688
  });
2687
- const _hoisted_1$4 = { class: "flex" };
2688
- const _hoisted_2$4 = {
2689
+ const _hoisted_1$5 = { class: "flex" };
2690
+ const _hoisted_2$5 = {
2689
2691
  key: 0,
2690
2692
  class: "inline-flex shrink-0 text-muted-foreground group-data-[active]:text-current",
2691
2693
  "aria-hidden": "true"
2692
2694
  };
2693
- const _hoisted_3$3 = {
2695
+ const _hoisted_3$4 = {
2694
2696
  key: 3,
2695
2697
  class: "ms-auto shrink-0"
2696
2698
  };
2697
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2699
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2698
2700
  ...{ name: "SidebarMenuItem", inheritAttrs: false },
2699
2701
  __name: "SidebarMenuItem",
2700
2702
  props: {
@@ -2722,7 +2724,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2722
2724
  const el = computed(() => resolveElement(inner.value));
2723
2725
  __expose({ el });
2724
2726
  return (_ctx, _cache) => {
2725
- return openBlock(), createElementBlock("li", _hoisted_1$4, [
2727
+ return openBlock(), createElementBlock("li", _hoisted_1$5, [
2726
2728
  createVNode(unref(Primitive), mergeProps({
2727
2729
  ref_key: "inner",
2728
2730
  ref: inner,
@@ -2732,7 +2734,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2732
2734
  "data-active": unref(dataAttr)(props.isActive)
2733
2735
  }, rest.value, { class: classes.value }), {
2734
2736
  default: withCtx(() => [
2735
- _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$4, [
2737
+ _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$5, [
2736
2738
  renderSlot(_ctx.$slots, "icon")
2737
2739
  ])) : createCommentVNode("", true),
2738
2740
  props.asChild ? (openBlock(), createBlock(unref(Slottable), { key: 1 }, {
@@ -2746,7 +2748,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2746
2748
  }, [
2747
2749
  renderSlot(_ctx.$slots, "default")
2748
2750
  ], 2)),
2749
- _ctx.$slots.trailing && !unref(context).isCollapsed ? (openBlock(), createElementBlock("span", _hoisted_3$3, [
2751
+ _ctx.$slots.trailing && !unref(context).isCollapsed ? (openBlock(), createElementBlock("span", _hoisted_3$4, [
2750
2752
  renderSlot(_ctx.$slots, "trailing")
2751
2753
  ])) : createCommentVNode("", true)
2752
2754
  ]),
@@ -2756,15 +2758,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2756
2758
  };
2757
2759
  }
2758
2760
  });
2759
- const _hoisted_1$3 = ["data-state"];
2760
- const _hoisted_2$3 = ["aria-expanded", "aria-controls"];
2761
- const _hoisted_3$2 = {
2761
+ const _hoisted_1$4 = ["data-state"];
2762
+ const _hoisted_2$4 = ["aria-expanded", "aria-controls"];
2763
+ const _hoisted_3$3 = {
2762
2764
  key: 0,
2763
2765
  class: "inline-flex shrink-0 text-muted-foreground",
2764
2766
  "aria-hidden": "true"
2765
2767
  };
2766
- const _hoisted_4$2 = ["id", "aria-label"];
2767
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2768
+ const _hoisted_4$3 = ["id", "aria-label"];
2769
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2768
2770
  ...{ name: "SidebarMenuGroup", inheritAttrs: false },
2769
2771
  __name: "SidebarMenuGroup",
2770
2772
  props: {
@@ -2818,7 +2820,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2818
2820
  class: normalizeClass(toggleClasses.value),
2819
2821
  onClick: toggle
2820
2822
  }, [
2821
- _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_3$2, [
2823
+ _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_3$3, [
2822
2824
  renderSlot(_ctx.$slots, "icon")
2823
2825
  ])) : createCommentVNode("", true),
2824
2826
  createElementVNode("span", {
@@ -2829,7 +2831,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2829
2831
  class: normalizeClass(unref(cn)("size-4 shrink-0 text-muted-foreground transition-transform", unref(isOpen) && "rotate-90")),
2830
2832
  "aria-hidden": "true"
2831
2833
  }, null, 8, ["class"])) : createCommentVNode("", true)
2832
- ], 10, _hoisted_2$3),
2834
+ ], 10, _hoisted_2$4),
2833
2835
  withDirectives(createElementVNode("ul", {
2834
2836
  id: unref(listId),
2835
2837
  role: "list",
@@ -2837,16 +2839,16 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2837
2839
  class: normalizeClass(listClasses.value)
2838
2840
  }, [
2839
2841
  renderSlot(_ctx.$slots, "default")
2840
- ], 10, _hoisted_4$2), [
2842
+ ], 10, _hoisted_4$3), [
2841
2843
  [vShow, isShown.value]
2842
2844
  ])
2843
- ], 16, _hoisted_1$3);
2845
+ ], 16, _hoisted_1$4);
2844
2846
  };
2845
2847
  }
2846
2848
  });
2847
- const _hoisted_1$2 = ["id"];
2848
- const _hoisted_2$2 = ["aria-labelledby"];
2849
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2849
+ const _hoisted_1$3 = ["id"];
2850
+ const _hoisted_2$3 = ["aria-labelledby"];
2851
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2850
2852
  ...{ name: "SidebarMenuSection", inheritAttrs: false },
2851
2853
  __name: "SidebarMenuSection",
2852
2854
  props: {
@@ -2873,52 +2875,52 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2873
2875
  createElementVNode("span", {
2874
2876
  id: unref(labelId),
2875
2877
  class: normalizeClass(unref(context).isCollapsed ? "sr-only" : "px-2.5 pb-1 text-xs font-medium text-muted-foreground")
2876
- }, toDisplayString(props.label), 11, _hoisted_1$2),
2878
+ }, toDisplayString(props.label), 11, _hoisted_1$3),
2877
2879
  createElementVNode("ul", {
2878
2880
  role: "list",
2879
2881
  "aria-labelledby": unref(labelId),
2880
2882
  class: "flex flex-col gap-0.5"
2881
2883
  }, [
2882
2884
  renderSlot(_ctx.$slots, "default")
2883
- ], 8, _hoisted_2$2)
2885
+ ], 8, _hoisted_2$3)
2884
2886
  ], 16);
2885
2887
  };
2886
2888
  }
2887
2889
  });
2888
- const _hoisted_1$1 = { class: "flex flex-col gap-3" };
2889
- const _hoisted_2$1 = {
2890
+ const _hoisted_1$2 = { class: "flex flex-col gap-3" };
2891
+ const _hoisted_2$2 = {
2890
2892
  key: 0,
2891
2893
  role: "list",
2892
2894
  class: "grid grid-cols-1 gap-1 sm:grid-cols-2"
2893
2895
  };
2894
- const _hoisted_3$1 = { class: "min-w-0" };
2895
- const _hoisted_4$1 = { class: "block truncate text-sm font-semibold text-primary-soft-foreground" };
2896
- const _hoisted_5$1 = {
2896
+ const _hoisted_3$2 = { class: "min-w-0" };
2897
+ const _hoisted_4$2 = { class: "block truncate text-sm font-semibold text-primary-soft-foreground" };
2898
+ const _hoisted_5$2 = {
2897
2899
  key: 0,
2898
2900
  class: "block truncate text-xs text-muted-foreground"
2899
2901
  };
2900
- const _hoisted_6$1 = ["href", "onClick"];
2901
- const _hoisted_7$1 = { class: "min-w-0" };
2902
- const _hoisted_8 = { class: "block truncate text-sm font-semibold text-foreground" };
2903
- const _hoisted_9 = {
2902
+ const _hoisted_6$2 = ["href", "onClick"];
2903
+ const _hoisted_7$2 = { class: "min-w-0" };
2904
+ const _hoisted_8$1 = { class: "block truncate text-sm font-semibold text-foreground" };
2905
+ const _hoisted_9$1 = {
2904
2906
  key: 0,
2905
2907
  class: "block truncate text-xs text-muted-foreground"
2906
2908
  };
2907
- const _hoisted_10 = {
2909
+ const _hoisted_10$1 = {
2908
2910
  key: 0,
2909
2911
  "aria-hidden": "true",
2910
2912
  class: "h-px bg-border",
2911
2913
  "data-app-switcher-divider": ""
2912
2914
  };
2913
- const _hoisted_11 = ["id"];
2914
- const _hoisted_12 = ["aria-labelledby"];
2915
+ const _hoisted_11$1 = ["id"];
2916
+ const _hoisted_12$1 = ["aria-labelledby"];
2915
2917
  const _hoisted_13 = ["href", "onClick"];
2916
2918
  const _hoisted_14 = { class: "sr-only" };
2917
2919
  const FocusClass = "outline-hidden focus-visible:ring-2 focus-visible:ring-ring";
2918
2920
  const TileClass = `flex min-h-14 w-full items-center gap-3 rounded-xl px-2.5 py-2 text-start transition-colors motion-reduce:transition-none ${FocusClass}`;
2919
2921
  const TileIconClass = "grid size-9 shrink-0 place-items-center rounded-lg border text-sm font-semibold forced-colors:border-[CanvasText]";
2920
2922
  const SiteClass = `inline-flex min-h-9 items-center gap-1.5 rounded-lg border px-3 text-sm transition-colors motion-reduce:transition-none ${FocusClass}`;
2921
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2923
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2922
2924
  ...{ name: "AppSwitcherMenuPanel", inheritAttrs: false },
2923
2925
  __name: "AppSwitcherMenuPanel",
2924
2926
  props: {
@@ -2944,8 +2946,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2944
2946
  emit("close");
2945
2947
  }
2946
2948
  return (_ctx, _cache) => {
2947
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
2948
- props.apps.length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_2$1, [
2949
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
2950
+ props.apps.length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_2$2, [
2949
2951
  (openBlock(true), createElementBlock(Fragment, null, renderList(props.apps, (app) => {
2950
2952
  return openBlock(), createElementBlock("li", {
2951
2953
  key: app.key
@@ -2962,7 +2964,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2962
2964
  class: normalizeClass(unref(cn)(TileIconClass, "border-transparent bg-primary text-primary-foreground")),
2963
2965
  "data-app-switcher-icon": ""
2964
2966
  }, [
2965
- app.icon ? (openBlock(), createBlock(unref(_sfc_main$E), {
2967
+ app.icon ? (openBlock(), createBlock(unref(_sfc_main$F), {
2966
2968
  key: 0,
2967
2969
  icon: app.icon,
2968
2970
  size: 18
@@ -2970,9 +2972,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2970
2972
  createTextVNode(toDisplayString(initialOf(app.label)), 1)
2971
2973
  ], 64))
2972
2974
  ], 2),
2973
- createElementVNode("span", _hoisted_3$1, [
2974
- createElementVNode("span", _hoisted_4$1, toDisplayString(app.label), 1),
2975
- app.description ? (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(app.description), 1)) : createCommentVNode("", true)
2975
+ createElementVNode("span", _hoisted_3$2, [
2976
+ createElementVNode("span", _hoisted_4$2, toDisplayString(app.label), 1),
2977
+ app.description ? (openBlock(), createElementBlock("span", _hoisted_5$2, toDisplayString(app.description), 1)) : createCommentVNode("", true)
2976
2978
  ])
2977
2979
  ], 2)) : (openBlock(), createElementBlock("a", {
2978
2980
  key: 1,
@@ -2985,7 +2987,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2985
2987
  class: normalizeClass(unref(cn)(TileIconClass, "border-primary/10 bg-primary-soft/70 text-primary-soft-foreground")),
2986
2988
  "data-app-switcher-icon": ""
2987
2989
  }, [
2988
- app.icon ? (openBlock(), createBlock(unref(_sfc_main$E), {
2990
+ app.icon ? (openBlock(), createBlock(unref(_sfc_main$F), {
2989
2991
  key: 0,
2990
2992
  icon: app.icon,
2991
2993
  size: 18
@@ -2993,20 +2995,20 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2993
2995
  createTextVNode(toDisplayString(initialOf(app.label)), 1)
2994
2996
  ], 64))
2995
2997
  ], 2),
2996
- createElementVNode("span", _hoisted_7$1, [
2997
- createElementVNode("span", _hoisted_8, toDisplayString(app.label), 1),
2998
- app.description ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(app.description), 1)) : createCommentVNode("", true)
2998
+ createElementVNode("span", _hoisted_7$2, [
2999
+ createElementVNode("span", _hoisted_8$1, toDisplayString(app.label), 1),
3000
+ app.description ? (openBlock(), createElementBlock("span", _hoisted_9$1, toDisplayString(app.description), 1)) : createCommentVNode("", true)
2999
3001
  ])
3000
- ], 10, _hoisted_6$1))
3002
+ ], 10, _hoisted_6$2))
3001
3003
  ]);
3002
3004
  }), 128))
3003
3005
  ])) : createCommentVNode("", true),
3004
3006
  props.sites.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3005
- props.apps.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_10)) : createCommentVNode("", true),
3007
+ props.apps.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_10$1)) : createCommentVNode("", true),
3006
3008
  createElementVNode("h3", {
3007
3009
  id: unref(sitesId),
3008
3010
  class: "px-1 text-xs font-semibold uppercase tracking-wider text-muted-foreground"
3009
- }, toDisplayString(props.sitesLabel), 9, _hoisted_11),
3011
+ }, toDisplayString(props.sitesLabel), 9, _hoisted_11$1),
3010
3012
  createElementVNode("ul", {
3011
3013
  role: "list",
3012
3014
  "aria-labelledby": unref(sitesId),
@@ -3031,7 +3033,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3031
3033
  onClick: ($event) => pick(site, $event)
3032
3034
  }, [
3033
3035
  createTextVNode(toDisplayString(site.label), 1),
3034
- createVNode(unref(_sfc_main$E), {
3036
+ createVNode(unref(_sfc_main$F), {
3035
3037
  icon: unref(ExternalLink),
3036
3038
  size: 14
3037
3039
  }, null, 8, ["icon"]),
@@ -3039,7 +3041,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3039
3041
  ], 10, _hoisted_13))
3040
3042
  ]);
3041
3043
  }), 128))
3042
- ], 8, _hoisted_12)
3044
+ ], 8, _hoisted_12$1)
3043
3045
  ], 64)) : createCommentVNode("", true)
3044
3046
  ]);
3045
3047
  };
@@ -3060,17 +3062,17 @@ const AppSwitcherMenuExtensions = {
3060
3062
  }
3061
3063
  }
3062
3064
  };
3063
- const _hoisted_1 = ["aria-expanded", "aria-label", "data-state"];
3064
- const _hoisted_2 = {
3065
+ const _hoisted_1$1 = ["aria-expanded", "aria-label", "data-state"];
3066
+ const _hoisted_2$1 = {
3065
3067
  "aria-hidden": "true",
3066
3068
  class: "flex shrink-0",
3067
3069
  "data-app-switcher-mark": ""
3068
3070
  };
3069
- const _hoisted_3 = { class: "grid size-9 place-items-center rounded-lg bg-primary text-primary-foreground" };
3070
- const _hoisted_4 = { class: "min-w-0" };
3071
- const _hoisted_5 = { class: "block truncate text-sm font-semibold leading-tight" };
3072
- const _hoisted_6 = ["id"];
3073
- const _hoisted_7 = { class: "mb-4 flex shrink-0 items-center justify-between gap-3" };
3071
+ const _hoisted_3$1 = { class: "grid size-9 place-items-center rounded-lg bg-primary text-primary-foreground" };
3072
+ const _hoisted_4$1 = { class: "min-w-0" };
3073
+ const _hoisted_5$1 = { class: "block truncate text-sm font-semibold leading-tight" };
3074
+ const _hoisted_6$1 = ["id"];
3075
+ const _hoisted_7$1 = { class: "mb-4 flex shrink-0 items-center justify-between gap-3" };
3074
3076
  const AppSwitcherKind = {
3075
3077
  /** Refers to a workspace app — a tile that opens in the same tab. */
3076
3078
  App: "app",
@@ -3084,7 +3086,7 @@ const NarrowHiddenClass = {
3084
3086
  xl: "max-xl:hidden",
3085
3087
  "2xl": "max-2xl:hidden"
3086
3088
  };
3087
- const _sfc_main = /* @__PURE__ */ defineComponent({
3089
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3088
3090
  ...{ name: "AppSwitcherMenu", inheritAttrs: false },
3089
3091
  __name: "AppSwitcherMenu",
3090
3092
  props: {
@@ -3176,13 +3178,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3176
3178
  __expose({ el });
3177
3179
  return (_ctx, _cache) => {
3178
3180
  return openBlock(), createElementBlock(Fragment, null, [
3179
- createVNode(_sfc_main$K, {
3181
+ createVNode(_sfc_main$L, {
3180
3182
  open: unref(isOpen) && unref(isWide),
3181
3183
  placement: "bottom-start",
3182
3184
  "onUpdate:open": setOpen
3183
3185
  }, {
3184
3186
  default: withCtx(() => [
3185
- createVNode(_sfc_main$L, {
3187
+ createVNode(_sfc_main$M, {
3186
3188
  ref_key: "trigger",
3187
3189
  ref: trigger,
3188
3190
  "as-child": ""
@@ -3195,35 +3197,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3195
3197
  "aria-label": triggerName.value,
3196
3198
  "data-state": unref(isOpen) ? "open" : "closed"
3197
3199
  }, rest.value, { class: triggerClasses.value }), [
3198
- createElementVNode("span", _hoisted_2, [
3200
+ createElementVNode("span", _hoisted_2$1, [
3199
3201
  renderSlot(_ctx.$slots, "mark", { current: currentItem.value }, () => [
3200
- createElementVNode("span", _hoisted_3, [
3201
- createVNode(unref(_sfc_main$E), {
3202
+ createElementVNode("span", _hoisted_3$1, [
3203
+ createVNode(unref(_sfc_main$F), {
3202
3204
  icon: unref(LayoutGrid),
3203
3205
  size: 18
3204
3206
  }, null, 8, ["icon"])
3205
3207
  ])
3206
3208
  ])
3207
3209
  ]),
3208
- createElementVNode("span", _hoisted_4, [
3209
- createElementVNode("span", _hoisted_5, toDisplayString(appName.value), 1),
3210
+ createElementVNode("span", _hoisted_4$1, [
3211
+ createElementVNode("span", _hoisted_5$1, toDisplayString(appName.value), 1),
3210
3212
  unref(props).subtitle ? (openBlock(), createElementBlock("span", {
3211
3213
  key: 0,
3212
3214
  class: normalizeClass(subtitleClasses.value),
3213
3215
  "data-app-switcher-subtitle": ""
3214
3216
  }, toDisplayString(unref(props).subtitle), 3)) : createCommentVNode("", true)
3215
3217
  ]),
3216
- createVNode(unref(_sfc_main$E), {
3218
+ createVNode(unref(_sfc_main$F), {
3217
3219
  icon: unref(ChevronDown),
3218
3220
  size: 16,
3219
3221
  class: "shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]/app-switcher:rotate-180 motion-reduce:transition-none",
3220
3222
  "data-app-switcher-chevron": ""
3221
3223
  }, null, 8, ["icon"])
3222
- ], 16, _hoisted_1)
3224
+ ], 16, _hoisted_1$1)
3223
3225
  ]),
3224
3226
  _: 3
3225
3227
  }, 512),
3226
- unref(isWide) ? (openBlock(), createBlock(_sfc_main$M, {
3228
+ unref(isWide) ? (openBlock(), createBlock(_sfc_main$N, {
3227
3229
  key: 0,
3228
3230
  "aria-labelledby": unref(titleId),
3229
3231
  variant: unref(props).variant,
@@ -3234,8 +3236,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3234
3236
  createElementVNode("h2", {
3235
3237
  id: unref(titleId),
3236
3238
  class: "mb-3 px-1 text-xs font-semibold uppercase tracking-wider text-muted-foreground"
3237
- }, toDisplayString(unref(props).title), 9, _hoisted_6),
3238
- createVNode(_sfc_main$1, {
3239
+ }, toDisplayString(unref(props).title), 9, _hoisted_6$1),
3240
+ createVNode(_sfc_main$2, {
3239
3241
  apps: apps.value,
3240
3242
  sites: sites.value,
3241
3243
  current: unref(props).current,
@@ -3250,32 +3252,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3250
3252
  ]),
3251
3253
  _: 3
3252
3254
  }, 8, ["open"]),
3253
- !unref(isWide) ? (openBlock(), createBlock(_sfc_main$N, {
3255
+ !unref(isWide) ? (openBlock(), createBlock(_sfc_main$O, {
3254
3256
  key: 0,
3255
3257
  open: unref(isOpen),
3256
3258
  "onUpdate:open": setOpen
3257
3259
  }, {
3258
3260
  default: withCtx(() => [
3259
- createVNode(_sfc_main$O, {
3261
+ createVNode(_sfc_main$P, {
3260
3262
  variant: unref(props).variant,
3261
3263
  radius: "xl",
3262
3264
  padding: "lg",
3263
3265
  class: normalizeClass(unref(props).panelClass)
3264
3266
  }, {
3265
3267
  default: withCtx(() => [
3266
- createElementVNode("div", _hoisted_7, [
3267
- createVNode(_sfc_main$P, null, {
3268
+ createElementVNode("div", _hoisted_7$1, [
3269
+ createVNode(_sfc_main$Q, null, {
3268
3270
  default: withCtx(() => [
3269
3271
  createTextVNode(toDisplayString(unref(props).title), 1)
3270
3272
  ]),
3271
3273
  _: 1
3272
3274
  }),
3273
- createVNode(_sfc_main$Q, {
3275
+ createVNode(_sfc_main$R, {
3274
3276
  "aria-label": unref(props).closeLabel,
3275
3277
  class: "static -me-2 h-11 w-11 rounded-xl"
3276
3278
  }, null, 8, ["aria-label"])
3277
3279
  ]),
3278
- createVNode(_sfc_main$1, {
3280
+ createVNode(_sfc_main$2, {
3279
3281
  apps: apps.value,
3280
3282
  sites: sites.value,
3281
3283
  current: unref(props).current,
@@ -3294,79 +3296,494 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3294
3296
  };
3295
3297
  }
3296
3298
  });
3299
+ const _hoisted_1 = ["aria-label", "aria-busy", "disabled", "data-busy"];
3300
+ const _hoisted_2 = {
3301
+ key: 1,
3302
+ "aria-hidden": "true",
3303
+ class: "grid size-8 shrink-0 place-items-center rounded-full bg-muted text-muted-foreground",
3304
+ "data-account-menu-avatar": ""
3305
+ };
3306
+ const _hoisted_3 = ["id"];
3307
+ const _hoisted_4 = {
3308
+ key: 0,
3309
+ class: "truncate text-sm font-semibold text-foreground"
3310
+ };
3311
+ const _hoisted_5 = {
3312
+ key: 1,
3313
+ class: "truncate text-xs text-muted-foreground"
3314
+ };
3315
+ const _hoisted_6 = {
3316
+ key: 2,
3317
+ class: "truncate text-xs text-muted-foreground",
3318
+ "data-account-menu-organization": ""
3319
+ };
3320
+ const _hoisted_7 = {
3321
+ class: "max-h-44 overflow-y-auto overscroll-contain",
3322
+ "data-account-menu-organization-list": ""
3323
+ };
3324
+ const _hoisted_8 = { class: "min-w-0 truncate" };
3325
+ const _hoisted_9 = {
3326
+ key: 0,
3327
+ class: "ms-auto shrink-0 text-xs text-muted-foreground"
3328
+ };
3329
+ const _hoisted_10 = { class: "min-w-0 truncate text-muted-foreground" };
3330
+ const _hoisted_11 = { class: "shrink-0 font-mono tabular-nums text-foreground" };
3331
+ const _hoisted_12 = {
3332
+ key: 0,
3333
+ class: "text-muted-foreground"
3334
+ };
3335
+ const Appearance = {
3336
+ System: "system",
3337
+ Light: "light",
3338
+ Dark: "dark"
3339
+ };
3340
+ const CommitLength = 7;
3341
+ const _sfc_main = /* @__PURE__ */ defineComponent({
3342
+ ...{ name: "AccountMenu", inheritAttrs: false },
3343
+ __name: "AccountMenu",
3344
+ props: {
3345
+ name: { default: void 0 },
3346
+ description: { default: void 0 },
3347
+ avatarSrc: { default: void 0 },
3348
+ open: { type: Boolean, default: void 0 },
3349
+ defaultOpen: { type: Boolean, default: false },
3350
+ placement: { default: "bottom-end" },
3351
+ isDisabled: { type: Boolean, default: false },
3352
+ isBusy: { type: Boolean, default: false },
3353
+ showAppearance: { type: Boolean, default: true },
3354
+ locales: { default: () => [] },
3355
+ locale: { default: void 0 },
3356
+ organizations: { default: () => [] },
3357
+ organization: { default: void 0 },
3358
+ versions: { default: () => [] },
3359
+ onSignOut: { type: Function, default: void 0 },
3360
+ menuLabel: {},
3361
+ triggerLabel: { default: void 0 },
3362
+ anonymousTriggerLabel: {},
3363
+ appearanceLabel: {},
3364
+ systemModeLabel: {},
3365
+ lightModeLabel: {},
3366
+ darkModeLabel: {},
3367
+ languageLabel: {},
3368
+ organizationLabel: {},
3369
+ versionsLabel: {},
3370
+ signOutLabel: {},
3371
+ variant: { default: void 0 },
3372
+ panelClass: { type: [Boolean, null, String, Object, Array], default: void 0 }
3373
+ },
3374
+ emits: ["update:open", "update:locale", "update:organization"],
3375
+ setup(__props, { expose: __expose, emit: __emit }) {
3376
+ const slots = useSlots();
3377
+ const componentProps = __props;
3378
+ const props = useLocaleDefaults(componentProps, "AccountMenu", {
3379
+ menuLabel: "Account",
3380
+ anonymousTriggerLabel: "Account menu",
3381
+ appearanceLabel: "Appearance",
3382
+ systemModeLabel: "System",
3383
+ lightModeLabel: "Light",
3384
+ darkModeLabel: "Dark",
3385
+ languageLabel: "Language",
3386
+ organizationLabel: "Organization",
3387
+ versionsLabel: "Versions",
3388
+ signOutLabel: "Sign out"
3389
+ });
3390
+ const emit = __emit;
3391
+ const attrs = useAttrs();
3392
+ const i18n = useLocale();
3393
+ const identityId = useId("account-menu-identity");
3394
+ const trigger = useTemplateRef("trigger");
3395
+ const colorMode = inject(ColorModeKey, null);
3396
+ const controlled = useControlled({
3397
+ controlled: () => props.open,
3398
+ default: () => props.defaultOpen,
3399
+ onChange: (value) => {
3400
+ emit("update:open", value);
3401
+ }
3402
+ });
3403
+ const isOpen = controlled.value;
3404
+ const isBlocked = computed(() => props.isDisabled || props.isBusy);
3405
+ function setOpen(open) {
3406
+ if (open && isBlocked.value) return;
3407
+ controlled.setValue(open);
3408
+ }
3409
+ watch(isBlocked, (blocked) => {
3410
+ if (blocked && isOpen.value) controlled.setValue(false);
3411
+ });
3412
+ const hasName = computed(() => (props.name ?? "").trim() !== "");
3413
+ const triggerName = computed(() => {
3414
+ if (!hasName.value) return props.anonymousTriggerLabel;
3415
+ const name = (props.name ?? "").trim();
3416
+ return props.triggerLabel === void 0 ? i18n.t("AccountMenu.triggerLabel", { name }, "Account menu for {name}") : props.triggerLabel.replaceAll("{name}", name);
3417
+ });
3418
+ const hasOrganizationSwitcher = computed(() => props.organizations.length > 1);
3419
+ const soleOrganization = computed(() => props.organizations.length === 1 ? props.organizations[0] : void 0);
3420
+ const hasIdentity = computed(() => hasName.value || Boolean(props.description) || soleOrganization.value !== void 0);
3421
+ const hasAppearance = computed(() => props.showAppearance && colorMode !== null);
3422
+ const hasLanguages = computed(() => props.locales.length > 1);
3423
+ const hasVersions = computed(() => props.versions.length > 0);
3424
+ const hasSignOut = computed(() => typeof props.onSignOut === "function");
3425
+ const appearances = computed(() => [
3426
+ { value: Appearance.System, label: props.systemModeLabel, icon: Monitor },
3427
+ { value: Appearance.Light, label: props.lightModeLabel, icon: Sun },
3428
+ { value: Appearance.Dark, label: props.darkModeLabel, icon: Moon }
3429
+ ]);
3430
+ const appearance = computed(() => {
3431
+ if (!colorMode) return null;
3432
+ if (colorMode.followsSystem) return Appearance.System;
3433
+ return colorMode.mode === ColorMode.Dark ? Appearance.Dark : Appearance.Light;
3434
+ });
3435
+ function chooseAppearance(value) {
3436
+ if (!colorMode) return;
3437
+ if (value === Appearance.System) colorMode.followSystem();
3438
+ else if (value === Appearance.Light) colorMode.setMode(ColorMode.Light);
3439
+ else if (value === Appearance.Dark) colorMode.setMode(ColorMode.Dark);
3440
+ }
3441
+ function chooseLocale(value) {
3442
+ if (value !== null && value !== props.locale) emit("update:locale", value);
3443
+ }
3444
+ function chooseOrganization(id) {
3445
+ if (id !== null && id !== props.organization) emit("update:organization", id);
3446
+ }
3447
+ function signOut() {
3448
+ void props.onSignOut?.();
3449
+ }
3450
+ function shortCommit(commit) {
3451
+ return commit.trim().slice(0, CommitLength);
3452
+ }
3453
+ function sections() {
3454
+ return [
3455
+ hasIdentity.value && "identity",
3456
+ hasOrganizationSwitcher.value && "organizations",
3457
+ slots.items !== void 0 && "items",
3458
+ hasAppearance.value && "appearance",
3459
+ hasLanguages.value && "languages",
3460
+ hasVersions.value && "versions",
3461
+ hasSignOut.value && "signOut"
3462
+ ].filter((section) => typeof section === "string");
3463
+ }
3464
+ function isSeparated(section) {
3465
+ return sections().indexOf(section) > 0;
3466
+ }
3467
+ const triggerClasses = computed(
3468
+ () => cn(
3469
+ "group/account-menu inline-flex min-h-11 shrink-0 items-center gap-1.5 rounded-xl border border-transparent",
3470
+ "py-1 ps-1 pe-2 text-foreground transition-colors motion-reduce:transition-none",
3471
+ "hover:border-primary/15 hover:bg-primary-soft",
3472
+ "data-[state=open]:border-primary/15 data-[state=open]:bg-primary-soft",
3473
+ "outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-60",
3474
+ attrs.class
3475
+ )
3476
+ );
3477
+ const panelClasses = computed(
3478
+ () => cn(
3479
+ "flex w-[min(18rem,calc(100vw-2rem))] max-h-[calc(100dvh-5rem)] flex-col gap-0.5",
3480
+ "overflow-y-auto overscroll-contain",
3481
+ props.panelClass
3482
+ )
3483
+ );
3484
+ const rest = computed(() => {
3485
+ const { class: _class, ...others } = attrs;
3486
+ return others;
3487
+ });
3488
+ const el = computed(() => trigger.value?.el ?? null);
3489
+ __expose({ el });
3490
+ return (_ctx, _cache) => {
3491
+ return openBlock(), createBlock(_sfc_main$r, {
3492
+ open: unref(isOpen),
3493
+ placement: unref(props).placement,
3494
+ "onUpdate:open": setOpen
3495
+ }, {
3496
+ default: withCtx(() => [
3497
+ createVNode(_sfc_main$q, {
3498
+ ref_key: "trigger",
3499
+ ref: trigger,
3500
+ "as-child": ""
3501
+ }, {
3502
+ default: withCtx(() => [
3503
+ createElementVNode("button", mergeProps({
3504
+ type: "button",
3505
+ "aria-label": triggerName.value,
3506
+ "aria-busy": unref(props).isBusy || void 0,
3507
+ disabled: isBlocked.value,
3508
+ "data-busy": unref(dataAttr)(unref(props).isBusy)
3509
+ }, rest.value, { class: triggerClasses.value }), [
3510
+ hasName.value ? (openBlock(), createBlock(_sfc_main$S, {
3511
+ key: 0,
3512
+ name: unref(props).name,
3513
+ src: unref(props).avatarSrc,
3514
+ alt: "",
3515
+ size: "sm",
3516
+ "is-loading": unref(props).isBusy,
3517
+ "data-account-menu-avatar": ""
3518
+ }, null, 8, ["name", "src", "is-loading"])) : (openBlock(), createElementBlock("span", _hoisted_2, [
3519
+ createVNode(unref(_sfc_main$F), {
3520
+ icon: unref(UserRound),
3521
+ size: 18
3522
+ }, null, 8, ["icon"])
3523
+ ])),
3524
+ createVNode(unref(_sfc_main$F), {
3525
+ icon: unref(ChevronDown),
3526
+ size: 14,
3527
+ class: "shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]/account-menu:rotate-180 motion-reduce:transition-none",
3528
+ "data-account-menu-chevron": ""
3529
+ }, null, 8, ["icon"])
3530
+ ], 16, _hoisted_1)
3531
+ ]),
3532
+ _: 1
3533
+ }, 512),
3534
+ createVNode(_sfc_main$p, {
3535
+ "aria-label": unref(props).menuLabel,
3536
+ "aria-describedby": hasIdentity.value ? unref(identityId) : void 0,
3537
+ variant: unref(props).variant,
3538
+ class: normalizeClass(panelClasses.value)
3539
+ }, {
3540
+ default: withCtx(() => [
3541
+ hasIdentity.value ? (openBlock(), createElementBlock("div", {
3542
+ key: 0,
3543
+ id: unref(identityId),
3544
+ class: "min-w-0 px-2 py-1.5",
3545
+ "data-account-menu-identity": ""
3546
+ }, [
3547
+ hasName.value ? (openBlock(), createElementBlock("p", _hoisted_4, toDisplayString(unref(props).name), 1)) : createCommentVNode("", true),
3548
+ unref(props).description ? (openBlock(), createElementBlock("p", _hoisted_5, toDisplayString(unref(props).description), 1)) : createCommentVNode("", true),
3549
+ soleOrganization.value ? (openBlock(), createElementBlock("p", _hoisted_6, [
3550
+ createTextVNode(toDisplayString(soleOrganization.value.label), 1),
3551
+ soleOrganization.value.description ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3552
+ createTextVNode(" · " + toDisplayString(soleOrganization.value.description), 1)
3553
+ ], 64)) : createCommentVNode("", true)
3554
+ ])) : createCommentVNode("", true)
3555
+ ], 8, _hoisted_3)) : createCommentVNode("", true),
3556
+ hasOrganizationSwitcher.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3557
+ isSeparated("organizations") ? (openBlock(), createBlock(_sfc_main$s, { key: 0 })) : createCommentVNode("", true),
3558
+ createVNode(_sfc_main$z, {
3559
+ label: unref(props).organizationLabel,
3560
+ "model-value": unref(props).organization ?? null,
3561
+ "data-account-menu-organizations": "",
3562
+ "onUpdate:modelValue": chooseOrganization
3563
+ }, {
3564
+ default: withCtx(() => [
3565
+ createElementVNode("div", _hoisted_7, [
3566
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).organizations, (entry) => {
3567
+ return openBlock(), createBlock(_sfc_main$y, {
3568
+ key: entry.id,
3569
+ value: entry.id
3570
+ }, {
3571
+ indicator: withCtx(({ checked }) => [
3572
+ checked ? (openBlock(), createBlock(unref(_sfc_main$F), {
3573
+ key: 0,
3574
+ icon: unref(Check),
3575
+ size: 14
3576
+ }, null, 8, ["icon"])) : createCommentVNode("", true)
3577
+ ]),
3578
+ default: withCtx(() => [
3579
+ createElementVNode("span", _hoisted_8, toDisplayString(entry.label), 1),
3580
+ entry.description ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(entry.description), 1)) : createCommentVNode("", true)
3581
+ ]),
3582
+ _: 2
3583
+ }, 1032, ["value"]);
3584
+ }), 128))
3585
+ ])
3586
+ ]),
3587
+ _: 1
3588
+ }, 8, ["label", "model-value"])
3589
+ ], 64)) : createCommentVNode("", true),
3590
+ slots.items ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
3591
+ isSeparated("items") ? (openBlock(), createBlock(_sfc_main$s, { key: 0 })) : createCommentVNode("", true),
3592
+ renderSlot(_ctx.$slots, "items")
3593
+ ], 64)) : createCommentVNode("", true),
3594
+ hasAppearance.value ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
3595
+ isSeparated("appearance") ? (openBlock(), createBlock(_sfc_main$s, { key: 0 })) : createCommentVNode("", true),
3596
+ createVNode(_sfc_main$z, {
3597
+ label: unref(props).appearanceLabel,
3598
+ "model-value": appearance.value,
3599
+ "data-account-menu-appearance": "",
3600
+ "onUpdate:modelValue": chooseAppearance
3601
+ }, {
3602
+ default: withCtx(() => [
3603
+ (openBlock(true), createElementBlock(Fragment, null, renderList(appearances.value, (entry) => {
3604
+ return openBlock(), createBlock(_sfc_main$y, {
3605
+ key: entry.value,
3606
+ value: entry.value
3607
+ }, {
3608
+ indicator: withCtx(({ checked }) => [
3609
+ checked ? (openBlock(), createBlock(unref(_sfc_main$F), {
3610
+ key: 0,
3611
+ icon: unref(Check),
3612
+ size: 14
3613
+ }, null, 8, ["icon"])) : createCommentVNode("", true)
3614
+ ]),
3615
+ default: withCtx(() => [
3616
+ createVNode(unref(_sfc_main$F), {
3617
+ icon: entry.icon,
3618
+ size: 15,
3619
+ class: "shrink-0 text-muted-foreground"
3620
+ }, null, 8, ["icon"]),
3621
+ createTextVNode(" " + toDisplayString(entry.label), 1)
3622
+ ]),
3623
+ _: 2
3624
+ }, 1032, ["value"]);
3625
+ }), 128))
3626
+ ]),
3627
+ _: 1
3628
+ }, 8, ["label", "model-value"])
3629
+ ], 64)) : createCommentVNode("", true),
3630
+ hasLanguages.value ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
3631
+ isSeparated("languages") ? (openBlock(), createBlock(_sfc_main$s, { key: 0 })) : createCommentVNode("", true),
3632
+ createVNode(_sfc_main$z, {
3633
+ label: unref(props).languageLabel,
3634
+ "model-value": unref(props).locale ?? null,
3635
+ "data-account-menu-languages": "",
3636
+ "onUpdate:modelValue": chooseLocale
3637
+ }, {
3638
+ default: withCtx(() => [
3639
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).locales, (entry) => {
3640
+ return openBlock(), createBlock(_sfc_main$y, {
3641
+ key: entry.value,
3642
+ value: entry.value,
3643
+ lang: entry.value
3644
+ }, {
3645
+ indicator: withCtx(({ checked }) => [
3646
+ checked ? (openBlock(), createBlock(unref(_sfc_main$F), {
3647
+ key: 0,
3648
+ icon: unref(Check),
3649
+ size: 14
3650
+ }, null, 8, ["icon"])) : createCommentVNode("", true)
3651
+ ]),
3652
+ default: withCtx(() => [
3653
+ createTextVNode(" " + toDisplayString(entry.label), 1)
3654
+ ]),
3655
+ _: 2
3656
+ }, 1032, ["value", "lang"]);
3657
+ }), 128))
3658
+ ]),
3659
+ _: 1
3660
+ }, 8, ["label", "model-value"])
3661
+ ], 64)) : createCommentVNode("", true),
3662
+ hasVersions.value ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
3663
+ isSeparated("versions") ? (openBlock(), createBlock(_sfc_main$s, { key: 0 })) : createCommentVNode("", true),
3664
+ createVNode(_sfc_main$u, {
3665
+ label: unref(props).versionsLabel,
3666
+ "data-account-menu-versions": ""
3667
+ }, {
3668
+ default: withCtx(() => [
3669
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).versions, (entry, index) => {
3670
+ return openBlock(), createElementBlock("div", {
3671
+ key: `${index}:${entry.label}`,
3672
+ class: "flex items-baseline justify-between gap-3 px-2 py-0.5 text-xs",
3673
+ "data-account-menu-version": ""
3674
+ }, [
3675
+ createElementVNode("span", _hoisted_10, toDisplayString(entry.label), 1),
3676
+ createElementVNode("span", _hoisted_11, [
3677
+ createTextVNode(toDisplayString(entry.version), 1),
3678
+ entry.commit ? (openBlock(), createElementBlock("span", _hoisted_12, " · " + toDisplayString(shortCommit(entry.commit)), 1)) : createCommentVNode("", true)
3679
+ ])
3680
+ ]);
3681
+ }), 128))
3682
+ ]),
3683
+ _: 1
3684
+ }, 8, ["label"])
3685
+ ], 64)) : createCommentVNode("", true),
3686
+ hasSignOut.value ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
3687
+ isSeparated("signOut") ? (openBlock(), createBlock(_sfc_main$s, { key: 0 })) : createCommentVNode("", true),
3688
+ createVNode(_sfc_main$B, {
3689
+ state: "destructive",
3690
+ "data-account-menu-sign-out": "",
3691
+ onSelect: signOut
3692
+ }, {
3693
+ default: withCtx(() => [
3694
+ createVNode(unref(_sfc_main$F), {
3695
+ icon: unref(LogOut),
3696
+ size: 15,
3697
+ class: "shrink-0"
3698
+ }, null, 8, ["icon"]),
3699
+ createTextVNode(" " + toDisplayString(unref(props).signOutLabel), 1)
3700
+ ]),
3701
+ _: 1
3702
+ })
3703
+ ], 64)) : createCommentVNode("", true)
3704
+ ]),
3705
+ _: 3
3706
+ }, 8, ["aria-label", "aria-describedby", "variant", "class"])
3707
+ ]),
3708
+ _: 3
3709
+ }, 8, ["open", "placement"]);
3710
+ };
3711
+ }
3712
+ });
3297
3713
  export {
3298
- menuItemVariants as $,
3714
+ menuItemIndicatorVariants as $,
3299
3715
  AppSwitcherKind as A,
3300
- MenuTreeKey as B,
3301
- _sfc_main$k as C,
3302
- _sfc_main$h as D,
3303
- _sfc_main$j as E,
3304
- _sfc_main$i as F,
3305
- _sfc_main$g as G,
3306
- _sfc_main$c as H,
3307
- _sfc_main$e as I,
3308
- _sfc_main$b as J,
3309
- _sfc_main$f as K,
3716
+ _sfc_main$w as B,
3717
+ MenuTreeKey as C,
3718
+ _sfc_main$l as D,
3719
+ _sfc_main$i as E,
3720
+ _sfc_main$k as F,
3721
+ _sfc_main$j as G,
3722
+ _sfc_main$h as H,
3723
+ _sfc_main$d as I,
3724
+ _sfc_main$f as J,
3725
+ _sfc_main$c as K,
3310
3726
  LinkItemSize as L,
3311
3727
  MenuItemState as M,
3312
- _sfc_main$d as N,
3313
- _sfc_main$C as O,
3314
- _sfc_main$a as P,
3315
- _sfc_main$5 as Q,
3316
- _sfc_main$3 as R,
3728
+ _sfc_main$g as N,
3729
+ _sfc_main$e as O,
3730
+ _sfc_main$D as P,
3731
+ _sfc_main$b as Q,
3732
+ _sfc_main$6 as R,
3317
3733
  _sfc_main$4 as S,
3318
- SidebarMenuKey as T,
3319
- _sfc_main$2 as U,
3320
- _sfc_main$9 as V,
3321
- contextMenuContextKey as W,
3322
- dropdownMenuContextKey as X,
3323
- linkVariants as Y,
3324
- menuItemIndicatorVariants as Z,
3734
+ _sfc_main$5 as T,
3735
+ SidebarMenuKey as U,
3736
+ _sfc_main$3 as V,
3737
+ _sfc_main$a as W,
3738
+ contextMenuContextKey as X,
3739
+ dropdownMenuContextKey as Y,
3740
+ linkVariants as Z,
3325
3741
  _sfc_main as _,
3326
- _sfc_main$7 as a,
3327
- menuLabelVariants as a0,
3328
- menuSeparatorVariants as a1,
3329
- menuSubIndicatorVariants as a2,
3330
- menuVariants as a3,
3331
- menubarContextKey as a4,
3332
- menubarMenuContextKey as a5,
3333
- navigationMenuContextKey as a6,
3334
- navigationMenuItemContextKey as a7,
3335
- useContextMenuContext as a8,
3336
- useDropdownMenuContext as a9,
3337
- useMenuContext as aa,
3338
- useMenuRadioGroupContext as ab,
3339
- useMenuSubContext as ac,
3340
- useMenubarContext as ad,
3341
- useMenubarMenuContext as ae,
3342
- useNavigationMenuContext as af,
3343
- useNavigationMenuItemContext as ag,
3344
- useScrollSpy as ah,
3345
- useSidebarMenuContext as ai,
3346
- _sfc_main$6 as b,
3347
- _sfc_main$D as c,
3348
- _sfc_main$n as d,
3349
- _sfc_main$l as e,
3742
+ _sfc_main$1 as a,
3743
+ menuItemVariants as a0,
3744
+ menuLabelVariants as a1,
3745
+ menuSeparatorVariants as a2,
3746
+ menuSubIndicatorVariants as a3,
3747
+ menuVariants as a4,
3748
+ menubarContextKey as a5,
3749
+ menubarMenuContextKey as a6,
3750
+ navigationMenuContextKey as a7,
3751
+ navigationMenuItemContextKey as a8,
3752
+ useContextMenuContext as a9,
3753
+ useDropdownMenuContext as aa,
3754
+ useMenuContext as ab,
3755
+ useMenuRadioGroupContext as ac,
3756
+ useMenuSubContext as ad,
3757
+ useMenubarContext as ae,
3758
+ useMenubarMenuContext as af,
3759
+ useNavigationMenuContext as ag,
3760
+ useNavigationMenuItemContext as ah,
3761
+ useScrollSpy as ai,
3762
+ useSidebarMenuContext as aj,
3763
+ _sfc_main$8 as b,
3764
+ _sfc_main$7 as c,
3765
+ _sfc_main$E as d,
3766
+ _sfc_main$o as e,
3350
3767
  _sfc_main$m as f,
3351
- _sfc_main$q as g,
3352
- _sfc_main$o as h,
3768
+ _sfc_main$n as g,
3769
+ _sfc_main$r as h,
3353
3770
  _sfc_main$p as i,
3354
- _sfc_main$8 as j,
3355
- LinkItemVariant as k,
3356
- _sfc_main$B as l,
3357
- _sfc_main$z as m,
3358
- _sfc_main$t as n,
3359
- _sfc_main$A as o,
3360
- MenuKey as p,
3361
- _sfc_main$s as q,
3362
- _sfc_main$y as r,
3363
- MenuRadioGroupKey as s,
3364
- _sfc_main$x as t,
3365
- _sfc_main$r as u,
3366
- _sfc_main$w as v,
3367
- _sfc_main$u as w,
3368
- MenuSubKey as x,
3369
- MenuSubOpenReason as y,
3370
- _sfc_main$v as z
3771
+ _sfc_main$q as j,
3772
+ _sfc_main$9 as k,
3773
+ LinkItemVariant as l,
3774
+ _sfc_main$C as m,
3775
+ _sfc_main$A as n,
3776
+ _sfc_main$u as o,
3777
+ _sfc_main$B as p,
3778
+ MenuKey as q,
3779
+ _sfc_main$t as r,
3780
+ _sfc_main$z as s,
3781
+ MenuRadioGroupKey as t,
3782
+ _sfc_main$y as u,
3783
+ _sfc_main$s as v,
3784
+ _sfc_main$x as w,
3785
+ _sfc_main$v as x,
3786
+ MenuSubKey as y,
3787
+ MenuSubOpenReason as z
3371
3788
  };
3372
- //# sourceMappingURL=AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js.map
3789
+ //# sourceMappingURL=AccountMenu.vue_vue_type_script_setup_true_lang-CWsiHHiy.js.map