@vc-shell/framework 1.0.209 → 1.0.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/framework.js +372 -379
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +12 -9
- package/shared/modules/dynamic/index.ts +3 -5
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +1 -1
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +1 -18
package/dist/framework.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Fe, openBlock as k, createElementBlock as V, normalizeClass as He, renderSlot as Ge, computed as se, createBlock as Ne, unref as D, createCommentVNode as ae, ref as z, watch as Qe, createElementVNode as Q, toDisplayString as me, createVNode as ue, Transition as cd, withCtx as ve, withDirectives as gn, vShow as Tu, shallowRef as Er, getCurrentScope as r1, onScopeDispose as i1, shallowReadonly as aa, Teleport as zs, normalizeStyle as zt, createSlots as Tr, createTextVNode as Ye, vModelCheckbox as mC, onMounted as xt, nextTick as On, Fragment as Ze, renderList as St, isRef as Eo, reactive as hn, toRef as wv, readonly as fd, customRef as Tv, effectScope as s1, toRefs as bi, isReactive as vC, getCurrentInstance as Hn, onUpdated as Wa, onBeforeUpdate as Sv, watchEffect as Xr, toValue as
|
|
1
|
+
import { defineComponent as Fe, openBlock as k, createElementBlock as V, normalizeClass as He, renderSlot as Ge, computed as se, createBlock as Ne, unref as D, createCommentVNode as ae, ref as z, watch as Qe, createElementVNode as Q, toDisplayString as me, createVNode as ue, Transition as cd, withCtx as ve, withDirectives as gn, vShow as Tu, shallowRef as Er, getCurrentScope as r1, onScopeDispose as i1, shallowReadonly as aa, Teleport as zs, normalizeStyle as zt, createSlots as Tr, createTextVNode as Ye, vModelCheckbox as mC, onMounted as xt, nextTick as On, Fragment as Ze, renderList as St, isRef as Eo, reactive as hn, toRef as wv, readonly as fd, customRef as Tv, effectScope as s1, toRefs as bi, isReactive as vC, getCurrentInstance as Hn, onUpdated as Wa, onBeforeUpdate as Sv, watchEffect as Xr, toValue as Ke, mergeProps as Qt, onBeforeUnmount as Su, h as De, inject as Wt, onUnmounted as $r, onBeforeMount as dd, Text as gC, resolveDirective as Au, withModifiers as yt, vModelDynamic as o1, version as bC, normalizeProps as nf, guardReactiveProps as a1, resolveComponent as ze, withKeys as hd, onErrorCaptured as yC, createApp as EC, provide as ar, isVNode as l1, warn as _C, resolveDynamicComponent as as, shallowReactive as wC, cloneVNode as TC, markRaw as bn, watchPostEffect as SC, useSlots as AC, useAttrs as OC } from "vue";
|
|
2
2
|
import * as NC from "vee-validate";
|
|
3
3
|
import { useField as CC, useForm as Ya, useIsFormValid as Ou, useIsFormDirty as Nu, Field as Rr, validate as IC, validateObject as xC, defineRule as za } from "vee-validate";
|
|
4
4
|
import { RouterView as LC, useRoute as pd, useRouter as Cu } from "vue-router";
|
|
@@ -503,7 +503,7 @@ const KC = (t) => ({
|
|
|
503
503
|
switch (h) {
|
|
504
504
|
case "bestFit": {
|
|
505
505
|
var T;
|
|
506
|
-
const M = (T = S.map((Y) => [Y.placement, Y.overflows.filter((Z) => Z > 0).reduce((Z,
|
|
506
|
+
const M = (T = S.map((Y) => [Y.placement, Y.overflows.filter((Z) => Z > 0).reduce((Z, pe) => Z + pe, 0)]).sort((Y, Z) => Y[1] - Z[1])[0]) == null ? void 0 : T[0];
|
|
507
507
|
M && (P = M);
|
|
508
508
|
break;
|
|
509
509
|
}
|
|
@@ -4081,7 +4081,7 @@ const QR = { key: 0 }, bw = /* @__PURE__ */ Fe({
|
|
|
4081
4081
|
r.value = g.reverse();
|
|
4082
4082
|
}
|
|
4083
4083
|
function l(c) {
|
|
4084
|
-
const d =
|
|
4084
|
+
const d = Ke(c);
|
|
4085
4085
|
return d ? Math.floor(d.length * 4.87) + 40 : 0;
|
|
4086
4086
|
}
|
|
4087
4087
|
function u() {
|
|
@@ -4647,12 +4647,12 @@ var yw = { exports: {} };
|
|
|
4647
4647
|
return o(C.prototype.__proto__ || Object.getPrototypeOf(C.prototype), "insertAt", this).call(this, P, M, Y);
|
|
4648
4648
|
if (M.length !== 0) {
|
|
4649
4649
|
var Z = M.split(`
|
|
4650
|
-
`),
|
|
4651
|
-
|
|
4650
|
+
`), pe = Z.shift();
|
|
4651
|
+
pe.length > 0 && (P < this.length() - 1 || this.children.tail == null ? o(C.prototype.__proto__ || Object.getPrototypeOf(C.prototype), "insertAt", this).call(this, Math.min(P, this.length() - 1), pe) : this.children.tail.insertAt(this.children.tail.length(), pe), this.cache = {});
|
|
4652
4652
|
var K = this;
|
|
4653
4653
|
Z.reduce(function(U, R) {
|
|
4654
4654
|
return K = K.split(U, !0), K.insertAt(0, R), R.length;
|
|
4655
|
-
}, P +
|
|
4655
|
+
}, P + pe.length);
|
|
4656
4656
|
}
|
|
4657
4657
|
}
|
|
4658
4658
|
}, {
|
|
@@ -5111,7 +5111,7 @@ var yw = { exports: {} };
|
|
|
5111
5111
|
if (this.options.strict && !this.isEnabled() && U === h.default.sources.USER)
|
|
5112
5112
|
return new u.default();
|
|
5113
5113
|
var W = R == null ? null : this.getSelection(), ne = this.editor.delta, J = K();
|
|
5114
|
-
if (W != null && (R === !0 && (R = W.index), $ == null ? W =
|
|
5114
|
+
if (W != null && (R === !0 && (R = W.index), $ == null ? W = pe(W, J, U) : $ !== 0 && (W = pe(W, R, $, U)), this.setSelection(W, h.default.sources.SILENT)), J.length() > 0) {
|
|
5115
5115
|
var H, te = [h.default.events.TEXT_CHANGE, J, ne, U];
|
|
5116
5116
|
if ((H = this.emitter).emit.apply(H, [h.default.events.EDITOR_CHANGE].concat(te)), U !== h.default.sources.SILENT) {
|
|
5117
5117
|
var de;
|
|
@@ -5124,7 +5124,7 @@ var yw = { exports: {} };
|
|
|
5124
5124
|
var ne = {};
|
|
5125
5125
|
return typeof K.index == "number" && typeof K.length == "number" ? typeof U != "number" ? (W = $, $ = R, R = U, U = K.length, K = K.index) : (U = K.length, K = K.index) : typeof U != "number" && (W = $, $ = R, R = U, U = 0), (typeof R > "u" ? "undefined" : s(R)) === "object" ? (ne = R, W = $) : typeof R == "string" && ($ != null ? ne[R] = $ : W = R), W = W || h.default.sources.API, [K, U, ne, W];
|
|
5126
5126
|
}
|
|
5127
|
-
function
|
|
5127
|
+
function pe(K, U, R, $) {
|
|
5128
5128
|
if (K == null)
|
|
5129
5129
|
return null;
|
|
5130
5130
|
var W = void 0, ne = void 0;
|
|
@@ -5588,8 +5588,8 @@ var yw = { exports: {} };
|
|
|
5588
5588
|
if (C !== 0 && !(d.default.query(L, d.default.Scope.BLOCK) == null || L === this.statics.blotName && P === this.statics.formats(this.domNode))) {
|
|
5589
5589
|
var M = this.newlineIndex(T);
|
|
5590
5590
|
if (!(M < 0 || M >= T + C)) {
|
|
5591
|
-
var Y = this.newlineIndex(T, !0) + 1, Z = M - Y + 1,
|
|
5592
|
-
|
|
5591
|
+
var Y = this.newlineIndex(T, !0) + 1, Z = M - Y + 1, pe = this.isolate(Y, Z), K = pe.next;
|
|
5592
|
+
pe.format(L, P), K instanceof x && K.formatAt(0, T - Y + C - Z, L, P);
|
|
5593
5593
|
}
|
|
5594
5594
|
}
|
|
5595
5595
|
}
|
|
@@ -5717,7 +5717,7 @@ var yw = { exports: {} };
|
|
|
5717
5717
|
var $ = this, W = !1;
|
|
5718
5718
|
this.scroll.update();
|
|
5719
5719
|
var ne = this.scroll.length();
|
|
5720
|
-
return this.scroll.batchStart(), R =
|
|
5720
|
+
return this.scroll.batchStart(), R = pe(R), R.reduce(function(J, H) {
|
|
5721
5721
|
var te = H.retain || H.delete || H.insert.length || 1, de = H.attributes || {};
|
|
5722
5722
|
if (H.insert != null) {
|
|
5723
5723
|
if (typeof H.insert == "string") {
|
|
@@ -5732,10 +5732,10 @@ var yw = { exports: {} };
|
|
|
5732
5732
|
}
|
|
5733
5733
|
de = d.default.attributes.diff(F, de) || {};
|
|
5734
5734
|
} else if (s(H.insert) === "object") {
|
|
5735
|
-
var
|
|
5736
|
-
if (
|
|
5735
|
+
var he = Object.keys(H.insert)[0];
|
|
5736
|
+
if (he == null)
|
|
5737
5737
|
return J;
|
|
5738
|
-
$.scroll.insertAt(J,
|
|
5738
|
+
$.scroll.insertAt(J, he, H.insert[he]);
|
|
5739
5739
|
}
|
|
5740
5740
|
ne += te;
|
|
5741
5741
|
}
|
|
@@ -5875,7 +5875,7 @@ var yw = { exports: {} };
|
|
|
5875
5875
|
return K[$] == null || (U[$] === K[$] ? R[$] = U[$] : Array.isArray(U[$]) ? U[$].indexOf(K[$]) < 0 && (R[$] = U[$].concat([K[$]])) : R[$] = [U[$], K[$]]), R;
|
|
5876
5876
|
}, {});
|
|
5877
5877
|
}
|
|
5878
|
-
function
|
|
5878
|
+
function pe(K) {
|
|
5879
5879
|
return K.reduce(function(U, R) {
|
|
5880
5880
|
if (R.insert === 1) {
|
|
5881
5881
|
var $ = (0, O.default)(R.attributes);
|
|
@@ -5971,8 +5971,8 @@ var yw = { exports: {} };
|
|
|
5971
5971
|
}
|
|
5972
5972
|
}), this.emitter.on(g.default.events.SCROLL_OPTIMIZE, function(C, L) {
|
|
5973
5973
|
if (L.range) {
|
|
5974
|
-
var P = L.range, M = P.startNode, Y = P.startOffset, Z = P.endNode,
|
|
5975
|
-
T.setNativeRange(M, Y, Z,
|
|
5974
|
+
var P = L.range, M = P.startNode, Y = P.startOffset, Z = P.endNode, pe = P.endOffset;
|
|
5975
|
+
T.setNativeRange(M, Y, Z, pe);
|
|
5976
5976
|
}
|
|
5977
5977
|
}), this.update(g.default.sources.SILENT);
|
|
5978
5978
|
}
|
|
@@ -6038,7 +6038,7 @@ var yw = { exports: {} };
|
|
|
6038
6038
|
var L = void 0, P = this.scroll.leaf(A), M = s(P, 2), Y = M[0], Z = M[1];
|
|
6039
6039
|
if (Y == null)
|
|
6040
6040
|
return null;
|
|
6041
|
-
var
|
|
6041
|
+
var pe = Y.position(Z, !0), K = s(pe, 2);
|
|
6042
6042
|
L = K[0], Z = K[1];
|
|
6043
6043
|
var U = document.createRange();
|
|
6044
6044
|
if (T > 0) {
|
|
@@ -6092,8 +6092,8 @@ var yw = { exports: {} };
|
|
|
6092
6092
|
var T = this, C = [[A.start.node, A.start.offset]];
|
|
6093
6093
|
A.native.collapsed || C.push([A.end.node, A.end.offset]);
|
|
6094
6094
|
var L = C.map(function(Y) {
|
|
6095
|
-
var Z = s(Y, 2),
|
|
6096
|
-
return K === 0 ? R : U instanceof l.default.Container ? R + U.length() : R + U.index(
|
|
6095
|
+
var Z = s(Y, 2), pe = Z[0], K = Z[1], U = l.default.find(pe, !0), R = U.offset(T.scroll);
|
|
6096
|
+
return K === 0 ? R : U instanceof l.default.Container ? R + U.length() : R + U.index(pe, K);
|
|
6097
6097
|
}), P = Math.min(Math.max.apply(Math, p(L)), this.scroll.length() - 1), M = Math.min.apply(Math, [P].concat(p(L)));
|
|
6098
6098
|
return new w(M, P - M);
|
|
6099
6099
|
}
|
|
@@ -6124,7 +6124,7 @@ var yw = { exports: {} };
|
|
|
6124
6124
|
var T = this, C = A.collapsed ? [A.index] : [A.index, A.index + A.length], L = [], P = this.scroll.length();
|
|
6125
6125
|
return C.forEach(function(M, Y) {
|
|
6126
6126
|
M = Math.min(P - 1, M);
|
|
6127
|
-
var Z = void 0,
|
|
6127
|
+
var Z = void 0, pe = T.scroll.leaf(M), K = s(pe, 2), U = K[0], R = K[1], $ = U.position(R, Y !== 0), W = s($, 2);
|
|
6128
6128
|
Z = W[0], R = W[1], L.push(Z, R);
|
|
6129
6129
|
}), L.length < 2 && (L = L.concat(L)), L;
|
|
6130
6130
|
}
|
|
@@ -6137,7 +6137,7 @@ var yw = { exports: {} };
|
|
|
6137
6137
|
if (C != null) {
|
|
6138
6138
|
var L = this.scroll.length() - 1, P = this.scroll.line(Math.min(T.index, L)), M = s(P, 1), Y = M[0], Z = Y;
|
|
6139
6139
|
if (T.length > 0) {
|
|
6140
|
-
var
|
|
6140
|
+
var pe = this.scroll.line(Math.min(T.index + T.length, L)), K = s(pe, 1);
|
|
6141
6141
|
Z = K[0];
|
|
6142
6142
|
}
|
|
6143
6143
|
if (!(Y == null || Z == null)) {
|
|
@@ -6186,8 +6186,8 @@ var yw = { exports: {} };
|
|
|
6186
6186
|
!this.composing && M != null && M.native.collapsed && M.start.node !== this.cursor.textNode && this.cursor.restore();
|
|
6187
6187
|
var Z = [g.default.events.SELECTION_CHANGE, (0, c.default)(this.lastRange), (0, c.default)(T), A];
|
|
6188
6188
|
if ((Y = this.emitter).emit.apply(Y, [g.default.events.EDITOR_CHANGE].concat(Z)), A !== g.default.sources.SILENT) {
|
|
6189
|
-
var
|
|
6190
|
-
(
|
|
6189
|
+
var pe;
|
|
6190
|
+
(pe = this.emitter).emit.apply(pe, Z);
|
|
6191
6191
|
}
|
|
6192
6192
|
}
|
|
6193
6193
|
}
|
|
@@ -6689,8 +6689,8 @@ var yw = { exports: {} };
|
|
|
6689
6689
|
}));
|
|
6690
6690
|
}
|
|
6691
6691
|
if (E)
|
|
6692
|
-
for (var
|
|
6693
|
-
var K =
|
|
6692
|
+
for (var pe = Object.getOwnPropertyNames(S), L = 0; L < pe.length; L++) {
|
|
6693
|
+
var K = pe[L], Z = Object.getOwnPropertyDescriptor(S, K);
|
|
6694
6694
|
Z && Z.enumerable || (A[K] = O(S[K], x - 1), Object.defineProperty(A, K, {
|
|
6695
6695
|
enumerable: !1
|
|
6696
6696
|
}));
|
|
@@ -6740,7 +6740,7 @@ var yw = { exports: {} };
|
|
|
6740
6740
|
function A(T, C) {
|
|
6741
6741
|
var L = [], P = !0, M = !1, Y = void 0;
|
|
6742
6742
|
try {
|
|
6743
|
-
for (var Z = T[Symbol.iterator](),
|
|
6743
|
+
for (var Z = T[Symbol.iterator](), pe; !(P = (pe = Z.next()).done) && (L.push(pe.value), !(C && L.length === C)); P = !0)
|
|
6744
6744
|
;
|
|
6745
6745
|
} catch (K) {
|
|
6746
6746
|
M = !0, Y = K;
|
|
@@ -6827,8 +6827,8 @@ var yw = { exports: {} };
|
|
|
6827
6827
|
}, {
|
|
6828
6828
|
key: "deleteAt",
|
|
6829
6829
|
value: function(L, P) {
|
|
6830
|
-
var M = this.line(L), Y = s(M, 2), Z = Y[0],
|
|
6831
|
-
if (a(T.prototype.__proto__ || Object.getPrototypeOf(T.prototype), "deleteAt", this).call(this, L, P), R != null && Z !== R &&
|
|
6830
|
+
var M = this.line(L), Y = s(M, 2), Z = Y[0], pe = Y[1], K = this.line(L + P), U = s(K, 1), R = U[0];
|
|
6831
|
+
if (a(T.prototype.__proto__ || Object.getPrototypeOf(T.prototype), "deleteAt", this).call(this, L, P), R != null && Z !== R && pe > 0) {
|
|
6832
6832
|
if (Z instanceof f.BlockEmbed || R instanceof f.BlockEmbed) {
|
|
6833
6833
|
this.optimize();
|
|
6834
6834
|
return;
|
|
@@ -6899,9 +6899,9 @@ var yw = { exports: {} };
|
|
|
6899
6899
|
}, {
|
|
6900
6900
|
key: "lines",
|
|
6901
6901
|
value: function() {
|
|
6902
|
-
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, M = function Y(Z,
|
|
6902
|
+
var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, M = function Y(Z, pe, K) {
|
|
6903
6903
|
var U = [], R = K;
|
|
6904
|
-
return Z.children.forEachAt(
|
|
6904
|
+
return Z.children.forEachAt(pe, K, function($, W, ne) {
|
|
6905
6905
|
S($) ? U.push($) : $ instanceof u.default.Container && (U = U.concat(Y($, W, R))), R -= ne;
|
|
6906
6906
|
}), U;
|
|
6907
6907
|
};
|
|
@@ -7033,7 +7033,7 @@ var yw = { exports: {} };
|
|
|
7033
7033
|
if (le.length !== 0) {
|
|
7034
7034
|
var q = ge.quill.getSelection();
|
|
7035
7035
|
if (!(q == null || !ge.quill.hasFocus())) {
|
|
7036
|
-
var F = ge.quill.getLine(q.index), oe = o(F, 2), Oe = oe[0], je = oe[1],
|
|
7036
|
+
var F = ge.quill.getLine(q.index), oe = o(F, 2), Oe = oe[0], je = oe[1], he = ge.quill.getLeaf(q.index), Ee = o(he, 2), fe = Ee[0], Pe = Ee[1], _e = q.length === 0 ? [fe, Pe] : ge.quill.getLeaf(q.index + q.length), qe = o(_e, 2), Je = qe[0], Re = qe[1], ye = fe instanceof E.default.Text ? fe.value().slice(0, Pe) : "", Le = Je instanceof E.default.Text ? Je.value().slice(Re) : "", Xe = {
|
|
7037
7037
|
collapsed: q.length === 0,
|
|
7038
7038
|
empty: q.length === 0 && Oe.length() <= 1,
|
|
7039
7039
|
format: ge.quill.getFormat(q),
|
|
@@ -7201,13 +7201,13 @@ var yw = { exports: {} };
|
|
|
7201
7201
|
this.quill.updateContents(le, w.default.sources.USER);
|
|
7202
7202
|
}
|
|
7203
7203
|
},
|
|
7204
|
-
"embed left":
|
|
7205
|
-
"embed left shift":
|
|
7206
|
-
"embed right":
|
|
7207
|
-
"embed right shift":
|
|
7204
|
+
"embed left": pe(Z.keys.LEFT, !1),
|
|
7205
|
+
"embed left shift": pe(Z.keys.LEFT, !0),
|
|
7206
|
+
"embed right": pe(Z.keys.RIGHT, !1),
|
|
7207
|
+
"embed right shift": pe(Z.keys.RIGHT, !0)
|
|
7208
7208
|
}
|
|
7209
7209
|
};
|
|
7210
|
-
function
|
|
7210
|
+
function pe(H, te) {
|
|
7211
7211
|
var de, ge = H === Z.keys.LEFT ? "prefix" : "suffix";
|
|
7212
7212
|
return de = {
|
|
7213
7213
|
key: H,
|
|
@@ -7241,8 +7241,8 @@ var yw = { exports: {} };
|
|
|
7241
7241
|
if (te.offset >= q.length() - 1) {
|
|
7242
7242
|
var F = this.quill.getLine(H.index + 1), oe = o(F, 1), Oe = oe[0];
|
|
7243
7243
|
if (Oe) {
|
|
7244
|
-
var je = q.formats(),
|
|
7245
|
-
ge = m.default.attributes.diff(je,
|
|
7244
|
+
var je = q.formats(), he = this.quill.getFormat(H.index, 1);
|
|
7245
|
+
ge = m.default.attributes.diff(je, he) || {}, Te = Oe.length();
|
|
7246
7246
|
}
|
|
7247
7247
|
}
|
|
7248
7248
|
this.quill.deleteText(H.index, de, w.default.sources.USER), Object.keys(ge).length > 0 && this.quill.formatLine(H.index + Te - 1, de, ge, w.default.sources.USER);
|
|
@@ -7275,7 +7275,7 @@ var yw = { exports: {} };
|
|
|
7275
7275
|
handler: function(de) {
|
|
7276
7276
|
var ge = E.default.query("code-block"), Te = de.index, $e = de.length, le = this.quill.scroll.descendant(ge, Te), q = o(le, 2), F = q[0], oe = q[1];
|
|
7277
7277
|
if (F != null) {
|
|
7278
|
-
var Oe = this.quill.getIndex(F), je = F.newlineIndex(oe, !0) + 1,
|
|
7278
|
+
var Oe = this.quill.getIndex(F), je = F.newlineIndex(oe, !0) + 1, he = F.newlineIndex(Oe + oe + $e), Ee = F.domNode.textContent.slice(je, he).split(`
|
|
7279
7279
|
`);
|
|
7280
7280
|
oe = 0, Ee.forEach(function(fe, Pe) {
|
|
7281
7281
|
H ? (F.insertAt(je + oe, ge.TAB), oe += ge.TAB.length, Pe === 0 ? Te += ge.TAB.length : $e += ge.TAB.length) : fe.startsWith(ge.TAB) && (F.deleteAt(je + oe, ge.TAB.length), oe -= ge.TAB.length, Pe === 0 ? Te -= ge.TAB.length : $e -= ge.TAB.length), oe += fe.length + 1;
|
|
@@ -8533,7 +8533,7 @@ var yw = { exports: {} };
|
|
|
8533
8533
|
throw new TypeError("Super expression must either be null or a function, not " + typeof W);
|
|
8534
8534
|
$.prototype = Object.create(W && W.prototype, { constructor: { value: $, enumerable: !1, writable: !0, configurable: !0 } }), W && (Object.setPrototypeOf ? Object.setPrototypeOf($, W) : $.__proto__ = W);
|
|
8535
8535
|
}
|
|
8536
|
-
var L = [!1, "center", "right", "justify"], P = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], M = [!1, "serif", "monospace"], Y = ["1", "2", "3", !1], Z = ["small", !1, "large", "huge"],
|
|
8536
|
+
var L = [!1, "center", "right", "justify"], P = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], M = [!1, "serif", "monospace"], Y = ["1", "2", "3", !1], Z = ["small", !1, "large", "huge"], pe = function($) {
|
|
8537
8537
|
C(W, $);
|
|
8538
8538
|
function W(ne, J) {
|
|
8539
8539
|
A(this, W);
|
|
@@ -8592,7 +8592,7 @@ var yw = { exports: {} };
|
|
|
8592
8592
|
}
|
|
8593
8593
|
}]), W;
|
|
8594
8594
|
}(b.default);
|
|
8595
|
-
|
|
8595
|
+
pe.DEFAULTS = (0, l.default)(!0, {}, b.default.DEFAULTS, {
|
|
8596
8596
|
modules: {
|
|
8597
8597
|
toolbar: {
|
|
8598
8598
|
handlers: {
|
|
@@ -8688,7 +8688,7 @@ var yw = { exports: {} };
|
|
|
8688
8688
|
J === ne ? H.setAttribute("selected", "selected") : H.setAttribute("value", J), $.appendChild(H);
|
|
8689
8689
|
});
|
|
8690
8690
|
}
|
|
8691
|
-
r.BaseTooltip = K, r.default =
|
|
8691
|
+
r.BaseTooltip = K, r.default = pe;
|
|
8692
8692
|
},
|
|
8693
8693
|
/* 44 */
|
|
8694
8694
|
/***/
|
|
@@ -9124,7 +9124,7 @@ var yw = { exports: {} };
|
|
|
9124
9124
|
for (var N = y.length, O = w.length, S = Math.ceil((N + O) / 2), x = S, A = 2 * S, T = new Array(A), C = new Array(A), L = 0; L < A; L++)
|
|
9125
9125
|
T[L] = -1, C[L] = -1;
|
|
9126
9126
|
T[x + 1] = 0, C[x + 1] = 0;
|
|
9127
|
-
for (var P = N - O, M = P % 2 != 0, Y = 0, Z = 0,
|
|
9127
|
+
for (var P = N - O, M = P % 2 != 0, Y = 0, Z = 0, pe = 0, K = 0, U = 0; U < S; U++) {
|
|
9128
9128
|
for (var R = -U + Y; R <= U - Z; R += 2) {
|
|
9129
9129
|
var $ = x + R, W;
|
|
9130
9130
|
R == -U || R != U && T[$ - 1] < T[$ + 1] ? W = T[$ + 1] : W = T[$ - 1] + 1;
|
|
@@ -9143,7 +9143,7 @@ var yw = { exports: {} };
|
|
|
9143
9143
|
}
|
|
9144
9144
|
}
|
|
9145
9145
|
}
|
|
9146
|
-
for (var te = -U +
|
|
9146
|
+
for (var te = -U + pe; te <= U - K; te += 2) {
|
|
9147
9147
|
var J = x + te, H;
|
|
9148
9148
|
te == -U || te != U && C[J - 1] < C[J + 1] ? H = C[J + 1] : H = C[J - 1] + 1;
|
|
9149
9149
|
for (var de = H - te; H < N && de < O && y.charAt(N - H - 1) == w.charAt(O - de - 1); )
|
|
@@ -9151,7 +9151,7 @@ var yw = { exports: {} };
|
|
|
9151
9151
|
if (C[J] = H, H > N)
|
|
9152
9152
|
K += 2;
|
|
9153
9153
|
else if (de > O)
|
|
9154
|
-
|
|
9154
|
+
pe += 2;
|
|
9155
9155
|
else if (!M) {
|
|
9156
9156
|
var $ = x + P - te;
|
|
9157
9157
|
if ($ >= 0 && $ < A && T[$] != -1) {
|
|
@@ -9186,16 +9186,16 @@ var yw = { exports: {} };
|
|
|
9186
9186
|
var N = y.length > w.length ? y : w, O = y.length > w.length ? w : y;
|
|
9187
9187
|
if (N.length < 4 || O.length * 2 < N.length)
|
|
9188
9188
|
return null;
|
|
9189
|
-
function S(Z,
|
|
9190
|
-
for (var U = Z.substring(K, K + Math.floor(Z.length / 4)), R = -1, $ = "", W, ne, J, H; (R =
|
|
9189
|
+
function S(Z, pe, K) {
|
|
9190
|
+
for (var U = Z.substring(K, K + Math.floor(Z.length / 4)), R = -1, $ = "", W, ne, J, H; (R = pe.indexOf(U, R + 1)) != -1; ) {
|
|
9191
9191
|
var te = d(
|
|
9192
9192
|
Z.substring(K),
|
|
9193
|
-
|
|
9193
|
+
pe.substring(R)
|
|
9194
9194
|
), de = f(
|
|
9195
9195
|
Z.substring(0, K),
|
|
9196
|
-
|
|
9196
|
+
pe.substring(0, R)
|
|
9197
9197
|
);
|
|
9198
|
-
$.length < de + te && ($ =
|
|
9198
|
+
$.length < de + te && ($ = pe.substring(R - de, R) + pe.substring(R, R + te), W = Z.substring(0, K - de), ne = Z.substring(K + te), J = pe.substring(0, R - de), H = pe.substring(R + te));
|
|
9199
9199
|
}
|
|
9200
9200
|
return $.length * 2 >= Z.length ? [
|
|
9201
9201
|
W,
|
|
@@ -9454,24 +9454,24 @@ var yw = { exports: {} };
|
|
|
9454
9454
|
Object.defineProperty(r, "__esModule", {
|
|
9455
9455
|
value: !0
|
|
9456
9456
|
}), r.matchText = r.matchSpacing = r.matchNewline = r.matchBlot = r.matchAttributor = r.default = void 0;
|
|
9457
|
-
var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
9458
|
-
return typeof
|
|
9459
|
-
} : function(
|
|
9460
|
-
return
|
|
9457
|
+
var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(he) {
|
|
9458
|
+
return typeof he;
|
|
9459
|
+
} : function(he) {
|
|
9460
|
+
return he && typeof Symbol == "function" && he.constructor === Symbol && he !== Symbol.prototype ? "symbol" : typeof he;
|
|
9461
9461
|
}, o = /* @__PURE__ */ function() {
|
|
9462
|
-
function
|
|
9463
|
-
var Pe = [], _e = !0, qe = !1,
|
|
9462
|
+
function he(Ee, fe) {
|
|
9463
|
+
var Pe = [], _e = !0, qe = !1, Je = void 0;
|
|
9464
9464
|
try {
|
|
9465
9465
|
for (var Re = Ee[Symbol.iterator](), ye; !(_e = (ye = Re.next()).done) && (Pe.push(ye.value), !(fe && Pe.length === fe)); _e = !0)
|
|
9466
9466
|
;
|
|
9467
9467
|
} catch (Le) {
|
|
9468
|
-
qe = !0,
|
|
9468
|
+
qe = !0, Je = Le;
|
|
9469
9469
|
} finally {
|
|
9470
9470
|
try {
|
|
9471
9471
|
!_e && Re.return && Re.return();
|
|
9472
9472
|
} finally {
|
|
9473
9473
|
if (qe)
|
|
9474
|
-
throw
|
|
9474
|
+
throw Je;
|
|
9475
9475
|
}
|
|
9476
9476
|
}
|
|
9477
9477
|
return Pe;
|
|
@@ -9480,51 +9480,51 @@ var yw = { exports: {} };
|
|
|
9480
9480
|
if (Array.isArray(Ee))
|
|
9481
9481
|
return Ee;
|
|
9482
9482
|
if (Symbol.iterator in Object(Ee))
|
|
9483
|
-
return
|
|
9483
|
+
return he(Ee, fe);
|
|
9484
9484
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
9485
9485
|
};
|
|
9486
9486
|
}(), a = /* @__PURE__ */ function() {
|
|
9487
|
-
function
|
|
9487
|
+
function he(Ee, fe) {
|
|
9488
9488
|
for (var Pe = 0; Pe < fe.length; Pe++) {
|
|
9489
9489
|
var _e = fe[Pe];
|
|
9490
9490
|
_e.enumerable = _e.enumerable || !1, _e.configurable = !0, "value" in _e && (_e.writable = !0), Object.defineProperty(Ee, _e.key, _e);
|
|
9491
9491
|
}
|
|
9492
9492
|
}
|
|
9493
9493
|
return function(Ee, fe, Pe) {
|
|
9494
|
-
return fe &&
|
|
9494
|
+
return fe && he(Ee.prototype, fe), Pe && he(Ee, Pe), Ee;
|
|
9495
9495
|
};
|
|
9496
9496
|
}(), l = i(3), u = C(l), c = i(2), d = C(c), f = i(0), h = C(f), g = i(5), v = C(g), b = i(10), m = C(b), p = i(9), E = C(p), y = i(36), w = i(37), N = i(13), O = C(N), S = i(26), x = i(38), A = i(39), T = i(40);
|
|
9497
|
-
function C(
|
|
9498
|
-
return
|
|
9497
|
+
function C(he) {
|
|
9498
|
+
return he && he.__esModule ? he : { default: he };
|
|
9499
9499
|
}
|
|
9500
|
-
function L(
|
|
9501
|
-
return Ee in
|
|
9500
|
+
function L(he, Ee, fe) {
|
|
9501
|
+
return Ee in he ? Object.defineProperty(he, Ee, { value: fe, enumerable: !0, configurable: !0, writable: !0 }) : he[Ee] = fe, he;
|
|
9502
9502
|
}
|
|
9503
|
-
function P(
|
|
9504
|
-
if (!(
|
|
9503
|
+
function P(he, Ee) {
|
|
9504
|
+
if (!(he instanceof Ee))
|
|
9505
9505
|
throw new TypeError("Cannot call a class as a function");
|
|
9506
9506
|
}
|
|
9507
|
-
function M(
|
|
9508
|
-
if (!
|
|
9507
|
+
function M(he, Ee) {
|
|
9508
|
+
if (!he)
|
|
9509
9509
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9510
|
-
return Ee && (typeof Ee == "object" || typeof Ee == "function") ? Ee :
|
|
9510
|
+
return Ee && (typeof Ee == "object" || typeof Ee == "function") ? Ee : he;
|
|
9511
9511
|
}
|
|
9512
|
-
function Y(
|
|
9512
|
+
function Y(he, Ee) {
|
|
9513
9513
|
if (typeof Ee != "function" && Ee !== null)
|
|
9514
9514
|
throw new TypeError("Super expression must either be null or a function, not " + typeof Ee);
|
|
9515
|
-
|
|
9516
|
-
}
|
|
9517
|
-
var Z = (0, m.default)("quill:clipboard"),
|
|
9518
|
-
return
|
|
9519
|
-
}, {}), R = [y.AlignStyle, w.BackgroundStyle, S.ColorStyle, x.DirectionStyle, A.FontStyle, T.SizeStyle].reduce(function(
|
|
9520
|
-
return
|
|
9521
|
-
}, {}), $ = function(
|
|
9522
|
-
Y(Ee,
|
|
9515
|
+
he.prototype = Object.create(Ee && Ee.prototype, { constructor: { value: he, enumerable: !1, writable: !0, configurable: !0 } }), Ee && (Object.setPrototypeOf ? Object.setPrototypeOf(he, Ee) : he.__proto__ = Ee);
|
|
9516
|
+
}
|
|
9517
|
+
var Z = (0, m.default)("quill:clipboard"), pe = "__ql-matcher", K = [[Node.TEXT_NODE, je], [Node.TEXT_NODE, F], ["br", $e], [Node.ELEMENT_NODE, F], [Node.ELEMENT_NODE, Te], [Node.ELEMENT_NODE, oe], [Node.ELEMENT_NODE, ge], [Node.ELEMENT_NODE, Oe], ["li", q], ["b", de.bind(de, "bold")], ["i", de.bind(de, "italic")], ["style", le]], U = [y.AlignAttribute, x.DirectionAttribute].reduce(function(he, Ee) {
|
|
9518
|
+
return he[Ee.keyName] = Ee, he;
|
|
9519
|
+
}, {}), R = [y.AlignStyle, w.BackgroundStyle, S.ColorStyle, x.DirectionStyle, A.FontStyle, T.SizeStyle].reduce(function(he, Ee) {
|
|
9520
|
+
return he[Ee.keyName] = Ee, he;
|
|
9521
|
+
}, {}), $ = function(he) {
|
|
9522
|
+
Y(Ee, he);
|
|
9523
9523
|
function Ee(fe, Pe) {
|
|
9524
9524
|
P(this, Ee);
|
|
9525
9525
|
var _e = M(this, (Ee.__proto__ || Object.getPrototypeOf(Ee)).call(this, fe, Pe));
|
|
9526
9526
|
return _e.quill.root.addEventListener("paste", _e.onPaste.bind(_e)), _e.container = _e.quill.addContainer("ql-clipboard"), _e.container.setAttribute("contenteditable", !0), _e.container.setAttribute("tabindex", -1), _e.matchers = [], K.concat(_e.options.matchers).forEach(function(qe) {
|
|
9527
|
-
var
|
|
9527
|
+
var Je = o(qe, 2), Re = Je[0], ye = Je[1];
|
|
9528
9528
|
!Pe.matchVisual && ye === oe || _e.addMatcher(Re, ye);
|
|
9529
9529
|
}), _e;
|
|
9530
9530
|
}
|
|
@@ -9543,7 +9543,7 @@ var yw = { exports: {} };
|
|
|
9543
9543
|
var qe = this.container.innerText;
|
|
9544
9544
|
return this.container.innerHTML = "", new d.default().insert(qe, L({}, O.default.blotName, _e[O.default.blotName]));
|
|
9545
9545
|
}
|
|
9546
|
-
var
|
|
9546
|
+
var Je = this.prepareMatching(), Re = o(Je, 2), ye = Re[0], Le = Re[1], Xe = te(this.container, ye, Le);
|
|
9547
9547
|
return J(Xe, `
|
|
9548
9548
|
`) && Xe.ops[Xe.ops.length - 1].attributes == null && (Xe = Xe.compose(new d.default().retain(Xe.length() - 1).delete(1))), Z.log("convert", this.container.innerHTML, Xe), this.container.innerHTML = "", Xe;
|
|
9549
9549
|
}
|
|
@@ -9554,8 +9554,8 @@ var yw = { exports: {} };
|
|
|
9554
9554
|
if (typeof Pe == "string")
|
|
9555
9555
|
this.quill.setContents(this.convert(Pe), _e), this.quill.setSelection(0, v.default.sources.SILENT);
|
|
9556
9556
|
else {
|
|
9557
|
-
var
|
|
9558
|
-
this.quill.updateContents(new d.default().retain(Pe).concat(
|
|
9557
|
+
var Je = this.convert(_e);
|
|
9558
|
+
this.quill.updateContents(new d.default().retain(Pe).concat(Je), qe), this.quill.setSelection(Pe + Je.length(), v.default.sources.SILENT);
|
|
9559
9559
|
}
|
|
9560
9560
|
}
|
|
9561
9561
|
}, {
|
|
@@ -9563,9 +9563,9 @@ var yw = { exports: {} };
|
|
|
9563
9563
|
value: function(Pe) {
|
|
9564
9564
|
var _e = this;
|
|
9565
9565
|
if (!(Pe.defaultPrevented || !this.quill.isEnabled())) {
|
|
9566
|
-
var qe = this.quill.getSelection(),
|
|
9566
|
+
var qe = this.quill.getSelection(), Je = new d.default().retain(qe.index), Re = this.quill.scrollingContainer.scrollTop;
|
|
9567
9567
|
this.container.focus(), this.quill.selection.update(v.default.sources.SILENT), setTimeout(function() {
|
|
9568
|
-
|
|
9568
|
+
Je = Je.concat(_e.convert()).delete(qe.length), _e.quill.updateContents(Je, v.default.sources.USER), _e.quill.setSelection(Je.length() - qe.length, v.default.sources.SILENT), _e.quill.scrollingContainer.scrollTop = Re, _e.quill.focus();
|
|
9569
9569
|
}, 1);
|
|
9570
9570
|
}
|
|
9571
9571
|
}
|
|
@@ -9573,8 +9573,8 @@ var yw = { exports: {} };
|
|
|
9573
9573
|
key: "prepareMatching",
|
|
9574
9574
|
value: function() {
|
|
9575
9575
|
var Pe = this, _e = [], qe = [];
|
|
9576
|
-
return this.matchers.forEach(function(
|
|
9577
|
-
var Re = o(
|
|
9576
|
+
return this.matchers.forEach(function(Je) {
|
|
9577
|
+
var Re = o(Je, 2), ye = Re[0], Le = Re[1];
|
|
9578
9578
|
switch (ye) {
|
|
9579
9579
|
case Node.TEXT_NODE:
|
|
9580
9580
|
qe.push(Le);
|
|
@@ -9584,7 +9584,7 @@ var yw = { exports: {} };
|
|
|
9584
9584
|
break;
|
|
9585
9585
|
default:
|
|
9586
9586
|
[].forEach.call(Pe.container.querySelectorAll(ye), function(Xe) {
|
|
9587
|
-
Xe[
|
|
9587
|
+
Xe[pe] = Xe[pe] || [], Xe[pe].push(Le);
|
|
9588
9588
|
});
|
|
9589
9589
|
break;
|
|
9590
9590
|
}
|
|
@@ -9596,68 +9596,68 @@ var yw = { exports: {} };
|
|
|
9596
9596
|
matchers: [],
|
|
9597
9597
|
matchVisual: !0
|
|
9598
9598
|
};
|
|
9599
|
-
function W(
|
|
9599
|
+
function W(he, Ee, fe) {
|
|
9600
9600
|
return (typeof Ee > "u" ? "undefined" : s(Ee)) === "object" ? Object.keys(Ee).reduce(function(Pe, _e) {
|
|
9601
9601
|
return W(Pe, _e, Ee[_e]);
|
|
9602
|
-
},
|
|
9602
|
+
}, he) : he.reduce(function(Pe, _e) {
|
|
9603
9603
|
return _e.attributes && _e.attributes[Ee] ? Pe.push(_e) : Pe.insert(_e.insert, (0, u.default)({}, L({}, Ee, fe), _e.attributes));
|
|
9604
9604
|
}, new d.default());
|
|
9605
9605
|
}
|
|
9606
|
-
function ne(
|
|
9607
|
-
if (
|
|
9606
|
+
function ne(he) {
|
|
9607
|
+
if (he.nodeType !== Node.ELEMENT_NODE)
|
|
9608
9608
|
return {};
|
|
9609
9609
|
var Ee = "__ql-computed-style";
|
|
9610
|
-
return
|
|
9610
|
+
return he[Ee] || (he[Ee] = window.getComputedStyle(he));
|
|
9611
9611
|
}
|
|
9612
|
-
function J(
|
|
9613
|
-
for (var fe = "", Pe =
|
|
9614
|
-
var _e =
|
|
9612
|
+
function J(he, Ee) {
|
|
9613
|
+
for (var fe = "", Pe = he.ops.length - 1; Pe >= 0 && fe.length < Ee.length; --Pe) {
|
|
9614
|
+
var _e = he.ops[Pe];
|
|
9615
9615
|
if (typeof _e.insert != "string")
|
|
9616
9616
|
break;
|
|
9617
9617
|
fe = _e.insert + fe;
|
|
9618
9618
|
}
|
|
9619
9619
|
return fe.slice(-1 * Ee.length) === Ee;
|
|
9620
9620
|
}
|
|
9621
|
-
function H(
|
|
9622
|
-
if (
|
|
9621
|
+
function H(he) {
|
|
9622
|
+
if (he.childNodes.length === 0)
|
|
9623
9623
|
return !1;
|
|
9624
|
-
var Ee = ne(
|
|
9624
|
+
var Ee = ne(he);
|
|
9625
9625
|
return ["block", "list-item"].indexOf(Ee.display) > -1;
|
|
9626
9626
|
}
|
|
9627
|
-
function te(
|
|
9628
|
-
return
|
|
9629
|
-
return _e(
|
|
9630
|
-
}, new d.default()) :
|
|
9627
|
+
function te(he, Ee, fe) {
|
|
9628
|
+
return he.nodeType === he.TEXT_NODE ? fe.reduce(function(Pe, _e) {
|
|
9629
|
+
return _e(he, Pe);
|
|
9630
|
+
}, new d.default()) : he.nodeType === he.ELEMENT_NODE ? [].reduce.call(he.childNodes || [], function(Pe, _e) {
|
|
9631
9631
|
var qe = te(_e, Ee, fe);
|
|
9632
|
-
return _e.nodeType ===
|
|
9633
|
-
return Re(_e,
|
|
9634
|
-
}, qe), qe = (_e[
|
|
9635
|
-
return Re(_e,
|
|
9632
|
+
return _e.nodeType === he.ELEMENT_NODE && (qe = Ee.reduce(function(Je, Re) {
|
|
9633
|
+
return Re(_e, Je);
|
|
9634
|
+
}, qe), qe = (_e[pe] || []).reduce(function(Je, Re) {
|
|
9635
|
+
return Re(_e, Je);
|
|
9636
9636
|
}, qe)), Pe.concat(qe);
|
|
9637
9637
|
}, new d.default()) : new d.default();
|
|
9638
9638
|
}
|
|
9639
|
-
function de(
|
|
9640
|
-
return W(fe,
|
|
9639
|
+
function de(he, Ee, fe) {
|
|
9640
|
+
return W(fe, he, !0);
|
|
9641
9641
|
}
|
|
9642
|
-
function ge(
|
|
9643
|
-
var fe = h.default.Attributor.Attribute.keys(
|
|
9644
|
-
return fe.concat(Pe).concat(_e).forEach(function(
|
|
9645
|
-
var Re = h.default.query(
|
|
9646
|
-
Re != null && (qe[Re.attrName] = Re.value(
|
|
9642
|
+
function ge(he, Ee) {
|
|
9643
|
+
var fe = h.default.Attributor.Attribute.keys(he), Pe = h.default.Attributor.Class.keys(he), _e = h.default.Attributor.Style.keys(he), qe = {};
|
|
9644
|
+
return fe.concat(Pe).concat(_e).forEach(function(Je) {
|
|
9645
|
+
var Re = h.default.query(Je, h.default.Scope.ATTRIBUTE);
|
|
9646
|
+
Re != null && (qe[Re.attrName] = Re.value(he), qe[Re.attrName]) || (Re = U[Je], Re != null && (Re.attrName === Je || Re.keyName === Je) && (qe[Re.attrName] = Re.value(he) || void 0), Re = R[Je], Re != null && (Re.attrName === Je || Re.keyName === Je) && (Re = R[Je], qe[Re.attrName] = Re.value(he) || void 0));
|
|
9647
9647
|
}), Object.keys(qe).length > 0 && (Ee = W(Ee, qe)), Ee;
|
|
9648
9648
|
}
|
|
9649
|
-
function Te(
|
|
9650
|
-
var fe = h.default.query(
|
|
9649
|
+
function Te(he, Ee) {
|
|
9650
|
+
var fe = h.default.query(he);
|
|
9651
9651
|
if (fe == null)
|
|
9652
9652
|
return Ee;
|
|
9653
9653
|
if (fe.prototype instanceof h.default.Embed) {
|
|
9654
|
-
var Pe = {}, _e = fe.value(
|
|
9655
|
-
_e != null && (Pe[fe.blotName] = _e, Ee = new d.default().insert(Pe, fe.formats(
|
|
9654
|
+
var Pe = {}, _e = fe.value(he);
|
|
9655
|
+
_e != null && (Pe[fe.blotName] = _e, Ee = new d.default().insert(Pe, fe.formats(he)));
|
|
9656
9656
|
} else
|
|
9657
|
-
typeof fe.formats == "function" && (Ee = W(Ee, fe.blotName, fe.formats(
|
|
9657
|
+
typeof fe.formats == "function" && (Ee = W(Ee, fe.blotName, fe.formats(he)));
|
|
9658
9658
|
return Ee;
|
|
9659
9659
|
}
|
|
9660
|
-
function $e(
|
|
9660
|
+
function $e(he, Ee) {
|
|
9661
9661
|
return J(Ee, `
|
|
9662
9662
|
`) || Ee.insert(`
|
|
9663
9663
|
`), Ee;
|
|
@@ -9665,45 +9665,45 @@ var yw = { exports: {} };
|
|
|
9665
9665
|
function le() {
|
|
9666
9666
|
return new d.default();
|
|
9667
9667
|
}
|
|
9668
|
-
function q(
|
|
9669
|
-
var fe = h.default.query(
|
|
9668
|
+
function q(he, Ee) {
|
|
9669
|
+
var fe = h.default.query(he);
|
|
9670
9670
|
if (fe == null || fe.blotName !== "list-item" || !J(Ee, `
|
|
9671
9671
|
`))
|
|
9672
9672
|
return Ee;
|
|
9673
|
-
for (var Pe = -1, _e =
|
|
9673
|
+
for (var Pe = -1, _e = he.parentNode; !_e.classList.contains("ql-clipboard"); )
|
|
9674
9674
|
(h.default.query(_e) || {}).blotName === "list" && (Pe += 1), _e = _e.parentNode;
|
|
9675
9675
|
return Pe <= 0 ? Ee : Ee.compose(new d.default().retain(Ee.length() - 1).retain(1, { indent: Pe }));
|
|
9676
9676
|
}
|
|
9677
|
-
function F(
|
|
9677
|
+
function F(he, Ee) {
|
|
9678
9678
|
return J(Ee, `
|
|
9679
|
-
`) || (H(
|
|
9679
|
+
`) || (H(he) || Ee.length() > 0 && he.nextSibling && H(he.nextSibling)) && Ee.insert(`
|
|
9680
9680
|
`), Ee;
|
|
9681
9681
|
}
|
|
9682
|
-
function oe(
|
|
9683
|
-
if (H(
|
|
9682
|
+
function oe(he, Ee) {
|
|
9683
|
+
if (H(he) && he.nextElementSibling != null && !J(Ee, `
|
|
9684
9684
|
|
|
9685
9685
|
`)) {
|
|
9686
|
-
var fe =
|
|
9687
|
-
|
|
9686
|
+
var fe = he.offsetHeight + parseFloat(ne(he).marginTop) + parseFloat(ne(he).marginBottom);
|
|
9687
|
+
he.nextElementSibling.offsetTop > he.offsetTop + fe * 1.5 && Ee.insert(`
|
|
9688
9688
|
`);
|
|
9689
9689
|
}
|
|
9690
9690
|
return Ee;
|
|
9691
9691
|
}
|
|
9692
|
-
function Oe(
|
|
9693
|
-
var fe = {}, Pe =
|
|
9694
|
-
return Pe.fontStyle && ne(
|
|
9692
|
+
function Oe(he, Ee) {
|
|
9693
|
+
var fe = {}, Pe = he.style || {};
|
|
9694
|
+
return Pe.fontStyle && ne(he).fontStyle === "italic" && (fe.italic = !0), Pe.fontWeight && (ne(he).fontWeight.startsWith("bold") || parseInt(ne(he).fontWeight) >= 700) && (fe.bold = !0), Object.keys(fe).length > 0 && (Ee = W(Ee, fe)), parseFloat(Pe.textIndent || 0) > 0 && (Ee = new d.default().insert(" ").concat(Ee)), Ee;
|
|
9695
9695
|
}
|
|
9696
|
-
function je(
|
|
9697
|
-
var fe =
|
|
9698
|
-
if (
|
|
9696
|
+
function je(he, Ee) {
|
|
9697
|
+
var fe = he.data;
|
|
9698
|
+
if (he.parentNode.tagName === "O:P")
|
|
9699
9699
|
return Ee.insert(fe.trim());
|
|
9700
|
-
if (fe.trim().length === 0 &&
|
|
9700
|
+
if (fe.trim().length === 0 && he.parentNode.classList.contains("ql-clipboard"))
|
|
9701
9701
|
return Ee;
|
|
9702
|
-
if (!ne(
|
|
9703
|
-
var Pe = function(qe,
|
|
9704
|
-
return
|
|
9702
|
+
if (!ne(he.parentNode).whiteSpace.startsWith("pre")) {
|
|
9703
|
+
var Pe = function(qe, Je) {
|
|
9704
|
+
return Je = Je.replace(/[^\u00a0]/g, ""), Je.length < 1 && qe ? " " : Je;
|
|
9705
9705
|
};
|
|
9706
|
-
fe = fe.replace(/\r\n/g, " ").replace(/\n/g, " "), fe = fe.replace(/\s\s+/g, Pe.bind(Pe, !0)), (
|
|
9706
|
+
fe = fe.replace(/\r\n/g, " ").replace(/\n/g, " "), fe = fe.replace(/\s\s+/g, Pe.bind(Pe, !0)), (he.previousSibling == null && H(he.parentNode) || he.previousSibling != null && H(he.previousSibling)) && (fe = fe.replace(/^\s+/, Pe.bind(Pe, !1))), (he.nextSibling == null && H(he.parentNode) || he.nextSibling != null && H(he.nextSibling)) && (fe = fe.replace(/\s+$/, Pe.bind(Pe, !1)));
|
|
9707
9707
|
}
|
|
9708
9708
|
return Ee.insert(fe);
|
|
9709
9709
|
}
|
|
@@ -9789,13 +9789,13 @@ var yw = { exports: {} };
|
|
|
9789
9789
|
function T(C, L) {
|
|
9790
9790
|
var P = [], M = !0, Y = !1, Z = void 0;
|
|
9791
9791
|
try {
|
|
9792
|
-
for (var
|
|
9792
|
+
for (var pe = C[Symbol.iterator](), K; !(M = (K = pe.next()).done) && (P.push(K.value), !(L && P.length === L)); M = !0)
|
|
9793
9793
|
;
|
|
9794
9794
|
} catch (U) {
|
|
9795
9795
|
Y = !0, Z = U;
|
|
9796
9796
|
} finally {
|
|
9797
9797
|
try {
|
|
9798
|
-
!M &&
|
|
9798
|
+
!M && pe.return && pe.return();
|
|
9799
9799
|
} finally {
|
|
9800
9800
|
if (Y)
|
|
9801
9801
|
throw Z;
|
|
@@ -9855,14 +9855,14 @@ var yw = { exports: {} };
|
|
|
9855
9855
|
var Z;
|
|
9856
9856
|
return Z = N.error("Container required for toolbar", M.options), y(M, Z);
|
|
9857
9857
|
}
|
|
9858
|
-
return M.container.classList.add("ql-toolbar"), M.controls = [], M.handlers = {}, Object.keys(M.options.handlers).forEach(function(
|
|
9859
|
-
M.addHandler(
|
|
9860
|
-
}), [].forEach.call(M.container.querySelectorAll("button, select"), function(
|
|
9861
|
-
M.attach(
|
|
9862
|
-
}), M.quill.on(f.default.events.EDITOR_CHANGE, function(
|
|
9863
|
-
|
|
9858
|
+
return M.container.classList.add("ql-toolbar"), M.controls = [], M.handlers = {}, Object.keys(M.options.handlers).forEach(function(pe) {
|
|
9859
|
+
M.addHandler(pe, M.options.handlers[pe]);
|
|
9860
|
+
}), [].forEach.call(M.container.querySelectorAll("button, select"), function(pe) {
|
|
9861
|
+
M.attach(pe);
|
|
9862
|
+
}), M.quill.on(f.default.events.EDITOR_CHANGE, function(pe, K) {
|
|
9863
|
+
pe === f.default.events.SELECTION_CHANGE && M.update(K);
|
|
9864
9864
|
}), M.quill.on(f.default.events.SCROLL_OPTIMIZE, function() {
|
|
9865
|
-
var
|
|
9865
|
+
var pe = M.quill.selection.getRange(), K = s(pe, 1), U = K[0];
|
|
9866
9866
|
M.update(U);
|
|
9867
9867
|
}), M;
|
|
9868
9868
|
}
|
|
@@ -9874,8 +9874,8 @@ var yw = { exports: {} };
|
|
|
9874
9874
|
}, {
|
|
9875
9875
|
key: "attach",
|
|
9876
9876
|
value: function(P) {
|
|
9877
|
-
var M = this, Y = [].find.call(P.classList, function(
|
|
9878
|
-
return
|
|
9877
|
+
var M = this, Y = [].find.call(P.classList, function(pe) {
|
|
9878
|
+
return pe.indexOf("ql-") === 0;
|
|
9879
9879
|
});
|
|
9880
9880
|
if (Y) {
|
|
9881
9881
|
if (Y = Y.slice(3), P.tagName === "BUTTON" && P.setAttribute("type", "button"), this.handlers[Y] == null) {
|
|
@@ -9889,7 +9889,7 @@ var yw = { exports: {} };
|
|
|
9889
9889
|
}
|
|
9890
9890
|
}
|
|
9891
9891
|
var Z = P.tagName === "SELECT" ? "change" : "click";
|
|
9892
|
-
P.addEventListener(Z, function(
|
|
9892
|
+
P.addEventListener(Z, function(pe) {
|
|
9893
9893
|
var K = void 0;
|
|
9894
9894
|
if (P.tagName === "SELECT") {
|
|
9895
9895
|
if (P.selectedIndex < 0)
|
|
@@ -9897,7 +9897,7 @@ var yw = { exports: {} };
|
|
|
9897
9897
|
var U = P.options[P.selectedIndex];
|
|
9898
9898
|
U.hasAttribute("selected") ? K = !1 : K = U.value || !1;
|
|
9899
9899
|
} else
|
|
9900
|
-
P.classList.contains("ql-active") ? K = !1 : K = P.value || !P.hasAttribute("value"),
|
|
9900
|
+
P.classList.contains("ql-active") ? K = !1 : K = P.value || !P.hasAttribute("value"), pe.preventDefault();
|
|
9901
9901
|
M.quill.focus();
|
|
9902
9902
|
var R = M.quill.selection.getRange(), $ = s(R, 1), W = $[0];
|
|
9903
9903
|
if (M.handlers[Y] != null)
|
|
@@ -9917,25 +9917,25 @@ var yw = { exports: {} };
|
|
|
9917
9917
|
value: function(P) {
|
|
9918
9918
|
var M = P == null ? {} : this.quill.getFormat(P);
|
|
9919
9919
|
this.controls.forEach(function(Y) {
|
|
9920
|
-
var Z = s(Y, 2),
|
|
9920
|
+
var Z = s(Y, 2), pe = Z[0], K = Z[1];
|
|
9921
9921
|
if (K.tagName === "SELECT") {
|
|
9922
9922
|
var U = void 0;
|
|
9923
9923
|
if (P == null)
|
|
9924
9924
|
U = null;
|
|
9925
|
-
else if (M[
|
|
9925
|
+
else if (M[pe] == null)
|
|
9926
9926
|
U = K.querySelector("option[selected]");
|
|
9927
|
-
else if (!Array.isArray(M[
|
|
9928
|
-
var R = M[
|
|
9927
|
+
else if (!Array.isArray(M[pe])) {
|
|
9928
|
+
var R = M[pe];
|
|
9929
9929
|
typeof R == "string" && (R = R.replace(/\"/g, '\\"')), U = K.querySelector('option[value="' + R + '"]');
|
|
9930
9930
|
}
|
|
9931
9931
|
U == null ? (K.value = "", K.selectedIndex = -1) : U.selected = !0;
|
|
9932
9932
|
} else if (P == null)
|
|
9933
9933
|
K.classList.remove("ql-active");
|
|
9934
9934
|
else if (K.hasAttribute("value")) {
|
|
9935
|
-
var $ = M[
|
|
9935
|
+
var $ = M[pe] === K.getAttribute("value") || M[pe] != null && M[pe].toString() === K.getAttribute("value") || M[pe] == null && !K.getAttribute("value");
|
|
9936
9936
|
K.classList.toggle("ql-active", $);
|
|
9937
9937
|
} else
|
|
9938
|
-
K.classList.toggle("ql-active", M[
|
|
9938
|
+
K.classList.toggle("ql-active", M[pe] != null);
|
|
9939
9939
|
});
|
|
9940
9940
|
}
|
|
9941
9941
|
}]), C;
|
|
@@ -10205,7 +10205,7 @@ var yw = { exports: {} };
|
|
|
10205
10205
|
function A(T, C) {
|
|
10206
10206
|
var L = [], P = !0, M = !1, Y = void 0;
|
|
10207
10207
|
try {
|
|
10208
|
-
for (var Z = T[Symbol.iterator](),
|
|
10208
|
+
for (var Z = T[Symbol.iterator](), pe; !(P = (pe = Z.next()).done) && (L.push(pe.value), !(C && L.length === C)); P = !0)
|
|
10209
10209
|
;
|
|
10210
10210
|
} catch (K) {
|
|
10211
10211
|
M = !0, Y = K;
|
|
@@ -10324,7 +10324,7 @@ var yw = { exports: {} };
|
|
|
10324
10324
|
}), this.quill.on(d.default.events.SELECTION_CHANGE, function(P, M, Y) {
|
|
10325
10325
|
if (P != null) {
|
|
10326
10326
|
if (P.length === 0 && Y === d.default.sources.USER) {
|
|
10327
|
-
var Z = L.quill.scroll.descendant(v.default, P.index),
|
|
10327
|
+
var Z = L.quill.scroll.descendant(v.default, P.index), pe = s(Z, 2), K = pe[0], U = pe[1];
|
|
10328
10328
|
if (K != null) {
|
|
10329
10329
|
L.linkRange = new b.Range(P.index - U, K.length());
|
|
10330
10330
|
var R = v.default.formats(K.domNode);
|
|
@@ -10352,7 +10352,7 @@ var yw = { exports: {} };
|
|
|
10352
10352
|
Object.defineProperty(r, "__esModule", {
|
|
10353
10353
|
value: !0
|
|
10354
10354
|
});
|
|
10355
|
-
var s = i(29), o = _e(s), a = i(36), l = i(38), u = i(64), c = i(65), d = _e(c), f = i(66), h = _e(f), g = i(67), v = _e(g), b = i(37), m = i(26), p = i(39), E = i(40), y = i(56), w = _e(y), N = i(68), O = _e(N), S = i(27), x = _e(S), A = i(69), T = _e(A), C = i(70), L = _e(C), P = i(71), M = _e(P), Y = i(72), Z = _e(Y),
|
|
10355
|
+
var s = i(29), o = _e(s), a = i(36), l = i(38), u = i(64), c = i(65), d = _e(c), f = i(66), h = _e(f), g = i(67), v = _e(g), b = i(37), m = i(26), p = i(39), E = i(40), y = i(56), w = _e(y), N = i(68), O = _e(N), S = i(27), x = _e(S), A = i(69), T = _e(A), C = i(70), L = _e(C), P = i(71), M = _e(P), Y = i(72), Z = _e(Y), pe = i(73), K = _e(pe), U = i(13), R = _e(U), $ = i(74), W = _e($), ne = i(75), J = _e(ne), H = i(57), te = _e(H), de = i(41), ge = _e(de), Te = i(28), $e = _e(Te), le = i(59), q = _e(le), F = i(60), oe = _e(F), Oe = i(61), je = _e(Oe), he = i(108), Ee = _e(he), fe = i(62), Pe = _e(fe);
|
|
10356
10356
|
function _e(qe) {
|
|
10357
10357
|
return qe && qe.__esModule ? qe : { default: qe };
|
|
10358
10358
|
}
|
|
@@ -11483,7 +11483,7 @@ var yw = { exports: {} };
|
|
|
11483
11483
|
if (Y.length === 1)
|
|
11484
11484
|
T.position(T.quill.getBounds(L));
|
|
11485
11485
|
else {
|
|
11486
|
-
var Z = Y[Y.length - 1],
|
|
11486
|
+
var Z = Y[Y.length - 1], pe = T.quill.getIndex(Z), K = Math.min(Z.length() - 1, L.index + L.length - pe), U = T.quill.getBounds(new h.Range(pe, K));
|
|
11487
11487
|
T.position(U);
|
|
11488
11488
|
}
|
|
11489
11489
|
} else
|
|
@@ -11795,7 +11795,7 @@ Fd.EQUAL = gr;
|
|
|
11795
11795
|
var s3 = Fd, Of = { exports: {} };
|
|
11796
11796
|
Of.exports;
|
|
11797
11797
|
(function(t, e) {
|
|
11798
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", u = "[object Error]", c = "[object Function]", d = "[object GeneratorFunction]", f = "[object Map]", h = "[object Number]", g = "[object Object]", v = "[object Promise]", b = "[object RegExp]", m = "[object Set]", p = "[object String]", E = "[object Symbol]", y = "[object WeakMap]", w = "[object ArrayBuffer]", N = "[object DataView]", O = "[object Float32Array]", S = "[object Float64Array]", x = "[object Int8Array]", A = "[object Int16Array]", T = "[object Int32Array]", C = "[object Uint8Array]", L = "[object Uint8ClampedArray]", P = "[object Uint16Array]", M = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/,
|
|
11798
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", u = "[object Error]", c = "[object Function]", d = "[object GeneratorFunction]", f = "[object Map]", h = "[object Number]", g = "[object Object]", v = "[object Promise]", b = "[object RegExp]", m = "[object Set]", p = "[object String]", E = "[object Symbol]", y = "[object WeakMap]", w = "[object ArrayBuffer]", N = "[object DataView]", O = "[object Float32Array]", S = "[object Float64Array]", x = "[object Int8Array]", A = "[object Int16Array]", T = "[object Int32Array]", C = "[object Uint8Array]", L = "[object Uint8ClampedArray]", P = "[object Uint16Array]", M = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, pe = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, U = {};
|
|
11799
11799
|
U[s] = U[o] = U[w] = U[N] = U[a] = U[l] = U[O] = U[S] = U[x] = U[A] = U[T] = U[f] = U[h] = U[g] = U[b] = U[m] = U[p] = U[E] = U[C] = U[L] = U[P] = U[M] = !0, U[u] = U[c] = U[y] = !1;
|
|
11800
11800
|
var R = typeof vn == "object" && vn && vn.Object === Object && vn, $ = typeof self == "object" && self && self.Object === Object && self, W = R || $ || Function("return this")(), ne = e && !e.nodeType && e, J = ne && !0 && t && !t.nodeType && t, H = J && J.exports === ne;
|
|
11801
11801
|
function te(I, B) {
|
|
@@ -11854,12 +11854,12 @@ Of.exports;
|
|
|
11854
11854
|
ie[++B] = Se;
|
|
11855
11855
|
}), ie;
|
|
11856
11856
|
}
|
|
11857
|
-
var
|
|
11857
|
+
var he = Array.prototype, Ee = Function.prototype, fe = Object.prototype, Pe = W["__core-js_shared__"], _e = function() {
|
|
11858
11858
|
var I = /[^.]+$/.exec(Pe && Pe.keys && Pe.keys.IE_PROTO || "");
|
|
11859
11859
|
return I ? "Symbol(src)_1." + I : "";
|
|
11860
|
-
}(), qe = Ee.toString,
|
|
11861
|
-
"^" + qe.call(
|
|
11862
|
-
), Le = H ? W.Buffer : void 0, Xe = W.Symbol, Nt = W.Uint8Array, dt = Oe(Object.getPrototypeOf, Object), Kt = Object.create, on = fe.propertyIsEnumerable, En =
|
|
11860
|
+
}(), qe = Ee.toString, Je = fe.hasOwnProperty, Re = fe.toString, ye = RegExp(
|
|
11861
|
+
"^" + qe.call(Je).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
11862
|
+
), Le = H ? W.Buffer : void 0, Xe = W.Symbol, Nt = W.Uint8Array, dt = Oe(Object.getPrototypeOf, Object), Kt = Object.create, on = fe.propertyIsEnumerable, En = he.splice, Zn = Object.getOwnPropertySymbols, er = Le ? Le.isBuffer : void 0, Ji = Oe(Object.keys, Object), ur = ui(W, "DataView"), oi = ui(W, "Map"), tr = ui(W, "Promise"), Gt = ui(W, "Set"), cr = ui(W, "WeakMap"), Gr = ui(Object, "create"), ai = nr(ur), Or = nr(oi), re = nr(tr), Ie = nr(Gt), it = nr(cr), Ce = Xe ? Xe.prototype : void 0, Et = Ce ? Ce.valueOf : void 0;
|
|
11863
11863
|
function st(I) {
|
|
11864
11864
|
var B = -1, ie = I ? I.length : 0;
|
|
11865
11865
|
for (this.clear(); ++B < ie; ) {
|
|
@@ -11879,11 +11879,11 @@ Of.exports;
|
|
|
11879
11879
|
var ie = B[I];
|
|
11880
11880
|
return ie === r ? void 0 : ie;
|
|
11881
11881
|
}
|
|
11882
|
-
return
|
|
11882
|
+
return Je.call(B, I) ? B[I] : void 0;
|
|
11883
11883
|
}
|
|
11884
11884
|
function eo(I) {
|
|
11885
11885
|
var B = this.__data__;
|
|
11886
|
-
return Gr ? B[I] !== void 0 :
|
|
11886
|
+
return Gr ? B[I] !== void 0 : Je.call(B, I);
|
|
11887
11887
|
}
|
|
11888
11888
|
function to(I, B) {
|
|
11889
11889
|
var ie = this.__data__;
|
|
@@ -11975,12 +11975,12 @@ Of.exports;
|
|
|
11975
11975
|
function Xi(I, B) {
|
|
11976
11976
|
var ie = vl(I) || sa(I) ? le(I.length, String) : [], Se = ie.length, mt = !!Se;
|
|
11977
11977
|
for (var lt in I)
|
|
11978
|
-
(B ||
|
|
11978
|
+
(B || Je.call(I, lt)) && !(mt && (lt == "length" || Uh(lt, Se))) && ie.push(lt);
|
|
11979
11979
|
return ie;
|
|
11980
11980
|
}
|
|
11981
11981
|
function no(I, B, ie) {
|
|
11982
11982
|
var Se = I[B];
|
|
11983
|
-
(!(
|
|
11983
|
+
(!(Je.call(I, B) && mc(Se, ie)) || ie === void 0 && !(B in I)) && (I[B] = ie);
|
|
11984
11984
|
}
|
|
11985
11985
|
function ra(I, B) {
|
|
11986
11986
|
for (var ie = I.length; ie--; )
|
|
@@ -12039,7 +12039,7 @@ Of.exports;
|
|
|
12039
12039
|
function xh(I) {
|
|
12040
12040
|
if (!Ii(I) || Hh(I))
|
|
12041
12041
|
return !1;
|
|
12042
|
-
var B = gl(I) || F(I) ? ye :
|
|
12042
|
+
var B = gl(I) || F(I) ? ye : pe;
|
|
12043
12043
|
return B.test(nr(I));
|
|
12044
12044
|
}
|
|
12045
12045
|
function Lh(I) {
|
|
@@ -12047,7 +12047,7 @@ Of.exports;
|
|
|
12047
12047
|
return Ji(I);
|
|
12048
12048
|
var B = [];
|
|
12049
12049
|
for (var ie in Object(I))
|
|
12050
|
-
|
|
12050
|
+
Je.call(I, ie) && ie != "constructor" && B.push(ie);
|
|
12051
12051
|
return B;
|
|
12052
12052
|
}
|
|
12053
12053
|
function ia(I, B) {
|
|
@@ -12131,7 +12131,7 @@ Of.exports;
|
|
|
12131
12131
|
});
|
|
12132
12132
|
function $h(I) {
|
|
12133
12133
|
var B = I.length, ie = I.constructor(B);
|
|
12134
|
-
return B && typeof I[0] == "string" &&
|
|
12134
|
+
return B && typeof I[0] == "string" && Je.call(I, "index") && (ie.index = I.index, ie.input = I.input), ie;
|
|
12135
12135
|
}
|
|
12136
12136
|
function Ci(I) {
|
|
12137
12137
|
return typeof I.constructor == "function" && !hc(I) ? Nh(dt(I)) : {};
|
|
@@ -12203,7 +12203,7 @@ Of.exports;
|
|
|
12203
12203
|
return I === B || I !== I && B !== B;
|
|
12204
12204
|
}
|
|
12205
12205
|
function sa(I) {
|
|
12206
|
-
return Vh(I) &&
|
|
12206
|
+
return Vh(I) && Je.call(I, "callee") && (!on.call(I, "callee") || Re.call(I) == s);
|
|
12207
12207
|
}
|
|
12208
12208
|
var vl = Array.isArray;
|
|
12209
12209
|
function oa(I) {
|
|
@@ -12241,8 +12241,8 @@ Of.exports;
|
|
|
12241
12241
|
var Aw = Of.exports, Nf = { exports: {} };
|
|
12242
12242
|
Nf.exports;
|
|
12243
12243
|
(function(t, e) {
|
|
12244
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 1, s = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", h = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", b = "[object Number]", m = "[object Null]", p = "[object Object]", E = "[object Promise]", y = "[object Proxy]", w = "[object RegExp]", N = "[object Set]", O = "[object String]", S = "[object Symbol]", x = "[object Undefined]", A = "[object WeakMap]", T = "[object ArrayBuffer]", C = "[object DataView]", L = "[object Float32Array]", P = "[object Float64Array]", M = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]",
|
|
12245
|
-
J[L] = J[P] = J[M] = J[Y] = J[Z] = J[
|
|
12244
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 1, s = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", h = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", b = "[object Number]", m = "[object Null]", p = "[object Object]", E = "[object Promise]", y = "[object Proxy]", w = "[object RegExp]", N = "[object Set]", O = "[object String]", S = "[object Symbol]", x = "[object Undefined]", A = "[object WeakMap]", T = "[object ArrayBuffer]", C = "[object DataView]", L = "[object Float32Array]", P = "[object Float64Array]", M = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]", pe = "[object Uint8Array]", K = "[object Uint8ClampedArray]", U = "[object Uint16Array]", R = "[object Uint32Array]", $ = /[\\^$.*+?()[\]{}|]/g, W = /^\[object .+?Constructor\]$/, ne = /^(?:0|[1-9]\d*)$/, J = {};
|
|
12245
|
+
J[L] = J[P] = J[M] = J[Y] = J[Z] = J[pe] = J[K] = J[U] = J[R] = !0, J[a] = J[l] = J[T] = J[c] = J[C] = J[d] = J[f] = J[h] = J[v] = J[b] = J[p] = J[w] = J[N] = J[O] = J[A] = !1;
|
|
12246
12246
|
var H = typeof vn == "object" && vn && vn.Object === Object && vn, te = typeof self == "object" && self && self.Object === Object && self, de = H || te || Function("return this")(), ge = e && !e.nodeType && e, Te = ge && !0 && t && !t.nodeType && t, $e = Te && Te.exports === ge, le = $e && H.process, q = function() {
|
|
12247
12247
|
try {
|
|
12248
12248
|
return le && le.binding && le.binding("util");
|
|
@@ -12267,7 +12267,7 @@ Nf.exports;
|
|
|
12267
12267
|
return !0;
|
|
12268
12268
|
return !1;
|
|
12269
12269
|
}
|
|
12270
|
-
function
|
|
12270
|
+
function he(I, B) {
|
|
12271
12271
|
for (var ie = -1, Se = Array(I); ++ie < I; )
|
|
12272
12272
|
Se[ie] = B(ie);
|
|
12273
12273
|
return Se;
|
|
@@ -12294,7 +12294,7 @@ Nf.exports;
|
|
|
12294
12294
|
return I(B(ie));
|
|
12295
12295
|
};
|
|
12296
12296
|
}
|
|
12297
|
-
function
|
|
12297
|
+
function Je(I) {
|
|
12298
12298
|
var B = -1, ie = Array(I.size);
|
|
12299
12299
|
return I.forEach(function(Se) {
|
|
12300
12300
|
ie[++B] = Se;
|
|
@@ -12436,7 +12436,7 @@ Nf.exports;
|
|
|
12436
12436
|
}
|
|
12437
12437
|
Ni.prototype.clear = hl, Ni.prototype.delete = Nh, Ni.prototype.get = Ch, Ni.prototype.has = Ih, Ni.prototype.set = xh;
|
|
12438
12438
|
function Lh(I, B) {
|
|
12439
|
-
var ie = sa(I), Se = !ie && mc(I), mt = !ie && !Se && oa(I), lt = !ie && !Se && !mt && bc(I), Ot = ie || Se || mt || lt, Pt = Ot ?
|
|
12439
|
+
var ie = sa(I), Se = !ie && mc(I), mt = !ie && !Se && oa(I), lt = !ie && !Se && !mt && bc(I), Ot = ie || Se || mt || lt, Pt = Ot ? he(I.length, String) : [], Tn = Pt.length;
|
|
12440
12440
|
for (var Ut in I)
|
|
12441
12441
|
(B || dt.call(I, Ut)) && !(Ot && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
12442
12442
|
(Ut == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -12555,7 +12555,7 @@ Nf.exports;
|
|
|
12555
12555
|
var Pt = _e;
|
|
12556
12556
|
case N:
|
|
12557
12557
|
var Tn = Se & i;
|
|
12558
|
-
if (Pt || (Pt =
|
|
12558
|
+
if (Pt || (Pt = Je), I.size != B.size && !Tn)
|
|
12559
12559
|
return !1;
|
|
12560
12560
|
var Ut = Ot.get(I);
|
|
12561
12561
|
if (Ut)
|
|
@@ -13747,7 +13747,7 @@ function V3(t, e = {}) {
|
|
|
13747
13747
|
function d(q, F, oe, ...Oe) {
|
|
13748
13748
|
const je = u();
|
|
13749
13749
|
if (F.column += oe, F.offset += oe, c) {
|
|
13750
|
-
const
|
|
13750
|
+
const he = n ? cm(je.startLoc, F) : null, Ee = nl(q, he, {
|
|
13751
13751
|
domain: H3,
|
|
13752
13752
|
args: Oe
|
|
13753
13753
|
});
|
|
@@ -13844,8 +13844,8 @@ function V3(t, e = {}) {
|
|
|
13844
13844
|
if (oe !== 10)
|
|
13845
13845
|
return !1;
|
|
13846
13846
|
const Oe = () => {
|
|
13847
|
-
const
|
|
13848
|
-
return
|
|
13847
|
+
const he = q.currentPeek();
|
|
13848
|
+
return he === "{" ? m(q.peek()) : he === "@" || he === "%" || he === "|" || he === ":" || he === "." || he === ts || !he ? !1 : he === rr ? (q.peek(), Oe()) : m(he);
|
|
13849
13849
|
}, je = Oe();
|
|
13850
13850
|
return q.resetPeek(), je;
|
|
13851
13851
|
}
|
|
@@ -13862,9 +13862,9 @@ function V3(t, e = {}) {
|
|
|
13862
13862
|
};
|
|
13863
13863
|
}
|
|
13864
13864
|
function C(q, F = !0) {
|
|
13865
|
-
const oe = (je = !1,
|
|
13865
|
+
const oe = (je = !1, he = "", Ee = !1) => {
|
|
13866
13866
|
const fe = q.currentPeek();
|
|
13867
|
-
return fe === "{" ?
|
|
13867
|
+
return fe === "{" ? he === "%" ? !1 : je : fe === "@" || !fe ? he === "%" ? !0 : je : fe === "%" ? (q.peek(), oe(je, "%", !0)) : fe === "|" ? he === "%" || Ee ? !0 : !(he === ts || he === rr) : fe === ts ? (q.peek(), oe(!0, ts, Ee)) : fe === rr ? (q.peek(), oe(!0, rr, Ee)) : !0;
|
|
13868
13868
|
}, Oe = oe();
|
|
13869
13869
|
return F && q.resetPeek(), Oe;
|
|
13870
13870
|
}
|
|
@@ -13902,7 +13902,7 @@ function V3(t, e = {}) {
|
|
|
13902
13902
|
oe += F;
|
|
13903
13903
|
return oe;
|
|
13904
13904
|
}
|
|
13905
|
-
function
|
|
13905
|
+
function pe(q) {
|
|
13906
13906
|
b(q);
|
|
13907
13907
|
const F = q.currentChar();
|
|
13908
13908
|
return F !== "%" && d(ft.EXPECTED_TOKEN, s(), 0, F), q.next(), "%";
|
|
@@ -13946,7 +13946,7 @@ function V3(t, e = {}) {
|
|
|
13946
13946
|
function $(q) {
|
|
13947
13947
|
b(q), g(q, "'");
|
|
13948
13948
|
let F = "", oe = "";
|
|
13949
|
-
const Oe = (
|
|
13949
|
+
const Oe = (he) => he !== dy && he !== rr;
|
|
13950
13950
|
for (; F = L(q, Oe); )
|
|
13951
13951
|
F === "\\" ? oe += W(q) : oe += F;
|
|
13952
13952
|
const je = q.currentChar();
|
|
@@ -13970,12 +13970,12 @@ function V3(t, e = {}) {
|
|
|
13970
13970
|
g(q, F);
|
|
13971
13971
|
let Oe = "";
|
|
13972
13972
|
for (let je = 0; je < oe; je++) {
|
|
13973
|
-
const
|
|
13974
|
-
if (!
|
|
13973
|
+
const he = Y(q);
|
|
13974
|
+
if (!he) {
|
|
13975
13975
|
d(ft.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${F}${Oe}${q.currentChar()}`);
|
|
13976
13976
|
break;
|
|
13977
13977
|
}
|
|
13978
|
-
Oe +=
|
|
13978
|
+
Oe += he;
|
|
13979
13979
|
}
|
|
13980
13980
|
return `\\${F}${Oe}`;
|
|
13981
13981
|
}
|
|
@@ -14029,18 +14029,18 @@ function V3(t, e = {}) {
|
|
|
14029
14029
|
case "@":
|
|
14030
14030
|
return F.braceNest > 0 && d(ft.UNTERMINATED_CLOSING_BRACE, s(), 0), oe = Te(q, F) || h(F), F.braceNest = 0, oe;
|
|
14031
14031
|
default:
|
|
14032
|
-
let je = !0,
|
|
14032
|
+
let je = !0, he = !0, Ee = !0;
|
|
14033
14033
|
if (A(q))
|
|
14034
14034
|
return F.braceNest > 0 && d(ft.UNTERMINATED_CLOSING_BRACE, s(), 0), oe = f(F, 1, de(q)), F.braceNest = 0, F.inLinked = !1, oe;
|
|
14035
14035
|
if (F.braceNest > 0 && (F.currentType === 5 || F.currentType === 6 || F.currentType === 7))
|
|
14036
14036
|
return d(ft.UNTERMINATED_CLOSING_BRACE, s(), 0), F.braceNest = 0, $e(q, F);
|
|
14037
14037
|
if (je = E(q, F))
|
|
14038
14038
|
return oe = f(F, 5, U(q)), b(q), oe;
|
|
14039
|
-
if (
|
|
14039
|
+
if (he = y(q, F))
|
|
14040
14040
|
return oe = f(F, 6, R(q)), b(q), oe;
|
|
14041
14041
|
if (Ee = w(q, F))
|
|
14042
14042
|
return oe = f(F, 7, $(q)), b(q), oe;
|
|
14043
|
-
if (!je && !
|
|
14043
|
+
if (!je && !he && !Ee)
|
|
14044
14044
|
return oe = f(F, 13, J(q)), d(ft.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, oe.value), b(q), oe;
|
|
14045
14045
|
break;
|
|
14046
14046
|
}
|
|
@@ -14100,9 +14100,9 @@ function V3(t, e = {}) {
|
|
|
14100
14100
|
default:
|
|
14101
14101
|
if (A(q))
|
|
14102
14102
|
return oe = f(F, 1, de(q)), F.braceNest = 0, F.inLinked = !1, oe;
|
|
14103
|
-
const { isModulo: je, hasSpace:
|
|
14103
|
+
const { isModulo: je, hasSpace: he } = T(q);
|
|
14104
14104
|
if (je)
|
|
14105
|
-
return
|
|
14105
|
+
return he ? f(F, 0, K(q)) : f(F, 4, pe(q));
|
|
14106
14106
|
if (C(q))
|
|
14107
14107
|
return f(F, 0, K(q));
|
|
14108
14108
|
break;
|
|
@@ -15863,7 +15863,7 @@ function p0(t = {}, e) {
|
|
|
15863
15863
|
function Z(ye) {
|
|
15864
15864
|
E = ye, S.postTranslation = ye;
|
|
15865
15865
|
}
|
|
15866
|
-
function
|
|
15866
|
+
function pe() {
|
|
15867
15867
|
return m;
|
|
15868
15868
|
}
|
|
15869
15869
|
function K(ye) {
|
|
@@ -16006,7 +16006,7 @@ function p0(t = {}, e) {
|
|
|
16006
16006
|
}
|
|
16007
16007
|
c.value[ye] = Le, S.messages = c.value;
|
|
16008
16008
|
}
|
|
16009
|
-
function
|
|
16009
|
+
function he(ye, Le) {
|
|
16010
16010
|
c.value[ye] = c.value[ye] || {};
|
|
16011
16011
|
const Xe = { [ye]: Le };
|
|
16012
16012
|
for (const Nt in Xe)
|
|
@@ -16028,7 +16028,7 @@ function p0(t = {}, e) {
|
|
|
16028
16028
|
function qe(ye, Le) {
|
|
16029
16029
|
f.value[ye] = Le, S.numberFormats = f.value, xy(S, ye, Le);
|
|
16030
16030
|
}
|
|
16031
|
-
function
|
|
16031
|
+
function Je(ye, Le) {
|
|
16032
16032
|
f.value[ye] = Yn(f.value[ye] || {}, Le), S.numberFormats = f.value, xy(S, ye, Le);
|
|
16033
16033
|
}
|
|
16034
16034
|
Dy++, n && Ei && (Qe(n.locale, (ye) => {
|
|
@@ -16098,14 +16098,14 @@ function p0(t = {}, e) {
|
|
|
16098
16098
|
t: $,
|
|
16099
16099
|
getLocaleMessage: Oe,
|
|
16100
16100
|
setLocaleMessage: je,
|
|
16101
|
-
mergeLocaleMessage:
|
|
16101
|
+
mergeLocaleMessage: he,
|
|
16102
16102
|
getPostTranslationHandler: Y,
|
|
16103
16103
|
setPostTranslationHandler: Z,
|
|
16104
|
-
getMissingHandler:
|
|
16104
|
+
getMissingHandler: pe,
|
|
16105
16105
|
setMissingHandler: K,
|
|
16106
16106
|
[eT]: le
|
|
16107
16107
|
};
|
|
16108
|
-
return Re.datetimeFormats = P, Re.numberFormats = M, Re.rt = W, Re.te = q, Re.tm = oe, Re.d = ne, Re.n = J, Re.getDateTimeFormat = Ee, Re.setDateTimeFormat = fe, Re.mergeDateTimeFormat = Pe, Re.getNumberFormat = _e, Re.setNumberFormat = qe, Re.mergeNumberFormat =
|
|
16108
|
+
return Re.datetimeFormats = P, Re.numberFormats = M, Re.rt = W, Re.te = q, Re.tm = oe, Re.d = ne, Re.n = J, Re.getDateTimeFormat = Ee, Re.setDateTimeFormat = fe, Re.mergeDateTimeFormat = Pe, Re.getNumberFormat = _e, Re.setNumberFormat = qe, Re.mergeNumberFormat = Je, Re[tT] = r, Re[vm] = ge, Re[gm] = $e, Re[bm] = Te, process.env.NODE_ENV !== "production" && (Re[Ro] = (ye) => {
|
|
16109
16109
|
S.__v_emitter = ye;
|
|
16110
16110
|
}, Re[ou] = () => {
|
|
16111
16111
|
S.__v_emitter = void 0;
|
|
@@ -17090,7 +17090,7 @@ function j4(t, e, n, r = {}) {
|
|
|
17090
17090
|
function Z(...F) {
|
|
17091
17091
|
return s.value ? Y(() => Reflect.apply(s.value.t, null, [...F])) : Y(() => "");
|
|
17092
17092
|
}
|
|
17093
|
-
function
|
|
17093
|
+
function pe(...F) {
|
|
17094
17094
|
return s.value ? Reflect.apply(s.value.rt, null, [...F]) : "";
|
|
17095
17095
|
}
|
|
17096
17096
|
function K(...F) {
|
|
@@ -17200,7 +17200,7 @@ function j4(t, e, n, r = {}) {
|
|
|
17200
17200
|
setPostTranslationHandler: L,
|
|
17201
17201
|
getMissingHandler: P,
|
|
17202
17202
|
setMissingHandler: M,
|
|
17203
|
-
rt:
|
|
17203
|
+
rt: pe,
|
|
17204
17204
|
d: K,
|
|
17205
17205
|
n: U,
|
|
17206
17206
|
tm: R,
|
|
@@ -21123,7 +21123,7 @@ const kB = ["innerHTML"], DB = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21123
21123
|
const S = se(() => b.value.length < p.value), x = se(() => Z(n.optionValue, "id")), A = se(() => Z(n.optionLabel, "title")), T = se(() => {
|
|
21124
21124
|
const le = n.mapOptions === !0 && n.multiple !== !0, q = n.modelValue !== void 0 && (n.modelValue !== null || le === !0) ? n.multiple === !0 && Array.isArray(n.modelValue) ? n.modelValue : [n.modelValue] : [];
|
|
21125
21125
|
if (n.mapOptions === !0 && Array.isArray(b.value) === !0) {
|
|
21126
|
-
const F = n.mapOptions === !0 && w !== void 0 ? w : [], oe = q.map((Oe) =>
|
|
21126
|
+
const F = n.mapOptions === !0 && w !== void 0 ? w : [], oe = q.map((Oe) => pe(Oe, F));
|
|
21127
21127
|
return n.modelValue === null && le === !0 ? oe.filter((Oe) => Oe !== null) : oe;
|
|
21128
21128
|
}
|
|
21129
21129
|
return q;
|
|
@@ -21158,7 +21158,7 @@ const kB = ["innerHTML"], DB = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21158
21158
|
const F = le !== void 0 ? le : q;
|
|
21159
21159
|
return typeof F == "function" ? F : (oe) => oe !== null && typeof oe == "object" && F && F in oe ? oe[F] : oe;
|
|
21160
21160
|
}
|
|
21161
|
-
function
|
|
21161
|
+
function pe(le, q) {
|
|
21162
21162
|
const F = (oe) => sr(x.value(oe), le);
|
|
21163
21163
|
return v.value.find(F) || b.value.find(F) || q.find(F) || le;
|
|
21164
21164
|
}
|
|
@@ -21200,8 +21200,8 @@ const kB = ["innerHTML"], DB = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21200
21200
|
return {
|
|
21201
21201
|
name: "sameWidthChangeBorders",
|
|
21202
21202
|
fn: ({ rects: le, placement: q, x: F, y: oe }) => {
|
|
21203
|
-
let Oe, je,
|
|
21204
|
-
q === "top" ? (Oe = "1px solid var(--select-border-color)", je = "1px solid var(--select-background-color)",
|
|
21203
|
+
let Oe, je, he;
|
|
21204
|
+
q === "top" ? (Oe = "1px solid var(--select-border-color)", je = "1px solid var(--select-background-color)", he = "var(--select-border-radius) var(--select-border-radius) 0 0") : (je = "1px solid var(--select-border-color)", Oe = "1px solid var(--select-background-color)", he = "0 0 var(--select-border-radius) var(--select-border-radius)");
|
|
21205
21205
|
const Ee = `${le.reference.width}px`;
|
|
21206
21206
|
return {
|
|
21207
21207
|
x: F,
|
|
@@ -21209,7 +21209,7 @@ const kB = ["innerHTML"], DB = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
21209
21209
|
data: {
|
|
21210
21210
|
borderTop: Oe,
|
|
21211
21211
|
borderBottom: je,
|
|
21212
|
-
borderRadius:
|
|
21212
|
+
borderRadius: he,
|
|
21213
21213
|
width: Ee
|
|
21214
21214
|
}
|
|
21215
21215
|
};
|
|
@@ -22524,8 +22524,8 @@ function h5() {
|
|
|
22524
22524
|
if (r.slidesPerColumn > 1) {
|
|
22525
22525
|
var P = void 0, M = void 0, Y = void 0;
|
|
22526
22526
|
if (r.slidesPerColumnFill === "row" && r.slidesPerGroup > 1) {
|
|
22527
|
-
var Z = Math.floor(C / (r.slidesPerGroup * r.slidesPerColumn)),
|
|
22528
|
-
Y = Math.floor(
|
|
22527
|
+
var Z = Math.floor(C / (r.slidesPerGroup * r.slidesPerColumn)), pe = C - r.slidesPerColumn * r.slidesPerGroup * Z, K = Z === 0 ? r.slidesPerGroup : Math.min(Math.ceil((d - Z * x * r.slidesPerGroup) / x), r.slidesPerGroup);
|
|
22528
|
+
Y = Math.floor(pe / K), M = pe - Y * K + Z * r.slidesPerGroup, P = M + Y * O / x, L.css({
|
|
22529
22529
|
"-webkit-box-ordinal-group": P,
|
|
22530
22530
|
"-moz-box-ordinal-group": P,
|
|
22531
22531
|
"-ms-flex-order": P,
|
|
@@ -22578,8 +22578,8 @@ function h5() {
|
|
|
22578
22578
|
if (!r.centeredSlides) {
|
|
22579
22579
|
le = [];
|
|
22580
22580
|
for (var je = 0; je < f.length; je += 1) {
|
|
22581
|
-
var
|
|
22582
|
-
r.roundLengths && (
|
|
22581
|
+
var he = f[je];
|
|
22582
|
+
r.roundLengths && (he = Math.floor(he)), f[je] <= t.virtualSize - s && le.push(he);
|
|
22583
22583
|
}
|
|
22584
22584
|
f = le, Math.floor(t.virtualSize - s) - Math.floor(f[f.length - 1]) > 1 && f.push(t.virtualSize - s);
|
|
22585
22585
|
}
|
|
@@ -22604,11 +22604,11 @@ function h5() {
|
|
|
22604
22604
|
if (g.forEach(function(Re) {
|
|
22605
22605
|
qe += Re + (r.spaceBetween ? r.spaceBetween : 0);
|
|
22606
22606
|
}), qe -= r.spaceBetween, qe < s) {
|
|
22607
|
-
var
|
|
22607
|
+
var Je = (s - qe) / 2;
|
|
22608
22608
|
f.forEach(function(Re, ye) {
|
|
22609
|
-
f[ye] = Re -
|
|
22609
|
+
f[ye] = Re - Je;
|
|
22610
22610
|
}), h.forEach(function(Re, ye) {
|
|
22611
|
-
h[ye] = Re +
|
|
22611
|
+
h[ye] = Re + Je;
|
|
22612
22612
|
});
|
|
22613
22613
|
}
|
|
22614
22614
|
}
|
|
@@ -23303,20 +23303,20 @@ function n9(t) {
|
|
|
23303
23303
|
var Y = M < r.slidesPerGroupSkip - 1 ? 1 : r.slidesPerGroup;
|
|
23304
23304
|
typeof a[M + Y] < "u" ? h >= a[M] && h < a[M + Y] && (L = M, P = a[M + Y] - a[M]) : h >= a[M] && (L = M, P = a[a.length - 1] - a[a.length - 2]);
|
|
23305
23305
|
}
|
|
23306
|
-
var Z = (h - a[L]) / P,
|
|
23306
|
+
var Z = (h - a[L]) / P, pe = L < r.slidesPerGroupSkip - 1 ? 1 : r.slidesPerGroup;
|
|
23307
23307
|
if (f > r.longSwipesMs) {
|
|
23308
23308
|
if (!r.longSwipes) {
|
|
23309
23309
|
e.slideTo(e.activeIndex);
|
|
23310
23310
|
return;
|
|
23311
23311
|
}
|
|
23312
|
-
e.swipeDirection === "next" && (Z >= r.longSwipesRatio ? e.slideTo(L +
|
|
23312
|
+
e.swipeDirection === "next" && (Z >= r.longSwipesRatio ? e.slideTo(L + pe) : e.slideTo(L)), e.swipeDirection === "prev" && (Z > 1 - r.longSwipesRatio ? e.slideTo(L + pe) : e.slideTo(L));
|
|
23313
23313
|
} else {
|
|
23314
23314
|
if (!r.shortSwipes) {
|
|
23315
23315
|
e.slideTo(e.activeIndex);
|
|
23316
23316
|
return;
|
|
23317
23317
|
}
|
|
23318
23318
|
var K = e.navigation && (c.target === e.navigation.nextEl || c.target === e.navigation.prevEl);
|
|
23319
|
-
K ? c.target === e.navigation.nextEl ? e.slideTo(L +
|
|
23319
|
+
K ? c.target === e.navigation.nextEl ? e.slideTo(L + pe) : e.slideTo(L) : (e.swipeDirection === "next" && e.slideTo(L + pe), e.swipeDirection === "prev" && e.slideTo(L));
|
|
23320
23320
|
}
|
|
23321
23321
|
}
|
|
23322
23322
|
}
|
|
@@ -25202,7 +25202,7 @@ const G9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, W9 =
|
|
|
25202
25202
|
r("search", S.target.value);
|
|
25203
25203
|
}
|
|
25204
25204
|
return (S, x) => {
|
|
25205
|
-
const A =
|
|
25205
|
+
const A = ze("VcLabel"), T = ze("VcIcon"), C = ze("VcButton"), L = ze("VcContainer"), P = ze("VcHint");
|
|
25206
25206
|
return k(), V("div", {
|
|
25207
25207
|
class: He(["vc-multivalue", [
|
|
25208
25208
|
`vc-multivalue_${S.type}`,
|
|
@@ -25392,7 +25392,7 @@ const G9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, W9 =
|
|
|
25392
25392
|
location.href = e.value;
|
|
25393
25393
|
}
|
|
25394
25394
|
return (r, i) => {
|
|
25395
|
-
const s =
|
|
25395
|
+
const s = ze("VcLink");
|
|
25396
25396
|
return k(), V(Ze, null, [
|
|
25397
25397
|
r.type === "text" ? (k(), V("div", ej, [
|
|
25398
25398
|
Q("div", tj, [
|
|
@@ -25451,7 +25451,7 @@ const G9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, W9 =
|
|
|
25451
25451
|
navigator.clipboard?.writeText(n);
|
|
25452
25452
|
}
|
|
25453
25453
|
return (n, r) => {
|
|
25454
|
-
const i =
|
|
25454
|
+
const i = ze("VcButton");
|
|
25455
25455
|
return k(), V("div", {
|
|
25456
25456
|
class: He([
|
|
25457
25457
|
{
|
|
@@ -31668,7 +31668,7 @@ function rH() {
|
|
|
31668
31668
|
records: []
|
|
31669
31669
|
});
|
|
31670
31670
|
function e(s, o) {
|
|
31671
|
-
return s && o && (
|
|
31671
|
+
return s && o && (Ke(s.id) === Ke(o.id) || Ke(s.title) === Ke(o.title));
|
|
31672
31672
|
}
|
|
31673
31673
|
function n(s) {
|
|
31674
31674
|
const o = t.records.findIndex((a) => a.id === s);
|
|
@@ -31828,7 +31828,7 @@ const oH = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
31828
31828
|
v && (location.href = v);
|
|
31829
31829
|
}
|
|
31830
31830
|
return (v, b) => {
|
|
31831
|
-
const m =
|
|
31831
|
+
const m = ze("VcIcon"), p = ze("VcLabel"), E = ze("VcHint"), y = ze("VcCol"), w = ze("VcLink"), N = ze("VcButton"), O = ze("VcRow");
|
|
31832
31832
|
return k(), Ne(D(AO), {
|
|
31833
31833
|
title: v.options?.asset?.name,
|
|
31834
31834
|
subtitle: D(o)("ASSETS.PAGES.DETAILS.SUBTITLE"),
|
|
@@ -35273,10 +35273,10 @@ function Qs() {
|
|
|
35273
35273
|
if (!(l1(M) || Kf.value))
|
|
35274
35274
|
throw new Error("No workspace found");
|
|
35275
35275
|
const Y = h(M), Z = Y >= 0 ? s.blades.value[Y + 1] : void 0;
|
|
35276
|
-
let
|
|
35277
|
-
Z && (
|
|
35276
|
+
let pe = !1;
|
|
35277
|
+
Z && (pe = await o(Z.props?.navigation?.idx));
|
|
35278
35278
|
const K = M.props?.navigation?.idx ?? 0, U = g({ blade: x, currentBladeIdx: K, options: T, param: A, onClose: L, onOpen: C });
|
|
35279
|
-
|
|
35279
|
+
pe || (e(x.permissions) ? s.blades.value.push(U) : wr.error(an.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }));
|
|
35280
35280
|
} catch (M) {
|
|
35281
35281
|
console.error(M);
|
|
35282
35282
|
}
|
|
@@ -35332,25 +35332,28 @@ function Qs() {
|
|
|
35332
35332
|
Fs.value = L;
|
|
35333
35333
|
const P = a(L !== "/" ? x.path.slice(L.length) : x.path);
|
|
35334
35334
|
if (P !== void 0) {
|
|
35335
|
-
const { workspace: M, blade: Y, param: Z } = P,
|
|
35336
|
-
if (!
|
|
35335
|
+
const { workspace: M, blade: Y, param: Z } = P, pe = A.find((U) => U.route === `/${M}`)?.component, K = A.find((U) => U.route === `/${Y}`)?.component;
|
|
35336
|
+
if (!pe)
|
|
35337
35337
|
return y();
|
|
35338
35338
|
if (K?.type.isWorkspace)
|
|
35339
35339
|
return await d({
|
|
35340
35340
|
blade: K
|
|
35341
35341
|
}), { name: K?.type.name, params: T };
|
|
35342
|
-
if (
|
|
35342
|
+
if (pe)
|
|
35343
35343
|
return await d(
|
|
35344
35344
|
{
|
|
35345
|
-
blade:
|
|
35346
|
-
param:
|
|
35345
|
+
blade: pe,
|
|
35346
|
+
param: se(() => {
|
|
35347
|
+
if (s.blades.value.length > 1 && K?.type.moduleUid === pe.type.moduleUid)
|
|
35348
|
+
return Z;
|
|
35349
|
+
})
|
|
35347
35350
|
},
|
|
35348
35351
|
l().obj,
|
|
35349
35352
|
T
|
|
35350
|
-
), K?.type.
|
|
35353
|
+
), K?.type.routable && await f({
|
|
35351
35354
|
blade: K,
|
|
35352
35355
|
param: Z
|
|
35353
|
-
}), { name:
|
|
35356
|
+
}), { name: pe?.type.name, params: T, query: x.query };
|
|
35354
35357
|
} else
|
|
35355
35358
|
return y();
|
|
35356
35359
|
}
|
|
@@ -36237,10 +36240,10 @@ let Gc = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", hz = Fe({ name: "Dialog", inher
|
|
|
36237
36240
|
e("close", !1);
|
|
36238
36241
|
} };
|
|
36239
36242
|
ar(nv, Z);
|
|
36240
|
-
let
|
|
36243
|
+
let pe = se(() => !(!m.value || p.value));
|
|
36241
36244
|
UY(N, (R, $) => {
|
|
36242
36245
|
Z.close(), On(() => $?.focus());
|
|
36243
|
-
},
|
|
36246
|
+
}, pe);
|
|
36244
36247
|
let K = se(() => !(p.value || b.value !== 0));
|
|
36245
36248
|
aO((o = v.value) == null ? void 0 : o.defaultView, "keydown", (R) => {
|
|
36246
36249
|
K.value && (R.defaultPrevented || R.key === oO.Escape && (R.preventDefault(), R.stopPropagation(), Z.close()));
|
|
@@ -36438,7 +36441,7 @@ let gO = Xf.RenderStrategy, iv = Fe({ props: { as: { type: [Object, String], def
|
|
|
36438
36441
|
C(M), m.value = !1;
|
|
36439
36442
|
}, { immediate: !0 });
|
|
36440
36443
|
}), ar(Vg, y), VY(se(() => Hi(b.value, { visible: xr.Open, hidden: xr.Closed }) | s.value)), () => {
|
|
36441
|
-
let { appear: L, show: P, enter: M, enterFrom: Y, enterTo: Z, entered:
|
|
36444
|
+
let { appear: L, show: P, enter: M, enterFrom: Y, enterTo: Z, entered: pe, leave: K, leaveFrom: U, leaveTo: R, ...$ } = t, W = { ref: c }, ne = { ...$, ...h.value && f.value && nc.isServer ? { class: He([n.class, $.class, ...w, ...N]) } : {} };
|
|
36442
36445
|
return qr({ theirProps: ne, ourProps: W, slot: {}, slots: r, attrs: n, features: gO, visible: b.value === "visible", name: "TransitionChild" });
|
|
36443
36446
|
};
|
|
36444
36447
|
} }), wz = iv, bO = Fe({ 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: n, slots: r }) {
|
|
@@ -36513,7 +36516,7 @@ const Tz = /* @__PURE__ */ Q("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
36513
36516
|
r("close");
|
|
36514
36517
|
}
|
|
36515
36518
|
return (u, c) => {
|
|
36516
|
-
const d =
|
|
36519
|
+
const d = ze("VcIcon"), f = ze("VcButton");
|
|
36517
36520
|
return k(), Ne(D(bO), {
|
|
36518
36521
|
appear: "",
|
|
36519
36522
|
show: "",
|
|
@@ -36640,7 +36643,7 @@ const Tz = /* @__PURE__ */ Q("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
36640
36643
|
emits: ["close", "confirm"],
|
|
36641
36644
|
setup(t) {
|
|
36642
36645
|
return (e, n) => {
|
|
36643
|
-
const r =
|
|
36646
|
+
const r = ze("VcButton");
|
|
36644
36647
|
return k(), Ne(sc, {
|
|
36645
36648
|
variant: "warning",
|
|
36646
36649
|
"is-mobile-fullscreen": "",
|
|
@@ -36682,7 +36685,7 @@ const Tz = /* @__PURE__ */ Q("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
|
|
|
36682
36685
|
emits: ["close"],
|
|
36683
36686
|
setup(t) {
|
|
36684
36687
|
return (e, n) => {
|
|
36685
|
-
const r =
|
|
36688
|
+
const r = ze("VcButton");
|
|
36686
36689
|
return k(), Ne(sc, {
|
|
36687
36690
|
variant: "error",
|
|
36688
36691
|
"is-mobile-fullscreen": "",
|
|
@@ -37127,7 +37130,7 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37127
37130
|
return a && De(a, { notification: n.notification, onNotificationClick: () => r("onClick") });
|
|
37128
37131
|
}
|
|
37129
37132
|
return (a, l) => {
|
|
37130
|
-
const u =
|
|
37133
|
+
const u = ze("VcHint");
|
|
37131
37134
|
return k(), V("div", tJ, [
|
|
37132
37135
|
ue(D(Zl), { class: "tw-justify-between tw-grow tw-basis-0" }, {
|
|
37133
37136
|
default: ve(() => [
|
|
@@ -37421,16 +37424,16 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37421
37424
|
return e({
|
|
37422
37425
|
title: r("ASSETS_MANAGER.TITLE")
|
|
37423
37426
|
}), (x, A) => {
|
|
37424
|
-
const T =
|
|
37427
|
+
const T = ze("VcIcon"), C = ze("VcButton"), L = ze("VcImage"), P = ze("VcHint"), M = ze("VcTable"), Y = ze("VcBlade"), Z = Au("loading");
|
|
37425
37428
|
return k(), Ne(Y, {
|
|
37426
37429
|
title: D(r)("ASSETS_MANAGER.TITLE"),
|
|
37427
37430
|
expanded: x.expanded,
|
|
37428
37431
|
closable: x.closable,
|
|
37429
37432
|
"toolbar-items": h.value,
|
|
37430
37433
|
width: "70%",
|
|
37431
|
-
onClose: A[0] || (A[0] = (
|
|
37432
|
-
onExpand: A[1] || (A[1] = (
|
|
37433
|
-
onCollapse: A[2] || (A[2] = (
|
|
37434
|
+
onClose: A[0] || (A[0] = (pe) => x.$emit("close:blade")),
|
|
37435
|
+
onExpand: A[1] || (A[1] = (pe) => x.$emit("expand:blade")),
|
|
37436
|
+
onCollapse: A[2] || (A[2] = (pe) => x.$emit("collapse:blade"))
|
|
37434
37437
|
}, {
|
|
37435
37438
|
default: ve(() => [
|
|
37436
37439
|
gn((k(), V("div", {
|
|
@@ -37472,45 +37475,45 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37472
37475
|
], 64))
|
|
37473
37476
|
])
|
|
37474
37477
|
]),
|
|
37475
|
-
item_size: ve(({ item:
|
|
37476
|
-
Q("div", null, me(D(Bm)(
|
|
37478
|
+
item_size: ve(({ item: pe }) => [
|
|
37479
|
+
Q("div", null, me(D(Bm)(pe.size ?? 0)), 1)
|
|
37477
37480
|
]),
|
|
37478
|
-
item_url: ve(({ item:
|
|
37481
|
+
item_url: ve(({ item: pe }) => [
|
|
37479
37482
|
Q("div", cJ, [
|
|
37480
|
-
D(Fm)(
|
|
37483
|
+
D(Fm)(pe.name ?? "") ? (k(), Ne(L, {
|
|
37481
37484
|
key: 0,
|
|
37482
37485
|
bordered: !0,
|
|
37483
37486
|
size: "s",
|
|
37484
37487
|
aspect: "1x1",
|
|
37485
|
-
src:
|
|
37488
|
+
src: pe.url,
|
|
37486
37489
|
background: "contain"
|
|
37487
37490
|
}, null, 8, ["src"])) : (k(), Ne(T, {
|
|
37488
37491
|
key: 1,
|
|
37489
|
-
icon: D($m)(
|
|
37492
|
+
icon: D($m)(pe.name ?? ""),
|
|
37490
37493
|
class: "tw-text-[#a9bfd2] tw-text-[38px]"
|
|
37491
37494
|
}, null, 8, ["icon"]))
|
|
37492
37495
|
])
|
|
37493
37496
|
]),
|
|
37494
|
-
item_sortOrder: ve(({ item:
|
|
37495
|
-
Q("div", null, me(
|
|
37497
|
+
item_sortOrder: ve(({ item: pe }) => [
|
|
37498
|
+
Q("div", null, me(pe.sortOrder), 1)
|
|
37496
37499
|
]),
|
|
37497
|
-
"mobile-item": ve(({ item:
|
|
37500
|
+
"mobile-item": ve(({ item: pe }) => [
|
|
37498
37501
|
Q("div", fJ, [
|
|
37499
|
-
D(Fm)(
|
|
37502
|
+
D(Fm)(pe.name ?? "") ? (k(), Ne(L, {
|
|
37500
37503
|
key: 0,
|
|
37501
37504
|
bordered: !0,
|
|
37502
37505
|
size: "s",
|
|
37503
37506
|
aspect: "1x1",
|
|
37504
|
-
src:
|
|
37507
|
+
src: pe.url,
|
|
37505
37508
|
background: "contain"
|
|
37506
37509
|
}, null, 8, ["src"])) : (k(), V("div", dJ, [
|
|
37507
37510
|
ue(T, {
|
|
37508
|
-
icon: D($m)(
|
|
37511
|
+
icon: D($m)(pe.name ?? ""),
|
|
37509
37512
|
class: "tw-text-[#a9bfd2] tw-w-12 tw-text-[48px]"
|
|
37510
37513
|
}, null, 8, ["icon"])
|
|
37511
37514
|
])),
|
|
37512
37515
|
Q("div", hJ, [
|
|
37513
|
-
Q("div", pJ, me(
|
|
37516
|
+
Q("div", pJ, me(pe.name), 1),
|
|
37514
37517
|
Q("div", mJ, [
|
|
37515
37518
|
Q("div", vJ, [
|
|
37516
37519
|
ue(P, null, {
|
|
@@ -37519,7 +37522,7 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37519
37522
|
]),
|
|
37520
37523
|
_: 1
|
|
37521
37524
|
}),
|
|
37522
|
-
Q("div", gJ, me(D(Bm)(
|
|
37525
|
+
Q("div", gJ, me(D(Bm)(pe.size ?? 0)), 1)
|
|
37523
37526
|
]),
|
|
37524
37527
|
Q("div", bJ, [
|
|
37525
37528
|
ue(P, null, {
|
|
@@ -37528,7 +37531,7 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37528
37531
|
]),
|
|
37529
37532
|
_: 1
|
|
37530
37533
|
}),
|
|
37531
|
-
Q("div", yJ, me(
|
|
37534
|
+
Q("div", yJ, me(pe.createdDate && D(Ve)(pe.createdDate).fromNow()), 1)
|
|
37532
37535
|
]),
|
|
37533
37536
|
Q("div", EJ, [
|
|
37534
37537
|
ue(P, null, {
|
|
@@ -37537,7 +37540,7 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37537
37540
|
]),
|
|
37538
37541
|
_: 1
|
|
37539
37542
|
}),
|
|
37540
|
-
Q("div", _J, me(
|
|
37543
|
+
Q("div", _J, me(pe.sortOrder), 1)
|
|
37541
37544
|
])
|
|
37542
37545
|
])
|
|
37543
37546
|
])
|
|
@@ -37741,8 +37744,8 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37741
37744
|
});
|
|
37742
37745
|
}
|
|
37743
37746
|
function h(E, y) {
|
|
37744
|
-
if (
|
|
37745
|
-
return
|
|
37747
|
+
if (Ke(E) && Ke(E).length)
|
|
37748
|
+
return Ke(E).reduce(
|
|
37746
37749
|
(w, N) => (w[N[y.optionValue]] = _O({
|
|
37747
37750
|
props: {
|
|
37748
37751
|
class: "tw-mb-2",
|
|
@@ -37750,7 +37753,7 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37750
37753
|
"onUpdate:modelValue": (O) => d(O, N[y.optionValue], y.field, y.multiple)
|
|
37751
37754
|
},
|
|
37752
37755
|
slots: {
|
|
37753
|
-
default: () =>
|
|
37756
|
+
default: () => Ke(N[y.optionLabel])
|
|
37754
37757
|
}
|
|
37755
37758
|
}), w),
|
|
37756
37759
|
{}
|
|
@@ -37761,7 +37764,7 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37761
37764
|
props: {
|
|
37762
37765
|
type: "date",
|
|
37763
37766
|
class: "tw-mb-3",
|
|
37764
|
-
label:
|
|
37767
|
+
label: Ke(se(() => s(E.label ?? ""))),
|
|
37765
37768
|
modelValue: se(() => i.value[E.field]),
|
|
37766
37769
|
"onUpdate:modelValue": (y) => i.value[E.field] = y
|
|
37767
37770
|
}
|
|
@@ -37859,13 +37862,13 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37859
37862
|
empty: n("emptyTemplate")
|
|
37860
37863
|
});
|
|
37861
37864
|
function n(i) {
|
|
37862
|
-
if (!
|
|
37865
|
+
if (!Ke(t))
|
|
37863
37866
|
return;
|
|
37864
|
-
const s =
|
|
37867
|
+
const s = Ke(t)?.[i];
|
|
37865
37868
|
if (s && typeof s == "object" && "component" in s) {
|
|
37866
37869
|
const o = s.component;
|
|
37867
37870
|
if (o) {
|
|
37868
|
-
const a =
|
|
37871
|
+
const a = ze(o);
|
|
37869
37872
|
if (a && typeof a != "string")
|
|
37870
37873
|
return Er(a);
|
|
37871
37874
|
}
|
|
@@ -37873,12 +37876,12 @@ const Dz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Rz = { class: "tw-flex
|
|
|
37873
37876
|
}
|
|
37874
37877
|
function r() {
|
|
37875
37878
|
return {
|
|
37876
|
-
...
|
|
37879
|
+
...Ke(t)?.columns?.reduce(
|
|
37877
37880
|
(i, s) => {
|
|
37878
37881
|
if ("customTemplate" in s && s.customTemplate)
|
|
37879
37882
|
if ("component" in s.customTemplate) {
|
|
37880
37883
|
if ("component" in s.customTemplate && s.customTemplate.component) {
|
|
37881
|
-
const o =
|
|
37884
|
+
const o = ze(s.customTemplate.component);
|
|
37882
37885
|
typeof o != "string" && (i[s.id] = Er(o));
|
|
37883
37886
|
}
|
|
37884
37887
|
} else
|
|
@@ -38024,7 +38027,7 @@ const VJ = {
|
|
|
38024
38027
|
return _e;
|
|
38025
38028
|
}), Z = r.composables && se(() => ({
|
|
38026
38029
|
columns: Y(w?.value?.columns)
|
|
38027
|
-
})),
|
|
38030
|
+
})), pe = hn({
|
|
38028
38031
|
tableData: w,
|
|
38029
38032
|
table: Z
|
|
38030
38033
|
}), {
|
|
@@ -38034,7 +38037,7 @@ const VJ = {
|
|
|
38034
38037
|
reset: $,
|
|
38035
38038
|
filter: W
|
|
38036
38039
|
} = HJ({
|
|
38037
|
-
data:
|
|
38040
|
+
data: pe.tableData?.filter,
|
|
38038
38041
|
query: L,
|
|
38039
38042
|
load: S,
|
|
38040
38043
|
scope: P
|
|
@@ -38059,8 +38062,8 @@ const VJ = {
|
|
|
38059
38062
|
},
|
|
38060
38063
|
openAddBlade: {
|
|
38061
38064
|
async clickHandler() {
|
|
38062
|
-
if (P && "openDetailsBlade" in
|
|
38063
|
-
|
|
38065
|
+
if (P && "openDetailsBlade" in Ke(P) && Ke(P).openDetailsBlade && typeof Ke(P).openDetailsBlade == "function")
|
|
38066
|
+
Ke(P).openDetailsBlade?.();
|
|
38064
38067
|
else
|
|
38065
38068
|
throw new Error("openDetailsBlade method is not defined in scope");
|
|
38066
38069
|
}
|
|
@@ -38078,7 +38081,7 @@ const VJ = {
|
|
|
38078
38081
|
// isVisible: computed(() => isDesktop.value),
|
|
38079
38082
|
}
|
|
38080
38083
|
},
|
|
38081
|
-
customToolbarConfig:
|
|
38084
|
+
customToolbarConfig: Ke(P)?.toolbarOverrides,
|
|
38082
38085
|
context: ne.value,
|
|
38083
38086
|
scope: P
|
|
38084
38087
|
})) ?? [];
|
|
@@ -38087,15 +38090,7 @@ const VJ = {
|
|
|
38087
38090
|
}), Qe(
|
|
38088
38091
|
() => r.param,
|
|
38089
38092
|
async (fe) => {
|
|
38090
|
-
|
|
38091
|
-
param: fe,
|
|
38092
|
-
onOpen() {
|
|
38093
|
-
f.value = fe;
|
|
38094
|
-
},
|
|
38095
|
-
onClose() {
|
|
38096
|
-
f.value = void 0;
|
|
38097
|
-
}
|
|
38098
|
-
});
|
|
38093
|
+
f.value = fe;
|
|
38099
38094
|
},
|
|
38100
38095
|
{ immediate: !0 }
|
|
38101
38096
|
), Qe(
|
|
@@ -38110,9 +38105,9 @@ const VJ = {
|
|
|
38110
38105
|
v.value = fe;
|
|
38111
38106
|
});
|
|
38112
38107
|
const H = async () => {
|
|
38113
|
-
r.isWidgetView ? a("add") : P && "openDetailsBlade" in
|
|
38108
|
+
r.isWidgetView ? a("add") : P && "openDetailsBlade" in Ke(P) && Ke(P).openDetailsBlade && typeof Ke(P).openDetailsBlade == "function" && await Ke(P).openDetailsBlade?.();
|
|
38114
38109
|
}, te = (fe) => {
|
|
38115
|
-
r.isWidgetView ? a("item-click", { param: fe.id }) : (P && rn("openDetailsBlade",
|
|
38110
|
+
r.isWidgetView ? a("item-click", { param: fe.id }) : (P && rn("openDetailsBlade", Ke(P)) && typeof Ke(P).openDetailsBlade == "function" && Ke(P).openDetailsBlade?.({
|
|
38116
38111
|
param: fe.id,
|
|
38117
38112
|
onOpen() {
|
|
38118
38113
|
f.value = fe.id;
|
|
@@ -38120,7 +38115,7 @@ const VJ = {
|
|
|
38120
38115
|
onClose() {
|
|
38121
38116
|
f.value = void 0;
|
|
38122
38117
|
}
|
|
38123
|
-
}), P && rn("onListItemClick",
|
|
38118
|
+
}), P && rn("onListItemClick", Ke(P)) && typeof Ke(P).onListItemClick == "function" && Ke(P).onListItemClick?.({
|
|
38124
38119
|
item: fe
|
|
38125
38120
|
}));
|
|
38126
38121
|
}, de = (fe) => {
|
|
@@ -38152,8 +38147,8 @@ const VJ = {
|
|
|
38152
38147
|
});
|
|
38153
38148
|
}, $e = async (fe) => {
|
|
38154
38149
|
if (L.value.take) {
|
|
38155
|
-
if (P && rn("onPaginationClick",
|
|
38156
|
-
|
|
38150
|
+
if (P && rn("onPaginationClick", Ke(P)) && typeof Ke(P).onPaginationClick == "function") {
|
|
38151
|
+
Ke(P).onPaginationClick?.({
|
|
38157
38152
|
...L.value,
|
|
38158
38153
|
skip: (fe - 1) * L.value.take
|
|
38159
38154
|
});
|
|
@@ -38170,8 +38165,8 @@ const VJ = {
|
|
|
38170
38165
|
if (fe.sortable)
|
|
38171
38166
|
if (h.value.split(":")[0] === fe.id) {
|
|
38172
38167
|
const _e = Pe.findIndex((qe) => {
|
|
38173
|
-
const
|
|
38174
|
-
return
|
|
38168
|
+
const Je = h.value.split(":")[1];
|
|
38169
|
+
return Je ? qe === Je : qe === "";
|
|
38175
38170
|
});
|
|
38176
38171
|
if (_e !== -1) {
|
|
38177
38172
|
const qe = Pe[(_e + 1) % Pe.length];
|
|
@@ -38206,13 +38201,13 @@ const VJ = {
|
|
|
38206
38201
|
async function je(fe) {
|
|
38207
38202
|
c.value = fe;
|
|
38208
38203
|
}
|
|
38209
|
-
function
|
|
38210
|
-
return fe ? typeof fe == "boolean" ? fe : fe.method && typeof
|
|
38204
|
+
function he(fe, Pe) {
|
|
38205
|
+
return fe ? typeof fe == "boolean" ? fe : fe.method && typeof Ke(P)?.[fe.method] == "function" ? Ke(P)?.[fe.method]({ item: Pe }) : fe.method && Ke(P)?.[fe.method] ? Ke(P)?.[fe.method] : !1 : !1;
|
|
38211
38206
|
}
|
|
38212
38207
|
function Ee(fe) {
|
|
38213
38208
|
return w?.value?.actions?.reduce((_e, qe) => {
|
|
38214
|
-
const
|
|
38215
|
-
return
|
|
38209
|
+
const Je = he(qe?.disabled ?? !1, fe);
|
|
38210
|
+
return Ke(Je) || _e.push({
|
|
38216
38211
|
icon: qe.icon,
|
|
38217
38212
|
title: se(() => i(qe.title)),
|
|
38218
38213
|
type: qe.type,
|
|
@@ -38221,7 +38216,7 @@ const VJ = {
|
|
|
38221
38216
|
try {
|
|
38222
38217
|
if (Eo(J) && J.value && J.value.length > 0) {
|
|
38223
38218
|
const ye = J.value.find((Le) => Le.method === qe.method);
|
|
38224
|
-
g.value = [Re.id], ye ? await ye.clickHandler?.() : await
|
|
38219
|
+
g.value = [Re.id], ye ? await ye.clickHandler?.() : await Ke(P)?.[qe.method]?.(Re), g.value = [];
|
|
38225
38220
|
}
|
|
38226
38221
|
} catch {
|
|
38227
38222
|
throw new Error(`Method ${qe.method} is not defined in scope or toolbarOverrides`);
|
|
@@ -38236,9 +38231,9 @@ const VJ = {
|
|
|
38236
38231
|
updateActiveWidgetCount: Oe,
|
|
38237
38232
|
...bi(P?.value ?? {}),
|
|
38238
38233
|
selectedIds: g,
|
|
38239
|
-
settings:
|
|
38234
|
+
settings: Ke(l)
|
|
38240
38235
|
}), (fe, Pe) => {
|
|
38241
|
-
const _e =
|
|
38236
|
+
const _e = ze("VcBreadcrumbs"), qe = ze("VcButton"), Je = ze("VcTable");
|
|
38242
38237
|
return fe.composables ? ae("", !0) : (k(), Ne(as(fe.isWidgetView ? "template" : "VcBlade"), {
|
|
38243
38238
|
key: 0,
|
|
38244
38239
|
expanded: fe.expanded,
|
|
@@ -38274,7 +38269,7 @@ const VJ = {
|
|
|
38274
38269
|
items: D(P)?.breadcrumbs
|
|
38275
38270
|
}, null, 8, ["items"])
|
|
38276
38271
|
], 2)) : ae("", !0),
|
|
38277
|
-
ue(
|
|
38272
|
+
ue(Je, {
|
|
38278
38273
|
class: "tw-grow tw-basis-0",
|
|
38279
38274
|
loading: D(T),
|
|
38280
38275
|
expanded: fe.expanded,
|
|
@@ -38465,7 +38460,7 @@ const JJ = {
|
|
|
38465
38460
|
}
|
|
38466
38461
|
),
|
|
38467
38462
|
slots: t.element.customTemplate && ["selected-item", "option"].reduce(
|
|
38468
|
-
(r, i) => (r[i] = (s) => De(
|
|
38463
|
+
(r, i) => (r[i] = (s) => De(ze(t.element.customTemplate?.component), {
|
|
38469
38464
|
context: s,
|
|
38470
38465
|
slotName: i
|
|
38471
38466
|
}), r),
|
|
@@ -38490,9 +38485,9 @@ const JJ = {
|
|
|
38490
38485
|
setup(t) {
|
|
38491
38486
|
const e = z(!0);
|
|
38492
38487
|
xt(() => {
|
|
38493
|
-
e.value = n(
|
|
38488
|
+
e.value = n(Ke(t.fields));
|
|
38494
38489
|
}), Wa(() => {
|
|
38495
|
-
e.value = n(
|
|
38490
|
+
e.value = n(Ke(t.fields));
|
|
38496
38491
|
});
|
|
38497
38492
|
const n = (r) => {
|
|
38498
38493
|
const i = Array.isArray(r) ? r : [r], s = z(0);
|
|
@@ -38519,7 +38514,7 @@ const JJ = {
|
|
|
38519
38514
|
props: Object.assign(
|
|
38520
38515
|
{},
|
|
38521
38516
|
{
|
|
38522
|
-
header:
|
|
38517
|
+
header: Ke(t.baseProps.label),
|
|
38523
38518
|
isCollapsable: t.element.collapsible,
|
|
38524
38519
|
isCollapsed: s(t.element.id) || t.element.collapsed,
|
|
38525
38520
|
"onState:collapsed": (o) => i(t.element.id, o)
|
|
@@ -38540,7 +38535,7 @@ const JJ = {
|
|
|
38540
38535
|
"tw-gap-4": !0
|
|
38541
38536
|
}
|
|
38542
38537
|
},
|
|
38543
|
-
|
|
38538
|
+
Ke(t.fields)
|
|
38544
38539
|
),
|
|
38545
38540
|
actions: () => {
|
|
38546
38541
|
if (t.element.action)
|
|
@@ -38617,7 +38612,7 @@ const JJ = {
|
|
|
38617
38612
|
props: Nn,
|
|
38618
38613
|
setup(t) {
|
|
38619
38614
|
const e = Wt("isMobile"), { fields: n } = bi(t);
|
|
38620
|
-
return () =>
|
|
38615
|
+
return () => Ke(n.value)?.map((r, i, s) => {
|
|
38621
38616
|
const o = SP(r, t.element.columns || 1) ?? [];
|
|
38622
38617
|
return De(
|
|
38623
38618
|
"div",
|
|
@@ -38780,7 +38775,7 @@ const tK = {
|
|
|
38780
38775
|
Qe(
|
|
38781
38776
|
() => t.baseProps?.modelValue,
|
|
38782
38777
|
(s) => {
|
|
38783
|
-
sr(
|
|
38778
|
+
sr(Ke(s), e.value) || (e.value = _r(Ke(s)));
|
|
38784
38779
|
},
|
|
38785
38780
|
{ deep: !0, immediate: !0 }
|
|
38786
38781
|
);
|
|
@@ -38797,7 +38792,7 @@ const tK = {
|
|
|
38797
38792
|
modelValue: se(
|
|
38798
38793
|
() => t.bladeContext.scope?.dynamicProperties?.getPropertyValue(
|
|
38799
38794
|
s,
|
|
38800
|
-
|
|
38795
|
+
Ke(t.currentLocale ?? "en-US")
|
|
38801
38796
|
)
|
|
38802
38797
|
),
|
|
38803
38798
|
optionsGetter: t.bladeContext.scope?.dynamicProperties?.loadDictionaries,
|
|
@@ -38941,7 +38936,7 @@ const tK = {
|
|
|
38941
38936
|
{},
|
|
38942
38937
|
{
|
|
38943
38938
|
loading: o.loading,
|
|
38944
|
-
images:
|
|
38939
|
+
images: Ke(t.baseProps.modelValue),
|
|
38945
38940
|
multiple: t.element.multiple,
|
|
38946
38941
|
variant: t.element.variant,
|
|
38947
38942
|
itemActions: t.element.actions,
|
|
@@ -39073,7 +39068,7 @@ const tK = {
|
|
|
39073
39068
|
props: Object.assign(
|
|
39074
39069
|
{},
|
|
39075
39070
|
{
|
|
39076
|
-
source:
|
|
39071
|
+
source: Ke(t.baseProps.modelValue)
|
|
39077
39072
|
},
|
|
39078
39073
|
gt(t.baseProps),
|
|
39079
39074
|
{
|
|
@@ -39093,7 +39088,7 @@ const tK = {
|
|
|
39093
39088
|
props: Object.assign(
|
|
39094
39089
|
{},
|
|
39095
39090
|
{
|
|
39096
|
-
src:
|
|
39091
|
+
src: Ke(t.baseProps.modelValue),
|
|
39097
39092
|
aspect: t.element.aspect,
|
|
39098
39093
|
rounded: t.element.rounded,
|
|
39099
39094
|
bordered: t.element.bordered,
|
|
@@ -39162,7 +39157,7 @@ const tK = {
|
|
|
39162
39157
|
}
|
|
39163
39158
|
),
|
|
39164
39159
|
slots: t.element.customTemplate && ["option", "selected-item"].reduce(
|
|
39165
|
-
(r, i) => (r[i] = (s) => De(
|
|
39160
|
+
(r, i) => (r[i] = (s) => De(ze(t.element.customTemplate?.component), {
|
|
39166
39161
|
context: s,
|
|
39167
39162
|
slotName: i
|
|
39168
39163
|
}), r),
|
|
@@ -39252,7 +39247,7 @@ const tK = {
|
|
|
39252
39247
|
props: Nn,
|
|
39253
39248
|
setup(t) {
|
|
39254
39249
|
return () => {
|
|
39255
|
-
const e =
|
|
39250
|
+
const e = ze(t.element?.name);
|
|
39256
39251
|
return typeof e == "object" ? De(
|
|
39257
39252
|
e,
|
|
39258
39253
|
Object.assign(
|
|
@@ -39308,7 +39303,7 @@ const tK = {
|
|
|
39308
39303
|
"vc-table": hK,
|
|
39309
39304
|
"vc-custom": pK,
|
|
39310
39305
|
"vc-rating": mK
|
|
39311
|
-
}, sv = (t, e, n) => t === void 0 ? !0 : typeof t == "function" ? t(n, e) :
|
|
39306
|
+
}, sv = (t, e, n) => t === void 0 ? !0 : typeof t == "function" ? t(n, e) : Ke(t);
|
|
39312
39307
|
function gK(t, e) {
|
|
39313
39308
|
return t ? typeof t == "boolean" ? t : t.method && typeof e.scope?.[t.method] == "function" ? e.scope[t.method]() : t.method && e.scope?.[t.method] ? e.scope[t.method] : !1 : !1;
|
|
39314
39309
|
}
|
|
@@ -39349,8 +39344,8 @@ function bu({
|
|
|
39349
39344
|
}), w = vK[t.component], N = se(() => {
|
|
39350
39345
|
if (!("fields" in t))
|
|
39351
39346
|
return null;
|
|
39352
|
-
const S = rn("property", t) && t.property && _a(t.property, n), A = rn("property", t) && t.property && _a(t.property,
|
|
39353
|
-
return
|
|
39347
|
+
const S = rn("property", t) && t.property && _a(t.property, n), A = rn("property", t) && t.property && _a(t.property, Ke(r.scope ?? {})) || S;
|
|
39348
|
+
return Ke(A) && Array.isArray(Ke(A)) ? Ke(A).map((T) => t.fields.reduce((C, L) => rn("visibility", L) && L.visibility?.method && !sv(r.scope?.[L.visibility?.method], T, L) ? C : [
|
|
39354
39349
|
...C,
|
|
39355
39350
|
bu({
|
|
39356
39351
|
controlSchema: L,
|
|
@@ -39482,7 +39477,7 @@ const bK = {
|
|
|
39482
39477
|
},
|
|
39483
39478
|
{ deep: !0 }
|
|
39484
39479
|
), Qe(
|
|
39485
|
-
() => v
|
|
39480
|
+
() => D(v),
|
|
39486
39481
|
(K) => {
|
|
39487
39482
|
K && r.composables && (m.value = K);
|
|
39488
39483
|
},
|
|
@@ -39506,27 +39501,27 @@ const bK = {
|
|
|
39506
39501
|
if (r.model && "status" in r.model.settings && r.model.settings.status) {
|
|
39507
39502
|
if (!("component" in r.model.settings.status))
|
|
39508
39503
|
throw new Error(`Component is required in status: ${r.model.settings.status}`);
|
|
39509
|
-
return hn(De(
|
|
39504
|
+
return hn(De(ze(r.model.settings.status.component), { context: A.value }));
|
|
39510
39505
|
}
|
|
39511
39506
|
return null;
|
|
39512
|
-
}), C = Du(() => d &&
|
|
39507
|
+
}), C = Du(() => d && Ke(d) && "multilanguage" in Ke(d) && Ke(d).multilanguage ? {
|
|
39513
39508
|
component: () => De(Yu, {
|
|
39514
39509
|
name: "currentLocale",
|
|
39515
|
-
modelValue:
|
|
39516
|
-
options:
|
|
39510
|
+
modelValue: Ke(d).multilanguage?.currentLocale,
|
|
39511
|
+
options: Ke(d).multilanguage?.localesOptions,
|
|
39517
39512
|
optionValue: "value",
|
|
39518
39513
|
optionLabel: "label",
|
|
39519
|
-
disabled: "disabled" in
|
|
39514
|
+
disabled: "disabled" in Ke(d) && Ke(d).disabled,
|
|
39520
39515
|
required: !0,
|
|
39521
39516
|
clearable: !1,
|
|
39522
39517
|
"onUpdate:modelValue": (K) => {
|
|
39523
|
-
|
|
39518
|
+
Ke(d).multilanguage?.setLocale(K);
|
|
39524
39519
|
}
|
|
39525
39520
|
}),
|
|
39526
|
-
currentLocale:
|
|
39521
|
+
currentLocale: Ke(d).multilanguage?.currentLocale
|
|
39527
39522
|
} : {}), L = se(() => x.value?.children?.map((K) => {
|
|
39528
39523
|
if (typeof K == "string")
|
|
39529
|
-
return
|
|
39524
|
+
return ze(K);
|
|
39530
39525
|
throw new Error(`Component is required in widget: ${K}`);
|
|
39531
39526
|
})), P = hn({
|
|
39532
39527
|
multilanguage: C.component,
|
|
@@ -39554,31 +39549,31 @@ const bK = {
|
|
|
39554
39549
|
method: "updateActiveWidgetCount"
|
|
39555
39550
|
}), i("close:blade"));
|
|
39556
39551
|
},
|
|
39557
|
-
disabled: se(() =>
|
|
39552
|
+
disabled: se(() => Ke(d)?.disabled)
|
|
39558
39553
|
}
|
|
39559
39554
|
},
|
|
39560
|
-
customToolbarConfig:
|
|
39555
|
+
customToolbarConfig: Ke(d)?.toolbarOverrides,
|
|
39561
39556
|
context: A.value,
|
|
39562
39557
|
scope: d
|
|
39563
39558
|
})) ?? [];
|
|
39564
39559
|
async function Y(K) {
|
|
39565
|
-
const U = typeof K == "string" ?
|
|
39560
|
+
const U = typeof K == "string" ? ze(K) : K;
|
|
39566
39561
|
await On(
|
|
39567
39562
|
() => E.value = a.value.find(
|
|
39568
|
-
(R) => sr(R.component, typeof U != "string" ? U :
|
|
39563
|
+
(R) => sr(R.component, typeof U != "string" ? U : ze(U))
|
|
39569
39564
|
)?.el
|
|
39570
39565
|
);
|
|
39571
39566
|
}
|
|
39572
39567
|
async function Z() {
|
|
39573
39568
|
E.value?.updateActiveWidgetCount && typeof E.value?.updateActiveWidgetCount == "function" && await E.value.updateActiveWidgetCount();
|
|
39574
39569
|
}
|
|
39575
|
-
async function
|
|
39570
|
+
async function pe() {
|
|
39576
39571
|
r.param && await f({ id: r.param }), await On(() => {
|
|
39577
39572
|
p.value = !0;
|
|
39578
39573
|
});
|
|
39579
39574
|
}
|
|
39580
39575
|
return dd(async () => {
|
|
39581
|
-
r.composables && await
|
|
39576
|
+
r.composables && await pe();
|
|
39582
39577
|
}), b(async () => {
|
|
39583
39578
|
if (D(O))
|
|
39584
39579
|
return await o(
|
|
@@ -39586,13 +39581,13 @@ const bK = {
|
|
|
39586
39581
|
se(() => s(`${y.value?.localizationPrefix.trim().toUpperCase()}.PAGES.ALERTS.CLOSE_CONFIRMATION`))
|
|
39587
39582
|
)
|
|
39588
39583
|
);
|
|
39589
|
-
}), ar("bladeContext", Sd(A)), ar("isBladeEditable", wv(
|
|
39584
|
+
}), ar("bladeContext", Sd(A)), ar("isBladeEditable", wv(Ke(d ?? {}), "isBladeEditable")), e({
|
|
39590
39585
|
title: v ?? "",
|
|
39591
39586
|
updateActiveWidgetCount: Z,
|
|
39592
39587
|
...bi(d?.value ?? {}),
|
|
39593
|
-
settings:
|
|
39588
|
+
settings: Ke(y)
|
|
39594
39589
|
}), (K, U) => {
|
|
39595
|
-
const R =
|
|
39590
|
+
const R = ze("VcForm"), $ = ze("VcContainer"), W = ze("VcBlade"), ne = Au("loading");
|
|
39596
39591
|
return K.composables ? ae("", !0) : gn((k(), Ne(W, {
|
|
39597
39592
|
key: 0,
|
|
39598
39593
|
expanded: K.expanded,
|
|
@@ -39847,13 +39842,11 @@ const Yae = (t) => function() {
|
|
|
39847
39842
|
routable: i.settings.routable ?? !0,
|
|
39848
39843
|
composables: t.composables,
|
|
39849
39844
|
setup: (d, f) => (o?.setup && o.setup(
|
|
39850
|
-
|
|
39851
|
-
{},
|
|
39852
|
-
Du(() => d),
|
|
39853
|
-
{
|
|
39845
|
+
Du(
|
|
39846
|
+
() => Object.assign({}, d, {
|
|
39854
39847
|
model: i,
|
|
39855
39848
|
composables: t.composables
|
|
39856
|
-
}
|
|
39849
|
+
})
|
|
39857
39850
|
),
|
|
39858
39851
|
f
|
|
39859
39852
|
)) ?? {}
|
|
@@ -39933,7 +39926,7 @@ const Yae = (t) => function() {
|
|
|
39933
39926
|
v.succeeded ? (await s(e.userName, d.password)).succeeded && a.push("/") : d.errors = v.errors;
|
|
39934
39927
|
};
|
|
39935
39928
|
return (v, b) => {
|
|
39936
|
-
const m =
|
|
39929
|
+
const m = ze("VcLoading"), p = ze("VcInput"), E = ze("vc-button"), y = ze("VcHint"), w = ze("VcForm"), N = ze("VcLoginForm");
|
|
39937
39930
|
return k(), V("div", YK, [
|
|
39938
39931
|
D(o) ? (k(), Ne(m, {
|
|
39939
39932
|
key: 0,
|
|
@@ -40099,7 +40092,7 @@ const Yae = (t) => function() {
|
|
|
40099
40092
|
await h(P, window.location.pathname);
|
|
40100
40093
|
};
|
|
40101
40094
|
return console.debug("Init login-page"), (P, M) => {
|
|
40102
|
-
const Y =
|
|
40095
|
+
const Y = ze("VcInput"), Z = ze("VcButton"), pe = ze("vc-button"), K = ze("VcForm"), U = ze("VcHint"), R = ze("VcLoginForm");
|
|
40103
40096
|
return k(), Ne(R, {
|
|
40104
40097
|
logo: N.value.logo,
|
|
40105
40098
|
background: P.background,
|
|
@@ -40174,7 +40167,7 @@ const Yae = (t) => function() {
|
|
|
40174
40167
|
})
|
|
40175
40168
|
])) : ae("", !0),
|
|
40176
40169
|
Q("div", tX, [
|
|
40177
|
-
ue(
|
|
40170
|
+
ue(pe, {
|
|
40178
40171
|
disabled: D(f) || !D(b),
|
|
40179
40172
|
class: "tw-w-28",
|
|
40180
40173
|
onClick: A
|
|
@@ -40242,7 +40235,7 @@ const Yae = (t) => function() {
|
|
|
40242
40235
|
_: 1
|
|
40243
40236
|
}, 8, ["label", "model-value"]),
|
|
40244
40237
|
Q("div", aX, [
|
|
40245
|
-
ue(
|
|
40238
|
+
ue(pe, {
|
|
40246
40239
|
text: "",
|
|
40247
40240
|
type: "button",
|
|
40248
40241
|
onClick: C
|
|
@@ -40252,7 +40245,7 @@ const Yae = (t) => function() {
|
|
|
40252
40245
|
]),
|
|
40253
40246
|
_: 1
|
|
40254
40247
|
}),
|
|
40255
|
-
ue(
|
|
40248
|
+
ue(pe, {
|
|
40256
40249
|
disabled: D(f) || O.value || p.value,
|
|
40257
40250
|
onClick: T
|
|
40258
40251
|
}, {
|
|
@@ -40269,7 +40262,7 @@ const Yae = (t) => function() {
|
|
|
40269
40262
|
Q("div", null, me(D(o)("LOGIN.RESET_EMAIL_SENT")), 1),
|
|
40270
40263
|
Q("div", lX, [
|
|
40271
40264
|
P.$isDesktop.value ? (k(), V("span", uX)) : ae("", !0),
|
|
40272
|
-
ue(
|
|
40265
|
+
ue(pe, {
|
|
40273
40266
|
disabled: D(f),
|
|
40274
40267
|
onClick: C
|
|
40275
40268
|
}, {
|
|
@@ -40347,7 +40340,7 @@ const Yae = (t) => function() {
|
|
|
40347
40340
|
}
|
|
40348
40341
|
};
|
|
40349
40342
|
return (g, v) => {
|
|
40350
|
-
const b =
|
|
40343
|
+
const b = ze("VcLoading"), m = ze("VcInput"), p = ze("vc-button"), E = ze("VcHint"), y = ze("VcForm"), w = ze("VcLoginForm");
|
|
40351
40344
|
return k(), V("div", hX, [
|
|
40352
40345
|
D(o) ? (k(), Ne(b, {
|
|
40353
40346
|
key: 0,
|
|
@@ -40554,7 +40547,7 @@ const Yae = (t) => function() {
|
|
|
40554
40547
|
return !1;
|
|
40555
40548
|
};
|
|
40556
40549
|
return (u, c) => {
|
|
40557
|
-
const d =
|
|
40550
|
+
const d = ze("router-link");
|
|
40558
40551
|
return k(), V(Ze, null, [
|
|
40559
40552
|
Q("div", {
|
|
40560
40553
|
class: He(["vc-app-menu-item", [
|
|
@@ -40631,7 +40624,7 @@ const Yae = (t) => function() {
|
|
|
40631
40624
|
emits: ["click"],
|
|
40632
40625
|
setup(t) {
|
|
40633
40626
|
return (e, n) => {
|
|
40634
|
-
const r =
|
|
40627
|
+
const r = ze("router-link");
|
|
40635
40628
|
return k(), V("div", null, [
|
|
40636
40629
|
e.url ? (k(), Ne(r, {
|
|
40637
40630
|
key: 0,
|
|
@@ -40764,7 +40757,7 @@ const Yae = (t) => function() {
|
|
|
40764
40757
|
h.value && m && (await d(), await c());
|
|
40765
40758
|
}
|
|
40766
40759
|
), ar("internalRoutes", n), (m, p) => {
|
|
40767
|
-
const E =
|
|
40760
|
+
const E = ze("VcLoading"), y = ze("VcAppSwitcher"), w = ze("VcBladeNavigation");
|
|
40768
40761
|
return m.isReady ? (k(), V("div", {
|
|
40769
40762
|
key: 1,
|
|
40770
40763
|
class: He(["vc-app tw-flex tw-flex-col tw-w-full tw-h-full tw-box-border tw-m-0 tw-overflow-hidden tw-text-base", [
|
|
@@ -41081,7 +41074,7 @@ const Yae = (t) => function() {
|
|
|
41081
41074
|
title: i("COMPONENTS.ORGANISMS.VC_BLADE.ERROR_POPUP.TITLE")
|
|
41082
41075
|
},
|
|
41083
41076
|
slots: {
|
|
41084
|
-
default: se(() =>
|
|
41077
|
+
default: se(() => Ke(r))
|
|
41085
41078
|
}
|
|
41086
41079
|
});
|
|
41087
41080
|
return (o, a) => (k(), V("div", {
|
|
@@ -41231,7 +41224,7 @@ const Yae = (t) => function() {
|
|
|
41231
41224
|
u.value.length && (a.value = u.value);
|
|
41232
41225
|
}
|
|
41233
41226
|
return (m, p) => {
|
|
41234
|
-
const E =
|
|
41227
|
+
const E = ze("VcMultivalue");
|
|
41235
41228
|
return k(), Ne(D(Rr), {
|
|
41236
41229
|
key: f.value.key,
|
|
41237
41230
|
label: f.value.displayName,
|
|
@@ -41615,9 +41608,9 @@ const Yae = (t) => function() {
|
|
|
41615
41608
|
let M = P.name;
|
|
41616
41609
|
if (C.includes(M)) {
|
|
41617
41610
|
let Z = 1;
|
|
41618
|
-
const
|
|
41611
|
+
const pe = M.replace(/\.[^/.]+$/, "");
|
|
41619
41612
|
for (; C.includes(M); )
|
|
41620
|
-
M = `${
|
|
41613
|
+
M = `${pe}_${Z}.${P.name.split(".").pop()}`, Z++;
|
|
41621
41614
|
}
|
|
41622
41615
|
const Y = new File([P], M, { type: P.type });
|
|
41623
41616
|
T.push(Y);
|
|
@@ -51814,7 +51807,7 @@ function tC() {
|
|
|
51814
51807
|
ARIA_ATTR: M,
|
|
51815
51808
|
IS_SCRIPT_OR_DATA: Y,
|
|
51816
51809
|
ATTR_WHITESPACE: Z,
|
|
51817
|
-
CUSTOM_ELEMENT:
|
|
51810
|
+
CUSTOM_ELEMENT: pe
|
|
51818
51811
|
} = H_;
|
|
51819
51812
|
let {
|
|
51820
51813
|
IS_ALLOWED_URI: K
|
|
@@ -51841,9 +51834,9 @@ function tC() {
|
|
|
51841
51834
|
enumerable: !0,
|
|
51842
51835
|
value: !1
|
|
51843
51836
|
}
|
|
51844
|
-
})), J = null, H = null, te = !0, de = !0, ge = !1, Te = !0, $e = !1, le = !1, q = !1, F = !1, oe = !1, Oe = !1, je = !1,
|
|
51837
|
+
})), J = null, H = null, te = !0, de = !0, ge = !1, Te = !0, $e = !1, le = !1, q = !1, F = !1, oe = !1, Oe = !1, je = !1, he = !0, Ee = !1;
|
|
51845
51838
|
const fe = "user-content-";
|
|
51846
|
-
let Pe = !0, _e = !1, qe = {},
|
|
51839
|
+
let Pe = !0, _e = !1, qe = {}, Je = null;
|
|
51847
51840
|
const Re = Tt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
51848
51841
|
let ye = null;
|
|
51849
51842
|
const Le = Tt({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
@@ -51874,7 +51867,7 @@ function tC() {
|
|
|
51874
51867
|
// eslint-disable-line indent
|
|
51875
51868
|
Gt
|
|
51876
51869
|
// eslint-disable-line indent
|
|
51877
|
-
) : Le,
|
|
51870
|
+
) : Le, Je = ci(ce, "FORBID_CONTENTS") ? Tt({}, ce.FORBID_CONTENTS, Gt) : Re, J = ci(ce, "FORBID_TAGS") ? Tt({}, ce.FORBID_TAGS, Gt) : {}, H = ci(ce, "FORBID_ATTR") ? Tt({}, ce.FORBID_ATTR, Gt) : {}, qe = ci(ce, "USE_PROFILES") ? ce.USE_PROFILES : !1, te = ce.ALLOW_ARIA_ATTR !== !1, de = ce.ALLOW_DATA_ATTR !== !1, ge = ce.ALLOW_UNKNOWN_PROTOCOLS || !1, Te = ce.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $e = ce.SAFE_FOR_TEMPLATES || !1, le = ce.WHOLE_DOCUMENT || !1, oe = ce.RETURN_DOM || !1, Oe = ce.RETURN_DOM_FRAGMENT || !1, je = ce.RETURN_TRUSTED_TYPE || !1, F = ce.FORCE_BODY || !1, he = ce.SANITIZE_DOM !== !1, Ee = ce.SANITIZE_NAMED_PROPS || !1, Pe = ce.KEEP_CONTENT !== !1, _e = ce.IN_PLACE || !1, K = ce.ALLOWED_URI_REGEXP || ZN, En = ce.NAMESPACE || on, ne = ce.CUSTOM_ELEMENT_HANDLING || {}, ce.CUSTOM_ELEMENT_HANDLING && ai(ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ne.tagNameCheck = ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ce.CUSTOM_ELEMENT_HANDLING && ai(ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ne.attributeNameCheck = ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ce.CUSTOM_ELEMENT_HANDLING && typeof ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ne.allowCustomizedBuiltInElements = ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), $e && (de = !1), Oe && (oe = !0), qe && (U = Tt({}, B_), $ = [], qe.html === !0 && (Tt(U, $_), Tt($, U_)), qe.svg === !0 && (Tt(U, Jp), Tt($, Qp), Tt($, tf)), qe.svgFilters === !0 && (Tt(U, Kp), Tt($, Qp), Tt($, tf)), qe.mathMl === !0 && (Tt(U, Xp), Tt($, j_), Tt($, tf))), ce.ADD_TAGS && (U === R && (U = fo(U)), Tt(U, ce.ADD_TAGS, Gt)), ce.ADD_ATTR && ($ === W && ($ = fo($)), Tt($, ce.ADD_ATTR, Gt)), ce.ADD_URI_SAFE_ATTR && Tt(Xe, ce.ADD_URI_SAFE_ATTR, Gt), ce.FORBID_CONTENTS && (Je === Re && (Je = fo(Je)), Tt(Je, ce.FORBID_CONTENTS, Gt)), Pe && (U["#text"] = !0), le && Tt(U, ["html", "head", "body"]), U.table && (Tt(U, ["tbody"]), delete J.tbody), ce.TRUSTED_TYPES_POLICY) {
|
|
51878
51871
|
if (typeof ce.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
51879
51872
|
throw Dl('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
51880
51873
|
if (typeof ce.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -51977,7 +51970,7 @@ function tC() {
|
|
|
51977
51970
|
if (!U[rt] || J[rt]) {
|
|
51978
51971
|
if (!J[rt] && ta(rt) && (ne.tagNameCheck instanceof RegExp && Ir(ne.tagNameCheck, rt) || ne.tagNameCheck instanceof Function && ne.tagNameCheck(rt)))
|
|
51979
51972
|
return !1;
|
|
51980
|
-
if (Pe && !
|
|
51973
|
+
if (Pe && !Je[rt]) {
|
|
51981
51974
|
const Bt = p(ce) || ce.parentNode, Ft = m(ce) || ce.childNodes;
|
|
51982
51975
|
if (Ft && Bt) {
|
|
51983
51976
|
const wn = Ft.length;
|
|
@@ -51993,7 +51986,7 @@ function tC() {
|
|
|
51993
51986
|
element: ce.cloneNode()
|
|
51994
51987
|
}), ce.textContent = Ue)), Cr("afterSanitizeElements", ce, null), !1);
|
|
51995
51988
|
}, ea = function(ce, Ue, rt) {
|
|
51996
|
-
if (
|
|
51989
|
+
if (he && (Ue === "id" || Ue === "name") && (rt in n || rt in Gr))
|
|
51997
51990
|
return !1;
|
|
51998
51991
|
if (!(de && !H[Ue] && Ir(P, Ue))) {
|
|
51999
51992
|
if (!(te && Ir(M, Ue))) {
|
|
@@ -52021,7 +52014,7 @@ function tC() {
|
|
|
52021
52014
|
}
|
|
52022
52015
|
return !0;
|
|
52023
52016
|
}, ta = function(ce) {
|
|
52024
|
-
return ce !== "annotation-xml" && F_(ce,
|
|
52017
|
+
return ce !== "annotation-xml" && F_(ce, pe);
|
|
52025
52018
|
}, na = function(ce) {
|
|
52026
52019
|
Cr("beforeSanitizeAttributes", ce, null);
|
|
52027
52020
|
const {
|
|
@@ -52191,7 +52184,7 @@ const Wie = {
|
|
|
52191
52184
|
}).format(a);
|
|
52192
52185
|
}
|
|
52193
52186
|
return (a, l) => {
|
|
52194
|
-
const u =
|
|
52187
|
+
const u = ze("VcImage"), c = ze("VcStatus"), d = ze("VcStatusIcon"), f = ze("VcLink");
|
|
52195
52188
|
return k(), V("div", null, [
|
|
52196
52189
|
a.cell.type === "money" ? (k(), V(Ze, { key: 0 }, [
|
|
52197
52190
|
typeof Number(r.value) == "number" ? (k(), V("div", {
|
|
@@ -52320,7 +52313,7 @@ const Wie = {
|
|
|
52320
52313
|
i.value && (i.value = !1);
|
|
52321
52314
|
}
|
|
52322
52315
|
return (h, g) => {
|
|
52323
|
-
const v =
|
|
52316
|
+
const v = ze("VcButton"), b = ze("VcIcon"), m = ze("VcContainer");
|
|
52324
52317
|
return k(), V("div", nse, [
|
|
52325
52318
|
Q("div", {
|
|
52326
52319
|
ref_key: "referenceButton",
|
|
@@ -52419,7 +52412,7 @@ const Wie = {
|
|
|
52419
52412
|
n.value = !1;
|
|
52420
52413
|
}
|
|
52421
52414
|
return (u, c) => {
|
|
52422
|
-
const d =
|
|
52415
|
+
const d = ze("VcIcon");
|
|
52423
52416
|
return k(), V("div", fse, [
|
|
52424
52417
|
Q("div", {
|
|
52425
52418
|
ref_key: "filterToggle",
|
|
@@ -52517,7 +52510,7 @@ const Wie = {
|
|
|
52517
52510
|
r("click");
|
|
52518
52511
|
}
|
|
52519
52512
|
return (N, O) => {
|
|
52520
|
-
const S =
|
|
52513
|
+
const S = ze("VcIcon"), x = Au("touch");
|
|
52521
52514
|
return gn((k(), V("div", {
|
|
52522
52515
|
ref_key: "container",
|
|
52523
52516
|
ref: l,
|
|
@@ -52807,9 +52800,9 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
52807
52800
|
const d = z([]), f = z(!1), h = z(), g = z(), v = z(), b = z([]), m = z([]), p = z(), E = z(!1), y = z(), w = z(), N = z(), O = xI(), S = z(), x = $v(
|
|
52808
52801
|
"VC_TABLE_STATE_" + n.stateKey.toUpperCase(),
|
|
52809
52802
|
[]
|
|
52810
|
-
), A = z([]), T = z(), C = z(), L = z(), P = z(!0), M = z(), Y = z(!1), Z = z(),
|
|
52803
|
+
), A = z([]), T = z(), C = z(), L = z(), P = z(!0), M = z(), Y = z(!1), Z = z(), pe = z();
|
|
52811
52804
|
Su(() => {
|
|
52812
|
-
|
|
52805
|
+
Je();
|
|
52813
52806
|
}), Sv(() => {
|
|
52814
52807
|
b.value = [], s.value = [];
|
|
52815
52808
|
});
|
|
@@ -52827,7 +52820,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
52827
52820
|
"div",
|
|
52828
52821
|
{ class: "tw-border-b tw-border-solid tw-border-b-[#e3e7ec] tw-p-3 tw-gap-2 tw-flex tw-flex-wrap" },
|
|
52829
52822
|
n.columns.map((Ie) => De("div", { class: "tw-grow tw-w-[33%] tw-ml-3 tw-truncate" }, [
|
|
52830
|
-
De(Br, { class: "tw-mb-1 tw-truncate" },
|
|
52823
|
+
De(Br, { class: "tw-mb-1 tw-truncate" }, Ke(Ie.title)),
|
|
52831
52824
|
De(V_, { cell: { ...Ie, class: "!tw-justify-start" }, item: re, class: "" })
|
|
52832
52825
|
]))
|
|
52833
52826
|
)
|
|
@@ -52853,7 +52846,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
52853
52846
|
},
|
|
52854
52847
|
{ deep: !0, immediate: !0 }
|
|
52855
52848
|
);
|
|
52856
|
-
const ne = se(() => A.value.toSorted((re, Ie) => re && Ie && re.title && Ie.title ?
|
|
52849
|
+
const ne = se(() => A.value.toSorted((re, Ie) => re && Ie && re.title && Ie.title ? Ke(re.title).localeCompare(Ke(Ie.title)) : 0)), J = {
|
|
52857
52850
|
start: "tw-justify-start",
|
|
52858
52851
|
end: "tw-justify-end",
|
|
52859
52852
|
center: "tw-justify-center",
|
|
@@ -52872,7 +52865,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
52872
52865
|
Qe(
|
|
52873
52866
|
() => n.items,
|
|
52874
52867
|
(re) => {
|
|
52875
|
-
v.value?.scrollTop(),
|
|
52868
|
+
v.value?.scrollTop(), he(re), d.value = d.value.filter((Ie) => re.includes(Ie));
|
|
52876
52869
|
},
|
|
52877
52870
|
{ deep: !0, immediate: !0 }
|
|
52878
52871
|
), Qe(
|
|
@@ -52946,7 +52939,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
52946
52939
|
left: "0px"
|
|
52947
52940
|
};
|
|
52948
52941
|
});
|
|
52949
|
-
async function
|
|
52942
|
+
async function he(re) {
|
|
52950
52943
|
if (n.enableItemActions && typeof n.itemActionBuilder == "function") {
|
|
52951
52944
|
const Ie = [];
|
|
52952
52945
|
for (let it = 0; it < re.length; it++)
|
|
@@ -52979,7 +52972,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
52979
52972
|
E.value && (E.value = !1, Le());
|
|
52980
52973
|
}));
|
|
52981
52974
|
}
|
|
52982
|
-
function
|
|
52975
|
+
function Je() {
|
|
52983
52976
|
u && (document.removeEventListener("document", u), u = null), c && (document.removeEventListener("document", c), c = null);
|
|
52984
52977
|
}
|
|
52985
52978
|
function Re(re) {
|
|
@@ -53011,7 +53004,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
53011
53004
|
Ce > 15 && pn > 15 && Xe(Ce, pn);
|
|
53012
53005
|
} else
|
|
53013
53006
|
Ce > 15 && (y.value.width = Ce + "px");
|
|
53014
|
-
S.value.style.display = "none",
|
|
53007
|
+
S.value.style.display = "none", Je(), Zn();
|
|
53015
53008
|
}
|
|
53016
53009
|
}
|
|
53017
53010
|
function Xe(re, Ie) {
|
|
@@ -53083,7 +53076,7 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
53083
53076
|
n.reorderableRows && (re.currentTarget.draggable = !0);
|
|
53084
53077
|
}
|
|
53085
53078
|
function Gt(re, Ie) {
|
|
53086
|
-
n.reorderableRows && (Y.value = !0, M.value = Ie,
|
|
53079
|
+
n.reorderableRows && (Y.value = !0, M.value = Ie, pe.value = n.items.indexOf(Ie), re.dataTransfer && re.dataTransfer.setData("text", "row-reorder"));
|
|
53087
53080
|
}
|
|
53088
53081
|
function cr(re, Ie) {
|
|
53089
53082
|
if (!n.reorderableRows)
|
|
@@ -53100,13 +53093,13 @@ const Coe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
|
|
|
53100
53093
|
it && it.classList.remove("vc-table__drag-row-bottom"), Ie.classList.remove("vc-table__drag-row-top"), Ie.classList.remove("vc-table__drag-row-bottom");
|
|
53101
53094
|
}
|
|
53102
53095
|
function ai(re) {
|
|
53103
|
-
Y.value = !1,
|
|
53096
|
+
Y.value = !1, pe.value = void 0, Z.value = void 0, re.currentTarget.draggable = !1;
|
|
53104
53097
|
}
|
|
53105
53098
|
function Or(re) {
|
|
53106
|
-
if (Z.value !== void 0 &&
|
|
53107
|
-
const Ie =
|
|
53108
|
-
Ji(it,
|
|
53109
|
-
dragIndex:
|
|
53099
|
+
if (Z.value !== void 0 && pe.value !== void 0) {
|
|
53100
|
+
const Ie = pe.value > Z.value ? Z.value : Z.value === 0 ? 0 : Z.value - 1, it = [...n.items];
|
|
53101
|
+
Ji(it, pe.value, Ie), r("row:reorder", {
|
|
53102
|
+
dragIndex: pe.value,
|
|
53110
53103
|
dropIndex: Ie,
|
|
53111
53104
|
value: it
|
|
53112
53105
|
});
|