aloha-vue 2.60.0 → 2.60.1
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 +4 -0
- package/dist/aloha-vue.es.js +432 -427
- package/dist/aloha-vue.umd.js +20 -20
- package/package.json +1 -1
- package/src/ATableForm/ATableForm.js +6 -5
- package/src/ATableForm/__tests__/ATableForm.DragAndDropAPI.test.js +3 -1
- package/src/ATableForm/compositionAPI/DragAndDropAPI.js +6 -3
package/dist/aloha-vue.es.js
CHANGED
|
@@ -1997,9 +1997,9 @@ function Ph() {
|
|
|
1997
1997
|
createDocumentFragment: M,
|
|
1998
1998
|
getElementsByTagName: D
|
|
1999
1999
|
} = _, {
|
|
2000
|
-
importNode:
|
|
2000
|
+
importNode: B
|
|
2001
2001
|
} = n;
|
|
2002
|
-
let
|
|
2002
|
+
let Y = pL();
|
|
2003
2003
|
t.isSupported = typeof Nh == "function" && typeof b == "function" && V && V.createHTMLDocument !== void 0;
|
|
2004
2004
|
const {
|
|
2005
2005
|
MUSTACHE_EXPR: $,
|
|
@@ -2166,10 +2166,10 @@ function Ph() {
|
|
|
2166
2166
|
}
|
|
2167
2167
|
const Ka = function(x) {
|
|
2168
2168
|
let Se = null;
|
|
2169
|
-
if (U_(
|
|
2169
|
+
if (U_(Y.beforeSanitizeElements, x, null), Ta(x))
|
|
2170
2170
|
return T_(x), !0;
|
|
2171
2171
|
const Me = Ft(x.nodeName);
|
|
2172
|
-
if (U_(
|
|
2172
|
+
if (U_(Y.uponSanitizeElement, x, {
|
|
2173
2173
|
tagName: Me,
|
|
2174
2174
|
allowedTags: re
|
|
2175
2175
|
}), j && x.hasChildNodes() && !Wa(x.firstElementChild) && B_(/<[/\w!]/g, x.innerHTML) && B_(/<[/\w!]/g, x.textContent) || x.nodeType === Mi.progressingInstruction || j && x.nodeType === Mi.comment && B_(/<[/\w]/g, x.data))
|
|
@@ -2193,7 +2193,7 @@ function Ph() {
|
|
|
2193
2193
|
Se = Pi(Se, Bt, " ");
|
|
2194
2194
|
}), x.textContent !== Se && (yi(t.removed, {
|
|
2195
2195
|
element: x.cloneNode()
|
|
2196
|
-
}), x.textContent = Se)), U_(
|
|
2196
|
+
}), x.textContent = Se)), U_(Y.afterSanitizeElements, x, null), !1);
|
|
2197
2197
|
}, Sa = function(x, Se, Me) {
|
|
2198
2198
|
if (Xe && (Se === "id" || Se === "name") && (Me in _ || Me in Ga))
|
|
2199
2199
|
return !1;
|
|
@@ -2226,7 +2226,7 @@ function Ph() {
|
|
|
2226
2226
|
}, Xa = function(x) {
|
|
2227
2227
|
return x !== "annotation-xml" && cc(x, ue);
|
|
2228
2228
|
}, Tn = function(x) {
|
|
2229
|
-
U_(
|
|
2229
|
+
U_(Y.beforeSanitizeAttributes, x, null);
|
|
2230
2230
|
const {
|
|
2231
2231
|
attributes: Se
|
|
2232
2232
|
} = x;
|
|
@@ -2247,7 +2247,7 @@ function Ph() {
|
|
|
2247
2247
|
value: Vn
|
|
2248
2248
|
} = Zt, La = Ft(jt), Ns = Vn;
|
|
2249
2249
|
let n_ = jt === "value" ? Ns : JB(Ns);
|
|
2250
|
-
if (Me.attrName = La, Me.attrValue = n_, Me.keepAttr = !0, Me.forceKeepAttr = void 0, U_(
|
|
2250
|
+
if (Me.attrName = La, Me.attrValue = n_, Me.keepAttr = !0, Me.forceKeepAttr = void 0, U_(Y.uponSanitizeAttribute, x, Me), n_ = Me.attrValue, ze && (La === "id" || La === "name") && (en(jt, x), n_ = dt + n_), j && B_(/((--!?|])>)|<\/(style|title|textarea)/i, n_)) {
|
|
2251
2251
|
en(jt, x);
|
|
2252
2252
|
continue;
|
|
2253
2253
|
}
|
|
@@ -2291,13 +2291,13 @@ function Ph() {
|
|
|
2291
2291
|
en(jt, x);
|
|
2292
2292
|
}
|
|
2293
2293
|
}
|
|
2294
|
-
U_(
|
|
2294
|
+
U_(Y.afterSanitizeAttributes, x, null);
|
|
2295
2295
|
}, ja = function Ve(x) {
|
|
2296
2296
|
let Se = null;
|
|
2297
2297
|
const Me = ka(x);
|
|
2298
|
-
for (U_(
|
|
2299
|
-
U_(
|
|
2300
|
-
U_(
|
|
2298
|
+
for (U_(Y.beforeSanitizeShadowDOM, x, null); Se = Me.nextNode(); )
|
|
2299
|
+
U_(Y.uponSanitizeShadowNode, Se, null), Ka(Se), Tn(Se), Se.content instanceof s && Ve(Se.content);
|
|
2300
|
+
U_(Y.afterSanitizeShadowDOM, x, null);
|
|
2301
2301
|
};
|
|
2302
2302
|
return t.sanitize = function(Ve) {
|
|
2303
2303
|
let x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Se = null, Me = null, Bt = null, Zt = null;
|
|
@@ -2336,7 +2336,7 @@ function Ph() {
|
|
|
2336
2336
|
Zt.appendChild(Se.firstChild);
|
|
2337
2337
|
else
|
|
2338
2338
|
Zt = Se;
|
|
2339
|
-
return (Re.shadowroot || Re.shadowrootmode) && (Zt =
|
|
2339
|
+
return (Re.shadowroot || Re.shadowrootmode) && (Zt = B.call(n, Zt, !0)), Zt;
|
|
2340
2340
|
}
|
|
2341
2341
|
let p_ = le ? Se.outerHTML : Se.innerHTML;
|
|
2342
2342
|
return le && re["!doctype"] && Se.ownerDocument && Se.ownerDocument.doctype && Se.ownerDocument.doctype.name && B_(yh, Se.ownerDocument.doctype.name) && (p_ = "<!DOCTYPE " + Se.ownerDocument.doctype.name + `>
|
|
@@ -2353,17 +2353,17 @@ function Ph() {
|
|
|
2353
2353
|
const Me = Ft(Ve), Bt = Ft(x);
|
|
2354
2354
|
return Sa(Me, Bt, Se);
|
|
2355
2355
|
}, t.addHook = function(Ve, x) {
|
|
2356
|
-
typeof x == "function" && yi(
|
|
2356
|
+
typeof x == "function" && yi(Y[Ve], x);
|
|
2357
2357
|
}, t.removeHook = function(Ve, x) {
|
|
2358
2358
|
if (x !== void 0) {
|
|
2359
|
-
const Se = XB(
|
|
2360
|
-
return Se === -1 ? void 0 : jB(
|
|
2359
|
+
const Se = XB(Y[Ve], x);
|
|
2360
|
+
return Se === -1 ? void 0 : jB(Y[Ve], Se, 1)[0];
|
|
2361
2361
|
}
|
|
2362
|
-
return SL(
|
|
2362
|
+
return SL(Y[Ve]);
|
|
2363
2363
|
}, t.removeHooks = function(Ve) {
|
|
2364
|
-
|
|
2364
|
+
Y[Ve] = [];
|
|
2365
2365
|
}, t.removeAllHooks = function() {
|
|
2366
|
-
|
|
2366
|
+
Y = pL();
|
|
2367
2367
|
}, t;
|
|
2368
2368
|
}
|
|
2369
2369
|
var Nd = Ph();
|
|
@@ -4065,7 +4065,7 @@ const tV = (e) => ({
|
|
|
4065
4065
|
}, C = Fd(a), h = Vd(C), R = await i.getDimensions(A), p = C === "y", O = p ? "top" : "left", m = p ? "bottom" : "right", b = p ? "clientHeight" : "clientWidth", g = s.reference[h] + s.reference[C] - f[C] - s.floating[h], U = f[C] - s.reference[C], V = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(A));
|
|
4066
4066
|
let F = V ? V[b] : 0;
|
|
4067
4067
|
(!F || !await (i.isElement == null ? void 0 : i.isElement(V))) && (F = o.floating[b] || s.floating[h]);
|
|
4068
|
-
const M = g / 2 - U / 2, D = F / 2 - R[h] / 2 - 1,
|
|
4068
|
+
const M = g / 2 - U / 2, D = F / 2 - R[h] / 2 - 1, B = si(L[O], D), Y = si(L[m], D), $ = B, H = F - R[h] - Y, K = F / 2 - R[h] / 2 + M, k = qc($, K, H), z = !c.arrow && oa(a) != null && K !== k && s.reference[h] / 2 - (K < $ ? B : Y) - R[h] / 2 < 0, X = z ? K < $ ? K - $ : K - H : 0;
|
|
4069
4069
|
return {
|
|
4070
4070
|
[C]: f[C] + X,
|
|
4071
4071
|
data: {
|
|
@@ -4124,21 +4124,21 @@ const nV = function(e) {
|
|
|
4124
4124
|
placement: V
|
|
4125
4125
|
}
|
|
4126
4126
|
};
|
|
4127
|
-
const F = U.map((
|
|
4128
|
-
const
|
|
4129
|
-
return [
|
|
4127
|
+
const F = U.map((B) => {
|
|
4128
|
+
const Y = oa(B.placement);
|
|
4129
|
+
return [B.placement, Y && T ? (
|
|
4130
4130
|
// Check along the mainAxis and main crossAxis side.
|
|
4131
|
-
|
|
4131
|
+
B.overflows.slice(0, 2).reduce(($, H) => $ + H, 0)
|
|
4132
4132
|
) : (
|
|
4133
4133
|
// Check only the mainAxis.
|
|
4134
|
-
|
|
4135
|
-
),
|
|
4136
|
-
}).sort((
|
|
4134
|
+
B.overflows[0]
|
|
4135
|
+
), B.overflows];
|
|
4136
|
+
}).sort((B, Y) => B[1] - Y[1]), D = ((a = F.filter((B) => B[2].slice(
|
|
4137
4137
|
0,
|
|
4138
4138
|
// Aligned placements should not check their opposite crossAxis
|
|
4139
4139
|
// side.
|
|
4140
|
-
oa(
|
|
4141
|
-
).every((
|
|
4140
|
+
oa(B[0]) ? 2 : 3
|
|
4141
|
+
).every((Y) => Y <= 0))[0]) == null ? void 0 : a[0]) || F[0][0];
|
|
4142
4142
|
return D !== o ? {
|
|
4143
4143
|
data: {
|
|
4144
4144
|
index: O + 1,
|
|
@@ -4177,35 +4177,35 @@ const nV = function(e) {
|
|
|
4177
4177
|
const O = Ea(a), m = va(o), b = Ea(o) === o, g = await (c.isRTL == null ? void 0 : c.isRTL(A.floating)), U = f || (b || !R ? [Qo(o)] : XM(o)), V = h !== "none";
|
|
4178
4178
|
!f && V && U.push(...ZM(o, R, h, g));
|
|
4179
4179
|
const F = [o, ...U], M = await rl(t, p), D = [];
|
|
4180
|
-
let
|
|
4180
|
+
let B = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
4181
4181
|
if (T && D.push(M[O]), L) {
|
|
4182
4182
|
const K = qh(a, i, g);
|
|
4183
4183
|
D.push(M[K[0]], M[K[1]]);
|
|
4184
4184
|
}
|
|
4185
|
-
if (
|
|
4185
|
+
if (B = [...B, {
|
|
4186
4186
|
placement: a,
|
|
4187
4187
|
overflows: D
|
|
4188
4188
|
}], !D.every((K) => K <= 0)) {
|
|
4189
|
-
var
|
|
4190
|
-
const K = (((
|
|
4189
|
+
var Y, $;
|
|
4190
|
+
const K = (((Y = s.flip) == null ? void 0 : Y.index) || 0) + 1, k = F[K];
|
|
4191
4191
|
if (k && (!(L === "alignment" ? m !== va(k) : !1) || // We leave the current main axis only if every placement on that axis
|
|
4192
4192
|
// overflows the main axis.
|
|
4193
|
-
|
|
4193
|
+
B.every((J) => va(J.placement) === m ? J.overflows[0] > 0 : !0)))
|
|
4194
4194
|
return {
|
|
4195
4195
|
data: {
|
|
4196
4196
|
index: K,
|
|
4197
|
-
overflows:
|
|
4197
|
+
overflows: B
|
|
4198
4198
|
},
|
|
4199
4199
|
reset: {
|
|
4200
4200
|
placement: k
|
|
4201
4201
|
}
|
|
4202
4202
|
};
|
|
4203
|
-
let z = ($ =
|
|
4203
|
+
let z = ($ = B.filter((X) => X.overflows[0] <= 0).sort((X, J) => X.overflows[1] - J.overflows[1])[0]) == null ? void 0 : $.placement;
|
|
4204
4204
|
if (!z)
|
|
4205
4205
|
switch (C) {
|
|
4206
4206
|
case "bestFit": {
|
|
4207
4207
|
var H;
|
|
4208
|
-
const X = (H =
|
|
4208
|
+
const X = (H = B.filter((J) => {
|
|
4209
4209
|
if (V) {
|
|
4210
4210
|
const ue = va(J.placement);
|
|
4211
4211
|
return ue === m || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -4991,21 +4991,21 @@ function HV(e) {
|
|
|
4991
4991
|
element: T.value,
|
|
4992
4992
|
padding: 5
|
|
4993
4993
|
})
|
|
4994
|
-
]), R = (
|
|
4995
|
-
|
|
4994
|
+
]), R = (Y) => {
|
|
4995
|
+
Y.keyCode === ne.escape && B();
|
|
4996
4996
|
}, p = () => {
|
|
4997
4997
|
document.addEventListener("keydown", R);
|
|
4998
4998
|
}, O = () => {
|
|
4999
4999
|
document.removeEventListener("keydown", R);
|
|
5000
5000
|
}, m = () => {
|
|
5001
|
-
kt.$on("closeHtmlTitle",
|
|
5001
|
+
kt.$on("closeHtmlTitle", B);
|
|
5002
5002
|
}, b = () => {
|
|
5003
|
-
kt.$off("closeHtmlTitle",
|
|
5003
|
+
kt.$off("closeHtmlTitle", B);
|
|
5004
5004
|
}, g = () => {
|
|
5005
5005
|
i.value && (i.value(), i.value = void 0);
|
|
5006
5006
|
}, U = () => {
|
|
5007
5007
|
A.value = setTimeout(() => {
|
|
5008
|
-
|
|
5008
|
+
B();
|
|
5009
5009
|
}, s.value);
|
|
5010
5010
|
}, V = () => {
|
|
5011
5011
|
if (c.value) {
|
|
@@ -5022,9 +5022,9 @@ function HV(e) {
|
|
|
5022
5022
|
placement: a.value,
|
|
5023
5023
|
middleware: h.value
|
|
5024
5024
|
}
|
|
5025
|
-
).then(({ x:
|
|
5025
|
+
).then(({ x: Y, y: $, middlewareData: H, placement: K }) => {
|
|
5026
5026
|
Object.assign(L.value.style, {
|
|
5027
|
-
left: `${
|
|
5027
|
+
left: `${Y}px`,
|
|
5028
5028
|
top: `${$}px`
|
|
5029
5029
|
});
|
|
5030
5030
|
const k = K.split("-")[0], z = {
|
|
@@ -5048,11 +5048,11 @@ function HV(e) {
|
|
|
5048
5048
|
}, D = () => {
|
|
5049
5049
|
U();
|
|
5050
5050
|
};
|
|
5051
|
-
function
|
|
5051
|
+
function B() {
|
|
5052
5052
|
clearTimeout(A.value), g(), b(), O(), c.value = !1;
|
|
5053
5053
|
}
|
|
5054
5054
|
return {
|
|
5055
|
-
closeTitle:
|
|
5055
|
+
closeTitle: B,
|
|
5056
5056
|
closeTitleWithTimer: U,
|
|
5057
5057
|
componentRef: o,
|
|
5058
5058
|
isTitleVisible: c,
|
|
@@ -6263,9 +6263,9 @@ function An() {
|
|
|
6263
6263
|
keyLabel: F = "",
|
|
6264
6264
|
keyLabelCallback: M,
|
|
6265
6265
|
listClass: D = "",
|
|
6266
|
-
separator:
|
|
6267
|
-
tag:
|
|
6268
|
-
} = {}) => tE(b, { isHtml: g, listClass: D, keyLabel: F, keyLabelCallback: M, keyChildren: V, isSimpleArray: U, separator:
|
|
6266
|
+
separator: B = ", ",
|
|
6267
|
+
tag: Y = "ul"
|
|
6268
|
+
} = {}) => tE(b, { isHtml: g, listClass: D, keyLabel: F, keyLabelCallback: M, keyChildren: V, isSimpleArray: U, separator: B, tag: Y }),
|
|
6269
6269
|
filterLowerCase: (b) => CF(b),
|
|
6270
6270
|
filterMask: (b, { chars: g = 4, mask: U = "*" } = {}) => RF(b, { chars: g, mask: U }),
|
|
6271
6271
|
filterPropertyByValue: (b, { mapping: g = {}, defaultValue: U = "" } = {}) => pF(b, { mapping: g, defaultValue: U }),
|
|
@@ -7225,8 +7225,8 @@ const Cl = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
7225
7225
|
loadDataFromServerForRetrieve: F,
|
|
7226
7226
|
loadDataFromServerForSearchAPI: M,
|
|
7227
7227
|
loadingDataFromServer: D,
|
|
7228
|
-
loadingSearchApi:
|
|
7229
|
-
onSearchInApi:
|
|
7228
|
+
loadingSearchApi: B,
|
|
7229
|
+
onSearchInApi: Y,
|
|
7230
7230
|
searchApiLocal: $,
|
|
7231
7231
|
updateUrlPropsComputed: H,
|
|
7232
7232
|
urlPropsComputed: K
|
|
@@ -7291,7 +7291,7 @@ const Cl = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
7291
7291
|
hasKeyGroup: ue,
|
|
7292
7292
|
keyGroupArray: ge,
|
|
7293
7293
|
searchApiLocal: $,
|
|
7294
|
-
onSearchInApi:
|
|
7294
|
+
onSearchInApi: Y
|
|
7295
7295
|
}), {
|
|
7296
7296
|
onChangeModelValue: dt
|
|
7297
7297
|
} = NF(e, {
|
|
@@ -7345,7 +7345,7 @@ const Cl = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
7345
7345
|
isModelValue: xt,
|
|
7346
7346
|
labelDescriptionId: T,
|
|
7347
7347
|
loadingLocal: k,
|
|
7348
|
-
loadingSearchApi:
|
|
7348
|
+
loadingSearchApi: B,
|
|
7349
7349
|
modelSearch: je,
|
|
7350
7350
|
modelSearchLowerCase: it,
|
|
7351
7351
|
modelSearchOutside: Te,
|
|
@@ -9325,7 +9325,7 @@ var ow = xi.exports, FL;
|
|
|
9325
9325
|
function Ew() {
|
|
9326
9326
|
return FL || (FL = 1, function(e, t) {
|
|
9327
9327
|
(function() {
|
|
9328
|
-
var _, n = "4.17.21", a = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", i = "Expected a function", o = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", A = 500, T = "__lodash_placeholder__", L = 1, f = 2, C = 4, h = 1, R = 2, p = 1, O = 2, m = 4, b = 8, g = 16, U = 32, V = 64, F = 128, M = 256, D = 512,
|
|
9328
|
+
var _, n = "4.17.21", a = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", i = "Expected a function", o = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", A = 500, T = "__lodash_placeholder__", L = 1, f = 2, C = 4, h = 1, R = 2, p = 1, O = 2, m = 4, b = 8, g = 16, U = 32, V = 64, F = 128, M = 256, D = 512, B = 30, Y = "...", $ = 800, H = 16, K = 1, k = 2, z = 3, X = 1 / 0, J = 9007199254740991, ue = 17976931348623157e292, ge = NaN, re = 4294967295, Ue = re - 1, Re = re >>> 1, Ge = [
|
|
9329
9329
|
["ary", F],
|
|
9330
9330
|
["bind", p],
|
|
9331
9331
|
["bindKey", O],
|
|
@@ -12685,7 +12685,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
12685
12685
|
return nr(I, v).join("");
|
|
12686
12686
|
}
|
|
12687
12687
|
function jg(r, l) {
|
|
12688
|
-
var S =
|
|
12688
|
+
var S = B, I = Y;
|
|
12689
12689
|
if (Kt(l)) {
|
|
12690
12690
|
var v = "separator" in l ? l.separator : v;
|
|
12691
12691
|
S = "length" in l ? at(l.length) : S, I = "omission" in l ? nn(l.omission) : I;
|
|
@@ -13011,14 +13011,14 @@ function uw(e, {
|
|
|
13011
13011
|
return t.value;
|
|
13012
13012
|
const b = 0, g = t.value.length - 1, U = m - 2, V = g / (U + 1), F = /* @__PURE__ */ new Set();
|
|
13013
13013
|
F.add(b), F.add(g);
|
|
13014
|
-
for (let
|
|
13015
|
-
const $ = bh(
|
|
13014
|
+
for (let Y = 1; Y <= U; Y++) {
|
|
13015
|
+
const $ = bh(Y * V);
|
|
13016
13016
|
F.add($);
|
|
13017
13017
|
}
|
|
13018
13018
|
const M = [];
|
|
13019
|
-
let D = -1,
|
|
13020
|
-
return Er.forEach(ae(t.value), (
|
|
13021
|
-
|
|
13019
|
+
let D = -1, B = [];
|
|
13020
|
+
return Er.forEach(ae(t.value), (Y, $) => {
|
|
13021
|
+
Y[zo] = $, F.has($) ? (D !== -1 && B.length > 0 && (M[M.length - 1][vn] = B, B = []), M.push(Y), D = $) : B.push(Y);
|
|
13022
13022
|
}), M;
|
|
13023
13023
|
});
|
|
13024
13024
|
return {
|
|
@@ -13944,7 +13944,7 @@ function mw(e) {
|
|
|
13944
13944
|
const t = u(e, "currentLanguage"), _ = u(e, "disabledTime"), n = u(e, "id"), a = u(e, "minuteStep"), s = u(e, "timePrecision"), i = u(e, "value"), o = E(() => De(_.value)), c = (F) => ("00" + F).slice(String(F).length), A = E(() => i.value ? new Date(i.value) : (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), T = ({ columnIndex: F, rowIndex: M }) => `${n.value}_time_${F}_${M}`, L = E(() => ki(24)), f = E(() => i.value ? new Date(i.value).getHours() : 0), C = E(() => s.value ? s.value : a.value === 0 ? "second" : "minute"), h = E(() => a.value || 1), R = E(() => parseInt(60 / h.value)), p = E(() => C.value === "hour" ? [] : ki(0, R.value * h.value, h.value)), O = E(() => i.value ? new Date(i.value).getMinutes() : 0), m = E(() => C.value === "second" ? ki(0, 60) : []), b = (F) => {
|
|
13945
13945
|
const M = new Date(F);
|
|
13946
13946
|
return C.value === "hour" ? M.setMinutes(0, 0, 0) : C.value === "minute" && M.setSeconds(0, 0), M;
|
|
13947
|
-
}, g = E(() => i.value ? new Date(i.value).getSeconds() : 0), U = ({ times: F, timeFunctionName: M, currentTime: D, ariaLabel:
|
|
13947
|
+
}, g = E(() => i.value ? new Date(i.value).getSeconds() : 0), U = ({ times: F, timeFunctionName: M, currentTime: D, ariaLabel: B, columnIndex: Y }) => {
|
|
13948
13948
|
const $ = [];
|
|
13949
13949
|
return F.forEach((H, K) => {
|
|
13950
13950
|
const k = new Date(A.value);
|
|
@@ -13955,9 +13955,9 @@ function mw(e) {
|
|
|
13955
13955
|
time: z,
|
|
13956
13956
|
isActive: X,
|
|
13957
13957
|
isDisabled: J,
|
|
13958
|
-
ariaLabel: `${
|
|
13958
|
+
ariaLabel: `${B}: ${ue}`,
|
|
13959
13959
|
id: T({
|
|
13960
|
-
columnIndex:
|
|
13960
|
+
columnIndex: Y,
|
|
13961
13961
|
rowIndex: K
|
|
13962
13962
|
})
|
|
13963
13963
|
});
|
|
@@ -13973,22 +13973,22 @@ function mw(e) {
|
|
|
13973
13973
|
columnIndex: M
|
|
13974
13974
|
});
|
|
13975
13975
|
D.length && (F.push(D), M++);
|
|
13976
|
-
const
|
|
13976
|
+
const B = U({
|
|
13977
13977
|
times: p.value,
|
|
13978
13978
|
timeFunctionName: "setMinutes",
|
|
13979
13979
|
currentTime: O.value,
|
|
13980
13980
|
ariaLabel: t.value.minutes,
|
|
13981
13981
|
columnIndex: M
|
|
13982
13982
|
});
|
|
13983
|
-
|
|
13984
|
-
const
|
|
13983
|
+
B.length && (F.push(B), M++);
|
|
13984
|
+
const Y = U({
|
|
13985
13985
|
times: m.value,
|
|
13986
13986
|
timeFunctionName: "setSeconds",
|
|
13987
13987
|
currentTime: g.value,
|
|
13988
13988
|
ariaLabel: t.value.seconds,
|
|
13989
13989
|
columnIndex: M
|
|
13990
13990
|
});
|
|
13991
|
-
return
|
|
13991
|
+
return Y.length && F.push(Y), F;
|
|
13992
13992
|
});
|
|
13993
13993
|
return {
|
|
13994
13994
|
getCurrentId: T,
|
|
@@ -15071,11 +15071,11 @@ function Fw(e, { emit: t }, {
|
|
|
15071
15071
|
n({
|
|
15072
15072
|
model: Oe
|
|
15073
15073
|
}), t(te, Oe);
|
|
15074
|
-
}, D = (te = !1) => A.value && !te || T.value || (c.value ? F(L.value, h.value) : V(L.value, h.value)) ? !1 : (M("change"), !0),
|
|
15074
|
+
}, D = (te = !1) => A.value && !te || T.value || (c.value ? F(L.value, h.value) : V(L.value, h.value)) ? !1 : (M("change"), !0), B = (te) => {
|
|
15075
15075
|
te && te.stopPropagation();
|
|
15076
15076
|
const Oe = c.value ? [null, null] : null;
|
|
15077
15077
|
h.value = Oe, D(!0), t("clear");
|
|
15078
|
-
},
|
|
15078
|
+
}, Y = (te) => {
|
|
15079
15079
|
h.value = te, D() && a(), o();
|
|
15080
15080
|
}, $ = (te, Oe) => {
|
|
15081
15081
|
h.value = te, D() && Oe && a(), Oe && o();
|
|
@@ -15104,7 +15104,7 @@ function Fw(e, { emit: t }, {
|
|
|
15104
15104
|
let te = U.value;
|
|
15105
15105
|
const Oe = _.value.isDisabledTime;
|
|
15106
15106
|
if (!te) {
|
|
15107
|
-
|
|
15107
|
+
B();
|
|
15108
15108
|
return;
|
|
15109
15109
|
}
|
|
15110
15110
|
if (c.value)
|
|
@@ -15121,7 +15121,7 @@ function Fw(e, { emit: t }, {
|
|
|
15121
15121
|
_.value.setFocusToActivePanelFromParent();
|
|
15122
15122
|
};
|
|
15123
15123
|
return {
|
|
15124
|
-
clearDate:
|
|
15124
|
+
clearDate: B,
|
|
15125
15125
|
confirmDate: () => {
|
|
15126
15126
|
(c.value ? Lw(h.value) : Hn(h.value)) && D(!0), M("confirm"), a();
|
|
15127
15127
|
},
|
|
@@ -15140,7 +15140,7 @@ function Fw(e, { emit: t }, {
|
|
|
15140
15140
|
c.value ? h.value = [null, null] : h.value = b(te) ? ue(te) : null;
|
|
15141
15141
|
},
|
|
15142
15142
|
parse: X,
|
|
15143
|
-
selectDate:
|
|
15143
|
+
selectDate: Y,
|
|
15144
15144
|
selectEndDate: K,
|
|
15145
15145
|
selectEndTime: z,
|
|
15146
15146
|
selectStartDate: H,
|
|
@@ -15768,9 +15768,9 @@ const zd = {
|
|
|
15768
15768
|
} = s_(e, t), {
|
|
15769
15769
|
isAutofill: M
|
|
15770
15770
|
} = oA({ inputRef: L }), D = E(() => !!(b.value && e.errorIcon)), {
|
|
15771
|
-
currentLanguage:
|
|
15771
|
+
currentLanguage: B
|
|
15772
15772
|
} = ww(), {
|
|
15773
|
-
closePopover:
|
|
15773
|
+
closePopover: Y,
|
|
15774
15774
|
destroyPopover: $,
|
|
15775
15775
|
initCalendar: H,
|
|
15776
15776
|
openPopoverWithFloatingUi: K,
|
|
@@ -15814,7 +15814,7 @@ const zd = {
|
|
|
15814
15814
|
} = Fw(e, t, {
|
|
15815
15815
|
calendarPanelRef: c,
|
|
15816
15816
|
changeModel: h,
|
|
15817
|
-
closePopover:
|
|
15817
|
+
closePopover: Y,
|
|
15818
15818
|
formatLocal: a,
|
|
15819
15819
|
formatSaveLocal: s,
|
|
15820
15820
|
setCloseFocus: z
|
|
@@ -15841,11 +15841,11 @@ const zd = {
|
|
|
15841
15841
|
clearDate: Ge,
|
|
15842
15842
|
clearModel: R,
|
|
15843
15843
|
parse: Fe,
|
|
15844
|
-
closePopover:
|
|
15844
|
+
closePopover: Y,
|
|
15845
15845
|
componentStyleHide: f,
|
|
15846
15846
|
confirmDate: ve,
|
|
15847
15847
|
stringify: He,
|
|
15848
|
-
currentLanguage:
|
|
15848
|
+
currentLanguage: B,
|
|
15849
15849
|
currentValue: te,
|
|
15850
15850
|
destroyPopover: $,
|
|
15851
15851
|
emitDate: Oe,
|
|
@@ -17333,8 +17333,8 @@ function E$(e, { emit: t }, {
|
|
|
17333
17333
|
}
|
|
17334
17334
|
}) {
|
|
17335
17335
|
const A = u(e, "disabled"), T = u(e, "dropdownRenderDefault"), L = u(e, "elementsForArrows"), f = u(e, "id"), C = u(e, "isCloseByClickInside"), h = u(e, "isCloseByClickOutside"), R = u(e, "isListWidthSameWithButton"), p = u(e, "lockArrowsNavigation"), O = u(e, "lockTabNavigation"), m = u(e, "persist"), b = u(e, "useEscape"), g = N(void 0), U = N(!1), V = N(!1), F = N(void 0), M = N(void 0), D = N(!1), {
|
|
17336
|
-
closeDropdownGlobal:
|
|
17337
|
-
openDropdownGlobal:
|
|
17336
|
+
closeDropdownGlobal: B,
|
|
17337
|
+
openDropdownGlobal: Y
|
|
17338
17338
|
} = EC(), $ = () => {
|
|
17339
17339
|
D.value = T.value || !1;
|
|
17340
17340
|
}, H = ({ down: ce }) => {
|
|
@@ -17397,7 +17397,7 @@ function E$(e, { emit: t }, {
|
|
|
17397
17397
|
document.getElementById(Pe).focus();
|
|
17398
17398
|
}) : ce === "click" && setTimeout(() => {
|
|
17399
17399
|
o();
|
|
17400
|
-
}),
|
|
17400
|
+
}), Y(), i({
|
|
17401
17401
|
id: f.value
|
|
17402
17402
|
}), t("open");
|
|
17403
17403
|
}));
|
|
@@ -17407,7 +17407,7 @@ function E$(e, { emit: t }, {
|
|
|
17407
17407
|
(ce.keyCode === ne.enter || ce.keyCode === ne.space) && (Re({ $event: ce }), ce.stopPropagation(), ce.preventDefault()), (ce.keyCode === ne.arrowUp || ce.keyCode === ne.arrowDown) && (V.value || Ue());
|
|
17408
17408
|
};
|
|
17409
17409
|
function ve({ isFocusButton: ce = !0, trigger: Pe }) {
|
|
17410
|
-
J(), ge(), s(), V.value = !1,
|
|
17410
|
+
J(), ge(), s(), V.value = !1, B(), Pe && Pe !== "hover" && // the event did not come from outside
|
|
17411
17411
|
M.value !== "hover" && ce && k(), M.value = void 0, _({
|
|
17412
17412
|
id: f.value
|
|
17413
17413
|
}), t("close");
|
|
@@ -17927,8 +17927,8 @@ const c$ = {
|
|
|
17927
17927
|
triggerOpen: U
|
|
17928
17928
|
}), {
|
|
17929
17929
|
idLocal: D,
|
|
17930
|
-
buttonAttributesDisabled:
|
|
17931
|
-
buttonAttributesLocal:
|
|
17930
|
+
buttonAttributesDisabled: B,
|
|
17931
|
+
buttonAttributesLocal: Y,
|
|
17932
17932
|
buttonTagLocal: $,
|
|
17933
17933
|
dropdownAttributesLocal: H,
|
|
17934
17934
|
isMenuRendered: K
|
|
@@ -17959,8 +17959,8 @@ const c$ = {
|
|
|
17959
17959
|
});
|
|
17960
17960
|
}), {
|
|
17961
17961
|
actionsFiltered: k,
|
|
17962
|
-
buttonAttributesDisabled:
|
|
17963
|
-
buttonAttributesLocal:
|
|
17962
|
+
buttonAttributesDisabled: B,
|
|
17963
|
+
buttonAttributesLocal: Y,
|
|
17964
17964
|
buttonClassLocal: ue,
|
|
17965
17965
|
buttonTagLocal: $,
|
|
17966
17966
|
buttonWidth: L,
|
|
@@ -18091,24 +18091,24 @@ function T$(e, {
|
|
|
18091
18091
|
return F;
|
|
18092
18092
|
if (O.value) {
|
|
18093
18093
|
const M = R.value ? c.value : [C.value];
|
|
18094
|
-
let D = "",
|
|
18095
|
-
Z(M, (
|
|
18096
|
-
!
|
|
18097
|
-
placeholder:
|
|
18094
|
+
let D = "", B = "";
|
|
18095
|
+
Z(M, (Y) => {
|
|
18096
|
+
!Y && Y !== 0 || (D && (D += " ", B += " "), A(Y) ? (D += T({
|
|
18097
|
+
placeholder: Y,
|
|
18098
18098
|
extra: i.value,
|
|
18099
18099
|
alwaysTranslate: s.value
|
|
18100
|
-
}),
|
|
18101
|
-
}), F.safeHtml = D || void 0, F.dataTranslateSafeHtml =
|
|
18100
|
+
}), B += Y) : D += Y);
|
|
18101
|
+
}), F.safeHtml = D || void 0, F.dataTranslateSafeHtml = B || void 0;
|
|
18102
18102
|
} else if (m.value) {
|
|
18103
18103
|
const M = p.value ? o.value : [h.value];
|
|
18104
|
-
let D = "",
|
|
18105
|
-
Z(M, (
|
|
18106
|
-
!
|
|
18107
|
-
placeholder:
|
|
18104
|
+
let D = "", B = "";
|
|
18105
|
+
Z(M, (Y) => {
|
|
18106
|
+
!Y && Y !== 0 || (D && (D += " ", B += " "), A(Y) ? (D += jo(T({
|
|
18107
|
+
placeholder: Y,
|
|
18108
18108
|
extra: i.value,
|
|
18109
18109
|
alwaysTranslate: s.value
|
|
18110
|
-
})),
|
|
18111
|
-
}), F.html = oe(D) ? void 0 : D, F.dataTranslateHtml = oe(
|
|
18110
|
+
})), B += Y) : D += jo(Y));
|
|
18111
|
+
}), F.html = oe(D) ? void 0 : D, F.dataTranslateHtml = oe(B) ? void 0 : B;
|
|
18112
18112
|
}
|
|
18113
18113
|
return F;
|
|
18114
18114
|
}), V = E(() => `${b.value}${U.value.safeHtml || U.value.html}${g.value}`);
|
|
@@ -19306,12 +19306,12 @@ const k_ = {
|
|
|
19306
19306
|
iconBtnShowPassword: F,
|
|
19307
19307
|
isBtnShowPasswordVisible: M,
|
|
19308
19308
|
titleBtnShowPassword: D,
|
|
19309
|
-
toggleTypePassword:
|
|
19309
|
+
toggleTypePassword: B
|
|
19310
19310
|
} = M$(e, {
|
|
19311
19311
|
setTypeLocal: a,
|
|
19312
19312
|
typeForInput: s
|
|
19313
19313
|
}), {
|
|
19314
|
-
isAutofill:
|
|
19314
|
+
isAutofill: Y
|
|
19315
19315
|
} = oA({ inputRef: c }), {
|
|
19316
19316
|
hasErrorIcon: $,
|
|
19317
19317
|
inputClassBtns: H
|
|
@@ -19341,7 +19341,7 @@ const k_ = {
|
|
|
19341
19341
|
iconBtnShowPassword: F,
|
|
19342
19342
|
inputClassBtns: H,
|
|
19343
19343
|
inputRef: c,
|
|
19344
|
-
isAutofill:
|
|
19344
|
+
isAutofill: Y,
|
|
19345
19345
|
isBtnShowPasswordVisible: M,
|
|
19346
19346
|
isClearButtonLocal: U,
|
|
19347
19347
|
isErrors: p,
|
|
@@ -19354,7 +19354,7 @@ const k_ = {
|
|
|
19354
19354
|
onInput: V,
|
|
19355
19355
|
placeholderAttributes: K,
|
|
19356
19356
|
titleBtnShowPassword: D,
|
|
19357
|
-
toggleTypePassword:
|
|
19357
|
+
toggleTypePassword: B,
|
|
19358
19358
|
typeForInput: s
|
|
19359
19359
|
};
|
|
19360
19360
|
},
|
|
@@ -19562,7 +19562,7 @@ function $$(e, {
|
|
|
19562
19562
|
ne.arrowRight,
|
|
19563
19563
|
ne.home,
|
|
19564
19564
|
ne.end
|
|
19565
|
-
], D = E(() => !b.value),
|
|
19565
|
+
], D = E(() => !b.value), B = (j) => Number(`${j}`.replaceAll(g.value, "").replace(T.value, ".")), Y = ({ value: j, start: le, end: Ae, replacement: he = "" }) => `${j.slice(0, le)}${he}${j.slice(Ae)}`, $ = (j) => j === "0" || j === "-0", H = ({ value: j, updateOutside: le, trigger: Ae, triggerDetails: he }) => {
|
|
19566
19566
|
A({ value: j, updateOutside: le, trigger: Ae, triggerDetails: he });
|
|
19567
19567
|
}, K = (j) => {
|
|
19568
19568
|
requestAnimationFrame(() => {
|
|
@@ -19581,7 +19581,7 @@ function $$(e, {
|
|
|
19581
19581
|
}, J = (j) => {
|
|
19582
19582
|
if (!U.value || (!O.value || m.value) && (oe(j) || j === ""))
|
|
19583
19583
|
return !1;
|
|
19584
|
-
const le =
|
|
19584
|
+
const le = B(j);
|
|
19585
19585
|
return Number.isNaN(le) ? !1 : !oe(C.value) && le > C.value ? (s.value < C.value && z(), !0) : !oe(h.value) && le < h.value ? (s.value > h.value && X(), !0) : !1;
|
|
19586
19586
|
}, ue = (j, { value: le, updateOutside: Ae = !1, triggerDetails: he = "keydown" } = {}) => {
|
|
19587
19587
|
var Ct, xt;
|
|
@@ -19754,7 +19754,7 @@ function $$(e, {
|
|
|
19754
19754
|
return;
|
|
19755
19755
|
}
|
|
19756
19756
|
if (j.keyCode === ne.backspace) {
|
|
19757
|
-
const yt = !D.value && nt && Ut === Tt - 1 ? pe.split(T.value)[0] :
|
|
19757
|
+
const yt = !D.value && nt && Ut === Tt - 1 ? pe.split(T.value)[0] : Y(he ? { value: pe, start: le, end: Ae } : { value: pe, start: Math.max(le - 1, 0), end: Ae });
|
|
19758
19758
|
if (J(yt)) {
|
|
19759
19759
|
j.preventDefault();
|
|
19760
19760
|
return;
|
|
@@ -19765,7 +19765,7 @@ function $$(e, {
|
|
|
19765
19765
|
return;
|
|
19766
19766
|
}
|
|
19767
19767
|
if (j.keyCode === ne.del) {
|
|
19768
|
-
const yt = !D.value && nt && pe[Tt] === T.value ? pe.split(T.value)[0] :
|
|
19768
|
+
const yt = !D.value && nt && pe[Tt] === T.value ? pe.split(T.value)[0] : Y(he ? { value: pe, start: le, end: Ae } : { value: pe, start: le, end: Math.min(Ae + 1, pe.length) });
|
|
19769
19769
|
if (J(yt)) {
|
|
19770
19770
|
j.preventDefault();
|
|
19771
19771
|
return;
|
|
@@ -19815,7 +19815,7 @@ function $$(e, {
|
|
|
19815
19815
|
return;
|
|
19816
19816
|
}
|
|
19817
19817
|
}
|
|
19818
|
-
const yt = Tt === 0 && pe.length && pe[0] === "0" ? `${He}${pe.slice(1)}` :
|
|
19818
|
+
const yt = Tt === 0 && pe.length && pe[0] === "0" ? `${He}${pe.slice(1)}` : Y({ value: pe, start: le, end: Ae, replacement: He });
|
|
19819
19819
|
if (J(yt)) {
|
|
19820
19820
|
j.preventDefault();
|
|
19821
19821
|
return;
|
|
@@ -20291,8 +20291,8 @@ const dC = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
20291
20291
|
displayValue: F,
|
|
20292
20292
|
initLocalVars: M,
|
|
20293
20293
|
isInternalChange: D,
|
|
20294
|
-
localModel:
|
|
20295
|
-
modelNumber:
|
|
20294
|
+
localModel: B,
|
|
20295
|
+
modelNumber: Y,
|
|
20296
20296
|
modelUndefinedLocal: $,
|
|
20297
20297
|
setCurrentValue: H
|
|
20298
20298
|
} = G$(e, {
|
|
@@ -20305,7 +20305,7 @@ const dC = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
20305
20305
|
adjustFloatPartAndDivider: i,
|
|
20306
20306
|
ensurePrecision: U,
|
|
20307
20307
|
setCurrentValue: H,
|
|
20308
|
-
modelNumber:
|
|
20308
|
+
modelNumber: Y
|
|
20309
20309
|
}), {
|
|
20310
20310
|
handleInput: z,
|
|
20311
20311
|
handleKeydown: X,
|
|
@@ -20319,15 +20319,15 @@ const dC = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
20319
20319
|
decrease: k,
|
|
20320
20320
|
getCleanIntValue: o,
|
|
20321
20321
|
increase: K,
|
|
20322
|
-
modelNumber:
|
|
20322
|
+
modelNumber: Y,
|
|
20323
20323
|
modelUndefinedLocal: $,
|
|
20324
20324
|
onBlur: p,
|
|
20325
20325
|
onFocus: O,
|
|
20326
20326
|
setCurrentValue: H
|
|
20327
20327
|
});
|
|
20328
20328
|
M(), ue(), _t(_, (Ge) => {
|
|
20329
|
-
const ve = Ge ===
|
|
20330
|
-
(!D.value || !ve) && (
|
|
20329
|
+
const ve = Ge === B.value;
|
|
20330
|
+
(!D.value || !ve) && (B.value = Ge, z(null, { value: Ge, updateOutside: !0, triggerDetails: "modelChange" })), D.value = !1;
|
|
20331
20331
|
});
|
|
20332
20332
|
const Re = E(() => !!(C.value && n.value));
|
|
20333
20333
|
return {
|
|
@@ -20964,13 +20964,13 @@ const Q$ = {
|
|
|
20964
20964
|
const M = F.target.files;
|
|
20965
20965
|
if (M && M.length) {
|
|
20966
20966
|
const D = [];
|
|
20967
|
-
Z(M, (
|
|
20967
|
+
Z(M, (B) => {
|
|
20968
20968
|
D.push({
|
|
20969
20969
|
id: "",
|
|
20970
|
-
size:
|
|
20971
|
-
name:
|
|
20972
|
-
type:
|
|
20973
|
-
file:
|
|
20970
|
+
size: B.size,
|
|
20971
|
+
name: B.webkitRelativePath || B.relativePath || B.name,
|
|
20972
|
+
type: B.type,
|
|
20973
|
+
file: B
|
|
20974
20974
|
});
|
|
20975
20975
|
}), s({
|
|
20976
20976
|
model: h.value ? D : D[0]
|
|
@@ -21425,9 +21425,9 @@ const or = {
|
|
|
21425
21425
|
model: +te
|
|
21426
21426
|
});
|
|
21427
21427
|
}, {
|
|
21428
|
-
isAutofill:
|
|
21428
|
+
isAutofill: B
|
|
21429
21429
|
} = oA({ inputRef: F }), {
|
|
21430
|
-
ensurePrecision:
|
|
21430
|
+
ensurePrecision: Y,
|
|
21431
21431
|
verifyValue: $
|
|
21432
21432
|
} = r0(e, {
|
|
21433
21433
|
changeModel: s,
|
|
@@ -21447,7 +21447,7 @@ const or = {
|
|
|
21447
21447
|
} = e0(e, {
|
|
21448
21448
|
currentValue: H,
|
|
21449
21449
|
displayValue: K,
|
|
21450
|
-
ensurePrecision:
|
|
21450
|
+
ensurePrecision: Y,
|
|
21451
21451
|
setCurrentValue: z,
|
|
21452
21452
|
minLocal: O
|
|
21453
21453
|
}), {
|
|
@@ -21494,7 +21494,7 @@ const or = {
|
|
|
21494
21494
|
inputRef: F,
|
|
21495
21495
|
inputType: m,
|
|
21496
21496
|
inputWidthStyleValue: V,
|
|
21497
|
-
isAutofill:
|
|
21497
|
+
isAutofill: B,
|
|
21498
21498
|
isClearButtonLocal: p,
|
|
21499
21499
|
isErrors: T,
|
|
21500
21500
|
isModel: L,
|
|
@@ -22468,11 +22468,11 @@ const S0 = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
22468
22468
|
JSONtoString: F,
|
|
22469
22469
|
onInput: M,
|
|
22470
22470
|
parseError: D,
|
|
22471
|
-
resetModel:
|
|
22471
|
+
resetModel: B
|
|
22472
22472
|
} = A0(e, {
|
|
22473
22473
|
changeModel: i
|
|
22474
22474
|
}), {
|
|
22475
|
-
modelValueReadonly:
|
|
22475
|
+
modelValueReadonly: Y
|
|
22476
22476
|
} = T0(e);
|
|
22477
22477
|
return g(), F(), {
|
|
22478
22478
|
ariaDescribedbyLocal: s,
|
|
@@ -22493,12 +22493,12 @@ const S0 = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
22493
22493
|
jsonStringInput: V,
|
|
22494
22494
|
JSONtoString: F,
|
|
22495
22495
|
labelDescriptionId: f,
|
|
22496
|
-
modelValueReadonly:
|
|
22496
|
+
modelValueReadonly: Y,
|
|
22497
22497
|
onBlur: C,
|
|
22498
22498
|
onFocus: h,
|
|
22499
22499
|
onInput: M,
|
|
22500
22500
|
parseError: D,
|
|
22501
|
-
resetModel:
|
|
22501
|
+
resetModel: B,
|
|
22502
22502
|
styleHeight: R,
|
|
22503
22503
|
styleMaxHeight: p
|
|
22504
22504
|
};
|
|
@@ -23616,8 +23616,8 @@ const hC = "AIsDataPrepared", m0 = {
|
|
|
23616
23616
|
}), {
|
|
23617
23617
|
dataFromRetrieve: M,
|
|
23618
23618
|
dataFromServer: D,
|
|
23619
|
-
dataExtraLocal:
|
|
23620
|
-
dataKeyByKeyIdLocal:
|
|
23619
|
+
dataExtraLocal: B,
|
|
23620
|
+
dataKeyByKeyIdLocal: Y,
|
|
23621
23621
|
dataLocal: $,
|
|
23622
23622
|
hasDataExtra: H
|
|
23623
23623
|
} = WE(e), {
|
|
@@ -23630,7 +23630,7 @@ const hC = "AIsDataPrepared", m0 = {
|
|
|
23630
23630
|
urlPropsComputed: ge
|
|
23631
23631
|
} = HE(e, {
|
|
23632
23632
|
changeModel: h,
|
|
23633
|
-
dataExtraLocal:
|
|
23633
|
+
dataExtraLocal: B,
|
|
23634
23634
|
dataFromRetrieve: M,
|
|
23635
23635
|
dataFromServer: D
|
|
23636
23636
|
}), {
|
|
@@ -23639,7 +23639,7 @@ const hC = "AIsDataPrepared", m0 = {
|
|
|
23639
23639
|
loadingDataFromServer: X
|
|
23640
23640
|
});
|
|
23641
23641
|
kE(t, {
|
|
23642
|
-
dataKeyByKeyIdLocal:
|
|
23642
|
+
dataKeyByKeyIdLocal: Y,
|
|
23643
23643
|
dataLocal: $
|
|
23644
23644
|
});
|
|
23645
23645
|
const {
|
|
@@ -23650,7 +23650,7 @@ const hC = "AIsDataPrepared", m0 = {
|
|
|
23650
23650
|
onUpItem: te
|
|
23651
23651
|
} = O0(e, {
|
|
23652
23652
|
changeModel: h,
|
|
23653
|
-
dataKeyByKeyIdLocal:
|
|
23653
|
+
dataKeyByKeyIdLocal: Y
|
|
23654
23654
|
}), {
|
|
23655
23655
|
dataSort: Oe
|
|
23656
23656
|
} = qE(e, {
|
|
@@ -23659,11 +23659,11 @@ const hC = "AIsDataPrepared", m0 = {
|
|
|
23659
23659
|
dataExtraLocalFiltered: ce,
|
|
23660
23660
|
dataSortFiltered: Pe
|
|
23661
23661
|
} = I0(e, {
|
|
23662
|
-
dataExtraLocal:
|
|
23662
|
+
dataExtraLocal: B,
|
|
23663
23663
|
dataSort: Oe,
|
|
23664
23664
|
modelValueFiltered: Ge
|
|
23665
23665
|
}), je = E(() => Ge.value.map((he, pe) => {
|
|
23666
|
-
const Ye =
|
|
23666
|
+
const Ye = Y.value[he] || {};
|
|
23667
23667
|
return {
|
|
23668
23668
|
data: Ye,
|
|
23669
23669
|
index: pe,
|
|
@@ -23688,7 +23688,7 @@ const hC = "AIsDataPrepared", m0 = {
|
|
|
23688
23688
|
clearModel: R,
|
|
23689
23689
|
componentStyleHide: n,
|
|
23690
23690
|
dataExtraLocalFiltered: ce,
|
|
23691
|
-
dataKeyByKeyIdLocal:
|
|
23691
|
+
dataKeyByKeyIdLocal: Y,
|
|
23692
23692
|
dataLocal: $,
|
|
23693
23693
|
dataSortFiltered: Pe,
|
|
23694
23694
|
deleteItem: Re,
|
|
@@ -24759,8 +24759,8 @@ const CC = {
|
|
|
24759
24759
|
loadDataFromServerForSearchAPI: F,
|
|
24760
24760
|
loadingDataFromServer: M,
|
|
24761
24761
|
loadingSearchApi: D,
|
|
24762
|
-
onSearchInApi:
|
|
24763
|
-
searchApiLocal:
|
|
24762
|
+
onSearchInApi: B,
|
|
24763
|
+
searchApiLocal: Y,
|
|
24764
24764
|
updateUrlPropsComputed: $,
|
|
24765
24765
|
urlPropsComputed: H
|
|
24766
24766
|
} = HE(e, {
|
|
@@ -24823,8 +24823,8 @@ const CC = {
|
|
|
24823
24823
|
htmlIdLocal: c,
|
|
24824
24824
|
hasKeyGroup: J,
|
|
24825
24825
|
keyGroupArray: ue,
|
|
24826
|
-
searchApiLocal:
|
|
24827
|
-
onSearchInApi:
|
|
24826
|
+
searchApiLocal: Y,
|
|
24827
|
+
onSearchInApi: B
|
|
24828
24828
|
}), {
|
|
24829
24829
|
onChangeModelValue: ze
|
|
24830
24830
|
} = N0(e, {
|
|
@@ -25244,7 +25244,7 @@ function y0(e, {
|
|
|
25244
25244
|
htmlIdLocal: i = E(() => ""),
|
|
25245
25245
|
routesLocal: o = E(() => [])
|
|
25246
25246
|
}) {
|
|
25247
|
-
const c = u(e, "attributesRoute"), A = u(e, "helpTextParam"), T = u(e, "helpTextQuery"), L = u(e, "helpTextRoute"), f = u(e, "helpTextTarget"), C = u(e, "keyIdRoute"), h = u(e, "keyLabelCallbackRoute"), R = u(e, "keyLabelRoute"), p = u(e, "labelParam"), O = u(e, "labelQuery"), m = u(e, "labelRoute"), b = u(e, "labelTarget"), g = u(e, "modelValue"), U = u(e, "readonlyDefaultParam"), V = u(e, "readonlyDefaultQuery"), F = u(e, "readonlyDefaultRoute"), M = u(e, "readonlyDefaultTarget"), D = u(e, "required"),
|
|
25247
|
+
const c = u(e, "attributesRoute"), A = u(e, "helpTextParam"), T = u(e, "helpTextQuery"), L = u(e, "helpTextRoute"), f = u(e, "helpTextTarget"), C = u(e, "keyIdRoute"), h = u(e, "keyLabelCallbackRoute"), R = u(e, "keyLabelRoute"), p = u(e, "labelParam"), O = u(e, "labelQuery"), m = u(e, "labelRoute"), b = u(e, "labelTarget"), g = u(e, "modelValue"), U = u(e, "readonlyDefaultParam"), V = u(e, "readonlyDefaultQuery"), F = u(e, "readonlyDefaultRoute"), M = u(e, "readonlyDefaultTarget"), D = u(e, "required"), B = u(e, "sortOrderRoute"), Y = u(e, "targets");
|
|
25248
25248
|
return {
|
|
25249
25249
|
dataFormChildren: E(() => {
|
|
25250
25250
|
var H, K;
|
|
@@ -25264,7 +25264,7 @@ function y0(e, {
|
|
|
25264
25264
|
readonlyDefault: F.value,
|
|
25265
25265
|
required: D.value,
|
|
25266
25266
|
search: !0,
|
|
25267
|
-
sortOrder:
|
|
25267
|
+
sortOrder: B.value,
|
|
25268
25268
|
type: "select",
|
|
25269
25269
|
...c.value
|
|
25270
25270
|
},
|
|
@@ -25294,7 +25294,7 @@ function y0(e, {
|
|
|
25294
25294
|
isHide: !((K = g.value) != null && K.route),
|
|
25295
25295
|
id: "target",
|
|
25296
25296
|
change: n,
|
|
25297
|
-
data:
|
|
25297
|
+
data: Y.value,
|
|
25298
25298
|
deselectable: !0,
|
|
25299
25299
|
helpText: f.value,
|
|
25300
25300
|
idPrefix: i.value,
|
|
@@ -26009,32 +26009,32 @@ function k0(e, {
|
|
|
26009
26009
|
togglePopover: c = () => {
|
|
26010
26010
|
}
|
|
26011
26011
|
}) {
|
|
26012
|
-
const A = u(e, "countMultiselect"), T = u(e, "deselectable"), L = u(e, "disabled"), f = u(e, "exclusiveOptionValue"), C = u(e, "isCloseByClick"), h = u(e, "isExclusiveOptionEnabled"), R = u(e, "keyGroup"), p = u(e, "maxCountMultiselect"), O = u(e, "modelValue"), m = E(() => !o.value || !p.value ? !1 : Ee(O.value, "length") >= p.value), b = E(() => xe(C.value) ? !o.value : C.value), g = ({ modelValueLocal:
|
|
26012
|
+
const A = u(e, "countMultiselect"), T = u(e, "deselectable"), L = u(e, "disabled"), f = u(e, "exclusiveOptionValue"), C = u(e, "isCloseByClick"), h = u(e, "isExclusiveOptionEnabled"), R = u(e, "keyGroup"), p = u(e, "maxCountMultiselect"), O = u(e, "modelValue"), m = E(() => !o.value || !p.value ? !1 : Ee(O.value, "length") >= p.value), b = E(() => xe(C.value) ? !o.value : C.value), g = ({ modelValueLocal: Y, currentValue: $, dataItem: H }) => {
|
|
26013
26013
|
var z;
|
|
26014
26014
|
const K = Ee(H, R.value), k = ((z = n.value) == null ? void 0 : z[K]) || [];
|
|
26015
26015
|
return Z(k, (X) => {
|
|
26016
|
-
const J = X[Ne], ue =
|
|
26017
|
-
ue !== -1 &&
|
|
26018
|
-
}),
|
|
26019
|
-
}, U = ({ currentValue:
|
|
26016
|
+
const J = X[Ne], ue = Y.indexOf(J);
|
|
26017
|
+
ue !== -1 && Y.splice(ue, 1);
|
|
26018
|
+
}), Y.push($), Y;
|
|
26019
|
+
}, U = ({ currentValue: Y, $event: $, isSelected: H, dataItem: K }) => {
|
|
26020
26020
|
let k;
|
|
26021
26021
|
if (o.value)
|
|
26022
26022
|
if (k = ae(O.value) || [], H) {
|
|
26023
|
-
const z = k.indexOf(
|
|
26024
|
-
k.splice(z, 1), h.value &&
|
|
26025
|
-
} else if (h.value &&
|
|
26026
|
-
k = [
|
|
26023
|
+
const z = k.indexOf(Y);
|
|
26024
|
+
k.splice(z, 1), h.value && Y === f.value && (k = []);
|
|
26025
|
+
} else if (h.value && Y === f.value)
|
|
26026
|
+
k = [Y];
|
|
26027
26027
|
else if (i.value) {
|
|
26028
26028
|
if (k = g({
|
|
26029
26029
|
modelValueLocal: k,
|
|
26030
|
-
currentValue:
|
|
26030
|
+
currentValue: Y,
|
|
26031
26031
|
dataItem: K
|
|
26032
26032
|
}), p.value && k.length > p.value)
|
|
26033
26033
|
return;
|
|
26034
26034
|
} else {
|
|
26035
26035
|
if (m.value)
|
|
26036
26036
|
return;
|
|
26037
|
-
k.push(
|
|
26037
|
+
k.push(Y);
|
|
26038
26038
|
}
|
|
26039
26039
|
else if (H)
|
|
26040
26040
|
if (T.value)
|
|
@@ -26042,29 +26042,29 @@ function k0(e, {
|
|
|
26042
26042
|
else
|
|
26043
26043
|
return;
|
|
26044
26044
|
else
|
|
26045
|
-
k =
|
|
26045
|
+
k = Y;
|
|
26046
26046
|
t({
|
|
26047
26047
|
model: k,
|
|
26048
26048
|
$event: $,
|
|
26049
|
-
currentModel:
|
|
26050
|
-
item: a.value[
|
|
26049
|
+
currentModel: Y,
|
|
26050
|
+
item: a.value[Y]
|
|
26051
26051
|
}), b.value && c();
|
|
26052
|
-
}, V = (
|
|
26052
|
+
}, V = (Y) => {
|
|
26053
26053
|
const $ = mh(O.value, A.value);
|
|
26054
26054
|
t({
|
|
26055
26055
|
model: $,
|
|
26056
|
-
$event:
|
|
26056
|
+
$event: Y
|
|
26057
26057
|
});
|
|
26058
26058
|
}, F = () => {
|
|
26059
26059
|
if (s.value)
|
|
26060
26060
|
return;
|
|
26061
|
-
const
|
|
26061
|
+
const Y = _.value.map(($) => $[Ne]);
|
|
26062
26062
|
t({
|
|
26063
|
-
model:
|
|
26063
|
+
model: Y
|
|
26064
26064
|
});
|
|
26065
|
-
}, M = (
|
|
26066
|
-
const $ =
|
|
26067
|
-
($ === ne.enter || $ === ne.space) && (F(),
|
|
26065
|
+
}, M = (Y) => {
|
|
26066
|
+
const $ = Y.keyCode;
|
|
26067
|
+
($ === ne.enter || $ === ne.space) && (F(), Y.preventDefault());
|
|
26068
26068
|
}, D = () => {
|
|
26069
26069
|
L.value || t({
|
|
26070
26070
|
model: []
|
|
@@ -26074,9 +26074,9 @@ function k0(e, {
|
|
|
26074
26074
|
deleteExceededItems: V,
|
|
26075
26075
|
onChangeModelValue: U,
|
|
26076
26076
|
onDeselectAll: D,
|
|
26077
|
-
onKeydownDeselectAll: (
|
|
26078
|
-
const $ =
|
|
26079
|
-
($ === ne.enter || $ === ne.space) && (D(),
|
|
26077
|
+
onKeydownDeselectAll: (Y) => {
|
|
26078
|
+
const $ = Y.keyCode;
|
|
26079
|
+
($ === ne.enter || $ === ne.space) && (D(), Y.preventDefault());
|
|
26080
26080
|
},
|
|
26081
26081
|
onKeydownSelectAll: M,
|
|
26082
26082
|
onSelectAll: F
|
|
@@ -26199,7 +26199,7 @@ function X0(e, {
|
|
|
26199
26199
|
V(), setTimeout(() => {
|
|
26200
26200
|
F(), M();
|
|
26201
26201
|
});
|
|
26202
|
-
},
|
|
26202
|
+
}, B = () => {
|
|
26203
26203
|
!c.value && o.value && L.value && (c.value = Sl(
|
|
26204
26204
|
o.value,
|
|
26205
26205
|
L.value,
|
|
@@ -26227,15 +26227,15 @@ function X0(e, {
|
|
|
26227
26227
|
});
|
|
26228
26228
|
}
|
|
26229
26229
|
), D());
|
|
26230
|
-
},
|
|
26231
|
-
s.value || (A.value = !0,
|
|
26230
|
+
}, Y = () => {
|
|
26231
|
+
s.value || (A.value = !0, B(), setTimeout(() => {
|
|
26232
26232
|
p();
|
|
26233
26233
|
}, 100));
|
|
26234
26234
|
}, $ = () => {
|
|
26235
|
-
A.value ? (k(), b()) :
|
|
26235
|
+
A.value ? (k(), b()) : Y();
|
|
26236
26236
|
}, H = (z) => {
|
|
26237
26237
|
const X = z.keyCode;
|
|
26238
|
-
X === ne.enter || X === ne.space ? ($(), z.preventDefault()) : !A.value && (X === ne.arrowUp || X === ne.arrowDown) && (
|
|
26238
|
+
X === ne.enter || X === ne.space ? ($(), z.preventDefault()) : !A.value && (X === ne.arrowUp || X === ne.arrowDown) && (Y(), z.preventDefault());
|
|
26239
26239
|
}, K = () => {
|
|
26240
26240
|
C.value && (C.value = !1, document.removeEventListener("keydown", g));
|
|
26241
26241
|
};
|
|
@@ -26789,9 +26789,9 @@ const fe = {
|
|
|
26789
26789
|
dataExtraLocal: F,
|
|
26790
26790
|
dataKeyByKeyIdLocal: M,
|
|
26791
26791
|
dataLocal: D,
|
|
26792
|
-
hasDataExtra:
|
|
26792
|
+
hasDataExtra: B
|
|
26793
26793
|
} = WE(e), {
|
|
26794
|
-
loadDataFromServer:
|
|
26794
|
+
loadDataFromServer: Y,
|
|
26795
26795
|
loadDataFromServerForRetrieve: $,
|
|
26796
26796
|
loadDataFromServerForSearchAPI: H,
|
|
26797
26797
|
loadingDataFromServer: K,
|
|
@@ -26945,7 +26945,7 @@ const fe = {
|
|
|
26945
26945
|
htmlIdLocal: L,
|
|
26946
26946
|
clickLabel: T_
|
|
26947
26947
|
});
|
|
26948
|
-
return _t(ue, J), ja(),
|
|
26948
|
+
return _t(ue, J), ja(), Y(), H(), (!e.url || e.searchApi) && $(), c_(() => {
|
|
26949
26949
|
_.value = !0, re({ className: "a_select_container" });
|
|
26950
26950
|
}), Dt(() => {
|
|
26951
26951
|
Tn(), m({
|
|
@@ -26978,7 +26978,7 @@ const fe = {
|
|
|
26978
26978
|
groupsForLeverExtra: nt,
|
|
26979
26979
|
groupsForLeverValid: Yt,
|
|
26980
26980
|
handleKeydown: Aa,
|
|
26981
|
-
hasDataExtra:
|
|
26981
|
+
hasDataExtra: B,
|
|
26982
26982
|
hasKeyGroup: ze,
|
|
26983
26983
|
invalidDataSort: Ct,
|
|
26984
26984
|
hasNotElementsExclusiveWithSearch: l_,
|
|
@@ -32942,11 +32942,11 @@ const VG = {
|
|
|
32942
32942
|
moveListMode: F,
|
|
32943
32943
|
modelListMode: M,
|
|
32944
32944
|
openModalCreateListMode: D,
|
|
32945
|
-
updateListMode:
|
|
32945
|
+
updateListMode: B
|
|
32946
32946
|
} = PG(e, t, {
|
|
32947
32947
|
htmlIdLocal: o
|
|
32948
32948
|
}), {
|
|
32949
|
-
closeModalCreateJsonMode:
|
|
32949
|
+
closeModalCreateJsonMode: Y,
|
|
32950
32950
|
deleteJsonMode: $,
|
|
32951
32951
|
isModelJsonModeEmpty: H,
|
|
32952
32952
|
isModalCreateJsonModeVisible: K,
|
|
@@ -32962,7 +32962,7 @@ const VG = {
|
|
|
32962
32962
|
blur: C,
|
|
32963
32963
|
focus: h,
|
|
32964
32964
|
deleteListMode: U,
|
|
32965
|
-
updateListMode:
|
|
32965
|
+
updateListMode: B,
|
|
32966
32966
|
open: R,
|
|
32967
32967
|
closeModalCreateListMode: g,
|
|
32968
32968
|
isModalCreateListModeVisible: V,
|
|
@@ -32982,7 +32982,7 @@ const VG = {
|
|
|
32982
32982
|
helpTextId: i,
|
|
32983
32983
|
htmlIdLocal: o,
|
|
32984
32984
|
isErrors: c,
|
|
32985
|
-
closeModalCreateJsonMode:
|
|
32985
|
+
closeModalCreateJsonMode: Y,
|
|
32986
32986
|
deleteJsonMode: $,
|
|
32987
32987
|
isModelJsonModeEmpty: H,
|
|
32988
32988
|
isModalCreateJsonModeVisible: K,
|
|
@@ -33904,22 +33904,22 @@ const bC = {
|
|
|
33904
33904
|
helpTextId: A,
|
|
33905
33905
|
htmlIdLocal: T,
|
|
33906
33906
|
isErrors: L
|
|
33907
|
-
} = s_(e, t), f = u(e, "change"), C = u(e, "id"), h = u(e, "modelAll"), R = u(e, "modelValue"), p = u(e, "parentId"), O = u(e, "useFlatModel"), m = ({ currentModel: D, id:
|
|
33907
|
+
} = s_(e, t), f = u(e, "change"), C = u(e, "id"), h = u(e, "modelAll"), R = u(e, "modelValue"), p = u(e, "parentId"), O = u(e, "useFlatModel"), m = ({ currentModel: D, id: B, item: Y, model: $, props: H, component: K, fullModel: k }) => {
|
|
33908
33908
|
if (k) {
|
|
33909
33909
|
const X = ae(k);
|
|
33910
|
-
t.emit("update:modelValue", X), f.value({ currentModel: D, id:
|
|
33910
|
+
t.emit("update:modelValue", X), f.value({ currentModel: D, id: B, item: Y, fullModel: X, model: $, props: H }), De(K.change) && K.change({ currentModel: D, id: B, item: Y, fullModel: X, model: $, props: H });
|
|
33911
33911
|
return;
|
|
33912
33912
|
}
|
|
33913
33913
|
const z = O.value ? ae(R.value || {}) : ae(h.value || {});
|
|
33914
33914
|
if (O.value)
|
|
33915
|
-
ri(z,
|
|
33915
|
+
ri(z, B, ae($));
|
|
33916
33916
|
else {
|
|
33917
|
-
const J = [...p.value, C.value,
|
|
33917
|
+
const J = [...p.value, C.value, B].join(".");
|
|
33918
33918
|
ri(z, J, ae($));
|
|
33919
33919
|
}
|
|
33920
|
-
t.emit("update:modelValue", z), f.value({ currentModel: D, id:
|
|
33921
|
-
}, b = ({ item: D, dataKeyByKeyId:
|
|
33922
|
-
t.emit("updateData", { item: D, dataKeyByKeyId:
|
|
33920
|
+
t.emit("update:modelValue", z), f.value({ currentModel: D, id: B, item: Y, fullModel: z, model: $, props: H }), De(K.change) && K.change({ currentModel: D, id: B, item: Y, fullModel: z, model: $, props: H });
|
|
33921
|
+
}, b = ({ item: D, dataKeyByKeyId: B }) => {
|
|
33922
|
+
t.emit("updateData", { item: D, dataKeyByKeyId: B });
|
|
33923
33923
|
}, g = u(e, "children"), U = u(e, "idPrefix"), V = E(() => g.value[0] || {}), F = E(() => Na({
|
|
33924
33924
|
id: V.value.id,
|
|
33925
33925
|
idPrefix: V.value.idPrefix || U.value,
|
|
@@ -35385,8 +35385,8 @@ const mx = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
35385
35385
|
} = hx(e, {
|
|
35386
35386
|
openDropdown: i
|
|
35387
35387
|
}), {
|
|
35388
|
-
buttonDeleteId:
|
|
35389
|
-
isConfirmHidden:
|
|
35388
|
+
buttonDeleteId: B,
|
|
35389
|
+
isConfirmHidden: Y,
|
|
35390
35390
|
openDeleteConfirm: $,
|
|
35391
35391
|
textScreenreaderButtonDeleteFiltersSaved: H,
|
|
35392
35392
|
titleButtonDeleteFiltersSaved: K
|
|
@@ -35400,7 +35400,7 @@ const mx = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
35400
35400
|
A();
|
|
35401
35401
|
}), {
|
|
35402
35402
|
addFiltersVisible: f,
|
|
35403
|
-
buttonDeleteId:
|
|
35403
|
+
buttonDeleteId: B,
|
|
35404
35404
|
buttonSaveComponentId: p,
|
|
35405
35405
|
changeModelFiltersSaved: O,
|
|
35406
35406
|
closeDropdown: n,
|
|
@@ -35413,7 +35413,7 @@ const mx = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill=
|
|
|
35413
35413
|
hasFiltersHiddenDefault: R,
|
|
35414
35414
|
idFilterTop: o,
|
|
35415
35415
|
initModelFiltersSaved: g,
|
|
35416
|
-
isConfirmHidden:
|
|
35416
|
+
isConfirmHidden: Y,
|
|
35417
35417
|
isDropdownVisible: s,
|
|
35418
35418
|
isModalSaveVisible: U,
|
|
35419
35419
|
isModelFilterSavedNew: V,
|
|
@@ -39887,53 +39887,53 @@ function q1(e, {
|
|
|
39887
39887
|
M.preventDefault();
|
|
39888
39888
|
return;
|
|
39889
39889
|
}
|
|
39890
|
-
const
|
|
39891
|
-
M.shiftKey ? document.activeElement ===
|
|
39890
|
+
const B = D[0], Y = D[D.length - 1];
|
|
39891
|
+
M.shiftKey ? document.activeElement === B && (Y.focus(), M.preventDefault()) : document.activeElement === Y && (B.focus(), M.preventDefault());
|
|
39892
39892
|
}, C = (M) => {
|
|
39893
39893
|
c.value && (t(), M.preventDefault(), M.stopPropagation());
|
|
39894
39894
|
}, h = (M) => {
|
|
39895
39895
|
const D = M || window.$event;
|
|
39896
39896
|
D.key === "Escape" || D.keyCode === ne.escape ? C(M) : (D.key === "Tab" || D.keyCode === ne.tab) && f(D);
|
|
39897
39897
|
}, R = ({ panelIndex: M, panelId: D }) => {
|
|
39898
|
-
const
|
|
39898
|
+
const B = Da({
|
|
39899
39899
|
menuId: i.value,
|
|
39900
39900
|
id: D,
|
|
39901
39901
|
suffix: "link"
|
|
39902
|
-
}),
|
|
39903
|
-
if (
|
|
39902
|
+
}), Y = document.getElementById(B);
|
|
39903
|
+
if (Y) {
|
|
39904
39904
|
if (M > 0) {
|
|
39905
39905
|
const $ = a.value.slice(0, M);
|
|
39906
39906
|
s({ parentIds: $, withoutFocus: !0 });
|
|
39907
39907
|
}
|
|
39908
|
-
|
|
39908
|
+
Y.focus();
|
|
39909
39909
|
}
|
|
39910
39910
|
}, p = ({ panelIndex: M }) => {
|
|
39911
|
-
const D = a.value[M + 1],
|
|
39911
|
+
const D = a.value[M + 1], B = Da({
|
|
39912
39912
|
menuId: i.value,
|
|
39913
39913
|
id: D,
|
|
39914
39914
|
suffix: "panel"
|
|
39915
|
-
}),
|
|
39916
|
-
|
|
39915
|
+
}), Y = document.querySelectorAll(`#${B} a.a_menu__link`);
|
|
39916
|
+
Y.length && Y[0].focus();
|
|
39917
39917
|
}, O = ({ panelId: M }) => {
|
|
39918
39918
|
const D = Da({
|
|
39919
39919
|
menuId: i.value,
|
|
39920
39920
|
id: M,
|
|
39921
39921
|
suffix: "link"
|
|
39922
|
-
}),
|
|
39923
|
-
|
|
39924
|
-
}, m = ({ EVENT: M, PANEL_ELEMENT: D, panelIndex:
|
|
39922
|
+
}), B = document.getElementById(D);
|
|
39923
|
+
B && (s({ parentIds: [], withoutFocus: !0 }), B.focus());
|
|
39924
|
+
}, m = ({ EVENT: M, PANEL_ELEMENT: D, panelIndex: B, panelId: Y }) => {
|
|
39925
39925
|
const $ = D.querySelectorAll("a.a_menu__link");
|
|
39926
|
-
M.shiftKey ? document.activeElement === $[0] && (
|
|
39926
|
+
M.shiftKey ? document.activeElement === $[0] && (B > 0 ? R({ panelIndex: B, panelId: Y }) : O({ panelId: Y }), M.preventDefault()) : document.activeElement === $[$.length - 1] && (B < a.value.length - 1 ? p({ panelIndex: B }) : B > 0 ? R({ panelIndex: B, panelId: Y }) : O({ panelId: Y }), M.preventDefault());
|
|
39927
39927
|
}, b = (M) => {
|
|
39928
39928
|
const D = M || window.$event;
|
|
39929
|
-
(D.key === "Tab" || D.keyCode === ne.tab) && Z(a.value, (
|
|
39929
|
+
(D.key === "Tab" || D.keyCode === ne.tab) && Z(a.value, (B, Y) => {
|
|
39930
39930
|
const $ = Da({
|
|
39931
39931
|
menuId: i.value,
|
|
39932
|
-
id:
|
|
39932
|
+
id: B,
|
|
39933
39933
|
suffix: "panel"
|
|
39934
39934
|
}), H = document.getElementById($);
|
|
39935
39935
|
if (H && H.contains(document.activeElement))
|
|
39936
|
-
return m({ EVENT: D, PANEL_ELEMENT: H, panelIndex:
|
|
39936
|
+
return m({ EVENT: D, PANEL_ELEMENT: H, panelIndex: Y, panelId: B }), !1;
|
|
39937
39937
|
});
|
|
39938
39938
|
};
|
|
39939
39939
|
return {
|
|
@@ -40391,8 +40391,8 @@ const Q1 = 34, eH = 20, _Et = {
|
|
|
40391
40391
|
isDesktopSubMenuVisibleWhenMenuClosed: F,
|
|
40392
40392
|
menuRef: M,
|
|
40393
40393
|
removeListenerForKeydownDesktop: D,
|
|
40394
|
-
removeListenerForKeydownMobile:
|
|
40395
|
-
setListenerForKeydownDesktop:
|
|
40394
|
+
removeListenerForKeydownMobile: B,
|
|
40395
|
+
setListenerForKeydownDesktop: Y,
|
|
40396
40396
|
setListenerForKeydownMobile: $
|
|
40397
40397
|
} = q1(e, {
|
|
40398
40398
|
closeMenu: b,
|
|
@@ -40420,7 +40420,7 @@ const Q1 = 34, eH = 20, _Et = {
|
|
|
40420
40420
|
isMenuInitialized: re,
|
|
40421
40421
|
isMobileWidth: Ue
|
|
40422
40422
|
} = z1(e, {
|
|
40423
|
-
removeListenerForKeydownMobile:
|
|
40423
|
+
removeListenerForKeydownMobile: B,
|
|
40424
40424
|
toggleMenu: V
|
|
40425
40425
|
}), {
|
|
40426
40426
|
clickMenuLink: Re,
|
|
@@ -40471,17 +40471,17 @@ const Q1 = 34, eH = 20, _Et = {
|
|
|
40471
40471
|
immediate: !0,
|
|
40472
40472
|
deep: !0
|
|
40473
40473
|
}), _t(g, (j) => {
|
|
40474
|
-
re.value && (T(), h(), j ? (Pe(), $()) :
|
|
40474
|
+
re.value && (T(), h(), j ? (Pe(), $()) : B());
|
|
40475
40475
|
}), _t(p, () => {
|
|
40476
40476
|
je();
|
|
40477
40477
|
}, {
|
|
40478
40478
|
deep: !0
|
|
40479
40479
|
}), _t(F, (j) => {
|
|
40480
|
-
j ?
|
|
40480
|
+
j ? Y() : D();
|
|
40481
40481
|
}), ct("activeRoutesIds", E(() => te.value)), ct("clickMenuLink", Re), ct("isLinkTruncated", E(() => t.value)), ct("isMenuOpen", E(() => g.value)), ct("panelParentsOpen", p), ct("showCountChildren", E(() => _.value)), ct("togglePanel", m), ct("breadcrumbsTruncatedOffset", E(() => n.value)), c_(() => {
|
|
40482
40482
|
a.value = !0, ge(), ue();
|
|
40483
40483
|
}), Dt(() => {
|
|
40484
|
-
U(), J(), Pe(), D(),
|
|
40484
|
+
U(), J(), Pe(), D(), B();
|
|
40485
40485
|
}), {
|
|
40486
40486
|
activeRoutesIds: te,
|
|
40487
40487
|
attributesBlockerClick: ve,
|
|
@@ -44809,41 +44809,41 @@ const oEt = {
|
|
|
44809
44809
|
C.value = a.value, h.value = a.value;
|
|
44810
44810
|
}, O = E(() => e.iconFill ? e.iconFill : `${e.icon}Fill`), m = () => {
|
|
44811
44811
|
i.value || (C.value = 0, t("update:modelValue", C.value));
|
|
44812
|
-
}, b = (D,
|
|
44812
|
+
}, b = (D, B) => {
|
|
44813
44813
|
if (i.value)
|
|
44814
44814
|
return;
|
|
44815
|
-
R.value =
|
|
44816
|
-
let
|
|
44815
|
+
R.value = B;
|
|
44816
|
+
let Y = B + 1;
|
|
44817
44817
|
if (L.value) {
|
|
44818
44818
|
const $ = D.target.getBoundingClientRect();
|
|
44819
|
-
|
|
44819
|
+
Y = D.clientX - $.left < $.width / 2 ? B + 0.5 : B + 1;
|
|
44820
44820
|
}
|
|
44821
|
-
h.value =
|
|
44821
|
+
h.value = Y;
|
|
44822
44822
|
}, g = () => {
|
|
44823
44823
|
i.value || (R.value = -1);
|
|
44824
|
-
}, U = E(() => Array(n.value).fill(null).map((D,
|
|
44824
|
+
}, U = E(() => Array(n.value).fill(null).map((D, B) => B <= R.value ? T.value : B < C.value ? A.value : null)), V = (D, B) => {
|
|
44825
44825
|
if (i.value)
|
|
44826
44826
|
return;
|
|
44827
|
-
let
|
|
44827
|
+
let Y = B + 1;
|
|
44828
44828
|
if (L.value) {
|
|
44829
44829
|
const $ = D.target.getBoundingClientRect();
|
|
44830
|
-
|
|
44830
|
+
Y = D.clientX - $.left < $.width / 2 ? B + 0.5 : B + 1;
|
|
44831
44831
|
}
|
|
44832
|
-
t("update:modelValue",
|
|
44832
|
+
t("update:modelValue", Y), C.value = Y;
|
|
44833
44833
|
}, F = E(() => {
|
|
44834
|
-
const D = R.value >= 0 ? h.value : C.value,
|
|
44835
|
-
for (let H = 0; H <
|
|
44834
|
+
const D = R.value >= 0 ? h.value : C.value, B = Math.floor(D), Y = D % 1, $ = Array(n.value).fill(0);
|
|
44835
|
+
for (let H = 0; H < B; H++)
|
|
44836
44836
|
$[H] = 100;
|
|
44837
|
-
return
|
|
44838
|
-
}), M = (D,
|
|
44837
|
+
return Y !== 0 && B < n.value && ($[B] = Y * 100), $;
|
|
44838
|
+
}), M = (D, B) => {
|
|
44839
44839
|
if (i.value)
|
|
44840
44840
|
return;
|
|
44841
|
-
let
|
|
44841
|
+
let Y = B + 1;
|
|
44842
44842
|
if (L.value) {
|
|
44843
44843
|
const $ = D.target.getBoundingClientRect();
|
|
44844
|
-
|
|
44844
|
+
Y = D.clientX - $.left < $.width / 2 ? B + 0.5 : B + 1;
|
|
44845
44845
|
}
|
|
44846
|
-
h.value !==
|
|
44846
|
+
h.value !== Y && (h.value = Y, R.value = B);
|
|
44847
44847
|
};
|
|
44848
44848
|
return p(), {
|
|
44849
44849
|
rating: n,
|
|
@@ -45858,9 +45858,9 @@ function Uq(e, {
|
|
|
45858
45858
|
selector: `#${i.value}`
|
|
45859
45859
|
});
|
|
45860
45860
|
}, 0), H());
|
|
45861
|
-
}, Y = () => {
|
|
45862
|
-
document.addEventListener("mousemove", V), document.addEventListener("mouseup", M), document.addEventListener("contextmenu", M);
|
|
45863
45861
|
}, B = () => {
|
|
45862
|
+
document.addEventListener("mousemove", V), document.addEventListener("mouseup", M), document.addEventListener("contextmenu", M);
|
|
45863
|
+
}, Y = () => {
|
|
45864
45864
|
document.addEventListener("mousemove", F), document.addEventListener("mouseup", D), document.addEventListener("contextmenu", D);
|
|
45865
45865
|
};
|
|
45866
45866
|
function $() {
|
|
@@ -45875,7 +45875,7 @@ function Uq(e, {
|
|
|
45875
45875
|
hoveringFirst: p,
|
|
45876
45876
|
hoveringSecond: O,
|
|
45877
45877
|
onButtonMouseDown: (X, J = !0) => {
|
|
45878
|
-
T.value || (X.preventDefault(), t.value = !0, J ? h.value = !0 : R.value = !0, L.value ? U.value = X.clientY : g.value = X.clientX, b.value = n(J ? { value: _.value } : { value: o.value }), J ?
|
|
45878
|
+
T.value || (X.preventDefault(), t.value = !0, J ? h.value = !0 : R.value = !0, L.value ? U.value = X.clientY : g.value = X.clientX, b.value = n(J ? { value: _.value } : { value: o.value }), J ? B() : Y());
|
|
45879
45879
|
},
|
|
45880
45880
|
onButtonMouseEnter: (X) => {
|
|
45881
45881
|
X ? p.value = !0 : O.value = !0;
|
|
@@ -45929,13 +45929,13 @@ function Yq(e, {
|
|
|
45929
45929
|
z ? ue[0] = X : ue[1] = X, c.value && !A.value && (z && X > ue[1] ? ue[0] = ue[1] : !z && X < ue[0] && (ue[1] = ue[0])), t({ model: ue });
|
|
45930
45930
|
} else
|
|
45931
45931
|
t({ model: X });
|
|
45932
|
-
},
|
|
45932
|
+
}, B = ({ percent: k, isFirstButton: z = !0 }) => {
|
|
45933
45933
|
if (k === null || isNaN(k))
|
|
45934
45934
|
return;
|
|
45935
45935
|
k < 0 ? k = 0 : k > 100 && (k = 100);
|
|
45936
45936
|
const X = (k * O.value).toFixed();
|
|
45937
45937
|
D({ index: X, isFirstButton: z });
|
|
45938
|
-
},
|
|
45938
|
+
}, Y = (k) => {
|
|
45939
45939
|
if (s.value || L.value)
|
|
45940
45940
|
return;
|
|
45941
45941
|
M();
|
|
@@ -45948,18 +45948,18 @@ function Yq(e, {
|
|
|
45948
45948
|
}
|
|
45949
45949
|
if (c.value) {
|
|
45950
45950
|
const X = m({ value: g.value }), J = m({ value: U.value }), ue = Math.abs(z - X), ge = Math.abs(z - J);
|
|
45951
|
-
ue <= ge ?
|
|
45951
|
+
ue <= ge ? B({ percent: z, isFirstButton: !0 }) : B({ percent: z, isFirstButton: !1 });
|
|
45952
45952
|
} else
|
|
45953
|
-
|
|
45953
|
+
B({ percent: z, isFirstButton: !0 });
|
|
45954
45954
|
}, $ = (k) => {
|
|
45955
45955
|
if (s.value || L.value)
|
|
45956
45956
|
return;
|
|
45957
45957
|
const z = k;
|
|
45958
45958
|
if (c.value) {
|
|
45959
45959
|
const X = m({ value: g.value }), J = m({ value: U.value }), ue = Math.abs(z - X), ge = Math.abs(z - J);
|
|
45960
|
-
ue <= ge ?
|
|
45960
|
+
ue <= ge ? B({ percent: z, isFirstButton: !0 }) : B({ percent: z, isFirstButton: !1 });
|
|
45961
45961
|
} else
|
|
45962
|
-
|
|
45962
|
+
B({ percent: z, isFirstButton: !0 });
|
|
45963
45963
|
}, H = (k, z = !0) => {
|
|
45964
45964
|
if (s.value)
|
|
45965
45965
|
return;
|
|
@@ -46007,11 +46007,11 @@ function Yq(e, {
|
|
|
46007
46007
|
modelValueLocal: b,
|
|
46008
46008
|
onButtonKeyDown: H,
|
|
46009
46009
|
onMarkerClick: $,
|
|
46010
|
-
onSliderClick:
|
|
46010
|
+
onSliderClick: Y,
|
|
46011
46011
|
resetSize: M,
|
|
46012
46012
|
secondButtonRef: C,
|
|
46013
46013
|
secondValue: U,
|
|
46014
|
-
setPosition:
|
|
46014
|
+
setPosition: B,
|
|
46015
46015
|
sliderRef: h,
|
|
46016
46016
|
sliderSize: R
|
|
46017
46017
|
};
|
|
@@ -46334,8 +46334,8 @@ const cEt = {
|
|
|
46334
46334
|
getPosition: F,
|
|
46335
46335
|
initSlider: M,
|
|
46336
46336
|
maxValue: D,
|
|
46337
|
-
minValue:
|
|
46338
|
-
modelValueLocal:
|
|
46337
|
+
minValue: B,
|
|
46338
|
+
modelValueLocal: Y,
|
|
46339
46339
|
onButtonKeyDown: $,
|
|
46340
46340
|
onMarkerClick: H,
|
|
46341
46341
|
onSliderClick: K,
|
|
@@ -46411,7 +46411,7 @@ const cEt = {
|
|
|
46411
46411
|
stops: xt
|
|
46412
46412
|
} = Bq(e, {
|
|
46413
46413
|
dataLocal: p
|
|
46414
|
-
}), Yt = () => L.value ? e.range && Array.isArray(
|
|
46414
|
+
}), Yt = () => L.value ? e.range && Array.isArray(Y.value) ? `${Ue(Y.value[0])} - ${Ue(Y.value[1])}` : Ue(Y.value) : e.readonlyDefault;
|
|
46415
46415
|
return c_(() => {
|
|
46416
46416
|
M();
|
|
46417
46417
|
}), Dt(() => {
|
|
@@ -46453,8 +46453,8 @@ const cEt = {
|
|
|
46453
46453
|
labelDescriptionId: f,
|
|
46454
46454
|
markList: Fe,
|
|
46455
46455
|
maxValue: D,
|
|
46456
|
-
minValue:
|
|
46457
|
-
modelValueLocal:
|
|
46456
|
+
minValue: B,
|
|
46457
|
+
modelValueLocal: Y,
|
|
46458
46458
|
modelValueReadonly: Yt,
|
|
46459
46459
|
onBlur: C,
|
|
46460
46460
|
onButtonKeyDown: $,
|
|
@@ -48425,20 +48425,20 @@ function Sk(e, {
|
|
|
48425
48425
|
C.value = {};
|
|
48426
48426
|
return;
|
|
48427
48427
|
}
|
|
48428
|
-
let
|
|
48428
|
+
let B = 0, Y = 0;
|
|
48429
48429
|
if (M.forEach((K) => {
|
|
48430
48430
|
const k = b(K.width);
|
|
48431
|
-
|
|
48432
|
-
}),
|
|
48431
|
+
B += k, Y += Math.max(0, +K.grow || 0);
|
|
48432
|
+
}), B >= D || Y <= 0) {
|
|
48433
48433
|
C.value = {};
|
|
48434
48434
|
return;
|
|
48435
48435
|
}
|
|
48436
|
-
const $ = D -
|
|
48436
|
+
const $ = D - B, H = {};
|
|
48437
48437
|
M.forEach((K) => {
|
|
48438
48438
|
const k = b(K.width), z = Math.max(0, +K.grow || 0);
|
|
48439
48439
|
if (!K.id || !k)
|
|
48440
48440
|
return;
|
|
48441
|
-
const X = k + (z > 0 ? $ * z /
|
|
48441
|
+
const X = k + (z > 0 ? $ * z / Y : 0);
|
|
48442
48442
|
H[K.id] = g(X);
|
|
48443
48443
|
}), C.value = H;
|
|
48444
48444
|
}, V = () => {
|
|
@@ -48446,9 +48446,9 @@ function Sk(e, {
|
|
|
48446
48446
|
return;
|
|
48447
48447
|
const M = m();
|
|
48448
48448
|
M && (R = M, h = new ResizeObserver(ai((D) => {
|
|
48449
|
-
var
|
|
48450
|
-
const
|
|
48451
|
-
|
|
48449
|
+
var Y, $;
|
|
48450
|
+
const B = ($ = (Y = D[0]) == null ? void 0 : Y.contentRect) == null ? void 0 : $.width;
|
|
48451
|
+
B && (f.value = B, U());
|
|
48452
48452
|
}, 100)), f.value = M.getBoundingClientRect().width, U(), h.observe(M));
|
|
48453
48453
|
}, F = () => {
|
|
48454
48454
|
h && (R && h.unobserve(R), h.disconnect(), h = void 0, R = void 0);
|
|
@@ -48481,25 +48481,30 @@ function Lk(e, { emit: t }) {
|
|
|
48481
48481
|
function fk(e, { emit: t }, {
|
|
48482
48482
|
isDndDisabled: _ = E(() => !1)
|
|
48483
48483
|
} = {}) {
|
|
48484
|
-
const n = u(e, "
|
|
48485
|
-
|
|
48486
|
-
|
|
48487
|
-
|
|
48488
|
-
|
|
48484
|
+
const n = u(e, "actionsDisabledCallback"), a = u(e, "focusAfterMove"), s = u(e, "id"), i = u(e, "isDragAndDrop"), o = u(e, "rows"), c = N(void 0), A = N(void 0), T = N(void 0), L = N(void 0), f = (B) => {
|
|
48485
|
+
if (_.value)
|
|
48486
|
+
return !0;
|
|
48487
|
+
const Y = Ee(n.value, "dnd");
|
|
48488
|
+
return De(Y) ? !!Y({
|
|
48489
|
+
row: o.value[B],
|
|
48490
|
+
rowIndex: B
|
|
48491
|
+
}) : !1;
|
|
48492
|
+
}, C = (B, Y) => {
|
|
48493
|
+
const $ = Math.min(B, Y), H = Math.max(B, Y);
|
|
48489
48494
|
for (let K = $; K <= H; K++)
|
|
48490
48495
|
if (f(K))
|
|
48491
48496
|
return !0;
|
|
48492
48497
|
return !1;
|
|
48493
48498
|
}, h = () => {
|
|
48494
|
-
var
|
|
48495
|
-
(
|
|
48496
|
-
}, R = (
|
|
48499
|
+
var B;
|
|
48500
|
+
(B = L.value) == null || B.remove(), L.value = void 0;
|
|
48501
|
+
}, R = (B) => {
|
|
48497
48502
|
var X, J;
|
|
48498
|
-
const
|
|
48499
|
-
if (!
|
|
48503
|
+
const Y = (J = (X = B.target) == null ? void 0 : X.closest) == null ? void 0 : J.call(X, "tr");
|
|
48504
|
+
if (!Y)
|
|
48500
48505
|
return;
|
|
48501
|
-
const $ =
|
|
48502
|
-
H.className = "a_table_form__table", H.style.borderCollapse = "collapse", H.style.borderSpacing = "0", H.style.width = `${$.width}px`, H.style.tableLayout = "fixed", Array.from(
|
|
48506
|
+
const $ = Y.getBoundingClientRect(), H = document.createElement("table"), K = document.createElement("tbody"), k = Y.cloneNode(!0);
|
|
48507
|
+
H.className = "a_table_form__table", H.style.borderCollapse = "collapse", H.style.borderSpacing = "0", H.style.width = `${$.width}px`, H.style.tableLayout = "fixed", Array.from(Y.children).forEach((ue, ge) => {
|
|
48503
48508
|
const re = k.children[ge];
|
|
48504
48509
|
if (re) {
|
|
48505
48510
|
const Ue = window.getComputedStyle(ue);
|
|
@@ -48509,89 +48514,89 @@ function fk(e, { emit: t }, {
|
|
|
48509
48514
|
const z = document.createElement("div");
|
|
48510
48515
|
return z.className = "a_table_form a_table_form__drag_preview", z.style.position = "fixed", z.style.top = "-10000px", z.style.left = "-10000px", z.style.pointerEvents = "none", z.style.zIndex = "9999", z.appendChild(H), document.body.appendChild(z), L.value = z, {
|
|
48511
48516
|
element: z,
|
|
48512
|
-
offsetX: Math.min(
|
|
48513
|
-
offsetY: Math.min(
|
|
48517
|
+
offsetX: Math.min(B.offsetX || 0, $.width / 2),
|
|
48518
|
+
offsetY: Math.min(B.offsetY || 0, $.height / 2)
|
|
48514
48519
|
};
|
|
48515
|
-
}, p = ({ focusId:
|
|
48516
|
-
if (!i.value || _.value ||
|
|
48520
|
+
}, p = ({ focusId: B, fromIndex: Y, toIndex: $, trigger: H }) => {
|
|
48521
|
+
if (!i.value || _.value || Y === $ || Y < 0 || $ < 0 || Y >= o.value.length || $ >= o.value.length || C(Y, $))
|
|
48517
48522
|
return;
|
|
48518
|
-
const K = [...o.value], [k] = K.splice(
|
|
48519
|
-
K.splice($, 0, k), t("updateRows", { focusId:
|
|
48520
|
-
focusId:
|
|
48521
|
-
fromIndex:
|
|
48523
|
+
const K = [...o.value], [k] = K.splice(Y, 1);
|
|
48524
|
+
K.splice($, 0, k), t("updateRows", { focusId: B, rows: K, trigger: H, fromIndex: Y, toIndex: $ }), t("moveRow", {
|
|
48525
|
+
focusId: B,
|
|
48526
|
+
fromIndex: Y,
|
|
48522
48527
|
row: k,
|
|
48523
48528
|
toIndex: $
|
|
48524
48529
|
});
|
|
48525
|
-
}, O = ({ fromIndex:
|
|
48526
|
-
if (!i.value || _.value ||
|
|
48530
|
+
}, O = ({ fromIndex: B, rowIndex: Y, position: $ = "before" }) => {
|
|
48531
|
+
if (!i.value || _.value || B < 0 || Y < 0 || B >= o.value.length || Y >= o.value.length)
|
|
48527
48532
|
return;
|
|
48528
|
-
let H = $ === "after" ?
|
|
48529
|
-
|
|
48530
|
-
fromIndex:
|
|
48533
|
+
let H = $ === "after" ? Y + 1 : Y;
|
|
48534
|
+
B < H && (H -= 1), p({
|
|
48535
|
+
fromIndex: B,
|
|
48531
48536
|
toIndex: H,
|
|
48532
48537
|
trigger: "dnd"
|
|
48533
48538
|
});
|
|
48534
|
-
}, m = ({ focusId:
|
|
48539
|
+
}, m = ({ focusId: B }) => {
|
|
48535
48540
|
a.value && g_().then(
|
|
48536
48541
|
() => {
|
|
48537
|
-
vt({ selector: `#${
|
|
48542
|
+
vt({ selector: `#${B}` });
|
|
48538
48543
|
}
|
|
48539
48544
|
);
|
|
48540
|
-
}, b = (
|
|
48541
|
-
const
|
|
48545
|
+
}, b = (B) => {
|
|
48546
|
+
const Y = Math.max(1, B - 1), $ = `${s.value}_${Y}_up`;
|
|
48542
48547
|
p({
|
|
48543
48548
|
focusId: $,
|
|
48544
|
-
fromIndex:
|
|
48545
|
-
toIndex:
|
|
48549
|
+
fromIndex: B,
|
|
48550
|
+
toIndex: B - 1,
|
|
48546
48551
|
trigger: "moveRowUp"
|
|
48547
48552
|
}), m({ focusId: $ });
|
|
48548
|
-
}, g = (
|
|
48549
|
-
const
|
|
48553
|
+
}, g = (B) => {
|
|
48554
|
+
const Y = Math.min(o.value.length - 2, B + 1), $ = `${s.value}_${Y}_down`;
|
|
48550
48555
|
p({
|
|
48551
48556
|
focusId: $,
|
|
48552
|
-
fromIndex:
|
|
48553
|
-
toIndex:
|
|
48557
|
+
fromIndex: B,
|
|
48558
|
+
toIndex: B + 1,
|
|
48554
48559
|
trigger: "moveRowDown"
|
|
48555
48560
|
}), m({ focusId: $ });
|
|
48556
|
-
}, U = (
|
|
48557
|
-
if (!(!i.value || f(
|
|
48558
|
-
if (
|
|
48559
|
-
|
|
48560
|
-
const $ = R(
|
|
48561
|
-
$ &&
|
|
48561
|
+
}, U = (B, Y) => {
|
|
48562
|
+
if (!(!i.value || f(Y))) {
|
|
48563
|
+
if (B != null && B.dataTransfer) {
|
|
48564
|
+
B.dataTransfer.effectAllowed = "move", B.dataTransfer.setData("text/plain", `${Y}`), h();
|
|
48565
|
+
const $ = R(B);
|
|
48566
|
+
$ && B.dataTransfer.setDragImage($.element, $.offsetX, $.offsetY);
|
|
48562
48567
|
}
|
|
48563
|
-
c.value =
|
|
48568
|
+
c.value = Y;
|
|
48564
48569
|
}
|
|
48565
|
-
}, V = (
|
|
48570
|
+
}, V = (B, Y) => {
|
|
48566
48571
|
var H, K;
|
|
48567
|
-
if (!i.value || f(
|
|
48572
|
+
if (!i.value || f(Y))
|
|
48568
48573
|
return;
|
|
48569
|
-
|
|
48570
|
-
const $ = (K = (H =
|
|
48574
|
+
B.preventDefault();
|
|
48575
|
+
const $ = (K = (H = B.currentTarget) == null ? void 0 : H.getBoundingClientRect) == null ? void 0 : K.call(H);
|
|
48571
48576
|
if ($) {
|
|
48572
48577
|
const k = $.top + $.height / 2;
|
|
48573
|
-
T.value =
|
|
48578
|
+
T.value = B.clientY < k ? "before" : "after";
|
|
48574
48579
|
} else
|
|
48575
48580
|
T.value = "after";
|
|
48576
|
-
A.value =
|
|
48577
|
-
}, F = (
|
|
48581
|
+
A.value = Y;
|
|
48582
|
+
}, F = (B, Y) => {
|
|
48578
48583
|
var H, K;
|
|
48579
|
-
if (!i.value || f(
|
|
48584
|
+
if (!i.value || f(Y))
|
|
48580
48585
|
return;
|
|
48581
|
-
const $ =
|
|
48582
|
-
(K = (H =
|
|
48583
|
-
}, M = (
|
|
48584
|
-
!i.value || f(
|
|
48586
|
+
const $ = B.relatedTarget;
|
|
48587
|
+
(K = (H = B.currentTarget) == null ? void 0 : H.contains) != null && K.call(H, $) || A.value === Y && (A.value = void 0, T.value = void 0);
|
|
48588
|
+
}, M = (B, Y) => {
|
|
48589
|
+
!i.value || f(Y) || (B.preventDefault(), c.value !== void 0 && (O({
|
|
48585
48590
|
fromIndex: c.value,
|
|
48586
48591
|
position: T.value || "after",
|
|
48587
|
-
rowIndex:
|
|
48592
|
+
rowIndex: Y
|
|
48588
48593
|
}), h(), c.value = void 0, A.value = void 0, T.value = void 0));
|
|
48589
48594
|
}, D = () => {
|
|
48590
48595
|
h(), c.value = void 0, A.value = void 0, T.value = void 0;
|
|
48591
48596
|
};
|
|
48592
48597
|
return {
|
|
48593
|
-
canMoveRowDown: E(() => (
|
|
48594
|
-
canMoveRowUp: E(() => (
|
|
48598
|
+
canMoveRowDown: E(() => (B) => B < o.value.length - 1),
|
|
48599
|
+
canMoveRowUp: E(() => (B) => B > 0),
|
|
48595
48600
|
dragOverPosition: T,
|
|
48596
48601
|
dragOverRowIndex: A,
|
|
48597
48602
|
draggedRowIndex: c,
|
|
@@ -48719,6 +48724,11 @@ const AEt = {
|
|
|
48719
48724
|
required: !1,
|
|
48720
48725
|
default: () => ({})
|
|
48721
48726
|
},
|
|
48727
|
+
/*
|
|
48728
|
+
* Supported callbacks:
|
|
48729
|
+
* add: () => boolean
|
|
48730
|
+
* delete, dnd, edit: ({ row, rowIndex }) => boolean
|
|
48731
|
+
*/
|
|
48722
48732
|
actionsDisabledCallback: {
|
|
48723
48733
|
type: Object,
|
|
48724
48734
|
required: !1,
|
|
@@ -48748,11 +48758,6 @@ const AEt = {
|
|
|
48748
48758
|
required: !1,
|
|
48749
48759
|
default: ""
|
|
48750
48760
|
},
|
|
48751
|
-
dndDisabledCallback: {
|
|
48752
|
-
type: Function,
|
|
48753
|
-
required: !1,
|
|
48754
|
-
default: void 0
|
|
48755
|
-
},
|
|
48756
48761
|
changeModel: {
|
|
48757
48762
|
type: Function,
|
|
48758
48763
|
required: !1,
|
|
@@ -48925,8 +48930,8 @@ const AEt = {
|
|
|
48925
48930
|
columnsVisible: s,
|
|
48926
48931
|
getRowKey: o
|
|
48927
48932
|
}), {
|
|
48928
|
-
canMoveRowDown:
|
|
48929
|
-
canMoveRowUp:
|
|
48933
|
+
canMoveRowDown: B,
|
|
48934
|
+
canMoveRowUp: Y,
|
|
48930
48935
|
dragOverPosition: $,
|
|
48931
48936
|
dragOverRowIndex: H,
|
|
48932
48937
|
draggedRowIndex: K,
|
|
@@ -48957,8 +48962,8 @@ const AEt = {
|
|
|
48957
48962
|
allColumnsLength: a,
|
|
48958
48963
|
addTitle: ve,
|
|
48959
48964
|
canAddRow: b,
|
|
48960
|
-
canMoveRowDown:
|
|
48961
|
-
canMoveRowUp:
|
|
48965
|
+
canMoveRowDown: B,
|
|
48966
|
+
canMoveRowUp: Y,
|
|
48962
48967
|
actionsClassesLocal: C,
|
|
48963
48968
|
columnsStylesGrow: h,
|
|
48964
48969
|
columnsVisible: s,
|
|
@@ -52019,10 +52024,10 @@ function T2(e) {
|
|
|
52019
52024
|
if (ht(D.to))
|
|
52020
52025
|
return D.to;
|
|
52021
52026
|
if (tt(D.to)) {
|
|
52022
|
-
const
|
|
52027
|
+
const B = ae(D.to), Y = B.params || {}, $ = B.query || {};
|
|
52023
52028
|
if (D.to.nameDynamic && !D.to.name) {
|
|
52024
52029
|
const H = Ee(n.value, D.to.nameDynamic);
|
|
52025
|
-
H && (
|
|
52030
|
+
H && (B.name = H);
|
|
52026
52031
|
}
|
|
52027
52032
|
if (D.to.paramsDynamic) {
|
|
52028
52033
|
let H = !1;
|
|
@@ -52030,7 +52035,7 @@ function T2(e) {
|
|
|
52030
52035
|
const z = Ee(n.value, K);
|
|
52031
52036
|
if (xe(z))
|
|
52032
52037
|
return H = !0, !1;
|
|
52033
|
-
|
|
52038
|
+
Y[k] = z;
|
|
52034
52039
|
}), H)
|
|
52035
52040
|
return;
|
|
52036
52041
|
}
|
|
@@ -52044,7 +52049,7 @@ function T2(e) {
|
|
|
52044
52049
|
}), H)
|
|
52045
52050
|
return;
|
|
52046
52051
|
}
|
|
52047
|
-
return
|
|
52052
|
+
return B.params = Y, B.query = $, B;
|
|
52048
52053
|
}
|
|
52049
52054
|
}, m = ({ rowAction: D }) => D.href ? D.href : De(D.hrefCallback) ? D.hrefCallback({
|
|
52050
52055
|
row: n.value,
|
|
@@ -52075,11 +52080,11 @@ function T2(e) {
|
|
|
52075
52080
|
ids: [c.value, o.value]
|
|
52076
52081
|
};
|
|
52077
52082
|
if (D < A.value) {
|
|
52078
|
-
const
|
|
52083
|
+
const B = `${c.value}_${D}`;
|
|
52079
52084
|
return {
|
|
52080
|
-
buttonId:
|
|
52081
|
-
id:
|
|
52082
|
-
ids: [
|
|
52085
|
+
buttonId: B,
|
|
52086
|
+
id: B,
|
|
52087
|
+
ids: [B, o.value]
|
|
52083
52088
|
};
|
|
52084
52089
|
}
|
|
52085
52090
|
return {
|
|
@@ -52087,61 +52092,61 @@ function T2(e) {
|
|
|
52087
52092
|
ids: [c.value, o.value]
|
|
52088
52093
|
};
|
|
52089
52094
|
}, V = (D) => {
|
|
52090
|
-
Z(D, (
|
|
52091
|
-
yY(
|
|
52095
|
+
Z(D, (B, Y) => {
|
|
52096
|
+
yY(Y, "Callback") && (D[Y] = void 0);
|
|
52092
52097
|
});
|
|
52093
52098
|
}, F = E(() => {
|
|
52094
52099
|
const D = [];
|
|
52095
|
-
let
|
|
52096
|
-
return Z(ae(i.value), (
|
|
52100
|
+
let B = 0;
|
|
52101
|
+
return Z(ae(i.value), (Y) => {
|
|
52097
52102
|
if (zC({
|
|
52098
|
-
rowAction:
|
|
52103
|
+
rowAction: Y,
|
|
52099
52104
|
row: n.value,
|
|
52100
52105
|
rowIndex: a.value
|
|
52101
52106
|
})) {
|
|
52102
|
-
if (
|
|
52103
|
-
const $ = T({ rowAction:
|
|
52104
|
-
$ && (
|
|
52105
|
-
const H = L({ rowAction:
|
|
52106
|
-
H && (
|
|
52107
|
-
const K = f({ rowAction:
|
|
52108
|
-
K ?
|
|
52109
|
-
const k = C({ rowAction:
|
|
52110
|
-
k && (
|
|
52111
|
-
const z = h({ rowAction:
|
|
52112
|
-
z && (
|
|
52113
|
-
const X = R({ rowAction:
|
|
52114
|
-
X && (
|
|
52115
|
-
const J = p({ rowAction:
|
|
52116
|
-
J && (
|
|
52117
|
-
const ue = b({ rowAction:
|
|
52118
|
-
ue && (
|
|
52119
|
-
const ge = g({ rowAction:
|
|
52120
|
-
if (ue && (
|
|
52121
|
-
const re = O({ rowAction:
|
|
52122
|
-
re ?
|
|
52107
|
+
if (Y.type !== "divider") {
|
|
52108
|
+
const $ = T({ rowAction: Y });
|
|
52109
|
+
$ && (Y.text = $);
|
|
52110
|
+
const H = L({ rowAction: Y });
|
|
52111
|
+
H && (Y.html = H);
|
|
52112
|
+
const K = f({ rowAction: Y });
|
|
52113
|
+
K ? Y.title = K : $ && (Y.title = $);
|
|
52114
|
+
const k = C({ rowAction: Y });
|
|
52115
|
+
k && (Y.disabled = k);
|
|
52116
|
+
const z = h({ rowAction: Y });
|
|
52117
|
+
z && (Y.class = z);
|
|
52118
|
+
const X = R({ rowAction: Y });
|
|
52119
|
+
X && (Y.iconLeft = X);
|
|
52120
|
+
const J = p({ rowAction: Y });
|
|
52121
|
+
J && (Y.iconRight = J);
|
|
52122
|
+
const ue = b({ rowAction: Y });
|
|
52123
|
+
ue && (Y.extra = ue);
|
|
52124
|
+
const ge = g({ rowAction: Y });
|
|
52125
|
+
if (ue && (Y.textScreenReader = ge), Y.type === "link") {
|
|
52126
|
+
const re = O({ rowAction: Y });
|
|
52127
|
+
re ? Y.to = re : Y.href = m({ rowAction: Y });
|
|
52123
52128
|
}
|
|
52124
|
-
if (De(
|
|
52129
|
+
if (De(Y.callback)) {
|
|
52125
52130
|
const {
|
|
52126
52131
|
buttonId: re,
|
|
52127
52132
|
id: Ue,
|
|
52128
52133
|
ids: Re
|
|
52129
52134
|
} = U({
|
|
52130
|
-
rowActionIndexVisible:
|
|
52135
|
+
rowActionIndexVisible: B
|
|
52131
52136
|
});
|
|
52132
|
-
|
|
52133
|
-
const Ge =
|
|
52134
|
-
|
|
52137
|
+
Y.id = re;
|
|
52138
|
+
const Ge = Y.callback;
|
|
52139
|
+
Y.callback = () => Ge({
|
|
52135
52140
|
row: n.value,
|
|
52136
52141
|
rowIndex: a.value,
|
|
52137
52142
|
id: Ue,
|
|
52138
52143
|
ids: Re,
|
|
52139
|
-
rowAction:
|
|
52144
|
+
rowAction: Y
|
|
52140
52145
|
});
|
|
52141
52146
|
}
|
|
52142
|
-
V(
|
|
52147
|
+
V(Y), B++;
|
|
52143
52148
|
}
|
|
52144
|
-
D.push(
|
|
52149
|
+
D.push(Y);
|
|
52145
52150
|
}
|
|
52146
52151
|
}), D;
|
|
52147
52152
|
}), M = E(() => !_.value && F.value.length > 0);
|
|
@@ -52352,8 +52357,8 @@ function f2(e, {
|
|
|
52352
52357
|
}
|
|
52353
52358
|
}) {
|
|
52354
52359
|
const o = u(e, "disabledPreview"), c = u(e, "disabledPreviewRowCallback"), A = u(e, "isFooter"), T = u(e, "isTreeCollapsible"), L = u(e, "level"), f = u(e, "row"), C = u(e, "rowClass"), h = u(e, "rowIndex"), R = be("isMobile"), p = be("onTogglePreview"), O = be("tableId"), m = E(() => {
|
|
52355
|
-
const
|
|
52356
|
-
return `${O.value}${
|
|
52360
|
+
const B = A.value ? "_footer" : "";
|
|
52361
|
+
return `${O.value}${B}_${h.value}`;
|
|
52357
52362
|
}), b = E(() => De(C.value) ? C.value({
|
|
52358
52363
|
level: L.value,
|
|
52359
52364
|
row: f.value,
|
|
@@ -52364,9 +52369,9 @@ function f2(e, {
|
|
|
52364
52369
|
a.value,
|
|
52365
52370
|
s.value,
|
|
52366
52371
|
b.value
|
|
52367
|
-
]), U = E(() => R.value ? "listitem" : "row"), V = E(() => De(c.value) ? c.value({ row: f.value, rowIndex: h.value }) : o.value), F = (
|
|
52372
|
+
]), U = E(() => R.value ? "listitem" : "row"), V = E(() => De(c.value) ? c.value({ row: f.value, rowIndex: h.value }) : o.value), F = (B) => {
|
|
52368
52373
|
Nk({
|
|
52369
|
-
$event:
|
|
52374
|
+
$event: B,
|
|
52370
52375
|
tagsName: [
|
|
52371
52376
|
"A",
|
|
52372
52377
|
"BUTTON",
|
|
@@ -52378,8 +52383,8 @@ function f2(e, {
|
|
|
52378
52383
|
row: f.value,
|
|
52379
52384
|
rowIndex: h.value
|
|
52380
52385
|
}));
|
|
52381
|
-
}, M = (
|
|
52382
|
-
|
|
52386
|
+
}, M = (B) => {
|
|
52387
|
+
B.keyCode === ne.enter && F(B);
|
|
52383
52388
|
}, D = E(() => (T.value && t.value || _.value) && !V.value ? {
|
|
52384
52389
|
tabindex: 0,
|
|
52385
52390
|
onClick: F,
|
|
@@ -52643,8 +52648,8 @@ const lf = {
|
|
|
52643
52648
|
toggleAllColumnsVisibleMobile: M
|
|
52644
52649
|
} = p2(e), {
|
|
52645
52650
|
isCheckboxDisabled: D,
|
|
52646
|
-
isRowSelected:
|
|
52647
|
-
labelCheckbox:
|
|
52651
|
+
isRowSelected: B,
|
|
52652
|
+
labelCheckbox: Y,
|
|
52648
52653
|
toggleCheckbox: $
|
|
52649
52654
|
} = h2(e, t);
|
|
52650
52655
|
return c(), {
|
|
@@ -52659,8 +52664,8 @@ const lf = {
|
|
|
52659
52664
|
isBtnToggleAllColumnsVisible: V,
|
|
52660
52665
|
isCheckboxDisabled: D,
|
|
52661
52666
|
isOneOfParentsCloseForChildren: A,
|
|
52662
|
-
isRowSelected:
|
|
52663
|
-
labelCheckbox:
|
|
52667
|
+
isRowSelected: B,
|
|
52668
|
+
labelCheckbox: Y,
|
|
52664
52669
|
levelForChildren: s,
|
|
52665
52670
|
previewAttributes: C,
|
|
52666
52671
|
roleLocal: O,
|
|
@@ -52930,20 +52935,20 @@ function m2(e, {
|
|
|
52930
52935
|
b
|
|
52931
52936
|
].join("%%%"))), O))), c = ({ groups: O, group: m, level: b, columnsOrderedFromGroups: g, firstLevelGroupObject: U }) => {
|
|
52932
52937
|
const V = m ? Rt(O, (D) => _l(D, m[b - 1])) : O, F = Dd(V, (D) => D[b]), M = b_(F, (D) => {
|
|
52933
|
-
const
|
|
52938
|
+
const B = {
|
|
52934
52939
|
id: D[b].split("%%%")[0]
|
|
52935
52940
|
};
|
|
52936
|
-
let
|
|
52937
|
-
return b === 0 ? (
|
|
52941
|
+
let Y;
|
|
52942
|
+
return b === 0 ? (Y = B, Y.columnIndexes = []) : Y = U, D.length > b + 1 ? B.children = Ee(
|
|
52938
52943
|
c({
|
|
52939
52944
|
groups: O,
|
|
52940
52945
|
group: D,
|
|
52941
52946
|
level: b + 1,
|
|
52942
52947
|
columnsOrderedFromGroups: g,
|
|
52943
|
-
firstLevelGroupObject:
|
|
52948
|
+
firstLevelGroupObject: Y
|
|
52944
52949
|
}),
|
|
52945
52950
|
"recursiveGroup"
|
|
52946
|
-
) : D.length === b + 1 && (
|
|
52951
|
+
) : D.length === b + 1 && (B.columns = Rt(o.value, ($) => _l($.group, D[b])), Y.columnIndexes.push(...b_(B.columns, "_index")), g.push(...B.columns)), B;
|
|
52947
52952
|
});
|
|
52948
52953
|
return {
|
|
52949
52954
|
columnsOrderedFromGroups: g,
|
|
@@ -53208,13 +53213,13 @@ function P2(e, { emit: t }, {
|
|
|
53208
53213
|
h();
|
|
53209
53214
|
else {
|
|
53210
53215
|
const D = {};
|
|
53211
|
-
f.value ? mn(s.value, (
|
|
53216
|
+
f.value ? mn(s.value, (B) => {
|
|
53212
53217
|
c.value.isHiddenCallback({
|
|
53213
|
-
row: a.value[
|
|
53214
|
-
rowIndex:
|
|
53215
|
-
}) || (D[
|
|
53216
|
-
}) : mn(s.value, (
|
|
53217
|
-
D[
|
|
53218
|
+
row: a.value[B],
|
|
53219
|
+
rowIndex: B
|
|
53220
|
+
}) || (D[B] = !0);
|
|
53221
|
+
}) : mn(s.value, (B) => {
|
|
53222
|
+
D[B] = !0;
|
|
53218
53223
|
}), A.value = D;
|
|
53219
53224
|
}
|
|
53220
53225
|
return;
|
|
@@ -53238,20 +53243,20 @@ function Y2(e, { emit: t }, {
|
|
|
53238
53243
|
} = tR(), o = 200, c = 50;
|
|
53239
53244
|
let A, T = 0, L = 0, f = 0;
|
|
53240
53245
|
const C = () => {
|
|
53241
|
-
var
|
|
53242
|
-
if (!((
|
|
53246
|
+
var B;
|
|
53247
|
+
if (!((B = _.value) != null && B.getBoundingClientRect))
|
|
53243
53248
|
return;
|
|
53244
53249
|
L = _.value.getBoundingClientRect().left;
|
|
53245
53250
|
}, h = ({ clientWidth: D }) => {
|
|
53246
53251
|
T = D, A = D / 100 * c, C();
|
|
53247
|
-
}, R = ({ clientWidthLocal: D, clientXTableParent:
|
|
53252
|
+
}, R = ({ clientWidthLocal: D, clientXTableParent: B, previewBoxWidth: Y }) => {
|
|
53248
53253
|
if (!_.value)
|
|
53249
53254
|
return;
|
|
53250
|
-
const $ = D -
|
|
53255
|
+
const $ = D - B - Y;
|
|
53251
53256
|
_.value.style.width = `${$}px`;
|
|
53252
|
-
}, p = ({ clientX: D = 0, previewRef:
|
|
53253
|
-
let $ =
|
|
53254
|
-
$ < o ? $ = o : $ > A && ($ = A), R({ clientWidthLocal: T, clientXTableParent: L, previewBoxWidth: $ }),
|
|
53257
|
+
}, p = ({ clientX: D = 0, previewRef: B, previewBoxWidth: Y = 0 }) => {
|
|
53258
|
+
let $ = Y || T - D;
|
|
53259
|
+
$ < o ? $ = o : $ > A && ($ = A), R({ clientWidthLocal: T, clientXTableParent: L, previewBoxWidth: $ }), B && (B.style.width = `${$}px`);
|
|
53255
53260
|
}, O = ({ previewRef: D }) => {
|
|
53256
53261
|
Ee(D, "style.removeProperty") && D.style.removeProperty("width"), Ee(_, "value.style.removeProperty") && _.value.style.removeProperty("width");
|
|
53257
53262
|
}, m = ({ previewRef: D }) => {
|
|
@@ -53259,8 +53264,8 @@ function Y2(e, { emit: t }, {
|
|
|
53259
53264
|
previewRef: D,
|
|
53260
53265
|
previewBoxWidth: n.value
|
|
53261
53266
|
});
|
|
53262
|
-
}, b = ({ previewRef: D, isOpen:
|
|
53263
|
-
|
|
53267
|
+
}, b = ({ previewRef: D, isOpen: B }) => {
|
|
53268
|
+
B ? m({ previewRef: D }) : O({ previewRef: D });
|
|
53264
53269
|
}, g = ({ previewRightWidth: D }) => {
|
|
53265
53270
|
t("mouseupResizePreviewRight", { previewRightWidth: D });
|
|
53266
53271
|
}, U = () => {
|
|
@@ -53269,8 +53274,8 @@ function Y2(e, { emit: t }, {
|
|
|
53269
53274
|
});
|
|
53270
53275
|
}, V = new ResizeObserver(
|
|
53271
53276
|
ai((D) => {
|
|
53272
|
-
const
|
|
53273
|
-
f !==
|
|
53277
|
+
const B = D[0].contentRect;
|
|
53278
|
+
f !== B.width && (f = B.width, U());
|
|
53274
53279
|
}, 300)
|
|
53275
53280
|
), F = () => {
|
|
53276
53281
|
V.observe(a.value);
|
|
@@ -53318,7 +53323,7 @@ function B2(e, t, {
|
|
|
53318
53323
|
const re = `#${KC({ tableId: p.value })}`;
|
|
53319
53324
|
vt({ selector: re });
|
|
53320
53325
|
});
|
|
53321
|
-
}, M = E(() => R.value === "right" || n.value), D = E(() => !oe(b.value)),
|
|
53326
|
+
}, M = E(() => R.value === "right" || n.value), D = E(() => !oe(b.value)), B = () => {
|
|
53322
53327
|
V({
|
|
53323
53328
|
rowIndex: b.value
|
|
53324
53329
|
}), O("togglePreview", {
|
|
@@ -53326,7 +53331,7 @@ function B2(e, t, {
|
|
|
53326
53331
|
rowIndex: b.value,
|
|
53327
53332
|
typeToggle: "close"
|
|
53328
53333
|
}), g.value = b.value, b.value = void 0, f();
|
|
53329
|
-
},
|
|
53334
|
+
}, Y = () => {
|
|
53330
53335
|
O("togglePreview", {
|
|
53331
53336
|
row: s.value[b.value],
|
|
53332
53337
|
rowIndex: b.value,
|
|
@@ -53338,9 +53343,9 @@ function B2(e, t, {
|
|
|
53338
53343
|
}, K = () => {
|
|
53339
53344
|
m.value = {};
|
|
53340
53345
|
}, k = () => {
|
|
53341
|
-
|
|
53346
|
+
Y(), K();
|
|
53342
53347
|
}, z = ({ rowIndex: re, row: Ue } = {}) => {
|
|
53343
|
-
M.value ?
|
|
53348
|
+
M.value ? B() : $.value && H({ rowIndex: re, row: Ue });
|
|
53344
53349
|
}, X = ({ rowIndex: re }) => {
|
|
53345
53350
|
!n.value && xe(b.value) && c(), O("togglePreview", {
|
|
53346
53351
|
row: s.value[re],
|
|
@@ -53348,7 +53353,7 @@ function B2(e, t, {
|
|
|
53348
53353
|
typeToggle: "open"
|
|
53349
53354
|
}), b.value = re, g.value = void 0, F();
|
|
53350
53355
|
}, J = ({ rowIndex: re }) => {
|
|
53351
|
-
b.value === re ?
|
|
53356
|
+
b.value === re ? B() : X({ rowIndex: re });
|
|
53352
53357
|
}, ue = ({ rowIndex: re, row: Ue }) => {
|
|
53353
53358
|
const Re = sE({ row: Ue, rowIndex: re, keyId: h.value });
|
|
53354
53359
|
m.value[Re] ? delete m.value[Re] : m.value[Re] = !0;
|
|
@@ -53394,7 +53399,7 @@ function M2(e, {
|
|
|
53394
53399
|
return t.value;
|
|
53395
53400
|
}), R = E(() => h.value), p = E(() => R.value.length), O = E(() => !!p.value), m = () => {
|
|
53396
53401
|
const M = f * c.value, D = M + c.value;
|
|
53397
|
-
b_(h.value.slice(M, D), (
|
|
53402
|
+
b_(h.value.slice(M, D), (B) => T.value.push(B)), f++;
|
|
53398
53403
|
}, b = () => {
|
|
53399
53404
|
C = setInterval(() => {
|
|
53400
53405
|
f * c.value >= h.value.length ? clearInterval(C) : m();
|
|
@@ -53449,7 +53454,7 @@ function V2(e, { emit: t }, {
|
|
|
53449
53454
|
freeSpaceWidth: J = 0
|
|
53450
53455
|
}) => {
|
|
53451
53456
|
X > 0 ? m.value = J / X : m.value = 0;
|
|
53452
|
-
},
|
|
53457
|
+
}, B = () => {
|
|
53453
53458
|
if (oe(o.value) || a.value.length < o.value)
|
|
53454
53459
|
s.value = [];
|
|
53455
53460
|
else {
|
|
@@ -53463,11 +53468,11 @@ function V2(e, { emit: t }, {
|
|
|
53463
53468
|
}
|
|
53464
53469
|
s.value = X;
|
|
53465
53470
|
}
|
|
53466
|
-
},
|
|
53471
|
+
}, Y = () => {
|
|
53467
53472
|
s.value = [], m.value = 0, o.value = 1e3, b.value = 0;
|
|
53468
53473
|
}, $ = () => {
|
|
53469
53474
|
if (c.value || b.value === 0) {
|
|
53470
|
-
|
|
53475
|
+
Y();
|
|
53471
53476
|
return;
|
|
53472
53477
|
}
|
|
53473
53478
|
if (xe(b.value))
|
|
@@ -53504,7 +53509,7 @@ function V2(e, { emit: t }, {
|
|
|
53504
53509
|
(f.value || ge === a.value.length) && (Re = Ge - ue), o.value = ge, D({
|
|
53505
53510
|
sumGrows: re,
|
|
53506
53511
|
freeSpaceWidth: Re
|
|
53507
|
-
}),
|
|
53512
|
+
}), B();
|
|
53508
53513
|
}, H = ({ entries: X, forceAdjust: J }) => {
|
|
53509
53514
|
const ue = X[0].contentRect;
|
|
53510
53515
|
(J || b.value > ue.width + U || b.value < ue.width - U) && (g || (g = !0, b.value = ue.width, $(), g = !1));
|
|
@@ -53513,7 +53518,7 @@ function V2(e, { emit: t }, {
|
|
|
53513
53518
|
xe(b.value) ? H({ entries: X, forceAdjust: !0 }) : H({ entries: X });
|
|
53514
53519
|
}, 300)
|
|
53515
53520
|
), k = (X) => {
|
|
53516
|
-
X ? (K.unobserve(O.value),
|
|
53521
|
+
X ? (K.unobserve(O.value), Y()) : (K.observe(O.value), L.value && $());
|
|
53517
53522
|
}, z = (X) => {
|
|
53518
53523
|
L.value = X, t("updateModelIsTableWithoutScroll", X), L.value && $();
|
|
53519
53524
|
};
|
|
@@ -54230,8 +54235,8 @@ const SEt = {
|
|
|
54230
54235
|
hasViews: F,
|
|
54231
54236
|
initViewCurrent: M,
|
|
54232
54237
|
isViewTableVisible: D,
|
|
54233
|
-
updateViewCurrent:
|
|
54234
|
-
viewCurrent:
|
|
54238
|
+
updateViewCurrent: B,
|
|
54239
|
+
viewCurrent: Y
|
|
54235
54240
|
} = W2(e, t, {
|
|
54236
54241
|
closePreviewAll: Tn
|
|
54237
54242
|
}), {
|
|
@@ -54240,7 +54245,7 @@ const SEt = {
|
|
|
54240
54245
|
modelSortLocal: K,
|
|
54241
54246
|
useAdditionalSortingLocal: k
|
|
54242
54247
|
} = w2(e, {
|
|
54243
|
-
viewCurrent:
|
|
54248
|
+
viewCurrent: Y
|
|
54244
54249
|
}), {
|
|
54245
54250
|
columnsOrderedFromSimpleTable: z,
|
|
54246
54251
|
renderedGroupedColumns: X
|
|
@@ -54271,7 +54276,7 @@ const SEt = {
|
|
|
54271
54276
|
closePreviewAll: Tn,
|
|
54272
54277
|
scrollToTable: U,
|
|
54273
54278
|
setFocusToTable: V,
|
|
54274
|
-
viewCurrent:
|
|
54279
|
+
viewCurrent: Y
|
|
54275
54280
|
}), {
|
|
54276
54281
|
addRow: it,
|
|
54277
54282
|
deleteRow: Te,
|
|
@@ -54469,12 +54474,12 @@ const SEt = {
|
|
|
54469
54474
|
toggleMultipleActionsActive: $a,
|
|
54470
54475
|
togglePreviewResize: en,
|
|
54471
54476
|
updateRow: pe,
|
|
54472
|
-
updateViewCurrent:
|
|
54477
|
+
updateViewCurrent: B,
|
|
54473
54478
|
useAdditionalSortingLocal: k,
|
|
54474
54479
|
usePaginationBottom: ce,
|
|
54475
54480
|
usePaginationLocal: Pe,
|
|
54476
54481
|
usePaginationTop: je,
|
|
54477
|
-
viewCurrent:
|
|
54482
|
+
viewCurrent: Y
|
|
54478
54483
|
};
|
|
54479
54484
|
},
|
|
54480
54485
|
data() {
|
|
@@ -56439,8 +56444,8 @@ const bR = (e) => {
|
|
|
56439
56444
|
responseType: F,
|
|
56440
56445
|
headers: M,
|
|
56441
56446
|
withCredentials: D = "same-origin",
|
|
56442
|
-
fetchOptions:
|
|
56443
|
-
} = bR(h),
|
|
56447
|
+
fetchOptions: B
|
|
56448
|
+
} = bR(h), Y = t || fetch;
|
|
56444
56449
|
F = F ? (F + "").toLowerCase() : "text";
|
|
56445
56450
|
let $ = C5([m, b && b.toAbortSignal()], g), H = null;
|
|
56446
56451
|
const K = $ && $.unsubscribe && (() => {
|
|
@@ -56464,7 +56469,7 @@ const bR = (e) => {
|
|
|
56464
56469
|
}
|
|
56465
56470
|
Q.isString(D) || (D = D ? "include" : "omit");
|
|
56466
56471
|
const z = s && "credentials" in _.prototype, X = {
|
|
56467
|
-
...
|
|
56472
|
+
...B,
|
|
56468
56473
|
signal: $,
|
|
56469
56474
|
method: p.toUpperCase(),
|
|
56470
56475
|
headers: M.normalize().toJSON(),
|
|
@@ -56473,7 +56478,7 @@ const bR = (e) => {
|
|
|
56473
56478
|
credentials: z ? D : void 0
|
|
56474
56479
|
};
|
|
56475
56480
|
H = s && new _(R, X);
|
|
56476
|
-
let J = await (s ?
|
|
56481
|
+
let J = await (s ? Y(H, B) : Y(R, X));
|
|
56477
56482
|
const ue = T && (F === "stream" || F === "response");
|
|
56478
56483
|
if (T && (U || ue && K)) {
|
|
56479
56484
|
const re = {};
|
|
@@ -57552,13 +57557,13 @@ function HE(e, {
|
|
|
57552
57557
|
g.value += 1, b.value = !0;
|
|
57553
57558
|
}, F = () => {
|
|
57554
57559
|
g.value = Math.max(g.value - 1, 0), b.value = g.value > 0;
|
|
57555
|
-
}, M = E(() => !!(T.value && f.value && h.value)), D = E(() => sd.value.callbacks.retrieve),
|
|
57560
|
+
}, M = E(() => !!(T.value && f.value && h.value)), D = E(() => sd.value.callbacks.retrieve), B = E(() => R.value || h.value), Y = E(() => oe(O.value) ? p.value : O.value), $ = E(() => !!(B.value && De(D.value))), H = E(() => [
|
|
57556
57561
|
s.value,
|
|
57557
57562
|
h.value,
|
|
57558
57563
|
p.value
|
|
57559
57564
|
]), K = E(() => [
|
|
57560
|
-
|
|
57561
|
-
|
|
57565
|
+
B.value,
|
|
57566
|
+
Y.value
|
|
57562
57567
|
]), k = (Te) => o.value ? tt(Te) ? Ee(Te, Ne, Ee(Te, c.value)) : Te : Ee(Te, c.value), z = () => a.value.length ? a.value : i.value || [], X = (Te) => xB(b_(Te, (Fe) => gt(k(Fe)))).map((Fe) => cs(Te, (j) => gt(k(j)) === Fe)), J = () => X([
|
|
57563
57568
|
...z(),
|
|
57564
57569
|
...n.value
|
|
@@ -57674,8 +57679,8 @@ function HE(e, {
|
|
|
57674
57679
|
modelArray: ae(Te),
|
|
57675
57680
|
modelValue: ae(Re.value),
|
|
57676
57681
|
props: e,
|
|
57677
|
-
url:
|
|
57678
|
-
urlParams:
|
|
57682
|
+
url: B.value,
|
|
57683
|
+
urlParams: Y.value
|
|
57679
57684
|
})).then((Fe) => {
|
|
57680
57685
|
Fe != null && Fe.length && ce({
|
|
57681
57686
|
requestedModelArray: Te,
|
|
@@ -57732,10 +57737,10 @@ function WE(e) {
|
|
|
57732
57737
|
}), M), R = ({ _data: M, _isArrayOfArrays: D = !1 }) => {
|
|
57733
57738
|
if (T)
|
|
57734
57739
|
return M;
|
|
57735
|
-
const
|
|
57740
|
+
const B = ae(M), Y = ($) => tt($) && Ne in $ && ot in $;
|
|
57736
57741
|
if (D) {
|
|
57737
57742
|
const $ = [];
|
|
57738
|
-
return Z(
|
|
57743
|
+
return Z(B, (H) => {
|
|
57739
57744
|
const K = H[0];
|
|
57740
57745
|
let k = H[1];
|
|
57741
57746
|
A.value && q_(k) && (k = Le({ placeholder: k, alwaysTranslate: t.value })), $.push({
|
|
@@ -57747,8 +57752,8 @@ function WE(e) {
|
|
|
57747
57752
|
if (o.value) {
|
|
57748
57753
|
if (a.value) {
|
|
57749
57754
|
const $ = [];
|
|
57750
|
-
return Z(
|
|
57751
|
-
if (
|
|
57755
|
+
return Z(B, (H) => {
|
|
57756
|
+
if (Y(H)) {
|
|
57752
57757
|
let k = H[ot];
|
|
57753
57758
|
A.value && q_(k) && (k = Le({ placeholder: k, alwaysTranslate: t.value })), $.push({
|
|
57754
57759
|
...H,
|
|
@@ -57763,15 +57768,15 @@ function WE(e) {
|
|
|
57763
57768
|
});
|
|
57764
57769
|
}), $;
|
|
57765
57770
|
}
|
|
57766
|
-
Z(
|
|
57771
|
+
Z(B, ($) => {
|
|
57767
57772
|
let H = o.value({ item: $ });
|
|
57768
57773
|
A.value && q_(H) && (H = Le({ placeholder: H, alwaysTranslate: t.value })), $[Ne] = Ee($, s.value), $[ot] = H;
|
|
57769
57774
|
});
|
|
57770
57775
|
} else {
|
|
57771
57776
|
if (a.value) {
|
|
57772
57777
|
const $ = [];
|
|
57773
|
-
return Z(
|
|
57774
|
-
if (
|
|
57778
|
+
return Z(B, (H) => {
|
|
57779
|
+
if (Y(H)) {
|
|
57775
57780
|
let k = H[ot];
|
|
57776
57781
|
A.value && q_(k) && (k = Le({ placeholder: k, alwaysTranslate: t.value })), $.push({
|
|
57777
57782
|
...H,
|
|
@@ -57786,12 +57791,12 @@ function WE(e) {
|
|
|
57786
57791
|
});
|
|
57787
57792
|
}), $;
|
|
57788
57793
|
}
|
|
57789
|
-
Z(
|
|
57794
|
+
Z(B, ($) => {
|
|
57790
57795
|
let H = Ee($, i.value);
|
|
57791
57796
|
A.value && q_(H) && (H = Le({ placeholder: H, alwaysTranslate: t.value })), $[Ne] = Ee($, s.value), $[ot] = H;
|
|
57792
57797
|
});
|
|
57793
57798
|
}
|
|
57794
|
-
return
|
|
57799
|
+
return B;
|
|
57795
57800
|
}, p = E(() => {
|
|
57796
57801
|
let M = _.value || [];
|
|
57797
57802
|
return L.value.length && (M = L.value), f.value.length ? Dd([
|
|
@@ -57851,7 +57856,7 @@ function cA(e, { emit: t }, {
|
|
|
57851
57856
|
},
|
|
57852
57857
|
searchApiLocal: L = E(() => !1)
|
|
57853
57858
|
}) {
|
|
57854
|
-
const f = u(e, "searchInGroup"), C = u(e, "searchOutside"), h = u(e, "searchTextInHtml"), R = u(e, "searchTimeout"), p = N(!1), O = N(""), m = N(""), b = N(!1), g = N({}), U = N({}), V = N({}), F = N({}), M = N({}), D = N(void 0),
|
|
57859
|
+
const f = u(e, "searchInGroup"), C = u(e, "searchOutside"), h = u(e, "searchTextInHtml"), R = u(e, "searchTimeout"), p = N(!1), O = N(""), m = N(""), b = N(!1), g = N({}), U = N({}), V = N({}), F = N({}), M = N({}), D = N(void 0), B = E(() => !!(C.value || L.value)), Y = E(() => `${c.value}_search_global`), $ = E(() => gh(O.value || "")), H = E(() => CE($.value)), K = E(() => new RegExp(H.value, "gi")), k = () => {
|
|
57855
57860
|
let Re = !1;
|
|
57856
57861
|
if (!f.value || !s.value && !i.value) {
|
|
57857
57862
|
M.value = {}, p.value = Re;
|
|
@@ -57908,7 +57913,7 @@ function cA(e, { emit: t }, {
|
|
|
57908
57913
|
hasNotElementsExclusiveWithSearch: X,
|
|
57909
57914
|
hasNotElementsExtraWithSearch: J,
|
|
57910
57915
|
hasNotElementsWithSearch: ue,
|
|
57911
|
-
idForButtonSearchOutside:
|
|
57916
|
+
idForButtonSearchOutside: Y,
|
|
57912
57917
|
modelSearch: O,
|
|
57913
57918
|
modelSearchLowerCase: $,
|
|
57914
57919
|
modelSearchOutside: m,
|
|
@@ -57925,7 +57930,7 @@ function cA(e, { emit: t }, {
|
|
|
57925
57930
|
searchingElementsExtra: U,
|
|
57926
57931
|
searchingGroups: F,
|
|
57927
57932
|
searchingGroupsWithSearchInGroup: M,
|
|
57928
|
-
searchOutsideOrApi:
|
|
57933
|
+
searchOutsideOrApi: B,
|
|
57929
57934
|
searchOutsideRef: D,
|
|
57930
57935
|
updateModelSearch: (Re) => {
|
|
57931
57936
|
O.value = Re, R.value ? setTimeout(() => {
|