@wssto2/vue-core 0.9.3 → 0.10.0
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/CHANGELOG.md +28 -0
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js +87 -0
- package/dist/Activity-CeAG0ZtJ.js +169 -0
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-DdJOodn8.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-D5i77H6S.js} +147 -159
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-BdeOKqz_.js → AsyncSection.vue_vue_type_script_setup_true_lang-DGzQ-Snp.js} +1 -1
- package/dist/BottomDockPortal.vue_vue_type_script_setup_true_lang-DmwR-2SP.js +17 -0
- package/dist/Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js +123 -0
- package/dist/Changes-B9-zpDxG.js +69 -0
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-DHcekGNn.js → CollectionPage.vue_vue_type_script_setup_true_lang-Cn0YOWJF.js} +19 -18
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-8kBsNRuq.js → DataTable.vue_vue_type_script_setup_true_lang-BQRG8bpH.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-BhKdCVFn.js → DateField.vue_vue_type_script_setup_true_lang-CeNwBbJT.js} +1 -1
- package/dist/{DeadLetters-Bb5pPlOY.js → DeadLetters-BP03yC4R.js} +5 -6
- package/dist/DrawnCheck.vue_vue_type_script_setup_true_lang-9DzDJlIA.js +38 -0
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js +427 -0
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-aaNnMIOi.js → FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js} +2 -2
- package/dist/{General-BAG7S6wV.js → General-BDmCJr3H.js} +35 -38
- package/dist/{IncidentRecord-D8aOpNHo.js → IncidentRecord-DEhl6AyA.js} +14 -15
- package/dist/{IncidentsList-C0cFl0Db.js → IncidentsList-COgRPdk3.js} +3 -3
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-BlHhdmMy.js → Modal.vue_vue_type_script_setup_true_lang-DDS0iEnn.js} +9 -8
- package/dist/{NewRolePage-C6Iu-EQJ.js → NewRolePage-DhGFwvk3.js} +4 -4
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-TGGAq8J-.js → NumberField.vue_vue_type_script_setup_true_lang-B3UrXNqH.js} +1 -1
- package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-qz1tmYpF.js → PersonAccess.vue_vue_type_script_setup_true_lang-DbGZSNQc.js} +56 -56
- package/dist/ProfilePage-BQCK2w8R.js +684 -0
- package/dist/ProgressTrack.vue_vue_type_script_setup_true_lang-DrOm8k--.js +30 -0
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-B9mN7UxZ.js → RecordHeader.vue_vue_type_script_setup_true_lang-DqGc3Jyo.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-Cw8mGf_B.js → ResourcePage.vue_vue_type_script_setup_true_lang-DljhsTU4.js} +3 -3
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-CJPvOVDV.js → RoleEditor.vue_vue_type_script_setup_true_lang-C0FIotFA.js} +11 -12
- package/dist/{RolePage-Dj_ocMnM.js → RolePage-DaNv049g.js} +10 -10
- package/dist/{RolesPage-PXrs4O-1.js → RolesPage-6hlzJes_.js} +6 -6
- package/dist/SearchInput.vue_vue_type_script_setup_true_lang-w4eAqyZ9.js +32 -0
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-CtdF1zuv.js → SectionList.vue_vue_type_script_setup_true_lang-DR0_NsqC.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-B5ove3rM.js → SectionNavigator.vue_vue_type_script_setup_true_lang-Dh3sXUt_.js} +2 -2
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-ChfDFAA2.js → SegmentedField.vue_vue_type_script_setup_true_lang-zv_AxpBn.js} +1 -1
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BP8nAQwo.js → SelectField.vue_vue_type_script_setup_true_lang-BZwdANL3.js} +3 -3
- package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-aWkKwxNe.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-C0OIBrSp.js} +20 -20
- package/dist/{ServiceAccountRecord-bxX9yQkC.js → ServiceAccountRecord-gtlhYaAz.js} +37 -37
- package/dist/{ServiceAccountsList-BXE6htxk.js → ServiceAccountsList-BM7GGcvw.js} +33 -33
- package/dist/{Sessions--Gvc0kxw.js → Sessions-BCDJYuV2.js} +23 -24
- package/dist/{SettingsPage-DzDC7gD-.js → SettingsPage-DUhMsYBf.js} +27 -30
- package/dist/{SignIn-CTI_699e.js → SignIn-4D7WohI8.js} +9 -10
- package/dist/{SignInPage-HKC1bm2E.js → SignInPage-B6B-34GG.js} +4 -4
- package/dist/SignIns-CFoe4hpX.js +64 -0
- package/dist/StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js +56 -0
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-BMA2YXTZ.js → SwitchField.vue_vue_type_script_setup_true_lang-Ds4q0bbl.js} +1 -1
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-BFVsqcBX.js → TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js} +2 -2
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-Dyh4Hhyl.js → TextareaField.vue_vue_type_script_setup_true_lang-D2j4s96s.js} +1 -1
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-gGFfQLuK.js → TimeField.vue_vue_type_script_setup_true_lang-D-Em4glH.js} +1 -1
- package/dist/UserRecord-Cd1TCpJZ.js +202 -0
- package/dist/UsersList-GJU5-CTG.js +74 -0
- package/dist/access/index.js +4 -4
- package/dist/app/index.js +1 -1
- package/dist/{application-BmXW6iW_.js → application-CuzT-0vW.js} +1 -1
- package/dist/button/index.js +6 -5
- package/dist/collection/PickerModal.vue.d.ts +26 -0
- package/dist/collection/definition.d.ts +6 -6
- package/dist/collection/http.d.ts +6 -6
- package/dist/collection/index.d.ts +5 -1
- package/dist/collection/index.js +144 -85
- package/dist/collection/picker.d.ts +39 -0
- package/dist/collection/types.d.ts +9 -4
- package/dist/collection/useCollection.d.ts +5 -5
- package/dist/content/ActivityStream.vue.d.ts +62 -0
- package/dist/content/CommentThread.vue.d.ts +52 -0
- package/dist/content/Composer.vue.d.ts +36 -0
- package/dist/content/index.d.ts +3 -0
- package/dist/content/index.js +321 -56
- package/dist/controls/index.js +28 -54
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +611 -595
- package/dist/form/storableText.d.ts +24 -0
- package/dist/format/index.d.ts +1 -0
- package/dist/format/index.js +10 -6
- package/dist/format/slug.d.ts +8 -0
- package/dist/highlight-DnYhLXnu.js +9 -0
- package/dist/http-Dm0uXY9O.js +95 -0
- package/dist/i18n/index.d.ts +14 -0
- package/dist/i18n/index.js +87 -63
- package/dist/i18n/plural.d.ts +23 -0
- package/dist/identity/embed.d.ts +39 -0
- package/dist/identity/index.d.ts +20 -0
- package/dist/identity/index.js +40 -21
- package/dist/identity/session.d.ts +9 -1
- package/dist/identity/shared/ChangeFeed.vue.d.ts +6 -3
- package/dist/identity/users/context.d.ts +8 -0
- package/dist/identity/users/dialogs.d.ts +10 -0
- package/dist/identity/users/ext.d.ts +8 -0
- package/dist/identity/users/feature.d.ts +10 -0
- package/dist/identity/users/list.d.ts +1 -1
- package/dist/identity/users/personSections.d.ts +1 -1
- package/dist/identity/users/replace.d.ts +45 -0
- package/dist/identity/users/words.d.ts +28 -0
- package/dist/incidents/api.d.ts +1 -1
- package/dist/incidents/index.js +1 -1
- package/dist/{index-Dz0LkLM8.js → index-CTkG-acm.js} +4 -4
- package/dist/{index-Dm-sdJJr.js → index-DUs7WSz-.js} +31 -32
- package/dist/index-pJ_eRg80.js +1257 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/modal/index.js +3 -3
- package/dist/modules/identity/entities.d.ts +7 -0
- package/dist/modules/identity/routes.d.ts +8 -4
- package/dist/modules/identity/schemas.d.ts +16 -0
- package/dist/{neighbors-DVfU9T0o.js → neighbors-OyvGi233.js} +2 -2
- package/dist/notifications/deadletters/list.d.ts +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{options-QuOkMKVZ.js → options-B48UiYsG.js} +2 -2
- package/dist/page/index.js +11 -11
- package/dist/phone/index.js +1 -1
- package/dist/pwa/AndroidInstallBanner.vue.d.ts +18 -0
- package/dist/pwa/InstallQrSheet.vue.d.ts +21 -0
- package/dist/pwa/IosInstallGuide.vue.d.ts +19 -0
- package/dist/pwa/QrCode.vue.d.ts +16 -0
- package/dist/pwa/index.d.ts +4 -0
- package/dist/pwa/index.js +244 -24
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-CT8vWYgI.js → rowLayout-Il4psyXN.js} +183 -188
- package/dist/shell/DarkModeRow.vue.d.ts +15 -0
- package/dist/shell/OfflineNotice.vue.d.ts +2 -0
- package/dist/shell/QuickSearchButton.vue.d.ts +2 -0
- package/dist/shell/QuickSearchPalette.vue.d.ts +12 -0
- package/dist/shell/darkMode.d.ts +26 -0
- package/dist/shell/index.d.ts +10 -0
- package/dist/shell/index.js +963 -580
- package/dist/shell/offlineNotice.d.ts +3 -0
- package/dist/shell/quickSearch.d.ts +14 -0
- package/dist/shell/quickSearchControl.d.ts +66 -0
- package/dist/shortcut-DUR6yPWA.js +93 -0
- package/dist/state/BackgroundTaskCapsule.vue.d.ts +18 -0
- package/dist/state/backgroundTasks.d.ts +58 -0
- package/dist/state/index.d.ts +4 -0
- package/dist/state/index.js +194 -80
- package/dist/state/useCountUp.d.ts +9 -0
- package/dist/styles.css +1 -1
- package/dist/{suggestions-BVQhoXzS.js → suggestions-q_v3M7G6.js} +1 -1
- package/dist/testing/collection.d.ts +1 -1
- package/dist/{useCommand-Dc8Lgs9h.js → useCommand-Ch_nx1AQ.js} +4 -4
- package/dist/{useGroupSheet-DQ6cVG-z.js → useGroupSheet-CPjHydQV.js} +14 -15
- package/dist/{useRecordDialog-BTsbHY38.js → useRecordDialog-DdkauXnU.js} +1 -1
- package/dist/{useResourceForm-DJ4Q75pq.js → useResourceForm-Dl6YFYyz.js} +1 -1
- package/package.json +3 -2
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-Cg1lhpcA.js +0 -45
- package/dist/Activity-29hsZ28j.js +0 -156
- package/dist/Button.vue_vue_type_script_setup_true_lang-Dp7OB-eF.js +0 -192
- package/dist/Changes-Dxjdkd_5.js +0 -129
- package/dist/FormErrors.vue_vue_type_script_setup_true_lang-CIggKPtq.js +0 -295
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-B37dixvJ.js +0 -137
- package/dist/PageBar.vue_vue_type_script_setup_true_lang-qI94fjJv.js +0 -47
- package/dist/ProfilePage-BnohZIEg.js +0 -764
- package/dist/ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js +0 -64
- package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +0 -23
- package/dist/SessionList.vue_vue_type_script_setup_true_lang-Cnyt5V8T.js +0 -133
- package/dist/SignIns-BcqBgWgN.js +0 -121
- package/dist/UserRecord-CtUPpbCt.js +0 -267
- package/dist/UsersList-BMkIgIg8.js +0 -155
- package/dist/definition-C7QuyV3i.js +0 -54
- package/dist/fieldMessages-B6GHgi40.js +0 -25
- package/dist/http-nz92KjdS.js +0 -42
- package/dist/index-CdtofdcJ.js +0 -501
- package/dist/languages-BShG9LpE.js +0 -10
- package/dist/signInEvents-DWShrJox.js +0 -30
- package/dist/status-BRA14qwX.js +0 -34
- package/dist/useWaitStatus-fsacMl4W.js +0 -24
|
@@ -1,40 +1,29 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import {
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { _ as
|
|
1
|
+
import { defineComponent as T, computed as _, openBlock as i, createElementBlock as d, Fragment as I, renderList as M, createBlock as x, withCtx as k, createTextVNode as w, toDisplayString as b, unref as l, createElementVNode as m, mergeProps as F, createVNode as v, createCommentVNode as f, renderSlot as h, toValue as z, watch as S, onMounted as R, onBeforeUnmount as L, useTemplateRef as V, provide as A, ref as O, createSlots as H, normalizeClass as D } from "vue";
|
|
2
|
+
import { a as N } from "./mediaQuery-CygcXmFW.js";
|
|
3
|
+
import { _ as K } from "./BottomDockPortal.vue_vue_type_script_setup_true_lang-DmwR-2SP.js";
|
|
4
|
+
import { useI18n as E } from "vue-i18n";
|
|
5
|
+
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
|
|
6
6
|
import { _ as y } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { RouterLink as B, useRoute as
|
|
9
|
-
import { i as
|
|
10
|
-
import { a as
|
|
11
|
-
import { d as
|
|
12
|
-
const
|
|
13
|
-
__name: "BottomDockPortal",
|
|
14
|
-
setup(d) {
|
|
15
|
-
const e = D() ? F(U, null) : null, a = k(() => e?.value ?? null);
|
|
16
|
-
return (c, i) => (r(), _(O, {
|
|
17
|
-
to: a.value,
|
|
18
|
-
disabled: !a.value
|
|
19
|
-
}, [
|
|
20
|
-
v(c.$slots, "default")
|
|
21
|
-
], 8, ["to", "disabled"]));
|
|
22
|
-
}
|
|
23
|
-
}), ae = {
|
|
7
|
+
import { _ as Q } from "./Menu.vue_vue_type_script_setup_true_lang-wKc9gdCn.js";
|
|
8
|
+
import { RouterLink as B, useRoute as U } from "vue-router";
|
|
9
|
+
import { i as W } from "./intlLocale-CeRU44qJ.js";
|
|
10
|
+
import { a as j, c as Y, p as G } from "./chrome-nUcmVu8G.js";
|
|
11
|
+
import { d as J } from "./context-Ch1r4fdN.js";
|
|
12
|
+
const X = {
|
|
24
13
|
key: 0,
|
|
25
14
|
"data-page-actions": "",
|
|
26
15
|
class: "flex min-w-0 flex-wrap items-center justify-end gap-2"
|
|
27
|
-
},
|
|
16
|
+
}, Z = ["aria-label", "onClick"], P = /* @__PURE__ */ T({
|
|
28
17
|
__name: "PageActions",
|
|
29
18
|
props: {
|
|
30
19
|
actions: {},
|
|
31
20
|
leading: {}
|
|
32
21
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const e =
|
|
22
|
+
setup(p) {
|
|
23
|
+
const e = p, { t: a } = E(), u = _(() => [
|
|
35
24
|
...e.leading ? [e.leading] : [],
|
|
36
25
|
...e.actions.filter((t) => t.placement !== "overflow" && t.tone !== "critical")
|
|
37
|
-
]),
|
|
26
|
+
]), r = _(() => e.actions.filter((t) => t.placement === "overflow" || t.tone === "critical").map((t) => ({
|
|
38
27
|
id: t.id,
|
|
39
28
|
label: t.label,
|
|
40
29
|
icon: t.icon,
|
|
@@ -43,13 +32,13 @@ const te = /* @__PURE__ */ $({
|
|
|
43
32
|
processing: t.processing,
|
|
44
33
|
onSelect: t.onClick
|
|
45
34
|
})));
|
|
46
|
-
function
|
|
35
|
+
function c(t) {
|
|
47
36
|
return t === e.leading || t.prominence === "plain" ? "plain" : t.prominence === "standard" ? "standard" : t.placement === "primary" ? "primary" : "standard";
|
|
48
37
|
}
|
|
49
|
-
return (t, o) =>
|
|
50
|
-
(
|
|
38
|
+
return (t, o) => u.value.length || r.value.length ? (i(), d("div", X, [
|
|
39
|
+
(i(!0), d(I, null, M(u.value, (s) => (i(), x(q, {
|
|
51
40
|
key: s.id,
|
|
52
|
-
prominence:
|
|
41
|
+
prominence: c(s),
|
|
53
42
|
icon: s.icon,
|
|
54
43
|
disabled: s.disabled,
|
|
55
44
|
processing: s.processing,
|
|
@@ -57,45 +46,45 @@ const te = /* @__PURE__ */ $({
|
|
|
57
46
|
"data-page-action": s.id,
|
|
58
47
|
onClick: (g) => s.onClick()
|
|
59
48
|
}, {
|
|
60
|
-
default:
|
|
61
|
-
w(
|
|
49
|
+
default: k(() => [
|
|
50
|
+
w(b(s.label), 1)
|
|
62
51
|
]),
|
|
63
52
|
_: 2
|
|
64
53
|
}, 1032, ["prominence", "icon", "disabled", "processing", "keyboard-shortcut", "data-page-action", "onClick"]))), 128)),
|
|
65
|
-
|
|
54
|
+
r.value.length ? (i(), x(Q, {
|
|
66
55
|
key: 0,
|
|
67
|
-
items:
|
|
56
|
+
items: r.value,
|
|
68
57
|
label: l(a)("core.page.more_actions")
|
|
69
58
|
}, {
|
|
70
|
-
trigger:
|
|
71
|
-
m("button",
|
|
59
|
+
trigger: k(({ toggle: s, attrs: g }) => [
|
|
60
|
+
m("button", F({ type: "button" }, g, {
|
|
72
61
|
"aria-label": l(a)("core.page.more_actions"),
|
|
73
62
|
"data-page-overflow": "",
|
|
74
63
|
class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-button bg-fill text-content-strong transition-colors duration-motion-fast hover:bg-fill-strong focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
|
|
75
64
|
onClick: s
|
|
76
65
|
}), [
|
|
77
|
-
|
|
78
|
-
], 16,
|
|
66
|
+
v(l(y), { name: "moreLine" })
|
|
67
|
+
], 16, Z)
|
|
79
68
|
]),
|
|
80
69
|
_: 1
|
|
81
70
|
}, 8, ["items", "label"])) : f("", !0)
|
|
82
71
|
])) : f("", !0);
|
|
83
72
|
}
|
|
84
|
-
}),
|
|
73
|
+
}), ee = {
|
|
85
74
|
"data-page-toolbar": "",
|
|
86
75
|
class: "sticky top-[var(--shell-banner-h,0px)] z-20 flex min-h-bar-height min-w-0 flex-wrap items-center gap-2.5 border-b border-border-separator bg-surface-page/85 py-2 pr-6 pl-4 backdrop-blur-xl"
|
|
87
|
-
},
|
|
76
|
+
}, te = ["aria-label"], ae = {
|
|
88
77
|
class: "flex shrink-0 text-content-link",
|
|
89
78
|
"aria-hidden": "true"
|
|
90
|
-
},
|
|
79
|
+
}, ne = { class: "flex min-w-0 items-center" }, oe = {
|
|
91
80
|
class: "flex shrink-0 text-content-disabled",
|
|
92
81
|
"aria-hidden": "true"
|
|
93
|
-
},
|
|
82
|
+
}, se = { class: "flex min-w-0 shrink-0 items-center" }, le = { class: "truncate" }, ie = {
|
|
94
83
|
key: 2,
|
|
95
84
|
class: "flex shrink-0 items-center gap-1.5 text-footnote text-content-muted",
|
|
96
85
|
role: "status",
|
|
97
86
|
"data-page-status": ""
|
|
98
|
-
},
|
|
87
|
+
}, re = /* @__PURE__ */ T({
|
|
99
88
|
__name: "PageToolbar",
|
|
100
89
|
props: {
|
|
101
90
|
back: {},
|
|
@@ -104,118 +93,118 @@ const te = /* @__PURE__ */ $({
|
|
|
104
93
|
leading: {},
|
|
105
94
|
status: {}
|
|
106
95
|
},
|
|
107
|
-
setup(
|
|
108
|
-
const e =
|
|
109
|
-
return (
|
|
110
|
-
|
|
96
|
+
setup(p) {
|
|
97
|
+
const e = p, { t: a } = E(), u = _(() => e.path && e.path.length >= 2 ? e.path.slice(0, -1) : []), r = _(() => e.path && u.value.length ? e.path[e.path.length - 1] ?? null : e.back ?? null);
|
|
98
|
+
return (c, t) => (i(), d("div", ee, [
|
|
99
|
+
u.value.length && r.value ? (i(), d("nav", {
|
|
111
100
|
key: 0,
|
|
112
101
|
"data-page-path": "",
|
|
113
102
|
"aria-label": l(a)("core.page.breadcrumbs"),
|
|
114
103
|
class: "-ml-1 flex min-w-0 items-center"
|
|
115
104
|
}, [
|
|
116
|
-
m("span",
|
|
117
|
-
|
|
105
|
+
m("span", ae, [
|
|
106
|
+
v(l(y), {
|
|
118
107
|
name: "arrowLeftSLine",
|
|
119
108
|
size: 20
|
|
120
109
|
})
|
|
121
110
|
]),
|
|
122
|
-
m("ol",
|
|
123
|
-
(
|
|
111
|
+
m("ol", ne, [
|
|
112
|
+
(i(!0), d(I, null, M(u.value, (o) => (i(), d("li", {
|
|
124
113
|
key: o.label,
|
|
125
114
|
class: "flex min-w-0 max-w-48 shrink items-center max-lg:hidden"
|
|
126
115
|
}, [
|
|
127
|
-
|
|
116
|
+
v(l(B), {
|
|
128
117
|
to: o.to,
|
|
129
118
|
"data-page-path-item": "",
|
|
130
119
|
class: "min-w-0 truncate rounded-control px-1 py-1 text-subheadline text-content-muted hover:bg-tint-soft hover:text-content-link focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus"
|
|
131
120
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
w(
|
|
121
|
+
default: k(() => [
|
|
122
|
+
w(b(o.label), 1)
|
|
134
123
|
]),
|
|
135
124
|
_: 2
|
|
136
125
|
}, 1032, ["to"]),
|
|
137
|
-
m("span",
|
|
138
|
-
|
|
126
|
+
m("span", oe, [
|
|
127
|
+
v(l(y), {
|
|
139
128
|
name: "arrowRightSLine",
|
|
140
129
|
size: 14
|
|
141
130
|
})
|
|
142
131
|
])
|
|
143
132
|
]))), 128)),
|
|
144
|
-
m("li",
|
|
145
|
-
|
|
146
|
-
to:
|
|
133
|
+
m("li", se, [
|
|
134
|
+
v(l(B), {
|
|
135
|
+
to: r.value.to,
|
|
147
136
|
"data-page-back": "",
|
|
148
137
|
class: "min-w-0 truncate rounded-control px-1 py-1 text-subheadline font-medium text-content-link hover:bg-tint-soft focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus"
|
|
149
138
|
}, {
|
|
150
|
-
default:
|
|
151
|
-
w(
|
|
139
|
+
default: k(() => [
|
|
140
|
+
w(b(r.value.label), 1)
|
|
152
141
|
]),
|
|
153
142
|
_: 1
|
|
154
143
|
}, 8, ["to"])
|
|
155
144
|
])
|
|
156
145
|
])
|
|
157
|
-
], 8,
|
|
146
|
+
], 8, te)) : e.back ? (i(), x(l(B), {
|
|
158
147
|
key: 1,
|
|
159
148
|
to: e.back.to,
|
|
160
149
|
"data-page-back": "",
|
|
161
150
|
class: "-ml-1 flex min-w-0 items-center gap-0.5 rounded-control py-1 pr-2 pl-0.5 text-subheadline font-medium text-content-link hover:bg-tint-soft focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus"
|
|
162
151
|
}, {
|
|
163
|
-
default:
|
|
164
|
-
|
|
152
|
+
default: k(() => [
|
|
153
|
+
v(l(y), {
|
|
165
154
|
name: "arrowLeftSLine",
|
|
166
155
|
size: 20
|
|
167
156
|
}),
|
|
168
|
-
m("span",
|
|
157
|
+
m("span", le, b(e.back.label), 1)
|
|
169
158
|
]),
|
|
170
159
|
_: 1
|
|
171
160
|
}, 8, ["to"])) : f("", !0),
|
|
172
161
|
t[1] || (t[1] = m("div", { class: "min-w-0 flex-1" }, null, -1)),
|
|
173
|
-
|
|
174
|
-
e.status ? (
|
|
162
|
+
h(c.$slots, "pager"),
|
|
163
|
+
e.status ? (i(), d("span", ie, [
|
|
175
164
|
t[0] || (t[0] = m("span", {
|
|
176
165
|
class: "size-1.75 rounded-full bg-tint",
|
|
177
166
|
"aria-hidden": "true"
|
|
178
167
|
}, null, -1)),
|
|
179
|
-
w(
|
|
168
|
+
w(b(e.status), 1)
|
|
180
169
|
])) : f("", !0),
|
|
181
|
-
|
|
170
|
+
v(P, {
|
|
182
171
|
actions: e.actions,
|
|
183
172
|
leading: e.leading
|
|
184
173
|
}, null, 8, ["actions", "leading"])
|
|
185
174
|
]));
|
|
186
175
|
}
|
|
187
176
|
});
|
|
188
|
-
function
|
|
189
|
-
const
|
|
190
|
-
if (!
|
|
191
|
-
const
|
|
192
|
-
let
|
|
193
|
-
|
|
194
|
-
!
|
|
177
|
+
function ce(p, e, a = !0) {
|
|
178
|
+
const u = j();
|
|
179
|
+
if (!u || !z(a)) return;
|
|
180
|
+
const r = u.claim();
|
|
181
|
+
let c = null;
|
|
182
|
+
S(() => z(e), (t) => r.setTitle(t), { immediate: !0 }), R(() => {
|
|
183
|
+
!p.value || typeof IntersectionObserver > "u" || (c = new IntersectionObserver(([t]) => r.setTitleInView(t?.isIntersecting ?? !0), { rootMargin: "-52px 0px 0px 0px" }), c.observe(p.value));
|
|
195
184
|
}), L(() => {
|
|
196
|
-
|
|
185
|
+
c?.disconnect(), r.clearTitle();
|
|
197
186
|
});
|
|
198
187
|
}
|
|
199
|
-
const
|
|
188
|
+
const ue = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, de = { class: "flex min-w-0 flex-[1_1_16rem] items-center gap-3.5" }, pe = {
|
|
200
189
|
key: 0,
|
|
201
190
|
"aria-hidden": "true",
|
|
202
191
|
class: "flex size-10 shrink-0 items-center justify-center rounded-group bg-tile-brand text-tile-brand-foreground compact:hidden"
|
|
203
|
-
},
|
|
192
|
+
}, me = { class: "flex min-w-0 flex-col gap-0.5" }, fe = { class: "flex min-w-0 flex-wrap items-baseline gap-2.5" }, ge = {
|
|
204
193
|
key: 0,
|
|
205
194
|
"data-resource-count": "",
|
|
206
195
|
class: "rounded-full bg-fill px-2.5 py-0.5 text-subheadline font-semibold tabular-nums text-content-muted compact:bg-transparent compact:px-0 compact:font-normal"
|
|
207
|
-
},
|
|
196
|
+
}, ve = {
|
|
208
197
|
key: 0,
|
|
209
198
|
class: "text-subheadline text-content-muted max-md:hidden"
|
|
210
|
-
},
|
|
199
|
+
}, he = {
|
|
211
200
|
key: 0,
|
|
212
201
|
class: "ml-auto flex items-center gap-3"
|
|
213
|
-
},
|
|
202
|
+
}, be = {
|
|
214
203
|
key: 0,
|
|
215
204
|
class: "flex shrink-0 items-center gap-1.5 text-footnote text-content-muted",
|
|
216
205
|
role: "status",
|
|
217
206
|
"data-page-status": ""
|
|
218
|
-
},
|
|
207
|
+
}, ke = /* @__PURE__ */ T({
|
|
219
208
|
__name: "ResourceHeader",
|
|
220
209
|
props: {
|
|
221
210
|
title: {},
|
|
@@ -227,80 +216,80 @@ const fe = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, ge
|
|
|
227
216
|
status: { default: null },
|
|
228
217
|
inlineActions: { type: Boolean, default: !1 }
|
|
229
218
|
},
|
|
230
|
-
setup(
|
|
231
|
-
const e =
|
|
232
|
-
return
|
|
233
|
-
m("div",
|
|
234
|
-
|
|
235
|
-
e.icon ? (
|
|
236
|
-
|
|
219
|
+
setup(p) {
|
|
220
|
+
const e = p, { locale: a } = E(), u = N("(max-width: 47.999rem)"), r = _(() => e.count == null ? null : new Intl.NumberFormat(W(a.value)).format(e.count)), c = V("titleElement");
|
|
221
|
+
return ce(c, () => e.title), (t, o) => (i(), d("div", ue, [
|
|
222
|
+
m("div", de, [
|
|
223
|
+
h(t.$slots, "leading", {}, () => [
|
|
224
|
+
e.icon ? (i(), d("span", pe, [
|
|
225
|
+
v(l(y), {
|
|
237
226
|
name: e.icon,
|
|
238
227
|
size: 20
|
|
239
228
|
}, null, 8, ["name"])
|
|
240
229
|
])) : f("", !0)
|
|
241
230
|
]),
|
|
242
|
-
m("div",
|
|
243
|
-
m("div",
|
|
231
|
+
m("div", me, [
|
|
232
|
+
m("div", fe, [
|
|
244
233
|
m("h1", {
|
|
245
234
|
ref_key: "titleElement",
|
|
246
|
-
ref:
|
|
235
|
+
ref: c,
|
|
247
236
|
class: "min-w-0 text-large-title font-semibold tracking-tight break-words text-content-strong"
|
|
248
|
-
},
|
|
249
|
-
|
|
237
|
+
}, b(e.title), 513),
|
|
238
|
+
r.value !== null ? (i(), d("span", ge, b(r.value), 1)) : f("", !0)
|
|
250
239
|
]),
|
|
251
|
-
e.description ? (
|
|
252
|
-
|
|
240
|
+
e.description ? (i(), d("p", ve, b(e.description), 1)) : f("", !0),
|
|
241
|
+
h(t.$slots, "description")
|
|
253
242
|
])
|
|
254
243
|
]),
|
|
255
|
-
e.inlineActions || !l(
|
|
256
|
-
e.status ? (
|
|
244
|
+
e.inlineActions || !l(u) ? (i(), d("div", he, [
|
|
245
|
+
e.status ? (i(), d("span", be, [
|
|
257
246
|
o[0] || (o[0] = m("span", {
|
|
258
247
|
class: "size-1.75 rounded-full bg-tint",
|
|
259
248
|
"aria-hidden": "true"
|
|
260
249
|
}, null, -1)),
|
|
261
|
-
w(
|
|
250
|
+
w(b(e.status), 1)
|
|
262
251
|
])) : f("", !0),
|
|
263
|
-
|
|
252
|
+
v(P, {
|
|
264
253
|
actions: e.actions,
|
|
265
254
|
leading: e.leading
|
|
266
255
|
}, null, 8, ["actions", "leading"])
|
|
267
256
|
])) : f("", !0)
|
|
268
257
|
]));
|
|
269
258
|
}
|
|
270
|
-
}), [
|
|
271
|
-
function
|
|
272
|
-
const a =
|
|
273
|
-
let
|
|
274
|
-
const
|
|
275
|
-
|
|
259
|
+
}), [_e, Re] = J("vue-core.pageSectionBack");
|
|
260
|
+
function xe(p, e) {
|
|
261
|
+
const a = U();
|
|
262
|
+
let u = a.fullPath;
|
|
263
|
+
const r = a.matched[a.matched.length - 1];
|
|
264
|
+
S(
|
|
276
265
|
() => a.fullPath,
|
|
277
266
|
(s) => {
|
|
278
|
-
a.matched[a.matched.length - 1] ===
|
|
267
|
+
a.matched[a.matched.length - 1] === r && (u = s);
|
|
279
268
|
}
|
|
280
269
|
);
|
|
281
|
-
let
|
|
270
|
+
let c, t;
|
|
282
271
|
function o() {
|
|
283
|
-
|
|
272
|
+
c?.disconnect(), clearTimeout(t), document.removeEventListener("pointerdown", o, !0), document.removeEventListener("keydown", o, !0);
|
|
284
273
|
}
|
|
285
274
|
R(() => {
|
|
286
|
-
const s = e.focusMemory.take(
|
|
287
|
-
if (!s || !
|
|
275
|
+
const s = e.focusMemory.take(u);
|
|
276
|
+
if (!s || !p.value) return;
|
|
288
277
|
const g = () => {
|
|
289
|
-
const
|
|
278
|
+
const $ = Array.from(p.value?.querySelectorAll("a[href]") ?? []).find(
|
|
290
279
|
(n) => n.getAttribute("href") === s.href
|
|
291
280
|
);
|
|
292
|
-
|
|
281
|
+
$ && ($.focus({ preventScroll: !0 }), window.scrollTo({ top: s.top, behavior: "instant" }), o());
|
|
293
282
|
};
|
|
294
|
-
|
|
283
|
+
c = new MutationObserver(g), c.observe(p.value, { subtree: !0, childList: !0 }), document.addEventListener("pointerdown", o, !0), document.addEventListener("keydown", o, !0), t = setTimeout(o, 1e4), g();
|
|
295
284
|
}), L(() => {
|
|
296
285
|
const s = document.activeElement;
|
|
297
|
-
s instanceof HTMLAnchorElement &&
|
|
286
|
+
s instanceof HTMLAnchorElement && p.value?.contains(s) && e.focusMemory.put(u, { href: s.getAttribute("href") ?? "", top: window.scrollY }), o();
|
|
298
287
|
});
|
|
299
288
|
}
|
|
300
|
-
const
|
|
289
|
+
const we = { key: 1 }, ye = {
|
|
301
290
|
key: 2,
|
|
302
291
|
class: "flex justify-center pt-2"
|
|
303
|
-
},
|
|
292
|
+
}, $e = { class: "dock-safe-area pointer-events-auto order-1 border-t border-border-separator bg-surface-cell pt-screen-padding pr-[max(var(--app-screen-padding),var(--app-safe-right))] pb-screen-padding pl-[max(var(--app-screen-padding),var(--app-safe-left))]" }, Ve = /* @__PURE__ */ T({
|
|
304
293
|
__name: "AdaptivePageShell",
|
|
305
294
|
props: {
|
|
306
295
|
title: {},
|
|
@@ -313,59 +302,59 @@ const Te = { key: 1 }, Le = {
|
|
|
313
302
|
path: { default: void 0 },
|
|
314
303
|
width: { default: "full" }
|
|
315
304
|
},
|
|
316
|
-
setup(
|
|
317
|
-
const e =
|
|
318
|
-
A(
|
|
319
|
-
const
|
|
320
|
-
L(
|
|
321
|
-
const
|
|
322
|
-
|
|
323
|
-
const
|
|
324
|
-
A(
|
|
325
|
-
const o =
|
|
305
|
+
setup(p) {
|
|
306
|
+
const e = p, a = j() ?? Y();
|
|
307
|
+
A(G, a);
|
|
308
|
+
const u = a.claimShell();
|
|
309
|
+
L(u);
|
|
310
|
+
const r = V("root");
|
|
311
|
+
xe(r, a);
|
|
312
|
+
const c = N("(max-width: 47.999rem)"), t = O(null);
|
|
313
|
+
A(_e, t);
|
|
314
|
+
const o = _(() => {
|
|
326
315
|
if (t.value) return t.value;
|
|
327
316
|
if (e.back !== void 0) return e.back;
|
|
328
317
|
const n = e.path?.[e.path.length - 1];
|
|
329
318
|
return n ? { label: n.label, to: n.to } : null;
|
|
330
|
-
}), s =
|
|
319
|
+
}), s = _(() => {
|
|
331
320
|
const n = t.value;
|
|
332
321
|
return n ? n.path ? [...e.path ?? (e.back ? [e.back] : []), ...n.path] : null : e.path;
|
|
333
322
|
}), g = a.claim();
|
|
334
|
-
|
|
323
|
+
S(
|
|
335
324
|
() => [e.actions, e.documentTitle],
|
|
336
325
|
([n, C]) => g.setRegistration({ actions: n, leading: null, status: null, navTitle: null, documentTitle: C ?? null }),
|
|
337
326
|
{ immediate: !0 }
|
|
338
|
-
),
|
|
327
|
+
), S(o, (n) => g.setBack(n), { immediate: !0 }), L(() => {
|
|
339
328
|
g.clearRegistration(), g.clearBack();
|
|
340
329
|
});
|
|
341
|
-
const
|
|
342
|
-
return (n, C) => (
|
|
330
|
+
const $ = { full: "", content: "max-w-content", readable: "max-w-readable" };
|
|
331
|
+
return (n, C) => (i(), d("div", {
|
|
343
332
|
ref_key: "root",
|
|
344
|
-
ref:
|
|
333
|
+
ref: r,
|
|
345
334
|
class: "min-w-0 w-full flex-1 bg-surface-page",
|
|
346
335
|
"data-page-shell": ""
|
|
347
336
|
}, [
|
|
348
|
-
o.value && !l(
|
|
337
|
+
o.value && !l(c) ? (i(), x(re, {
|
|
349
338
|
key: 0,
|
|
350
339
|
back: o.value,
|
|
351
340
|
path: s.value,
|
|
352
341
|
actions: l(a).actions.value,
|
|
353
342
|
leading: l(a).leading.value,
|
|
354
343
|
status: l(a).status.value
|
|
355
|
-
},
|
|
344
|
+
}, H({ _: 2 }, [
|
|
356
345
|
n.$slots.pager ? {
|
|
357
346
|
name: "pager",
|
|
358
|
-
fn:
|
|
359
|
-
|
|
347
|
+
fn: k(() => [
|
|
348
|
+
h(n.$slots, "pager")
|
|
360
349
|
]),
|
|
361
350
|
key: "0"
|
|
362
351
|
} : void 0
|
|
363
352
|
]), 1032, ["back", "path", "actions", "leading", "status"])) : f("", !0),
|
|
364
353
|
m("div", {
|
|
365
|
-
class:
|
|
354
|
+
class: D(["mx-auto flex min-w-0 flex-col gap-section-gap pt-section-gap pr-[max(var(--app-screen-padding),var(--app-safe-right))] pb-[max(var(--app-screen-padding),var(--app-safe-bottom),calc(var(--bottom-dock-h,0px)+var(--app-screen-padding)))] pl-[max(var(--app-screen-padding),var(--app-safe-left))] lg:pt-[calc(var(--app-section-gap)*1.5)] lg:pr-[max(2.5rem,var(--app-safe-right))] lg:pl-[max(2.5rem,var(--app-safe-left))]", $[e.width]])
|
|
366
355
|
}, [
|
|
367
|
-
|
|
368
|
-
|
|
356
|
+
h(n.$slots, "header", {}, () => [
|
|
357
|
+
v(ke, {
|
|
369
358
|
title: e.title,
|
|
370
359
|
description: e.description,
|
|
371
360
|
icon: e.icon,
|
|
@@ -375,23 +364,23 @@ const Te = { key: 1 }, Le = {
|
|
|
375
364
|
status: o.value ? null : l(a).status.value
|
|
376
365
|
}, null, 8, ["title", "description", "icon", "count", "actions", "leading", "status"])
|
|
377
366
|
]),
|
|
378
|
-
n.$slots.header && !o.value && !l(
|
|
367
|
+
n.$slots.header && !o.value && !l(c) ? (i(), x(P, {
|
|
379
368
|
key: 0,
|
|
380
369
|
actions: l(a).actions.value,
|
|
381
370
|
leading: l(a).leading.value
|
|
382
371
|
}, null, 8, ["actions", "leading"])) : f("", !0),
|
|
383
|
-
n.$slots.notices ? (
|
|
384
|
-
|
|
372
|
+
n.$slots.notices ? (i(), d("div", we, [
|
|
373
|
+
h(n.$slots, "notices")
|
|
385
374
|
])) : f("", !0),
|
|
386
|
-
|
|
387
|
-
n.$slots.pager && l(
|
|
388
|
-
|
|
375
|
+
h(n.$slots, "default"),
|
|
376
|
+
n.$slots.pager && l(c) ? (i(), d("div", ye, [
|
|
377
|
+
h(n.$slots, "pager")
|
|
389
378
|
])) : f("", !0)
|
|
390
379
|
], 2),
|
|
391
|
-
n.$slots.bottom ? (
|
|
392
|
-
default:
|
|
393
|
-
m("div",
|
|
394
|
-
|
|
380
|
+
n.$slots.bottom ? (i(), x(K, { key: 1 }, {
|
|
381
|
+
default: k(() => [
|
|
382
|
+
m("div", $e, [
|
|
383
|
+
h(n.$slots, "bottom")
|
|
395
384
|
])
|
|
396
385
|
]),
|
|
397
386
|
_: 3
|
|
@@ -400,12 +389,11 @@ const Te = { key: 1 }, Le = {
|
|
|
400
389
|
}
|
|
401
390
|
});
|
|
402
391
|
export {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
me as u
|
|
392
|
+
Ve as _,
|
|
393
|
+
P as a,
|
|
394
|
+
re as b,
|
|
395
|
+
ke as c,
|
|
396
|
+
Re as d,
|
|
397
|
+
_e as p,
|
|
398
|
+
ce as u
|
|
411
399
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, openBlock as n, createElementBlock as o, computed as $, Fragment as _, unref as i, renderSlot as y, renderList as b, createBlock as v, createVNode as c, withCtx as d, createElementVNode as m, toDisplayString as l, createCommentVNode as f, createTextVNode as g, normalizeClass as w, createSlots as x } from "vue";
|
|
2
2
|
import { useI18n as C } from "vue-i18n";
|
|
3
|
-
import { _ as h } from "./Button.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as h } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
|
|
4
4
|
import { _ as S } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
5
5
|
import { _ as E } from "./Banner.vue_vue_type_script_setup_true_lang-sv0phngk.js";
|
|
6
6
|
import { _ as V } from "./EmptyState.vue_vue_type_script_setup_true_lang-DbZiO2RF.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineComponent as n, getCurrentInstance as l, inject as r, computed as a, openBlock as c, createBlock as s, Teleport as u, renderSlot as m } from "vue";
|
|
2
|
+
import { b as p } from "./bottomDock-BZEiOPYZ.js";
|
|
3
|
+
const k = /* @__PURE__ */ n({
|
|
4
|
+
__name: "BottomDockPortal",
|
|
5
|
+
setup(d) {
|
|
6
|
+
const t = l() ? r(p, null) : null, e = a(() => t?.value ?? null);
|
|
7
|
+
return (o, _) => (c(), s(u, {
|
|
8
|
+
to: e.value,
|
|
9
|
+
disabled: !e.value
|
|
10
|
+
}, [
|
|
11
|
+
m(o.$slots, "default")
|
|
12
|
+
], 8, ["to", "disabled"]));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
k as _
|
|
17
|
+
};
|