@vc-shell/framework 1.0.89 → 1.0.91
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 +13 -0
- package/core/plugins/validation/rules.ts +1 -1
- package/dist/framework.mjs +171 -170
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +6 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +3 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/ui/components/molecules/vc-editor/vc-editor.vue +2 -0
package/dist/framework.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Me, openBlock as V, createElementBlock as Z, normalizeClass as Fe, renderSlot as Pe, computed as Se, createBlock as
|
|
1
|
+
import { defineComponent as Me, openBlock as V, createElementBlock as Z, normalizeClass as Fe, renderSlot as Pe, computed as Se, createBlock as Ae, unref as Y, createCommentVNode as ce, ref as ue, createElementVNode as re, toDisplayString as he, createVNode as ae, Transition as sf, withCtx as fe, withDirectives as Tn, vShow as Ko, createTextVNode as Re, normalizeStyle as Ot, onMounted as cn, nextTick as ln, resolveComponent as qe, createSlots as Nr, Fragment as Ie, renderList as lt, mergeProps as gt, h as Kt, markRaw as ro, capitalize as Xy, onBeforeUnmount as ul, watch as rt, getCurrentInstance as un, effectScope as Qy, inject as si, onUnmounted as Qp, shallowRef as cl, onBeforeMount as eg, isRef as eb, Text as tb, customRef as tg, getCurrentScope as ng, onScopeDispose as rg, readonly as af, toRef as nb, watchEffect as rb, onUpdated as fl, onErrorCaptured as ib, withModifiers as nt, vModelDynamic as ob, toRefs as lf, shallowReadonly as Di, Teleport as ms, normalizeProps as sb, guardReactiveProps as ab, onBeforeUpdate as ig, resolveDynamicComponent as io, reactive as Rr, createApp as lb, shallowReactive as ub, withKeys as uf, useAttrs as cb } from "vue";
|
|
2
2
|
import * as og from "vee-validate";
|
|
3
3
|
import { useField as fb, useForm as vs, useIsFormValid as hl, useIsFormDirty as dl, Field as xt, defineRule as yo } from "vee-validate";
|
|
4
4
|
import { useRoute as sg, useRouter as pl } from "vue-router";
|
|
@@ -76,7 +76,7 @@ const Be = pb, gb = ["disabled"], mb = {
|
|
|
76
76
|
disabled: o.disabled,
|
|
77
77
|
onClick: i
|
|
78
78
|
}, [
|
|
79
|
-
o.icon ? (V(),
|
|
79
|
+
o.icon ? (V(), Ae(Y(Be), {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: Fe(["vc-button__icon", o.iconClass]),
|
|
82
82
|
icon: o.icon,
|
|
@@ -115,7 +115,7 @@ const sr = vb, yb = { class: "vc-card__title" }, bb = {
|
|
|
115
115
|
class: "vc-card__header",
|
|
116
116
|
onClick: i
|
|
117
117
|
}, [
|
|
118
|
-
o.icon ? (V(),
|
|
118
|
+
o.icon ? (V(), Ae(Y(Be), {
|
|
119
119
|
key: 0,
|
|
120
120
|
class: "vc-card__icon",
|
|
121
121
|
icon: o.icon,
|
|
@@ -125,7 +125,7 @@ const sr = vb, yb = { class: "vc-card__title" }, bb = {
|
|
|
125
125
|
o.$slots.actions ? (V(), Z("div", bb, [
|
|
126
126
|
Pe(o.$slots, "actions")
|
|
127
127
|
])) : ce("", !0),
|
|
128
|
-
o.isCollapsable ? (V(),
|
|
128
|
+
o.isCollapsable ? (V(), Ae(Y(Be), {
|
|
129
129
|
key: 2,
|
|
130
130
|
class: "vc-card__collapse",
|
|
131
131
|
icon: `fas fa-chevron-${r.value ? "down" : "up"}`,
|
|
@@ -346,7 +346,7 @@ const bo = Rb, Mb = { class: "tw-mb-[11px] last-of-type:tw-mb-0" }, Nb = {
|
|
|
346
346
|
}),
|
|
347
347
|
ae(Y($a), { size: "2" }, {
|
|
348
348
|
default: fe(() => [
|
|
349
|
-
e.type === "default" ? (V(), Z("p", Nb, he(e.value), 1)) : e.type === "email" ? (V(),
|
|
349
|
+
e.type === "default" ? (V(), Z("p", Nb, he(e.value), 1)) : e.type === "email" ? (V(), Ae(r, { key: 1 }, {
|
|
350
350
|
default: fe(() => [
|
|
351
351
|
Re(he(e.value), 1)
|
|
352
352
|
]),
|
|
@@ -542,11 +542,11 @@ const rw = nw, iw = /* @__PURE__ */ Me({
|
|
|
542
542
|
},
|
|
543
543
|
setup(n) {
|
|
544
544
|
return (e, t) => (V(), Z("div", null, [
|
|
545
|
-
e.status ? (V(),
|
|
545
|
+
e.status ? (V(), Ae(Y(Be), {
|
|
546
546
|
key: 0,
|
|
547
547
|
icon: "fas fa-check-circle",
|
|
548
548
|
class: "tw-text-[color:#87b563]"
|
|
549
|
-
})) : (V(),
|
|
549
|
+
})) : (V(), Ae(Y(Be), {
|
|
550
550
|
key: 1,
|
|
551
551
|
icon: "fas fa-times-circle",
|
|
552
552
|
class: "tw-text-[color:#bdd1df]"
|
|
@@ -569,7 +569,7 @@ const rw = nw, iw = /* @__PURE__ */ Me({
|
|
|
569
569
|
e("update:modelValue", i);
|
|
570
570
|
}
|
|
571
571
|
return (r, i) => (V(), Z("div", null, [
|
|
572
|
-
r.label ? (V(),
|
|
572
|
+
r.label ? (V(), Ae(Y(hr), {
|
|
573
573
|
key: 0,
|
|
574
574
|
class: "tw-mb-2",
|
|
575
575
|
required: r.required
|
|
@@ -590,7 +590,7 @@ const rw = nw, iw = /* @__PURE__ */ Me({
|
|
|
590
590
|
}, null, 40, aw),
|
|
591
591
|
lw
|
|
592
592
|
]),
|
|
593
|
-
r.tooltip ? (V(),
|
|
593
|
+
r.tooltip ? (V(), Ae(Y(xn), {
|
|
594
594
|
key: 0,
|
|
595
595
|
class: "tw-mt-2 tw-w-max"
|
|
596
596
|
}, {
|
|
@@ -627,7 +627,7 @@ const cw = uw, fw = {
|
|
|
627
627
|
class: Fe(["vc-widget", { "vc-widget_disabled": i.disabled }]),
|
|
628
628
|
onClick: r
|
|
629
629
|
}, [
|
|
630
|
-
i.icon ? (V(),
|
|
630
|
+
i.icon ? (V(), Ae(Y(Be), {
|
|
631
631
|
key: 0,
|
|
632
632
|
class: "vc-widget__icon",
|
|
633
633
|
icon: i.icon,
|
|
@@ -674,7 +674,7 @@ const pw = dw, gw = { class: "vc-breadcrumbs-item__title" }, mw = /* @__PURE__ *
|
|
|
674
674
|
}]),
|
|
675
675
|
onClick: r
|
|
676
676
|
}, [
|
|
677
|
-
n.icon ? (V(),
|
|
677
|
+
n.icon ? (V(), Ae(Y(Be), {
|
|
678
678
|
key: 0,
|
|
679
679
|
class: "vc-breadcrumbs-item__icon",
|
|
680
680
|
icon: n.icon,
|
|
@@ -694,7 +694,7 @@ const vw = {
|
|
|
694
694
|
},
|
|
695
695
|
setup(n) {
|
|
696
696
|
return (e, t) => e.items ? (V(), Z("div", vw, [
|
|
697
|
-
(V(!0), Z(Ie, null, lt(e.items, (r, i) => (V(),
|
|
697
|
+
(V(!0), Z(Ie, null, lt(e.items, (r, i) => (V(), Ae(mw, gt({
|
|
698
698
|
key: r.id
|
|
699
699
|
}, r, {
|
|
700
700
|
current: i === e.items.length - 1
|
|
@@ -15880,7 +15880,7 @@ const Ww = /* @__PURE__ */ Me({
|
|
|
15880
15880
|
}
|
|
15881
15881
|
]])
|
|
15882
15882
|
}, [
|
|
15883
|
-
o.label ? (V(),
|
|
15883
|
+
o.label ? (V(), Ae(Y(hr), {
|
|
15884
15884
|
key: 0,
|
|
15885
15885
|
class: "tw-mb-2",
|
|
15886
15886
|
required: o.required
|
|
@@ -23637,7 +23637,7 @@ Ra.exports;
|
|
|
23637
23637
|
return R ? "Symbol(src)_1." + R : "";
|
|
23638
23638
|
}(), J = de.toString, ie = _e.hasOwnProperty, me = _e.toString, Le = RegExp(
|
|
23639
23639
|
"^" + J.call(ie).replace(I, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
23640
|
-
), ze = U ? F.Buffer : void 0, je = F.Symbol, et = F.Uint8Array, Ne = pe(Object.getPrototypeOf, Object), Xe = Object.create, tt = _e.propertyIsEnumerable, Jt = le.splice, Cn = Object.getOwnPropertySymbols, Dn = ze ? ze.isBuffer : void 0, Li = pe(Object.keys, Object), Wr = jn(F, "DataView"), Zn = jn(F, "Map"), fn = jn(F, "Promise"), Vr = jn(F, "Set"), oe = jn(F, "WeakMap"),
|
|
23640
|
+
), ze = U ? F.Buffer : void 0, je = F.Symbol, et = F.Uint8Array, Ne = pe(Object.getPrototypeOf, Object), Xe = Object.create, tt = _e.propertyIsEnumerable, Jt = le.splice, Cn = Object.getOwnPropertySymbols, Dn = ze ? ze.isBuffer : void 0, Li = pe(Object.keys, Object), Wr = jn(F, "DataView"), Zn = jn(F, "Map"), fn = jn(F, "Promise"), Vr = jn(F, "Set"), oe = jn(F, "WeakMap"), Te = jn(Object, "create"), we = sn(Wr), He = sn(Zn), Ye = sn(fn), It = sn(Vr), Fn = sn(oe), wn = je ? je.prototype : void 0, Us = wn ? wn.valueOf : void 0;
|
|
23641
23641
|
function yr(R) {
|
|
23642
23642
|
var q = -1, ne = R ? R.length : 0;
|
|
23643
23643
|
for (this.clear(); ++q < ne; ) {
|
|
@@ -23646,14 +23646,14 @@ Ra.exports;
|
|
|
23646
23646
|
}
|
|
23647
23647
|
}
|
|
23648
23648
|
function iu() {
|
|
23649
|
-
this.__data__ =
|
|
23649
|
+
this.__data__ = Te ? Te(null) : {};
|
|
23650
23650
|
}
|
|
23651
23651
|
function ou(R) {
|
|
23652
23652
|
return this.has(R) && delete this.__data__[R];
|
|
23653
23653
|
}
|
|
23654
23654
|
function su(R) {
|
|
23655
23655
|
var q = this.__data__;
|
|
23656
|
-
if (
|
|
23656
|
+
if (Te) {
|
|
23657
23657
|
var ne = q[R];
|
|
23658
23658
|
return ne === r ? void 0 : ne;
|
|
23659
23659
|
}
|
|
@@ -23661,11 +23661,11 @@ Ra.exports;
|
|
|
23661
23661
|
}
|
|
23662
23662
|
function Hs(R) {
|
|
23663
23663
|
var q = this.__data__;
|
|
23664
|
-
return
|
|
23664
|
+
return Te ? q[R] !== void 0 : ie.call(q, R);
|
|
23665
23665
|
}
|
|
23666
23666
|
function Ao(R, q) {
|
|
23667
23667
|
var ne = this.__data__;
|
|
23668
|
-
return ne[R] =
|
|
23668
|
+
return ne[R] = Te && q === void 0 ? r : q, this;
|
|
23669
23669
|
}
|
|
23670
23670
|
yr.prototype.clear = iu, yr.prototype.delete = ou, yr.prototype.get = su, yr.prototype.has = Hs, yr.prototype.set = Ao;
|
|
23671
23671
|
function zt(R) {
|
|
@@ -24083,7 +24083,7 @@ Ma.exports;
|
|
|
24083
24083
|
return R ? "Symbol(src)_1." + R : "";
|
|
24084
24084
|
}(), tt = ze.toString, Jt = RegExp(
|
|
24085
24085
|
"^" + et.call(Ne).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
24086
|
-
), Cn = ve ? X.Buffer : void 0, Dn = X.Symbol, Li = X.Uint8Array, Wr = ze.propertyIsEnumerable, Zn = me.splice, fn = Dn ? Dn.toStringTag : void 0, Vr = Object.getOwnPropertySymbols, oe = Cn ? Cn.isBuffer : void 0,
|
|
24086
|
+
), Cn = ve ? X.Buffer : void 0, Dn = X.Symbol, Li = X.Uint8Array, Wr = ze.propertyIsEnumerable, Zn = me.splice, fn = Dn ? Dn.toStringTag : void 0, Vr = Object.getOwnPropertySymbols, oe = Cn ? Cn.isBuffer : void 0, Te = J(Object.keys, Object), we = br(X, "DataView"), He = br(X, "Map"), Ye = br(X, "Promise"), It = br(X, "Set"), Fn = br(X, "WeakMap"), wn = br(Object, "create"), Us = sn(we), yr = sn(He), iu = sn(Ye), ou = sn(It), su = sn(Fn), Hs = Dn ? Dn.prototype : void 0, Ao = Hs ? Hs.valueOf : void 0;
|
|
24087
24087
|
function zt(R) {
|
|
24088
24088
|
var q = -1, ne = R == null ? 0 : R.length;
|
|
24089
24089
|
for (this.clear(); ++q < ne; ) {
|
|
@@ -24273,7 +24273,7 @@ Ma.exports;
|
|
|
24273
24273
|
}
|
|
24274
24274
|
function $u(R) {
|
|
24275
24275
|
if (!Du(R))
|
|
24276
|
-
return
|
|
24276
|
+
return Te(R);
|
|
24277
24277
|
var q = [];
|
|
24278
24278
|
for (var ne in Object(R))
|
|
24279
24279
|
Ne.call(R, ne) && ne != "constructor" && q.push(ne);
|
|
@@ -36070,7 +36070,7 @@ const IC = /* @__PURE__ */ Me({
|
|
|
36070
36070
|
placeholder: {},
|
|
36071
36071
|
modelValue: { default: null },
|
|
36072
36072
|
required: { type: Boolean },
|
|
36073
|
-
disabled: { type: Boolean },
|
|
36073
|
+
disabled: { type: Boolean, default: !1 },
|
|
36074
36074
|
label: {},
|
|
36075
36075
|
tooltip: {},
|
|
36076
36076
|
errorMessage: {},
|
|
@@ -36130,7 +36130,7 @@ const IC = /* @__PURE__ */ Me({
|
|
|
36130
36130
|
}
|
|
36131
36131
|
]])
|
|
36132
36132
|
}, [
|
|
36133
|
-
p.label ? (V(),
|
|
36133
|
+
p.label ? (V(), Ae(Y(hr), {
|
|
36134
36134
|
key: 0,
|
|
36135
36135
|
class: "tw-mb-2",
|
|
36136
36136
|
required: p.required
|
|
@@ -36148,7 +36148,8 @@ const IC = /* @__PURE__ */ Me({
|
|
|
36148
36148
|
key: "0"
|
|
36149
36149
|
} : void 0
|
|
36150
36150
|
]), 1032, ["required"])) : ce("", !0),
|
|
36151
|
-
|
|
36151
|
+
(V(), Ae(Y(o0), {
|
|
36152
|
+
key: p.disabled.toString(),
|
|
36152
36153
|
content: i.value,
|
|
36153
36154
|
"onUpdate:content": [
|
|
36154
36155
|
a[0] || (a[0] = (s) => i.value = s),
|
|
@@ -36160,7 +36161,7 @@ const IC = /* @__PURE__ */ Me({
|
|
|
36160
36161
|
modules: f,
|
|
36161
36162
|
"content-type": "html",
|
|
36162
36163
|
"read-only": p.disabled
|
|
36163
|
-
}, null, 8, ["content", "class", "read-only"]),
|
|
36164
|
+
}, null, 8, ["content", "class", "read-only"])),
|
|
36164
36165
|
p.errorMessage ? Pe(p.$slots, "error", { key: 1 }, () => [
|
|
36165
36166
|
ae(Y(xn), { class: "vc-editor__error !tw-text-[color:var(--editor-border-color-error)] tw-mt-1" }, {
|
|
36166
36167
|
default: fe(() => [
|
|
@@ -36354,7 +36355,7 @@ const Zm = HC, WC = { class: "tw-flex tw-flex-nowrap tw-items-start" }, VC = { c
|
|
|
36354
36355
|
}
|
|
36355
36356
|
]])
|
|
36356
36357
|
}, [
|
|
36357
|
-
u.label ? (V(),
|
|
36358
|
+
u.label ? (V(), Ae(Y(hr), {
|
|
36358
36359
|
key: 0,
|
|
36359
36360
|
class: "tw-mb-2",
|
|
36360
36361
|
required: u.required
|
|
@@ -36461,7 +36462,7 @@ const Zm = HC, WC = { class: "tw-flex tw-flex-nowrap tw-items-start" }, VC = { c
|
|
|
36461
36462
|
default: fe(() => [
|
|
36462
36463
|
u.error ? (V(), Z("div", rO, [
|
|
36463
36464
|
Pe(u.$slots, "error", {}, () => [
|
|
36464
|
-
u.errorMessage ? (V(),
|
|
36465
|
+
u.errorMessage ? (V(), Ae(Y(xn), {
|
|
36465
36466
|
key: 0,
|
|
36466
36467
|
class: "vc-input__error"
|
|
36467
36468
|
}, {
|
|
@@ -36473,7 +36474,7 @@ const Zm = HC, WC = { class: "tw-flex tw-flex-nowrap tw-items-start" }, VC = { c
|
|
|
36473
36474
|
])
|
|
36474
36475
|
])) : (V(), Z("div", iO, [
|
|
36475
36476
|
Pe(u.$slots, "hint", {}, () => [
|
|
36476
|
-
u.hint ? (V(),
|
|
36477
|
+
u.hint ? (V(), Ae(Y(xn), {
|
|
36477
36478
|
key: 0,
|
|
36478
36479
|
class: "vc-input__desc"
|
|
36479
36480
|
}, {
|
|
@@ -36857,7 +36858,7 @@ const gO = ["onClick"], mO = ["placeholder"], vO = /* @__PURE__ */ Me({
|
|
|
36857
36858
|
hideGroupingSeparatorOnFocus: !1
|
|
36858
36859
|
});
|
|
36859
36860
|
}
|
|
36860
|
-
), (i, o) => (V(),
|
|
36861
|
+
), (i, o) => (V(), Ae(Y(Yi), {
|
|
36861
36862
|
options: i.options,
|
|
36862
36863
|
"option-label": i.optionLabel,
|
|
36863
36864
|
"option-value": i.optionValue,
|
|
@@ -37082,7 +37083,7 @@ const nv = AO, TO = { class: "vc-rating" }, xO = ["innerHTML"], kO = { class: "v
|
|
|
37082
37083
|
},
|
|
37083
37084
|
setup(n) {
|
|
37084
37085
|
return (e, t) => (V(), Z("div", TO, [
|
|
37085
|
-
e.label ? (V(),
|
|
37086
|
+
e.label ? (V(), Ae(Y(hr), {
|
|
37086
37087
|
key: 0,
|
|
37087
37088
|
class: "tw-mb-2"
|
|
37088
37089
|
}, Nr({
|
|
@@ -37101,18 +37102,18 @@ const nv = AO, TO = { class: "vc-rating" }, xO = ["innerHTML"], kO = { class: "v
|
|
|
37101
37102
|
]), 1024)) : ce("", !0),
|
|
37102
37103
|
e.rating ? (V(), Z(Ie, { key: 1 }, [
|
|
37103
37104
|
e.variant == "stars" ? (V(), Z(Ie, { key: 0 }, [
|
|
37104
|
-
(V(!0), Z(Ie, null, lt(e.rating, (r) => (V(),
|
|
37105
|
+
(V(!0), Z(Ie, null, lt(e.rating, (r) => (V(), Ae(Y(Be), {
|
|
37105
37106
|
key: r,
|
|
37106
37107
|
icon: "fas fa-star",
|
|
37107
37108
|
class: "vc-rating__icon"
|
|
37108
37109
|
}))), 128)),
|
|
37109
|
-
(V(!0), Z(Ie, null, lt(e.max - e.rating, (r) => (V(),
|
|
37110
|
+
(V(!0), Z(Ie, null, lt(e.max - e.rating, (r) => (V(), Ae(Y(Be), {
|
|
37110
37111
|
key: r,
|
|
37111
37112
|
icon: "far fa-star",
|
|
37112
37113
|
class: "vc-rating__icon"
|
|
37113
37114
|
}))), 128))
|
|
37114
37115
|
], 64)) : (V(), Z(Ie, { key: 1 }, [
|
|
37115
|
-
e.variant == "star-and-text" ? (V(),
|
|
37116
|
+
e.variant == "star-and-text" ? (V(), Ae(Y(Be), {
|
|
37116
37117
|
key: 0,
|
|
37117
37118
|
icon: "fas fa-star",
|
|
37118
37119
|
class: "vc-rating__icon"
|
|
@@ -38118,7 +38119,7 @@ const qO = ["innerHTML"], YO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38118
38119
|
"tw-pb-[20px]": H.error || H.hint
|
|
38119
38120
|
}])
|
|
38120
38121
|
}, [
|
|
38121
|
-
H.label ? (V(),
|
|
38122
|
+
H.label ? (V(), Ae(Y(hr), {
|
|
38122
38123
|
key: 0,
|
|
38123
38124
|
class: "tw-mb-2",
|
|
38124
38125
|
required: H.required
|
|
@@ -38168,7 +38169,7 @@ const qO = ["innerHTML"], YO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38168
38169
|
}), [
|
|
38169
38170
|
H.multiple ? (V(), Z("div", a$, [
|
|
38170
38171
|
re("span", null, he(E.value(Q.opt)), 1),
|
|
38171
|
-
H.disabled ? ce("", !0) : (V(),
|
|
38172
|
+
H.disabled ? ce("", !0) : (V(), Ae(Y(Be), {
|
|
38172
38173
|
key: 0,
|
|
38173
38174
|
class: "tw-text-[#a9bfd2] tw-ml-2 tw-cursor-pointer hover:tw-text-[color:var(--select-clear-color-hover)]",
|
|
38174
38175
|
icon: "fas fa-times",
|
|
@@ -38231,7 +38232,7 @@ const qO = ["innerHTML"], YO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38231
38232
|
default: fe(() => [
|
|
38232
38233
|
H.error ? (V(), Z("div", p$, [
|
|
38233
38234
|
Pe(H.$slots, "error", {}, () => [
|
|
38234
|
-
H.errorMessage ? (V(),
|
|
38235
|
+
H.errorMessage ? (V(), Ae(Y(xn), {
|
|
38235
38236
|
key: 0,
|
|
38236
38237
|
class: "tw-mt-1 tw-text-[color:var(--select-border-color-error)]"
|
|
38237
38238
|
}, {
|
|
@@ -38243,7 +38244,7 @@ const qO = ["innerHTML"], YO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38243
38244
|
])
|
|
38244
38245
|
])) : (V(), Z("div", g$, [
|
|
38245
38246
|
Pe(H.$slots, "hint", {}, () => [
|
|
38246
|
-
H.hint ? (V(),
|
|
38247
|
+
H.hint ? (V(), Ae(Y(xn), {
|
|
38247
38248
|
key: 0,
|
|
38248
38249
|
class: "tw-text-[color:var(--select-placeholder-color)] tw-mt-1 tw-break-words tw-p-0"
|
|
38249
38250
|
}, {
|
|
@@ -38265,7 +38266,7 @@ const qO = ["innerHTML"], YO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38265
38266
|
])
|
|
38266
38267
|
])
|
|
38267
38268
|
], 512),
|
|
38268
|
-
(V(),
|
|
38269
|
+
(V(), Ae(ms, { to: "#app" }, [
|
|
38269
38270
|
f.value ? Tn((V(), Z("div", {
|
|
38270
38271
|
key: 0,
|
|
38271
38272
|
ref_key: "dropdownRef",
|
|
@@ -41819,7 +41820,7 @@ const YI = { class: "vc-slider tw-relative" }, KI = { class: "vc-slider__prev tw
|
|
|
41819
41820
|
"resize-observer": !0
|
|
41820
41821
|
}, {
|
|
41821
41822
|
default: fe(() => [
|
|
41822
|
-
(V(!0), Z(Ie, null, lt(t.slides, (i, o) => (V(),
|
|
41823
|
+
(V(!0), Z(Ie, null, lt(t.slides, (i, o) => (V(), Ae(Y(qI), {
|
|
41823
41824
|
key: o,
|
|
41824
41825
|
"swiper-ref": Y(po)
|
|
41825
41826
|
}, {
|
|
@@ -41884,7 +41885,7 @@ const eR = /* @__PURE__ */ gl(QI, [["__scopeId", "data-v-e2bf4124"]]), tR = eR,
|
|
|
41884
41885
|
"vc-textarea_disabled": i.disabled
|
|
41885
41886
|
}])
|
|
41886
41887
|
}, [
|
|
41887
|
-
i.label ? (V(),
|
|
41888
|
+
i.label ? (V(), Ae(Y(hr), {
|
|
41888
41889
|
key: 0,
|
|
41889
41890
|
class: "tw-mb-2",
|
|
41890
41891
|
required: i.required
|
|
@@ -41954,7 +41955,7 @@ const _h = oR, sR = ["src"], aR = {
|
|
|
41954
41955
|
t.title ? (V(), Z("div", aR, he(t.title), 1)) : ce("", !0)
|
|
41955
41956
|
], 64)) : ce("", !0),
|
|
41956
41957
|
t.$isMobile.value ? (V(), Z(Ie, { key: 1 }, [
|
|
41957
|
-
t.blades.length === 1 ? (V(), Z("div", lR, he(t.blades[0].exposed.title), 1)) : t.blades.length > 1 ? (V(),
|
|
41958
|
+
t.blades.length === 1 ? (V(), Z("div", lR, he(t.blades[0].exposed.title), 1)) : t.blades.length > 1 ? (V(), Ae(Y(vl), {
|
|
41958
41959
|
key: 1,
|
|
41959
41960
|
class: "tw-ml-3",
|
|
41960
41961
|
onClick: r[1] || (r[1] = (i) => t.$emit("backlink:click"))
|
|
@@ -41973,7 +41974,7 @@ const _h = oR, sR = ["src"], aR = {
|
|
|
41973
41974
|
re("div", fR, [
|
|
41974
41975
|
(V(!0), Z(Ie, null, lt(t.buttons, (i, o) => (V(), Z(Ie, { key: o }, [
|
|
41975
41976
|
i.isVisible === void 0 || i.isVisible ? (V(), Z(Ie, { key: 0 }, [
|
|
41976
|
-
i.component ? (V(),
|
|
41977
|
+
i.component ? (V(), Ae(io(i.component), gt({ key: 0 }, i.options, {
|
|
41977
41978
|
"is-accent": i.isAccent
|
|
41978
41979
|
}), null, 16, ["is-accent"])) : (V(), Z("div", {
|
|
41979
41980
|
key: 1,
|
|
@@ -42041,7 +42042,7 @@ const pR = {
|
|
|
42041
42042
|
])) : ce("", !0),
|
|
42042
42043
|
re("div", gR, [
|
|
42043
42044
|
Re(he(e.title) + " ", 1),
|
|
42044
|
-
e.children.length ? (V(),
|
|
42045
|
+
e.children.length ? (V(), Ae(Y(Be), {
|
|
42045
42046
|
key: 0,
|
|
42046
42047
|
class: "vc-app-menu-item__title-icon",
|
|
42047
42048
|
icon: "fas fa-chevron-down",
|
|
@@ -42076,7 +42077,7 @@ const mR = {
|
|
|
42076
42077
|
return (f, m) => {
|
|
42077
42078
|
const c = qe("router-link");
|
|
42078
42079
|
return V(), Z("div", null, [
|
|
42079
|
-
f.component && f.component.url ? (V(),
|
|
42080
|
+
f.component && f.component.url ? (V(), Ae(c, {
|
|
42080
42081
|
key: 0,
|
|
42081
42082
|
to: f.component.url,
|
|
42082
42083
|
custom: ""
|
|
@@ -42101,7 +42102,7 @@ const mR = {
|
|
|
42101
42102
|
onOnClick: o
|
|
42102
42103
|
}, null, 8, ["children", "sticky", "icon", "title"]),
|
|
42103
42104
|
i.value ? (V(), Z("div", mR, [
|
|
42104
|
-
(V(!0), Z(Ie, null, lt(f.children, (p, a) => (V(),
|
|
42105
|
+
(V(!0), Z(Ie, null, lt(f.children, (p, a) => (V(), Ae(c, {
|
|
42105
42106
|
key: a,
|
|
42106
42107
|
to: p.component.url,
|
|
42107
42108
|
custom: ""
|
|
@@ -42171,11 +42172,11 @@ const bR = { class: "vc-app-menu__inner tw-flex tw-flex-col tw-h-full" }, wR = {
|
|
|
42171
42172
|
key: `info_item_${c}`
|
|
42172
42173
|
}, [
|
|
42173
42174
|
m.isVisible === void 0 || m.isVisible ? (V(), Z(Ie, { key: 0 }, [
|
|
42174
|
-
m.component ? (V(),
|
|
42175
|
+
m.component ? (V(), Ae(io(m.component), gt({ key: 0 }, m.options, { class: "tw-p-0 tw-mb-2 tw-w-full tw-h-auto" }), null, 16)) : ce("", !0)
|
|
42175
42176
|
], 64)) : ce("", !0)
|
|
42176
42177
|
], 64))), 128)),
|
|
42177
42178
|
(V(!0), Z(Ie, null, lt(o.items, (m, c) => (V(), Z(Ie, { key: c }, [
|
|
42178
|
-
m.isVisible === void 0 || m.isVisible ? (V(),
|
|
42179
|
+
m.isVisible === void 0 || m.isVisible ? (V(), Ae(yR, {
|
|
42179
42180
|
key: 0,
|
|
42180
42181
|
component: m.component,
|
|
42181
42182
|
icon: m.icon,
|
|
@@ -44838,7 +44839,7 @@ const kD = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
44838
44839
|
}
|
|
44839
44840
|
return (h, d) => {
|
|
44840
44841
|
const g = qe("VcIcon"), v = qe("VcLabel"), y = qe("VcHint"), _ = qe("VcCol"), b = qe("VcLink"), w = qe("VcButton"), S = qe("VcRow");
|
|
44841
|
-
return V(),
|
|
44842
|
+
return V(), Ae(Y(Ky), {
|
|
44842
44843
|
title: h.options?.asset?.name,
|
|
44843
44844
|
subtitle: Y(o)("ASSETS.PAGES.DETAILS.SUBTITLE"),
|
|
44844
44845
|
expanded: h.expanded,
|
|
@@ -44858,13 +44859,13 @@ const kD = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
44858
44859
|
default: fe(() => [
|
|
44859
44860
|
ae(S, { class: "tw-mb-4 !tw-flex" }, {
|
|
44860
44861
|
default: fe(() => [
|
|
44861
|
-
Y(qc)(f.value.name) ? (V(),
|
|
44862
|
+
Y(qc)(f.value.name) ? (V(), Ae(Y(ml), {
|
|
44862
44863
|
key: 0,
|
|
44863
44864
|
src: f.value.url,
|
|
44864
44865
|
size: "xl",
|
|
44865
44866
|
bordered: !0,
|
|
44866
44867
|
class: "tw-shrink-0"
|
|
44867
|
-
}, null, 8, ["src"])) : (V(),
|
|
44868
|
+
}, null, 8, ["src"])) : (V(), Ae(g, {
|
|
44868
44869
|
key: 1,
|
|
44869
44870
|
icon: Y(Yc)(f.value.name),
|
|
44870
44871
|
class: "tw-text-[#a9bfd2] tw-text-[128px] tw-shrink-0"
|
|
@@ -44973,7 +44974,7 @@ const kD = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
44973
44974
|
]),
|
|
44974
44975
|
_: 1
|
|
44975
44976
|
}, 8, ["label", "model-value"]),
|
|
44976
|
-
s.value === "Image" ? (V(),
|
|
44977
|
+
s.value === "Image" ? (V(), Ae(Y(Ln), {
|
|
44977
44978
|
key: 0,
|
|
44978
44979
|
modelValue: f.value.altText,
|
|
44979
44980
|
"onUpdate:modelValue": d[3] || (d[3] = (A) => f.value.altText = A),
|
|
@@ -45841,7 +45842,7 @@ const Ny = (n, [e], t, r) => {
|
|
|
45841
45842
|
return i.getTime() > 0 && o.getTime() > 0 && t(o.getTime(), i.getTime()) ? r : !0;
|
|
45842
45843
|
}, z2 = (n, [e]) => Ny(n, [e], (t, r) => t < r, "End date must be earlier than start date");
|
|
45843
45844
|
yo("before", z2);
|
|
45844
|
-
const G2 = (n, [e]) => Ny(n, [e], (t, r) => t
|
|
45845
|
+
const G2 = (n, [e]) => Ny(n, [e], (t, r) => t > r, "End date must be later than start date");
|
|
45845
45846
|
yo("after", G2);
|
|
45846
45847
|
const q2 = (n) => Number.isSafeInteger(parseInt(n)) ? !0 : "Unsupported number";
|
|
45847
45848
|
yo("bigint", q2);
|
|
@@ -47511,12 +47512,12 @@ const { addNotification: CF } = CC(), OF = {
|
|
|
47511
47512
|
return V(), Z(Ie, null, [
|
|
47512
47513
|
ae(Y(qp), { capture: "" }, {
|
|
47513
47514
|
default: fe(({ error: v, reset: y }) => [
|
|
47514
|
-
(V(),
|
|
47515
|
+
(V(), Ae(g, {
|
|
47515
47516
|
key: Y(i).path,
|
|
47516
47517
|
onVnodeBeforeUnmount: y
|
|
47517
47518
|
}, {
|
|
47518
47519
|
default: fe(({ Component: _ }) => [
|
|
47519
|
-
Tn((V(),
|
|
47520
|
+
Tn((V(), Ae(io(_), {
|
|
47520
47521
|
key: Y(i).path,
|
|
47521
47522
|
ref: (b) => s(b, _),
|
|
47522
47523
|
closable: !1,
|
|
@@ -47543,12 +47544,12 @@ const { addNotification: CF } = CC(), OF = {
|
|
|
47543
47544
|
]),
|
|
47544
47545
|
_: 1
|
|
47545
47546
|
}),
|
|
47546
|
-
(V(!0), Z(Ie, null, lt(h.blades, (v, y) => (V(),
|
|
47547
|
+
(V(!0), Z(Ie, null, lt(h.blades, (v, y) => (V(), Ae(Y(qp), {
|
|
47547
47548
|
key: `blade_${y + 1}`,
|
|
47548
47549
|
capture: ""
|
|
47549
47550
|
}, {
|
|
47550
47551
|
default: fe(({ error: _ }) => [
|
|
47551
|
-
Tn((V(),
|
|
47552
|
+
Tn((V(), Ae(io(v.blade), {
|
|
47552
47553
|
ref_for: !0,
|
|
47553
47554
|
ref: (b) => u(b, v),
|
|
47554
47555
|
param: v.param,
|
|
@@ -48115,7 +48116,7 @@ const jF = ["onDragover", "onDragleave", "onDrop"], BF = { class: "tw-w-full tw-
|
|
|
48115
48116
|
title: i("ASSETS_MANAGER.TITLE")
|
|
48116
48117
|
}), (T, E) => {
|
|
48117
48118
|
const $ = qe("VcLoading"), C = qe("VcIcon"), k = qe("VcButton"), L = qe("VcImage"), I = qe("VcHint"), N = qe("VcTable"), j = qe("VcBlade");
|
|
48118
|
-
return V(),
|
|
48119
|
+
return V(), Ae(j, {
|
|
48119
48120
|
title: Y(i)("ASSETS_MANAGER.TITLE"),
|
|
48120
48121
|
expanded: T.expanded,
|
|
48121
48122
|
closable: T.closable,
|
|
@@ -48168,14 +48169,14 @@ const jF = ["onDragover", "onDragleave", "onDrop"], BF = { class: "tw-w-full tw-
|
|
|
48168
48169
|
]),
|
|
48169
48170
|
item_url: fe(({ item: P }) => [
|
|
48170
48171
|
re("div", HF, [
|
|
48171
|
-
Y(qc)(P.name) ? (V(),
|
|
48172
|
+
Y(qc)(P.name) ? (V(), Ae(L, {
|
|
48172
48173
|
key: 0,
|
|
48173
48174
|
bordered: !0,
|
|
48174
48175
|
size: "s",
|
|
48175
48176
|
aspect: "1x1",
|
|
48176
48177
|
src: P.url,
|
|
48177
48178
|
background: "contain"
|
|
48178
|
-
}, null, 8, ["src"])) : (V(),
|
|
48179
|
+
}, null, 8, ["src"])) : (V(), Ae(C, {
|
|
48179
48180
|
key: 1,
|
|
48180
48181
|
icon: Y(Yc)(P.name),
|
|
48181
48182
|
class: "tw-text-[#a9bfd2] tw-text-[38px]"
|
|
@@ -48187,7 +48188,7 @@ const jF = ["onDragover", "onDragleave", "onDrop"], BF = { class: "tw-w-full tw-
|
|
|
48187
48188
|
]),
|
|
48188
48189
|
"mobile-item": fe(({ item: P }) => [
|
|
48189
48190
|
re("div", WF, [
|
|
48190
|
-
Y(qc)(P.name) ? (V(),
|
|
48191
|
+
Y(qc)(P.name) ? (V(), Ae(L, {
|
|
48191
48192
|
key: 0,
|
|
48192
48193
|
bordered: !0,
|
|
48193
48194
|
size: "s",
|
|
@@ -48297,14 +48298,14 @@ const lj = { key: 0 }, uj = /* @__PURE__ */ Me({
|
|
|
48297
48298
|
__name: "vc-popup-container",
|
|
48298
48299
|
setup(n) {
|
|
48299
48300
|
const e = aj();
|
|
48300
|
-
return (t, r) => (V(!0), Z(Ie, null, lt(Y(e).popups, (i) => (V(),
|
|
48301
|
+
return (t, r) => (V(!0), Z(Ie, null, lt(Y(e).popups, (i) => (V(), Ae(io(i.component), gt({
|
|
48301
48302
|
key: i.id
|
|
48302
48303
|
}, { ...i.props, ...i.emits }, {
|
|
48303
48304
|
onClose: () => i.close()
|
|
48304
48305
|
}), {
|
|
48305
48306
|
default: fe(() => [
|
|
48306
48307
|
(V(!0), Z(Ie, null, lt(i.slots, (o, f) => (V(), Z(Ie, { key: f }, [
|
|
48307
|
-
typeof o == "string" ? (V(), Z("div", lj, he(o), 1)) : (V(),
|
|
48308
|
+
typeof o == "string" ? (V(), Z("div", lj, he(o), 1)) : (V(), Ae(io(o), { key: 1 }))
|
|
48308
48309
|
], 64))), 128))
|
|
48309
48310
|
]),
|
|
48310
48311
|
_: 2
|
|
@@ -48471,7 +48472,7 @@ const Wy = {
|
|
|
48471
48472
|
(c.password || c.confirmPassword) && (c.errors = (await o(c.password)).errors, c.confirmPassword !== c.password && c.errors.push({ code: "Repeat-password" }), c.confirmPassword === c.currentPassword && c.password === c.currentPassword && c.errors.push({ code: "Equal-passwords" }), c.isValid = c.errors.length == 0);
|
|
48472
48473
|
});
|
|
48473
48474
|
}
|
|
48474
|
-
return (u, l) => (V(),
|
|
48475
|
+
return (u, l) => (V(), Ae(Y(vo), {
|
|
48475
48476
|
variant: "small",
|
|
48476
48477
|
title: Y(t)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
|
|
48477
48478
|
onClose: l[4] || (l[4] = (h) => u.$emit("close"))
|
|
@@ -48577,7 +48578,7 @@ const Wy = {
|
|
|
48577
48578
|
_: 1
|
|
48578
48579
|
}, 8, ["disabled"])
|
|
48579
48580
|
]),
|
|
48580
|
-
(V(!0), Z(Ie, null, lt(c.errors, (h, d) => (V(),
|
|
48581
|
+
(V(!0), Z(Ie, null, lt(c.errors, (h, d) => (V(), Ae(Y(xn), {
|
|
48581
48582
|
key: d,
|
|
48582
48583
|
class: "tw-mt-3 !tw-text-[#f14e4e]"
|
|
48583
48584
|
}, {
|
|
@@ -48745,7 +48746,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
48745
48746
|
return (d, g) => {
|
|
48746
48747
|
const v = qe("VcLoading"), y = qe("VcInput"), _ = qe("vc-button"), b = qe("VcHint"), w = qe("VcForm"), S = qe("VcLoginForm");
|
|
48747
48748
|
return V(), Z("div", Lj, [
|
|
48748
|
-
Y(f) ? (V(),
|
|
48749
|
+
Y(f) ? (V(), Ae(v, {
|
|
48749
48750
|
key: 0,
|
|
48750
48751
|
active: ""
|
|
48751
48752
|
})) : ce("", !0),
|
|
@@ -48833,7 +48834,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
48833
48834
|
_: 1
|
|
48834
48835
|
}, 8, ["disabled"])
|
|
48835
48836
|
]),
|
|
48836
|
-
(V(!0), Z(Ie, null, lt(s.errors, (A) => (V(),
|
|
48837
|
+
(V(!0), Z(Ie, null, lt(s.errors, (A) => (V(), Ae(b, {
|
|
48837
48838
|
key: A,
|
|
48838
48839
|
class: "tw-mt-3",
|
|
48839
48840
|
style: { color: "#f14e4e" }
|
|
@@ -48952,7 +48953,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
48952
48953
|
};
|
|
48953
48954
|
return console.debug("Init login-page"), (L, I) => {
|
|
48954
48955
|
const N = qe("VcInput"), j = qe("VcButton"), P = qe("vc-button"), D = qe("VcForm"), M = qe("VcHint"), B = qe("VcLoginForm");
|
|
48955
|
-
return V(),
|
|
48956
|
+
return V(), Ae(B, {
|
|
48956
48957
|
logo: A.value.logo,
|
|
48957
48958
|
background: L.background,
|
|
48958
48959
|
title: L.title
|
|
@@ -49043,7 +49044,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
49043
49044
|
b.value && b.value.length ? (V(), Z("div", Vj, [
|
|
49044
49045
|
zj,
|
|
49045
49046
|
re("div", Gj, [
|
|
49046
|
-
(V(!0), Z(Ie, null, lt(b.value, (F) => (V(),
|
|
49047
|
+
(V(!0), Z(Ie, null, lt(b.value, (F) => (V(), Ae(j, {
|
|
49047
49048
|
key: F.authenticationType,
|
|
49048
49049
|
outline: "",
|
|
49049
49050
|
onClick: (W) => k(F.authenticationType)
|
|
@@ -49063,7 +49064,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
49063
49064
|
])
|
|
49064
49065
|
])) : ce("", !0)
|
|
49065
49066
|
], 64)) : (V(), Z(Ie, { key: 1 }, [
|
|
49066
|
-
a.value ? ce("", !0) : (V(),
|
|
49067
|
+
a.value ? ce("", !0) : (V(), Ae(D, {
|
|
49067
49068
|
key: 0,
|
|
49068
49069
|
onSubmit: nt($, ["prevent"])
|
|
49069
49070
|
}, {
|
|
@@ -49133,7 +49134,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
49133
49134
|
])
|
|
49134
49135
|
], 64)) : ce("", !0)
|
|
49135
49136
|
], 64)),
|
|
49136
|
-
c.value.succeeded ? ce("", !0) : (V(),
|
|
49137
|
+
c.value.succeeded ? ce("", !0) : (V(), Ae(M, {
|
|
49137
49138
|
key: 2,
|
|
49138
49139
|
class: "tw-mt-3",
|
|
49139
49140
|
style: { color: "#f14e4e" }
|
|
@@ -49143,7 +49144,7 @@ const NH = $j, Lj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
49143
49144
|
]),
|
|
49144
49145
|
_: 1
|
|
49145
49146
|
})),
|
|
49146
|
-
p.value.succeeded ? ce("", !0) : (V(),
|
|
49147
|
+
p.value.succeeded ? ce("", !0) : (V(), Ae(M, {
|
|
49147
49148
|
key: 3,
|
|
49148
49149
|
class: "tw-mt-3",
|
|
49149
49150
|
style: { color: "#f14e4e" }
|
|
@@ -49259,7 +49260,7 @@ const Qj = Xj, eB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
49259
49260
|
return (h, d) => {
|
|
49260
49261
|
const g = qe("VcLoading"), v = qe("VcInput"), y = qe("vc-button"), _ = qe("VcHint"), b = qe("VcForm"), w = qe("VcLoginForm");
|
|
49261
49262
|
return V(), Z("div", oB, [
|
|
49262
|
-
Y(f) ? (V(),
|
|
49263
|
+
Y(f) ? (V(), Ae(g, {
|
|
49263
49264
|
key: 0,
|
|
49264
49265
|
active: ""
|
|
49265
49266
|
})) : ce("", !0),
|
|
@@ -49340,7 +49341,7 @@ const Qj = Xj, eB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
49340
49341
|
_: 1
|
|
49341
49342
|
}, 8, ["disabled"])
|
|
49342
49343
|
]),
|
|
49343
|
-
(V(!0), Z(Ie, null, lt(a.errors, (S) => (V(),
|
|
49344
|
+
(V(!0), Z(Ie, null, lt(a.errors, (S) => (V(), Ae(_, {
|
|
49344
49345
|
key: S,
|
|
49345
49346
|
class: "tw-mt-3 !tw-text-[#f14e4e]"
|
|
49346
49347
|
}, {
|
|
@@ -49631,7 +49632,7 @@ const CB = ["title"], OB = {
|
|
|
49631
49632
|
}, null, 8, ["icon"]),
|
|
49632
49633
|
l.isExpanded ? (V(), Z("div", OB, he(l.title), 1)) : ce("", !0)
|
|
49633
49634
|
], 512),
|
|
49634
|
-
(V(),
|
|
49635
|
+
(V(), Ae(ms, { to: "#app" }, [
|
|
49635
49636
|
o.value ? (V(), Z("div", {
|
|
49636
49637
|
key: 0,
|
|
49637
49638
|
ref_key: "bladeDropRef",
|
|
@@ -49684,7 +49685,7 @@ const IB = { class: "tw-grow tw-basis-0 tw-flex tw-content-start tw-items-center
|
|
|
49684
49685
|
(V(!0), Z(Ie, null, lt(o.items, (m) => (V(), Z(Ie, {
|
|
49685
49686
|
key: m.id
|
|
49686
49687
|
}, [
|
|
49687
|
-
m.isVisible === void 0 || m.isVisible ? (V(),
|
|
49688
|
+
m.isVisible === void 0 || m.isVisible ? (V(), Ae(LB, {
|
|
49688
49689
|
key: 0,
|
|
49689
49690
|
"is-expanded": t.value,
|
|
49690
49691
|
icon: m.icon,
|
|
@@ -49744,7 +49745,7 @@ const MB = {
|
|
|
49744
49745
|
]]),
|
|
49745
49746
|
style: Ot({ width: typeof p.width == "number" ? `${p.width}px` : p.width })
|
|
49746
49747
|
}, [
|
|
49747
|
-
!p.$isMobile.value || p.closable ? (V(),
|
|
49748
|
+
!p.$isMobile.value || p.closable ? (V(), Ae(kB, {
|
|
49748
49749
|
key: 0,
|
|
49749
49750
|
class: "tw-shrink-0",
|
|
49750
49751
|
maximized: Y(i),
|
|
@@ -49827,7 +49828,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49827
49828
|
async function a() {
|
|
49828
49829
|
e.optionsGetter && (f.value = await e.optionsGetter(e.property));
|
|
49829
49830
|
}
|
|
49830
|
-
return (s, u) => (s.property.dictionary || s.property.isDictionary) && !s.property.multivalue ? (V(),
|
|
49831
|
+
return (s, u) => (s.property.dictionary || s.property.isDictionary) && !s.property.multivalue ? (V(), Ae(Y(xt), {
|
|
49831
49832
|
key: 0,
|
|
49832
49833
|
label: c.value || s.property.displayName,
|
|
49833
49834
|
name: s.property.displayName || s.property.name,
|
|
@@ -49855,7 +49856,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49855
49856
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "placeholder", "options", "option-label", "disabled", "onUpdate:modelValue"])
|
|
49856
49857
|
]),
|
|
49857
49858
|
_: 1
|
|
49858
|
-
}, 8, ["label", "name", "model-value"])) : s.property.valueType === "ShortText" && s.property.multivalue && !(s.property.dictionary || s.property.isDictionary) ? (V(),
|
|
49859
|
+
}, 8, ["label", "name", "model-value"])) : s.property.valueType === "ShortText" && s.property.multivalue && !(s.property.dictionary || s.property.isDictionary) ? (V(), Ae(Y(xt), {
|
|
49859
49860
|
key: 1,
|
|
49860
49861
|
name: s.property.name,
|
|
49861
49862
|
"model-value": s.property.values,
|
|
@@ -49883,7 +49884,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49883
49884
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "disabled", "display-label", "display-value", "onUpdate:modelValue"])
|
|
49884
49885
|
]),
|
|
49885
49886
|
_: 1
|
|
49886
|
-
}, 8, ["name", "model-value", "label"])) : s.property.valueType === "ShortText" && s.property.multivalue && (s.property.dictionary || s.property.isDictionary) ? (V(),
|
|
49887
|
+
}, 8, ["name", "model-value", "label"])) : s.property.valueType === "ShortText" && s.property.multivalue && (s.property.dictionary || s.property.isDictionary) ? (V(), Ae(Y(xt), {
|
|
49887
49888
|
key: 2,
|
|
49888
49889
|
name: s.property.name,
|
|
49889
49890
|
label: c.value,
|
|
@@ -49914,7 +49915,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49914
49915
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "disabled", "options", "display-label", "display-value", "multiple", "onUpdate:modelValue"])
|
|
49915
49916
|
]),
|
|
49916
49917
|
_: 1
|
|
49917
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "ShortText" ? (V(),
|
|
49918
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "ShortText" ? (V(), Ae(Y(xt), {
|
|
49918
49919
|
key: 3,
|
|
49919
49920
|
name: s.property.displayName || s.property.name,
|
|
49920
49921
|
label: c.value || s.property.displayName,
|
|
@@ -49937,7 +49938,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49937
49938
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
49938
49939
|
]),
|
|
49939
49940
|
_: 1
|
|
49940
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Number" && s.property.multivalue ? (V(),
|
|
49941
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Number" && s.property.multivalue ? (V(), Ae(Y(xt), {
|
|
49941
49942
|
key: 4,
|
|
49942
49943
|
name: s.property.name,
|
|
49943
49944
|
"model-value": s.property.values,
|
|
@@ -49965,7 +49966,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49965
49966
|
}), null, 16, ["label", "model-value", "required", "disabled", "error", "error-message", "options", "option-label", "display-label", "display-value", "onUpdate:modelValue"])
|
|
49966
49967
|
]),
|
|
49967
49968
|
_: 1
|
|
49968
|
-
}, 8, ["name", "model-value", "label"])) : s.property.valueType === "Number" ? (V(),
|
|
49969
|
+
}, 8, ["name", "model-value", "label"])) : s.property.valueType === "Number" ? (V(), Ae(Y(xt), {
|
|
49969
49970
|
key: 5,
|
|
49970
49971
|
name: s.property.name,
|
|
49971
49972
|
label: c.value,
|
|
@@ -49989,7 +49990,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
49989
49990
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
49990
49991
|
]),
|
|
49991
49992
|
_: 1
|
|
49992
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Integer" ? (V(),
|
|
49993
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Integer" ? (V(), Ae(Y(xt), {
|
|
49993
49994
|
key: 6,
|
|
49994
49995
|
name: s.property.name,
|
|
49995
49996
|
label: c.value,
|
|
@@ -50014,7 +50015,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
50014
50015
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
50015
50016
|
]),
|
|
50016
50017
|
_: 1
|
|
50017
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "DateTime" ? (V(),
|
|
50018
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "DateTime" ? (V(), Ae(Y(xt), {
|
|
50018
50019
|
key: 7,
|
|
50019
50020
|
name: s.property.name,
|
|
50020
50021
|
label: c.value,
|
|
@@ -50037,7 +50038,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
50037
50038
|
}), null, 16, ["error", "error-message", "label", "model-value", "required", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
50038
50039
|
]),
|
|
50039
50040
|
_: 1
|
|
50040
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "LongText" ? (V(),
|
|
50041
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "LongText" ? (V(), Ae(Y(xt), {
|
|
50041
50042
|
key: 8,
|
|
50042
50043
|
name: s.property.name,
|
|
50043
50044
|
label: c.value,
|
|
@@ -50058,7 +50059,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
50058
50059
|
}), null, 16, ["error-message", "label", "model-value", "required", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
50059
50060
|
]),
|
|
50060
50061
|
_: 1
|
|
50061
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Boolean" ? (V(),
|
|
50062
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Boolean" ? (V(), Ae(Y(xt), {
|
|
50062
50063
|
key: 9,
|
|
50063
50064
|
name: s.property.displayName || s.property.name,
|
|
50064
50065
|
label: c.value || s.property.displayName,
|
|
@@ -50083,7 +50084,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
50083
50084
|
}, 1040, ["error-message", "model-value", "required", "disabled", "name", "onUpdate:modelValue"])
|
|
50084
50085
|
]),
|
|
50085
50086
|
_: 1
|
|
50086
|
-
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Html" ? (V(),
|
|
50087
|
+
}, 8, ["name", "label", "model-value"])) : s.property.valueType === "Html" ? (V(), Ae(Y(xt), {
|
|
50087
50088
|
key: 10,
|
|
50088
50089
|
name: s.property.displayName || s.property.name,
|
|
50089
50090
|
label: c.value || s.property.displayName,
|
|
@@ -50140,7 +50141,7 @@ const Ky = PB, DB = /* @__PURE__ */ Me({
|
|
|
50140
50141
|
}, null, 8, ["src"]),
|
|
50141
50142
|
re("div", jB, [
|
|
50142
50143
|
re("div", BB, [
|
|
50143
|
-
!i.readonly && !i.disableDrag ? (V(),
|
|
50144
|
+
!i.readonly && !i.disableDrag ? (V(), Ae(Y(Be), {
|
|
50144
50145
|
key: 0,
|
|
50145
50146
|
class: "vc-gallery-item__move",
|
|
50146
50147
|
icon: "fas fa-arrows-alt",
|
|
@@ -50203,7 +50204,7 @@ const qB = /* @__PURE__ */ re("span", null, ")", -1), YB = { class: "tw-w-full t
|
|
|
50203
50204
|
const e = n, { t } = At({ useScope: "global" }), r = ue(e.index), i = Se(() => e.images[r.value]), o = (f) => {
|
|
50204
50205
|
f.charAt(0) === "/" ? navigator.clipboard?.writeText(`${location.origin}${f}`) : navigator.clipboard?.writeText(f);
|
|
50205
50206
|
};
|
|
50206
|
-
return (f, m) => (V(),
|
|
50207
|
+
return (f, m) => (V(), Ae(Y(vo), {
|
|
50207
50208
|
title: i.value.title,
|
|
50208
50209
|
onClose: m[3] || (m[3] = (c) => f.$emit("close"))
|
|
50209
50210
|
}, {
|
|
@@ -50367,7 +50368,7 @@ const XB = { class: "vc-gallery" }, QB = {
|
|
|
50367
50368
|
}
|
|
50368
50369
|
}
|
|
50369
50370
|
return (A, x) => (V(), Z("div", XB, [
|
|
50370
|
-
A.label ? (V(),
|
|
50371
|
+
A.label ? (V(), Ae(Y(hr), {
|
|
50371
50372
|
key: 0,
|
|
50372
50373
|
tooltip: A.tooltip,
|
|
50373
50374
|
required: A.required,
|
|
@@ -50384,7 +50385,7 @@ const XB = { class: "vc-gallery" }, QB = {
|
|
|
50384
50385
|
ref: c,
|
|
50385
50386
|
class: "tw-flex tw-flex-wrap tw-w-full"
|
|
50386
50387
|
}, [
|
|
50387
|
-
(V(!0), Z(Ie, null, lt(o.value, (O, T) => (V(),
|
|
50388
|
+
(V(!0), Z(Ie, null, lt(o.value, (O, T) => (V(), Ae(GB, {
|
|
50388
50389
|
key: `image_${T}`,
|
|
50389
50390
|
class: "tw-m-2 vc-gallery__item",
|
|
50390
50391
|
image: O,
|
|
@@ -50400,7 +50401,7 @@ const XB = { class: "vc-gallery" }, QB = {
|
|
|
50400
50401
|
onDragleave: _,
|
|
50401
50402
|
onDrop: (E) => b(E, O)
|
|
50402
50403
|
}, null, 8, ["image", "readonly", "actions", "disable-drag", "onPreview", "onDragstart", "onDrop"]))), 128)),
|
|
50403
|
-
!A.disabled && !A.hideAfterUpload ? (V(),
|
|
50404
|
+
!A.disabled && !A.hideAfterUpload ? (V(), Ae(Y(Zm), {
|
|
50404
50405
|
key: 0,
|
|
50405
50406
|
class: "tw-m-2",
|
|
50406
50407
|
icon: A.uploadIcon,
|
|
@@ -50554,14 +50555,14 @@ const XB = { class: "vc-gallery" }, QB = {
|
|
|
50554
50555
|
Re(he(e.title), 1)
|
|
50555
50556
|
])
|
|
50556
50557
|
]),
|
|
50557
|
-
e.closable ? (V(),
|
|
50558
|
+
e.closable ? (V(), Ae(Y(Be), {
|
|
50558
50559
|
key: 0,
|
|
50559
50560
|
class: "vc-popup__header-icon",
|
|
50560
50561
|
icon: "fas fa-times",
|
|
50561
50562
|
onClick: t[0] || (t[0] = (r) => e.$emit("close"))
|
|
50562
50563
|
})) : ce("", !0)
|
|
50563
50564
|
], 2),
|
|
50564
|
-
e.type === "error" ? (V(),
|
|
50565
|
+
e.type === "error" ? (V(), Ae(p4, {
|
|
50565
50566
|
key: 0,
|
|
50566
50567
|
onClose: t[1] || (t[1] = (r) => e.$emit("close"))
|
|
50567
50568
|
}, {
|
|
@@ -50569,7 +50570,7 @@ const XB = { class: "vc-gallery" }, QB = {
|
|
|
50569
50570
|
Pe(e.$slots, "default")
|
|
50570
50571
|
]),
|
|
50571
50572
|
_: 3
|
|
50572
|
-
})) : e.type === "warning" ? (V(),
|
|
50573
|
+
})) : e.type === "warning" ? (V(), Ae(f4, {
|
|
50573
50574
|
key: 1,
|
|
50574
50575
|
onClose: t[2] || (t[2] = (r) => e.$emit("close")),
|
|
50575
50576
|
onConfirm: t[3] || (t[3] = (r) => e.$emit("confirm"))
|
|
@@ -50650,7 +50651,7 @@ const E4 = { class: "tw-relative tw-overflow-visible" }, A4 = {
|
|
|
50650
50651
|
p.title ? (V(), Z("span", A4, he(p.title), 1)) : ce("", !0),
|
|
50651
50652
|
p.counter ? (V(), Z("div", T4, he(p.counter), 1)) : ce("", !0)
|
|
50652
50653
|
], 512),
|
|
50653
|
-
(V(),
|
|
50654
|
+
(V(), Ae(ms, { to: "body" }, [
|
|
50654
50655
|
t.value ? (V(), Z("div", {
|
|
50655
50656
|
key: 0,
|
|
50656
50657
|
ref_key: "filterPanel",
|
|
@@ -50781,7 +50782,7 @@ const k4 = {
|
|
|
50781
50782
|
ae(b, { icon: "fas fa-ellipsis-h" }),
|
|
50782
50783
|
R4
|
|
50783
50784
|
]),
|
|
50784
|
-
p.value ? (V(),
|
|
50785
|
+
p.value ? (V(), Ae(ms, {
|
|
50785
50786
|
key: 0,
|
|
50786
50787
|
to: "body"
|
|
50787
50788
|
}, [
|
|
@@ -50869,21 +50870,21 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
50869
50870
|
], 64)) : (V(), Z(Ie, { key: 1 }, [
|
|
50870
50871
|
Re("N/A")
|
|
50871
50872
|
], 64))
|
|
50872
|
-
])) : i.cell.type === "image" ? (V(),
|
|
50873
|
+
])) : i.cell.type === "image" ? (V(), Ae(f, {
|
|
50873
50874
|
key: 3,
|
|
50874
50875
|
bordered: !0,
|
|
50875
50876
|
size: "s",
|
|
50876
50877
|
aspect: "1x1",
|
|
50877
50878
|
src: r.value,
|
|
50878
50879
|
background: "contain"
|
|
50879
|
-
}, null, 8, ["src"])) : i.cell.type === "status" ? (V(),
|
|
50880
|
+
}, null, 8, ["src"])) : i.cell.type === "status" ? (V(), Ae(m, { key: 4 }, {
|
|
50880
50881
|
default: fe(() => [
|
|
50881
50882
|
Re(he(r.value), 1)
|
|
50882
50883
|
]),
|
|
50883
50884
|
_: 1
|
|
50884
50885
|
})) : i.cell.type === "status-icon" ? (V(), Z("div", G4, [
|
|
50885
50886
|
ae(c, { status: r.value }, null, 8, ["status"])
|
|
50886
|
-
])) : i.cell.type === "number" ? (V(), Z("span", q4, he(Number(r.value).toFixed(0)), 1)) : i.cell.type === "link" ? (V(),
|
|
50887
|
+
])) : i.cell.type === "number" ? (V(), Z("span", q4, he(Number(r.value).toFixed(0)), 1)) : i.cell.type === "link" ? (V(), Ae(p, { key: 7 }, {
|
|
50887
50888
|
default: fe(() => [
|
|
50888
50889
|
Re(he(r.value), 1)
|
|
50889
50890
|
]),
|
|
@@ -50925,7 +50926,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
50925
50926
|
icon: "fas fa-bars",
|
|
50926
50927
|
onClick: s[0] || (s[0] = nt((h) => t.value = !t.value, ["stop"]))
|
|
50927
50928
|
}, null, 512),
|
|
50928
|
-
(V(),
|
|
50929
|
+
(V(), Ae(ms, { to: "#app" }, [
|
|
50929
50930
|
t.value ? Tn((V(), Z("div", {
|
|
50930
50931
|
key: 0,
|
|
50931
50932
|
ref_key: "floatingDrop",
|
|
@@ -50933,7 +50934,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
50933
50934
|
style: Ot(f.value),
|
|
50934
50935
|
class: "tw-flex tw-flex-col tw-box-border tw-max-h-[300px] tw-h-auto tw-z-10 tw-overflow-hidden tw-absolute tw-bg-white tw-border tw-border-solid tw-border-[#e5e7eb] tw-w-max tw-right-0"
|
|
50935
50936
|
}, [
|
|
50936
|
-
a.items && a.items.length ? (V(),
|
|
50937
|
+
a.items && a.items.length ? (V(), Ae(l, {
|
|
50937
50938
|
key: 0,
|
|
50938
50939
|
"no-padding": !0
|
|
50939
50940
|
}, {
|
|
@@ -51049,7 +51050,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51049
51050
|
}), j = Se(() => {
|
|
51050
51051
|
const oe = t.sort?.split(":");
|
|
51051
51052
|
return oe && oe.length === 2 && oe[0];
|
|
51052
|
-
}), P = Se(() => t.columns.map((oe) => O.value.find((
|
|
51053
|
+
}), P = Se(() => t.columns.map((oe) => O.value.find((Te) => oe.id === Te.id))), D = {
|
|
51053
51054
|
start: "tw-justify-start",
|
|
51054
51055
|
end: "tw-justify-end",
|
|
51055
51056
|
center: "tw-justify-center",
|
|
@@ -51061,8 +51062,8 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51061
51062
|
return t.items ? a.value.length === t.items.length : !1;
|
|
51062
51063
|
},
|
|
51063
51064
|
set(oe) {
|
|
51064
|
-
let
|
|
51065
|
-
oe && (
|
|
51065
|
+
let Te = [];
|
|
51066
|
+
oe && (Te = t.items), a.value = Te, s.value = !1;
|
|
51066
51067
|
}
|
|
51067
51068
|
}), B = Se(() => O.value.filter((oe) => {
|
|
51068
51069
|
if ("visible" in oe && oe.visible || !("visible" in oe))
|
|
@@ -51071,7 +51072,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51071
51072
|
rt(
|
|
51072
51073
|
() => t.items,
|
|
51073
51074
|
(oe) => {
|
|
51074
|
-
h.value?.scrollTop(), H(oe), a.value = a.value.filter((
|
|
51075
|
+
h.value?.scrollTop(), H(oe), a.value = a.value.filter((Te) => oe.includes(Te));
|
|
51075
51076
|
},
|
|
51076
51077
|
{ deep: !0, immediate: !0 }
|
|
51077
51078
|
), rt(
|
|
@@ -51102,26 +51103,26 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51102
51103
|
return a.value.indexOf(oe) > -1;
|
|
51103
51104
|
}
|
|
51104
51105
|
function U(oe) {
|
|
51105
|
-
const
|
|
51106
|
-
a.value.indexOf(
|
|
51106
|
+
const Te = oe;
|
|
51107
|
+
a.value.indexOf(Te) > -1 ? a.value = a.value.filter((He) => He !== Te) : a.value.push(Te);
|
|
51107
51108
|
}
|
|
51108
|
-
function K(oe,
|
|
51109
|
-
oe && (i.value.some((He) => He.id ===
|
|
51109
|
+
function K(oe, Te) {
|
|
51110
|
+
oe && (i.value.some((He) => He.id === Te) || i.value.push({ element: oe, id: Te }));
|
|
51110
51111
|
}
|
|
51111
|
-
function X(oe,
|
|
51112
|
-
oe && (d.value.some((He) => He.id ===
|
|
51112
|
+
function X(oe, Te) {
|
|
51113
|
+
oe && (d.value.some((He) => He.id === Te) || d.value.push({ element: oe, id: Te }));
|
|
51113
51114
|
}
|
|
51114
|
-
function ee(oe,
|
|
51115
|
-
oe && (o.value.some((He) => He.id ===
|
|
51115
|
+
function ee(oe, Te) {
|
|
51116
|
+
oe && (o.value.some((He) => He.id === Te) || o.value.push({ element: oe, id: Te }));
|
|
51116
51117
|
}
|
|
51117
|
-
function se(oe,
|
|
51118
|
+
function se(oe, Te) {
|
|
51118
51119
|
if (typeof oe != "string") {
|
|
51119
51120
|
if (u.value) {
|
|
51120
51121
|
G();
|
|
51121
51122
|
return;
|
|
51122
51123
|
}
|
|
51123
51124
|
u.value = oe.id;
|
|
51124
|
-
const we = d.value.find((It) => It.id ===
|
|
51125
|
+
const we = d.value.find((It) => It.id === Te).element, He = i.value.find((It) => It.id === Te).element, Ye = o.value.find((It) => It.id === Te).element;
|
|
51125
51126
|
we && He && Ye && ln(() => {
|
|
51126
51127
|
Wl(we, He, {
|
|
51127
51128
|
placement: "bottom",
|
|
@@ -51153,13 +51154,13 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51153
51154
|
});
|
|
51154
51155
|
async function H(oe) {
|
|
51155
51156
|
if (typeof t.itemActionBuilder == "function") {
|
|
51156
|
-
const
|
|
51157
|
+
const Te = [];
|
|
51157
51158
|
for (let we = 0; we < oe.length; we++)
|
|
51158
51159
|
if (typeof oe[we] == "object") {
|
|
51159
51160
|
const He = await t.itemActionBuilder(oe[we]);
|
|
51160
|
-
|
|
51161
|
+
Te.push(He);
|
|
51161
51162
|
}
|
|
51162
|
-
g.value =
|
|
51163
|
+
g.value = Te;
|
|
51163
51164
|
}
|
|
51164
51165
|
}
|
|
51165
51166
|
function G() {
|
|
@@ -51171,9 +51172,9 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51171
51172
|
function pe(oe) {
|
|
51172
51173
|
e("headerClick", oe);
|
|
51173
51174
|
}
|
|
51174
|
-
function Ee(oe,
|
|
51175
|
+
function Ee(oe, Te) {
|
|
51175
51176
|
const we = Ce(S.value).left;
|
|
51176
|
-
_.value =
|
|
51177
|
+
_.value = Te, y.value = !0, w.value = oe.pageX - we + S.value.scrollLeft, le();
|
|
51177
51178
|
}
|
|
51178
51179
|
function le() {
|
|
51179
51180
|
c || (c = document.addEventListener("mousemove", (oe) => {
|
|
@@ -51186,16 +51187,16 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51186
51187
|
c && (document.removeEventListener("document", c), c = null), p && (document.removeEventListener("document", p), p = null);
|
|
51187
51188
|
}
|
|
51188
51189
|
function _e(oe) {
|
|
51189
|
-
const
|
|
51190
|
-
A.value.style.top = "0px", A.value.style.left = oe.pageX -
|
|
51190
|
+
const Te = Ce(S.value).left;
|
|
51191
|
+
A.value.style.top = "0px", A.value.style.left = oe.pageX - Te + S.value.scrollLeft + "px", A.value.style.display = "block";
|
|
51191
51192
|
}
|
|
51192
51193
|
function Ce(oe) {
|
|
51193
51194
|
if (!oe.getClientRects().length)
|
|
51194
51195
|
return { top: 0, left: 0 };
|
|
51195
|
-
const
|
|
51196
|
+
const Te = oe.getBoundingClientRect(), we = oe.ownerDocument.defaultView;
|
|
51196
51197
|
return {
|
|
51197
|
-
top:
|
|
51198
|
-
left:
|
|
51198
|
+
top: Te.top + we.pageYOffset,
|
|
51199
|
+
left: Te.left + we.pageXOffset
|
|
51199
51200
|
};
|
|
51200
51201
|
}
|
|
51201
51202
|
function ge() {
|
|
@@ -51208,43 +51209,43 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51208
51209
|
He > 15 && (_.value.width = He + "px");
|
|
51209
51210
|
A.value.style.display = "none", de(), Ne();
|
|
51210
51211
|
}
|
|
51211
|
-
function J(oe,
|
|
51212
|
-
_.value.width = oe + "px", b.value.width =
|
|
51212
|
+
function J(oe, Te) {
|
|
51213
|
+
_.value.width = oe + "px", b.value.width = Te + "px";
|
|
51213
51214
|
}
|
|
51214
|
-
function ie(oe,
|
|
51215
|
+
function ie(oe, Te) {
|
|
51215
51216
|
if (y.value) {
|
|
51216
51217
|
oe.preventDefault();
|
|
51217
51218
|
return;
|
|
51218
51219
|
}
|
|
51219
|
-
T.value =
|
|
51220
|
+
T.value = Te, E.value = oe.target, oe.dataTransfer.setData("text", "reorder");
|
|
51220
51221
|
}
|
|
51221
51222
|
function me(oe) {
|
|
51222
51223
|
if (oe.nodeName === "TH")
|
|
51223
51224
|
return oe;
|
|
51224
51225
|
{
|
|
51225
|
-
let
|
|
51226
|
-
for (;
|
|
51226
|
+
let Te = oe.parentElement;
|
|
51227
|
+
for (; Te.nodeName !== "TH" && (Te = Te.parentElement, !!Te); )
|
|
51227
51228
|
;
|
|
51228
|
-
return
|
|
51229
|
+
return Te;
|
|
51229
51230
|
}
|
|
51230
51231
|
}
|
|
51231
51232
|
function Le(oe) {
|
|
51232
|
-
const
|
|
51233
|
-
if (t.reorderableColumns && T.value &&
|
|
51233
|
+
const Te = me(oe.target);
|
|
51234
|
+
if (t.reorderableColumns && T.value && Te) {
|
|
51234
51235
|
oe.preventDefault();
|
|
51235
|
-
const we = Ce(S.value), He = Ce(
|
|
51236
|
-
if (E.value !==
|
|
51237
|
-
const Ye = He.left - we.left, It = He.left +
|
|
51238
|
-
f.value.style.top = He.top - Ce(m.value).top + "px", oe.pageX > It ? (f.value.style.left = Ye +
|
|
51236
|
+
const we = Ce(S.value), He = Ce(Te);
|
|
51237
|
+
if (E.value !== Te) {
|
|
51238
|
+
const Ye = He.left - we.left, It = He.left + Te.offsetWidth / 2;
|
|
51239
|
+
f.value.style.top = He.top - Ce(m.value).top + "px", oe.pageX > It ? (f.value.style.left = Ye + Te.offsetWidth + "px", $.value = 1) : (f.value.style.left = Ye + "px", $.value = -1), f.value.style.display = "block";
|
|
51239
51240
|
}
|
|
51240
51241
|
}
|
|
51241
51242
|
}
|
|
51242
51243
|
function ze(oe) {
|
|
51243
51244
|
t.reorderableColumns && T.value && (oe.preventDefault(), f.value.style.display = "none");
|
|
51244
51245
|
}
|
|
51245
|
-
function je(oe,
|
|
51246
|
+
function je(oe, Te) {
|
|
51246
51247
|
if (oe.preventDefault(), T.value) {
|
|
51247
|
-
const we = O.value.indexOf(T.value), He = O.value.indexOf(
|
|
51248
|
+
const we = O.value.indexOf(T.value), He = O.value.indexOf(Te);
|
|
51248
51249
|
let Ye = we !== He;
|
|
51249
51250
|
Ye && (He - we === 1 && $.value === -1 || He - we === -1 && $.value === 1) && (Ye = !1), Ye && (tt(O.value, we, He), et() && Ne()), f.value.style.display = "none", E.value.draggable = !1, T.value = null, $.value = null;
|
|
51250
51251
|
}
|
|
@@ -51258,53 +51259,53 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51258
51259
|
function Xe() {
|
|
51259
51260
|
console.debug("[@vc-shell/framewok#vc-table.vue] - Restore state"), Object.keys(x.value).length && (O.value = x.value.map((oe) => ({
|
|
51260
51261
|
...oe,
|
|
51261
|
-
title: O.value.find((
|
|
51262
|
+
title: O.value.find((Te) => Te.id === oe.id).title
|
|
51262
51263
|
})));
|
|
51263
51264
|
}
|
|
51264
|
-
function tt(oe,
|
|
51265
|
-
oe &&
|
|
51265
|
+
function tt(oe, Te, we) {
|
|
51266
|
+
oe && Te !== we && (we >= oe.length && (we %= oe.length, Te %= oe.length), oe.splice(we, 0, oe.splice(Te, 1)[0]));
|
|
51266
51267
|
}
|
|
51267
51268
|
function Jt(oe) {
|
|
51268
51269
|
t.reorderableColumns && (oe.currentTarget.draggable = !0);
|
|
51269
51270
|
}
|
|
51270
51271
|
function Cn(oe) {
|
|
51271
|
-
oe && (O.value = O.value.map((
|
|
51272
|
+
oe && (O.value = O.value.map((Te) => (Te === oe && (Te = oe), Te))), et() && Ne();
|
|
51272
51273
|
}
|
|
51273
51274
|
function Dn(oe) {
|
|
51274
51275
|
t.reorderableRows && (oe.currentTarget.draggable = !0);
|
|
51275
51276
|
}
|
|
51276
|
-
function Li(oe,
|
|
51277
|
-
t.reorderableRows && (k.value = !0, C.value =
|
|
51277
|
+
function Li(oe, Te) {
|
|
51278
|
+
t.reorderableRows && (k.value = !0, C.value = Te, I.value = t.items.indexOf(Te), oe.dataTransfer.setData("text", "row-reorder"));
|
|
51278
51279
|
}
|
|
51279
|
-
function Wr(oe,
|
|
51280
|
+
function Wr(oe, Te) {
|
|
51280
51281
|
if (!t.reorderableRows)
|
|
51281
51282
|
return;
|
|
51282
|
-
const we = t.items.indexOf(
|
|
51283
|
-
if (k.value && C.value !==
|
|
51283
|
+
const we = t.items.indexOf(Te);
|
|
51284
|
+
if (k.value && C.value !== Te) {
|
|
51284
51285
|
const He = oe.currentTarget, Ye = Ce(He).top, It = oe.pageY, Fn = Ye + He.offsetHeight / 2, wn = He.previousElementSibling;
|
|
51285
51286
|
It < Fn ? (He.classList.remove("vc-table__drag-row-bottom"), L.value = we, wn ? wn.classList.add("vc-table__drag-row-bottom") : He.classList.add("vc-table__drag-row-top")) : (wn ? wn.classList.remove("vc-table__drag-row-bottom") : He.classList.add("vc-table__drag-row-top"), L.value = we + 1, He.classList.add("vc-table__drag-row-bottom")), oe.preventDefault();
|
|
51286
51287
|
}
|
|
51287
51288
|
}
|
|
51288
51289
|
function Zn(oe) {
|
|
51289
51290
|
oe.preventDefault();
|
|
51290
|
-
const
|
|
51291
|
-
we && we.classList.remove("vc-table__drag-row-bottom"),
|
|
51291
|
+
const Te = oe.currentTarget, we = Te.previousElementSibling;
|
|
51292
|
+
we && we.classList.remove("vc-table__drag-row-bottom"), Te.classList.remove("vc-table__drag-row-top"), Te.classList.remove("vc-table__drag-row-bottom");
|
|
51292
51293
|
}
|
|
51293
51294
|
function fn(oe) {
|
|
51294
51295
|
k.value = !1, I.value = null, L.value = null, oe.currentTarget.draggable = !1;
|
|
51295
51296
|
}
|
|
51296
51297
|
function Vr(oe) {
|
|
51297
51298
|
if (L.value != null) {
|
|
51298
|
-
const
|
|
51299
|
-
tt(we, I.value,
|
|
51299
|
+
const Te = I.value > L.value ? L.value : L.value === 0 ? 0 : L.value - 1, we = [...t.items];
|
|
51300
|
+
tt(we, I.value, Te), e("row:reorder", {
|
|
51300
51301
|
dragIndex: I.value,
|
|
51301
|
-
dropIndex:
|
|
51302
|
+
dropIndex: Te,
|
|
51302
51303
|
value: we
|
|
51303
51304
|
});
|
|
51304
51305
|
}
|
|
51305
51306
|
Zn(oe), fn(oe), oe.preventDefault();
|
|
51306
51307
|
}
|
|
51307
|
-
return (oe,
|
|
51308
|
+
return (oe, Te) => (V(), Z("div", eU, [
|
|
51308
51309
|
(oe.$slots.header || oe.header) && (oe.items && oe.items.length || oe.searchValue || oe.searchValue === "" || oe.activeFilterCount) ? Pe(oe.$slots, "header", { key: 0 }, () => [
|
|
51309
51310
|
re("div", tU, [
|
|
51310
51311
|
oe.$isMobile.value && oe.$slots.filters ? (V(), Z("div", nU, [
|
|
@@ -51321,7 +51322,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51321
51322
|
clearable: "",
|
|
51322
51323
|
name: "table_search",
|
|
51323
51324
|
"model-value": oe.searchValue,
|
|
51324
|
-
"onUpdate:modelValue":
|
|
51325
|
+
"onUpdate:modelValue": Te[0] || (Te[0] = (we) => oe.$emit("search:change", we))
|
|
51325
51326
|
}, null, 8, ["placeholder", "model-value"]),
|
|
51326
51327
|
oe.$isDesktop.value && oe.$slots.filters ? (V(), Z("div", rU, [
|
|
51327
51328
|
ae(Kp, {
|
|
@@ -51339,18 +51340,18 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51339
51340
|
]) : ce("", !0),
|
|
51340
51341
|
re("div", iU, [
|
|
51341
51342
|
ae(Y(cf), { active: oe.loading }, null, 8, ["active"]),
|
|
51342
|
-
oe.items && oe.items.length ? (V(),
|
|
51343
|
+
oe.items && oe.items.length ? (V(), Ae(Y(bo), {
|
|
51343
51344
|
key: 0,
|
|
51344
51345
|
ref_key: "scrollContainer",
|
|
51345
51346
|
ref: h,
|
|
51346
51347
|
"no-padding": !0,
|
|
51347
51348
|
class: "tw-grow tw-basis-0",
|
|
51348
51349
|
"use-ptr": !!oe.$attrs["onScroll:ptr"],
|
|
51349
|
-
"onScroll:ptr":
|
|
51350
|
+
"onScroll:ptr": Te[5] || (Te[5] = (we) => oe.$emit("scroll:ptr"))
|
|
51350
51351
|
}, {
|
|
51351
51352
|
default: fe(() => [
|
|
51352
51353
|
oe.$isMobile.value && oe.$slots["mobile-item"] ? (V(), Z("div", oU, [
|
|
51353
|
-
(V(!0), Z(Ie, null, lt(oe.items, (we, He) => (V(),
|
|
51354
|
+
(V(!0), Z(Ie, null, lt(oe.items, (we, He) => (V(), Ae(U4, {
|
|
51354
51355
|
key: He,
|
|
51355
51356
|
item: we,
|
|
51356
51357
|
"action-builder": oe.itemActionBuilder,
|
|
@@ -51378,8 +51379,8 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51378
51379
|
re("div", uU, [
|
|
51379
51380
|
ae(Y(Oa), {
|
|
51380
51381
|
modelValue: M.value,
|
|
51381
|
-
"onUpdate:modelValue":
|
|
51382
|
-
onClick:
|
|
51382
|
+
"onUpdate:modelValue": Te[1] || (Te[1] = (we) => M.value = we),
|
|
51383
|
+
onClick: Te[2] || (Te[2] = nt(() => {
|
|
51383
51384
|
}, ["stop"]))
|
|
51384
51385
|
}, null, 8, ["modelValue"])
|
|
51385
51386
|
]),
|
|
@@ -51487,7 +51488,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51487
51488
|
oe.multiselect && typeof we == "object" ? (V(), Z("td", {
|
|
51488
51489
|
key: 0,
|
|
51489
51490
|
class: "tw-w-[50px] tw-max-w-[28px] tw-min-w-[28px] tw-relative",
|
|
51490
|
-
onClick:
|
|
51491
|
+
onClick: Te[3] || (Te[3] = nt(() => {
|
|
51491
51492
|
}, ["stop"]))
|
|
51492
51493
|
}, [
|
|
51493
51494
|
re("div", xU, [
|
|
@@ -51501,7 +51502,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51501
51502
|
oe.itemActionBuilder && typeof we == "object" ? (V(), Z("td", {
|
|
51502
51503
|
key: 1,
|
|
51503
51504
|
class: "tw-box-border tw-overflow-visible tw-w-[21px] tw-max-w-[21px] tw-min-w-[21px] tw-relative",
|
|
51504
|
-
onClick:
|
|
51505
|
+
onClick: Te[4] || (Te[4] = nt(() => {
|
|
51505
51506
|
}, ["stop"]))
|
|
51506
51507
|
}, [
|
|
51507
51508
|
re("div", CU, [
|
|
@@ -51563,7 +51564,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51563
51564
|
item: we,
|
|
51564
51565
|
cell: Ye
|
|
51565
51566
|
}, () => [
|
|
51566
|
-
typeof we == "object" ? (V(),
|
|
51567
|
+
typeof we == "object" ? (V(), Ae(K4, {
|
|
51567
51568
|
key: 0,
|
|
51568
51569
|
cell: Ye,
|
|
51569
51570
|
item: we
|
|
@@ -51584,7 +51585,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51584
51585
|
src: oe.notfound.image
|
|
51585
51586
|
}, null, 8, PU)) : ce("", !0),
|
|
51586
51587
|
re("div", DU, he(oe.notfound.text), 1),
|
|
51587
|
-
oe.notfound.action ? (V(),
|
|
51588
|
+
oe.notfound.action ? (V(), Ae(Y(sr), {
|
|
51588
51589
|
key: 1,
|
|
51589
51590
|
onClick: oe.notfound.clickHandler
|
|
51590
51591
|
}, {
|
|
@@ -51601,7 +51602,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51601
51602
|
src: oe.empty.image
|
|
51602
51603
|
}, null, 8, jU)) : ce("", !0),
|
|
51603
51604
|
re("div", BU, he(oe.empty.text), 1),
|
|
51604
|
-
oe.empty.action ? (V(),
|
|
51605
|
+
oe.empty.action ? (V(), Ae(Y(sr), {
|
|
51605
51606
|
key: 1,
|
|
51606
51607
|
onClick: oe.empty.clickHandler
|
|
51607
51608
|
}, {
|
|
@@ -51620,7 +51621,7 @@ const H4 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, W4 = { key: 1 }, V4 = {
|
|
|
51620
51621
|
expanded: oe.expanded,
|
|
51621
51622
|
pages: oe.pages,
|
|
51622
51623
|
"current-page": oe.currentPage,
|
|
51623
|
-
onItemClick:
|
|
51624
|
+
onItemClick: Te[6] || (Te[6] = (we) => oe.$emit("paginationClick", we))
|
|
51624
51625
|
}, null, 8, ["expanded", "pages", "current-page"]),
|
|
51625
51626
|
ae(S4, {
|
|
51626
51627
|
label: oe.totalLabel,
|
|
@@ -51651,14 +51652,14 @@ const WU = HU, VU = { class: "tw-flex" }, zU = { class: "tw-flex tw-shrink-0" },
|
|
|
51651
51652
|
return V(), Z("div", VU, [
|
|
51652
51653
|
ae(Y(ff), { class: "tw-justify-between tw-grow tw-basis-0" }, {
|
|
51653
51654
|
default: fe(() => [
|
|
51654
|
-
o.value ? (V(),
|
|
51655
|
+
o.value ? (V(), Ae(f, { key: 0 })) : (V(), Ae(Y(Jy), {
|
|
51655
51656
|
key: 1,
|
|
51656
51657
|
color: r.value.color,
|
|
51657
51658
|
title: m.notification.title,
|
|
51658
51659
|
icon: r.value.icon
|
|
51659
51660
|
}, {
|
|
51660
51661
|
default: fe(() => [
|
|
51661
|
-
m.notification.description ? (V(),
|
|
51662
|
+
m.notification.description ? (V(), Ae(p, {
|
|
51662
51663
|
key: 0,
|
|
51663
51664
|
class: "tw-mb-1"
|
|
51664
51665
|
}, {
|
|
@@ -51750,7 +51751,7 @@ const WU = HU, VU = { class: "tw-flex" }, zU = { class: "tw-flex tw-shrink-0" },
|
|
|
51750
51751
|
}, ["stop"]))
|
|
51751
51752
|
}, {
|
|
51752
51753
|
default: fe(() => [
|
|
51753
|
-
f.notifications && f.notifications.length ? (V(),
|
|
51754
|
+
f.notifications && f.notifications.length ? (V(), Ae(Y($a), { key: 0 }, {
|
|
51754
51755
|
default: fe(() => [
|
|
51755
51756
|
(V(!0), Z(Ie, null, lt(f.notifications, (c) => (V(), Z("div", {
|
|
51756
51757
|
key: `notification_${c.id}`,
|