@wssto2/vue-core 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{Activity-DnW1LTO2.js → Activity-DukTfcmn.js} +2 -2
  2. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js} +137 -129
  3. package/dist/{Changes-DJDSlnp1.js → Changes-Dhi7EBe9.js} +2 -2
  4. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-BuAdhiy_.js +1514 -0
  5. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DBtMgcW6.js → DataTable.vue_vue_type_script_setup_true_lang-KPm5NrDE.js} +1 -1
  6. package/dist/{DeadLetters-C8ICE47Y.js → DeadLetters-CfKE1axC.js} +2 -2
  7. package/dist/{General-BbEDM3y_.js → General-BwT5Y_TN.js} +2 -2
  8. package/dist/IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js +50 -0
  9. package/dist/{Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js → Menu.vue_vue_type_script_setup_true_lang-uPmxWvds.js} +56 -50
  10. package/dist/{NewRolePage-CYfEuRIV.js → NewRolePage-B8OGQE-A.js} +3 -3
  11. package/dist/{ProfilePage-V2ywWbL3.js → ProfilePage-DIJEhiW-.js} +4 -4
  12. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-BCTNrzBb.js → RecordHeader.vue_vue_type_script_setup_true_lang-D87Hs75d.js} +1 -1
  13. package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-C_tQTUyN.js → ResourcePage.vue_vue_type_script_setup_true_lang-gJGEfLzX.js} +1 -1
  14. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-et4dyitf.js → RoleEditor.vue_vue_type_script_setup_true_lang-4YJhNgbn.js} +1 -1
  15. package/dist/{RolePage-CjCBcRau.js → RolePage-Bn0re7VE.js} +6 -6
  16. package/dist/{RolesPage-Cr3Hlr4Q.js → RolesPage-CjEAQvTq.js} +3 -3
  17. package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BtQjHjd4.js → SectionList.vue_vue_type_script_setup_true_lang-B0p_8xQG.js} +2 -2
  18. package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BGc8A9AQ.js → SectionNavigator.vue_vue_type_script_setup_true_lang-ROl9_pdO.js} +3 -3
  19. package/dist/SelectField.vue_vue_type_script_setup_true_lang-BJoAkBo2.js +437 -0
  20. package/dist/{SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js → SessionList.vue_vue_type_script_setup_true_lang-D4k5QeWS.js} +1 -1
  21. package/dist/{Sessions-_35nYhoR.js → Sessions-BZnBtu7h.js} +2 -2
  22. package/dist/{SettingsPage-CDESMl3M.js → SettingsPage-BmRCB75J.js} +2 -2
  23. package/dist/{SignIn-CkXwxorT.js → SignIn-D-n9cfMH.js} +2 -2
  24. package/dist/{SignInPage-BdwfKB31.js → SignInPage-BzIP6sPa.js} +1 -1
  25. package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-CifEaH7c.js → SignInTable.vue_vue_type_script_setup_true_lang-ALAuc0sI.js} +1 -1
  26. package/dist/{SignIns-Dvdid5QB.js → SignIns-dFIzemgy.js} +2 -2
  27. package/dist/ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js +24 -0
  28. package/dist/{UserRecord-CM0JQQGT.js → UserRecord-DoOu1hWB.js} +5 -5
  29. package/dist/{UsersList-CR3RpQ4-.js → UsersList-CYBGEOqE.js} +4 -4
  30. package/dist/access/index.js +1 -1
  31. package/dist/collection/CollectionCell.vue.d.ts +2 -0
  32. package/dist/collection/RecordIdentity.vue.d.ts +6 -0
  33. package/dist/collection/filters.d.ts +4 -0
  34. package/dist/collection/index.js +3 -3
  35. package/dist/collection/rowInteractions.d.ts +2 -0
  36. package/dist/controls/IconTile.vue.d.ts +10 -3
  37. package/dist/controls/index.js +1 -1
  38. package/dist/form/I18nField.vue.d.ts +1 -1
  39. package/dist/form/TextareaField.vue.d.ts +1 -1
  40. package/dist/form/index.js +4 -4
  41. package/dist/form/options.d.ts +3 -0
  42. package/dist/identity/index.js +1 -1
  43. package/dist/{index-ClU_gPzK.js → index-BHt1dLX2.js} +2 -2
  44. package/dist/{index-B1jflSA6.js → index-BVX0nmMv.js} +10 -10
  45. package/dist/{index-DVp6cwfN.js → index-CixCeO47.js} +5 -5
  46. package/dist/index.d.ts +1 -1
  47. package/dist/index.js +1 -1
  48. package/dist/notifications/index.js +1 -1
  49. package/dist/overlay/AlertDialog.vue.d.ts +2 -2
  50. package/dist/overlay/Menu.vue.d.ts +3 -0
  51. package/dist/overlay/index.js +1 -1
  52. package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
  53. package/dist/page/ResourceHeader.vue.d.ts +2 -2
  54. package/dist/page/index.js +5 -5
  55. package/dist/resource/index.js +1 -1
  56. package/dist/{rowLayout-CZ7uZFnE.js → rowLayout-BkQWulan.js} +239 -221
  57. package/dist/shell/NavigationList.vue.d.ts +1 -1
  58. package/dist/shell/index.js +1 -1
  59. package/dist/state/ToneDot.vue.d.ts +12 -0
  60. package/dist/{status-D2Fmu3YH.js → status-D3cLPSCh.js} +1 -1
  61. package/dist/styles.css +1 -1
  62. package/package.json +1 -1
  63. package/src/styles/collection.css +1 -1
  64. package/src/styles/theme.css +7 -0
  65. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js +0 -1485
  66. package/dist/IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js +0 -40
  67. package/dist/SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js +0 -423
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as S, ref as g, watch as w, computed as k, openBlock as i, createElementBlock as y, createVNode as _, unref as t, createElementVNode as r, withCtx as f, toDisplayString as u, Fragment as C, renderList as N, createBlock as x, createTextVNode as j, createCommentVNode as R } from "vue";
2
2
  import { useI18n as q } from "vue-i18n";
3
- import { _ as D } from "./IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js";
3
+ import { _ as D } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
4
4
  import { _ as I } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
5
5
  import { u as O } from "./format-B8mJm946.js";
6
6
  import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js";
7
7
  import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
8
8
  import { e as z } from "./control-7EP4tjYy.js";
9
- import { P as G, c as H, i as J } from "./index-B1jflSA6.js";
9
+ import { P as G, c as H, i as J } from "./index-BVX0nmMv.js";
10
10
  import { u as K } from "./platform-q3cjODLx.js";
11
11
  import { b as M } from "./routeResource-DstM0hvf.js";
12
12
  import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
@@ -1,38 +1,38 @@
1
- import { defineComponent as $, getCurrentInstance as D, inject as F, computed as k, openBlock as l, createBlock as _, Teleport as O, renderSlot as v, createElementBlock as p, Fragment as I, renderList as M, withCtx as x, createTextVNode as w, toDisplayString as h, unref as s, createElementVNode as m, mergeProps as H, createVNode as b, createCommentVNode as f, toValue as z, watch as B, onMounted as R, onBeforeUnmount as S, useTemplateRef as V, provide as A, ref as K, createSlots as q, normalizeClass as Q } from "vue";
1
+ import { defineComponent as $, getCurrentInstance as D, inject as F, computed as k, openBlock as r, createBlock as _, Teleport as O, renderSlot as v, createElementBlock as p, Fragment as I, renderList as M, withCtx as x, createTextVNode as w, toDisplayString as h, unref as l, createElementVNode as m, mergeProps as H, createVNode as b, createCommentVNode as f, toValue as z, watch as T, onMounted as R, onBeforeUnmount as C, useTemplateRef as V, provide as A, ref as K, createSlots as q, normalizeClass as Q } from "vue";
2
2
  import { a as j } from "./mediaQuery-CygcXmFW.js";
3
3
  import { b as U } from "./bottomDock-BZEiOPYZ.js";
4
- import { useI18n as E } from "vue-i18n";
4
+ import { useI18n as P } from "vue-i18n";
5
5
  import { _ as W } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
6
6
  import { _ as y } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
7
- import { _ as Y } from "./Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js";
8
- import { RouterLink as L, useRoute as G } from "vue-router";
7
+ import { _ as Y } from "./Menu.vue_vue_type_script_setup_true_lang-uPmxWvds.js";
8
+ import { RouterLink as B, useRoute as G } from "vue-router";
9
9
  import { a as N, c as J, p as X } from "./chrome-nUcmVu8G.js";
10
10
  import { d as Z } from "./context-Ch1r4fdN.js";
11
11
  const ee = /* @__PURE__ */ $({
12
12
  __name: "BottomDockPortal",
13
- setup(u) {
13
+ setup(d) {
14
14
  const e = D() ? F(U, null) : null, n = k(() => e?.value ?? null);
15
- return (i, r) => (l(), _(O, {
15
+ return (c, i) => (r(), _(O, {
16
16
  to: n.value,
17
17
  disabled: !n.value
18
18
  }, [
19
- v(i.$slots, "default")
19
+ v(c.$slots, "default")
20
20
  ], 8, ["to", "disabled"]));
21
21
  }
22
22
  }), te = {
23
23
  key: 0,
24
24
  class: "flex min-w-0 flex-wrap items-center justify-end gap-2"
25
- }, ne = ["aria-label", "onClick"], P = /* @__PURE__ */ $({
25
+ }, ne = ["aria-label", "onClick"], E = /* @__PURE__ */ $({
26
26
  __name: "PageActions",
27
27
  props: {
28
28
  actions: {},
29
29
  leading: {}
30
30
  },
31
- setup(u) {
32
- const e = u, { t: n } = E(), i = k(() => [
31
+ setup(d) {
32
+ const e = d, { t: n } = P(), c = k(() => [
33
33
  ...e.leading ? [e.leading] : [],
34
34
  ...e.actions.filter((t) => t.placement !== "overflow" && t.tone !== "critical")
35
- ]), r = k(() => e.actions.filter((t) => t.placement === "overflow" || t.tone === "critical").map((t) => ({
35
+ ]), i = k(() => e.actions.filter((t) => t.placement === "overflow" || t.tone === "critical").map((t) => ({
36
36
  id: t.id,
37
37
  label: t.label,
38
38
  icon: t.icon,
@@ -41,38 +41,38 @@ const ee = /* @__PURE__ */ $({
41
41
  processing: t.processing,
42
42
  onSelect: t.onClick
43
43
  })));
44
- function c(t) {
44
+ function u(t) {
45
45
  return t === e.leading || t.prominence === "plain" ? "plain" : t.prominence === "standard" ? "standard" : t.placement === "primary" ? "primary" : "standard";
46
46
  }
47
- return (t, a) => i.value.length || r.value.length ? (l(), p("div", te, [
48
- (l(!0), p(I, null, M(i.value, (d) => (l(), _(W, {
49
- key: d.id,
50
- prominence: c(d),
51
- icon: d.icon,
52
- disabled: d.disabled,
53
- processing: d.processing,
54
- "keyboard-shortcut": d.keyboardShortcut,
55
- "data-page-action": d.id,
56
- onClick: (g) => d.onClick()
47
+ return (t, o) => c.value.length || i.value.length ? (r(), p("div", te, [
48
+ (r(!0), p(I, null, M(c.value, (s) => (r(), _(W, {
49
+ key: s.id,
50
+ prominence: u(s),
51
+ icon: s.icon,
52
+ disabled: s.disabled,
53
+ processing: s.processing,
54
+ "keyboard-shortcut": s.keyboardShortcut,
55
+ "data-page-action": s.id,
56
+ onClick: (g) => s.onClick()
57
57
  }, {
58
58
  default: x(() => [
59
- w(h(d.label), 1)
59
+ w(h(s.label), 1)
60
60
  ]),
61
61
  _: 2
62
62
  }, 1032, ["prominence", "icon", "disabled", "processing", "keyboard-shortcut", "data-page-action", "onClick"]))), 128)),
63
- r.value.length ? (l(), _(Y, {
63
+ i.value.length ? (r(), _(Y, {
64
64
  key: 0,
65
- items: r.value,
66
- label: s(n)("core.page.more_actions")
65
+ items: i.value,
66
+ label: l(n)("core.page.more_actions")
67
67
  }, {
68
- trigger: x(({ toggle: d, attrs: g }) => [
68
+ trigger: x(({ toggle: s, attrs: g }) => [
69
69
  m("button", H({ type: "button" }, g, {
70
- "aria-label": s(n)("core.page.more_actions"),
70
+ "aria-label": l(n)("core.page.more_actions"),
71
71
  "data-page-overflow": "",
72
72
  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",
73
- onClick: d
73
+ onClick: s
74
74
  }), [
75
- b(s(y), { name: "moreLine" })
75
+ b(l(y), { name: "moreLine" })
76
76
  ], 16, ne)
77
77
  ]),
78
78
  _: 1
@@ -99,63 +99,63 @@ const ee = /* @__PURE__ */ $({
99
99
  leading: {},
100
100
  status: {}
101
101
  },
102
- setup(u) {
103
- const e = u, { t: n } = E(), i = k(() => e.path && e.path.length >= 2 ? e.path.slice(0, -1) : []), r = k(() => e.path && i.value.length ? e.path[e.path.length - 1] ?? null : e.back ?? null);
104
- return (c, t) => (l(), p("div", ae, [
105
- i.value.length && r.value ? (l(), p("nav", {
102
+ setup(d) {
103
+ const e = d, { t: n } = P(), c = k(() => e.path && e.path.length >= 2 ? e.path.slice(0, -1) : []), i = k(() => e.path && c.value.length ? e.path[e.path.length - 1] ?? null : e.back ?? null);
104
+ return (u, t) => (r(), p("div", ae, [
105
+ c.value.length && i.value ? (r(), p("nav", {
106
106
  key: 0,
107
- "aria-label": s(n)("core.page.breadcrumbs"),
107
+ "aria-label": l(n)("core.page.breadcrumbs"),
108
108
  class: "-ml-1 flex min-w-0 items-center"
109
109
  }, [
110
110
  m("span", se, [
111
- b(s(y), {
111
+ b(l(y), {
112
112
  name: "arrowLeftSLine",
113
113
  size: 20
114
114
  })
115
115
  ]),
116
116
  m("ol", le, [
117
- (l(!0), p(I, null, M(i.value, (a) => (l(), p("li", {
118
- key: a.label,
117
+ (r(!0), p(I, null, M(c.value, (o) => (r(), p("li", {
118
+ key: o.label,
119
119
  class: "flex min-w-0 max-w-48 shrink items-center max-lg:hidden"
120
120
  }, [
121
- b(s(L), {
122
- to: a.to,
121
+ b(l(B), {
122
+ to: o.to,
123
123
  "data-page-path-item": "",
124
124
  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"
125
125
  }, {
126
126
  default: x(() => [
127
- w(h(a.label), 1)
127
+ w(h(o.label), 1)
128
128
  ]),
129
129
  _: 2
130
130
  }, 1032, ["to"]),
131
131
  m("span", re, [
132
- b(s(y), {
132
+ b(l(y), {
133
133
  name: "arrowRightSLine",
134
134
  size: 14
135
135
  })
136
136
  ])
137
137
  ]))), 128)),
138
138
  m("li", ie, [
139
- b(s(L), {
140
- to: r.value.to,
139
+ b(l(B), {
140
+ to: i.value.to,
141
141
  "data-page-back": "",
142
142
  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"
143
143
  }, {
144
144
  default: x(() => [
145
- w(h(r.value.label), 1)
145
+ w(h(i.value.label), 1)
146
146
  ]),
147
147
  _: 1
148
148
  }, 8, ["to"])
149
149
  ])
150
150
  ])
151
- ], 8, oe)) : e.back ? (l(), _(s(L), {
151
+ ], 8, oe)) : e.back ? (r(), _(l(B), {
152
152
  key: 1,
153
153
  to: e.back.to,
154
154
  "data-page-back": "",
155
155
  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"
156
156
  }, {
157
157
  default: x(() => [
158
- b(s(y), {
158
+ b(l(y), {
159
159
  name: "arrowLeftSLine",
160
160
  size: 20
161
161
  }),
@@ -164,30 +164,30 @@ const ee = /* @__PURE__ */ $({
164
164
  _: 1
165
165
  }, 8, ["to"])) : f("", !0),
166
166
  t[1] || (t[1] = m("div", { class: "min-w-0 flex-1" }, null, -1)),
167
- v(c.$slots, "pager"),
168
- e.status ? (l(), p("span", ue, [
167
+ v(u.$slots, "pager"),
168
+ e.status ? (r(), p("span", ue, [
169
169
  t[0] || (t[0] = m("span", {
170
170
  class: "size-1.75 rounded-full bg-tint",
171
171
  "aria-hidden": "true"
172
172
  }, null, -1)),
173
173
  w(h(e.status), 1)
174
174
  ])) : f("", !0),
175
- b(P, {
175
+ b(E, {
176
176
  actions: e.actions,
177
177
  leading: e.leading
178
178
  }, null, 8, ["actions", "leading"])
179
179
  ]));
180
180
  }
181
181
  });
182
- function pe(u, e, n = !0) {
183
- const i = N();
184
- if (!i || !z(n)) return;
185
- const r = i.claim();
186
- let c = null;
187
- B(() => z(e), (t) => r.setTitle(t), { immediate: !0 }), R(() => {
188
- !u.value || typeof IntersectionObserver > "u" || (c = new IntersectionObserver(([t]) => r.setTitleInView(t?.isIntersecting ?? !0), { rootMargin: "-52px 0px 0px 0px" }), c.observe(u.value));
189
- }), S(() => {
190
- c?.disconnect(), r.clearTitle();
182
+ function pe(d, e, n = !0) {
183
+ const c = N();
184
+ if (!c || !z(n)) return;
185
+ const i = c.claim();
186
+ let u = null;
187
+ T(() => z(e), (t) => i.setTitle(t), { immediate: !0 }), R(() => {
188
+ !d.value || typeof IntersectionObserver > "u" || (u = new IntersectionObserver(([t]) => i.setTitleInView(t?.isIntersecting ?? !0), { rootMargin: "-52px 0px 0px 0px" }), u.observe(d.value));
189
+ }), C(() => {
190
+ u?.disconnect(), i.clearTitle();
191
191
  });
192
192
  }
193
193
  const me = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, fe = { class: "flex min-w-0 flex-[1_1_16rem] items-center gap-3.5" }, ge = {
@@ -221,13 +221,13 @@ const me = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, fe
221
221
  status: { default: null },
222
222
  inlineActions: { type: Boolean, default: !1 }
223
223
  },
224
- setup(u) {
225
- const e = u, { locale: n } = E(), i = j("(max-width: 47.999rem)"), r = k(() => e.count == null ? null : new Intl.NumberFormat(n.value).format(e.count)), c = V("titleElement");
226
- return pe(c, () => e.title), (t, a) => (l(), p("div", me, [
224
+ setup(d) {
225
+ const e = d, { locale: n } = P(), c = j("(max-width: 47.999rem)"), i = k(() => e.count == null ? null : new Intl.NumberFormat(n.value).format(e.count)), u = V("titleElement");
226
+ return pe(u, () => e.title), (t, o) => (r(), p("div", me, [
227
227
  m("div", fe, [
228
228
  v(t.$slots, "leading", {}, () => [
229
- e.icon ? (l(), p("span", ge, [
230
- b(s(y), {
229
+ e.icon ? (r(), p("span", ge, [
230
+ b(l(y), {
231
231
  name: e.icon,
232
232
  size: 20
233
233
  }, null, 8, ["name"])
@@ -237,24 +237,24 @@ const me = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, fe
237
237
  m("div", be, [
238
238
  m("h1", {
239
239
  ref_key: "titleElement",
240
- ref: c,
240
+ ref: u,
241
241
  class: "min-w-0 text-large-title font-semibold tracking-tight break-words text-content-strong"
242
242
  }, h(e.title), 513),
243
- r.value !== null ? (l(), p("span", he, h(r.value), 1)) : f("", !0)
243
+ i.value !== null ? (r(), p("span", he, h(i.value), 1)) : f("", !0)
244
244
  ]),
245
- e.description ? (l(), p("p", ke, h(e.description), 1)) : f("", !0),
245
+ e.description ? (r(), p("p", ke, h(e.description), 1)) : f("", !0),
246
246
  v(t.$slots, "description")
247
247
  ])
248
248
  ]),
249
- e.inlineActions || !s(i) ? (l(), p("div", _e, [
250
- e.status ? (l(), p("span", xe, [
251
- a[0] || (a[0] = m("span", {
249
+ e.inlineActions || !l(c) ? (r(), p("div", _e, [
250
+ e.status ? (r(), p("span", xe, [
251
+ o[0] || (o[0] = m("span", {
252
252
  class: "size-1.75 rounded-full bg-tint",
253
253
  "aria-hidden": "true"
254
254
  }, null, -1)),
255
255
  w(h(e.status), 1)
256
256
  ])) : f("", !0),
257
- b(P, {
257
+ b(E, {
258
258
  actions: e.actions,
259
259
  leading: e.leading
260
260
  }, null, 8, ["actions", "leading"])
@@ -262,25 +262,33 @@ const me = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, fe
262
262
  ]));
263
263
  }
264
264
  }), [ye, je] = Z("vue-core.pageSectionBack");
265
- function $e(u, e) {
266
- const i = G().fullPath;
267
- let r, c;
268
- function t() {
269
- r?.disconnect(), clearTimeout(c), document.removeEventListener("pointerdown", t, !0), document.removeEventListener("keydown", t, !0);
265
+ function $e(d, e) {
266
+ const n = G();
267
+ let c = n.fullPath;
268
+ const i = n.matched[n.matched.length - 1];
269
+ T(
270
+ () => n.fullPath,
271
+ (s) => {
272
+ n.matched[n.matched.length - 1] === i && (c = s);
273
+ }
274
+ );
275
+ let u, t;
276
+ function o() {
277
+ u?.disconnect(), clearTimeout(t), document.removeEventListener("pointerdown", o, !0), document.removeEventListener("keydown", o, !0);
270
278
  }
271
279
  R(() => {
272
- const a = e.focusMemory.take(i);
273
- if (!a || !u.value) return;
274
- const d = () => {
275
- const g = Array.from(u.value?.querySelectorAll("a[href]") ?? []).find(
276
- (T) => T.getAttribute("href") === a.href
280
+ const s = e.focusMemory.take(c);
281
+ if (!s || !d.value) return;
282
+ const g = () => {
283
+ const S = Array.from(d.value?.querySelectorAll("a[href]") ?? []).find(
284
+ (a) => a.getAttribute("href") === s.href
277
285
  );
278
- g && (g.focus({ preventScroll: !0 }), window.scrollTo({ top: a.top, behavior: "instant" }), t());
286
+ S && (S.focus({ preventScroll: !0 }), window.scrollTo({ top: s.top, behavior: "instant" }), o());
279
287
  };
280
- r = new MutationObserver(d), r.observe(u.value, { subtree: !0, childList: !0 }), document.addEventListener("pointerdown", t, !0), document.addEventListener("keydown", t, !0), c = setTimeout(t, 1e4), d();
281
- }), S(() => {
282
- const a = document.activeElement;
283
- a instanceof HTMLAnchorElement && u.value?.contains(a) && e.focusMemory.put(i, { href: a.getAttribute("href") ?? "", top: window.scrollY }), t();
288
+ u = new MutationObserver(g), u.observe(d.value, { subtree: !0, childList: !0 }), document.addEventListener("pointerdown", o, !0), document.addEventListener("keydown", o, !0), t = setTimeout(o, 1e4), g();
289
+ }), C(() => {
290
+ const s = document.activeElement;
291
+ s instanceof HTMLAnchorElement && d.value?.contains(s) && e.focusMemory.put(c, { href: s.getAttribute("href") ?? "", top: window.scrollY }), o();
284
292
  });
285
293
  }
286
294
  const Se = { key: 1 }, Te = {
@@ -299,85 +307,85 @@ const Se = { key: 1 }, Te = {
299
307
  path: { default: void 0 },
300
308
  width: { default: "full" }
301
309
  },
302
- setup(u) {
303
- const e = u, n = N() ?? J();
310
+ setup(d) {
311
+ const e = d, n = N() ?? J();
304
312
  A(X, n);
305
- const i = n.claimShell();
306
- S(i);
307
- const r = V("root");
308
- $e(r, n);
309
- const c = j("(max-width: 47.999rem)"), t = K(null);
313
+ const c = n.claimShell();
314
+ C(c);
315
+ const i = V("root");
316
+ $e(i, n);
317
+ const u = j("(max-width: 47.999rem)"), t = K(null);
310
318
  A(ye, t);
311
- const a = k(() => {
319
+ const o = k(() => {
312
320
  if (t.value) return t.value;
313
321
  if (e.back !== void 0) return e.back;
314
- const o = e.path?.[e.path.length - 1];
315
- return o ? { label: o.label, to: o.to } : null;
316
- }), d = k(() => {
317
- const o = t.value;
318
- return o ? o.path ? [...e.path ?? (e.back ? [e.back] : []), ...o.path] : null : e.path;
322
+ const a = e.path?.[e.path.length - 1];
323
+ return a ? { label: a.label, to: a.to } : null;
324
+ }), s = k(() => {
325
+ const a = t.value;
326
+ return a ? a.path ? [...e.path ?? (e.back ? [e.back] : []), ...a.path] : null : e.path;
319
327
  }), g = n.claim();
320
- B(
328
+ T(
321
329
  () => [e.actions, e.documentTitle],
322
- ([o, C]) => g.setRegistration({ actions: o, leading: null, status: null, navTitle: null, documentTitle: C ?? null }),
330
+ ([a, L]) => g.setRegistration({ actions: a, leading: null, status: null, navTitle: null, documentTitle: L ?? null }),
323
331
  { immediate: !0 }
324
- ), B(a, (o) => g.setBack(o), { immediate: !0 }), S(() => {
332
+ ), T(o, (a) => g.setBack(a), { immediate: !0 }), C(() => {
325
333
  g.clearRegistration(), g.clearBack();
326
334
  });
327
- const T = { full: "", content: "max-w-content", readable: "max-w-readable" };
328
- return (o, C) => (l(), p("div", {
335
+ const S = { full: "", content: "max-w-content", readable: "max-w-readable" };
336
+ return (a, L) => (r(), p("div", {
329
337
  ref_key: "root",
330
- ref: r,
338
+ ref: i,
331
339
  class: "min-w-0 w-full flex-1 bg-surface-page",
332
340
  "data-page-shell": ""
333
341
  }, [
334
- a.value && !s(c) ? (l(), _(de, {
342
+ o.value && !l(u) ? (r(), _(de, {
335
343
  key: 0,
336
- back: a.value,
337
- path: d.value,
338
- actions: s(n).actions.value,
339
- leading: s(n).leading.value,
340
- status: s(n).status.value
344
+ back: o.value,
345
+ path: s.value,
346
+ actions: l(n).actions.value,
347
+ leading: l(n).leading.value,
348
+ status: l(n).status.value
341
349
  }, q({ _: 2 }, [
342
- o.$slots.pager ? {
350
+ a.$slots.pager ? {
343
351
  name: "pager",
344
352
  fn: x(() => [
345
- v(o.$slots, "pager")
353
+ v(a.$slots, "pager")
346
354
  ]),
347
355
  key: "0"
348
356
  } : void 0
349
357
  ]), 1032, ["back", "path", "actions", "leading", "status"])) : f("", !0),
350
358
  m("div", {
351
- class: Q(["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))]", T[e.width]])
359
+ class: Q(["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))]", S[e.width]])
352
360
  }, [
353
- v(o.$slots, "header", {}, () => [
361
+ v(a.$slots, "header", {}, () => [
354
362
  b(we, {
355
363
  title: e.title,
356
364
  description: e.description,
357
365
  icon: e.icon,
358
366
  count: e.count,
359
- actions: a.value ? [] : s(n).actions.value,
360
- leading: a.value ? null : s(n).leading.value,
361
- status: a.value ? null : s(n).status.value
367
+ actions: o.value ? [] : l(n).actions.value,
368
+ leading: o.value ? null : l(n).leading.value,
369
+ status: o.value ? null : l(n).status.value
362
370
  }, null, 8, ["title", "description", "icon", "count", "actions", "leading", "status"])
363
371
  ]),
364
- o.$slots.header && !a.value && !s(c) ? (l(), _(P, {
372
+ a.$slots.header && !o.value && !l(u) ? (r(), _(E, {
365
373
  key: 0,
366
- actions: s(n).actions.value,
367
- leading: s(n).leading.value
374
+ actions: l(n).actions.value,
375
+ leading: l(n).leading.value
368
376
  }, null, 8, ["actions", "leading"])) : f("", !0),
369
- o.$slots.notices ? (l(), p("div", Se, [
370
- v(o.$slots, "notices")
377
+ a.$slots.notices ? (r(), p("div", Se, [
378
+ v(a.$slots, "notices")
371
379
  ])) : f("", !0),
372
- v(o.$slots, "default"),
373
- o.$slots.pager && s(c) ? (l(), p("div", Te, [
374
- v(o.$slots, "pager")
380
+ v(a.$slots, "default"),
381
+ a.$slots.pager && l(u) ? (r(), p("div", Te, [
382
+ v(a.$slots, "pager")
375
383
  ])) : f("", !0)
376
384
  ], 2),
377
- o.$slots.bottom ? (l(), _(ee, { key: 1 }, {
385
+ a.$slots.bottom ? (r(), _(ee, { key: 1 }, {
378
386
  default: x(() => [
379
387
  m("div", Ce, [
380
- v(o.$slots, "bottom")
388
+ v(a.$slots, "bottom")
381
389
  ])
382
390
  ]),
383
391
  _: 3
@@ -388,7 +396,7 @@ const Se = { key: 1 }, Te = {
388
396
  export {
389
397
  ee as _,
390
398
  Ne as a,
391
- P as b,
399
+ E as b,
392
400
  de as c,
393
401
  we as d,
394
402
  je as e,
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as k, computed as N, openBlock as n, createBlock as u, unref as a, withCtx as g, createElementBlock as p, Fragment as _, renderList as $, createElementVNode as i, toDisplayString as h, createCommentVNode as C, ref as x, watch as b, createVNode as y } from "vue";
2
2
  import { useI18n as E } from "vue-i18n";
3
- import { P as V, i as R } from "./index-B1jflSA6.js";
3
+ import { P as V, i as R } from "./index-BVX0nmMv.js";
4
4
  import { u as S } from "./platform-q3cjODLx.js";
5
5
  import { b as B } from "./routeResource-DstM0hvf.js";
6
6
  import { _ as F } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
7
7
  import { u as L } from "./useLoad-CYRVx6HW.js";
8
8
  import { _ as P } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
9
- import { _ as I } from "./IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js";
9
+ import { _ as I } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
10
10
  import { u as O } from "./format-B8mJm946.js";
11
11
  import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
12
12
  import { e as U } from "./control-7EP4tjYy.js";