@vc-shell/framework 1.0.187 → 1.0.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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 I, createCommentVNode as ie, ref 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 J, createElementVNode as Y, toDisplayString as ue, createVNode as oe, Transition as Iu, 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 Lu, customRef as dh, onBeforeUpdate as hh, watchEffect as Yr, normalizeProps as td, guardReactiveProps as Py, resolveComponent as $e, withKeys as Du, 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 Ve, 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";
|
|
@@ -102,7 +102,7 @@ const IE = /* @__PURE__ */ Ae({
|
|
|
102
102
|
},
|
|
103
103
|
emits: ["header:click", "state:collapsed"],
|
|
104
104
|
setup(t, { emit: e }) {
|
|
105
|
-
const r = t, n = e, i =
|
|
105
|
+
const r = t, n = e, i = J(r.isCollapsed);
|
|
106
106
|
function o() {
|
|
107
107
|
r.isCollapsable && (i.value = !i.value, n("state:collapsed", i.value)), n("header:click");
|
|
108
108
|
}
|
|
@@ -1115,7 +1115,7 @@ function Bu(t, e, r) {
|
|
|
1115
1115
|
}), l = re(() => {
|
|
1116
1116
|
var S;
|
|
1117
1117
|
return (S = I(r.transform)) != null ? S : !0;
|
|
1118
|
-
}), u = re(() => id(t.value)), c = re(() => id(e.value)), f =
|
|
1118
|
+
}), u = re(() => id(t.value)), c = re(() => id(e.value)), f = J(0), d = J(0), h = J(a.value), b = J(s.value), p = kr({}), v = J(!1), y = re(() => {
|
|
1119
1119
|
const S = {
|
|
1120
1120
|
position: h.value,
|
|
1121
1121
|
left: "0",
|
|
@@ -1197,7 +1197,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1197
1197
|
currentLanguage: {}
|
|
1198
1198
|
},
|
|
1199
1199
|
setup(t) {
|
|
1200
|
-
const e =
|
|
1200
|
+
const e = J(!1), r = J(null), n = J(null), { floatingStyles: i } = Bu(r, n, {
|
|
1201
1201
|
placement: "top-start",
|
|
1202
1202
|
middleware: [ju()]
|
|
1203
1203
|
});
|
|
@@ -1332,7 +1332,7 @@ const wS = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
|
|
|
1332
1332
|
},
|
|
1333
1333
|
emits: ["scroll:ptr"],
|
|
1334
1334
|
setup(t, { expose: e, emit: r }) {
|
|
1335
|
-
const n = t, i = r, o =
|
|
1335
|
+
const n = t, i = r, o = J(), s = J(!1), a = J(0), l = J(), u = J(60), c = J(0), f = J("normal"), d = J(0);
|
|
1336
1336
|
ct(() => {
|
|
1337
1337
|
const S = new ResizeObserver(() => {
|
|
1338
1338
|
s.value = o.value && o.value.clientHeight < o.value.scrollHeight;
|
|
@@ -2260,9 +2260,9 @@ var Yy = { exports: {} };
|
|
|
2260
2260
|
var Z = M.split(`
|
|
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
|
-
var
|
|
2263
|
+
var K = this;
|
|
2264
2264
|
Z.reduce(function(U, L) {
|
|
2265
|
-
return
|
|
2265
|
+
return K = K.split(U, !0), K.insertAt(0, L), L.length;
|
|
2266
2266
|
}, D + de.length);
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
@@ -2324,12 +2324,12 @@ var Yy = { exports: {} };
|
|
|
2324
2324
|
Object.defineProperty(n, "__esModule", {
|
|
2325
2325
|
value: !0
|
|
2326
2326
|
}), n.default = n.overload = n.expandConfig = void 0;
|
|
2327
|
-
var o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
2328
|
-
return typeof
|
|
2329
|
-
} : function(
|
|
2330
|
-
return
|
|
2327
|
+
var o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(K) {
|
|
2328
|
+
return typeof K;
|
|
2329
|
+
} : function(K) {
|
|
2330
|
+
return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
|
|
2331
2331
|
}, s = /* @__PURE__ */ function() {
|
|
2332
|
-
function
|
|
2332
|
+
function K(U, L) {
|
|
2333
2333
|
var F = [], H = !0, ne = !1, W = void 0;
|
|
2334
2334
|
try {
|
|
2335
2335
|
for (var j = U[Symbol.iterator](), X; !(H = (X = j.next()).done) && (F.push(X.value), !(L && F.length === L)); H = !0)
|
|
@@ -2350,34 +2350,34 @@ var Yy = { exports: {} };
|
|
|
2350
2350
|
if (Array.isArray(U))
|
|
2351
2351
|
return U;
|
|
2352
2352
|
if (Symbol.iterator in Object(U))
|
|
2353
|
-
return
|
|
2353
|
+
return K(U, L);
|
|
2354
2354
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
2355
2355
|
};
|
|
2356
2356
|
}(), a = /* @__PURE__ */ function() {
|
|
2357
|
-
function
|
|
2357
|
+
function K(U, L) {
|
|
2358
2358
|
for (var F = 0; F < L.length; F++) {
|
|
2359
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
2363
|
return function(U, L, F) {
|
|
2364
|
-
return L &&
|
|
2364
|
+
return L && K(U.prototype, L), F && K(U, F), U;
|
|
2365
2365
|
};
|
|
2366
2366
|
}();
|
|
2367
2367
|
i(50);
|
|
2368
2368
|
var l = i(2), u = O(l), c = i(14), f = O(c), d = i(8), h = O(d), b = i(9), p = O(b), v = i(0), y = O(v), g = i(15), w = O(g), m = i(3), _ = O(m), A = i(10), S = O(A), T = i(34), C = O(T);
|
|
2369
|
-
function O(
|
|
2370
|
-
return
|
|
2369
|
+
function O(K) {
|
|
2370
|
+
return K && K.__esModule ? K : { default: K };
|
|
2371
2371
|
}
|
|
2372
|
-
function E(
|
|
2373
|
-
return U in
|
|
2372
|
+
function E(K, U, L) {
|
|
2373
|
+
return U in K ? Object.defineProperty(K, U, { value: L, enumerable: !0, configurable: !0, writable: !0 }) : K[U] = L, K;
|
|
2374
2374
|
}
|
|
2375
|
-
function N(
|
|
2376
|
-
if (!(
|
|
2375
|
+
function N(K, U) {
|
|
2376
|
+
if (!(K instanceof U))
|
|
2377
2377
|
throw new TypeError("Cannot call a class as a function");
|
|
2378
2378
|
}
|
|
2379
2379
|
var P = (0, S.default)("quill"), D = function() {
|
|
2380
|
-
a(
|
|
2380
|
+
a(K, null, [{
|
|
2381
2381
|
key: "debug",
|
|
2382
2382
|
value: function(L) {
|
|
2383
2383
|
L === !0 && (L = "log"), S.default.level(L);
|
|
@@ -2405,11 +2405,11 @@ var Yy = { exports: {} };
|
|
|
2405
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
|
-
function
|
|
2408
|
+
function K(U) {
|
|
2409
2409
|
var L = this, F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2410
|
-
if (N(this,
|
|
2410
|
+
if (N(this, K), this.options = M(U, F), this.container = this.options.container, this.container == null)
|
|
2411
2411
|
return P.error("Invalid Quill container", U);
|
|
2412
|
-
this.options.debug &&
|
|
2412
|
+
this.options.debug && K.debug(this.options.debug);
|
|
2413
2413
|
var H = this.container.innerHTML.trim();
|
|
2414
2414
|
this.container.classList.add("ql-container"), this.container.innerHTML = "", this.container.__quill = this, this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.root.setAttribute("data-gramm", !1), this.scrollingContainer = this.options.scrollingContainer || this.root, this.emitter = new h.default(), this.scroll = y.default.create(this.root, {
|
|
2415
2415
|
emitter: this.emitter,
|
|
@@ -2425,7 +2425,7 @@ var Yy = { exports: {} };
|
|
|
2425
2425
|
var ne = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + H + "<p><br></p></div>");
|
|
2426
2426
|
this.setContents(ne), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
|
|
2427
2427
|
}
|
|
2428
|
-
return a(
|
|
2428
|
+
return a(K, [{
|
|
2429
2429
|
key: "addContainer",
|
|
2430
2430
|
value: function(L) {
|
|
2431
2431
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
@@ -2577,7 +2577,7 @@ var Yy = { exports: {} };
|
|
|
2577
2577
|
}, {
|
|
2578
2578
|
key: "insertEmbed",
|
|
2579
2579
|
value: function(L, F, H) {
|
|
2580
|
-
var ne = this, W = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] :
|
|
2580
|
+
var ne = this, W = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
|
|
2581
2581
|
return G.call(this, function() {
|
|
2582
2582
|
return ne.editor.insertEmbed(L, F, H);
|
|
2583
2583
|
}, W, L);
|
|
@@ -2645,7 +2645,7 @@ var Yy = { exports: {} };
|
|
|
2645
2645
|
key: "setSelection",
|
|
2646
2646
|
value: function(L, F, H) {
|
|
2647
2647
|
if (L == null)
|
|
2648
|
-
this.selection.setRange(null, F ||
|
|
2648
|
+
this.selection.setRange(null, F || K.sources.API);
|
|
2649
2649
|
else {
|
|
2650
2650
|
var ne = Z(L, F, H), W = s(ne, 4);
|
|
2651
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);
|
|
@@ -2671,7 +2671,7 @@ var Yy = { exports: {} };
|
|
|
2671
2671
|
return L = new u.default(L), F.editor.applyDelta(L, H);
|
|
2672
2672
|
}, H, !0);
|
|
2673
2673
|
}
|
|
2674
|
-
}]),
|
|
2674
|
+
}]), K;
|
|
2675
2675
|
}();
|
|
2676
2676
|
D.DEFAULTS = {
|
|
2677
2677
|
bounds: null,
|
|
@@ -2688,9 +2688,9 @@ var Yy = { exports: {} };
|
|
|
2688
2688
|
"core/module": p.default,
|
|
2689
2689
|
"core/theme": C.default
|
|
2690
2690
|
};
|
|
2691
|
-
function M(
|
|
2691
|
+
function M(K, U) {
|
|
2692
2692
|
if (U = (0, _.default)(!0, {
|
|
2693
|
-
container:
|
|
2693
|
+
container: K,
|
|
2694
2694
|
modules: {
|
|
2695
2695
|
clipboard: !0,
|
|
2696
2696
|
keyboard: !0,
|
|
@@ -2718,10 +2718,10 @@ var Yy = { exports: {} };
|
|
|
2718
2718
|
return U.modules[W] && (ne[W] = U.modules[W]), ne;
|
|
2719
2719
|
}, {}), U;
|
|
2720
2720
|
}
|
|
2721
|
-
function G(
|
|
2721
|
+
function G(K, 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 = L == null ? null : this.getSelection(), ne = this.editor.delta, W =
|
|
2724
|
+
var H = L == null ? null : this.getSelection(), ne = this.editor.delta, W = K();
|
|
2725
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) {
|
|
@@ -2731,21 +2731,21 @@ var Yy = { exports: {} };
|
|
|
2731
2731
|
}
|
|
2732
2732
|
return W;
|
|
2733
2733
|
}
|
|
2734
|
-
function Z(
|
|
2734
|
+
function Z(K, U, L, F, H) {
|
|
2735
2735
|
var ne = {};
|
|
2736
|
-
return typeof
|
|
2736
|
+
return typeof K.index == "number" && typeof K.length == "number" ? typeof U != "number" ? (H = F, F = L, L = U, U = K.length, K = K.index) : (U = K.length, K = K.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, [K, U, ne, H];
|
|
2737
2737
|
}
|
|
2738
|
-
function de(
|
|
2739
|
-
if (
|
|
2738
|
+
function de(K, U, L, F) {
|
|
2739
|
+
if (K == null)
|
|
2740
2740
|
return null;
|
|
2741
2741
|
var H = void 0, ne = void 0;
|
|
2742
2742
|
if (U instanceof u.default) {
|
|
2743
|
-
var W = [
|
|
2743
|
+
var W = [K.index, K.index + K.length].map(function(ce) {
|
|
2744
2744
|
return U.transformPosition(ce, F !== h.default.sources.USER);
|
|
2745
2745
|
}), j = s(W, 2);
|
|
2746
2746
|
H = j[0], ne = j[1];
|
|
2747
2747
|
} else {
|
|
2748
|
-
var X = [
|
|
2748
|
+
var X = [K.index, K.index + K.length].map(function(ce) {
|
|
2749
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];
|
|
@@ -3199,8 +3199,8 @@ var Yy = { exports: {} };
|
|
|
3199
3199
|
if (N !== 0 && !(f.default.query(P, f.default.Scope.BLOCK) == null || P === this.statics.blotName && D === this.statics.formats(this.domNode))) {
|
|
3200
3200
|
var M = this.newlineIndex(E);
|
|
3201
3201
|
if (!(M < 0 || M >= E + N)) {
|
|
3202
|
-
var G = this.newlineIndex(E, !0) + 1, Z = M - G + 1, de = this.isolate(G, Z),
|
|
3203
|
-
de.format(P, D),
|
|
3202
|
+
var G = this.newlineIndex(E, !0) + 1, Z = M - G + 1, de = this.isolate(G, Z), K = de.next;
|
|
3203
|
+
de.format(P, D), K instanceof C && K.formatAt(0, E - G + N - Z, P, D);
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
}
|
|
@@ -3268,12 +3268,12 @@ var Yy = { exports: {} };
|
|
|
3268
3268
|
Object.defineProperty(n, "__esModule", {
|
|
3269
3269
|
value: !0
|
|
3270
3270
|
});
|
|
3271
|
-
var o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
3272
|
-
return typeof
|
|
3273
|
-
} : function(
|
|
3274
|
-
return
|
|
3271
|
+
var o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(K) {
|
|
3272
|
+
return typeof K;
|
|
3273
|
+
} : function(K) {
|
|
3274
|
+
return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
|
|
3275
3275
|
}, s = /* @__PURE__ */ function() {
|
|
3276
|
-
function
|
|
3276
|
+
function K(U, L) {
|
|
3277
3277
|
var F = [], H = !0, ne = !1, W = void 0;
|
|
3278
3278
|
try {
|
|
3279
3279
|
for (var j = U[Symbol.iterator](), X; !(H = (X = j.next()).done) && (F.push(X.value), !(L && F.length === L)); H = !0)
|
|
@@ -3294,35 +3294,35 @@ var Yy = { exports: {} };
|
|
|
3294
3294
|
if (Array.isArray(U))
|
|
3295
3295
|
return U;
|
|
3296
3296
|
if (Symbol.iterator in Object(U))
|
|
3297
|
-
return
|
|
3297
|
+
return K(U, L);
|
|
3298
3298
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
3299
3299
|
};
|
|
3300
3300
|
}(), a = /* @__PURE__ */ function() {
|
|
3301
|
-
function
|
|
3301
|
+
function K(U, L) {
|
|
3302
3302
|
for (var F = 0; F < L.length; F++) {
|
|
3303
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
3307
|
return function(U, L, F) {
|
|
3308
|
-
return L &&
|
|
3308
|
+
return L && K(U.prototype, L), F && K(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
|
-
function N(
|
|
3312
|
-
return
|
|
3311
|
+
function N(K) {
|
|
3312
|
+
return K && K.__esModule ? K : { default: K };
|
|
3313
3313
|
}
|
|
3314
|
-
function P(
|
|
3315
|
-
return U in
|
|
3314
|
+
function P(K, U, L) {
|
|
3315
|
+
return U in K ? Object.defineProperty(K, U, { value: L, enumerable: !0, configurable: !0, writable: !0 }) : K[U] = L, K;
|
|
3316
3316
|
}
|
|
3317
|
-
function D(
|
|
3318
|
-
if (!(
|
|
3317
|
+
function D(K, U) {
|
|
3318
|
+
if (!(K instanceof U))
|
|
3319
3319
|
throw new TypeError("Cannot call a class as a function");
|
|
3320
3320
|
}
|
|
3321
3321
|
var M = /^[ -~]*$/, G = function() {
|
|
3322
|
-
function
|
|
3323
|
-
D(this,
|
|
3322
|
+
function K(U) {
|
|
3323
|
+
D(this, K), this.scroll = U, this.delta = this.getDelta();
|
|
3324
3324
|
}
|
|
3325
|
-
return a(
|
|
3325
|
+
return a(K, [{
|
|
3326
3326
|
key: "applyDelta",
|
|
3327
3327
|
value: function(L) {
|
|
3328
3328
|
var F = this, H = !1;
|
|
@@ -3479,15 +3479,15 @@ var Yy = { exports: {} };
|
|
|
3479
3479
|
this.delta = this.getDelta(), (!L || !(0, C.default)(ne.compose(L), this.delta)) && (L = ne.diff(this.delta, H));
|
|
3480
3480
|
return L;
|
|
3481
3481
|
}
|
|
3482
|
-
}]),
|
|
3482
|
+
}]), K;
|
|
3483
3483
|
}();
|
|
3484
|
-
function Z(
|
|
3484
|
+
function Z(K, U) {
|
|
3485
3485
|
return Object.keys(U).reduce(function(L, F) {
|
|
3486
|
-
return
|
|
3486
|
+
return K[F] == null || (U[F] === K[F] ? L[F] = U[F] : Array.isArray(U[F]) ? U[F].indexOf(K[F]) < 0 && (L[F] = U[F].concat([K[F]])) : L[F] = [U[F], K[F]]), L;
|
|
3487
3487
|
}, {});
|
|
3488
3488
|
}
|
|
3489
|
-
function de(
|
|
3490
|
-
return
|
|
3489
|
+
function de(K) {
|
|
3490
|
+
return K.reduce(function(U, L) {
|
|
3491
3491
|
if (L.insert === 1) {
|
|
3492
3492
|
var F = (0, S.default)(L.attributes);
|
|
3493
3493
|
return delete F.image, U.insert({ image: L.attributes.image }, F);
|
|
@@ -3649,8 +3649,8 @@ var Yy = { exports: {} };
|
|
|
3649
3649
|
var P = void 0, D = this.scroll.leaf(O), M = o(D, 2), G = M[0], Z = M[1];
|
|
3650
3650
|
if (G == null)
|
|
3651
3651
|
return null;
|
|
3652
|
-
var de = G.position(Z, !0),
|
|
3653
|
-
P =
|
|
3652
|
+
var de = G.position(Z, !0), K = o(de, 2);
|
|
3653
|
+
P = K[0], Z = K[1];
|
|
3654
3654
|
var U = document.createRange();
|
|
3655
3655
|
if (E > 0) {
|
|
3656
3656
|
U.setStart(P, Z);
|
|
@@ -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],
|
|
3707
|
-
return
|
|
3706
|
+
var Z = o(G, 2), de = Z[0], K = Z[1], U = l.default.find(de, !0), L = U.offset(E.scroll);
|
|
3707
|
+
return K === 0 ? L : U instanceof l.default.Container ? L + U.length() : L + U.index(de, K);
|
|
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,7 +3735,7 @@ 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),
|
|
3738
|
+
var Z = void 0, de = E.scroll.leaf(M), K = o(de, 2), U = K[0], L = K[1], F = U.position(L, G !== 0), H = o(F, 2);
|
|
3739
3739
|
Z = H[0], L = H[1], P.push(Z, L);
|
|
3740
3740
|
}), P.length < 2 && (P = P.concat(P)), P;
|
|
3741
3741
|
}
|
|
@@ -3748,8 +3748,8 @@ var Yy = { exports: {} };
|
|
|
3748
3748
|
if (N != null) {
|
|
3749
3749
|
var P = this.scroll.length() - 1, D = this.scroll.line(Math.min(E.index, P)), M = o(D, 1), G = M[0], Z = G;
|
|
3750
3750
|
if (E.length > 0) {
|
|
3751
|
-
var de = this.scroll.line(Math.min(E.index + E.length, P)),
|
|
3752
|
-
Z =
|
|
3751
|
+
var de = this.scroll.line(Math.min(E.index + E.length, P)), K = o(de, 1);
|
|
3752
|
+
Z = K[0];
|
|
3753
3753
|
}
|
|
3754
3754
|
if (!(G == null || Z == null)) {
|
|
3755
3755
|
var U = O.getBoundingClientRect();
|
|
@@ -4301,8 +4301,8 @@ var Yy = { exports: {} };
|
|
|
4301
4301
|
}
|
|
4302
4302
|
if (w)
|
|
4303
4303
|
for (var de = Object.getOwnPropertyNames(T), P = 0; P < de.length; P++) {
|
|
4304
|
-
var
|
|
4305
|
-
Z && Z.enumerable || (O[
|
|
4304
|
+
var K = de[P], Z = Object.getOwnPropertyDescriptor(T, K);
|
|
4305
|
+
Z && Z.enumerable || (O[K] = S(T[K], C - 1), Object.defineProperty(O, K, {
|
|
4306
4306
|
enumerable: !1
|
|
4307
4307
|
}));
|
|
4308
4308
|
}
|
|
@@ -4353,8 +4353,8 @@ var Yy = { exports: {} };
|
|
|
4353
4353
|
try {
|
|
4354
4354
|
for (var Z = E[Symbol.iterator](), de; !(D = (de = Z.next()).done) && (P.push(de.value), !(N && P.length === N)); D = !0)
|
|
4355
4355
|
;
|
|
4356
|
-
} catch (
|
|
4357
|
-
M = !0, G =
|
|
4356
|
+
} catch (K) {
|
|
4357
|
+
M = !0, G = K;
|
|
4358
4358
|
} finally {
|
|
4359
4359
|
try {
|
|
4360
4360
|
!D && Z.return && Z.return();
|
|
@@ -4438,7 +4438,7 @@ 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],
|
|
4441
|
+
var M = this.line(P), G = o(M, 2), Z = G[0], de = G[1], K = this.line(P + D), U = o(K, 1), L = U[0];
|
|
4442
4442
|
if (a(E.prototype.__proto__ || Object.getPrototypeOf(E.prototype), "deleteAt", this).call(this, P, D), L != null && Z !== L && de > 0) {
|
|
4443
4443
|
if (Z instanceof d.BlockEmbed || L instanceof d.BlockEmbed) {
|
|
4444
4444
|
this.optimize();
|
|
@@ -4510,9 +4510,9 @@ var Yy = { exports: {} };
|
|
|
4510
4510
|
}, {
|
|
4511
4511
|
key: "lines",
|
|
4512
4512
|
value: function() {
|
|
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,
|
|
4514
|
-
var U = [], L =
|
|
4515
|
-
return Z.children.forEachAt(de,
|
|
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, K) {
|
|
4514
|
+
var U = [], L = K;
|
|
4515
|
+
return Z.children.forEachAt(de, K, function(F, H, ne) {
|
|
4516
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
|
};
|
|
@@ -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 },
|
|
4625
|
+
}), /Firefox/i.test(navigator.userAgent) ? (me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !0 }, K), me.addBinding({ key: X.keys.DELETE }, { collapsed: !0 }, U)) : (me.addBinding({ key: X.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, K), 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 }, K), me.listen(), me;
|
|
4626
4626
|
}
|
|
4627
4627
|
return a(X, [{
|
|
4628
4628
|
key: "addBinding",
|
|
@@ -4831,7 +4831,7 @@ var Yy = { exports: {} };
|
|
|
4831
4831
|
return ee instanceof w.default.Embed ? (j === Z.keys.LEFT ? X ? this.quill.setSelection(ke.index - 1, ke.length + 1, _.default.sources.USER) : this.quill.setSelection(ke.index - 1, _.default.sources.USER) : X ? this.quill.setSelection(ke.index, ke.length + 1, _.default.sources.USER) : this.quill.setSelection(ke.index + ke.length + 1, _.default.sources.USER), !1) : !0;
|
|
4832
4832
|
}), se;
|
|
4833
4833
|
}
|
|
4834
|
-
function
|
|
4834
|
+
function K(j, X) {
|
|
4835
4835
|
if (!(j.index === 0 || this.quill.getLength() <= 1)) {
|
|
4836
4836
|
var se = this.quill.getLine(j.index), ce = s(se, 1), me = ce[0], ke = {};
|
|
4837
4837
|
if (X.offset === 0) {
|
|
@@ -6229,7 +6229,7 @@ var Yy = { exports: {} };
|
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
6231
|
});
|
|
6232
|
-
var
|
|
6232
|
+
var K = function(F) {
|
|
6233
6233
|
N(H, F);
|
|
6234
6234
|
function H(ne, W) {
|
|
6235
6235
|
O(this, H);
|
|
@@ -6299,7 +6299,7 @@ var Yy = { exports: {} };
|
|
|
6299
6299
|
W === ne ? j.setAttribute("selected", "selected") : j.setAttribute("value", W), F.appendChild(j);
|
|
6300
6300
|
});
|
|
6301
6301
|
}
|
|
6302
|
-
n.BaseTooltip =
|
|
6302
|
+
n.BaseTooltip = K, n.default = de;
|
|
6303
6303
|
},
|
|
6304
6304
|
/* 44 */
|
|
6305
6305
|
/***/
|
|
@@ -6735,7 +6735,7 @@ var Yy = { exports: {} };
|
|
|
6735
6735
|
for (var A = m.length, S = _.length, T = Math.ceil((A + S) / 2), C = T, O = 2 * T, E = new Array(O), N = new Array(O), P = 0; P < O; P++)
|
|
6736
6736
|
E[P] = -1, N[P] = -1;
|
|
6737
6737
|
E[C + 1] = 0, N[C + 1] = 0;
|
|
6738
|
-
for (var D = A - S, M = D % 2 != 0, G = 0, Z = 0, de = 0,
|
|
6738
|
+
for (var D = A - S, M = D % 2 != 0, G = 0, Z = 0, de = 0, K = 0, U = 0; U < T; U++) {
|
|
6739
6739
|
for (var L = -U + G; L <= U - Z; L += 2) {
|
|
6740
6740
|
var F = C + L, H;
|
|
6741
6741
|
L == -U || L != U && E[F - 1] < E[F + 1] ? H = E[F + 1] : H = E[F - 1] + 1;
|
|
@@ -6754,13 +6754,13 @@ var Yy = { exports: {} };
|
|
|
6754
6754
|
}
|
|
6755
6755
|
}
|
|
6756
6756
|
}
|
|
6757
|
-
for (var X = -U + de; X <= U -
|
|
6757
|
+
for (var X = -U + de; X <= U - K; X += 2) {
|
|
6758
6758
|
var W = C + X, j;
|
|
6759
6759
|
X == -U || X != U && N[W - 1] < N[W + 1] ? j = N[W + 1] : j = N[W - 1] + 1;
|
|
6760
6760
|
for (var se = j - X; j < A && se < S && m.charAt(A - j - 1) == _.charAt(S - se - 1); )
|
|
6761
6761
|
j++, se++;
|
|
6762
6762
|
if (N[W] = j, j > A)
|
|
6763
|
-
|
|
6763
|
+
K += 2;
|
|
6764
6764
|
else if (se > S)
|
|
6765
6765
|
de += 2;
|
|
6766
6766
|
else if (!M) {
|
|
@@ -6797,16 +6797,16 @@ var Yy = { exports: {} };
|
|
|
6797
6797
|
var A = m.length > _.length ? m : _, S = m.length > _.length ? _ : m;
|
|
6798
6798
|
if (A.length < 4 || S.length * 2 < A.length)
|
|
6799
6799
|
return null;
|
|
6800
|
-
function T(Z, de,
|
|
6801
|
-
for (var U = Z.substring(
|
|
6800
|
+
function T(Z, de, K) {
|
|
6801
|
+
for (var U = Z.substring(K, K + 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
|
-
Z.substring(
|
|
6803
|
+
Z.substring(K),
|
|
6804
6804
|
de.substring(L)
|
|
6805
6805
|
), se = d(
|
|
6806
|
-
Z.substring(0,
|
|
6806
|
+
Z.substring(0, K),
|
|
6807
6807
|
de.substring(0, L)
|
|
6808
6808
|
);
|
|
6809
|
-
F.length < se + X && (F = de.substring(L - se, L) + de.substring(L, L + X), H = Z.substring(0,
|
|
6809
|
+
F.length < se + X && (F = de.substring(L - se, L) + de.substring(L, L + X), H = Z.substring(0, K - se), ne = Z.substring(K + 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,
|
|
@@ -7125,7 +7125,7 @@ var Yy = { exports: {} };
|
|
|
7125
7125
|
throw new TypeError("Super expression must either be null or a function, not " + typeof fe);
|
|
7126
7126
|
q.prototype = Object.create(fe && fe.prototype, { constructor: { value: q, enumerable: !1, writable: !0, configurable: !0 } }), fe && (Object.setPrototypeOf ? Object.setPrototypeOf(q, fe) : q.__proto__ = fe);
|
|
7127
7127
|
}
|
|
7128
|
-
var Z = (0, y.default)("quill:clipboard"), de = "__ql-matcher",
|
|
7128
|
+
var Z = (0, y.default)("quill:clipboard"), de = "__ql-matcher", K = [[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;
|
|
@@ -7134,7 +7134,7 @@ var Yy = { exports: {} };
|
|
|
7134
7134
|
function fe(ye, Se) {
|
|
7135
7135
|
D(this, fe);
|
|
7136
7136
|
var ge = M(this, (fe.__proto__ || Object.getPrototypeOf(fe)).call(this, ye, Se));
|
|
7137
|
-
return ge.quill.root.addEventListener("paste", ge.onPaste.bind(ge)), ge.container = ge.quill.addContainer("ql-clipboard"), ge.container.setAttribute("contenteditable", !0), ge.container.setAttribute("tabindex", -1), ge.matchers = [],
|
|
7137
|
+
return ge.quill.root.addEventListener("paste", ge.onPaste.bind(ge)), ge.container = ge.quill.addContainer("ql-clipboard"), ge.container.setAttribute("contenteditable", !0), ge.container.setAttribute("tabindex", -1), ge.matchers = [], K.concat(ge.options.matchers).forEach(function(Fe) {
|
|
7138
7138
|
var He = s(Fe, 2), Ce = He[0], he = He[1];
|
|
7139
7139
|
!Se.matchVisual && he === ee || ge.addMatcher(Ce, he);
|
|
7140
7140
|
}), ge;
|
|
@@ -7400,7 +7400,7 @@ var Yy = { exports: {} };
|
|
|
7400
7400
|
function E(N, P) {
|
|
7401
7401
|
var D = [], M = !0, G = !1, Z = void 0;
|
|
7402
7402
|
try {
|
|
7403
|
-
for (var de = N[Symbol.iterator](),
|
|
7403
|
+
for (var de = N[Symbol.iterator](), K; !(M = (K = de.next()).done) && (D.push(K.value), !(P && D.length === P)); M = !0)
|
|
7404
7404
|
;
|
|
7405
7405
|
} catch (U) {
|
|
7406
7406
|
G = !0, Z = U;
|
|
@@ -7470,10 +7470,10 @@ var Yy = { exports: {} };
|
|
|
7470
7470
|
M.addHandler(de, M.options.handlers[de]);
|
|
7471
7471
|
}), [].forEach.call(M.container.querySelectorAll("button, select"), function(de) {
|
|
7472
7472
|
M.attach(de);
|
|
7473
|
-
}), M.quill.on(d.default.events.EDITOR_CHANGE, function(de,
|
|
7474
|
-
de === d.default.events.SELECTION_CHANGE && M.update(
|
|
7473
|
+
}), M.quill.on(d.default.events.EDITOR_CHANGE, function(de, K) {
|
|
7474
|
+
de === d.default.events.SELECTION_CHANGE && M.update(K);
|
|
7475
7475
|
}), M.quill.on(d.default.events.SCROLL_OPTIMIZE, function() {
|
|
7476
|
-
var de = M.quill.selection.getRange(),
|
|
7476
|
+
var de = M.quill.selection.getRange(), K = o(de, 1), U = K[0];
|
|
7477
7477
|
M.update(U);
|
|
7478
7478
|
}), M;
|
|
7479
7479
|
}
|
|
@@ -7501,24 +7501,24 @@ var Yy = { exports: {} };
|
|
|
7501
7501
|
}
|
|
7502
7502
|
var Z = D.tagName === "SELECT" ? "change" : "click";
|
|
7503
7503
|
D.addEventListener(Z, function(de) {
|
|
7504
|
-
var
|
|
7504
|
+
var K = void 0;
|
|
7505
7505
|
if (D.tagName === "SELECT") {
|
|
7506
7506
|
if (D.selectedIndex < 0)
|
|
7507
7507
|
return;
|
|
7508
7508
|
var U = D.options[D.selectedIndex];
|
|
7509
|
-
U.hasAttribute("selected") ?
|
|
7509
|
+
U.hasAttribute("selected") ? K = !1 : K = U.value || !1;
|
|
7510
7510
|
} else
|
|
7511
|
-
D.classList.contains("ql-active") ?
|
|
7511
|
+
D.classList.contains("ql-active") ? K = !1 : K = D.value || !D.hasAttribute("value"), de.preventDefault();
|
|
7512
7512
|
M.quill.focus();
|
|
7513
7513
|
var L = M.quill.selection.getRange(), F = o(L, 1), H = F[0];
|
|
7514
7514
|
if (M.handlers[G] != null)
|
|
7515
|
-
M.handlers[G].call(M,
|
|
7515
|
+
M.handlers[G].call(M, K);
|
|
7516
7516
|
else if (c.default.query(G).prototype instanceof c.default.Embed) {
|
|
7517
|
-
if (
|
|
7517
|
+
if (K = prompt("Enter " + G), !K)
|
|
7518
7518
|
return;
|
|
7519
|
-
M.quill.updateContents(new l.default().retain(H.index).delete(H.length).insert(g({}, G,
|
|
7519
|
+
M.quill.updateContents(new l.default().retain(H.index).delete(H.length).insert(g({}, G, K)), d.default.sources.USER);
|
|
7520
7520
|
} else
|
|
7521
|
-
M.quill.format(G,
|
|
7521
|
+
M.quill.format(G, K, d.default.sources.USER);
|
|
7522
7522
|
M.update(H);
|
|
7523
7523
|
}), this.controls.push([G, D]);
|
|
7524
7524
|
}
|
|
@@ -7528,25 +7528,25 @@ var Yy = { exports: {} };
|
|
|
7528
7528
|
value: function(D) {
|
|
7529
7529
|
var M = D == null ? {} : this.quill.getFormat(D);
|
|
7530
7530
|
this.controls.forEach(function(G) {
|
|
7531
|
-
var Z = o(G, 2), de = Z[0],
|
|
7532
|
-
if (
|
|
7531
|
+
var Z = o(G, 2), de = Z[0], K = Z[1];
|
|
7532
|
+
if (K.tagName === "SELECT") {
|
|
7533
7533
|
var U = void 0;
|
|
7534
7534
|
if (D == null)
|
|
7535
7535
|
U = null;
|
|
7536
7536
|
else if (M[de] == null)
|
|
7537
|
-
U =
|
|
7537
|
+
U = K.querySelector("option[selected]");
|
|
7538
7538
|
else if (!Array.isArray(M[de])) {
|
|
7539
7539
|
var L = M[de];
|
|
7540
|
-
typeof L == "string" && (L = L.replace(/\"/g, '\\"')), U =
|
|
7540
|
+
typeof L == "string" && (L = L.replace(/\"/g, '\\"')), U = K.querySelector('option[value="' + L + '"]');
|
|
7541
7541
|
}
|
|
7542
|
-
U == null ? (
|
|
7542
|
+
U == null ? (K.value = "", K.selectedIndex = -1) : U.selected = !0;
|
|
7543
7543
|
} else if (D == null)
|
|
7544
|
-
|
|
7545
|
-
else if (
|
|
7546
|
-
var F = M[de] ===
|
|
7547
|
-
|
|
7544
|
+
K.classList.remove("ql-active");
|
|
7545
|
+
else if (K.hasAttribute("value")) {
|
|
7546
|
+
var F = M[de] === K.getAttribute("value") || M[de] != null && M[de].toString() === K.getAttribute("value") || M[de] == null && !K.getAttribute("value");
|
|
7547
|
+
K.classList.toggle("ql-active", F);
|
|
7548
7548
|
} else
|
|
7549
|
-
|
|
7549
|
+
K.classList.toggle("ql-active", M[de] != null);
|
|
7550
7550
|
});
|
|
7551
7551
|
}
|
|
7552
7552
|
}]), N;
|
|
@@ -7818,8 +7818,8 @@ var Yy = { exports: {} };
|
|
|
7818
7818
|
try {
|
|
7819
7819
|
for (var Z = E[Symbol.iterator](), de; !(D = (de = Z.next()).done) && (P.push(de.value), !(N && P.length === N)); D = !0)
|
|
7820
7820
|
;
|
|
7821
|
-
} catch (
|
|
7822
|
-
M = !0, G =
|
|
7821
|
+
} catch (K) {
|
|
7822
|
+
M = !0, G = K;
|
|
7823
7823
|
} finally {
|
|
7824
7824
|
try {
|
|
7825
7825
|
!D && Z.return && Z.return();
|
|
@@ -7935,10 +7935,10 @@ var Yy = { exports: {} };
|
|
|
7935
7935
|
}), this.quill.on(f.default.events.SELECTION_CHANGE, function(D, M, G) {
|
|
7936
7936
|
if (D != null) {
|
|
7937
7937
|
if (D.length === 0 && G === f.default.sources.USER) {
|
|
7938
|
-
var Z = P.quill.scroll.descendant(p.default, D.index), de = o(Z, 2),
|
|
7939
|
-
if (
|
|
7940
|
-
P.linkRange = new v.Range(D.index - U,
|
|
7941
|
-
var L = p.default.formats(
|
|
7938
|
+
var Z = P.quill.scroll.descendant(p.default, D.index), de = o(Z, 2), K = de[0], U = de[1];
|
|
7939
|
+
if (K != null) {
|
|
7940
|
+
P.linkRange = new v.Range(D.index - U, K.length());
|
|
7941
|
+
var L = p.default.formats(K.domNode);
|
|
7942
7942
|
P.preview.textContent = L, P.preview.setAttribute("href", L), P.show(), P.position(P.quill.getBounds(P.linkRange));
|
|
7943
7943
|
return;
|
|
7944
7944
|
}
|
|
@@ -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),
|
|
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), K = 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
|
}
|
|
@@ -8001,7 +8001,7 @@ var Yy = { exports: {} };
|
|
|
8001
8001
|
"formats/strike": P.default,
|
|
8002
8002
|
"formats/underline": M.default,
|
|
8003
8003
|
"formats/image": Z.default,
|
|
8004
|
-
"formats/video":
|
|
8004
|
+
"formats/video": K.default,
|
|
8005
8005
|
"formats/list/item": b.ListItem,
|
|
8006
8006
|
"modules/formula": H.default,
|
|
8007
8007
|
"modules/syntax": W.default,
|
|
@@ -9094,7 +9094,7 @@ var Yy = { exports: {} };
|
|
|
9094
9094
|
if (G.length === 1)
|
|
9095
9095
|
E.position(E.quill.getBounds(P));
|
|
9096
9096
|
else {
|
|
9097
|
-
var Z = G[G.length - 1], de = E.quill.getIndex(Z),
|
|
9097
|
+
var Z = G[G.length - 1], de = E.quill.getIndex(Z), K = Math.min(Z.length() - 1, P.index + P.length - de), U = E.quill.getBounds(new h.Range(de, K));
|
|
9098
9098
|
E.position(U);
|
|
9099
9099
|
}
|
|
9100
9100
|
} else
|
|
@@ -9406,7 +9406,7 @@ Hu.EQUAL = Nr;
|
|
|
9406
9406
|
var gO = Hu, nu = { exports: {} };
|
|
9407
9407
|
nu.exports;
|
|
9408
9408
|
(function(t, e) {
|
|
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\]$/,
|
|
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\]$/, K = /^(?: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
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, $) {
|
|
@@ -9781,7 +9781,7 @@ nu.exports;
|
|
|
9781
9781
|
}
|
|
9782
9782
|
}
|
|
9783
9783
|
function sf(k, $) {
|
|
9784
|
-
return $ = $ ?? i, !!$ && (typeof k == "number" ||
|
|
9784
|
+
return $ = $ ?? i, !!$ && (typeof k == "number" || K.test(k)) && k > -1 && k % 1 == 0 && k < $;
|
|
9785
9785
|
}
|
|
9786
9786
|
function af(k) {
|
|
9787
9787
|
var $ = typeof k;
|
|
@@ -9852,8 +9852,8 @@ nu.exports;
|
|
|
9852
9852
|
var eb = nu.exports, iu = { exports: {} };
|
|
9853
9853
|
iu.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]",
|
|
9856
|
-
W[P] = W[D] = W[M] = W[G] = W[Z] = W[de] = 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]", K = "[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[K] = 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");
|
|
@@ -10739,7 +10739,7 @@ const qm = {
|
|
|
10739
10739
|
r = null;
|
|
10740
10740
|
});
|
|
10741
10741
|
let r, n;
|
|
10742
|
-
const i =
|
|
10742
|
+
const i = J(), o = () => {
|
|
10743
10743
|
var E;
|
|
10744
10744
|
if (i.value) {
|
|
10745
10745
|
if (n = s(), t.modules)
|
|
@@ -10787,7 +10787,7 @@ const qm = {
|
|
|
10787
10787
|
return !1;
|
|
10788
10788
|
}, f = (E, N, P) => {
|
|
10789
10789
|
u = a(g()), c(t.content) || e.emit("update:content", u), e.emit("textChange", { delta: E, oldContents: N, source: P });
|
|
10790
|
-
}, d =
|
|
10790
|
+
}, d = J(), h = (E, N, P) => {
|
|
10791
10791
|
d.value = !!r?.hasFocus(), e.emit("selectionChange", { range: E, oldRange: N, source: P });
|
|
10792
10792
|
};
|
|
10793
10793
|
Ge(d, (E) => {
|
|
@@ -11006,7 +11006,7 @@ const ob = /* @__PURE__ */ Ae({
|
|
|
11006
11006
|
},
|
|
11007
11007
|
emits: ["update:modelValue"],
|
|
11008
11008
|
setup(t, { emit: e }) {
|
|
11009
|
-
const r = t, n = e, i =
|
|
11009
|
+
const r = t, n = e, i = J(), o = J(null), s = {
|
|
11010
11010
|
container: [
|
|
11011
11011
|
{ header: 1 },
|
|
11012
11012
|
{ header: 2 },
|
|
@@ -11525,7 +11525,7 @@ function tT(t, e = {}) {
|
|
|
11525
11525
|
const R = V.currentChar();
|
|
11526
11526
|
return R !== "%" && f(Je.EXPECTED_TOKEN, o(), 0, R), V.next(), "%";
|
|
11527
11527
|
}
|
|
11528
|
-
function
|
|
11528
|
+
function K(V) {
|
|
11529
11529
|
let R = "";
|
|
11530
11530
|
for (; ; ) {
|
|
11531
11531
|
const ee = V.currentChar();
|
|
@@ -11720,9 +11720,9 @@ function tT(t, e = {}) {
|
|
|
11720
11720
|
return ee = d(R, 1, se(V)), R.braceNest = 0, R.inLinked = !1, ee;
|
|
11721
11721
|
const { isModulo: Pe, hasSpace: q } = E(V);
|
|
11722
11722
|
if (Pe)
|
|
11723
|
-
return q ? d(R, 0,
|
|
11723
|
+
return q ? d(R, 0, K(V)) : d(R, 4, de(V));
|
|
11724
11724
|
if (N(V))
|
|
11725
|
-
return d(R, 0,
|
|
11725
|
+
return d(R, 0, K(V));
|
|
11726
11726
|
break;
|
|
11727
11727
|
}
|
|
11728
11728
|
return ee;
|
|
@@ -13418,7 +13418,7 @@ const wA = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
13418
13418
|
return t && (e = xb(t)[vv]) ? { [vv]: e } : null;
|
|
13419
13419
|
};
|
|
13420
13420
|
function Dh(t = {}, e) {
|
|
13421
|
-
const { __root: r, __injectWithOption: n } = t, i = r === void 0, o = t.flatJson, s = fn ?
|
|
13421
|
+
const { __root: r, __injectWithOption: n } = t, i = r === void 0, o = t.flatJson, s = fn ? J : kr;
|
|
13422
13422
|
let a = it(t.inheritLocale) ? t.inheritLocale : !0;
|
|
13423
13423
|
const l = s(
|
|
13424
13424
|
// prettier-ignore
|
|
@@ -13484,7 +13484,7 @@ function Dh(t = {}, e) {
|
|
|
13484
13484
|
function de() {
|
|
13485
13485
|
return y;
|
|
13486
13486
|
}
|
|
13487
|
-
function
|
|
13487
|
+
function K(he) {
|
|
13488
13488
|
he !== null && (g = bv(he)), y = he, T.missing = g;
|
|
13489
13489
|
}
|
|
13490
13490
|
function U(he, _e) {
|
|
@@ -13720,7 +13720,7 @@ function Dh(t = {}, e) {
|
|
|
13720
13720
|
getPostTranslationHandler: G,
|
|
13721
13721
|
setPostTranslationHandler: Z,
|
|
13722
13722
|
getMissingHandler: de,
|
|
13723
|
-
setMissingHandler:
|
|
13723
|
+
setMissingHandler: K,
|
|
13724
13724
|
[Cb]: ae
|
|
13725
13725
|
};
|
|
13726
13726
|
return Ce.datetimeFormats = D, Ce.numberFormats = M, Ce.rt = H, Ce.te = V, Ce.tm = ee, Ce.d = ne, Ce.n = W, Ce.getDateTimeFormat = fe, Ce.setDateTimeFormat = ye, Ce.mergeDateTimeFormat = Se, Ce.getNumberFormat = ge, Ce.setNumberFormat = Fe, Ce.mergeNumberFormat = He, Ce[Pb] = n, Ce[dd] = ce, Ce[hd] = ke, Ce[pd] = me, process.env.NODE_ENV !== "production" && (Ce[uo] = (he) => {
|
|
@@ -14663,13 +14663,13 @@ function QA(t, e, r, n = {}) {
|
|
|
14663
14663
|
const i = e === "local", o = kr(null);
|
|
14664
14664
|
if (i && t.proxy && !(t.proxy.$options.i18n || t.proxy.$options.__i18n))
|
|
14665
14665
|
throw Qt(ut.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
|
|
14666
|
-
const s = it(n.inheritLocale) ? n.inheritLocale : !Ie(n.locale), a =
|
|
14666
|
+
const s = it(n.inheritLocale) ? n.inheritLocale : !Ie(n.locale), a = J(
|
|
14667
14667
|
// prettier-ignore
|
|
14668
14668
|
!i || s ? r.locale.value : Ie(n.locale) ? n.locale : es
|
|
14669
|
-
), l =
|
|
14669
|
+
), l = J(
|
|
14670
14670
|
// prettier-ignore
|
|
14671
14671
|
!i || s ? r.fallbackLocale.value : Ie(n.fallbackLocale) || St(n.fallbackLocale) || Xe(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : a.value
|
|
14672
|
-
), u =
|
|
14672
|
+
), u = J(zu(a.value, n)), c = J(Xe(n.datetimeFormats) ? n.datetimeFormats : { [a.value]: {} }), f = J(Xe(n.numberFormats) ? n.numberFormats : { [a.value]: {} }), d = i ? r.missingWarn : it(n.missingWarn) || xi(n.missingWarn) ? n.missingWarn : !0, h = i ? r.fallbackWarn : it(n.fallbackWarn) || xi(n.fallbackWarn) ? n.fallbackWarn : !0, b = i ? r.fallbackRoot : it(n.fallbackRoot) ? n.fallbackRoot : !0, p = !!n.fallbackFormat, v = bt(n.missing) ? n.missing : null, y = bt(n.postTranslation) ? n.postTranslation : null, g = i ? r.warnHtmlMessage : it(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, w = !!n.escapeParameter, m = i ? r.modifiers : Xe(n.modifiers) ? n.modifiers : {}, _ = n.pluralRules || i && r.pluralRules;
|
|
14673
14673
|
function A() {
|
|
14674
14674
|
return [
|
|
14675
14675
|
a.value,
|
|
@@ -14711,7 +14711,7 @@ function QA(t, e, r, n = {}) {
|
|
|
14711
14711
|
function de(...R) {
|
|
14712
14712
|
return o.value ? Reflect.apply(o.value.rt, null, [...R]) : "";
|
|
14713
14713
|
}
|
|
14714
|
-
function
|
|
14714
|
+
function K(...R) {
|
|
14715
14715
|
return o.value ? G(() => Reflect.apply(o.value.d, null, [...R])) : G(() => "");
|
|
14716
14716
|
}
|
|
14717
14717
|
function U(...R) {
|
|
@@ -14819,7 +14819,7 @@ function QA(t, e, r, n = {}) {
|
|
|
14819
14819
|
getMissingHandler: D,
|
|
14820
14820
|
setMissingHandler: M,
|
|
14821
14821
|
rt: de,
|
|
14822
|
-
d:
|
|
14822
|
+
d: K,
|
|
14823
14823
|
n: U,
|
|
14824
14824
|
tm: L,
|
|
14825
14825
|
te: F,
|
|
@@ -14907,10 +14907,10 @@ 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 = I(r.rules) || "", a =
|
|
14910
|
+
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o = pr(), s = I(r.rules) || "", a = J(!1), { errorMessage: l, handleChange: u, validate: c } = kE(
|
|
14911
14911
|
`${r.name === "Gallery" ? o?.uid : r.name}`,
|
|
14912
14912
|
s
|
|
14913
|
-
), f =
|
|
14913
|
+
), f = J(), d = async (y) => {
|
|
14914
14914
|
if (await u(y.target), (await c()).valid) {
|
|
14915
14915
|
const m = y.target.files;
|
|
14916
14916
|
m && m.length && n("upload", m);
|
|
@@ -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 =
|
|
17621
|
+
const s = J(), a = J(), l = J(I(r.type)), u = re(() => r.type === "date" && "9999-12-31" || void 0), c = re(() => I(r.modelValue)), f = J();
|
|
17622
17622
|
Ge(
|
|
17623
17623
|
c,
|
|
17624
17624
|
(p) => {
|
|
@@ -18075,7 +18075,7 @@ const Cx = (t) => t?.matches("input") ? t : t?.querySelector("input");
|
|
|
18075
18075
|
function Px(t, e) {
|
|
18076
18076
|
var r, n, i, o;
|
|
18077
18077
|
let s;
|
|
18078
|
-
const a =
|
|
18078
|
+
const a = J(null), l = J(null), u = J(null), c = pr(), f = c?.emit || ((n = (r = c?.proxy) === null || r === void 0 ? void 0 : r.$emit) === null || n === void 0 ? void 0 : n.bind(c?.proxy)), d = c?.props || ((i = c?.proxy) === null || i === void 0 ? void 0 : i.$props), h = bE.startsWith("3"), b = h && ((o = c?.attrs.modelModifiers) === null || o === void 0 ? void 0 : o.lazy), p = re(() => d?.[h ? "modelValue" : "value"]), v = h ? "update:modelValue" : "input", y = b ? "update:modelValue" : "change";
|
|
18079
18079
|
return Ge(a, (g) => {
|
|
18080
18080
|
var w;
|
|
18081
18081
|
if (g) {
|
|
@@ -18219,7 +18219,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18219
18219
|
success: { icon: "fas fa-check-circle", color: "var(--notification-success)" },
|
|
18220
18220
|
error: { icon: "fas fa-exclamation-circle", color: "var(--notification-error)" },
|
|
18221
18221
|
warning: { icon: "fas fa-exclamation-triangle", color: "var(--notification-warning)" }
|
|
18222
|
-
}, { timeout: n } = Cn(e), i =
|
|
18222
|
+
}, { timeout: n } = Cn(e), i = J();
|
|
18223
18223
|
Ge(
|
|
18224
18224
|
n,
|
|
18225
18225
|
(l) => {
|
|
@@ -18418,7 +18418,7 @@ const xx = ["onClick"], Ix = ["disabled", "placeholder"], Lw = /* @__PURE__ */ A
|
|
|
18418
18418
|
});
|
|
18419
18419
|
function Hx(t, e) {
|
|
18420
18420
|
let r, n, i;
|
|
18421
|
-
const o =
|
|
18421
|
+
const o = J(!0), s = () => {
|
|
18422
18422
|
o.value = !0, i();
|
|
18423
18423
|
};
|
|
18424
18424
|
Ge(t, s, { flush: "sync" });
|
|
@@ -18500,7 +18500,7 @@ function zx(t, e) {
|
|
|
18500
18500
|
}
|
|
18501
18501
|
const Fw = (t) => t();
|
|
18502
18502
|
function Yx(t = Fw) {
|
|
18503
|
-
const e =
|
|
18503
|
+
const e = J(!0);
|
|
18504
18504
|
function r() {
|
|
18505
18505
|
e.value = !1;
|
|
18506
18506
|
}
|
|
@@ -18531,7 +18531,7 @@ function Ad(...t) {
|
|
|
18531
18531
|
if (t.length !== 1)
|
|
18532
18532
|
return Cy(...t);
|
|
18533
18533
|
const e = t[0];
|
|
18534
|
-
return typeof e == "function" ? Lu(dh(() => ({ get: e, set: un }))) :
|
|
18534
|
+
return typeof e == "function" ? Lu(dh(() => ({ get: e, set: un }))) : J(e);
|
|
18535
18535
|
}
|
|
18536
18536
|
function Zx(t, e, r = {}) {
|
|
18537
18537
|
const {
|
|
@@ -18633,7 +18633,7 @@ function zs(...t) {
|
|
|
18633
18633
|
return vs(u), u;
|
|
18634
18634
|
}
|
|
18635
18635
|
function ap() {
|
|
18636
|
-
const t =
|
|
18636
|
+
const t = J(!1);
|
|
18637
18637
|
return pr() && ct(() => {
|
|
18638
18638
|
t.value = !0;
|
|
18639
18639
|
}), t;
|
|
@@ -18645,7 +18645,7 @@ function Uw(t) {
|
|
|
18645
18645
|
function Rs(t, e = {}) {
|
|
18646
18646
|
const { window: r = Li } = e, n = Uw(() => r && "matchMedia" in r && typeof r.matchMedia == "function");
|
|
18647
18647
|
let i;
|
|
18648
|
-
const o =
|
|
18648
|
+
const o = J(!1), s = (u) => {
|
|
18649
18649
|
o.value = u.matches;
|
|
18650
18650
|
}, a = () => {
|
|
18651
18651
|
i && ("removeEventListener" in i ? i.removeEventListener("change", s) : i.removeListener(s));
|
|
@@ -18764,7 +18764,7 @@ function uI(t, e, r, n = {}) {
|
|
|
18764
18764
|
console.error(C);
|
|
18765
18765
|
},
|
|
18766
18766
|
initOnMounted: b
|
|
18767
|
-
} = n, p = (c ? kr :
|
|
18767
|
+
} = n, p = (c ? kr : J)(typeof e == "function" ? e() : e);
|
|
18768
18768
|
if (!r)
|
|
18769
18769
|
try {
|
|
18770
18770
|
r = sI("getDefaultStorage", () => {
|
|
@@ -18854,7 +18854,7 @@ function fI(t, e, r = {}) {
|
|
|
18854
18854
|
return (Array.isArray(b) ? b : [b]).map(zl).filter(qx);
|
|
18855
18855
|
});
|
|
18856
18856
|
let c = un;
|
|
18857
|
-
const f =
|
|
18857
|
+
const f = J(a), d = l.value ? Ge(
|
|
18858
18858
|
() => [u.value, zl(n), f.value],
|
|
18859
18859
|
([b, p]) => {
|
|
18860
18860
|
if (c(), !f.value || !b.length)
|
|
@@ -18899,7 +18899,7 @@ function dI(t, e = {}) {
|
|
|
18899
18899
|
onSwipeStart: o,
|
|
18900
18900
|
passive: s = !0,
|
|
18901
18901
|
window: a = Li
|
|
18902
|
-
} = e, l = qt({ x: 0, y: 0 }), u = qt({ x: 0, y: 0 }), c = re(() => l.x - u.x), f = re(() => l.y - u.y), { max: d, abs: h } = Math, b = re(() => d(h(c.value), h(f.value)) >= r), p =
|
|
18902
|
+
} = e, l = qt({ x: 0, y: 0 }), u = qt({ x: 0, y: 0 }), c = re(() => l.x - u.x), f = re(() => l.y - u.y), { max: d, abs: h } = Math, b = re(() => d(h(c.value), h(f.value)) >= r), p = J(!1), v = re(() => b.value ? h(c.value) > h(f.value) ? c.value > 0 ? "left" : "right" : f.value > 0 ? "up" : "down" : "none"), y = (C) => [C.touches[0].clientX, C.touches[0].clientY], g = (C, O) => {
|
|
18903
18903
|
l.x = C, l.y = O;
|
|
18904
18904
|
}, w = (C, O) => {
|
|
18905
18905
|
u.x = C, u.y = O;
|
|
@@ -18948,7 +18948,7 @@ function hI(t) {
|
|
|
18948
18948
|
return t.addEventListener("x", un, r), t.removeEventListener("x", un), e;
|
|
18949
18949
|
}
|
|
18950
18950
|
function pI() {
|
|
18951
|
-
const t =
|
|
18951
|
+
const t = J([]);
|
|
18952
18952
|
return t.value.set = (e) => {
|
|
18953
18953
|
e && t.value.push(e);
|
|
18954
18954
|
}, hh(() => {
|
|
@@ -19055,7 +19055,7 @@ function mI(t) {
|
|
|
19055
19055
|
}
|
|
19056
19056
|
const Ol = /* @__PURE__ */ new WeakMap();
|
|
19057
19057
|
function vI(t, e = !1) {
|
|
19058
|
-
const r =
|
|
19058
|
+
const r = J(e);
|
|
19059
19059
|
let n = null, i;
|
|
19060
19060
|
Ge(Ad(t), (a) => {
|
|
19061
19061
|
const l = Sf(At(a));
|
|
@@ -19092,7 +19092,7 @@ function vI(t, e = !1) {
|
|
|
19092
19092
|
}
|
|
19093
19093
|
function gI() {
|
|
19094
19094
|
let t = !1;
|
|
19095
|
-
const e =
|
|
19095
|
+
const e = J(!1);
|
|
19096
19096
|
return (r, n) => {
|
|
19097
19097
|
if (e.value = n.value, t)
|
|
19098
19098
|
return;
|
|
@@ -20648,7 +20648,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20648
20648
|
},
|
|
20649
20649
|
emits: ["update:modelValue", "search", "close"],
|
|
20650
20650
|
setup(t, { emit: e }) {
|
|
20651
|
-
const r = t, n = e, { t: i } = mt({ useScope: "global" }), { modelValue: o, options: s } = Cn(r), a =
|
|
20651
|
+
const r = t, n = e, { t: i } = mt({ useScope: "global" }), { modelValue: o, options: s } = Cn(r), a = J(!1), l = J(), u = J(), c = J(), f = J(), d = J(), h = J(!1), b = J(), p = J([]), v = J([]), y = J([]), g = J();
|
|
20652
20652
|
let w, m, _;
|
|
20653
20653
|
fI(
|
|
20654
20654
|
d,
|
|
@@ -20747,7 +20747,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20747
20747
|
toggleOption: X,
|
|
20748
20748
|
removeAtIndex: L
|
|
20749
20749
|
}))
|
|
20750
|
-
), P = re(() =>
|
|
20750
|
+
), P = re(() => K(E.value)), D = re(() => E.value.map((ae) => C.value(ae))), M = re(() => v.value.map((ae, V) => ({
|
|
20751
20751
|
index: V,
|
|
20752
20752
|
opt: ae,
|
|
20753
20753
|
selected: F(ae) === !0,
|
|
@@ -20766,7 +20766,7 @@ const OM = ["innerHTML"], TM = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
20766
20766
|
const R = (ee) => br(C.value(ee), ae);
|
|
20767
20767
|
return p.value.find(R) || v.value.find(R) || V.find(R) || ae;
|
|
20768
20768
|
}
|
|
20769
|
-
function
|
|
20769
|
+
function K(ae) {
|
|
20770
20770
|
return ae != null && ("" + ae).length > 0;
|
|
20771
20771
|
}
|
|
20772
20772
|
function U(ae) {
|
|
@@ -22126,8 +22126,8 @@ function rF() {
|
|
|
22126
22126
|
if (n.slidesPerColumn > 1) {
|
|
22127
22127
|
var D = void 0, M = void 0, G = void 0;
|
|
22128
22128
|
if (n.slidesPerColumnFill === "row" && n.slidesPerGroup > 1) {
|
|
22129
|
-
var Z = Math.floor(N / (n.slidesPerGroup * n.slidesPerColumn)), de = N - n.slidesPerColumn * n.slidesPerGroup * Z,
|
|
22130
|
-
G = Math.floor(de /
|
|
22129
|
+
var Z = Math.floor(N / (n.slidesPerGroup * n.slidesPerColumn)), de = N - n.slidesPerColumn * n.slidesPerGroup * Z, K = Z === 0 ? n.slidesPerGroup : Math.min(Math.ceil((f - Z * C * n.slidesPerGroup) / C), n.slidesPerGroup);
|
|
22130
|
+
G = Math.floor(de / K), M = de - G * K + Z * n.slidesPerGroup, D = M + G * S / C, P.css({
|
|
22131
22131
|
"-webkit-box-ordinal-group": D,
|
|
22132
22132
|
"-moz-box-ordinal-group": D,
|
|
22133
22133
|
"-ms-flex-order": D,
|
|
@@ -22917,8 +22917,8 @@ function GF(t) {
|
|
|
22917
22917
|
e.slideTo(e.activeIndex);
|
|
22918
22918
|
return;
|
|
22919
22919
|
}
|
|
22920
|
-
var
|
|
22921
|
-
|
|
22920
|
+
var K = e.navigation && (c.target === e.navigation.nextEl || c.target === e.navigation.prevEl);
|
|
22921
|
+
K ? c.target === e.navigation.nextEl ? e.slideTo(P + de) : e.slideTo(P) : (e.swipeDirection === "next" && e.slideTo(P + de), e.swipeDirection === "prev" && e.slideTo(P));
|
|
22922
22922
|
}
|
|
22923
22923
|
}
|
|
22924
22924
|
}
|
|
@@ -24412,11 +24412,11 @@ var w4 = {
|
|
|
24412
24412
|
},
|
|
24413
24413
|
emits: ["_beforeBreakpoint", "_containerClasses", "_slideClass", "_slideClasses", "_swiper", "activeIndexChange", "afterInit", "autoplay", "autoplayStart", "autoplayStop", "beforeDestroy", "beforeInit", "beforeLoopFix", "beforeResize", "beforeSlideChangeStart", "beforeTransitionStart", "breakpoint", "changeDirection", "click", "disable", "doubleTap", "doubleClick", "destroy", "enable", "fromEdge", "hashChange", "hashSet", "imagesReady", "init", "keyPress", "lazyImageLoad", "lazyImageReady", "lock", "loopFix", "momentumBounce", "navigationHide", "navigationShow", "observerUpdate", "orientationchange", "paginationHide", "paginationRender", "paginationShow", "paginationUpdate", "progress", "reachBeginning", "reachEnd", "realIndexChange", "resize", "scroll", "scrollbarDragEnd", "scrollbarDragMove", "scrollbarDragStart", "setTransition", "setTranslate", "slideChange", "slideChangeTransitionEnd", "slideChangeTransitionStart", "slideNextTransitionEnd", "slideNextTransitionStart", "slidePrevTransitionEnd", "slidePrevTransitionStart", "slideResetTransitionStart", "slideResetTransitionEnd", "sliderMove", "sliderFirstMove", "slidesLengthChange", "slidesGridLengthChange", "snapGridLengthChange", "snapIndexChange", "swiper", "tap", "toEdge", "touchEnd", "touchMove", "touchMoveOpposite", "touchStart", "transitionEnd", "transitionStart", "unlock", "update", "zoomChange"],
|
|
24414
24414
|
setup: function(e, r) {
|
|
24415
|
-
var n = r.slots, i = r.emit, o = e.tag, s = e.wrapperTag, a =
|
|
24415
|
+
var n = r.slots, i = r.emit, o = e.tag, s = e.wrapperTag, a = J("swiper-container"), l = J(null), u = J(!1), c = J(!1), f = J(null), d = J(null), h = J(null), b = {
|
|
24416
24416
|
value: []
|
|
24417
24417
|
}, p = {
|
|
24418
24418
|
value: []
|
|
24419
|
-
}, v =
|
|
24419
|
+
}, v = J(null), y = J(null), g = J(null), w = J(null), m = Og(e), _ = m.params, A = m.passedParams;
|
|
24420
24420
|
If(n, b, p), h.value = A, p.value = b.value;
|
|
24421
24421
|
var S = function() {
|
|
24422
24422
|
If(n, b, p), u.value = !0;
|
|
@@ -24517,7 +24517,7 @@ var w4 = {
|
|
|
24517
24517
|
}
|
|
24518
24518
|
},
|
|
24519
24519
|
setup: function(e, r) {
|
|
24520
|
-
var n = r.slots, i = !1, o = e.swiperRef, s =
|
|
24520
|
+
var n = r.slots, i = !1, o = e.swiperRef, s = J(null), a = J("swiper-slide");
|
|
24521
24521
|
function l(c, f, d) {
|
|
24522
24522
|
f === s.value && (a.value = d);
|
|
24523
24523
|
}
|
|
@@ -24735,7 +24735,7 @@ const D4 = {
|
|
|
24735
24735
|
},
|
|
24736
24736
|
emits: ["update:model-value", "close", "search"],
|
|
24737
24737
|
setup(t, { emit: e }) {
|
|
24738
|
-
const r = t, n = e, i =
|
|
24738
|
+
const r = t, n = e, i = J(), o = J(), s = J(), a = J(), l = J(!1), u = J(), c = Bu(i, o, {
|
|
24739
24739
|
placement: "bottom",
|
|
24740
24740
|
whileElementsMounted: Eh,
|
|
24741
24741
|
middleware: [
|
|
@@ -29961,9 +29961,9 @@ class TU extends Error {
|
|
|
29961
29961
|
function z(t, e, r, n, i) {
|
|
29962
29962
|
throw i ?? new TU(t, e, r, n, null);
|
|
29963
29963
|
}
|
|
29964
|
-
const AU = "externalSignIn", gi =
|
|
29964
|
+
const AU = "externalSignIn", gi = J();
|
|
29965
29965
|
function NU() {
|
|
29966
|
-
const t =
|
|
29966
|
+
const t = J(!1), e = new aU(), r = window.location.origin + "/", n = new iU(r), i = lp(
|
|
29967
29967
|
AU,
|
|
29968
29968
|
{},
|
|
29969
29969
|
{
|
|
@@ -30105,7 +30105,7 @@ function NU() {
|
|
|
30105
30105
|
getLoginType: b
|
|
30106
30106
|
};
|
|
30107
30107
|
}
|
|
30108
|
-
const Mn = oc(() => NU()), kU = new sU(), Do =
|
|
30108
|
+
const Mn = oc(() => NU()), kU = new sU(), Do = J([]), Ro = J([]);
|
|
30109
30109
|
function za(t) {
|
|
30110
30110
|
async function e(s = 10) {
|
|
30111
30111
|
try {
|
|
@@ -30153,7 +30153,7 @@ function za(t) {
|
|
|
30153
30153
|
};
|
|
30154
30154
|
}
|
|
30155
30155
|
function Ko(t) {
|
|
30156
|
-
const e =
|
|
30156
|
+
const e = J(!1);
|
|
30157
30157
|
async function r(n, ...i) {
|
|
30158
30158
|
e.value = !0;
|
|
30159
30159
|
try {
|
|
@@ -30180,7 +30180,7 @@ function CU(t) {
|
|
|
30180
30180
|
function sm(...t) {
|
|
30181
30181
|
return re(() => t.some((e) => e.value));
|
|
30182
30182
|
}
|
|
30183
|
-
const Ms =
|
|
30183
|
+
const Ms = J();
|
|
30184
30184
|
function PU() {
|
|
30185
30185
|
const t = Ot("platformUrl"), { getApiClient: e } = CU(lU), { loading: r, action: n } = Ko(async () => {
|
|
30186
30186
|
const o = await (await e()).getUICustomizationSetting(), s = await JSON.parse(o.defaultValue ?? null);
|
|
@@ -30205,7 +30205,7 @@ function PU() {
|
|
|
30205
30205
|
loading: sm(r)
|
|
30206
30206
|
};
|
|
30207
30207
|
}
|
|
30208
|
-
const Df =
|
|
30208
|
+
const Df = J([]);
|
|
30209
30209
|
function Ec() {
|
|
30210
30210
|
const { user: t } = Mn();
|
|
30211
30211
|
t.value && (Df.value = t.value?.permissions ?? []);
|
|
@@ -30223,7 +30223,7 @@ function Ec() {
|
|
|
30223
30223
|
};
|
|
30224
30224
|
}
|
|
30225
30225
|
function xU(t) {
|
|
30226
|
-
const e =
|
|
30226
|
+
const e = J(null), r = pr();
|
|
30227
30227
|
function n() {
|
|
30228
30228
|
e.value = null, r && r.emit("reset");
|
|
30229
30229
|
}
|
|
@@ -30244,11 +30244,11 @@ function xU(t) {
|
|
|
30244
30244
|
};
|
|
30245
30245
|
}
|
|
30246
30246
|
function X7() {
|
|
30247
|
-
const t =
|
|
30247
|
+
const t = J(!1);
|
|
30248
30248
|
async function e(i, o, s) {
|
|
30249
30249
|
try {
|
|
30250
30250
|
t.value = !0;
|
|
30251
|
-
const a =
|
|
30251
|
+
const a = J([]);
|
|
30252
30252
|
for (let l = 0; l < i.length; l++) {
|
|
30253
30253
|
const u = new FormData();
|
|
30254
30254
|
u.append("file", i[l]);
|
|
@@ -30293,7 +30293,7 @@ function X7() {
|
|
|
30293
30293
|
loading: re(() => t.value)
|
|
30294
30294
|
};
|
|
30295
30295
|
}
|
|
30296
|
-
const Al =
|
|
30296
|
+
const Al = J([]), Tg = J([]);
|
|
30297
30297
|
function IU() {
|
|
30298
30298
|
const { t } = Dt.global;
|
|
30299
30299
|
function e(a) {
|
|
@@ -30312,7 +30312,7 @@ function IU() {
|
|
|
30312
30312
|
return u(a) - u(l);
|
|
30313
30313
|
}
|
|
30314
30314
|
function o() {
|
|
30315
|
-
const a =
|
|
30315
|
+
const a = J([]);
|
|
30316
30316
|
Tg.value.forEach((l) => {
|
|
30317
30317
|
if (l.group) {
|
|
30318
30318
|
const u = tI(a, (f) => f.groupId === "group_" + l.group), c = vg(
|
|
@@ -31360,7 +31360,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31360
31360
|
setup(t, { emit: e }) {
|
|
31361
31361
|
const r = t, n = e;
|
|
31362
31362
|
cs({ validateOnMount: !1 });
|
|
31363
|
-
const i = Sa(), o = Oa(), { t: s } = mt({ useScope: "global" }), a =
|
|
31363
|
+
const i = Sa(), o = Oa(), { t: s } = mt({ useScope: "global" }), a = J({ ...r.options?.asset }), l = re(() => r.options?.disabled), u = re({
|
|
31364
31364
|
get() {
|
|
31365
31365
|
return a.value.name?.split(".").shift();
|
|
31366
31366
|
},
|
|
@@ -31368,7 +31368,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31368
31368
|
const v = a.value.name?.split(".").pop();
|
|
31369
31369
|
a.value.name = p + "." + v;
|
|
31370
31370
|
}
|
|
31371
|
-
}), c = re(() => !o.value || !i.value), f =
|
|
31371
|
+
}), c = re(() => !o.value || !i.value), f = J([
|
|
31372
31372
|
{
|
|
31373
31373
|
id: "save",
|
|
31374
31374
|
title: s("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
|
|
@@ -31579,7 +31579,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31579
31579
|
},
|
|
31580
31580
|
emits: ["onClick"],
|
|
31581
31581
|
setup(t, { emit: e }) {
|
|
31582
|
-
const r = t, n = e, i = Ot("platformUrl"), o =
|
|
31582
|
+
const r = t, n = e, i = Ot("platformUrl"), o = J(!1), s = (f) => i?.replace(/\/+$/, "") + f, a = (f) => {
|
|
31583
31583
|
const d = window.location.pathname.replace(/\/+$/, ""), h = f.match(d);
|
|
31584
31584
|
return h ? h[0] : null;
|
|
31585
31585
|
}, l = (f) => {
|
|
@@ -31619,7 +31619,7 @@ const WU = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31619
31619
|
}), lB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31620
31620
|
__proto__: null,
|
|
31621
31621
|
VcAppSwitcher: aB
|
|
31622
|
-
}, Symbol.toStringTag, { value: "Module" })), Nl =
|
|
31622
|
+
}, Symbol.toStringTag, { value: "Module" })), Nl = J();
|
|
31623
31623
|
function uB() {
|
|
31624
31624
|
const { pending: t, notificationContainer: e } = lm();
|
|
31625
31625
|
function r(o, s) {
|
|
@@ -31641,7 +31641,7 @@ function uB() {
|
|
|
31641
31641
|
clearContainer: i
|
|
31642
31642
|
};
|
|
31643
31643
|
}
|
|
31644
|
-
const kl = qt({ items: [] }), Yn =
|
|
31644
|
+
const kl = qt({ items: [] }), Yn = J([]), { clearContainer: cB, unmountComponent: fB, saveInstance: dB } = uB();
|
|
31645
31645
|
function lm() {
|
|
31646
31646
|
const t = qt({
|
|
31647
31647
|
timeout: 3e3,
|
|
@@ -34071,7 +34071,7 @@ const { addNotification: Fg } = za(), B3 = {
|
|
|
34071
34071
|
}
|
|
34072
34072
|
};
|
|
34073
34073
|
function H3() {
|
|
34074
|
-
const { hasAccess: t } = Ec(), e =
|
|
34074
|
+
const { hasAccess: t } = Ec(), e = J([]);
|
|
34075
34075
|
async function r() {
|
|
34076
34076
|
return new oU();
|
|
34077
34077
|
}
|
|
@@ -34126,7 +34126,7 @@ const q3 = Ya(lB), G3 = Ae({
|
|
|
34126
34126
|
}
|
|
34127
34127
|
},
|
|
34128
34128
|
setup(t, { attrs: e, slots: r }) {
|
|
34129
|
-
const n =
|
|
34129
|
+
const n = J(), i = Ad(t.blade);
|
|
34130
34130
|
return Ge(
|
|
34131
34131
|
() => [n.value, i.value],
|
|
34132
34132
|
([o, s]) => {
|
|
@@ -34138,7 +34138,7 @@ const q3 = Ya(lB), G3 = Ae({
|
|
|
34138
34138
|
c.component?.isUnmounted && typeof c.props?.navigation?.onClose == "function" && c.props?.navigation.onClose();
|
|
34139
34139
|
}, s = (c) => {
|
|
34140
34140
|
c.component?.isMounted && typeof c.props?.navigation?.onOpen == "function" && c.props?.navigation.onOpen();
|
|
34141
|
-
}, a =
|
|
34141
|
+
}, a = J(!1);
|
|
34142
34142
|
function l() {
|
|
34143
34143
|
a.value = !0;
|
|
34144
34144
|
}
|
|
@@ -34222,7 +34222,7 @@ const X3 = {
|
|
|
34222
34222
|
const r = t.runWithContext(() => Ot("bladeRoutes")), n = {
|
|
34223
34223
|
router: e.router,
|
|
34224
34224
|
internalRoutes: r,
|
|
34225
|
-
blades:
|
|
34225
|
+
blades: J([])
|
|
34226
34226
|
};
|
|
34227
34227
|
t.config.globalProperties.$bladeNavigationPlugin = n, t.provide("bladeNavigationPlugin", n), k_ = n;
|
|
34228
34228
|
}
|
|
@@ -35083,7 +35083,7 @@ function C6(t, e, r = re(() => !0)) {
|
|
|
35083
35083
|
}
|
|
35084
35084
|
return !E6(a, y1.Loose) && a.tabIndex !== -1 && o.preventDefault(), e(o, a);
|
|
35085
35085
|
}
|
|
35086
|
-
let i =
|
|
35086
|
+
let i = J(null);
|
|
35087
35087
|
jl("pointerdown", (o) => {
|
|
35088
35088
|
var s, a;
|
|
35089
35089
|
r.value && (i.value = ((a = (s = o.composedPath) == null ? void 0 : s.call(o)) == null ? void 0 : a[0]) || o.target);
|
|
@@ -35255,7 +35255,7 @@ function A1(t, e, r, n) {
|
|
|
35255
35255
|
}
|
|
35256
35256
|
var qs = ((t) => (t[t.Forwards = 0] = "Forwards", t[t.Backwards = 1] = "Backwards", t))(qs || {});
|
|
35257
35257
|
function D6() {
|
|
35258
|
-
let t =
|
|
35258
|
+
let t = J(0);
|
|
35259
35259
|
return w1("keydown", (e) => {
|
|
35260
35260
|
e.key === "Tab" && (t.value = e.shiftKey ? 1 : 0);
|
|
35261
35261
|
}), t;
|
|
@@ -35273,10 +35273,10 @@ function N1(t) {
|
|
|
35273
35273
|
return e;
|
|
35274
35274
|
}
|
|
35275
35275
|
var k1 = ((t) => (t[t.None = 1] = "None", t[t.InitialFocus = 2] = "InitialFocus", t[t.TabLock = 4] = "TabLock", t[t.FocusLock = 8] = "FocusLock", t[t.RestoreFocus = 16] = "RestoreFocus", t[t.All = 30] = "All", t))(k1 || {});
|
|
35276
|
-
let Fs = Object.assign(Ae({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default:
|
|
35277
|
-
let i =
|
|
35276
|
+
let Fs = Object.assign(Ae({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: J(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(t, { attrs: e, slots: r, expose: n }) {
|
|
35277
|
+
let i = J(null);
|
|
35278
35278
|
n({ el: i, $el: i });
|
|
35279
|
-
let o = re(() => Es(i)), s =
|
|
35279
|
+
let o = re(() => Es(i)), s = J(!1);
|
|
35280
35280
|
ct(() => s.value = !0), zr(() => s.value = !1), $6({ ownerDocument: o }, re(() => s.value && !!(t.features & 16)));
|
|
35281
35281
|
let a = M6({ ownerDocument: o, container: i, initialFocus: re(() => t.initialFocus) }, re(() => s.value && !!(t.features & 2)));
|
|
35282
35282
|
j6({ ownerDocument: o, container: i, containers: t.containers, previousActiveElement: a }, re(() => s.value && !!(t.features & 8)));
|
|
@@ -35291,7 +35291,7 @@ let Fs = Object.assign(Ae({ name: "FocusTrap", props: { as: { type: [Object, Str
|
|
|
35291
35291
|
} });
|
|
35292
35292
|
});
|
|
35293
35293
|
}
|
|
35294
|
-
let c =
|
|
35294
|
+
let c = J(!1);
|
|
35295
35295
|
function f(h) {
|
|
35296
35296
|
h.key === "Tab" && (c.value = !0, requestAnimationFrame(() => {
|
|
35297
35297
|
c.value = !1;
|
|
@@ -35311,7 +35311,7 @@ let Fs = Object.assign(Ae({ name: "FocusTrap", props: { as: { type: [Object, Str
|
|
|
35311
35311
|
};
|
|
35312
35312
|
} }), { features: k1 });
|
|
35313
35313
|
function R6(t) {
|
|
35314
|
-
let e =
|
|
35314
|
+
let e = J(Yi.slice());
|
|
35315
35315
|
return Ge([t], ([r], [n]) => {
|
|
35316
35316
|
n === !0 && r === !1 ? Pm(() => {
|
|
35317
35317
|
e.value.splice(0);
|
|
@@ -35333,7 +35333,7 @@ function $6({ ownerDocument: t }, e) {
|
|
|
35333
35333
|
});
|
|
35334
35334
|
}
|
|
35335
35335
|
function M6({ ownerDocument: t, container: e, initialFocus: r }, n) {
|
|
35336
|
-
let i =
|
|
35336
|
+
let i = J(null), o = J(!1);
|
|
35337
35337
|
return ct(() => o.value = !0), zr(() => o.value = !1), ct(() => {
|
|
35338
35338
|
Ge([e, r, n], (s, a) => {
|
|
35339
35339
|
if (s.every((u, c) => a?.[c] === u) || !n.value)
|
|
@@ -35505,7 +35505,7 @@ function G6(t, e, r) {
|
|
|
35505
35505
|
}, { immediate: !0 }), i;
|
|
35506
35506
|
}
|
|
35507
35507
|
let Qf = /* @__PURE__ */ new Map(), Us = /* @__PURE__ */ new Map();
|
|
35508
|
-
function py(t, e =
|
|
35508
|
+
function py(t, e = J(!0)) {
|
|
35509
35509
|
Yr((r) => {
|
|
35510
35510
|
var n;
|
|
35511
35511
|
if (!e.value)
|
|
@@ -35528,7 +35528,7 @@ function py(t, e = K(!0)) {
|
|
|
35528
35528
|
});
|
|
35529
35529
|
}
|
|
35530
35530
|
function W6({ defaultContainers: t = [], portals: e, mainTreeNodeRef: r } = {}) {
|
|
35531
|
-
let n =
|
|
35531
|
+
let n = J(null), i = Es(n);
|
|
35532
35532
|
function o() {
|
|
35533
35533
|
var s, a, l;
|
|
35534
35534
|
let u = [];
|
|
@@ -35582,8 +35582,8 @@ function K6() {
|
|
|
35582
35582
|
throw new Error("Missing parent");
|
|
35583
35583
|
return t;
|
|
35584
35584
|
}
|
|
35585
|
-
function Z6({ slot: t =
|
|
35586
|
-
let n =
|
|
35585
|
+
function Z6({ slot: t = J({}), name: e = "Description", props: r = {} } = {}) {
|
|
35586
|
+
let n = J([]);
|
|
35587
35587
|
function i(o) {
|
|
35588
35588
|
return n.value.push(o), () => {
|
|
35589
35589
|
let s = n.value.indexOf(o);
|
|
@@ -35596,7 +35596,7 @@ Ae({ name: "Description", props: { as: { type: [Object, String], default: "p" },
|
|
|
35596
35596
|
var n;
|
|
35597
35597
|
let i = (n = t.id) != null ? n : `headlessui-description-${So()}`, o = K6();
|
|
35598
35598
|
return ct(() => zr(o.register(i))), () => {
|
|
35599
|
-
let { name: s = "Description", slot: a =
|
|
35599
|
+
let { name: s = "Description", slot: a = J({}), props: l = {} } = o, { ...u } = t, c = { ...Object.entries(l).reduce((f, [d, h]) => Object.assign(f, { [d]: I(h) }), {}), id: i };
|
|
35600
35600
|
return Hr({ ourProps: c, theirProps: u, slot: a.value, attrs: e, slots: r, name: s });
|
|
35601
35601
|
};
|
|
35602
35602
|
} });
|
|
@@ -35614,7 +35614,7 @@ function X6(t) {
|
|
|
35614
35614
|
return n.setAttribute("id", "headlessui-portal-root"), e.body.appendChild(n);
|
|
35615
35615
|
}
|
|
35616
35616
|
let L1 = Ae({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(t, { slots: e, attrs: r }) {
|
|
35617
|
-
let n =
|
|
35617
|
+
let n = J(null), i = re(() => Es(n)), o = z6(), s = Ot(D1, null), a = J(o === !0 || s == null ? X6(n.value) : s.resolveTarget()), l = J(!1);
|
|
35618
35618
|
ct(() => {
|
|
35619
35619
|
l.value = !0;
|
|
35620
35620
|
}), Yr(() => {
|
|
@@ -35638,7 +35638,7 @@ let L1 = Ae({ name: "Portal", props: { as: { type: [Object, String], default: "d
|
|
|
35638
35638
|
};
|
|
35639
35639
|
} }), ah = Symbol("PortalParentContext");
|
|
35640
35640
|
function Q6() {
|
|
35641
|
-
let t = Ot(ah, null), e =
|
|
35641
|
+
let t = Ot(ah, null), e = J([]);
|
|
35642
35642
|
function r(o) {
|
|
35643
35643
|
return e.value.push(o), t && t.register(o), () => n(o);
|
|
35644
35644
|
}
|
|
@@ -35675,11 +35675,11 @@ function tl(t) {
|
|
|
35675
35675
|
}
|
|
35676
35676
|
let Fl = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", rq = Ae({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: Fl }, initialFocus: { type: Object, default: null }, id: { type: String, default: null }, role: { type: String, default: "dialog" } }, emits: { close: (t) => !0 }, setup(t, { emit: e, attrs: r, slots: n, expose: i }) {
|
|
35677
35677
|
var o, s;
|
|
35678
|
-
let a = (o = t.id) != null ? o : `headlessui-dialog-${So()}`, l =
|
|
35678
|
+
let a = (o = t.id) != null ? o : `headlessui-dialog-${So()}`, l = J(!1);
|
|
35679
35679
|
ct(() => {
|
|
35680
35680
|
l.value = !0;
|
|
35681
35681
|
});
|
|
35682
|
-
let u = !1, c = re(() => t.role === "dialog" || t.role === "alertdialog" ? t.role : (u || (u = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), f =
|
|
35682
|
+
let u = !1, c = re(() => t.role === "dialog" || t.role === "alertdialog" ? t.role : (u || (u = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), f = J(0), d = Cm(), h = re(() => t.open === Fl && d !== null ? (d.value & Lr.Open) === Lr.Open : t.open), b = J(null), p = re(() => Es(b));
|
|
35683
35683
|
if (i({ el: b, $el: b }), !(t.open !== Fl || d !== null))
|
|
35684
35684
|
throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
35685
35685
|
if (typeof h.value != "boolean")
|
|
@@ -35700,7 +35700,7 @@ let Fl = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", rq = Ae({ name: "Dialog", inher
|
|
|
35700
35700
|
if (F === "Dialog")
|
|
35701
35701
|
return In(L, { [sh.Add]: () => f.value += 1, [sh.Remove]: () => f.value -= 1 });
|
|
35702
35702
|
} });
|
|
35703
|
-
let M = Z6({ name: "DialogDescription", slot: re(() => ({ open: h.value })) }), G =
|
|
35703
|
+
let M = Z6({ name: "DialogDescription", slot: re(() => ({ open: h.value })) }), G = J(null), Z = { titleId: G, panelRef: J(null), dialogState: v, setTitleId(L) {
|
|
35704
35704
|
G.value !== L && (G.value = L);
|
|
35705
35705
|
}, close() {
|
|
35706
35706
|
e("close", !1);
|
|
@@ -35710,9 +35710,9 @@ let Fl = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", rq = Ae({ name: "Dialog", inher
|
|
|
35710
35710
|
C6(A, (L, F) => {
|
|
35711
35711
|
Z.close(), Vt(() => F?.focus());
|
|
35712
35712
|
}, de);
|
|
35713
|
-
let
|
|
35713
|
+
let K = re(() => !(g.value || v.value !== 0));
|
|
35714
35714
|
A1((s = p.value) == null ? void 0 : s.defaultView, "keydown", (L) => {
|
|
35715
|
-
|
|
35715
|
+
K.value && (L.defaultPrevented || L.key === T1.Escape && (L.preventDefault(), L.stopPropagation(), Z.close()));
|
|
35716
35716
|
});
|
|
35717
35717
|
let U = re(() => !(O.value || v.value !== 0 || w));
|
|
35718
35718
|
return G6(p, U, (L) => {
|
|
@@ -35749,7 +35749,7 @@ Ae({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div
|
|
|
35749
35749
|
} });
|
|
35750
35750
|
Ae({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, inheritAttrs: !1, setup(t, { attrs: e, slots: r, expose: n }) {
|
|
35751
35751
|
var i;
|
|
35752
|
-
let o = (i = t.id) != null ? i : `headlessui-dialog-backdrop-${So()}`, s = tl("DialogBackdrop"), a =
|
|
35752
|
+
let o = (i = t.id) != null ? i : `headlessui-dialog-backdrop-${So()}`, s = tl("DialogBackdrop"), a = J(null);
|
|
35753
35753
|
return n({ el: a, $el: a }), ct(() => {
|
|
35754
35754
|
if (s.panelRef.value === null)
|
|
35755
35755
|
throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
@@ -35835,7 +35835,7 @@ function Ac(t) {
|
|
|
35835
35835
|
return "children" in t ? Ac(t.children) : t.value.filter(({ state: e }) => e === "visible").length > 0;
|
|
35836
35836
|
}
|
|
35837
35837
|
function R1(t) {
|
|
35838
|
-
let e =
|
|
35838
|
+
let e = J([]), r = J(!1);
|
|
35839
35839
|
ct(() => r.value = !0), zr(() => r.value = !1);
|
|
35840
35840
|
function n(o, s = Ai.Hidden) {
|
|
35841
35841
|
let a = e.value.findIndex(({ id: l }) => l === o);
|
|
@@ -35852,7 +35852,7 @@ function R1(t) {
|
|
|
35852
35852
|
return { children: e, register: i, unregister: n };
|
|
35853
35853
|
}
|
|
35854
35854
|
let $1 = Pu.RenderStrategy, ch = Ae({ 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, expose: i }) {
|
|
35855
|
-
let o =
|
|
35855
|
+
let o = J(0);
|
|
35856
35856
|
function s() {
|
|
35857
35857
|
o.value |= Lr.Opening, e("beforeEnter");
|
|
35858
35858
|
}
|
|
@@ -35867,9 +35867,9 @@ let $1 = Pu.RenderStrategy, ch = Ae({ props: { as: { type: [Object, String], def
|
|
|
35867
35867
|
}
|
|
35868
35868
|
if (!lq() && x6())
|
|
35869
35869
|
return () => Te(M1, { ...t, onBeforeEnter: s, onAfterEnter: a, onBeforeLeave: l, onAfterLeave: u }, n);
|
|
35870
|
-
let c =
|
|
35870
|
+
let c = J(null), f = re(() => t.unmount ? Ai.Unmount : Ai.Hidden);
|
|
35871
35871
|
i({ el: c, $el: c });
|
|
35872
|
-
let { show: d, appear: h } = uq(), { register: b, unregister: p } = cq(), v =
|
|
35872
|
+
let { show: d, appear: h } = uq(), { register: b, unregister: p } = cq(), v = J(d.value ? "visible" : "hidden"), y = { value: !0 }, g = So(), w = { value: !1 }, m = R1(() => {
|
|
35873
35873
|
!w.value && v.value !== "hidden" && (v.value = "hidden", p(g), u());
|
|
35874
35874
|
});
|
|
35875
35875
|
ct(() => {
|
|
@@ -35907,7 +35907,7 @@ let $1 = Pu.RenderStrategy, ch = Ae({ props: { as: { type: [Object, String], def
|
|
|
35907
35907
|
N(M), y.value = !1;
|
|
35908
35908
|
}, { immediate: !0 });
|
|
35909
35909
|
}), Cr(Im, m), I6(re(() => In(v.value, { visible: Lr.Open, hidden: Lr.Closed }) | o.value)), () => {
|
|
35910
|
-
let { appear: P, show: D, enter: M, enterFrom: G, enterTo: Z, entered: de, leave:
|
|
35910
|
+
let { appear: P, show: D, enter: M, enterFrom: G, enterTo: Z, entered: de, leave: K, leaveFrom: U, leaveTo: L, ...F } = t, H = { ref: c }, ne = { ...F, ...h.value && d.value && Qa.isServer ? { class: De([r.class, F.class, ..._, ...A]) } : {} };
|
|
35911
35911
|
return Hr({ theirProps: ne, ourProps: H, slot: {}, slots: n, attrs: r, features: $1, visible: v.value === "visible", name: "TransitionChild" });
|
|
35912
35912
|
};
|
|
35913
35913
|
} }), 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 }) {
|
|
@@ -35916,9 +35916,9 @@ let $1 = Pu.RenderStrategy, ch = Ae({ props: { as: { type: [Object, String], def
|
|
|
35916
35916
|
if (![!0, !1].includes(o.value))
|
|
35917
35917
|
throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.');
|
|
35918
35918
|
});
|
|
35919
|
-
let s =
|
|
35919
|
+
let s = J(o.value ? "visible" : "hidden"), a = R1(() => {
|
|
35920
35920
|
s.value = "hidden";
|
|
35921
|
-
}), l =
|
|
35921
|
+
}), l = J(!0), u = { show: o, appear: re(() => t.appear || !l.value) };
|
|
35922
35922
|
return ct(() => {
|
|
35923
35923
|
Yr(() => {
|
|
35924
35924
|
l.value = !1, o.value ? s.value = "visible" : Ac(a) || (s.value = "hidden");
|
|
@@ -36424,7 +36424,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36424
36424
|
}, Cq = ["onClick"], Pq = /* @__PURE__ */ Ae({
|
|
36425
36425
|
__name: "language-selector",
|
|
36426
36426
|
setup(t) {
|
|
36427
|
-
const { availableLocales: e, getLocaleMessage: r } = mt({ useScope: "global" }), { setLocale: n } = HU(), i =
|
|
36427
|
+
const { availableLocales: e, getLocaleMessage: r } = mt({ useScope: "global" }), { setLocale: n } = HU(), i = J(!1), o = e.map((s) => ({
|
|
36428
36428
|
lang: s,
|
|
36429
36429
|
title: r(s).language_name,
|
|
36430
36430
|
clickHandler(a) {
|
|
@@ -36480,7 +36480,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36480
36480
|
setup(t) {
|
|
36481
36481
|
const e = t, { user: r, signOut: n } = Mn(), i = Ta(), { t: o } = mt({ useScope: "global" }), { open: s } = Ss({
|
|
36482
36482
|
component: Aq
|
|
36483
|
-
}), { closeBlade: a } = Eo(), l =
|
|
36483
|
+
}), { closeBlade: a } = Eo(), l = J(!1), u = re(() => [
|
|
36484
36484
|
...e.menuItems,
|
|
36485
36485
|
{
|
|
36486
36486
|
title: o("SHELL.ACCOUNT.CHANGE_PASSWORD"),
|
|
@@ -36635,7 +36635,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36635
36635
|
}, Jq = /* @__PURE__ */ Ae({
|
|
36636
36636
|
__name: "notification-dropdown",
|
|
36637
36637
|
setup(t) {
|
|
36638
|
-
const e = Ot("notificationTemplates"), { t: r } = mt({ useScope: "global" }), { notifications: n, markAllAsRead: i } = za(), o =
|
|
36638
|
+
const e = Ot("notificationTemplates"), { t: r } = mt({ useScope: "global" }), { notifications: n, markAllAsRead: i } = za(), o = J(!1), s = re(() => n.value.some((u) => u.isNew));
|
|
36639
36639
|
function a() {
|
|
36640
36640
|
o.value = !o.value, l();
|
|
36641
36641
|
}
|
|
@@ -36734,9 +36734,9 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36734
36734
|
},
|
|
36735
36735
|
emits: ["parent:call", "close:blade", "expand:blade", "collapse:blade"],
|
|
36736
36736
|
setup(t, { expose: e }) {
|
|
36737
|
-
const r = t, { t: n } = mt({ useScope: "global" }), i =
|
|
36737
|
+
const r = t, { t: n } = mt({ useScope: "global" }), i = J([]), o = J(!1), s = J(), a = J([]), l = re(() => r.options.disabled);
|
|
36738
36738
|
let u;
|
|
36739
|
-
const c =
|
|
36739
|
+
const c = J(!1), { openBlade: f, resolveBladeByName: d } = Eo(), h = J([
|
|
36740
36740
|
{
|
|
36741
36741
|
id: "add",
|
|
36742
36742
|
title: re(() => n("ASSETS_MANAGER.TOOLBAR.ADD")),
|
|
@@ -36757,7 +36757,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
36757
36757
|
disabled: re(() => !a.value.length || l.value),
|
|
36758
36758
|
isVisible: re(() => !l.value)
|
|
36759
36759
|
}
|
|
36760
|
-
]), b =
|
|
36760
|
+
]), b = J([
|
|
36761
36761
|
{
|
|
36762
36762
|
id: "url",
|
|
36763
36763
|
title: re(() => n("ASSETS_MANAGER.TABLE.HEADER.IMAGE")),
|
|
@@ -37183,7 +37183,7 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
37183
37183
|
TextareaField: V1,
|
|
37184
37184
|
VideoField: G1
|
|
37185
37185
|
}, Symbol.toStringTag, { value: "Module" })), vG = (t) => {
|
|
37186
|
-
const e = t.load, r = t.data, n =
|
|
37186
|
+
const e = t.load, r = t.data, n = J(!0), i = J({}), { t: o } = mt({ useScope: "global" }), s = J([]), a = J({}), l = re(() => Object.values(a.value).filter((w) => !!w).length), u = sp((w) => {
|
|
37187
37187
|
const m = Object.keys(w);
|
|
37188
37188
|
return m.length === 0 || m.every((_) => !w[_]);
|
|
37189
37189
|
});
|
|
@@ -37375,9 +37375,9 @@ const Sq = { class: "tw-flex tw-flex-col tw-flex-auto" }, Oq = { class: "tw-flex
|
|
|
37375
37375
|
if (!t)
|
|
37376
37376
|
return;
|
|
37377
37377
|
const { t: e } = mt({ useScope: "global" }), r = O0(
|
|
37378
|
-
|
|
37379
|
-
|
|
37380
|
-
|
|
37378
|
+
J({}),
|
|
37379
|
+
J(t.defaultToolbarBindings),
|
|
37380
|
+
J(At(t.customToolbarConfig))
|
|
37381
37381
|
);
|
|
37382
37382
|
return re(() => {
|
|
37383
37383
|
if (t.defaultToolbarSchema?.length !== 0)
|
|
@@ -37434,7 +37434,7 @@ const gG = {
|
|
|
37434
37434
|
},
|
|
37435
37435
|
emits: ["parent:call", "close:blade", "collapse:blade", "expand:blade", "close:children", "item-click", "add"],
|
|
37436
37436
|
setup(t, { expose: e, emit: r }) {
|
|
37437
|
-
const n = t, { t: i } = mt({ useScope: "global" }), { showConfirmation: o } = Ss(), { debounce: s } = nU(), a = r, l = re(() => n.model?.settings), u = re(() => i(l.value?.titleTemplate)), c =
|
|
37437
|
+
const n = t, { t: i } = mt({ useScope: "global" }), { showConfirmation: o } = Ss(), { debounce: s } = nU(), a = r, l = re(() => n.model?.settings), u = re(() => i(l.value?.titleTemplate)), c = J(!1), f = J(), d = kr(), h = kr("createdDate:DESC"), b = kr([]), p = J(), v = kr(!1), { moduleNotifications: y, markAsRead: g } = za(l.value?.pushNotificationType);
|
|
37438
37438
|
Ge(
|
|
37439
37439
|
y,
|
|
37440
37440
|
(q) => {
|
|
@@ -37461,7 +37461,7 @@ const gG = {
|
|
|
37461
37461
|
selectedIds: re(() => b.value)
|
|
37462
37462
|
}
|
|
37463
37463
|
}) : {
|
|
37464
|
-
load:
|
|
37464
|
+
load: J(!0),
|
|
37465
37465
|
remove: void 0,
|
|
37466
37466
|
items: void 0,
|
|
37467
37467
|
loading: void 0,
|
|
@@ -37484,7 +37484,7 @@ const gG = {
|
|
|
37484
37484
|
}), {
|
|
37485
37485
|
filterComponent: Z,
|
|
37486
37486
|
activeFilterCount: de,
|
|
37487
|
-
isFilterVisible:
|
|
37487
|
+
isFilterVisible: K,
|
|
37488
37488
|
reset: U,
|
|
37489
37489
|
filter: L
|
|
37490
37490
|
} = vG({
|
|
@@ -37492,7 +37492,7 @@ const gG = {
|
|
|
37492
37492
|
query: E,
|
|
37493
37493
|
load: A,
|
|
37494
37494
|
scope: N
|
|
37495
|
-
}), F =
|
|
37495
|
+
}), F = J({
|
|
37496
37496
|
load: A,
|
|
37497
37497
|
remove: S,
|
|
37498
37498
|
items: re(() => p.value ?? []),
|
|
@@ -37762,7 +37762,7 @@ const gG = {
|
|
|
37762
37762
|
onReset: ae
|
|
37763
37763
|
}, null, 40, ["context"])) : (x(), B("div", gG, [
|
|
37764
37764
|
Y("div", yG, ue(q.$t(`${l.value?.localizationPrefix.trim().toUpperCase()}.PAGES.LIST.NOT_FOUND.EMPTY`)), 1),
|
|
37765
|
-
I(
|
|
37765
|
+
I(K) ? (x(), we(Se, {
|
|
37766
37766
|
key: 0,
|
|
37767
37767
|
onClick: ae
|
|
37768
37768
|
}, {
|
|
@@ -37787,7 +37787,7 @@ const gG = {
|
|
|
37787
37787
|
]),
|
|
37788
37788
|
_: 2
|
|
37789
37789
|
}, [
|
|
37790
|
-
I(
|
|
37790
|
+
I(K) ? {
|
|
37791
37791
|
name: "filters",
|
|
37792
37792
|
fn: le(({ closePanel: Fe }) => [
|
|
37793
37793
|
oe(I(Z), { close: Fe }, null, 8, ["close"])
|
|
@@ -37935,14 +37935,14 @@ const SG = {
|
|
|
37935
37935
|
name: "CardEl",
|
|
37936
37936
|
props: Yt,
|
|
37937
37937
|
setup(t) {
|
|
37938
|
-
const e =
|
|
37938
|
+
const e = J(!0);
|
|
37939
37939
|
ct(() => {
|
|
37940
37940
|
e.value = r(Ve(t.fields));
|
|
37941
37941
|
}), us(() => {
|
|
37942
37942
|
e.value = r(Ve(t.fields));
|
|
37943
37943
|
});
|
|
37944
37944
|
const r = (n) => {
|
|
37945
|
-
const i = Array.isArray(n) ? n : [n], o =
|
|
37945
|
+
const i = Array.isArray(n) ? n : [n], o = J(0);
|
|
37946
37946
|
for (const s of i)
|
|
37947
37947
|
if (Array.isArray(s) && s.length > 0) {
|
|
37948
37948
|
if (!r(s)) {
|
|
@@ -38218,7 +38218,7 @@ const CG = {
|
|
|
38218
38218
|
2
|
|
38219
38219
|
)}`
|
|
38220
38220
|
);
|
|
38221
|
-
const e =
|
|
38221
|
+
const e = J();
|
|
38222
38222
|
Ge(
|
|
38223
38223
|
() => t.baseProps?.modelValue,
|
|
38224
38224
|
(o) => {
|
|
@@ -38314,7 +38314,7 @@ const CG = {
|
|
|
38314
38314
|
2
|
|
38315
38315
|
)}`
|
|
38316
38316
|
);
|
|
38317
|
-
const { showConfirmation: e } = Ss(), { t: r } = mt({ useScope: "global" }), { openBlade: n } = Eo(), i = Cn(t.bladeContext.scope?.assetsHandler?.images), o =
|
|
38317
|
+
const { showConfirmation: e } = Ss(), { t: r } = mt({ useScope: "global" }), { openBlade: n } = Eo(), i = Cn(t.bladeContext.scope?.assetsHandler?.images), o = J();
|
|
38318
38318
|
return Ge(
|
|
38319
38319
|
() => t.fieldContext,
|
|
38320
38320
|
(s) => {
|
|
@@ -38885,11 +38885,11 @@ const WG = {
|
|
|
38885
38885
|
remove: void 0,
|
|
38886
38886
|
saveChanges: void 0,
|
|
38887
38887
|
bladeTitle: void 0
|
|
38888
|
-
}, { onBeforeClose: v } = Eo(), y =
|
|
38888
|
+
}, { onBeforeClose: v } = Eo(), y = J(), g = J(!1), w = J(), m = re(() => n.model?.settings), { moduleNotifications: _, markAsRead: A } = za(m.value?.pushNotificationType);
|
|
38889
38889
|
Ge(
|
|
38890
38890
|
_,
|
|
38891
|
-
(
|
|
38892
|
-
|
|
38891
|
+
(K) => {
|
|
38892
|
+
K.forEach((U) => {
|
|
38893
38893
|
U.title && n.composables && Pr.success(U.title, {
|
|
38894
38894
|
onClose() {
|
|
38895
38895
|
A(U);
|
|
@@ -38900,16 +38900,16 @@ const WG = {
|
|
|
38900
38900
|
{ deep: !0 }
|
|
38901
38901
|
), Ge(
|
|
38902
38902
|
() => p?.value,
|
|
38903
|
-
(
|
|
38904
|
-
|
|
38903
|
+
(K) => {
|
|
38904
|
+
K && n.composables && (y.value = K);
|
|
38905
38905
|
},
|
|
38906
38906
|
{ immediate: !0 }
|
|
38907
38907
|
);
|
|
38908
38908
|
const S = re(() => c.value.dirty || c.value.modified);
|
|
38909
38909
|
LU(S);
|
|
38910
38910
|
const T = re(
|
|
38911
|
-
() => n.model?.content.find((
|
|
38912
|
-
), C = re(() => n.model?.content.find((
|
|
38911
|
+
() => n.model?.content.find((K) => K?.component === "vc-form")
|
|
38912
|
+
), C = re(() => n.model?.content.find((K) => K?.component === "vc-widgets")), O = J({
|
|
38913
38913
|
loading: l,
|
|
38914
38914
|
item: u,
|
|
38915
38915
|
validationState: c,
|
|
@@ -38936,15 +38936,15 @@ const WG = {
|
|
|
38936
38936
|
disabled: "disabled" in Ve(f) && Ve(f).disabled,
|
|
38937
38937
|
required: !0,
|
|
38938
38938
|
clearable: !1,
|
|
38939
|
-
"onUpdate:modelValue": (
|
|
38940
|
-
Ve(f).multilanguage?.setLocale(
|
|
38939
|
+
"onUpdate:modelValue": (K) => {
|
|
38940
|
+
Ve(f).multilanguage?.setLocale(K);
|
|
38941
38941
|
}
|
|
38942
38942
|
}),
|
|
38943
38943
|
currentLocale: Ve(f).multilanguage?.currentLocale
|
|
38944
|
-
} : {}), P = re(() => C.value?.children?.map((
|
|
38945
|
-
if (typeof
|
|
38946
|
-
return $e(
|
|
38947
|
-
throw new Error(`Component is required in widget: ${
|
|
38944
|
+
} : {}), P = re(() => C.value?.children?.map((K) => {
|
|
38945
|
+
if (typeof K == "string")
|
|
38946
|
+
return $e(K);
|
|
38947
|
+
throw new Error(`Component is required in widget: ${K}`);
|
|
38948
38948
|
})), D = qt({
|
|
38949
38949
|
multilanguage: N.component,
|
|
38950
38950
|
status: E
|
|
@@ -38978,8 +38978,8 @@ const WG = {
|
|
|
38978
38978
|
context: O.value,
|
|
38979
38979
|
scope: f
|
|
38980
38980
|
})) ?? [];
|
|
38981
|
-
async function G(
|
|
38982
|
-
const U = typeof
|
|
38981
|
+
async function G(K) {
|
|
38982
|
+
const U = typeof K == "string" ? $e(K) : K;
|
|
38983
38983
|
await Vt(
|
|
38984
38984
|
() => w.value = a.value.find(
|
|
38985
38985
|
(L) => br(L.component, typeof U != "string" ? U : $e(U))
|
|
@@ -39007,18 +39007,18 @@ const WG = {
|
|
|
39007
39007
|
title: p ?? "",
|
|
39008
39008
|
updateActiveWidgetCount: Z,
|
|
39009
39009
|
...Cn(f?.value ?? {})
|
|
39010
|
-
}), (
|
|
39010
|
+
}), (K, U) => {
|
|
39011
39011
|
const L = $e("VcForm"), F = $e("VcContainer"), H = $e("VcBlade"), ne = Ea("loading");
|
|
39012
|
-
return
|
|
39012
|
+
return K.composables ? ie("", !0) : Ht((x(), we(H, {
|
|
39013
39013
|
key: 0,
|
|
39014
|
-
expanded:
|
|
39015
|
-
closable:
|
|
39014
|
+
expanded: K.expanded,
|
|
39015
|
+
closable: K.closable,
|
|
39016
39016
|
width: m.value?.width || "50%",
|
|
39017
39017
|
"toolbar-items": I(M),
|
|
39018
39018
|
title: y.value,
|
|
39019
|
-
onClose: U[2] || (U[2] = (W) =>
|
|
39020
|
-
onExpand: U[3] || (U[3] = (W) =>
|
|
39021
|
-
onCollapse: U[4] || (U[4] = (W) =>
|
|
39019
|
+
onClose: U[2] || (U[2] = (W) => K.$emit("close:blade")),
|
|
39020
|
+
onExpand: U[3] || (U[3] = (W) => K.$emit("expand:blade")),
|
|
39021
|
+
onCollapse: U[4] || (U[4] = (W) => K.$emit("collapse:blade"))
|
|
39022
39022
|
}, xr({
|
|
39023
39023
|
default: le(() => [
|
|
39024
39024
|
oe(F, { "no-padding": !0 }, {
|
|
@@ -39171,11 +39171,13 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39171
39171
|
}, Symbol.toStringTag, { value: "Module" })), iY = (t) => function() {
|
|
39172
39172
|
const { setFieldError: r, setErrors: n, validate: i, setFieldValue: o, setValues: s } = cs({
|
|
39173
39173
|
validateOnMount: !1
|
|
39174
|
-
}), a =
|
|
39174
|
+
}), a = J(), l = J(), u = J(!1), c = Sa();
|
|
39175
|
+
let f = Oa();
|
|
39176
|
+
const d = re(() => !f.value || !c.value), { loading: h, action: b } = Ko(async (A) => {
|
|
39175
39177
|
a.value = await t.load(A), a.value && _(a.value);
|
|
39176
39178
|
}), { loading: p, action: v } = Ko(async (A) => {
|
|
39177
39179
|
if (m.value.valid)
|
|
39178
|
-
await t.saveChanges?.(A), u.value = !1;
|
|
39180
|
+
await t.saveChanges?.(A), u.value = !1, f = J(!1);
|
|
39179
39181
|
else
|
|
39180
39182
|
throw new Error("Form is not valid");
|
|
39181
39183
|
}), { loading: y, action: g } = Ko(async (A) => {
|
|
@@ -39215,7 +39217,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39215
39217
|
validationState: m
|
|
39216
39218
|
};
|
|
39217
39219
|
}, oY = (t) => function(r) {
|
|
39218
|
-
const n = r?.pageSize || 20, i =
|
|
39220
|
+
const n = r?.pageSize || 20, i = J(), o = J({
|
|
39219
39221
|
take: n,
|
|
39220
39222
|
sort: r?.sort
|
|
39221
39223
|
}), { loading: s, action: a } = Ko(async (d, ...h) => {
|
|
@@ -39475,7 +39477,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39475
39477
|
setup(t) {
|
|
39476
39478
|
const e = t, r = Ta(), { setFieldError: n, resetForm: i, setErrors: o, validateField: s } = cs({ validateOnMount: !1 }), { uiSettings: a, loading: l } = PU(), { t: u } = mt({ useScope: "global" });
|
|
39477
39479
|
let c;
|
|
39478
|
-
const f =
|
|
39480
|
+
const f = J({ succeeded: !0 }), d = J({ succeeded: !0 }), h = J(!1), { signIn: b, loading: p, externalSignIn: v, getExternalLoginProviders: y } = Mn(), g = J(!0), w = Sa(), m = Oa(), _ = J(!1), A = J();
|
|
39479
39481
|
let S;
|
|
39480
39482
|
if (e.composable && typeof e.composable == "function" && (c = e.composable, c)) {
|
|
39481
39483
|
const { forgotPassword: Z } = c();
|
|
@@ -39509,7 +39511,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39509
39511
|
await v(Z, window.location.pathname);
|
|
39510
39512
|
};
|
|
39511
39513
|
return console.debug("Init login-page"), (Z, de) => {
|
|
39512
|
-
const
|
|
39514
|
+
const K = $e("VcInput"), U = $e("VcButton"), L = $e("vc-button"), F = $e("VcForm"), H = $e("VcHint"), ne = $e("VcLoginForm");
|
|
39513
39515
|
return x(), we(ne, {
|
|
39514
39516
|
logo: C.value.logo,
|
|
39515
39517
|
background: Z.background,
|
|
@@ -39528,7 +39530,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39528
39530
|
rules: "required"
|
|
39529
39531
|
}, {
|
|
39530
39532
|
default: le(({ errorMessage: W, handleChange: j, errors: X }) => [
|
|
39531
|
-
oe(
|
|
39533
|
+
oe(K, {
|
|
39532
39534
|
ref: "loginField",
|
|
39533
39535
|
modelValue: E.username,
|
|
39534
39536
|
"onUpdate:modelValue": [
|
|
@@ -39552,7 +39554,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39552
39554
|
rules: "required"
|
|
39553
39555
|
}, {
|
|
39554
39556
|
default: le(({ errorMessage: W, handleChange: j, errors: X }) => [
|
|
39555
|
-
oe(
|
|
39557
|
+
oe(K, {
|
|
39556
39558
|
ref: "passwordField",
|
|
39557
39559
|
modelValue: E.password,
|
|
39558
39560
|
"onUpdate:modelValue": [
|
|
@@ -39633,7 +39635,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39633
39635
|
rules: "required|email"
|
|
39634
39636
|
}, {
|
|
39635
39637
|
default: le(({ field: W, errorMessage: j, handleChange: X, errors: se }) => [
|
|
39636
|
-
oe(
|
|
39638
|
+
oe(K, Lt(W, {
|
|
39637
39639
|
ref: "forgotPasswordField",
|
|
39638
39640
|
modelValue: N.loginOrEmail,
|
|
39639
39641
|
"onUpdate:modelValue": [
|
|
@@ -39882,7 +39884,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39882
39884
|
setup(t) {
|
|
39883
39885
|
const { t: e } = mt({ useScope: "global" }), { blades: r } = Eo();
|
|
39884
39886
|
let n;
|
|
39885
|
-
const i =
|
|
39887
|
+
const i = J();
|
|
39886
39888
|
return Ge(
|
|
39887
39889
|
() => r,
|
|
39888
39890
|
async (o) => {
|
|
@@ -39951,7 +39953,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39951
39953
|
},
|
|
39952
39954
|
emits: ["onClick"],
|
|
39953
39955
|
setup(t, { emit: e }) {
|
|
39954
|
-
const r = t, n = e, i =
|
|
39956
|
+
const r = t, n = e, i = J(!1), o = ph();
|
|
39955
39957
|
Ge(
|
|
39956
39958
|
() => o.path,
|
|
39957
39959
|
() => {
|
|
@@ -40088,7 +40090,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40088
40090
|
},
|
|
40089
40091
|
emits: ["item:click", "version:click"],
|
|
40090
40092
|
setup(t, { expose: e }) {
|
|
40091
|
-
const { menuItems: r } = r_(), n =
|
|
40093
|
+
const { menuItems: r } = r_(), n = J(!1), i = re(() => !!r.value.length);
|
|
40092
40094
|
return e({
|
|
40093
40095
|
isMobileVisible: n
|
|
40094
40096
|
}), (o, s) => i.value ? (x(), B("div", {
|
|
@@ -40350,7 +40352,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40350
40352
|
},
|
|
40351
40353
|
emits: ["click"],
|
|
40352
40354
|
setup(t, { emit: e }) {
|
|
40353
|
-
const r = t, n = e, i =
|
|
40355
|
+
const r = t, n = e, i = J(), o = J(!1), s = J(!1), a = J(), l = J(), u = J(), c = re(() => ({
|
|
40354
40356
|
top: `${i.value?.y ?? 0}px`,
|
|
40355
40357
|
left: `${i.value?.x ?? 0}px`
|
|
40356
40358
|
}));
|
|
@@ -40428,7 +40430,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40428
40430
|
items: { default: () => [] }
|
|
40429
40431
|
},
|
|
40430
40432
|
setup(t) {
|
|
40431
|
-
const e = t, r =
|
|
40433
|
+
const e = t, r = J(!0);
|
|
40432
40434
|
try {
|
|
40433
40435
|
r.value = localStorage.getItem("VC_BLADE_TOOLBAR_IS_EXPANDED") === "true";
|
|
40434
40436
|
} catch {
|
|
@@ -40573,7 +40575,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40573
40575
|
},
|
|
40574
40576
|
emits: ["update:model-value"],
|
|
40575
40577
|
setup(t, { emit: e }) {
|
|
40576
|
-
const r = t, n = e, { locale: i, te: o, t: s } = mt({ useScope: "global" }), a =
|
|
40578
|
+
const r = t, n = e, { locale: i, te: o, t: s } = mt({ useScope: "global" }), a = J([]), l = J(!1), u = re(() => {
|
|
40577
40579
|
const b = {};
|
|
40578
40580
|
r.required && (b.required = !0), r.rules?.min && (b.min = Number(r.rules.min)), r.rules?.max && (b.max = Number(r.rules.max)), r.rules?.regex && (b.regex = new RegExp(r.rules.regex));
|
|
40579
40581
|
const p = r.displayNames?.find((g) => g.languageCode?.startsWith(i.value))?.name || r.name, v = p && o(p.toUpperCase()) ? s(p.toUpperCase()) : p, y = r.multilanguage ? "value" : "alias";
|
|
@@ -40793,7 +40795,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40793
40795
|
},
|
|
40794
40796
|
emits: ["preview", "edit", "remove"],
|
|
40795
40797
|
setup(t) {
|
|
40796
|
-
const { t: e } = mt({ useScope: "global" }), r =
|
|
40798
|
+
const { t: e } = mt({ useScope: "global" }), r = J(!1);
|
|
40797
40799
|
function n() {
|
|
40798
40800
|
r.value = !1;
|
|
40799
40801
|
}
|
|
@@ -40870,7 +40872,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40870
40872
|
},
|
|
40871
40873
|
emits: ["close"],
|
|
40872
40874
|
setup(t) {
|
|
40873
|
-
const e = t, { t: r } = mt({ useScope: "global" }), n =
|
|
40875
|
+
const e = t, { t: r } = mt({ useScope: "global" }), n = J(e.index), i = re(() => {
|
|
40874
40876
|
if (o.value.url)
|
|
40875
40877
|
return `background: url(${CSS.escape(o.value.url)}) center / contain no-repeat`;
|
|
40876
40878
|
}), o = re(() => e.images[n.value]), s = (l) => {
|
|
@@ -40981,7 +40983,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40981
40983
|
},
|
|
40982
40984
|
emits: ["upload", "sort", "edit", "remove"],
|
|
40983
40985
|
setup(t, { emit: e }) {
|
|
40984
|
-
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o =
|
|
40986
|
+
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o = J(), s = J([]), a = J(), l = J(), u = J(), c = J(), f = J(), d = re(() => o.value), h = re(() => s.value.length <= 1), b = J(!1), { open: p } = Ss(
|
|
40985
40987
|
re(() => ({
|
|
40986
40988
|
component: U9,
|
|
40987
40989
|
props: {
|
|
@@ -41173,7 +41175,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41173
41175
|
parentExpanded: { type: Boolean, default: !0 }
|
|
41174
41176
|
},
|
|
41175
41177
|
setup(t) {
|
|
41176
|
-
const e = t, r =
|
|
41178
|
+
const e = t, r = J(!1), n = J(), i = J(), o = J();
|
|
41177
41179
|
Ge(
|
|
41178
41180
|
() => e.parentExpanded,
|
|
41179
41181
|
() => {
|
|
@@ -41251,7 +41253,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41251
41253
|
},
|
|
41252
41254
|
emits: ["swipeStart", "click", "select"],
|
|
41253
41255
|
setup(t, { emit: e }) {
|
|
41254
|
-
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o =
|
|
41256
|
+
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o = J(!1), s = J([]), a = J(null), l = J(null), u = re(() => l.value?.offsetWidth), c = J("0"), f = J("0"), { isSwiping: d, lengthX: h } = dI(a, {
|
|
41255
41257
|
threshold: 0,
|
|
41256
41258
|
onSwipeStart() {
|
|
41257
41259
|
w(), typeof r.item != "string" && n("swipeStart", r.item.id), u.value && v();
|
|
@@ -41501,7 +41503,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41501
41503
|
},
|
|
41502
41504
|
emits: ["change"],
|
|
41503
41505
|
setup(t, { emit: e }) {
|
|
41504
|
-
const r = e, n =
|
|
41506
|
+
const r = e, n = J(!1), i = J(null), o = J(null), s = Bu(i, o, {
|
|
41505
41507
|
placement: "bottom-end",
|
|
41506
41508
|
whileElementsMounted: Eh,
|
|
41507
41509
|
middleware: [Fu({ fallbackPlacements: ["top-end", "bottom-end"] }), ju({ mainAxis: !1 })]
|
|
@@ -41634,9 +41636,9 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41634
41636
|
},
|
|
41635
41637
|
emits: ["paginationClick", "selectionChanged", "search:change", "headerClick", "itemClick", "scroll:ptr", "row:reorder", "select:all"],
|
|
41636
41638
|
setup(t, { emit: e }) {
|
|
41637
|
-
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o =
|
|
41639
|
+
const r = t, n = e, { t: i } = mt({ useScope: "global" }), o = J([]), s = J([]), a = J(), l = J();
|
|
41638
41640
|
let u = null, c = null;
|
|
41639
|
-
const f =
|
|
41641
|
+
const f = J([]), d = J(!1), h = J(), b = J(), p = J(), v = J([]), y = J([]), g = J(), w = J(!1), m = J(), _ = J(), A = J(), S = cI(), T = J(), C = lp("VC_TABLE_STATE_" + r.stateKey.toUpperCase(), []), O = J([]), E = J(), N = J(), P = J(), D = J(), M = J(!1), G = J(), Z = J();
|
|
41640
41642
|
_a(() => {
|
|
41641
41643
|
Ke() && wr();
|
|
41642
41644
|
}), wa(() => {
|
|
@@ -41649,7 +41651,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41649
41651
|
const de = re(() => {
|
|
41650
41652
|
const te = r.sort?.split(":");
|
|
41651
41653
|
return te && te.length === 2 && te[1];
|
|
41652
|
-
}),
|
|
41654
|
+
}), K = re(() => {
|
|
41653
41655
|
const te = r.sort?.split(":");
|
|
41654
41656
|
return te && te.length === 2 && te[0];
|
|
41655
41657
|
}), U = re(() => r.columns.map((te) => O.value.find((Ee) => te.id === Ee.id))), L = {
|
|
@@ -42024,7 +42026,7 @@ const nY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42024
42026
|
Re(ue(Oe.title), 1)
|
|
42025
42027
|
])
|
|
42026
42028
|
]),
|
|
42027
|
-
|
|
42029
|
+
K.value === Oe.id ? (x(), B("div", Xz, [
|
|
42028
42030
|
oe(I(Be), {
|
|
42029
42031
|
size: "xs",
|
|
42030
42032
|
icon: `fas fa-caret-${de.value === "DESC" ? "down" : "up"}`
|