@wssto2/vue-core 0.4.0 → 0.4.2

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 (63) hide show
  1. package/dist/{Activity-2gGxQn7v.js → Activity-Dn4TGnZE.js} +1 -1
  2. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-BoinCY93.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js} +2 -2
  3. package/dist/{Changes-Bm8xvagD.js → Changes-vnJKoY8t.js} +1 -1
  4. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-DCBVw2Qd.js → CollectionPage.vue_vue_type_script_setup_true_lang-21lc-EE4.js} +3 -3
  5. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js → DataTable.vue_vue_type_script_setup_true_lang-DBtMgcW6.js} +1 -1
  6. package/dist/{DeadLetters-CMRtXn_N.js → DeadLetters-hVaoctMw.js} +2 -2
  7. package/dist/{General-CTqd0SLK.js → General-BS8GFldj.js} +2 -2
  8. package/dist/{Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js → Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js} +64 -57
  9. package/dist/{NewRolePage-DTOWIxxC.js → NewRolePage-Bz4AfDbT.js} +3 -3
  10. package/dist/{ProfilePage-BlpiWH_W.js → ProfilePage-DD0yQ8bd.js} +3 -3
  11. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-C_ymvhHU.js → RecordHeader.vue_vue_type_script_setup_true_lang-BCTNrzBb.js} +1 -1
  12. package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-CwI_sROp.js → ResourcePage.vue_vue_type_script_setup_true_lang-C_tQTUyN.js} +1 -1
  13. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js → RoleEditor.vue_vue_type_script_setup_true_lang-P6MOBLbC.js} +2 -2
  14. package/dist/{RolePage-DZk7BZOc.js → RolePage-B9NAwbl1.js} +4 -4
  15. package/dist/{RolesPage-DzGGCMnm.js → RolesPage-BRSmWTD0.js} +2 -2
  16. package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BFYls8fR.js → SectionList.vue_vue_type_script_setup_true_lang-BtQjHjd4.js} +2 -2
  17. package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js → SectionNavigator.vue_vue_type_script_setup_true_lang-BGc8A9AQ.js} +4 -4
  18. package/dist/{Sessions-CWqjjTr1.js → Sessions-DVhVtiEg.js} +1 -1
  19. package/dist/{SettingsPage-C4s0IdkW.js → SettingsPage-CDE4ucf0.js} +2 -2
  20. package/dist/{SignIn-zzKY__df.js → SignIn-tQ67Acwu.js} +1 -1
  21. package/dist/{SignInPage-Rqnus_s-.js → SignInPage-saEqF2jO.js} +1 -1
  22. package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-CEbAvZ_C.js → SignInTable.vue_vue_type_script_setup_true_lang-CifEaH7c.js} +1 -1
  23. package/dist/{SignIns-Cnf9BVR0.js → SignIns-DlAyzaD2.js} +2 -2
  24. package/dist/{UserRecord-DqigxVxH.js → UserRecord-DcTnTZDJ.js} +5 -5
  25. package/dist/{UsersList-DNlZsI9J.js → UsersList-BPPMKPqX.js} +3 -3
  26. package/dist/access/index.js +1 -1
  27. package/dist/access-DmAceEo5.js +42 -0
  28. package/dist/app/feature.d.ts +2 -0
  29. package/dist/app/index.js +2 -2
  30. package/dist/{chrome-BS3xJcad.js → chrome-nUcmVu8G.js} +2 -2
  31. package/dist/collection/index.js +3 -3
  32. package/dist/form/index.js +3 -3
  33. package/dist/identity/index.js +1 -1
  34. package/dist/{index-BsJ92eub.js → index-CeZgHDOM.js} +2 -2
  35. package/dist/{index-GcLnFF-z.js → index-DCsIT4ib.js} +3 -3
  36. package/dist/{index-CGv-u1Ws.js → index-DhePSl1J.js} +10 -10
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.js +1 -1
  39. package/dist/notifications/index.js +1 -1
  40. package/dist/overlay/Menu.vue.d.ts +2 -1
  41. package/dist/overlay/index.js +1 -1
  42. package/dist/page/chrome.d.ts +4 -1
  43. package/dist/page/index.d.ts +1 -1
  44. package/dist/page/index.js +23 -22
  45. package/dist/resource/index.js +1 -1
  46. package/dist/router/access.d.ts +1 -1
  47. package/dist/router/index.js +2 -2
  48. package/dist/router/pageRefresh.d.ts +6 -0
  49. package/dist/{rowLayout-BqTEhEuy.js → rowLayout-CZ7uZFnE.js} +1 -1
  50. package/dist/{sections-CntvUTxn.js → sections-D-kD98vu.js} +1 -1
  51. package/dist/shell/BackofficeShell.vue.d.ts +4 -1
  52. package/dist/shell/NavigationDrawer.vue.d.ts +1 -1
  53. package/dist/shell/PullToRefresh.vue.d.ts +2 -0
  54. package/dist/shell/ShellSidebar.vue.d.ts +2 -1
  55. package/dist/shell/backofficeShell.d.ts +3 -1
  56. package/dist/shell/index.js +644 -554
  57. package/dist/shell/pullToRefresh.d.ts +16 -0
  58. package/dist/shell/search.d.ts +3 -0
  59. package/dist/{status-BuP3ULjH.js → status-DmjQ1O3o.js} +1 -1
  60. package/dist/styles.css +1 -1
  61. package/dist/{useSaveChrome-chi6D3HY.js → useSaveChrome-DuWm0Czf.js} +1 -1
  62. package/package.json +3 -3
  63. package/dist/access-DdRFrVV1.js +0 -40
@@ -1,216 +1,217 @@
1
- import { defineComponent as z, provide as ae, computed as A, ref as F, useId as se, openBlock as u, createElementBlock as b, normalizeClass as $, unref as n, createVNode as v, createCommentVNode as E, createElementVNode as d, toDisplayString as D, createBlock as O, withDirectives as Ie, Fragment as V, renderList as te, vShow as ze, withCtx as T, mergeProps as G, useTemplateRef as ne, renderSlot as I, createSlots as K, normalizeProps as U, guardReactiveProps as X, watch as Y, onScopeDispose as le, inject as De, onBeforeUnmount as Oe, normalizeStyle as ve, nextTick as he, Teleport as Re, shallowRef as Be, h as Z } from "vue";
2
- import { useI18n as N } from "vue-i18n";
3
- import { _ as be } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
- import { _ as B, u as Ne, c as Pe } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
- import { _ as je } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
6
- import { u as Ve, S as H } from "../contributions-DsfmDoRD.js";
7
- import { u as Fe } from "../environment-Dva-SG8D.js";
8
- import { _ as Ke } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
- import { l as de } from "../languageName-CItV_SOv.js";
10
- import { t as ge } from "../toast-D9Z5To38.js";
11
- import { u as Q, h as ie } from "../platform-q3cjODLx.js";
12
- import { a as We, _ as fe, h as ye } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
13
- import { _ as Ue } from "../Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
14
- import { _ as Xe } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js";
15
- import { _ as Ye } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
16
- import { _ as qe } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
17
- import { a as xe } from "../chrome-BS3xJcad.js";
18
- import { A as Ge } from "../access-DdRFrVV1.js";
19
- import { RouterLink as we, useRoute as He, useRouter as re } from "vue-router";
20
- import { u as Qe } from "../navigation-Cm3iChlR.js";
21
- import { a as q } from "../mediaQuery-CygcXmFW.js";
22
- import { u as Je } from "../useDialog-CXR3hN0G.js";
23
- import { _ as Ze } from "../Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js";
24
- import { W as et } from "../useWaitStatus-fsacMl4W.js";
25
- import { d as _e } from "../feature-DdUAfyi4.js";
26
- import { _ as Qn } from "../HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js";
27
- import { S as tt } from "../dialogStack-DZZg55w0.js";
28
- const nt = ["aria-expanded", "aria-controls"], at = { class: "flex-1 whitespace-nowrap" }, ot = { class: "truncate" }, st = ["id"], ke = /* @__PURE__ */ z({
1
+ import { defineComponent as z, provide as Q, computed as C, ref as N, useId as re, openBlock as d, createElementBlock as b, normalizeClass as $, unref as t, createVNode as h, createCommentVNode as S, createElementVNode as f, toDisplayString as D, createBlock as R, withDirectives as Be, Fragment as F, renderList as ne, vShow as je, withCtx as A, mergeProps as G, useTemplateRef as ae, renderSlot as I, createSlots as K, normalizeProps as W, guardReactiveProps as Y, inject as ge, onMounted as Ve, onBeforeUnmount as ye, normalizeStyle as oe, nextTick as ie, watch as q, onScopeDispose as ce, Teleport as Fe, shallowRef as Ke, h as ee } from "vue";
2
+ import { useI18n as B } from "vue-i18n";
3
+ import { _ as we } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
+ import { _ as P, u as Xe, c as Ue } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
+ import { _ as We } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
6
+ import { u as xe, S as X } from "../contributions-DsfmDoRD.js";
7
+ import { u as Ye } from "../environment-Dva-SG8D.js";
8
+ import { _ as He } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
+ import { l as pe } from "../languageName-CItV_SOv.js";
10
+ import { t as _e } from "../toast-D9Z5To38.js";
11
+ import { u as J, h as ue } from "../platform-q3cjODLx.js";
12
+ import { a as qe, _ as ve, h as ke } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
13
+ import { _ as Ge } from "../Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
14
+ import { _ as Qe } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js";
15
+ import { _ as Je } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
16
+ import { _ as Ze } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
17
+ import { b as $e } from "../chrome-nUcmVu8G.js";
18
+ import { p as Se, A as et } from "../access-DmAceEo5.js";
19
+ import { RouterLink as Le, useRoute as tt, useRouter as de } from "vue-router";
20
+ import { u as nt } from "../navigation-Cm3iChlR.js";
21
+ import { u as at } from "../leaveGuard-Cc8yeLxM.js";
22
+ import { u as ot, S as st } from "../dialogStack-DZZg55w0.js";
23
+ import { a as H } from "../mediaQuery-CygcXmFW.js";
24
+ import { u as lt } from "../useDialog-CXR3hN0G.js";
25
+ import { _ as rt } from "../Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js";
26
+ import { W as it } from "../useWaitStatus-fsacMl4W.js";
27
+ import { d as Ce } from "../feature-DdUAfyi4.js";
28
+ import { _ as fa } from "../HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js";
29
+ const ct = ["aria-expanded", "aria-controls"], ut = { class: "flex-1 whitespace-nowrap" }, dt = { class: "truncate" }, ft = ["id"], Ee = /* @__PURE__ */ z({
29
30
  __name: "AccountMenuContent",
30
31
  props: {
31
32
  appearance: {}
32
33
  },
33
34
  emits: ["close"],
34
35
  setup(e, { emit: a }) {
35
- const t = e, o = a, { t: i } = N(), { session: r } = Q(), c = Fe(), m = Ve();
36
- ae(We, { appearance: t.appearance, close: () => o("close") });
37
- const s = t.appearance === "sheet", p = A(() => m.get("accountMenu").length > 0), g = c.locales.length > 1, x = F(!1), _ = se(), k = A(() => de(c.locale.value)), y = (M) => c.localeFlags[M];
38
- async function C() {
36
+ const n = e, o = a, { t: r } = B(), { session: c } = J(), s = Ye(), i = xe();
37
+ Q(qe, { appearance: n.appearance, close: () => o("close") });
38
+ const l = n.appearance === "sheet", p = C(() => i.get("accountMenu").length > 0), g = s.locales.length > 1, v = N(!1), x = re(), _ = C(() => pe(s.locale.value)), w = (M) => s.localeFlags[M];
39
+ async function E() {
39
40
  try {
40
- await r.signOut();
41
+ await c.signOut();
41
42
  } catch {
42
- ge.error(i("core.shell.account.sign_out_failed"));
43
+ _e.error(r("core.shell.account.sign_out_failed"));
43
44
  }
44
45
  }
45
- const f = s ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
46
- return (M, l) => (u(), b("div", {
47
- class: $(s ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
46
+ const m = l ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
47
+ return (M, u) => (d(), b("div", {
48
+ class: $(l ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
48
49
  "data-shell-account-menu": ""
49
50
  }, [
50
- p.value ? (u(), b("div", {
51
+ p.value ? (d(), b("div", {
51
52
  key: 0,
52
- class: $(n(f))
53
+ class: $(t(m))
53
54
  }, [
54
- v(n(H), { name: "accountMenu" })
55
- ], 2)) : E("", !0),
56
- g ? (u(), b("div", {
55
+ h(t(X), { name: "accountMenu" })
56
+ ], 2)) : S("", !0),
57
+ g ? (d(), b("div", {
57
58
  key: 1,
58
- class: $(n(f))
59
+ class: $(t(m))
59
60
  }, [
60
- d("div", {
61
- class: $(s ? "relative" : "")
61
+ f("div", {
62
+ class: $(l ? "relative" : "")
62
63
  }, [
63
- d("button", {
64
+ f("button", {
64
65
  type: "button",
65
- "aria-expanded": x.value,
66
- "aria-controls": n(_),
66
+ "aria-expanded": v.value,
67
+ "aria-controls": t(x),
67
68
  "data-account-language": "",
68
- class: $(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", s ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
69
- onClick: l[0] || (l[0] = (L) => x.value = !x.value)
69
+ class: $(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", l ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
70
+ onClick: u[0] || (u[0] = (T) => v.value = !v.value)
70
71
  }, [
71
- v(n(B), {
72
+ h(t(P), {
72
73
  name: "translate",
73
- size: s ? 22 : 16,
74
+ size: l ? 22 : 16,
74
75
  class: "shrink-0 text-content-muted"
75
76
  }, null, 8, ["size"]),
76
- d("span", at, D(n(i)("core.shell.account.language")), 1),
77
- d("span", {
78
- class: $(["flex min-w-0 items-center gap-1.5 text-content-muted", s ? "" : "text-xs"])
77
+ f("span", ut, D(t(r)("core.shell.account.language")), 1),
78
+ f("span", {
79
+ class: $(["flex min-w-0 items-center gap-1.5 text-content-muted", l ? "" : "text-xs"])
79
80
  }, [
80
- y(n(c).locale.value) ? (u(), O(Ke, {
81
+ w(t(s).locale.value) ? (d(), R(He, {
81
82
  key: 0,
82
- country: y(n(c).locale.value)
83
- }, null, 8, ["country"])) : E("", !0),
84
- d("span", ot, D(k.value), 1)
83
+ country: w(t(s).locale.value)
84
+ }, null, 8, ["country"])) : S("", !0),
85
+ f("span", dt, D(_.value), 1)
85
86
  ], 2),
86
- v(n(B), {
87
+ h(t(P), {
87
88
  name: "arrowDownSLine",
88
- size: s ? 18 : 16,
89
- class: $(["shrink-0 text-content-disabled transition-transform duration-motion-fast", x.value ? "rotate-180" : ""])
89
+ size: l ? 18 : 16,
90
+ class: $(["shrink-0 text-content-disabled transition-transform duration-motion-fast", v.value ? "rotate-180" : ""])
90
91
  }, null, 8, ["size", "class"])
91
- ], 10, nt)
92
+ ], 10, ct)
92
93
  ], 2),
93
- Ie(d("div", {
94
- id: n(_),
95
- class: $(s ? "" : "space-y-0.5 pl-4")
94
+ Be(f("div", {
95
+ id: t(x),
96
+ class: $(l ? "" : "space-y-0.5 pl-4")
96
97
  }, [
97
- (u(!0), b(V, null, te(n(c).locales, (L) => (u(), O(fe, {
98
- key: L,
99
- label: n(de)(L),
100
- flag: y(L),
101
- selected: L === n(c).locale.value,
102
- onClick: (S) => n(c).setLocale(L)
98
+ (d(!0), b(F, null, ne(t(s).locales, (T) => (d(), R(ve, {
99
+ key: T,
100
+ label: t(pe)(T),
101
+ flag: w(T),
102
+ selected: T === t(s).locale.value,
103
+ onClick: (L) => t(s).setLocale(T)
103
104
  }, null, 8, ["label", "flag", "selected", "onClick"]))), 128))
104
- ], 10, st), [
105
- [ze, x.value]
105
+ ], 10, ft), [
106
+ [je, v.value]
106
107
  ])
107
- ], 2)) : E("", !0),
108
- d("div", {
109
- class: $(n(f))
108
+ ], 2)) : S("", !0),
109
+ f("div", {
110
+ class: $(t(m))
110
111
  }, [
111
- v(fe, {
112
- label: n(i)("core.shell.account.sign_out"),
112
+ h(ve, {
113
+ label: t(r)("core.shell.account.sign_out"),
113
114
  icon: "logoutBoxRLine",
114
115
  tone: "critical",
115
- onClick: C
116
+ onClick: E
116
117
  }, null, 8, ["label"])
117
118
  ], 2)
118
119
  ], 2));
119
120
  }
120
- }), lt = ["onClick"], it = { class: "min-w-0 flex-1" }, rt = { class: "block truncate text-sm font-semibold text-white" }, ct = {
121
+ }), mt = ["onClick"], pt = { class: "min-w-0 flex-1" }, vt = { class: "block truncate text-sm font-semibold text-white" }, ht = {
121
122
  key: 0,
122
123
  class: "block truncate text-xs text-gray-300"
123
- }, ut = /* @__PURE__ */ z({
124
+ }, bt = /* @__PURE__ */ z({
124
125
  __name: "AccountMenu",
125
126
  props: {
126
127
  identity: {}
127
128
  },
128
129
  setup(e) {
129
- const { t: a } = N();
130
- return (t, o) => (u(), O(n(je), {
130
+ const { t: a } = B();
131
+ return (n, o) => (d(), R(t(We), {
131
132
  placement: "top-start",
132
133
  width: "sm",
133
134
  block: "",
134
135
  arrow: !1,
135
- label: n(a)("core.shell.account.open")
136
+ label: t(a)("core.shell.account.open")
136
137
  }, {
137
- trigger: T(({ toggle: i, attrs: r, presented: c }) => [
138
- d("button", G({ type: "button" }, r, {
138
+ trigger: A(({ toggle: r, attrs: c, presented: s }) => [
139
+ f("button", G({ type: "button" }, c, {
139
140
  "data-shell-account": "",
140
- class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": c }],
141
- onClick: i
141
+ class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": s }],
142
+ onClick: r
142
143
  }), [
143
- v(n(be), {
144
+ h(t(we), {
144
145
  name: e.identity.name,
145
146
  size: "md"
146
147
  }, null, 8, ["name"]),
147
- d("span", it, [
148
- d("span", rt, D(e.identity.name), 1),
149
- e.identity.detail ? (u(), b("span", ct, D(e.identity.detail), 1)) : E("", !0)
148
+ f("span", pt, [
149
+ f("span", vt, D(e.identity.name), 1),
150
+ e.identity.detail ? (d(), b("span", ht, D(e.identity.detail), 1)) : S("", !0)
150
151
  ]),
151
- v(n(B), {
152
+ h(t(P), {
152
153
  name: "expandUpDownLine",
153
154
  size: 16,
154
155
  class: "shrink-0 text-gray-400"
155
156
  })
156
- ], 16, lt)
157
+ ], 16, mt)
157
158
  ]),
158
- default: T(({ dismiss: i }) => [
159
- v(ke, {
159
+ default: A(({ dismiss: r }) => [
160
+ h(Ee, {
160
161
  appearance: "popover",
161
- onClose: i
162
+ onClose: r
162
163
  }, null, 8, ["onClose"])
163
164
  ]),
164
165
  _: 1
165
166
  }, 8, ["label"]));
166
167
  }
167
- }), dt = /* @__PURE__ */ z({
168
+ }), gt = /* @__PURE__ */ z({
168
169
  __name: "AccountSheet",
169
170
  props: {
170
171
  identity: {}
171
172
  },
172
173
  setup(e, { expose: a }) {
173
- const t = ne("sheet");
174
- return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, i) => (u(), O(n(Ue), {
174
+ const n = ae("sheet");
175
+ return a({ present: () => n.value?.present(), dismiss: () => n.value?.dismiss() }), (o, r) => (d(), R(t(Ge), {
175
176
  ref_key: "sheet",
176
- ref: t,
177
+ ref: n,
177
178
  title: e.identity.name,
178
179
  grouped: ""
179
180
  }, {
180
- default: T(() => [
181
- v(ke, {
181
+ default: A(() => [
182
+ h(Ee, {
182
183
  appearance: "sheet",
183
- onClose: i[0] || (i[0] = (r) => t.value?.dismiss())
184
+ onClose: r[0] || (r[0] = (c) => n.value?.dismiss())
184
185
  })
185
186
  ]),
186
187
  _: 1
187
188
  }, 8, ["title"]));
188
189
  }
189
190
  });
190
- function ft() {
191
- const e = Ne(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
192
- return (t) => t && (e[t] !== void 0 || a(Pe, t)) ? t : null;
191
+ function yt() {
192
+ const e = Xe(), a = (n, o) => Object.prototype.hasOwnProperty.call(n, o);
193
+ return (n) => n && (e[n] !== void 0 || a(Ue, n)) ? n : null;
193
194
  }
194
- function $e(e) {
195
+ function Te(e) {
195
196
  return e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.defaultPrevented;
196
197
  }
197
- const Se = (e) => e.to ? [e] : e.children.flatMap(Se);
198
- function mt(e) {
198
+ const Ae = (e) => e.to ? [e] : e.children.flatMap(Ae);
199
+ function wt(e) {
199
200
  const a = [];
200
- for (const t of e) {
201
- const o = Se(t);
201
+ for (const n of e) {
202
+ const o = Ae(n);
202
203
  if (o.length === 0) continue;
203
- const i = !t.to && o.length > 1 ? t.label : null;
204
+ const r = !n.to && o.length > 1 ? n.label : null;
204
205
  a.push({
205
- key: t.key,
206
- heading: i,
207
- separated: i === null && a.length > 0,
208
- items: o.map((r) => ({ key: r.key, label: r.label, icon: r.icon, to: r.to, active: r.active }))
206
+ key: n.key,
207
+ heading: r,
208
+ separated: r === null && a.length > 0,
209
+ items: o.map((c) => ({ key: c.key, label: c.label, icon: c.icon, to: c.to, active: c.active }))
209
210
  });
210
211
  }
211
212
  return a;
212
213
  }
213
- const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id"], bt = ["aria-labelledby"], gt = ["href", "aria-current", "onClick"], yt = { class: "min-w-0 flex-1 truncate" }, me = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Ce = /* @__PURE__ */ z({
214
+ const xt = ["aria-label", "data-appearance"], _t = ["data-separated"], kt = ["id"], $t = ["aria-labelledby"], St = ["href", "aria-current", "onClick"], Lt = { class: "min-w-0 flex-1 truncate" }, he = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Me = /* @__PURE__ */ z({
214
215
  __name: "NavigationList",
215
216
  props: {
216
217
  items: { default: void 0 },
@@ -219,16 +220,16 @@ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id
219
220
  },
220
221
  emits: ["select"],
221
222
  setup(e, { emit: a }) {
222
- const t = e, o = a, { t: i } = N(), r = se(), c = t.items === void 0 ? Qe() : null, m = ft(), s = A(() => mt(t.items ?? c?.value ?? []));
223
- function p(y, C, f) {
224
- if (t.appearance === "drawer" && $e(y)) {
225
- y.preventDefault(), o("select", f);
223
+ const n = e, o = a, { t: r } = B(), c = re(), s = n.items === void 0 ? nt() : null, i = yt(), l = C(() => wt(n.items ?? s?.value ?? []));
224
+ function p(w, E, m) {
225
+ if (n.appearance === "drawer" && Te(w)) {
226
+ w.preventDefault(), o("select", m);
226
227
  return;
227
228
  }
228
- C(y);
229
+ E(w);
229
230
  }
230
231
  const g = {
231
- item: `${me} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
232
+ item: `${he} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
232
233
  active: "bg-white/10 font-medium text-white ring-1 ring-inset ring-white/5",
233
234
  inactive: "font-normal text-gray-300 hover:bg-white/5 hover:text-white",
234
235
  iconActive: "text-primary-400",
@@ -236,68 +237,68 @@ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id
236
237
  heading: "px-2 pb-1 text-2xs font-semibold uppercase tracking-[0.08em] text-gray-400",
237
238
  // A hairline above the group, inset like the rows.
238
239
  separator: "before:mx-2 before:my-2.5 before:block before:border-t before:border-white/10"
239
- }, x = {
240
- item: `${me} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
240
+ }, v = {
241
+ item: `${he} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
241
242
  active: "bg-tint-soft font-semibold text-content-link",
242
243
  inactive: "active:bg-fill",
243
244
  iconActive: "",
244
245
  iconInactive: "",
245
246
  heading: "px-3 pt-4.5 pb-1.5 text-subheadline text-content-muted",
246
247
  separator: "before:mx-3 before:my-3 before:block before:border-t before:border-border-separator"
247
- }, _ = A(() => t.appearance === "rail" ? g : x), k = A(() => t.appearance === "rail" ? 16 : 22);
248
- return (y, C) => (u(), b("nav", {
249
- "aria-label": e.label ?? n(i)("core.shell.menu"),
248
+ }, x = C(() => n.appearance === "rail" ? g : v), _ = C(() => n.appearance === "rail" ? 16 : 22);
249
+ return (w, E) => (d(), b("nav", {
250
+ "aria-label": e.label ?? t(r)("core.shell.menu"),
250
251
  "data-shell-navigation": "",
251
252
  "data-appearance": e.appearance
252
253
  }, [
253
- d("ul", null, [
254
- (u(!0), b(V, null, te(s.value, (f, M) => (u(), b("li", {
255
- key: f.key,
256
- "data-separated": f.separated || void 0,
257
- class: $(f.separated ? _.value.separator : "")
254
+ f("ul", null, [
255
+ (d(!0), b(F, null, ne(l.value, (m, M) => (d(), b("li", {
256
+ key: m.key,
257
+ "data-separated": m.separated || void 0,
258
+ class: $(m.separated ? x.value.separator : "")
258
259
  }, [
259
- f.heading ? (u(), b("p", {
260
+ m.heading ? (d(), b("p", {
260
261
  key: 0,
261
- id: `${n(r)}-${M}`,
262
- class: $([_.value.heading, e.appearance === "rail" ? M > 0 ? "pt-4" : "pt-1" : ""])
263
- }, D(f.heading), 11, ht)) : E("", !0),
264
- d("ul", {
265
- "aria-labelledby": f.heading ? `${n(r)}-${M}` : void 0,
262
+ id: `${t(c)}-${M}`,
263
+ class: $([x.value.heading, e.appearance === "rail" ? M > 0 ? "pt-4" : "pt-1" : ""])
264
+ }, D(m.heading), 11, kt)) : S("", !0),
265
+ f("ul", {
266
+ "aria-labelledby": m.heading ? `${t(c)}-${M}` : void 0,
266
267
  class: $(e.appearance === "rail" ? "space-y-0.5" : "")
267
268
  }, [
268
- (u(!0), b(V, null, te(f.items, (l) => (u(), b("li", {
269
- key: l.key
269
+ (d(!0), b(F, null, ne(m.items, (u) => (d(), b("li", {
270
+ key: u.key
270
271
  }, [
271
- v(n(we), {
272
+ h(t(Le), {
272
273
  custom: "",
273
- to: l.to
274
+ to: u.to
274
275
  }, {
275
- default: T(({ href: L, navigate: S }) => [
276
- d("a", {
277
- href: L,
278
- "aria-current": l.active ? "page" : void 0,
276
+ default: A(({ href: T, navigate: L }) => [
277
+ f("a", {
278
+ href: T,
279
+ "aria-current": u.active ? "page" : void 0,
279
280
  "data-shell-destination": "",
280
- class: $([_.value.item, l.active ? _.value.active : _.value.inactive]),
281
- onClick: (w) => p(w, S, l.to)
281
+ class: $([x.value.item, u.active ? x.value.active : x.value.inactive]),
282
+ onClick: (k) => p(k, L, u.to)
282
283
  }, [
283
- n(m)(l.icon) ? (u(), O(n(B), {
284
+ t(i)(u.icon) ? (d(), R(t(P), {
284
285
  key: 0,
285
- name: n(m)(l.icon),
286
- size: k.value,
287
- class: $(l.active ? _.value.iconActive : _.value.iconInactive)
288
- }, null, 8, ["name", "size", "class"])) : E("", !0),
289
- d("span", yt, D(l.label), 1)
290
- ], 10, gt)
286
+ name: t(i)(u.icon),
287
+ size: _.value,
288
+ class: $(u.active ? x.value.iconActive : x.value.iconInactive)
289
+ }, null, 8, ["name", "size", "class"])) : S("", !0),
290
+ f("span", Lt, D(u.label), 1)
291
+ ], 10, St)
291
292
  ]),
292
293
  _: 2
293
294
  }, 1032, ["to"])
294
295
  ]))), 128))
295
- ], 10, bt)
296
- ], 10, vt))), 128))
296
+ ], 10, $t)
297
+ ], 10, _t))), 128))
297
298
  ])
298
- ], 8, pt));
299
+ ], 8, xt));
299
300
  }
300
- }), xt = ["href", "aria-label", "onClick"], ce = /* @__PURE__ */ z({
301
+ }), Ct = ["href", "aria-label", "onClick"], fe = /* @__PURE__ */ z({
301
302
  inheritAttrs: !1,
302
303
  __name: "ShellBrand",
303
304
  props: {
@@ -307,43 +308,51 @@ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id
307
308
  },
308
309
  emits: ["select"],
309
310
  setup(e, { emit: a }) {
310
- const t = e, o = a, { t: i } = N(), { config: r } = Q();
311
- function c(m, s) {
312
- if (t.intercept && $e(m)) {
313
- m.preventDefault(), o("select", t.to);
311
+ const n = e, o = a, { t: r } = B(), { config: c } = J();
312
+ function s(i, l) {
313
+ if (n.intercept && Te(i)) {
314
+ i.preventDefault(), o("select", n.to);
314
315
  return;
315
316
  }
316
- s(m);
317
+ l(i);
317
318
  }
318
- return (m, s) => (u(), O(n(we), {
319
+ return (i, l) => (d(), R(t(Le), {
319
320
  custom: "",
320
321
  to: e.to
321
322
  }, {
322
- default: T(({ href: p, navigate: g }) => [
323
- d("a", G(m.$attrs, {
323
+ default: A(({ href: p, navigate: g }) => [
324
+ f("a", G(i.$attrs, {
324
325
  href: p,
325
- "aria-label": n(i)("core.shell.home"),
326
+ "aria-label": t(r)("core.shell.home"),
326
327
  "data-shell-brand": "",
327
328
  class: "inline-block rounded-control focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
328
- onClick: (x) => c(x, g)
329
+ onClick: (v) => s(v, g)
329
330
  }), [
330
- I(m.$slots, "default", { tone: e.tone }, () => [
331
- d("span", {
331
+ I(i.$slots, "default", { tone: e.tone }, () => [
332
+ f("span", {
332
333
  class: $(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
333
- }, D(n(r).appName), 3)
334
+ }, D(t(c).appName), 3)
334
335
  ])
335
- ], 16, xt)
336
+ ], 16, Ct)
336
337
  ]),
337
338
  _: 3
338
339
  }, 8, ["to"]));
339
340
  }
340
- }), wt = {
341
+ });
342
+ function Ie() {
343
+ const e = xe();
344
+ return C(() => e.get("search").length > 0);
345
+ }
346
+ const Et = {
341
347
  class: "flex h-full flex-col bg-surface-page text-content-strong",
342
348
  "data-shell-drawer-content": ""
343
- }, _t = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, kt = { class: "min-w-0 flex-1" }, $t = { class: "block truncate text-headline font-semibold" }, St = {
349
+ }, Tt = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, At = {
350
+ key: 0,
351
+ class: "shrink-0 pr-4 pb-3 pl-[max(1.125rem,env(safe-area-inset-left))]"
352
+ }, Mt = { class: "min-w-0 flex-1" }, It = { class: "block truncate text-headline font-semibold" }, zt = {
344
353
  key: 0,
345
354
  class: "block truncate text-footnote text-content-muted"
346
- }, Ct = /* @__PURE__ */ z({
355
+ }, Dt = /* @__PURE__ */ z({
347
356
  __name: "NavigationDrawer",
348
357
  props: {
349
358
  identity: {},
@@ -351,52 +360,55 @@ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id
351
360
  },
352
361
  emits: ["select", "account"],
353
362
  setup(e, { emit: a }) {
354
- const t = a, { t: o } = N();
355
- return (i, r) => (u(), b("div", wt, [
356
- d("div", _t, [
357
- v(ce, {
363
+ const n = a, { t: o } = B(), r = Ie();
364
+ return (c, s) => (d(), b("div", Et, [
365
+ f("div", Tt, [
366
+ h(fe, {
358
367
  to: e.home,
359
368
  tone: "brand",
360
369
  intercept: "",
361
370
  class: "max-w-36",
362
- onSelect: r[0] || (r[0] = (c) => t("select", c))
371
+ onSelect: s[0] || (s[0] = (i) => n("select", i))
363
372
  }, K({ _: 2 }, [
364
- i.$slots.brand ? {
373
+ c.$slots.brand ? {
365
374
  name: "default",
366
- fn: T((c) => [
367
- I(i.$slots, "brand", U(X(c)))
375
+ fn: A((i) => [
376
+ I(c.$slots, "brand", W(Y(i)))
368
377
  ]),
369
378
  key: "0"
370
379
  } : void 0
371
380
  ]), 1032, ["to"])
372
381
  ]),
373
- r[3] || (r[3] = d("div", {
382
+ t(r) ? (d(), b("div", At, [
383
+ h(t(X), { name: "search" })
384
+ ])) : S("", !0),
385
+ s[3] || (s[3] = f("div", {
374
386
  class: "mx-5.5 shrink-0 border-t border-border-separator",
375
387
  role: "presentation"
376
388
  }, null, -1)),
377
- v(Ce, {
389
+ h(Me, {
378
390
  appearance: "drawer",
379
- label: n(o)("core.shell.menu"),
391
+ label: t(o)("core.shell.menu"),
380
392
  class: "min-h-0 flex-1 overflow-y-auto overscroll-contain pt-2 pr-2.5 pb-3 pl-[max(0.625rem,env(safe-area-inset-left))] [mask-image:linear-gradient(to_bottom,black_calc(100%-1.5rem),transparent)]",
381
- onSelect: r[1] || (r[1] = (c) => t("select", c))
393
+ onSelect: s[1] || (s[1] = (i) => n("select", i))
382
394
  }, null, 8, ["label"]),
383
- I(i.$slots, "footer"),
384
- d("button", {
395
+ I(c.$slots, "footer"),
396
+ f("button", {
385
397
  type: "button",
386
398
  "data-shell-drawer-account": "",
387
399
  "aria-haspopup": "dialog",
388
400
  class: "flex shrink-0 cursor-pointer items-center gap-3 border-t border-border-separator pt-3 pr-4 pb-[max(1rem,env(safe-area-inset-bottom))] pl-[max(1.125rem,env(safe-area-inset-left))] text-left transition-colors duration-motion-fast active:bg-fill focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus",
389
- onClick: r[2] || (r[2] = (c) => t("account"))
401
+ onClick: s[2] || (s[2] = (i) => n("account"))
390
402
  }, [
391
- v(n(be), {
403
+ h(t(we), {
392
404
  name: e.identity.name,
393
405
  size: "lg"
394
406
  }, null, 8, ["name"]),
395
- d("span", kt, [
396
- d("span", $t, D(e.identity.name), 1),
397
- e.identity.detail ? (u(), b("span", St, D(e.identity.detail), 1)) : E("", !0)
407
+ f("span", Mt, [
408
+ f("span", It, D(e.identity.name), 1),
409
+ e.identity.detail ? (d(), b("span", zt, D(e.identity.detail), 1)) : S("", !0)
398
410
  ]),
399
- v(n(B), {
411
+ h(t(P), {
400
412
  name: "arrowRightSLine",
401
413
  size: 18,
402
414
  class: "shrink-0 text-content-disabled"
@@ -404,498 +416,575 @@ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id
404
416
  ])
405
417
  ]));
406
418
  }
407
- }), Lt = {
419
+ }), ze = Symbol("vue-core.navigationDrawer");
420
+ function De() {
421
+ return ge(ze, null);
422
+ }
423
+ const se = 72, Rt = 110, Ot = 0.5, Pt = 600;
424
+ function Nt(e, a) {
425
+ const n = N(0), o = N(!1);
426
+ let r = 0, c = 0, s = !1;
427
+ function i(v) {
428
+ s = !1, !(!a.enabled() || o.value || v.touches.length !== 1 || window.scrollY > 0) && (r = v.touches[0].clientX, c = v.touches[0].clientY, s = !0);
429
+ }
430
+ function l(v) {
431
+ if (!s) return;
432
+ const x = v.touches[0].clientX - r, _ = v.touches[0].clientY - c;
433
+ if (_ <= 0 || Math.abs(x) > _ || window.scrollY > 0) {
434
+ n.value === 0 && (s = !1), n.value = 0;
435
+ return;
436
+ }
437
+ n.value = Math.min(Rt, _ * Ot);
438
+ }
439
+ async function p() {
440
+ if (s) {
441
+ if (s = !1, n.value < se) {
442
+ n.value = 0;
443
+ return;
444
+ }
445
+ o.value = !0, n.value = se;
446
+ try {
447
+ await Promise.all([e(), new Promise((v) => setTimeout(v, Pt))]);
448
+ } finally {
449
+ o.value = !1, n.value = 0;
450
+ }
451
+ }
452
+ }
453
+ function g() {
454
+ s = !1, o.value || (n.value = 0);
455
+ }
456
+ return Ve(() => {
457
+ window.addEventListener("touchstart", i, { passive: !0 }), window.addEventListener("touchmove", l, { passive: !0 }), window.addEventListener("touchend", p), window.addEventListener("touchcancel", g);
458
+ }), ye(() => {
459
+ window.removeEventListener("touchstart", i), window.removeEventListener("touchmove", l), window.removeEventListener("touchend", p), window.removeEventListener("touchcancel", g);
460
+ }), { pull: n, refreshing: o };
461
+ }
462
+ const Bt = { class: "flex size-9 items-center justify-center rounded-full bg-surface-raised text-primary-700 shadow-md ring-1 ring-border-separator dark:text-primary-300" }, jt = /* @__PURE__ */ z({
463
+ __name: "PullToRefresh",
464
+ setup(e) {
465
+ const a = H("(display-mode: standalone)"), n = ot(), o = De(), r = at(), c = ge(Se, null), { pull: s, refreshing: i } = Nt(
466
+ async () => {
467
+ r.hasUnsavedChanges() && !await r.confirm() || (c && c.value++, await ie());
468
+ },
469
+ {
470
+ enabled: () => c !== null && n.value === 0 && !o?.open.value && (a.value || navigator.standalone === !0)
471
+ }
472
+ );
473
+ return (l, p) => t(s) > 0 || t(i) ? (d(), b("div", {
474
+ key: 0,
475
+ "aria-hidden": "true",
476
+ "data-shell-pull-to-refresh": "",
477
+ class: "pointer-events-none fixed inset-x-0 z-40 flex justify-center",
478
+ style: oe({ top: `calc(env(safe-area-inset-top) + ${Math.max(t(s), 8)}px)` })
479
+ }, [
480
+ f("span", Bt, [
481
+ h(t(P), {
482
+ name: t(i) ? "loader4Line" : "refreshLine",
483
+ size: 20,
484
+ class: $(t(i) ? "animate-spin motion-reduce:animate-none" : ""),
485
+ style: oe(t(i) ? void 0 : { transform: `rotate(${t(s) / t(se) * 270}deg)`, opacity: Math.min(1, t(s) / t(se)) })
486
+ }, null, 8, ["name", "class", "style"])
487
+ ])
488
+ ], 4)) : S("", !0);
489
+ }
490
+ }), Vt = {
408
491
  key: 0,
409
492
  "data-shell-sidebar": "",
410
493
  class: "flex w-64 shrink-0 flex-col bg-anchor-900 dark:border-r dark:border-white/5 dark:bg-anchor-950"
411
- }, At = { class: "sticky top-[var(--shell-banner-h,0px)] z-30 flex h-[calc(100vh-var(--shell-banner-h,0px))] flex-col" }, Et = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Tt = { class: "flex shrink-0 items-center gap-1" }, Mt = { class: "border-t border-white/10 p-2" }, It = /* @__PURE__ */ z({
494
+ }, Ft = { class: "sticky top-[var(--shell-banner-h,0px)] z-30 flex h-[calc(100vh-var(--shell-banner-h,0px))] flex-col" }, Kt = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Xt = { class: "flex shrink-0 items-center gap-1" }, Ut = {
495
+ key: 0,
496
+ class: "px-2 pb-1"
497
+ }, Wt = { class: "border-t border-white/10 p-2" }, Yt = /* @__PURE__ */ z({
412
498
  __name: "ShellSidebar",
413
499
  props: {
414
500
  identity: {},
415
501
  home: {}
416
502
  },
417
503
  setup(e) {
418
- ae(ye, "rail");
419
- const a = q("(min-width: 48rem)");
420
- return (t, o) => n(a) ? (u(), b("aside", Lt, [
421
- d("div", At, [
422
- d("div", Et, [
423
- v(ce, {
504
+ Q(ke, "rail");
505
+ const a = H("(min-width: 48rem)"), n = Ie();
506
+ return (o, r) => t(a) ? (d(), b("aside", Vt, [
507
+ f("div", Ft, [
508
+ f("div", Kt, [
509
+ h(fe, {
424
510
  to: e.home,
425
511
  tone: "light",
426
512
  class: "min-w-0"
427
513
  }, K({ _: 2 }, [
428
- t.$slots.brand ? {
514
+ o.$slots.brand ? {
429
515
  name: "default",
430
- fn: T((i) => [
431
- I(t.$slots, "brand", U(X(i)))
516
+ fn: A((c) => [
517
+ I(o.$slots, "brand", W(Y(c)))
432
518
  ]),
433
519
  key: "0"
434
520
  } : void 0
435
521
  ]), 1032, ["to"]),
436
- d("div", Tt, [
437
- v(n(H), { name: "headerActions" })
522
+ f("div", Xt, [
523
+ h(t(X), { name: "headerActions" })
438
524
  ])
439
525
  ]),
440
- v(Ce, {
526
+ t(n) ? (d(), b("div", Ut, [
527
+ h(t(X), { name: "search" })
528
+ ])) : S("", !0),
529
+ h(Me, {
441
530
  appearance: "rail",
442
531
  class: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-2 pt-3 pb-3 [mask-image:linear-gradient(to_bottom,transparent,black_12px,black_calc(100%-12px),transparent)]"
443
532
  }),
444
- I(t.$slots, "footer"),
445
- d("div", Mt, [
446
- v(ut, { identity: e.identity }, null, 8, ["identity"])
533
+ I(o.$slots, "footer"),
534
+ f("div", Wt, [
535
+ h(bt, { identity: e.identity }, null, 8, ["identity"])
447
536
  ])
448
537
  ])
449
- ])) : E("", !0);
538
+ ])) : S("", !0);
450
539
  }
451
- }), zt = 20, Dt = 8, pe = 0.5, Ot = 40;
452
- function Rt({ offset: e, startOffset: a, width: t, velocity: o }) {
453
- if (Math.abs(e - a) > Ot) {
454
- if (o > pe) return !0;
455
- if (o < -pe) return !1;
540
+ }), Ht = 20, qt = 8, be = 0.5, Gt = 40;
541
+ function Qt({ offset: e, startOffset: a, width: n, velocity: o }) {
542
+ if (Math.abs(e - a) > Gt) {
543
+ if (o > be) return !0;
544
+ if (o < -be) return !1;
456
545
  }
457
- return e > t / 2;
546
+ return e > n / 2;
458
547
  }
459
- function Bt(e) {
460
- const a = F(0), t = F(!1);
461
- let o = !1, i = null, r = 0, c = 0, m = 0, s = 0, p = 0, g = 0;
462
- function x(S, w) {
463
- o = !0, i = null, r = s = S.clientX, c = S.clientY, m = w, p = performance.now(), g = 0;
548
+ function Jt(e) {
549
+ const a = N(0), n = N(!1);
550
+ let o = !1, r = null, c = 0, s = 0, i = 0, l = 0, p = 0, g = 0;
551
+ function v(L, k) {
552
+ o = !0, r = null, c = l = L.clientX, s = L.clientY, i = k, p = performance.now(), g = 0;
464
553
  }
465
- function _(S) {
466
- const w = S.touches[0];
467
- if (!o || !w) return;
468
- const R = w.clientX - r, J = w.clientY - c;
469
- if (!i) {
470
- if (Math.max(Math.abs(R), Math.abs(J)) < Dt) return;
471
- if (i = Math.abs(R) > Math.abs(J) ? "x" : "y", i === "y" || m === 0 && R < 0) {
554
+ function x(L) {
555
+ const k = L.touches[0];
556
+ if (!o || !k) return;
557
+ const O = k.clientX - c, Z = k.clientY - s;
558
+ if (!r) {
559
+ if (Math.max(Math.abs(O), Math.abs(Z)) < qt) return;
560
+ if (r = Math.abs(O) > Math.abs(Z) ? "x" : "y", r === "y" || i === 0 && O < 0) {
472
561
  o = !1;
473
562
  return;
474
563
  }
475
- t.value = !0, a.value = m, e.onStart();
564
+ n.value = !0, a.value = i, e.onStart();
476
565
  }
477
- const W = performance.now();
478
- g = (w.clientX - s) / Math.max(W - p, 1), s = w.clientX, p = W, a.value = Math.min(e.width(), Math.max(0, m + R)), S.cancelable && S.preventDefault();
566
+ const U = performance.now();
567
+ g = (k.clientX - l) / Math.max(U - p, 1), l = k.clientX, p = U, a.value = Math.min(e.width(), Math.max(0, i + O)), L.cancelable && L.preventDefault();
479
568
  }
480
- function k() {
481
- o && (o = !1, t.value && (t.value = !1, e.onSettle(Rt({ offset: a.value, startOffset: m, width: e.width(), velocity: g }))));
569
+ function _() {
570
+ o && (o = !1, n.value && (n.value = !1, e.onSettle(Qt({ offset: a.value, startOffset: i, width: e.width(), velocity: g }))));
482
571
  }
483
- function y() {
484
- o = !1, t.value = !1;
572
+ function w() {
573
+ o = !1, n.value = !1;
485
574
  }
486
- function C(S) {
487
- const w = S.touches[0];
488
- !w || S.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || w.clientX > zt || x(w, 0);
575
+ function E(L) {
576
+ const k = L.touches[0];
577
+ !k || L.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || k.clientX > Ht || v(k, 0);
489
578
  }
490
- let f = !1;
579
+ let m = !1;
491
580
  function M() {
492
- f || (f = !0, window.addEventListener("touchstart", C, { passive: !0 }), window.addEventListener("touchmove", _, { passive: !1 }), window.addEventListener("touchend", k), window.addEventListener("touchcancel", k));
581
+ m || (m = !0, window.addEventListener("touchstart", E, { passive: !0 }), window.addEventListener("touchmove", x, { passive: !1 }), window.addEventListener("touchend", _), window.addEventListener("touchcancel", _));
493
582
  }
494
- function l() {
495
- f && (f = !1, window.removeEventListener("touchstart", C), window.removeEventListener("touchmove", _), window.removeEventListener("touchend", k), window.removeEventListener("touchcancel", k), y());
583
+ function u() {
584
+ m && (m = !1, window.removeEventListener("touchstart", E), window.removeEventListener("touchmove", x), window.removeEventListener("touchend", _), window.removeEventListener("touchcancel", _), w());
496
585
  }
497
- return Y(e.enabled, (S) => S ? M() : l(), { immediate: !0 }), le(l), { offset: a, dragging: t, closeEvents: {
498
- onTouchstartPassive(S) {
499
- const w = S.touches[0];
500
- w && S.touches.length === 1 && e.isOpen() && x(w, e.width());
586
+ return q(e.enabled, (L) => L ? M() : u(), { immediate: !0 }), ce(u), { offset: a, dragging: n, closeEvents: {
587
+ onTouchstartPassive(L) {
588
+ const k = L.touches[0];
589
+ k && L.touches.length === 1 && e.isOpen() && v(k, e.width());
501
590
  }
502
- }, cancel: y };
591
+ }, cancel: w };
503
592
  }
504
- const Le = Symbol("vue-core.navigationDrawer");
505
- function Nt() {
506
- return De(Le, null);
507
- }
508
- const Pt = ["id", "aria-label"], jt = ["data-drawer", "inert"], Vt = /* @__PURE__ */ z({
593
+ const Zt = ["id", "aria-label"], en = ["data-drawer", "inert"], tn = /* @__PURE__ */ z({
509
594
  __name: "ShellStage",
510
595
  props: {
511
596
  enabled: { type: Boolean }
512
597
  },
513
598
  setup(e) {
514
- const a = e, { t } = N(), o = He(), i = re(), r = q("(max-width: 47.999rem)"), c = q("(display-mode: standalone)"), m = q("(prefers-reduced-motion: reduce)"), s = A(() => a.enabled && r.value), p = ne("stage"), g = ne("scroller"), x = F(null), _ = se(), k = F(!1), y = F(!1), C = F(!1);
515
- let f = 0, M = !1, l, L = null;
516
- const S = () => x.value?.offsetWidth ?? 0, w = Bt({
517
- enabled: () => s.value,
518
- width: S,
519
- isOpen: () => C.value,
520
- canOpenFromEdge: () => c.value || navigator.standalone === !0,
599
+ const a = e, { t: n } = B(), o = tt(), r = de(), c = H("(max-width: 47.999rem)"), s = H("(display-mode: standalone)"), i = H("(prefers-reduced-motion: reduce)"), l = C(() => a.enabled && c.value), p = ae("stage"), g = ae("scroller"), v = N(null), x = re(), _ = N(!1), w = N(!1), E = N(!1);
600
+ let m = 0, M = !1, u, T = null;
601
+ const L = () => v.value?.offsetWidth ?? 0, k = Jt({
602
+ enabled: () => l.value,
603
+ width: L,
604
+ isOpen: () => E.value,
605
+ canOpenFromEdge: () => s.value || navigator.standalone === !0,
521
606
  onStart: () => {
522
- clearTimeout(l), ue();
607
+ clearTimeout(u), me();
523
608
  },
524
- onSettle: (h) => h ? k.value = !0 : j()
525
- }), R = A(() => w.dragging.value ? w.offset.value : C.value ? S() : 0), J = A(() => S() ? R.value / S() : 0), W = Je(x, {
609
+ onSettle: (y) => y ? _.value = !0 : V()
610
+ }), O = C(() => k.dragging.value ? k.offset.value : E.value ? L() : 0), Z = C(() => L() ? O.value / L() : 0), U = lt(v, {
526
611
  initialFocus: "panel",
527
- onEscape: () => j()
612
+ onEscape: () => V()
528
613
  });
529
- function Ae() {
530
- const h = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
531
- return h.endsWith("ms") ? parseFloat(h) : parseFloat(h) * 1e3 || 0;
614
+ function Re() {
615
+ const y = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
616
+ return y.endsWith("ms") ? parseFloat(y) : parseFloat(y) * 1e3 || 0;
532
617
  }
533
- function ue() {
534
- const h = p.value, P = g.value;
535
- y.value || !h || !P || (f = window.scrollY, M = !1, Object.assign(h.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = f, y.value = !0);
618
+ function me() {
619
+ const y = p.value, j = g.value;
620
+ w.value || !y || !j || (m = window.scrollY, M = !1, Object.assign(y.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(j.style, { position: "absolute", inset: "0", overflow: "hidden" }), j.scrollTop = m, w.value = !0);
536
621
  }
537
- function oe() {
538
- const h = p.value, P = g.value;
539
- !y.value || !h || !P || (Object.assign(h.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), y.value = !1, window.scrollTo({ top: M ? 0 : f, behavior: "instant" }));
622
+ function le() {
623
+ const y = p.value, j = g.value;
624
+ !w.value || !y || !j || (Object.assign(y.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(j.style, { position: "", inset: "", overflow: "" }), w.value = !1, window.scrollTo({ top: M ? 0 : m, behavior: "instant" }));
540
625
  }
541
- Y([R, () => w.dragging.value, y], () => {
542
- const h = p.value;
543
- !h || !y.value || (h.style.transform = `translate3d(${R.value}px, 0, 0)`, h.style.borderRadius = R.value > 0 ? "2.5rem" : "", h.style.transition = w.dragging.value || m.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
626
+ q([O, () => k.dragging.value, w], () => {
627
+ const y = p.value;
628
+ !y || !w.value || (y.style.transform = `translate3d(${O.value}px, 0, 0)`, y.style.borderRadius = O.value > 0 ? "2.5rem" : "", y.style.transition = k.dragging.value || i.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
544
629
  }, { flush: "sync" });
545
- function Ee() {
546
- if (!s.value) {
547
- k.value = !1;
630
+ function Oe() {
631
+ if (!l.value) {
632
+ _.value = !1;
548
633
  return;
549
634
  }
550
- clearTimeout(l), L = null, ue(), p.value?.offsetWidth, C.value = !0, W.present(), he(() => {
551
- x.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
635
+ clearTimeout(u), T = null, me(), p.value?.offsetWidth, E.value = !0, U.present(), ie(() => {
636
+ v.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
552
637
  });
553
638
  }
554
- function j(h) {
555
- if (h && (L = h), k.value) {
556
- k.value = !1;
639
+ function V(y) {
640
+ if (y && (T = y), _.value) {
641
+ _.value = !1;
557
642
  return;
558
643
  }
559
- C.value = !1, W.dismissWithoutAsking(), clearTimeout(l), l = setTimeout(Te, Ae() + 30);
644
+ E.value = !1, U.dismissWithoutAsking(), clearTimeout(u), u = setTimeout(Pe, Re() + 30);
560
645
  }
561
- function Te() {
562
- oe();
563
- const h = L;
564
- L = null, h?.();
646
+ function Pe() {
647
+ le();
648
+ const y = T;
649
+ T = null, y?.();
565
650
  }
566
- Y(k, (h) => h ? Ee() : j()), Y(s, (h) => {
567
- h || (w.cancel(), clearTimeout(l), L = null, k.value = !1, C.value = !1, W.dismissWithoutAsking(), oe());
568
- }), Y(() => o.fullPath, () => {
569
- y.value && (M = !0), C.value && j();
651
+ q(_, (y) => y ? Oe() : V()), q(l, (y) => {
652
+ y || (k.cancel(), clearTimeout(u), T = null, _.value = !1, E.value = !1, U.dismissWithoutAsking(), le());
653
+ }), q(() => o.fullPath, () => {
654
+ w.value && (M = !0), E.value && V();
570
655
  });
571
- function Me(h) {
572
- i.push(h).catch(() => {
573
- }).finally(() => j());
656
+ function Ne(y) {
657
+ r.push(y).catch(() => {
658
+ }).finally(() => V());
574
659
  }
575
- return ae(Le, {
576
- available: s,
577
- open: k,
578
- panelId: _,
660
+ return Q(ze, {
661
+ available: l,
662
+ open: _,
663
+ panelId: x,
579
664
  present: () => {
580
- s.value && (k.value = !0);
665
+ l.value && (_.value = !0);
581
666
  },
582
- dismiss: j
583
- }), Oe(() => {
584
- clearTimeout(l), oe();
585
- }), (h, P) => (u(), b(V, null, [
586
- s.value ? (u(), b("div", G({
667
+ dismiss: V
668
+ }), ye(() => {
669
+ clearTimeout(u), le();
670
+ }), (y, j) => (d(), b(F, null, [
671
+ l.value ? (d(), b("div", G({
587
672
  key: 0,
588
- id: n(_),
673
+ id: t(x),
589
674
  ref_key: "panel",
590
- ref: x,
675
+ ref: v,
591
676
  role: "dialog",
592
677
  "aria-modal": "true",
593
- "aria-label": n(t)("core.shell.menu"),
678
+ "aria-label": t(n)("core.shell.menu"),
594
679
  tabindex: "-1",
595
680
  "data-shell-drawer": "",
596
- class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", y.value ? "visible" : "invisible"],
597
- style: n(m) ? { opacity: C.value || n(w).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
598
- }, n(w).closeEvents), [
599
- I(h.$slots, "drawer", {
600
- select: Me,
601
- dismiss: j
681
+ class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", w.value ? "visible" : "invisible"],
682
+ style: t(i) ? { opacity: E.value || t(k).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
683
+ }, t(k).closeEvents), [
684
+ I(y.$slots, "drawer", {
685
+ select: Ne,
686
+ dismiss: V
602
687
  })
603
- ], 16, Pt)) : E("", !0),
604
- d("div", {
688
+ ], 16, Zt)) : S("", !0),
689
+ f("div", {
605
690
  ref_key: "stage",
606
691
  ref: p,
607
692
  "data-shell-stage": "",
608
- "data-drawer": C.value ? "open" : void 0,
609
- class: $(["flex flex-1 flex-col", y.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
610
- inert: C.value || n(w).dragging.value || void 0
693
+ "data-drawer": E.value ? "open" : void 0,
694
+ class: $(["flex flex-1 flex-col", w.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
695
+ inert: E.value || t(k).dragging.value || void 0
611
696
  }, [
612
- d("div", {
697
+ f("div", {
613
698
  ref_key: "scroller",
614
699
  ref: g,
615
700
  class: "flex flex-1 flex-col"
616
701
  }, [
617
- I(h.$slots, "default")
702
+ I(y.$slots, "default")
618
703
  ], 512),
619
- y.value ? (u(), b("div", {
704
+ w.value ? (d(), b("div", {
620
705
  key: 0,
621
706
  "aria-hidden": "true",
622
707
  class: "pointer-events-none fixed inset-0 z-50 bg-scrim",
623
- style: ve({ opacity: J.value * 0.55 })
624
- }, null, 4)) : E("", !0)
625
- ], 10, jt),
626
- y.value && R.value > 0 ? (u(), b("div", G({
708
+ style: oe({ opacity: Z.value * 0.55 })
709
+ }, null, 4)) : S("", !0)
710
+ ], 10, en),
711
+ w.value && O.value > 0 ? (d(), b("div", G({
627
712
  key: 1,
628
713
  "aria-hidden": "true",
629
714
  "data-shell-stage-cover": "",
630
715
  class: "fixed inset-y-0 right-0 z-20",
631
- style: { left: `${R.value}px` }
632
- }, n(w).closeEvents, {
633
- onClick: P[0] || (P[0] = (yn) => j())
634
- }), null, 16)) : E("", !0)
716
+ style: { left: `${O.value}px` }
717
+ }, t(k).closeEvents, {
718
+ onClick: j[0] || (j[0] = (zn) => V())
719
+ }), null, 16)) : S("", !0)
635
720
  ], 64));
636
721
  }
637
- }), Ft = ["aria-label", "aria-expanded", "aria-controls"], Kt = /* @__PURE__ */ z({
722
+ }), nn = ["aria-label", "aria-expanded", "aria-controls"], an = /* @__PURE__ */ z({
638
723
  __name: "NavigationMenuButton",
639
724
  setup(e) {
640
- const a = Nt(), { t } = N();
641
- return (o, i) => n(a)?.available.value ? (u(), b("button", {
725
+ const a = De(), { t: n } = B();
726
+ return (o, r) => t(a)?.available.value ? (d(), b("button", {
642
727
  key: 0,
643
728
  type: "button",
644
729
  "data-shell-menu-button": "",
645
- "aria-label": n(t)("core.shell.menu"),
646
- "aria-expanded": n(a).open.value,
647
- "aria-controls": n(a).panelId,
730
+ "aria-label": t(n)("core.shell.menu"),
731
+ "aria-expanded": t(a).open.value,
732
+ "aria-controls": t(a).panelId,
648
733
  "aria-haspopup": "dialog",
649
734
  class: "relative my-1 ml-2 flex size-11 shrink-0 cursor-pointer items-center justify-center rounded-full bg-surface-cell text-content-strong shadow-float transition-transform duration-motion-fast active:scale-95 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
650
- onClick: i[0] || (i[0] = (r) => n(a).present())
735
+ onClick: r[0] || (r[0] = (c) => t(a).present())
651
736
  }, [
652
- v(n(B), {
737
+ h(t(P), {
653
738
  name: "menuLines",
654
739
  size: 20
655
740
  })
656
- ], 8, Ft)) : E("", !0);
741
+ ], 8, nn)) : S("", !0);
657
742
  }
658
- }), Wt = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, Ut = { class: "flex min-w-0 items-center justify-start" }, Xt = ["data-page-action", "disabled"], Yt = { class: "truncate" }, qt = { class: "ml-1 flex items-center gap-1" }, Gt = { class: "flex min-w-0 items-center justify-end" }, Ht = ["data-page-action", "aria-label", "disabled", "onClick"], Qt = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], Jt = { class: "truncate" }, Zt = ["aria-label", "onClick"], en = /* @__PURE__ */ z({
743
+ }), on = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, sn = { class: "flex min-w-0 items-center justify-start" }, ln = ["data-page-action", "disabled"], rn = { class: "truncate" }, cn = { class: "ml-1 flex items-center gap-1" }, un = { class: "flex min-w-0 items-center justify-end" }, dn = ["data-page-action", "aria-label", "disabled", "onClick"], fn = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], mn = { class: "truncate" }, pn = ["aria-label", "onClick"], vn = /* @__PURE__ */ z({
659
744
  __name: "ShellTopBar",
660
745
  props: {
661
746
  home: {}
662
747
  },
663
748
  setup(e) {
664
- const { t: a } = N(), t = re(), o = xe(), { session: i } = Q(), r = q("(max-width: 47.999rem)");
665
- ae(ye, "bar");
666
- const c = A(() => ie(i.state.value) !== null), m = A(() => !c.value || r.value), s = A(() => c.value ? o.back.value : null), p = A(() => c.value ? o.leading.value : null), g = A(() => o.navTitle.value ?? o.title.value), x = A(() => c.value && !!g.value && (!!o.navTitle.value || !o.titleInView.value)), _ = A(() => c.value ? o.actions.value : []), k = A(() => _.value.filter((f) => f.placement === "primary" && f.tone !== "critical")), y = A(
667
- () => _.value.filter((f) => !k.value.includes(f)).map((f) => ({ id: f.id, label: f.label, icon: f.icon, tone: f.tone, disabled: f.disabled, processing: f.processing, onSelect: f.onClick }))
749
+ const { t: a } = B(), n = de(), o = $e(), { session: r } = J(), c = H("(max-width: 47.999rem)");
750
+ Q(ke, "bar");
751
+ const s = C(() => ue(r.state.value) !== null), i = C(() => !s.value || c.value), l = C(() => s.value ? o.back.value : null), p = C(() => s.value ? o.leading.value : null), g = C(() => o.navTitle.value ?? o.title.value), v = C(() => s.value && !!g.value && (!!o.navTitle.value || !o.titleInView.value)), x = C(() => s.value ? o.actions.value : []), _ = C(() => x.value.filter((m) => m.placement === "primary" && m.tone !== "critical")), w = C(
752
+ () => x.value.filter((m) => !_.value.includes(m)).map((m) => ({ id: m.id, label: m.label, icon: m.icon, tone: m.tone, disabled: m.disabled, processing: m.processing, onSelect: m.onClick }))
668
753
  );
669
- function C() {
670
- s.value && t.push(s.value.to);
754
+ function E() {
755
+ l.value && n.push(l.value.to);
671
756
  }
672
- return (f, M) => m.value ? (u(), b("header", {
757
+ return (m, M) => i.value ? (d(), b("header", {
673
758
  key: 0,
674
759
  "data-shell-top-bar": "",
675
- class: $(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", c.value ? ["sticky top-[var(--shell-banner-h,0px)] z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", x.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
760
+ class: $(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", s.value ? ["sticky top-[var(--shell-banner-h,0px)] z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", v.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
676
761
  }, [
677
- d("div", Wt, [
678
- d("div", Ut, [
679
- p.value ? (u(), b("button", {
762
+ f("div", on, [
763
+ f("div", sn, [
764
+ p.value ? (d(), b("button", {
680
765
  key: 0,
681
766
  type: "button",
682
767
  "data-shell-bar-leading": "",
683
768
  "data-page-action": p.value.id,
684
769
  disabled: p.value.disabled || p.value.processing,
685
770
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control px-2 text-body text-content-link disabled:text-content-disabled",
686
- onClick: M[0] || (M[0] = (l) => p.value.onClick())
771
+ onClick: M[0] || (M[0] = (u) => p.value.onClick())
687
772
  }, [
688
- d("span", Yt, D(p.value.label), 1)
689
- ], 8, Xt)) : s.value ? (u(), b("button", {
773
+ f("span", rn, D(p.value.label), 1)
774
+ ], 8, ln)) : l.value ? (d(), b("button", {
690
775
  key: 1,
691
776
  type: "button",
692
777
  "data-shell-bar-back": "",
693
778
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control pr-2 text-body text-content-link active:opacity-60",
694
- onClick: C
779
+ onClick: E
695
780
  }, [
696
- v(n(B), {
781
+ h(t(P), {
697
782
  name: "arrowLeftSLine",
698
783
  size: 28,
699
784
  class: "-mr-0.5 shrink-0"
700
785
  }),
701
- d("span", {
702
- class: $(["truncate", x.value ? "sr-only" : ""])
703
- }, D(s.value.label), 3)
704
- ])) : c.value ? (u(), b(V, { key: 2 }, [
705
- v(Kt),
706
- d("span", qt, [
707
- v(n(H), { name: "headerActions" })
786
+ f("span", {
787
+ class: $(["truncate", v.value ? "sr-only" : ""])
788
+ }, D(l.value.label), 3)
789
+ ])) : s.value ? (d(), b(F, { key: 2 }, [
790
+ h(an),
791
+ f("span", cn, [
792
+ h(t(X), { name: "headerActions" })
708
793
  ])
709
- ], 64)) : (u(), O(ce, {
794
+ ], 64)) : (d(), R(fe, {
710
795
  key: 3,
711
796
  to: e.home,
712
797
  tone: "brand",
713
- class: $(["px-2 transition-opacity", x.value ? "opacity-0" : "opacity-100"])
798
+ class: $(["px-2 transition-opacity", v.value ? "opacity-0" : "opacity-100"])
714
799
  }, K({ _: 2 }, [
715
- f.$slots.brand ? {
800
+ m.$slots.brand ? {
716
801
  name: "default",
717
- fn: T((l) => [
718
- I(f.$slots, "brand", U(X(l)))
802
+ fn: A((u) => [
803
+ I(m.$slots, "brand", W(Y(u)))
719
804
  ]),
720
805
  key: "0"
721
806
  } : void 0
722
807
  ]), 1032, ["to", "class"]))
723
808
  ]),
724
- d("span", {
809
+ f("span", {
725
810
  "aria-hidden": "true",
726
811
  "data-shell-bar-title": "",
727
- class: $(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", x.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
812
+ class: $(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", v.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
728
813
  }, D(g.value), 3),
729
- d("div", Gt, [
730
- c.value ? (u(), b(V, { key: 0 }, [
731
- (u(!0), b(V, null, te(k.value, (l) => (u(), b(V, {
732
- key: l.id
814
+ f("div", un, [
815
+ s.value ? (d(), b(F, { key: 0 }, [
816
+ (d(!0), b(F, null, ne(_.value, (u) => (d(), b(F, {
817
+ key: u.id
733
818
  }, [
734
- l.compact === "icon" && l.icon ? (u(), b("button", {
819
+ u.compact === "icon" && u.icon ? (d(), b("button", {
735
820
  key: 0,
736
821
  type: "button",
737
- "data-page-action": l.id,
738
- "aria-label": l.label,
739
- disabled: l.disabled || l.processing,
822
+ "data-page-action": u.id,
823
+ "aria-label": u.label,
824
+ disabled: u.disabled || u.processing,
740
825
  class: "hit-target mx-1 flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-tint-soft text-content-link disabled:opacity-45",
741
- onClick: (L) => l.onClick()
826
+ onClick: (T) => u.onClick()
742
827
  }, [
743
- v(n(B), {
744
- name: l.processing ? "loader4Line" : l.icon,
828
+ h(t(P), {
829
+ name: u.processing ? "loader4Line" : u.icon,
745
830
  size: 18,
746
- class: $(l.processing ? "animate-spin" : "")
831
+ class: $(u.processing ? "animate-spin" : "")
747
832
  }, null, 8, ["name", "class"])
748
- ], 8, Ht)) : (u(), b("button", {
833
+ ], 8, dn)) : (d(), b("button", {
749
834
  key: 1,
750
835
  type: "button",
751
- "data-page-action": l.id,
752
- disabled: l.disabled || l.processing,
753
- "aria-label": l.shortLabel ? l.label : void 0,
754
- "aria-busy": l.processing || void 0,
836
+ "data-page-action": u.id,
837
+ disabled: u.disabled || u.processing,
838
+ "aria-label": u.shortLabel ? u.label : void 0,
839
+ "aria-busy": u.processing || void 0,
755
840
  class: "hit-target flex min-w-0 shrink cursor-pointer items-center gap-1 rounded-control px-2 text-body font-semibold text-content-link disabled:text-content-disabled",
756
- onClick: (L) => l.onClick()
841
+ onClick: (T) => u.onClick()
757
842
  }, [
758
- l.processing ? (u(), O(n(B), {
843
+ u.processing ? (d(), R(t(P), {
759
844
  key: 0,
760
845
  name: "loader4Line",
761
846
  size: 16,
762
847
  class: "animate-spin"
763
- })) : E("", !0),
764
- d("span", Jt, D(l.shortLabel ?? l.label), 1)
765
- ], 8, Qt))
848
+ })) : S("", !0),
849
+ f("span", mn, D(u.shortLabel ?? u.label), 1)
850
+ ], 8, fn))
766
851
  ], 64))), 128)),
767
- y.value.length ? (u(), O(n(Ze), {
852
+ w.value.length ? (d(), R(t(rt), {
768
853
  key: 0,
769
- items: y.value,
770
- label: n(a)("core.page.more_actions")
854
+ items: w.value,
855
+ label: t(a)("core.page.more_actions")
771
856
  }, {
772
- trigger: T(({ toggle: l, attrs: L }) => [
773
- d("button", G({ type: "button" }, L, {
774
- "aria-label": n(a)("core.page.more_actions"),
857
+ trigger: A(({ toggle: u, attrs: T }) => [
858
+ f("button", G({ type: "button" }, T, {
859
+ "aria-label": t(a)("core.page.more_actions"),
775
860
  "data-shell-bar-more": "",
776
861
  class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-full text-content-link",
777
- onClick: l
862
+ onClick: u
778
863
  }), [
779
- v(n(B), {
864
+ h(t(P), {
780
865
  name: "moreLine",
781
866
  size: 22
782
867
  })
783
- ], 16, Zt)
868
+ ], 16, pn)
784
869
  ]),
785
870
  _: 1
786
- }, 8, ["items", "label"])) : E("", !0)
787
- ], 64)) : E("", !0),
788
- I(f.$slots, "end")
871
+ }, 8, ["items", "label"])) : S("", !0)
872
+ ], 64)) : S("", !0),
873
+ I(m.$slots, "end")
789
874
  ])
790
875
  ])
791
- ], 2)) : E("", !0);
876
+ ], 2)) : S("", !0);
792
877
  }
793
878
  });
794
- function tn(e) {
795
- const { name: a, email: t } = e;
796
- return { name: typeof a == "string" && a !== "" ? a : String(e.id), detail: typeof t == "string" ? t : null };
879
+ function hn(e) {
880
+ const { name: a, email: n } = e;
881
+ return { name: typeof a == "string" && a !== "" ? a : String(e.id), detail: typeof n == "string" ? n : null };
797
882
  }
798
- function nn(e) {
799
- const { session: a } = Q(), t = e ?? tn;
800
- return A(() => {
801
- const o = ie(a.state.value);
802
- return o ? t(o.user) : null;
883
+ function bn(e) {
884
+ const { session: a } = J(), n = e ?? hn;
885
+ return C(() => {
886
+ const o = ue(a.state.value);
887
+ return o ? n(o.user) : null;
803
888
  });
804
889
  }
805
- const an = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, on = ["aria-label"], sn = { class: "flex flex-1" }, ln = { class: "flex min-w-0 flex-1 overflow-x-clip" }, rn = { "data-dialog-inert-skip": "" }, cn = /* @__PURE__ */ z({
890
+ const gn = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, yn = ["aria-label"], wn = { class: "flex flex-1" }, xn = { class: "flex min-w-0 flex-1 overflow-x-clip" }, _n = { "data-dialog-inert-skip": "" }, kn = /* @__PURE__ */ z({
806
891
  __name: "BackofficeShell",
807
892
  props: {
808
893
  home: { default: void 0 },
809
894
  identity: { type: Function, default: void 0 },
810
- progress: { default: void 0 }
895
+ progress: { default: void 0 },
896
+ pullToRefresh: { type: Boolean, default: !0 }
811
897
  },
812
898
  setup(e) {
813
- const a = e, { t } = N(), { session: o } = Q(), i = xe(), r = nn(a.identity), c = A(() => ie(o.state.value) !== null), m = ne("accountSheet");
814
- return (s, p) => (u(), b("div", an, [
815
- e.progress?.visible.value ? (u(), b("div", {
899
+ const a = e, { t: n } = B(), { session: o } = J(), r = $e(), c = bn(a.identity);
900
+ Q(Se, N(0));
901
+ const s = C(() => ue(o.state.value) !== null), i = ae("accountSheet");
902
+ return (l, p) => (d(), b("div", gn, [
903
+ e.progress?.visible.value ? (d(), b("div", {
816
904
  key: 0,
817
905
  role: "progressbar",
818
- "aria-label": n(t)("core.state.loading"),
906
+ "aria-label": t(n)("core.state.loading"),
819
907
  "data-shell-progress": "",
820
908
  class: "fixed inset-x-0 top-0 z-10000 flex h-1 justify-center bg-primary-800"
821
909
  }, [...p[0] || (p[0] = [
822
- d("div", { class: "animate-grow-and-shrink-width bg-primary-600 motion-reduce:w-full motion-reduce:animate-none motion-reduce:opacity-60" }, null, -1)
823
- ])], 8, on)) : E("", !0),
824
- v(n(H), { name: "banner" }),
825
- v(Vt, { enabled: c.value }, K({
826
- default: T(() => [
827
- v(en, { home: e.home }, K({ _: 2 }, [
828
- s.$slots.brand ? {
910
+ f("div", { class: "animate-grow-and-shrink-width bg-primary-600 motion-reduce:w-full motion-reduce:animate-none motion-reduce:opacity-60" }, null, -1)
911
+ ])], 8, yn)) : S("", !0),
912
+ h(t(X), { name: "banner" }),
913
+ h(tn, { enabled: s.value }, K({
914
+ default: A(() => [
915
+ e.pullToRefresh && s.value ? (d(), R(jt, { key: 0 })) : S("", !0),
916
+ h(vn, { home: e.home }, K({ _: 2 }, [
917
+ l.$slots.brand ? {
829
918
  name: "brand",
830
- fn: T((g) => [
831
- I(s.$slots, "brand", U(X(g)))
919
+ fn: A((g) => [
920
+ I(l.$slots, "brand", W(Y(g)))
832
921
  ]),
833
922
  key: "0"
834
923
  } : void 0,
835
- s.$slots["top-bar-end"] ? {
924
+ l.$slots["top-bar-end"] ? {
836
925
  name: "end",
837
- fn: T(() => [
838
- I(s.$slots, "top-bar-end")
926
+ fn: A(() => [
927
+ I(l.$slots, "top-bar-end")
839
928
  ]),
840
929
  key: "1"
841
930
  } : void 0
842
931
  ]), 1032, ["home"]),
843
- d("div", sn, [
844
- n(r) ? (u(), O(It, {
932
+ f("div", wn, [
933
+ t(c) ? (d(), R(Yt, {
845
934
  key: 0,
846
- identity: n(r),
935
+ identity: t(c),
847
936
  home: e.home
848
937
  }, K({ _: 2 }, [
849
- s.$slots.brand ? {
938
+ l.$slots.brand ? {
850
939
  name: "brand",
851
- fn: T((g) => [
852
- I(s.$slots, "brand", U(X(g)))
940
+ fn: A((g) => [
941
+ I(l.$slots, "brand", W(Y(g)))
853
942
  ]),
854
943
  key: "0"
855
944
  } : void 0,
856
- s.$slots.footer ? {
945
+ l.$slots.footer ? {
857
946
  name: "footer",
858
- fn: T(() => [
859
- I(s.$slots, "footer")
947
+ fn: A(() => [
948
+ I(l.$slots, "footer")
860
949
  ]),
861
950
  key: "1"
862
951
  } : void 0
863
- ]), 1032, ["identity", "home"])) : E("", !0),
864
- d("div", ln, [
865
- d("main", {
866
- class: $(["flex min-w-0 flex-1 flex-col", n(i).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
867
- style: ve(n(i).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
952
+ ]), 1032, ["identity", "home"])) : S("", !0),
953
+ f("div", xn, [
954
+ f("main", {
955
+ class: $(["flex min-w-0 flex-1 flex-col", t(r).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
956
+ style: oe(t(r).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
868
957
  }, [
869
- v(n(Ge))
958
+ h(t(et))
870
959
  ], 6)
871
960
  ])
872
961
  ]),
873
- v(n(qe), {
874
- class: $(c.value ? "md:left-64" : "")
962
+ h(t(Ze), {
963
+ class: $(s.value ? "md:left-64" : "")
875
964
  }, null, 8, ["class"])
876
965
  ]),
877
966
  _: 2
878
967
  }, [
879
- n(r) ? {
968
+ t(c) ? {
880
969
  name: "drawer",
881
- fn: T(({ select: g, dismiss: x }) => [
882
- v(Ct, {
883
- identity: n(r),
970
+ fn: A(({ select: g, dismiss: v }) => [
971
+ h(Dt, {
972
+ identity: t(c),
884
973
  home: e.home,
885
974
  onSelect: g,
886
- onAccount: (_) => x(() => m.value?.present())
975
+ onAccount: (x) => v(() => i.value?.present())
887
976
  }, K({ _: 2 }, [
888
- s.$slots.brand ? {
977
+ l.$slots.brand ? {
889
978
  name: "brand",
890
- fn: T((_) => [
891
- I(s.$slots, "brand", U(X(_)))
979
+ fn: A((x) => [
980
+ I(l.$slots, "brand", W(Y(x)))
892
981
  ]),
893
982
  key: "0"
894
983
  } : void 0,
895
- s.$slots.footer ? {
984
+ l.$slots.footer ? {
896
985
  name: "footer",
897
- fn: T(() => [
898
- I(s.$slots, "footer")
986
+ fn: A(() => [
987
+ I(l.$slots, "footer")
899
988
  ]),
900
989
  key: "1"
901
990
  } : void 0
@@ -904,79 +993,80 @@ const an = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
904
993
  key: "0"
905
994
  } : void 0
906
995
  ]), 1032, ["enabled"]),
907
- n(r) ? (u(), O(dt, {
996
+ t(c) ? (d(), R(gt, {
908
997
  key: 1,
909
998
  ref_key: "accountSheet",
910
- ref: m,
911
- identity: n(r)
912
- }, null, 8, ["identity"])) : E("", !0),
913
- (u(), O(Re, { to: "body" }, [
914
- d("div", rn, [
915
- v(n(Ye))
999
+ ref: i,
1000
+ identity: t(c)
1001
+ }, null, 8, ["identity"])) : S("", !0),
1002
+ (d(), R(Fe, { to: "body" }, [
1003
+ f("div", _n, [
1004
+ h(t(Je))
916
1005
  ])
917
1006
  ])),
918
- v(Xe),
919
- v(n(H), { name: "host" })
1007
+ h(Qe),
1008
+ h(t(X), { name: "host" })
920
1009
  ]));
921
1010
  }
922
1011
  });
923
- function un(e = et) {
924
- const a = Be(!1);
925
- let t;
1012
+ function $n(e = it) {
1013
+ const a = Ke(!1);
1014
+ let n;
926
1015
  return {
927
1016
  visible: a,
928
1017
  start() {
929
- clearTimeout(t), t = setTimeout(() => a.value = !0, e);
1018
+ clearTimeout(n), n = setTimeout(() => a.value = !0, e);
930
1019
  },
931
1020
  done() {
932
- clearTimeout(t), t = void 0, a.value = !1;
1021
+ clearTimeout(n), n = void 0, a.value = !1;
933
1022
  }
934
1023
  };
935
1024
  }
936
- function Xn(e = {}) {
937
- const a = un(), { brand: t, footer: o, topBarEnd: i } = e;
1025
+ function ra(e = {}) {
1026
+ const a = $n(), { brand: n, footer: o, topBarEnd: r } = e;
938
1027
  return { component: z({
939
1028
  name: "BackofficeShell",
940
1029
  setup() {
941
- return () => Z(
942
- cn,
1030
+ return () => ee(
1031
+ kn,
943
1032
  {
944
1033
  home: e.home,
945
1034
  // The application's session produces U; the shell reads it as the SessionUser it is guaranteed to be.
946
1035
  identity: e.identity,
947
- progress: a
1036
+ progress: a,
1037
+ pullToRefresh: e.pullToRefresh
948
1038
  },
949
1039
  {
950
- ...t && { brand: (c) => Z(t, c) },
951
- ...o && { footer: () => Z(o) },
952
- ...i && { "top-bar-end": () => Z(i) }
1040
+ ...n && { brand: (s) => ee(n, s) },
1041
+ ...o && { footer: () => ee(o) },
1042
+ ...r && { "top-bar-end": () => ee(r) }
953
1043
  }
954
1044
  );
955
1045
  }
956
- }), slots: ["headerActions", "accountMenu", "banner", "host"], progress: a };
1046
+ }), slots: ["headerActions", "search", "accountMenu", "banner", "host"], progress: a };
957
1047
  }
958
- const dn = 30 * 6e4, fn = 6e4;
959
- function mn(e, a) {
960
- const t = new DOMParser().parseFromString(e, "text/html").querySelectorAll('script[type="module"][src]');
961
- return Array.from(t, (o) => new URL(o.getAttribute("src") ?? "", a).pathname).sort();
1048
+ const Sn = 30 * 6e4, Ln = 6e4;
1049
+ function Cn(e, a) {
1050
+ const n = new DOMParser().parseFromString(e, "text/html").querySelectorAll('script[type="module"][src]');
1051
+ return Array.from(n, (o) => new URL(o.getAttribute("src") ?? "", a).pathname).sort();
962
1052
  }
963
- function pn() {
1053
+ function En() {
964
1054
  return Array.from(document.querySelectorAll('script[type="module"][src]'), (e) => new URL(e.src, location.href).pathname).sort();
965
1055
  }
966
- function vn(e) {
1056
+ function Tn(e) {
967
1057
  return z({
968
1058
  name: "AppUpdateNotice",
969
1059
  setup() {
970
1060
  if (e.enabled === !1) return () => null;
971
- const { t: a } = N(), t = e.url ?? "/", o = pn();
972
- let i = !1, r = 0;
973
- async function c() {
974
- if (!(i || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - r < fn)) {
975
- r = Date.now();
1061
+ const { t: a } = B(), n = e.url ?? "/", o = En();
1062
+ let r = !1, c = 0;
1063
+ async function s() {
1064
+ if (!(r || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - c < Ln)) {
1065
+ c = Date.now();
976
1066
  try {
977
- const p = await fetch(t, { cache: "no-store", credentials: "include" }), g = p.ok ? mn(await p.text(), location.href) : [];
1067
+ const p = await fetch(n, { cache: "no-store", credentials: "include" }), g = p.ok ? Cn(await p.text(), location.href) : [];
978
1068
  if (g.length === 0 || g.join() === o.join()) return;
979
- i = !0, ge.info(a("core.shell.update.available"), {
1069
+ r = !0, _e.info(a("core.shell.update.available"), {
980
1070
  duration: 1 / 0,
981
1071
  action: { label: a("core.shell.update.reload"), onClick: () => location.reload() }
982
1072
  });
@@ -984,88 +1074,88 @@ function vn(e) {
984
1074
  }
985
1075
  }
986
1076
  }
987
- const m = () => void c();
988
- document.addEventListener("visibilitychange", m);
989
- const s = setInterval(c, e.checkEveryMs ?? dn);
990
- return le(() => {
991
- document.removeEventListener("visibilitychange", m), clearInterval(s);
1077
+ const i = () => void s();
1078
+ document.addEventListener("visibilitychange", i);
1079
+ const l = setInterval(s, e.checkEveryMs ?? Sn);
1080
+ return ce(() => {
1081
+ document.removeEventListener("visibilitychange", i), clearInterval(l);
992
1082
  }), () => null;
993
1083
  }
994
1084
  });
995
1085
  }
996
- function Yn(e = {}) {
997
- return _e({
1086
+ function ia(e = {}) {
1087
+ return Ce({
998
1088
  id: "vue-core.app-updates",
999
- contributions: [{ id: "vue-core.app-updates", slot: "host", component: vn(e), scope: "always" }]
1089
+ contributions: [{ id: "vue-core.app-updates", slot: "host", component: Tn(e), scope: "always" }]
1000
1090
  });
1001
1091
  }
1002
- const hn = 1e3, ee = (e) => e.path.split("/").filter(Boolean).length;
1003
- function bn(e) {
1092
+ const An = 1e3, te = (e) => e.path.split("/").filter(Boolean).length;
1093
+ function Mn(e) {
1004
1094
  if (typeof document > "u" || typeof document.startViewTransition != "function") return () => {
1005
1095
  };
1006
1096
  let a = null;
1007
- const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(tt), o = e.beforeResolve((m, s) => {
1008
- if (i(), !s.matched.length || m.path === s.path || !t()) return;
1009
- const p = ee(m) > ee(s) ? "forward" : ee(m) < ee(s) ? "back" : null;
1097
+ const n = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(st), o = e.beforeResolve((i, l) => {
1098
+ if (r(), !l.matched.length || i.path === l.path || !n()) return;
1099
+ const p = te(i) > te(l) ? "forward" : te(i) < te(l) ? "back" : null;
1010
1100
  if (!p) return;
1011
1101
  const g = document.documentElement;
1012
- return g.dataset.navDirection = p, new Promise((x) => {
1013
- const _ = document.startViewTransition(
1014
- () => new Promise((k) => {
1015
- const y = setTimeout(k, hn);
1102
+ return g.dataset.navDirection = p, new Promise((v) => {
1103
+ const x = document.startViewTransition(
1104
+ () => new Promise((_) => {
1105
+ const w = setTimeout(_, An);
1016
1106
  a = () => {
1017
- clearTimeout(y), k();
1018
- }, x();
1107
+ clearTimeout(w), _();
1108
+ }, v();
1019
1109
  })
1020
1110
  );
1021
- _.ready.catch(() => {
1022
- }), _.finished.catch(() => {
1111
+ x.ready.catch(() => {
1112
+ }), x.finished.catch(() => {
1023
1113
  }).finally(() => {
1024
1114
  g.dataset.navDirection === p && delete g.dataset.navDirection;
1025
1115
  });
1026
1116
  });
1027
1117
  });
1028
- function i() {
1029
- const m = a;
1030
- a = null, m && he().then(m);
1118
+ function r() {
1119
+ const i = a;
1120
+ a = null, i && ie().then(i);
1031
1121
  }
1032
- const r = e.afterEach(i), c = e.onError(i);
1122
+ const c = e.afterEach(r), s = e.onError(r);
1033
1123
  return () => {
1034
- o(), r(), c(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1124
+ o(), c(), s(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1035
1125
  };
1036
1126
  }
1037
- const gn = z({
1127
+ const In = z({
1038
1128
  name: "ViewTransitions",
1039
1129
  setup() {
1040
- return le(bn(re())), () => null;
1130
+ return ce(Mn(de())), () => null;
1041
1131
  }
1042
1132
  });
1043
- function qn() {
1044
- return _e({
1133
+ function ca() {
1134
+ return Ce({
1045
1135
  id: "vue-core.view-transitions",
1046
- contributions: [{ id: "vue-core.view-transitions", slot: "host", component: gn, scope: "always" }]
1136
+ contributions: [{ id: "vue-core.view-transitions", slot: "host", component: In, scope: "always" }]
1047
1137
  });
1048
1138
  }
1049
1139
  export {
1050
- ut as AccountMenu,
1051
- fe as AccountMenuItem,
1052
- dt as AccountSheet,
1053
- cn as BackofficeShell,
1054
- Qn as HeaderAction,
1055
- Ct as NavigationDrawer,
1056
- Ce as NavigationList,
1057
- Kt as NavigationMenuButton,
1058
- ce as ShellBrand,
1059
- It as ShellSidebar,
1060
- Vt as ShellStage,
1061
- en as ShellTopBar,
1062
- Yn as appUpdates,
1063
- Xn as backofficeShell,
1064
- un as createNavigationProgress,
1065
- tn as defaultIdentity,
1066
- mt as groupNavigation,
1067
- bn as installViewTransitions,
1068
- Nt as useNavigationDrawer,
1069
- nn as useShellIdentity,
1070
- qn as viewTransitions
1140
+ bt as AccountMenu,
1141
+ ve as AccountMenuItem,
1142
+ gt as AccountSheet,
1143
+ kn as BackofficeShell,
1144
+ fa as HeaderAction,
1145
+ Dt as NavigationDrawer,
1146
+ Me as NavigationList,
1147
+ an as NavigationMenuButton,
1148
+ fe as ShellBrand,
1149
+ Yt as ShellSidebar,
1150
+ tn as ShellStage,
1151
+ vn as ShellTopBar,
1152
+ ia as appUpdates,
1153
+ ra as backofficeShell,
1154
+ $n as createNavigationProgress,
1155
+ hn as defaultIdentity,
1156
+ wt as groupNavigation,
1157
+ Mn as installViewTransitions,
1158
+ De as useNavigationDrawer,
1159
+ bn as useShellIdentity,
1160
+ ca as viewTransitions
1071
1161
  };