@vc-shell/framework 2.0.3 → 2.0.4-pr228.833ff5f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/ai-agent/index.js +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-Bgkc3--0.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js} +1662 -1109
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js.map +1 -0
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-Df8FWaeV.js → VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js} +8474 -8405
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js.map +1 -0
- package/dist/chunks/{index-BXwiMzC3.js → index-CacTeJdd.js} +1 -1
- package/dist/chunks/{index-BXwiMzC3.js.map → index-CacTeJdd.js.map} +1 -1
- package/dist/core/api/platform.d.ts +334 -104
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
- package/dist/framework.js +508 -513
- package/dist/index.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +4 -2
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +4 -2
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-Bgkc3--0.js.map +0 -1
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-Df8FWaeV.js.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts +0 -4
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts +0 -4
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts.map +0 -1
package/dist/framework.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as es, b as ts } from "./chunks/vendor-vueuse-core-CEdpDfzx.js";
|
|
2
|
-
import { bn as gt, bo as Ee, bp as as, bq as re, br as qt, bs as Z, bt as oe, bu as Ke, bv as ss, bw as os, aw as ns, U as q, bx as qe, by as rs, bz as is, bA as Be, bB as ls, bC as jt,
|
|
3
|
-
import {
|
|
4
|
-
import { getCurrentScope as
|
|
2
|
+
import { bn as gt, bo as Ee, bp as as, bq as re, br as qt, bs as Z, bt as oe, bu as Ke, bv as ss, bw as os, aw as ns, U as q, bx as qe, by as rs, bz as is, bA as Be, bB as ls, bC as jt, bD as Yt, R as Zt, a2 as cs, ac as he, af as mt, aa as je, ai as j, aL as ds, a3 as us, a1 as we, aR as Xt, bE as fs, bF as gs, bG as ms, aE as ps, O as Oe, ae as me, ap as Jt, Q as Es, bH as hs, bI as vs, bJ as Ss, bK as As, aM as It, bL as bs, bM as ws, bN as Ts, bO as Ls, bP as _s, bQ as Os, bR as ys, bS as Is, bT as Rs, bU as Ps, bV as Cs } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js";
|
|
3
|
+
import { bW as ld, B as cd, _ as dd, a as ud, b as fd, c as gd, d as md, e as pd, f as Ed, g as hd, h as vd, i as Sd, j as Ad, bX as bd, bY as wd, C as Td, bZ as Ld, b_ as _d, b$ as Od, c0 as yd, c1 as Id, c2 as Rd, k as Pd, c3 as Cd, c4 as Dd, c5 as Nd, c6 as kd, c7 as Bd, c8 as Md, c9 as Fd, l as Vd, m as Ud, n as $d, o as Wd, p as Gd, q as xd, T as Hd, r as zd, s as Kd, t as qd, u as jd, v as Yd, w as Zd, x as Xd, ca as Jd, cb as Qd, cc as eu, V as tu, y as au, z as su, A as ou, D as nu, E as ru, F as iu, G as lu, H as cu, I as du, J as uu, K as fu, L as gu, M as mu, N as pu, P as Eu, cd as hu, cd as vu, ce as Su, S as Au, W as bu, X as wu, Y as Tu, Z as Lu, $ as _u, a0 as Ou, a4 as yu, a5 as Iu, a6 as Ru, a7 as Pu, a8 as Cu, a9 as Du, ab as Nu, ad as ku, ag as Bu, ah as Mu, aj as Fu, ak as Vu, al as Uu, am as $u, an as Wu, ao as Gu, aq as xu, ar as Hu, as as zu, at as Ku, au as qu, av as ju, ax as Yu, ay as Zu, az as Xu, aA as Ju, aB as Qu, aC as ef, aD as tf, aF as af, aG as sf, aH as of, aI as nf, aJ as rf, aK as lf, aN as cf, aO as df, aP as uf, cf as ff, cg as gf, ch as mf, ci as pf, aQ as Ef, cj as hf, ck as vf, cl as Sf, cm as Af, cn as bf, co as wf, cp as Tf, cq as Lf, cr as _f, cs as Of, ct as yf, cu as If, cv as Rf, cw as Pf, cx as Cf, cy as Df, cz as Nf, cA as kf, cB as Bf, aS as Mf, cC as Ff, cD as Vf, cE as Uf, cF as $f, cG as Wf, cH as Gf, cI as xf, cJ as Hf, cK as zf, cL as Kf, cM as qf, cN as jf, cO as Yf, cP as Zf, cQ as Xf, cR as Jf, aT as Qf, aU as eg, aV as tg, aW as ag, cS as sg, aX as og, aY as ng, aZ as rg, cT as ig, cU as lg, a_ as cg, a$ as dg, b0 as ug, b1 as fg, cV as gg, b2 as mg, b3 as pg, b4 as Eg, b5 as hg, b6 as vg, cW as Sg, b7 as Ag, cX as bg, cY as wg, b8 as Tg, cZ as Lg, b9 as _g, ba as Og, bb as yg, c_ as Ig, bc as Rg, bd as Pg, be as Cg, bf as Dg, bg as Ng, bh as kg, bi as Bg, bj as Mg, bk as Fg, bl as Vg, c$ as Ug, bm as $g, aQ as Wg, d0 as Gg } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js";
|
|
4
|
+
import { getCurrentScope as Qt, onScopeDispose as ea, computed as O, inject as te, watch as ee, defineComponent as $, openBlock as h, createBlock as D, createSlots as ye, withCtx as T, renderSlot as W, createElementVNode as k, normalizeClass as ta, createElementBlock as N, Fragment as Y, createVNode as y, unref as c, createTextVNode as G, toDisplayString as F, shallowReactive as Ds, ref as R, readonly as nt, onMounted as ve, onBeforeMount as Ns, onBeforeUnmount as ks, onUnmounted as aa, provide as sa, toValue as oa, isRef as na, normalizeStyle as Se, createCommentVNode as V, withDirectives as ra, withModifiers as Ye, reactive as de, createApp as Bs, nextTick as ge, renderList as ae, withKeys as pt, mergeProps as ne, shallowRef as Ms, createStaticVNode as Fs, resolveDynamicComponent as Vs, getCurrentInstance as Us, warn as $s, h as le, toRaw as Ws } from "vue";
|
|
5
5
|
import { _ as Gs } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
6
|
-
import { d as H, p as xs, e as Hs, f as zs, g as Ks, s as qs, h as js, i as Ys, j as Zs, k as Xs, S as Js, W as
|
|
7
|
-
import { A as
|
|
6
|
+
import { d as H, p as xs, e as Hs, f as zs, g as Ks, s as qs, h as js, i as Ys, j as Zs, k as Xs, S as Js, W as ia, B as la, l as Qs, m as ca, n as Et, o as da, M as eo, _ as ua, q as to, r as ao, t as so, v as oo, w as no, x as ro, y as io, L as lo, I as co, z as uo, C as fo, F as go, G as mo, J as po, T as Eo, K as ho, N as vo, O as So, P as Ao } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js";
|
|
7
|
+
import { A as Hg, b as zg, Q as Kg, R as qg, U as jg, V as Yg, X as Zg, Y as Xg, Z as Jg, $ as Qg, a0 as em, a1 as tm, a2 as am, a3 as sm, a4 as om, a5 as nm, a6 as rm, D as im, a7 as lm, a8 as cm, a9 as dm, aa as um, ab as fm, ac as gm, E as mm, ad as pm, ae as Em, af as hm, H as vm, ag as Sm, ah as Am, ai as bm, aj as wm, ak as Tm, al as Lm, am as _m, an as Om, ao as ym, ap as Im, aq as Rm, ar as Pm, as as Cm, at as Dm, a as Nm, au as km, av as Bm, c as Mm, aw as Fm, ax as Vm, u as Um, ay as $m, az as Wm } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js";
|
|
8
8
|
import { H as bo, L as wo } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
|
|
9
|
-
import { a as To } from "./chunks/index-
|
|
10
|
-
import { u as
|
|
9
|
+
import { a as To } from "./chunks/index-CacTeJdd.js";
|
|
10
|
+
import { u as xm } from "./chunks/index-CacTeJdd.js";
|
|
11
11
|
import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
12
12
|
import "./chunks/vendor-dompurify-DpIUMBYC.js";
|
|
13
13
|
import { u as Ae } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
|
|
@@ -86,12 +86,12 @@ import "./assets/72de3a63bc0b70dd.svg";
|
|
|
86
86
|
import "./chunks/vendor-iso-639-1-BEjYyfKo.js";
|
|
87
87
|
import "./chunks/vendor-truncate-html-ChA1T5zy.js";
|
|
88
88
|
import { v as Lo } from "./chunks/vendor-vue3-touch-events-DqysuuWh.js";
|
|
89
|
-
import { G as
|
|
90
|
-
import { A as
|
|
89
|
+
import { G as _o } from "./chunks/vendor-gridstack-Beau2jQ7.js";
|
|
90
|
+
import { A as Oo, u as yo } from "./chunks/vendor-vue3-application-insights-CAgbt8pk.js";
|
|
91
91
|
import { o as Io, c as Q, d as Ro, a as Po } from "./chunks/vendor-lodash-es-CfnUOh0o.js";
|
|
92
92
|
import { T as Co, x as Do, b as No, S as ko, $ as Bo } from "./chunks/vendor-web-vitals-ByFgAM-8.js";
|
|
93
93
|
import { _ as Mo } from "./chunks/index-BuTo_Lx8.js";
|
|
94
|
-
import { E as
|
|
94
|
+
import { E as zm, d as Km, u as qm } from "./chunks/index-BuTo_Lx8.js";
|
|
95
95
|
import { S as fa, z as vt, A as Fo, C as Vo, a as $e, w as Uo, b as $o, D as Wo, c as Go, E as xo } from "./chunks/vendor-unovis-vue-CZWGT3-0.js";
|
|
96
96
|
function pc(e) {
|
|
97
97
|
return e.replace(/[\w]([A-Z])/g, function(t) {
|
|
@@ -155,10 +155,10 @@ function vc(e) {
|
|
|
155
155
|
filter: e.filter,
|
|
156
156
|
handler: e.onMessage
|
|
157
157
|
});
|
|
158
|
-
|
|
159
|
-
const s =
|
|
158
|
+
Qt() && ea(a);
|
|
159
|
+
const s = O(
|
|
160
160
|
() => t.realtime.value.filter((r) => !(!r.notifyType || !e.types.includes(r.notifyType) || !r.isNew || e.filter && !e.filter(r)))
|
|
161
|
-
), o =
|
|
161
|
+
), o = O(() => s.value.length);
|
|
162
162
|
function i(r) {
|
|
163
163
|
t.markAsRead(r);
|
|
164
164
|
}
|
|
@@ -379,7 +379,7 @@ const Jo = {
|
|
|
379
379
|
title: e.title,
|
|
380
380
|
closable: e.closable,
|
|
381
381
|
onClose: r[0] || (r[0] = (n) => i.$emit("close"))
|
|
382
|
-
},
|
|
382
|
+
}, ye({
|
|
383
383
|
content: T(() => [
|
|
384
384
|
W(i.$slots, "default")
|
|
385
385
|
]),
|
|
@@ -389,13 +389,13 @@ const Jo = {
|
|
|
389
389
|
confirm: () => o(n)
|
|
390
390
|
}, () => [
|
|
391
391
|
k("div", {
|
|
392
|
-
class:
|
|
392
|
+
class: ta(["vc-popup-base__actions", {
|
|
393
393
|
"vc-popup-base__actions--confirm": e.mode === "confirm",
|
|
394
394
|
"vc-popup-base__actions--single": e.mode === "acknowledge"
|
|
395
395
|
}])
|
|
396
396
|
}, [
|
|
397
397
|
e.mode === "confirm" ? (h(), N(Y, { key: 0 }, [
|
|
398
|
-
|
|
398
|
+
y(c(q), {
|
|
399
399
|
text: e.confirmAsText,
|
|
400
400
|
class: "vc-popup-base__confirm",
|
|
401
401
|
onClick: (d) => o(n)
|
|
@@ -405,7 +405,7 @@ const Jo = {
|
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
407
|
}, 8, ["text", "onClick"]),
|
|
408
|
-
|
|
408
|
+
y(c(q), { onClick: n }, {
|
|
409
409
|
default: T(() => [
|
|
410
410
|
G(F(e.cancelLabel), 1)
|
|
411
411
|
]),
|
|
@@ -451,7 +451,7 @@ const Jo = {
|
|
|
451
451
|
title: e.title,
|
|
452
452
|
onClose: a[0] || (a[0] = (s) => t.$emit("close")),
|
|
453
453
|
onConfirm: a[1] || (a[1] = (s) => t.$emit("confirm"))
|
|
454
|
-
},
|
|
454
|
+
}, ye({
|
|
455
455
|
default: T(() => [
|
|
456
456
|
W(t.$slots, "default")
|
|
457
457
|
]),
|
|
@@ -479,7 +479,7 @@ const Jo = {
|
|
|
479
479
|
"action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
|
|
480
480
|
title: e.title,
|
|
481
481
|
onClose: a[0] || (a[0] = (s) => t.$emit("close"))
|
|
482
|
-
},
|
|
482
|
+
}, ye({
|
|
483
483
|
default: T(() => [
|
|
484
484
|
W(t.$slots, "default")
|
|
485
485
|
]),
|
|
@@ -507,7 +507,7 @@ const Jo = {
|
|
|
507
507
|
"action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
|
|
508
508
|
title: e.title,
|
|
509
509
|
onClose: a[0] || (a[0] = (s) => t.$emit("close"))
|
|
510
|
-
},
|
|
510
|
+
}, ye({
|
|
511
511
|
default: T(() => [
|
|
512
512
|
W(t.$slots, "default")
|
|
513
513
|
]),
|
|
@@ -629,12 +629,12 @@ function Lc(e) {
|
|
|
629
629
|
a.length && (o = t.subscribe({
|
|
630
630
|
types: a,
|
|
631
631
|
handler: (r) => s?.(r)
|
|
632
|
-
}),
|
|
633
|
-
const i =
|
|
632
|
+
}), Qt() && ea(() => o?.()));
|
|
633
|
+
const i = O(() => a.length ? t.realtime.value.filter(
|
|
634
634
|
(r) => r.isNew && r.notifyType != null && a.includes(r.notifyType)
|
|
635
635
|
) : []);
|
|
636
636
|
return {
|
|
637
|
-
notifications:
|
|
637
|
+
notifications: O(() => Io(t.history.value, ["created"], ["desc"])),
|
|
638
638
|
moduleNotifications: i,
|
|
639
639
|
loadFromHistory: t.loadHistory,
|
|
640
640
|
addNotification: t.ingest,
|
|
@@ -657,7 +657,7 @@ function va(e, t) {
|
|
|
657
657
|
const f = Be(l);
|
|
658
658
|
if (s.value = f, dn.error("Async action failed:", l), o && l && typeof l == "object") {
|
|
659
659
|
const p = `async-error-${f.message.slice(0, 80)}`, m = setTimeout(async () => {
|
|
660
|
-
Xe || (Xe = (await import("./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-
|
|
660
|
+
Xe || (Xe = (await import("./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js").then((w) => w.d1)).notification), Xe.error(f.message, {
|
|
661
661
|
timeout: i,
|
|
662
662
|
notificationId: p
|
|
663
663
|
});
|
|
@@ -684,7 +684,7 @@ function un(e) {
|
|
|
684
684
|
};
|
|
685
685
|
}
|
|
686
686
|
function Sa(...e) {
|
|
687
|
-
return
|
|
687
|
+
return O(() => e.some((t) => t.value));
|
|
688
688
|
}
|
|
689
689
|
function Pe() {
|
|
690
690
|
const e = R(), t = R(!1), { getApiClient: a } = un(Js), { loading: s, action: o } = va(async () => {
|
|
@@ -708,7 +708,7 @@ function Pe() {
|
|
|
708
708
|
return ve(async () => {
|
|
709
709
|
!e.value && !t.value && await o();
|
|
710
710
|
}), {
|
|
711
|
-
uiSettings:
|
|
711
|
+
uiSettings: O(() => e.value ?? {}),
|
|
712
712
|
applySettings: i,
|
|
713
713
|
loading: Sa(s)
|
|
714
714
|
};
|
|
@@ -735,7 +735,7 @@ async function mn(e, t, a) {
|
|
|
735
735
|
}
|
|
736
736
|
return s;
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function _c() {
|
|
739
739
|
const e = R(!1);
|
|
740
740
|
async function t(o, i, r) {
|
|
741
741
|
try {
|
|
@@ -776,7 +776,7 @@ function Oc() {
|
|
|
776
776
|
upload: t,
|
|
777
777
|
remove: a,
|
|
778
778
|
edit: s,
|
|
779
|
-
loading:
|
|
779
|
+
loading: O(() => e.value)
|
|
780
780
|
};
|
|
781
781
|
}
|
|
782
782
|
const pn = H("use-assets-manager"), En = 4;
|
|
@@ -801,7 +801,7 @@ async function vn(e, t, a) {
|
|
|
801
801
|
}
|
|
802
802
|
return s;
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function Oc(e, t) {
|
|
805
805
|
const a = R(!1), s = R(e.value ?? []);
|
|
806
806
|
ee(
|
|
807
807
|
() => e.value,
|
|
@@ -813,13 +813,13 @@ function yc(e, t) {
|
|
|
813
813
|
function o() {
|
|
814
814
|
e.value = s.value;
|
|
815
815
|
}
|
|
816
|
-
const i = s, r =
|
|
816
|
+
const i = s, r = O(() => a.value), n = t.concurrency ?? En, d = t.assetKey ?? "url";
|
|
817
817
|
async function l(w, A) {
|
|
818
818
|
try {
|
|
819
819
|
a.value = !0;
|
|
820
|
-
const b = Array.from(w),
|
|
820
|
+
const b = Array.from(w), _ = t.uploadPath(), L = (await vn(
|
|
821
821
|
b,
|
|
822
|
-
(C, B) => hn(C,
|
|
822
|
+
(C, B) => hn(C, _, B, A),
|
|
823
823
|
n
|
|
824
824
|
)).filter((C) => C !== null);
|
|
825
825
|
s.value = [...s.value, ...L], o();
|
|
@@ -939,17 +939,17 @@ const wn = {
|
|
|
939
939
|
He(e, o);
|
|
940
940
|
return;
|
|
941
941
|
}
|
|
942
|
-
s?.length && (pe(e) ?
|
|
942
|
+
s?.length && (pe(e) ? _n(e, t, s, o) : In(e, t, s));
|
|
943
943
|
}
|
|
944
944
|
};
|
|
945
|
-
function
|
|
946
|
-
Array.isArray(t) ?
|
|
945
|
+
function _n(e, t, a, s) {
|
|
946
|
+
Array.isArray(t) ? On(
|
|
947
947
|
e,
|
|
948
948
|
t,
|
|
949
949
|
a
|
|
950
|
-
) :
|
|
950
|
+
) : yn(e, t, a, s);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function On(e, t, a) {
|
|
953
953
|
e.values = t.flatMap((s) => {
|
|
954
954
|
const o = a.find(
|
|
955
955
|
(i) => i.id === s.valueId || i.id === s.id
|
|
@@ -966,7 +966,7 @@ function yn(e, t, a) {
|
|
|
966
966
|
) : x(s);
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function yn(e, t, a, s) {
|
|
970
970
|
const o = a.find((i) => i.id === t);
|
|
971
971
|
if (!o) {
|
|
972
972
|
e.values = [];
|
|
@@ -1056,7 +1056,7 @@ const Rn = {
|
|
|
1056
1056
|
function Nt(e) {
|
|
1057
1057
|
return An(e) ? Rn : bn(e) && !Dt(e) ? Pn : e.valueType === "Boolean" ? Tn : Dt(e) ? Ln : wn;
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1059
|
+
function yc(e) {
|
|
1060
1060
|
const { searchDictionary: t, searchMeasurements: a } = e, { loading: s, action: o } = va(async (l) => {
|
|
1061
1061
|
if (l)
|
|
1062
1062
|
return await t(l);
|
|
@@ -1105,9 +1105,9 @@ function Ic(e) {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
const Aa = H("use-blade-widgets");
|
|
1107
1107
|
function Rc(e) {
|
|
1108
|
-
const t = te(
|
|
1108
|
+
const t = te(ia);
|
|
1109
1109
|
if (!t)
|
|
1110
|
-
throw new
|
|
1110
|
+
throw new jt("WidgetService");
|
|
1111
1111
|
const a = t, s = te(la, void 0);
|
|
1112
1112
|
if (!s)
|
|
1113
1113
|
throw new Error(
|
|
@@ -1117,7 +1117,7 @@ function Rc(e) {
|
|
|
1117
1117
|
ve(() => {
|
|
1118
1118
|
for (const n of e)
|
|
1119
1119
|
a.registerWidget(Cn(n), o);
|
|
1120
|
-
}),
|
|
1120
|
+
}), aa(() => {
|
|
1121
1121
|
for (const n of e)
|
|
1122
1122
|
a.unregisterWidget(n.id, o);
|
|
1123
1123
|
});
|
|
@@ -1161,20 +1161,20 @@ function Dn(e) {
|
|
|
1161
1161
|
const t = {};
|
|
1162
1162
|
for (const a of Object.keys(e)) {
|
|
1163
1163
|
const s = e[a];
|
|
1164
|
-
t[a] =
|
|
1164
|
+
t[a] = na(s) ? s.value : s;
|
|
1165
1165
|
}
|
|
1166
1166
|
return t;
|
|
1167
1167
|
}
|
|
1168
1168
|
function Cc(e) {
|
|
1169
|
-
|
|
1169
|
+
sa(
|
|
1170
1170
|
ca,
|
|
1171
|
-
|
|
1171
|
+
O(() => Dn(oa(e)))
|
|
1172
1172
|
);
|
|
1173
1173
|
}
|
|
1174
1174
|
function Dc() {
|
|
1175
1175
|
const e = te(ca);
|
|
1176
1176
|
if (!e)
|
|
1177
|
-
throw new
|
|
1177
|
+
throw new jt("BladeContext");
|
|
1178
1178
|
return e;
|
|
1179
1179
|
}
|
|
1180
1180
|
function kt(e) {
|
|
@@ -1187,7 +1187,7 @@ function Bt(e, t) {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
function Nc(e) {
|
|
1189
1189
|
const t = (r) => Q(c(r)), a = R(t(e)), s = R(t(e)), o = R(!1);
|
|
1190
|
-
|
|
1190
|
+
na(e) && ee(
|
|
1191
1191
|
e,
|
|
1192
1192
|
(r) => {
|
|
1193
1193
|
const n = !Bt(s.value, a.value);
|
|
@@ -1214,7 +1214,7 @@ function Nc(e) {
|
|
|
1214
1214
|
return {
|
|
1215
1215
|
currentValue: s,
|
|
1216
1216
|
pristineValue: a,
|
|
1217
|
-
isModified:
|
|
1217
|
+
isModified: O(() => o.value),
|
|
1218
1218
|
resetModificationState: i
|
|
1219
1219
|
};
|
|
1220
1220
|
}
|
|
@@ -1222,14 +1222,14 @@ const Nn = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
1222
1222
|
key: 1,
|
|
1223
1223
|
class: "assets-details__file-preview tw-shrink-0"
|
|
1224
1224
|
}, Vn = { class: "assets-details__meta" };
|
|
1225
|
-
|
|
1225
|
+
Yt("AssetsDetails", {});
|
|
1226
1226
|
const Un = /* @__PURE__ */ $({
|
|
1227
1227
|
name: "AssetsDetails",
|
|
1228
1228
|
__name: "assets-details",
|
|
1229
1229
|
setup(e) {
|
|
1230
1230
|
const { options: t, closeSelf: a } = Et();
|
|
1231
1231
|
ue({ validateOnMount: !1 });
|
|
1232
|
-
const s = Ie(), o = ht(), { t: i } = Ae({ useScope: "global" }), r = R({ ...t.value?.asset }), n =
|
|
1232
|
+
const s = Ie(), o = ht(), { t: i } = Ae({ useScope: "global" }), r = R({ ...t.value?.asset }), n = O(() => t.value?.disabled), d = O({
|
|
1233
1233
|
get() {
|
|
1234
1234
|
const m = r.value.name;
|
|
1235
1235
|
if (!m) return "";
|
|
@@ -1242,7 +1242,7 @@ const Un = /* @__PURE__ */ $({
|
|
|
1242
1242
|
const w = u.lastIndexOf("."), A = w > 0 ? u.slice(w) : "";
|
|
1243
1243
|
r.value.name = m ? m + A : "";
|
|
1244
1244
|
}
|
|
1245
|
-
}), l =
|
|
1245
|
+
}), l = O(() => !o.value || !s.value), f = R([
|
|
1246
1246
|
{
|
|
1247
1247
|
id: "save",
|
|
1248
1248
|
title: i("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
|
|
@@ -1250,7 +1250,7 @@ const Un = /* @__PURE__ */ $({
|
|
|
1250
1250
|
async clickHandler() {
|
|
1251
1251
|
t.value?.assetEditHandler && typeof t.value?.assetEditHandler == "function" && (await t.value?.assetEditHandler(r.value), a());
|
|
1252
1252
|
},
|
|
1253
|
-
disabled:
|
|
1253
|
+
disabled: O(() => l.value || n.value)
|
|
1254
1254
|
},
|
|
1255
1255
|
{
|
|
1256
1256
|
id: "delete",
|
|
@@ -1259,10 +1259,10 @@ const Un = /* @__PURE__ */ $({
|
|
|
1259
1259
|
async clickHandler() {
|
|
1260
1260
|
t.value?.assetRemoveHandler && typeof t.value?.assetRemoveHandler == "function" && (await t.value?.assetRemoveHandler(r.value), a());
|
|
1261
1261
|
},
|
|
1262
|
-
disabled:
|
|
1262
|
+
disabled: O(() => n.value)
|
|
1263
1263
|
}
|
|
1264
|
-
]), p =
|
|
1265
|
-
return (m, u) => (h(), D(c(
|
|
1264
|
+
]), p = O(() => r.value?.typeId);
|
|
1265
|
+
return (m, u) => (h(), D(c(Zt), {
|
|
1266
1266
|
title: c(t)?.asset?.name,
|
|
1267
1267
|
subtitle: c(i)("ASSETS.PAGES.DETAILS.SUBTITLE"),
|
|
1268
1268
|
"toolbar-items": f.value
|
|
@@ -1270,10 +1270,10 @@ const Un = /* @__PURE__ */ $({
|
|
|
1270
1270
|
default: T(() => [
|
|
1271
1271
|
k("div", Nn, [
|
|
1272
1272
|
k("div", kn, [
|
|
1273
|
-
|
|
1273
|
+
y(c(cs), { "no-padding": !0 }, {
|
|
1274
1274
|
default: T(() => [
|
|
1275
1275
|
k("div", Bn, [
|
|
1276
|
-
|
|
1276
|
+
y(c(he), null, {
|
|
1277
1277
|
default: T(() => [
|
|
1278
1278
|
k("div", Mn, [
|
|
1279
1279
|
c(ga)(r.value.name) ? (h(), D(c(mt), {
|
|
@@ -1289,16 +1289,16 @@ const Un = /* @__PURE__ */ $({
|
|
|
1289
1289
|
}, F(c(Ea)(r.value.name)), 5)
|
|
1290
1290
|
])),
|
|
1291
1291
|
k("div", Vn, [
|
|
1292
|
-
|
|
1292
|
+
y(c(je), {
|
|
1293
1293
|
label: c(i)("ASSETS.PAGES.DETAILS.FIELDS.SIZE"),
|
|
1294
1294
|
"model-value": c(ma)(r.value.size)
|
|
1295
1295
|
}, null, 8, ["label", "model-value"]),
|
|
1296
|
-
|
|
1296
|
+
y(c(je), {
|
|
1297
1297
|
label: c(i)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE"),
|
|
1298
1298
|
"model-value": r.value.createdDate,
|
|
1299
1299
|
type: "date-ago"
|
|
1300
1300
|
}, null, 8, ["label", "model-value"]),
|
|
1301
|
-
|
|
1301
|
+
y(c(je), {
|
|
1302
1302
|
label: c(i)("ASSETS.PAGES.DETAILS.FIELDS.URL"),
|
|
1303
1303
|
"model-value": r.value.url,
|
|
1304
1304
|
"display-value": r.value.name,
|
|
@@ -1315,10 +1315,10 @@ const Un = /* @__PURE__ */ $({
|
|
|
1315
1315
|
"model-value": r.value.name
|
|
1316
1316
|
}, {
|
|
1317
1317
|
default: T(({ errorMessage: w, handleChange: A, errors: b }) => [
|
|
1318
|
-
|
|
1318
|
+
y(c(j), {
|
|
1319
1319
|
modelValue: d.value,
|
|
1320
1320
|
"onUpdate:modelValue": [
|
|
1321
|
-
u[0] || (u[0] = (
|
|
1321
|
+
u[0] || (u[0] = (_) => d.value = _),
|
|
1322
1322
|
A
|
|
1323
1323
|
],
|
|
1324
1324
|
class: "tw-mb-4",
|
|
@@ -1370,31 +1370,31 @@ const Un = /* @__PURE__ */ $({
|
|
|
1370
1370
|
__proto__: null,
|
|
1371
1371
|
AssetsDetails: $n
|
|
1372
1372
|
}, Symbol.toStringTag, { value: "Module" })), Gn = At({ blades: Wn }), xn = { class: "tw-flex tw-items-center tw-justify-center" };
|
|
1373
|
-
|
|
1373
|
+
Yt("AssetsManager", {});
|
|
1374
1374
|
const Hn = /* @__PURE__ */ $({
|
|
1375
1375
|
name: "AssetsManager",
|
|
1376
1376
|
__name: "assets-manager",
|
|
1377
1377
|
setup(e) {
|
|
1378
|
-
const t = H("assets-manager"), { options: a, openBlade: s } = Et(), { t: o } = Ae({ useScope: "global" }), i =
|
|
1378
|
+
const t = H("assets-manager"), { options: a, openBlade: s } = Et(), { t: o } = Ae({ useScope: "global" }), i = O(() => a.value.manager), r = O(() => i.value.items.value ?? []), n = O(() => i.value.loading.value), d = O(() => a.value?.title || o("ASSETS_MANAGER.TITLE")), l = R(!1), f = R(), p = R([]), m = O(() => a.value?.disabled), u = R([
|
|
1379
1379
|
{
|
|
1380
1380
|
id: "add",
|
|
1381
|
-
title:
|
|
1381
|
+
title: O(() => o("ASSETS_MANAGER.TOOLBAR.ADD")),
|
|
1382
1382
|
icon: "lucide-plus",
|
|
1383
1383
|
clickHandler() {
|
|
1384
1384
|
P();
|
|
1385
1385
|
},
|
|
1386
|
-
disabled:
|
|
1387
|
-
isVisible:
|
|
1386
|
+
disabled: O(() => m.value),
|
|
1387
|
+
isVisible: O(() => !m.value)
|
|
1388
1388
|
},
|
|
1389
1389
|
{
|
|
1390
1390
|
id: "delete",
|
|
1391
|
-
title:
|
|
1391
|
+
title: O(() => o("ASSETS_MANAGER.TOOLBAR.DELETE")),
|
|
1392
1392
|
icon: "lucide-trash-2",
|
|
1393
1393
|
async clickHandler() {
|
|
1394
1394
|
await i.value.removeMany(p.value);
|
|
1395
1395
|
},
|
|
1396
|
-
disabled:
|
|
1397
|
-
isVisible:
|
|
1396
|
+
disabled: O(() => !p.value.length || m.value),
|
|
1397
|
+
isVisible: O(() => !m.value)
|
|
1398
1398
|
}
|
|
1399
1399
|
]);
|
|
1400
1400
|
async function w(E) {
|
|
@@ -1409,7 +1409,7 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1409
1409
|
function b() {
|
|
1410
1410
|
m.value || (l.value = !1);
|
|
1411
1411
|
}
|
|
1412
|
-
async function
|
|
1412
|
+
async function _(E) {
|
|
1413
1413
|
if (!m.value) {
|
|
1414
1414
|
const g = E.dataTransfer?.files;
|
|
1415
1415
|
if (g && g.length)
|
|
@@ -1474,26 +1474,26 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1474
1474
|
const U = () => [
|
|
1475
1475
|
{
|
|
1476
1476
|
icon: "lucide-trash-2",
|
|
1477
|
-
title:
|
|
1477
|
+
title: O(() => o("ASSETS_MANAGER.TABLE.ACTIONS.DELETE")),
|
|
1478
1478
|
type: "danger",
|
|
1479
1479
|
async clickHandler(E) {
|
|
1480
1480
|
await i.value.remove(E), p.value = [];
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
1483
|
];
|
|
1484
|
-
return (E, g) => (h(), D(c(
|
|
1484
|
+
return (E, g) => (h(), D(c(Zt), {
|
|
1485
1485
|
title: d.value,
|
|
1486
1486
|
"toolbar-items": u.value,
|
|
1487
1487
|
width: "70%"
|
|
1488
1488
|
}, {
|
|
1489
1489
|
default: T(() => [
|
|
1490
|
-
|
|
1490
|
+
ra((h(), N("div", {
|
|
1491
1491
|
class: "tw-relative tw-h-full tw-flex-1",
|
|
1492
1492
|
onDragover: Ye(A, ["prevent", "stop"]),
|
|
1493
1493
|
onDragleave: Ye(b, ["prevent"]),
|
|
1494
|
-
onDrop: Ye(
|
|
1494
|
+
onDrop: Ye(_, ["prevent", "stop"])
|
|
1495
1495
|
}, [
|
|
1496
|
-
|
|
1496
|
+
y(c(us), {
|
|
1497
1497
|
selection: p.value,
|
|
1498
1498
|
"onUpdate:selection": g[0] || (g[0] = (v) => p.value = v),
|
|
1499
1499
|
items: r.value,
|
|
@@ -1512,7 +1512,7 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1512
1512
|
onRowReorder: w
|
|
1513
1513
|
}, {
|
|
1514
1514
|
default: T(() => [
|
|
1515
|
-
|
|
1515
|
+
y(c(we), {
|
|
1516
1516
|
id: "url",
|
|
1517
1517
|
title: c(o)("ASSETS_MANAGER.TABLE.HEADER.IMAGE"),
|
|
1518
1518
|
width: "10%",
|
|
@@ -1536,13 +1536,13 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1536
1536
|
]),
|
|
1537
1537
|
_: 1
|
|
1538
1538
|
}, 8, ["title"]),
|
|
1539
|
-
|
|
1539
|
+
y(c(we), {
|
|
1540
1540
|
id: "name",
|
|
1541
1541
|
title: c(o)("ASSETS_MANAGER.TABLE.HEADER.NAME"),
|
|
1542
1542
|
width: "20%",
|
|
1543
1543
|
"always-visible": ""
|
|
1544
1544
|
}, null, 8, ["title"]),
|
|
1545
|
-
|
|
1545
|
+
y(c(we), {
|
|
1546
1546
|
id: "size",
|
|
1547
1547
|
title: c(o)("ASSETS_MANAGER.TABLE.HEADER.SIZE"),
|
|
1548
1548
|
width: "20%",
|
|
@@ -1553,7 +1553,7 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1553
1553
|
]),
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}, 8, ["title"]),
|
|
1556
|
-
|
|
1556
|
+
y(c(we), {
|
|
1557
1557
|
id: "sortOrder",
|
|
1558
1558
|
title: c(o)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER"),
|
|
1559
1559
|
width: "25%",
|
|
@@ -1564,7 +1564,7 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1564
1564
|
]),
|
|
1565
1565
|
_: 1
|
|
1566
1566
|
}, 8, ["title"]),
|
|
1567
|
-
|
|
1567
|
+
y(c(we), {
|
|
1568
1568
|
id: "createdDate",
|
|
1569
1569
|
title: c(o)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE"),
|
|
1570
1570
|
width: "25%",
|
|
@@ -1575,7 +1575,7 @@ const Hn = /* @__PURE__ */ $({
|
|
|
1575
1575
|
_: 1
|
|
1576
1576
|
}, 8, ["selection", "items", "reorderable-rows", "selection-mode", "row-actions", "empty-state"])
|
|
1577
1577
|
], 32)), [
|
|
1578
|
-
[c(
|
|
1578
|
+
[c(Xt), n.value]
|
|
1579
1579
|
]),
|
|
1580
1580
|
k("input", {
|
|
1581
1581
|
ref_key: "uploader",
|
|
@@ -1626,7 +1626,7 @@ function $t() {
|
|
|
1626
1626
|
function Wt() {
|
|
1627
1627
|
Z.remove(wa);
|
|
1628
1628
|
}
|
|
1629
|
-
const Gt = R(!1), We = R(0), rt = R(!1), Ge = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Set(), et =
|
|
1629
|
+
const Gt = R(!1), We = R(0), rt = R(!1), Ge = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Set(), et = O(() => We.value > 0 || rt.value);
|
|
1630
1630
|
function Jn(e) {
|
|
1631
1631
|
const t = setTimeout(() => {
|
|
1632
1632
|
We.value++, Ge.delete(e), it.add(e);
|
|
@@ -1685,8 +1685,8 @@ function er(e) {
|
|
|
1685
1685
|
});
|
|
1686
1686
|
});
|
|
1687
1687
|
{
|
|
1688
|
-
let d = function(
|
|
1689
|
-
const P = typeof
|
|
1688
|
+
let d = function(_) {
|
|
1689
|
+
const P = typeof _ == "string" ? _ : _ instanceof Request ? _.url : _.toString();
|
|
1690
1690
|
try {
|
|
1691
1691
|
const L = new URL(P, window.location.origin);
|
|
1692
1692
|
return L.origin === window.location.origin && L.pathname.startsWith("/api/");
|
|
@@ -1708,18 +1708,18 @@ function er(e) {
|
|
|
1708
1708
|
}, 3e4), A = f?.signal, b = () => m.abort();
|
|
1709
1709
|
A?.aborted ? b() : A && A.addEventListener("abort", b, { once: !0 });
|
|
1710
1710
|
try {
|
|
1711
|
-
const
|
|
1711
|
+
const _ = await t(l, {
|
|
1712
1712
|
...f || {},
|
|
1713
1713
|
signal: m.signal
|
|
1714
1714
|
});
|
|
1715
|
-
return
|
|
1715
|
+
return _.status === 401 && s.value && a().then(() => {
|
|
1716
1716
|
tr(e), Z.error(
|
|
1717
1717
|
`Access Denied: Your session has expired or you do not have the necessary permissions.
|
|
1718
1718
|
Please log in again or contact the administrator for assistance.`
|
|
1719
1719
|
);
|
|
1720
|
-
}),
|
|
1721
|
-
} catch (
|
|
1722
|
-
throw u ? new Error("Request timed out. Please try again.") :
|
|
1720
|
+
}), _;
|
|
1721
|
+
} catch (_) {
|
|
1722
|
+
throw u ? new Error("Request timed out. Please try again.") : _;
|
|
1723
1723
|
} finally {
|
|
1724
1724
|
i(p), clearTimeout(w), A && A.removeEventListener("abort", b);
|
|
1725
1725
|
}
|
|
@@ -1729,11 +1729,11 @@ Please log in again or contact the administrator for assistance.`
|
|
|
1729
1729
|
function tr(e) {
|
|
1730
1730
|
e && e.getRoutes().some((t) => t.path === "/login" || t.name === "Login") ? e.currentRoute.value.path !== "/login" && e.push("/login") : window.location.href = window.location.origin + "/";
|
|
1731
1731
|
}
|
|
1732
|
-
const La = { THEMES: { LIGHT: "Light", DARK: "Dark" } }, Oa = { USER: { ROLE: { ADMINISTRATOR: "Administrator" } }, ACCOUNT: { SETTINGS: "Settings", CHANGE_PASSWORD: "Change password", PROFILE: "Profile", LOGOUT: "Log Out" } }, ya = { ATOMS: { VC_BANNER: { SHOW_MORE: "Show more", SHOW_LESS: "Show less" } }, MOLECULES: { VC_SELECT: { CLICK_TO_SELECT: "Click to select...", LOADING: "Loading...", LOADING_MORE: "Loading more...", NO_OPTIONS: "No options" }, VC_FILE_UPLOAD: { DRAG_HERE: "Drag and drop file here or", BROWSE: "browse your files", TAP_TO_UPLOAD: "Tap to select files", UPLOADING: "Uploading..." }, VC_INPUT: { DATE_PLACEHOLDER: "Select date", DATE_TIME_PLACEHOLDER: "Select date and time" }, VC_PAGINATION: { JUMP: "Jump to page:" }, VC_MULTIVALUE: { ADD: "Add" } }, ORGANISMS: { VC_DYNAMIC_PROPERTY: { ADD: "Add value", VALUE_TYPE: { COLOR: { PLACEHOLDER: "Color code", NAME: "Color name" } } }, VC_GALLERY: { INTERNAL: { VC_GALLERY_ITEM: { FULLSCREEN: "Fullscreen", EDIT: "Edit", DELETE: "Delete" }, VC_GALLERY_PREVIEW: { COPY_IMAGE_LINK: "copy image link" } }, GALLERY_IS_EMPTY: "Gallery is empty", DROP_TO_UPLOAD: "Drop to upload", DRAG_IMAGES_HERE: "Drag images here or", BROWSE_IMAGES: "browse your files", UPLOAD: "Upload", OR_DROP_HERE: "or drop here", SHOW_ALL: "Expand ({count})", COLLAPSE: "Collapse" }, VC_APP: { INTERNAL: { VC_APP_BAR: { BACK: "Back" }, MOBILE_LAYOUT: { TAB_MENU: "Menu", TAB_HUB: "Hub" }, APP_HUB: { SEARCH_PLACEHOLDER: "Search applications and widgets", APPLICATIONS: "Applications", WIDGETS: "Widgets", NO_APPLICATIONS: "No applications found", NO_WIDGETS: "No widgets found", LIST_VIEW: "List view", TILE_VIEW: "Tile view" } } }, BLADE_NAVIGATION: { ARIA_LABEL: "Blade navigation" }, VC_BLADE: { SEE_DETAILS: "See details", UNSAVED_CHANGES: "Has unsaved changes", ERROR_POPUP: { TITLE: "Error details", COPY_ERROR: "copy content", CLOSE: "dismiss" }, MORE: "More", TOOLBAR: "Toolbar actions", CLOSE_MENU: "Close menu", PANEL: "Panel" }, VC_BLADE_HEADER: { UNSAVED_CHANGES: "Has unsaved changes", NO_CHANGES: "No unsaved changes" }, VC_TABLE: { CURRENT_PAGE_SELECTED: "All items in this page are selected.", SELECT_ALL: "Select all items", ALL_SELECTED: "All items are selected.", ALL_SELECTED_COUNT: "All {count} items selected", SELECT_ALL_COUNT: "Select all {count} items", CANCEL: "Clear selection", ALL_ACTIONS: "All actions", MORE: "More", ALL_FILTERS: "Filters", SEARCH: "Search...", EMPTY: "List is empty.", EMPTY_TITLE: "No data", EMPTY_DESCRIPTION: "No items to display", NOT_FOUND: "Nothing found.", NOT_FOUND_TITLE: "No results found", NOT_FOUND_DESCRIPTION: "Try adjusting your search or filters", TOTALS: "Totals:", ACTIONS: "Actions", NOT_SET: "Not set", SELECTED: "Selected", SELECT_ALL_TRUNCATED: "Select all", PULL_TO_REFRESH: "Pull to refresh", RELEASE_TO_REFRESH: "Release to refresh", REFRESHING: "Refreshing...", ADD_ROW: "Add row", LOADING: "Loading...", PAGE_INFO: "Page {current} of {total}", COLUMN_FILTER: { APPLY: "Apply", CLEAR: "Clear", FROM: "From", TO: "To" }, GLOBAL_FILTERS: { BUTTON: "Filters", TITLE: "Filters" }, COLUMN_SWITCHER: { BUTTON: "Columns", TITLE: "Show/Hide Columns", SHOW_ALL: "Show All", RESET: "Reset" }, OF: "of", PAGE: "Page" }, VC_POPUP: { OK: "OK", CONFIRM: "Confirm", CANCEL: "Cancel", CLOSE: "Close", TITLE: { CONFIRMATION: "Confirmation", ERROR: "Error", INFO: "Info" } } }, THEME_SELECTOR: { THEME_CHANGED: " theme", THEME_SELECTOR: "Theme" }, CHANGE_PASSWORD: { TITLE: "Change password", TITLE_FORCED: "Password expired", SUBTITLE_FORCED: "Please set a new password", FORCED: { LABEL: "Your password has expired. You must change the password to continue using the manager." }, CURRENT_PASSWORD: { LABEL: "Current password", PLACEHOLDER: "Enter password" }, NEW_PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" }, CANCEL: "Cancel", SAVE: "Update", ERRORS: { "Repeat-password": "Passwords are not same", "Equal-passwords": "The new password must not match the old one", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", "Incorrect password.": "You entered an incorrect password", "You have used this password in the past. Choose another one.": "You have used this password in the past. Choose another one." } }, APP_HUB: { TITLE: "Applications" }, NOTIFICATION_DROPDOWN: { TITLE: "Notifications", EMPTY: "No notifications yet" }, LANGUAGE_SELECTOR: { TITLE: "Language" }, FILTERS: { APPLY: "Apply filters", RESET: "Reset" } }, _a = { TITLE: "You're invited!", SUBTITLE: "Set a password for your account", FIELDS: { EMAIL: { LABEL: "Email" }, PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, ACCEPT_INVITATION: "Activate", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, Ia = { TITLE: "Welcome back", SUBTITLE: "Sign in to your account to continue", FIELDS: { LOGIN: { LABEL: "Email", PLACEHOLDER: "Enter your email" }, PASSWORD: { LABEL: "Password", PLACEHOLDER: "Enter your password" }, FORGOT_PASSWORD: { TITLE: "Forgot password", LABEL: "Email", PLACEHOLDER: "Please enter your email" } }, FORGOT_PASSWORD_BUTTON: "Forgot password?", BUTTON: "Sign in", OR: "or", FORGOT_BUTTON: "Submit", BACK_BUTTON: "Back", BUTTON_OK: "Ok", RESET_EMAIL_TEXT: "We will send you an email with instructions on how to reset your password.", RESET_EMAIL_SENT: "Email with instructions has been sent to you.", SSO_NO_PROVIDERS_ERROR: "SSO authentication is not configured. Please contact your administrator." }, Ra = { TITLE: "Reset your password", SUBTITLE: "Enter your email and we'll send you a reset link", FIELDS: { EMAIL: { LABEL: "Email", PLACEHOLDER: "Enter your email address" } }, SEND_BUTTON: "Send reset link", BACK_TO_LOGIN: "Back to sign in", SUCCESS_TITLE: "Check your email", SUCCESS_TEXT: "We sent a reset link to {email}" }, Pa = { TITLE: "Set new password", SUBTITLE: "Enter your new password below", FIELDS: { PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, SAVE_PASSWORD: "Save", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, Ca = { TITLE: "Assets", TOOLBAR: { SAVE: "Save", REFRESH: "Refresh", ADD: "Add", DELETE: "Delete selected" }, EMPTY: { NO_ASSETS: "No assets", UPLOAD_ASSETS: "Drag & drop assets here or click 'Upload' button", UPLOAD: "Upload" }, TABLE: { HEADER: { IMAGE: "Img", NAME: "Name", SIZE: "Size", SORT_ORDER: "Sort order", CREATED_DATE: "Created date" }, ACTIONS: { DELETE: "Delete", EDIT: "Edit" } } }, Da = { PAGES: { DETAILS: { SUBTITLE: "Asset edit", TOOLBAR: { SAVE: "Save", DELETE: "Delete" }, FIELDS: { SIZE: "Size", CREATED_DATE: "Created date", URL: "Url", COPY: "Copy link", NAME: { TITLE: "Asset name", PLACEHOLDER: "Enter asset name" }, ALT: { TITLE: "Image alternative text", PLACEHOLDER: "Enter image alt text", TOOLTIP: "This text will be displayed in case of disabled/unloaded image on the page" }, DESCRIPTION: { TITLE: "Meta description", PLACEHOLDER: "Enter meta description" } } } } }, Na = { _default: "The {field} is not valid", alpha: "The {field} field may only contain alphabetic characters", alpha_num: "The {field} field may only contain alpha-numeric characters", alpha_dash: "The {field} field may contain alpha-numeric characters as well as dashes and underscores", alpha_spaces: "The {field} field may only contain alphabetic characters as well as spaces", between: "The {field} field must be between 0:{min} and 1:{max}", confirmed: "The {field} field confirmation does not match", digits: "The {field} field must be numeric and exactly contain 0:{length} digits", dimensions: "The {field} field must be 0:{width} pixels by 1:{height} pixels", email: "The {field} field must be a valid email", not_one_of: "The {field} field is not a valid value", ext: "The {field} field is not a valid file", image: "The {field} field must be an image", integer: "The {field} field must be an integer", length: "The {field} field must be 0:{length} long", max_value: "The {field} field must be 0:{max} or less", max: "The {field} field may not be greater than 0:{length} characters", mimes: "The {field} field must have a valid file type", min_value: "The {field} field must be 0:{min} or more", min: "The {field} field must be at least 0:{length} characters", numeric: "The {field} field may only contain numeric characters", one_of: "The {field} field is not a valid value", regex: "The {field} field format is invalid", required_if: "The {field} field is required", required: "The {field} field is required", size: "The {field} field size must be less than 0:{size}KB", url: "The {field} field is not a valid URL", min_dimensions: { error: "Image dimensions must be greater than {height}*{width}", not_image_error: "Not image file" }, file_weight: "File size must be maximum {size} kb", before: "End date must be earlier than start date", after: "End date must be later than start date", bigint: "Unsupported number" }, ka = { ACCESS_RESTRICTED: "Access restricted" }, Ba = { LOADING: "Loading Virto OZ..." }, Ma = { no_options: "No options" }, ar = {
|
|
1732
|
+
const La = { THEMES: { LIGHT: "Light", DARK: "Dark" } }, _a = { USER: { ROLE: { ADMINISTRATOR: "Administrator" } }, ACCOUNT: { SETTINGS: "Settings", CHANGE_PASSWORD: "Change password", PROFILE: "Profile", LOGOUT: "Log Out" } }, Oa = { ATOMS: { VC_BANNER: { SHOW_MORE: "Show more", SHOW_LESS: "Show less" } }, MOLECULES: { VC_SELECT: { CLICK_TO_SELECT: "Click to select...", LOADING: "Loading...", LOADING_MORE: "Loading more...", NO_OPTIONS: "No options" }, VC_FILE_UPLOAD: { DRAG_HERE: "Drag and drop file here or", BROWSE: "browse your files", TAP_TO_UPLOAD: "Tap to select files", UPLOADING: "Uploading..." }, VC_INPUT: { DATE_PLACEHOLDER: "Select date", DATE_TIME_PLACEHOLDER: "Select date and time" }, VC_PAGINATION: { JUMP: "Jump to page:" }, VC_MULTIVALUE: { ADD: "Add" } }, ORGANISMS: { VC_DYNAMIC_PROPERTY: { ADD: "Add value", VALUE_TYPE: { COLOR: { PLACEHOLDER: "Color code", NAME: "Color name" } } }, VC_GALLERY: { INTERNAL: { VC_GALLERY_ITEM: { FULLSCREEN: "Fullscreen", EDIT: "Edit", DELETE: "Delete" }, VC_GALLERY_PREVIEW: { COPY_IMAGE_LINK: "copy image link" } }, GALLERY_IS_EMPTY: "Gallery is empty", DROP_TO_UPLOAD: "Drop to upload", DRAG_IMAGES_HERE: "Drag images here or", BROWSE_IMAGES: "browse your files", UPLOAD: "Upload", OR_DROP_HERE: "or drop here", SHOW_ALL: "Expand ({count})", COLLAPSE: "Collapse" }, VC_APP: { INTERNAL: { VC_APP_BAR: { BACK: "Back" }, MOBILE_LAYOUT: { TAB_MENU: "Menu", TAB_HUB: "Hub" }, APP_HUB: { SEARCH_PLACEHOLDER: "Search applications and widgets", APPLICATIONS: "Applications", WIDGETS: "Widgets", NO_APPLICATIONS: "No applications found", NO_WIDGETS: "No widgets found", LIST_VIEW: "List view", TILE_VIEW: "Tile view" } } }, BLADE_NAVIGATION: { ARIA_LABEL: "Blade navigation" }, VC_BLADE: { SEE_DETAILS: "See details", UNSAVED_CHANGES: "Has unsaved changes", ERROR_POPUP: { TITLE: "Error details", COPY_ERROR: "copy content", CLOSE: "dismiss" }, MORE: "More", TOOLBAR: "Toolbar actions", CLOSE_MENU: "Close menu", PANEL: "Panel" }, VC_BLADE_HEADER: { UNSAVED_CHANGES: "Has unsaved changes", NO_CHANGES: "No unsaved changes" }, VC_TABLE: { CURRENT_PAGE_SELECTED: "All items in this page are selected.", SELECT_ALL: "Select all items", ALL_SELECTED: "All items are selected.", ALL_SELECTED_COUNT: "All {count} items selected", SELECT_ALL_COUNT: "Select all {count} items", CANCEL: "Clear selection", ALL_ACTIONS: "All actions", MORE: "More", ALL_FILTERS: "Filters", SEARCH: "Search...", EMPTY: "List is empty.", EMPTY_TITLE: "No data", EMPTY_DESCRIPTION: "No items to display", NOT_FOUND: "Nothing found.", NOT_FOUND_TITLE: "No results found", NOT_FOUND_DESCRIPTION: "Try adjusting your search or filters", TOTALS: "Totals:", ACTIONS: "Actions", NOT_SET: "Not set", SELECTED: "Selected", SELECT_ALL_TRUNCATED: "Select all", PULL_TO_REFRESH: "Pull to refresh", RELEASE_TO_REFRESH: "Release to refresh", REFRESHING: "Refreshing...", ADD_ROW: "Add row", LOADING: "Loading...", PAGE_INFO: "Page {current} of {total}", COLUMN_FILTER: { APPLY: "Apply", CLEAR: "Clear", FROM: "From", TO: "To" }, GLOBAL_FILTERS: { BUTTON: "Filters", TITLE: "Filters" }, COLUMN_SWITCHER: { BUTTON: "Columns", TITLE: "Show/Hide Columns", SHOW_ALL: "Show All", RESET: "Reset" }, OF: "of", PAGE: "Page" }, VC_POPUP: { OK: "OK", CONFIRM: "Confirm", CANCEL: "Cancel", CLOSE: "Close", TITLE: { CONFIRMATION: "Confirmation", ERROR: "Error", INFO: "Info" } } }, THEME_SELECTOR: { THEME_CHANGED: " theme", THEME_SELECTOR: "Theme" }, CHANGE_PASSWORD: { TITLE: "Change password", TITLE_FORCED: "Password expired", SUBTITLE_FORCED: "Please set a new password", FORCED: { LABEL: "Your password has expired. You must change the password to continue using the manager." }, CURRENT_PASSWORD: { LABEL: "Current password", PLACEHOLDER: "Enter password" }, NEW_PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" }, CANCEL: "Cancel", SAVE: "Update", ERRORS: { "Repeat-password": "Passwords are not same", "Equal-passwords": "The new password must not match the old one", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", "Incorrect password.": "You entered an incorrect password", "You have used this password in the past. Choose another one.": "You have used this password in the past. Choose another one." } }, APP_HUB: { TITLE: "Applications" }, NOTIFICATION_DROPDOWN: { TITLE: "Notifications", EMPTY: "No notifications yet" }, LANGUAGE_SELECTOR: { TITLE: "Language" }, FILTERS: { APPLY: "Apply filters", RESET: "Reset" } }, ya = { TITLE: "You're invited!", SUBTITLE: "Set a password for your account", FIELDS: { EMAIL: { LABEL: "Email" }, PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, ACCEPT_INVITATION: "Activate", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, Ia = { TITLE: "Welcome back", SUBTITLE: "Sign in to your account to continue", FIELDS: { LOGIN: { LABEL: "Email", PLACEHOLDER: "Enter your email" }, PASSWORD: { LABEL: "Password", PLACEHOLDER: "Enter your password" }, FORGOT_PASSWORD: { TITLE: "Forgot password", LABEL: "Email", PLACEHOLDER: "Please enter your email" } }, FORGOT_PASSWORD_BUTTON: "Forgot password?", BUTTON: "Sign in", OR: "or", FORGOT_BUTTON: "Submit", BACK_BUTTON: "Back", BUTTON_OK: "Ok", RESET_EMAIL_TEXT: "We will send you an email with instructions on how to reset your password.", RESET_EMAIL_SENT: "Email with instructions has been sent to you.", SSO_NO_PROVIDERS_ERROR: "SSO authentication is not configured. Please contact your administrator." }, Ra = { TITLE: "Reset your password", SUBTITLE: "Enter your email and we'll send you a reset link", FIELDS: { EMAIL: { LABEL: "Email", PLACEHOLDER: "Enter your email address" } }, SEND_BUTTON: "Send reset link", BACK_TO_LOGIN: "Back to sign in", SUCCESS_TITLE: "Check your email", SUCCESS_TEXT: "We sent a reset link to {email}" }, Pa = { TITLE: "Set new password", SUBTITLE: "Enter your new password below", FIELDS: { PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, SAVE_PASSWORD: "Save", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, Ca = { TITLE: "Assets", TOOLBAR: { SAVE: "Save", REFRESH: "Refresh", ADD: "Add", DELETE: "Delete selected" }, EMPTY: { NO_ASSETS: "No assets", UPLOAD_ASSETS: "Drag & drop assets here or click 'Upload' button", UPLOAD: "Upload" }, TABLE: { HEADER: { IMAGE: "Img", NAME: "Name", SIZE: "Size", SORT_ORDER: "Sort order", CREATED_DATE: "Created date" }, ACTIONS: { DELETE: "Delete", EDIT: "Edit" } } }, Da = { PAGES: { DETAILS: { SUBTITLE: "Asset edit", TOOLBAR: { SAVE: "Save", DELETE: "Delete" }, FIELDS: { SIZE: "Size", CREATED_DATE: "Created date", URL: "Url", COPY: "Copy link", NAME: { TITLE: "Asset name", PLACEHOLDER: "Enter asset name" }, ALT: { TITLE: "Image alternative text", PLACEHOLDER: "Enter image alt text", TOOLTIP: "This text will be displayed in case of disabled/unloaded image on the page" }, DESCRIPTION: { TITLE: "Meta description", PLACEHOLDER: "Enter meta description" } } } } }, Na = { _default: "The {field} is not valid", alpha: "The {field} field may only contain alphabetic characters", alpha_num: "The {field} field may only contain alpha-numeric characters", alpha_dash: "The {field} field may contain alpha-numeric characters as well as dashes and underscores", alpha_spaces: "The {field} field may only contain alphabetic characters as well as spaces", between: "The {field} field must be between 0:{min} and 1:{max}", confirmed: "The {field} field confirmation does not match", digits: "The {field} field must be numeric and exactly contain 0:{length} digits", dimensions: "The {field} field must be 0:{width} pixels by 1:{height} pixels", email: "The {field} field must be a valid email", not_one_of: "The {field} field is not a valid value", ext: "The {field} field is not a valid file", image: "The {field} field must be an image", integer: "The {field} field must be an integer", length: "The {field} field must be 0:{length} long", max_value: "The {field} field must be 0:{max} or less", max: "The {field} field may not be greater than 0:{length} characters", mimes: "The {field} field must have a valid file type", min_value: "The {field} field must be 0:{min} or more", min: "The {field} field must be at least 0:{length} characters", numeric: "The {field} field may only contain numeric characters", one_of: "The {field} field is not a valid value", regex: "The {field} field format is invalid", required_if: "The {field} field is required", required: "The {field} field is required", size: "The {field} field size must be less than 0:{size}KB", url: "The {field} field is not a valid URL", min_dimensions: { error: "Image dimensions must be greater than {height}*{width}", not_image_error: "Not image file" }, file_weight: "File size must be maximum {size} kb", before: "End date must be earlier than start date", after: "End date must be later than start date", bigint: "Unsupported number" }, ka = { ACCESS_RESTRICTED: "Access restricted" }, Ba = { LOADING: "Loading Virto OZ..." }, Ma = { no_options: "No options" }, ar = {
|
|
1733
1733
|
CORE: La,
|
|
1734
|
-
SHELL:
|
|
1735
|
-
COMPONENTS:
|
|
1736
|
-
INVITATION:
|
|
1734
|
+
SHELL: _a,
|
|
1735
|
+
COMPONENTS: Oa,
|
|
1736
|
+
INVITATION: ya,
|
|
1737
1737
|
LOGIN: Ia,
|
|
1738
1738
|
FORGOT_PASSWORD: Ra,
|
|
1739
1739
|
PASSWORDRESET: Pa,
|
|
@@ -1748,14 +1748,14 @@ const La = { THEMES: { LIGHT: "Light", DARK: "Dark" } }, Oa = { USER: { ROLE: {
|
|
|
1748
1748
|
AI_AGENT: Ba,
|
|
1749
1749
|
ASSETS: Da,
|
|
1750
1750
|
ASSETS_MANAGER: Ca,
|
|
1751
|
-
COMPONENTS:
|
|
1751
|
+
COMPONENTS: Oa,
|
|
1752
1752
|
CORE: La,
|
|
1753
1753
|
FORGOT_PASSWORD: Ra,
|
|
1754
|
-
INVITATION:
|
|
1754
|
+
INVITATION: ya,
|
|
1755
1755
|
LOGIN: Ia,
|
|
1756
1756
|
PASSWORDRESET: Pa,
|
|
1757
1757
|
PERMISSION_MESSAGES: ka,
|
|
1758
|
-
SHELL:
|
|
1758
|
+
SHELL: _a,
|
|
1759
1759
|
common: Ma,
|
|
1760
1760
|
default: ar,
|
|
1761
1761
|
messages: Na
|
|
@@ -2027,7 +2027,7 @@ const pr = /* @__PURE__ */ $({
|
|
|
2027
2027
|
},
|
|
2028
2028
|
emits: ["close"],
|
|
2029
2029
|
setup(e, { emit: t }) {
|
|
2030
|
-
const a = e, s = t, { isMobile: o, isDesktop: i } = ms(), r =
|
|
2030
|
+
const a = e, s = t, { isMobile: o, isDesktop: i } = ms(), r = O(() => a.render === "always" ? !0 : a.render === "mobile" ? o.value : i.value), n = O(() => a.isExpanded && r.value);
|
|
2031
2031
|
function d(l) {
|
|
2032
2032
|
l || s("close");
|
|
2033
2033
|
}
|
|
@@ -2039,7 +2039,7 @@ const pr = /* @__PURE__ */ $({
|
|
|
2039
2039
|
"close-button": e.closeCross,
|
|
2040
2040
|
teleport: !c(i),
|
|
2041
2041
|
"onUpdate:modelValue": d
|
|
2042
|
-
},
|
|
2042
|
+
}, ye({
|
|
2043
2043
|
default: T(() => [
|
|
2044
2044
|
W(l.$slots, "content")
|
|
2045
2045
|
]),
|
|
@@ -2063,7 +2063,7 @@ const pr = /* @__PURE__ */ $({
|
|
|
2063
2063
|
},
|
|
2064
2064
|
emits: ["signIn"],
|
|
2065
2065
|
setup(e) {
|
|
2066
|
-
const t = e, a =
|
|
2066
|
+
const t = e, a = O(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
|
|
2067
2067
|
return (s, o) => (h(), D(c(q), {
|
|
2068
2068
|
variant: "secondary",
|
|
2069
2069
|
class: "vc-external-provider",
|
|
@@ -2071,7 +2071,7 @@ const pr = /* @__PURE__ */ $({
|
|
|
2071
2071
|
}, {
|
|
2072
2072
|
default: T(() => [
|
|
2073
2073
|
k("div", Er, [
|
|
2074
|
-
|
|
2074
|
+
y(c(mt), {
|
|
2075
2075
|
src: a.value,
|
|
2076
2076
|
class: "vc-external-provider__icon",
|
|
2077
2077
|
size: "xxs"
|
|
@@ -2118,7 +2118,7 @@ const Tr = {
|
|
|
2118
2118
|
}, Lr = {
|
|
2119
2119
|
key: 0,
|
|
2120
2120
|
class: "vc-login-page__separator-line"
|
|
2121
|
-
},
|
|
2121
|
+
}, _r = /* @__PURE__ */ $({
|
|
2122
2122
|
__name: "Login",
|
|
2123
2123
|
props: {
|
|
2124
2124
|
logo: {},
|
|
@@ -2132,12 +2132,12 @@ const Tr = {
|
|
|
2132
2132
|
ve(async () => {
|
|
2133
2133
|
u.value = await p(), w.value = !0;
|
|
2134
2134
|
});
|
|
2135
|
-
const A =
|
|
2135
|
+
const A = O(() => ({
|
|
2136
2136
|
logo: r.value ? "" : i.value?.logo || a.logo
|
|
2137
2137
|
})), b = de({
|
|
2138
2138
|
username: "",
|
|
2139
2139
|
password: ""
|
|
2140
|
-
}),
|
|
2140
|
+
}), _ = async () => {
|
|
2141
2141
|
if (m.value) {
|
|
2142
2142
|
if (n.value.error = "", n.value = await d(b.username, b.password), n.value.succeeded && f.value?.passwordExpired) {
|
|
2143
2143
|
await s.push({ name: "ChangePassword" });
|
|
@@ -2153,7 +2153,7 @@ const Tr = {
|
|
|
2153
2153
|
}, P = () => {
|
|
2154
2154
|
s.push({ name: "ForgotPassword" });
|
|
2155
2155
|
};
|
|
2156
|
-
return t.debug("Init login-page"), (L, C) => (h(), D(c(
|
|
2156
|
+
return t.debug("Init login-page"), (L, C) => (h(), D(c(Oe), {
|
|
2157
2157
|
logo: A.value.logo,
|
|
2158
2158
|
background: e.background,
|
|
2159
2159
|
title: e.title || L.$t("LOGIN.TITLE"),
|
|
@@ -2162,7 +2162,7 @@ const Tr = {
|
|
|
2162
2162
|
}, {
|
|
2163
2163
|
default: T(() => [
|
|
2164
2164
|
u.value && u.value.length ? (h(), N("div", Tr, [
|
|
2165
|
-
|
|
2165
|
+
y(Sr, { providers: u.value }, null, 8, ["providers"]),
|
|
2166
2166
|
e.ssoOnly ? V("", !0) : (h(), N("div", Lr, F(L.$t("LOGIN.OR")), 1))
|
|
2167
2167
|
])) : V("", !0),
|
|
2168
2168
|
e.ssoOnly && w.value && !u.value?.length ? (h(), D(c(me), {
|
|
@@ -2175,19 +2175,19 @@ const Tr = {
|
|
|
2175
2175
|
_: 1
|
|
2176
2176
|
})) : V("", !0),
|
|
2177
2177
|
e.ssoOnly ? V("", !0) : (h(), N(Y, { key: 2 }, [
|
|
2178
|
-
|
|
2178
|
+
y(c(he), {
|
|
2179
2179
|
class: "tw-gap-5",
|
|
2180
|
-
onSubmit:
|
|
2180
|
+
onSubmit: _
|
|
2181
2181
|
}, {
|
|
2182
2182
|
default: T(() => [
|
|
2183
|
-
|
|
2183
|
+
y(c(J), {
|
|
2184
2184
|
label: L.$t("LOGIN.FIELDS.LOGIN.LABEL"),
|
|
2185
2185
|
name: "username",
|
|
2186
2186
|
"model-value": b.username,
|
|
2187
2187
|
rules: "required"
|
|
2188
2188
|
}, {
|
|
2189
2189
|
default: T(({ errorMessage: B, handleChange: U, errors: E }) => [
|
|
2190
|
-
|
|
2190
|
+
y(c(j), {
|
|
2191
2191
|
ref: "loginField",
|
|
2192
2192
|
modelValue: b.username,
|
|
2193
2193
|
"onUpdate:modelValue": [
|
|
@@ -2203,14 +2203,14 @@ const Tr = {
|
|
|
2203
2203
|
]),
|
|
2204
2204
|
_: 1
|
|
2205
2205
|
}, 8, ["label", "model-value"]),
|
|
2206
|
-
|
|
2206
|
+
y(c(J), {
|
|
2207
2207
|
label: L.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
|
|
2208
2208
|
name: "password",
|
|
2209
2209
|
"model-value": b.password,
|
|
2210
2210
|
rules: "required"
|
|
2211
2211
|
}, {
|
|
2212
2212
|
default: T(({ errorMessage: B, handleChange: U, errors: E }) => [
|
|
2213
|
-
|
|
2213
|
+
y(c(j), {
|
|
2214
2214
|
ref: "passwordField",
|
|
2215
2215
|
modelValue: b.password,
|
|
2216
2216
|
"onUpdate:modelValue": [
|
|
@@ -2223,25 +2223,25 @@ const Tr = {
|
|
|
2223
2223
|
required: "",
|
|
2224
2224
|
error: !!E.length,
|
|
2225
2225
|
"error-message": B,
|
|
2226
|
-
onKeyup: pt(
|
|
2226
|
+
onKeyup: pt(_, ["enter"])
|
|
2227
2227
|
}, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
|
|
2228
2228
|
]),
|
|
2229
2229
|
_: 1
|
|
2230
2230
|
}, 8, ["label", "model-value"]),
|
|
2231
|
-
|
|
2231
|
+
y(c(q), {
|
|
2232
2232
|
variant: "primary",
|
|
2233
2233
|
class: "tw-w-full",
|
|
2234
2234
|
icon: "lucide-log-in",
|
|
2235
2235
|
disabled: !c(m),
|
|
2236
2236
|
loading: c(l),
|
|
2237
|
-
onClick:
|
|
2237
|
+
onClick: _
|
|
2238
2238
|
}, {
|
|
2239
2239
|
default: T(() => [
|
|
2240
2240
|
G(F(L.$t("LOGIN.BUTTON")), 1)
|
|
2241
2241
|
]),
|
|
2242
2242
|
_: 1
|
|
2243
2243
|
}, 8, ["disabled", "loading"]),
|
|
2244
|
-
|
|
2244
|
+
y(c(q), {
|
|
2245
2245
|
variant: "link",
|
|
2246
2246
|
class: "tw-w-full tw-justify-center",
|
|
2247
2247
|
type: "button",
|
|
@@ -2255,7 +2255,7 @@ const Tr = {
|
|
|
2255
2255
|
]),
|
|
2256
2256
|
_: 1
|
|
2257
2257
|
}),
|
|
2258
|
-
|
|
2258
|
+
y(c(Mo), {
|
|
2259
2259
|
name: "auth:after-form",
|
|
2260
2260
|
separator: "",
|
|
2261
2261
|
"separator-class": "tw-border-t tw-border-[color:var(--login-separator)] tw-border-solid tw-pb-5",
|
|
@@ -2275,7 +2275,7 @@ const Tr = {
|
|
|
2275
2275
|
_: 1
|
|
2276
2276
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2277
2277
|
}
|
|
2278
|
-
}), Bc =
|
|
2278
|
+
}), Bc = _r, Or = { class: "tw-text-center" }, yr = { class: "tw-text-center tw-mb-6" }, Ir = { class: "tw-text-sm tw-text-neutrals-600" }, Rr = /* @__PURE__ */ $({
|
|
2279
2279
|
__name: "ForgotPassword",
|
|
2280
2280
|
props: {
|
|
2281
2281
|
logo: {},
|
|
@@ -2293,15 +2293,15 @@ const Tr = {
|
|
|
2293
2293
|
p = t.composable().forgotPassword;
|
|
2294
2294
|
else {
|
|
2295
2295
|
const { requestPasswordReset: b } = re();
|
|
2296
|
-
p = async (
|
|
2297
|
-
await b(
|
|
2296
|
+
p = async (_) => {
|
|
2297
|
+
await b(_.loginOrEmail);
|
|
2298
2298
|
};
|
|
2299
2299
|
}
|
|
2300
|
-
const m =
|
|
2300
|
+
const m = O(() => ({
|
|
2301
2301
|
logo: r.value ? "" : i.value?.logo || t.logo
|
|
2302
|
-
})), u =
|
|
2303
|
-
const b = f.loginOrEmail, [
|
|
2304
|
-
return !
|
|
2302
|
+
})), u = O(() => {
|
|
2303
|
+
const b = f.loginOrEmail, [_, P] = b.split("@");
|
|
2304
|
+
return !_ || !P ? b : `${_.length > 2 ? _[0] + "***" + _[_.length - 1] : _[0] + "***"}@${P}`;
|
|
2305
2305
|
}), w = async () => {
|
|
2306
2306
|
if (!(!o.value || !p))
|
|
2307
2307
|
try {
|
|
@@ -2314,7 +2314,7 @@ const Tr = {
|
|
|
2314
2314
|
}, A = () => {
|
|
2315
2315
|
a.push({ name: "Login" });
|
|
2316
2316
|
};
|
|
2317
|
-
return (b,
|
|
2317
|
+
return (b, _) => (h(), D(c(Oe), {
|
|
2318
2318
|
logo: m.value.logo,
|
|
2319
2319
|
background: e.background,
|
|
2320
2320
|
title: l.value ? c(s)("FORGOT_PASSWORD.SUCCESS_TITLE") : c(s)("FORGOT_PASSWORD.TITLE"),
|
|
@@ -2322,10 +2322,10 @@ const Tr = {
|
|
|
2322
2322
|
}, {
|
|
2323
2323
|
default: T(() => [
|
|
2324
2324
|
l.value ? (h(), N(Y, { key: 1 }, [
|
|
2325
|
-
k("div",
|
|
2325
|
+
k("div", yr, [
|
|
2326
2326
|
k("p", Ir, F(c(s)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: u.value })), 1)
|
|
2327
2327
|
]),
|
|
2328
|
-
|
|
2328
|
+
y(c(q), {
|
|
2329
2329
|
variant: "primary",
|
|
2330
2330
|
class: "tw-w-full",
|
|
2331
2331
|
onClick: A
|
|
@@ -2336,20 +2336,20 @@ const Tr = {
|
|
|
2336
2336
|
_: 1
|
|
2337
2337
|
})
|
|
2338
2338
|
], 64)) : (h(), N(Y, { key: 0 }, [
|
|
2339
|
-
|
|
2339
|
+
y(c(he), { onSubmit: w }, {
|
|
2340
2340
|
default: T(() => [
|
|
2341
|
-
|
|
2341
|
+
y(c(J), {
|
|
2342
2342
|
label: c(s)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
|
|
2343
2343
|
name: "loginOrEmail",
|
|
2344
2344
|
"model-value": f.loginOrEmail,
|
|
2345
2345
|
rules: "required|email"
|
|
2346
2346
|
}, {
|
|
2347
2347
|
default: T(({ errorMessage: P, handleChange: L, errors: C }) => [
|
|
2348
|
-
|
|
2348
|
+
y(c(j), {
|
|
2349
2349
|
ref: "emailField",
|
|
2350
2350
|
modelValue: f.loginOrEmail,
|
|
2351
2351
|
"onUpdate:modelValue": [
|
|
2352
|
-
|
|
2352
|
+
_[0] || (_[0] = (B) => f.loginOrEmail = B),
|
|
2353
2353
|
L
|
|
2354
2354
|
],
|
|
2355
2355
|
class: "tw-mb-6",
|
|
@@ -2362,7 +2362,7 @@ const Tr = {
|
|
|
2362
2362
|
]),
|
|
2363
2363
|
_: 1
|
|
2364
2364
|
}, 8, ["label", "model-value"]),
|
|
2365
|
-
|
|
2365
|
+
y(c(q), {
|
|
2366
2366
|
variant: "primary",
|
|
2367
2367
|
class: "tw-w-full tw-mb-4",
|
|
2368
2368
|
disabled: !c(o) || n.value,
|
|
@@ -2374,8 +2374,8 @@ const Tr = {
|
|
|
2374
2374
|
]),
|
|
2375
2375
|
_: 1
|
|
2376
2376
|
}, 8, ["disabled", "loading"]),
|
|
2377
|
-
k("div",
|
|
2378
|
-
|
|
2377
|
+
k("div", Or, [
|
|
2378
|
+
y(c(q), {
|
|
2379
2379
|
variant: "link",
|
|
2380
2380
|
icon: "lucide-arrow-left",
|
|
2381
2381
|
"icon-size": "xs",
|
|
@@ -2425,14 +2425,14 @@ const Tr = {
|
|
|
2425
2425
|
ve(async () => {
|
|
2426
2426
|
m.tokenIsValid = await a(t.userId, t.token), m.tokenIsValid || m.errors.push("Invalid-token");
|
|
2427
2427
|
});
|
|
2428
|
-
const u =
|
|
2428
|
+
const u = O(() => r.value || !m.password || !m.confirmPassword || !m.isValid && m.tokenIsValid), w = async () => {
|
|
2429
2429
|
if (m.tokenIsValid) {
|
|
2430
|
-
const
|
|
2431
|
-
m.errors =
|
|
2430
|
+
const _ = (await s(m.password)).errors;
|
|
2431
|
+
m.errors = _?.map((P) => P.code), m.confirmPassword !== m.password && m.errors.push("Repeat-password"), m.isValid = m.errors.length == 0;
|
|
2432
2432
|
}
|
|
2433
2433
|
}, A = async () => {
|
|
2434
|
-
const { valid:
|
|
2435
|
-
if (
|
|
2434
|
+
const { valid: _ } = await l();
|
|
2435
|
+
if (_) {
|
|
2436
2436
|
const P = await o(t.userId, m.password, t.token);
|
|
2437
2437
|
if (P.succeeded) {
|
|
2438
2438
|
const L = await i(t.userName, m.password);
|
|
@@ -2440,30 +2440,30 @@ const Tr = {
|
|
|
2440
2440
|
} else
|
|
2441
2441
|
m.errors = P.errors;
|
|
2442
2442
|
}
|
|
2443
|
-
}, b =
|
|
2443
|
+
}, b = O(() => ({
|
|
2444
2444
|
logo: p.value ? "" : f.value?.logo || t.logo
|
|
2445
2445
|
}));
|
|
2446
|
-
return (
|
|
2446
|
+
return (_, P) => (h(), D(c(Oe), {
|
|
2447
2447
|
logo: b.value.logo,
|
|
2448
2448
|
background: e.background,
|
|
2449
2449
|
title: c(d)("PASSWORDRESET.TITLE"),
|
|
2450
2450
|
subtitle: c(d)("PASSWORDRESET.SUBTITLE")
|
|
2451
2451
|
}, {
|
|
2452
2452
|
default: T(() => [
|
|
2453
|
-
c(r) ? (h(), D(c(
|
|
2453
|
+
c(r) ? (h(), D(c(Jt), {
|
|
2454
2454
|
key: 0,
|
|
2455
2455
|
active: ""
|
|
2456
2456
|
})) : V("", !0),
|
|
2457
|
-
|
|
2457
|
+
y(c(he), null, {
|
|
2458
2458
|
default: T(() => [
|
|
2459
|
-
|
|
2459
|
+
y(c(J), {
|
|
2460
2460
|
label: c(d)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
|
|
2461
2461
|
name: "password",
|
|
2462
2462
|
"model-value": m.password,
|
|
2463
2463
|
rules: "required"
|
|
2464
2464
|
}, {
|
|
2465
2465
|
default: T(({ field: L, errorMessage: C, handleChange: B, errors: U }) => [
|
|
2466
|
-
|
|
2466
|
+
y(c(j), ne(L, {
|
|
2467
2467
|
ref: "passwordField",
|
|
2468
2468
|
modelValue: m.password,
|
|
2469
2469
|
"onUpdate:modelValue": [
|
|
@@ -2484,14 +2484,14 @@ const Tr = {
|
|
|
2484
2484
|
]),
|
|
2485
2485
|
_: 1
|
|
2486
2486
|
}, 8, ["label", "model-value"]),
|
|
2487
|
-
|
|
2487
|
+
y(c(J), {
|
|
2488
2488
|
label: c(d)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2489
2489
|
name: "confirm_password",
|
|
2490
2490
|
"model-value": m.confirmPassword,
|
|
2491
2491
|
rules: "required"
|
|
2492
2492
|
}, {
|
|
2493
2493
|
default: T(({ field: L, errorMessage: C, handleChange: B, errors: U }) => [
|
|
2494
|
-
|
|
2494
|
+
y(c(j), ne(L, {
|
|
2495
2495
|
ref: "confirmPasswordField",
|
|
2496
2496
|
modelValue: m.confirmPassword,
|
|
2497
2497
|
"onUpdate:modelValue": [
|
|
@@ -2513,7 +2513,7 @@ const Tr = {
|
|
|
2513
2513
|
]),
|
|
2514
2514
|
_: 1
|
|
2515
2515
|
}, 8, ["label", "model-value"]),
|
|
2516
|
-
|
|
2516
|
+
y(c(q), {
|
|
2517
2517
|
variant: "primary",
|
|
2518
2518
|
class: "tw-w-full",
|
|
2519
2519
|
disabled: u.value,
|
|
@@ -2558,7 +2558,7 @@ const Tr = {
|
|
|
2558
2558
|
errors: [],
|
|
2559
2559
|
password: "",
|
|
2560
2560
|
confirmPassword: ""
|
|
2561
|
-
}), w =
|
|
2561
|
+
}), w = O(() => !f.value || !l.value);
|
|
2562
2562
|
ve(async () => {
|
|
2563
2563
|
u.tokenIsValid = await a(t.userId, t.token), u.tokenIsValid || u.errors.push("Invalid-token");
|
|
2564
2564
|
});
|
|
@@ -2570,37 +2570,37 @@ const Tr = {
|
|
|
2570
2570
|
}, b = async () => {
|
|
2571
2571
|
const P = await o(t.userId, u.password, t.token);
|
|
2572
2572
|
P.succeeded ? (await i(t.userName, u.password)).succeeded && n.push("/") : u.errors = P.errors;
|
|
2573
|
-
},
|
|
2573
|
+
}, _ = O(() => ({
|
|
2574
2574
|
logo: m.value ? "" : p.value?.logo || t.logo
|
|
2575
2575
|
}));
|
|
2576
|
-
return (P, L) => (h(), D(c(
|
|
2577
|
-
logo:
|
|
2576
|
+
return (P, L) => (h(), D(c(Oe), {
|
|
2577
|
+
logo: _.value.logo,
|
|
2578
2578
|
background: e.background,
|
|
2579
2579
|
title: c(d)("INVITATION.TITLE"),
|
|
2580
2580
|
subtitle: c(d)("INVITATION.SUBTITLE")
|
|
2581
2581
|
}, {
|
|
2582
2582
|
default: T(() => [
|
|
2583
|
-
c(r) ? (h(), D(c(
|
|
2583
|
+
c(r) ? (h(), D(c(Jt), {
|
|
2584
2584
|
key: 0,
|
|
2585
2585
|
active: ""
|
|
2586
2586
|
})) : V("", !0),
|
|
2587
|
-
|
|
2587
|
+
y(c(he), null, {
|
|
2588
2588
|
default: T(() => [
|
|
2589
|
-
|
|
2589
|
+
y(c(j), {
|
|
2590
2590
|
class: "tw-mb-4",
|
|
2591
2591
|
label: c(d)("INVITATION.FIELDS.EMAIL.LABEL"),
|
|
2592
2592
|
"model-value": e.userName,
|
|
2593
2593
|
name: "username",
|
|
2594
2594
|
disabled: ""
|
|
2595
2595
|
}, null, 8, ["label", "model-value"]),
|
|
2596
|
-
|
|
2596
|
+
y(c(J), {
|
|
2597
2597
|
label: c(d)("INVITATION.FIELDS.PASSWORD.LABEL"),
|
|
2598
2598
|
"model-value": u.password,
|
|
2599
2599
|
rules: "required",
|
|
2600
2600
|
name: "password"
|
|
2601
2601
|
}, {
|
|
2602
2602
|
default: T(({ field: C, errorMessage: B, handleChange: U, errors: E }) => [
|
|
2603
|
-
|
|
2603
|
+
y(c(j), ne(C, {
|
|
2604
2604
|
ref: "passwordField",
|
|
2605
2605
|
modelValue: u.password,
|
|
2606
2606
|
"onUpdate:modelValue": [
|
|
@@ -2621,14 +2621,14 @@ const Tr = {
|
|
|
2621
2621
|
]),
|
|
2622
2622
|
_: 1
|
|
2623
2623
|
}, 8, ["label", "model-value"]),
|
|
2624
|
-
|
|
2624
|
+
y(c(J), {
|
|
2625
2625
|
label: c(d)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2626
2626
|
"model-value": u.confirmPassword,
|
|
2627
2627
|
rules: "required",
|
|
2628
2628
|
name: "confirm_password"
|
|
2629
2629
|
}, {
|
|
2630
2630
|
default: T(({ field: C, errorMessage: B, handleChange: U, errors: E }) => [
|
|
2631
|
-
|
|
2631
|
+
y(c(j), ne(C, {
|
|
2632
2632
|
ref: "confirmPasswordField",
|
|
2633
2633
|
modelValue: u.confirmPassword,
|
|
2634
2634
|
"onUpdate:modelValue": [
|
|
@@ -2650,7 +2650,7 @@ const Tr = {
|
|
|
2650
2650
|
]),
|
|
2651
2651
|
_: 1
|
|
2652
2652
|
}, 8, ["label", "model-value"]),
|
|
2653
|
-
|
|
2653
|
+
y(c(q), {
|
|
2654
2654
|
variant: "primary",
|
|
2655
2655
|
class: "tw-w-full",
|
|
2656
2656
|
disabled: c(r) || !u.isValid || !u.tokenIsValid,
|
|
@@ -2689,7 +2689,7 @@ const Tr = {
|
|
|
2689
2689
|
background: {}
|
|
2690
2690
|
},
|
|
2691
2691
|
setup(e) {
|
|
2692
|
-
const t = e, { t: a } = Ae({ useScope: "global" }), { changeUserPassword: s, loading: o, validatePassword: i, signOut: r } = re(), { uiSettings: n, loading: d } = Pe(), l =
|
|
2692
|
+
const t = e, { t: a } = Ae({ useScope: "global" }), { changeUserPassword: s, loading: o, validatePassword: i, signOut: r } = re(), { uiSettings: n, loading: d } = Pe(), l = O(() => ({
|
|
2693
2693
|
logo: d.value ? "" : n.value?.logo || t.logo
|
|
2694
2694
|
}));
|
|
2695
2695
|
ue({ validateOnMount: !1 });
|
|
@@ -2699,7 +2699,7 @@ const Tr = {
|
|
|
2699
2699
|
currentPassword: "",
|
|
2700
2700
|
password: "",
|
|
2701
2701
|
confirmPassword: ""
|
|
2702
|
-
}), w =
|
|
2702
|
+
}), w = O(() => !p.value || !f.value);
|
|
2703
2703
|
async function A() {
|
|
2704
2704
|
await r(), await m.push("/login");
|
|
2705
2705
|
}
|
|
@@ -2707,7 +2707,7 @@ const Tr = {
|
|
|
2707
2707
|
const P = await s(u.currentPassword, u.password);
|
|
2708
2708
|
P?.succeeded ? await m.push("/") : P?.errors && (u.errors = P?.errors, u.isValid = u.errors.length == 0);
|
|
2709
2709
|
}
|
|
2710
|
-
function
|
|
2710
|
+
function _() {
|
|
2711
2711
|
ge(async () => {
|
|
2712
2712
|
if (u.password || u.confirmPassword) {
|
|
2713
2713
|
const P = (await i(u.password)).errors ?? [], L = wr({
|
|
@@ -2719,7 +2719,7 @@ const Tr = {
|
|
|
2719
2719
|
}
|
|
2720
2720
|
});
|
|
2721
2721
|
}
|
|
2722
|
-
return (P, L) => (h(), D(c(
|
|
2722
|
+
return (P, L) => (h(), D(c(Oe), {
|
|
2723
2723
|
logo: l.value.logo,
|
|
2724
2724
|
background: e.background,
|
|
2725
2725
|
title: e.forced ? c(a)("COMPONENTS.CHANGE_PASSWORD.TITLE_FORCED") : c(a)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
|
|
@@ -2727,7 +2727,7 @@ const Tr = {
|
|
|
2727
2727
|
}, {
|
|
2728
2728
|
default: T(() => [
|
|
2729
2729
|
e.forced ? (h(), N("div", Dr, [
|
|
2730
|
-
|
|
2730
|
+
y(c(Es), {
|
|
2731
2731
|
variant: "info",
|
|
2732
2732
|
icon: "lucide-lightbulb",
|
|
2733
2733
|
"icon-size": "l"
|
|
@@ -2738,21 +2738,21 @@ const Tr = {
|
|
|
2738
2738
|
_: 1
|
|
2739
2739
|
})
|
|
2740
2740
|
])) : V("", !0),
|
|
2741
|
-
|
|
2741
|
+
y(c(he), null, {
|
|
2742
2742
|
default: T(() => [
|
|
2743
|
-
|
|
2743
|
+
y(c(J), {
|
|
2744
2744
|
label: c(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
2745
2745
|
name: "current",
|
|
2746
2746
|
rules: "required|min:6",
|
|
2747
2747
|
"model-value": u.currentPassword
|
|
2748
2748
|
}, {
|
|
2749
2749
|
default: T(({ field: C, errorMessage: B, errors: U }) => [
|
|
2750
|
-
|
|
2750
|
+
y(c(j), ne(C, {
|
|
2751
2751
|
ref: "passwordField",
|
|
2752
2752
|
modelValue: u.currentPassword,
|
|
2753
2753
|
"onUpdate:modelValue": [
|
|
2754
2754
|
L[0] || (L[0] = (E) => u.currentPassword = E),
|
|
2755
|
-
|
|
2755
|
+
_
|
|
2756
2756
|
],
|
|
2757
2757
|
class: "tw-mb-4",
|
|
2758
2758
|
label: c(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
@@ -2765,19 +2765,19 @@ const Tr = {
|
|
|
2765
2765
|
]),
|
|
2766
2766
|
_: 1
|
|
2767
2767
|
}, 8, ["label", "model-value"]),
|
|
2768
|
-
|
|
2768
|
+
y(c(J), {
|
|
2769
2769
|
label: c(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
2770
2770
|
name: "new_pass",
|
|
2771
2771
|
rules: "required|min:6",
|
|
2772
2772
|
"model-value": u.password
|
|
2773
2773
|
}, {
|
|
2774
2774
|
default: T(({ field: C, errorMessage: B, errors: U }) => [
|
|
2775
|
-
|
|
2775
|
+
y(c(j), ne(C, {
|
|
2776
2776
|
ref: "newPasswordField",
|
|
2777
2777
|
modelValue: u.password,
|
|
2778
2778
|
"onUpdate:modelValue": [
|
|
2779
2779
|
L[1] || (L[1] = (E) => u.password = E),
|
|
2780
|
-
|
|
2780
|
+
_
|
|
2781
2781
|
],
|
|
2782
2782
|
class: "tw-mb-4",
|
|
2783
2783
|
label: c(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
@@ -2790,19 +2790,19 @@ const Tr = {
|
|
|
2790
2790
|
]),
|
|
2791
2791
|
_: 1
|
|
2792
2792
|
}, 8, ["label", "model-value"]),
|
|
2793
|
-
|
|
2793
|
+
y(c(J), {
|
|
2794
2794
|
label: c(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
2795
2795
|
name: "confirm_pass",
|
|
2796
2796
|
rules: "required|min:6",
|
|
2797
2797
|
"model-value": u.confirmPassword
|
|
2798
2798
|
}, {
|
|
2799
2799
|
default: T(({ field: C, errorMessage: B, errors: U }) => [
|
|
2800
|
-
|
|
2800
|
+
y(c(j), ne(C, {
|
|
2801
2801
|
ref: "confirmPasswordField",
|
|
2802
2802
|
modelValue: u.confirmPassword,
|
|
2803
2803
|
"onUpdate:modelValue": [
|
|
2804
2804
|
L[2] || (L[2] = (E) => u.confirmPassword = E),
|
|
2805
|
-
|
|
2805
|
+
_
|
|
2806
2806
|
],
|
|
2807
2807
|
class: "tw-mb-6",
|
|
2808
2808
|
label: c(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
@@ -2816,7 +2816,7 @@ const Tr = {
|
|
|
2816
2816
|
_: 1
|
|
2817
2817
|
}, 8, ["label", "model-value"]),
|
|
2818
2818
|
k("div", Nr, [
|
|
2819
|
-
|
|
2819
|
+
y(c(q), {
|
|
2820
2820
|
variant: "secondary",
|
|
2821
2821
|
class: "tw-flex-1",
|
|
2822
2822
|
onClick: A
|
|
@@ -2826,7 +2826,7 @@ const Tr = {
|
|
|
2826
2826
|
]),
|
|
2827
2827
|
_: 1
|
|
2828
2828
|
}),
|
|
2829
|
-
|
|
2829
|
+
y(c(q), {
|
|
2830
2830
|
variant: "primary",
|
|
2831
2831
|
class: "tw-flex-1",
|
|
2832
2832
|
disabled: c(o) || !u.isValid || w.value,
|
|
@@ -3010,7 +3010,7 @@ function Ur(e, t = {}) {
|
|
|
3010
3010
|
return;
|
|
3011
3011
|
}
|
|
3012
3012
|
const v = dt();
|
|
3013
|
-
n.value = ut(e.value, v), r.value =
|
|
3013
|
+
n.value = ut(e.value, v), r.value = _o.init(f, g), r.value.on("change", m), r.value.on("added", u), r.value.on("removed", w);
|
|
3014
3014
|
const S = e.value.map((I) => {
|
|
3015
3015
|
const M = n.value.get(I.id);
|
|
3016
3016
|
return lt(I, M);
|
|
@@ -3040,7 +3040,7 @@ function Ur(e, t = {}) {
|
|
|
3040
3040
|
if (!r.value) return;
|
|
3041
3041
|
const v = n.value.get(g.id) ?? g.position, S = lt(g, v), I = document.querySelector(`[gs-id="${g.id}"]`);
|
|
3042
3042
|
I && r.value.makeWidget(I, S);
|
|
3043
|
-
},
|
|
3043
|
+
}, _ = (g) => {
|
|
3044
3044
|
if (!r.value) return;
|
|
3045
3045
|
const v = document.querySelector(`[gs-id="${g}"]`);
|
|
3046
3046
|
v && r.value.removeWidget(v, !1), n.value.delete(g);
|
|
@@ -3087,12 +3087,12 @@ function Ur(e, t = {}) {
|
|
|
3087
3087
|
await ge();
|
|
3088
3088
|
const S = g.filter((M) => !v?.some((z) => z.id === M.id)), I = v?.filter((M) => !g.some((z) => z.id === M.id)).map((M) => M.id) ?? [];
|
|
3089
3089
|
for (const M of I)
|
|
3090
|
-
|
|
3090
|
+
_(M);
|
|
3091
3091
|
for (const M of S)
|
|
3092
3092
|
b(M);
|
|
3093
3093
|
},
|
|
3094
3094
|
{ deep: !1 }
|
|
3095
|
-
),
|
|
3095
|
+
), aa(() => {
|
|
3096
3096
|
A();
|
|
3097
3097
|
}), {
|
|
3098
3098
|
grid: r,
|
|
@@ -3101,7 +3101,7 @@ function Ur(e, t = {}) {
|
|
|
3101
3101
|
initGrid: p,
|
|
3102
3102
|
destroyGrid: A,
|
|
3103
3103
|
addWidget: b,
|
|
3104
|
-
removeWidget:
|
|
3104
|
+
removeWidget: _,
|
|
3105
3105
|
updateWidgetPosition: P,
|
|
3106
3106
|
saveLayout: L,
|
|
3107
3107
|
loadLayout: C,
|
|
@@ -3156,10 +3156,10 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3156
3156
|
return null;
|
|
3157
3157
|
}
|
|
3158
3158
|
}
|
|
3159
|
-
const o = e, i = R(null), r = R(""), n = te(eo, R(!0)), d =
|
|
3159
|
+
const o = e, i = R(null), r = R(""), n = te(eo, R(!0)), d = O(() => n.value ? [] : s() ?? a), l = (g) => ({
|
|
3160
3160
|
gridColumn: `${g.x + 1} / span ${g.w}`,
|
|
3161
3161
|
gridRow: `${g.y + 1} / span ${g.h}`
|
|
3162
|
-
}), f = vs(), p =
|
|
3162
|
+
}), f = vs(), p = O(() => f.getWidgets()), { layout: m, isInitialized: u, initGrid: w, saveLayout: A, resetToDefaults: b } = Ur(p, {
|
|
3163
3163
|
resizable: o.resizable,
|
|
3164
3164
|
autoSave: !0,
|
|
3165
3165
|
gridOptions: {
|
|
@@ -3172,7 +3172,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3172
3172
|
f.updateWidgetPosition(v, S);
|
|
3173
3173
|
L("Widget positions updated");
|
|
3174
3174
|
}
|
|
3175
|
-
}),
|
|
3175
|
+
}), _ = (g) => m.value.get(g), P = (g, v) => `${g.name || g.id}, widget ${v + 1} of ${p.value.length}. Drag to reorder.`, L = (g) => {
|
|
3176
3176
|
r.value = g, setTimeout(() => {
|
|
3177
3177
|
r.value = "";
|
|
3178
3178
|
}, 1e3);
|
|
@@ -3206,8 +3206,8 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3206
3206
|
key: S.id,
|
|
3207
3207
|
class: "grid-stack-item",
|
|
3208
3208
|
"gs-id": S.id,
|
|
3209
|
-
"gs-x":
|
|
3210
|
-
"gs-y":
|
|
3209
|
+
"gs-x": _(S.id)?.x ?? S.position?.x ?? 0,
|
|
3210
|
+
"gs-y": _(S.id)?.y ?? S.position?.y ?? 0,
|
|
3211
3211
|
"gs-w": S.size.width,
|
|
3212
3212
|
"gs-h": S.size.height,
|
|
3213
3213
|
"gs-min-w": 2,
|
|
@@ -3330,7 +3330,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3330
3330
|
W(a.$slots, "header", {}, () => [
|
|
3331
3331
|
k("div", Qr, [
|
|
3332
3332
|
e.icon ? (h(), N("div", ei, [
|
|
3333
|
-
|
|
3333
|
+
y(c(ua), {
|
|
3334
3334
|
class: "dashboard-widget-card__icon",
|
|
3335
3335
|
icon: e.icon,
|
|
3336
3336
|
size: "l"
|
|
@@ -3346,10 +3346,10 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3346
3346
|
a.$slots.stats ? (h(), N("div", si, [
|
|
3347
3347
|
W(a.$slots, "stats")
|
|
3348
3348
|
])) : V("", !0),
|
|
3349
|
-
|
|
3349
|
+
ra((h(), N("div", oi, [
|
|
3350
3350
|
W(a.$slots, "content")
|
|
3351
3351
|
])), [
|
|
3352
|
-
[c(
|
|
3352
|
+
[c(Xt), e.loading]
|
|
3353
3353
|
]),
|
|
3354
3354
|
a.$slots.footer ? (h(), N("div", ni, [
|
|
3355
3355
|
W(a.$slots, "footer")
|
|
@@ -3366,7 +3366,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3366
3366
|
setup(e) {
|
|
3367
3367
|
return (t, a) => (h(), N("div", ri, [
|
|
3368
3368
|
k("div", {
|
|
3369
|
-
class:
|
|
3369
|
+
class: ta(["dashboard-stat-item__value", e.variant ? `dashboard-stat-item__value--${e.variant}` : ""])
|
|
3370
3370
|
}, F(e.value), 3),
|
|
3371
3371
|
k("div", ii, F(e.label), 1)
|
|
3372
3372
|
]));
|
|
@@ -3403,7 +3403,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3403
3403
|
config: {}
|
|
3404
3404
|
},
|
|
3405
3405
|
setup(e) {
|
|
3406
|
-
const t = e, a = R(), s =
|
|
3406
|
+
const t = e, a = R(), s = O(() => {
|
|
3407
3407
|
const o = {};
|
|
3408
3408
|
return Object.keys(t.config).forEach((r, n) => {
|
|
3409
3409
|
const d = t.config[r];
|
|
@@ -3507,7 +3507,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3507
3507
|
}, Lt = (e, t) => {
|
|
3508
3508
|
const a = typeof e == "number" ? e : Number(e);
|
|
3509
3509
|
return Number.isFinite(a) ? t ? t(a) : a.toLocaleString() : Xa;
|
|
3510
|
-
},
|
|
3510
|
+
}, _e = ({
|
|
3511
3511
|
config: e,
|
|
3512
3512
|
key: t,
|
|
3513
3513
|
index: a,
|
|
@@ -3518,7 +3518,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3518
3518
|
label: n?.label ?? s ?? t ?? "Series",
|
|
3519
3519
|
color: n?.color ?? vi
|
|
3520
3520
|
};
|
|
3521
|
-
},
|
|
3521
|
+
}, _t = ({ title: e, items: t }) => {
|
|
3522
3522
|
if (!t.length)
|
|
3523
3523
|
return;
|
|
3524
3524
|
const a = e ? `<div class="dashboard-chart-tooltip__title">${De(e)}</div>` : "", s = t.map(
|
|
@@ -3557,21 +3557,21 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3557
3557
|
yTickFormat: { type: Function, default: void 0 }
|
|
3558
3558
|
},
|
|
3559
3559
|
setup(e) {
|
|
3560
|
-
const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (l) => l[t.xKey], o =
|
|
3560
|
+
const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (l) => l[t.xKey], o = O(
|
|
3561
3561
|
() => Ja(t.data, (l) => l[t.xKey], t.rangeStart, t.rangeEnd)
|
|
3562
|
-
), i =
|
|
3562
|
+
), i = O(() => t.yKeys.map((l) => (f) => f[l])), r = O(
|
|
3563
3563
|
() => t.yKeys.map(
|
|
3564
|
-
(l, f) =>
|
|
3564
|
+
(l, f) => _e({
|
|
3565
3565
|
config: t.config,
|
|
3566
3566
|
key: String(l),
|
|
3567
3567
|
index: f,
|
|
3568
3568
|
fallbackLabel: String(l)
|
|
3569
3569
|
}).color
|
|
3570
3570
|
)
|
|
3571
|
-
), n = (l) =>
|
|
3571
|
+
), n = (l) => _t({
|
|
3572
3572
|
title: Qa(l[t.xKey], t.xTickFormat),
|
|
3573
3573
|
items: t.yKeys.map((f, p) => {
|
|
3574
|
-
const { label: m, color: u } =
|
|
3574
|
+
const { label: m, color: u } = _e({
|
|
3575
3575
|
config: t.config,
|
|
3576
3576
|
key: String(f),
|
|
3577
3577
|
index: p,
|
|
@@ -3590,7 +3590,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3590
3590
|
};
|
|
3591
3591
|
return (l, f) => (h(), D(wt, { config: e.config }, {
|
|
3592
3592
|
default: T(() => [
|
|
3593
|
-
|
|
3593
|
+
y(c(fa), {
|
|
3594
3594
|
data: o.value,
|
|
3595
3595
|
height: e.height,
|
|
3596
3596
|
margin: a
|
|
@@ -3667,31 +3667,31 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3667
3667
|
yTickFormat: { type: Function, default: void 0 }
|
|
3668
3668
|
},
|
|
3669
3669
|
setup(e) {
|
|
3670
|
-
const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (d) => d[t.xKey], o =
|
|
3670
|
+
const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (d) => d[t.xKey], o = O(
|
|
3671
3671
|
() => Ja(t.data, (d) => d[t.xKey], t.rangeStart, t.rangeEnd)
|
|
3672
|
-
), i =
|
|
3672
|
+
), i = O(() => t.yKeys.map((d) => (l) => l[d])), r = O(
|
|
3673
3673
|
() => t.yKeys.map(
|
|
3674
|
-
(d, l) =>
|
|
3674
|
+
(d, l) => _e({
|
|
3675
3675
|
config: t.config,
|
|
3676
3676
|
key: String(d),
|
|
3677
3677
|
index: l,
|
|
3678
3678
|
fallbackLabel: String(d)
|
|
3679
3679
|
}).color
|
|
3680
3680
|
)
|
|
3681
|
-
), n =
|
|
3681
|
+
), n = O(() => ({
|
|
3682
3682
|
[Uo.bar]: (d, l) => {
|
|
3683
3683
|
if (!t.yKeys.length || l < 0)
|
|
3684
3684
|
return null;
|
|
3685
3685
|
const f = l % t.yKeys.length, p = t.yKeys[f];
|
|
3686
3686
|
if (!p)
|
|
3687
3687
|
return null;
|
|
3688
|
-
const { label: m, color: u } =
|
|
3688
|
+
const { label: m, color: u } = _e({
|
|
3689
3689
|
config: t.config,
|
|
3690
3690
|
key: String(p),
|
|
3691
3691
|
index: f,
|
|
3692
3692
|
fallbackLabel: String(p)
|
|
3693
3693
|
});
|
|
3694
|
-
return
|
|
3694
|
+
return _t({
|
|
3695
3695
|
title: Qa(d[t.xKey], t.xTickFormat),
|
|
3696
3696
|
items: [
|
|
3697
3697
|
{
|
|
@@ -3705,7 +3705,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3705
3705
|
}));
|
|
3706
3706
|
return (d, l) => (h(), D(wt, { config: e.config }, {
|
|
3707
3707
|
default: T(() => [
|
|
3708
|
-
|
|
3708
|
+
y(c(fa), {
|
|
3709
3709
|
data: o.value,
|
|
3710
3710
|
height: e.height,
|
|
3711
3711
|
margin: a
|
|
@@ -3718,7 +3718,7 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3718
3718
|
"vertical-shift": 8,
|
|
3719
3719
|
triggers: n.value
|
|
3720
3720
|
}, null, 8, ["triggers"])) : V("", !0),
|
|
3721
|
-
|
|
3721
|
+
y(c($o), {
|
|
3722
3722
|
x: s,
|
|
3723
3723
|
y: i.value,
|
|
3724
3724
|
color: r.value,
|
|
@@ -3771,23 +3771,23 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3771
3771
|
valueFormat: { type: Function, default: void 0 }
|
|
3772
3772
|
},
|
|
3773
3773
|
setup(e) {
|
|
3774
|
-
const t = e, a = (n) => n[t.valueKey], s =
|
|
3774
|
+
const t = e, a = (n) => n[t.valueKey], s = O(() => Object.keys(t.config)), o = (n, d) => t.colorKey && n[t.colorKey] ? n[t.colorKey] : s.value[d] ? t.config[s.value[d]].color : void 0, i = (n, d) => {
|
|
3775
3775
|
const l = n.label;
|
|
3776
3776
|
if (typeof l == "string" && l.trim())
|
|
3777
3777
|
return l;
|
|
3778
3778
|
const f = s.value[d];
|
|
3779
3779
|
return f ? t.config[f]?.label ?? f : `Segment ${d + 1}`;
|
|
3780
|
-
}, r =
|
|
3780
|
+
}, r = O(() => ({
|
|
3781
3781
|
[Wo.segment]: (n) => {
|
|
3782
3782
|
if (!n?.data)
|
|
3783
3783
|
return;
|
|
3784
|
-
const d = n.index ?? 0, l = i(n.data, d), f = s.value[d], { color: p } =
|
|
3784
|
+
const d = n.index ?? 0, l = i(n.data, d), f = s.value[d], { color: p } = _e({
|
|
3785
3785
|
config: t.config,
|
|
3786
3786
|
key: f,
|
|
3787
3787
|
index: d,
|
|
3788
3788
|
fallbackLabel: l
|
|
3789
3789
|
});
|
|
3790
|
-
return
|
|
3790
|
+
return _t({
|
|
3791
3791
|
items: [
|
|
3792
3792
|
{
|
|
3793
3793
|
label: l,
|
|
@@ -3800,12 +3800,12 @@ const xr = /* @__PURE__ */ hs($r, [["render", Gr]]), Hr = ["aria-label"], zr = [
|
|
|
3800
3800
|
}));
|
|
3801
3801
|
return (n, d) => (h(), D(wt, { config: e.config }, {
|
|
3802
3802
|
default: T(() => [
|
|
3803
|
-
|
|
3803
|
+
y(c(Go), {
|
|
3804
3804
|
data: e.data,
|
|
3805
3805
|
height: e.height
|
|
3806
3806
|
}, {
|
|
3807
3807
|
default: T(() => [
|
|
3808
|
-
|
|
3808
|
+
y(c(xo), {
|
|
3809
3809
|
value: a,
|
|
3810
3810
|
color: o,
|
|
3811
3811
|
"arc-width": e.arcWidth,
|
|
@@ -3869,10 +3869,10 @@ function Ai() {
|
|
|
3869
3869
|
const s = to?.router;
|
|
3870
3870
|
if (!s)
|
|
3871
3871
|
throw new Error("[@vc-shell/framework#useBladeNavigation] Vue Router instance is not available.");
|
|
3872
|
-
return Ve || (Ve =
|
|
3872
|
+
return Ve || (Ve = O(() => {
|
|
3873
3873
|
const o = e.activeBlade.value?.id;
|
|
3874
3874
|
return e.blades.value.map((i, r) => zt(i, r, o));
|
|
3875
|
-
})), Ue || (Ue =
|
|
3875
|
+
})), Ue || (Ue = O(() => {
|
|
3876
3876
|
const o = e.workspace.value;
|
|
3877
3877
|
if (o)
|
|
3878
3878
|
return zt(o, 0, e.activeBlade.value?.id);
|
|
@@ -3967,7 +3967,7 @@ function sd() {
|
|
|
3967
3967
|
function b(E) {
|
|
3968
3968
|
return a.getBladeComponent(E);
|
|
3969
3969
|
}
|
|
3970
|
-
function
|
|
3970
|
+
function _(E) {
|
|
3971
3971
|
ce("routeResolver", "plugin-v2 handles URL resolution automatically");
|
|
3972
3972
|
}
|
|
3973
3973
|
function P(E) {
|
|
@@ -4003,7 +4003,7 @@ function sd() {
|
|
|
4003
4003
|
const g = f(E);
|
|
4004
4004
|
g && e.clearBladeError(g);
|
|
4005
4005
|
}
|
|
4006
|
-
const U =
|
|
4006
|
+
const U = O(() => {
|
|
4007
4007
|
if (!r) return;
|
|
4008
4008
|
const E = r.value;
|
|
4009
4009
|
return {
|
|
@@ -4022,7 +4022,7 @@ function sd() {
|
|
|
4022
4022
|
onParentCall: w,
|
|
4023
4023
|
onBeforeClose: A,
|
|
4024
4024
|
resolveBladeByName: b,
|
|
4025
|
-
routeResolver:
|
|
4025
|
+
routeResolver: _,
|
|
4026
4026
|
setNavigationQuery: P,
|
|
4027
4027
|
getNavigationQuery: L,
|
|
4028
4028
|
setBladeError: C,
|
|
@@ -4059,14 +4059,14 @@ function od(e) {
|
|
|
4059
4059
|
},
|
|
4060
4060
|
{ deep: !0 }
|
|
4061
4061
|
);
|
|
4062
|
-
const m = R(!1), u =
|
|
4062
|
+
const m = R(!1), u = O(() => m.value && p.value), w = O(() => !(!m.value || !n.value.valid || !p.value || a && !a.value));
|
|
4063
4063
|
function A() {
|
|
4064
4064
|
f.value = Q(t.value), p.value = !1, m.value = !0;
|
|
4065
4065
|
}
|
|
4066
4066
|
function b() {
|
|
4067
4067
|
m.value = !0, p.value = !xe(t.value, f.value);
|
|
4068
4068
|
}
|
|
4069
|
-
function
|
|
4069
|
+
function _() {
|
|
4070
4070
|
if (r)
|
|
4071
4071
|
return r();
|
|
4072
4072
|
t.value = Q(f.value);
|
|
@@ -4076,19 +4076,19 @@ function od(e) {
|
|
|
4076
4076
|
P(async () => {
|
|
4077
4077
|
let C;
|
|
4078
4078
|
if (typeof s == "object" ? C = s.value && u.value : C = u.value, C) {
|
|
4079
|
-
const B = i ?
|
|
4079
|
+
const B = i ? oa(i) : "You have unsaved changes. Are you sure you want to leave?";
|
|
4080
4080
|
return !await L(B);
|
|
4081
4081
|
}
|
|
4082
4082
|
return !1;
|
|
4083
4083
|
});
|
|
4084
4084
|
}
|
|
4085
|
-
return
|
|
4085
|
+
return sa(io, { isModified: u, canSave: w }), {
|
|
4086
4086
|
setBaseline: A,
|
|
4087
4087
|
markReady: b,
|
|
4088
|
-
revert:
|
|
4088
|
+
revert: _,
|
|
4089
4089
|
canSave: w,
|
|
4090
4090
|
isModified: u,
|
|
4091
|
-
isReady:
|
|
4091
|
+
isReady: O(() => m.value),
|
|
4092
4092
|
formMeta: n,
|
|
4093
4093
|
setFieldError: d,
|
|
4094
4094
|
errorBag: l
|
|
@@ -4150,7 +4150,7 @@ const ke = 14, Kt = 3, wi = $({
|
|
|
4150
4150
|
}
|
|
4151
4151
|
},
|
|
4152
4152
|
setup(e) {
|
|
4153
|
-
const { notificationContainers: t, actions: a } = te(ha), s =
|
|
4153
|
+
const { notificationContainers: t, actions: a } = te(ha), s = O(() => t[e.position].value || []), o = R(!1), i = R(!1);
|
|
4154
4154
|
let r = null;
|
|
4155
4155
|
function n() {
|
|
4156
4156
|
r && (clearTimeout(r), r = null), o.value = !0;
|
|
@@ -4162,8 +4162,8 @@ const ke = 14, Kt = 3, wi = $({
|
|
|
4162
4162
|
}
|
|
4163
4163
|
const l = de(/* @__PURE__ */ new Map());
|
|
4164
4164
|
function f(A, b) {
|
|
4165
|
-
const
|
|
4166
|
-
l.get(A) !==
|
|
4165
|
+
const _ = Math.round(b);
|
|
4166
|
+
l.get(A) !== _ && l.set(A, _);
|
|
4167
4167
|
}
|
|
4168
4168
|
function p(A) {
|
|
4169
4169
|
return typeof A == "object" && (!!A?.render || !!A?.setup);
|
|
@@ -4174,35 +4174,35 @@ const ke = 14, Kt = 3, wi = $({
|
|
|
4174
4174
|
function u() {
|
|
4175
4175
|
a.clear(), l.clear();
|
|
4176
4176
|
}
|
|
4177
|
-
const w =
|
|
4177
|
+
const w = O(() => (e.position || "top-center").startsWith("top"));
|
|
4178
4178
|
return () => {
|
|
4179
|
-
const A = s.value, b = A.length,
|
|
4179
|
+
const A = s.value, b = A.length, _ = o.value || b <= 1, P = b > 1, L = b > 0 ? A[b - 1].notificationId : void 0, C = L !== void 0 && l.get(L) || 0, B = A.map((g, v) => {
|
|
4180
4180
|
const S = b - 1 - v;
|
|
4181
4181
|
let I = 0;
|
|
4182
4182
|
for (let ze = v + 1; ze < b; ze++) {
|
|
4183
|
-
const
|
|
4184
|
-
|
|
4183
|
+
const yt = A[ze].notificationId;
|
|
4184
|
+
yt !== void 0 && (I += l.get(yt) || 0);
|
|
4185
4185
|
}
|
|
4186
4186
|
const M = S * ke + I, z = g.notificationId !== void 0 && l.get(g.notificationId) || 0, ie = {
|
|
4187
4187
|
"--toasts-before": S,
|
|
4188
4188
|
"--z-index": b - S,
|
|
4189
4189
|
"--offset": `${M}px`,
|
|
4190
4190
|
"--initial-height": z ? `${z}px` : "auto"
|
|
4191
|
-
},
|
|
4191
|
+
}, Ot = {
|
|
4192
4192
|
...g,
|
|
4193
4193
|
key: g.notificationId,
|
|
4194
4194
|
onClose: m,
|
|
4195
4195
|
onReportHeight: f,
|
|
4196
4196
|
toastIndex: S,
|
|
4197
4197
|
toastsCount: b,
|
|
4198
|
-
expanded:
|
|
4198
|
+
expanded: _,
|
|
4199
4199
|
visibleToasts: Kt,
|
|
4200
4200
|
style: ie
|
|
4201
4201
|
};
|
|
4202
4202
|
return g.content && p(g.content) ? le(It, {
|
|
4203
|
-
...
|
|
4203
|
+
...Ot,
|
|
4204
4204
|
content: le(Ws(g.content))
|
|
4205
|
-
}) : le(It,
|
|
4205
|
+
}) : le(It, Ot);
|
|
4206
4206
|
});
|
|
4207
4207
|
let U = null;
|
|
4208
4208
|
P && (U = le(
|
|
@@ -4214,8 +4214,8 @@ const ke = 14, Kt = 3, wi = $({
|
|
|
4214
4214
|
[w.value ? "top" : "bottom"]: "0",
|
|
4215
4215
|
left: "var(--width, 356px)",
|
|
4216
4216
|
"margin-left": "8px",
|
|
4217
|
-
opacity:
|
|
4218
|
-
"pointer-events":
|
|
4217
|
+
opacity: _ ? "1" : "0",
|
|
4218
|
+
"pointer-events": _ ? "auto" : "none",
|
|
4219
4219
|
transition: "opacity 200ms ease"
|
|
4220
4220
|
}
|
|
4221
4221
|
},
|
|
@@ -4231,7 +4231,7 @@ const ke = 14, Kt = 3, wi = $({
|
|
|
4231
4231
|
]
|
|
4232
4232
|
));
|
|
4233
4233
|
let E;
|
|
4234
|
-
if (
|
|
4234
|
+
if (_ && b > 1) {
|
|
4235
4235
|
const g = b - 1;
|
|
4236
4236
|
let v = 0;
|
|
4237
4237
|
for (let M = 1; M < b; M++) {
|
|
@@ -4246,7 +4246,7 @@ const ke = 14, Kt = 3, wi = $({
|
|
|
4246
4246
|
"ol",
|
|
4247
4247
|
{
|
|
4248
4248
|
class: "notification__toast-group",
|
|
4249
|
-
"data-expanded": String(
|
|
4249
|
+
"data-expanded": String(_),
|
|
4250
4250
|
"data-position": e.position || "top-center",
|
|
4251
4251
|
"data-y-position": w.value ? "top" : "bottom",
|
|
4252
4252
|
style: {
|
|
@@ -4283,18 +4283,18 @@ function Li(e, t) {
|
|
|
4283
4283
|
oe.global.mergeLocaleMessage(s(o), i);
|
|
4284
4284
|
});
|
|
4285
4285
|
}
|
|
4286
|
-
function
|
|
4286
|
+
function _i(e) {
|
|
4287
4287
|
const t = ts({
|
|
4288
4288
|
phone: 480,
|
|
4289
4289
|
desktop: 1024
|
|
4290
4290
|
});
|
|
4291
4291
|
e.config.globalProperties.$isPhone = t.smaller("phone"), e.config.globalProperties.$isTablet = t.between("phone", "desktop"), e.config.globalProperties.$isMobile = t.smaller("desktop"), e.config.globalProperties.$isDesktop = t.greater("desktop"), e.config.globalProperties.$isTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0, e.provide(co, e.config.globalProperties.$isPhone), e.provide(uo, e.config.globalProperties.$isTablet), e.provide(fo, e.config.globalProperties.$isMobile), e.provide(go, e.config.globalProperties.$isDesktop), e.provide(mo, e.config.globalProperties.$isTouch);
|
|
4292
4292
|
}
|
|
4293
|
-
function
|
|
4293
|
+
function Oi(e) {
|
|
4294
4294
|
e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(po, e.config.globalProperties.bladeRoutes);
|
|
4295
4295
|
}
|
|
4296
|
-
function
|
|
4297
|
-
e.provide(
|
|
4296
|
+
function yi(e) {
|
|
4297
|
+
e.provide(ia, Ts()), e.provide(Eo, Ls()), e.provide(ho, _s()), e.provide(vo, Os()), e.provide(So, ys()), e.provide(Ao, Ee());
|
|
4298
4298
|
const t = Is(e);
|
|
4299
4299
|
e.provide(qt, t);
|
|
4300
4300
|
}
|
|
@@ -4329,8 +4329,8 @@ function Pi(e, t) {
|
|
|
4329
4329
|
cloudRole: t.applicationInsights?.cloudRole,
|
|
4330
4330
|
cloudRoleInstance: t.applicationInsights?.cloudRoleInstance
|
|
4331
4331
|
};
|
|
4332
|
-
e.use(
|
|
4333
|
-
const s = e.runWithContext(() =>
|
|
4332
|
+
e.use(Oo, a);
|
|
4333
|
+
const s = e.runWithContext(() => yo());
|
|
4334
4334
|
e.provide(Ps, s), e.runWithContext(() => {
|
|
4335
4335
|
const { setupPageTracking: o } = Cs();
|
|
4336
4336
|
t.router.beforeEach((i) => {
|
|
@@ -4370,367 +4370,362 @@ function Ci(e) {
|
|
|
4370
4370
|
}
|
|
4371
4371
|
const nd = {
|
|
4372
4372
|
install(e, t) {
|
|
4373
|
-
bs().register([{ key: "light", localizationKey: "core.themes.light" }]), window.fetch = er(t.router), Li(e, t),
|
|
4373
|
+
bs().register([{ key: "light", localizationKey: "core.themes.light" }]), window.fetch = er(t.router), Li(e, t), _i(e), Oi(e), yi(e), Ii(e, t), Ri(e, t), ir(e), typeof window < "u" && (e.runWithContext(() => ba()), e.runWithContext(() => Ta())), Ci(t.router), setTimeout(() => {
|
|
4374
4374
|
performance.mark("vc:deferred-plugins-start"), Pi(e, t), performance.mark("vc:deferred-plugins-done");
|
|
4375
4375
|
}, 0);
|
|
4376
4376
|
}
|
|
4377
4377
|
};
|
|
4378
4378
|
export {
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4379
|
+
Hg as AI_AGENT_URL_ENV_KEY,
|
|
4380
|
+
zg as AiAgentServiceKey,
|
|
4381
|
+
Kg as ApiException,
|
|
4382
|
+
qg as AppBarMobileButtonsServiceKey,
|
|
4383
4383
|
ho as AppBarWidgetServiceKey,
|
|
4384
4384
|
Ps as AppInsightsInstanceKey,
|
|
4385
4385
|
Rs as AppInsightsOptionsKey,
|
|
4386
|
-
|
|
4387
|
-
|
|
4386
|
+
jg as AppManifestClient,
|
|
4387
|
+
Yg as AppPlacement,
|
|
4388
|
+
Zg as AppRootElementKey,
|
|
4389
|
+
Xg as AppsClient,
|
|
4388
4390
|
Gn as AssetsDetailsModule,
|
|
4389
4391
|
zn as AssetsManager,
|
|
4390
4392
|
qn as AssetsManagerModule,
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4393
|
+
Jg as AuthApiBase,
|
|
4394
|
+
Qg as AuthorizationClient,
|
|
4395
|
+
em as BladeBackButtonKey,
|
|
4396
|
+
tm as BladeBannersKey,
|
|
4395
4397
|
ca as BladeContextKey,
|
|
4396
|
-
|
|
4398
|
+
am as BladeDataKey,
|
|
4397
4399
|
la as BladeDescriptorKey,
|
|
4398
|
-
|
|
4400
|
+
ld as BladeError,
|
|
4399
4401
|
io as BladeFormKey,
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
+
sm as BladeLoadingKey,
|
|
4403
|
+
om as BladeMaximizedKey,
|
|
4402
4404
|
js as BladeMessagingKey,
|
|
4403
4405
|
po as BladeRoutesKey,
|
|
4404
4406
|
Ks as BladeStackKey,
|
|
4405
|
-
|
|
4407
|
+
cd as ButtonGroupKey,
|
|
4406
4408
|
on as COMPONENT_DEFAULTS,
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4409
|
+
dd as CellDate,
|
|
4410
|
+
ud as CellDateAgo,
|
|
4411
|
+
fd as CellDefault,
|
|
4412
|
+
gd as CellEditableWrapper,
|
|
4413
|
+
md as CellHtml,
|
|
4414
|
+
pd as CellImage,
|
|
4415
|
+
Ed as CellLink,
|
|
4416
|
+
hd as CellMoney,
|
|
4417
|
+
vd as CellNumber,
|
|
4418
|
+
Sd as CellStatus,
|
|
4419
|
+
Ad as CellStatusIcon,
|
|
4420
|
+
nm as ChangeLogClient,
|
|
4421
|
+
bd as ChangePassword,
|
|
4422
|
+
wd as ChangePasswordButton,
|
|
4421
4423
|
Uc as ChangePasswordPage,
|
|
4422
4424
|
wt as ChartContainer,
|
|
4423
4425
|
Tt as ChartLegend,
|
|
4424
4426
|
Jc as ChartTooltip,
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4427
|
+
rm as CloseSettingsMenuKey,
|
|
4428
|
+
Td as ColumnCollector,
|
|
4429
|
+
im as DEFAULT_AI_AGENT_CONFIG,
|
|
4428
4430
|
ed as DashboardBarChart,
|
|
4429
4431
|
td as DashboardDonutChart,
|
|
4430
4432
|
Zc as DashboardFeedList,
|
|
4431
4433
|
Xc as DashboardFeedRow,
|
|
4432
4434
|
Qc as DashboardLineChart,
|
|
4433
|
-
|
|
4435
|
+
lm as DashboardServiceKey,
|
|
4434
4436
|
Yc as DashboardStatItem,
|
|
4435
4437
|
jc as DashboardWidgetCard,
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4438
|
+
cm as DeveloperToolsClient,
|
|
4439
|
+
dm as DiagnosticsClient,
|
|
4440
|
+
Ld as DisplayableError,
|
|
4439
4441
|
$c as DraggableDashboard,
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
cm as EmbeddedModeKey,
|
|
4448
|
-
dm as EntryState,
|
|
4449
|
-
Ld as ErrorInterceptor,
|
|
4442
|
+
um as DynamicModulesKey,
|
|
4443
|
+
fm as DynamicPropertiesClient,
|
|
4444
|
+
gm as DynamicPropertyValueType,
|
|
4445
|
+
mm as EMBEDDED_TO_HOST_MESSAGE_TYPES,
|
|
4446
|
+
pm as EmbeddedModeKey,
|
|
4447
|
+
Em as EntryState,
|
|
4448
|
+
_d as ErrorInterceptor,
|
|
4450
4449
|
Mo as ExtensionPoint,
|
|
4451
|
-
|
|
4450
|
+
zm as ExtensionPoints,
|
|
4452
4451
|
Sr as ExternalProviders,
|
|
4453
|
-
|
|
4452
|
+
hm as ExternalSignInClient,
|
|
4454
4453
|
Od as FALLBACK_BLADE_ID,
|
|
4455
4454
|
Mc as ForgotPassword,
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4455
|
+
yd as FrameworkError,
|
|
4456
|
+
vm as HOST_TO_EMBEDDED_MESSAGE_TYPES,
|
|
4457
|
+
jt as InjectionError,
|
|
4458
|
+
Sm as InternalRoutesKey,
|
|
4460
4459
|
Vc as Invite,
|
|
4461
4460
|
go as IsDesktopKey,
|
|
4462
4461
|
fo as IsMobileKey,
|
|
4463
4462
|
co as IsPhoneKey,
|
|
4464
4463
|
uo as IsTabletKey,
|
|
4465
4464
|
mo as IsTouchKey,
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
hm as JsonValueKind,
|
|
4465
|
+
Am as JobsClient,
|
|
4466
|
+
bm as JsonValueKind,
|
|
4469
4467
|
qc as LAYOUT_STORAGE_KEY,
|
|
4470
|
-
|
|
4468
|
+
Id as LanguageSelector,
|
|
4471
4469
|
lo as LanguageServiceKey,
|
|
4472
|
-
|
|
4470
|
+
wm as LocalizableSettingsClient,
|
|
4473
4471
|
Bc as Login,
|
|
4474
|
-
|
|
4475
|
-
|
|
4472
|
+
Rd as LogoutButton,
|
|
4473
|
+
Pd as MenuBurgerIcon,
|
|
4476
4474
|
vo as MenuServiceKey,
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4475
|
+
Cd as ModuleLoadError,
|
|
4476
|
+
Tm as ModulesClient,
|
|
4477
|
+
Lm as ModulesLoadErrorKey,
|
|
4480
4478
|
eo as ModulesReadyKey,
|
|
4481
4479
|
wi as NotificationContainer,
|
|
4482
4480
|
as as NotificationContextKey,
|
|
4483
|
-
|
|
4481
|
+
Dd as NotificationDropdown,
|
|
4484
4482
|
Ao as NotificationStoreKey,
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
Tm as ObjectSettingEntryValueType,
|
|
4488
|
-
Lm as OperationLogOperationType,
|
|
4483
|
+
Nd as NotificationTemplate,
|
|
4484
|
+
_m as OAuthAppsClient,
|
|
4489
4485
|
Om as ProgressMessageLevel,
|
|
4490
|
-
ym as
|
|
4491
|
-
|
|
4492
|
-
Im as RegistrationError,
|
|
4486
|
+
ym as PushNotificationClient,
|
|
4487
|
+
kd as RegistrationError,
|
|
4493
4488
|
Fc as ResetPassword,
|
|
4494
|
-
|
|
4495
|
-
|
|
4489
|
+
Im as SecurityClient,
|
|
4490
|
+
Bd as ServiceError,
|
|
4496
4491
|
Js as SettingClient,
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4492
|
+
Rm as SettingValueType,
|
|
4493
|
+
Md as SettingsMenu,
|
|
4494
|
+
Fd as SettingsMenuItem,
|
|
4500
4495
|
So as SettingsMenuServiceKey,
|
|
4501
|
-
|
|
4496
|
+
Pm as SettingsV2Client,
|
|
4497
|
+
Cm as ShellIndicatorsKey,
|
|
4502
4498
|
kc as Sidebar,
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
qd as ThemeSelector,
|
|
4499
|
+
Dm as SortDirection,
|
|
4500
|
+
Vd as Table,
|
|
4501
|
+
Ud as TableBody,
|
|
4502
|
+
$d as TableCell,
|
|
4503
|
+
Wd as TableCheckbox,
|
|
4504
|
+
Gd as TableColumnSwitcher,
|
|
4505
|
+
xd as TableEmpty,
|
|
4506
|
+
Hd as TableFooter,
|
|
4507
|
+
zd as TableGroupRow,
|
|
4508
|
+
Kd as TableHead,
|
|
4509
|
+
qd as TableHeader,
|
|
4510
|
+
jd as TableRow,
|
|
4511
|
+
Yd as TableRowActions,
|
|
4512
|
+
Zd as TableSearchHeader,
|
|
4513
|
+
Xd as TableSelectAllBar,
|
|
4514
|
+
Jd as ThemeSelector,
|
|
4520
4515
|
Eo as ToolbarServiceKey,
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4516
|
+
Qd as UserDropdownButton,
|
|
4517
|
+
eu as ValidationError,
|
|
4518
|
+
tu as VcAccordion,
|
|
4519
|
+
au as VcAccordionItem,
|
|
4520
|
+
Nm as VcAiAgentPanel,
|
|
4521
|
+
su as VcApp,
|
|
4522
|
+
ou as VcAppBarMobileActions,
|
|
4523
|
+
nu as VcAppBarOverlay,
|
|
4524
|
+
ru as VcAppBarWidgetContent,
|
|
4525
|
+
iu as VcAppBarWidgetItem,
|
|
4526
|
+
lu as VcAppBarWidgetsMenu,
|
|
4527
|
+
cu as VcAppDesktopLayout,
|
|
4528
|
+
du as VcAppMenu,
|
|
4529
|
+
uu as VcAppMenuSidebar,
|
|
4530
|
+
fu as VcAppMobileLayout,
|
|
4531
|
+
gu as VcAppSidebarCollapseButton,
|
|
4532
|
+
mu as VcAppSidebarContent,
|
|
4533
|
+
pu as VcAppSidebarHeader,
|
|
4534
|
+
Oe as VcAuthLayout,
|
|
4535
|
+
Eu as VcBadge,
|
|
4541
4536
|
Es as VcBanner,
|
|
4542
|
-
|
|
4543
|
-
|
|
4537
|
+
Zt as VcBlade,
|
|
4538
|
+
hu as VcBladeNavigation,
|
|
4544
4539
|
Jo as VcBladeNavigationComponent,
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4540
|
+
vu as VcBladeNavigationV2,
|
|
4541
|
+
Su as VcBladeSlot,
|
|
4542
|
+
Au as VcBreadcrumbs,
|
|
4548
4543
|
q as VcButton,
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4544
|
+
bu as VcButtonGroup,
|
|
4545
|
+
wu as VcCard,
|
|
4546
|
+
Tu as VcCheckbox,
|
|
4547
|
+
Lu as VcCheckboxGroup,
|
|
4548
|
+
_u as VcCol,
|
|
4549
|
+
Ou as VcColorInput,
|
|
4555
4550
|
we as VcColumn,
|
|
4556
4551
|
cs as VcContainer,
|
|
4557
4552
|
us as VcDataTable,
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4553
|
+
yu as VcDatePicker,
|
|
4554
|
+
Iu as VcDropdown,
|
|
4555
|
+
Ru as VcDropdownItem,
|
|
4556
|
+
Pu as VcDropdownPanel,
|
|
4557
|
+
Cu as VcDynamicProperty,
|
|
4558
|
+
Du as VcEditor,
|
|
4564
4559
|
je as VcField,
|
|
4565
|
-
|
|
4560
|
+
Nu as VcFileUpload,
|
|
4566
4561
|
he as VcForm,
|
|
4567
|
-
|
|
4562
|
+
ku as VcGallery,
|
|
4568
4563
|
me as VcHint,
|
|
4569
4564
|
ua as VcIcon,
|
|
4570
4565
|
mt as VcImage,
|
|
4571
|
-
|
|
4572
|
-
|
|
4566
|
+
Bu as VcImageTile,
|
|
4567
|
+
Mu as VcImageUpload,
|
|
4573
4568
|
j as VcInput,
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4569
|
+
Fu as VcInputCurrency,
|
|
4570
|
+
Vu as VcInputDropdown,
|
|
4571
|
+
Uu as VcInputGroup,
|
|
4572
|
+
$u as VcLabel,
|
|
4573
|
+
Wu as VcLanguageSelector,
|
|
4574
|
+
Gu as VcLink,
|
|
4575
|
+
Jt as VcLoading,
|
|
4576
|
+
xu as VcMenu,
|
|
4577
|
+
Hu as VcMenuExpandedKey,
|
|
4578
|
+
zu as VcMenuGroup,
|
|
4579
|
+
Ku as VcMenuItem,
|
|
4580
|
+
qu as VcMultivalue,
|
|
4581
|
+
ju as VcPagination,
|
|
4587
4582
|
ns as VcPopup,
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4583
|
+
Yu as VcProgress,
|
|
4584
|
+
Zu as VcRadioButton,
|
|
4585
|
+
Xu as VcRadioGroup,
|
|
4586
|
+
Ju as VcRating,
|
|
4587
|
+
Qu as VcRow,
|
|
4588
|
+
ef as VcScrollableContainer,
|
|
4589
|
+
tf as VcSelect,
|
|
4595
4590
|
ps as VcSidebar,
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4591
|
+
af as VcSkeleton,
|
|
4592
|
+
sf as VcSlider,
|
|
4593
|
+
of as VcStatus,
|
|
4594
|
+
nf as VcStatusIcon,
|
|
4595
|
+
rf as VcSwitch,
|
|
4596
|
+
lf as VcTable,
|
|
4602
4597
|
ds as VcTextarea,
|
|
4603
4598
|
It as VcToast,
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4599
|
+
cf as VcTooltip,
|
|
4600
|
+
df as VcVideo,
|
|
4601
|
+
uf as VcWidget,
|
|
4607
4602
|
Qs as WidgetScopeKey,
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4603
|
+
ia as WidgetServiceKey,
|
|
4604
|
+
Yt as __registerBladeConfig,
|
|
4605
|
+
km as _createInternalUserLogic,
|
|
4611
4606
|
ad as _resetAdapterState,
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4607
|
+
Bm as _sharedInternalUserLogic,
|
|
4608
|
+
ff as addAppBarWidget,
|
|
4609
|
+
gf as addMenuItem,
|
|
4610
|
+
mf as addSettingsMenuItem,
|
|
4611
|
+
pf as after,
|
|
4617
4612
|
To as aiAgentPlugin,
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4613
|
+
Ef as autofocus,
|
|
4614
|
+
hf as before,
|
|
4615
|
+
vf as bigInt,
|
|
4621
4616
|
pc as camelToSnake,
|
|
4622
4617
|
hc as camelize,
|
|
4623
4618
|
Kc as clearLayoutStorage,
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4619
|
+
Sf as convertColorNameToHex,
|
|
4620
|
+
Af as convertMomentFormat,
|
|
4621
|
+
Mm as createAiAgentToolbarButton,
|
|
4627
4622
|
bc as createAppModule,
|
|
4628
4623
|
H as createLogger,
|
|
4629
4624
|
nd as default,
|
|
4630
4625
|
At as defineAppModule,
|
|
4631
4626
|
Cc as defineBladeContext,
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4627
|
+
Km as defineExtensionPoint,
|
|
4628
|
+
bf as fileWeight,
|
|
4629
|
+
wf as formatBadgeCount,
|
|
4630
|
+
Tf as formatDateRelative,
|
|
4631
|
+
Lf as formatDateWithPattern,
|
|
4637
4632
|
Gc as fromGridstackNode,
|
|
4638
4633
|
fs as generateId,
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4634
|
+
_f as getAllBladeConfigs,
|
|
4635
|
+
Of as getBestThumbnailSize,
|
|
4636
|
+
yf as getBladeConfig,
|
|
4642
4637
|
wc as getComponentDefaults,
|
|
4643
4638
|
pa as getExtensionColor,
|
|
4644
4639
|
Ea as getExtensionLabel,
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4640
|
+
If as getMenuBadge,
|
|
4641
|
+
Rf as getMenuBadges,
|
|
4642
|
+
Pf as getThumbnailUrl,
|
|
4648
4643
|
oe as i18n,
|
|
4649
4644
|
Dc as injectBladeContext,
|
|
4650
|
-
|
|
4645
|
+
Cf as isFrameworkError,
|
|
4651
4646
|
ga as isImage,
|
|
4652
|
-
|
|
4647
|
+
Df as isValidHexColor,
|
|
4653
4648
|
Ho as kebabToCamel,
|
|
4654
4649
|
Ec as kebabToPascal,
|
|
4655
|
-
|
|
4650
|
+
Nf as languageToCountryMap,
|
|
4656
4651
|
xc as loadLayoutFromStorage,
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4652
|
+
Xt as loading,
|
|
4653
|
+
Fm as logger,
|
|
4654
|
+
Vm as loggers,
|
|
4660
4655
|
zc as mergeLayoutWithWidgets,
|
|
4661
|
-
|
|
4662
|
-
|
|
4656
|
+
kf as mindimensions,
|
|
4657
|
+
Bf as normalizeHexColor,
|
|
4663
4658
|
Z as notification,
|
|
4664
4659
|
Be as parseError,
|
|
4665
4660
|
qo as permissions,
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4661
|
+
Mf as provideAppBarState,
|
|
4662
|
+
Ff as provideAppBarWidget,
|
|
4663
|
+
Vf as provideDashboardService,
|
|
4664
|
+
Uf as provideLanguages,
|
|
4665
|
+
$f as provideMenuService,
|
|
4666
|
+
Wf as provideSettingsMenu,
|
|
4667
|
+
Gf as provideSidebarState,
|
|
4668
|
+
xf as provideToolbarService,
|
|
4674
4669
|
ma as readableSize,
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4670
|
+
Hf as registerDashboardWidget,
|
|
4671
|
+
zf as registerExternalWidget,
|
|
4672
|
+
Kf as registerToolbarItem,
|
|
4673
|
+
qf as registerWidget,
|
|
4674
|
+
jf as removeMenuBadge,
|
|
4675
|
+
Yf as removeRegisteredMenuItem,
|
|
4676
|
+
Zf as resolveLocale,
|
|
4677
|
+
Xf as resolveLocaleSync,
|
|
4683
4678
|
Hc as saveLayoutToStorage,
|
|
4684
|
-
|
|
4679
|
+
Jf as setMenuBadge,
|
|
4685
4680
|
jo as signalR,
|
|
4686
|
-
|
|
4681
|
+
Qf as stripTenantPrefix,
|
|
4687
4682
|
Wc as toGridstackWidget,
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4683
|
+
eg as useAdaptiveItems,
|
|
4684
|
+
Um as useAiAgent,
|
|
4685
|
+
xm as useAiAgentContext,
|
|
4691
4686
|
un as useApiClient,
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4687
|
+
tg as useAppBarMobileActions,
|
|
4688
|
+
ag as useAppBarState,
|
|
4689
|
+
sg as useAppBarWidget,
|
|
4690
|
+
og as useAppBarWidgets,
|
|
4696
4691
|
Cs as useAppInsights,
|
|
4697
|
-
|
|
4698
|
-
|
|
4692
|
+
_c as useAssets,
|
|
4693
|
+
Oc as useAssetsManager,
|
|
4699
4694
|
va as useAsync,
|
|
4700
|
-
|
|
4695
|
+
ng as useBadge,
|
|
4701
4696
|
Sn as useBeforeUnload,
|
|
4702
4697
|
Et as useBlade,
|
|
4703
4698
|
od as useBladeForm,
|
|
4704
|
-
|
|
4705
|
-
|
|
4699
|
+
rg as useBladeLoading,
|
|
4700
|
+
ig as useBladeMessaging,
|
|
4706
4701
|
sd as useBladeNavigation,
|
|
4707
4702
|
vc as useBladeNotifications,
|
|
4708
|
-
|
|
4703
|
+
$m as useBladeStack,
|
|
4709
4704
|
Rc as useBladeWidgets,
|
|
4710
|
-
|
|
4705
|
+
lg as useBreadcrumbs,
|
|
4711
4706
|
Ac as useBroadcastFilter,
|
|
4712
|
-
|
|
4713
|
-
|
|
4707
|
+
cg as useCollapsible,
|
|
4708
|
+
dg as useColumnFilter,
|
|
4714
4709
|
gr as useContainer,
|
|
4715
4710
|
vs as useDashboard,
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4711
|
+
ug as useDataTablePagination,
|
|
4712
|
+
fg as useDataTableSort,
|
|
4713
|
+
yc as useDynamicProperties,
|
|
4714
|
+
gg as useErrorHandler,
|
|
4715
|
+
qm as useExtensionPoint,
|
|
4716
|
+
mg as useFilterState,
|
|
4717
|
+
pg as useFloatingPosition,
|
|
4718
|
+
Eg as useFormField,
|
|
4724
4719
|
Tc as useFunctions,
|
|
4725
|
-
|
|
4720
|
+
hg as useGalleryPreview,
|
|
4726
4721
|
Ur as useGridstack,
|
|
4727
|
-
|
|
4722
|
+
vg as useImageLoad,
|
|
4728
4723
|
cr as useInstance,
|
|
4729
|
-
|
|
4724
|
+
Sg as useLanguages,
|
|
4730
4725
|
Sa as useLoading,
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4726
|
+
Ag as useMenuActiveState,
|
|
4727
|
+
bg as useMenuExpanded,
|
|
4728
|
+
wg as useMenuService,
|
|
4734
4729
|
Nc as useModificationTracker,
|
|
4735
4730
|
Sc as useNotificationContext,
|
|
4736
4731
|
Ee as useNotificationStore,
|
|
@@ -4738,30 +4733,30 @@ export {
|
|
|
4738
4733
|
gt as usePermissions,
|
|
4739
4734
|
As as usePopup,
|
|
4740
4735
|
ms as useResponsive,
|
|
4741
|
-
|
|
4736
|
+
Tg as useScrollArrows,
|
|
4742
4737
|
Pe as useSettings,
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4738
|
+
Lg as useSettingsMenu,
|
|
4739
|
+
_g as useShellBootstrap,
|
|
4740
|
+
Og as useShellLifecycle,
|
|
4741
|
+
yg as useShellNavigation,
|
|
4742
|
+
Ig as useSidebarState,
|
|
4743
|
+
Rg as useTableColumnsReorder,
|
|
4744
|
+
Pg as useTableColumnsResize,
|
|
4745
|
+
Cg as useTableContext,
|
|
4746
|
+
Dg as useTableInlineEdit,
|
|
4747
|
+
Ng as useTableRowGrouping,
|
|
4748
|
+
kg as useTableRowReorder,
|
|
4749
|
+
Bg as useTableSelection,
|
|
4750
|
+
Mg as useTableSort,
|
|
4751
|
+
Fg as useTeleportTarget,
|
|
4757
4752
|
bs as useTheme,
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4753
|
+
Vg as useToggleableContent,
|
|
4754
|
+
Ug as useToolbar,
|
|
4755
|
+
Wm as useUser,
|
|
4756
|
+
$g as useVirtualScroll,
|
|
4762
4757
|
Ic as useWebVitals,
|
|
4763
4758
|
Pc as useWidgetTrigger,
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4759
|
+
Wg as vAutofocus,
|
|
4760
|
+
Xt as vLoading,
|
|
4761
|
+
Gg as wrapError
|
|
4767
4762
|
};
|