@vc-shell/framework 1.0.183 → 1.0.185
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 +18 -0
- package/dist/framework.js +661 -659
- package/dist/tailwind.config.d.ts +2 -1
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/tailwind.config.ts +46 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +5 -4
- package/ui/components/organisms/vc-table/vc-table.vue +1 -0
package/dist/framework.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ae, openBlock as x, createElementBlock as B, normalizeClass as De, renderSlot as Le, computed as re, createBlock as we, unref as
|
|
1
|
+
import { defineComponent as Ae, openBlock as x, createElementBlock as B, normalizeClass as De, renderSlot as Le, computed as re, createBlock as we, unref as I, createCommentVNode as ie, ref as K, createElementVNode as Y, toDisplayString as ue, createVNode as oe, Transition as Lu, withCtx as le, withDirectives as Ht, vShow as ba, shallowRef as kr, watch as Ge, getCurrentScope as Ty, onScopeDispose as Ay, shallowReadonly as xo, Teleport as Ri, normalizeStyle as Et, createSlots as xr, createTextVNode as Re, vModelCheckbox as gE, onMounted as ct, nextTick as Vt, Fragment as je, renderList as ot, mergeProps as Lt, onBeforeUnmount as wa, h as Te, onUpdated as us, getCurrentInstance as pr, effectScope as Ny, inject as Ot, onUnmounted as zr, onBeforeMount as _a, isRef as Zi, Text as yE, resolveDirective as Ea, withModifiers as nt, vModelDynamic as ky, version as bE, toRefs as Cn, reactive as qt, toRef as Cy, readonly as Du, customRef as dh, onBeforeUpdate as hh, watchEffect as Yr, normalizeProps as td, guardReactiveProps as Py, resolveComponent as $e, withKeys as Ru, onErrorCaptured as wE, createApp as _E, provide as Cr, isVNode as xy, markRaw as Ft, warn as EE, resolveDynamicComponent as Kn, shallowReactive as SE, cloneVNode as OE, toValue as Be, useSlots as TE, useAttrs as AE } from "vue";
|
|
2
2
|
import * as NE from "vee-validate";
|
|
3
3
|
import { useField as kE, useForm as cs, useIsFormValid as Sa, useIsFormDirty as Oa, Field as jr, validate as CE, validateObject as PE, defineRule as fs } from "vee-validate";
|
|
4
4
|
import { RouterView as xE, useRoute as ph, useRouter as Ta } from "vue-router";
|
|
@@ -76,7 +76,7 @@ const IE = /* @__PURE__ */ Ae({
|
|
|
76
76
|
disabled: s.disabled,
|
|
77
77
|
onClick: o
|
|
78
78
|
}, [
|
|
79
|
-
s.icon ? (x(), we(
|
|
79
|
+
s.icon ? (x(), we(I(Ve), {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: De(["vc-button__icon", s.iconClass]),
|
|
82
82
|
icon: s.icon,
|
|
@@ -114,7 +114,7 @@ const IE = /* @__PURE__ */ Ae({
|
|
|
114
114
|
class: "vc-card__header",
|
|
115
115
|
onClick: o
|
|
116
116
|
}, [
|
|
117
|
-
s.icon ? (x(), we(
|
|
117
|
+
s.icon ? (x(), we(I(Ve), {
|
|
118
118
|
key: 0,
|
|
119
119
|
class: "vc-card__icon",
|
|
120
120
|
icon: s.icon,
|
|
@@ -124,7 +124,7 @@ const IE = /* @__PURE__ */ Ae({
|
|
|
124
124
|
s.$slots.actions ? (x(), B("div", $E, [
|
|
125
125
|
Le(s.$slots, "actions")
|
|
126
126
|
])) : ie("", !0),
|
|
127
|
-
s.isCollapsable ? (x(), we(
|
|
127
|
+
s.isCollapsable ? (x(), we(I(Ve), {
|
|
128
128
|
key: 2,
|
|
129
129
|
class: "vc-card__collapse",
|
|
130
130
|
icon: `fas fa-chevron-${i.value ? "down" : "up"}`,
|
|
@@ -1086,7 +1086,7 @@ function bS(t) {
|
|
|
1086
1086
|
name: "arrow",
|
|
1087
1087
|
options: t,
|
|
1088
1088
|
fn(e) {
|
|
1089
|
-
const r = id(
|
|
1089
|
+
const r = id(I(t.element));
|
|
1090
1090
|
return r == null ? {} : gS({
|
|
1091
1091
|
element: r,
|
|
1092
1092
|
padding: t.padding
|
|
@@ -1105,16 +1105,16 @@ function Vu(t, e, r) {
|
|
|
1105
1105
|
r === void 0 && (r = {});
|
|
1106
1106
|
const n = r.whileElementsMounted, i = re(() => {
|
|
1107
1107
|
var S;
|
|
1108
|
-
return (S =
|
|
1109
|
-
}), o = re(() =>
|
|
1108
|
+
return (S = I(r.open)) != null ? S : !0;
|
|
1109
|
+
}), o = re(() => I(r.middleware)), s = re(() => {
|
|
1110
1110
|
var S;
|
|
1111
|
-
return (S =
|
|
1111
|
+
return (S = I(r.placement)) != null ? S : "bottom";
|
|
1112
1112
|
}), a = re(() => {
|
|
1113
1113
|
var S;
|
|
1114
|
-
return (S =
|
|
1114
|
+
return (S = I(r.strategy)) != null ? S : "absolute";
|
|
1115
1115
|
}), l = re(() => {
|
|
1116
1116
|
var S;
|
|
1117
|
-
return (S =
|
|
1117
|
+
return (S = I(r.transform)) != null ? S : !0;
|
|
1118
1118
|
}), u = re(() => id(t.value)), c = re(() => id(e.value)), f = K(0), d = K(0), h = K(a.value), b = K(s.value), p = kr({}), v = K(!1), y = re(() => {
|
|
1119
1119
|
const S = {
|
|
1120
1120
|
position: h.value,
|
|
@@ -1209,7 +1209,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1209
1209
|
o.required ? (x(), B("span", SS, "*")) : ie("", !0)
|
|
1210
1210
|
]),
|
|
1211
1211
|
o.$slots.tooltip ? (x(), B("span", OS, [
|
|
1212
|
-
oe(
|
|
1212
|
+
oe(I(Ve), {
|
|
1213
1213
|
ref_key: "tooltipIconRef",
|
|
1214
1214
|
ref: r,
|
|
1215
1215
|
class: "tw-text-[color:var(--label-tooltip-color)]",
|
|
@@ -1223,7 +1223,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1223
1223
|
key: 0,
|
|
1224
1224
|
ref_key: "tooltipRef",
|
|
1225
1225
|
ref: n,
|
|
1226
|
-
style: Et(
|
|
1226
|
+
style: Et(I(i)),
|
|
1227
1227
|
class: "tw-absolute tw-z-10 tw-bg-white tw-border tw-border-solid tw-border-[color:#eef0f2] tw-shadow-[1px_1px_8px_rgba(126,142,157,0.25)] tw-rounded-[3px] tw-text-[color:#8e9daa] tw-font-normal tw-py-1 tw-px-2 tw-ml-4"
|
|
1228
1228
|
}, [
|
|
1229
1229
|
Le(o.$slots, "tooltip")
|
|
@@ -1256,7 +1256,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1256
1256
|
setup(t, { emit: e }) {
|
|
1257
1257
|
const r = t, n = e, i = re({
|
|
1258
1258
|
get() {
|
|
1259
|
-
return
|
|
1259
|
+
return I(r.modelValue);
|
|
1260
1260
|
},
|
|
1261
1261
|
set(o) {
|
|
1262
1262
|
n("update:modelValue", o);
|
|
@@ -1265,7 +1265,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1265
1265
|
return (o, s) => (x(), B("div", {
|
|
1266
1266
|
class: De(["vc-checkbox", { "vc-checkbox_disabled": o.disabled }])
|
|
1267
1267
|
}, [
|
|
1268
|
-
o.label ? (x(), we(
|
|
1268
|
+
o.label ? (x(), we(I(vn), {
|
|
1269
1269
|
key: 0,
|
|
1270
1270
|
class: "tw-mb-2",
|
|
1271
1271
|
required: o.required
|
|
@@ -1301,7 +1301,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1301
1301
|
!o.label && o.required ? (x(), B("span", PS, "*")) : ie("", !0)
|
|
1302
1302
|
]),
|
|
1303
1303
|
o.errorMessage ? Le(o.$slots, "error", { key: 1 }, () => [
|
|
1304
|
-
oe(
|
|
1304
|
+
oe(I(Jr), { class: "vc-checkbox__error tw-mt-1" }, {
|
|
1305
1305
|
default: le(() => [
|
|
1306
1306
|
Re(ue(o.errorMessage), 1)
|
|
1307
1307
|
]),
|
|
@@ -1399,7 +1399,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1399
1399
|
class: De(["vc-container__overscroll", { "vc-container__overscroll_passed": f.value === "loosing" }]),
|
|
1400
1400
|
style: Et({ height: c.value ? `${c.value}px` : "0px" })
|
|
1401
1401
|
}, [
|
|
1402
|
-
oe(
|
|
1402
|
+
oe(I(Ve), {
|
|
1403
1403
|
icon: f.value === "pulling" ? "fas fa-arrow-down" : "fas fa-sync",
|
|
1404
1404
|
class: De([b.value]),
|
|
1405
1405
|
style: Et({ transform: f.value === "pulling" ? `rotate(${c.value * 3}deg)` : "" })
|
|
@@ -1450,7 +1450,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1450
1450
|
onClick: o
|
|
1451
1451
|
}, [
|
|
1452
1452
|
s.src ? ie("", !0) : (x(), B("div", RS, [
|
|
1453
|
-
oe(
|
|
1453
|
+
oe(I(Ve), {
|
|
1454
1454
|
icon: "fas fa-image",
|
|
1455
1455
|
size: "xl"
|
|
1456
1456
|
})
|
|
@@ -1550,11 +1550,11 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1550
1550
|
},
|
|
1551
1551
|
setup(t) {
|
|
1552
1552
|
return (e, r) => (x(), B("div", null, [
|
|
1553
|
-
e.status ? (x(), we(
|
|
1553
|
+
e.status ? (x(), we(I(Ve), {
|
|
1554
1554
|
key: 0,
|
|
1555
1555
|
icon: "fas fa-check-circle",
|
|
1556
1556
|
class: "tw-text-[color:#87b563]"
|
|
1557
|
-
})) : (x(), we(
|
|
1557
|
+
})) : (x(), we(I(Ve), {
|
|
1558
1558
|
key: 1,
|
|
1559
1559
|
icon: "fas fa-times-circle",
|
|
1560
1560
|
class: "tw-text-[color:#bdd1df]"
|
|
@@ -1578,7 +1578,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1578
1578
|
r("update:modelValue", o);
|
|
1579
1579
|
}
|
|
1580
1580
|
return (i, o) => (x(), B("div", null, [
|
|
1581
|
-
i.label ? (x(), we(
|
|
1581
|
+
i.label ? (x(), we(I(vn), {
|
|
1582
1582
|
key: 0,
|
|
1583
1583
|
class: "tw-mb-2",
|
|
1584
1584
|
required: i.required
|
|
@@ -1599,7 +1599,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1599
1599
|
}, null, 40, YS),
|
|
1600
1600
|
JS
|
|
1601
1601
|
]),
|
|
1602
|
-
i.tooltip ? (x(), we(
|
|
1602
|
+
i.tooltip ? (x(), we(I(Jr), {
|
|
1603
1603
|
key: 0,
|
|
1604
1604
|
class: "tw-mt-2 tw-w-max"
|
|
1605
1605
|
}, {
|
|
@@ -1629,7 +1629,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1629
1629
|
return (e, r) => (x(), B("div", {
|
|
1630
1630
|
class: De(["vc-video", [`vc-video_${e.size}`]])
|
|
1631
1631
|
}, [
|
|
1632
|
-
e.label ? (x(), we(
|
|
1632
|
+
e.label ? (x(), we(I(vn), {
|
|
1633
1633
|
key: 0,
|
|
1634
1634
|
class: "tw-mb-2"
|
|
1635
1635
|
}, xr({
|
|
@@ -1657,7 +1657,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1657
1657
|
allowfullscreen: "false"
|
|
1658
1658
|
}, null, 8, QS)
|
|
1659
1659
|
])) : (x(), B("div", eO, [
|
|
1660
|
-
oe(
|
|
1660
|
+
oe(I(Ve), {
|
|
1661
1661
|
icon: "fas fa-film",
|
|
1662
1662
|
size: "xl"
|
|
1663
1663
|
})
|
|
@@ -1689,7 +1689,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1689
1689
|
class: De(["vc-widget tw-relative", { "vc-widget_disabled": o.disabled }]),
|
|
1690
1690
|
onClick: i
|
|
1691
1691
|
}, [
|
|
1692
|
-
o.icon ? (x(), we(
|
|
1692
|
+
o.icon ? (x(), we(I(Ve), {
|
|
1693
1693
|
key: 0,
|
|
1694
1694
|
class: "vc-widget__icon",
|
|
1695
1695
|
icon: o.icon,
|
|
@@ -1720,7 +1720,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1720
1720
|
}]),
|
|
1721
1721
|
onClick: i
|
|
1722
1722
|
}, [
|
|
1723
|
-
o.icon ? (x(), we(
|
|
1723
|
+
o.icon ? (x(), we(I(Ve), {
|
|
1724
1724
|
key: 0,
|
|
1725
1725
|
class: "vc-breadcrumbs-item__icon",
|
|
1726
1726
|
icon: o.icon,
|
|
@@ -2261,8 +2261,8 @@ var Yy = { exports: {} };
|
|
|
2261
2261
|
`), de = Z.shift();
|
|
2262
2262
|
de.length > 0 && (D < this.length() - 1 || this.children.tail == null ? s(N.prototype.__proto__ || Object.getPrototypeOf(N.prototype), "insertAt", this).call(this, Math.min(D, this.length() - 1), de) : this.children.tail.insertAt(this.children.tail.length(), de), this.cache = {});
|
|
2263
2263
|
var J = this;
|
|
2264
|
-
Z.reduce(function(U,
|
|
2265
|
-
return J = J.split(U, !0), J.insertAt(0,
|
|
2264
|
+
Z.reduce(function(U, L) {
|
|
2265
|
+
return J = J.split(U, !0), J.insertAt(0, L), L.length;
|
|
2266
2266
|
}, D + de.length);
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
@@ -2329,10 +2329,10 @@ var Yy = { exports: {} };
|
|
|
2329
2329
|
} : function(J) {
|
|
2330
2330
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : typeof J;
|
|
2331
2331
|
}, s = /* @__PURE__ */ function() {
|
|
2332
|
-
function J(U,
|
|
2332
|
+
function J(U, L) {
|
|
2333
2333
|
var F = [], H = !0, ne = !1, W = void 0;
|
|
2334
2334
|
try {
|
|
2335
|
-
for (var j = U[Symbol.iterator](), X; !(H = (X = j.next()).done) && (F.push(X.value), !(
|
|
2335
|
+
for (var j = U[Symbol.iterator](), X; !(H = (X = j.next()).done) && (F.push(X.value), !(L && F.length === L)); H = !0)
|
|
2336
2336
|
;
|
|
2337
2337
|
} catch (se) {
|
|
2338
2338
|
ne = !0, W = se;
|
|
@@ -2346,22 +2346,22 @@ var Yy = { exports: {} };
|
|
|
2346
2346
|
}
|
|
2347
2347
|
return F;
|
|
2348
2348
|
}
|
|
2349
|
-
return function(U,
|
|
2349
|
+
return function(U, L) {
|
|
2350
2350
|
if (Array.isArray(U))
|
|
2351
2351
|
return U;
|
|
2352
2352
|
if (Symbol.iterator in Object(U))
|
|
2353
|
-
return J(U,
|
|
2353
|
+
return J(U, L);
|
|
2354
2354
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
2355
2355
|
};
|
|
2356
2356
|
}(), a = /* @__PURE__ */ function() {
|
|
2357
|
-
function J(U,
|
|
2358
|
-
for (var F = 0; F <
|
|
2359
|
-
var H =
|
|
2357
|
+
function J(U, L) {
|
|
2358
|
+
for (var F = 0; F < L.length; F++) {
|
|
2359
|
+
var H = L[F];
|
|
2360
2360
|
H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(U, H.key, H);
|
|
2361
2361
|
}
|
|
2362
2362
|
}
|
|
2363
|
-
return function(U,
|
|
2364
|
-
return
|
|
2363
|
+
return function(U, L, F) {
|
|
2364
|
+
return L && J(U.prototype, L), F && J(U, F), U;
|
|
2365
2365
|
};
|
|
2366
2366
|
}();
|
|
2367
2367
|
i(50);
|
|
@@ -2369,8 +2369,8 @@ var Yy = { exports: {} };
|
|
|
2369
2369
|
function O(J) {
|
|
2370
2370
|
return J && J.__esModule ? J : { default: J };
|
|
2371
2371
|
}
|
|
2372
|
-
function E(J, U,
|
|
2373
|
-
return U in J ? Object.defineProperty(J, U, { value:
|
|
2372
|
+
function E(J, U, L) {
|
|
2373
|
+
return U in J ? Object.defineProperty(J, U, { value: L, enumerable: !0, configurable: !0, writable: !0 }) : J[U] = L, J;
|
|
2374
2374
|
}
|
|
2375
2375
|
function N(J, U) {
|
|
2376
2376
|
if (!(J instanceof U))
|
|
@@ -2379,34 +2379,34 @@ var Yy = { exports: {} };
|
|
|
2379
2379
|
var P = (0, S.default)("quill"), D = function() {
|
|
2380
2380
|
a(J, null, [{
|
|
2381
2381
|
key: "debug",
|
|
2382
|
-
value: function(
|
|
2383
|
-
|
|
2382
|
+
value: function(L) {
|
|
2383
|
+
L === !0 && (L = "log"), S.default.level(L);
|
|
2384
2384
|
}
|
|
2385
2385
|
}, {
|
|
2386
2386
|
key: "find",
|
|
2387
|
-
value: function(
|
|
2388
|
-
return
|
|
2387
|
+
value: function(L) {
|
|
2388
|
+
return L.__quill || y.default.find(L);
|
|
2389
2389
|
}
|
|
2390
2390
|
}, {
|
|
2391
2391
|
key: "import",
|
|
2392
|
-
value: function(
|
|
2393
|
-
return this.imports[
|
|
2392
|
+
value: function(L) {
|
|
2393
|
+
return this.imports[L] == null && P.error("Cannot import " + L + ". Are you sure it was registered?"), this.imports[L];
|
|
2394
2394
|
}
|
|
2395
2395
|
}, {
|
|
2396
2396
|
key: "register",
|
|
2397
|
-
value: function(
|
|
2397
|
+
value: function(L, F) {
|
|
2398
2398
|
var H = this, ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
2399
|
-
if (typeof
|
|
2400
|
-
var W =
|
|
2401
|
-
typeof W == "string" ? this.register("formats/" + W,
|
|
2402
|
-
H.register(j,
|
|
2399
|
+
if (typeof L != "string") {
|
|
2400
|
+
var W = L.attrName || L.blotName;
|
|
2401
|
+
typeof W == "string" ? this.register("formats/" + W, L, F) : Object.keys(L).forEach(function(j) {
|
|
2402
|
+
H.register(j, L[j], F);
|
|
2403
2403
|
});
|
|
2404
2404
|
} else
|
|
2405
|
-
this.imports[
|
|
2405
|
+
this.imports[L] != null && !ne && P.warn("Overwriting " + L + " with", F), this.imports[L] = F, (L.startsWith("blots/") || L.startsWith("formats/")) && F.blotName !== "abstract" ? y.default.register(F) : L.startsWith("modules") && typeof F.register == "function" && F.register();
|
|
2406
2406
|
}
|
|
2407
2407
|
}]);
|
|
2408
2408
|
function J(U) {
|
|
2409
|
-
var
|
|
2409
|
+
var L = this, F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2410
2410
|
if (N(this, J), this.options = M(U, F), this.container = this.options.container, this.container == null)
|
|
2411
2411
|
return P.error("Invalid Quill container", U);
|
|
2412
2412
|
this.options.debug && J.debug(this.options.debug);
|
|
@@ -2415,11 +2415,11 @@ var Yy = { exports: {} };
|
|
|
2415
2415
|
emitter: this.emitter,
|
|
2416
2416
|
whitelist: this.options.formats
|
|
2417
2417
|
}), this.editor = new f.default(this.scroll), this.selection = new w.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(h.default.events.EDITOR_CHANGE, function(W) {
|
|
2418
|
-
W === h.default.events.TEXT_CHANGE &&
|
|
2418
|
+
W === h.default.events.TEXT_CHANGE && L.root.classList.toggle("ql-blank", L.editor.isBlank());
|
|
2419
2419
|
}), this.emitter.on(h.default.events.SCROLL_UPDATE, function(W, j) {
|
|
2420
|
-
var X =
|
|
2421
|
-
G.call(
|
|
2422
|
-
return
|
|
2420
|
+
var X = L.selection.lastRange, se = X && X.length === 0 ? X.index : void 0;
|
|
2421
|
+
G.call(L, function() {
|
|
2422
|
+
return L.editor.update(null, j, se);
|
|
2423
2423
|
}, W);
|
|
2424
2424
|
});
|
|
2425
2425
|
var ne = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + H + "<p><br></p></div>");
|
|
@@ -2427,13 +2427,13 @@ var Yy = { exports: {} };
|
|
|
2427
2427
|
}
|
|
2428
2428
|
return a(J, [{
|
|
2429
2429
|
key: "addContainer",
|
|
2430
|
-
value: function(
|
|
2430
|
+
value: function(L) {
|
|
2431
2431
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2432
|
-
if (typeof
|
|
2433
|
-
var H =
|
|
2434
|
-
|
|
2432
|
+
if (typeof L == "string") {
|
|
2433
|
+
var H = L;
|
|
2434
|
+
L = document.createElement("div"), L.classList.add(H);
|
|
2435
2435
|
}
|
|
2436
|
-
return this.container.insertBefore(
|
|
2436
|
+
return this.container.insertBefore(L, F), L;
|
|
2437
2437
|
}
|
|
2438
2438
|
}, {
|
|
2439
2439
|
key: "blur",
|
|
@@ -2442,11 +2442,11 @@ var Yy = { exports: {} };
|
|
|
2442
2442
|
}
|
|
2443
2443
|
}, {
|
|
2444
2444
|
key: "deleteText",
|
|
2445
|
-
value: function(
|
|
2446
|
-
var ne = this, W = Z(
|
|
2447
|
-
return
|
|
2448
|
-
return ne.editor.deleteText(
|
|
2449
|
-
}, H,
|
|
2445
|
+
value: function(L, F, H) {
|
|
2446
|
+
var ne = this, W = Z(L, F, H), j = s(W, 4);
|
|
2447
|
+
return L = j[0], F = j[1], H = j[3], G.call(this, function() {
|
|
2448
|
+
return ne.editor.deleteText(L, F);
|
|
2449
|
+
}, H, L, -1 * F);
|
|
2450
2450
|
}
|
|
2451
2451
|
}, {
|
|
2452
2452
|
key: "disable",
|
|
@@ -2456,54 +2456,54 @@ var Yy = { exports: {} };
|
|
|
2456
2456
|
}, {
|
|
2457
2457
|
key: "enable",
|
|
2458
2458
|
value: function() {
|
|
2459
|
-
var
|
|
2460
|
-
this.scroll.enable(
|
|
2459
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
2460
|
+
this.scroll.enable(L), this.container.classList.toggle("ql-disabled", !L);
|
|
2461
2461
|
}
|
|
2462
2462
|
}, {
|
|
2463
2463
|
key: "focus",
|
|
2464
2464
|
value: function() {
|
|
2465
|
-
var
|
|
2466
|
-
this.selection.focus(), this.scrollingContainer.scrollTop =
|
|
2465
|
+
var L = this.scrollingContainer.scrollTop;
|
|
2466
|
+
this.selection.focus(), this.scrollingContainer.scrollTop = L, this.scrollIntoView();
|
|
2467
2467
|
}
|
|
2468
2468
|
}, {
|
|
2469
2469
|
key: "format",
|
|
2470
|
-
value: function(
|
|
2470
|
+
value: function(L, F) {
|
|
2471
2471
|
var H = this, ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : h.default.sources.API;
|
|
2472
2472
|
return G.call(this, function() {
|
|
2473
2473
|
var W = H.getSelection(!0), j = new u.default();
|
|
2474
2474
|
if (W == null)
|
|
2475
2475
|
return j;
|
|
2476
|
-
if (y.default.query(
|
|
2477
|
-
j = H.editor.formatLine(W.index, W.length, E({},
|
|
2476
|
+
if (y.default.query(L, y.default.Scope.BLOCK))
|
|
2477
|
+
j = H.editor.formatLine(W.index, W.length, E({}, L, F));
|
|
2478
2478
|
else {
|
|
2479
2479
|
if (W.length === 0)
|
|
2480
|
-
return H.selection.format(
|
|
2481
|
-
j = H.editor.formatText(W.index, W.length, E({},
|
|
2480
|
+
return H.selection.format(L, F), j;
|
|
2481
|
+
j = H.editor.formatText(W.index, W.length, E({}, L, F));
|
|
2482
2482
|
}
|
|
2483
2483
|
return H.setSelection(W, h.default.sources.SILENT), j;
|
|
2484
2484
|
}, ne);
|
|
2485
2485
|
}
|
|
2486
2486
|
}, {
|
|
2487
2487
|
key: "formatLine",
|
|
2488
|
-
value: function(
|
|
2489
|
-
var j = this, X = void 0, se = Z(
|
|
2490
|
-
return
|
|
2491
|
-
return j.editor.formatLine(
|
|
2492
|
-
}, W,
|
|
2488
|
+
value: function(L, F, H, ne, W) {
|
|
2489
|
+
var j = this, X = void 0, se = Z(L, F, H, ne, W), ce = s(se, 4);
|
|
2490
|
+
return L = ce[0], F = ce[1], X = ce[2], W = ce[3], G.call(this, function() {
|
|
2491
|
+
return j.editor.formatLine(L, F, X);
|
|
2492
|
+
}, W, L, 0);
|
|
2493
2493
|
}
|
|
2494
2494
|
}, {
|
|
2495
2495
|
key: "formatText",
|
|
2496
|
-
value: function(
|
|
2497
|
-
var j = this, X = void 0, se = Z(
|
|
2498
|
-
return
|
|
2499
|
-
return j.editor.formatText(
|
|
2500
|
-
}, W,
|
|
2496
|
+
value: function(L, F, H, ne, W) {
|
|
2497
|
+
var j = this, X = void 0, se = Z(L, F, H, ne, W), ce = s(se, 4);
|
|
2498
|
+
return L = ce[0], F = ce[1], X = ce[2], W = ce[3], G.call(this, function() {
|
|
2499
|
+
return j.editor.formatText(L, F, X);
|
|
2500
|
+
}, W, L, 0);
|
|
2501
2501
|
}
|
|
2502
2502
|
}, {
|
|
2503
2503
|
key: "getBounds",
|
|
2504
|
-
value: function(
|
|
2504
|
+
value: function(L) {
|
|
2505
2505
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, H = void 0;
|
|
2506
|
-
typeof
|
|
2506
|
+
typeof L == "number" ? H = this.selection.getBounds(L, F) : H = this.selection.getBounds(L.index, L.length);
|
|
2507
2507
|
var ne = this.container.getBoundingClientRect();
|
|
2508
2508
|
return {
|
|
2509
2509
|
bottom: H.bottom - ne.top,
|
|
@@ -2517,19 +2517,19 @@ var Yy = { exports: {} };
|
|
|
2517
2517
|
}, {
|
|
2518
2518
|
key: "getContents",
|
|
2519
2519
|
value: function() {
|
|
2520
|
-
var
|
|
2521
|
-
return
|
|
2520
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - L, H = Z(L, F), ne = s(H, 2);
|
|
2521
|
+
return L = ne[0], F = ne[1], this.editor.getContents(L, F);
|
|
2522
2522
|
}
|
|
2523
2523
|
}, {
|
|
2524
2524
|
key: "getFormat",
|
|
2525
2525
|
value: function() {
|
|
2526
|
-
var
|
|
2527
|
-
return typeof
|
|
2526
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.getSelection(!0), F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
2527
|
+
return typeof L == "number" ? this.editor.getFormat(L, F) : this.editor.getFormat(L.index, L.length);
|
|
2528
2528
|
}
|
|
2529
2529
|
}, {
|
|
2530
2530
|
key: "getIndex",
|
|
2531
|
-
value: function(
|
|
2532
|
-
return
|
|
2531
|
+
value: function(L) {
|
|
2532
|
+
return L.offset(this.scroll);
|
|
2533
2533
|
}
|
|
2534
2534
|
}, {
|
|
2535
2535
|
key: "getLength",
|
|
@@ -2538,36 +2538,36 @@ var Yy = { exports: {} };
|
|
|
2538
2538
|
}
|
|
2539
2539
|
}, {
|
|
2540
2540
|
key: "getLeaf",
|
|
2541
|
-
value: function(
|
|
2542
|
-
return this.scroll.leaf(
|
|
2541
|
+
value: function(L) {
|
|
2542
|
+
return this.scroll.leaf(L);
|
|
2543
2543
|
}
|
|
2544
2544
|
}, {
|
|
2545
2545
|
key: "getLine",
|
|
2546
|
-
value: function(
|
|
2547
|
-
return this.scroll.line(
|
|
2546
|
+
value: function(L) {
|
|
2547
|
+
return this.scroll.line(L);
|
|
2548
2548
|
}
|
|
2549
2549
|
}, {
|
|
2550
2550
|
key: "getLines",
|
|
2551
2551
|
value: function() {
|
|
2552
|
-
var
|
|
2553
|
-
return typeof
|
|
2552
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE;
|
|
2553
|
+
return typeof L != "number" ? this.scroll.lines(L.index, L.length) : this.scroll.lines(L, F);
|
|
2554
2554
|
}
|
|
2555
2555
|
}, {
|
|
2556
2556
|
key: "getModule",
|
|
2557
|
-
value: function(
|
|
2558
|
-
return this.theme.modules[
|
|
2557
|
+
value: function(L) {
|
|
2558
|
+
return this.theme.modules[L];
|
|
2559
2559
|
}
|
|
2560
2560
|
}, {
|
|
2561
2561
|
key: "getSelection",
|
|
2562
2562
|
value: function() {
|
|
2563
|
-
var
|
|
2564
|
-
return
|
|
2563
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
2564
|
+
return L && this.focus(), this.update(), this.selection.getRange()[0];
|
|
2565
2565
|
}
|
|
2566
2566
|
}, {
|
|
2567
2567
|
key: "getText",
|
|
2568
2568
|
value: function() {
|
|
2569
|
-
var
|
|
2570
|
-
return
|
|
2569
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - L, H = Z(L, F), ne = s(H, 2);
|
|
2570
|
+
return L = ne[0], F = ne[1], this.editor.getText(L, F);
|
|
2571
2571
|
}
|
|
2572
2572
|
}, {
|
|
2573
2573
|
key: "hasFocus",
|
|
@@ -2576,19 +2576,19 @@ var Yy = { exports: {} };
|
|
|
2576
2576
|
}
|
|
2577
2577
|
}, {
|
|
2578
2578
|
key: "insertEmbed",
|
|
2579
|
-
value: function(
|
|
2579
|
+
value: function(L, F, H) {
|
|
2580
2580
|
var ne = this, W = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : J.sources.API;
|
|
2581
2581
|
return G.call(this, function() {
|
|
2582
|
-
return ne.editor.insertEmbed(
|
|
2583
|
-
}, W,
|
|
2582
|
+
return ne.editor.insertEmbed(L, F, H);
|
|
2583
|
+
}, W, L);
|
|
2584
2584
|
}
|
|
2585
2585
|
}, {
|
|
2586
2586
|
key: "insertText",
|
|
2587
|
-
value: function(
|
|
2588
|
-
var j = this, X = void 0, se = Z(
|
|
2589
|
-
return
|
|
2590
|
-
return j.editor.insertText(
|
|
2591
|
-
}, W,
|
|
2587
|
+
value: function(L, F, H, ne, W) {
|
|
2588
|
+
var j = this, X = void 0, se = Z(L, 0, H, ne, W), ce = s(se, 4);
|
|
2589
|
+
return L = ce[0], X = ce[2], W = ce[3], G.call(this, function() {
|
|
2590
|
+
return j.editor.insertText(L, F, X);
|
|
2591
|
+
}, W, L, F.length);
|
|
2592
2592
|
}
|
|
2593
2593
|
}, {
|
|
2594
2594
|
key: "isEnabled",
|
|
@@ -2612,16 +2612,16 @@ var Yy = { exports: {} };
|
|
|
2612
2612
|
}
|
|
2613
2613
|
}, {
|
|
2614
2614
|
key: "pasteHTML",
|
|
2615
|
-
value: function(
|
|
2616
|
-
this.clipboard.dangerouslyPasteHTML(
|
|
2615
|
+
value: function(L, F, H) {
|
|
2616
|
+
this.clipboard.dangerouslyPasteHTML(L, F, H);
|
|
2617
2617
|
}
|
|
2618
2618
|
}, {
|
|
2619
2619
|
key: "removeFormat",
|
|
2620
|
-
value: function(
|
|
2621
|
-
var ne = this, W = Z(
|
|
2622
|
-
return
|
|
2623
|
-
return ne.editor.removeFormat(
|
|
2624
|
-
}, H,
|
|
2620
|
+
value: function(L, F, H) {
|
|
2621
|
+
var ne = this, W = Z(L, F, H), j = s(W, 4);
|
|
2622
|
+
return L = j[0], F = j[1], H = j[3], G.call(this, function() {
|
|
2623
|
+
return ne.editor.removeFormat(L, F);
|
|
2624
|
+
}, H, L);
|
|
2625
2625
|
}
|
|
2626
2626
|
}, {
|
|
2627
2627
|
key: "scrollIntoView",
|
|
@@ -2630,11 +2630,11 @@ var Yy = { exports: {} };
|
|
|
2630
2630
|
}
|
|
2631
2631
|
}, {
|
|
2632
2632
|
key: "setContents",
|
|
2633
|
-
value: function(
|
|
2633
|
+
value: function(L) {
|
|
2634
2634
|
var F = this, H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default.sources.API;
|
|
2635
2635
|
return G.call(this, function() {
|
|
2636
|
-
|
|
2637
|
-
var ne = F.getLength(), W = F.editor.deleteText(0, ne), j = F.editor.applyDelta(
|
|
2636
|
+
L = new u.default(L);
|
|
2637
|
+
var ne = F.getLength(), W = F.editor.deleteText(0, ne), j = F.editor.applyDelta(L), X = j.ops[j.ops.length - 1];
|
|
2638
2638
|
X != null && typeof X.insert == "string" && X.insert[X.insert.length - 1] === `
|
|
2639
2639
|
` && (F.editor.deleteText(F.getLength() - 1, 1), j.delete(1));
|
|
2640
2640
|
var se = W.compose(j);
|
|
@@ -2643,32 +2643,32 @@ var Yy = { exports: {} };
|
|
|
2643
2643
|
}
|
|
2644
2644
|
}, {
|
|
2645
2645
|
key: "setSelection",
|
|
2646
|
-
value: function(
|
|
2647
|
-
if (
|
|
2646
|
+
value: function(L, F, H) {
|
|
2647
|
+
if (L == null)
|
|
2648
2648
|
this.selection.setRange(null, F || J.sources.API);
|
|
2649
2649
|
else {
|
|
2650
|
-
var ne = Z(
|
|
2651
|
-
|
|
2650
|
+
var ne = Z(L, F, H), W = s(ne, 4);
|
|
2651
|
+
L = W[0], F = W[1], H = W[3], this.selection.setRange(new g.Range(L, F), H), H !== h.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
2654
|
}, {
|
|
2655
2655
|
key: "setText",
|
|
2656
|
-
value: function(
|
|
2657
|
-
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default.sources.API, H = new u.default().insert(
|
|
2656
|
+
value: function(L) {
|
|
2657
|
+
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default.sources.API, H = new u.default().insert(L);
|
|
2658
2658
|
return this.setContents(H, F);
|
|
2659
2659
|
}
|
|
2660
2660
|
}, {
|
|
2661
2661
|
key: "update",
|
|
2662
2662
|
value: function() {
|
|
2663
|
-
var
|
|
2664
|
-
return this.selection.update(
|
|
2663
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : h.default.sources.USER, F = this.scroll.update(L);
|
|
2664
|
+
return this.selection.update(L), F;
|
|
2665
2665
|
}
|
|
2666
2666
|
}, {
|
|
2667
2667
|
key: "updateContents",
|
|
2668
|
-
value: function(
|
|
2668
|
+
value: function(L) {
|
|
2669
2669
|
var F = this, H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default.sources.API;
|
|
2670
2670
|
return G.call(this, function() {
|
|
2671
|
-
return
|
|
2671
|
+
return L = new u.default(L), F.editor.applyDelta(L, H);
|
|
2672
2672
|
}, H, !0);
|
|
2673
2673
|
}
|
|
2674
2674
|
}]), J;
|
|
@@ -2700,29 +2700,29 @@ var Yy = { exports: {} };
|
|
|
2700
2700
|
U.theme = C.default;
|
|
2701
2701
|
else if (U.theme = D.import("themes/" + U.theme), U.theme == null)
|
|
2702
2702
|
throw new Error("Invalid theme " + U.theme + ". Did you register it?");
|
|
2703
|
-
var
|
|
2704
|
-
[
|
|
2703
|
+
var L = (0, _.default)(!0, {}, U.theme.DEFAULTS);
|
|
2704
|
+
[L, U].forEach(function(ne) {
|
|
2705
2705
|
ne.modules = ne.modules || {}, Object.keys(ne.modules).forEach(function(W) {
|
|
2706
2706
|
ne.modules[W] === !0 && (ne.modules[W] = {});
|
|
2707
2707
|
});
|
|
2708
2708
|
});
|
|
2709
|
-
var F = Object.keys(
|
|
2709
|
+
var F = Object.keys(L.modules).concat(Object.keys(U.modules)), H = F.reduce(function(ne, W) {
|
|
2710
2710
|
var j = D.import("modules/" + W);
|
|
2711
2711
|
return j == null ? P.error("Cannot load " + W + " module. Are you sure you registered it?") : ne[W] = j.DEFAULTS || {}, ne;
|
|
2712
2712
|
}, {});
|
|
2713
2713
|
return U.modules != null && U.modules.toolbar && U.modules.toolbar.constructor !== Object && (U.modules.toolbar = {
|
|
2714
2714
|
container: U.modules.toolbar
|
|
2715
|
-
}), U = (0, _.default)(!0, {}, D.DEFAULTS, { modules: H },
|
|
2715
|
+
}), U = (0, _.default)(!0, {}, D.DEFAULTS, { modules: H }, L, U), ["bounds", "container", "scrollingContainer"].forEach(function(ne) {
|
|
2716
2716
|
typeof U[ne] == "string" && (U[ne] = document.querySelector(U[ne]));
|
|
2717
2717
|
}), U.modules = Object.keys(U.modules).reduce(function(ne, W) {
|
|
2718
2718
|
return U.modules[W] && (ne[W] = U.modules[W]), ne;
|
|
2719
2719
|
}, {}), U;
|
|
2720
2720
|
}
|
|
2721
|
-
function G(J, U,
|
|
2721
|
+
function G(J, U, L, F) {
|
|
2722
2722
|
if (this.options.strict && !this.isEnabled() && U === h.default.sources.USER)
|
|
2723
2723
|
return new u.default();
|
|
2724
|
-
var H =
|
|
2725
|
-
if (H != null && (
|
|
2724
|
+
var H = L == null ? null : this.getSelection(), ne = this.editor.delta, W = J();
|
|
2725
|
+
if (H != null && (L === !0 && (L = H.index), F == null ? H = de(H, W, U) : F !== 0 && (H = de(H, L, F, U)), this.setSelection(H, h.default.sources.SILENT)), W.length() > 0) {
|
|
2726
2726
|
var j, X = [h.default.events.TEXT_CHANGE, W, ne, U];
|
|
2727
2727
|
if ((j = this.emitter).emit.apply(j, [h.default.events.EDITOR_CHANGE].concat(X)), U !== h.default.sources.SILENT) {
|
|
2728
2728
|
var se;
|
|
@@ -2731,11 +2731,11 @@ var Yy = { exports: {} };
|
|
|
2731
2731
|
}
|
|
2732
2732
|
return W;
|
|
2733
2733
|
}
|
|
2734
|
-
function Z(J, U,
|
|
2734
|
+
function Z(J, U, L, F, H) {
|
|
2735
2735
|
var ne = {};
|
|
2736
|
-
return typeof J.index == "number" && typeof J.length == "number" ? typeof U != "number" ? (H = F, F =
|
|
2736
|
+
return typeof J.index == "number" && typeof J.length == "number" ? typeof U != "number" ? (H = F, F = L, L = U, U = J.length, J = J.index) : (U = J.length, J = J.index) : typeof U != "number" && (H = F, F = L, L = U, U = 0), (typeof L > "u" ? "undefined" : o(L)) === "object" ? (ne = L, H = F) : typeof L == "string" && (F != null ? ne[L] = F : H = L), H = H || h.default.sources.API, [J, U, ne, H];
|
|
2737
2737
|
}
|
|
2738
|
-
function de(J, U,
|
|
2738
|
+
function de(J, U, L, F) {
|
|
2739
2739
|
if (J == null)
|
|
2740
2740
|
return null;
|
|
2741
2741
|
var H = void 0, ne = void 0;
|
|
@@ -2746,7 +2746,7 @@ var Yy = { exports: {} };
|
|
|
2746
2746
|
H = j[0], ne = j[1];
|
|
2747
2747
|
} else {
|
|
2748
2748
|
var X = [J.index, J.index + J.length].map(function(ce) {
|
|
2749
|
-
return ce < U || ce === U && F === h.default.sources.USER ? ce :
|
|
2749
|
+
return ce < U || ce === U && F === h.default.sources.USER ? ce : L >= 0 ? ce + L : Math.max(U, ce + L);
|
|
2750
2750
|
}), se = s(X, 2);
|
|
2751
2751
|
H = se[0], ne = se[1];
|
|
2752
2752
|
}
|
|
@@ -3273,10 +3273,10 @@ var Yy = { exports: {} };
|
|
|
3273
3273
|
} : function(J) {
|
|
3274
3274
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : typeof J;
|
|
3275
3275
|
}, s = /* @__PURE__ */ function() {
|
|
3276
|
-
function J(U,
|
|
3276
|
+
function J(U, L) {
|
|
3277
3277
|
var F = [], H = !0, ne = !1, W = void 0;
|
|
3278
3278
|
try {
|
|
3279
|
-
for (var j = U[Symbol.iterator](), X; !(H = (X = j.next()).done) && (F.push(X.value), !(
|
|
3279
|
+
for (var j = U[Symbol.iterator](), X; !(H = (X = j.next()).done) && (F.push(X.value), !(L && F.length === L)); H = !0)
|
|
3280
3280
|
;
|
|
3281
3281
|
} catch (se) {
|
|
3282
3282
|
ne = !0, W = se;
|
|
@@ -3290,29 +3290,29 @@ var Yy = { exports: {} };
|
|
|
3290
3290
|
}
|
|
3291
3291
|
return F;
|
|
3292
3292
|
}
|
|
3293
|
-
return function(U,
|
|
3293
|
+
return function(U, L) {
|
|
3294
3294
|
if (Array.isArray(U))
|
|
3295
3295
|
return U;
|
|
3296
3296
|
if (Symbol.iterator in Object(U))
|
|
3297
|
-
return J(U,
|
|
3297
|
+
return J(U, L);
|
|
3298
3298
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
3299
3299
|
};
|
|
3300
3300
|
}(), a = /* @__PURE__ */ function() {
|
|
3301
|
-
function J(U,
|
|
3302
|
-
for (var F = 0; F <
|
|
3303
|
-
var H =
|
|
3301
|
+
function J(U, L) {
|
|
3302
|
+
for (var F = 0; F < L.length; F++) {
|
|
3303
|
+
var H = L[F];
|
|
3304
3304
|
H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(U, H.key, H);
|
|
3305
3305
|
}
|
|
3306
3306
|
}
|
|
3307
|
-
return function(U,
|
|
3308
|
-
return
|
|
3307
|
+
return function(U, L, F) {
|
|
3308
|
+
return L && J(U.prototype, L), F && J(U, F), U;
|
|
3309
3309
|
};
|
|
3310
3310
|
}(), l = i(2), u = N(l), c = i(20), f = N(c), d = i(0), h = N(d), b = i(13), p = N(b), v = i(24), y = N(v), g = i(4), w = N(g), m = i(16), _ = N(m), A = i(21), S = N(A), T = i(11), C = N(T), O = i(3), E = N(O);
|
|
3311
3311
|
function N(J) {
|
|
3312
3312
|
return J && J.__esModule ? J : { default: J };
|
|
3313
3313
|
}
|
|
3314
|
-
function P(J, U,
|
|
3315
|
-
return U in J ? Object.defineProperty(J, U, { value:
|
|
3314
|
+
function P(J, U, L) {
|
|
3315
|
+
return U in J ? Object.defineProperty(J, U, { value: L, enumerable: !0, configurable: !0, writable: !0 }) : J[U] = L, J;
|
|
3316
3316
|
}
|
|
3317
3317
|
function D(J, U) {
|
|
3318
3318
|
if (!(J instanceof U))
|
|
@@ -3324,11 +3324,11 @@ var Yy = { exports: {} };
|
|
|
3324
3324
|
}
|
|
3325
3325
|
return a(J, [{
|
|
3326
3326
|
key: "applyDelta",
|
|
3327
|
-
value: function(
|
|
3327
|
+
value: function(L) {
|
|
3328
3328
|
var F = this, H = !1;
|
|
3329
3329
|
this.scroll.update();
|
|
3330
3330
|
var ne = this.scroll.length();
|
|
3331
|
-
return this.scroll.batchStart(),
|
|
3331
|
+
return this.scroll.batchStart(), L = de(L), L.reduce(function(W, j) {
|
|
3332
3332
|
var X = j.retain || j.delete || j.insert.length || 1, se = j.attributes || {};
|
|
3333
3333
|
if (j.insert != null) {
|
|
3334
3334
|
if (typeof j.insert == "string") {
|
|
@@ -3353,63 +3353,63 @@ var Yy = { exports: {} };
|
|
|
3353
3353
|
return Object.keys(se).forEach(function(fe) {
|
|
3354
3354
|
F.scroll.formatAt(W, X, fe, se[fe]);
|
|
3355
3355
|
}), W + X;
|
|
3356
|
-
}, 0),
|
|
3356
|
+
}, 0), L.reduce(function(W, j) {
|
|
3357
3357
|
return typeof j.delete == "number" ? (F.scroll.deleteAt(W, j.delete), W) : W + (j.retain || j.insert.length || 1);
|
|
3358
|
-
}, 0), this.scroll.batchEnd(), this.update(
|
|
3358
|
+
}, 0), this.scroll.batchEnd(), this.update(L);
|
|
3359
3359
|
}
|
|
3360
3360
|
}, {
|
|
3361
3361
|
key: "deleteText",
|
|
3362
|
-
value: function(
|
|
3363
|
-
return this.scroll.deleteAt(
|
|
3362
|
+
value: function(L, F) {
|
|
3363
|
+
return this.scroll.deleteAt(L, F), this.update(new u.default().retain(L).delete(F));
|
|
3364
3364
|
}
|
|
3365
3365
|
}, {
|
|
3366
3366
|
key: "formatLine",
|
|
3367
|
-
value: function(
|
|
3367
|
+
value: function(L, F) {
|
|
3368
3368
|
var H = this, ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3369
3369
|
return this.scroll.update(), Object.keys(ne).forEach(function(W) {
|
|
3370
3370
|
if (!(H.scroll.whitelist != null && !H.scroll.whitelist[W])) {
|
|
3371
|
-
var j = H.scroll.lines(
|
|
3371
|
+
var j = H.scroll.lines(L, Math.max(F, 1)), X = F;
|
|
3372
3372
|
j.forEach(function(se) {
|
|
3373
3373
|
var ce = se.length();
|
|
3374
3374
|
if (!(se instanceof p.default))
|
|
3375
3375
|
se.format(W, ne[W]);
|
|
3376
3376
|
else {
|
|
3377
|
-
var me =
|
|
3377
|
+
var me = L - se.offset(H.scroll), ke = se.newlineIndex(me + X) - me + 1;
|
|
3378
3378
|
se.formatAt(me, ke, W, ne[W]);
|
|
3379
3379
|
}
|
|
3380
3380
|
X -= ce;
|
|
3381
3381
|
});
|
|
3382
3382
|
}
|
|
3383
|
-
}), this.scroll.optimize(), this.update(new u.default().retain(
|
|
3383
|
+
}), this.scroll.optimize(), this.update(new u.default().retain(L).retain(F, (0, S.default)(ne)));
|
|
3384
3384
|
}
|
|
3385
3385
|
}, {
|
|
3386
3386
|
key: "formatText",
|
|
3387
|
-
value: function(
|
|
3387
|
+
value: function(L, F) {
|
|
3388
3388
|
var H = this, ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3389
3389
|
return Object.keys(ne).forEach(function(W) {
|
|
3390
|
-
H.scroll.formatAt(
|
|
3391
|
-
}), this.update(new u.default().retain(
|
|
3390
|
+
H.scroll.formatAt(L, F, W, ne[W]);
|
|
3391
|
+
}), this.update(new u.default().retain(L).retain(F, (0, S.default)(ne)));
|
|
3392
3392
|
}
|
|
3393
3393
|
}, {
|
|
3394
3394
|
key: "getContents",
|
|
3395
|
-
value: function(
|
|
3396
|
-
return this.delta.slice(
|
|
3395
|
+
value: function(L, F) {
|
|
3396
|
+
return this.delta.slice(L, L + F);
|
|
3397
3397
|
}
|
|
3398
3398
|
}, {
|
|
3399
3399
|
key: "getDelta",
|
|
3400
3400
|
value: function() {
|
|
3401
|
-
return this.scroll.lines().reduce(function(
|
|
3402
|
-
return
|
|
3401
|
+
return this.scroll.lines().reduce(function(L, F) {
|
|
3402
|
+
return L.concat(F.delta());
|
|
3403
3403
|
}, new u.default());
|
|
3404
3404
|
}
|
|
3405
3405
|
}, {
|
|
3406
3406
|
key: "getFormat",
|
|
3407
|
-
value: function(
|
|
3407
|
+
value: function(L) {
|
|
3408
3408
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, H = [], ne = [];
|
|
3409
|
-
F === 0 ? this.scroll.path(
|
|
3409
|
+
F === 0 ? this.scroll.path(L).forEach(function(j) {
|
|
3410
3410
|
var X = s(j, 1), se = X[0];
|
|
3411
3411
|
se instanceof w.default ? H.push(se) : se instanceof h.default.Leaf && ne.push(se);
|
|
3412
|
-
}) : (H = this.scroll.lines(
|
|
3412
|
+
}) : (H = this.scroll.lines(L, F), ne = this.scroll.descendants(h.default.Leaf, L, F));
|
|
3413
3413
|
var W = [H, ne].map(function(j) {
|
|
3414
3414
|
if (j.length === 0)
|
|
3415
3415
|
return {};
|
|
@@ -3425,8 +3425,8 @@ var Yy = { exports: {} };
|
|
|
3425
3425
|
}
|
|
3426
3426
|
}, {
|
|
3427
3427
|
key: "getText",
|
|
3428
|
-
value: function(
|
|
3429
|
-
return this.getContents(
|
|
3428
|
+
value: function(L, F) {
|
|
3429
|
+
return this.getContents(L, F).filter(function(H) {
|
|
3430
3430
|
return typeof H.insert == "string";
|
|
3431
3431
|
}).map(function(H) {
|
|
3432
3432
|
return H.insert;
|
|
@@ -3434,18 +3434,18 @@ var Yy = { exports: {} };
|
|
|
3434
3434
|
}
|
|
3435
3435
|
}, {
|
|
3436
3436
|
key: "insertEmbed",
|
|
3437
|
-
value: function(
|
|
3438
|
-
return this.scroll.insertAt(
|
|
3437
|
+
value: function(L, F, H) {
|
|
3438
|
+
return this.scroll.insertAt(L, F, H), this.update(new u.default().retain(L).insert(P({}, F, H)));
|
|
3439
3439
|
}
|
|
3440
3440
|
}, {
|
|
3441
3441
|
key: "insertText",
|
|
3442
|
-
value: function(
|
|
3442
|
+
value: function(L, F) {
|
|
3443
3443
|
var H = this, ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3444
3444
|
return F = F.replace(/\r\n/g, `
|
|
3445
3445
|
`).replace(/\r/g, `
|
|
3446
|
-
`), this.scroll.insertAt(
|
|
3447
|
-
H.scroll.formatAt(
|
|
3448
|
-
}), this.update(new u.default().retain(
|
|
3446
|
+
`), this.scroll.insertAt(L, F), Object.keys(ne).forEach(function(W) {
|
|
3447
|
+
H.scroll.formatAt(L, F.length, W, ne[W]);
|
|
3448
|
+
}), this.update(new u.default().retain(L).insert(F, (0, S.default)(ne)));
|
|
3449
3449
|
}
|
|
3450
3450
|
}, {
|
|
3451
3451
|
key: "isBlank",
|
|
@@ -3454,51 +3454,51 @@ var Yy = { exports: {} };
|
|
|
3454
3454
|
return !0;
|
|
3455
3455
|
if (this.scroll.children.length > 1)
|
|
3456
3456
|
return !1;
|
|
3457
|
-
var
|
|
3458
|
-
return
|
|
3457
|
+
var L = this.scroll.children.head;
|
|
3458
|
+
return L.statics.blotName !== w.default.blotName || L.children.length > 1 ? !1 : L.children.head instanceof _.default;
|
|
3459
3459
|
}
|
|
3460
3460
|
}, {
|
|
3461
3461
|
key: "removeFormat",
|
|
3462
|
-
value: function(
|
|
3463
|
-
var H = this.getText(
|
|
3462
|
+
value: function(L, F) {
|
|
3463
|
+
var H = this.getText(L, F), ne = this.scroll.line(L + F), W = s(ne, 2), j = W[0], X = W[1], se = 0, ce = new u.default();
|
|
3464
3464
|
j != null && (j instanceof p.default ? se = j.newlineIndex(X) - X + 1 : se = j.length() - X, ce = j.delta().slice(X, X + se - 1).insert(`
|
|
3465
3465
|
`));
|
|
3466
|
-
var me = this.getContents(
|
|
3466
|
+
var me = this.getContents(L, F + se), ke = me.diff(new u.default().insert(H).concat(ce)), ae = new u.default().retain(L).concat(ke);
|
|
3467
3467
|
return this.applyDelta(ae);
|
|
3468
3468
|
}
|
|
3469
3469
|
}, {
|
|
3470
3470
|
key: "update",
|
|
3471
|
-
value: function(
|
|
3471
|
+
value: function(L) {
|
|
3472
3472
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], H = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, ne = this.delta;
|
|
3473
3473
|
if (F.length === 1 && F[0].type === "characterData" && F[0].target.data.match(M) && h.default.find(F[0].target)) {
|
|
3474
3474
|
var W = h.default.find(F[0].target), j = (0, g.bubbleFormats)(W), X = W.offset(this.scroll), se = F[0].oldValue.replace(y.default.CONTENTS, ""), ce = new u.default().insert(se), me = new u.default().insert(W.value()), ke = new u.default().retain(X).concat(ce.diff(me, H));
|
|
3475
|
-
|
|
3475
|
+
L = ke.reduce(function(ae, V) {
|
|
3476
3476
|
return V.insert ? ae.insert(V.insert, j) : ae.push(V);
|
|
3477
|
-
}, new u.default()), this.delta = ne.compose(
|
|
3477
|
+
}, new u.default()), this.delta = ne.compose(L);
|
|
3478
3478
|
} else
|
|
3479
|
-
this.delta = this.getDelta(), (!
|
|
3480
|
-
return
|
|
3479
|
+
this.delta = this.getDelta(), (!L || !(0, C.default)(ne.compose(L), this.delta)) && (L = ne.diff(this.delta, H));
|
|
3480
|
+
return L;
|
|
3481
3481
|
}
|
|
3482
3482
|
}]), J;
|
|
3483
3483
|
}();
|
|
3484
3484
|
function Z(J, U) {
|
|
3485
|
-
return Object.keys(U).reduce(function(
|
|
3486
|
-
return J[F] == null || (U[F] === J[F] ?
|
|
3485
|
+
return Object.keys(U).reduce(function(L, F) {
|
|
3486
|
+
return J[F] == null || (U[F] === J[F] ? L[F] = U[F] : Array.isArray(U[F]) ? U[F].indexOf(J[F]) < 0 && (L[F] = U[F].concat([J[F]])) : L[F] = [U[F], J[F]]), L;
|
|
3487
3487
|
}, {});
|
|
3488
3488
|
}
|
|
3489
3489
|
function de(J) {
|
|
3490
|
-
return J.reduce(function(U,
|
|
3491
|
-
if (
|
|
3492
|
-
var F = (0, S.default)(
|
|
3493
|
-
return delete F.image, U.insert({ image:
|
|
3490
|
+
return J.reduce(function(U, L) {
|
|
3491
|
+
if (L.insert === 1) {
|
|
3492
|
+
var F = (0, S.default)(L.attributes);
|
|
3493
|
+
return delete F.image, U.insert({ image: L.attributes.image }, F);
|
|
3494
3494
|
}
|
|
3495
|
-
if (
|
|
3496
|
-
var H =
|
|
3495
|
+
if (L.attributes != null && (L.attributes.list === !0 || L.attributes.bullet === !0) && (L = (0, S.default)(L), L.attributes.list ? L.attributes.list = "ordered" : (L.attributes.list = "bullet", delete L.attributes.bullet)), typeof L.insert == "string") {
|
|
3496
|
+
var H = L.insert.replace(/\r\n/g, `
|
|
3497
3497
|
`).replace(/\r/g, `
|
|
3498
3498
|
`);
|
|
3499
|
-
return U.insert(H,
|
|
3499
|
+
return U.insert(H, L.attributes);
|
|
3500
3500
|
}
|
|
3501
|
-
return U.push(
|
|
3501
|
+
return U.push(L);
|
|
3502
3502
|
}, new u.default());
|
|
3503
3503
|
}
|
|
3504
3504
|
n.default = G;
|
|
@@ -3654,7 +3654,7 @@ var Yy = { exports: {} };
|
|
|
3654
3654
|
var U = document.createRange();
|
|
3655
3655
|
if (E > 0) {
|
|
3656
3656
|
U.setStart(P, Z);
|
|
3657
|
-
var
|
|
3657
|
+
var L = this.scroll.leaf(O + E), F = o(L, 2);
|
|
3658
3658
|
if (G = F[0], Z = F[1], G == null)
|
|
3659
3659
|
return null;
|
|
3660
3660
|
var H = G.position(Z, !0), ne = o(H, 2);
|
|
@@ -3703,8 +3703,8 @@ var Yy = { exports: {} };
|
|
|
3703
3703
|
var E = this, N = [[O.start.node, O.start.offset]];
|
|
3704
3704
|
O.native.collapsed || N.push([O.end.node, O.end.offset]);
|
|
3705
3705
|
var P = N.map(function(G) {
|
|
3706
|
-
var Z = o(G, 2), de = Z[0], J = Z[1], U = l.default.find(de, !0),
|
|
3707
|
-
return J === 0 ?
|
|
3706
|
+
var Z = o(G, 2), de = Z[0], J = Z[1], U = l.default.find(de, !0), L = U.offset(E.scroll);
|
|
3707
|
+
return J === 0 ? L : U instanceof l.default.Container ? L + U.length() : L + U.index(de, J);
|
|
3708
3708
|
}), D = Math.min(Math.max.apply(Math, g(P)), this.scroll.length() - 1), M = Math.min.apply(Math, [D].concat(g(P)));
|
|
3709
3709
|
return new _(M, D - M);
|
|
3710
3710
|
}
|
|
@@ -3735,8 +3735,8 @@ var Yy = { exports: {} };
|
|
|
3735
3735
|
var E = this, N = O.collapsed ? [O.index] : [O.index, O.index + O.length], P = [], D = this.scroll.length();
|
|
3736
3736
|
return N.forEach(function(M, G) {
|
|
3737
3737
|
M = Math.min(D - 1, M);
|
|
3738
|
-
var Z = void 0, de = E.scroll.leaf(M), J = o(de, 2), U = J[0],
|
|
3739
|
-
Z = H[0],
|
|
3738
|
+
var Z = void 0, de = E.scroll.leaf(M), J = o(de, 2), U = J[0], L = J[1], F = U.position(L, G !== 0), H = o(F, 2);
|
|
3739
|
+
Z = H[0], L = H[1], P.push(Z, L);
|
|
3740
3740
|
}), P.length < 2 && (P = P.concat(P)), P;
|
|
3741
3741
|
}
|
|
3742
3742
|
}, {
|
|
@@ -4257,11 +4257,11 @@ var Yy = { exports: {} };
|
|
|
4257
4257
|
else if (o(T, a))
|
|
4258
4258
|
O = new a();
|
|
4259
4259
|
else if (o(T, l))
|
|
4260
|
-
O = new l(function(U,
|
|
4260
|
+
O = new l(function(U, L) {
|
|
4261
4261
|
T.then(function(F) {
|
|
4262
4262
|
U(S(F, C - 1));
|
|
4263
4263
|
}, function(F) {
|
|
4264
|
-
|
|
4264
|
+
L(S(F, C - 1));
|
|
4265
4265
|
});
|
|
4266
4266
|
});
|
|
4267
4267
|
else if (u.__isArray(T))
|
|
@@ -4281,12 +4281,12 @@ var Yy = { exports: {} };
|
|
|
4281
4281
|
return _[N];
|
|
4282
4282
|
m.push(T), _.push(O);
|
|
4283
4283
|
}
|
|
4284
|
-
o(T, s) && T.forEach(function(U,
|
|
4285
|
-
var F = S(
|
|
4284
|
+
o(T, s) && T.forEach(function(U, L) {
|
|
4285
|
+
var F = S(L, C - 1), H = S(U, C - 1);
|
|
4286
4286
|
O.set(F, H);
|
|
4287
4287
|
}), o(T, a) && T.forEach(function(U) {
|
|
4288
|
-
var
|
|
4289
|
-
O.add(
|
|
4288
|
+
var L = S(U, C - 1);
|
|
4289
|
+
O.add(L);
|
|
4290
4290
|
});
|
|
4291
4291
|
for (var P in T) {
|
|
4292
4292
|
var D;
|
|
@@ -4438,24 +4438,24 @@ var Yy = { exports: {} };
|
|
|
4438
4438
|
}, {
|
|
4439
4439
|
key: "deleteAt",
|
|
4440
4440
|
value: function(P, D) {
|
|
4441
|
-
var M = this.line(P), G = o(M, 2), Z = G[0], de = G[1], J = this.line(P + D), U = o(J, 1),
|
|
4442
|
-
if (a(E.prototype.__proto__ || Object.getPrototypeOf(E.prototype), "deleteAt", this).call(this, P, D),
|
|
4443
|
-
if (Z instanceof d.BlockEmbed ||
|
|
4441
|
+
var M = this.line(P), G = o(M, 2), Z = G[0], de = G[1], J = this.line(P + D), U = o(J, 1), L = U[0];
|
|
4442
|
+
if (a(E.prototype.__proto__ || Object.getPrototypeOf(E.prototype), "deleteAt", this).call(this, P, D), L != null && Z !== L && de > 0) {
|
|
4443
|
+
if (Z instanceof d.BlockEmbed || L instanceof d.BlockEmbed) {
|
|
4444
4444
|
this.optimize();
|
|
4445
4445
|
return;
|
|
4446
4446
|
}
|
|
4447
4447
|
if (Z instanceof y.default) {
|
|
4448
4448
|
var F = Z.newlineIndex(Z.length(), !0);
|
|
4449
|
-
if (F > -1 && (Z = Z.split(F + 1), Z ===
|
|
4449
|
+
if (F > -1 && (Z = Z.split(F + 1), Z === L)) {
|
|
4450
4450
|
this.optimize();
|
|
4451
4451
|
return;
|
|
4452
4452
|
}
|
|
4453
|
-
} else if (
|
|
4454
|
-
var H =
|
|
4455
|
-
H > -1 &&
|
|
4453
|
+
} else if (L instanceof y.default) {
|
|
4454
|
+
var H = L.newlineIndex(0);
|
|
4455
|
+
H > -1 && L.split(H + 1);
|
|
4456
4456
|
}
|
|
4457
|
-
var ne =
|
|
4458
|
-
Z.moveChildren(
|
|
4457
|
+
var ne = L.children.head instanceof p.default ? null : L.children.head;
|
|
4458
|
+
Z.moveChildren(L, ne), Z.remove();
|
|
4459
4459
|
}
|
|
4460
4460
|
this.optimize();
|
|
4461
4461
|
}
|
|
@@ -4511,9 +4511,9 @@ var Yy = { exports: {} };
|
|
|
4511
4511
|
key: "lines",
|
|
4512
4512
|
value: function() {
|
|
4513
4513
|
var P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, D = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, M = function G(Z, de, J) {
|
|
4514
|
-
var U = [],
|
|
4514
|
+
var U = [], L = J;
|
|
4515
4515
|
return Z.children.forEachAt(de, J, function(F, H, ne) {
|
|
4516
|
-
T(F) ? U.push(F) : F instanceof u.default.Container && (U = U.concat(G(F, H,
|
|
4516
|
+
T(F) ? U.push(F) : F instanceof u.default.Container && (U = U.concat(G(F, H, L))), L -= ne;
|
|
4517
4517
|
}), U;
|
|
4518
4518
|
};
|
|
4519
4519
|
return M(this, P, D);
|
|
@@ -4622,7 +4622,7 @@ var Yy = { exports: {} };
|
|
|
4622
4622
|
return me.bindings = {}, Object.keys(me.options.bindings).forEach(function(ke) {
|
|
4623
4623
|
ke === "list autofill" && se.scroll.whitelist != null && !se.scroll.whitelist.list || me.options.bindings[ke] && me.addBinding(me.options.bindings[ke]);
|
|
4624
4624
|
}), me.addBinding({ key: X.keys.ENTER, shiftKey: null }, F), me.addBinding({ key: X.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
|
|
4625
|
-
}), /Firefox/i.test(navigator.userAgent) ? (me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !0 }, J), me.addBinding({ key: X.keys.DELETE }, { collapsed: !0 }, U)) : (me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, J), me.addBinding({ key: X.keys.DELETE }, { collapsed: !0, suffix: /^.?$/ }, U)), me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !1 },
|
|
4625
|
+
}), /Firefox/i.test(navigator.userAgent) ? (me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !0 }, J), me.addBinding({ key: X.keys.DELETE }, { collapsed: !0 }, U)) : (me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, J), me.addBinding({ key: X.keys.DELETE }, { collapsed: !0, suffix: /^.?$/ }, U)), me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !1 }, L), me.addBinding({ key: X.keys.DELETE }, { collapsed: !1 }, L), me.addBinding({ key: X.keys.BACKSPACE, altKey: null, ctrlKey: null, metaKey: null, shiftKey: null }, { collapsed: !0, offset: 0 }, J), me.listen(), me;
|
|
4626
4626
|
}
|
|
4627
4627
|
return a(X, [{
|
|
4628
4628
|
key: "addBinding",
|
|
@@ -4859,7 +4859,7 @@ var Yy = { exports: {} };
|
|
|
4859
4859
|
this.quill.deleteText(j.index, se, _.default.sources.USER), Object.keys(ce).length > 0 && this.quill.formatLine(j.index + me - 1, se, ce, _.default.sources.USER);
|
|
4860
4860
|
}
|
|
4861
4861
|
}
|
|
4862
|
-
function
|
|
4862
|
+
function L(j) {
|
|
4863
4863
|
var X = this.quill.getLines(j), se = {};
|
|
4864
4864
|
if (X.length > 1) {
|
|
4865
4865
|
var ce = X[0].formats(), me = X[X.length - 1].formats();
|
|
@@ -6187,12 +6187,12 @@ var Yy = { exports: {} };
|
|
|
6187
6187
|
var X = this;
|
|
6188
6188
|
this.pickers = W.map(function(ce) {
|
|
6189
6189
|
if (ce.classList.contains("ql-align"))
|
|
6190
|
-
return ce.querySelector("option") == null &&
|
|
6190
|
+
return ce.querySelector("option") == null && L(ce, P), new m.default(ce, j.align);
|
|
6191
6191
|
if (ce.classList.contains("ql-background") || ce.classList.contains("ql-color")) {
|
|
6192
6192
|
var me = ce.classList.contains("ql-background") ? "background" : "color";
|
|
6193
|
-
return ce.querySelector("option") == null &&
|
|
6193
|
+
return ce.querySelector("option") == null && L(ce, D, me === "background" ? "#ffffff" : "#000000"), new g.default(ce, j[me]);
|
|
6194
6194
|
} else
|
|
6195
|
-
return ce.querySelector("option") == null && (ce.classList.contains("ql-font") ?
|
|
6195
|
+
return ce.querySelector("option") == null && (ce.classList.contains("ql-font") ? L(ce, M) : ce.classList.contains("ql-header") ? L(ce, G) : ce.classList.contains("ql-size") && L(ce, Z)), new A.default(ce);
|
|
6196
6196
|
});
|
|
6197
6197
|
var se = function() {
|
|
6198
6198
|
X.pickers.forEach(function(me) {
|
|
@@ -6292,7 +6292,7 @@ var Yy = { exports: {} };
|
|
|
6292
6292
|
var H = F.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || F.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
6293
6293
|
return H ? (H[1] || "https") + "://www.youtube.com/embed/" + H[2] + "?showinfo=0" : (H = F.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (H[1] || "https") + "://player.vimeo.com/video/" + H[2] + "/" : F;
|
|
6294
6294
|
}
|
|
6295
|
-
function
|
|
6295
|
+
function L(F, H) {
|
|
6296
6296
|
var ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
6297
6297
|
H.forEach(function(W) {
|
|
6298
6298
|
var j = document.createElement("option");
|
|
@@ -6736,17 +6736,17 @@ var Yy = { exports: {} };
|
|
|
6736
6736
|
E[P] = -1, N[P] = -1;
|
|
6737
6737
|
E[C + 1] = 0, N[C + 1] = 0;
|
|
6738
6738
|
for (var D = A - S, M = D % 2 != 0, G = 0, Z = 0, de = 0, J = 0, U = 0; U < T; U++) {
|
|
6739
|
-
for (var
|
|
6740
|
-
var F = C +
|
|
6741
|
-
|
|
6742
|
-
for (var ne = H -
|
|
6739
|
+
for (var L = -U + G; L <= U - Z; L += 2) {
|
|
6740
|
+
var F = C + L, H;
|
|
6741
|
+
L == -U || L != U && E[F - 1] < E[F + 1] ? H = E[F + 1] : H = E[F - 1] + 1;
|
|
6742
|
+
for (var ne = H - L; H < A && ne < S && m.charAt(H) == _.charAt(ne); )
|
|
6743
6743
|
H++, ne++;
|
|
6744
6744
|
if (E[F] = H, H > A)
|
|
6745
6745
|
Z += 2;
|
|
6746
6746
|
else if (ne > S)
|
|
6747
6747
|
G += 2;
|
|
6748
6748
|
else if (M) {
|
|
6749
|
-
var W = C + D -
|
|
6749
|
+
var W = C + D - L;
|
|
6750
6750
|
if (W >= 0 && W < O && N[W] != -1) {
|
|
6751
6751
|
var j = A - N[W];
|
|
6752
6752
|
if (H >= j)
|
|
@@ -6798,15 +6798,15 @@ var Yy = { exports: {} };
|
|
|
6798
6798
|
if (A.length < 4 || S.length * 2 < A.length)
|
|
6799
6799
|
return null;
|
|
6800
6800
|
function T(Z, de, J) {
|
|
6801
|
-
for (var U = Z.substring(J, J + Math.floor(Z.length / 4)),
|
|
6801
|
+
for (var U = Z.substring(J, J + Math.floor(Z.length / 4)), L = -1, F = "", H, ne, W, j; (L = de.indexOf(U, L + 1)) != -1; ) {
|
|
6802
6802
|
var X = f(
|
|
6803
6803
|
Z.substring(J),
|
|
6804
|
-
de.substring(
|
|
6804
|
+
de.substring(L)
|
|
6805
6805
|
), se = d(
|
|
6806
6806
|
Z.substring(0, J),
|
|
6807
|
-
de.substring(0,
|
|
6807
|
+
de.substring(0, L)
|
|
6808
6808
|
);
|
|
6809
|
-
F.length < se + X && (F = de.substring(
|
|
6809
|
+
F.length < se + X && (F = de.substring(L - se, L) + de.substring(L, L + X), H = Z.substring(0, J - se), ne = Z.substring(J + X), W = de.substring(0, L - se), j = de.substring(L + X));
|
|
6810
6810
|
}
|
|
6811
6811
|
return F.length * 2 >= Z.length ? [
|
|
6812
6812
|
H,
|
|
@@ -7127,7 +7127,7 @@ var Yy = { exports: {} };
|
|
|
7127
7127
|
}
|
|
7128
7128
|
var Z = (0, y.default)("quill:clipboard"), de = "__ql-matcher", J = [[Node.TEXT_NODE, Pe], [Node.TEXT_NODE, R], ["br", ke], [Node.ELEMENT_NODE, R], [Node.ELEMENT_NODE, me], [Node.ELEMENT_NODE, ee], [Node.ELEMENT_NODE, ce], [Node.ELEMENT_NODE, ve], ["li", V], ["b", se.bind(se, "bold")], ["i", se.bind(se, "italic")], ["style", ae]], U = [m.AlignAttribute, C.DirectionAttribute].reduce(function(q, fe) {
|
|
7129
7129
|
return q[fe.keyName] = fe, q;
|
|
7130
|
-
}, {}),
|
|
7130
|
+
}, {}), L = [m.AlignStyle, _.BackgroundStyle, T.ColorStyle, C.DirectionStyle, O.FontStyle, E.SizeStyle].reduce(function(q, fe) {
|
|
7131
7131
|
return q[fe.keyName] = fe, q;
|
|
7132
7132
|
}, {}), F = function(q) {
|
|
7133
7133
|
G(fe, q);
|
|
@@ -7254,7 +7254,7 @@ var Yy = { exports: {} };
|
|
|
7254
7254
|
var ye = h.default.Attributor.Attribute.keys(q), Se = h.default.Attributor.Class.keys(q), ge = h.default.Attributor.Style.keys(q), Fe = {};
|
|
7255
7255
|
return ye.concat(Se).concat(ge).forEach(function(He) {
|
|
7256
7256
|
var Ce = h.default.query(He, h.default.Scope.ATTRIBUTE);
|
|
7257
|
-
Ce != null && (Fe[Ce.attrName] = Ce.value(q), Fe[Ce.attrName]) || (Ce = U[He], Ce != null && (Ce.attrName === He || Ce.keyName === He) && (Fe[Ce.attrName] = Ce.value(q) || void 0), Ce =
|
|
7257
|
+
Ce != null && (Fe[Ce.attrName] = Ce.value(q), Fe[Ce.attrName]) || (Ce = U[He], Ce != null && (Ce.attrName === He || Ce.keyName === He) && (Fe[Ce.attrName] = Ce.value(q) || void 0), Ce = L[He], Ce != null && (Ce.attrName === He || Ce.keyName === He) && (Ce = L[He], Fe[Ce.attrName] = Ce.value(q) || void 0));
|
|
7258
7258
|
}), Object.keys(Fe).length > 0 && (fe = H(fe, Fe)), fe;
|
|
7259
7259
|
}
|
|
7260
7260
|
function me(q, fe) {
|
|
@@ -7510,7 +7510,7 @@ var Yy = { exports: {} };
|
|
|
7510
7510
|
} else
|
|
7511
7511
|
D.classList.contains("ql-active") ? J = !1 : J = D.value || !D.hasAttribute("value"), de.preventDefault();
|
|
7512
7512
|
M.quill.focus();
|
|
7513
|
-
var
|
|
7513
|
+
var L = M.quill.selection.getRange(), F = o(L, 1), H = F[0];
|
|
7514
7514
|
if (M.handlers[G] != null)
|
|
7515
7515
|
M.handlers[G].call(M, J);
|
|
7516
7516
|
else if (c.default.query(G).prototype instanceof c.default.Embed) {
|
|
@@ -7536,8 +7536,8 @@ var Yy = { exports: {} };
|
|
|
7536
7536
|
else if (M[de] == null)
|
|
7537
7537
|
U = J.querySelector("option[selected]");
|
|
7538
7538
|
else if (!Array.isArray(M[de])) {
|
|
7539
|
-
var
|
|
7540
|
-
typeof
|
|
7539
|
+
var L = M[de];
|
|
7540
|
+
typeof L == "string" && (L = L.replace(/\"/g, '\\"')), U = J.querySelector('option[value="' + L + '"]');
|
|
7541
7541
|
}
|
|
7542
7542
|
U == null ? (J.value = "", J.selectedIndex = -1) : U.selected = !0;
|
|
7543
7543
|
} else if (D == null)
|
|
@@ -7938,8 +7938,8 @@ var Yy = { exports: {} };
|
|
|
7938
7938
|
var Z = P.quill.scroll.descendant(p.default, D.index), de = o(Z, 2), J = de[0], U = de[1];
|
|
7939
7939
|
if (J != null) {
|
|
7940
7940
|
P.linkRange = new v.Range(D.index - U, J.length());
|
|
7941
|
-
var
|
|
7942
|
-
P.preview.textContent =
|
|
7941
|
+
var L = p.default.formats(J.domNode);
|
|
7942
|
+
P.preview.textContent = L, P.preview.setAttribute("href", L), P.show(), P.position(P.quill.getBounds(P.linkRange));
|
|
7943
7943
|
return;
|
|
7944
7944
|
}
|
|
7945
7945
|
} else
|
|
@@ -7963,7 +7963,7 @@ var Yy = { exports: {} };
|
|
|
7963
7963
|
Object.defineProperty(n, "__esModule", {
|
|
7964
7964
|
value: !0
|
|
7965
7965
|
});
|
|
7966
|
-
var o = i(29), s = ge(o), a = i(36), l = i(38), u = i(64), c = i(65), f = ge(c), d = i(66), h = ge(d), b = i(67), p = ge(b), v = i(37), y = i(26), g = i(39), w = i(40), m = i(56), _ = ge(m), A = i(68), S = ge(A), T = i(27), C = ge(T), O = i(69), E = ge(O), N = i(70), P = ge(N), D = i(71), M = ge(D), G = i(72), Z = ge(G), de = i(73), J = ge(de), U = i(13),
|
|
7966
|
+
var o = i(29), s = ge(o), a = i(36), l = i(38), u = i(64), c = i(65), f = ge(c), d = i(66), h = ge(d), b = i(67), p = ge(b), v = i(37), y = i(26), g = i(39), w = i(40), m = i(56), _ = ge(m), A = i(68), S = ge(A), T = i(27), C = ge(T), O = i(69), E = ge(O), N = i(70), P = ge(N), D = i(71), M = ge(D), G = i(72), Z = ge(G), de = i(73), J = ge(de), U = i(13), L = ge(U), F = i(74), H = ge(F), ne = i(75), W = ge(ne), j = i(57), X = ge(j), se = i(41), ce = ge(se), me = i(28), ke = ge(me), ae = i(59), V = ge(ae), R = i(60), ee = ge(R), ve = i(61), Pe = ge(ve), q = i(108), fe = ge(q), ye = i(62), Se = ge(ye);
|
|
7967
7967
|
function ge(Fe) {
|
|
7968
7968
|
return Fe && Fe.__esModule ? Fe : { default: Fe };
|
|
7969
7969
|
}
|
|
@@ -7990,7 +7990,7 @@ var Yy = { exports: {} };
|
|
|
7990
7990
|
"formats/font": g.FontClass,
|
|
7991
7991
|
"formats/size": w.SizeClass,
|
|
7992
7992
|
"formats/blockquote": f.default,
|
|
7993
|
-
"formats/code-block":
|
|
7993
|
+
"formats/code-block": L.default,
|
|
7994
7994
|
"formats/header": h.default,
|
|
7995
7995
|
"formats/list": p.default,
|
|
7996
7996
|
"formats/bold": _.default,
|
|
@@ -9408,7 +9408,7 @@ iu.exports;
|
|
|
9408
9408
|
(function(t, e) {
|
|
9409
9409
|
var r = 200, n = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", s = "[object Array]", a = "[object Boolean]", l = "[object Date]", u = "[object Error]", c = "[object Function]", f = "[object GeneratorFunction]", d = "[object Map]", h = "[object Number]", b = "[object Object]", p = "[object Promise]", v = "[object RegExp]", y = "[object Set]", g = "[object String]", w = "[object Symbol]", m = "[object WeakMap]", _ = "[object ArrayBuffer]", A = "[object DataView]", S = "[object Float32Array]", T = "[object Float64Array]", C = "[object Int8Array]", O = "[object Int16Array]", E = "[object Int32Array]", N = "[object Uint8Array]", P = "[object Uint8ClampedArray]", D = "[object Uint16Array]", M = "[object Uint32Array]", G = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, de = /^\[object .+?Constructor\]$/, J = /^(?:0|[1-9]\d*)$/, U = {};
|
|
9410
9410
|
U[o] = U[s] = U[_] = U[A] = U[a] = U[l] = U[S] = U[T] = U[C] = U[O] = U[E] = U[d] = U[h] = U[b] = U[v] = U[y] = U[g] = U[w] = U[N] = U[P] = U[D] = U[M] = !0, U[u] = U[c] = U[m] = !1;
|
|
9411
|
-
var
|
|
9411
|
+
var L = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, F = typeof self == "object" && self && self.Object === Object && self, H = L || F || Function("return this")(), ne = e && !e.nodeType && e, W = ne && !0 && t && !t.nodeType && t, j = W && W.exports === ne;
|
|
9412
9412
|
function X(k, $) {
|
|
9413
9413
|
return k.set($[0], $[1]), k;
|
|
9414
9414
|
}
|
|
@@ -9852,8 +9852,8 @@ iu.exports;
|
|
|
9852
9852
|
var eb = iu.exports, ou = { exports: {} };
|
|
9853
9853
|
ou.exports;
|
|
9854
9854
|
(function(t, e) {
|
|
9855
|
-
var r = 200, n = "__lodash_hash_undefined__", i = 1, o = 2, s = 9007199254740991, a = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", d = "[object Error]", h = "[object Function]", b = "[object GeneratorFunction]", p = "[object Map]", v = "[object Number]", y = "[object Null]", g = "[object Object]", w = "[object Promise]", m = "[object Proxy]", _ = "[object RegExp]", A = "[object Set]", S = "[object String]", T = "[object Symbol]", C = "[object Undefined]", O = "[object WeakMap]", E = "[object ArrayBuffer]", N = "[object DataView]", P = "[object Float32Array]", D = "[object Float64Array]", M = "[object Int8Array]", G = "[object Int16Array]", Z = "[object Int32Array]", de = "[object Uint8Array]", J = "[object Uint8ClampedArray]", U = "[object Uint16Array]",
|
|
9856
|
-
W[P] = W[D] = W[M] = W[G] = W[Z] = W[de] = W[J] = W[U] = W[
|
|
9855
|
+
var r = 200, n = "__lodash_hash_undefined__", i = 1, o = 2, s = 9007199254740991, a = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", d = "[object Error]", h = "[object Function]", b = "[object GeneratorFunction]", p = "[object Map]", v = "[object Number]", y = "[object Null]", g = "[object Object]", w = "[object Promise]", m = "[object Proxy]", _ = "[object RegExp]", A = "[object Set]", S = "[object String]", T = "[object Symbol]", C = "[object Undefined]", O = "[object WeakMap]", E = "[object ArrayBuffer]", N = "[object DataView]", P = "[object Float32Array]", D = "[object Float64Array]", M = "[object Int8Array]", G = "[object Int16Array]", Z = "[object Int32Array]", de = "[object Uint8Array]", J = "[object Uint8ClampedArray]", U = "[object Uint16Array]", L = "[object Uint32Array]", F = /[\\^$.*+?()[\]{}|]/g, H = /^\[object .+?Constructor\]$/, ne = /^(?:0|[1-9]\d*)$/, W = {};
|
|
9856
|
+
W[P] = W[D] = W[M] = W[G] = W[Z] = W[de] = W[J] = W[U] = W[L] = !0, W[a] = W[l] = W[E] = W[c] = W[N] = W[f] = W[d] = W[h] = W[p] = W[v] = W[g] = W[_] = W[A] = W[S] = W[O] = !1;
|
|
9857
9857
|
var j = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, X = typeof self == "object" && self && self.Object === Object && self, se = j || X || Function("return this")(), ce = e && !e.nodeType && e, me = ce && !0 && t && !t.nodeType && t, ke = me && me.exports === ce, ae = ke && j.process, V = function() {
|
|
9858
9858
|
try {
|
|
9859
9859
|
return ae && ae.binding && ae.binding("util");
|
|
@@ -11048,7 +11048,7 @@ const ob = /* @__PURE__ */ Ae({
|
|
|
11048
11048
|
o.value?.setText(f);
|
|
11049
11049
|
return;
|
|
11050
11050
|
}
|
|
11051
|
-
i.value =
|
|
11051
|
+
i.value = I(f);
|
|
11052
11052
|
},
|
|
11053
11053
|
{ immediate: !0 }
|
|
11054
11054
|
);
|
|
@@ -11070,7 +11070,7 @@ const ob = /* @__PURE__ */ Ae({
|
|
|
11070
11070
|
}
|
|
11071
11071
|
]])
|
|
11072
11072
|
}, [
|
|
11073
|
-
f.label ? (x(), we(
|
|
11073
|
+
f.label ? (x(), we(I(vn), {
|
|
11074
11074
|
key: 0,
|
|
11075
11075
|
class: "tw-mb-2",
|
|
11076
11076
|
required: f.required,
|
|
@@ -11090,7 +11090,7 @@ const ob = /* @__PURE__ */ Ae({
|
|
|
11090
11090
|
key: "0"
|
|
11091
11091
|
} : void 0
|
|
11092
11092
|
]), 1032, ["required", "multilanguage", "current-language"])) : ie("", !0),
|
|
11093
|
-
(x(), we(
|
|
11093
|
+
(x(), we(I(AO), {
|
|
11094
11094
|
key: `${f.disabled}`,
|
|
11095
11095
|
ref_key: "quillRef",
|
|
11096
11096
|
ref: o,
|
|
@@ -11108,7 +11108,7 @@ const ob = /* @__PURE__ */ Ae({
|
|
|
11108
11108
|
placeholder: f.placeholder
|
|
11109
11109
|
}, null, 8, ["content", "class", "read-only", "placeholder"])),
|
|
11110
11110
|
f.errorMessage ? Le(f.$slots, "error", { key: 1 }, () => [
|
|
11111
|
-
oe(
|
|
11111
|
+
oe(I(Jr), { class: "vc-editor__error !tw-text-[color:var(--editor-border-color-error)] tw-mt-1" }, {
|
|
11112
11112
|
default: le(() => [
|
|
11113
11113
|
Re(ue(f.errorMessage), 1)
|
|
11114
11114
|
]),
|
|
@@ -11556,7 +11556,7 @@ function tT(t, e = {}) {
|
|
|
11556
11556
|
ee += R;
|
|
11557
11557
|
return V.currentChar() === mi && f(Je.UNTERMINATED_CLOSING_BRACE, o(), 0), ee;
|
|
11558
11558
|
}
|
|
11559
|
-
function
|
|
11559
|
+
function L(V) {
|
|
11560
11560
|
v(V);
|
|
11561
11561
|
let R = "";
|
|
11562
11562
|
return V.currentChar() === "-" ? (V.next(), R += `-${Z(V)}`) : R += Z(V), V.currentChar() === mi && f(Je.UNTERMINATED_CLOSING_BRACE, o(), 0), R;
|
|
@@ -11655,7 +11655,7 @@ function tT(t, e = {}) {
|
|
|
11655
11655
|
if (Pe = w(V, R))
|
|
11656
11656
|
return ee = d(R, 5, U(V)), v(V), ee;
|
|
11657
11657
|
if (q = m(V, R))
|
|
11658
|
-
return ee = d(R, 6,
|
|
11658
|
+
return ee = d(R, 6, L(V)), v(V), ee;
|
|
11659
11659
|
if (fe = _(V, R))
|
|
11660
11660
|
return ee = d(R, 7, F(V)), v(V), ee;
|
|
11661
11661
|
if (!Pe && !q && !fe)
|
|
@@ -13490,7 +13490,7 @@ function Dh(t = {}, e) {
|
|
|
13490
13490
|
function U(he, _e) {
|
|
13491
13491
|
return he !== "translate" || !_e.resolvedMessage;
|
|
13492
13492
|
}
|
|
13493
|
-
const
|
|
13493
|
+
const L = (he, _e, Ue, gt, Ke, Ct) => {
|
|
13494
13494
|
O();
|
|
13495
13495
|
let wr;
|
|
13496
13496
|
try {
|
|
@@ -13521,7 +13521,7 @@ function Dh(t = {}, e) {
|
|
|
13521
13521
|
}
|
|
13522
13522
|
};
|
|
13523
13523
|
function F(...he) {
|
|
13524
|
-
return
|
|
13524
|
+
return L((_e) => Reflect.apply(uv, null, [_e, ...he]), () => ld(...he), "translate", (_e) => Reflect.apply(_e.t, _e, [...he]), (_e) => _e, (_e) => Ie(_e));
|
|
13525
13525
|
}
|
|
13526
13526
|
function H(...he) {
|
|
13527
13527
|
const [_e, Ue, gt] = he;
|
|
@@ -13530,10 +13530,10 @@ function Dh(t = {}, e) {
|
|
|
13530
13530
|
return F(_e, Ue, lr({ resolvedMessage: !0 }, gt || {}));
|
|
13531
13531
|
}
|
|
13532
13532
|
function ne(...he) {
|
|
13533
|
-
return
|
|
13533
|
+
return L((_e) => Reflect.apply(fv, null, [_e, ...he]), () => ud(...he), "datetime format", (_e) => Reflect.apply(_e.d, _e, [...he]), () => au, (_e) => Ie(_e));
|
|
13534
13534
|
}
|
|
13535
13535
|
function W(...he) {
|
|
13536
|
-
return
|
|
13536
|
+
return L((_e) => Reflect.apply(hv, null, [_e, ...he]), () => cd(...he), "number format", (_e) => Reflect.apply(_e.n, _e, [...he]), () => au, (_e) => Ie(_e));
|
|
13537
13537
|
}
|
|
13538
13538
|
function j(he) {
|
|
13539
13539
|
return he.map((_e) => Ie(_e) || Zt(_e) || it(_e) ? mv(String(_e)) : _e);
|
|
@@ -13544,7 +13544,7 @@ function Dh(t = {}, e) {
|
|
|
13544
13544
|
type: "vnode"
|
|
13545
13545
|
};
|
|
13546
13546
|
function ce(...he) {
|
|
13547
|
-
return
|
|
13547
|
+
return L(
|
|
13548
13548
|
(_e) => {
|
|
13549
13549
|
let Ue;
|
|
13550
13550
|
const gt = _e;
|
|
@@ -13564,7 +13564,7 @@ function Dh(t = {}, e) {
|
|
|
13564
13564
|
);
|
|
13565
13565
|
}
|
|
13566
13566
|
function me(...he) {
|
|
13567
|
-
return
|
|
13567
|
+
return L(
|
|
13568
13568
|
(_e) => Reflect.apply(hv, null, [_e, ...he]),
|
|
13569
13569
|
() => cd(...he),
|
|
13570
13570
|
"number format",
|
|
@@ -13575,7 +13575,7 @@ function Dh(t = {}, e) {
|
|
|
13575
13575
|
);
|
|
13576
13576
|
}
|
|
13577
13577
|
function ke(...he) {
|
|
13578
|
-
return
|
|
13578
|
+
return L(
|
|
13579
13579
|
(_e) => Reflect.apply(fv, null, [_e, ...he]),
|
|
13580
13580
|
() => ud(...he),
|
|
13581
13581
|
"datetime format",
|
|
@@ -13589,7 +13589,7 @@ function Dh(t = {}, e) {
|
|
|
13589
13589
|
S = he, T.pluralRules = S;
|
|
13590
13590
|
}
|
|
13591
13591
|
function V(he, _e) {
|
|
13592
|
-
return
|
|
13592
|
+
return L(() => {
|
|
13593
13593
|
if (!he)
|
|
13594
13594
|
return !1;
|
|
13595
13595
|
const Ue = Ie(_e) ? _e : l.value, gt = ve(Ue), Ke = T.messageResolver(gt, he);
|
|
@@ -14717,7 +14717,7 @@ function QA(t, e, r, n = {}) {
|
|
|
14717
14717
|
function U(...R) {
|
|
14718
14718
|
return o.value ? G(() => Reflect.apply(o.value.n, null, [...R])) : G(() => "");
|
|
14719
14719
|
}
|
|
14720
|
-
function
|
|
14720
|
+
function L(R) {
|
|
14721
14721
|
return o.value ? o.value.tm(R) : {};
|
|
14722
14722
|
}
|
|
14723
14723
|
function F(R, ee) {
|
|
@@ -14821,7 +14821,7 @@ function QA(t, e, r, n = {}) {
|
|
|
14821
14821
|
rt: de,
|
|
14822
14822
|
d: J,
|
|
14823
14823
|
n: U,
|
|
14824
|
-
tm:
|
|
14824
|
+
tm: L,
|
|
14825
14825
|
te: F,
|
|
14826
14826
|
getLocaleMessage: H,
|
|
14827
14827
|
setLocaleMessage: ne,
|
|
@@ -14907,7 +14907,7 @@ const rN = { class: "tw-flex tw-flex-col tw-flex-1" }, nN = { class: "tw-text-[#
|
|
|
14907
14907
|
},
|
|
14908
14908
|
emits: ["upload"],
|
|
14909
14909
|
setup(t, { emit: e }) {
|
|
14910
|
-
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o = pr(), s =
|
|
14910
|
+
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o = pr(), s = I(r.rules) || "", a = K(!1), { errorMessage: l, handleChange: u, validate: c } = kE(
|
|
14911
14911
|
`${r.name === "Gallery" ? o?.uid : r.name}`,
|
|
14912
14912
|
s
|
|
14913
14913
|
), f = K(), d = async (y) => {
|
|
@@ -14952,18 +14952,18 @@ const rN = { class: "tw-flex tw-flex-col tw-flex-1" }, nN = { class: "tw-text-[#
|
|
|
14952
14952
|
}, ["stop", "prevent"])),
|
|
14953
14953
|
onDragleave: nt(v, ["stop", "prevent"])
|
|
14954
14954
|
}, [
|
|
14955
|
-
oe(
|
|
14955
|
+
oe(I(Ve), {
|
|
14956
14956
|
class: "tw-text-[#c8dbea]",
|
|
14957
14957
|
icon: y.icon,
|
|
14958
14958
|
size: "xxl"
|
|
14959
14959
|
}, null, 8, ["icon"]),
|
|
14960
14960
|
Y("div", nN, [
|
|
14961
|
-
Y("span", null, ue(
|
|
14961
|
+
Y("span", null, ue(I(i)("COMPONENTS.MOLECULES.VC_FILE_UPLOAD.DRAG_HERE")), 1),
|
|
14962
14962
|
Re(" "),
|
|
14963
14963
|
iN,
|
|
14964
|
-
oe(
|
|
14964
|
+
oe(I(Hu), { onClick: h }, {
|
|
14965
14965
|
default: le(() => [
|
|
14966
|
-
Re(ue(
|
|
14966
|
+
Re(ue(I(i)("COMPONENTS.MOLECULES.VC_FILE_UPLOAD.BROWSE")), 1)
|
|
14967
14967
|
]),
|
|
14968
14968
|
_: 1
|
|
14969
14969
|
})
|
|
@@ -14981,10 +14981,10 @@ const rN = { class: "tw-flex tw-flex-col tw-flex-1" }, nN = { class: "tw-text-[#
|
|
|
14981
14981
|
], 34)), [
|
|
14982
14982
|
[w, y.loading]
|
|
14983
14983
|
]),
|
|
14984
|
-
|
|
14985
|
-
oe(
|
|
14984
|
+
I(l) ? Le(y.$slots, "error", { key: 0 }, () => [
|
|
14985
|
+
oe(I(Jr), { class: "vc-input__error" }, {
|
|
14986
14986
|
default: le(() => [
|
|
14987
|
-
Re(ue(
|
|
14987
|
+
Re(ue(I(l)), 1)
|
|
14988
14988
|
]),
|
|
14989
14989
|
_: 1
|
|
14990
14990
|
})
|
|
@@ -17618,7 +17618,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17618
17618
|
setup(t, { emit: e }) {
|
|
17619
17619
|
const r = t, n = e;
|
|
17620
17620
|
let i, o;
|
|
17621
|
-
const s = K(), a = K(), l = K(
|
|
17621
|
+
const s = K(), a = K(), l = K(I(r.type)), u = re(() => r.type === "date" && "9999-12-31" || void 0), c = re(() => I(r.modelValue)), f = K();
|
|
17622
17622
|
Ge(
|
|
17623
17623
|
c,
|
|
17624
17624
|
(p) => {
|
|
@@ -17654,7 +17654,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17654
17654
|
}
|
|
17655
17655
|
]])
|
|
17656
17656
|
}, [
|
|
17657
|
-
p.label ? (x(), we(
|
|
17657
|
+
p.label ? (x(), we(I(vn), {
|
|
17658
17658
|
key: 0,
|
|
17659
17659
|
class: "tw-mb-2",
|
|
17660
17660
|
required: p.required,
|
|
@@ -17717,7 +17717,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17717
17717
|
class: "vc-input__clear",
|
|
17718
17718
|
onClick: b
|
|
17719
17719
|
}, [
|
|
17720
|
-
oe(
|
|
17720
|
+
oe(I(Ve), {
|
|
17721
17721
|
size: "s",
|
|
17722
17722
|
icon: "fas fa-times"
|
|
17723
17723
|
})
|
|
@@ -17727,7 +17727,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17727
17727
|
class: "vc-input__showhide",
|
|
17728
17728
|
onClick: v[1] || (v[1] = (y) => l.value = "text")
|
|
17729
17729
|
}, [
|
|
17730
|
-
oe(
|
|
17730
|
+
oe(I(Ve), {
|
|
17731
17731
|
size: "s",
|
|
17732
17732
|
icon: "fas fa-eye-slash"
|
|
17733
17733
|
})
|
|
@@ -17737,7 +17737,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17737
17737
|
class: "vc-input__showhide",
|
|
17738
17738
|
onClick: v[2] || (v[2] = (y) => l.value = "password")
|
|
17739
17739
|
}, [
|
|
17740
|
-
oe(
|
|
17740
|
+
oe(I(Ve), {
|
|
17741
17741
|
size: "s",
|
|
17742
17742
|
icon: "fas fa-eye"
|
|
17743
17743
|
})
|
|
@@ -17747,7 +17747,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17747
17747
|
Le(p.$slots, "append-inner")
|
|
17748
17748
|
])) : ie("", !0),
|
|
17749
17749
|
p.loading ? (x(), B("div", bx, [
|
|
17750
|
-
oe(
|
|
17750
|
+
oe(I(Ve), {
|
|
17751
17751
|
icon: "fas fa-spinner tw-animate-spin",
|
|
17752
17752
|
class: "tw-text-[var(--input-clear-color)]",
|
|
17753
17753
|
size: "m"
|
|
@@ -17762,7 +17762,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17762
17762
|
default: le(() => [
|
|
17763
17763
|
p.error ? (x(), B("div", wx, [
|
|
17764
17764
|
Le(p.$slots, "error", {}, () => [
|
|
17765
|
-
p.errorMessage ? (x(), we(
|
|
17765
|
+
p.errorMessage ? (x(), we(I(Jr), {
|
|
17766
17766
|
key: 0,
|
|
17767
17767
|
class: "vc-input__error"
|
|
17768
17768
|
}, {
|
|
@@ -17774,7 +17774,7 @@ const ax = { class: "tw-flex tw-flex-nowrap tw-items-start" }, lx = { class: "tw
|
|
|
17774
17774
|
])
|
|
17775
17775
|
])) : (x(), B("div", _x, [
|
|
17776
17776
|
Le(p.$slots, "hint", {}, () => [
|
|
17777
|
-
p.hint ? (x(), we(
|
|
17777
|
+
p.hint ? (x(), we(I(Jr), {
|
|
17778
17778
|
key: 0,
|
|
17779
17779
|
class: "vc-input__desc"
|
|
17780
17780
|
}, {
|
|
@@ -18148,7 +18148,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18148
18148
|
}
|
|
18149
18149
|
), Ge(s, (a) => {
|
|
18150
18150
|
n("update:model-value", a);
|
|
18151
|
-
}), (a, l) => (x(), we(
|
|
18151
|
+
}), (a, l) => (x(), we(I(Wa), {
|
|
18152
18152
|
options: a.options,
|
|
18153
18153
|
"option-label": a.optionLabel,
|
|
18154
18154
|
"option-value": a.optionValue,
|
|
@@ -18162,7 +18162,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18162
18162
|
"onUpdate:modelValue": l[0] || (l[0] = (u) => a.$emit("update:option", u))
|
|
18163
18163
|
}, {
|
|
18164
18164
|
control: le(({ toggleHandler: u }) => [
|
|
18165
|
-
oe(
|
|
18165
|
+
oe(I($r), {
|
|
18166
18166
|
placeholder: a.placeholder,
|
|
18167
18167
|
hint: a.hint,
|
|
18168
18168
|
clearable: a.clearable,
|
|
@@ -18183,7 +18183,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18183
18183
|
Y("button", {
|
|
18184
18184
|
class: "tw-text-[#43b0e6] tw-not-italic tw-font-medium tw-text-[13px] tw-leading-[20px] tw-cursor-pointer",
|
|
18185
18185
|
onClick: nt(u, ["stop", "prevent"])
|
|
18186
|
-
}, ue(
|
|
18186
|
+
}, ue(I(a.option)), 9, xx)
|
|
18187
18187
|
])
|
|
18188
18188
|
]),
|
|
18189
18189
|
control: le(({ placeholder: c }) => [
|
|
@@ -18262,7 +18262,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18262
18262
|
onMouseleave: a
|
|
18263
18263
|
}, [
|
|
18264
18264
|
Y("div", Dx, [
|
|
18265
|
-
oe(
|
|
18265
|
+
oe(I(Ve), {
|
|
18266
18266
|
icon: r[l.type ?? "default"]?.icon,
|
|
18267
18267
|
style: Et({ color: r[l.type ?? "default"]?.color }),
|
|
18268
18268
|
size: "l",
|
|
@@ -18270,7 +18270,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18270
18270
|
}, null, 8, ["icon", "style"]),
|
|
18271
18271
|
Y("div", Rx, ue(l.content), 1)
|
|
18272
18272
|
]),
|
|
18273
|
-
oe(
|
|
18273
|
+
oe(I(Ve), {
|
|
18274
18274
|
icon: "fas fa-times",
|
|
18275
18275
|
class: "tw-cursor-pointer tw-text-[color:var(--notification-dismiss-color)] tw-ml-2",
|
|
18276
18276
|
size: "s",
|
|
@@ -18294,7 +18294,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18294
18294
|
}]),
|
|
18295
18295
|
onClick: r[0] || (r[0] = (n) => e.currentPage !== 1 && e.$emit("itemClick", 1))
|
|
18296
18296
|
}, [
|
|
18297
|
-
oe(
|
|
18297
|
+
oe(I(Ve), {
|
|
18298
18298
|
size: "xs",
|
|
18299
18299
|
icon: "fas fa-angle-double-left"
|
|
18300
18300
|
})
|
|
@@ -18305,7 +18305,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18305
18305
|
}]),
|
|
18306
18306
|
onClick: r[1] || (r[1] = (n) => e.currentPage !== 1 && e.$emit("itemClick", e.currentPage - 1))
|
|
18307
18307
|
}, [
|
|
18308
|
-
oe(
|
|
18308
|
+
oe(I(Ve), {
|
|
18309
18309
|
size: "xs",
|
|
18310
18310
|
icon: "fas fa-arrow-left"
|
|
18311
18311
|
})
|
|
@@ -18341,7 +18341,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18341
18341
|
}]),
|
|
18342
18342
|
onClick: r[6] || (r[6] = (n) => e.currentPage !== e.pages && e.$emit("itemClick", e.currentPage + 1))
|
|
18343
18343
|
}, [
|
|
18344
|
-
oe(
|
|
18344
|
+
oe(I(Ve), {
|
|
18345
18345
|
size: "xs",
|
|
18346
18346
|
icon: "fas fa-arrow-right"
|
|
18347
18347
|
})
|
|
@@ -18352,7 +18352,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18352
18352
|
}]),
|
|
18353
18353
|
onClick: r[7] || (r[7] = (n) => e.currentPage !== e.pages && e.$emit("itemClick", e.pages))
|
|
18354
18354
|
}, [
|
|
18355
|
-
oe(
|
|
18355
|
+
oe(I(Ve), {
|
|
18356
18356
|
size: "xs",
|
|
18357
18357
|
icon: "fas fa-angle-double-right"
|
|
18358
18358
|
})
|
|
@@ -18374,7 +18374,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18374
18374
|
},
|
|
18375
18375
|
setup(t) {
|
|
18376
18376
|
return (e, r) => (x(), B("div", Fx, [
|
|
18377
|
-
e.label ? (x(), we(
|
|
18377
|
+
e.label ? (x(), we(I(vn), {
|
|
18378
18378
|
key: 0,
|
|
18379
18379
|
class: "tw-mb-2"
|
|
18380
18380
|
}, xr({
|
|
@@ -18393,18 +18393,18 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18393
18393
|
]), 1024)) : ie("", !0),
|
|
18394
18394
|
e.modelValue ? (x(), B(je, { key: 1 }, [
|
|
18395
18395
|
e.variant == "stars" ? (x(), B(je, { key: 0 }, [
|
|
18396
|
-
(x(!0), B(je, null, ot(e.modelValue, (n) => (x(), we(
|
|
18396
|
+
(x(!0), B(je, null, ot(e.modelValue, (n) => (x(), we(I(Ve), {
|
|
18397
18397
|
key: n,
|
|
18398
18398
|
icon: "fas fa-star",
|
|
18399
18399
|
class: "vc-rating__icon"
|
|
18400
18400
|
}))), 128)),
|
|
18401
|
-
(x(!0), B(je, null, ot(e.max - e.modelValue, (n) => (x(), we(
|
|
18401
|
+
(x(!0), B(je, null, ot(e.max - e.modelValue, (n) => (x(), we(I(Ve), {
|
|
18402
18402
|
key: n,
|
|
18403
18403
|
icon: "far fa-star",
|
|
18404
18404
|
class: "vc-rating__icon"
|
|
18405
18405
|
}))), 128))
|
|
18406
18406
|
], 64)) : (x(), B(je, { key: 1 }, [
|
|
18407
|
-
e.variant == "star-and-text" ? (x(), we(
|
|
18407
|
+
e.variant == "star-and-text" ? (x(), we(I(Ve), {
|
|
18408
18408
|
key: 0,
|
|
18409
18409
|
icon: "fas fa-star",
|
|
18410
18410
|
class: "vc-rating__icon"
|
|
@@ -18443,10 +18443,10 @@ function sc(t) {
|
|
|
18443
18443
|
return (...o) => (e += 1, r || (n = Ny(!0), r = n.run(() => t(...o))), vs(i), r);
|
|
18444
18444
|
}
|
|
18445
18445
|
function At(t) {
|
|
18446
|
-
return typeof t == "function" ? t() :
|
|
18446
|
+
return typeof t == "function" ? t() : I(t);
|
|
18447
18447
|
}
|
|
18448
18448
|
function Mw(t, e) {
|
|
18449
|
-
const r = e?.computedGetter === !1 ?
|
|
18449
|
+
const r = e?.computedGetter === !1 ? I : At;
|
|
18450
18450
|
return function(...n) {
|
|
18451
18451
|
return re(() => t.apply(this, n.map((i) => r(i))));
|
|
18452
18452
|
};
|
|
@@ -18456,7 +18456,7 @@ function ac(t) {
|
|
|
18456
18456
|
return qt(t);
|
|
18457
18457
|
const e = new Proxy({}, {
|
|
18458
18458
|
get(r, n, i) {
|
|
18459
|
-
return
|
|
18459
|
+
return I(Reflect.get(t.value, n, i));
|
|
18460
18460
|
},
|
|
18461
18461
|
set(r, n, i) {
|
|
18462
18462
|
return Zi(t.value[n]) && !Zi(i) ? t.value[n].value = i : t.value[n] = i, !0;
|
|
@@ -20745,7 +20745,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20745
20745
|
opt: ae,
|
|
20746
20746
|
selected: !0,
|
|
20747
20747
|
toggleOption: X,
|
|
20748
|
-
removeAtIndex:
|
|
20748
|
+
removeAtIndex: L
|
|
20749
20749
|
}))
|
|
20750
20750
|
), P = re(() => J(E.value)), D = re(() => E.value.map((ae) => C.value(ae))), M = re(() => v.value.map((ae, V) => ({
|
|
20751
20751
|
index: V,
|
|
@@ -20772,7 +20772,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20772
20772
|
function U(ae) {
|
|
20773
20773
|
return O.value(ae);
|
|
20774
20774
|
}
|
|
20775
|
-
function
|
|
20775
|
+
function L(ae) {
|
|
20776
20776
|
if (ae > -1 && ae < E.value.length)
|
|
20777
20777
|
if (r.multiple === !0) {
|
|
20778
20778
|
const V = r.modelValue.slice();
|
|
@@ -20880,7 +20880,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20880
20880
|
"tw-pb-[20px]": ae.error || ae.hint
|
|
20881
20881
|
}])
|
|
20882
20882
|
}, [
|
|
20883
|
-
ae.label ? (x(), we(
|
|
20883
|
+
ae.label ? (x(), we(I(vn), {
|
|
20884
20884
|
key: 0,
|
|
20885
20885
|
class: "tw-mb-2",
|
|
20886
20886
|
required: ae.required,
|
|
@@ -20932,12 +20932,12 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20932
20932
|
}), [
|
|
20933
20933
|
ae.multiple ? (x(), B("div", MM, [
|
|
20934
20934
|
Y("span", null, ue(O.value(R.opt)), 1),
|
|
20935
|
-
ae.disabled ? ie("", !0) : (x(), we(
|
|
20935
|
+
ae.disabled ? ie("", !0) : (x(), we(I(Ve), {
|
|
20936
20936
|
key: 0,
|
|
20937
20937
|
class: "tw-text-[#a9bfd2] tw-ml-2 tw-cursor-pointer hover:tw-text-[color:var(--select-clear-color-hover)]",
|
|
20938
20938
|
icon: "fas fa-times",
|
|
20939
20939
|
size: "s",
|
|
20940
|
-
onClick: nt((ve) =>
|
|
20940
|
+
onClick: nt((ve) => L(R.index), ["stop"])
|
|
20941
20941
|
}, null, 8, ["onClick"]))
|
|
20942
20942
|
])) : ae.multiple ? ie("", !0) : (x(), B(je, { key: 1 }, [
|
|
20943
20943
|
Re(ue(U(R.opt)), 1)
|
|
@@ -20948,7 +20948,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20948
20948
|
ae.placeholder ? (x(), B(je, { key: 0 }, [
|
|
20949
20949
|
Re(ue(ae.placeholder), 1)
|
|
20950
20950
|
], 64)) : (x(), B(je, { key: 1 }, [
|
|
20951
|
-
Re(ue(
|
|
20951
|
+
Re(ue(I(i)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
|
|
20952
20952
|
], 64))
|
|
20953
20953
|
]))
|
|
20954
20954
|
]),
|
|
@@ -20958,7 +20958,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20958
20958
|
class: "tw-cursor-pointer tw-flex tw-items-center tw-pl-3 tw-text-[color:var(--select-clear-color)] hover:tw-text-[color:var(--select-clear-color-hover)]",
|
|
20959
20959
|
onClick: ke
|
|
20960
20960
|
}, [
|
|
20961
|
-
oe(
|
|
20961
|
+
oe(I(Ve), {
|
|
20962
20962
|
size: "s",
|
|
20963
20963
|
icon: "fas fa-times"
|
|
20964
20964
|
})
|
|
@@ -20968,7 +20968,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20968
20968
|
Le(ae.$slots, "append-inner")
|
|
20969
20969
|
])) : ie("", !0),
|
|
20970
20970
|
ae.loading || h.value ? (x(), B("div", UM, [
|
|
20971
|
-
oe(
|
|
20971
|
+
oe(I(Ve), {
|
|
20972
20972
|
icon: "fas fa-spinner tw-animate-spin",
|
|
20973
20973
|
size: "m"
|
|
20974
20974
|
})
|
|
@@ -20978,7 +20978,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20978
20978
|
class: "vc-select__chevron tw-cursor-pointer tw-flex-nowrap tw-text-[color:var(--select-chevron-color)] hover:tw-text-[color:var(--select-chevron-color-hover)]",
|
|
20979
20979
|
onClick: nt(W, ["stop"])
|
|
20980
20980
|
}, [
|
|
20981
|
-
oe(
|
|
20981
|
+
oe(I(Ve), {
|
|
20982
20982
|
size: "s",
|
|
20983
20983
|
icon: "fas fa-chevron-down"
|
|
20984
20984
|
})
|
|
@@ -20995,7 +20995,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20995
20995
|
default: le(() => [
|
|
20996
20996
|
ae.error ? (x(), B("div", HM, [
|
|
20997
20997
|
Le(ae.$slots, "error", {}, () => [
|
|
20998
|
-
ae.errorMessage ? (x(), we(
|
|
20998
|
+
ae.errorMessage ? (x(), we(I(Jr), {
|
|
20999
20999
|
key: 0,
|
|
21000
21000
|
class: "tw-mt-1 tw-text-[color:var(--select-border-color-error)]"
|
|
21001
21001
|
}, {
|
|
@@ -21007,7 +21007,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21007
21007
|
])
|
|
21008
21008
|
])) : (x(), B("div", qM, [
|
|
21009
21009
|
Le(ae.$slots, "hint", {}, () => [
|
|
21010
|
-
ae.hint ? (x(), we(
|
|
21010
|
+
ae.hint ? (x(), we(I(Jr), {
|
|
21011
21011
|
key: 0,
|
|
21012
21012
|
class: "tw-text-[color:var(--select-placeholder-color)] tw-mt-1 tw-break-words tw-p-0"
|
|
21013
21013
|
}, {
|
|
@@ -21044,7 +21044,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21044
21044
|
class: "tw-w-full tw-box-border tw-border tw-border-solid tw-border-[#eaecf2] tw-rounded-[4px] tw-h-[32px] tw-leading-[32px] tw-outline-none tw-mb-3 tw-px-2",
|
|
21045
21045
|
onInput: ce
|
|
21046
21046
|
}, null, 544)) : ie("", !0),
|
|
21047
|
-
oe(
|
|
21047
|
+
oe(I(mo), {
|
|
21048
21048
|
ref_key: "root",
|
|
21049
21049
|
ref: f,
|
|
21050
21050
|
"no-padding": !0
|
|
@@ -21072,7 +21072,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21072
21072
|
_: 3
|
|
21073
21073
|
}, 512)
|
|
21074
21074
|
], 4)), [
|
|
21075
|
-
[
|
|
21075
|
+
[I(ui), [W, { ignore: [u.value] }]]
|
|
21076
21076
|
]) : ie("", !0)
|
|
21077
21077
|
]))
|
|
21078
21078
|
])
|
|
@@ -22140,8 +22140,8 @@ function rF() {
|
|
|
22140
22140
|
}
|
|
22141
22141
|
if (P.css("display") !== "none") {
|
|
22142
22142
|
if (n.slidesPerView === "auto") {
|
|
22143
|
-
var U = getComputedStyle(P[0]),
|
|
22144
|
-
if (
|
|
22143
|
+
var U = getComputedStyle(P[0]), L = P[0].style.transform, F = P[0].style.webkitTransform;
|
|
22144
|
+
if (L && (P[0].style.transform = "none"), F && (P[0].style.webkitTransform = "none"), n.roundLengths)
|
|
22145
22145
|
T = t.isHorizontal() ? P.outerWidth(!0) : P.outerHeight(!0);
|
|
22146
22146
|
else {
|
|
22147
22147
|
var H = r(U, "width"), ne = r(U, "padding-left"), W = r(U, "padding-right"), j = r(U, "margin-left"), X = r(U, "margin-right"), se = U.getPropertyValue("box-sizing");
|
|
@@ -22152,7 +22152,7 @@ function rF() {
|
|
|
22152
22152
|
T = H + ne + W + j + X + (ke - me);
|
|
22153
22153
|
}
|
|
22154
22154
|
}
|
|
22155
|
-
|
|
22155
|
+
L && (P[0].style.transform = L), F && (P[0].style.webkitTransform = F), n.roundLengths && (T = Math.floor(T));
|
|
22156
22156
|
} else
|
|
22157
22157
|
T = (o - (n.slidesPerView - 1) * w) / n.slidesPerView, n.roundLengths && (T = Math.floor(T)), c[N] && (c[N].style[e("width")] = T + "px");
|
|
22158
22158
|
c[N] && (c[N].swiperSlideSize = T), b.push(T), n.centeredSlides ? (m = m + T / 2 + _ / 2 + w, _ === 0 && N !== 0 && (m = m - o / 2 - w), N === 0 && (m = m - o / 2 - w), Math.abs(m) < 1 / 1e3 && (m = 0), n.roundLengths && (m = Math.floor(m)), A % n.slidesPerGroup === 0 && d.push(m), h.push(m)) : (n.roundLengths && (m = Math.floor(m)), (A - Math.min(t.params.slidesPerGroupSkip, A)) % t.params.slidesPerGroup === 0 && d.push(m), h.push(m), m = m + T + w), t.virtualSize += T + w, _ = T, A += 1;
|
|
@@ -24567,7 +24567,7 @@ const E4 = { class: "vc-slider tw-relative" }, S4 = { class: "vc-slider__prev tw
|
|
|
24567
24567
|
prevEl: ".vc-slider__prev"
|
|
24568
24568
|
}));
|
|
24569
24569
|
return (r, n) => (x(), B("div", E4, [
|
|
24570
|
-
oe(
|
|
24570
|
+
oe(I(w4), {
|
|
24571
24571
|
class: De([
|
|
24572
24572
|
"vc-slider__swiper",
|
|
24573
24573
|
{
|
|
@@ -24581,9 +24581,9 @@ const E4 = { class: "vc-slider tw-relative" }, S4 = { class: "vc-slider__prev tw
|
|
|
24581
24581
|
"resize-observer": !0
|
|
24582
24582
|
}, {
|
|
24583
24583
|
default: le(() => [
|
|
24584
|
-
(x(!0), B(je, null, ot(r.slides, (i, o) => (x(), we(
|
|
24584
|
+
(x(!0), B(je, null, ot(r.slides, (i, o) => (x(), we(I(_4), {
|
|
24585
24585
|
key: o,
|
|
24586
|
-
"swiper-ref":
|
|
24586
|
+
"swiper-ref": I(Di)
|
|
24587
24587
|
}, {
|
|
24588
24588
|
default: le(() => [
|
|
24589
24589
|
Le(r.$slots, "default", { slide: i }, void 0, !0)
|
|
@@ -24597,14 +24597,14 @@ const E4 = { class: "vc-slider tw-relative" }, S4 = { class: "vc-slider__prev tw
|
|
|
24597
24597
|
Y("div", S4, [
|
|
24598
24598
|
Le(r.$slots, "prevBtn", {}, () => [
|
|
24599
24599
|
Y("button", O4, [
|
|
24600
|
-
oe(
|
|
24600
|
+
oe(I(Ve), { icon: "fas fa-chevron-left" })
|
|
24601
24601
|
])
|
|
24602
24602
|
], !0)
|
|
24603
24603
|
]),
|
|
24604
24604
|
Y("div", T4, [
|
|
24605
24605
|
Le(r.$slots, "nextBtn", {}, () => [
|
|
24606
24606
|
Y("button", A4, [
|
|
24607
|
-
oe(
|
|
24607
|
+
oe(I(Ve), { icon: "fas fa-chevron-right" })
|
|
24608
24608
|
])
|
|
24609
24609
|
], !0)
|
|
24610
24610
|
])
|
|
@@ -24647,7 +24647,7 @@ const E4 = { class: "vc-slider tw-relative" }, S4 = { class: "vc-slider__prev tw
|
|
|
24647
24647
|
"vc-textarea_disabled": o.disabled
|
|
24648
24648
|
}])
|
|
24649
24649
|
}, [
|
|
24650
|
-
o.label ? (x(), we(
|
|
24650
|
+
o.label ? (x(), we(I(vn), {
|
|
24651
24651
|
key: 0,
|
|
24652
24652
|
class: "tw-mb-2",
|
|
24653
24653
|
required: o.required,
|
|
@@ -24678,7 +24678,7 @@ const E4 = { class: "vc-slider tw-relative" }, S4 = { class: "vc-slider__prev tw
|
|
|
24678
24678
|
}, null, 40, I4)
|
|
24679
24679
|
]),
|
|
24680
24680
|
o.errorMessage ? Le(o.$slots, "error", { key: 1 }, () => [
|
|
24681
|
-
oe(
|
|
24681
|
+
oe(I(Jr), { class: "vc-textarea__error" }, {
|
|
24682
24682
|
default: le(() => [
|
|
24683
24683
|
Re(ue(o.errorMessage), 1)
|
|
24684
24684
|
]),
|
|
@@ -24757,7 +24757,7 @@ const D4 = {
|
|
|
24757
24757
|
n("update:model-value", [...r.modelValue, m]), n("close"), g();
|
|
24758
24758
|
}
|
|
24759
24759
|
function p(m) {
|
|
24760
|
-
const _ =
|
|
24760
|
+
const _ = I(r.modelValue);
|
|
24761
24761
|
_.splice(m, 1), n("update:model-value", [..._]);
|
|
24762
24762
|
}
|
|
24763
24763
|
function v() {
|
|
@@ -24829,7 +24829,7 @@ const D4 = {
|
|
|
24829
24829
|
class: "vc-multivalue__field-wrapper"
|
|
24830
24830
|
}, [
|
|
24831
24831
|
(x(!0), B(je, null, ot(m.modelValue, (E, N) => (x(), B("div", {
|
|
24832
|
-
key: `${E?.id}_${
|
|
24832
|
+
key: `${E?.id}_${I(M0)()}`,
|
|
24833
24833
|
class: "vc-multivalue__field-value-wrapper"
|
|
24834
24834
|
}, [
|
|
24835
24835
|
E ? (x(), B("div", D4, [
|
|
@@ -24887,7 +24887,7 @@ const D4 = {
|
|
|
24887
24887
|
_: 3
|
|
24888
24888
|
}, 512)
|
|
24889
24889
|
], 4)), [
|
|
24890
|
-
[
|
|
24890
|
+
[I(ui), [y, { ignore: [i.value] }]]
|
|
24891
24891
|
]) : ie("", !0)
|
|
24892
24892
|
]))
|
|
24893
24893
|
])) : Ht((x(), B("input", {
|
|
@@ -24980,7 +24980,7 @@ const D4 = {
|
|
|
24980
24980
|
])) : ie("", !0),
|
|
24981
24981
|
n.type === "date-ago" ? (x(), B("div", G4, [
|
|
24982
24982
|
Y("div", W4, [
|
|
24983
|
-
Y("p", null, ue(
|
|
24983
|
+
Y("p", null, ue(I(xe)(n.value).fromNow() ?? "N/A"), 1)
|
|
24984
24984
|
])
|
|
24985
24985
|
])) : ie("", !0),
|
|
24986
24986
|
n.type === "link" ? (x(), B("div", z4, [
|
|
@@ -25035,11 +25035,11 @@ const D4 = {
|
|
|
25035
25035
|
"tw-flex "
|
|
25036
25036
|
])
|
|
25037
25037
|
}, [
|
|
25038
|
-
oe(
|
|
25038
|
+
oe(I(so), {
|
|
25039
25039
|
size: r.aspectRatio[0]
|
|
25040
25040
|
}, {
|
|
25041
25041
|
default: le(() => [
|
|
25042
|
-
r.label ? (x(), we(
|
|
25042
|
+
r.label ? (x(), we(I(vn), { key: 0 }, xr({
|
|
25043
25043
|
default: le(() => [
|
|
25044
25044
|
Y("span", null, ue(r.label), 1)
|
|
25045
25045
|
]),
|
|
@@ -25056,7 +25056,7 @@ const D4 = {
|
|
|
25056
25056
|
]),
|
|
25057
25057
|
_: 1
|
|
25058
25058
|
}, 8, ["size"]),
|
|
25059
|
-
oe(
|
|
25059
|
+
oe(I(so), {
|
|
25060
25060
|
size: r.aspectRatio[1]
|
|
25061
25061
|
}, {
|
|
25062
25062
|
default: le(() => [
|
|
@@ -30363,7 +30363,7 @@ const r_ = sc(IU), LU = (t) => {
|
|
|
30363
30363
|
window.removeEventListener("beforeunload", e);
|
|
30364
30364
|
});
|
|
30365
30365
|
function e(r) {
|
|
30366
|
-
|
|
30366
|
+
I(t) && r.preventDefault();
|
|
30367
30367
|
}
|
|
30368
30368
|
return {
|
|
30369
30369
|
modified: t
|
|
@@ -31397,9 +31397,9 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31397
31397
|
}
|
|
31398
31398
|
return (p, v) => {
|
|
31399
31399
|
const y = $e("VcIcon"), g = $e("VcLabel"), w = $e("VcHint"), m = $e("VcCol"), _ = $e("VcLink"), A = $e("VcButton"), S = $e("VcRow");
|
|
31400
|
-
return x(), we(
|
|
31400
|
+
return x(), we(I(iE), {
|
|
31401
31401
|
title: p.options?.asset?.name,
|
|
31402
|
-
subtitle:
|
|
31402
|
+
subtitle: I(s)("ASSETS.PAGES.DETAILS.SUBTITLE"),
|
|
31403
31403
|
expanded: p.expanded,
|
|
31404
31404
|
closable: p.closable,
|
|
31405
31405
|
"toolbar-items": f.value,
|
|
@@ -31410,14 +31410,14 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31410
31410
|
default: le(() => [
|
|
31411
31411
|
Y("div", WU, [
|
|
31412
31412
|
Y("div", zU, [
|
|
31413
|
-
oe(
|
|
31413
|
+
oe(I(mo), { "no-padding": !0 }, {
|
|
31414
31414
|
default: le(() => [
|
|
31415
31415
|
Y("div", YU, [
|
|
31416
|
-
oe(
|
|
31416
|
+
oe(I(Nh), null, {
|
|
31417
31417
|
default: le(() => [
|
|
31418
31418
|
oe(S, { class: "tw-mb-4 !tw-flex" }, {
|
|
31419
31419
|
default: le(() => [
|
|
31420
|
-
|
|
31420
|
+
I(Vd)(a.value.name) ? (x(), we(I(Pa), {
|
|
31421
31421
|
key: 0,
|
|
31422
31422
|
src: a.value.url,
|
|
31423
31423
|
size: "xl",
|
|
@@ -31425,7 +31425,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31425
31425
|
class: "tw-shrink-0"
|
|
31426
31426
|
}, null, 8, ["src"])) : (x(), we(y, {
|
|
31427
31427
|
key: 1,
|
|
31428
|
-
icon:
|
|
31428
|
+
icon: I(Hd)(a.value.name),
|
|
31429
31429
|
class: "tw-text-[#a9bfd2] tw-text-[128px] tw-shrink-0"
|
|
31430
31430
|
}, null, 8, ["icon"])),
|
|
31431
31431
|
oe(m, { class: "tw-ml-6" }, {
|
|
@@ -31436,13 +31436,13 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31436
31436
|
default: le(() => [
|
|
31437
31437
|
oe(g, null, {
|
|
31438
31438
|
default: le(() => [
|
|
31439
|
-
Re(ue(
|
|
31439
|
+
Re(ue(I(s)("ASSETS.PAGES.DETAILS.FIELDS.SIZE")), 1)
|
|
31440
31440
|
]),
|
|
31441
31441
|
_: 1
|
|
31442
31442
|
}),
|
|
31443
31443
|
oe(w, { class: "tw-text-s" }, {
|
|
31444
31444
|
default: le(() => [
|
|
31445
|
-
Re(ue(
|
|
31445
|
+
Re(ue(I(qd)(a.value.size)), 1)
|
|
31446
31446
|
]),
|
|
31447
31447
|
_: 1
|
|
31448
31448
|
})
|
|
@@ -31453,13 +31453,13 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31453
31453
|
default: le(() => [
|
|
31454
31454
|
oe(g, null, {
|
|
31455
31455
|
default: le(() => [
|
|
31456
|
-
Re(ue(
|
|
31456
|
+
Re(ue(I(s)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE")), 1)
|
|
31457
31457
|
]),
|
|
31458
31458
|
_: 1
|
|
31459
31459
|
}),
|
|
31460
31460
|
oe(w, { class: "tw-text-s" }, {
|
|
31461
31461
|
default: le(() => [
|
|
31462
|
-
Re(ue(a.value.createdDate &&
|
|
31462
|
+
Re(ue(a.value.createdDate && I(xe)(a.value.createdDate).fromNow() || "N/A"), 1)
|
|
31463
31463
|
]),
|
|
31464
31464
|
_: 1
|
|
31465
31465
|
})
|
|
@@ -31470,7 +31470,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31470
31470
|
default: le(() => [
|
|
31471
31471
|
oe(g, null, {
|
|
31472
31472
|
default: le(() => [
|
|
31473
|
-
Re(ue(
|
|
31473
|
+
Re(ue(I(s)("ASSETS.PAGES.DETAILS.FIELDS.URL")), 1)
|
|
31474
31474
|
]),
|
|
31475
31475
|
_: 1
|
|
31476
31476
|
}),
|
|
@@ -31491,7 +31491,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31491
31491
|
size: "m",
|
|
31492
31492
|
class: "tw-ml-2",
|
|
31493
31493
|
text: "",
|
|
31494
|
-
title:
|
|
31494
|
+
title: I(s)("ASSETS.PAGES.DETAILS.FIELDS.COPY"),
|
|
31495
31495
|
onClick: v[1] || (v[1] = (T) => h(a.value.url))
|
|
31496
31496
|
}, null, 8, ["title"])
|
|
31497
31497
|
])
|
|
@@ -31507,48 +31507,48 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31507
31507
|
]),
|
|
31508
31508
|
_: 1
|
|
31509
31509
|
}),
|
|
31510
|
-
oe(
|
|
31511
|
-
label:
|
|
31510
|
+
oe(I(jr), {
|
|
31511
|
+
label: I(s)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
|
|
31512
31512
|
name: "asset_name",
|
|
31513
31513
|
rules: "required",
|
|
31514
31514
|
"model-value": a.value.name
|
|
31515
31515
|
}, {
|
|
31516
31516
|
default: le(({ errorMessage: T, handleChange: C, errors: O }) => [
|
|
31517
|
-
oe(
|
|
31517
|
+
oe(I($r), {
|
|
31518
31518
|
modelValue: u.value,
|
|
31519
31519
|
"onUpdate:modelValue": [
|
|
31520
31520
|
v[2] || (v[2] = (E) => u.value = E),
|
|
31521
31521
|
C
|
|
31522
31522
|
],
|
|
31523
31523
|
class: "tw-mb-4",
|
|
31524
|
-
label:
|
|
31524
|
+
label: I(s)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
|
|
31525
31525
|
clearable: "",
|
|
31526
31526
|
required: "",
|
|
31527
31527
|
error: !!O.length,
|
|
31528
31528
|
"error-message": T,
|
|
31529
|
-
placeholder:
|
|
31529
|
+
placeholder: I(s)("ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER"),
|
|
31530
31530
|
disabled: l.value
|
|
31531
31531
|
}, null, 8, ["modelValue", "label", "error", "error-message", "placeholder", "disabled", "onUpdate:modelValue"])
|
|
31532
31532
|
]),
|
|
31533
31533
|
_: 1
|
|
31534
31534
|
}, 8, ["label", "model-value"]),
|
|
31535
|
-
d.value === "Image" ? (x(), we(
|
|
31535
|
+
d.value === "Image" ? (x(), we(I($r), {
|
|
31536
31536
|
key: 0,
|
|
31537
31537
|
modelValue: a.value.altText,
|
|
31538
31538
|
"onUpdate:modelValue": v[3] || (v[3] = (T) => a.value.altText = T),
|
|
31539
31539
|
class: "tw-mb-4",
|
|
31540
|
-
label:
|
|
31540
|
+
label: I(s)("ASSETS.PAGES.DETAILS.FIELDS.ALT.TITLE"),
|
|
31541
31541
|
clearable: "",
|
|
31542
|
-
placeholder:
|
|
31543
|
-
tooltip:
|
|
31542
|
+
placeholder: I(s)("ASSETS.PAGES.DETAILS.FIELDS.ALT.PLACEHOLDER"),
|
|
31543
|
+
tooltip: I(s)("ASSETS.PAGES.DETAILS.FIELDS.ALT.TOOLTIP"),
|
|
31544
31544
|
disabled: l.value
|
|
31545
31545
|
}, null, 8, ["modelValue", "label", "placeholder", "tooltip", "disabled"])) : ie("", !0),
|
|
31546
|
-
oe(
|
|
31546
|
+
oe(I(vc), {
|
|
31547
31547
|
modelValue: a.value.description,
|
|
31548
31548
|
"onUpdate:modelValue": v[4] || (v[4] = (T) => a.value.description = T),
|
|
31549
31549
|
class: "tw-mb-4",
|
|
31550
|
-
label:
|
|
31551
|
-
placeholder:
|
|
31550
|
+
label: I(s)("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.TITLE"),
|
|
31551
|
+
placeholder: I(s)("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.PLACEHOLDER"),
|
|
31552
31552
|
disabled: l.value
|
|
31553
31553
|
}, null, 8, ["modelValue", "label", "placeholder", "disabled"])
|
|
31554
31554
|
]),
|
|
@@ -31614,7 +31614,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31614
31614
|
])
|
|
31615
31615
|
])) : ie("", !0)
|
|
31616
31616
|
])), [
|
|
31617
|
-
[
|
|
31617
|
+
[I(ui), c]
|
|
31618
31618
|
]);
|
|
31619
31619
|
}
|
|
31620
31620
|
}), lB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -34880,7 +34880,7 @@ const f6 = ["innerHTML"], d6 = /* @__PURE__ */ Ae({
|
|
|
34880
34880
|
__name: "vc-popup-container",
|
|
34881
34881
|
setup(t) {
|
|
34882
34882
|
const e = c6();
|
|
34883
|
-
return (r, n) => (x(!0), B(je, null, ot(
|
|
34883
|
+
return (r, n) => (x(!0), B(je, null, ot(I(e)?.popups, (i) => (x(), we(Kn(i.component), Lt({
|
|
34884
34884
|
key: i.id
|
|
34885
34885
|
}, { ...i.props, ...i.emits }, {
|
|
34886
34886
|
onClose: () => i.close?.()
|
|
@@ -35597,7 +35597,7 @@ Ae({ name: "Description", props: { as: { type: [Object, String], default: "p" },
|
|
|
35597
35597
|
var n;
|
|
35598
35598
|
let i = (n = t.id) != null ? n : `headlessui-description-${So()}`, o = K6();
|
|
35599
35599
|
return ct(() => zr(o.register(i))), () => {
|
|
35600
|
-
let { name: s = "Description", slot: a = K({}), props: l = {} } = o, { ...u } = t, c = { ...Object.entries(l).reduce((f, [d, h]) => Object.assign(f, { [d]:
|
|
35600
|
+
let { name: s = "Description", slot: a = K({}), props: l = {} } = o, { ...u } = t, c = { ...Object.entries(l).reduce((f, [d, h]) => Object.assign(f, { [d]: I(h) }), {}), id: i };
|
|
35601
35601
|
return Hr({ ourProps: c, theirProps: u, slot: a.value, attrs: e, slots: r, name: s });
|
|
35602
35602
|
};
|
|
35603
35603
|
} });
|
|
@@ -35686,40 +35686,40 @@ let Ul = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", rq = Ae({ name: "Dialog", inher
|
|
|
35686
35686
|
if (typeof h.value != "boolean")
|
|
35687
35687
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value === Ul ? void 0 : t.open}`);
|
|
35688
35688
|
let v = re(() => l.value && h.value ? 0 : 1), y = re(() => v.value === 0), g = re(() => f.value > 1), w = Ot(lh, null) !== null, [m, _] = Q6(), { resolveContainers: A, mainTreeNodeRef: S, MainTreeNode: T } = W6({ portals: m, defaultContainers: [re(() => {
|
|
35689
|
-
var
|
|
35690
|
-
return (
|
|
35689
|
+
var L;
|
|
35690
|
+
return (L = Z.panelRef.value) != null ? L : b.value;
|
|
35691
35691
|
})] }), C = re(() => g.value ? "parent" : "leaf"), O = re(() => d !== null ? (d.value & Lr.Closing) === Lr.Closing : !1), E = re(() => w || O.value ? !1 : y.value), N = re(() => {
|
|
35692
|
-
var
|
|
35693
|
-
return (H = Array.from((F = (
|
|
35692
|
+
var L, F, H;
|
|
35693
|
+
return (H = Array.from((F = (L = p.value) == null ? void 0 : L.querySelectorAll("body > *")) != null ? F : []).find((ne) => ne.id === "headlessui-portal-root" ? !1 : ne.contains(zt(S)) && ne instanceof HTMLElement)) != null ? H : null;
|
|
35694
35694
|
});
|
|
35695
35695
|
py(N, E);
|
|
35696
35696
|
let P = re(() => g.value ? !0 : y.value), D = re(() => {
|
|
35697
|
-
var
|
|
35698
|
-
return (H = Array.from((F = (
|
|
35697
|
+
var L, F, H;
|
|
35698
|
+
return (H = Array.from((F = (L = p.value) == null ? void 0 : L.querySelectorAll("[data-headlessui-portal]")) != null ? F : []).find((ne) => ne.contains(zt(S)) && ne instanceof HTMLElement)) != null ? H : null;
|
|
35699
35699
|
});
|
|
35700
|
-
py(D, P), J6({ type: "Dialog", enabled: re(() => v.value === 0), element: b, onUpdate: (
|
|
35700
|
+
py(D, P), J6({ type: "Dialog", enabled: re(() => v.value === 0), element: b, onUpdate: (L, F) => {
|
|
35701
35701
|
if (F === "Dialog")
|
|
35702
|
-
return In(
|
|
35702
|
+
return In(L, { [sh.Add]: () => f.value += 1, [sh.Remove]: () => f.value -= 1 });
|
|
35703
35703
|
} });
|
|
35704
|
-
let M = Z6({ name: "DialogDescription", slot: re(() => ({ open: h.value })) }), G = K(null), Z = { titleId: G, panelRef: K(null), dialogState: v, setTitleId(
|
|
35705
|
-
G.value !==
|
|
35704
|
+
let M = Z6({ name: "DialogDescription", slot: re(() => ({ open: h.value })) }), G = K(null), Z = { titleId: G, panelRef: K(null), dialogState: v, setTitleId(L) {
|
|
35705
|
+
G.value !== L && (G.value = L);
|
|
35706
35706
|
}, close() {
|
|
35707
35707
|
e("close", !1);
|
|
35708
35708
|
} };
|
|
35709
35709
|
Cr(lh, Z);
|
|
35710
35710
|
let de = re(() => !(!y.value || g.value));
|
|
35711
|
-
C6(A, (
|
|
35711
|
+
C6(A, (L, F) => {
|
|
35712
35712
|
Z.close(), Vt(() => F?.focus());
|
|
35713
35713
|
}, de);
|
|
35714
35714
|
let J = re(() => !(g.value || v.value !== 0));
|
|
35715
|
-
A1((s = p.value) == null ? void 0 : s.defaultView, "keydown", (
|
|
35716
|
-
J.value && (
|
|
35715
|
+
A1((s = p.value) == null ? void 0 : s.defaultView, "keydown", (L) => {
|
|
35716
|
+
J.value && (L.defaultPrevented || L.key === T1.Escape && (L.preventDefault(), L.stopPropagation(), Z.close()));
|
|
35717
35717
|
});
|
|
35718
35718
|
let U = re(() => !(O.value || v.value !== 0 || w));
|
|
35719
|
-
return G6(p, U, (
|
|
35719
|
+
return G6(p, U, (L) => {
|
|
35720
35720
|
var F;
|
|
35721
|
-
return { containers: [...(F =
|
|
35722
|
-
}), Yr((
|
|
35721
|
+
return { containers: [...(F = L.containers) != null ? F : [], A] };
|
|
35722
|
+
}), Yr((L) => {
|
|
35723
35723
|
if (v.value !== 0)
|
|
35724
35724
|
return;
|
|
35725
35725
|
let F = zt(b);
|
|
@@ -35731,9 +35731,9 @@ let Ul = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", rq = Ae({ name: "Dialog", inher
|
|
|
35731
35731
|
j.x === 0 && j.y === 0 && j.width === 0 && j.height === 0 && Z.close();
|
|
35732
35732
|
}
|
|
35733
35733
|
});
|
|
35734
|
-
H.observe(F),
|
|
35734
|
+
H.observe(F), L(() => H.disconnect());
|
|
35735
35735
|
}), () => {
|
|
35736
|
-
let { open:
|
|
35736
|
+
let { open: L, initialFocus: F, ...H } = t, ne = { ...r, ref: b, id: a, role: c.value, "aria-modal": v.value === 0 ? !0 : void 0, "aria-labelledby": G.value, "aria-describedby": M.value }, W = { open: v.value === 0 };
|
|
35737
35737
|
return Te(oh, { force: !0 }, () => [Te(L1, () => Te(eq, { target: b.value }, () => Te(oh, { force: !1 }, () => Te(Fs, { initialFocus: F, containers: A, features: y.value ? In(C.value, { parent: Fs.features.RestoreFocus, leaf: Fs.features.All & ~Fs.features.FocusLock }) : Fs.features.None }, () => Te(_, {}, () => Hr({ ourProps: ne, theirProps: { ...H, ...r }, slot: W, attrs: r, slots: n, visible: v.value === 0, features: xu.RenderStrategy | xu.Static, name: "Dialog" })))))), Te(T)]);
|
|
35738
35738
|
};
|
|
35739
35739
|
} });
|
|
@@ -35908,7 +35908,7 @@ let $1 = xu.RenderStrategy, ch = Ae({ props: { as: { type: [Object, String], def
|
|
|
35908
35908
|
N(M), y.value = !1;
|
|
35909
35909
|
}, { immediate: !0 });
|
|
35910
35910
|
}), Cr(Im, m), I6(re(() => In(v.value, { visible: Lr.Open, hidden: Lr.Closed }) | o.value)), () => {
|
|
35911
|
-
let { appear: P, show: D, enter: M, enterFrom: G, enterTo: Z, entered: de, leave: J, leaveFrom: U, leaveTo:
|
|
35911
|
+
let { appear: P, show: D, enter: M, enterFrom: G, enterTo: Z, entered: de, leave: J, leaveFrom: U, leaveTo: L, ...F } = t, H = { ref: c }, ne = { ...F, ...h.value && d.value && el.isServer ? { class: De([r.class, F.class, ..._, ...A]) } : {} };
|
|
35912
35912
|
return Hr({ theirProps: ne, ourProps: H, slot: {}, slots: n, attrs: r, features: $1, visible: v.value === "visible", name: "TransitionChild" });
|
|
35913
35913
|
};
|
|
35914
35914
|
} }), fq = ch, M1 = Ae({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: r, slots: n }) {
|
|
@@ -35984,19 +35984,19 @@ const dq = /* @__PURE__ */ Y("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
35984
35984
|
}
|
|
35985
35985
|
return (u, c) => {
|
|
35986
35986
|
const f = $e("VcIcon"), d = $e("VcButton");
|
|
35987
|
-
return x(), we(
|
|
35987
|
+
return x(), we(I(M1), {
|
|
35988
35988
|
appear: "",
|
|
35989
35989
|
show: "",
|
|
35990
35990
|
as: "template"
|
|
35991
35991
|
}, {
|
|
35992
35992
|
default: le(() => [
|
|
35993
|
-
oe(
|
|
35993
|
+
oe(I(rq), {
|
|
35994
35994
|
as: "div",
|
|
35995
35995
|
class: "tw-relative tw-z-10",
|
|
35996
35996
|
onClose: l
|
|
35997
35997
|
}, {
|
|
35998
35998
|
default: le(() => [
|
|
35999
|
-
oe(
|
|
35999
|
+
oe(I(ch), {
|
|
36000
36000
|
as: "template",
|
|
36001
36001
|
enter: "tw-duration-300 tw-ease-out",
|
|
36002
36002
|
"enter-from": "tw-opacity-0",
|
|
@@ -36017,7 +36017,7 @@ const dq = /* @__PURE__ */ Y("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
36017
36017
|
}])
|
|
36018
36018
|
}, [
|
|
36019
36019
|
Y("div", hq, [
|
|
36020
|
-
oe(
|
|
36020
|
+
oe(I(ch), {
|
|
36021
36021
|
as: "template",
|
|
36022
36022
|
enter: "tw-duration-300 tw-ease-out",
|
|
36023
36023
|
"enter-from": "tw-opacity-0 tw-scale-95",
|
|
@@ -36027,7 +36027,7 @@ const dq = /* @__PURE__ */ Y("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
36027
36027
|
"leave-to": "tw-opacity-0 tw-scale-95"
|
|
36028
36028
|
}, {
|
|
36029
36029
|
default: le(() => [
|
|
36030
|
-
oe(
|
|
36030
|
+
oe(I(nq), {
|
|
36031
36031
|
class: De(["tw-w-full tw-transform tw-overflow-hidden tw-rounded-[5px] tw-bg-white tw-text-left tw-align-middle tw-shadow-xl tw-transition-all", [
|
|
36032
36032
|
{
|
|
36033
36033
|
"tw-flex tw-flex-col [max-height:calc(100vh-40px)]": !a.value,
|
|
@@ -36038,7 +36038,7 @@ const dq = /* @__PURE__ */ Y("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
36038
36038
|
]])
|
|
36039
36039
|
}, {
|
|
36040
36040
|
default: le(() => [
|
|
36041
|
-
oe(
|
|
36041
|
+
oe(I(iq), {
|
|
36042
36042
|
as: "h3",
|
|
36043
36043
|
class: "tw-text-[18px] tw-font-semibold tw-leading-5 tw-text-[var(--header-color)] tw-flex tw-px-6 tw-py-5"
|
|
36044
36044
|
}, {
|
|
@@ -36186,10 +36186,10 @@ function vy() {
|
|
|
36186
36186
|
function Ss(t) {
|
|
36187
36187
|
const { t: e } = mt({ useScope: "global" }), r = vy();
|
|
36188
36188
|
let n;
|
|
36189
|
-
t && (n = u(
|
|
36189
|
+
t && (n = u(I(t))), Ge(
|
|
36190
36190
|
() => t,
|
|
36191
36191
|
(c) => {
|
|
36192
|
-
c && (n = u(
|
|
36192
|
+
c && (n = u(I(c)));
|
|
36193
36193
|
},
|
|
36194
36194
|
{ deep: !0 }
|
|
36195
36195
|
);
|
|
@@ -36295,22 +36295,22 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36295
36295
|
(u.password || u.confirmPassword) && (u.errors = (await s(u.password)).errors ?? [], u.confirmPassword !== u.password && u.errors.push({ code: "Repeat-password" }), u.confirmPassword === u.currentPassword && u.password === u.currentPassword && u.errors.push({ code: "Equal-passwords" }), u.isValid = u.errors.length == 0);
|
|
36296
36296
|
});
|
|
36297
36297
|
}
|
|
36298
|
-
return (h, b) => (x(), we(
|
|
36299
|
-
title:
|
|
36298
|
+
return (h, b) => (x(), we(I(nl), {
|
|
36299
|
+
title: I(n)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
|
|
36300
36300
|
"is-mobile-fullscreen": "",
|
|
36301
36301
|
onClose: b[4] || (b[4] = (p) => h.$emit("close"))
|
|
36302
36302
|
}, {
|
|
36303
36303
|
content: le(() => [
|
|
36304
|
-
oe(
|
|
36304
|
+
oe(I(Nh), { class: "tw-flex tw-flex-col tw-flex-auto" }, {
|
|
36305
36305
|
default: le(() => [
|
|
36306
|
-
oe(
|
|
36307
|
-
label:
|
|
36306
|
+
oe(I(jr), {
|
|
36307
|
+
label: I(n)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
36308
36308
|
name: "current",
|
|
36309
36309
|
rules: "required|min:6",
|
|
36310
36310
|
"model-value": u.currentPassword
|
|
36311
36311
|
}, {
|
|
36312
36312
|
default: le(({ field: p, errorMessage: v, errors: y }) => [
|
|
36313
|
-
oe(
|
|
36313
|
+
oe(I($r), Lt(p, {
|
|
36314
36314
|
ref: "passwordField",
|
|
36315
36315
|
modelValue: u.currentPassword,
|
|
36316
36316
|
"onUpdate:modelValue": [
|
|
@@ -36318,8 +36318,8 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36318
36318
|
d
|
|
36319
36319
|
],
|
|
36320
36320
|
class: "tw-mb-4 tw-mt-1",
|
|
36321
|
-
label:
|
|
36322
|
-
placeholder:
|
|
36321
|
+
label: I(n)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
36322
|
+
placeholder: I(n)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.PLACEHOLDER"),
|
|
36323
36323
|
type: "password",
|
|
36324
36324
|
required: "",
|
|
36325
36325
|
error: !!y.length,
|
|
@@ -36328,14 +36328,14 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36328
36328
|
]),
|
|
36329
36329
|
_: 1
|
|
36330
36330
|
}, 8, ["label", "model-value"]),
|
|
36331
|
-
oe(
|
|
36332
|
-
label:
|
|
36331
|
+
oe(I(jr), {
|
|
36332
|
+
label: I(n)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
36333
36333
|
name: "new_pass",
|
|
36334
36334
|
rules: "required|min:6",
|
|
36335
36335
|
"model-value": u.password
|
|
36336
36336
|
}, {
|
|
36337
36337
|
default: le(({ field: p, errorMessage: v, errors: y }) => [
|
|
36338
|
-
oe(
|
|
36338
|
+
oe(I($r), Lt(p, {
|
|
36339
36339
|
ref: "newPasswordField",
|
|
36340
36340
|
modelValue: u.password,
|
|
36341
36341
|
"onUpdate:modelValue": [
|
|
@@ -36343,8 +36343,8 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36343
36343
|
d
|
|
36344
36344
|
],
|
|
36345
36345
|
class: "tw-mb-4 tw-mt-1",
|
|
36346
|
-
label:
|
|
36347
|
-
placeholder:
|
|
36346
|
+
label: I(n)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
36347
|
+
placeholder: I(n)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.PLACEHOLDER"),
|
|
36348
36348
|
type: "password",
|
|
36349
36349
|
required: "",
|
|
36350
36350
|
error: !!y.length,
|
|
@@ -36353,14 +36353,14 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36353
36353
|
]),
|
|
36354
36354
|
_: 1
|
|
36355
36355
|
}, 8, ["label", "model-value"]),
|
|
36356
|
-
oe(
|
|
36357
|
-
label:
|
|
36356
|
+
oe(I(jr), {
|
|
36357
|
+
label: I(n)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
36358
36358
|
name: "confirm_pass",
|
|
36359
36359
|
rules: "required|min:6",
|
|
36360
36360
|
"model-value": u.confirmPassword
|
|
36361
36361
|
}, {
|
|
36362
36362
|
default: le(({ field: p, errorMessage: v, errors: y }) => [
|
|
36363
|
-
oe(
|
|
36363
|
+
oe(I($r), Lt(p, {
|
|
36364
36364
|
ref: "confirmPasswordField",
|
|
36365
36365
|
modelValue: u.confirmPassword,
|
|
36366
36366
|
"onUpdate:modelValue": [
|
|
@@ -36368,8 +36368,8 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36368
36368
|
d
|
|
36369
36369
|
],
|
|
36370
36370
|
class: "tw-mb-4",
|
|
36371
|
-
label:
|
|
36372
|
-
placeholder:
|
|
36371
|
+
label: I(n)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
36372
|
+
placeholder: I(n)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.PLACEHOLDER"),
|
|
36373
36373
|
type: "password",
|
|
36374
36374
|
required: "",
|
|
36375
36375
|
error: !!y.length,
|
|
@@ -36385,32 +36385,32 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36385
36385
|
footer: le(() => [
|
|
36386
36386
|
Y("div", Sq, [
|
|
36387
36387
|
Y("div", Oq, [
|
|
36388
|
-
oe(
|
|
36388
|
+
oe(I(ln), {
|
|
36389
36389
|
outline: !0,
|
|
36390
36390
|
class: "tw-mr-3",
|
|
36391
36391
|
onClick: b[3] || (b[3] = (p) => h.$emit("close"))
|
|
36392
36392
|
}, {
|
|
36393
36393
|
default: le(() => [
|
|
36394
|
-
Re(ue(
|
|
36394
|
+
Re(ue(I(n)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
|
|
36395
36395
|
]),
|
|
36396
36396
|
_: 1
|
|
36397
36397
|
}),
|
|
36398
|
-
oe(
|
|
36399
|
-
disabled:
|
|
36398
|
+
oe(I(ln), {
|
|
36399
|
+
disabled: I(o) || !u.isValid || c.value,
|
|
36400
36400
|
onClick: f
|
|
36401
36401
|
}, {
|
|
36402
36402
|
default: le(() => [
|
|
36403
|
-
Re(ue(
|
|
36403
|
+
Re(ue(I(n)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
|
|
36404
36404
|
]),
|
|
36405
36405
|
_: 1
|
|
36406
36406
|
}, 8, ["disabled"])
|
|
36407
36407
|
]),
|
|
36408
|
-
(x(!0), B(je, null, ot(u.errors, (p, v) => (x(), we(
|
|
36408
|
+
(x(!0), B(je, null, ot(u.errors, (p, v) => (x(), we(I(Jr), {
|
|
36409
36409
|
key: v,
|
|
36410
36410
|
class: "tw-mt-3 !tw-text-[#f14e4e]"
|
|
36411
36411
|
}, {
|
|
36412
36412
|
default: le(() => [
|
|
36413
|
-
Re(ue(p.code ?
|
|
36413
|
+
Re(ue(p.code ? I(n)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${p.code}`) : p), 1)
|
|
36414
36414
|
]),
|
|
36415
36415
|
_: 2
|
|
36416
36416
|
}, 1024))), 128))
|
|
@@ -36445,13 +36445,13 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36445
36445
|
"tw-relative tw-h-full tw-flex tw-items-center tw-justify-center tw-w-[var(--app-bar-button-width)] tw-border-l tw-border-solid tw-border-l-[color:var(--app-bar-button-border-color)] tw-cursor-pointer tw-text-[color:var(--app-bar-button-color)] tw-bg-[color:var(--app-bar-button-background-color)] tw-transition-[color] tw-duration-200 hover:tw-text-[color:var(--app-bar-button-color-hover)] hover:tw-bg-[color:var(--app-bar-button-background-color-hover)]"
|
|
36446
36446
|
])
|
|
36447
36447
|
}, [
|
|
36448
|
-
oe(
|
|
36448
|
+
oe(I(Ve), {
|
|
36449
36449
|
icon: "fas fa-globe",
|
|
36450
36450
|
size: "xl"
|
|
36451
36451
|
})
|
|
36452
36452
|
], 2),
|
|
36453
36453
|
i.value ? (x(), B("div", kq, [
|
|
36454
|
-
(x(!0), B(je, null, ot(
|
|
36454
|
+
(x(!0), B(je, null, ot(I(o), (l, u) => (x(), B("div", {
|
|
36455
36455
|
key: u,
|
|
36456
36456
|
class: "tw-p-3 tw-text-lg tw-text-black tw-border-l tw-border-solid tw-border-l-[#eef0f2] tw-border-b tw-border-b-[#eef0f2] tw-white tw-cursor-pointer hover:tw-bg-[#eff7fc]",
|
|
36457
36457
|
onClick: (c) => l.hasOwnProperty("clickHandler") && l.clickHandler(l.lang)
|
|
@@ -36459,7 +36459,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36459
36459
|
])) : ie("", !0)
|
|
36460
36460
|
], 8, Nq)), [
|
|
36461
36461
|
[
|
|
36462
|
-
|
|
36462
|
+
I(ui),
|
|
36463
36463
|
() => {
|
|
36464
36464
|
i.value = !1;
|
|
36465
36465
|
}
|
|
@@ -36515,18 +36515,18 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36515
36515
|
key: 0,
|
|
36516
36516
|
class: "user-dropdown-button__avatar",
|
|
36517
36517
|
style: Et(d.value)
|
|
36518
|
-
}, null, 4)) : (x(), we(
|
|
36518
|
+
}, null, 4)) : (x(), we(I(Ve), {
|
|
36519
36519
|
key: 1,
|
|
36520
36520
|
icon: "fas fa-user-circle",
|
|
36521
36521
|
size: "xxl",
|
|
36522
36522
|
class: "tw-text-[color:var(--app-bar-button-color)]"
|
|
36523
36523
|
})),
|
|
36524
36524
|
Y("div", Iq, [
|
|
36525
|
-
Y("div", Lq, ue(h.name ||
|
|
36526
|
-
Y("div", Dq, ue(h.role && h.$t(`SHELL.USER.ROLE.${h.role}`) || (
|
|
36525
|
+
Y("div", Lq, ue(h.name || I(r)?.userName), 1),
|
|
36526
|
+
Y("div", Dq, ue(h.role && h.$t(`SHELL.USER.ROLE.${h.role}`) || (I(r)?.isAdministrator ? h.$t("SHELL.USER.ROLE.ADMINISTRATOR") : "")), 1)
|
|
36527
36527
|
]),
|
|
36528
36528
|
!h.disabled && u.value && u.value.length ? (x(), B("div", Rq, [
|
|
36529
|
-
oe(
|
|
36529
|
+
oe(I(Ve), {
|
|
36530
36530
|
icon: "fas fa-chevron-down",
|
|
36531
36531
|
size: "xl"
|
|
36532
36532
|
})
|
|
@@ -36544,7 +36544,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36544
36544
|
}, ue(p.title), 9, $q))), 128))
|
|
36545
36545
|
])) : ie("", !0)
|
|
36546
36546
|
], 2)), [
|
|
36547
|
-
[
|
|
36547
|
+
[I(ui), f]
|
|
36548
36548
|
]);
|
|
36549
36549
|
}
|
|
36550
36550
|
}), Vl = Mq, jq = { class: "tw-flex flex-row tw-justify-between tw-grow tw-basis-0" }, Fq = { class: "tw-flex tw-items-center" }, Uq = { class: "tw-flex tw-shrink-0" }, Bq = { class: "tw-text-s tw-leading-[18px] tw-text-[#8e8e8e] tw-m-0" }, Vq = /* @__PURE__ */ Ae({
|
|
@@ -36563,7 +36563,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36563
36563
|
class: "tw-w-[41px] tw-h-[41px] tw-rounded-full tw-text-white tw-mr-4 tw-flex tw-items-center tw-justify-center tw-shrink-0",
|
|
36564
36564
|
style: Et({ "background-color": i.color })
|
|
36565
36565
|
}, [
|
|
36566
|
-
oe(
|
|
36566
|
+
oe(I(Ve), {
|
|
36567
36567
|
icon: i.icon,
|
|
36568
36568
|
size: "l"
|
|
36569
36569
|
}, null, 8, ["icon"])
|
|
@@ -36599,9 +36599,9 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36599
36599
|
return (a, l) => {
|
|
36600
36600
|
const u = $e("VcHint");
|
|
36601
36601
|
return x(), B("div", qq, [
|
|
36602
|
-
oe(
|
|
36602
|
+
oe(I(Qs), { class: "tw-justify-between tw-grow tw-basis-0" }, {
|
|
36603
36603
|
default: le(() => [
|
|
36604
|
-
o.value ? (x(), we(s, { key: 0 })) : (x(), we(
|
|
36604
|
+
o.value ? (x(), we(s, { key: 0 })) : (x(), we(I(Hq), {
|
|
36605
36605
|
key: 1,
|
|
36606
36606
|
color: i.value.color,
|
|
36607
36607
|
title: a.notification.title ?? "",
|
|
@@ -36656,7 +36656,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36656
36656
|
}
|
|
36657
36657
|
])
|
|
36658
36658
|
}, [
|
|
36659
|
-
oe(
|
|
36659
|
+
oe(I(Ve), {
|
|
36660
36660
|
icon: "fas fa-bell",
|
|
36661
36661
|
size: "xl"
|
|
36662
36662
|
}),
|
|
@@ -36679,40 +36679,40 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36679
36679
|
}])
|
|
36680
36680
|
}, [
|
|
36681
36681
|
u.$isMobile.value ? (x(), B("div", zq, [
|
|
36682
|
-
oe(
|
|
36682
|
+
oe(I(Ve), {
|
|
36683
36683
|
icon: "fas fa-times",
|
|
36684
36684
|
size: "xl",
|
|
36685
36685
|
onClick: c[0] || (c[0] = nt((f) => o.value = !1, ["stop"]))
|
|
36686
36686
|
})
|
|
36687
36687
|
])) : ie("", !0),
|
|
36688
|
-
oe(
|
|
36688
|
+
oe(I(mo), {
|
|
36689
36689
|
"no-padding": !0,
|
|
36690
36690
|
onClick: c[2] || (c[2] = nt(() => {
|
|
36691
36691
|
}, ["stop"]))
|
|
36692
36692
|
}, {
|
|
36693
36693
|
default: le(() => [
|
|
36694
|
-
|
|
36694
|
+
I(n) && I(n).length ? (x(), we(I(so), { key: 0 }, {
|
|
36695
36695
|
default: le(() => [
|
|
36696
|
-
(x(!0), B(je, null, ot(
|
|
36696
|
+
(x(!0), B(je, null, ot(I(n), (f) => (x(), B("div", {
|
|
36697
36697
|
key: `notification_${f.id}`,
|
|
36698
36698
|
class: "tw-py-[18px] tw-px-[15px] tw-border-b tw-border-solid tw-border-b-[#e3e7ec] tw-cursor-pointer last-of-type:tw-border-b-0"
|
|
36699
36699
|
}, [
|
|
36700
36700
|
oe(Gq, {
|
|
36701
36701
|
notification: f,
|
|
36702
|
-
templates:
|
|
36702
|
+
templates: I(e) || [],
|
|
36703
36703
|
onOnClick: c[1] || (c[1] = () => o.value = !1)
|
|
36704
36704
|
}, null, 8, ["notification", "templates"])
|
|
36705
36705
|
]))), 128))
|
|
36706
36706
|
]),
|
|
36707
36707
|
_: 1
|
|
36708
|
-
})) : (x(), B("div", Yq, ue(
|
|
36708
|
+
})) : (x(), B("div", Yq, ue(I(r)("COMPONENTS.NOTIFICATION_DROPDOWN.EMPTY")), 1))
|
|
36709
36709
|
]),
|
|
36710
36710
|
_: 1
|
|
36711
36711
|
})
|
|
36712
36712
|
], 2)) : ie("", !0)
|
|
36713
36713
|
], 8, Wq)), [
|
|
36714
36714
|
[
|
|
36715
|
-
|
|
36715
|
+
I(ui),
|
|
36716
36716
|
() => {
|
|
36717
36717
|
o.value = !1;
|
|
36718
36718
|
}
|
|
@@ -36832,7 +36832,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36832
36832
|
f({
|
|
36833
36833
|
blade: d("AssetsDetails"),
|
|
36834
36834
|
options: {
|
|
36835
|
-
asset:
|
|
36835
|
+
asset: I(C),
|
|
36836
36836
|
disabled: l.value,
|
|
36837
36837
|
assetEditHandler: (O) => {
|
|
36838
36838
|
if (r.options.assetsEditHandler && typeof r.options.assetsEditHandler == "function")
|
|
@@ -36876,7 +36876,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36876
36876
|
}), (C, O) => {
|
|
36877
36877
|
const E = $e("VcIcon"), N = $e("VcButton"), P = $e("VcImage"), D = $e("VcHint"), M = $e("VcTable"), G = $e("VcBlade"), Z = Ea("loading");
|
|
36878
36878
|
return x(), we(G, {
|
|
36879
|
-
title:
|
|
36879
|
+
title: I(n)("ASSETS_MANAGER.TITLE"),
|
|
36880
36880
|
expanded: C.expanded,
|
|
36881
36881
|
closable: C.closable,
|
|
36882
36882
|
"toolbar-items": h.value,
|
|
@@ -36910,15 +36910,15 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36910
36910
|
}, {
|
|
36911
36911
|
empty: le(() => [
|
|
36912
36912
|
Y("div", Kq, [
|
|
36913
|
-
l.value ? (x(), B("div", Xq, ue(
|
|
36913
|
+
l.value ? (x(), B("div", Xq, ue(I(n)("ASSETS_MANAGER.EMPTY.NO_ASSETS")), 1)) : (x(), B(je, { key: 0 }, [
|
|
36914
36914
|
oe(E, {
|
|
36915
36915
|
icon: "fas fa-cloud-upload-alt",
|
|
36916
36916
|
class: "tw-text-[100px] tw-text-[#41afe6]"
|
|
36917
36917
|
}),
|
|
36918
|
-
Y("div", Zq, ue(
|
|
36918
|
+
Y("div", Zq, ue(I(n)("ASSETS_MANAGER.EMPTY.UPLOAD_ASSETS")), 1),
|
|
36919
36919
|
oe(N, { onClick: w }, {
|
|
36920
36920
|
default: le(() => [
|
|
36921
|
-
Re(ue(
|
|
36921
|
+
Re(ue(I(n)("ASSETS_MANAGER.EMPTY.UPLOAD")), 1)
|
|
36922
36922
|
]),
|
|
36923
36923
|
_: 1
|
|
36924
36924
|
})
|
|
@@ -36926,11 +36926,11 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36926
36926
|
])
|
|
36927
36927
|
]),
|
|
36928
36928
|
item_size: le(({ item: de }) => [
|
|
36929
|
-
Y("div", null, ue(
|
|
36929
|
+
Y("div", null, ue(I(qd)(de.size ?? 0)), 1)
|
|
36930
36930
|
]),
|
|
36931
36931
|
item_url: le(({ item: de }) => [
|
|
36932
36932
|
Y("div", Qq, [
|
|
36933
|
-
|
|
36933
|
+
I(Vd)(de.name ?? "") ? (x(), we(P, {
|
|
36934
36934
|
key: 0,
|
|
36935
36935
|
bordered: !0,
|
|
36936
36936
|
size: "s",
|
|
@@ -36939,7 +36939,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36939
36939
|
background: "contain"
|
|
36940
36940
|
}, null, 8, ["src"])) : (x(), we(E, {
|
|
36941
36941
|
key: 1,
|
|
36942
|
-
icon:
|
|
36942
|
+
icon: I(Hd)(de.name ?? ""),
|
|
36943
36943
|
class: "tw-text-[#a9bfd2] tw-text-[38px]"
|
|
36944
36944
|
}, null, 8, ["icon"]))
|
|
36945
36945
|
])
|
|
@@ -36949,7 +36949,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36949
36949
|
]),
|
|
36950
36950
|
"mobile-item": le(({ item: de }) => [
|
|
36951
36951
|
Y("div", eG, [
|
|
36952
|
-
|
|
36952
|
+
I(Vd)(de.name ?? "") ? (x(), we(P, {
|
|
36953
36953
|
key: 0,
|
|
36954
36954
|
bordered: !0,
|
|
36955
36955
|
size: "s",
|
|
@@ -36958,7 +36958,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36958
36958
|
background: "contain"
|
|
36959
36959
|
}, null, 8, ["src"])) : (x(), B("div", tG, [
|
|
36960
36960
|
oe(E, {
|
|
36961
|
-
icon:
|
|
36961
|
+
icon: I(Hd)(de.name ?? ""),
|
|
36962
36962
|
class: "tw-text-[#a9bfd2] tw-w-12 tw-text-[48px]"
|
|
36963
36963
|
}, null, 8, ["icon"])
|
|
36964
36964
|
])),
|
|
@@ -36968,25 +36968,25 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36968
36968
|
Y("div", oG, [
|
|
36969
36969
|
oe(D, null, {
|
|
36970
36970
|
default: le(() => [
|
|
36971
|
-
Re(ue(
|
|
36971
|
+
Re(ue(I(n)("ASSETS_MANAGER.TABLE.HEADER.SIZE")), 1)
|
|
36972
36972
|
]),
|
|
36973
36973
|
_: 1
|
|
36974
36974
|
}),
|
|
36975
|
-
Y("div", sG, ue(
|
|
36975
|
+
Y("div", sG, ue(I(qd)(de.size ?? 0)), 1)
|
|
36976
36976
|
]),
|
|
36977
36977
|
Y("div", aG, [
|
|
36978
36978
|
oe(D, null, {
|
|
36979
36979
|
default: le(() => [
|
|
36980
|
-
Re(ue(
|
|
36980
|
+
Re(ue(I(n)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE")), 1)
|
|
36981
36981
|
]),
|
|
36982
36982
|
_: 1
|
|
36983
36983
|
}),
|
|
36984
|
-
Y("div", lG, ue(de.createdDate &&
|
|
36984
|
+
Y("div", lG, ue(de.createdDate && I(xe)(de.createdDate).fromNow()), 1)
|
|
36985
36985
|
]),
|
|
36986
36986
|
Y("div", uG, [
|
|
36987
36987
|
oe(D, null, {
|
|
36988
36988
|
default: le(() => [
|
|
36989
|
-
Re(ue(
|
|
36989
|
+
Re(ue(I(n)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER")), 1)
|
|
36990
36990
|
]),
|
|
36991
36991
|
_: 1
|
|
36992
36992
|
}),
|
|
@@ -37205,7 +37205,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
37205
37205
|
const m = w.controls.reduce(
|
|
37206
37206
|
(_, A) => {
|
|
37207
37207
|
if (A.component === "vc-checkbox") {
|
|
37208
|
-
const S = A.data, T =
|
|
37208
|
+
const S = A.data, T = I(t.scope)?.[S] ?? [], C = h(T, A);
|
|
37209
37209
|
C && (_ = C);
|
|
37210
37210
|
}
|
|
37211
37211
|
return A.component === "vc-input" && (_[A.field] = b(A)), _;
|
|
@@ -37249,13 +37249,13 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
37249
37249
|
a.value = {
|
|
37250
37250
|
...i.value
|
|
37251
37251
|
}, w(), await e({
|
|
37252
|
-
...
|
|
37252
|
+
...I(t.query),
|
|
37253
37253
|
...i.value
|
|
37254
37254
|
});
|
|
37255
37255
|
}
|
|
37256
37256
|
async function v(w) {
|
|
37257
37257
|
w(), await g(), await e({
|
|
37258
|
-
...
|
|
37258
|
+
...I(t.query),
|
|
37259
37259
|
...i.value
|
|
37260
37260
|
});
|
|
37261
37261
|
}
|
|
@@ -37276,7 +37276,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
37276
37276
|
Te(
|
|
37277
37277
|
"div",
|
|
37278
37278
|
{ class: "tw-mb-4 tw-text-[#a1c0d4] tw-font-bold tw-text-[17px]" },
|
|
37279
|
-
|
|
37279
|
+
I(re(() => o(m)))
|
|
37280
37280
|
),
|
|
37281
37281
|
Object.values(_).map((A) => {
|
|
37282
37282
|
if ("component" in A && A.component)
|
|
@@ -37487,7 +37487,7 @@ const gG = {
|
|
|
37487
37487
|
activeFilterCount: de,
|
|
37488
37488
|
isFilterVisible: J,
|
|
37489
37489
|
reset: U,
|
|
37490
|
-
filter:
|
|
37490
|
+
filter: L
|
|
37491
37491
|
} = vG({
|
|
37492
37492
|
data: G.tableData?.filter,
|
|
37493
37493
|
query: E,
|
|
@@ -37579,7 +37579,7 @@ const gG = {
|
|
|
37579
37579
|
item: q
|
|
37580
37580
|
}));
|
|
37581
37581
|
}, j = (q) => {
|
|
37582
|
-
const fe =
|
|
37582
|
+
const fe = I(q).map((ye) => ye.id).filter((ye) => ye !== null);
|
|
37583
37583
|
b.value = fe;
|
|
37584
37584
|
};
|
|
37585
37585
|
async function X() {
|
|
@@ -37639,7 +37639,7 @@ const gG = {
|
|
|
37639
37639
|
async function ae() {
|
|
37640
37640
|
f.value = "", await U(), await A({
|
|
37641
37641
|
...E.value,
|
|
37642
|
-
...
|
|
37642
|
+
...L,
|
|
37643
37643
|
keyword: ""
|
|
37644
37644
|
});
|
|
37645
37645
|
}
|
|
@@ -37693,7 +37693,7 @@ const gG = {
|
|
|
37693
37693
|
expanded: q.expanded,
|
|
37694
37694
|
closable: q.closable,
|
|
37695
37695
|
width: l.value?.width || "50%",
|
|
37696
|
-
"toolbar-items":
|
|
37696
|
+
"toolbar-items": I(H),
|
|
37697
37697
|
title: u.value,
|
|
37698
37698
|
class: De({
|
|
37699
37699
|
"tw-flex tw-flex-auto": q.isWidgetView
|
|
@@ -37705,65 +37705,65 @@ const gG = {
|
|
|
37705
37705
|
default: le(() => [
|
|
37706
37706
|
q.isWidgetView && q.$isMobile.value ? Le(q.$slots, "widget-mobile", {
|
|
37707
37707
|
key: 0,
|
|
37708
|
-
totalCount:
|
|
37709
|
-
loading:
|
|
37708
|
+
totalCount: I(O).totalCount,
|
|
37709
|
+
loading: I(C)
|
|
37710
37710
|
}, () => [
|
|
37711
|
-
Re(ue(
|
|
37711
|
+
Re(ue(I(O).totalCount), 1)
|
|
37712
37712
|
]) : (x(), B(je, { key: 1 }, [
|
|
37713
|
-
!q.isWidgetView &&
|
|
37713
|
+
!q.isWidgetView && I(N)?.breadcrumbs ? (x(), B("div", {
|
|
37714
37714
|
key: 0,
|
|
37715
37715
|
class: De([
|
|
37716
37716
|
{
|
|
37717
|
-
"-tw-mb-4":
|
|
37717
|
+
"-tw-mb-4": I(w)?.header
|
|
37718
37718
|
},
|
|
37719
37719
|
"tw-p-4"
|
|
37720
37720
|
])
|
|
37721
37721
|
}, [
|
|
37722
37722
|
oe(ye, {
|
|
37723
|
-
items:
|
|
37723
|
+
items: I(N)?.breadcrumbs
|
|
37724
37724
|
}, null, 8, ["items"])
|
|
37725
37725
|
], 2)) : ie("", !0),
|
|
37726
37726
|
oe(ge, {
|
|
37727
37727
|
class: "tw-grow tw-basis-0",
|
|
37728
|
-
loading:
|
|
37728
|
+
loading: I(C),
|
|
37729
37729
|
expanded: q.expanded,
|
|
37730
|
-
columns:
|
|
37731
|
-
"state-key":
|
|
37730
|
+
columns: I(m) ?? [],
|
|
37731
|
+
"state-key": I(_) ?? "",
|
|
37732
37732
|
items: p.value,
|
|
37733
|
-
multiselect: q.isWidgetView ? !1 :
|
|
37734
|
-
header: q.isWidgetView ? !1 :
|
|
37733
|
+
multiselect: q.isWidgetView ? !1 : I(w)?.multiselect,
|
|
37734
|
+
header: q.isWidgetView ? !1 : I(w)?.header,
|
|
37735
37735
|
"item-action-builder": Pe,
|
|
37736
|
-
"enable-item-actions": !!
|
|
37736
|
+
"enable-item-actions": !!I(w)?.actions && !q.isWidgetView,
|
|
37737
37737
|
footer: !q.isWidgetView,
|
|
37738
37738
|
sort: h.value,
|
|
37739
|
-
pages:
|
|
37740
|
-
"current-page":
|
|
37739
|
+
pages: I(O)?.pages,
|
|
37740
|
+
"current-page": I(O)?.currentPage,
|
|
37741
37741
|
"search-value": f.value,
|
|
37742
37742
|
"selected-item-id": d.value,
|
|
37743
37743
|
"total-label": q.$t(`${l.value?.localizationPrefix.trim().toUpperCase()}.PAGES.LIST.TABLE.TOTALS`),
|
|
37744
|
-
"total-count":
|
|
37745
|
-
"active-filter-count":
|
|
37746
|
-
"reorderable-rows": q.isWidgetView ? !1 :
|
|
37744
|
+
"total-count": I(O)?.totalCount,
|
|
37745
|
+
"active-filter-count": I(de),
|
|
37746
|
+
"reorderable-rows": q.isWidgetView ? !1 : I(w)?.reorderableRows,
|
|
37747
37747
|
"pull-to-reload": !q.isWidgetView,
|
|
37748
|
-
"select-all":
|
|
37748
|
+
"select-all": I(w)?.selectAll,
|
|
37749
37749
|
onItemClick: W,
|
|
37750
37750
|
onPaginationClick: ce,
|
|
37751
37751
|
onSelectionChanged: j,
|
|
37752
37752
|
onHeaderClick: me,
|
|
37753
|
-
"onLoad:change":
|
|
37753
|
+
"onLoad:change": I(ke),
|
|
37754
37754
|
"onScroll:ptr": se,
|
|
37755
|
-
"onSearch:change":
|
|
37755
|
+
"onSearch:change": I(ke),
|
|
37756
37756
|
"onRow:reorder": V,
|
|
37757
37757
|
"onSelect:all": ee
|
|
37758
37758
|
}, xr({
|
|
37759
37759
|
notfound: le(() => [
|
|
37760
|
-
|
|
37760
|
+
I(P)?.notFound ? (x(), we(Kn(I(P).notFound), {
|
|
37761
37761
|
key: 0,
|
|
37762
37762
|
context: F.value,
|
|
37763
37763
|
onReset: ae
|
|
37764
37764
|
}, null, 40, ["context"])) : (x(), B("div", gG, [
|
|
37765
37765
|
Y("div", yG, ue(q.$t(`${l.value?.localizationPrefix.trim().toUpperCase()}.PAGES.LIST.NOT_FOUND.EMPTY`)), 1),
|
|
37766
|
-
|
|
37766
|
+
I(J) ? (x(), we(Se, {
|
|
37767
37767
|
key: 0,
|
|
37768
37768
|
onClick: ae
|
|
37769
37769
|
}, {
|
|
@@ -37775,7 +37775,7 @@ const gG = {
|
|
|
37775
37775
|
]))
|
|
37776
37776
|
]),
|
|
37777
37777
|
empty: le(() => [
|
|
37778
|
-
|
|
37778
|
+
I(P)?.empty ? (x(), we(Kn(I(P).empty), {
|
|
37779
37779
|
key: 0,
|
|
37780
37780
|
class: De({
|
|
37781
37781
|
"tw-py-6": q.isWidgetView
|
|
@@ -37788,23 +37788,23 @@ const gG = {
|
|
|
37788
37788
|
]),
|
|
37789
37789
|
_: 2
|
|
37790
37790
|
}, [
|
|
37791
|
-
|
|
37791
|
+
I(J) ? {
|
|
37792
37792
|
name: "filters",
|
|
37793
37793
|
fn: le(({ closePanel: Fe }) => [
|
|
37794
|
-
oe(
|
|
37794
|
+
oe(I(Z), { close: Fe }, null, 8, ["close"])
|
|
37795
37795
|
]),
|
|
37796
37796
|
key: "0"
|
|
37797
37797
|
} : void 0,
|
|
37798
|
-
ot(
|
|
37798
|
+
ot(I(P)?.templateOverrideComponents, (Fe, He, Ce) => ({
|
|
37799
37799
|
name: `item_${He}`,
|
|
37800
37800
|
fn: le((he) => [
|
|
37801
37801
|
(x(), we(Kn(Fe), { context: he }, null, 8, ["context"]))
|
|
37802
37802
|
])
|
|
37803
37803
|
})),
|
|
37804
|
-
|
|
37804
|
+
I(P)?.mobileView ? {
|
|
37805
37805
|
name: "mobile-item",
|
|
37806
37806
|
fn: le((Fe) => [
|
|
37807
|
-
(x(), we(Kn(
|
|
37807
|
+
(x(), we(Kn(I(P).mobileView), { context: Fe }, null, 8, ["context"]))
|
|
37808
37808
|
]),
|
|
37809
37809
|
key: "1"
|
|
37810
37810
|
} : void 0
|
|
@@ -37857,7 +37857,7 @@ const gG = {
|
|
|
37857
37857
|
props: EG,
|
|
37858
37858
|
setup(t) {
|
|
37859
37859
|
const e = TE(), r = re(
|
|
37860
|
-
() =>
|
|
37860
|
+
() => I(t.props)?.multilanguage ? `${String(t.props?.key)}_${I(t.props?.currentLanguage)}` : String(t.props?.key)
|
|
37861
37861
|
), n = Mw((i) => t.props?.multilanguage ? i + "_" + t.props.currentLanguage : i);
|
|
37862
37862
|
return () => Te(
|
|
37863
37863
|
jr,
|
|
@@ -37886,7 +37886,7 @@ const gG = {
|
|
|
37886
37886
|
function tt(t) {
|
|
37887
37887
|
const e = {};
|
|
37888
37888
|
return t && (Object.keys(t).forEach((r) => {
|
|
37889
|
-
e[r] =
|
|
37889
|
+
e[r] = I(t[r]);
|
|
37890
37890
|
}), e);
|
|
37891
37891
|
}
|
|
37892
37892
|
const SG = {
|
|
@@ -38138,7 +38138,7 @@ const kG = {
|
|
|
38138
38138
|
option: At(Ks(t.element.optionProperty, t.fieldContext ?? {})),
|
|
38139
38139
|
optionLabel: t.element.optionLabel,
|
|
38140
38140
|
optionValue: t.element.optionValue,
|
|
38141
|
-
options:
|
|
38141
|
+
options: I(t.bladeContext.scope)?.currencies,
|
|
38142
38142
|
"onUpdate:option": (n) => {
|
|
38143
38143
|
Nc({
|
|
38144
38144
|
value: n,
|
|
@@ -38191,7 +38191,7 @@ const CG = {
|
|
|
38191
38191
|
}
|
|
38192
38192
|
),
|
|
38193
38193
|
slots: {
|
|
38194
|
-
default: () =>
|
|
38194
|
+
default: () => I(re(() => e(nE(t.element.content, At(t.fieldContext)))))
|
|
38195
38195
|
}
|
|
38196
38196
|
}), n = Te(r.component, r.props, r.slots);
|
|
38197
38197
|
return r.props.rules ? Te(
|
|
@@ -38283,7 +38283,7 @@ const CG = {
|
|
|
38283
38283
|
{},
|
|
38284
38284
|
{
|
|
38285
38285
|
currentLanguage: t.currentLocale,
|
|
38286
|
-
assetsFolder:
|
|
38286
|
+
assetsFolder: I(t.formData).id || I(t.formData).categoryId
|
|
38287
38287
|
},
|
|
38288
38288
|
tt(t.baseProps),
|
|
38289
38289
|
{
|
|
@@ -38412,7 +38412,7 @@ const CG = {
|
|
|
38412
38412
|
iconSize: t.element?.iconSize,
|
|
38413
38413
|
text: t.element?.text,
|
|
38414
38414
|
onClick: () => {
|
|
38415
|
-
|
|
38415
|
+
I(t.bladeContext.scope)?.[t.element.method]();
|
|
38416
38416
|
}
|
|
38417
38417
|
},
|
|
38418
38418
|
tt(t.baseProps),
|
|
@@ -38421,7 +38421,7 @@ const CG = {
|
|
|
38421
38421
|
}
|
|
38422
38422
|
),
|
|
38423
38423
|
slots: {
|
|
38424
|
-
default: () =>
|
|
38424
|
+
default: () => I(re(() => e(t.element.content)))
|
|
38425
38425
|
}
|
|
38426
38426
|
});
|
|
38427
38427
|
return Te(r.component, r.props, r.slots);
|
|
@@ -38437,7 +38437,7 @@ const CG = {
|
|
|
38437
38437
|
if (t.element.content && typeof t.element.content == "string")
|
|
38438
38438
|
return t.element.content;
|
|
38439
38439
|
if (t.element.content?.method) {
|
|
38440
|
-
const i =
|
|
38440
|
+
const i = I(t.bladeContext.scope)?.[t.element.content?.method];
|
|
38441
38441
|
return i === "function" ? i() : i;
|
|
38442
38442
|
}
|
|
38443
38443
|
return null;
|
|
@@ -38654,7 +38654,7 @@ const CG = {
|
|
|
38654
38654
|
),
|
|
38655
38655
|
slots: {
|
|
38656
38656
|
...Object.entries(e.templateOverrideComponents).reduce(
|
|
38657
|
-
(i, [o, s], a) => (i[`item_${o}`] = (l) => Te(
|
|
38657
|
+
(i, [o, s], a) => (i[`item_${o}`] = (l) => Te(I(s), { context: l, key: `template_override_${t.element.id}_${a}` }), i),
|
|
38658
38658
|
{}
|
|
38659
38659
|
),
|
|
38660
38660
|
notfound: e?.notFound ? (i) => Te(e.notFound, { context: i }) : () => {
|
|
@@ -38744,7 +38744,7 @@ function ya({
|
|
|
38744
38744
|
}) {
|
|
38745
38745
|
if (!t)
|
|
38746
38746
|
throw new Error("There is no controlSchema provided");
|
|
38747
|
-
const { t: a } = Dt.global, l = t.id, u = xt("rules", t) && t.rules || void 0, c = xt("placeholder", t) && t.placeholder || void 0, f = xt("rules", t) && t.rules?.required, d = xt("property", t) && t.property && Ks(t.property, r), b = (xt("property", t) && t.property && n.scope && n.scope[t.property]) ?? d ?? void 0, p = xt("tooltip", t) && t.tooltip || void 0, v = xt("multilanguage", t) && t.multilanguage, y = xt("label", t) && t.label ?
|
|
38747
|
+
const { t: a } = Dt.global, l = t.id, u = xt("rules", t) && t.rules || void 0, c = xt("placeholder", t) && t.placeholder || void 0, f = xt("rules", t) && t.rules?.required, d = xt("property", t) && t.property && Ks(t.property, r), b = (xt("property", t) && t.property && n.scope && n.scope[t.property]) ?? d ?? void 0, p = xt("tooltip", t) && t.tooltip || void 0, v = xt("multilanguage", t) && t.multilanguage, y = xt("label", t) && t.label ? I(nE(t.label, r)) : void 0, g = n.scope && xt("disabled", n.scope) && n.scope.disabled || xt("disabled", t) && t.disabled && GG(t.disabled, n), w = async (T) => {
|
|
38748
38748
|
if (xt("property", t) && t.property && (Nc({
|
|
38749
38749
|
property: t.property,
|
|
38750
38750
|
value: T,
|
|
@@ -38800,7 +38800,7 @@ function ya({
|
|
|
38800
38800
|
baseProps: Qx(m),
|
|
38801
38801
|
bladeContext: n,
|
|
38802
38802
|
element: t,
|
|
38803
|
-
currentLocale:
|
|
38803
|
+
currentLocale: I(i),
|
|
38804
38804
|
fields: A,
|
|
38805
38805
|
formData: o,
|
|
38806
38806
|
fieldContext: r
|
|
@@ -38908,7 +38908,7 @@ const WG = {
|
|
|
38908
38908
|
);
|
|
38909
38909
|
const S = re(() => {
|
|
38910
38910
|
const J = qa(Be(f)?.toolbarOverrides, "saveChanges");
|
|
38911
|
-
return J && "disabled" in J && J.disabled !== void 0 && !
|
|
38911
|
+
return J && "disabled" in J && J.disabled !== void 0 && !I(J.disabled) || c.value.modified;
|
|
38912
38912
|
});
|
|
38913
38913
|
LU(S);
|
|
38914
38914
|
const T = re(
|
|
@@ -38986,7 +38986,7 @@ const WG = {
|
|
|
38986
38986
|
const U = typeof J == "string" ? $e(J) : J;
|
|
38987
38987
|
await Vt(
|
|
38988
38988
|
() => w.value = a.value.find(
|
|
38989
|
-
(
|
|
38989
|
+
(L) => br(L.component, typeof U != "string" ? U : $e(U))
|
|
38990
38990
|
)?.el
|
|
38991
38991
|
);
|
|
38992
38992
|
}
|
|
@@ -39001,9 +39001,9 @@ const WG = {
|
|
|
39001
39001
|
return _a(async () => {
|
|
39002
39002
|
n.composables && await de();
|
|
39003
39003
|
}), v(async () => {
|
|
39004
|
-
if (
|
|
39004
|
+
if (I(S))
|
|
39005
39005
|
return await s(
|
|
39006
|
-
|
|
39006
|
+
I(
|
|
39007
39007
|
re(() => o(`${m.value?.localizationPrefix.trim().toUpperCase()}.PAGES.ALERTS.CLOSE_CONFIRMATION`))
|
|
39008
39008
|
)
|
|
39009
39009
|
);
|
|
@@ -39012,13 +39012,13 @@ const WG = {
|
|
|
39012
39012
|
updateActiveWidgetCount: Z,
|
|
39013
39013
|
...Cn(f?.value ?? {})
|
|
39014
39014
|
}), (J, U) => {
|
|
39015
|
-
const
|
|
39015
|
+
const L = $e("VcForm"), F = $e("VcContainer"), H = $e("VcBlade"), ne = Ea("loading");
|
|
39016
39016
|
return J.composables ? ie("", !0) : Ht((x(), we(H, {
|
|
39017
39017
|
key: 0,
|
|
39018
39018
|
expanded: J.expanded,
|
|
39019
39019
|
closable: J.closable,
|
|
39020
39020
|
width: m.value?.width || "50%",
|
|
39021
|
-
"toolbar-items":
|
|
39021
|
+
"toolbar-items": I(M),
|
|
39022
39022
|
title: y.value,
|
|
39023
39023
|
onClose: U[2] || (U[2] = (W) => J.$emit("close:blade")),
|
|
39024
39024
|
onExpand: U[3] || (U[3] = (W) => J.$emit("expand:blade")),
|
|
@@ -39027,16 +39027,16 @@ const WG = {
|
|
|
39027
39027
|
default: le(() => [
|
|
39028
39028
|
oe(F, { "no-padding": !0 }, {
|
|
39029
39029
|
default: le(() => [
|
|
39030
|
-
g.value &&
|
|
39030
|
+
g.value && I(u) && Object.keys(I(u)) ? (x(), B("div", JG, [
|
|
39031
39031
|
Y("div", KG, [
|
|
39032
|
-
oe(
|
|
39032
|
+
oe(L, { class: "tw-grow tw-p-4" }, {
|
|
39033
39033
|
default: le(() => [
|
|
39034
|
-
oe(
|
|
39035
|
-
modelValue:
|
|
39034
|
+
oe(I(zG), {
|
|
39035
|
+
modelValue: I(u),
|
|
39036
39036
|
"onUpdate:modelValue": U[0] || (U[0] = (W) => Zi(u) ? u.value = W : null),
|
|
39037
39037
|
"ui-schema": T.value.children,
|
|
39038
39038
|
context: O.value,
|
|
39039
|
-
"current-locale":
|
|
39039
|
+
"current-locale": I(f)?.multilanguage?.currentLocale
|
|
39040
39040
|
}, null, 8, ["modelValue", "ui-schema", "context", "current-locale"])
|
|
39041
39041
|
]),
|
|
39042
39042
|
_: 1
|
|
@@ -39046,7 +39046,7 @@ const WG = {
|
|
|
39046
39046
|
(x(!0), B(je, null, ot(P.value, (W, j) => (x(), B("div", { key: j }, [
|
|
39047
39047
|
(x(), we(Kn(W), {
|
|
39048
39048
|
ref_for: !0,
|
|
39049
|
-
ref: (X) =>
|
|
39049
|
+
ref: (X) => I(a).set({ component: W, el: X }),
|
|
39050
39050
|
modelValue: O.value,
|
|
39051
39051
|
"onUpdate:modelValue": U[1] || (U[1] = (X) => O.value = X),
|
|
39052
39052
|
onClick: (X) => G(W)
|
|
@@ -39072,7 +39072,7 @@ const WG = {
|
|
|
39072
39072
|
key: "0"
|
|
39073
39073
|
} : void 0
|
|
39074
39074
|
]), 1032, ["expanded", "closable", "width", "toolbar-items", "title"])), [
|
|
39075
|
-
[ne,
|
|
39075
|
+
[ne, I(l)]
|
|
39076
39076
|
]);
|
|
39077
39077
|
};
|
|
39078
39078
|
}
|
|
@@ -39349,27 +39349,27 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39349
39349
|
return (p, v) => {
|
|
39350
39350
|
const y = $e("VcLoading"), g = $e("VcInput"), w = $e("vc-button"), m = $e("VcHint"), _ = $e("VcForm"), A = $e("VcLoginForm");
|
|
39351
39351
|
return x(), B("div", _W, [
|
|
39352
|
-
|
|
39352
|
+
I(s) ? (x(), we(y, {
|
|
39353
39353
|
key: 0,
|
|
39354
39354
|
active: ""
|
|
39355
39355
|
})) : ie("", !0),
|
|
39356
39356
|
oe(A, {
|
|
39357
39357
|
logo: "/assets/logo-white.svg",
|
|
39358
39358
|
background: "/assets/background.jpg",
|
|
39359
|
-
title:
|
|
39359
|
+
title: I(l)("INVITATION.TITLE")
|
|
39360
39360
|
}, {
|
|
39361
39361
|
default: le(() => [
|
|
39362
39362
|
oe(_, null, {
|
|
39363
39363
|
default: le(() => [
|
|
39364
39364
|
oe(g, {
|
|
39365
39365
|
class: "tw-mb-4 tw-mt-1",
|
|
39366
|
-
label:
|
|
39366
|
+
label: I(l)("INVITATION.FIELDS.EMAIL.LABEL"),
|
|
39367
39367
|
"model-value": p.userName,
|
|
39368
39368
|
name: "username",
|
|
39369
39369
|
disabled: ""
|
|
39370
39370
|
}, null, 8, ["label", "model-value"]),
|
|
39371
|
-
oe(
|
|
39372
|
-
label:
|
|
39371
|
+
oe(I(jr), {
|
|
39372
|
+
label: I(l)("INVITATION.FIELDS.PASSWORD.LABEL"),
|
|
39373
39373
|
"model-value": f.password,
|
|
39374
39374
|
rules: "required",
|
|
39375
39375
|
name: "password"
|
|
@@ -39385,8 +39385,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39385
39385
|
}
|
|
39386
39386
|
],
|
|
39387
39387
|
class: "tw-mb-4 tw-mt-1",
|
|
39388
|
-
label:
|
|
39389
|
-
placeholder:
|
|
39388
|
+
label: I(l)("INVITATION.FIELDS.PASSWORD.LABEL"),
|
|
39389
|
+
placeholder: I(l)("INVITATION.FIELDS.PASSWORD.PLACEHOLDER"),
|
|
39390
39390
|
type: "password",
|
|
39391
39391
|
disabled: !f.tokenIsValid,
|
|
39392
39392
|
error: !!O.length,
|
|
@@ -39396,8 +39396,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39396
39396
|
]),
|
|
39397
39397
|
_: 1
|
|
39398
39398
|
}, 8, ["label", "model-value"]),
|
|
39399
|
-
oe(
|
|
39400
|
-
label:
|
|
39399
|
+
oe(I(jr), {
|
|
39400
|
+
label: I(l)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
39401
39401
|
"model-value": f.confirmPassword,
|
|
39402
39402
|
rules: "required",
|
|
39403
39403
|
name: "confirm_password"
|
|
@@ -39413,8 +39413,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39413
39413
|
}
|
|
39414
39414
|
],
|
|
39415
39415
|
class: "tw-mb-4",
|
|
39416
|
-
label:
|
|
39417
|
-
placeholder:
|
|
39416
|
+
label: I(l)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
39417
|
+
placeholder: I(l)("INVITATION.FIELDS.CONFIRM_PASSWORD.PLACEHOLDER"),
|
|
39418
39418
|
disabled: !f.tokenIsValid,
|
|
39419
39419
|
type: "password",
|
|
39420
39420
|
error: !!O.length,
|
|
@@ -39428,11 +39428,11 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39428
39428
|
Y("div", EW, [
|
|
39429
39429
|
p.$isDesktop.value ? (x(), B("span", SW)) : ie("", !0),
|
|
39430
39430
|
oe(w, {
|
|
39431
|
-
disabled:
|
|
39431
|
+
disabled: I(s) || !f.isValid || !f.tokenIsValid,
|
|
39432
39432
|
onClick: b
|
|
39433
39433
|
}, {
|
|
39434
39434
|
default: le(() => [
|
|
39435
|
-
Re(ue(
|
|
39435
|
+
Re(ue(I(l)("INVITATION.ACCEPT_INVITATION")), 1)
|
|
39436
39436
|
]),
|
|
39437
39437
|
_: 1
|
|
39438
39438
|
}, 8, ["disabled"])
|
|
@@ -39443,7 +39443,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39443
39443
|
style: { color: "#f14e4e" }
|
|
39444
39444
|
}, {
|
|
39445
39445
|
default: le(() => [
|
|
39446
|
-
Re(ue(
|
|
39446
|
+
Re(ue(I(l)(`INVITATION.ERRORS.${S}`)), 1)
|
|
39447
39447
|
]),
|
|
39448
39448
|
_: 2
|
|
39449
39449
|
}, 1024))), 128))
|
|
@@ -39513,7 +39513,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39513
39513
|
await v(Z, window.location.pathname);
|
|
39514
39514
|
};
|
|
39515
39515
|
return console.debug("Init login-page"), (Z, de) => {
|
|
39516
|
-
const J = $e("VcInput"), U = $e("VcButton"),
|
|
39516
|
+
const J = $e("VcInput"), U = $e("VcButton"), L = $e("vc-button"), F = $e("VcForm"), H = $e("VcHint"), ne = $e("VcLoginForm");
|
|
39517
39517
|
return x(), we(ne, {
|
|
39518
39518
|
logo: C.value.logo,
|
|
39519
39519
|
background: Z.background,
|
|
@@ -39525,8 +39525,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39525
39525
|
onSubmit: nt(P, ["prevent"])
|
|
39526
39526
|
}, {
|
|
39527
39527
|
default: le(() => [
|
|
39528
|
-
oe(
|
|
39529
|
-
label:
|
|
39528
|
+
oe(I(jr), {
|
|
39529
|
+
label: I(u)("LOGIN.FIELDS.LOGIN.LABEL"),
|
|
39530
39530
|
name: "username",
|
|
39531
39531
|
"model-value": E.username,
|
|
39532
39532
|
rules: "required"
|
|
@@ -39540,8 +39540,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39540
39540
|
j
|
|
39541
39541
|
],
|
|
39542
39542
|
class: "tw-mb-4 tw-mt-1",
|
|
39543
|
-
label:
|
|
39544
|
-
placeholder:
|
|
39543
|
+
label: I(u)("LOGIN.FIELDS.LOGIN.LABEL"),
|
|
39544
|
+
placeholder: I(u)("LOGIN.FIELDS.LOGIN.PLACEHOLDER"),
|
|
39545
39545
|
required: "",
|
|
39546
39546
|
error: !!X.length,
|
|
39547
39547
|
"error-message": W
|
|
@@ -39549,8 +39549,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39549
39549
|
]),
|
|
39550
39550
|
_: 1
|
|
39551
39551
|
}, 8, ["label", "model-value"]),
|
|
39552
|
-
oe(
|
|
39553
|
-
label:
|
|
39552
|
+
oe(I(jr), {
|
|
39553
|
+
label: I(u)("LOGIN.FIELDS.PASSWORD.LABEL"),
|
|
39554
39554
|
name: "password",
|
|
39555
39555
|
"model-value": E.password,
|
|
39556
39556
|
rules: "required"
|
|
@@ -39564,8 +39564,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39564
39564
|
j
|
|
39565
39565
|
],
|
|
39566
39566
|
class: "tw-mb-4",
|
|
39567
|
-
label:
|
|
39568
|
-
placeholder:
|
|
39567
|
+
label: I(u)("LOGIN.FIELDS.PASSWORD.LABEL"),
|
|
39568
|
+
placeholder: I(u)("LOGIN.FIELDS.PASSWORD.PLACEHOLDER"),
|
|
39569
39569
|
type: "password",
|
|
39570
39570
|
required: "",
|
|
39571
39571
|
error: !!X.length,
|
|
@@ -39575,26 +39575,26 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39575
39575
|
]),
|
|
39576
39576
|
_: 1
|
|
39577
39577
|
}, 8, ["label", "model-value"]),
|
|
39578
|
-
|
|
39578
|
+
I(S) ? (x(), B("div", kW, [
|
|
39579
39579
|
oe(U, {
|
|
39580
39580
|
text: "",
|
|
39581
39581
|
type: "button",
|
|
39582
39582
|
onClick: M
|
|
39583
39583
|
}, {
|
|
39584
39584
|
default: le(() => [
|
|
39585
|
-
Re(ue(
|
|
39585
|
+
Re(ue(I(u)("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
|
|
39586
39586
|
]),
|
|
39587
39587
|
_: 1
|
|
39588
39588
|
})
|
|
39589
39589
|
])) : ie("", !0),
|
|
39590
39590
|
Y("div", CW, [
|
|
39591
|
-
oe(
|
|
39592
|
-
disabled:
|
|
39591
|
+
oe(L, {
|
|
39592
|
+
disabled: I(p) || !I(w),
|
|
39593
39593
|
class: "tw-w-28",
|
|
39594
39594
|
onClick: P
|
|
39595
39595
|
}, {
|
|
39596
39596
|
default: le(() => [
|
|
39597
|
-
Re(ue(
|
|
39597
|
+
Re(ue(I(u)("LOGIN.BUTTON")), 1)
|
|
39598
39598
|
]),
|
|
39599
39599
|
_: 1
|
|
39600
39600
|
}, 8, ["disabled"])
|
|
@@ -39630,8 +39630,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39630
39630
|
onSubmit: nt(D, ["prevent"])
|
|
39631
39631
|
}, {
|
|
39632
39632
|
default: le(() => [
|
|
39633
|
-
oe(
|
|
39634
|
-
label:
|
|
39633
|
+
oe(I(jr), {
|
|
39634
|
+
label: I(u)("LOGIN.FIELDS.FORGOT_PASSWORD.LABEL"),
|
|
39635
39635
|
name: "loginOrEmail",
|
|
39636
39636
|
"model-value": N.loginOrEmail,
|
|
39637
39637
|
rules: "required|email"
|
|
@@ -39645,9 +39645,9 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39645
39645
|
X
|
|
39646
39646
|
],
|
|
39647
39647
|
class: "tw-mb-4 tw-mt-1",
|
|
39648
|
-
label:
|
|
39649
|
-
placeholder:
|
|
39650
|
-
hint:
|
|
39648
|
+
label: I(u)("LOGIN.FIELDS.FORGOT_PASSWORD.LABEL"),
|
|
39649
|
+
placeholder: I(u)("LOGIN.FIELDS.FORGOT_PASSWORD.PLACEHOLDER"),
|
|
39650
|
+
hint: I(u)("LOGIN.RESET_EMAIL_TEXT"),
|
|
39651
39651
|
required: "",
|
|
39652
39652
|
error: !!se.length,
|
|
39653
39653
|
"error-message": j
|
|
@@ -39656,22 +39656,22 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39656
39656
|
_: 1
|
|
39657
39657
|
}, 8, ["label", "model-value"]),
|
|
39658
39658
|
Y("div", RW, [
|
|
39659
|
-
oe(
|
|
39659
|
+
oe(L, {
|
|
39660
39660
|
text: "",
|
|
39661
39661
|
type: "button",
|
|
39662
39662
|
onClick: M
|
|
39663
39663
|
}, {
|
|
39664
39664
|
default: le(() => [
|
|
39665
|
-
Re(ue(
|
|
39665
|
+
Re(ue(I(u)("LOGIN.BACK_BUTTON")), 1)
|
|
39666
39666
|
]),
|
|
39667
39667
|
_: 1
|
|
39668
39668
|
}),
|
|
39669
|
-
oe(
|
|
39670
|
-
disabled:
|
|
39669
|
+
oe(L, {
|
|
39670
|
+
disabled: I(p) || O.value || _.value,
|
|
39671
39671
|
onClick: D
|
|
39672
39672
|
}, {
|
|
39673
39673
|
default: le(() => [
|
|
39674
|
-
Re(ue(
|
|
39674
|
+
Re(ue(I(u)("LOGIN.FORGOT_BUTTON")), 1)
|
|
39675
39675
|
]),
|
|
39676
39676
|
_: 1
|
|
39677
39677
|
}, 8, ["disabled"])
|
|
@@ -39680,15 +39680,15 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39680
39680
|
_: 1
|
|
39681
39681
|
})),
|
|
39682
39682
|
d.value.succeeded && h.value ? (x(), B(je, { key: 1 }, [
|
|
39683
|
-
Y("div", null, ue(
|
|
39683
|
+
Y("div", null, ue(I(u)("LOGIN.RESET_EMAIL_SENT")), 1),
|
|
39684
39684
|
Y("div", $W, [
|
|
39685
39685
|
Z.$isDesktop.value ? (x(), B("span", MW)) : ie("", !0),
|
|
39686
|
-
oe(
|
|
39687
|
-
disabled:
|
|
39686
|
+
oe(L, {
|
|
39687
|
+
disabled: I(p),
|
|
39688
39688
|
onClick: M
|
|
39689
39689
|
}, {
|
|
39690
39690
|
default: le(() => [
|
|
39691
|
-
Re(ue(
|
|
39691
|
+
Re(ue(I(u)("LOGIN.BUTTON_OK")), 1)
|
|
39692
39692
|
]),
|
|
39693
39693
|
_: 1
|
|
39694
39694
|
}, 8, ["disabled"])
|
|
@@ -39763,20 +39763,20 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39763
39763
|
return (b, p) => {
|
|
39764
39764
|
const v = $e("VcLoading"), y = $e("VcInput"), g = $e("vc-button"), w = $e("VcHint"), m = $e("VcForm"), _ = $e("VcLoginForm");
|
|
39765
39765
|
return x(), B("div", BW, [
|
|
39766
|
-
|
|
39766
|
+
I(s) ? (x(), we(v, {
|
|
39767
39767
|
key: 0,
|
|
39768
39768
|
active: ""
|
|
39769
39769
|
})) : ie("", !0),
|
|
39770
39770
|
oe(_, {
|
|
39771
39771
|
logo: "/assets/logo-white.svg",
|
|
39772
39772
|
background: "/assets/background.jpg",
|
|
39773
|
-
title:
|
|
39773
|
+
title: I(l)("PASSWORDRESET.TITLE")
|
|
39774
39774
|
}, {
|
|
39775
39775
|
default: le(() => [
|
|
39776
39776
|
oe(m, null, {
|
|
39777
39777
|
default: le(() => [
|
|
39778
|
-
oe(
|
|
39779
|
-
label:
|
|
39778
|
+
oe(I(jr), {
|
|
39779
|
+
label: I(l)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
|
|
39780
39780
|
name: "password",
|
|
39781
39781
|
"model-value": c.password,
|
|
39782
39782
|
rules: "required"
|
|
@@ -39792,8 +39792,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39792
39792
|
}
|
|
39793
39793
|
],
|
|
39794
39794
|
class: "tw-mb-4 tw-mt-1",
|
|
39795
|
-
label:
|
|
39796
|
-
placeholder:
|
|
39795
|
+
label: I(l)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
|
|
39796
|
+
placeholder: I(l)("PASSWORDRESET.FIELDS.PASSWORD.PLACEHOLDER"),
|
|
39797
39797
|
type: "password",
|
|
39798
39798
|
disabled: !c.tokenIsValid,
|
|
39799
39799
|
required: "",
|
|
@@ -39803,8 +39803,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39803
39803
|
]),
|
|
39804
39804
|
_: 1
|
|
39805
39805
|
}, 8, ["label", "model-value"]),
|
|
39806
|
-
oe(
|
|
39807
|
-
label:
|
|
39806
|
+
oe(I(jr), {
|
|
39807
|
+
label: I(l)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
39808
39808
|
name: "confirm_password",
|
|
39809
39809
|
"model-value": c.confirmPassword,
|
|
39810
39810
|
rules: "required"
|
|
@@ -39820,8 +39820,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39820
39820
|
}
|
|
39821
39821
|
],
|
|
39822
39822
|
class: "tw-mb-4",
|
|
39823
|
-
label:
|
|
39824
|
-
placeholder:
|
|
39823
|
+
label: I(l)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
39824
|
+
placeholder: I(l)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.PLACEHOLDER"),
|
|
39825
39825
|
disabled: !c.tokenIsValid,
|
|
39826
39826
|
type: "password",
|
|
39827
39827
|
required: "",
|
|
@@ -39839,7 +39839,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39839
39839
|
onClick: h
|
|
39840
39840
|
}, {
|
|
39841
39841
|
default: le(() => [
|
|
39842
|
-
Re(ue(
|
|
39842
|
+
Re(ue(I(l)("PASSWORDRESET.SAVE_PASSWORD")), 1)
|
|
39843
39843
|
]),
|
|
39844
39844
|
_: 1
|
|
39845
39845
|
}, 8, ["disabled"])
|
|
@@ -39849,7 +39849,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39849
39849
|
class: "tw-mt-3 !tw-text-[#f14e4e]"
|
|
39850
39850
|
}, {
|
|
39851
39851
|
default: le(() => [
|
|
39852
|
-
Re(ue(
|
|
39852
|
+
Re(ue(I(l)(`PASSWORDRESET.ERRORS.${+A}`)), 1)
|
|
39853
39853
|
]),
|
|
39854
39854
|
_: 2
|
|
39855
39855
|
}, 1024))), 128))
|
|
@@ -39893,7 +39893,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39893
39893
|
await Vt().then(() => {
|
|
39894
39894
|
n = Cy(
|
|
39895
39895
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
39896
|
-
|
|
39896
|
+
I(o.value[o.value.length - 1]?.props?.navigation?.instance),
|
|
39897
39897
|
"title"
|
|
39898
39898
|
), i.value = o.value.length;
|
|
39899
39899
|
});
|
|
@@ -39913,17 +39913,17 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39913
39913
|
o.title ? (x(), B("div", JW, ue(o.title), 1)) : ie("", !0)
|
|
39914
39914
|
], 64)) : ie("", !0),
|
|
39915
39915
|
o.$isMobile.value ? (x(), B(je, { key: 1 }, [
|
|
39916
|
-
i.value === 1 ? (x(), B("div", KW, ue(
|
|
39916
|
+
i.value === 1 ? (x(), B("div", KW, ue(I(n)), 1)) : i.value > 1 ? (x(), we(I(Hu), {
|
|
39917
39917
|
key: 1,
|
|
39918
39918
|
class: "tw-ml-3",
|
|
39919
39919
|
onClick: s[1] || (s[1] = (a) => o.$emit("backlink:click"))
|
|
39920
39920
|
}, {
|
|
39921
39921
|
default: le(() => [
|
|
39922
|
-
oe(
|
|
39922
|
+
oe(I(Ve), {
|
|
39923
39923
|
icon: "fas fa-chevron-left",
|
|
39924
39924
|
size: "s"
|
|
39925
39925
|
}),
|
|
39926
|
-
Y("span", ZW, ue(
|
|
39926
|
+
Y("span", ZW, ue(I(e)("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.VC_APP_BAR.BACK")), 1)
|
|
39927
39927
|
]),
|
|
39928
39928
|
_: 1
|
|
39929
39929
|
})) : ie("", !0)
|
|
@@ -39937,7 +39937,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39937
39937
|
class: "tw-text-[#319ed4] tw-w-[var(--app-bar-button-width)] tw-flex tw-items-center tw-justify-center tw-h-full tw-box-border tw-cursor-pointer",
|
|
39938
39938
|
onClick: s[2] || (s[2] = (a) => o.$emit("menubutton:click"))
|
|
39939
39939
|
}, [
|
|
39940
|
-
oe(
|
|
39940
|
+
oe(I(Ve), { icon: "fas fa-bars" })
|
|
39941
39941
|
])) : ie("", !0)
|
|
39942
39942
|
], 2));
|
|
39943
39943
|
}
|
|
@@ -39989,20 +39989,20 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39989
39989
|
Y("div", {
|
|
39990
39990
|
class: De(["vc-app-menu-item__handler", { "vc-app-menu-item__handler_enabled": !l.sticky }])
|
|
39991
39991
|
}, [
|
|
39992
|
-
oe(
|
|
39992
|
+
oe(I(Ve), {
|
|
39993
39993
|
icon: "fas fa-ellipsis-v",
|
|
39994
39994
|
size: "m"
|
|
39995
39995
|
})
|
|
39996
39996
|
], 2),
|
|
39997
39997
|
l.icon ? (x(), B("div", t9, [
|
|
39998
|
-
oe(
|
|
39998
|
+
oe(I(Ve), {
|
|
39999
39999
|
icon: l.icon,
|
|
40000
40000
|
size: "m"
|
|
40001
40001
|
}, null, 8, ["icon"])
|
|
40002
40002
|
])) : ie("", !0),
|
|
40003
40003
|
Y("div", r9, [
|
|
40004
40004
|
Re(ue(l.title) + " ", 1),
|
|
40005
|
-
l.children?.length ? (x(), we(
|
|
40005
|
+
l.children?.length ? (x(), we(I(Ve), {
|
|
40006
40006
|
key: 0,
|
|
40007
40007
|
class: "vc-app-menu-item__title-icon",
|
|
40008
40008
|
icon: `fas fa-chevron-${i.value ? "up" : "down"}`,
|
|
@@ -40109,20 +40109,20 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40109
40109
|
})) : ie("", !0),
|
|
40110
40110
|
Y("div", s9, [
|
|
40111
40111
|
o.$isMobile.value ? (x(), B("div", a9, [
|
|
40112
|
-
oe(
|
|
40112
|
+
oe(I(Ve), {
|
|
40113
40113
|
icon: "fas fa-times",
|
|
40114
40114
|
size: "xl",
|
|
40115
40115
|
onClick: s[1] || (s[1] = (a) => n.value = !1)
|
|
40116
40116
|
})
|
|
40117
40117
|
])) : ie("", !0),
|
|
40118
|
-
oe(
|
|
40118
|
+
oe(I(mo), {
|
|
40119
40119
|
"no-padding": !0,
|
|
40120
40120
|
class: "tw-grow tw-basis-0"
|
|
40121
40121
|
}, {
|
|
40122
40122
|
default: le(() => [
|
|
40123
40123
|
Y("div", l9, [
|
|
40124
40124
|
o.$isDesktop.value ? ie("", !0) : Le(o.$slots, "mobile", { key: 0 }),
|
|
40125
|
-
(x(!0), B(je, null, ot(
|
|
40125
|
+
(x(!0), B(je, null, ot(I(r), (a) => (x(), we(o9, {
|
|
40126
40126
|
key: a?.id,
|
|
40127
40127
|
"is-visible": o.$hasAccess(a.permissions) && (a.children?.some((l) => o.$hasAccess(l.permissions)) ?? !0),
|
|
40128
40128
|
url: a.url,
|
|
@@ -40196,35 +40196,35 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40196
40196
|
title: v.title,
|
|
40197
40197
|
"disable-menu": v.disableMenu,
|
|
40198
40198
|
"onMenubutton:click": y[1] || (y[1] = (_) => v.$refs.menu.isMobileVisible = !0),
|
|
40199
|
-
"onBacklink:click": y[2] || (y[2] = (_) =>
|
|
40199
|
+
"onBacklink:click": y[2] || (y[2] = (_) => I(o)(I(a).length - 1)),
|
|
40200
40200
|
"onLogo:click": p
|
|
40201
40201
|
}, {
|
|
40202
40202
|
"app-switcher": le(() => [
|
|
40203
40203
|
Le(v.$slots, "app-switcher", {}, () => [
|
|
40204
40204
|
oe(w, {
|
|
40205
|
-
"apps-list":
|
|
40206
|
-
onOnClick: y[0] || (y[0] = (_) =>
|
|
40205
|
+
"apps-list": I(l),
|
|
40206
|
+
onOnClick: y[0] || (y[0] = (_) => I(u)(_))
|
|
40207
40207
|
}, null, 8, ["apps-list"])
|
|
40208
40208
|
])
|
|
40209
40209
|
]),
|
|
40210
40210
|
toolbar: le(() => [
|
|
40211
40211
|
Le(v.$slots, "toolbar", td(Py({
|
|
40212
|
-
LanguageSelector:
|
|
40213
|
-
UserDropdownButton:
|
|
40214
|
-
NotificationDropdown:
|
|
40212
|
+
LanguageSelector: I(gy),
|
|
40213
|
+
UserDropdownButton: I(Vl),
|
|
40214
|
+
NotificationDropdown: I(yy)
|
|
40215
40215
|
})), () => [
|
|
40216
40216
|
v.$slots["toolbar:prepend"] ? Le(v.$slots, "toolbar:prepend", { key: 0 }) : ie("", !0),
|
|
40217
40217
|
Le(v.$slots, "toolbar:language-selector", {}, () => [
|
|
40218
|
-
(v.$isDesktop.value ? v.$isDesktop.value : v.$isMobile.value &&
|
|
40218
|
+
(v.$isDesktop.value ? v.$isDesktop.value : v.$isMobile.value && I(d).path === "/") ? (x(), we(I(gy), { key: 0 })) : ie("", !0)
|
|
40219
40219
|
]),
|
|
40220
40220
|
Le(v.$slots, "toolbar:notifications-dropdown", {}, () => [
|
|
40221
|
-
oe(
|
|
40221
|
+
oe(I(yy))
|
|
40222
40222
|
]),
|
|
40223
40223
|
v.$isDesktop.value ? Le(v.$slots, "toolbar:user-dropdown", {
|
|
40224
40224
|
key: 1,
|
|
40225
|
-
userDropdown:
|
|
40225
|
+
userDropdown: I(Vl)
|
|
40226
40226
|
}, () => [
|
|
40227
|
-
oe(
|
|
40227
|
+
oe(I(Vl))
|
|
40228
40228
|
]) : ie("", !0)
|
|
40229
40229
|
])
|
|
40230
40230
|
]),
|
|
@@ -40239,16 +40239,16 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40239
40239
|
"onItem:click": b
|
|
40240
40240
|
}, {
|
|
40241
40241
|
mobile: le(() => [
|
|
40242
|
-
oe(
|
|
40242
|
+
oe(I(Vl), { class: "tw-p-0 tw-mb-2 tw-w-full tw-h-auto" })
|
|
40243
40243
|
]),
|
|
40244
40244
|
_: 1
|
|
40245
40245
|
}, 8, ["version"])),
|
|
40246
|
-
|
|
40246
|
+
I(h) ? (x(), B("div", f9, [
|
|
40247
40247
|
Le(v.$slots, "blade-navigation", {}, () => [
|
|
40248
40248
|
oe(m)
|
|
40249
40249
|
])
|
|
40250
40250
|
])) : ie("", !0),
|
|
40251
|
-
oe(
|
|
40251
|
+
oe(I(m1))
|
|
40252
40252
|
])
|
|
40253
40253
|
], 2)) : (x(), we(g, {
|
|
40254
40254
|
key: 0,
|
|
@@ -40290,7 +40290,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40290
40290
|
}
|
|
40291
40291
|
return (a, l) => (x(), B("div", h9, [
|
|
40292
40292
|
a.icon ? (x(), B("div", p9, [
|
|
40293
|
-
oe(
|
|
40293
|
+
oe(I(Ve), {
|
|
40294
40294
|
icon: a.icon,
|
|
40295
40295
|
size: "xxl"
|
|
40296
40296
|
}, null, 8, ["icon"])
|
|
@@ -40313,7 +40313,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40313
40313
|
class: "tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",
|
|
40314
40314
|
onClick: o
|
|
40315
40315
|
}, [
|
|
40316
|
-
oe(
|
|
40316
|
+
oe(I(Ve), {
|
|
40317
40317
|
icon: "fas fa-window-minimize",
|
|
40318
40318
|
size: "s"
|
|
40319
40319
|
})
|
|
@@ -40322,7 +40322,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40322
40322
|
class: "tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",
|
|
40323
40323
|
onClick: i
|
|
40324
40324
|
}, [
|
|
40325
|
-
oe(
|
|
40325
|
+
oe(I(Ve), {
|
|
40326
40326
|
icon: "fas fa-window-maximize",
|
|
40327
40327
|
size: "s"
|
|
40328
40328
|
})
|
|
@@ -40333,7 +40333,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40333
40333
|
class: "tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",
|
|
40334
40334
|
onClick: s
|
|
40335
40335
|
}, [
|
|
40336
|
-
oe(
|
|
40336
|
+
oe(I(Ve), { icon: "fas fa-times" })
|
|
40337
40337
|
])) : ie("", !0)
|
|
40338
40338
|
]))
|
|
40339
40339
|
]));
|
|
@@ -40395,7 +40395,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40395
40395
|
ref: a,
|
|
40396
40396
|
class: "vc-blade-toolbar-button__wrap"
|
|
40397
40397
|
}, [
|
|
40398
|
-
oe(
|
|
40398
|
+
oe(I(Ve), {
|
|
40399
40399
|
class: "vc-blade-toolbar-button__icon",
|
|
40400
40400
|
icon: b.icon,
|
|
40401
40401
|
size: "m"
|
|
@@ -40415,7 +40415,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40415
40415
|
class: "vc-blade-toolbar-button__dropdown-item",
|
|
40416
40416
|
onClick: (g) => h(v)
|
|
40417
40417
|
}, [
|
|
40418
|
-
oe(
|
|
40418
|
+
oe(I(Ve), {
|
|
40419
40419
|
icon: v.icon,
|
|
40420
40420
|
class: "vc-blade-toolbar-button__dropdown-item-icon"
|
|
40421
40421
|
}, null, 8, ["icon"]),
|
|
@@ -40458,14 +40458,14 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40458
40458
|
key: 0,
|
|
40459
40459
|
"is-expanded": r.value,
|
|
40460
40460
|
icon: a.icon,
|
|
40461
|
-
title:
|
|
40461
|
+
title: I(a.title),
|
|
40462
40462
|
disabled: a.disabled,
|
|
40463
40463
|
"dropdown-items": a.dropdownItems,
|
|
40464
40464
|
"click-handler": a.clickHandler
|
|
40465
40465
|
}, null, 8, ["is-expanded", "icon", "title", "disabled", "dropdown-items", "click-handler"])) : ie("", !0)
|
|
40466
40466
|
], 64))), 128))
|
|
40467
40467
|
]),
|
|
40468
|
-
oe(
|
|
40468
|
+
oe(I(Ve), {
|
|
40469
40469
|
class: "tw-self-center tw-justify-self-center tw-text-[#a1c0d4] tw-cursor-pointer tw-mr-4 hover:tw-text-[#7ea8c4]",
|
|
40470
40470
|
icon: `fas fa-chevron-${r.value ? "up" : "down"}`,
|
|
40471
40471
|
onClick: n
|
|
@@ -40505,7 +40505,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40505
40505
|
{
|
|
40506
40506
|
"!tw-w-full": s.$isMobile.value,
|
|
40507
40507
|
"!tw-w-full !tw-shrink": s.expanded,
|
|
40508
|
-
"!tw-absolute !tw-z-[2] !tw-top-0 !tw-bottom-0 !tw-left-0 ![width:-webkit-fill-available] !tw-shrink":
|
|
40508
|
+
"!tw-absolute !tw-z-[2] !tw-top-0 !tw-bottom-0 !tw-left-0 ![width:-webkit-fill-available] !tw-shrink": I(r)
|
|
40509
40509
|
}
|
|
40510
40510
|
]]),
|
|
40511
40511
|
style: Et({ width: typeof s.width == "number" ? `${s.width}px` : s.width })
|
|
@@ -40513,7 +40513,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40513
40513
|
!s.$isMobile.value || s.closable ? (x(), we(b9, {
|
|
40514
40514
|
key: 0,
|
|
40515
40515
|
class: "tw-shrink-0",
|
|
40516
|
-
maximized:
|
|
40516
|
+
maximized: I(r),
|
|
40517
40517
|
expandable: s.expandable,
|
|
40518
40518
|
closable: s.closable,
|
|
40519
40519
|
icon: s.icon,
|
|
@@ -40531,19 +40531,19 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40531
40531
|
key: "0"
|
|
40532
40532
|
} : void 0
|
|
40533
40533
|
]), 1032, ["maximized", "expandable", "closable", "icon", "title", "subtitle"])) : ie("", !0),
|
|
40534
|
-
|
|
40535
|
-
oe(
|
|
40534
|
+
I(n) ? (x(), B("div", A9, [
|
|
40535
|
+
oe(I(Ve), {
|
|
40536
40536
|
size: "s",
|
|
40537
40537
|
icon: "fas fa-exclamation-triangle"
|
|
40538
40538
|
}),
|
|
40539
|
-
Y("div", N9, ue(
|
|
40540
|
-
oe(
|
|
40539
|
+
Y("div", N9, ue(I(n)), 1),
|
|
40540
|
+
oe(I(ln), {
|
|
40541
40541
|
text: "",
|
|
40542
40542
|
class: "tw-shrink-0 tw-opacity-80 tw-text-white hover:!tw-opacity-100 hover:!tw-text-white",
|
|
40543
|
-
onClick: a[3] || (a[3] = (l) =>
|
|
40543
|
+
onClick: a[3] || (a[3] = (l) => I(o)())
|
|
40544
40544
|
}, {
|
|
40545
40545
|
default: le(() => [
|
|
40546
|
-
Re(ue(
|
|
40546
|
+
Re(ue(I(i)("COMPONENTS.ORGANISMS.VC_BLADE.SEE_DETAILS")), 1)
|
|
40547
40547
|
]),
|
|
40548
40548
|
_: 1
|
|
40549
40549
|
})
|
|
@@ -40628,7 +40628,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40628
40628
|
}
|
|
40629
40629
|
return (b, p) => {
|
|
40630
40630
|
const v = $e("VcMultivalue");
|
|
40631
|
-
return x(), we(
|
|
40631
|
+
return x(), we(I(jr), {
|
|
40632
40632
|
key: u.value.key,
|
|
40633
40633
|
label: u.value.displayName,
|
|
40634
40634
|
name: u.value.name,
|
|
@@ -40636,7 +40636,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40636
40636
|
rules: u.value.rules
|
|
40637
40637
|
}, {
|
|
40638
40638
|
default: le(({ errorMessage: y, errors: g }) => [
|
|
40639
|
-
u.value.dictionary && !u.value.multivalue ? (x(), we(
|
|
40639
|
+
u.value.dictionary && !u.value.multivalue ? (x(), we(I(Wa), Lt({ key: 0 }, b.$attrs, {
|
|
40640
40640
|
modelValue: c.value,
|
|
40641
40641
|
"onUpdate:modelValue": p[0] || (p[0] = (w) => c.value = w),
|
|
40642
40642
|
error: !!g.length,
|
|
@@ -40683,7 +40683,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40683
40683
|
multivalue: u.value.multivalue,
|
|
40684
40684
|
onSearch: d,
|
|
40685
40685
|
onClose: h
|
|
40686
|
-
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "disabled", "multilanguage", "current-language", "options", "option-label", "multivalue"])) : u.value.valueType === "ShortText" ? (x(), we(
|
|
40686
|
+
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "disabled", "multilanguage", "current-language", "options", "option-label", "multivalue"])) : u.value.valueType === "ShortText" ? (x(), we(I($r), Lt({ key: 3 }, b.$attrs, {
|
|
40687
40687
|
modelValue: c.value,
|
|
40688
40688
|
"onUpdate:modelValue": p[3] || (p[3] = (w) => c.value = w),
|
|
40689
40689
|
error: !!g.length,
|
|
@@ -40718,7 +40718,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40718
40718
|
error: !!g.length,
|
|
40719
40719
|
"error-message": y,
|
|
40720
40720
|
options: a.value
|
|
40721
|
-
}), null, 16, ["modelValue", "label", "required", "disabled", "error", "error-message", "options"])) : u.value.valueType === "Number" ? (x(), we(
|
|
40721
|
+
}), null, 16, ["modelValue", "label", "required", "disabled", "error", "error-message", "options"])) : u.value.valueType === "Number" ? (x(), we(I($r), Lt({ key: 6 }, b.$attrs, {
|
|
40722
40722
|
modelValue: c.value,
|
|
40723
40723
|
"onUpdate:modelValue": p[6] || (p[6] = (w) => c.value = w),
|
|
40724
40724
|
error: !!g.length,
|
|
@@ -40730,7 +40730,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40730
40730
|
placeholder: u.value.placeholder,
|
|
40731
40731
|
disabled: b.disabled,
|
|
40732
40732
|
loading: l.value
|
|
40733
|
-
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : u.value.valueType === "Integer" ? (x(), we(
|
|
40733
|
+
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : u.value.valueType === "Integer" ? (x(), we(I($r), Lt({ key: 7 }, b.$attrs, {
|
|
40734
40734
|
modelValue: c.value,
|
|
40735
40735
|
"onUpdate:modelValue": p[7] || (p[7] = (w) => c.value = w),
|
|
40736
40736
|
error: !!g.length,
|
|
@@ -40743,7 +40743,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40743
40743
|
placeholder: u.value.placeholder,
|
|
40744
40744
|
disabled: b.disabled,
|
|
40745
40745
|
loading: l.value
|
|
40746
|
-
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : u.value.valueType === "DateTime" ? (x(), we(
|
|
40746
|
+
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : u.value.valueType === "DateTime" ? (x(), we(I($r), Lt({ key: 8 }, b.$attrs, {
|
|
40747
40747
|
modelValue: c.value,
|
|
40748
40748
|
"onUpdate:modelValue": p[8] || (p[8] = (w) => c.value = w),
|
|
40749
40749
|
error: !!g.length,
|
|
@@ -40754,7 +40754,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40754
40754
|
placeholder: u.value.placeholder,
|
|
40755
40755
|
disabled: b.disabled,
|
|
40756
40756
|
loading: l.value
|
|
40757
|
-
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : u.value.valueType === "LongText" ? (x(), we(
|
|
40757
|
+
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : u.value.valueType === "LongText" ? (x(), we(I(vc), Lt({ key: 9 }, b.$attrs, {
|
|
40758
40758
|
modelValue: c.value,
|
|
40759
40759
|
"onUpdate:modelValue": p[9] || (p[9] = (w) => c.value = w),
|
|
40760
40760
|
"error-message": y,
|
|
@@ -40764,7 +40764,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40764
40764
|
disabled: b.disabled,
|
|
40765
40765
|
multilanguage: b.multilanguage,
|
|
40766
40766
|
"current-language": b.currentLanguage
|
|
40767
|
-
}), null, 16, ["modelValue", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : u.value.valueType === "Boolean" ? (x(), we(
|
|
40767
|
+
}), null, 16, ["modelValue", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : u.value.valueType === "Boolean" ? (x(), we(I(Xs), Lt({ key: 10 }, b.$attrs, {
|
|
40768
40768
|
modelValue: c.value,
|
|
40769
40769
|
"onUpdate:modelValue": p[10] || (p[10] = (w) => c.value = w),
|
|
40770
40770
|
"error-message": y,
|
|
@@ -40808,14 +40808,14 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40808
40808
|
}]),
|
|
40809
40809
|
onTap: o[3] || (o[3] = nt((s) => r.value = !r.value, ["stop"]))
|
|
40810
40810
|
}, [
|
|
40811
|
-
oe(
|
|
40811
|
+
oe(I(Pa), {
|
|
40812
40812
|
aspect: "1x1",
|
|
40813
40813
|
src: i.image.url,
|
|
40814
40814
|
background: "contain"
|
|
40815
40815
|
}, null, 8, ["src"]),
|
|
40816
40816
|
Y("div", k9, [
|
|
40817
40817
|
Y("div", C9, [
|
|
40818
|
-
!i.readonly && !i.disableDrag ? (x(), we(
|
|
40818
|
+
!i.readonly && !i.disableDrag ? (x(), we(I(Ve), {
|
|
40819
40819
|
key: 0,
|
|
40820
40820
|
class: "vc-gallery-item__move",
|
|
40821
40821
|
icon: "fas fa-arrows-alt",
|
|
@@ -40832,18 +40832,18 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40832
40832
|
class: "vc-gallery-item__button",
|
|
40833
40833
|
onClick: o[0] || (o[0] = (s) => i.$emit("preview", i.image))
|
|
40834
40834
|
}, [
|
|
40835
|
-
oe(
|
|
40835
|
+
oe(I(Ve), {
|
|
40836
40836
|
class: "vc-gallery-item__button-icon",
|
|
40837
40837
|
icon: "fas fa-eye"
|
|
40838
40838
|
}),
|
|
40839
|
-
Y("div", I9, ue(
|
|
40839
|
+
Y("div", I9, ue(I(e)("COMPONENTS.ORGANISMS.VC_GALLERY.INTERNAL.VC_GALLERY_ITEM.FULLSCREEN")), 1)
|
|
40840
40840
|
])) : ie("", !0),
|
|
40841
40841
|
!i.readonly && i.actions && i.actions.edit ? (x(), B("div", {
|
|
40842
40842
|
key: 1,
|
|
40843
40843
|
class: "vc-gallery-item__button",
|
|
40844
40844
|
onClick: o[1] || (o[1] = (s) => i.$emit("edit", i.image))
|
|
40845
40845
|
}, [
|
|
40846
|
-
oe(
|
|
40846
|
+
oe(I(Ve), {
|
|
40847
40847
|
class: "vc-gallery-item__button-icon",
|
|
40848
40848
|
icon: "fas fa-pen"
|
|
40849
40849
|
}),
|
|
@@ -40854,7 +40854,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40854
40854
|
class: "vc-gallery-item__button",
|
|
40855
40855
|
onClick: o[2] || (o[2] = (s) => i.$emit("remove", i.image))
|
|
40856
40856
|
}, [
|
|
40857
|
-
oe(
|
|
40857
|
+
oe(I(Ve), {
|
|
40858
40858
|
class: "vc-gallery-item__button-icon",
|
|
40859
40859
|
icon: "fas fa-trash"
|
|
40860
40860
|
}),
|
|
@@ -40863,7 +40863,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40863
40863
|
])
|
|
40864
40864
|
])
|
|
40865
40865
|
], 34)), [
|
|
40866
|
-
[
|
|
40866
|
+
[I(ui), n]
|
|
40867
40867
|
]);
|
|
40868
40868
|
}
|
|
40869
40869
|
}), $9 = /* @__PURE__ */ Y("span", null, ")", -1), M9 = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center" }, j9 = { class: "tw-box-border p-5 tw-grow tw-basis-0 tw-w-full" }, F9 = { class: "tw-p-4 tw-pb-[40px] tw-max-w-full tw-overflow-x-auto tw-box-border tw-shrink tw-flex" }, U9 = /* @__PURE__ */ Ae({
|
|
@@ -40883,7 +40883,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40883
40883
|
function a(l) {
|
|
40884
40884
|
l.key === "ArrowLeft" && n.value > 0 ? n.value-- : l.key === "ArrowRight" && n.value < e.images.length - 1 && n.value++;
|
|
40885
40885
|
}
|
|
40886
|
-
return (l, u) => o.value ? (x(), we(
|
|
40886
|
+
return (l, u) => o.value ? (x(), we(I(nl), {
|
|
40887
40887
|
key: 0,
|
|
40888
40888
|
title: o.value?.title,
|
|
40889
40889
|
"is-mobile-fullscreen": "",
|
|
@@ -40895,11 +40895,11 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40895
40895
|
header: le(() => [
|
|
40896
40896
|
Y("div", null, [
|
|
40897
40897
|
Y("span", null, ue(o.value.name) + " (", 1),
|
|
40898
|
-
oe(
|
|
40898
|
+
oe(I(Hu), {
|
|
40899
40899
|
onClick: u[0] || (u[0] = (c) => s(o.value.url ?? ""))
|
|
40900
40900
|
}, {
|
|
40901
40901
|
default: le(() => [
|
|
40902
|
-
Re(ue(
|
|
40902
|
+
Re(ue(I(r)("COMPONENTS.ORGANISMS.VC_GALLERY.INTERNAL.VC_GALLERY_PREVIEW.COPY_IMAGE_LINK")), 1)
|
|
40903
40903
|
]),
|
|
40904
40904
|
_: 1
|
|
40905
40905
|
}),
|
|
@@ -40918,7 +40918,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40918
40918
|
class: "tw-absolute tw-top-2/4 -tw-mt-9 tw-h-[72px] tw-w-[72px] tw-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-[#f1f6fa] tw-cursor-pointer tw-text-[#a1c0d4] [--icon-size-xl: 36px] hover:tw-shadow-[0_0_20px_rgba(31,40,50,0.15)] tw-left-[25px]",
|
|
40919
40919
|
onClick: u[1] || (u[1] = (c) => n.value--)
|
|
40920
40920
|
}, [
|
|
40921
|
-
oe(
|
|
40921
|
+
oe(I(Ve), {
|
|
40922
40922
|
icon: "fas fa-arrow-left",
|
|
40923
40923
|
size: "xl"
|
|
40924
40924
|
})
|
|
@@ -40928,7 +40928,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40928
40928
|
class: "tw-absolute tw-top-2/4 -tw-mt-9 tw-h-[72px] tw-w-[72px] tw-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-[#f1f6fa] tw-cursor-pointer tw-text-[#a1c0d4] [--icon-size-xl: 36px] hover:tw-shadow-[0_0_20px_rgba(31,40,50,0.15)] tw-right-[25px]",
|
|
40929
40929
|
onClick: u[2] || (u[2] = (c) => n.value++)
|
|
40930
40930
|
}, [
|
|
40931
|
-
oe(
|
|
40931
|
+
oe(I(Ve), {
|
|
40932
40932
|
icon: "fas fa-arrow-right",
|
|
40933
40933
|
size: "xl"
|
|
40934
40934
|
})
|
|
@@ -40941,7 +40941,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40941
40941
|
"vc-gallery-preview__images-item_current": f === n.value
|
|
40942
40942
|
}])
|
|
40943
40943
|
}, [
|
|
40944
|
-
oe(
|
|
40944
|
+
oe(I(Pa), {
|
|
40945
40945
|
src: c.url,
|
|
40946
40946
|
size: "xl",
|
|
40947
40947
|
background: "contain",
|
|
@@ -40997,7 +40997,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40997
40997
|
Ge(
|
|
40998
40998
|
() => r.images,
|
|
40999
40999
|
(O) => {
|
|
41000
|
-
s.value =
|
|
41000
|
+
s.value = I(O), r.hideAfterUpload && (b.value = !!s.value.length);
|
|
41001
41001
|
},
|
|
41002
41002
|
{ deep: !0, immediate: !0 }
|
|
41003
41003
|
);
|
|
@@ -41053,7 +41053,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41053
41053
|
}
|
|
41054
41054
|
}
|
|
41055
41055
|
return (O, E) => (x(), B("div", B9, [
|
|
41056
|
-
O.label ? (x(), we(
|
|
41056
|
+
O.label ? (x(), we(I(vn), {
|
|
41057
41057
|
key: 0,
|
|
41058
41058
|
required: O.required
|
|
41059
41059
|
}, xr({
|
|
@@ -41092,7 +41092,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41092
41092
|
onDragleave: A,
|
|
41093
41093
|
onDrop: (D) => S(D, N)
|
|
41094
41094
|
}, null, 8, ["image", "readonly", "actions", "disable-drag", "onPreview", "onDragstart", "onDrop"]))), 128)),
|
|
41095
|
-
!O.disabled && !b.value ? (x(), we(
|
|
41095
|
+
!O.disabled && !b.value ? (x(), we(I(jb), {
|
|
41096
41096
|
key: 0,
|
|
41097
41097
|
class: "tw-m-2",
|
|
41098
41098
|
icon: O.uploadIcon,
|
|
@@ -41110,9 +41110,9 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41110
41110
|
class: "tw-w-0.5 tw-bg-[#41afe6] tw-h-full tw-absolute tw-top-0 tw-bottom-0 tw-z-[2] tw-hidden"
|
|
41111
41111
|
}, null, 512)
|
|
41112
41112
|
])) : (x(), B("div", H9, [
|
|
41113
|
-
oe(
|
|
41113
|
+
oe(I(Jr), null, {
|
|
41114
41114
|
default: le(() => [
|
|
41115
|
-
Re(ue(
|
|
41115
|
+
Re(ue(I(i)("COMPONENTS.ORGANISMS.VC_GALLERY.GALLERY_IS_EMPTY")), 1)
|
|
41116
41116
|
]),
|
|
41117
41117
|
_: 1
|
|
41118
41118
|
})
|
|
@@ -41308,7 +41308,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41308
41308
|
Y("div", {
|
|
41309
41309
|
ref_key: "target",
|
|
41310
41310
|
ref: a,
|
|
41311
|
-
class: De(["tw-top-0 tw-left-0 tw-bottom-0 tw-right-0 tw-w-full tw-h-full tw-absolute tw-flex-shrink-0 tw-bg-white", { animated: !
|
|
41311
|
+
class: De(["tw-top-0 tw-left-0 tw-bottom-0 tw-right-0 tw-w-full tw-h-full tw-absolute tw-flex-shrink-0 tw-bg-white", { animated: !I(d), "vc-table-mobile__item_selected": A.isSelected }]),
|
|
41312
41312
|
style: Et({ left: c.value })
|
|
41313
41313
|
}, [
|
|
41314
41314
|
Le(A.$slots, "default")
|
|
@@ -41363,7 +41363,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41363
41363
|
Y("div", az, [
|
|
41364
41364
|
Y("div", lz, [
|
|
41365
41365
|
Y("div", uz, [
|
|
41366
|
-
Y("span", cz, ue(
|
|
41366
|
+
Y("span", cz, ue(I(i)("COMPONENTS.ORGANISMS.VC_TABLE.ALL_ACTIONS")), 1),
|
|
41367
41367
|
oe(T, {
|
|
41368
41368
|
class: "tw-text-[#c2d7e4]",
|
|
41369
41369
|
icon: "fas fa-times-circle",
|
|
@@ -41391,7 +41391,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41391
41391
|
], 4)) : ie("", !0)
|
|
41392
41392
|
])
|
|
41393
41393
|
], 32)), [
|
|
41394
|
-
[
|
|
41394
|
+
[I(ui), v],
|
|
41395
41395
|
[C, m, "hold"]
|
|
41396
41396
|
]);
|
|
41397
41397
|
};
|
|
@@ -41402,10 +41402,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41402
41402
|
}, vz = { class: "tw-truncate" }, gz = { class: "tw-text-[#a5a5a5] tw-text-xs tw-truncate" }, yz = {
|
|
41403
41403
|
key: 1,
|
|
41404
41404
|
class: "tw-truncate"
|
|
41405
|
-
}, bz = {
|
|
41406
|
-
key: 1,
|
|
41407
|
-
class: "tw-text-[#a5a5a5]"
|
|
41408
|
-
}, wz = {
|
|
41405
|
+
}, bz = ["title"], wz = {
|
|
41409
41406
|
key: 0,
|
|
41410
41407
|
class: "tw-truncate"
|
|
41411
41408
|
}, _z = {
|
|
@@ -41460,14 +41457,18 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41460
41457
|
Y("span", vz, ue(Math.trunc(Number(n.value))), 1),
|
|
41461
41458
|
Y("span", gz, "." + ue(`${Number(n.value) * 100 % 100}`.padEnd(2, "0").slice(0, 2)), 1)
|
|
41462
41459
|
])) : (x(), B("div", yz, "N/A"))
|
|
41463
|
-
], 64)) : i.cell.type === "date-ago" ? (x(), B("span",
|
|
41464
|
-
|
|
41465
|
-
|
|
41460
|
+
], 64)) : i.cell.type === "date-ago" ? (x(), B("span", {
|
|
41461
|
+
key: 1,
|
|
41462
|
+
class: "tw-text-[#a5a5a5]",
|
|
41463
|
+
title: n.value instanceof Date && n.value.toLocaleString(I(r)) || ""
|
|
41464
|
+
}, [
|
|
41465
|
+
n.value ? (x(), B("div", wz, ue(I(xe)(n.value).fromNow()), 1)) : (x(), B("div", _z, " N/A "))
|
|
41466
|
+
], 8, bz)) : i.cell.type === "date" || i.cell.type === "time" || i.cell.type === "date-time" ? (x(), B("div", Ez, [
|
|
41466
41467
|
n.value ? (x(), B(je, { key: 0 }, [
|
|
41467
|
-
i.cell.format ? (x(), B("div", Sz, ue(
|
|
41468
|
-
i.cell.type === "date" ? (x(), B("div", Oz, ue(n.value instanceof Date && n.value.toLocaleDateString()), 1)) : ie("", !0),
|
|
41469
|
-
i.cell.type === "time" ? (x(), B("div", Tz, ue(n.value instanceof Date && n.value.toLocaleTimeString()), 1)) : ie("", !0),
|
|
41470
|
-
i.cell.type === "date-time" ? (x(), B("p", Az, ue(n.value.toLocaleString()), 1)) : ie("", !0)
|
|
41468
|
+
i.cell.format ? (x(), B("div", Sz, ue(I(xe)(n.value).locale(I(r)).format(i.cell.format)), 1)) : (x(), B(je, { key: 1 }, [
|
|
41469
|
+
i.cell.type === "date" ? (x(), B("div", Oz, ue(n.value instanceof Date && n.value.toLocaleDateString(I(r))), 1)) : ie("", !0),
|
|
41470
|
+
i.cell.type === "time" ? (x(), B("div", Tz, ue(n.value instanceof Date && n.value.toLocaleTimeString(I(r))), 1)) : ie("", !0),
|
|
41471
|
+
i.cell.type === "date-time" ? (x(), B("p", Az, ue(n.value instanceof Date && n.value.toLocaleString(I(r))), 1)) : ie("", !0)
|
|
41471
41472
|
], 64))
|
|
41472
41473
|
], 64)) : (x(), B("div", Nz, " N/A "))
|
|
41473
41474
|
])) : i.cell.type === "image" ? (x(), we(s, {
|
|
@@ -41558,7 +41559,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41558
41559
|
_: 1
|
|
41559
41560
|
})) : ie("", !0)
|
|
41560
41561
|
], 4)), [
|
|
41561
|
-
[
|
|
41562
|
+
[I(ui), [c, { ignore: [i.value] }]]
|
|
41562
41563
|
]) : ie("", !0)
|
|
41563
41564
|
]))
|
|
41564
41565
|
]);
|
|
@@ -41655,7 +41656,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41655
41656
|
}), J = re(() => {
|
|
41656
41657
|
const te = r.sort?.split(":");
|
|
41657
41658
|
return te && te.length === 2 && te[0];
|
|
41658
|
-
}), U = re(() => r.columns.map((te) => O.value.find((Ee) => te.id === Ee.id))),
|
|
41659
|
+
}), U = re(() => r.columns.map((te) => O.value.find((Ee) => te.id === Ee.id))), L = {
|
|
41659
41660
|
start: "tw-justify-start",
|
|
41660
41661
|
end: "tw-justify-end",
|
|
41661
41662
|
center: "tw-justify-center",
|
|
@@ -41872,6 +41873,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41872
41873
|
// visible: column.visible,
|
|
41873
41874
|
sortable: Ee.sortable,
|
|
41874
41875
|
alwaysVisible: Ee.alwaysVisible,
|
|
41876
|
+
width: Ee.width,
|
|
41875
41877
|
type: Ee.type
|
|
41876
41878
|
} : te;
|
|
41877
41879
|
}));
|
|
@@ -41932,7 +41934,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41932
41934
|
_: 3
|
|
41933
41935
|
}, 8, ["counter"])
|
|
41934
41936
|
])) : ie("", !0),
|
|
41935
|
-
oe(
|
|
41937
|
+
oe(I($r), {
|
|
41936
41938
|
class: "tw-grow tw-basis-0",
|
|
41937
41939
|
placeholder: te.searchPlaceholder || te.$t("COMPONENTS.ORGANISMS.VC_TABLE.SEARCH"),
|
|
41938
41940
|
clearable: "",
|
|
@@ -41942,7 +41944,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41942
41944
|
}, null, 8, ["placeholder", "model-value"]),
|
|
41943
41945
|
te.$isDesktop.value && te.$slots.filters ? (x(), B("div", Fz, [
|
|
41944
41946
|
oe(Ey, {
|
|
41945
|
-
title:
|
|
41947
|
+
title: I(i)("COMPONENTS.ORGANISMS.VC_TABLE.ALL_FILTERS"),
|
|
41946
41948
|
counter: te.activeFilterCount,
|
|
41947
41949
|
"parent-expanded": te.expanded
|
|
41948
41950
|
}, {
|
|
@@ -41955,7 +41957,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41955
41957
|
])
|
|
41956
41958
|
]) : ie("", !0),
|
|
41957
41959
|
Ht((x(), B("div", Uz, [
|
|
41958
|
-
te.items && te.items.length ? (x(), we(
|
|
41960
|
+
te.items && te.items.length ? (x(), we(I(mo), {
|
|
41959
41961
|
key: 0,
|
|
41960
41962
|
ref_key: "scrollContainer",
|
|
41961
41963
|
ref: p,
|
|
@@ -41994,7 +41996,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41994
41996
|
Y("tr", Hz, [
|
|
41995
41997
|
te.multiselect ? (x(), B("th", qz, [
|
|
41996
41998
|
Y("div", Gz, [
|
|
41997
|
-
oe(
|
|
41999
|
+
oe(I(Xs), {
|
|
41998
42000
|
modelValue: F.value,
|
|
41999
42001
|
"onUpdate:modelValue": Ee[1] || (Ee[1] = (Oe) => F.value = Oe),
|
|
42000
42002
|
onClick: Ee[2] || (Ee[2] = nt(() => {
|
|
@@ -42019,7 +42021,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42019
42021
|
onClick: (st) => Pe(Oe)
|
|
42020
42022
|
}, [
|
|
42021
42023
|
Y("div", {
|
|
42022
|
-
class: De(["tw-flex tw-items-center tw-flex-nowrap tw-truncate tw-px-3", Oe.align ?
|
|
42024
|
+
class: De(["tw-flex tw-items-center tw-flex-nowrap tw-truncate tw-px-3", Oe.align ? L[Oe.align] : ""])
|
|
42023
42025
|
}, [
|
|
42024
42026
|
Y("div", Zz, [
|
|
42025
42027
|
Le(te.$slots, `header_${Oe.id}`, {}, () => [
|
|
@@ -42027,16 +42029,16 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42027
42029
|
])
|
|
42028
42030
|
]),
|
|
42029
42031
|
J.value === Oe.id ? (x(), B("div", Xz, [
|
|
42030
|
-
oe(
|
|
42032
|
+
oe(I(Ve), {
|
|
42031
42033
|
size: "xs",
|
|
42032
42034
|
icon: `fas fa-caret-${de.value === "DESC" ? "down" : "up"}`
|
|
42033
42035
|
}, null, 8, ["icon"])
|
|
42034
42036
|
])) : (x(), B("div", Qz, [
|
|
42035
|
-
oe(
|
|
42037
|
+
oe(I(Ve), {
|
|
42036
42038
|
size: "xs",
|
|
42037
42039
|
icon: "fas fa-caret-up"
|
|
42038
42040
|
}),
|
|
42039
|
-
oe(
|
|
42041
|
+
oe(I(Ve), {
|
|
42040
42042
|
size: "xs",
|
|
42041
42043
|
icon: "fas fa-caret-down"
|
|
42042
42044
|
})
|
|
@@ -42071,14 +42073,14 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42071
42073
|
te.selectAll && ne.value ? (x(), B("div", o7, [
|
|
42072
42074
|
Y("div", s7, [
|
|
42073
42075
|
Y("div", null, [
|
|
42074
|
-
Re(ue(d.value ?
|
|
42075
|
-
oe(
|
|
42076
|
+
Re(ue(d.value ? I(i)("COMPONENTS.ORGANISMS.VC_TABLE.ALL_SELECTED") : I(i)("COMPONENTS.ORGANISMS.VC_TABLE.CURRENT_PAGE_SELECTED")) + " ", 1),
|
|
42077
|
+
oe(I(ln), {
|
|
42076
42078
|
text: "",
|
|
42077
42079
|
class: "tw-text-[13px]",
|
|
42078
42080
|
onClick: W
|
|
42079
42081
|
}, {
|
|
42080
42082
|
default: le(() => [
|
|
42081
|
-
Re(ue(d.value ?
|
|
42083
|
+
Re(ue(d.value ? I(i)("COMPONENTS.ORGANISMS.VC_TABLE.CANCEL") : I(i)("COMPONENTS.ORGANISMS.VC_TABLE.SELECT_ALL")), 1)
|
|
42082
42084
|
]),
|
|
42083
42085
|
_: 1
|
|
42084
42086
|
})
|
|
@@ -42111,7 +42113,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42111
42113
|
}, ["stop"]))
|
|
42112
42114
|
}, [
|
|
42113
42115
|
Y("div", l7, [
|
|
42114
|
-
oe(
|
|
42116
|
+
oe(I(Xs), {
|
|
42115
42117
|
"model-value": j(Oe),
|
|
42116
42118
|
"onUpdate:modelValue": (Ze) => X(Oe)
|
|
42117
42119
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
@@ -42134,7 +42136,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42134
42136
|
disabled: !(y.value[st] && y.value[st].length),
|
|
42135
42137
|
onClick: nt((Ze) => ke(Oe, Oe.id), ["stop"])
|
|
42136
42138
|
}, [
|
|
42137
|
-
oe(
|
|
42139
|
+
oe(I(Ve), {
|
|
42138
42140
|
icon: "fas fa-ellipsis-v",
|
|
42139
42141
|
size: "m"
|
|
42140
42142
|
})
|
|
@@ -42155,7 +42157,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42155
42157
|
]),
|
|
42156
42158
|
onClick: nt((wn) => Ze.clickHandler(Oe), ["stop"])
|
|
42157
42159
|
}, [
|
|
42158
|
-
oe(
|
|
42160
|
+
oe(I(Ve), {
|
|
42159
42161
|
icon: Ze.icon,
|
|
42160
42162
|
size: "m"
|
|
42161
42163
|
}, null, 8, ["icon"]),
|
|
@@ -42203,8 +42205,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42203
42205
|
key: 0,
|
|
42204
42206
|
src: te.notfound.image
|
|
42205
42207
|
}, null, 8, y7)) : ie("", !0),
|
|
42206
|
-
Y("div", b7, ue(te.notfound.text ||
|
|
42207
|
-
te.notfound.action ? (x(), we(
|
|
42208
|
+
Y("div", b7, ue(te.notfound.text || I(i)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_FOUND")), 1),
|
|
42209
|
+
te.notfound.action ? (x(), we(I(ln), {
|
|
42208
42210
|
key: 1,
|
|
42209
42211
|
onClick: te.notfound.clickHandler
|
|
42210
42212
|
}, {
|
|
@@ -42220,8 +42222,8 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42220
42222
|
key: 0,
|
|
42221
42223
|
src: te.empty.image
|
|
42222
42224
|
}, null, 8, _7)) : ie("", !0),
|
|
42223
|
-
Y("div", E7, ue(te.empty.text ||
|
|
42224
|
-
te.empty.action ? (x(), we(
|
|
42225
|
+
Y("div", E7, ue(te.empty.text || I(i)("COMPONENTS.ORGANISMS.VC_TABLE.EMPTY")), 1),
|
|
42226
|
+
te.empty.action ? (x(), we(I(ln), {
|
|
42225
42227
|
key: 1,
|
|
42226
42228
|
onClick: te.empty.clickHandler
|
|
42227
42229
|
}, {
|
|
@@ -42234,11 +42236,11 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42234
42236
|
])
|
|
42235
42237
|
], 64))
|
|
42236
42238
|
])), [
|
|
42237
|
-
[Ye,
|
|
42239
|
+
[Ye, I(te.loading)]
|
|
42238
42240
|
]),
|
|
42239
42241
|
(te.$slots.footer || te.footer) && te.items && te.items.length ? Le(te.$slots, "footer", { key: 1 }, () => [
|
|
42240
42242
|
Y("div", S7, [
|
|
42241
|
-
oe(
|
|
42243
|
+
oe(I(Rw), {
|
|
42242
42244
|
expanded: te.expanded,
|
|
42243
42245
|
pages: te.pages,
|
|
42244
42246
|
"current-page": te.currentPage,
|