@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.
- package/dist/{Activity-2gGxQn7v.js → Activity-Dn4TGnZE.js} +1 -1
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-BoinCY93.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js} +2 -2
- package/dist/{Changes-Bm8xvagD.js → Changes-vnJKoY8t.js} +1 -1
- 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
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js → DataTable.vue_vue_type_script_setup_true_lang-DBtMgcW6.js} +1 -1
- package/dist/{DeadLetters-CMRtXn_N.js → DeadLetters-hVaoctMw.js} +2 -2
- package/dist/{General-CTqd0SLK.js → General-BS8GFldj.js} +2 -2
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js → Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js} +64 -57
- package/dist/{NewRolePage-DTOWIxxC.js → NewRolePage-Bz4AfDbT.js} +3 -3
- package/dist/{ProfilePage-BlpiWH_W.js → ProfilePage-DD0yQ8bd.js} +3 -3
- 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
- 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
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js → RoleEditor.vue_vue_type_script_setup_true_lang-P6MOBLbC.js} +2 -2
- package/dist/{RolePage-DZk7BZOc.js → RolePage-B9NAwbl1.js} +4 -4
- package/dist/{RolesPage-DzGGCMnm.js → RolesPage-BRSmWTD0.js} +2 -2
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BFYls8fR.js → SectionList.vue_vue_type_script_setup_true_lang-BtQjHjd4.js} +2 -2
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js → SectionNavigator.vue_vue_type_script_setup_true_lang-BGc8A9AQ.js} +4 -4
- package/dist/{Sessions-CWqjjTr1.js → Sessions-DVhVtiEg.js} +1 -1
- package/dist/{SettingsPage-C4s0IdkW.js → SettingsPage-CDE4ucf0.js} +2 -2
- package/dist/{SignIn-zzKY__df.js → SignIn-tQ67Acwu.js} +1 -1
- package/dist/{SignInPage-Rqnus_s-.js → SignInPage-saEqF2jO.js} +1 -1
- 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
- package/dist/{SignIns-Cnf9BVR0.js → SignIns-DlAyzaD2.js} +2 -2
- package/dist/{UserRecord-DqigxVxH.js → UserRecord-DcTnTZDJ.js} +5 -5
- package/dist/{UsersList-DNlZsI9J.js → UsersList-BPPMKPqX.js} +3 -3
- package/dist/access/index.js +1 -1
- package/dist/access-DmAceEo5.js +42 -0
- package/dist/app/feature.d.ts +2 -0
- package/dist/app/index.js +2 -2
- package/dist/{chrome-BS3xJcad.js → chrome-nUcmVu8G.js} +2 -2
- package/dist/collection/index.js +3 -3
- package/dist/form/index.js +3 -3
- package/dist/identity/index.js +1 -1
- package/dist/{index-BsJ92eub.js → index-CeZgHDOM.js} +2 -2
- package/dist/{index-GcLnFF-z.js → index-DCsIT4ib.js} +3 -3
- package/dist/{index-CGv-u1Ws.js → index-DhePSl1J.js} +10 -10
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/overlay/Menu.vue.d.ts +2 -1
- package/dist/overlay/index.js +1 -1
- package/dist/page/chrome.d.ts +4 -1
- package/dist/page/index.d.ts +1 -1
- package/dist/page/index.js +23 -22
- package/dist/resource/index.js +1 -1
- package/dist/router/access.d.ts +1 -1
- package/dist/router/index.js +2 -2
- package/dist/router/pageRefresh.d.ts +6 -0
- package/dist/{rowLayout-BqTEhEuy.js → rowLayout-CZ7uZFnE.js} +1 -1
- package/dist/{sections-CntvUTxn.js → sections-D-kD98vu.js} +1 -1
- package/dist/shell/BackofficeShell.vue.d.ts +4 -1
- package/dist/shell/NavigationDrawer.vue.d.ts +1 -1
- package/dist/shell/PullToRefresh.vue.d.ts +2 -0
- package/dist/shell/ShellSidebar.vue.d.ts +2 -1
- package/dist/shell/backofficeShell.d.ts +3 -1
- package/dist/shell/index.js +644 -554
- package/dist/shell/pullToRefresh.d.ts +16 -0
- package/dist/shell/search.d.ts +3 -0
- package/dist/{status-BuP3ULjH.js → status-DmjQ1O3o.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useSaveChrome-chi6D3HY.js → useSaveChrome-DuWm0Czf.js} +1 -1
- package/package.json +3 -3
- package/dist/access-DdRFrVV1.js +0 -40
package/dist/shell/index.js
CHANGED
|
@@ -1,216 +1,217 @@
|
|
|
1
|
-
import { defineComponent as z, provide as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { l as
|
|
10
|
-
import { t as
|
|
11
|
-
import { u as
|
|
12
|
-
import { a as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { _ as
|
|
17
|
-
import {
|
|
18
|
-
import { A as
|
|
19
|
-
import { RouterLink as
|
|
20
|
-
import { u as
|
|
21
|
-
import {
|
|
22
|
-
import { u as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
|
|
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
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
async function
|
|
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
|
|
41
|
+
await c.signOut();
|
|
41
42
|
} catch {
|
|
42
|
-
|
|
43
|
+
_e.error(r("core.shell.account.sign_out_failed"));
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
const
|
|
46
|
-
return (M,
|
|
47
|
-
class: $(
|
|
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 ? (
|
|
51
|
+
p.value ? (d(), b("div", {
|
|
51
52
|
key: 0,
|
|
52
|
-
class: $(
|
|
53
|
+
class: $(t(m))
|
|
53
54
|
}, [
|
|
54
|
-
|
|
55
|
-
], 2)) :
|
|
56
|
-
g ? (
|
|
55
|
+
h(t(X), { name: "accountMenu" })
|
|
56
|
+
], 2)) : S("", !0),
|
|
57
|
+
g ? (d(), b("div", {
|
|
57
58
|
key: 1,
|
|
58
|
-
class: $(
|
|
59
|
+
class: $(t(m))
|
|
59
60
|
}, [
|
|
60
|
-
|
|
61
|
-
class: $(
|
|
61
|
+
f("div", {
|
|
62
|
+
class: $(l ? "relative" : "")
|
|
62
63
|
}, [
|
|
63
|
-
|
|
64
|
+
f("button", {
|
|
64
65
|
type: "button",
|
|
65
|
-
"aria-expanded":
|
|
66
|
-
"aria-controls":
|
|
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",
|
|
69
|
-
onClick:
|
|
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
|
-
|
|
72
|
+
h(t(P), {
|
|
72
73
|
name: "translate",
|
|
73
|
-
size:
|
|
74
|
+
size: l ? 22 : 16,
|
|
74
75
|
class: "shrink-0 text-content-muted"
|
|
75
76
|
}, null, 8, ["size"]),
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class: $(["flex min-w-0 items-center gap-1.5 text-content-muted",
|
|
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
|
-
|
|
81
|
+
w(t(s).locale.value) ? (d(), R(He, {
|
|
81
82
|
key: 0,
|
|
82
|
-
country:
|
|
83
|
-
}, null, 8, ["country"])) :
|
|
84
|
-
|
|
83
|
+
country: w(t(s).locale.value)
|
|
84
|
+
}, null, 8, ["country"])) : S("", !0),
|
|
85
|
+
f("span", dt, D(_.value), 1)
|
|
85
86
|
], 2),
|
|
86
|
-
|
|
87
|
+
h(t(P), {
|
|
87
88
|
name: "arrowDownSLine",
|
|
88
|
-
size:
|
|
89
|
-
class: $(["shrink-0 text-content-disabled transition-transform duration-motion-fast",
|
|
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,
|
|
92
|
+
], 10, ct)
|
|
92
93
|
], 2),
|
|
93
|
-
|
|
94
|
-
id:
|
|
95
|
-
class: $(
|
|
94
|
+
Be(f("div", {
|
|
95
|
+
id: t(x),
|
|
96
|
+
class: $(l ? "" : "space-y-0.5 pl-4")
|
|
96
97
|
}, [
|
|
97
|
-
(
|
|
98
|
-
key:
|
|
99
|
-
label:
|
|
100
|
-
flag:
|
|
101
|
-
selected:
|
|
102
|
-
onClick: (
|
|
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,
|
|
105
|
-
[
|
|
105
|
+
], 10, ft), [
|
|
106
|
+
[je, v.value]
|
|
106
107
|
])
|
|
107
|
-
], 2)) :
|
|
108
|
-
|
|
109
|
-
class: $(
|
|
108
|
+
], 2)) : S("", !0),
|
|
109
|
+
f("div", {
|
|
110
|
+
class: $(t(m))
|
|
110
111
|
}, [
|
|
111
|
-
|
|
112
|
-
label:
|
|
112
|
+
h(ve, {
|
|
113
|
+
label: t(r)("core.shell.account.sign_out"),
|
|
113
114
|
icon: "logoutBoxRLine",
|
|
114
115
|
tone: "critical",
|
|
115
|
-
onClick:
|
|
116
|
+
onClick: E
|
|
116
117
|
}, null, 8, ["label"])
|
|
117
118
|
], 2)
|
|
118
119
|
], 2));
|
|
119
120
|
}
|
|
120
|
-
}),
|
|
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
|
-
},
|
|
124
|
+
}, bt = /* @__PURE__ */ z({
|
|
124
125
|
__name: "AccountMenu",
|
|
125
126
|
props: {
|
|
126
127
|
identity: {}
|
|
127
128
|
},
|
|
128
129
|
setup(e) {
|
|
129
|
-
const { t: a } =
|
|
130
|
-
return (
|
|
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:
|
|
136
|
+
label: t(a)("core.shell.account.open")
|
|
136
137
|
}, {
|
|
137
|
-
trigger:
|
|
138
|
-
|
|
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":
|
|
141
|
-
onClick:
|
|
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
|
-
|
|
144
|
+
h(t(we), {
|
|
144
145
|
name: e.identity.name,
|
|
145
146
|
size: "md"
|
|
146
147
|
}, null, 8, ["name"]),
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
e.identity.detail ? (
|
|
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
|
-
|
|
152
|
+
h(t(P), {
|
|
152
153
|
name: "expandUpDownLine",
|
|
153
154
|
size: 16,
|
|
154
155
|
class: "shrink-0 text-gray-400"
|
|
155
156
|
})
|
|
156
|
-
], 16,
|
|
157
|
+
], 16, mt)
|
|
157
158
|
]),
|
|
158
|
-
default:
|
|
159
|
-
|
|
159
|
+
default: A(({ dismiss: r }) => [
|
|
160
|
+
h(Ee, {
|
|
160
161
|
appearance: "popover",
|
|
161
|
-
onClose:
|
|
162
|
+
onClose: r
|
|
162
163
|
}, null, 8, ["onClose"])
|
|
163
164
|
]),
|
|
164
165
|
_: 1
|
|
165
166
|
}, 8, ["label"]));
|
|
166
167
|
}
|
|
167
|
-
}),
|
|
168
|
+
}), gt = /* @__PURE__ */ z({
|
|
168
169
|
__name: "AccountSheet",
|
|
169
170
|
props: {
|
|
170
171
|
identity: {}
|
|
171
172
|
},
|
|
172
173
|
setup(e, { expose: a }) {
|
|
173
|
-
const
|
|
174
|
-
return a({ present: () =>
|
|
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:
|
|
177
|
+
ref: n,
|
|
177
178
|
title: e.identity.name,
|
|
178
179
|
grouped: ""
|
|
179
180
|
}, {
|
|
180
|
-
default:
|
|
181
|
-
|
|
181
|
+
default: A(() => [
|
|
182
|
+
h(Ee, {
|
|
182
183
|
appearance: "sheet",
|
|
183
|
-
onClose:
|
|
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
|
|
191
|
-
const e =
|
|
192
|
-
return (
|
|
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
|
|
195
|
+
function Te(e) {
|
|
195
196
|
return e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.defaultPrevented;
|
|
196
197
|
}
|
|
197
|
-
const
|
|
198
|
-
function
|
|
198
|
+
const Ae = (e) => e.to ? [e] : e.children.flatMap(Ae);
|
|
199
|
+
function wt(e) {
|
|
199
200
|
const a = [];
|
|
200
|
-
for (const
|
|
201
|
-
const o =
|
|
201
|
+
for (const n of e) {
|
|
202
|
+
const o = Ae(n);
|
|
202
203
|
if (o.length === 0) continue;
|
|
203
|
-
const
|
|
204
|
+
const r = !n.to && o.length > 1 ? n.label : null;
|
|
204
205
|
a.push({
|
|
205
|
-
key:
|
|
206
|
-
heading:
|
|
207
|
-
separated:
|
|
208
|
-
items: o.map((
|
|
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
|
|
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
|
|
223
|
-
function p(
|
|
224
|
-
if (
|
|
225
|
-
|
|
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
|
-
|
|
229
|
+
E(w);
|
|
229
230
|
}
|
|
230
231
|
const g = {
|
|
231
|
-
item: `${
|
|
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
|
-
},
|
|
240
|
-
item: `${
|
|
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
|
-
},
|
|
248
|
-
return (
|
|
249
|
-
"aria-label": e.label ??
|
|
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
|
-
|
|
254
|
-
(
|
|
255
|
-
key:
|
|
256
|
-
"data-separated":
|
|
257
|
-
class: $(
|
|
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
|
-
|
|
260
|
+
m.heading ? (d(), b("p", {
|
|
260
261
|
key: 0,
|
|
261
|
-
id: `${
|
|
262
|
-
class: $([
|
|
263
|
-
}, D(
|
|
264
|
-
|
|
265
|
-
"aria-labelledby":
|
|
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
|
-
(
|
|
269
|
-
key:
|
|
269
|
+
(d(!0), b(F, null, ne(m.items, (u) => (d(), b("li", {
|
|
270
|
+
key: u.key
|
|
270
271
|
}, [
|
|
271
|
-
|
|
272
|
+
h(t(Le), {
|
|
272
273
|
custom: "",
|
|
273
|
-
to:
|
|
274
|
+
to: u.to
|
|
274
275
|
}, {
|
|
275
|
-
default:
|
|
276
|
-
|
|
277
|
-
href:
|
|
278
|
-
"aria-current":
|
|
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: $([
|
|
281
|
-
onClick: (
|
|
281
|
+
class: $([x.value.item, u.active ? x.value.active : x.value.inactive]),
|
|
282
|
+
onClick: (k) => p(k, L, u.to)
|
|
282
283
|
}, [
|
|
283
|
-
|
|
284
|
+
t(i)(u.icon) ? (d(), R(t(P), {
|
|
284
285
|
key: 0,
|
|
285
|
-
name:
|
|
286
|
-
size:
|
|
287
|
-
class: $(
|
|
288
|
-
}, null, 8, ["name", "size", "class"])) :
|
|
289
|
-
|
|
290
|
-
], 10,
|
|
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,
|
|
296
|
-
], 10,
|
|
296
|
+
], 10, $t)
|
|
297
|
+
], 10, _t))), 128))
|
|
297
298
|
])
|
|
298
|
-
], 8,
|
|
299
|
+
], 8, xt));
|
|
299
300
|
}
|
|
300
|
-
}),
|
|
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
|
|
311
|
-
function
|
|
312
|
-
if (
|
|
313
|
-
|
|
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
|
-
|
|
317
|
+
l(i);
|
|
317
318
|
}
|
|
318
|
-
return (
|
|
319
|
+
return (i, l) => (d(), R(t(Le), {
|
|
319
320
|
custom: "",
|
|
320
321
|
to: e.to
|
|
321
322
|
}, {
|
|
322
|
-
default:
|
|
323
|
-
|
|
323
|
+
default: A(({ href: p, navigate: g }) => [
|
|
324
|
+
f("a", G(i.$attrs, {
|
|
324
325
|
href: p,
|
|
325
|
-
"aria-label":
|
|
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: (
|
|
329
|
+
onClick: (v) => s(v, g)
|
|
329
330
|
}), [
|
|
330
|
-
I(
|
|
331
|
-
|
|
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(
|
|
334
|
+
}, D(t(c).appName), 3)
|
|
334
335
|
])
|
|
335
|
-
], 16,
|
|
336
|
+
], 16, Ct)
|
|
336
337
|
]),
|
|
337
338
|
_: 3
|
|
338
339
|
}, 8, ["to"]));
|
|
339
340
|
}
|
|
340
|
-
})
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
355
|
-
return (
|
|
356
|
-
|
|
357
|
-
|
|
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:
|
|
371
|
+
onSelect: s[0] || (s[0] = (i) => n("select", i))
|
|
363
372
|
}, K({ _: 2 }, [
|
|
364
|
-
|
|
373
|
+
c.$slots.brand ? {
|
|
365
374
|
name: "default",
|
|
366
|
-
fn:
|
|
367
|
-
I(
|
|
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
|
|
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
|
-
|
|
389
|
+
h(Me, {
|
|
378
390
|
appearance: "drawer",
|
|
379
|
-
label:
|
|
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:
|
|
393
|
+
onSelect: s[1] || (s[1] = (i) => n("select", i))
|
|
382
394
|
}, null, 8, ["label"]),
|
|
383
|
-
I(
|
|
384
|
-
|
|
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:
|
|
401
|
+
onClick: s[2] || (s[2] = (i) => n("account"))
|
|
390
402
|
}, [
|
|
391
|
-
|
|
403
|
+
h(t(we), {
|
|
392
404
|
name: e.identity.name,
|
|
393
405
|
size: "lg"
|
|
394
406
|
}, null, 8, ["name"]),
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
e.identity.detail ? (
|
|
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
|
-
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
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
|
-
|
|
419
|
-
const a =
|
|
420
|
-
return (
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
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
|
-
|
|
514
|
+
o.$slots.brand ? {
|
|
429
515
|
name: "default",
|
|
430
|
-
fn:
|
|
431
|
-
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
|
-
|
|
437
|
-
|
|
522
|
+
f("div", Xt, [
|
|
523
|
+
h(t(X), { name: "headerActions" })
|
|
438
524
|
])
|
|
439
525
|
]),
|
|
440
|
-
|
|
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(
|
|
445
|
-
|
|
446
|
-
|
|
533
|
+
I(o.$slots, "footer"),
|
|
534
|
+
f("div", Wt, [
|
|
535
|
+
h(bt, { identity: e.identity }, null, 8, ["identity"])
|
|
447
536
|
])
|
|
448
537
|
])
|
|
449
|
-
])) :
|
|
538
|
+
])) : S("", !0);
|
|
450
539
|
}
|
|
451
|
-
}),
|
|
452
|
-
function
|
|
453
|
-
if (Math.abs(e - a) >
|
|
454
|
-
if (o >
|
|
455
|
-
if (o < -
|
|
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 >
|
|
546
|
+
return e > n / 2;
|
|
458
547
|
}
|
|
459
|
-
function
|
|
460
|
-
const a =
|
|
461
|
-
let o = !1,
|
|
462
|
-
function
|
|
463
|
-
o = !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
|
|
466
|
-
const
|
|
467
|
-
if (!o || !
|
|
468
|
-
const
|
|
469
|
-
if (!
|
|
470
|
-
if (Math.max(Math.abs(
|
|
471
|
-
if (
|
|
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
|
-
|
|
564
|
+
n.value = !0, a.value = i, e.onStart();
|
|
476
565
|
}
|
|
477
|
-
const
|
|
478
|
-
g = (
|
|
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
|
|
481
|
-
o && (o = !1,
|
|
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
|
|
484
|
-
o = !1,
|
|
572
|
+
function w() {
|
|
573
|
+
o = !1, n.value = !1;
|
|
485
574
|
}
|
|
486
|
-
function
|
|
487
|
-
const
|
|
488
|
-
!
|
|
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
|
|
579
|
+
let m = !1;
|
|
491
580
|
function M() {
|
|
492
|
-
|
|
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
|
|
495
|
-
|
|
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
|
|
498
|
-
onTouchstartPassive(
|
|
499
|
-
const
|
|
500
|
-
|
|
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:
|
|
591
|
+
}, cancel: w };
|
|
503
592
|
}
|
|
504
|
-
const
|
|
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 } =
|
|
515
|
-
let
|
|
516
|
-
const
|
|
517
|
-
enabled: () =>
|
|
518
|
-
width:
|
|
519
|
-
isOpen: () =>
|
|
520
|
-
canOpenFromEdge: () =>
|
|
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(
|
|
607
|
+
clearTimeout(u), me();
|
|
523
608
|
},
|
|
524
|
-
onSettle: (
|
|
525
|
-
}),
|
|
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: () =>
|
|
612
|
+
onEscape: () => V()
|
|
528
613
|
});
|
|
529
|
-
function
|
|
530
|
-
const
|
|
531
|
-
return
|
|
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
|
|
534
|
-
const
|
|
535
|
-
|
|
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
|
|
538
|
-
const
|
|
539
|
-
!
|
|
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
|
-
|
|
542
|
-
const
|
|
543
|
-
!
|
|
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
|
|
546
|
-
if (!
|
|
547
|
-
|
|
630
|
+
function Oe() {
|
|
631
|
+
if (!l.value) {
|
|
632
|
+
_.value = !1;
|
|
548
633
|
return;
|
|
549
634
|
}
|
|
550
|
-
clearTimeout(
|
|
551
|
-
|
|
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
|
|
555
|
-
if (
|
|
556
|
-
|
|
639
|
+
function V(y) {
|
|
640
|
+
if (y && (T = y), _.value) {
|
|
641
|
+
_.value = !1;
|
|
557
642
|
return;
|
|
558
643
|
}
|
|
559
|
-
|
|
644
|
+
E.value = !1, U.dismissWithoutAsking(), clearTimeout(u), u = setTimeout(Pe, Re() + 30);
|
|
560
645
|
}
|
|
561
|
-
function
|
|
562
|
-
|
|
563
|
-
const
|
|
564
|
-
|
|
646
|
+
function Pe() {
|
|
647
|
+
le();
|
|
648
|
+
const y = T;
|
|
649
|
+
T = null, y?.();
|
|
565
650
|
}
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}),
|
|
569
|
-
|
|
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
|
|
572
|
-
|
|
573
|
-
}).finally(() =>
|
|
656
|
+
function Ne(y) {
|
|
657
|
+
r.push(y).catch(() => {
|
|
658
|
+
}).finally(() => V());
|
|
574
659
|
}
|
|
575
|
-
return
|
|
576
|
-
available:
|
|
577
|
-
open:
|
|
578
|
-
panelId:
|
|
660
|
+
return Q(ze, {
|
|
661
|
+
available: l,
|
|
662
|
+
open: _,
|
|
663
|
+
panelId: x,
|
|
579
664
|
present: () => {
|
|
580
|
-
|
|
665
|
+
l.value && (_.value = !0);
|
|
581
666
|
},
|
|
582
|
-
dismiss:
|
|
583
|
-
}),
|
|
584
|
-
clearTimeout(
|
|
585
|
-
}), (
|
|
586
|
-
|
|
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:
|
|
673
|
+
id: t(x),
|
|
589
674
|
ref_key: "panel",
|
|
590
|
-
ref:
|
|
675
|
+
ref: v,
|
|
591
676
|
role: "dialog",
|
|
592
677
|
"aria-modal": "true",
|
|
593
|
-
"aria-label": n
|
|
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",
|
|
597
|
-
style:
|
|
598
|
-
},
|
|
599
|
-
I(
|
|
600
|
-
select:
|
|
601
|
-
dismiss:
|
|
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,
|
|
604
|
-
|
|
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":
|
|
609
|
-
class: $(["flex flex-1 flex-col",
|
|
610
|
-
inert:
|
|
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
|
-
|
|
697
|
+
f("div", {
|
|
613
698
|
ref_key: "scroller",
|
|
614
699
|
ref: g,
|
|
615
700
|
class: "flex flex-1 flex-col"
|
|
616
701
|
}, [
|
|
617
|
-
I(
|
|
702
|
+
I(y.$slots, "default")
|
|
618
703
|
], 512),
|
|
619
|
-
|
|
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:
|
|
624
|
-
}, null, 4)) :
|
|
625
|
-
], 10,
|
|
626
|
-
|
|
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: `${
|
|
632
|
-
},
|
|
633
|
-
onClick:
|
|
634
|
-
}), null, 16)) :
|
|
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
|
-
}),
|
|
722
|
+
}), nn = ["aria-label", "aria-expanded", "aria-controls"], an = /* @__PURE__ */ z({
|
|
638
723
|
__name: "NavigationMenuButton",
|
|
639
724
|
setup(e) {
|
|
640
|
-
const a =
|
|
641
|
-
return (o,
|
|
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
|
|
646
|
-
"aria-expanded":
|
|
647
|
-
"aria-controls":
|
|
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:
|
|
735
|
+
onClick: r[0] || (r[0] = (c) => t(a).present())
|
|
651
736
|
}, [
|
|
652
|
-
|
|
737
|
+
h(t(P), {
|
|
653
738
|
name: "menuLines",
|
|
654
739
|
size: 20
|
|
655
740
|
})
|
|
656
|
-
], 8,
|
|
741
|
+
], 8, nn)) : S("", !0);
|
|
657
742
|
}
|
|
658
|
-
}),
|
|
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 } =
|
|
665
|
-
|
|
666
|
-
const
|
|
667
|
-
() =>
|
|
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
|
|
670
|
-
|
|
754
|
+
function E() {
|
|
755
|
+
l.value && n.push(l.value.to);
|
|
671
756
|
}
|
|
672
|
-
return (
|
|
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",
|
|
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
|
-
|
|
678
|
-
|
|
679
|
-
p.value ? (
|
|
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] = (
|
|
771
|
+
onClick: M[0] || (M[0] = (u) => p.value.onClick())
|
|
687
772
|
}, [
|
|
688
|
-
|
|
689
|
-
], 8,
|
|
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:
|
|
779
|
+
onClick: E
|
|
695
780
|
}, [
|
|
696
|
-
|
|
781
|
+
h(t(P), {
|
|
697
782
|
name: "arrowLeftSLine",
|
|
698
783
|
size: 28,
|
|
699
784
|
class: "-mr-0.5 shrink-0"
|
|
700
785
|
}),
|
|
701
|
-
|
|
702
|
-
class: $(["truncate",
|
|
703
|
-
}, D(
|
|
704
|
-
])) :
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
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)) : (
|
|
794
|
+
], 64)) : (d(), R(fe, {
|
|
710
795
|
key: 3,
|
|
711
796
|
to: e.home,
|
|
712
797
|
tone: "brand",
|
|
713
|
-
class: $(["px-2 transition-opacity",
|
|
798
|
+
class: $(["px-2 transition-opacity", v.value ? "opacity-0" : "opacity-100"])
|
|
714
799
|
}, K({ _: 2 }, [
|
|
715
|
-
|
|
800
|
+
m.$slots.brand ? {
|
|
716
801
|
name: "default",
|
|
717
|
-
fn:
|
|
718
|
-
I(
|
|
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
|
-
|
|
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",
|
|
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
|
-
|
|
730
|
-
|
|
731
|
-
(
|
|
732
|
-
key:
|
|
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
|
-
|
|
819
|
+
u.compact === "icon" && u.icon ? (d(), b("button", {
|
|
735
820
|
key: 0,
|
|
736
821
|
type: "button",
|
|
737
|
-
"data-page-action":
|
|
738
|
-
"aria-label":
|
|
739
|
-
disabled:
|
|
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: (
|
|
826
|
+
onClick: (T) => u.onClick()
|
|
742
827
|
}, [
|
|
743
|
-
|
|
744
|
-
name:
|
|
828
|
+
h(t(P), {
|
|
829
|
+
name: u.processing ? "loader4Line" : u.icon,
|
|
745
830
|
size: 18,
|
|
746
|
-
class: $(
|
|
831
|
+
class: $(u.processing ? "animate-spin" : "")
|
|
747
832
|
}, null, 8, ["name", "class"])
|
|
748
|
-
], 8,
|
|
833
|
+
], 8, dn)) : (d(), b("button", {
|
|
749
834
|
key: 1,
|
|
750
835
|
type: "button",
|
|
751
|
-
"data-page-action":
|
|
752
|
-
disabled:
|
|
753
|
-
"aria-label":
|
|
754
|
-
"aria-busy":
|
|
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: (
|
|
841
|
+
onClick: (T) => u.onClick()
|
|
757
842
|
}, [
|
|
758
|
-
|
|
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
|
-
})) :
|
|
764
|
-
|
|
765
|
-
], 8,
|
|
848
|
+
})) : S("", !0),
|
|
849
|
+
f("span", mn, D(u.shortLabel ?? u.label), 1)
|
|
850
|
+
], 8, fn))
|
|
766
851
|
], 64))), 128)),
|
|
767
|
-
|
|
852
|
+
w.value.length ? (d(), R(t(rt), {
|
|
768
853
|
key: 0,
|
|
769
|
-
items:
|
|
770
|
-
label:
|
|
854
|
+
items: w.value,
|
|
855
|
+
label: t(a)("core.page.more_actions")
|
|
771
856
|
}, {
|
|
772
|
-
trigger:
|
|
773
|
-
|
|
774
|
-
"aria-label":
|
|
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:
|
|
862
|
+
onClick: u
|
|
778
863
|
}), [
|
|
779
|
-
|
|
864
|
+
h(t(P), {
|
|
780
865
|
name: "moreLine",
|
|
781
866
|
size: 22
|
|
782
867
|
})
|
|
783
|
-
], 16,
|
|
868
|
+
], 16, pn)
|
|
784
869
|
]),
|
|
785
870
|
_: 1
|
|
786
|
-
}, 8, ["items", "label"])) :
|
|
787
|
-
], 64)) :
|
|
788
|
-
I(
|
|
871
|
+
}, 8, ["items", "label"])) : S("", !0)
|
|
872
|
+
], 64)) : S("", !0),
|
|
873
|
+
I(m.$slots, "end")
|
|
789
874
|
])
|
|
790
875
|
])
|
|
791
|
-
], 2)) :
|
|
876
|
+
], 2)) : S("", !0);
|
|
792
877
|
}
|
|
793
878
|
});
|
|
794
|
-
function
|
|
795
|
-
const { name: a, email:
|
|
796
|
-
return { name: typeof a == "string" && a !== "" ? a : String(e.id), detail: typeof
|
|
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
|
|
799
|
-
const { session: a } =
|
|
800
|
-
return
|
|
801
|
-
const o =
|
|
802
|
-
return o ?
|
|
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
|
|
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 } =
|
|
814
|
-
|
|
815
|
-
|
|
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
|
|
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
|
-
|
|
823
|
-
])], 8,
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
default:
|
|
827
|
-
|
|
828
|
-
|
|
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:
|
|
831
|
-
I(
|
|
919
|
+
fn: A((g) => [
|
|
920
|
+
I(l.$slots, "brand", W(Y(g)))
|
|
832
921
|
]),
|
|
833
922
|
key: "0"
|
|
834
923
|
} : void 0,
|
|
835
|
-
|
|
924
|
+
l.$slots["top-bar-end"] ? {
|
|
836
925
|
name: "end",
|
|
837
|
-
fn:
|
|
838
|
-
I(
|
|
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
|
-
|
|
844
|
-
|
|
932
|
+
f("div", wn, [
|
|
933
|
+
t(c) ? (d(), R(Yt, {
|
|
845
934
|
key: 0,
|
|
846
|
-
identity:
|
|
935
|
+
identity: t(c),
|
|
847
936
|
home: e.home
|
|
848
937
|
}, K({ _: 2 }, [
|
|
849
|
-
|
|
938
|
+
l.$slots.brand ? {
|
|
850
939
|
name: "brand",
|
|
851
|
-
fn:
|
|
852
|
-
I(
|
|
940
|
+
fn: A((g) => [
|
|
941
|
+
I(l.$slots, "brand", W(Y(g)))
|
|
853
942
|
]),
|
|
854
943
|
key: "0"
|
|
855
944
|
} : void 0,
|
|
856
|
-
|
|
945
|
+
l.$slots.footer ? {
|
|
857
946
|
name: "footer",
|
|
858
|
-
fn:
|
|
859
|
-
I(
|
|
947
|
+
fn: A(() => [
|
|
948
|
+
I(l.$slots, "footer")
|
|
860
949
|
]),
|
|
861
950
|
key: "1"
|
|
862
951
|
} : void 0
|
|
863
|
-
]), 1032, ["identity", "home"])) :
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
class: $(["flex min-w-0 flex-1 flex-col",
|
|
867
|
-
style:
|
|
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
|
-
|
|
958
|
+
h(t(et))
|
|
870
959
|
], 6)
|
|
871
960
|
])
|
|
872
961
|
]),
|
|
873
|
-
|
|
874
|
-
class: $(
|
|
962
|
+
h(t(Ze), {
|
|
963
|
+
class: $(s.value ? "md:left-64" : "")
|
|
875
964
|
}, null, 8, ["class"])
|
|
876
965
|
]),
|
|
877
966
|
_: 2
|
|
878
967
|
}, [
|
|
879
|
-
|
|
968
|
+
t(c) ? {
|
|
880
969
|
name: "drawer",
|
|
881
|
-
fn:
|
|
882
|
-
|
|
883
|
-
identity:
|
|
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: (
|
|
975
|
+
onAccount: (x) => v(() => i.value?.present())
|
|
887
976
|
}, K({ _: 2 }, [
|
|
888
|
-
|
|
977
|
+
l.$slots.brand ? {
|
|
889
978
|
name: "brand",
|
|
890
|
-
fn:
|
|
891
|
-
I(
|
|
979
|
+
fn: A((x) => [
|
|
980
|
+
I(l.$slots, "brand", W(Y(x)))
|
|
892
981
|
]),
|
|
893
982
|
key: "0"
|
|
894
983
|
} : void 0,
|
|
895
|
-
|
|
984
|
+
l.$slots.footer ? {
|
|
896
985
|
name: "footer",
|
|
897
|
-
fn:
|
|
898
|
-
I(
|
|
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
|
-
|
|
996
|
+
t(c) ? (d(), R(gt, {
|
|
908
997
|
key: 1,
|
|
909
998
|
ref_key: "accountSheet",
|
|
910
|
-
ref:
|
|
911
|
-
identity:
|
|
912
|
-
}, null, 8, ["identity"])) :
|
|
913
|
-
(
|
|
914
|
-
|
|
915
|
-
|
|
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
|
-
|
|
919
|
-
|
|
1007
|
+
h(Qe),
|
|
1008
|
+
h(t(X), { name: "host" })
|
|
920
1009
|
]));
|
|
921
1010
|
}
|
|
922
1011
|
});
|
|
923
|
-
function
|
|
924
|
-
const a =
|
|
925
|
-
let
|
|
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(
|
|
1018
|
+
clearTimeout(n), n = setTimeout(() => a.value = !0, e);
|
|
930
1019
|
},
|
|
931
1020
|
done() {
|
|
932
|
-
clearTimeout(
|
|
1021
|
+
clearTimeout(n), n = void 0, a.value = !1;
|
|
933
1022
|
}
|
|
934
1023
|
};
|
|
935
1024
|
}
|
|
936
|
-
function
|
|
937
|
-
const a =
|
|
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 () =>
|
|
942
|
-
|
|
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
|
-
...
|
|
951
|
-
...o && { footer: () =>
|
|
952
|
-
...
|
|
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
|
|
959
|
-
function
|
|
960
|
-
const
|
|
961
|
-
return Array.from(
|
|
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
|
|
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
|
|
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 } =
|
|
972
|
-
let
|
|
973
|
-
async function
|
|
974
|
-
if (!(
|
|
975
|
-
|
|
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(
|
|
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
|
-
|
|
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
|
|
988
|
-
document.addEventListener("visibilitychange",
|
|
989
|
-
const
|
|
990
|
-
return
|
|
991
|
-
document.removeEventListener("visibilitychange",
|
|
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
|
|
997
|
-
return
|
|
1086
|
+
function ia(e = {}) {
|
|
1087
|
+
return Ce({
|
|
998
1088
|
id: "vue-core.app-updates",
|
|
999
|
-
contributions: [{ id: "vue-core.app-updates", slot: "host", component:
|
|
1089
|
+
contributions: [{ id: "vue-core.app-updates", slot: "host", component: Tn(e), scope: "always" }]
|
|
1000
1090
|
});
|
|
1001
1091
|
}
|
|
1002
|
-
const
|
|
1003
|
-
function
|
|
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
|
|
1008
|
-
if (
|
|
1009
|
-
const p =
|
|
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((
|
|
1013
|
-
const
|
|
1014
|
-
() => new Promise((
|
|
1015
|
-
const
|
|
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(
|
|
1018
|
-
},
|
|
1107
|
+
clearTimeout(w), _();
|
|
1108
|
+
}, v();
|
|
1019
1109
|
})
|
|
1020
1110
|
);
|
|
1021
|
-
|
|
1022
|
-
}),
|
|
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
|
|
1029
|
-
const
|
|
1030
|
-
a = null,
|
|
1118
|
+
function r() {
|
|
1119
|
+
const i = a;
|
|
1120
|
+
a = null, i && ie().then(i);
|
|
1031
1121
|
}
|
|
1032
|
-
const
|
|
1122
|
+
const c = e.afterEach(r), s = e.onError(r);
|
|
1033
1123
|
return () => {
|
|
1034
|
-
o(),
|
|
1124
|
+
o(), c(), s(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
|
|
1035
1125
|
};
|
|
1036
1126
|
}
|
|
1037
|
-
const
|
|
1127
|
+
const In = z({
|
|
1038
1128
|
name: "ViewTransitions",
|
|
1039
1129
|
setup() {
|
|
1040
|
-
return
|
|
1130
|
+
return ce(Mn(de())), () => null;
|
|
1041
1131
|
}
|
|
1042
1132
|
});
|
|
1043
|
-
function
|
|
1044
|
-
return
|
|
1133
|
+
function ca() {
|
|
1134
|
+
return Ce({
|
|
1045
1135
|
id: "vue-core.view-transitions",
|
|
1046
|
-
contributions: [{ id: "vue-core.view-transitions", slot: "host", component:
|
|
1136
|
+
contributions: [{ id: "vue-core.view-transitions", slot: "host", component: In, scope: "always" }]
|
|
1047
1137
|
});
|
|
1048
1138
|
}
|
|
1049
1139
|
export {
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
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
|
};
|