@vc-shell/framework 2.4.0-pr299.e77d647 → 2.4.0-pr300.83479a4
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/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-C4nHWq_U.js → VcScheduler.vue_vue_type_script_setup_true_lang-iRWYakRf.js} +1882 -1885
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-iRWYakRf.js.map +1 -0
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useLatestRequest/index.d.ts +43 -0
- package/dist/core/composables/useLatestRequest/index.d.ts.map +1 -0
- package/dist/core/composables/usePopup/index.d.ts +3 -12
- package/dist/core/composables/usePopup/index.d.ts.map +1 -1
- package/dist/framework.js +778 -751
- package/dist/framework.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-C4nHWq_U.js.map +0 -1
package/dist/framework.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { b as Da, c as ya } from "./chunks/vendor-vueuse-core-BFa9je5E.js";
|
|
2
|
-
import { t as nt, v as oe, w as q, x as X, _ as $, y as be, z as Ba, I as
|
|
3
|
-
import { O as
|
|
4
|
-
import { getCurrentScope as
|
|
5
|
-
import { b5 as me, b6 as sn, b7 as on, b8 as Vt, b9 as
|
|
6
|
-
import { _ as
|
|
2
|
+
import { t as nt, v as oe, w as q, x as X, _ as $, y as be, z as Ba, I as Dt, d as K, b as pe, l as Ma, A as ka, C as Va, D as Ua, V as Ee, E as Fa, F as Wa, G as Ha, H as Ga, J as xa, K as $a, L as Ka, M as za, N as qa } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
|
|
3
|
+
import { O as Kl, B as zl, P as ql, Q as Yl, R as jl, S as Zl, T as Xl, U as Jl, W as Ql, a as eu, c as tu, e as au, f as nu, g as su, h as ou, i as ru, j as iu, X as lu, Y as uu, Z as du, $ as cu, a0 as Eu, a1 as fu, a2 as mu, a3 as gu, a4 as Su, a5 as Au, a6 as pu, a7 as Tu, a8 as hu, a9 as Lu, aa as Ou, ab as Ru, p as _u, ac as Iu, ad as vu, ae as wu, af as Cu, ag as bu, ah as Pu, ai as Nu, aj as Du, ak as yu, al as Bu, am as Mu, u as ku, k as Vu, r as Uu, an as Fu, m as Wu, n as Hu, ao as Gu, o as xu, ap as $u, aq as Ku, ar as zu } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
|
|
4
|
+
import { getCurrentScope as st, onScopeDispose as ot, computed as w, inject as Q, watch as ne, defineComponent as G, openBlock as C, createBlock as D, createSlots as Oe, withCtx as p, renderSlot as Y, createElementVNode as V, normalizeClass as Ya, createElementBlock as H, Fragment as se, createVNode as _, unref as i, createTextVNode as k, toDisplayString as B, shallowReactive as ja, ref as b, readonly as Me, onMounted as Re, onBeforeMount as Za, onBeforeUnmount as Xa, onUnmounted as Ja, provide as yt, toValue as Bt, isRef as Mt, normalizeStyle as kt, createCommentVNode as z, withDirectives as Qa, withModifiers as He, reactive as le, createApp as en, nextTick as Pe, renderList as Fe, withKeys as rt, mergeProps as ie, getCurrentInstance as tn, warn as an, h as te, toRaw as nn } from "vue";
|
|
5
|
+
import { b5 as me, b6 as sn, b7 as on, b8 as Vt, b9 as Ge, ba as rn, bb as ln, ao as un, bc as xe, bd as dn, be as cn, bf as Ut, Q as Ft, $ as En, a8 as ge, aa as it, a6 as $e, aB as fn, a0 as mn, av as gn, N as _e, ag as Wt, P as Sn, bg as An, aC as ft, bh as pn, bi as Tn } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-iRWYakRf.js";
|
|
6
|
+
import { _ as Yu, a as ju, b as Zu, c as Xu, d as Ju, e as Qu, f as ed, g as td, h as ad, i as nd, j as sd, bj as od, bk as rd, C as id, bl as ld, bm as ud, bn as dd, k as cd, bo as Ed, bp as fd, S as md, bq as gd, br as Sd, l as Ad, m as pd, n as Td, o as hd, p as Ld, q as Od, T as Rd, r as _d, s as Id, t as vd, u as wd, v as Cd, w as bd, x as Pd, bs as Nd, bt as Dd, V as yd, y as Bd, z as Md, A as kd, B as Vd, D as Ud, E as Fd, F as Wd, G as Hd, H as Gd, I as xd, J as $d, K as Kd, L as zd, M as qd, O as Yd, bu as jd, bu as Zd, bv as Xd, R as Jd, U as Qd, W as ec, X as tc, Y as ac, Z as nc, a1 as sc, a2 as oc, a3 as rc, a4 as ic, a5 as lc, a7 as uc, a9 as dc, ab as cc, ac as Ec, ad as fc, ae as mc, af as gc, ah as Sc, ai as Ac, aj as pc, ak as Tc, al as hc, am as Lc, an as Oc, ap as Rc, aq as _c, ar as Ic, as as vc, at as wc, au as Cc, aw as bc, ax as Pc, ay as Nc, az as Dc, aA as yc, aD as Bc, aE as Mc, bw as kc, aF as Vc, bx as Uc, by as Fc, bz as Wc, bA as Hc, bB as Gc, bC as xc, bD as $c, bE as Kc, bF as zc, bG as qc, bH as Yc, bI as jc, bJ as Zc, bK as Xc, bL as Jc, bM as Qc, bN as eE, aG as tE, aH as aE, aI as nE, bO as sE, aJ as oE, aK as rE, bP as iE, bQ as lE, aL as uE, aM as dE, aN as cE, aO as EE, bR as fE, aP as mE, aQ as gE, aR as SE, bS as AE, aS as pE, bT as TE, aT as hE, aU as LE, aV as OE, bU as RE, aW as _E, aX as IE, aY as vE, aZ as wE, a_ as CE, a$ as bE, b0 as PE, b1 as NE, b2 as DE, b3 as yE, b4 as BE, aF as ME } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-iRWYakRf.js";
|
|
7
7
|
import { _ as hn } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
8
8
|
import { c as U, b as Ln, d as On, i as Qe, S as Rn, W as Ht, B as Gt, h as _n, j as xt, m as In, k as vn, l as $t, n as wn, _ as Cn, L as bn, I as Pn, o as Nn, p as Dn, q as yn, r as Bn, s as Mn, T as kn, t as Vn, v as Un, w as Fn, N as Wn } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
|
|
9
|
-
import { A as
|
|
9
|
+
import { A as VE, x as UE, y as FE, z as WE, C as HE, D as GE, F as xE, G as $E, H as KE, J as zE, e as qE, f as YE, K as jE, O as ZE, P as XE, Q as JE, R as QE, U as ef, V as tf, X as af, Y as nf, Z as sf, $ as of, E as rf, a0 as lf, a1 as uf, a2 as df, a3 as cf, a4 as Ef, a5 as ff, a6 as mf, a7 as gf, M as Sf, a8 as Af, a9 as pf, aa as Tf, ab as hf, ac as Lf, ad as Of, ae as Rf, af as _f, a as If, ag as vf, ah as wf, ai as Cf, aj as bf, u as Pf, g as Nf } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
|
|
10
10
|
import { H as Hn, L as Gn } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
|
|
11
11
|
import { a as xn } from "./chunks/index-DYMV0pFy.js";
|
|
12
|
-
import { u as
|
|
13
|
-
import { p as $n, b as Kn, a as zn, s as qn, d as Yn, e as jn, f as Zn, g as
|
|
14
|
-
import { A as
|
|
12
|
+
import { u as yf } from "./chunks/index-DYMV0pFy.js";
|
|
13
|
+
import { p as $n, b as Kn, a as zn, s as qn, d as Yn, e as jn, f as Zn, g as lt, h as Xn, i as Jn, j as Qn, k as es, l as ts, m as as } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js";
|
|
14
|
+
import { A as Mf, D as kf, E as Vf, H as Uf, _ as Ff, c as Wf, n as Hf, o as Gf, q as xf, r as $f, t as Kf, v as zf, u as qf, w as Yf, x as jf, y as Zf } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js";
|
|
15
15
|
import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
16
16
|
import "./chunks/vendor-dompurify-DpIUMBYC.js";
|
|
17
17
|
import { u as ue } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
|
|
18
|
-
import { useForm as de, useIsFormValid as Ie, useIsFormDirty as
|
|
18
|
+
import { useForm as de, useIsFormValid as Ie, useIsFormDirty as ut, Field as Z } from "vee-validate";
|
|
19
19
|
import { useRouter as ve } from "vue-router";
|
|
20
20
|
import "./chunks/vendor-tiptap-starter-kit-ny-AoaO_.js";
|
|
21
21
|
import "./chunks/vendor-tiptap-extension-underline-Bo1pXXDN.js";
|
|
@@ -93,13 +93,13 @@ import "./chunks/vendor-truncate-html-ChA1T5zy.js";
|
|
|
93
93
|
import "./chunks/vendor-sortablejs-Bsvu-FKn.js";
|
|
94
94
|
import { v as ns } from "./chunks/vendor-vue3-touch-events-DqysuuWh.js";
|
|
95
95
|
import "./chunks/vendor-gridstack-Beau2jQ7.js";
|
|
96
|
-
import { _ as
|
|
97
|
-
import { _ as
|
|
96
|
+
import { _ as Jf, a as Qf, b as em, c as tm, d as am, L as nm, e as sm, f as om, l as rm, m as im, s as lm, t as um, u as dm } from "./chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-DSujdkDw.js";
|
|
97
|
+
import { _ as Em, a as fm, b as mm, c as gm, d as Sm, e as Am } from "./chunks/DashboardDonutChart.vue_vue_type_script_setup_true_lang-hTcM33bM.js";
|
|
98
98
|
import { A as ss, u as os } from "./chunks/vendor-vue3-application-insights-CAgbt8pk.js";
|
|
99
99
|
import { o as rs, c as J, d as is, i as ls } from "./chunks/vendor-lodash-es-D2n90GJy.js";
|
|
100
100
|
import { T as us, x as ds, b as cs, S as Es, $ as fs } from "./chunks/vendor-web-vitals-ByFgAM-8.js";
|
|
101
101
|
import { _ as ms } from "./chunks/index-BuTo_Lx8.js";
|
|
102
|
-
import { E as
|
|
102
|
+
import { E as Tm, d as hm, u as Lm } from "./chunks/index-BuTo_Lx8.js";
|
|
103
103
|
function El(e) {
|
|
104
104
|
return e.replace(/[\w]([A-Z])/g, function(t) {
|
|
105
105
|
return t[0] + "_" + t[1];
|
|
@@ -116,11 +116,11 @@ function ml(e) {
|
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
const Ss = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "svg", "gif"]);
|
|
119
|
-
function
|
|
119
|
+
function dt(e) {
|
|
120
120
|
return e.split(".").pop()?.toLowerCase();
|
|
121
121
|
}
|
|
122
122
|
function Kt(e) {
|
|
123
|
-
return e ? Ss.has(
|
|
123
|
+
return e ? Ss.has(dt(e) ?? "") : !1;
|
|
124
124
|
}
|
|
125
125
|
function zt(e, t = 2) {
|
|
126
126
|
if (!e) return "0 Bytes";
|
|
@@ -144,11 +144,11 @@ const As = {
|
|
|
144
144
|
};
|
|
145
145
|
function qt(e) {
|
|
146
146
|
if (!e) return "var(--neutrals-400)";
|
|
147
|
-
const t =
|
|
147
|
+
const t = dt(e) ?? "";
|
|
148
148
|
return As[t] ?? "var(--neutrals-400)";
|
|
149
149
|
}
|
|
150
150
|
function Yt(e) {
|
|
151
|
-
return e ? (
|
|
151
|
+
return e ? (dt(e) ?? "FILE").toUpperCase() : "FILE";
|
|
152
152
|
}
|
|
153
153
|
const ps = {
|
|
154
154
|
install(e) {
|
|
@@ -162,12 +162,12 @@ function gl(e) {
|
|
|
162
162
|
filter: e.filter,
|
|
163
163
|
handler: e.onMessage
|
|
164
164
|
});
|
|
165
|
-
|
|
165
|
+
st() && ot(a);
|
|
166
166
|
const n = w(
|
|
167
|
-
() => t.realtime.value.filter((
|
|
167
|
+
() => t.realtime.value.filter((r) => !(!r.notifyType || !e.types.includes(r.notifyType) || !r.isNew || e.filter && !e.filter(r)))
|
|
168
168
|
), s = w(() => n.value.length);
|
|
169
|
-
function o(
|
|
170
|
-
t.markAsRead(
|
|
169
|
+
function o(r) {
|
|
170
|
+
t.markAsRead(r);
|
|
171
171
|
}
|
|
172
172
|
return {
|
|
173
173
|
messages: n,
|
|
@@ -188,18 +188,18 @@ function Al() {
|
|
|
188
188
|
clearBroadcastFilter: e.clearBroadcastFilter
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
const jt = Symbol("NotificationContainerState"),
|
|
191
|
+
const jt = Symbol("NotificationContainerState"), mt = U("signalR"), Ts = {
|
|
192
192
|
install(e) {
|
|
193
193
|
const t = me(), { isAuthenticated: a } = oe();
|
|
194
194
|
let n = !1;
|
|
195
195
|
const s = hn("pushNotificationHub", { enableForVitest: !0 }) ?? new Hn().withUrl("/pushNotificationHub").withAutomaticReconnect().configureLogging(Gn.Information).build(), o = () => {
|
|
196
196
|
s.start().then(() => {
|
|
197
|
-
|
|
197
|
+
mt.info("Connected.");
|
|
198
198
|
}).catch((l) => {
|
|
199
|
-
|
|
199
|
+
mt.error("Connection Error: ", l), setTimeout(() => o(), 5e3);
|
|
200
200
|
});
|
|
201
201
|
};
|
|
202
|
-
async function
|
|
202
|
+
async function r() {
|
|
203
203
|
await s.stop();
|
|
204
204
|
}
|
|
205
205
|
s.onclose(() => {
|
|
@@ -211,7 +211,7 @@ const jt = Symbol("NotificationContainerState"), Et = U("signalR"), Ts = {
|
|
|
211
211
|
}), ne(
|
|
212
212
|
a,
|
|
213
213
|
async (l) => {
|
|
214
|
-
l ? (n = !0, o()) : (n = !1, await
|
|
214
|
+
l ? (n = !0, o()) : (n = !1, await r());
|
|
215
215
|
},
|
|
216
216
|
{ immediate: !0 }
|
|
217
217
|
);
|
|
@@ -224,11 +224,11 @@ function pl(e) {
|
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
226
|
const hs = U("modularity");
|
|
227
|
-
function
|
|
227
|
+
function ct(e) {
|
|
228
228
|
const { blades: t, locales: a, notificationTemplates: n, notifications: s } = e;
|
|
229
229
|
return {
|
|
230
230
|
install(o) {
|
|
231
|
-
const
|
|
231
|
+
const r = me();
|
|
232
232
|
if (t && Object.keys(t).length > 0) {
|
|
233
233
|
const l = o.runWithContext(() => Q(Vt));
|
|
234
234
|
if (!l?._registerBladeFn)
|
|
@@ -249,11 +249,11 @@ function ut(e) {
|
|
|
249
249
|
}
|
|
250
250
|
if (s)
|
|
251
251
|
for (const [l, d] of Object.entries(s))
|
|
252
|
-
|
|
252
|
+
r.registerType(l, d);
|
|
253
253
|
if (!s && n)
|
|
254
254
|
for (const l of Object.values(n)) {
|
|
255
255
|
const d = l.notifyType;
|
|
256
|
-
d &&
|
|
256
|
+
d && r.registerType(d, {
|
|
257
257
|
template: l,
|
|
258
258
|
toast: { mode: "auto" }
|
|
259
259
|
});
|
|
@@ -262,12 +262,12 @@ function ut(e) {
|
|
|
262
262
|
for (const l of Object.values(t))
|
|
263
263
|
if (l.notifyType) {
|
|
264
264
|
const d = Array.isArray(l.notifyType) ? l.notifyType : [l.notifyType];
|
|
265
|
-
d.filter((E) => !
|
|
265
|
+
d.filter((E) => !r.registry.has(E)).length > 0 && r.subscribe({
|
|
266
266
|
types: d,
|
|
267
267
|
handler: (E) => {
|
|
268
268
|
E.title && q(E.title, {
|
|
269
269
|
onClose() {
|
|
270
|
-
|
|
270
|
+
r.markAsRead(E);
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
@@ -281,7 +281,7 @@ function ut(e) {
|
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
283
|
function Tl(e, t, a, n) {
|
|
284
|
-
return
|
|
284
|
+
return ct({
|
|
285
285
|
blades: e,
|
|
286
286
|
locales: t,
|
|
287
287
|
notificationTemplates: a
|
|
@@ -289,16 +289,16 @@ function Tl(e, t, a, n) {
|
|
|
289
289
|
}
|
|
290
290
|
async function Ls(e, t, a, n, s, o) {
|
|
291
291
|
if (!a.workspaceUrl) return !1;
|
|
292
|
-
const
|
|
293
|
-
if (!
|
|
294
|
-
return console.warn(`[restoreFromUrl] No workspace blade found for URL segment '${a.workspaceUrl}'`), s &&
|
|
295
|
-
if (!
|
|
292
|
+
const r = t.getBladeByRoute(a.workspaceUrl);
|
|
293
|
+
if (!r)
|
|
294
|
+
return console.warn(`[restoreFromUrl] No workspace blade found for URL segment '${a.workspaceUrl}'`), s && Ge(s, o), !1;
|
|
295
|
+
if (!r.data.isWorkspace)
|
|
296
296
|
return console.warn(
|
|
297
|
-
`[restoreFromUrl] Blade '${
|
|
298
|
-
), s &&
|
|
299
|
-
if (n &&
|
|
300
|
-
return console.warn(`[restoreFromUrl] Access denied to workspace '${
|
|
301
|
-
if (e.workspace.value?.name !==
|
|
297
|
+
`[restoreFromUrl] Blade '${r.name}' matched URL '${a.workspaceUrl}' but is not a workspace`
|
|
298
|
+
), s && Ge(s, o), !1;
|
|
299
|
+
if (n && r.data.permissions && !n(r.data.permissions))
|
|
300
|
+
return console.warn(`[restoreFromUrl] Access denied to workspace '${r.name}'`), q.error(X.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }), s && Ge(s, o), !1;
|
|
301
|
+
if (e.workspace.value?.name !== r.name && await e.openWorkspace({ name: r.name }), a.bladeUrl) {
|
|
302
302
|
const d = t.getBladeByRoute(a.bladeUrl);
|
|
303
303
|
if (d) {
|
|
304
304
|
if (e.blades.value.find((E) => E.name === d.name && E.param === a.param))
|
|
@@ -315,7 +315,7 @@ async function Ls(e, t, a, n, s, o) {
|
|
|
315
315
|
}
|
|
316
316
|
return !1;
|
|
317
317
|
}
|
|
318
|
-
async function
|
|
318
|
+
async function gt(e) {
|
|
319
319
|
for (; e.blades.value.length > 1; ) {
|
|
320
320
|
const t = e.blades.value, a = t[t.length - 1];
|
|
321
321
|
if (await e.closeBlade(a.id) || e.blades.value.length >= t.length)
|
|
@@ -326,13 +326,13 @@ async function ft(e) {
|
|
|
326
326
|
async function Os(e, t, a, n, s) {
|
|
327
327
|
if (!e.matched.some((E) => E.meta?.root)) return;
|
|
328
328
|
if (!e.matched.some((E) => E.meta?.bladeCatchAll))
|
|
329
|
-
return t.blades.value.length > 0 && !await
|
|
330
|
-
const
|
|
329
|
+
return t.blades.value.length > 0 && !await gt(t) ? !1 : void 0;
|
|
330
|
+
const r = Object.values(e.params)?.[0] || "", l = $n(e.path, r);
|
|
331
331
|
if (!l.workspaceUrl)
|
|
332
|
-
return t.blades.value.length > 0 && !await
|
|
332
|
+
return t.blades.value.length > 0 && !await gt(t) ? !1 : void 0;
|
|
333
333
|
const d = Object.fromEntries(Object.entries(e.params).filter(([, E]) => typeof E == "string"));
|
|
334
334
|
if (await Ls(t, a, l, n, s, d)) {
|
|
335
|
-
const { path: E, query: g } = Kn(
|
|
335
|
+
const { path: E, query: g } = Kn(r, t.blades.value);
|
|
336
336
|
return { path: E, query: g, replace: !0 };
|
|
337
337
|
}
|
|
338
338
|
}
|
|
@@ -356,16 +356,16 @@ const Rs = {
|
|
|
356
356
|
console.error("[BladeNavigationPlugin] BladeRegistry is required but not found.");
|
|
357
357
|
return;
|
|
358
358
|
}
|
|
359
|
-
const { hasAccess: o } = e.runWithContext(() => nt()),
|
|
360
|
-
e.provide(Ln,
|
|
361
|
-
const l = ln(
|
|
359
|
+
const { hasAccess: o } = e.runWithContext(() => nt()), r = zn(s, o);
|
|
360
|
+
e.provide(Ln, r), qn(r);
|
|
361
|
+
const l = ln(r);
|
|
362
362
|
e.provide(On, l), Yn(l), Zn(s);
|
|
363
363
|
const d = a.getRoutes().find((u) => u.meta?.root);
|
|
364
364
|
d && a.addRoute(d.name, {
|
|
365
365
|
path: ":pathMatch(.*)*",
|
|
366
366
|
component: { render: () => null },
|
|
367
367
|
meta: { bladeCatchAll: !0 }
|
|
368
|
-
}), a.beforeEach((u) => Os(u,
|
|
368
|
+
}), a.beforeEach((u) => Os(u, r, s, o, a));
|
|
369
369
|
}
|
|
370
370
|
}, _s = {
|
|
371
371
|
input: {
|
|
@@ -420,7 +420,7 @@ const Rs = {
|
|
|
420
420
|
function hl(e) {
|
|
421
421
|
return _s[e];
|
|
422
422
|
}
|
|
423
|
-
const
|
|
423
|
+
const Et = /* @__PURE__ */ G({
|
|
424
424
|
__name: "vc-popup-base",
|
|
425
425
|
props: {
|
|
426
426
|
title: {},
|
|
@@ -440,12 +440,12 @@ const dt = /* @__PURE__ */ G({
|
|
|
440
440
|
function s(o) {
|
|
441
441
|
n("confirm"), a.closeOnConfirm && o();
|
|
442
442
|
}
|
|
443
|
-
return (o,
|
|
443
|
+
return (o, r) => (C(), D(un, {
|
|
444
444
|
variant: e.variant,
|
|
445
445
|
"is-mobile-fullscreen": e.isMobileFullscreen,
|
|
446
446
|
title: e.title,
|
|
447
447
|
closable: e.closable,
|
|
448
|
-
onClose:
|
|
448
|
+
onClose: r[0] || (r[0] = (l) => o.$emit("close"))
|
|
449
449
|
}, Oe({
|
|
450
450
|
content: p(() => [
|
|
451
451
|
Y(o.$slots, "default")
|
|
@@ -462,7 +462,7 @@ const dt = /* @__PURE__ */ G({
|
|
|
462
462
|
}])
|
|
463
463
|
}, [
|
|
464
464
|
e.mode === "confirm" ? (C(), H(se, { key: 0 }, [
|
|
465
|
-
_(
|
|
465
|
+
_(i($), {
|
|
466
466
|
text: e.confirmAsText,
|
|
467
467
|
class: "vc-popup-base__confirm",
|
|
468
468
|
onClick: (d) => s(l)
|
|
@@ -472,13 +472,13 @@ const dt = /* @__PURE__ */ G({
|
|
|
472
472
|
]),
|
|
473
473
|
_: 1
|
|
474
474
|
}, 8, ["text", "onClick"]),
|
|
475
|
-
_(
|
|
475
|
+
_(i($), { onClick: l }, {
|
|
476
476
|
default: p(() => [
|
|
477
477
|
k(B(e.cancelLabel), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 1
|
|
480
480
|
}, 8, ["onClick"])
|
|
481
|
-
], 64)) : (C(), D(
|
|
481
|
+
], 64)) : (C(), D(i($), {
|
|
482
482
|
key: 1,
|
|
483
483
|
class: "vc-popup-base__single",
|
|
484
484
|
onClick: l
|
|
@@ -509,7 +509,7 @@ const dt = /* @__PURE__ */ G({
|
|
|
509
509
|
},
|
|
510
510
|
emits: ["close", "confirm"],
|
|
511
511
|
setup(e) {
|
|
512
|
-
return (t, a) => (C(), D(
|
|
512
|
+
return (t, a) => (C(), D(Et, {
|
|
513
513
|
variant: "warning",
|
|
514
514
|
mode: "confirm",
|
|
515
515
|
"confirm-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM"),
|
|
@@ -540,7 +540,7 @@ const dt = /* @__PURE__ */ G({
|
|
|
540
540
|
},
|
|
541
541
|
emits: ["close"],
|
|
542
542
|
setup(e) {
|
|
543
|
-
return (t, a) => (C(), D(
|
|
543
|
+
return (t, a) => (C(), D(Et, {
|
|
544
544
|
variant: "error",
|
|
545
545
|
mode: "acknowledge",
|
|
546
546
|
"action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
|
|
@@ -568,7 +568,7 @@ const dt = /* @__PURE__ */ G({
|
|
|
568
568
|
},
|
|
569
569
|
emits: ["close"],
|
|
570
570
|
setup(e) {
|
|
571
|
-
return (t, a) => (C(), D(
|
|
571
|
+
return (t, a) => (C(), D(Et, {
|
|
572
572
|
variant: "info",
|
|
573
573
|
mode: "acknowledge",
|
|
574
574
|
"action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
|
|
@@ -591,7 +591,7 @@ const dt = /* @__PURE__ */ G({
|
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
function Cs() {
|
|
594
|
-
|
|
594
|
+
xe("warning", Is), xe("error", vs), xe("info", ws);
|
|
595
595
|
}
|
|
596
596
|
const bs = {
|
|
597
597
|
install(e) {
|
|
@@ -612,14 +612,14 @@ function Ps(e, t) {
|
|
|
612
612
|
function Ns(e, t = 0) {
|
|
613
613
|
setTimeout(e, t);
|
|
614
614
|
}
|
|
615
|
-
const
|
|
615
|
+
const Ke = /* @__PURE__ */ new WeakMap();
|
|
616
616
|
function Ds(e) {
|
|
617
617
|
return function(...t) {
|
|
618
|
-
if (
|
|
618
|
+
if (!Ke.has(e)) {
|
|
619
619
|
const a = e(...t);
|
|
620
|
-
|
|
620
|
+
Ke.set(e, a);
|
|
621
621
|
}
|
|
622
|
-
return
|
|
622
|
+
return Ke.get(e);
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
625
|
function ys(e, t) {
|
|
@@ -643,10 +643,10 @@ function Ol(e) {
|
|
|
643
643
|
let n, s;
|
|
644
644
|
a.length && (s = t.subscribe({
|
|
645
645
|
types: a,
|
|
646
|
-
handler: (
|
|
647
|
-
}),
|
|
646
|
+
handler: (r) => n?.(r)
|
|
647
|
+
}), st() && ot(() => s?.()));
|
|
648
648
|
const o = w(() => a.length ? t.realtime.value.filter(
|
|
649
|
-
(
|
|
649
|
+
(r) => r.isNew && r.notifyType != null && a.includes(r.notifyType)
|
|
650
650
|
) : []);
|
|
651
651
|
return {
|
|
652
652
|
notifications: w(() => rs(t.history.value, ["created"], ["desc"])),
|
|
@@ -655,16 +655,16 @@ function Ol(e) {
|
|
|
655
655
|
addNotification: t.ingest,
|
|
656
656
|
markAsRead: t.markAsRead,
|
|
657
657
|
markAllAsRead: t.markAllAsRead,
|
|
658
|
-
setNotificationHandler: (
|
|
659
|
-
n =
|
|
658
|
+
setNotificationHandler: (r) => {
|
|
659
|
+
n = r;
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
662
|
}
|
|
663
|
-
let
|
|
663
|
+
let ze;
|
|
664
664
|
const Bs = U("use-async");
|
|
665
665
|
function Zt(e, t) {
|
|
666
666
|
const a = b(!1), n = b(null), s = t?.notify !== !1, o = t?.notifyTimeout ?? 8e3;
|
|
667
|
-
async function
|
|
667
|
+
async function r(l, ...d) {
|
|
668
668
|
a.value = !0, n.value = null;
|
|
669
669
|
try {
|
|
670
670
|
return await e(l, ...d);
|
|
@@ -672,7 +672,7 @@ function Zt(e, t) {
|
|
|
672
672
|
const E = be(u);
|
|
673
673
|
if (n.value = E, Bs.error("Async action failed:", u), s && !Qe() && u && typeof u == "object") {
|
|
674
674
|
const g = `async-error-${E.message.slice(0, 80)}`, f = setTimeout(async () => {
|
|
675
|
-
|
|
675
|
+
ze || (ze = (await import("./chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js").then((S) => S.aE)).notification), ze.error(E.message, {
|
|
676
676
|
timeout: o,
|
|
677
677
|
notificationId: g
|
|
678
678
|
});
|
|
@@ -685,9 +685,9 @@ function Zt(e, t) {
|
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
return {
|
|
688
|
-
loading:
|
|
689
|
-
error:
|
|
690
|
-
action:
|
|
688
|
+
loading: Me(a),
|
|
689
|
+
error: Me(n),
|
|
690
|
+
action: r
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
693
|
function Ms(e) {
|
|
@@ -705,11 +705,11 @@ const ks = U("use-settings");
|
|
|
705
705
|
function we() {
|
|
706
706
|
const e = b(), t = b(!1), { getApiClient: a } = Ms(Rn), { loading: n, action: s } = Zt(async () => {
|
|
707
707
|
if (t.value) return;
|
|
708
|
-
const
|
|
708
|
+
const r = await (await a()).getUICustomizationSetting();
|
|
709
709
|
let l = null;
|
|
710
|
-
if (
|
|
710
|
+
if (r.defaultValue)
|
|
711
711
|
try {
|
|
712
|
-
l = JSON.parse(
|
|
712
|
+
l = JSON.parse(r.defaultValue);
|
|
713
713
|
} catch (d) {
|
|
714
714
|
ks.warn("Failed to parse UI customization settings JSON; ignoring.", d);
|
|
715
715
|
}
|
|
@@ -719,13 +719,13 @@ function we() {
|
|
|
719
719
|
title: l.title
|
|
720
720
|
});
|
|
721
721
|
});
|
|
722
|
-
function o(
|
|
722
|
+
function o(r) {
|
|
723
723
|
t.value = !0, e.value = {
|
|
724
724
|
...e.value,
|
|
725
|
-
logo:
|
|
726
|
-
title:
|
|
727
|
-
avatar:
|
|
728
|
-
role:
|
|
725
|
+
logo: r.logo,
|
|
726
|
+
title: r.title,
|
|
727
|
+
avatar: r.avatar,
|
|
728
|
+
role: r.role
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
731
|
return Re(async () => {
|
|
@@ -736,16 +736,42 @@ function we() {
|
|
|
736
736
|
loading: Xt(n)
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
|
-
|
|
739
|
+
function Rl() {
|
|
740
|
+
const e = b(!1);
|
|
741
|
+
let t = 0, a = !1;
|
|
742
|
+
function n() {
|
|
743
|
+
const r = ++t;
|
|
744
|
+
let l = !1;
|
|
745
|
+
return a || (e.value = !0), {
|
|
746
|
+
isCurrent: () => !a && r === t,
|
|
747
|
+
complete: () => {
|
|
748
|
+
l || (l = !0, !a && r === t && (e.value = !1));
|
|
749
|
+
}
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
function s() {
|
|
753
|
+
t++, e.value = !1;
|
|
754
|
+
}
|
|
755
|
+
function o() {
|
|
756
|
+
a = !0, s();
|
|
757
|
+
}
|
|
758
|
+
return st() && ot(o), {
|
|
759
|
+
begin: n,
|
|
760
|
+
invalidate: s,
|
|
761
|
+
dispose: o,
|
|
762
|
+
pending: Me(e)
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
const St = U("use-assets"), Vs = 4;
|
|
740
766
|
async function Us(e, t, a, n) {
|
|
741
767
|
const s = new FormData();
|
|
742
768
|
s.append("file", e);
|
|
743
|
-
const
|
|
769
|
+
const r = await (await fetch(`/api/assets?folderUrl=/${t}`, {
|
|
744
770
|
method: "POST",
|
|
745
771
|
body: s
|
|
746
772
|
})).json();
|
|
747
|
-
if (
|
|
748
|
-
const l =
|
|
773
|
+
if (r?.length) {
|
|
774
|
+
const l = r[0];
|
|
749
775
|
return l.createdDate = /* @__PURE__ */ new Date(), l.sortOrder = n !== void 0 && n >= 0 ? n + a + 1 : 0, l.url = l.url ? decodeURI(l.url) : "", "size" in l && (l.size = e.size), l;
|
|
750
776
|
}
|
|
751
777
|
return null;
|
|
@@ -753,35 +779,35 @@ async function Us(e, t, a, n) {
|
|
|
753
779
|
async function Fs(e, t, a) {
|
|
754
780
|
const n = [];
|
|
755
781
|
for (let s = 0; s < e.length; s += a) {
|
|
756
|
-
const o = e.slice(s, s + a),
|
|
757
|
-
n.push(...
|
|
782
|
+
const o = e.slice(s, s + a), r = await Promise.all(o.map((l, d) => t(l, s + d)));
|
|
783
|
+
n.push(...r);
|
|
758
784
|
}
|
|
759
785
|
return n;
|
|
760
786
|
}
|
|
761
|
-
function
|
|
787
|
+
function _l() {
|
|
762
788
|
const e = b(!1);
|
|
763
|
-
async function t(s, o,
|
|
789
|
+
async function t(s, o, r) {
|
|
764
790
|
try {
|
|
765
791
|
e.value = !0;
|
|
766
792
|
const l = Array.from(s);
|
|
767
793
|
return (await Fs(
|
|
768
794
|
l,
|
|
769
|
-
(u, E) => Us(u, o, E,
|
|
795
|
+
(u, E) => Us(u, o, E, r),
|
|
770
796
|
Vs
|
|
771
797
|
)).filter((u) => u !== null);
|
|
772
798
|
} catch (l) {
|
|
773
|
-
throw
|
|
799
|
+
throw St.error("Upload failed:", l), l;
|
|
774
800
|
} finally {
|
|
775
801
|
e.value = !1;
|
|
776
802
|
}
|
|
777
803
|
}
|
|
778
|
-
function a(s, o,
|
|
804
|
+
function a(s, o, r = "url") {
|
|
779
805
|
try {
|
|
780
806
|
e.value = !0;
|
|
781
807
|
let l = J(o) || [];
|
|
782
|
-
return l && l.length && s.length > 0 && (l = is(l, s, (d, u) => d[
|
|
808
|
+
return l && l.length && s.length > 0 && (l = is(l, s, (d, u) => d[r] === u[r])), l;
|
|
783
809
|
} catch (l) {
|
|
784
|
-
throw
|
|
810
|
+
throw St.error("Remove failed:", l), l;
|
|
785
811
|
} finally {
|
|
786
812
|
e.value = !1;
|
|
787
813
|
}
|
|
@@ -789,11 +815,11 @@ function Rl() {
|
|
|
789
815
|
function n(s, o) {
|
|
790
816
|
if (s.length === o.length)
|
|
791
817
|
return s.map((l) => ({ ...l }));
|
|
792
|
-
const
|
|
793
|
-
return
|
|
794
|
-
const d =
|
|
795
|
-
d !== -1 && (
|
|
796
|
-
}),
|
|
818
|
+
const r = J(o) || [];
|
|
819
|
+
return r && r.length && s.forEach((l) => {
|
|
820
|
+
const d = r.findIndex((u) => u.url === l.url);
|
|
821
|
+
d !== -1 && (r[d] = { ...r[d], ...l });
|
|
822
|
+
}), r;
|
|
797
823
|
}
|
|
798
824
|
return {
|
|
799
825
|
upload: t,
|
|
@@ -819,30 +845,30 @@ async function Gs(e, t, a, n) {
|
|
|
819
845
|
async function xs(e, t, a) {
|
|
820
846
|
const n = [];
|
|
821
847
|
for (let s = 0; s < e.length; s += a) {
|
|
822
|
-
const o = e.slice(s, s + a),
|
|
823
|
-
n.push(...
|
|
848
|
+
const o = e.slice(s, s + a), r = await Promise.all(o.map((l, d) => t(l, s + d)));
|
|
849
|
+
n.push(...r);
|
|
824
850
|
}
|
|
825
851
|
return n;
|
|
826
852
|
}
|
|
827
|
-
function
|
|
853
|
+
function At(e) {
|
|
828
854
|
return e.map((t, a) => ({ item: t, index: a })).sort((t, a) => {
|
|
829
855
|
const n = t.item.sortOrder ?? Number.MAX_SAFE_INTEGER, s = a.item.sortOrder ?? Number.MAX_SAFE_INTEGER;
|
|
830
856
|
return n === s ? t.index - a.index : n - s;
|
|
831
857
|
}).map(({ item: t }, a) => ({ ...t, sortOrder: a }));
|
|
832
858
|
}
|
|
833
|
-
function
|
|
834
|
-
const a = b(!1), n = b(
|
|
859
|
+
function Il(e, t) {
|
|
860
|
+
const a = b(!1), n = b(At(e.value ?? []));
|
|
835
861
|
ne(
|
|
836
862
|
() => e.value,
|
|
837
863
|
(S) => {
|
|
838
|
-
n.value =
|
|
864
|
+
n.value = At(S ?? []);
|
|
839
865
|
},
|
|
840
866
|
{ deep: !0, immediate: !0 }
|
|
841
867
|
);
|
|
842
868
|
function s() {
|
|
843
869
|
e.value = n.value;
|
|
844
870
|
}
|
|
845
|
-
const o = n,
|
|
871
|
+
const o = n, r = w(() => a.value), l = t.concurrency ?? Hs, d = t.assetKey ?? "url";
|
|
846
872
|
async function u(S, L) {
|
|
847
873
|
try {
|
|
848
874
|
a.value = !0;
|
|
@@ -884,7 +910,7 @@ function _l(e, t) {
|
|
|
884
910
|
removeMany: g,
|
|
885
911
|
reorder: f,
|
|
886
912
|
updateItem: c,
|
|
887
|
-
loading:
|
|
913
|
+
loading: r
|
|
888
914
|
};
|
|
889
915
|
}
|
|
890
916
|
const $s = (e) => {
|
|
@@ -894,7 +920,7 @@ const $s = (e) => {
|
|
|
894
920
|
window.removeEventListener("beforeunload", t);
|
|
895
921
|
});
|
|
896
922
|
function t(a) {
|
|
897
|
-
|
|
923
|
+
i(e) && a.preventDefault();
|
|
898
924
|
}
|
|
899
925
|
return {
|
|
900
926
|
modified: e
|
|
@@ -909,7 +935,7 @@ function fe(e) {
|
|
|
909
935
|
function Le(e) {
|
|
910
936
|
return !!e.multivalue;
|
|
911
937
|
}
|
|
912
|
-
function
|
|
938
|
+
function pt(e) {
|
|
913
939
|
return !!e.dictionary;
|
|
914
940
|
}
|
|
915
941
|
function Ks(e) {
|
|
@@ -921,7 +947,7 @@ function zs(e) {
|
|
|
921
947
|
function W(e) {
|
|
922
948
|
return { isInherited: !1, ...e };
|
|
923
949
|
}
|
|
924
|
-
function
|
|
950
|
+
function We(e, t) {
|
|
925
951
|
e.values && (fe(e) && t ? e.values = e.values.filter((a) => a.languageCode !== t) : e.values = [], e.values.length > 0 && e.values.every((a) => Se(a.value)) && (e.values = []));
|
|
926
952
|
}
|
|
927
953
|
const qs = {
|
|
@@ -930,7 +956,7 @@ const qs = {
|
|
|
930
956
|
},
|
|
931
957
|
set(e, t, a) {
|
|
932
958
|
if (!Array.isArray(t) && Se(t)) {
|
|
933
|
-
|
|
959
|
+
We(e, a.locale);
|
|
934
960
|
return;
|
|
935
961
|
}
|
|
936
962
|
if (fe(e)) {
|
|
@@ -965,7 +991,7 @@ const qs = {
|
|
|
965
991
|
set(e, t, a) {
|
|
966
992
|
const { dictionary: n, locale: s } = a;
|
|
967
993
|
if (!Array.isArray(t) && Se(t)) {
|
|
968
|
-
|
|
994
|
+
We(e, s);
|
|
969
995
|
return;
|
|
970
996
|
}
|
|
971
997
|
n?.length && (fe(e) ? Zs(e, t, n, s) : Qs(e, t, n));
|
|
@@ -1013,8 +1039,8 @@ function Js(e, t, a, n) {
|
|
|
1013
1039
|
})
|
|
1014
1040
|
);
|
|
1015
1041
|
else {
|
|
1016
|
-
const o = [...new Set((e.values ?? []).map((l) => l.languageCode).filter(Boolean))],
|
|
1017
|
-
e.values =
|
|
1042
|
+
const o = [...new Set((e.values ?? []).map((l) => l.languageCode).filter(Boolean))], r = o.length > 0 ? o : n ? [n] : [];
|
|
1043
|
+
e.values = r.map(
|
|
1018
1044
|
(l) => W({
|
|
1019
1045
|
propertyId: s.propertyId,
|
|
1020
1046
|
alias: s.alias,
|
|
@@ -1063,7 +1089,7 @@ const eo = {
|
|
|
1063
1089
|
},
|
|
1064
1090
|
set(e, t, a) {
|
|
1065
1091
|
if (Se(t)) {
|
|
1066
|
-
|
|
1092
|
+
We(e);
|
|
1067
1093
|
return;
|
|
1068
1094
|
}
|
|
1069
1095
|
e.values = [W({ value: t, unitOfMeasureId: a.unitOfMeasureId })];
|
|
@@ -1074,7 +1100,7 @@ const eo = {
|
|
|
1074
1100
|
},
|
|
1075
1101
|
set(e, t, a) {
|
|
1076
1102
|
if (!Array.isArray(t) && Se(t)) {
|
|
1077
|
-
|
|
1103
|
+
We(e);
|
|
1078
1104
|
return;
|
|
1079
1105
|
}
|
|
1080
1106
|
Array.isArray(t) ? e.values = t.map(
|
|
@@ -1082,10 +1108,10 @@ const eo = {
|
|
|
1082
1108
|
) : e.values = [W({ value: t, colorCode: a.colorCode })];
|
|
1083
1109
|
}
|
|
1084
1110
|
};
|
|
1085
|
-
function
|
|
1086
|
-
return Ks(e) ? eo : zs(e) && !
|
|
1111
|
+
function Tt(e) {
|
|
1112
|
+
return Ks(e) ? eo : zs(e) && !pt(e) ? to : e.valueType === "Boolean" ? Ys : pt(e) ? js : qs;
|
|
1087
1113
|
}
|
|
1088
|
-
function
|
|
1114
|
+
function vl(e) {
|
|
1089
1115
|
const { searchDictionary: t, searchMeasurements: a } = e, { loading: n, action: s } = Zt(async (u) => {
|
|
1090
1116
|
if (u)
|
|
1091
1117
|
return await t(u);
|
|
@@ -1102,26 +1128,26 @@ function Il(e) {
|
|
|
1102
1128
|
return { ...c, value: S ?? c.alias };
|
|
1103
1129
|
});
|
|
1104
1130
|
}
|
|
1105
|
-
async function
|
|
1131
|
+
async function r(u, E, g) {
|
|
1106
1132
|
if (!(!u || !a))
|
|
1107
1133
|
return await a(u, g);
|
|
1108
1134
|
}
|
|
1109
1135
|
function l(u, E) {
|
|
1110
|
-
return
|
|
1136
|
+
return Tt(u).get(u, E);
|
|
1111
1137
|
}
|
|
1112
1138
|
function d(u) {
|
|
1113
1139
|
const { property: E, value: g, ...f } = u;
|
|
1114
|
-
|
|
1140
|
+
Tt(E).set(E, g, f);
|
|
1115
1141
|
}
|
|
1116
1142
|
return {
|
|
1117
1143
|
getPropertyValue: l,
|
|
1118
1144
|
setPropertyValue: d,
|
|
1119
1145
|
loadDictionaries: o,
|
|
1120
|
-
loadMeasurements:
|
|
1146
|
+
loadMeasurements: r,
|
|
1121
1147
|
loading: Xt(n)
|
|
1122
1148
|
};
|
|
1123
1149
|
}
|
|
1124
|
-
function
|
|
1150
|
+
function wl(e) {
|
|
1125
1151
|
const t = (n) => {
|
|
1126
1152
|
}, a = (n) => {
|
|
1127
1153
|
(e ?? t)({
|
|
@@ -1133,10 +1159,10 @@ function vl(e) {
|
|
|
1133
1159
|
us(a), ds(a), cs(a), Es(a), fs(a);
|
|
1134
1160
|
}
|
|
1135
1161
|
const Jt = U("use-blade-widgets");
|
|
1136
|
-
function
|
|
1162
|
+
function Cl(e) {
|
|
1137
1163
|
const t = Q(Ht);
|
|
1138
1164
|
if (!t)
|
|
1139
|
-
throw new
|
|
1165
|
+
throw new Dt("WidgetService");
|
|
1140
1166
|
const a = t, n = Q(Gt, void 0);
|
|
1141
1167
|
if (!n)
|
|
1142
1168
|
throw new Error(
|
|
@@ -1154,14 +1180,14 @@ function wl(e) {
|
|
|
1154
1180
|
const u = a.getWidgets(s).find((E) => E.id === l);
|
|
1155
1181
|
u?.trigger?.onRefresh ? u.trigger.onRefresh() : Jt.warn(`Widget '${l}' has no trigger.onRefresh registered.`);
|
|
1156
1182
|
}
|
|
1157
|
-
function
|
|
1183
|
+
function r() {
|
|
1158
1184
|
const l = a.getWidgets(s);
|
|
1159
1185
|
for (const d of l)
|
|
1160
1186
|
d.trigger?.onRefresh && d.trigger.onRefresh();
|
|
1161
1187
|
}
|
|
1162
|
-
return { refresh: o, refreshAll:
|
|
1188
|
+
return { refresh: o, refreshAll: r };
|
|
1163
1189
|
}
|
|
1164
|
-
function
|
|
1190
|
+
function bl(e) {
|
|
1165
1191
|
const t = Q(_n);
|
|
1166
1192
|
if (!t) {
|
|
1167
1193
|
Jt.warn("useWidgetTrigger() called outside WidgetContainer scope — trigger will not be registered.");
|
|
@@ -1194,47 +1220,47 @@ function no(e) {
|
|
|
1194
1220
|
}
|
|
1195
1221
|
return t;
|
|
1196
1222
|
}
|
|
1197
|
-
function
|
|
1223
|
+
function Pl(e) {
|
|
1198
1224
|
yt(
|
|
1199
1225
|
xt,
|
|
1200
1226
|
w(() => no(Bt(e)))
|
|
1201
1227
|
);
|
|
1202
1228
|
}
|
|
1203
|
-
function
|
|
1229
|
+
function Nl() {
|
|
1204
1230
|
const e = Q(xt);
|
|
1205
1231
|
if (!e)
|
|
1206
|
-
throw new
|
|
1232
|
+
throw new Dt("BladeContext");
|
|
1207
1233
|
return e;
|
|
1208
1234
|
}
|
|
1209
|
-
function
|
|
1235
|
+
function ht(e) {
|
|
1210
1236
|
return e == null || e === "";
|
|
1211
1237
|
}
|
|
1212
|
-
function
|
|
1238
|
+
function Lt(e, t) {
|
|
1213
1239
|
return ls(e, t, (a, n) => {
|
|
1214
|
-
if (
|
|
1240
|
+
if (ht(a) && ht(n)) return !0;
|
|
1215
1241
|
});
|
|
1216
1242
|
}
|
|
1217
|
-
function
|
|
1218
|
-
const t = (
|
|
1243
|
+
function Dl(e) {
|
|
1244
|
+
const t = (r) => J(i(r)), a = b(t(e)), n = b(t(e)), s = b(!1);
|
|
1219
1245
|
Mt(e) && ne(
|
|
1220
1246
|
e,
|
|
1221
|
-
(
|
|
1222
|
-
const l = !
|
|
1223
|
-
a.value = J(
|
|
1247
|
+
(r) => {
|
|
1248
|
+
const l = !Lt(n.value, a.value);
|
|
1249
|
+
a.value = J(r), l || (n.value = J(r));
|
|
1224
1250
|
},
|
|
1225
1251
|
{ deep: !0 }
|
|
1226
1252
|
// Deep tracking, if initialValueProp is a Ref to an object/array
|
|
1227
1253
|
), ne(
|
|
1228
1254
|
[n, a],
|
|
1229
1255
|
// Track changes in currentValue or pristineValue
|
|
1230
|
-
([
|
|
1231
|
-
s.value = !
|
|
1256
|
+
([r, l]) => {
|
|
1257
|
+
s.value = !Lt(r, l);
|
|
1232
1258
|
},
|
|
1233
1259
|
{ deep: !0 }
|
|
1234
1260
|
);
|
|
1235
|
-
const o = (
|
|
1236
|
-
if (
|
|
1237
|
-
const l = t(
|
|
1261
|
+
const o = (r) => {
|
|
1262
|
+
if (r !== void 0) {
|
|
1263
|
+
const l = t(r);
|
|
1238
1264
|
a.value = l, n.value = J(l);
|
|
1239
1265
|
} else
|
|
1240
1266
|
a.value = J(n.value);
|
|
@@ -1256,20 +1282,20 @@ const co = /* @__PURE__ */ G({
|
|
|
1256
1282
|
name: "AssetsDetails",
|
|
1257
1283
|
__name: "assets-details",
|
|
1258
1284
|
setup(e) {
|
|
1259
|
-
const { options: t, closeSelf: a } =
|
|
1285
|
+
const { options: t, closeSelf: a } = lt();
|
|
1260
1286
|
de({ validateOnMount: !1 });
|
|
1261
|
-
const n = Ie(), s =
|
|
1287
|
+
const n = Ie(), s = ut(), { t: o } = ue({ useScope: "global" }), r = b({ ...t.value?.asset }), l = w(() => t.value?.disabled), d = w({
|
|
1262
1288
|
get() {
|
|
1263
|
-
const f =
|
|
1289
|
+
const f = r.value.name;
|
|
1264
1290
|
if (!f) return "";
|
|
1265
1291
|
const c = f.lastIndexOf(".");
|
|
1266
1292
|
return c > 0 ? f.slice(0, c) : f;
|
|
1267
1293
|
},
|
|
1268
1294
|
set(f) {
|
|
1269
|
-
const c =
|
|
1295
|
+
const c = r.value.name;
|
|
1270
1296
|
if (!c) return;
|
|
1271
1297
|
const S = c.lastIndexOf("."), L = S > 0 ? c.slice(S) : "";
|
|
1272
|
-
|
|
1298
|
+
r.value.name = f ? f + L : "";
|
|
1273
1299
|
}
|
|
1274
1300
|
}), u = w(() => !s.value || !n.value), E = b([
|
|
1275
1301
|
{
|
|
@@ -1277,7 +1303,7 @@ const co = /* @__PURE__ */ G({
|
|
|
1277
1303
|
title: o("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
|
|
1278
1304
|
icon: "lucide-save",
|
|
1279
1305
|
async clickHandler() {
|
|
1280
|
-
t.value?.assetEditHandler && typeof t.value?.assetEditHandler == "function" && (await t.value?.assetEditHandler(
|
|
1306
|
+
t.value?.assetEditHandler && typeof t.value?.assetEditHandler == "function" && (await t.value?.assetEditHandler(r.value), a());
|
|
1281
1307
|
},
|
|
1282
1308
|
disabled: w(() => u.value || l.value)
|
|
1283
1309
|
},
|
|
@@ -1286,100 +1312,100 @@ const co = /* @__PURE__ */ G({
|
|
|
1286
1312
|
title: o("ASSETS.PAGES.DETAILS.TOOLBAR.DELETE"),
|
|
1287
1313
|
icon: "lucide-trash-2",
|
|
1288
1314
|
async clickHandler() {
|
|
1289
|
-
t.value?.assetRemoveHandler && typeof t.value?.assetRemoveHandler == "function" && (await t.value?.assetRemoveHandler(
|
|
1315
|
+
t.value?.assetRemoveHandler && typeof t.value?.assetRemoveHandler == "function" && (await t.value?.assetRemoveHandler(r.value), a());
|
|
1290
1316
|
},
|
|
1291
1317
|
disabled: w(() => l.value)
|
|
1292
1318
|
}
|
|
1293
|
-
]), g = w(() =>
|
|
1294
|
-
return (f, c) => (C(), D(
|
|
1295
|
-
title:
|
|
1296
|
-
subtitle:
|
|
1319
|
+
]), g = w(() => r.value?.typeId);
|
|
1320
|
+
return (f, c) => (C(), D(i(Ft), {
|
|
1321
|
+
title: i(t)?.asset?.name,
|
|
1322
|
+
subtitle: i(o)("ASSETS.PAGES.DETAILS.SUBTITLE"),
|
|
1297
1323
|
"toolbar-items": E.value
|
|
1298
1324
|
}, {
|
|
1299
1325
|
default: p(() => [
|
|
1300
1326
|
V("div", so, [
|
|
1301
1327
|
V("div", oo, [
|
|
1302
|
-
_(
|
|
1328
|
+
_(i(En), { "no-padding": !0 }, {
|
|
1303
1329
|
default: p(() => [
|
|
1304
1330
|
V("div", ro, [
|
|
1305
|
-
_(
|
|
1331
|
+
_(i(ge), null, {
|
|
1306
1332
|
default: p(() => [
|
|
1307
1333
|
V("div", io, [
|
|
1308
|
-
|
|
1334
|
+
i(Kt)(r.value.name) ? (C(), D(i(it), {
|
|
1309
1335
|
key: 0,
|
|
1310
|
-
src:
|
|
1336
|
+
src: r.value.url,
|
|
1311
1337
|
size: "xl",
|
|
1312
1338
|
bordered: !0,
|
|
1313
1339
|
class: "tw-shrink-0"
|
|
1314
1340
|
}, null, 8, ["src"])) : (C(), H("div", lo, [
|
|
1315
1341
|
V("div", {
|
|
1316
1342
|
class: "assets-details__file-badge",
|
|
1317
|
-
style: kt({ backgroundColor:
|
|
1318
|
-
}, B(
|
|
1343
|
+
style: kt({ backgroundColor: i(qt)(r.value.name) })
|
|
1344
|
+
}, B(i(Yt)(r.value.name)), 5)
|
|
1319
1345
|
])),
|
|
1320
1346
|
V("div", uo, [
|
|
1321
|
-
_(
|
|
1322
|
-
label:
|
|
1323
|
-
"model-value":
|
|
1347
|
+
_(i($e), {
|
|
1348
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.SIZE"),
|
|
1349
|
+
"model-value": i(zt)(r.value.size)
|
|
1324
1350
|
}, null, 8, ["label", "model-value"]),
|
|
1325
|
-
_(
|
|
1326
|
-
label:
|
|
1327
|
-
"model-value":
|
|
1351
|
+
_(i($e), {
|
|
1352
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE"),
|
|
1353
|
+
"model-value": r.value.createdDate,
|
|
1328
1354
|
type: "date-ago"
|
|
1329
1355
|
}, null, 8, ["label", "model-value"]),
|
|
1330
|
-
_(
|
|
1331
|
-
label:
|
|
1332
|
-
"model-value":
|
|
1333
|
-
"display-value":
|
|
1356
|
+
_(i($e), {
|
|
1357
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.URL"),
|
|
1358
|
+
"model-value": r.value.url,
|
|
1359
|
+
"display-value": r.value.name,
|
|
1334
1360
|
type: "link",
|
|
1335
1361
|
copyable: ""
|
|
1336
1362
|
}, null, 8, ["label", "model-value", "display-value"])
|
|
1337
1363
|
])
|
|
1338
1364
|
]),
|
|
1339
|
-
|
|
1365
|
+
i(t)?.hiddenFields?.includes("name") ? z("", !0) : (C(), D(i(Z), {
|
|
1340
1366
|
key: 0,
|
|
1341
|
-
label:
|
|
1367
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
|
|
1342
1368
|
name: "asset_name",
|
|
1343
1369
|
rules: "required",
|
|
1344
|
-
"model-value":
|
|
1370
|
+
"model-value": r.value.name
|
|
1345
1371
|
}, {
|
|
1346
1372
|
default: p(({ errorMessage: S, handleChange: L, errors: T }) => [
|
|
1347
|
-
_(
|
|
1373
|
+
_(i(K), {
|
|
1348
1374
|
modelValue: d.value,
|
|
1349
1375
|
"onUpdate:modelValue": [
|
|
1350
1376
|
c[0] || (c[0] = (I) => d.value = I),
|
|
1351
1377
|
L
|
|
1352
1378
|
],
|
|
1353
1379
|
class: "tw-mb-4",
|
|
1354
|
-
label:
|
|
1380
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
|
|
1355
1381
|
clearable: "",
|
|
1356
1382
|
required: "",
|
|
1357
1383
|
error: !!T.length,
|
|
1358
1384
|
"error-message": S,
|
|
1359
|
-
placeholder:
|
|
1385
|
+
placeholder: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER"),
|
|
1360
1386
|
disabled: l.value
|
|
1361
1387
|
}, null, 8, ["modelValue", "label", "error", "error-message", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
1362
1388
|
]),
|
|
1363
1389
|
_: 1
|
|
1364
1390
|
}, 8, ["label", "model-value"])),
|
|
1365
|
-
g.value === "Image" && !
|
|
1391
|
+
g.value === "Image" && !i(t)?.hiddenFields?.includes("altText") ? (C(), D(i(K), {
|
|
1366
1392
|
key: 1,
|
|
1367
|
-
modelValue:
|
|
1368
|
-
"onUpdate:modelValue": c[1] || (c[1] = (S) =>
|
|
1393
|
+
modelValue: r.value.altText,
|
|
1394
|
+
"onUpdate:modelValue": c[1] || (c[1] = (S) => r.value.altText = S),
|
|
1369
1395
|
class: "tw-mb-4",
|
|
1370
|
-
label:
|
|
1396
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.TITLE"),
|
|
1371
1397
|
clearable: "",
|
|
1372
|
-
placeholder:
|
|
1373
|
-
tooltip:
|
|
1398
|
+
placeholder: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.PLACEHOLDER"),
|
|
1399
|
+
tooltip: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.TOOLTIP"),
|
|
1374
1400
|
disabled: l.value
|
|
1375
1401
|
}, null, 8, ["modelValue", "label", "placeholder", "tooltip", "disabled"])) : z("", !0),
|
|
1376
|
-
|
|
1402
|
+
i(t)?.hiddenFields?.includes("description") ? z("", !0) : (C(), D(i(fn), {
|
|
1377
1403
|
key: 2,
|
|
1378
|
-
modelValue:
|
|
1379
|
-
"onUpdate:modelValue": c[2] || (c[2] = (S) =>
|
|
1404
|
+
modelValue: r.value.description,
|
|
1405
|
+
"onUpdate:modelValue": c[2] || (c[2] = (S) => r.value.description = S),
|
|
1380
1406
|
class: "tw-mb-4",
|
|
1381
|
-
label:
|
|
1382
|
-
placeholder:
|
|
1407
|
+
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.TITLE"),
|
|
1408
|
+
placeholder: i(o)("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.PLACEHOLDER"),
|
|
1383
1409
|
disabled: l.value
|
|
1384
1410
|
}, null, 8, ["modelValue", "label", "placeholder", "disabled"]))
|
|
1385
1411
|
]),
|
|
@@ -1398,13 +1424,13 @@ const co = /* @__PURE__ */ G({
|
|
|
1398
1424
|
}), Eo = co, fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1399
1425
|
__proto__: null,
|
|
1400
1426
|
AssetsDetails: Eo
|
|
1401
|
-
}, Symbol.toStringTag, { value: "Module" })), mo =
|
|
1427
|
+
}, Symbol.toStringTag, { value: "Module" })), mo = ct({ blades: fo }), go = { class: "tw-flex tw-items-center tw-justify-center" };
|
|
1402
1428
|
Ut("AssetsManager", {});
|
|
1403
1429
|
const So = /* @__PURE__ */ G({
|
|
1404
1430
|
name: "AssetsManager",
|
|
1405
1431
|
__name: "assets-manager",
|
|
1406
1432
|
setup(e) {
|
|
1407
|
-
const t = U("assets-manager"), { options: a, openBlade: n } =
|
|
1433
|
+
const t = U("assets-manager"), { options: a, openBlade: n } = lt(), { t: s } = ue({ useScope: "global" }), o = w(() => a.value.manager), r = w(() => o.value.items.value ?? []), l = w(() => o.value.loading.value), d = w(() => a.value?.title || s("ASSETS_MANAGER.TITLE")), u = b(!1), E = b(), g = b([]), f = w(() => a.value?.disabled), c = b([
|
|
1408
1434
|
{
|
|
1409
1435
|
id: "add",
|
|
1410
1436
|
title: w(() => s("ASSETS_MANAGER.TOOLBAR.ADD")),
|
|
@@ -1455,7 +1481,7 @@ const So = /* @__PURE__ */ G({
|
|
|
1455
1481
|
}
|
|
1456
1482
|
async function O(m) {
|
|
1457
1483
|
if (!m || m.length === 0) return;
|
|
1458
|
-
const A = new Set((
|
|
1484
|
+
const A = new Set((r.value ?? []).map((P) => P.name).filter(Boolean)), R = new DataTransfer();
|
|
1459
1485
|
for (const P of Array.from(m)) {
|
|
1460
1486
|
let M = P.name;
|
|
1461
1487
|
if (A.has(M)) {
|
|
@@ -1467,7 +1493,7 @@ const So = /* @__PURE__ */ G({
|
|
|
1467
1493
|
A.add(M), R.items.add(new File([P], M, { type: P.type }));
|
|
1468
1494
|
}
|
|
1469
1495
|
try {
|
|
1470
|
-
const P =
|
|
1496
|
+
const P = r.value.reduce((M, F) => Math.max(M, F.sortOrder ?? 0), -1);
|
|
1471
1497
|
await o.value.upload(R.files, P);
|
|
1472
1498
|
} catch (P) {
|
|
1473
1499
|
throw t.error("Failed to upload assets:", P), P;
|
|
@@ -1486,7 +1512,7 @@ const So = /* @__PURE__ */ G({
|
|
|
1486
1512
|
n({
|
|
1487
1513
|
name: "AssetsDetails",
|
|
1488
1514
|
options: {
|
|
1489
|
-
asset:
|
|
1515
|
+
asset: i(m),
|
|
1490
1516
|
disabled: f.value,
|
|
1491
1517
|
hiddenFields: a.value?.hiddenFields,
|
|
1492
1518
|
assetEditHandler: (A) => {
|
|
@@ -1510,7 +1536,7 @@ const So = /* @__PURE__ */ G({
|
|
|
1510
1536
|
}
|
|
1511
1537
|
}
|
|
1512
1538
|
];
|
|
1513
|
-
return (m, A) => (C(), D(
|
|
1539
|
+
return (m, A) => (C(), D(i(Ft), {
|
|
1514
1540
|
title: d.value,
|
|
1515
1541
|
"toolbar-items": c.value,
|
|
1516
1542
|
width: "70%"
|
|
@@ -1518,14 +1544,14 @@ const So = /* @__PURE__ */ G({
|
|
|
1518
1544
|
default: p(() => [
|
|
1519
1545
|
Qa((C(), H("div", {
|
|
1520
1546
|
class: "tw-relative tw-h-full tw-flex-1",
|
|
1521
|
-
onDragover:
|
|
1522
|
-
onDragleave:
|
|
1523
|
-
onDrop:
|
|
1547
|
+
onDragover: He(L, ["prevent", "stop"]),
|
|
1548
|
+
onDragleave: He(T, ["prevent"]),
|
|
1549
|
+
onDrop: He(I, ["prevent", "stop"])
|
|
1524
1550
|
}, [
|
|
1525
|
-
_(
|
|
1551
|
+
_(i(mn), {
|
|
1526
1552
|
selection: g.value,
|
|
1527
1553
|
"onUpdate:selection": A[0] || (A[0] = (R) => g.value = R),
|
|
1528
|
-
items:
|
|
1554
|
+
items: r.value,
|
|
1529
1555
|
"state-key": "assets_manager",
|
|
1530
1556
|
"reorderable-rows": !f.value,
|
|
1531
1557
|
"selection-mode": f.value ? void 0 : "multiple",
|
|
@@ -1541,16 +1567,16 @@ const So = /* @__PURE__ */ G({
|
|
|
1541
1567
|
onRowReorder: S
|
|
1542
1568
|
}, {
|
|
1543
1569
|
default: p(() => [
|
|
1544
|
-
_(
|
|
1570
|
+
_(i(pe), {
|
|
1545
1571
|
id: "url",
|
|
1546
|
-
title:
|
|
1572
|
+
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.IMAGE"),
|
|
1547
1573
|
width: "10%",
|
|
1548
1574
|
"always-visible": "",
|
|
1549
1575
|
type: "image"
|
|
1550
1576
|
}, {
|
|
1551
1577
|
body: p(({ data: R }) => [
|
|
1552
1578
|
V("div", go, [
|
|
1553
|
-
|
|
1579
|
+
i(Kt)(R.name ?? "") ? (C(), D(i(it), {
|
|
1554
1580
|
key: 0,
|
|
1555
1581
|
bordered: !0,
|
|
1556
1582
|
size: "s",
|
|
@@ -1560,32 +1586,32 @@ const So = /* @__PURE__ */ G({
|
|
|
1560
1586
|
}, null, 8, ["src"])) : (C(), H("div", {
|
|
1561
1587
|
key: 1,
|
|
1562
1588
|
class: "assets-manager__file-badge",
|
|
1563
|
-
style: kt({ backgroundColor:
|
|
1564
|
-
}, B(
|
|
1589
|
+
style: kt({ backgroundColor: i(qt)(R.name ?? "") })
|
|
1590
|
+
}, B(i(Yt)(R.name ?? "")), 5))
|
|
1565
1591
|
])
|
|
1566
1592
|
]),
|
|
1567
1593
|
_: 1
|
|
1568
1594
|
}, 8, ["title"]),
|
|
1569
|
-
_(
|
|
1595
|
+
_(i(pe), {
|
|
1570
1596
|
id: "name",
|
|
1571
|
-
title:
|
|
1597
|
+
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.NAME"),
|
|
1572
1598
|
width: "20%",
|
|
1573
1599
|
"always-visible": ""
|
|
1574
1600
|
}, null, 8, ["title"]),
|
|
1575
|
-
_(
|
|
1601
|
+
_(i(pe), {
|
|
1576
1602
|
id: "size",
|
|
1577
|
-
title:
|
|
1603
|
+
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.SIZE"),
|
|
1578
1604
|
width: "20%",
|
|
1579
1605
|
"always-visible": ""
|
|
1580
1606
|
}, {
|
|
1581
1607
|
body: p(({ data: R }) => [
|
|
1582
|
-
V("div", null, B(
|
|
1608
|
+
V("div", null, B(i(zt)(R.size ?? 0)), 1)
|
|
1583
1609
|
]),
|
|
1584
1610
|
_: 1
|
|
1585
1611
|
}, 8, ["title"]),
|
|
1586
|
-
_(
|
|
1612
|
+
_(i(pe), {
|
|
1587
1613
|
id: "sortOrder",
|
|
1588
|
-
title:
|
|
1614
|
+
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER"),
|
|
1589
1615
|
width: "25%",
|
|
1590
1616
|
"always-visible": ""
|
|
1591
1617
|
}, {
|
|
@@ -1594,9 +1620,9 @@ const So = /* @__PURE__ */ G({
|
|
|
1594
1620
|
]),
|
|
1595
1621
|
_: 1
|
|
1596
1622
|
}, 8, ["title"]),
|
|
1597
|
-
_(
|
|
1623
|
+
_(i(pe), {
|
|
1598
1624
|
id: "createdDate",
|
|
1599
|
-
title:
|
|
1625
|
+
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE"),
|
|
1600
1626
|
width: "25%",
|
|
1601
1627
|
type: "date-ago",
|
|
1602
1628
|
"always-visible": ""
|
|
@@ -1605,7 +1631,7 @@ const So = /* @__PURE__ */ G({
|
|
|
1605
1631
|
_: 1
|
|
1606
1632
|
}, 8, ["selection", "items", "reorderable-rows", "selection-mode", "row-actions", "empty-state"])
|
|
1607
1633
|
], 32)), [
|
|
1608
|
-
[
|
|
1634
|
+
[i(Ma), l.value]
|
|
1609
1635
|
]),
|
|
1610
1636
|
V("input", {
|
|
1611
1637
|
ref_key: "uploader",
|
|
@@ -1623,16 +1649,16 @@ const So = /* @__PURE__ */ G({
|
|
|
1623
1649
|
}), Ao = So, po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1624
1650
|
__proto__: null,
|
|
1625
1651
|
AssetsManager: Ao
|
|
1626
|
-
}, Symbol.toStringTag, { value: "Module" })), To =
|
|
1652
|
+
}, Symbol.toStringTag, { value: "Module" })), To = ct({ blades: po }), Ot = U("connection-status"), Rt = "vc-framework-offline-status", _t = b(!1), It = b(!0);
|
|
1627
1653
|
function Qt() {
|
|
1628
|
-
if (!
|
|
1629
|
-
|
|
1654
|
+
if (!_t.value && typeof window < "u") {
|
|
1655
|
+
_t.value = !0;
|
|
1630
1656
|
const { isOnline: e } = Da();
|
|
1631
1657
|
ne(
|
|
1632
1658
|
e,
|
|
1633
1659
|
(t) => {
|
|
1634
|
-
|
|
1635
|
-
notificationId:
|
|
1660
|
+
It.value = t, t ? (Ot.info("Network connection restored"), q.remove(Rt), document.documentElement.classList.remove("vc-offline")) : (Ot.warn("Network connection lost"), q.warning("You are currently offline. Some features may be unavailable.", {
|
|
1661
|
+
notificationId: Rt,
|
|
1636
1662
|
timeout: !1
|
|
1637
1663
|
}), document.documentElement.classList.add("vc-offline"));
|
|
1638
1664
|
},
|
|
@@ -1640,52 +1666,52 @@ function Qt() {
|
|
|
1640
1666
|
);
|
|
1641
1667
|
}
|
|
1642
1668
|
return {
|
|
1643
|
-
isOnline:
|
|
1669
|
+
isOnline: Me(It)
|
|
1644
1670
|
};
|
|
1645
1671
|
}
|
|
1646
|
-
const
|
|
1647
|
-
let
|
|
1672
|
+
const qe = U("slow-network"), ho = 1e4, Lo = ["slow-2g", "2g"];
|
|
1673
|
+
let Ye = null;
|
|
1648
1674
|
const ea = "vc-framework-slow-network", Oo = 3e3, Ro = "Your network is slow or the server is taking longer than usual. Please be patient.";
|
|
1649
1675
|
let ae = null;
|
|
1650
|
-
function
|
|
1676
|
+
function vt() {
|
|
1651
1677
|
q.warning(Ro, {
|
|
1652
1678
|
notificationId: ea,
|
|
1653
1679
|
timeout: !1
|
|
1654
1680
|
});
|
|
1655
1681
|
}
|
|
1656
|
-
function
|
|
1682
|
+
function wt() {
|
|
1657
1683
|
q.remove(ea);
|
|
1658
1684
|
}
|
|
1659
|
-
const
|
|
1685
|
+
const Ct = b(!1), ke = b(0), et = b(!1), Ve = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Set(), je = w(() => ke.value > 0 || et.value);
|
|
1660
1686
|
function _o(e) {
|
|
1661
1687
|
const t = setTimeout(() => {
|
|
1662
|
-
|
|
1688
|
+
ke.value++, Ve.delete(e), tt.add(e);
|
|
1663
1689
|
}, ho);
|
|
1664
|
-
|
|
1690
|
+
Ve.set(e, t);
|
|
1665
1691
|
}
|
|
1666
1692
|
function Io(e) {
|
|
1667
|
-
const t =
|
|
1668
|
-
t != null ? (clearTimeout(t),
|
|
1693
|
+
const t = Ve.get(e);
|
|
1694
|
+
t != null ? (clearTimeout(t), Ve.delete(e)) : tt.has(e) && (ke.value = Math.max(0, ke.value - 1), tt.delete(e));
|
|
1669
1695
|
}
|
|
1670
1696
|
function ta() {
|
|
1671
|
-
if (!
|
|
1672
|
-
|
|
1697
|
+
if (!Ct.value && typeof window < "u") {
|
|
1698
|
+
Ct.value = !0;
|
|
1673
1699
|
const e = navigator.connection;
|
|
1674
|
-
e && (
|
|
1700
|
+
e && (Ye = () => {
|
|
1675
1701
|
const a = Lo.includes(e.effectiveType);
|
|
1676
|
-
a !== et.value &&
|
|
1677
|
-
}, e.addEventListener("change",
|
|
1702
|
+
a !== et.value && qe.info(`Connection type: ${e.effectiveType} → ${a ? "slow" : "normal"}`), et.value = a;
|
|
1703
|
+
}, e.addEventListener("change", Ye), Ye());
|
|
1678
1704
|
const { isOnline: t } = Qt();
|
|
1679
|
-
ne(
|
|
1680
|
-
a ? (ae != null && (clearTimeout(ae), ae = null), t.value && (
|
|
1681
|
-
|
|
1705
|
+
ne(je, (a) => {
|
|
1706
|
+
a ? (ae != null && (clearTimeout(ae), ae = null), t.value && (qe.info("Slow network detected — showing notification"), vt())) : ae = setTimeout(() => {
|
|
1707
|
+
qe.info("Network recovered — hiding notification"), wt(), ae = null;
|
|
1682
1708
|
}, Oo);
|
|
1683
1709
|
}), ne(t, (a) => {
|
|
1684
|
-
a ?
|
|
1710
|
+
a ? je.value && vt() : (ae != null && (clearTimeout(ae), ae = null), wt());
|
|
1685
1711
|
});
|
|
1686
1712
|
}
|
|
1687
1713
|
return {
|
|
1688
|
-
isSlowNetwork:
|
|
1714
|
+
isSlowNetwork: je,
|
|
1689
1715
|
trackRequest: _o,
|
|
1690
1716
|
untrackRequest: Io
|
|
1691
1717
|
};
|
|
@@ -1706,7 +1732,7 @@ function wo(e) {
|
|
|
1706
1732
|
function Co(e) {
|
|
1707
1733
|
if (window.fetch.__vcInterceptorsInstalled__)
|
|
1708
1734
|
return Te.warn("registerInterceptors called twice — ignoring second install"), window.fetch;
|
|
1709
|
-
const { fetch: a } = window, { signOut: n, isAuthenticated: s } = oe(), { trackRequest: o, untrackRequest:
|
|
1735
|
+
const { fetch: a } = window, { signOut: n, isAuthenticated: s } = oe(), { trackRequest: o, untrackRequest: r } = ta();
|
|
1710
1736
|
let l = 0;
|
|
1711
1737
|
const d = (async (...u) => {
|
|
1712
1738
|
if (window.__DEMO_MODE__)
|
|
@@ -1769,7 +1795,7 @@ Please log in again or contact the administrator for assistance.`
|
|
|
1769
1795
|
} catch (O) {
|
|
1770
1796
|
throw L ? new Error("Request timed out. Please try again.") : O;
|
|
1771
1797
|
} finally {
|
|
1772
|
-
|
|
1798
|
+
r(c), clearTimeout(T), I && I.removeEventListener("abort", v);
|
|
1773
1799
|
}
|
|
1774
1800
|
}
|
|
1775
1801
|
});
|
|
@@ -1846,39 +1872,39 @@ const aa = { THEMES: { LIGHT: "Light", DARK: "Dark" }, NOTIFICATIONS: { CLEAR_AL
|
|
|
1846
1872
|
__proto__: null,
|
|
1847
1873
|
de: yo,
|
|
1848
1874
|
en: No
|
|
1849
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1875
|
+
}, Symbol.toStringTag, { value: "Module" })), Ze = U("global-error-handler");
|
|
1850
1876
|
function Ne(e) {
|
|
1851
1877
|
return e instanceof Error ? `${e.name}:${e.message}` : String(e);
|
|
1852
1878
|
}
|
|
1853
|
-
const he = /* @__PURE__ */ new Map(),
|
|
1854
|
-
function
|
|
1879
|
+
const he = /* @__PURE__ */ new Map(), bt = 3e3;
|
|
1880
|
+
function Xe(e) {
|
|
1855
1881
|
const t = Ne(e), a = Date.now(), n = he.get(t);
|
|
1856
|
-
if (n && a - n <
|
|
1882
|
+
if (n && a - n < bt) return !0;
|
|
1857
1883
|
if (he.set(t, a), he.size > 50)
|
|
1858
1884
|
for (const [s, o] of he)
|
|
1859
|
-
a - o >
|
|
1885
|
+
a - o > bt && he.delete(s);
|
|
1860
1886
|
return !1;
|
|
1861
1887
|
}
|
|
1862
1888
|
function Mo(e) {
|
|
1863
1889
|
const t = e.config.errorHandler;
|
|
1864
|
-
if (e.config.errorHandler = (o,
|
|
1865
|
-
if (
|
|
1866
|
-
Info:`, l), !
|
|
1890
|
+
if (e.config.errorHandler = (o, r, l) => {
|
|
1891
|
+
if (Ze.error("Unhandled Vue error:", o, `
|
|
1892
|
+
Info:`, l), !Xe(o)) {
|
|
1867
1893
|
const d = be(o);
|
|
1868
1894
|
q.error(d.message, {
|
|
1869
1895
|
timeout: 8e3,
|
|
1870
1896
|
notificationId: `global-vue-${Ne(o)}`
|
|
1871
1897
|
});
|
|
1872
1898
|
}
|
|
1873
|
-
t?.(o,
|
|
1899
|
+
t?.(o, r, l);
|
|
1874
1900
|
}, typeof window > "u") return;
|
|
1875
1901
|
const a = window;
|
|
1876
1902
|
if (a.__VC_GLOBAL_ERROR_HANDLERS_INSTALLED__) return;
|
|
1877
1903
|
a.__VC_GLOBAL_ERROR_HANDLERS_INSTALLED__ = !0;
|
|
1878
1904
|
const n = (o) => {
|
|
1879
|
-
if (
|
|
1880
|
-
const
|
|
1881
|
-
q.error(
|
|
1905
|
+
if (Ze.error("Unhandled rejection:", o.reason), !Xe(o.reason)) {
|
|
1906
|
+
const r = be(o.reason);
|
|
1907
|
+
q.error(r.message, {
|
|
1882
1908
|
timeout: 8e3,
|
|
1883
1909
|
notificationId: `global-rejection-${Ne(o.reason)}`
|
|
1884
1910
|
});
|
|
@@ -1886,9 +1912,9 @@ Info:`, l), !Ze(o)) {
|
|
|
1886
1912
|
};
|
|
1887
1913
|
window.addEventListener("unhandledrejection", n);
|
|
1888
1914
|
const s = (o) => {
|
|
1889
|
-
if (o.error && (
|
|
1890
|
-
const
|
|
1891
|
-
q.error(
|
|
1915
|
+
if (o.error && (Ze.error("Uncaught error:", o.error), !Xe(o.error))) {
|
|
1916
|
+
const r = be(o.error);
|
|
1917
|
+
q.error(r.message, {
|
|
1892
1918
|
timeout: 8e3,
|
|
1893
1919
|
notificationId: `global-error-${Ne(o.error)}`
|
|
1894
1920
|
});
|
|
@@ -1905,15 +1931,15 @@ const ko = U("notification-instance"), j = {
|
|
|
1905
1931
|
"bottom-left": void 0
|
|
1906
1932
|
};
|
|
1907
1933
|
function Vo() {
|
|
1908
|
-
function e(s, o,
|
|
1909
|
-
document.getElementById(o) && (j[
|
|
1934
|
+
function e(s, o, r) {
|
|
1935
|
+
document.getElementById(o) && (j[r] = s);
|
|
1910
1936
|
}
|
|
1911
1937
|
function t(s) {
|
|
1912
1938
|
try {
|
|
1913
|
-
s ? j[s] && (j[s]?.unmount(), document.getElementById(`notification-${s}`)?.remove(), j[s] = void 0) : (Object.keys(j).forEach((
|
|
1914
|
-
const l =
|
|
1939
|
+
s ? j[s] && (j[s]?.unmount(), document.getElementById(`notification-${s}`)?.remove(), j[s] = void 0) : (Object.keys(j).forEach((r) => {
|
|
1940
|
+
const l = r;
|
|
1915
1941
|
j[l]?.unmount(), document.getElementById(`notification-${l}`)?.remove(), j[l] = void 0;
|
|
1916
|
-
}), Object.values(j).some((
|
|
1942
|
+
}), Object.values(j).some((r) => r !== void 0) || document.querySelector(".notification")?.remove());
|
|
1917
1943
|
} catch (o) {
|
|
1918
1944
|
ko.error("Failed to unmount notification component:", o);
|
|
1919
1945
|
}
|
|
@@ -1940,7 +1966,7 @@ const ce = U("notification-container"), x = {
|
|
|
1940
1966
|
"bottom-center": b([]),
|
|
1941
1967
|
"bottom-right": b([]),
|
|
1942
1968
|
"bottom-left": b([])
|
|
1943
|
-
}, { clearContainer: Uo, unmountComponent: Fo, saveInstance: Wo, getInstanceByPosition:
|
|
1969
|
+
}, { clearContainer: Uo, unmountComponent: Fo, saveInstance: Wo, getInstanceByPosition: Pt } = Vo();
|
|
1944
1970
|
function Ho() {
|
|
1945
1971
|
const e = le({
|
|
1946
1972
|
timeout: 3e3,
|
|
@@ -1962,9 +1988,9 @@ function Ho() {
|
|
|
1962
1988
|
return c || (c = document.createElement("div"), c.className = "notification__container", c.id = `notification-${u}`, c.setAttribute("data-position", u), E || (g.className = "notification", document.body.appendChild(g)), g.appendChild(c)), c;
|
|
1963
1989
|
}
|
|
1964
1990
|
const o = /* @__PURE__ */ new Map();
|
|
1965
|
-
async function
|
|
1991
|
+
async function r(u) {
|
|
1966
1992
|
const E = u.position || e.position, g = o.get(E);
|
|
1967
|
-
if (g && await g, !
|
|
1993
|
+
if (g && await g, !Pt(E)) {
|
|
1968
1994
|
const f = (async () => {
|
|
1969
1995
|
const c = s(E), { default: S } = await Promise.resolve().then(() => Ar), L = en(S, {
|
|
1970
1996
|
...u,
|
|
@@ -2028,7 +2054,7 @@ function Ho() {
|
|
|
2028
2054
|
...E,
|
|
2029
2055
|
...u
|
|
2030
2056
|
}, S = u.position;
|
|
2031
|
-
|
|
2057
|
+
Pt(S) ? (ce.debug(`Adding to existing container for position ${S}`), x[S].value.push(c)) : (ce.debug(`Creating new container for position ${S}`), r(c));
|
|
2032
2058
|
} else
|
|
2033
2059
|
ce.debug("Standard update of notification properties"), Object.keys(u).forEach((c) => {
|
|
2034
2060
|
if (c !== "updateId" && c !== "notificationId") {
|
|
@@ -2052,7 +2078,7 @@ function Ho() {
|
|
|
2052
2078
|
actions: d,
|
|
2053
2079
|
getAllNotifications: t,
|
|
2054
2080
|
getNotificationsByPosition: a,
|
|
2055
|
-
appendInstance:
|
|
2081
|
+
appendInstance: r,
|
|
2056
2082
|
getNotification: n,
|
|
2057
2083
|
generateNotificationId: ka,
|
|
2058
2084
|
hasNotification: l
|
|
@@ -2069,12 +2095,12 @@ function Go() {
|
|
|
2069
2095
|
hasNotification: (t) => e.hasNotification(t)
|
|
2070
2096
|
});
|
|
2071
2097
|
}
|
|
2072
|
-
const xo = "2.4.0-
|
|
2098
|
+
const xo = "2.4.0-pr300.83479a4";
|
|
2073
2099
|
function $o() {
|
|
2074
2100
|
return {
|
|
2075
2101
|
version: xo,
|
|
2076
|
-
buildDate: "2026-08-13T13:
|
|
2077
|
-
gitHash: "
|
|
2102
|
+
buildDate: "2026-08-13T13:56:16.971Z",
|
|
2103
|
+
gitHash: "83479a475"
|
|
2078
2104
|
};
|
|
2079
2105
|
}
|
|
2080
2106
|
function Ko(e = $o()) {
|
|
@@ -2095,17 +2121,17 @@ const zo = /* @__PURE__ */ G({
|
|
|
2095
2121
|
},
|
|
2096
2122
|
emits: ["close"],
|
|
2097
2123
|
setup(e, { emit: t }) {
|
|
2098
|
-
const a = e, n = t, { isMobile: s, isDesktop: o } = Ua(),
|
|
2124
|
+
const a = e, n = t, { isMobile: s, isDesktop: o } = Ua(), r = w(() => a.render === "always" ? !0 : a.render === "mobile" ? s.value : o.value), l = w(() => a.isExpanded && r.value);
|
|
2099
2125
|
function d(u) {
|
|
2100
2126
|
u || n("close");
|
|
2101
2127
|
}
|
|
2102
|
-
return (u, E) => l.value ? (C(), D(
|
|
2128
|
+
return (u, E) => l.value ? (C(), D(i(gn), {
|
|
2103
2129
|
key: 0,
|
|
2104
2130
|
"model-value": !0,
|
|
2105
2131
|
position: e.position,
|
|
2106
2132
|
title: e.title,
|
|
2107
2133
|
"close-button": e.closeCross,
|
|
2108
|
-
teleport: !
|
|
2134
|
+
teleport: !i(o),
|
|
2109
2135
|
"onUpdate:modelValue": d
|
|
2110
2136
|
}, Oe({
|
|
2111
2137
|
default: p(() => [
|
|
@@ -2122,7 +2148,7 @@ const zo = /* @__PURE__ */ G({
|
|
|
2122
2148
|
} : void 0
|
|
2123
2149
|
]), 1032, ["position", "title", "close-button", "teleport"])) : Y(u.$slots, "content", { key: 1 });
|
|
2124
2150
|
}
|
|
2125
|
-
}),
|
|
2151
|
+
}), yl = zo, qo = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, Yo = /* @__PURE__ */ G({
|
|
2126
2152
|
__name: "external-provider",
|
|
2127
2153
|
props: {
|
|
2128
2154
|
logo: {},
|
|
@@ -2132,14 +2158,14 @@ const zo = /* @__PURE__ */ G({
|
|
|
2132
2158
|
emits: ["signIn"],
|
|
2133
2159
|
setup(e) {
|
|
2134
2160
|
const t = e, a = w(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
|
|
2135
|
-
return (n, s) => (C(), D(
|
|
2161
|
+
return (n, s) => (C(), D(i($), {
|
|
2136
2162
|
variant: "secondary",
|
|
2137
2163
|
class: "vc-external-provider",
|
|
2138
2164
|
onClick: s[0] || (s[0] = (o) => n.$emit("signIn"))
|
|
2139
2165
|
}, {
|
|
2140
2166
|
default: p(() => [
|
|
2141
2167
|
V("div", qo, [
|
|
2142
|
-
_(
|
|
2168
|
+
_(i(it), {
|
|
2143
2169
|
src: a.value,
|
|
2144
2170
|
class: "vc-external-provider__icon",
|
|
2145
2171
|
size: "xxs"
|
|
@@ -2158,12 +2184,12 @@ const zo = /* @__PURE__ */ G({
|
|
|
2158
2184
|
setup(e) {
|
|
2159
2185
|
const { signIn: t } = $t();
|
|
2160
2186
|
return (a, n) => (C(), H("div", jo, [
|
|
2161
|
-
(C(!0), H(se, null,
|
|
2187
|
+
(C(!0), H(se, null, Fe(e.providers, (s) => (C(), D(Yo, {
|
|
2162
2188
|
key: s.authenticationType,
|
|
2163
2189
|
logo: s.logoUrl,
|
|
2164
2190
|
"display-name": s.displayName,
|
|
2165
2191
|
"authentication-type": s.authenticationType,
|
|
2166
|
-
onSignIn: (o) =>
|
|
2192
|
+
onSignIn: (o) => i(t)(s.authenticationType)
|
|
2167
2193
|
}, null, 8, ["logo", "display-name", "authentication-type", "onSignIn"]))), 128))
|
|
2168
2194
|
]));
|
|
2169
2195
|
}
|
|
@@ -2196,12 +2222,12 @@ const er = {
|
|
|
2196
2222
|
ssoOnly: { type: Boolean }
|
|
2197
2223
|
},
|
|
2198
2224
|
setup(e) {
|
|
2199
|
-
const t = U("login-page"), a = e, { t: n } = ue({ useScope: "global" }), s = ve(), { validateField: o } = de({ validateOnMount: !1 }), { uiSettings:
|
|
2225
|
+
const t = U("login-page"), a = e, { t: n } = ue({ useScope: "global" }), s = ve(), { validateField: o } = de({ validateOnMount: !1 }), { uiSettings: r, loading: l } = we(), d = b({ succeeded: !0 }), { signIn: u, loading: E, user: g } = oe(), { getProviders: f } = $t(), c = Ie(), S = b(), L = b(!1);
|
|
2200
2226
|
Re(async () => {
|
|
2201
2227
|
S.value = await f(), L.value = !0;
|
|
2202
2228
|
});
|
|
2203
2229
|
const T = w(() => ({
|
|
2204
|
-
logo: l.value ? "" :
|
|
2230
|
+
logo: l.value ? "" : r.value?.logo || a.logo
|
|
2205
2231
|
})), I = le({
|
|
2206
2232
|
username: "",
|
|
2207
2233
|
password: ""
|
|
@@ -2221,7 +2247,7 @@ const er = {
|
|
|
2221
2247
|
}, O = () => {
|
|
2222
2248
|
s.push({ name: "ForgotPassword" });
|
|
2223
2249
|
};
|
|
2224
|
-
return t.debug("Init login-page"), (h, N) => (C(), D(
|
|
2250
|
+
return t.debug("Init login-page"), (h, N) => (C(), D(i(_e), {
|
|
2225
2251
|
logo: T.value.logo,
|
|
2226
2252
|
background: e.background,
|
|
2227
2253
|
title: e.title || h.$t("LOGIN.TITLE"),
|
|
@@ -2233,7 +2259,7 @@ const er = {
|
|
|
2233
2259
|
_(Zo, { providers: S.value }, null, 8, ["providers"]),
|
|
2234
2260
|
e.ssoOnly ? z("", !0) : (C(), H("div", tr, B(h.$t("LOGIN.OR")), 1))
|
|
2235
2261
|
])) : z("", !0),
|
|
2236
|
-
e.ssoOnly && L.value && !S.value?.length ? (C(), D(
|
|
2262
|
+
e.ssoOnly && L.value && !S.value?.length ? (C(), D(i(Ee), {
|
|
2237
2263
|
key: 1,
|
|
2238
2264
|
class: "tw-mt-4 tw-text-danger-500"
|
|
2239
2265
|
}, {
|
|
@@ -2243,19 +2269,19 @@ const er = {
|
|
|
2243
2269
|
_: 1
|
|
2244
2270
|
})) : z("", !0),
|
|
2245
2271
|
e.ssoOnly ? z("", !0) : (C(), H(se, { key: 2 }, [
|
|
2246
|
-
_(
|
|
2272
|
+
_(i(ge), {
|
|
2247
2273
|
class: "tw-gap-5",
|
|
2248
2274
|
onSubmit: v
|
|
2249
2275
|
}, {
|
|
2250
2276
|
default: p(() => [
|
|
2251
|
-
_(
|
|
2277
|
+
_(i(Z), {
|
|
2252
2278
|
label: h.$t("LOGIN.FIELDS.LOGIN.LABEL"),
|
|
2253
2279
|
name: "username",
|
|
2254
2280
|
"model-value": I.username,
|
|
2255
2281
|
rules: "required"
|
|
2256
2282
|
}, {
|
|
2257
2283
|
default: p(({ errorMessage: y, handleChange: m, errors: A }) => [
|
|
2258
|
-
_(
|
|
2284
|
+
_(i(K), {
|
|
2259
2285
|
ref: "loginField",
|
|
2260
2286
|
modelValue: I.username,
|
|
2261
2287
|
"onUpdate:modelValue": [
|
|
@@ -2272,14 +2298,14 @@ const er = {
|
|
|
2272
2298
|
]),
|
|
2273
2299
|
_: 1
|
|
2274
2300
|
}, 8, ["label", "model-value"]),
|
|
2275
|
-
_(
|
|
2301
|
+
_(i(Z), {
|
|
2276
2302
|
label: h.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
|
|
2277
2303
|
name: "password",
|
|
2278
2304
|
"model-value": I.password,
|
|
2279
2305
|
rules: "required"
|
|
2280
2306
|
}, {
|
|
2281
2307
|
default: p(({ errorMessage: y, handleChange: m, errors: A }) => [
|
|
2282
|
-
_(
|
|
2308
|
+
_(i(K), {
|
|
2283
2309
|
ref: "passwordField",
|
|
2284
2310
|
modelValue: I.password,
|
|
2285
2311
|
"onUpdate:modelValue": [
|
|
@@ -2293,17 +2319,17 @@ const er = {
|
|
|
2293
2319
|
required: "",
|
|
2294
2320
|
error: !!A.length,
|
|
2295
2321
|
"error-message": y,
|
|
2296
|
-
onKeyup:
|
|
2322
|
+
onKeyup: rt(v, ["enter"])
|
|
2297
2323
|
}, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
|
|
2298
2324
|
]),
|
|
2299
2325
|
_: 1
|
|
2300
2326
|
}, 8, ["label", "model-value"]),
|
|
2301
|
-
_(
|
|
2327
|
+
_(i($), {
|
|
2302
2328
|
variant: "primary",
|
|
2303
2329
|
class: "tw-w-full",
|
|
2304
2330
|
icon: "lucide-log-in",
|
|
2305
|
-
disabled: !
|
|
2306
|
-
loading:
|
|
2331
|
+
disabled: !i(c),
|
|
2332
|
+
loading: i(E),
|
|
2307
2333
|
onClick: v
|
|
2308
2334
|
}, {
|
|
2309
2335
|
default: p(() => [
|
|
@@ -2311,7 +2337,7 @@ const er = {
|
|
|
2311
2337
|
]),
|
|
2312
2338
|
_: 1
|
|
2313
2339
|
}, 8, ["disabled", "loading"]),
|
|
2314
|
-
_(
|
|
2340
|
+
_(i($), {
|
|
2315
2341
|
variant: "link",
|
|
2316
2342
|
class: "tw-w-full tw-justify-center",
|
|
2317
2343
|
type: "button",
|
|
@@ -2325,13 +2351,13 @@ const er = {
|
|
|
2325
2351
|
]),
|
|
2326
2352
|
_: 1
|
|
2327
2353
|
}),
|
|
2328
|
-
_(
|
|
2354
|
+
_(i(ms), {
|
|
2329
2355
|
name: "auth:after-form",
|
|
2330
2356
|
separator: "",
|
|
2331
2357
|
"separator-class": "tw-border-t tw-border-[color:var(--login-separator)] tw-border-solid tw-pb-5",
|
|
2332
2358
|
"wrapper-class": "vc-login-page__separator"
|
|
2333
2359
|
}),
|
|
2334
|
-
d.value.succeeded ? z("", !0) : (C(), D(
|
|
2360
|
+
d.value.succeeded ? z("", !0) : (C(), D(i(Ee), {
|
|
2335
2361
|
key: 0,
|
|
2336
2362
|
class: "tw-mt-4 tw-text-danger-500"
|
|
2337
2363
|
}, {
|
|
@@ -2345,7 +2371,7 @@ const er = {
|
|
|
2345
2371
|
_: 1
|
|
2346
2372
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2347
2373
|
}
|
|
2348
|
-
}),
|
|
2374
|
+
}), Bl = ar, nr = { class: "tw-text-center" }, sr = { class: "tw-text-center tw-mb-6" }, or = { class: "tw-text-sm tw-text-neutrals-600" }, rr = /* @__PURE__ */ G({
|
|
2349
2375
|
__name: "ForgotPassword",
|
|
2350
2376
|
props: {
|
|
2351
2377
|
logo: {},
|
|
@@ -2355,7 +2381,7 @@ const er = {
|
|
|
2355
2381
|
setup(e) {
|
|
2356
2382
|
const t = e, a = ve(), { t: n } = ue({ useScope: "global" });
|
|
2357
2383
|
de({ validateOnMount: !1 });
|
|
2358
|
-
const s = Ie(), { uiSettings: o, loading:
|
|
2384
|
+
const s = Ie(), { uiSettings: o, loading: r } = we(), l = b(!1), d = b(""), u = b(!1), E = le({
|
|
2359
2385
|
loginOrEmail: ""
|
|
2360
2386
|
});
|
|
2361
2387
|
let g;
|
|
@@ -2368,7 +2394,7 @@ const er = {
|
|
|
2368
2394
|
};
|
|
2369
2395
|
}
|
|
2370
2396
|
const f = w(() => ({
|
|
2371
|
-
logo:
|
|
2397
|
+
logo: r.value ? "" : o.value?.logo || t.logo
|
|
2372
2398
|
})), c = w(() => {
|
|
2373
2399
|
const T = E.loginOrEmail, [I, v] = T.split("@");
|
|
2374
2400
|
return !I || !v ? T : `${I.length > 2 ? I[0] + "***" + I[I.length - 1] : I[0] + "***"}@${v}`;
|
|
@@ -2384,38 +2410,38 @@ const er = {
|
|
|
2384
2410
|
}, L = () => {
|
|
2385
2411
|
a.push({ name: "Login" });
|
|
2386
2412
|
};
|
|
2387
|
-
return (T, I) => (C(), D(
|
|
2413
|
+
return (T, I) => (C(), D(i(_e), {
|
|
2388
2414
|
logo: f.value.logo,
|
|
2389
2415
|
background: e.background,
|
|
2390
|
-
title: u.value ?
|
|
2391
|
-
subtitle: u.value ? void 0 :
|
|
2416
|
+
title: u.value ? i(n)("FORGOT_PASSWORD.SUCCESS_TITLE") : i(n)("FORGOT_PASSWORD.TITLE"),
|
|
2417
|
+
subtitle: u.value ? void 0 : i(n)("FORGOT_PASSWORD.SUBTITLE")
|
|
2392
2418
|
}, {
|
|
2393
2419
|
default: p(() => [
|
|
2394
2420
|
u.value ? (C(), H(se, { key: 1 }, [
|
|
2395
2421
|
V("div", sr, [
|
|
2396
|
-
V("p", or, B(
|
|
2422
|
+
V("p", or, B(i(n)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: c.value })), 1)
|
|
2397
2423
|
]),
|
|
2398
|
-
_(
|
|
2424
|
+
_(i($), {
|
|
2399
2425
|
variant: "primary",
|
|
2400
2426
|
class: "tw-w-full",
|
|
2401
2427
|
onClick: L
|
|
2402
2428
|
}, {
|
|
2403
2429
|
default: p(() => [
|
|
2404
|
-
k(B(
|
|
2430
|
+
k(B(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
|
|
2405
2431
|
]),
|
|
2406
2432
|
_: 1
|
|
2407
2433
|
})
|
|
2408
2434
|
], 64)) : (C(), H(se, { key: 0 }, [
|
|
2409
|
-
_(
|
|
2435
|
+
_(i(ge), { onSubmit: S }, {
|
|
2410
2436
|
default: p(() => [
|
|
2411
|
-
_(
|
|
2412
|
-
label:
|
|
2437
|
+
_(i(Z), {
|
|
2438
|
+
label: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
|
|
2413
2439
|
name: "loginOrEmail",
|
|
2414
2440
|
"model-value": E.loginOrEmail,
|
|
2415
2441
|
rules: "required|email"
|
|
2416
2442
|
}, {
|
|
2417
2443
|
default: p(({ errorMessage: v, handleChange: O, errors: h }) => [
|
|
2418
|
-
_(
|
|
2444
|
+
_(i(K), {
|
|
2419
2445
|
ref: "emailField",
|
|
2420
2446
|
modelValue: E.loginOrEmail,
|
|
2421
2447
|
"onUpdate:modelValue": [
|
|
@@ -2423,8 +2449,8 @@ const er = {
|
|
|
2423
2449
|
O
|
|
2424
2450
|
],
|
|
2425
2451
|
class: "tw-mb-6",
|
|
2426
|
-
label:
|
|
2427
|
-
placeholder:
|
|
2452
|
+
label: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
|
|
2453
|
+
placeholder: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.PLACEHOLDER"),
|
|
2428
2454
|
required: "",
|
|
2429
2455
|
error: !!h.length,
|
|
2430
2456
|
"error-message": v
|
|
@@ -2432,20 +2458,20 @@ const er = {
|
|
|
2432
2458
|
]),
|
|
2433
2459
|
_: 1
|
|
2434
2460
|
}, 8, ["label", "model-value"]),
|
|
2435
|
-
_(
|
|
2461
|
+
_(i($), {
|
|
2436
2462
|
variant: "primary",
|
|
2437
2463
|
class: "tw-w-full tw-mb-4",
|
|
2438
|
-
disabled: !
|
|
2464
|
+
disabled: !i(s) || l.value,
|
|
2439
2465
|
loading: l.value,
|
|
2440
2466
|
onClick: S
|
|
2441
2467
|
}, {
|
|
2442
2468
|
default: p(() => [
|
|
2443
|
-
k(B(
|
|
2469
|
+
k(B(i(n)("FORGOT_PASSWORD.SEND_BUTTON")), 1)
|
|
2444
2470
|
]),
|
|
2445
2471
|
_: 1
|
|
2446
2472
|
}, 8, ["disabled", "loading"]),
|
|
2447
2473
|
V("div", nr, [
|
|
2448
|
-
_(
|
|
2474
|
+
_(i($), {
|
|
2449
2475
|
variant: "link",
|
|
2450
2476
|
icon: "lucide-arrow-left",
|
|
2451
2477
|
"icon-size": "xs",
|
|
@@ -2453,7 +2479,7 @@ const er = {
|
|
|
2453
2479
|
onClick: L
|
|
2454
2480
|
}, {
|
|
2455
2481
|
default: p(() => [
|
|
2456
|
-
k(B(
|
|
2482
|
+
k(B(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
|
|
2457
2483
|
]),
|
|
2458
2484
|
_: 1
|
|
2459
2485
|
})
|
|
@@ -2461,7 +2487,7 @@ const er = {
|
|
|
2461
2487
|
]),
|
|
2462
2488
|
_: 1
|
|
2463
2489
|
}),
|
|
2464
|
-
d.value ? (C(), D(
|
|
2490
|
+
d.value ? (C(), D(i(Ee), {
|
|
2465
2491
|
key: 0,
|
|
2466
2492
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2467
2493
|
}, {
|
|
@@ -2475,7 +2501,7 @@ const er = {
|
|
|
2475
2501
|
_: 1
|
|
2476
2502
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2477
2503
|
}
|
|
2478
|
-
}),
|
|
2504
|
+
}), Ml = rr, ir = /* @__PURE__ */ G({
|
|
2479
2505
|
__name: "ResetPassword",
|
|
2480
2506
|
props: {
|
|
2481
2507
|
userId: {},
|
|
@@ -2485,7 +2511,7 @@ const er = {
|
|
|
2485
2511
|
background: { default: "/assets/background.jpg" }
|
|
2486
2512
|
},
|
|
2487
2513
|
setup(e) {
|
|
2488
|
-
const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading:
|
|
2514
|
+
const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = oe(), l = ve(), { t: d } = ue({ useScope: "global" }), { validate: u } = de({ validateOnMount: !1 }), { uiSettings: E, loading: g } = we(), f = le({
|
|
2489
2515
|
isValid: !1,
|
|
2490
2516
|
tokenIsValid: !1,
|
|
2491
2517
|
errors: [],
|
|
@@ -2495,7 +2521,7 @@ const er = {
|
|
|
2495
2521
|
Re(async () => {
|
|
2496
2522
|
f.tokenIsValid = await a(t.userId, t.token), f.tokenIsValid || f.errors.push("Invalid-token");
|
|
2497
2523
|
});
|
|
2498
|
-
const c = w(() =>
|
|
2524
|
+
const c = w(() => r.value || !f.password || !f.confirmPassword || !f.isValid && f.tokenIsValid), S = async () => {
|
|
2499
2525
|
if (f.tokenIsValid) {
|
|
2500
2526
|
const I = (await n(f.password)).errors;
|
|
2501
2527
|
f.errors = I?.map((v) => v.code), f.confirmPassword !== f.password && f.errors.push("Repeat-password"), f.isValid = f.errors.length == 0;
|
|
@@ -2513,27 +2539,27 @@ const er = {
|
|
|
2513
2539
|
}, T = w(() => ({
|
|
2514
2540
|
logo: g.value ? "" : E.value?.logo || t.logo
|
|
2515
2541
|
}));
|
|
2516
|
-
return (I, v) => (C(), D(
|
|
2542
|
+
return (I, v) => (C(), D(i(_e), {
|
|
2517
2543
|
logo: T.value.logo,
|
|
2518
2544
|
background: e.background,
|
|
2519
|
-
title:
|
|
2520
|
-
subtitle:
|
|
2545
|
+
title: i(d)("PASSWORDRESET.TITLE"),
|
|
2546
|
+
subtitle: i(d)("PASSWORDRESET.SUBTITLE")
|
|
2521
2547
|
}, {
|
|
2522
2548
|
default: p(() => [
|
|
2523
|
-
r
|
|
2549
|
+
i(r) ? (C(), D(i(Wt), {
|
|
2524
2550
|
key: 0,
|
|
2525
2551
|
active: ""
|
|
2526
2552
|
})) : z("", !0),
|
|
2527
|
-
_(
|
|
2553
|
+
_(i(ge), null, {
|
|
2528
2554
|
default: p(() => [
|
|
2529
|
-
_(
|
|
2530
|
-
label:
|
|
2555
|
+
_(i(Z), {
|
|
2556
|
+
label: i(d)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
|
|
2531
2557
|
name: "password",
|
|
2532
2558
|
"model-value": f.password,
|
|
2533
2559
|
rules: "required"
|
|
2534
2560
|
}, {
|
|
2535
2561
|
default: p(({ field: O, errorMessage: h, handleChange: N, errors: y }) => [
|
|
2536
|
-
_(
|
|
2562
|
+
_(i(K), ie(O, {
|
|
2537
2563
|
ref: "passwordField",
|
|
2538
2564
|
modelValue: f.password,
|
|
2539
2565
|
"onUpdate:modelValue": [
|
|
@@ -2543,8 +2569,8 @@ const er = {
|
|
|
2543
2569
|
}
|
|
2544
2570
|
],
|
|
2545
2571
|
class: "tw-mb-4",
|
|
2546
|
-
label:
|
|
2547
|
-
placeholder:
|
|
2572
|
+
label: i(d)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
|
|
2573
|
+
placeholder: i(d)("PASSWORDRESET.FIELDS.PASSWORD.PLACEHOLDER"),
|
|
2548
2574
|
type: "password",
|
|
2549
2575
|
disabled: !f.tokenIsValid,
|
|
2550
2576
|
required: "",
|
|
@@ -2554,14 +2580,14 @@ const er = {
|
|
|
2554
2580
|
]),
|
|
2555
2581
|
_: 1
|
|
2556
2582
|
}, 8, ["label", "model-value"]),
|
|
2557
|
-
_(
|
|
2558
|
-
label:
|
|
2583
|
+
_(i(Z), {
|
|
2584
|
+
label: i(d)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2559
2585
|
name: "confirm_password",
|
|
2560
2586
|
"model-value": f.confirmPassword,
|
|
2561
2587
|
rules: "required"
|
|
2562
2588
|
}, {
|
|
2563
2589
|
default: p(({ field: O, errorMessage: h, handleChange: N, errors: y }) => [
|
|
2564
|
-
_(
|
|
2590
|
+
_(i(K), ie(O, {
|
|
2565
2591
|
ref: "confirmPasswordField",
|
|
2566
2592
|
modelValue: f.confirmPassword,
|
|
2567
2593
|
"onUpdate:modelValue": [
|
|
@@ -2571,36 +2597,36 @@ const er = {
|
|
|
2571
2597
|
}
|
|
2572
2598
|
],
|
|
2573
2599
|
class: "tw-mb-6",
|
|
2574
|
-
label:
|
|
2575
|
-
placeholder:
|
|
2600
|
+
label: i(d)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2601
|
+
placeholder: i(d)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.PLACEHOLDER"),
|
|
2576
2602
|
disabled: !f.tokenIsValid,
|
|
2577
2603
|
type: "password",
|
|
2578
2604
|
required: "",
|
|
2579
2605
|
error: !!y.length,
|
|
2580
2606
|
"error-message": h,
|
|
2581
|
-
onKeyup:
|
|
2607
|
+
onKeyup: rt(L, ["enter"])
|
|
2582
2608
|
}), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
|
|
2583
2609
|
]),
|
|
2584
2610
|
_: 1
|
|
2585
2611
|
}, 8, ["label", "model-value"]),
|
|
2586
|
-
_(
|
|
2612
|
+
_(i($), {
|
|
2587
2613
|
variant: "primary",
|
|
2588
2614
|
class: "tw-w-full",
|
|
2589
2615
|
disabled: c.value,
|
|
2590
|
-
loading: r
|
|
2616
|
+
loading: i(r),
|
|
2591
2617
|
onClick: L
|
|
2592
2618
|
}, {
|
|
2593
2619
|
default: p(() => [
|
|
2594
|
-
k(B(
|
|
2620
|
+
k(B(i(d)("PASSWORDRESET.SAVE_PASSWORD")), 1)
|
|
2595
2621
|
]),
|
|
2596
2622
|
_: 1
|
|
2597
2623
|
}, 8, ["disabled", "loading"]),
|
|
2598
|
-
(C(!0), H(se, null,
|
|
2624
|
+
(C(!0), H(se, null, Fe(f.errors, (O) => (C(), D(i(Ee), {
|
|
2599
2625
|
key: O,
|
|
2600
2626
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2601
2627
|
}, {
|
|
2602
2628
|
default: p(() => [
|
|
2603
|
-
k(B(
|
|
2629
|
+
k(B(i(d)(`PASSWORDRESET.ERRORS.${O}`)), 1)
|
|
2604
2630
|
]),
|
|
2605
2631
|
_: 2
|
|
2606
2632
|
}, 1024))), 128))
|
|
@@ -2611,7 +2637,7 @@ const er = {
|
|
|
2611
2637
|
_: 1
|
|
2612
2638
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2613
2639
|
}
|
|
2614
|
-
}),
|
|
2640
|
+
}), kl = ir, lr = /* @__PURE__ */ G({
|
|
2615
2641
|
__name: "Invite",
|
|
2616
2642
|
props: {
|
|
2617
2643
|
userId: {},
|
|
@@ -2622,7 +2648,7 @@ const er = {
|
|
|
2622
2648
|
},
|
|
2623
2649
|
setup(e) {
|
|
2624
2650
|
de({ validateOnMount: !1 });
|
|
2625
|
-
const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading:
|
|
2651
|
+
const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = oe(), l = ve(), { t: d } = ue({ useScope: "global" }), u = Ie(), E = ut(), { uiSettings: g, loading: f } = we(), c = le({
|
|
2626
2652
|
isValid: !1,
|
|
2627
2653
|
tokenIsValid: !1,
|
|
2628
2654
|
errors: [],
|
|
@@ -2643,34 +2669,34 @@ const er = {
|
|
|
2643
2669
|
}, I = w(() => ({
|
|
2644
2670
|
logo: f.value ? "" : g.value?.logo || t.logo
|
|
2645
2671
|
}));
|
|
2646
|
-
return (v, O) => (C(), D(
|
|
2672
|
+
return (v, O) => (C(), D(i(_e), {
|
|
2647
2673
|
logo: I.value.logo,
|
|
2648
2674
|
background: e.background,
|
|
2649
|
-
title:
|
|
2650
|
-
subtitle:
|
|
2675
|
+
title: i(d)("INVITATION.TITLE"),
|
|
2676
|
+
subtitle: i(d)("INVITATION.SUBTITLE")
|
|
2651
2677
|
}, {
|
|
2652
2678
|
default: p(() => [
|
|
2653
|
-
r
|
|
2679
|
+
i(r) ? (C(), D(i(Wt), {
|
|
2654
2680
|
key: 0,
|
|
2655
2681
|
active: ""
|
|
2656
2682
|
})) : z("", !0),
|
|
2657
|
-
_(
|
|
2683
|
+
_(i(ge), null, {
|
|
2658
2684
|
default: p(() => [
|
|
2659
|
-
_(
|
|
2685
|
+
_(i(K), {
|
|
2660
2686
|
class: "tw-mb-4",
|
|
2661
|
-
label:
|
|
2687
|
+
label: i(d)("INVITATION.FIELDS.EMAIL.LABEL"),
|
|
2662
2688
|
"model-value": e.userName,
|
|
2663
2689
|
name: "username",
|
|
2664
2690
|
disabled: ""
|
|
2665
2691
|
}, null, 8, ["label", "model-value"]),
|
|
2666
|
-
_(
|
|
2667
|
-
label:
|
|
2692
|
+
_(i(Z), {
|
|
2693
|
+
label: i(d)("INVITATION.FIELDS.PASSWORD.LABEL"),
|
|
2668
2694
|
"model-value": c.password,
|
|
2669
2695
|
rules: "required",
|
|
2670
2696
|
name: "password"
|
|
2671
2697
|
}, {
|
|
2672
2698
|
default: p(({ field: h, errorMessage: N, handleChange: y, errors: m }) => [
|
|
2673
|
-
_(
|
|
2699
|
+
_(i(K), ie(h, {
|
|
2674
2700
|
ref: "passwordField",
|
|
2675
2701
|
modelValue: c.password,
|
|
2676
2702
|
"onUpdate:modelValue": [
|
|
@@ -2680,8 +2706,8 @@ const er = {
|
|
|
2680
2706
|
}
|
|
2681
2707
|
],
|
|
2682
2708
|
class: "tw-mb-4",
|
|
2683
|
-
label:
|
|
2684
|
-
placeholder:
|
|
2709
|
+
label: i(d)("INVITATION.FIELDS.PASSWORD.LABEL"),
|
|
2710
|
+
placeholder: i(d)("INVITATION.FIELDS.PASSWORD.PLACEHOLDER"),
|
|
2685
2711
|
type: "password",
|
|
2686
2712
|
disabled: !c.tokenIsValid,
|
|
2687
2713
|
error: !!m.length,
|
|
@@ -2691,14 +2717,14 @@ const er = {
|
|
|
2691
2717
|
]),
|
|
2692
2718
|
_: 1
|
|
2693
2719
|
}, 8, ["label", "model-value"]),
|
|
2694
|
-
_(
|
|
2695
|
-
label:
|
|
2720
|
+
_(i(Z), {
|
|
2721
|
+
label: i(d)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2696
2722
|
"model-value": c.confirmPassword,
|
|
2697
2723
|
rules: "required",
|
|
2698
2724
|
name: "confirm_password"
|
|
2699
2725
|
}, {
|
|
2700
2726
|
default: p(({ field: h, errorMessage: N, handleChange: y, errors: m }) => [
|
|
2701
|
-
_(
|
|
2727
|
+
_(i(K), ie(h, {
|
|
2702
2728
|
ref: "confirmPasswordField",
|
|
2703
2729
|
modelValue: c.confirmPassword,
|
|
2704
2730
|
"onUpdate:modelValue": [
|
|
@@ -2708,36 +2734,36 @@ const er = {
|
|
|
2708
2734
|
}
|
|
2709
2735
|
],
|
|
2710
2736
|
class: "tw-mb-6",
|
|
2711
|
-
label:
|
|
2712
|
-
placeholder:
|
|
2737
|
+
label: i(d)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2738
|
+
placeholder: i(d)("INVITATION.FIELDS.CONFIRM_PASSWORD.PLACEHOLDER"),
|
|
2713
2739
|
disabled: !c.tokenIsValid,
|
|
2714
2740
|
type: "password",
|
|
2715
2741
|
error: !!m.length,
|
|
2716
2742
|
"error-message": N,
|
|
2717
2743
|
required: "",
|
|
2718
|
-
onKeyup:
|
|
2744
|
+
onKeyup: rt(T, ["enter"])
|
|
2719
2745
|
}), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
|
|
2720
2746
|
]),
|
|
2721
2747
|
_: 1
|
|
2722
2748
|
}, 8, ["label", "model-value"]),
|
|
2723
|
-
_(
|
|
2749
|
+
_(i($), {
|
|
2724
2750
|
variant: "primary",
|
|
2725
2751
|
class: "tw-w-full",
|
|
2726
|
-
disabled: r
|
|
2727
|
-
loading: r
|
|
2752
|
+
disabled: i(r) || !c.isValid || !c.tokenIsValid,
|
|
2753
|
+
loading: i(r),
|
|
2728
2754
|
onClick: T
|
|
2729
2755
|
}, {
|
|
2730
2756
|
default: p(() => [
|
|
2731
|
-
k(B(
|
|
2757
|
+
k(B(i(d)("INVITATION.ACCEPT_INVITATION")), 1)
|
|
2732
2758
|
]),
|
|
2733
2759
|
_: 1
|
|
2734
2760
|
}, 8, ["disabled", "loading"]),
|
|
2735
|
-
(C(!0), H(se, null,
|
|
2761
|
+
(C(!0), H(se, null, Fe(c.errors, (h) => (C(), D(i(Ee), {
|
|
2736
2762
|
key: h,
|
|
2737
2763
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2738
2764
|
}, {
|
|
2739
2765
|
default: p(() => [
|
|
2740
|
-
k(B(
|
|
2766
|
+
k(B(i(d)(`INVITATION.ERRORS.${h}`)), 1)
|
|
2741
2767
|
]),
|
|
2742
2768
|
_: 2
|
|
2743
2769
|
}, 1024))), 128))
|
|
@@ -2748,7 +2774,7 @@ const er = {
|
|
|
2748
2774
|
_: 1
|
|
2749
2775
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2750
2776
|
}
|
|
2751
|
-
}),
|
|
2777
|
+
}), Vl = lr, ur = {
|
|
2752
2778
|
key: 0,
|
|
2753
2779
|
class: "tw-mb-4"
|
|
2754
2780
|
}, dr = { class: "tw-flex tw-gap-3" }, cr = /* @__PURE__ */ G({
|
|
@@ -2759,11 +2785,11 @@ const er = {
|
|
|
2759
2785
|
background: {}
|
|
2760
2786
|
},
|
|
2761
2787
|
setup(e) {
|
|
2762
|
-
const t = e, { t: a } = ue({ useScope: "global" }), { changeUserPassword: n, loading: s, validatePassword: o, signOut:
|
|
2788
|
+
const t = e, { t: a } = ue({ useScope: "global" }), { changeUserPassword: n, loading: s, validatePassword: o, signOut: r } = oe(), { uiSettings: l, loading: d } = we(), u = w(() => ({
|
|
2763
2789
|
logo: d.value ? "" : l.value?.logo || t.logo
|
|
2764
2790
|
}));
|
|
2765
2791
|
de({ validateOnMount: !1 });
|
|
2766
|
-
const E = Ie(), g =
|
|
2792
|
+
const E = Ie(), g = ut(), f = ve(), c = le({
|
|
2767
2793
|
isValid: !1,
|
|
2768
2794
|
errors: [],
|
|
2769
2795
|
currentPassword: "",
|
|
@@ -2771,7 +2797,7 @@ const er = {
|
|
|
2771
2797
|
confirmPassword: ""
|
|
2772
2798
|
}), S = w(() => !g.value || !E.value);
|
|
2773
2799
|
async function L() {
|
|
2774
|
-
await
|
|
2800
|
+
await r(), await f.push("/login");
|
|
2775
2801
|
}
|
|
2776
2802
|
async function T() {
|
|
2777
2803
|
const v = await n(c.currentPassword, c.password);
|
|
@@ -2789,35 +2815,35 @@ const er = {
|
|
|
2789
2815
|
}
|
|
2790
2816
|
});
|
|
2791
2817
|
}
|
|
2792
|
-
return (v, O) => (C(), D(
|
|
2818
|
+
return (v, O) => (C(), D(i(_e), {
|
|
2793
2819
|
logo: u.value.logo,
|
|
2794
2820
|
background: e.background,
|
|
2795
|
-
title: e.forced ?
|
|
2796
|
-
subtitle: e.forced ?
|
|
2821
|
+
title: e.forced ? i(a)("COMPONENTS.CHANGE_PASSWORD.TITLE_FORCED") : i(a)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
|
|
2822
|
+
subtitle: e.forced ? i(a)("COMPONENTS.CHANGE_PASSWORD.SUBTITLE_FORCED") : void 0
|
|
2797
2823
|
}, {
|
|
2798
2824
|
default: p(() => [
|
|
2799
2825
|
e.forced ? (C(), H("div", ur, [
|
|
2800
|
-
_(
|
|
2826
|
+
_(i(Sn), {
|
|
2801
2827
|
variant: "info",
|
|
2802
2828
|
icon: "lucide-lightbulb",
|
|
2803
2829
|
"icon-size": "l"
|
|
2804
2830
|
}, {
|
|
2805
2831
|
default: p(() => [
|
|
2806
|
-
k(B(
|
|
2832
|
+
k(B(i(a)("COMPONENTS.CHANGE_PASSWORD.FORCED.LABEL")), 1)
|
|
2807
2833
|
]),
|
|
2808
2834
|
_: 1
|
|
2809
2835
|
})
|
|
2810
2836
|
])) : z("", !0),
|
|
2811
|
-
_(
|
|
2837
|
+
_(i(ge), null, {
|
|
2812
2838
|
default: p(() => [
|
|
2813
|
-
_(
|
|
2814
|
-
label:
|
|
2839
|
+
_(i(Z), {
|
|
2840
|
+
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
2815
2841
|
name: "current",
|
|
2816
2842
|
rules: "required|min:6",
|
|
2817
2843
|
"model-value": c.currentPassword
|
|
2818
2844
|
}, {
|
|
2819
2845
|
default: p(({ field: h, errorMessage: N, errors: y }) => [
|
|
2820
|
-
_(
|
|
2846
|
+
_(i(K), ie(h, {
|
|
2821
2847
|
ref: "passwordField",
|
|
2822
2848
|
modelValue: c.currentPassword,
|
|
2823
2849
|
"onUpdate:modelValue": [
|
|
@@ -2825,8 +2851,8 @@ const er = {
|
|
|
2825
2851
|
I
|
|
2826
2852
|
],
|
|
2827
2853
|
class: "tw-mb-4",
|
|
2828
|
-
label:
|
|
2829
|
-
placeholder:
|
|
2854
|
+
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
2855
|
+
placeholder: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.PLACEHOLDER"),
|
|
2830
2856
|
type: "password",
|
|
2831
2857
|
required: "",
|
|
2832
2858
|
error: !!y.length,
|
|
@@ -2835,14 +2861,14 @@ const er = {
|
|
|
2835
2861
|
]),
|
|
2836
2862
|
_: 1
|
|
2837
2863
|
}, 8, ["label", "model-value"]),
|
|
2838
|
-
_(
|
|
2839
|
-
label:
|
|
2864
|
+
_(i(Z), {
|
|
2865
|
+
label: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
2840
2866
|
name: "new_pass",
|
|
2841
2867
|
rules: "required|min:6",
|
|
2842
2868
|
"model-value": c.password
|
|
2843
2869
|
}, {
|
|
2844
2870
|
default: p(({ field: h, errorMessage: N, errors: y }) => [
|
|
2845
|
-
_(
|
|
2871
|
+
_(i(K), ie(h, {
|
|
2846
2872
|
ref: "newPasswordField",
|
|
2847
2873
|
modelValue: c.password,
|
|
2848
2874
|
"onUpdate:modelValue": [
|
|
@@ -2850,8 +2876,8 @@ const er = {
|
|
|
2850
2876
|
I
|
|
2851
2877
|
],
|
|
2852
2878
|
class: "tw-mb-4",
|
|
2853
|
-
label:
|
|
2854
|
-
placeholder:
|
|
2879
|
+
label: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
2880
|
+
placeholder: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.PLACEHOLDER"),
|
|
2855
2881
|
type: "password",
|
|
2856
2882
|
required: "",
|
|
2857
2883
|
error: !!y.length,
|
|
@@ -2860,14 +2886,14 @@ const er = {
|
|
|
2860
2886
|
]),
|
|
2861
2887
|
_: 1
|
|
2862
2888
|
}, 8, ["label", "model-value"]),
|
|
2863
|
-
_(
|
|
2864
|
-
label:
|
|
2889
|
+
_(i(Z), {
|
|
2890
|
+
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
2865
2891
|
name: "confirm_pass",
|
|
2866
2892
|
rules: "required|min:6",
|
|
2867
2893
|
"model-value": c.confirmPassword
|
|
2868
2894
|
}, {
|
|
2869
2895
|
default: p(({ field: h, errorMessage: N, errors: y }) => [
|
|
2870
|
-
_(
|
|
2896
|
+
_(i(K), ie(h, {
|
|
2871
2897
|
ref: "confirmPasswordField",
|
|
2872
2898
|
modelValue: c.confirmPassword,
|
|
2873
2899
|
"onUpdate:modelValue": [
|
|
@@ -2875,8 +2901,8 @@ const er = {
|
|
|
2875
2901
|
I
|
|
2876
2902
|
],
|
|
2877
2903
|
class: "tw-mb-6",
|
|
2878
|
-
label:
|
|
2879
|
-
placeholder:
|
|
2904
|
+
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
2905
|
+
placeholder: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.PLACEHOLDER"),
|
|
2880
2906
|
type: "password",
|
|
2881
2907
|
required: "",
|
|
2882
2908
|
error: !!y.length,
|
|
@@ -2886,35 +2912,35 @@ const er = {
|
|
|
2886
2912
|
_: 1
|
|
2887
2913
|
}, 8, ["label", "model-value"]),
|
|
2888
2914
|
V("div", dr, [
|
|
2889
|
-
_(
|
|
2915
|
+
_(i($), {
|
|
2890
2916
|
variant: "secondary",
|
|
2891
2917
|
class: "tw-flex-1",
|
|
2892
2918
|
onClick: L
|
|
2893
2919
|
}, {
|
|
2894
2920
|
default: p(() => [
|
|
2895
|
-
k(B(
|
|
2921
|
+
k(B(i(a)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
|
|
2896
2922
|
]),
|
|
2897
2923
|
_: 1
|
|
2898
2924
|
}),
|
|
2899
|
-
_(
|
|
2925
|
+
_(i($), {
|
|
2900
2926
|
variant: "primary",
|
|
2901
2927
|
class: "tw-flex-1",
|
|
2902
|
-
disabled:
|
|
2903
|
-
loading:
|
|
2928
|
+
disabled: i(s) || !c.isValid || S.value,
|
|
2929
|
+
loading: i(s),
|
|
2904
2930
|
onClick: T
|
|
2905
2931
|
}, {
|
|
2906
2932
|
default: p(() => [
|
|
2907
|
-
k(B(
|
|
2933
|
+
k(B(i(a)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
|
|
2908
2934
|
]),
|
|
2909
2935
|
_: 1
|
|
2910
2936
|
}, 8, ["disabled", "loading"])
|
|
2911
2937
|
]),
|
|
2912
|
-
(C(!0), H(se, null,
|
|
2938
|
+
(C(!0), H(se, null, Fe(c.errors, (h, N) => (C(), D(i(Ee), {
|
|
2913
2939
|
key: N,
|
|
2914
2940
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2915
2941
|
}, {
|
|
2916
2942
|
default: p(() => [
|
|
2917
|
-
k(B(h.code ?
|
|
2943
|
+
k(B(h.code ? i(a)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${h.code}`) : h), 1)
|
|
2918
2944
|
]),
|
|
2919
2945
|
_: 2
|
|
2920
2946
|
}, 1024))), 128))
|
|
@@ -2925,14 +2951,14 @@ const er = {
|
|
|
2925
2951
|
_: 1
|
|
2926
2952
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2927
2953
|
}
|
|
2928
|
-
}),
|
|
2954
|
+
}), Ul = cr, Je = U("use-blade-navigation-adapter"), at = /* @__PURE__ */ new Set();
|
|
2929
2955
|
function re(e, t) {
|
|
2930
2956
|
if (at.has(e)) return;
|
|
2931
2957
|
at.add(e);
|
|
2932
2958
|
const a = `[useBladeNavigation] "${e}" is deprecated.`;
|
|
2933
2959
|
console.warn(t ? `${a} Use ${t} instead.` : a);
|
|
2934
2960
|
}
|
|
2935
|
-
function
|
|
2961
|
+
function Nt(e, t, a) {
|
|
2936
2962
|
return {
|
|
2937
2963
|
props: {
|
|
2938
2964
|
navigation: {
|
|
@@ -2950,7 +2976,7 @@ function bt(e, t, a) {
|
|
|
2950
2976
|
};
|
|
2951
2977
|
}
|
|
2952
2978
|
let De, ye;
|
|
2953
|
-
function
|
|
2979
|
+
function Fl() {
|
|
2954
2980
|
De = void 0, ye = void 0, at.clear();
|
|
2955
2981
|
}
|
|
2956
2982
|
function Er() {
|
|
@@ -2964,11 +2990,11 @@ function Er() {
|
|
|
2964
2990
|
throw new Error("[@vc-shell/framework#useBladeNavigation] Vue Router instance is not available.");
|
|
2965
2991
|
return De || (De = w(() => {
|
|
2966
2992
|
const s = e.activeBlade.value?.id;
|
|
2967
|
-
return e.blades.value.map((o,
|
|
2993
|
+
return e.blades.value.map((o, r) => Nt(o, r, s));
|
|
2968
2994
|
})), ye || (ye = w(() => {
|
|
2969
2995
|
const s = e.workspace.value;
|
|
2970
2996
|
if (s)
|
|
2971
|
-
return
|
|
2997
|
+
return Nt(s, 0, e.activeBlade.value?.id);
|
|
2972
2998
|
})), {
|
|
2973
2999
|
bladeStack: e,
|
|
2974
3000
|
messaging: t,
|
|
@@ -2986,10 +3012,10 @@ function fr(e) {
|
|
|
2986
3012
|
const t = e;
|
|
2987
3013
|
return t.name || t.__name || "UnknownBlade";
|
|
2988
3014
|
}
|
|
2989
|
-
function
|
|
2990
|
-
const { bladeStack: e, messaging: t, bladeRegistry: a, router: n, blades: s, activeWorkspace: o } = Er(),
|
|
3015
|
+
function Wl() {
|
|
3016
|
+
const { bladeStack: e, messaging: t, bladeRegistry: a, router: n, blades: s, activeWorkspace: o } = Er(), r = tn() ? Q(Gt, void 0) : void 0, { syncUrlPush: l, syncUrlReplace: d } = as(n, e);
|
|
2991
3017
|
function u() {
|
|
2992
|
-
return
|
|
3018
|
+
return r ? r.value.id : e.activeBlade.value?.id;
|
|
2993
3019
|
}
|
|
2994
3020
|
function E(m) {
|
|
2995
3021
|
const A = e.blades.value;
|
|
@@ -3019,7 +3045,7 @@ function Fl() {
|
|
|
3019
3045
|
re("closeBlade(index)", "useBlade().closeSelf()");
|
|
3020
3046
|
const A = E(m);
|
|
3021
3047
|
if (!A)
|
|
3022
|
-
return
|
|
3048
|
+
return Je.error(`closeBlade: No blade found at index ${m}.`), !1;
|
|
3023
3049
|
const R = await e.closeBlade(A);
|
|
3024
3050
|
return R || d(), R;
|
|
3025
3051
|
}
|
|
@@ -3038,14 +3064,14 @@ function Fl() {
|
|
|
3038
3064
|
re("onParentCall(args, index)", "useBlade().callParent(method, args)");
|
|
3039
3065
|
let R;
|
|
3040
3066
|
if (A !== void 0 ? R = E(A) : R = u(), !R) {
|
|
3041
|
-
|
|
3067
|
+
Je.error("onParentCall: Could not determine caller blade.");
|
|
3042
3068
|
return;
|
|
3043
3069
|
}
|
|
3044
3070
|
try {
|
|
3045
3071
|
const P = await t.callParent(R, m.method, m.args);
|
|
3046
3072
|
typeof m.callback == "function" && m.callback(P);
|
|
3047
3073
|
} catch (P) {
|
|
3048
|
-
|
|
3074
|
+
Je.error(`onParentCall: Failed to call parent method "${m.method}":`, P);
|
|
3049
3075
|
}
|
|
3050
3076
|
}
|
|
3051
3077
|
function L(m) {
|
|
@@ -3097,8 +3123,8 @@ function Fl() {
|
|
|
3097
3123
|
A && e.clearBladeError(A);
|
|
3098
3124
|
}
|
|
3099
3125
|
const y = w(() => {
|
|
3100
|
-
if (!
|
|
3101
|
-
const m =
|
|
3126
|
+
if (!r) return;
|
|
3127
|
+
const m = r.value;
|
|
3102
3128
|
return {
|
|
3103
3129
|
idx: e.blades.value.findIndex((P) => P.id === m.id),
|
|
3104
3130
|
instance: m.title != null ? { title: m.title } : void 0,
|
|
@@ -3126,29 +3152,29 @@ function Fl() {
|
|
|
3126
3152
|
function Ce(e) {
|
|
3127
3153
|
return e == null || e === "";
|
|
3128
3154
|
}
|
|
3129
|
-
function
|
|
3155
|
+
function Ue(e, t) {
|
|
3130
3156
|
if (Ce(e) && Ce(t) || Ce(e) && Array.isArray(t) && t.length === 0 || Array.isArray(e) && e.length === 0 && Ce(t) || e === t) return !0;
|
|
3131
3157
|
if (typeof e != typeof t || typeof e != "object" || e === null || t === null) return !1;
|
|
3132
3158
|
if (Array.isArray(e) || Array.isArray(t))
|
|
3133
|
-
return !Array.isArray(e) || !Array.isArray(t) || e.length !== t.length ? !1 : e.every((o,
|
|
3159
|
+
return !Array.isArray(e) || !Array.isArray(t) || e.length !== t.length ? !1 : e.every((o, r) => Ue(o, t[r]));
|
|
3134
3160
|
const a = e, n = t, s = /* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(n)]);
|
|
3135
3161
|
for (const o of s)
|
|
3136
|
-
if (!
|
|
3162
|
+
if (!Ue(a[o], n[o])) return !1;
|
|
3137
3163
|
return !0;
|
|
3138
3164
|
}
|
|
3139
|
-
function
|
|
3165
|
+
function Hl(e) {
|
|
3140
3166
|
const {
|
|
3141
3167
|
data: t,
|
|
3142
3168
|
canSaveOverride: a,
|
|
3143
3169
|
autoBeforeClose: n = !0,
|
|
3144
3170
|
autoBeforeUnload: s = !0,
|
|
3145
3171
|
closeConfirmMessage: o,
|
|
3146
|
-
onRevert:
|
|
3172
|
+
onRevert: r
|
|
3147
3173
|
} = e, { meta: l, setFieldError: d, errorBag: u } = de({ validateOnMount: !1 }), E = b(J(t.value)), g = b(!1);
|
|
3148
3174
|
ne(
|
|
3149
3175
|
t,
|
|
3150
3176
|
(v) => {
|
|
3151
|
-
f.value && (g.value = !
|
|
3177
|
+
f.value && (g.value = !Ue(v, E.value));
|
|
3152
3178
|
},
|
|
3153
3179
|
{ deep: !0 }
|
|
3154
3180
|
);
|
|
@@ -3157,15 +3183,15 @@ function Wl(e) {
|
|
|
3157
3183
|
E.value = J(t.value), g.value = !1, f.value = !0;
|
|
3158
3184
|
}
|
|
3159
3185
|
function T() {
|
|
3160
|
-
f.value = !0, g.value = !
|
|
3186
|
+
f.value = !0, g.value = !Ue(t.value, E.value);
|
|
3161
3187
|
}
|
|
3162
3188
|
function I() {
|
|
3163
|
-
if (
|
|
3164
|
-
return
|
|
3189
|
+
if (r)
|
|
3190
|
+
return r();
|
|
3165
3191
|
t.value = J(E.value);
|
|
3166
3192
|
}
|
|
3167
3193
|
if (s && $s(c), n !== !1) {
|
|
3168
|
-
const { onBeforeClose: v } =
|
|
3194
|
+
const { onBeforeClose: v } = lt(), { showConfirmation: O } = An();
|
|
3169
3195
|
v(async () => {
|
|
3170
3196
|
let h;
|
|
3171
3197
|
if (typeof n == "object" ? h = n.value && c.value : h = c.value, h) {
|
|
@@ -3189,7 +3215,7 @@ function Wl(e) {
|
|
|
3189
3215
|
}
|
|
3190
3216
|
const Be = 14, Pa = 3;
|
|
3191
3217
|
function mr(e, t, a) {
|
|
3192
|
-
const n = e.length, s = (u) => u !== void 0 && t.get(u) || 0, o = n > 0 ? e[n - 1] : void 0,
|
|
3218
|
+
const n = e.length, s = (u) => u !== void 0 && t.get(u) || 0, o = n > 0 ? e[n - 1] : void 0, r = s(o), l = e.map((u, E) => {
|
|
3193
3219
|
const g = n - 1 - E;
|
|
3194
3220
|
let f = 0;
|
|
3195
3221
|
for (let S = E + 1; S < n; S++)
|
|
@@ -3211,8 +3237,8 @@ function mr(e, t, a) {
|
|
|
3211
3237
|
const g = u * Be + E, f = s(e[0]);
|
|
3212
3238
|
d = g + f;
|
|
3213
3239
|
} else
|
|
3214
|
-
d =
|
|
3215
|
-
return { toasts: l, frontHeight:
|
|
3240
|
+
d = r + Math.min(n - 1, Pa - 1) * Be;
|
|
3241
|
+
return { toasts: l, frontHeight: r, groupHeight: d };
|
|
3216
3242
|
}
|
|
3217
3243
|
function gr() {
|
|
3218
3244
|
const e = b(!1), t = b(!1);
|
|
@@ -3226,7 +3252,7 @@ function gr() {
|
|
|
3226
3252
|
}, 200));
|
|
3227
3253
|
}
|
|
3228
3254
|
const o = le(/* @__PURE__ */ new Map());
|
|
3229
|
-
function
|
|
3255
|
+
function r(E, g) {
|
|
3230
3256
|
const f = Math.round(g);
|
|
3231
3257
|
o.get(E) !== f && o.set(E, f);
|
|
3232
3258
|
}
|
|
@@ -3245,7 +3271,7 @@ function gr() {
|
|
|
3245
3271
|
heightsMap: o,
|
|
3246
3272
|
expandStack: n,
|
|
3247
3273
|
collapseStack: s,
|
|
3248
|
-
reportHeight:
|
|
3274
|
+
reportHeight: r,
|
|
3249
3275
|
forgetHeight: l,
|
|
3250
3276
|
clearHeights: d,
|
|
3251
3277
|
setInteracting: u
|
|
@@ -3310,7 +3336,7 @@ const Sr = G({
|
|
|
3310
3336
|
const { notificationContainers: t, actions: a } = Q(jt), n = w(() => t[e.position].value || []), {
|
|
3311
3337
|
expanded: s,
|
|
3312
3338
|
heightsMap: o,
|
|
3313
|
-
expandStack:
|
|
3339
|
+
expandStack: r,
|
|
3314
3340
|
collapseStack: l,
|
|
3315
3341
|
reportHeight: d,
|
|
3316
3342
|
forgetHeight: u,
|
|
@@ -3347,7 +3373,7 @@ const Sr = G({
|
|
|
3347
3373
|
expanded: v,
|
|
3348
3374
|
visibleToasts: Pa,
|
|
3349
3375
|
style: Ae
|
|
3350
|
-
}, Na = m.content && f(m.content) ? te(
|
|
3376
|
+
}, Na = m.content && f(m.content) ? te(ft, { ...ee, content: te(nn(m.content)) }) : te(ft, ee);
|
|
3351
3377
|
return te("li", { key: m.notificationId, style: { display: "contents" } }, [Na]);
|
|
3352
3378
|
});
|
|
3353
3379
|
let y = null;
|
|
@@ -3392,7 +3418,7 @@ const Sr = G({
|
|
|
3392
3418
|
width: "var(--width, 356px)",
|
|
3393
3419
|
height: `${h.groupHeight}px`
|
|
3394
3420
|
},
|
|
3395
|
-
onMouseenter:
|
|
3421
|
+
onMouseenter: r,
|
|
3396
3422
|
onMouseleave: l,
|
|
3397
3423
|
onPointerdown: () => {
|
|
3398
3424
|
g(!0);
|
|
@@ -3505,7 +3531,7 @@ function Ir(e) {
|
|
|
3505
3531
|
} else return !0;
|
|
3506
3532
|
});
|
|
3507
3533
|
}
|
|
3508
|
-
const
|
|
3534
|
+
const Gl = {
|
|
3509
3535
|
install(e, t) {
|
|
3510
3536
|
Ko(), Fa().register([{ key: "light", localizationKey: "core.themes.light" }]), window.fetch = Co(t.router), pr(e, t), Tr(e), hr(e), Lr(e), Or(e, t), Rr(e, t), Mo(e), typeof window < "u" && (e.runWithContext(() => Qt()), e.runWithContext(() => ta())), Ir(t.router), setTimeout(() => {
|
|
3511
3537
|
performance.mark("vc:deferred-plugins-start"), _r(e, t), performance.mark("vc:deferred-plugins-done");
|
|
@@ -3513,408 +3539,409 @@ const Hl = {
|
|
|
3513
3539
|
}
|
|
3514
3540
|
};
|
|
3515
3541
|
export {
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3542
|
+
Mf as AI_AGENT_URL_ENV_KEY,
|
|
3543
|
+
VE as AiAgentServiceKey,
|
|
3544
|
+
UE as ApiException,
|
|
3545
|
+
FE as AppBarMobileButtonsServiceKey,
|
|
3520
3546
|
Vn as AppBarWidgetServiceKey,
|
|
3521
3547
|
za as AppInsightsInstanceKey,
|
|
3522
3548
|
Ka as AppInsightsOptionsKey,
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3549
|
+
WE as AppManifestClient,
|
|
3550
|
+
HE as AppPlacement,
|
|
3551
|
+
GE as AppRootElementKey,
|
|
3552
|
+
xE as AppsClient,
|
|
3527
3553
|
mo as AssetsDetailsModule,
|
|
3528
3554
|
Ao as AssetsManager,
|
|
3529
3555
|
To as AssetsManagerModule,
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3556
|
+
$E as AuthApiBase,
|
|
3557
|
+
KE as AuthorizationClient,
|
|
3558
|
+
zE as BladeBackButtonKey,
|
|
3559
|
+
qE as BladeBannersKey,
|
|
3534
3560
|
xt as BladeContextKey,
|
|
3535
|
-
|
|
3561
|
+
YE as BladeDataKey,
|
|
3536
3562
|
Gt as BladeDescriptorKey,
|
|
3537
|
-
|
|
3563
|
+
Kl as BladeError,
|
|
3538
3564
|
wn as BladeFormKey,
|
|
3539
|
-
|
|
3540
|
-
|
|
3565
|
+
jE as BladeLoadingKey,
|
|
3566
|
+
ZE as BladeMaximizedKey,
|
|
3541
3567
|
On as BladeMessagingKey,
|
|
3542
|
-
|
|
3568
|
+
XE as BladeRenderingStateKey,
|
|
3543
3569
|
Mn as BladeRoutesKey,
|
|
3544
3570
|
Ln as BladeStackKey,
|
|
3545
|
-
|
|
3571
|
+
zl as ButtonGroupKey,
|
|
3546
3572
|
_s as COMPONENT_DEFAULTS,
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3573
|
+
Yu as CellDate,
|
|
3574
|
+
ju as CellDateAgo,
|
|
3575
|
+
Zu as CellDefault,
|
|
3576
|
+
Xu as CellEditableWrapper,
|
|
3577
|
+
Ju as CellHtml,
|
|
3578
|
+
Qu as CellImage,
|
|
3579
|
+
ed as CellLink,
|
|
3580
|
+
td as CellMoney,
|
|
3581
|
+
ad as CellNumber,
|
|
3582
|
+
nd as CellStatus,
|
|
3583
|
+
sd as CellStatusIcon,
|
|
3584
|
+
JE as ChangeLogClient,
|
|
3585
|
+
od as ChangePassword,
|
|
3586
|
+
rd as ChangePasswordButton,
|
|
3587
|
+
Ul as ChangePasswordPage,
|
|
3588
|
+
Em as ChartContainer,
|
|
3589
|
+
fm as ChartLegend,
|
|
3590
|
+
mm as ChartTooltip,
|
|
3591
|
+
QE as CloseSettingsMenuKey,
|
|
3592
|
+
id as ColumnCollector,
|
|
3593
|
+
kf as DEFAULT_AI_AGENT_CONFIG,
|
|
3594
|
+
gm as DashboardBarChart,
|
|
3595
|
+
Sm as DashboardDonutChart,
|
|
3596
|
+
Jf as DashboardFeedList,
|
|
3597
|
+
Qf as DashboardFeedRow,
|
|
3598
|
+
Am as DashboardLineChart,
|
|
3599
|
+
ef as DashboardServiceKey,
|
|
3600
|
+
em as DashboardStatItem,
|
|
3601
|
+
tm as DashboardWidgetCard,
|
|
3602
|
+
tf as DeveloperToolsClient,
|
|
3603
|
+
af as DiagnosticsClient,
|
|
3604
|
+
ql as DisplayableError,
|
|
3605
|
+
am as DraggableDashboard,
|
|
3606
|
+
nf as DynamicModulesKey,
|
|
3607
|
+
sf as DynamicPropertiesClient,
|
|
3608
|
+
of as DynamicPropertyValueType,
|
|
3609
|
+
Vf as EMBEDDED_TO_HOST_MESSAGE_TYPES,
|
|
3610
|
+
rf as EmbeddedModeKey,
|
|
3611
|
+
lf as EntryState,
|
|
3612
|
+
ld as ErrorInterceptor,
|
|
3587
3613
|
ms as ExtensionPoint,
|
|
3588
|
-
|
|
3614
|
+
Tm as ExtensionPoints,
|
|
3589
3615
|
Zo as ExternalProviders,
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3616
|
+
uf as ExternalSignInClient,
|
|
3617
|
+
Yl as FALLBACK_BLADE_ID,
|
|
3618
|
+
Ml as ForgotPassword,
|
|
3619
|
+
jl as FrameworkError,
|
|
3620
|
+
Uf as HOST_TO_EMBEDDED_MESSAGE_TYPES,
|
|
3621
|
+
Dt as InjectionError,
|
|
3622
|
+
df as InternalRoutesKey,
|
|
3623
|
+
Vl as Invite,
|
|
3598
3624
|
yn as IsDesktopKey,
|
|
3599
3625
|
Dn as IsMobileKey,
|
|
3600
3626
|
Pn as IsPhoneKey,
|
|
3601
3627
|
Nn as IsTabletKey,
|
|
3602
3628
|
Bn as IsTouchKey,
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3629
|
+
cf as JobsClient,
|
|
3630
|
+
Ef as JsonValueKind,
|
|
3631
|
+
nm as LAYOUT_STORAGE_KEY,
|
|
3632
|
+
ud as LanguageSelector,
|
|
3607
3633
|
bn as LanguageServiceKey,
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3634
|
+
ff as LocalizableSettingsClient,
|
|
3635
|
+
Bl as Login,
|
|
3636
|
+
dd as LogoutButton,
|
|
3637
|
+
cd as MenuBurgerIcon,
|
|
3612
3638
|
Un as MenuServiceKey,
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3639
|
+
Zl as ModuleLoadError,
|
|
3640
|
+
mf as ModulesClient,
|
|
3641
|
+
gf as ModulesLoadErrorKey,
|
|
3642
|
+
Sf as ModulesReadyKey,
|
|
3617
3643
|
Sr as NotificationContainer,
|
|
3618
3644
|
sn as NotificationContextKey,
|
|
3619
|
-
|
|
3645
|
+
Ed as NotificationDropdown,
|
|
3620
3646
|
Wn as NotificationStoreKey,
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3647
|
+
fd as NotificationTemplate,
|
|
3648
|
+
Af as OAuthAppsClient,
|
|
3649
|
+
pf as ProgressMessageLevel,
|
|
3650
|
+
Tf as PushNotificationClient,
|
|
3651
|
+
Xl as RegistrationError,
|
|
3652
|
+
kl as ResetPassword,
|
|
3653
|
+
md as SCHEDULER_ZOOM_LEVELS,
|
|
3654
|
+
hf as SecurityClient,
|
|
3655
|
+
Jl as ServiceError,
|
|
3630
3656
|
Rn as SettingClient,
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3657
|
+
Lf as SettingValueType,
|
|
3658
|
+
gd as SettingsMenu,
|
|
3659
|
+
Sd as SettingsMenuItem,
|
|
3634
3660
|
Fn as SettingsMenuServiceKey,
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3661
|
+
Of as SettingsV2Client,
|
|
3662
|
+
Rf as ShellIndicatorsKey,
|
|
3663
|
+
yl as Sidebar,
|
|
3664
|
+
_f as SortDirection,
|
|
3665
|
+
Ad as Table,
|
|
3666
|
+
pd as TableBody,
|
|
3667
|
+
Td as TableCell,
|
|
3668
|
+
hd as TableCheckbox,
|
|
3669
|
+
Ld as TableColumnSwitcher,
|
|
3670
|
+
Od as TableEmpty,
|
|
3671
|
+
Rd as TableFooter,
|
|
3672
|
+
_d as TableGroupRow,
|
|
3673
|
+
Id as TableHead,
|
|
3674
|
+
vd as TableHeader,
|
|
3675
|
+
wd as TableRow,
|
|
3676
|
+
Cd as TableRowActions,
|
|
3677
|
+
bd as TableSearchHeader,
|
|
3678
|
+
Pd as TableSelectAllBar,
|
|
3679
|
+
Nd as ThemeSelector,
|
|
3654
3680
|
kn as ToolbarServiceKey,
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3681
|
+
Dd as UserDropdownButton,
|
|
3682
|
+
Ql as ValidationError,
|
|
3683
|
+
yd as VcAccordion,
|
|
3684
|
+
Bd as VcAccordionItem,
|
|
3685
|
+
Ff as VcAiAgentPanel,
|
|
3686
|
+
Md as VcApp,
|
|
3687
|
+
kd as VcAppBarMobileActions,
|
|
3688
|
+
Vd as VcAppBarOverlay,
|
|
3689
|
+
Ud as VcAppBarWidgetContent,
|
|
3690
|
+
Fd as VcAppBarWidgetItem,
|
|
3691
|
+
Wd as VcAppBarWidgetsMenu,
|
|
3692
|
+
Hd as VcAppDesktopLayout,
|
|
3693
|
+
Gd as VcAppMenu,
|
|
3694
|
+
xd as VcAppMenuSidebar,
|
|
3695
|
+
$d as VcAppMobileLayout,
|
|
3696
|
+
Kd as VcAppSidebarCollapseButton,
|
|
3697
|
+
zd as VcAppSidebarContent,
|
|
3698
|
+
qd as VcAppSidebarHeader,
|
|
3673
3699
|
_e as VcAuthLayout,
|
|
3674
|
-
|
|
3700
|
+
Yd as VcBadge,
|
|
3675
3701
|
Sn as VcBanner,
|
|
3676
3702
|
Ft as VcBlade,
|
|
3677
|
-
|
|
3703
|
+
jd as VcBladeNavigation,
|
|
3678
3704
|
Rs as VcBladeNavigationComponent,
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3705
|
+
Zd as VcBladeNavigationV2,
|
|
3706
|
+
Xd as VcBladeSlot,
|
|
3707
|
+
Jd as VcBreadcrumbs,
|
|
3682
3708
|
$ as VcButton,
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3709
|
+
Qd as VcButtonGroup,
|
|
3710
|
+
ec as VcCard,
|
|
3711
|
+
tc as VcCheckbox,
|
|
3712
|
+
ac as VcCheckboxGroup,
|
|
3713
|
+
nc as VcCol,
|
|
3714
|
+
eu as VcColorInput,
|
|
3689
3715
|
pe as VcColumn,
|
|
3690
3716
|
En as VcContainer,
|
|
3691
3717
|
mn as VcDataTable,
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3718
|
+
tu as VcDatePicker,
|
|
3719
|
+
sc as VcDropdown,
|
|
3720
|
+
oc as VcDropdownItem,
|
|
3721
|
+
rc as VcDynamicProperty,
|
|
3722
|
+
ic as VcEditor,
|
|
3723
|
+
lc as VcEnvironmentBanner,
|
|
3724
|
+
$e as VcField,
|
|
3725
|
+
uc as VcFileUpload,
|
|
3700
3726
|
ge as VcForm,
|
|
3701
|
-
|
|
3727
|
+
dc as VcGallery,
|
|
3702
3728
|
Ee as VcHint,
|
|
3703
3729
|
Cn as VcIcon,
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3730
|
+
it as VcImage,
|
|
3731
|
+
cc as VcImageTile,
|
|
3732
|
+
Ec as VcImageUpload,
|
|
3707
3733
|
K as VcInput,
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3734
|
+
au as VcInputCurrency,
|
|
3735
|
+
nu as VcInputDropdown,
|
|
3736
|
+
fc as VcInputGroup,
|
|
3737
|
+
su as VcLabel,
|
|
3738
|
+
mc as VcLanguageSelector,
|
|
3739
|
+
gc as VcLink,
|
|
3714
3740
|
Wt as VcLoading,
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3741
|
+
Sc as VcMenu,
|
|
3742
|
+
Ac as VcMenuExpandedKey,
|
|
3743
|
+
pc as VcMenuGroup,
|
|
3744
|
+
Tc as VcMenuItem,
|
|
3745
|
+
hc as VcMultivalue,
|
|
3746
|
+
Lc as VcPagination,
|
|
3747
|
+
Oc as VcPopover,
|
|
3722
3748
|
un as VcPopup,
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3749
|
+
Rc as VcProgress,
|
|
3750
|
+
_c as VcRadioButton,
|
|
3751
|
+
Ic as VcRadioGroup,
|
|
3752
|
+
vc as VcRating,
|
|
3753
|
+
wc as VcRow,
|
|
3754
|
+
Cc as VcScheduler,
|
|
3755
|
+
ou as VcScrollableContainer,
|
|
3756
|
+
ru as VcSelect,
|
|
3731
3757
|
gn as VcSidebar,
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3758
|
+
iu as VcSkeleton,
|
|
3759
|
+
bc as VcSlider,
|
|
3760
|
+
Pc as VcStatus,
|
|
3761
|
+
Nc as VcStatusIcon,
|
|
3762
|
+
Dc as VcSwitch,
|
|
3763
|
+
yc as VcTable,
|
|
3738
3764
|
fn as VcTextarea,
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3765
|
+
ft as VcToast,
|
|
3766
|
+
If as VcTooltip,
|
|
3767
|
+
Bc as VcVideo,
|
|
3768
|
+
Mc as VcWidget,
|
|
3743
3769
|
_n as WidgetScopeKey,
|
|
3744
3770
|
Ht as WidgetServiceKey,
|
|
3745
3771
|
Ut as __registerBladeConfig,
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3772
|
+
kc as _createEnvironmentNameLogic,
|
|
3773
|
+
vf as _createInternalUserLogic,
|
|
3774
|
+
Fl as _resetAdapterState,
|
|
3775
|
+
wf as _sharedInternalUserLogic,
|
|
3776
|
+
lu as addAppBarWidget,
|
|
3777
|
+
uu as addMenuItem,
|
|
3778
|
+
du as addSettingsMenuItem,
|
|
3779
|
+
cu as after,
|
|
3754
3780
|
xn as aiAgentPlugin,
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3781
|
+
Vc as autofocus,
|
|
3782
|
+
Eu as before,
|
|
3783
|
+
fu as bigInt,
|
|
3758
3784
|
El as camelToSnake,
|
|
3759
3785
|
ml as camelize,
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3786
|
+
sm as clearLayoutStorage,
|
|
3787
|
+
mu as convertColorNameToHex,
|
|
3788
|
+
Uc as convertMomentFormat,
|
|
3789
|
+
Wf as createAiAgentToolbarButton,
|
|
3764
3790
|
Tl as createAppModule,
|
|
3765
|
-
|
|
3766
|
-
|
|
3791
|
+
gu as createBackendRegistry,
|
|
3792
|
+
Su as createKeyedBackendRegistry,
|
|
3767
3793
|
U as createLogger,
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3794
|
+
Gl as default,
|
|
3795
|
+
ct as defineAppModule,
|
|
3796
|
+
Pl as defineBladeContext,
|
|
3797
|
+
hm as defineExtensionPoint,
|
|
3798
|
+
Fc as detectThemePreset,
|
|
3799
|
+
Hf as expectedCode,
|
|
3800
|
+
Gf as expectedEventKey,
|
|
3801
|
+
Au as fileWeight,
|
|
3802
|
+
Wc as focusIfLoose,
|
|
3803
|
+
Hc as formatBadgeCount,
|
|
3804
|
+
Gc as formatDateRelative,
|
|
3805
|
+
xc as formatDateWithPattern,
|
|
3806
|
+
xf as formatShortcut,
|
|
3807
|
+
om as fromGridstackNode,
|
|
3782
3808
|
ka as generateId,
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3809
|
+
$c as getAllBladeConfigs,
|
|
3810
|
+
Kc as getBestThumbnailSize,
|
|
3811
|
+
zc as getBladeConfig,
|
|
3786
3812
|
hl as getComponentDefaults,
|
|
3787
3813
|
qt as getExtensionColor,
|
|
3788
3814
|
Yt as getExtensionLabel,
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3815
|
+
pu as getMenuBadge,
|
|
3816
|
+
Tu as getMenuBadges,
|
|
3817
|
+
qc as getThumbnailUrl,
|
|
3818
|
+
$f as hotkey,
|
|
3793
3819
|
X as i18n,
|
|
3794
|
-
|
|
3795
|
-
|
|
3820
|
+
Nl as injectBladeContext,
|
|
3821
|
+
hu as isFrameworkError,
|
|
3796
3822
|
Kt as isImage,
|
|
3797
|
-
|
|
3798
|
-
|
|
3823
|
+
Kf as isTextInputFocused,
|
|
3824
|
+
Lu as isValidHexColor,
|
|
3799
3825
|
gs as kebabToCamel,
|
|
3800
3826
|
fl as kebabToPascal,
|
|
3801
|
-
|
|
3802
|
-
|
|
3827
|
+
Yc as languageToCountryMap,
|
|
3828
|
+
rm as loadLayoutFromStorage,
|
|
3803
3829
|
Ma as loading,
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3830
|
+
Cf as logger,
|
|
3831
|
+
bf as loggers,
|
|
3832
|
+
zf as matchesEvent,
|
|
3833
|
+
im as mergeLayoutWithWidgets,
|
|
3834
|
+
Ou as mindimensions,
|
|
3835
|
+
Ru as normalizeHexColor,
|
|
3810
3836
|
q as notification,
|
|
3811
3837
|
be as parseError,
|
|
3812
3838
|
ps as permissions,
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3839
|
+
_u as provideAppBarState,
|
|
3840
|
+
jc as provideAppBarWidget,
|
|
3841
|
+
Iu as provideDashboardService,
|
|
3842
|
+
Zc as provideLanguages,
|
|
3843
|
+
vu as provideMenuService,
|
|
3844
|
+
wu as provideSettingsMenu,
|
|
3845
|
+
Xc as provideSidebarState,
|
|
3846
|
+
Cu as provideToolbarService,
|
|
3821
3847
|
zt as readableSize,
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3848
|
+
bu as registerDashboardWidget,
|
|
3849
|
+
Pu as registerExternalWidget,
|
|
3850
|
+
Nu as registerToolbarItem,
|
|
3851
|
+
Du as registerWidget,
|
|
3852
|
+
yu as removeMenuBadge,
|
|
3853
|
+
Bu as removeRegisteredMenuItem,
|
|
3854
|
+
Jc as resolveEnvironment,
|
|
3855
|
+
Qc as resolveLocale,
|
|
3856
|
+
eE as resolveLocaleSync,
|
|
3857
|
+
lm as saveLayoutToStorage,
|
|
3858
|
+
Mu as setMenuBadge,
|
|
3833
3859
|
Ts as signalR,
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3860
|
+
tE as stripTenantPrefix,
|
|
3861
|
+
um as toGridstackWidget,
|
|
3862
|
+
aE as useAdaptiveItems,
|
|
3863
|
+
qf as useAiAgent,
|
|
3864
|
+
yf as useAiAgentContext,
|
|
3839
3865
|
Ms as useApiClient,
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3866
|
+
nE as useAppBarMobileActions,
|
|
3867
|
+
ku as useAppBarState,
|
|
3868
|
+
sE as useAppBarWidget,
|
|
3869
|
+
oE as useAppBarWidgets,
|
|
3844
3870
|
qa as useAppInsights,
|
|
3845
|
-
|
|
3846
|
-
|
|
3871
|
+
_l as useAssets,
|
|
3872
|
+
Il as useAssetsManager,
|
|
3847
3873
|
Zt as useAsync,
|
|
3848
|
-
|
|
3874
|
+
rE as useBadge,
|
|
3849
3875
|
$s as useBeforeUnload,
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3876
|
+
lt as useBlade,
|
|
3877
|
+
Hl as useBladeForm,
|
|
3878
|
+
Vu as useBladeLoading,
|
|
3879
|
+
iE as useBladeMessaging,
|
|
3880
|
+
Wl as useBladeNavigation,
|
|
3855
3881
|
gl as useBladeNotifications,
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3882
|
+
Yf as useBladeStack,
|
|
3883
|
+
Cl as useBladeWidgets,
|
|
3884
|
+
lE as useBreadcrumbs,
|
|
3859
3885
|
Al as useBroadcastFilter,
|
|
3860
|
-
|
|
3861
|
-
|
|
3886
|
+
uE as useCollapsible,
|
|
3887
|
+
dE as useColumnFilter,
|
|
3862
3888
|
Ho as useContainer,
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3889
|
+
Uu as useDashboard,
|
|
3890
|
+
cE as useDataTablePagination,
|
|
3891
|
+
EE as useDataTableSort,
|
|
3892
|
+
vl as useDynamicProperties,
|
|
3893
|
+
fE as useEnvironmentName,
|
|
3894
|
+
Fu as useErrorHandler,
|
|
3895
|
+
Lm as useExtensionPoint,
|
|
3896
|
+
mE as useFilterState,
|
|
3897
|
+
Wu as useFloatingPosition,
|
|
3898
|
+
Hu as useFormField,
|
|
3873
3899
|
Ll as useFunctions,
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3900
|
+
gE as useGalleryPreview,
|
|
3901
|
+
dm as useGridstack,
|
|
3902
|
+
SE as useImageLoad,
|
|
3877
3903
|
Vo as useInstance,
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3904
|
+
jf as useIsMac,
|
|
3905
|
+
Zf as useKeyboardShortcuts,
|
|
3906
|
+
AE as useLanguages,
|
|
3907
|
+
Rl as useLatestRequest,
|
|
3881
3908
|
Xt as useLoading,
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3909
|
+
pE as useMenuActiveState,
|
|
3910
|
+
TE as useMenuExpanded,
|
|
3911
|
+
Gu as useMenuService,
|
|
3912
|
+
Dl as useModificationTracker,
|
|
3886
3913
|
Sl as useNotificationContext,
|
|
3887
3914
|
me as useNotificationStore,
|
|
3888
3915
|
Ol as useNotifications,
|
|
3889
3916
|
nt as usePermissions,
|
|
3890
3917
|
An as usePopup,
|
|
3891
3918
|
Ua as useResponsive,
|
|
3892
|
-
|
|
3919
|
+
xu as useScrollArrows,
|
|
3893
3920
|
we as useSettings,
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3921
|
+
$u as useSettingsMenu,
|
|
3922
|
+
hE as useShellBootstrap,
|
|
3923
|
+
LE as useShellLifecycle,
|
|
3924
|
+
OE as useShellNavigation,
|
|
3925
|
+
RE as useSidebarState,
|
|
3926
|
+
_E as useTableColumnsReorder,
|
|
3927
|
+
IE as useTableColumnsResize,
|
|
3928
|
+
vE as useTableContext,
|
|
3929
|
+
wE as useTableInlineEdit,
|
|
3903
3930
|
pl as useTableQueryState,
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3931
|
+
CE as useTableRowGrouping,
|
|
3932
|
+
bE as useTableRowReorder,
|
|
3933
|
+
PE as useTableSearch,
|
|
3934
|
+
NE as useTableSelection,
|
|
3935
|
+
DE as useTableSort,
|
|
3936
|
+
Pf as useTeleportTarget,
|
|
3910
3937
|
Fa as useTheme,
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3938
|
+
yE as useToggleableContent,
|
|
3939
|
+
Ku as useToolbar,
|
|
3940
|
+
Nf as useUser,
|
|
3941
|
+
BE as useVirtualScroll,
|
|
3942
|
+
wl as useWebVitals,
|
|
3943
|
+
bl as useWidgetTrigger,
|
|
3944
|
+
ME as vAutofocus,
|
|
3918
3945
|
Ma as vLoading,
|
|
3919
|
-
|
|
3946
|
+
zu as wrapError
|
|
3920
3947
|
};
|