@wssto2/vue-core 0.4.3 → 0.4.4
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-DnW1LTO2.js → Activity-BH0jQxZs.js} +1 -1
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js} +136 -128
- package/dist/{Changes-DJDSlnp1.js → Changes-DS81sZj9.js} +1 -1
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js → CollectionPage.vue_vue_type_script_setup_true_lang-BZRdVhZo.js} +1 -1
- package/dist/{DeadLetters-C8ICE47Y.js → DeadLetters-BqKtaowL.js} +2 -2
- package/dist/{General-BbEDM3y_.js → General-CK-9LrQ2.js} +1 -1
- package/dist/{NewRolePage-CYfEuRIV.js → NewRolePage-CziDdoeG.js} +3 -3
- package/dist/{ProfilePage-V2ywWbL3.js → ProfilePage-x063Zij2.js} +2 -2
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-BCTNrzBb.js → RecordHeader.vue_vue_type_script_setup_true_lang-Bua3wbN6.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-C_tQTUyN.js → ResourcePage.vue_vue_type_script_setup_true_lang-CzP4BNh7.js} +1 -1
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-et4dyitf.js → RoleEditor.vue_vue_type_script_setup_true_lang-BjhaIqqG.js} +1 -1
- package/dist/{RolePage-CjCBcRau.js → RolePage-Cecu3BKn.js} +4 -4
- package/dist/{RolesPage-Cr3Hlr4Q.js → RolesPage-DIL35QcF.js} +2 -2
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BtQjHjd4.js → SectionList.vue_vue_type_script_setup_true_lang-CaF3LPbQ.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BGc8A9AQ.js → SectionNavigator.vue_vue_type_script_setup_true_lang-BJfEOvEf.js} +2 -2
- package/dist/{Sessions-_35nYhoR.js → Sessions-DhHIVk7e.js} +1 -1
- package/dist/{SettingsPage-CDESMl3M.js → SettingsPage-BuGtZcae.js} +2 -2
- package/dist/{SignIn-CkXwxorT.js → SignIn-DRls5eYK.js} +1 -1
- package/dist/{SignInPage-BdwfKB31.js → SignInPage-D9wR46KD.js} +1 -1
- package/dist/{SignIns-Dvdid5QB.js → SignIns-BMBFeBrK.js} +1 -1
- package/dist/{UserRecord-CM0JQQGT.js → UserRecord-BOCP5XC6.js} +4 -4
- package/dist/{UsersList-CR3RpQ4-.js → UsersList-Df6HeAAO.js} +3 -3
- package/dist/access/index.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/form/index.js +2 -2
- package/dist/identity/index.js +1 -1
- package/dist/{index-DVp6cwfN.js → index-BwMaMqSc.js} +3 -3
- package/dist/{index-B1jflSA6.js → index-BykMr7eH.js} +10 -10
- package/dist/{index-ClU_gPzK.js → index-EkQmsbBQ.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/page/index.js +5 -5
- package/dist/resource/index.js +1 -1
- package/dist/{status-D2Fmu3YH.js → status-DyvlO552.js} +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ 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-
|
|
9
|
+
import { P as G, c as H, i as J } from "./index-BykMr7eH.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
|
|
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
|
|
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
7
|
import { _ as Y } from "./Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js";
|
|
8
|
-
import { RouterLink as
|
|
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(
|
|
13
|
+
setup(d) {
|
|
14
14
|
const e = D() ? F(U, null) : null, n = k(() => e?.value ?? null);
|
|
15
|
-
return (
|
|
15
|
+
return (c, i) => (r(), _(O, {
|
|
16
16
|
to: n.value,
|
|
17
17
|
disabled: !n.value
|
|
18
18
|
}, [
|
|
19
|
-
v(
|
|
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"],
|
|
25
|
+
}, ne = ["aria-label", "onClick"], E = /* @__PURE__ */ $({
|
|
26
26
|
__name: "PageActions",
|
|
27
27
|
props: {
|
|
28
28
|
actions: {},
|
|
29
29
|
leading: {}
|
|
30
30
|
},
|
|
31
|
-
setup(
|
|
32
|
-
const e =
|
|
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
|
-
]),
|
|
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
|
|
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,
|
|
48
|
-
(
|
|
49
|
-
key:
|
|
50
|
-
prominence:
|
|
51
|
-
icon:
|
|
52
|
-
disabled:
|
|
53
|
-
processing:
|
|
54
|
-
"keyboard-shortcut":
|
|
55
|
-
"data-page-action":
|
|
56
|
-
onClick: (g) =>
|
|
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(
|
|
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
|
-
|
|
63
|
+
i.value.length ? (r(), _(Y, {
|
|
64
64
|
key: 0,
|
|
65
|
-
items:
|
|
66
|
-
label:
|
|
65
|
+
items: i.value,
|
|
66
|
+
label: l(n)("core.page.more_actions")
|
|
67
67
|
}, {
|
|
68
|
-
trigger: x(({ toggle:
|
|
68
|
+
trigger: x(({ toggle: s, attrs: g }) => [
|
|
69
69
|
m("button", H({ type: "button" }, g, {
|
|
70
|
-
"aria-label":
|
|
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:
|
|
73
|
+
onClick: s
|
|
74
74
|
}), [
|
|
75
|
-
b(
|
|
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(
|
|
103
|
-
const e =
|
|
104
|
-
return (
|
|
105
|
-
|
|
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":
|
|
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(
|
|
111
|
+
b(l(y), {
|
|
112
112
|
name: "arrowLeftSLine",
|
|
113
113
|
size: 20
|
|
114
114
|
})
|
|
115
115
|
]),
|
|
116
116
|
m("ol", le, [
|
|
117
|
-
(
|
|
118
|
-
key:
|
|
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(
|
|
122
|
-
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(
|
|
127
|
+
w(h(o.label), 1)
|
|
128
128
|
]),
|
|
129
129
|
_: 2
|
|
130
130
|
}, 1032, ["to"]),
|
|
131
131
|
m("span", re, [
|
|
132
|
-
b(
|
|
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(
|
|
140
|
-
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(
|
|
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 ? (
|
|
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(
|
|
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(
|
|
168
|
-
e.status ? (
|
|
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(
|
|
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(
|
|
183
|
-
const
|
|
184
|
-
if (!
|
|
185
|
-
const
|
|
186
|
-
let
|
|
187
|
-
|
|
188
|
-
!
|
|
189
|
-
}),
|
|
190
|
-
|
|
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(
|
|
225
|
-
const e =
|
|
226
|
-
return pe(
|
|
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 ? (
|
|
230
|
-
b(
|
|
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:
|
|
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
|
-
|
|
243
|
+
i.value !== null ? (r(), p("span", he, h(i.value), 1)) : f("", !0)
|
|
244
244
|
]),
|
|
245
|
-
e.description ? (
|
|
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 || !
|
|
250
|
-
e.status ? (
|
|
251
|
-
|
|
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(
|
|
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(
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
|
|
269
|
-
|
|
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
|
|
273
|
-
if (!
|
|
274
|
-
const
|
|
275
|
-
const
|
|
276
|
-
(
|
|
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
|
-
|
|
286
|
+
S && (S.focus({ preventScroll: !0 }), window.scrollTo({ top: s.top, behavior: "instant" }), o());
|
|
279
287
|
};
|
|
280
|
-
|
|
281
|
-
}),
|
|
282
|
-
const
|
|
283
|
-
|
|
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(
|
|
303
|
-
const e =
|
|
310
|
+
setup(d) {
|
|
311
|
+
const e = d, n = N() ?? J();
|
|
304
312
|
A(X, n);
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
const
|
|
308
|
-
$e(
|
|
309
|
-
const
|
|
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
|
|
319
|
+
const o = k(() => {
|
|
312
320
|
if (t.value) return t.value;
|
|
313
321
|
if (e.back !== void 0) return e.back;
|
|
314
|
-
const
|
|
315
|
-
return
|
|
316
|
-
}),
|
|
317
|
-
const
|
|
318
|
-
return
|
|
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
|
-
|
|
328
|
+
T(
|
|
321
329
|
() => [e.actions, e.documentTitle],
|
|
322
|
-
([
|
|
330
|
+
([a, L]) => g.setRegistration({ actions: a, leading: null, status: null, navTitle: null, documentTitle: L ?? null }),
|
|
323
331
|
{ immediate: !0 }
|
|
324
|
-
),
|
|
332
|
+
), T(o, (a) => g.setBack(a), { immediate: !0 }), C(() => {
|
|
325
333
|
g.clearRegistration(), g.clearBack();
|
|
326
334
|
});
|
|
327
|
-
const
|
|
328
|
-
return (
|
|
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:
|
|
338
|
+
ref: i,
|
|
331
339
|
class: "min-w-0 w-full flex-1 bg-surface-page",
|
|
332
340
|
"data-page-shell": ""
|
|
333
341
|
}, [
|
|
334
|
-
|
|
342
|
+
o.value && !l(u) ? (r(), _(de, {
|
|
335
343
|
key: 0,
|
|
336
|
-
back:
|
|
337
|
-
path:
|
|
338
|
-
actions:
|
|
339
|
-
leading:
|
|
340
|
-
status:
|
|
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
|
-
|
|
350
|
+
a.$slots.pager ? {
|
|
343
351
|
name: "pager",
|
|
344
352
|
fn: x(() => [
|
|
345
|
-
v(
|
|
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))]",
|
|
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(
|
|
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:
|
|
360
|
-
leading:
|
|
361
|
-
status:
|
|
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
|
-
|
|
372
|
+
a.$slots.header && !o.value && !l(u) ? (r(), _(E, {
|
|
365
373
|
key: 0,
|
|
366
|
-
actions:
|
|
367
|
-
leading:
|
|
374
|
+
actions: l(n).actions.value,
|
|
375
|
+
leading: l(n).leading.value
|
|
368
376
|
}, null, 8, ["actions", "leading"])) : f("", !0),
|
|
369
|
-
|
|
370
|
-
v(
|
|
377
|
+
a.$slots.notices ? (r(), p("div", Se, [
|
|
378
|
+
v(a.$slots, "notices")
|
|
371
379
|
])) : f("", !0),
|
|
372
|
-
v(
|
|
373
|
-
|
|
374
|
-
v(
|
|
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
|
-
|
|
385
|
+
a.$slots.bottom ? (r(), _(ee, { key: 1 }, {
|
|
378
386
|
default: x(() => [
|
|
379
387
|
m("div", Ce, [
|
|
380
|
-
v(
|
|
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
|
-
|
|
399
|
+
E as b,
|
|
392
400
|
de as c,
|
|
393
401
|
we as d,
|
|
394
402
|
je as e,
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { P as V, i as R } from "./index-BykMr7eH.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";
|
|
@@ -2,7 +2,7 @@ import { hasInjectionContext as Je, inject as Ge, shallowRef as he, computed as
|
|
|
2
2
|
import { routerKey as ot } from "vue-router";
|
|
3
3
|
import { i as je, a as nt } from "./error-CD7x0Jrz.js";
|
|
4
4
|
import { d as Ve, o as st, L as Pe, e as we, w as at, b as rt } from "./http-CNcDHSOj.js";
|
|
5
|
-
import { a as it } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { a as it } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
6
6
|
import { useI18n as de } from "vue-i18n";
|
|
7
7
|
import { _ as se, u as Le } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
8
8
|
import { _ as He } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as B, useTemplateRef as C, computed as y, ref as v, openBlock as D, createBlock as z, unref as r, withCtx as m, createVNode as F, createElementVNode as b, normalizeClass as $, toDisplayString as h } from "vue";
|
|
2
2
|
import { useI18n as q } from "vue-i18n";
|
|
3
3
|
import { a as k } from "./error-CD7x0Jrz.js";
|
|
4
|
-
import { u as V, _ as N } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as V, _ as N } from "./CollectionPage.vue_vue_type_script_setup_true_lang-BZRdVhZo.js";
|
|
5
5
|
import { u as P } from "./describeError-Ctga6GcS.js";
|
|
6
6
|
import { u as I } from "./format-B8mJm946.js";
|
|
7
|
-
import { e as a, R as O } from "./index-
|
|
7
|
+
import { e as a, R as O } from "./index-EkQmsbBQ.js";
|
|
8
8
|
import { _ as W } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
9
9
|
import { t as i } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { u as Y } from "./useLoad-CYRVx6HW.js";
|
|
@@ -8,7 +8,7 @@ import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.
|
|
|
8
8
|
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js";
|
|
9
9
|
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
10
10
|
import { u as A } from "./useSaveChrome-DuWm0Czf.js";
|
|
11
|
-
import { P as D, b as G, i as I } from "./index-
|
|
11
|
+
import { P as D, b as G, i as I } from "./index-BykMr7eH.js";
|
|
12
12
|
import { t as M } from "./toast-CqSDTWRX.js";
|
|
13
13
|
import { u as O } from "./platform-q3cjODLx.js";
|
|
14
14
|
import { b as U } from "./routeResource-DstM0hvf.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as _, computed as d, openBlock as y, createBlock as w, unref as e, withCtx as i, createVNode as l } from "vue";
|
|
2
2
|
import { useI18n as v } from "vue-i18n";
|
|
3
3
|
import { useRoute as k, useRouter as R } from "vue-router";
|
|
4
|
-
import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
5
5
|
import { _ as b } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
6
6
|
import { u as g } from "./useLoad-CYRVx6HW.js";
|
|
7
|
-
import { a as x, c as u } from "./index-
|
|
8
|
-
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { a as x, c as u } from "./index-BwMaMqSc.js";
|
|
8
|
+
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-BjhaIqqG.js";
|
|
9
9
|
const V = /* @__PURE__ */ _({
|
|
10
10
|
__name: "NewRolePage",
|
|
11
11
|
setup(h) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as A, watch as X, openBlock as v, createBlock as S, unref as e, withCtx as u, createVNode as r, mergeProps as E, useModel as pe, useId as fe, useTemplateRef as J, ref as w, onMounted as me, onBeforeUnmount as ve, computed as B, createElementBlock as M, withModifiers as _e, toDisplayString as b, createCommentVNode as W, createElementVNode as x, createTextVNode as N, Fragment as le, mergeModels as oe } from "vue";
|
|
2
2
|
import { useI18n as R } from "vue-i18n";
|
|
3
|
-
import { a as ge } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ge } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
4
4
|
import { u as L } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
6
6
|
import { u as Y } from "./useLoad-CYRVx6HW.js";
|
|
7
|
-
import { i as k, d as G } from "./index-
|
|
7
|
+
import { i as k, d as G } from "./index-BykMr7eH.js";
|
|
8
8
|
import { u as Z } from "./FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js";
|
|
9
9
|
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js";
|
|
10
10
|
import { _ as U } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, useTemplateRef as u, openBlock as t, createElementBlock as c, renderSlot as r, createCommentVNode as s, createElementVNode as n, toDisplayString as a, Fragment as d, renderList as f, createBlock as h, resolveDynamicComponent as g, withCtx as x, createVNode as _, unref as k } from "vue";
|
|
2
2
|
import { _ as b } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
3
|
-
import { u as w } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as w } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
4
4
|
const v = { class: "flex min-w-0 flex-wrap items-center gap-5 compact:flex-col compact:gap-2 compact:text-center" }, y = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "min-w-0 max-w-full shrink-0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, openBlock as a, createElementBlock as v, unref as t, createBlock as c, withCtx as s, createVNode as l, normalizeClass as d, createElementVNode as R, toDisplayString as y, computed as m, createSlots as w, renderSlot as f, createCommentVNode as A } from "vue";
|
|
2
2
|
import { useI18n as z } from "vue-i18n";
|
|
3
|
-
import { a as C } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as C } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
4
4
|
import { _ as B } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
5
5
|
import { _ as D } from "./EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js";
|
|
6
6
|
import { useRouter as K, RouterLink as x } from "vue-router";
|
|
@@ -9,7 +9,7 @@ import { u as ae } from "./useSaveChrome-DuWm0Czf.js";
|
|
|
9
9
|
import { t as oe } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { _ as S } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
11
11
|
import { _ as E } from "./Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js";
|
|
12
|
-
import { d as W, u as J, p as ne, o as R, r as D, g as H, s as le, e as re, a as ie, f as ce, b as ue, h as de } from "./index-
|
|
12
|
+
import { d as W, u as J, p as ne, o as R, r as D, g as H, s as le, e as re, a as ie, f as ce, b as ue, h as de } from "./index-BwMaMqSc.js";
|
|
13
13
|
import { _ as me } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
14
14
|
import { _ as fe } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
|
|
15
15
|
import { _ as pe } from "./SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js";
|
|
@@ -7,17 +7,17 @@ import { e as F } from "./control-7EP4tjYy.js";
|
|
|
7
7
|
import { u as Z } from "./describeError-Ctga6GcS.js";
|
|
8
8
|
import { _ as ee } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
9
9
|
import { t as q } from "./toast-CqSDTWRX.js";
|
|
10
|
-
import { _ as oe } from "./RecordHeader.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as oe } from "./RecordHeader.vue_vue_type_script_setup_true_lang-Bua3wbN6.js";
|
|
11
11
|
import { u as te } from "./platform-q3cjODLx.js";
|
|
12
12
|
import { a as ae, u as le } from "./routeResource-DstM0hvf.js";
|
|
13
|
-
import { a as se } from "./ResourcePage.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { a as se } from "./ResourcePage.vue_vue_type_script_setup_true_lang-CzP4BNh7.js";
|
|
14
14
|
import { _ as re } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
15
15
|
import { _ as H } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
16
|
-
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-
|
|
16
|
+
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-BwMaMqSc.js";
|
|
17
17
|
import { _ as J } from "./SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js";
|
|
18
18
|
import { u as ie, _ as ue } from "./useCommand-BkONMn3X.js";
|
|
19
19
|
import { _ as me } from "./Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
20
|
-
import { _ as pe } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { _ as pe } from "./RoleEditor.vue_vue_type_script_setup_true_lang-BjhaIqqG.js";
|
|
21
21
|
const de = { "data-test": "role-replace" }, fe = /* @__PURE__ */ I({
|
|
22
22
|
__name: "ReplaceRoleDialog",
|
|
23
23
|
props: {
|
|
@@ -6,12 +6,12 @@ import { _ as E } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
|
|
|
6
6
|
import { _ as U } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
7
7
|
import { e as j } from "./control-7EP4tjYy.js";
|
|
8
8
|
import { _ as D } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
9
|
-
import { a as I } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { a as I } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
10
10
|
import { u as K } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { _ as T } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
12
12
|
import { _ as q } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
13
13
|
import { u as z } from "./useLoad-CYRVx6HW.js";
|
|
14
|
-
import { u as G, a as H, b as J, c as x } from "./index-
|
|
14
|
+
import { u as G, a as H, b as J, c as x } from "./index-BwMaMqSc.js";
|
|
15
15
|
const M = {
|
|
16
16
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
17
17
|
"data-test": "roles-index"
|
|
@@ -2,7 +2,7 @@ import { defineComponent as $, computed as _, unref as s, openBlock as l, create
|
|
|
2
2
|
import { useI18n as S } from "vue-i18n";
|
|
3
3
|
import { _ as j } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
4
4
|
import { _ as N } from "./Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js";
|
|
5
|
-
import { _ as V } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as V } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
6
6
|
import { a as q } from "./sectionIndex-BS0ic5W7.js";
|
|
7
7
|
const M = {
|
|
8
8
|
class: "dock-safe-area pointer-events-none",
|
|
@@ -6,9 +6,9 @@ import { _ as q } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
|
6
6
|
import { a as le } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
import { u as re } from "./access-DmAceEo5.js";
|
|
8
8
|
import { u as ie, a as ce } from "./sections-D-kD98vu.js";
|
|
9
|
-
import { p as ue } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { p as ue } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
10
10
|
import { p as de } from "./sectionIndex-BS0ic5W7.js";
|
|
11
|
-
import { _ as G, a as me } from "./SectionList.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as G, a as me } from "./SectionList.vue_vue_type_script_setup_true_lang-CaF3LPbQ.js";
|
|
12
12
|
const pe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
"data-test": "section-navigator",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, ope
|
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
3
|
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
4
|
import { u as A } from "./describeError-Ctga6GcS.js";
|
|
5
|
-
import { P as D, b as L, e as O, i as g, d as T } from "./index-
|
|
5
|
+
import { P as D, b as L, e as O, i as g, d as T } from "./index-BykMr7eH.js";
|
|
6
6
|
import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
7
7
|
import { t as b } from "./toast-CqSDTWRX.js";
|
|
8
8
|
import { u as V } from "./platform-q3cjODLx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, openBlock as u, createBlock as b, unref as e, withCtx as p, createElementBlock as g, toDisplayString as y, Fragment as $, renderList as Q, createElementVNode as P, createVNode as d, createTextVNode as U, createCommentVNode as S, computed as V, mergeProps as h, ref as D } from "vue";
|
|
2
2
|
import { useI18n as v } from "vue-i18n";
|
|
3
3
|
import { useRouter as I } from "vue-router";
|
|
4
|
-
import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
5
5
|
import { t as T } from "./toast-CqSDTWRX.js";
|
|
6
6
|
import { u as N } from "./fieldMessages-C3Rpbktw.js";
|
|
7
7
|
import { _ as A } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -15,7 +15,7 @@ import { _ as W } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.
|
|
|
15
15
|
import { _ as E } from "./TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js";
|
|
16
16
|
import { a as k, n as X } from "./useTypedEntry-aTfPBAhw.js";
|
|
17
17
|
import { _ as Y } from "./PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js";
|
|
18
|
-
import { n as q } from "./index-
|
|
18
|
+
import { n as q } from "./index-EkQmsbBQ.js";
|
|
19
19
|
import { u as ee } from "./platform-q3cjODLx.js";
|
|
20
20
|
import { u as te } from "./useLoad-CYRVx6HW.js";
|
|
21
21
|
function ne() {
|
|
@@ -6,7 +6,7 @@ import { u as D } from "./format-B8mJm946.js";
|
|
|
6
6
|
import { _ as p } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
7
7
|
import { e as b } from "./control-7EP4tjYy.js";
|
|
8
8
|
import { u as U } from "./describeError-Ctga6GcS.js";
|
|
9
|
-
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-
|
|
9
|
+
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-BykMr7eH.js";
|
|
10
10
|
import { t as h } from "./toast-CqSDTWRX.js";
|
|
11
11
|
import { u as j, h as G } from "./platform-q3cjODLx.js";
|
|
12
12
|
import { b as H } from "./routeResource-DstM0hvf.js";
|
|
@@ -6,7 +6,7 @@ import { _ as N } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js"
|
|
|
6
6
|
import { _ as S } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js";
|
|
7
7
|
import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
8
8
|
import { r as $ } from "./guards-Dve61KjR.js";
|
|
9
|
-
import { u as C, a as E } from "./index-
|
|
9
|
+
import { u as C, a as E } from "./index-BykMr7eH.js";
|
|
10
10
|
const V = { class: "flex flex-1 flex-col items-center justify-center gap-8" }, k = { class: "text-xl font-semibold text-content-strong" }, H = /* @__PURE__ */ d({
|
|
11
11
|
__name: "SignInPage",
|
|
12
12
|
setup(q) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, ref as m, watch as p, openBlock as c, createElementBlock as v, createVNode as i, unref as e, withCtx as w, createBlock as x, createCommentVNode as y, createElementVNode as V, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
|
-
import { P as S, i as b } from "./index-
|
|
3
|
+
import { P as S, i as b } from "./index-BykMr7eH.js";
|
|
4
4
|
import { u as k } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { b as I } from "./routeResource-DstM0hvf.js";
|
|
6
6
|
import { _ as R } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -3,13 +3,13 @@ import { useI18n as A } from "vue-i18n";
|
|
|
3
3
|
import { u as F } from "./neighbors-DpaIMQAL.js";
|
|
4
4
|
import { _ as H } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
5
5
|
import { u as J } from "./describeError-Ctga6GcS.js";
|
|
6
|
-
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-
|
|
6
|
+
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-BykMr7eH.js";
|
|
7
7
|
import { _ as se } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
8
8
|
import { t as k } from "./toast-CqSDTWRX.js";
|
|
9
|
-
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-BJfEOvEf.js";
|
|
10
10
|
import { u as E } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { a as te } from "./routeResource-DstM0hvf.js";
|
|
12
|
-
import { a as oe } from "./ResourcePage.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { a as oe } from "./ResourcePage.vue_vue_type_script_setup_true_lang-CzP4BNh7.js";
|
|
13
13
|
import { A as re } from "./access-DmAceEo5.js";
|
|
14
14
|
import { _ as ne } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
15
15
|
import { u as ie } from "./useLoad-CYRVx6HW.js";
|
|
@@ -18,7 +18,7 @@ import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a
|
|
|
18
18
|
import { e as B } from "./control-7EP4tjYy.js";
|
|
19
19
|
import { u as z, _ as K } from "./useCommand-BkONMn3X.js";
|
|
20
20
|
import { u as U } from "./fieldMessages-C3Rpbktw.js";
|
|
21
|
-
import { u as ce, s as le } from "./status-
|
|
21
|
+
import { u as ce, s as le } from "./status-DyvlO552.js";
|
|
22
22
|
import { _ as M } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
23
23
|
const ue = /* @__PURE__ */ R({
|
|
24
24
|
__name: "DeactivateDialog",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as U, openBlock as p, createBlock as C, unref as e, withCtx as c, createVNode as r, mergeProps as i, useTemplateRef as V, computed as q, createTextVNode as z, toDisplayString as $, createCommentVNode as A, createElementBlock as S, normalizeClass as N } from "vue";
|
|
2
2
|
import { useI18n as B } from "vue-i18n";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-BZRdVhZo.js";
|
|
5
5
|
import { _ as I } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
6
6
|
import { u as F } from "./format-B8mJm946.js";
|
|
7
7
|
import { u as L } from "./platform-q3cjODLx.js";
|
|
8
8
|
import { _ as G } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
9
|
-
import { i as K, f as E, M as W } from "./index-
|
|
10
|
-
import { U as j, u as H, s as J } from "./status-
|
|
9
|
+
import { i as K, f as E, M as W } from "./index-BykMr7eH.js";
|
|
10
|
+
import { U as j, u as H, s as J } from "./status-DyvlO552.js";
|
|
11
11
|
import { u as O } from "./environment-Dva-SG8D.js";
|
|
12
12
|
import { u as Q } from "./languages-BShG9LpE.js";
|
|
13
13
|
import { _ as X } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
package/dist/access/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-
|
|
1
|
+
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-BwMaMqSc.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BindingRow,
|
|
4
4
|
c as PersonAccess,
|
package/dist/collection/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as M, L as O, a as V, h as j, l as U, r as G } from "../http-CNcDHSOj.js";
|
|
2
|
-
import { _ as Z, a as q, u as H } from "../CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as Z, a as q, u as H } from "../CollectionPage.vue_vue_type_script_setup_true_lang-BZRdVhZo.js";
|
|
3
3
|
import { u as K } from "../neighbors-DpaIMQAL.js";
|
|
4
4
|
import { a as W, b as Y } from "../rowLayout-CZ7uZFnE.js";
|
|
5
5
|
import { _ as te } from "../DataTable.vue_vue_type_script_setup_true_lang-DBtMgcW6.js";
|
package/dist/form/index.js
CHANGED
|
@@ -43,8 +43,8 @@ import { _ as Rt } from "../Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.j
|
|
|
43
43
|
import { _ as We } from "../Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js";
|
|
44
44
|
import { D as Tt } from "../useWaitStatus-fsacMl4W.js";
|
|
45
45
|
import { t as Et } from "../toast-CqSDTWRX.js";
|
|
46
|
-
import { a as It } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
47
|
-
import { _ as Gt, a as Nt } from "../SectionList.vue_vue_type_script_setup_true_lang-
|
|
46
|
+
import { a as It } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
47
|
+
import { _ as Gt, a as Nt } from "../SectionList.vue_vue_type_script_setup_true_lang-CaF3LPbQ.js";
|
|
48
48
|
import { p as Kt } from "../sectionIndex-BS0ic5W7.js";
|
|
49
49
|
import { u as Pt } from "../useSaveChrome-DuWm0Czf.js";
|
|
50
50
|
import { matchedRouteKey as At, onBeforeRouteLeave as Ut } from "vue-router";
|
package/dist/identity/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-
|
|
1
|
+
import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-BykMr7eH.js";
|
|
2
2
|
export {
|
|
3
3
|
t as SignInAsButton,
|
|
4
4
|
n as identityFeature,
|
|
@@ -43,12 +43,12 @@ const C = {
|
|
|
43
43
|
viewAccess: "iam.user:view",
|
|
44
44
|
manageBindings: "iam.user:manage"
|
|
45
45
|
}, re = Ee({
|
|
46
|
-
roles: { name: "access.roles", path: "/iam/roles", component: () => import("./RolesPage-
|
|
47
|
-
newRole: { name: "access.roles.new", path: "/iam/roles/new", component: () => import("./NewRolePage-
|
|
46
|
+
roles: { name: "access.roles", path: "/iam/roles", component: () => import("./RolesPage-DIL35QcF.js"), meta: { access: F.viewRoles, titleKey: "core.access.title" } },
|
|
47
|
+
newRole: { name: "access.roles.new", path: "/iam/roles/new", component: () => import("./NewRolePage-CziDdoeG.js"), meta: { access: F.manageRoles, titleKey: "core.access.new_title" } },
|
|
48
48
|
role: {
|
|
49
49
|
name: "access.role",
|
|
50
50
|
path: "/iam/roles/:ref",
|
|
51
|
-
component: () => import("./RolePage-
|
|
51
|
+
component: () => import("./RolePage-Cecu3BKn.js"),
|
|
52
52
|
// A role's ref (its key, or the id of a custom one) swaps in place when a link leads to another role.
|
|
53
53
|
meta: { access: F.viewRoles, titleKey: "core.access.title", remountOnParam: "ref" }
|
|
54
54
|
}
|
|
@@ -315,7 +315,7 @@ function Cs(e) {
|
|
|
315
315
|
const Ye = async (e) => {
|
|
316
316
|
await B(e.http);
|
|
317
317
|
}, Je = z({
|
|
318
|
-
login: { name: "login", path: "/login", component: () => import("./SignInPage-
|
|
318
|
+
login: { name: "login", path: "/login", component: () => import("./SignInPage-D9wR46KD.js"), meta: { public: !0, titleKey: "core.identity.signin.title" } }
|
|
319
319
|
});
|
|
320
320
|
function Os(e = {}) {
|
|
321
321
|
return H({
|
|
@@ -334,7 +334,7 @@ function Os(e = {}) {
|
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
const Z = z({
|
|
337
|
-
index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-
|
|
337
|
+
index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-x063Zij2.js"), meta: { titleKey: "core.profile.title" } }
|
|
338
338
|
}), Qe = /* @__PURE__ */ E({
|
|
339
339
|
__name: "ProfileMenuItem",
|
|
340
340
|
setup(e) {
|
|
@@ -358,19 +358,19 @@ function es(e) {
|
|
|
358
358
|
return { name: `users.record.${e.path}`, path: e.path, component: s, meta: { ...e.meta } };
|
|
359
359
|
}
|
|
360
360
|
const W = "iam.user:view", qs = "iam.user:manage", ss = "iam.user.activity:view", ee = z({
|
|
361
|
-
index: { name: "users.index", path: "/users", component: () => import("./UsersList-
|
|
361
|
+
index: { name: "users.index", path: "/users", component: () => import("./UsersList-Df6HeAAO.js"), meta: { access: W, titleKey: "core.users.title" } },
|
|
362
362
|
record: {
|
|
363
363
|
name: "users.record",
|
|
364
364
|
path: "/users/:id",
|
|
365
|
-
component: () => import("./UserRecord-
|
|
365
|
+
component: () => import("./UserRecord-BOCP5XC6.js"),
|
|
366
366
|
meta: { access: W, titleKey: "core.users.title", remountOnParam: "id" },
|
|
367
367
|
children: [
|
|
368
|
-
{ name: "users.record.general", path: "general", component: () => import("./General-
|
|
369
|
-
{ name: "users.record.signin", path: "signin", component: () => import("./SignIn-
|
|
370
|
-
{ name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-
|
|
371
|
-
{ name: "users.record.signins", path: "signins", component: () => import("./SignIns-
|
|
372
|
-
{ name: "users.record.changes", path: "changes", component: () => import("./Changes-
|
|
373
|
-
{ name: "users.record.activity", path: "activity", component: () => import("./Activity-
|
|
368
|
+
{ name: "users.record.general", path: "general", component: () => import("./General-CK-9LrQ2.js"), meta: { section: { labelKey: "core.users.sections.general", icon: "user3Line", groupKey: "core.users.section_groups.person" } } },
|
|
369
|
+
{ name: "users.record.signin", path: "signin", component: () => import("./SignIn-DRls5eYK.js"), meta: { section: { labelKey: "core.users.sections.signin", icon: "key2Line", groupKey: "core.users.section_groups.access" } } },
|
|
370
|
+
{ name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-DhHIVk7e.js"), meta: { section: { labelKey: "core.users.sections.sessions", icon: "deviceLine", groupKey: "core.users.section_groups.access" } } },
|
|
371
|
+
{ name: "users.record.signins", path: "signins", component: () => import("./SignIns-BMBFeBrK.js"), meta: { section: { labelKey: "core.users.sections.signins", icon: "timeFill", groupKey: "core.users.section_groups.activity" } } },
|
|
372
|
+
{ name: "users.record.changes", path: "changes", component: () => import("./Changes-DS81sZj9.js"), meta: { section: { labelKey: "core.users.sections.changes", icon: "edit", groupKey: "core.users.section_groups.activity" } } },
|
|
373
|
+
{ name: "users.record.activity", path: "activity", component: () => import("./Activity-BH0jQxZs.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
|
|
374
374
|
]
|
|
375
375
|
}
|
|
376
376
|
});
|
|
@@ -31,9 +31,9 @@ const M = {
|
|
|
31
31
|
deadLettersRetryAll: y("POST", "/v1/events/dead-letters/retry", { permission: "events.deadletter:retry" }),
|
|
32
32
|
consumers: y("GET", "/v1/events/consumers", { permission: "events.deadletter:view" })
|
|
33
33
|
}, [ke, ee] = fe("vue-core.notifications"), we = "events.deadletter:view", bt = "events.deadletter:retry", J = Z({
|
|
34
|
-
index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-
|
|
34
|
+
index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-BqKtaowL.js"), meta: { access: we, titleKey: "core.notifications.dead_letters.title" } }
|
|
35
35
|
}), j = Z({
|
|
36
|
-
index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-
|
|
36
|
+
index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-BuGtZcae.js"), meta: { titleKey: "core.notifications.settings.title" } }
|
|
37
37
|
}), Te = /* @__PURE__ */ z({
|
|
38
38
|
__name: "SettingsMenuItem",
|
|
39
39
|
setup(o) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The version of @wssto2/vue-core (kept equal to package.json by index.test.ts). */
|
|
2
|
-
export declare const version = "0.4.
|
|
2
|
+
export declare const version = "0.4.4";
|
package/dist/index.js
CHANGED
package/dist/page/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as x } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { a as W, b as X, c as Y, d as Z, p as ee, u as te, e as ae } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as x } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
2
|
+
import { a as W, b as X, c as Y, d as Z, p as ee, u as te, e as ae } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-DxD6JvyK.js";
|
|
3
3
|
import { _ as se } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
|
|
4
4
|
import { b as ne, i as re, u as ie } from "../bottomDock-BZEiOPYZ.js";
|
|
5
5
|
import { defineComponent as v, openBlock as a, createBlock as b, withCtx as c, createElementVNode as s, normalizeStyle as k, createElementBlock as l, Fragment as y, renderList as B, normalizeClass as d, unref as h, createCommentVNode as p, toDisplayString as f, useModel as S, useId as C, useTemplateRef as P, computed as $, mergeProps as w, createSlots as T, renderSlot as m, mergeModels as D } from "vue";
|
|
6
6
|
import { _ as L } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
7
|
-
import { _ as ue } from "../RecordHeader.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ue } from "../RecordHeader.vue_vue_type_script_setup_true_lang-Bua3wbN6.js";
|
|
8
8
|
import { c as pe, i as fe, p as me, a as be, u as ge, b as ve } from "../chrome-nUcmVu8G.js";
|
|
9
9
|
import { s as z, u as I } from "../sectionIndex-BS0ic5W7.js";
|
|
10
10
|
import { p as _e, a as xe } from "../sectionIndex-BS0ic5W7.js";
|
|
11
|
-
import { _ as ye } from "../SectionNavigator.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { a as Se, _ as Ce } from "../SectionList.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as ye } from "../SectionNavigator.vue_vue_type_script_setup_true_lang-BJfEOvEf.js";
|
|
12
|
+
import { a as Se, _ as Ce } from "../SectionList.vue_vue_type_script_setup_true_lang-CaF3LPbQ.js";
|
|
13
13
|
import { _ as A } from "../Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
14
14
|
const K = ["aria-label"], M = ["aria-label"], N = ["aria-selected", "tabindex", "onClick"], R = { class: "relative" }, E = {
|
|
15
15
|
key: 2,
|
package/dist/resource/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as o, u as r, a, b as u } from "../routeResource-DstM0hvf.js";
|
|
2
|
-
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-CzP4BNh7.js";
|
|
3
3
|
export {
|
|
4
4
|
R as RecordPager,
|
|
5
5
|
c as ResourcePage,
|