@wssto2/vue-core 0.4.15 → 0.4.16
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/{ActionRow.vue_vue_type_script_setup_true_lang-CkvS5W6K.js → ActionRow.vue_vue_type_script_setup_true_lang-DOjn7fqy.js} +1 -1
- package/dist/{Activity-4q26REYj.js → Activity-CVO3sJwy.js} +4 -4
- package/dist/{Changes-CKIuGF8O.js → Changes-Bzvl3cEx.js} +3 -3
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-B17cUOzj.js → CollectionPage.vue_vue_type_script_setup_true_lang-CD5zZ29o.js} +2 -2
- package/dist/DateField.vue_vue_type_script_setup_true_lang-BufoFwVQ.js +278 -0
- package/dist/{DeadLetters-DPGcQOz1.js → DeadLetters-DmwUtgf9.js} +2 -2
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-noYI9QMk.js → FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-BcIbTMHN.js → FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js} +1 -1
- package/dist/{General-CUA9b3ML.js → General-CUEjJBD4.js} +6 -6
- package/dist/{NewRolePage-DBfCvDWA.js → NewRolePage-Cyn-oV6r.js} +2 -2
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-a8kN3A7k.js +150 -0
- package/dist/{ProfilePage-On-eAiJ-.js → ProfilePage-I74SQBFO.js} +4 -4
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-fvAf3rQm.js → RoleEditor.vue_vue_type_script_setup_true_lang-Ce6wjptT.js} +7 -7
- package/dist/{RolePage-B8oul55j.js → RolePage-DWQP3qQl.js} +5 -5
- package/dist/{RolesPage-DsXVivdj.js → RolesPage-BeEsHIQ2.js} +4 -4
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BMBkEmxr.js +81 -0
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-DedKLLQK.js → SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js} +161 -139
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-CirlMdHb.js → SessionList.vue_vue_type_script_setup_true_lang-DoUo68xE.js} +2 -2
- package/dist/{Sessions-BTyXDEuY.js → Sessions-D8IXcb5M.js} +2 -2
- package/dist/{SettingsPage-DHTmMgif.js → SettingsPage-DRQP2nrH.js} +6 -6
- package/dist/{SignIn-DU4DE2wj.js → SignIn-CAZkovhb.js} +4 -4
- package/dist/{SignInPage-BA22kyOp.js → SignInPage-D-49oLY3.js} +3 -3
- package/dist/{SignIns-C8QAZBaL.js → SignIns-BtNfgMLc.js} +1 -1
- package/dist/SwitchField.vue_vue_type_script_setup_true_lang-0weBvsJf.js +87 -0
- package/dist/TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js +292 -0
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-4wC3c0BM.js +91 -0
- package/dist/TimeField.vue_vue_type_script_setup_true_lang-pAdLPYXA.js +187 -0
- package/dist/{UserRecord-D1BNmYp9.js → UserRecord-BSbNuRFi.js} +5 -5
- package/dist/{UsersList-ltx3G23-.js → UsersList-DPHxcaDm.js} +6 -6
- package/dist/access/index.js +1 -1
- package/dist/app/application.d.ts +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/{control-CX9BG2UB.js → control-B_Nwtmag.js} +96 -82
- package/dist/form/CardSelectField.vue.d.ts +2 -2
- package/dist/form/ChoiceChips.vue.d.ts +2 -2
- package/dist/form/ComboField.vue.d.ts +2 -2
- package/dist/form/DateField.vue.d.ts +9 -2
- package/dist/form/DateTimeField.vue.d.ts +9 -2
- package/dist/form/Field.vue.d.ts +1 -1
- package/dist/form/FileField.vue.d.ts +9 -2
- package/dist/form/I18nField.vue.d.ts +9 -2
- package/dist/form/MoneyField.vue.d.ts +9 -2
- package/dist/form/MonthYearField.vue.d.ts +9 -2
- package/dist/form/MultiSelectField.vue.d.ts +2 -2
- package/dist/form/NumberField.vue.d.ts +20 -2
- package/dist/form/PhotoField.vue.d.ts +9 -2
- package/dist/form/SegmentedField.vue.d.ts +2 -2
- package/dist/form/SelectField.vue.d.ts +2 -2
- package/dist/form/SwitchField.vue.d.ts +2 -2
- package/dist/form/TextField.vue.d.ts +9 -2
- package/dist/form/TextareaField.vue.d.ts +9 -2
- package/dist/form/TimeField.vue.d.ts +9 -2
- package/dist/form/field.d.ts +9 -0
- package/dist/form/index.d.ts +1 -1
- package/dist/form/index.js +1079 -881
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/index.js +31 -28
- package/dist/identity/index.js +1 -1
- package/dist/{index-DwdVrW6q.js → index-Bq96L43f.js} +12 -12
- package/dist/{index-BCw_Ki6z.js → index-CWeNiBX6.js} +2 -2
- package/dist/{index-Chh4z9xW.js → index-yKIOaisE.js} +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/phone/index.js +1 -1
- package/dist/{status-cWCAMAmW.js → status-DzmySsWw.js} +1 -1
- package/package.json +1 -1
- package/dist/DateField.vue_vue_type_script_setup_true_lang-DehwWm78.js +0 -256
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-Dm6FfJ2T.js +0 -126
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-B2d55hrh.js +0 -59
- package/dist/SwitchField.vue_vue_type_script_setup_true_lang-B2Z2hy_h.js +0 -65
- package/dist/TextField.vue_vue_type_script_setup_true_lang-nqnGG7Zc.js +0 -270
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-BgIQyYtf.js +0 -69
- package/dist/TimeField.vue_vue_type_script_setup_true_lang-Dr0h-V_8.js +0 -165
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as s, createBlock as d, unref as n, withCtx as f, createElementVNode as t, normalizeClass as m, toDisplayString as l, createElementBlock as u, createCommentVNode as p, createVNode as b } from "vue";
|
|
2
|
-
import { e as _ } from "./control-
|
|
2
|
+
import { e as _ } from "./control-B_Nwtmag.js";
|
|
3
3
|
import { _ as x } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
4
4
|
const k = ["disabled"], y = { class: "flex min-w-0 flex-1 flex-col" }, h = {
|
|
5
5
|
key: 0,
|
|
@@ -3,10 +3,10 @@ import { useI18n as q } from "vue-i18n";
|
|
|
3
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
|
-
import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { e as z } from "./control-
|
|
9
|
-
import { P as G, c as H, i as J } from "./index-
|
|
6
|
+
import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-BufoFwVQ.js";
|
|
7
|
+
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
|
|
8
|
+
import { e as z } from "./control-B_Nwtmag.js";
|
|
9
|
+
import { P as G, c as H, i as J } from "./index-Bq96L43f.js";
|
|
10
10
|
import { u as K } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { b as M } from "./routeResource-DlTsGTg_.js";
|
|
12
12
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -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-Bq96L43f.js";
|
|
4
4
|
import { u as S } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { b as B } from "./routeResource-DlTsGTg_.js";
|
|
6
6
|
import { _ as F } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -8,8 +8,8 @@ import { u as L } from "./useLoad-M7V-AVwR.js";
|
|
|
8
8
|
import { _ as P } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
9
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
|
-
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { e as U } from "./control-
|
|
11
|
+
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
|
|
12
|
+
import { e as U } from "./control-B_Nwtmag.js";
|
|
13
13
|
import { _ as q } from "./PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js";
|
|
14
14
|
import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
15
15
|
import { _ as A } from "./ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js";
|
|
@@ -14,8 +14,8 @@ import { u as bt, _ as gt } from "./rowLayout-D1cYQghV.js";
|
|
|
14
14
|
import { _ as Ye } from "./Menu.vue_vue_type_script_setup_true_lang-uPmxWvds.js";
|
|
15
15
|
import { _ as Ze } from "./Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
|
|
16
16
|
import { _ as we } from "./ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js";
|
|
17
|
-
import { _ as ht } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { _ as yt } from "./SelectField.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as ht } from "./NumberField.vue_vue_type_script_setup_true_lang-a8kN3A7k.js";
|
|
18
|
+
import { _ as yt } from "./SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js";
|
|
19
19
|
import { a as _t } from "./mediaQuery-CygcXmFW.js";
|
|
20
20
|
import { _ as xt } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
|
|
21
21
|
import { t as ke } from "./toast-CqSDTWRX.js";
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { computed as f, defineComponent as Z, useModel as ee, useTemplateRef as N, openBlock as k, createBlock as I, mergeProps as V, unref as s, createSlots as te, withCtx as v, createElementBlock as T, Fragment as Q, createVNode as $, createTextVNode as re, toDisplayString as Y, createCommentVNode as B, createElementVNode as C, normalizeClass as oe, renderSlot as E, mergeModels as ae, mergeDefaults as ne, nextTick as H } from "vue";
|
|
2
|
+
import { useI18n as j } from "vue-i18n";
|
|
3
|
+
import { _ as le } from "./DateButton.vue_vue_type_script_setup_true_lang-EcqrfWKz.js";
|
|
4
|
+
import { u as K } from "./format-B8mJm946.js";
|
|
5
|
+
import { _ as se } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
6
|
+
import { u as ie } from "./mediaQuery-CygcXmFW.js";
|
|
7
|
+
import { _ as de } from "./Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
|
|
8
|
+
import { c as ue, _ as ce, f as me, b as fe } from "./control-B_Nwtmag.js";
|
|
9
|
+
import { e as O, f as M, m as G, g as J, h as pe, j as be, u as ve, k as ye, _ as ke, l as ge, c as he } from "./useTypedEntry-aTfPBAhw.js";
|
|
10
|
+
const xe = ["d", "m", "y"];
|
|
11
|
+
function _e(o) {
|
|
12
|
+
const r = o("2033-11-22"), e = { y: r.indexOf("2033") >= 0 ? r.indexOf("2033") : r.indexOf("33"), m: r.indexOf("11"), d: r.indexOf("22") };
|
|
13
|
+
return e.y < 0 || e.m < 0 || e.d < 0 ? xe : ["d", "m", "y"].sort((t, a) => e[t] - e[a]);
|
|
14
|
+
}
|
|
15
|
+
const we = (o) => o.trim().toLowerCase().replace(/\.+$/, "");
|
|
16
|
+
function $e(o, r) {
|
|
17
|
+
if (o.length === 4) return Number(o);
|
|
18
|
+
if (o.length > 2) return null;
|
|
19
|
+
const e = 2e3 + Number(o);
|
|
20
|
+
return e > Number(r.slice(0, 4)) + 30 ? e - 100 : e;
|
|
21
|
+
}
|
|
22
|
+
function g(o, r) {
|
|
23
|
+
const e = o.y === void 0 ? Number(r.slice(0, 4)) : $e(o.y, r), t = o.m === void 0 ? Number(r.slice(5, 7)) : Number(o.m);
|
|
24
|
+
return e === null || o.d === void 0 ? null : G(e, t, Number(o.d));
|
|
25
|
+
}
|
|
26
|
+
function De(o, r) {
|
|
27
|
+
const e = r.today ?? O(), t = we(o);
|
|
28
|
+
if (t === "") return null;
|
|
29
|
+
const { words: a } = r;
|
|
30
|
+
if (a.today.includes(t)) return e;
|
|
31
|
+
if (a.tomorrow.includes(t)) return M(e, 1);
|
|
32
|
+
if (a.yesterday.includes(t)) return M(e, -1);
|
|
33
|
+
const u = /^([+-])\s*(\d{1,4})$/.exec(t);
|
|
34
|
+
if (u) return M(e, Number(u[2]) * (u[1] === "-" ? -1 : 1));
|
|
35
|
+
const d = /^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(t);
|
|
36
|
+
if (d) return G(Number(d[1]), Number(d[2]), Number(d[3]));
|
|
37
|
+
if (!/^[\d\s./-]+$/.test(t)) return null;
|
|
38
|
+
const n = r.order, p = n.filter((y) => y !== "y");
|
|
39
|
+
if (/^\d+$/.test(t)) {
|
|
40
|
+
if (t.length <= 2) return g({ d: t }, e);
|
|
41
|
+
if (t.length === 4) return g(S(p, [t.slice(0, 2), t.slice(2)]), e);
|
|
42
|
+
if (t.length === 6 || t.length === 8) {
|
|
43
|
+
const y = n.map((c) => c === "y" ? t.length - 4 : 2);
|
|
44
|
+
let h = 0;
|
|
45
|
+
const b = n.map((c, x) => [c, t.slice(h, h += y[x])]);
|
|
46
|
+
return g(Object.fromEntries(b), e);
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
const m = t.split(/[^\d]+/).filter(Boolean);
|
|
51
|
+
return m.length === 3 ? g(S(n, m), e) : m.length === 2 ? g(S(p, m), e) : m.length === 1 ? g({ d: m[0] }, e) : null;
|
|
52
|
+
}
|
|
53
|
+
function S(o, r) {
|
|
54
|
+
return Object.fromEntries(o.map((e, t) => [e, r[t]]));
|
|
55
|
+
}
|
|
56
|
+
function Ae(o) {
|
|
57
|
+
const r = o.trim().replace(/^(\d{4}-\d{2}-\d{2})T/, "$1 ").split(/\s+/).filter(Boolean), e = r[r.length - 1];
|
|
58
|
+
if (e === void 0) return { date: null, time: null };
|
|
59
|
+
if (!(e.includes(":") || r.length > 1 && /^\d{1,2}\.\d{2}$/.test(e))) return { date: r.join(" "), time: null };
|
|
60
|
+
const a = r.slice(0, -1).join(" ");
|
|
61
|
+
return { date: a === "" ? null : a, time: e };
|
|
62
|
+
}
|
|
63
|
+
function Ne(o, r, e) {
|
|
64
|
+
const t = o(e), a = /\D+/.exec(t)?.[0].trim() ?? ".", u = /\D+$/.test(t) ? a : "", d = { d: String(Number(e.slice(8))), m: String(Number(e.slice(5, 7))), y: "" };
|
|
65
|
+
return r.filter((n) => n !== "y").map((n) => d[n]).join(a) + u;
|
|
66
|
+
}
|
|
67
|
+
function Te(o) {
|
|
68
|
+
const { t: r } = j(), e = K(), t = (n) => e.date(n), a = f(() => _e(t)), u = f(() => ({
|
|
69
|
+
today: [r("core.form.date.words.today").toLowerCase(), "today"],
|
|
70
|
+
tomorrow: [r("core.form.date.words.tomorrow").toLowerCase(), "tomorrow"],
|
|
71
|
+
yesterday: [r("core.form.date.words.yesterday").toLowerCase(), "yesterday"]
|
|
72
|
+
}));
|
|
73
|
+
return {
|
|
74
|
+
placeholder: f(() => r("core.form.date.placeholder", { example: Ne(t, a.value, O()) })),
|
|
75
|
+
/** The day a text means, or null. */
|
|
76
|
+
parse: (n) => De(n, { order: a.value, words: u.value }),
|
|
77
|
+
available: (n) => !J(n, o()),
|
|
78
|
+
invalidMessage: () => r("core.form.date.invalid", { example: t(O()) }),
|
|
79
|
+
unavailableMessage: () => r("core.form.date.unavailable")
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function Ce(o, r, e) {
|
|
83
|
+
const { t } = j();
|
|
84
|
+
return f(() => {
|
|
85
|
+
const a = O();
|
|
86
|
+
return (o() ?? pe(r())).map((u) => {
|
|
87
|
+
const d = be(u, (n) => t(`core.form.date.${n.replace(/-/g, "_")}`), a);
|
|
88
|
+
return { ...d, disabled: J(d.value, e()) };
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
const Oe = ["id", "name", "value", "placeholder", "disabled", "required", "aria-required", "aria-invalid", "aria-describedby"], qe = ["aria-label", "onClick"], Pe = { class: "flex flex-col gap-2.5" }, Ve = {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: "border-t border-border-separator pt-2.5"
|
|
95
|
+
}, Be = { class: "text-footnote text-content-muted" }, Ie = /* @__PURE__ */ Z({
|
|
96
|
+
__name: "DateField",
|
|
97
|
+
props: /* @__PURE__ */ ae(/* @__PURE__ */ ne({
|
|
98
|
+
label: {},
|
|
99
|
+
labelHidden: { type: Boolean },
|
|
100
|
+
hint: {},
|
|
101
|
+
error: {},
|
|
102
|
+
required: { type: Boolean },
|
|
103
|
+
editable: { type: Boolean },
|
|
104
|
+
disabled: { type: Boolean },
|
|
105
|
+
lockedReason: {},
|
|
106
|
+
presentation: {},
|
|
107
|
+
name: {},
|
|
108
|
+
min: {},
|
|
109
|
+
max: {},
|
|
110
|
+
disabledDates: { type: [Array, Function] },
|
|
111
|
+
openOn: {},
|
|
112
|
+
quickPicks: {}
|
|
113
|
+
}, { ...fe, min: void 0, max: void 0, disabledDates: void 0, openOn: void 0, quickPicks: void 0 }), {
|
|
114
|
+
modelValue: { default: null },
|
|
115
|
+
modelModifiers: {}
|
|
116
|
+
}),
|
|
117
|
+
emits: ["update:modelValue"],
|
|
118
|
+
setup(o, { expose: r }) {
|
|
119
|
+
const e = o, t = ee(o, "modelValue"), { t: a } = j(), u = K(), d = ie(), n = N("input"), p = N("popover"), m = N("calendar"), y = N("sheet"), h = f(() => ({ min: e.min, max: e.max, disabled: e.disabledDates })), b = Te(() => h.value), c = ve({
|
|
120
|
+
model: t,
|
|
121
|
+
display: (l) => u.date(l),
|
|
122
|
+
parse: (l) => {
|
|
123
|
+
const i = b.parse(l);
|
|
124
|
+
return i ? b.available(i) ? { value: i } : { error: b.unavailableMessage() } : { error: b.invalidMessage() };
|
|
125
|
+
}
|
|
126
|
+
}), x = Ce(() => e.quickPicks, () => d.value, () => h.value), L = f(() => e.error || c.message.value), q = f(() => t.value ? u.date(t.value) : null), W = ue("date", () => L.value ? "error" : e.disabled ? "locked" : "rest"), z = f(() => c.typed.value ?? (ye(t.value) ? t.value : null));
|
|
127
|
+
async function P(l) {
|
|
128
|
+
e.disabled || (p.value?.present(), l && (await H(), await H(), m.value?.focus()));
|
|
129
|
+
}
|
|
130
|
+
function X(l) {
|
|
131
|
+
l.key === "Enter" ? (c.commit(), p.value?.dismiss()) : l.key === "ArrowDown" && (l.preventDefault(), P(!0));
|
|
132
|
+
}
|
|
133
|
+
function F(l, i) {
|
|
134
|
+
c.set(l), i();
|
|
135
|
+
}
|
|
136
|
+
return r({ focus: () => n.value?.focus() }), (l, i) => (k(), I(ce, V({ ...s(me)(e), error: L.value }, {
|
|
137
|
+
value: q.value,
|
|
138
|
+
"value-style": "numeric"
|
|
139
|
+
}), te({
|
|
140
|
+
default: v(({ id: U, describedby: R, invalid: A }) => [
|
|
141
|
+
s(d) ? (k(), T(Q, { key: 0 }, [
|
|
142
|
+
$(le, V({ id: U, "aria-describedby": R }, {
|
|
143
|
+
disabled: e.disabled,
|
|
144
|
+
invalid: A,
|
|
145
|
+
placeholder: s(a)("core.form.select.choose"),
|
|
146
|
+
onClick: i[0] || (i[0] = (_) => y.value?.present())
|
|
147
|
+
}), {
|
|
148
|
+
default: v(() => [
|
|
149
|
+
q.value ? (k(), T(Q, { key: 0 }, [
|
|
150
|
+
re(Y(q.value), 1)
|
|
151
|
+
], 64)) : B("", !0)
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}, 16, ["disabled", "invalid", "placeholder"]),
|
|
155
|
+
$(ke, {
|
|
156
|
+
ref_key: "sheet",
|
|
157
|
+
ref: y,
|
|
158
|
+
title: e.label ?? s(a)("core.form.date.calendar"),
|
|
159
|
+
mode: "date",
|
|
160
|
+
"model-value": t.value,
|
|
161
|
+
min: e.min,
|
|
162
|
+
max: e.max,
|
|
163
|
+
"disabled-dates": e.disabledDates,
|
|
164
|
+
"open-on": e.openOn,
|
|
165
|
+
shortcuts: s(x),
|
|
166
|
+
clearable: !e.required,
|
|
167
|
+
"onUpdate:modelValue": s(c).set
|
|
168
|
+
}, null, 8, ["title", "model-value", "min", "max", "disabled-dates", "open-on", "shortcuts", "clearable", "onUpdate:modelValue"])
|
|
169
|
+
], 64)) : (k(), I(de, {
|
|
170
|
+
key: 1,
|
|
171
|
+
ref_key: "popover",
|
|
172
|
+
ref: p,
|
|
173
|
+
label: e.label ?? s(a)("core.form.date.calendar"),
|
|
174
|
+
width: "lg",
|
|
175
|
+
placement: "bottom-start",
|
|
176
|
+
arrow: !1,
|
|
177
|
+
autofocus: !1
|
|
178
|
+
}, {
|
|
179
|
+
trigger: v(({ attrs: _, presented: w }) => [
|
|
180
|
+
C("div", {
|
|
181
|
+
class: oe(["inline-flex max-w-full items-center gap-2", s(W)])
|
|
182
|
+
}, [
|
|
183
|
+
C("input", V({
|
|
184
|
+
id: U,
|
|
185
|
+
ref_key: "input",
|
|
186
|
+
ref: n
|
|
187
|
+
}, _, {
|
|
188
|
+
type: "text",
|
|
189
|
+
role: "combobox",
|
|
190
|
+
autocomplete: "off",
|
|
191
|
+
size: "16",
|
|
192
|
+
name: e.name,
|
|
193
|
+
value: s(c).text.value,
|
|
194
|
+
placeholder: s(b).placeholder.value,
|
|
195
|
+
disabled: e.disabled,
|
|
196
|
+
required: e.required,
|
|
197
|
+
"aria-required": e.required || void 0,
|
|
198
|
+
"aria-invalid": A || void 0,
|
|
199
|
+
"aria-describedby": R,
|
|
200
|
+
class: "block min-h-7 min-w-0 border-0 bg-transparent py-1 pl-2.5 text-body tabular-nums text-content-strong placeholder:text-content-disabled focus:outline-none focus:ring-0 disabled:cursor-not-allowed",
|
|
201
|
+
onInput: i[1] || (i[1] = (D) => s(c).input(D.target.value)),
|
|
202
|
+
onBlur: i[2] || (i[2] = (D) => s(c).commit()),
|
|
203
|
+
onKeydown: X,
|
|
204
|
+
onClick: i[3] || (i[3] = (D) => P(!1))
|
|
205
|
+
}), null, 16, Oe),
|
|
206
|
+
e.disabled ? B("", !0) : (k(), T("button", {
|
|
207
|
+
key: 0,
|
|
208
|
+
type: "button",
|
|
209
|
+
tabindex: "-1",
|
|
210
|
+
"aria-label": s(a)("core.form.date.open"),
|
|
211
|
+
class: "mr-2 flex shrink-0 cursor-pointer items-center text-content-link",
|
|
212
|
+
onClick: (D) => w ? p.value?.dismiss() : P(!0)
|
|
213
|
+
}, [
|
|
214
|
+
$(s(se), {
|
|
215
|
+
name: "calendarLine",
|
|
216
|
+
size: 18
|
|
217
|
+
})
|
|
218
|
+
], 8, qe))
|
|
219
|
+
], 2)
|
|
220
|
+
]),
|
|
221
|
+
default: v(({ dismiss: _ }) => [
|
|
222
|
+
C("div", Pe, [
|
|
223
|
+
$(ge, {
|
|
224
|
+
ref_key: "calendar",
|
|
225
|
+
ref: m,
|
|
226
|
+
"model-value": z.value,
|
|
227
|
+
min: e.min,
|
|
228
|
+
max: e.max,
|
|
229
|
+
"disabled-dates": e.disabledDates,
|
|
230
|
+
"open-on": e.openOn,
|
|
231
|
+
"month-picker": "",
|
|
232
|
+
"onUpdate:modelValue": (w) => F(w, _)
|
|
233
|
+
}, null, 8, ["model-value", "min", "max", "disabled-dates", "open-on", "onUpdate:modelValue"]),
|
|
234
|
+
s(x).length > 0 ? (k(), T("div", Ve, [
|
|
235
|
+
$(he, {
|
|
236
|
+
items: s(x),
|
|
237
|
+
selected: z.value,
|
|
238
|
+
onPick: (w) => F(w, _)
|
|
239
|
+
}, null, 8, ["items", "selected", "onPick"])
|
|
240
|
+
])) : B("", !0),
|
|
241
|
+
C("p", Be, Y(s(a)("core.form.date.keys")), 1)
|
|
242
|
+
])
|
|
243
|
+
]),
|
|
244
|
+
_: 2
|
|
245
|
+
}, 1032, ["label"]))
|
|
246
|
+
]),
|
|
247
|
+
_: 2
|
|
248
|
+
}, [
|
|
249
|
+
l.$slots.trailing ? {
|
|
250
|
+
name: "trailing",
|
|
251
|
+
fn: v(() => [
|
|
252
|
+
E(l.$slots, "trailing")
|
|
253
|
+
]),
|
|
254
|
+
key: "0"
|
|
255
|
+
} : void 0,
|
|
256
|
+
l.$slots.labelTrailing ? {
|
|
257
|
+
name: "labelTrailing",
|
|
258
|
+
fn: v(() => [
|
|
259
|
+
E(l.$slots, "labelTrailing")
|
|
260
|
+
]),
|
|
261
|
+
key: "1"
|
|
262
|
+
} : void 0,
|
|
263
|
+
l.$slots.readonly ? {
|
|
264
|
+
name: "readonly",
|
|
265
|
+
fn: v(() => [
|
|
266
|
+
E(l.$slots, "readonly")
|
|
267
|
+
]),
|
|
268
|
+
key: "2"
|
|
269
|
+
} : void 0
|
|
270
|
+
]), 1040, ["value"]));
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
export {
|
|
274
|
+
Ie as _,
|
|
275
|
+
Ce as a,
|
|
276
|
+
Ae as s,
|
|
277
|
+
Te as u
|
|
278
|
+
};
|
|
@@ -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-CD5zZ29o.js";
|
|
5
5
|
import { u as P } from "./describeError-B-NMa--w.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-CWeNiBX6.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-M7V-AVwR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as B, openBlock as d, createBlock as L, withCtx as N, createTextVNode as v, toDisplayString as m, unref as h, createCommentVNode as i, inject as C, provide as y, ref as R, useSlots as O, computed as n, shallowReactive as E, useTemplateRef as V, useId as A, createElementBlock as p, normalizeStyle as M, normalizeClass as G, createElementVNode as S, renderSlot as f } from "vue";
|
|
2
2
|
import { s as T, u as W } from "./sectionIndex-BS0ic5W7.js";
|
|
3
|
-
import { d as $, g as j } from "./control-
|
|
3
|
+
import { d as $, g as j } from "./control-B_Nwtmag.js";
|
|
4
4
|
import { useI18n as D } from "vue-i18n";
|
|
5
5
|
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
6
6
|
const H = /* @__PURE__ */ B({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, provide as f, computed as s, useTemplateRef as u, openBlock as t, createElementBlock as p, withModifiers as c, createBlock as d, createCommentVNode as b, renderSlot as _ } from "vue";
|
|
2
|
-
import { d as v } from "./control-
|
|
2
|
+
import { d as v } from "./control-B_Nwtmag.js";
|
|
3
3
|
import { _ as k } from "./FormErrors.vue_vue_type_script_setup_true_lang-DWcVKZM3.js";
|
|
4
4
|
const x = /* @__PURE__ */ n({
|
|
5
5
|
__name: "FormView",
|
|
@@ -3,17 +3,17 @@ import { useI18n as V } from "vue-i18n";
|
|
|
3
3
|
import { RouterLink as B } from "vue-router";
|
|
4
4
|
import { u as E } from "./format-B8mJm946.js";
|
|
5
5
|
import { u as T } from "./useResourceForm-CP2lCwmD.js";
|
|
6
|
-
import { _ as h } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as h } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
|
|
7
|
+
import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js";
|
|
8
|
+
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js";
|
|
9
|
+
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js";
|
|
10
10
|
import { u as A } from "./useSaveChrome-7huA3FzR.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-Bq96L43f.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-DlTsGTg_.js";
|
|
15
15
|
import { u as j } from "./fieldMessages-DV6sESpn.js";
|
|
16
|
-
import { _ as $ } from "./ActionRow.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as $ } from "./ActionRow.vue_vue_type_script_setup_true_lang-DOjn7fqy.js";
|
|
17
17
|
import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
18
18
|
import { u as H } from "./languages-BShG9LpE.js";
|
|
19
19
|
const J = {
|
|
@@ -4,8 +4,8 @@ import { useRoute as k, useRouter as R } from "vue-router";
|
|
|
4
4
|
import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.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-M7V-AVwR.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-yKIOaisE.js";
|
|
8
|
+
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-Ce6wjptT.js";
|
|
9
9
|
const V = /* @__PURE__ */ _({
|
|
10
10
|
__name: "NewRolePage",
|
|
11
11
|
setup(h) {
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { defineComponent as W, useModel as A, useTemplateRef as E, computed as B, ref as $, watch as M, openBlock as F, createBlock as O, mergeProps as P, unref as q, createSlots as j, withCtx as k, createElementVNode as N, normalizeClass as S, createElementBlock as C, toDisplayString as V, createCommentVNode as R, renderSlot as _, mergeModels as z, mergeDefaults as H } from "vue";
|
|
2
|
+
import { b as J } from "./controlSurface-t7OEFESJ.js";
|
|
3
|
+
import { u as K } from "./format-B8mJm946.js";
|
|
4
|
+
import { a as L, c as Q, _ as U, f as X, b as Y } from "./control-B_Nwtmag.js";
|
|
5
|
+
function Z(s) {
|
|
6
|
+
const n = s.number(1234.5, { minimumFractionDigits: 1, maximumFractionDigits: 1, useGrouping: !0 }), e = /^\d(\D)\d/.exec(n)?.[1] ?? "";
|
|
7
|
+
return { decimal: n.charAt(n.length - 2) || ".", group: e === "." || e === "," ? e : "" };
|
|
8
|
+
}
|
|
9
|
+
function ee(s, n) {
|
|
10
|
+
const e = s.trim().startsWith("-"), t = s.replace(/[^\d.,]/g, "");
|
|
11
|
+
if (t === "") return e ? void 0 : null;
|
|
12
|
+
const m = [...t].filter((o) => o === "." || o === ",");
|
|
13
|
+
let f = t, v = "";
|
|
14
|
+
if (n.decimals > 0 && m.length > 0) {
|
|
15
|
+
const o = Math.max(t.lastIndexOf("."), t.lastIndexOf(",")), r = t.charAt(o), p = t.slice(o + 1), g = t.includes(".") && t.includes(","), c = m.filter((D) => D === r).length > 1, a = !g && r === n.group && p.length === 3;
|
|
16
|
+
(g || !c && !a) && (f = t.slice(0, o), v = p);
|
|
17
|
+
}
|
|
18
|
+
const x = (o) => o.replace(/\D/g, ""), h = +`${x(f) || "0"}.${x(v) || "0"}`;
|
|
19
|
+
if (!Number.isFinite(h)) return;
|
|
20
|
+
const d = Number(h.toFixed(n.decimals));
|
|
21
|
+
return e ? -d || 0 : d;
|
|
22
|
+
}
|
|
23
|
+
const te = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "shrink-0 text-footnote text-content-muted"
|
|
26
|
+
}, ie = ["id", "value", "name", "placeholder", "disabled", "required", "aria-required", "aria-invalid", "aria-describedby"], le = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "shrink-0 text-footnote text-content-muted"
|
|
29
|
+
}, se = /* @__PURE__ */ W({
|
|
30
|
+
__name: "NumberField",
|
|
31
|
+
props: /* @__PURE__ */ z(/* @__PURE__ */ H({
|
|
32
|
+
label: {},
|
|
33
|
+
labelHidden: { type: Boolean },
|
|
34
|
+
hint: {},
|
|
35
|
+
error: {},
|
|
36
|
+
required: { type: Boolean },
|
|
37
|
+
editable: { type: Boolean },
|
|
38
|
+
disabled: { type: Boolean },
|
|
39
|
+
lockedReason: {},
|
|
40
|
+
presentation: {},
|
|
41
|
+
name: {},
|
|
42
|
+
decimals: {},
|
|
43
|
+
minDecimals: {},
|
|
44
|
+
negative: { type: Boolean },
|
|
45
|
+
grouping: { type: Boolean },
|
|
46
|
+
maxDigits: {},
|
|
47
|
+
mono: { type: Boolean },
|
|
48
|
+
placeholder: {},
|
|
49
|
+
prefix: {},
|
|
50
|
+
suffix: {},
|
|
51
|
+
width: {}
|
|
52
|
+
}, { ...Y, decimals: 0, minDecimals: void 0, negative: !1, grouping: !0, maxDigits: void 0, mono: !1, placeholder: void 0, prefix: void 0, suffix: void 0, width: "sm" }), {
|
|
53
|
+
modelValue: { default: null },
|
|
54
|
+
modelModifiers: {}
|
|
55
|
+
}),
|
|
56
|
+
emits: ["update:modelValue"],
|
|
57
|
+
setup(s, { expose: n }) {
|
|
58
|
+
const e = s, t = A(s, "modelValue"), m = K(), f = E("input"), v = !!L(), x = Q("text", () => e.error ? "error" : e.disabled ? "locked" : "rest"), h = B(() => v ? J(e.width) : "w-full"), d = B(() => Z(m)), o = B(() => Math.min(e.minDecimals ?? e.decimals, e.decimals)), r = (i) => i === null ? "" : m.number(i, { minimumFractionDigits: o.value, maximumFractionDigits: e.decimals, useGrouping: e.grouping }), p = (i) => i === null ? "" : String(i).replace(".", d.value.decimal), g = (i) => ee(i, { decimals: e.decimals, group: e.grouping ? d.value.group : "" }), c = $(!1), a = $(r(t.value));
|
|
59
|
+
M(t, (i) => {
|
|
60
|
+
c.value ? g(a.value) !== i && (a.value = p(i)) : a.value = r(i);
|
|
61
|
+
}), M(() => [e.decimals, o.value, e.grouping, d.value.decimal], () => {
|
|
62
|
+
c.value || (a.value = r(t.value));
|
|
63
|
+
});
|
|
64
|
+
function D(i) {
|
|
65
|
+
const u = i.target;
|
|
66
|
+
let l = u.value.replace(/[^\d.,\-\s]/g, "");
|
|
67
|
+
e.negative ? l = l.replace(/(?!^)-/g, "") : l = l.replace(/-/g, "");
|
|
68
|
+
const w = l.replace(/\D/g, "").length;
|
|
69
|
+
if (e.maxDigits !== void 0 && w > e.maxDigits) {
|
|
70
|
+
if (l.length === a.value.length + 1) {
|
|
71
|
+
const y = Math.max(0, (u.selectionStart ?? l.length) - 1);
|
|
72
|
+
u.value = a.value, u.setSelectionRange(y, y);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
let I = 0;
|
|
76
|
+
l = [...l].filter((y) => !/\d/.test(y) || ++I <= e.maxDigits).join("");
|
|
77
|
+
}
|
|
78
|
+
l !== u.value && (u.value = l), a.value = l;
|
|
79
|
+
const b = g(l);
|
|
80
|
+
b !== void 0 ? t.value = b : t.value = null;
|
|
81
|
+
}
|
|
82
|
+
function T() {
|
|
83
|
+
c.value = !0, a.value = p(t.value);
|
|
84
|
+
}
|
|
85
|
+
function G() {
|
|
86
|
+
c.value = !1, a.value = r(t.value);
|
|
87
|
+
}
|
|
88
|
+
return n({ focus: () => f.value?.focus() }), (i, u) => (F(), O(U, P(q(X)(e), {
|
|
89
|
+
value: t.value === null ? null : r(t.value),
|
|
90
|
+
prefix: e.prefix,
|
|
91
|
+
suffix: e.suffix,
|
|
92
|
+
"value-style": e.mono ? "mono" : "numeric"
|
|
93
|
+
}), j({
|
|
94
|
+
default: k(({ id: l, describedby: w, invalid: b }) => [
|
|
95
|
+
N("div", {
|
|
96
|
+
class: S(["flex items-center gap-1.5", [q(x), h.value]])
|
|
97
|
+
}, [
|
|
98
|
+
e.prefix ? (F(), C("span", te, V(e.prefix), 1)) : R("", !0),
|
|
99
|
+
N("input", {
|
|
100
|
+
id: l,
|
|
101
|
+
ref_key: "input",
|
|
102
|
+
ref: f,
|
|
103
|
+
value: a.value,
|
|
104
|
+
type: "text",
|
|
105
|
+
inputmode: "decimal",
|
|
106
|
+
autocomplete: "off",
|
|
107
|
+
name: e.name,
|
|
108
|
+
placeholder: e.placeholder,
|
|
109
|
+
disabled: e.disabled,
|
|
110
|
+
required: e.required,
|
|
111
|
+
"aria-required": e.required || void 0,
|
|
112
|
+
"aria-invalid": b || void 0,
|
|
113
|
+
"aria-describedby": w,
|
|
114
|
+
class: S(["block w-full min-w-0 border-0 bg-transparent px-0 py-1 text-right text-body tabular-nums text-content-strong placeholder:text-content-disabled focus:outline-none focus:ring-0 disabled:cursor-not-allowed", e.mono ? "font-mono" : ""]),
|
|
115
|
+
onInput: D,
|
|
116
|
+
onFocus: T,
|
|
117
|
+
onBlur: G
|
|
118
|
+
}, null, 42, ie),
|
|
119
|
+
e.suffix ? (F(), C("span", le, V(e.suffix), 1)) : R("", !0)
|
|
120
|
+
], 2)
|
|
121
|
+
]),
|
|
122
|
+
_: 2
|
|
123
|
+
}, [
|
|
124
|
+
i.$slots.trailing ? {
|
|
125
|
+
name: "trailing",
|
|
126
|
+
fn: k(() => [
|
|
127
|
+
_(i.$slots, "trailing")
|
|
128
|
+
]),
|
|
129
|
+
key: "0"
|
|
130
|
+
} : void 0,
|
|
131
|
+
i.$slots.labelTrailing ? {
|
|
132
|
+
name: "labelTrailing",
|
|
133
|
+
fn: k(() => [
|
|
134
|
+
_(i.$slots, "labelTrailing")
|
|
135
|
+
]),
|
|
136
|
+
key: "1"
|
|
137
|
+
} : void 0,
|
|
138
|
+
i.$slots.readonly ? {
|
|
139
|
+
name: "readonly",
|
|
140
|
+
fn: k(() => [
|
|
141
|
+
_(i.$slots, "readonly")
|
|
142
|
+
]),
|
|
143
|
+
key: "2"
|
|
144
|
+
} : void 0
|
|
145
|
+
]), 1040, ["value", "prefix", "suffix", "value-style"]));
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
export {
|
|
149
|
+
se as _
|
|
150
|
+
};
|
|
@@ -4,10 +4,10 @@ import { a as ge } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang
|
|
|
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-M7V-AVwR.js";
|
|
7
|
-
import { i as k, d as G } from "./index-
|
|
7
|
+
import { i as k, d as G } from "./index-Bq96L43f.js";
|
|
8
8
|
import { u as Z } from "./FormErrors.vue_vue_type_script_setup_true_lang-DWcVKZM3.js";
|
|
9
|
-
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as U } from "./TextField.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js";
|
|
10
|
+
import { _ as U } from "./TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js";
|
|
11
11
|
import { _ as H } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
12
12
|
import { t as C } from "./toast-CqSDTWRX.js";
|
|
13
13
|
import { u as O } from "./fieldMessages-DV6sESpn.js";
|
|
@@ -21,7 +21,7 @@ import { a as be } from "./leaveGuard-Cc8yeLxM.js";
|
|
|
21
21
|
import { _ as xe } from "./Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
22
22
|
import { _ as he } from "./OtpInput.vue_vue_type_script_setup_true_lang-gp4FfWAH.js";
|
|
23
23
|
import { _ as $e } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
24
|
-
import { _ as qe } from "./SessionList.vue_vue_type_script_setup_true_lang-
|
|
24
|
+
import { _ as qe } from "./SessionList.vue_vue_type_script_setup_true_lang-DoUo68xE.js";
|
|
25
25
|
import { _ as ke } from "./PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js";
|
|
26
26
|
import { _ as Ce } from "./SignInTable.vue_vue_type_script_setup_true_lang-CIv34nRn.js";
|
|
27
27
|
import { _ as Se } from "./ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as I, computed as h, ref as M, openBlock as l, createElementBlock as v, createElementVNode as w, unref as t, Fragment as B, renderList as N, normalizeClass as K, toDisplayString as d, createVNode as V, withCtx as p, createTextVNode as y, createCommentVNode as $, createBlock as _, createSlots as X, watch as Y, mergeProps as F } from "vue";
|
|
2
2
|
import { useI18n as Q } from "vue-i18n";
|
|
3
3
|
import { u as Z } from "./FormErrors.vue_vue_type_script_setup_true_lang-DWcVKZM3.js";
|
|
4
|
-
import { _ as W } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as te } from "./TextareaField.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as se } from "./TextField.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as W } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
|
|
5
|
+
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js";
|
|
6
|
+
import { _ as te } from "./TextareaField.vue_vue_type_script_setup_true_lang-4wC3c0BM.js";
|
|
7
|
+
import { _ as se } from "./TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js";
|
|
8
8
|
import { u as ae } from "./useSaveChrome-7huA3FzR.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 G, 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 G, 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-yKIOaisE.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
|
-
import { _ as pe } from "./SegmentedField.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as _e } from "./SwitchField.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { _ as pe } from "./SegmentedField.vue_vue_type_script_setup_true_lang-BMBkEmxr.js";
|
|
16
|
+
import { _ as _e } from "./SwitchField.vue_vue_type_script_setup_true_lang-0weBvsJf.js";
|
|
17
17
|
import { u as ge } from "./platform-q3cjODLx.js";
|
|
18
18
|
const ve = {
|
|
19
19
|
class: "flex min-w-0 flex-col gap-4 lg:grid lg:grid-cols-[15rem_minmax(0,1fr)] lg:items-start lg:gap-8",
|
|
@@ -2,8 +2,8 @@ import { defineComponent as I, computed as z, openBlock as l, createBlock as b,
|
|
|
2
2
|
import { useI18n as K } from "vue-i18n";
|
|
3
3
|
import { useRouter as X } from "vue-router";
|
|
4
4
|
import { _ as Y } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
5
|
-
import { _ as C } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { e as F } from "./control-
|
|
5
|
+
import { _ as C } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
|
|
6
|
+
import { e as F } from "./control-B_Nwtmag.js";
|
|
7
7
|
import { u as Z } from "./describeError-B-NMa--w.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";
|
|
@@ -13,11 +13,11 @@ import { a as ae, u as le } from "./routeResource-DlTsGTg_.js";
|
|
|
13
13
|
import { a as se } from "./ResourcePage.vue_vue_type_script_setup_true_lang-Da0M-hen.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-
|
|
17
|
-
import { _ as J } from "./SelectField.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-yKIOaisE.js";
|
|
17
|
+
import { _ as J } from "./SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js";
|
|
18
18
|
import { u as ie, _ as ue } from "./useCommand-B-N6HJOz.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-Ce6wjptT.js";
|
|
21
21
|
const de = { "data-test": "role-replace" }, fe = /* @__PURE__ */ I({
|
|
22
22
|
__name: "ReplaceRoleDialog",
|
|
23
23
|
props: {
|