r3ui-lib 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/r3ui-lib.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as U, openBlock as j, normalizeClass as
|
|
1
|
+
import { createElementBlock as U, openBlock as j, normalizeClass as Me, computed as ke, withModifiers as Xt, createElementVNode as z, createBlock as Gt, createCommentVNode as xe, toDisplayString as Se, defineComponent as Ve, createTextVNode as Ft, normalizeStyle as Rt, Fragment as rt, renderList as mt, ref as ye, watch as _e, onMounted as St, render as Io, h as zh, createVNode as Ke, unref as Ce, mergeProps as Tr, resolveDirective as Vh, renderSlot as tt, normalizeProps as ai, guardReactiveProps as fi, resolveDynamicComponent as ps, toHandlers as jh, withDirectives as Yt, vShow as yi, Transition as Au, withCtx as Zt, getCurrentInstance as Wh, toRef as mi, nextTick as Ut, onBeforeUnmount as Yr, onUnmounted as nr, isRef as wa, useSlots as Qr, Teleport as Eu, inject as ut, provide as $e, withKeys as Ho, resolveComponent as ku, vModelCheckbox as No, createStaticVNode as Uh, triggerRef as Gh, readonly as Yh, toValue as Su } from "vue";
|
|
2
2
|
const Na = {
|
|
3
3
|
__name: "Spinner",
|
|
4
4
|
props: {
|
|
@@ -9,7 +9,7 @@ const Na = {
|
|
|
9
9
|
},
|
|
10
10
|
setup(n) {
|
|
11
11
|
return (e, t) => (j(), U("div", {
|
|
12
|
-
class:
|
|
12
|
+
class: Me(["spinner-border", { "spinner-border-sm": n.isSmall }]),
|
|
13
13
|
role: "status"
|
|
14
14
|
}, null, 2));
|
|
15
15
|
}
|
|
@@ -23,7 +23,7 @@ const Na = {
|
|
|
23
23
|
},
|
|
24
24
|
setup(n) {
|
|
25
25
|
return (e, t) => (j(), U("i", {
|
|
26
|
-
class:
|
|
26
|
+
class: Me(`bi bi-${n.name}`)
|
|
27
27
|
}, null, 2));
|
|
28
28
|
}
|
|
29
29
|
}, Qh = ["aria-label"], Kh = { class: "d-inline-flex align-items-center justify-content-center" }, Jh = { key: 2 }, Hn = {
|
|
@@ -88,7 +88,7 @@ const Na = {
|
|
|
88
88
|
}
|
|
89
89
|
return (a, o) => (j(), U("button", {
|
|
90
90
|
"data-test": "DefaultButton",
|
|
91
|
-
class:
|
|
91
|
+
class: Me(["btn", [
|
|
92
92
|
n.isLoading || n.isDisabled ? "disabled" : "",
|
|
93
93
|
n.isFullWidth ? "w-100" : "",
|
|
94
94
|
n.styles ? r.value : "",
|
|
@@ -101,18 +101,18 @@ const Na = {
|
|
|
101
101
|
n.icon && n.iconPosition === "left" ? (j(), Gt(zo, {
|
|
102
102
|
key: 0,
|
|
103
103
|
name: n.icon,
|
|
104
|
-
class:
|
|
104
|
+
class: Me(n.label ? "me-2" : "")
|
|
105
105
|
}, null, 8, ["name", "class"])) : xe("", !0),
|
|
106
106
|
n.isLoading ? (j(), Gt(Na, {
|
|
107
107
|
key: 1,
|
|
108
108
|
isSmall: !0,
|
|
109
|
-
class: "
|
|
110
|
-
})) : xe("", !0),
|
|
109
|
+
class: Me(n.label ? "me-2" : "")
|
|
110
|
+
}, null, 8, ["class"])) : xe("", !0),
|
|
111
111
|
n.label ? (j(), U("span", Jh, Se(n.label), 1)) : xe("", !0),
|
|
112
112
|
n.icon && n.iconPosition === "right" ? (j(), Gt(zo, {
|
|
113
113
|
key: 3,
|
|
114
114
|
name: n.icon,
|
|
115
|
-
class:
|
|
115
|
+
class: Me(n.label ? "ms-2" : "")
|
|
116
116
|
}, null, 8, ["name", "class"])) : xe("", !0)
|
|
117
117
|
])
|
|
118
118
|
], 10, Qh));
|
|
@@ -131,13 +131,13 @@ const Na = {
|
|
|
131
131
|
t.disabled || i("click");
|
|
132
132
|
};
|
|
133
133
|
return (s, a) => (j(), U("div", {
|
|
134
|
-
class:
|
|
134
|
+
class: Me(["d-flex add-button", { "opacity-75 disabled": s.disabled }]),
|
|
135
135
|
style: { cursor: "pointer" },
|
|
136
136
|
"data-test": "AddButton",
|
|
137
137
|
onClick: r
|
|
138
138
|
}, [
|
|
139
139
|
z("i", {
|
|
140
|
-
class:
|
|
140
|
+
class: Me(s.iconClass)
|
|
141
141
|
}, null, 2),
|
|
142
142
|
Ft(" " + Se(s.label || s.text || "Добавить"), 1)
|
|
143
143
|
], 2));
|
|
@@ -213,7 +213,7 @@ const Na = {
|
|
|
213
213
|
t.disabled || i("export", t.exportType);
|
|
214
214
|
};
|
|
215
215
|
return (s, a) => (j(), U("div", {
|
|
216
|
-
class:
|
|
216
|
+
class: Me(["col-auto export-button", { "opacity-75 disabled": s.disabled }]),
|
|
217
217
|
style: { cursor: "pointer" },
|
|
218
218
|
"data-test": "ExportButton",
|
|
219
219
|
onClick: r
|
|
@@ -235,7 +235,7 @@ const Na = {
|
|
|
235
235
|
t.disabled || (window.print(), i("print"));
|
|
236
236
|
};
|
|
237
237
|
return (s, a) => (j(), U("div", {
|
|
238
|
-
class:
|
|
238
|
+
class: Me(["col-auto print-button", { "opacity-75 disabled": s.disabled }]),
|
|
239
239
|
style: { cursor: "pointer" },
|
|
240
240
|
"data-test": "PrintButton",
|
|
241
241
|
onClick: r
|
|
@@ -256,7 +256,7 @@ const Na = {
|
|
|
256
256
|
t.disabled || i("clear", !0);
|
|
257
257
|
};
|
|
258
258
|
return (s, a) => (j(), U("div", {
|
|
259
|
-
class:
|
|
259
|
+
class: Me(["clear-form-button", { "clear-form-button--disabled": s.disabled }]),
|
|
260
260
|
disabled: s.disabled,
|
|
261
261
|
"data-test": "ClearFormButton",
|
|
262
262
|
onClick: r
|
|
@@ -285,7 +285,7 @@ const Na = {
|
|
|
285
285
|
(j(!0), U(rt, null, mt(r.options, (a) => (j(), U("button", {
|
|
286
286
|
key: a.name,
|
|
287
287
|
type: "button",
|
|
288
|
-
class:
|
|
288
|
+
class: Me(["toggle-buttons__button", {
|
|
289
289
|
"toggle-buttons__button--active": r.modelValue === a.name
|
|
290
290
|
}]),
|
|
291
291
|
onClick: (o) => i(a)
|
|
@@ -360,16 +360,16 @@ function Kr() {
|
|
|
360
360
|
};
|
|
361
361
|
gs = function re(oe, Ge, qe, Ne) {
|
|
362
362
|
var Pe = Ge || {};
|
|
363
|
-
if (
|
|
363
|
+
if (Te(Pe, "quoteStyle") && !Te(J, Pe.quoteStyle))
|
|
364
364
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
365
|
-
if (
|
|
365
|
+
if (Te(Pe, "maxStringLength") && (typeof Pe.maxStringLength == "number" ? Pe.maxStringLength < 0 && Pe.maxStringLength !== 1 / 0 : Pe.maxStringLength !== null))
|
|
366
366
|
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
367
|
-
var xt =
|
|
367
|
+
var xt = Te(Pe, "customInspect") ? Pe.customInspect : !0;
|
|
368
368
|
if (typeof xt != "boolean" && xt !== "symbol")
|
|
369
369
|
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
370
|
-
if (
|
|
370
|
+
if (Te(Pe, "indent") && Pe.indent !== null && Pe.indent !== " " && !(parseInt(Pe.indent, 10) === Pe.indent && Pe.indent > 0))
|
|
371
371
|
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
372
|
-
if (
|
|
372
|
+
if (Te(Pe, "numericSeparator") && typeof Pe.numericSeparator != "boolean")
|
|
373
373
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
374
374
|
var be = Pe.numericSeparator;
|
|
375
375
|
if (typeof oe > "u")
|
|
@@ -403,7 +403,7 @@ function Kr() {
|
|
|
403
403
|
var Ki = {
|
|
404
404
|
depth: Pe.depth
|
|
405
405
|
};
|
|
406
|
-
return
|
|
406
|
+
return Te(Pe, "quoteStyle") && (Ki.quoteStyle = Pe.quoteStyle), re(si, Ki, qe + 1, Ne);
|
|
407
407
|
}
|
|
408
408
|
return re(si, Pe, qe + 1, Ne);
|
|
409
409
|
}
|
|
@@ -528,7 +528,7 @@ function Kr() {
|
|
|
528
528
|
var Ee = Object.prototype.hasOwnProperty || function(re) {
|
|
529
529
|
return re in this;
|
|
530
530
|
};
|
|
531
|
-
function
|
|
531
|
+
function Te(re, oe) {
|
|
532
532
|
return Ee.call(re, oe);
|
|
533
533
|
}
|
|
534
534
|
function We(re) {
|
|
@@ -683,7 +683,7 @@ function Kr() {
|
|
|
683
683
|
if (Ge) {
|
|
684
684
|
qe.length = re.length;
|
|
685
685
|
for (var Ne = 0; Ne < re.length; Ne++)
|
|
686
|
-
qe[Ne] =
|
|
686
|
+
qe[Ne] = Te(re, Ne) ? oe(re[Ne], re) : "";
|
|
687
687
|
}
|
|
688
688
|
var Pe = typeof x == "function" ? x(re) : [], xt;
|
|
689
689
|
if (I) {
|
|
@@ -692,7 +692,7 @@ function Kr() {
|
|
|
692
692
|
xt["$" + Pe[be]] = Pe[be];
|
|
693
693
|
}
|
|
694
694
|
for (var L in re)
|
|
695
|
-
|
|
695
|
+
Te(re, L) && (Ge && String(Number(L)) === L && L < re.length || I && xt["$" + L] instanceof Symbol || (y.call(/[^\w$]/, L) ? qe.push(oe(L, re) + ": " + oe(re[L], re)) : qe.push(L + ": " + oe(re[L], re))));
|
|
696
696
|
if (typeof x == "function")
|
|
697
697
|
for (var A = 0; A < Pe.length; A++)
|
|
698
698
|
G.call(re, Pe[A]) && qe.push("[" + oe(Pe[A]) + "]: " + oe(re[Pe[A]], re));
|
|
@@ -1222,8 +1222,8 @@ function Va() {
|
|
|
1222
1222
|
if (P === "%" && K !== "%")
|
|
1223
1223
|
throw new a("invalid intrinsic syntax, expected opening `%`");
|
|
1224
1224
|
var q = [];
|
|
1225
|
-
return J(X, ie, function(te, ve, Ee,
|
|
1226
|
-
q[q.length] = Ee ? J(
|
|
1225
|
+
return J(X, ie, function(te, ve, Ee, Te) {
|
|
1226
|
+
q[q.length] = Ee ? J(Te, ue, "$1") : ve || te;
|
|
1227
1227
|
}), q;
|
|
1228
1228
|
}, Q = function(X, K) {
|
|
1229
1229
|
var P = X, q;
|
|
@@ -1246,13 +1246,13 @@ function Va() {
|
|
|
1246
1246
|
throw new o('"allowMissing" argument must be a boolean');
|
|
1247
1247
|
if (Z(/^%?[^%]*%?$/, X) === null)
|
|
1248
1248
|
throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
1249
|
-
var P = ce(X), q = P.length > 0 ? P[0] : "", te = Q("%" + q + "%", K), ve = te.name, Ee = te.value,
|
|
1249
|
+
var P = ce(X), q = P.length > 0 ? P[0] : "", te = Q("%" + q + "%", K), ve = te.name, Ee = te.value, Te = !1, We = te.alias;
|
|
1250
1250
|
We && (q = We[0], B(P, F([0, 1], We)));
|
|
1251
1251
|
for (var Ue = 1, Ye = !0; Ue < P.length; Ue += 1) {
|
|
1252
1252
|
var he = P[Ue], ee = V(he, 0, 1), se = V(he, -1);
|
|
1253
1253
|
if ((ee === '"' || ee === "'" || ee === "`" || se === '"' || se === "'" || se === "`") && ee !== se)
|
|
1254
1254
|
throw new a("property names with quotes must have matching quotes");
|
|
1255
|
-
if ((he === "constructor" || !Ye) && (
|
|
1255
|
+
if ((he === "constructor" || !Ye) && (Te = !0), q += "." + he, ve = "%" + q + "%", $(I, ve))
|
|
1256
1256
|
Ee = I[ve];
|
|
1257
1257
|
else if (Ee != null) {
|
|
1258
1258
|
if (!(he in Ee)) {
|
|
@@ -1265,7 +1265,7 @@ function Va() {
|
|
|
1265
1265
|
Ye = !!ge, Ye && "get" in ge && !("originalValue" in ge.get) ? Ee = ge.get : Ee = Ee[he];
|
|
1266
1266
|
} else
|
|
1267
1267
|
Ye = $(Ee, he), Ee = Ee[he];
|
|
1268
|
-
Ye && !
|
|
1268
|
+
Ye && !Te && (I[ve] = Ee);
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
1271
|
return Ee;
|
|
@@ -1948,7 +1948,7 @@ const Fl = /* @__PURE__ */ xu(Gf), Yf = ["action"], Qf = ["value"], Kf = ["name"
|
|
|
1948
1948
|
}, null, 8, Jf),
|
|
1949
1949
|
z("button", {
|
|
1950
1950
|
type: "button",
|
|
1951
|
-
class:
|
|
1951
|
+
class: Me(["col-auto export-button", { disabled: !c.action }]),
|
|
1952
1952
|
onClick: s,
|
|
1953
1953
|
disabled: !c.action
|
|
1954
1954
|
}, [
|
|
@@ -2413,7 +2413,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2413
2413
|
var Oe = fe.arg;
|
|
2414
2414
|
return Oe ? Oe.done ? (ee[he.resultName] = Oe.value, ee.next = he.nextLoc, ee.method !== "return" && (ee.method = "next", ee.arg = E), ee.delegate = null, ie) : Oe : (ee.method = "throw", ee.arg = new TypeError("iterator result is not an object"), ee.delegate = null, ie);
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2416
|
+
function Te(he) {
|
|
2417
2417
|
var ee = {
|
|
2418
2418
|
tryLoc: he[0]
|
|
2419
2419
|
};
|
|
@@ -2426,7 +2426,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2426
2426
|
function Ue(he) {
|
|
2427
2427
|
this.tryEntries = [{
|
|
2428
2428
|
tryLoc: "root"
|
|
2429
|
-
}], he.forEach(
|
|
2429
|
+
}], he.forEach(Te, this), this.reset(!0);
|
|
2430
2430
|
}
|
|
2431
2431
|
function Ye(he) {
|
|
2432
2432
|
if (he || he === "") {
|
|
@@ -3246,12 +3246,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3246
3246
|
if (new RegExp(ne).test(P.join("")) === !1 && Q.targetMatch[0].length === 2 && ie.validPositions[Q.targetMatchIndex] && ie.validPositions[Q.targetMatchIndex + 1] && (ie.validPositions[Q.targetMatchIndex + 1].input = "0"), K[2] == "year") for (var q = f.getMaskTemplate.call(X, !1, 1, void 0, !0), te = B + 1; te < F.length; te++) F[te] = q[te], ie.validPositions.splice(B + 1, 1);
|
|
3247
3247
|
}
|
|
3248
3248
|
var ve = V, Ee = H.call(X, F.join(""), Z.inputFormat, Z);
|
|
3249
|
-
return ve && !isNaN(Ee.date.getTime()) && (Z.prefillYear && (ve = (function(
|
|
3250
|
-
if (
|
|
3251
|
-
var Ye = R.toString(), he =
|
|
3249
|
+
return ve && !isNaN(Ee.date.getTime()) && (Z.prefillYear && (ve = (function(Te, We, Ue) {
|
|
3250
|
+
if (Te.year !== Te.rawyear) {
|
|
3251
|
+
var Ye = R.toString(), he = Te.rawyear.replace(/[^0-9]/g, ""), ee = Ye.slice(0, he.length), se = Ye.slice(he.length);
|
|
3252
3252
|
if (he.length === 2 && he === ee) {
|
|
3253
|
-
var ge = new Date(R,
|
|
3254
|
-
|
|
3253
|
+
var ge = new Date(R, Te.month - 1, Te.day);
|
|
3254
|
+
Te.day == ge.getDate() && (!Ue.max || Ue.max.date.getTime() >= ge.getTime()) && (Te.date.setFullYear(R), Te.year = Ye, We.insert = [{
|
|
3255
3255
|
pos: We.pos + 1,
|
|
3256
3256
|
c: se[0]
|
|
3257
3257
|
}, {
|
|
@@ -3261,20 +3261,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3261
3261
|
}
|
|
3262
3262
|
}
|
|
3263
3263
|
return We;
|
|
3264
|
-
})(Ee, ve, Z)), ve = (function(
|
|
3264
|
+
})(Ee, ve, Z)), ve = (function(Te, We, Ue, Ye, he) {
|
|
3265
3265
|
if (!We) return We;
|
|
3266
3266
|
if (We && Ue.min && !isNaN(Ue.min.date.getTime())) {
|
|
3267
3267
|
var ee;
|
|
3268
|
-
for (
|
|
3268
|
+
for (Te.reset(), O(Ue).lastIndex = 0; ee = O(Ue).exec(Ue.inputFormat); ) {
|
|
3269
3269
|
var se;
|
|
3270
3270
|
if ((se = x(ee)) && se[3]) {
|
|
3271
|
-
for (var ge = se[1], fe =
|
|
3272
|
-
ge.call(
|
|
3271
|
+
for (var ge = se[1], fe = Te[se[2]], Oe = Ue.min[se[2]], Be = Ue.max ? Ue.max[se[2]] : Oe + 1, le = [], Le = !1, ze = 0; ze < Oe.length; ze++) Ye.validPositions[ze + ee.index] !== void 0 || Le ? (le[ze] = fe[ze], Le = Le || fe[ze] > Oe[ze]) : (ze + ee.index == 0 && fe[ze] < Oe[ze] ? (le[ze] = fe[ze], Le = !0) : le[ze] = Oe[ze], se[2] === "year" && fe.length - 1 == ze && Oe != Be && (le = (parseInt(le.join("")) + 1).toString().split("")), se[2] === "ampm" && Oe != Be && Ue.min.date.getTime() > Te.date.getTime() && (le[ze] = Be[ze]));
|
|
3272
|
+
ge.call(Te._date, le.join(""));
|
|
3273
3273
|
}
|
|
3274
3274
|
}
|
|
3275
|
-
We = Ue.min.date.getTime() <=
|
|
3275
|
+
We = Ue.min.date.getTime() <= Te.date.getTime(), Te.reInit();
|
|
3276
3276
|
}
|
|
3277
|
-
return We && Ue.max && (isNaN(Ue.max.date.getTime()) || (We = Ue.max.date.getTime() >=
|
|
3277
|
+
return We && Ue.max && (isNaN(Ue.max.date.getTime()) || (We = Ue.max.date.getTime() >= Te.date.getTime())), We;
|
|
3278
3278
|
})(Ee, ve = I.call(X, Ee, ve, Z), Z, ie)), B !== void 0 && ve && V.pos !== B ? {
|
|
3279
3279
|
buffer: W(Z.inputFormat, Ee, Z).split(""),
|
|
3280
3280
|
refreshFromBuffer: {
|
|
@@ -4367,16 +4367,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4367
4367
|
placeholder: f(h.placeholder) === "object" ? h.placeholder[x.matches.length] : void 0,
|
|
4368
4368
|
nativeDef: P
|
|
4369
4369
|
});
|
|
4370
|
-
} else T && (P = P[P.length - 1]), P.split("").forEach((function(
|
|
4370
|
+
} else T && (P = P[P.length - 1]), P.split("").forEach((function(Te, We) {
|
|
4371
4371
|
te = K.matches[q - 1], K.matches.splice(q++, 0, {
|
|
4372
|
-
fn: /[a-z]/i.test(h.staticDefinitionSymbol ||
|
|
4372
|
+
fn: /[a-z]/i.test(h.staticDefinitionSymbol || Te) ? new RegExp("[" + (h.staticDefinitionSymbol || Te) + "]", h.casing ? "i" : "") : null,
|
|
4373
4373
|
static: !0,
|
|
4374
4374
|
optionality: !1,
|
|
4375
|
-
newBlockMarker: te === void 0 ? "master" : te.def !==
|
|
4375
|
+
newBlockMarker: te === void 0 ? "master" : te.def !== Te && te.static !== !0,
|
|
4376
4376
|
casing: null,
|
|
4377
|
-
def: h.staticDefinitionSymbol ||
|
|
4378
|
-
placeholder: h.staticDefinitionSymbol !== void 0 ?
|
|
4379
|
-
nativeDef: (T ? "'" : "") +
|
|
4377
|
+
def: h.staticDefinitionSymbol || Te,
|
|
4378
|
+
placeholder: h.staticDefinitionSymbol !== void 0 ? Te : f(h.placeholder) === "object" ? h.placeholder[x.matches.length] : void 0,
|
|
4379
|
+
nativeDef: (T ? "'" : "") + Te
|
|
4380
4380
|
});
|
|
4381
4381
|
}));
|
|
4382
4382
|
T = !1;
|
|
@@ -4994,10 +4994,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4994
4994
|
var w, E, v = this, T = this.dependencyLib, x = this.maskset, O = this.opts, I = this.el, W = x.maskToken, G = y ? k : 0, H = y ? y.slice() : [0], N = [], $ = !1, F = y ? y.join("") : "", B = !1;
|
|
4995
4995
|
function J(ce, Q, ne, X) {
|
|
4996
4996
|
function K(te, ve, Ee) {
|
|
4997
|
-
function
|
|
4997
|
+
function Te(ee, se) {
|
|
4998
4998
|
var ge = se.matches.indexOf(ee) === 0;
|
|
4999
4999
|
return ge || se.matches.every((function(fe, Oe) {
|
|
5000
|
-
return fe.isQuantifier === !0 ? ge =
|
|
5000
|
+
return fe.isQuantifier === !0 ? ge = Te(ee, se.matches[Oe - 1]) : Object.prototype.hasOwnProperty.call(fe, "matches") && (ge = Te(ee, fe)), !ge;
|
|
5001
5001
|
})), ge;
|
|
5002
5002
|
}
|
|
5003
5003
|
function We(ee, se, ge) {
|
|
@@ -5059,7 +5059,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5059
5059
|
if (te = J(te, Q, ve, Ee), N.length > 0) {
|
|
5060
5060
|
if (N.forEach((function(ge, fe) {
|
|
5061
5061
|
fe >= se && (ge.match.optionality = ge.match.optionality ? ge.match.optionality + 1 : 1);
|
|
5062
|
-
})), w = N[N.length - 1].match, Ee !== void 0 || !
|
|
5062
|
+
})), w = N[N.length - 1].match, Ee !== void 0 || !Te(w, ee)) return te;
|
|
5063
5063
|
$ = !0, G = R;
|
|
5064
5064
|
}
|
|
5065
5065
|
})();
|
|
@@ -5130,7 +5130,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5130
5130
|
var fe = ce.matches[ce.matches.indexOf(ee) - 1];
|
|
5131
5131
|
if (te = K(fe, [ge].concat(ve), fe)) {
|
|
5132
5132
|
if (N.forEach((function(Oe, Be) {
|
|
5133
|
-
(w = V(fe, Oe.match) ? Oe.match : N[N.length - 1].match).optionalQuantifier = ge >= ee.quantifier.min, w.jit = (ge + 1) * (fe.matches.indexOf(w) + 1) > ee.quantifier.jit, w.optionalQuantifier &&
|
|
5133
|
+
(w = V(fe, Oe.match) ? Oe.match : N[N.length - 1].match).optionalQuantifier = ge >= ee.quantifier.min, w.jit = (ge + 1) * (fe.matches.indexOf(w) + 1) > ee.quantifier.jit, w.optionalQuantifier && Te(w, fe) && ($ = !0, G = R, O.greedy && x.validPositions[R - 1] == null && ge > ee.quantifier.min && ["*", "+"].indexOf(ee.quantifier.max) != -1 && (N.pop(), F = void 0), se = !0, te = !1), !se && w.jit && (x.jitOffset[R] = fe.matches.length - fe.matches.indexOf(w));
|
|
5134
5134
|
})), se) break;
|
|
5135
5135
|
return !0;
|
|
5136
5136
|
}
|
|
@@ -5317,10 +5317,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5317
5317
|
c: p.getPlaceholder.call(O, ne, ve, !0) || ve.def,
|
|
5318
5318
|
pos: ne
|
|
5319
5319
|
})) !== !1) {
|
|
5320
|
-
var Ee = P.c !== void 0 ? P.c : X,
|
|
5321
|
-
return Ee = Ee === W.skipOptionalPartCharacter && ve.static === !0 ? p.getPlaceholder.call(O, ne, ve, !0) || ve.def : Ee, (P = N(P)) !== !0 && P.pos !== void 0 && P.pos !== ne && (
|
|
5322
|
-
input: m.call(O, Ee, ve,
|
|
5323
|
-
}), E,
|
|
5320
|
+
var Ee = P.c !== void 0 ? P.c : X, Te = ne;
|
|
5321
|
+
return Ee = Ee === W.skipOptionalPartCharacter && ve.static === !0 ? p.getPlaceholder.call(O, ne, ve, !0) || ve.def : Ee, (P = N(P)) !== !0 && P.pos !== void 0 && P.pos !== ne && (Te = P.pos), P !== !0 && P.pos === void 0 && P.c === void 0 || R.call(O, y, I.extend({}, q, {
|
|
5322
|
+
input: m.call(O, Ee, ve, Te)
|
|
5323
|
+
}), E, Te) === !1 && (P = !1), !1;
|
|
5324
5324
|
}
|
|
5325
5325
|
return !0;
|
|
5326
5326
|
})), P;
|
|
@@ -8941,7 +8941,7 @@ const Cv = {
|
|
|
8941
8941
|
return (p, f) => (j(), U("div", null, [
|
|
8942
8942
|
n.title ? (j(), U("div", {
|
|
8943
8943
|
key: 0,
|
|
8944
|
-
class:
|
|
8944
|
+
class: Me(["mb-1 fw-bold", [n.titleClass]])
|
|
8945
8945
|
}, Se(n.title), 3)) : xe("", !0),
|
|
8946
8946
|
z("div", Ev, [
|
|
8947
8947
|
z("input", {
|
|
@@ -8949,7 +8949,7 @@ const Cv = {
|
|
|
8949
8949
|
ref: r,
|
|
8950
8950
|
type: n.type,
|
|
8951
8951
|
name: n.name,
|
|
8952
|
-
class:
|
|
8952
|
+
class: Me(["form-control outline-none", {
|
|
8953
8953
|
[n.inputClass]: n.inputClass,
|
|
8954
8954
|
"not-valid": d.value.length > 0,
|
|
8955
8955
|
"is-invalid": d.value.length > 0
|
|
@@ -8963,7 +8963,7 @@ const Cv = {
|
|
|
8963
8963
|
}, null, 42, kv),
|
|
8964
8964
|
c.value ? (j(), U("i", {
|
|
8965
8965
|
key: 0,
|
|
8966
|
-
class:
|
|
8966
|
+
class: Me(["bi bi-x-lg remove-button position-absolute", [n.modelValue ? "" : "d-none", n.disabled ? "d-none" : ""]]),
|
|
8967
8967
|
onClick: l
|
|
8968
8968
|
}, null, 2)) : xe("", !0)
|
|
8969
8969
|
]),
|
|
@@ -9011,7 +9011,7 @@ const Cv = {
|
|
|
9011
9011
|
onClick: s[1] || (s[1] = (a) => t.value = !t.value)
|
|
9012
9012
|
}, [
|
|
9013
9013
|
z("i", {
|
|
9014
|
-
class:
|
|
9014
|
+
class: Me(["bi", [t.value ? "bi-eye-slash-fill" : "bi-eye-fill"]]),
|
|
9015
9015
|
style: { "font-size": "20px" }
|
|
9016
9016
|
}, null, 2)
|
|
9017
9017
|
])
|
|
@@ -9075,7 +9075,7 @@ const Cv = {
|
|
|
9075
9075
|
}, null, 44, Dv),
|
|
9076
9076
|
n.label ? (j(), U("label", {
|
|
9077
9077
|
key: 0,
|
|
9078
|
-
class:
|
|
9078
|
+
class: Me(["form-check-label lh-n", { "cursor-pointer": n.clickableLabel }]),
|
|
9079
9079
|
for: n.clickableLabel ? n.id : void 0
|
|
9080
9080
|
}, Se(n.label), 11, Ov)) : xe("", !0)
|
|
9081
9081
|
]));
|
|
@@ -9724,7 +9724,7 @@ function my(n, e, t, i, r, s) {
|
|
|
9724
9724
|
const a = Vh("append-to-body");
|
|
9725
9725
|
return j(), U("div", {
|
|
9726
9726
|
dir: t.dir,
|
|
9727
|
-
class:
|
|
9727
|
+
class: Me(["v-select", s.stateClasses])
|
|
9728
9728
|
}, [
|
|
9729
9729
|
tt(n.$slots, "header", ai(fi(s.scope.header))),
|
|
9730
9730
|
z("div", {
|
|
@@ -9811,7 +9811,7 @@ function my(n, e, t, i, r, s) {
|
|
|
9811
9811
|
id: `vs${t.uid}__option-${l}`,
|
|
9812
9812
|
key: t.getOptionKey(o),
|
|
9813
9813
|
role: "option",
|
|
9814
|
-
class:
|
|
9814
|
+
class: Me(["vs__dropdown-option", {
|
|
9815
9815
|
"vs__dropdown-option--deselect": s.isOptionDeselectable(o) && l === n.typeAheadPointer,
|
|
9816
9816
|
"vs__dropdown-option--selected": s.isOptionSelected(o),
|
|
9817
9817
|
"vs__dropdown-option--highlight": l === n.typeAheadPointer,
|
|
@@ -10541,7 +10541,7 @@ function cw(n) {
|
|
|
10541
10541
|
y[g] = Ee, x[g] = Ee - H;
|
|
10542
10542
|
}
|
|
10543
10543
|
if (o) {
|
|
10544
|
-
var
|
|
10544
|
+
var Te, We = g === "x" ? Nt : zt, Ue = g === "x" ? ti : ii, Ye = y[R], he = R === "y" ? "height" : "width", ee = Ye + S[We], se = Ye - S[Ue], ge = [Nt, zt].indexOf(b) !== -1, fe = (Te = T?.[R]) != null ? Te : 0, Oe = ge ? ee : Ye - k[he] - w[he] - fe + v.altAxis, Be = ge ? Ye + k[he] + w[he] - fe - v.altAxis : se, le = f && ge ? _y(Oe, Ye, Be) : zn(f ? Oe : ee, Ye, f ? Be : se);
|
|
10545
10545
|
y[R] = le, x[R] = le - Ye;
|
|
10546
10546
|
}
|
|
10547
10547
|
e.modifiersData[i] = x;
|
|
@@ -10894,7 +10894,7 @@ const kw = { class: "r3-vselect d-flex flex-column" }, Sw = {
|
|
|
10894
10894
|
}), (p, f) => (j(), U("div", kw, [
|
|
10895
10895
|
n.title ? (j(), U("div", {
|
|
10896
10896
|
key: 0,
|
|
10897
|
-
class:
|
|
10897
|
+
class: Me(["r3-vselect__title", n.titleClass])
|
|
10898
10898
|
}, Se(n.title), 3)) : xe("", !0),
|
|
10899
10899
|
Ke(Ce(gy), Tr({ class: "style-chooser" }, p.$attrs, {
|
|
10900
10900
|
modelValue: s.value,
|
|
@@ -10985,7 +10985,7 @@ const kw = { class: "r3-vselect d-flex flex-column" }, Sw = {
|
|
|
10985
10985
|
), (d, p) => (j(), U(rt, null, [
|
|
10986
10986
|
z("div", Bw, [
|
|
10987
10987
|
(j(), U("input", {
|
|
10988
|
-
class:
|
|
10988
|
+
class: Me(["form-check-input mb-1", [d.error ? "not-valid" : ""]]),
|
|
10989
10989
|
ref_key: "input",
|
|
10990
10990
|
ref: r,
|
|
10991
10991
|
type: d.type,
|
|
@@ -10995,7 +10995,7 @@ const kw = { class: "r3-vselect d-flex flex-column" }, Sw = {
|
|
|
10995
10995
|
onClick: o
|
|
10996
10996
|
}, null, 10, Iw)),
|
|
10997
10997
|
z("label", {
|
|
10998
|
-
class:
|
|
10998
|
+
class: Me(["form-check-label", [d.error ? "text-danger" : ""]]),
|
|
10999
10999
|
for: String(Ce(s))
|
|
11000
11000
|
}, Se(d.label), 11, Hw)
|
|
11001
11001
|
]),
|
|
@@ -11044,7 +11044,7 @@ const kw = { class: "r3-vselect d-flex flex-column" }, Sw = {
|
|
|
11044
11044
|
key: f.id
|
|
11045
11045
|
}, [
|
|
11046
11046
|
z("input", {
|
|
11047
|
-
class:
|
|
11047
|
+
class: Me(["form-check-input", [d.inputClass, { "not-valid": d.error }]]),
|
|
11048
11048
|
type: "checkbox",
|
|
11049
11049
|
checked: l.value(f.id),
|
|
11050
11050
|
onClick: (m) => o(m, f.id),
|
|
@@ -11147,7 +11147,7 @@ const kw = { class: "r3-vselect d-flex flex-column" }, Sw = {
|
|
|
11147
11147
|
"onUpdate:modelValue": (R) => p(M, R),
|
|
11148
11148
|
name: b.name,
|
|
11149
11149
|
placeholder: s.value,
|
|
11150
|
-
class:
|
|
11150
|
+
class: Me(b.inputClass),
|
|
11151
11151
|
disabled: M.disabled,
|
|
11152
11152
|
"mask-options": o.value,
|
|
11153
11153
|
error: a.value
|
|
@@ -12259,9 +12259,9 @@ function tC(n, e) {
|
|
|
12259
12259
|
for (var we in me)
|
|
12260
12260
|
da.indexOf(we) > -1 ? t.config[we] = ha(me[we]).map(a).concat(t.config[we]) : typeof A[we] > "u" && (t.config[we] = me[we]);
|
|
12261
12261
|
}
|
|
12262
|
-
A.altInputClass || (t.config.altInputClass =
|
|
12262
|
+
A.altInputClass || (t.config.altInputClass = Te().className + " " + t.config.altInputClass), nt("onParseConfig");
|
|
12263
12263
|
}
|
|
12264
|
-
function
|
|
12264
|
+
function Te() {
|
|
12265
12265
|
return t.config.wrap ? n.querySelector("[data-input]") : n;
|
|
12266
12266
|
}
|
|
12267
12267
|
function We() {
|
|
@@ -12426,7 +12426,7 @@ function tC(n, e) {
|
|
|
12426
12426
|
L && Be(L, t.config.dateFormat), t._initialDate = t.selectedDates.length > 0 ? t.selectedDates[0] : t.config.minDate && t.config.minDate.getTime() > t.now.getTime() ? t.config.minDate : t.config.maxDate && t.config.maxDate.getTime() < t.now.getTime() ? t.config.maxDate : t.now, t.currentYear = t._initialDate.getFullYear(), t.currentMonth = t._initialDate.getMonth(), t.selectedDates.length > 0 && (t.latestSelectedDateObj = t.selectedDates[0]), t.config.minTime !== void 0 && (t.config.minTime = t.parseDate(t.config.minTime, "H:i")), t.config.maxTime !== void 0 && (t.config.maxTime = t.parseDate(t.config.maxTime, "H:i")), t.minDateHasTime = !!t.config.minDate && (t.config.minDate.getHours() > 0 || t.config.minDate.getMinutes() > 0 || t.config.minDate.getSeconds() > 0), t.maxDateHasTime = !!t.config.maxDate && (t.config.maxDate.getHours() > 0 || t.config.maxDate.getMinutes() > 0 || t.config.maxDate.getSeconds() > 0);
|
|
12427
12427
|
}
|
|
12428
12428
|
function pt() {
|
|
12429
|
-
if (t.input =
|
|
12429
|
+
if (t.input = Te(), !t.input) {
|
|
12430
12430
|
t.config.errorHandler(new Error("Invalid input element specified"));
|
|
12431
12431
|
return;
|
|
12432
12432
|
}
|
|
@@ -12868,7 +12868,7 @@ const lC = ["value", "id", "name", "disabled", "required", "placeholder"], uC =
|
|
|
12868
12868
|
ref: s
|
|
12869
12869
|
}, [
|
|
12870
12870
|
z("div", {
|
|
12871
|
-
class:
|
|
12871
|
+
class: Me({
|
|
12872
12872
|
"not-valid": d.value.length
|
|
12873
12873
|
})
|
|
12874
12874
|
}, [
|
|
@@ -13162,7 +13162,7 @@ function gC(n = {}) {
|
|
|
13162
13162
|
H.value = !1;
|
|
13163
13163
|
}
|
|
13164
13164
|
}
|
|
13165
|
-
},
|
|
13165
|
+
}, Te = async (be) => {
|
|
13166
13166
|
if (s) {
|
|
13167
13167
|
N.value = !0;
|
|
13168
13168
|
try {
|
|
@@ -13267,7 +13267,7 @@ function gC(n = {}) {
|
|
|
13267
13267
|
await Ee(be);
|
|
13268
13268
|
}
|
|
13269
13269
|
}, fe = async (be) => {
|
|
13270
|
-
T.value || (he(be), be && await
|
|
13270
|
+
T.value || (he(be), be && await Te(be));
|
|
13271
13271
|
}, Oe = (be, L = !1) => {
|
|
13272
13272
|
if (T.value) return;
|
|
13273
13273
|
if (L) {
|
|
@@ -13311,7 +13311,7 @@ function gC(n = {}) {
|
|
|
13311
13311
|
const A = be[Z.value], D = be[ie.value], _ = be[ue.value], Y = be[ce.value];
|
|
13312
13312
|
be[Q.value];
|
|
13313
13313
|
try {
|
|
13314
|
-
e && await q(), t && (D || A || L) && await te(A || L), i && D && await ve(D), r && _ ? await Ee(_) : r && D && await Ee(D), s && Y && await
|
|
13314
|
+
e && await q(), t && (D || A || L) && await te(A || L), i && D && await ve(D), r && _ ? await Ee(_) : r && D && await Ee(D), s && Y && await Te(Y), Object.assign(x.value, be);
|
|
13315
13315
|
} catch (ae) {
|
|
13316
13316
|
console.error("❌ Error during auto-fill (skip reset mode):", ae);
|
|
13317
13317
|
} finally {
|
|
@@ -13402,7 +13402,7 @@ function gC(n = {}) {
|
|
|
13402
13402
|
loadRegionOptions: te,
|
|
13403
13403
|
loadDistrictOptions: ve,
|
|
13404
13404
|
loadLocalityOptions: Ee,
|
|
13405
|
-
loadStreetOptions:
|
|
13405
|
+
loadStreetOptions: Te,
|
|
13406
13406
|
onCountrySelect: ee,
|
|
13407
13407
|
onRegionSelect: se,
|
|
13408
13408
|
onDistrictSelect: ge,
|
|
@@ -13572,11 +13572,11 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13572
13572
|
},
|
|
13573
13573
|
{ deep: !0 }
|
|
13574
13574
|
);
|
|
13575
|
-
let
|
|
13575
|
+
let Te = !1;
|
|
13576
13576
|
_e(
|
|
13577
13577
|
() => i.countryId,
|
|
13578
13578
|
async (le, Le) => {
|
|
13579
|
-
if (!
|
|
13579
|
+
if (!Te && !te && le != null && i.loadRegions) {
|
|
13580
13580
|
if (le !== Le) {
|
|
13581
13581
|
const ze = {
|
|
13582
13582
|
...a.value,
|
|
@@ -13591,11 +13591,11 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13591
13591
|
a.value = ze;
|
|
13592
13592
|
}
|
|
13593
13593
|
try {
|
|
13594
|
-
|
|
13594
|
+
Te = !0, await J(le);
|
|
13595
13595
|
} catch (ze) {
|
|
13596
13596
|
console.error("❌ AddressForm: Error loading regions", ze);
|
|
13597
13597
|
} finally {
|
|
13598
|
-
|
|
13598
|
+
Te = !1;
|
|
13599
13599
|
}
|
|
13600
13600
|
}
|
|
13601
13601
|
},
|
|
@@ -13689,7 +13689,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13689
13689
|
z("div", vC, [
|
|
13690
13690
|
le.loadCountries ? (j(), U("div", {
|
|
13691
13691
|
key: 0,
|
|
13692
|
-
class:
|
|
13692
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13693
13693
|
}, [
|
|
13694
13694
|
z("label", yC, Se(Ce(E).country), 1),
|
|
13695
13695
|
Ke(bi, {
|
|
@@ -13702,7 +13702,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13702
13702
|
}, null, 8, ["modelValue", "options", "disabled", "allowClear", "isLoading"])
|
|
13703
13703
|
], 2)) : xe("", !0),
|
|
13704
13704
|
z("div", {
|
|
13705
|
-
class:
|
|
13705
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13706
13706
|
}, [
|
|
13707
13707
|
z("label", wC, Se(Ce(E).region), 1),
|
|
13708
13708
|
Ke(bi, {
|
|
@@ -13715,7 +13715,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13715
13715
|
}, null, 8, ["modelValue", "options", "disabled", "allowClear", "isLoading"])
|
|
13716
13716
|
], 2),
|
|
13717
13717
|
z("div", {
|
|
13718
|
-
class:
|
|
13718
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13719
13719
|
}, [
|
|
13720
13720
|
z("label", CC, Se(Ce(E).district), 1),
|
|
13721
13721
|
Ke(bi, {
|
|
@@ -13728,7 +13728,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13728
13728
|
}, null, 8, ["modelValue", "disabled", "options", "allowClear", "isLoading"])
|
|
13729
13729
|
], 2),
|
|
13730
13730
|
z("div", {
|
|
13731
|
-
class:
|
|
13731
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13732
13732
|
}, [
|
|
13733
13733
|
z("label", AC, Se(Ce(E).locality), 1),
|
|
13734
13734
|
Ke(bi, {
|
|
@@ -13744,7 +13744,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13744
13744
|
], 2),
|
|
13745
13745
|
Ce($) ? xe("", !0) : (j(), U(rt, { key: 1 }, [
|
|
13746
13746
|
z("div", {
|
|
13747
|
-
class:
|
|
13747
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13748
13748
|
}, [
|
|
13749
13749
|
z("label", EC, Se(Ce(E).street), 1),
|
|
13750
13750
|
Ke(bi, {
|
|
@@ -13759,7 +13759,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13759
13759
|
], 2),
|
|
13760
13760
|
Ce(F) ? (j(), U("div", {
|
|
13761
13761
|
key: 0,
|
|
13762
|
-
class:
|
|
13762
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13763
13763
|
}, [
|
|
13764
13764
|
z("label", kC, Se(Ce(E).house), 1),
|
|
13765
13765
|
z("input", {
|
|
@@ -13772,7 +13772,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13772
13772
|
], 2)) : xe("", !0),
|
|
13773
13773
|
Ce(F) ? (j(), U("div", {
|
|
13774
13774
|
key: 1,
|
|
13775
|
-
class:
|
|
13775
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13776
13776
|
}, [
|
|
13777
13777
|
z("label", xC, Se(Ce(E).building), 1),
|
|
13778
13778
|
z("input", {
|
|
@@ -13785,7 +13785,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
13785
13785
|
], 2)) : xe("", !0),
|
|
13786
13786
|
Ce(F) ? (j(), U("div", {
|
|
13787
13787
|
key: 2,
|
|
13788
|
-
class:
|
|
13788
|
+
class: Me(`col-${le.columnWidth} mb-2`)
|
|
13789
13789
|
}, [
|
|
13790
13790
|
z("label", MC, Se(Ce(E).apartment), 1),
|
|
13791
13791
|
z("input", {
|
|
@@ -14057,14 +14057,14 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
14057
14057
|
}), (m, C) => (j(), Gt(Eu, { to: "body" }, [
|
|
14058
14058
|
n.modelValue || n.modalVisibility ? (j(), U("div", {
|
|
14059
14059
|
key: 0,
|
|
14060
|
-
class:
|
|
14060
|
+
class: Me(["r3ui-modal-wrapper", { "r3ui-modal-wrapper--fullscreen": n.fullscreen }])
|
|
14061
14061
|
}, [
|
|
14062
14062
|
z("div", {
|
|
14063
14063
|
class: "overlay",
|
|
14064
14064
|
onClick: s
|
|
14065
14065
|
}),
|
|
14066
14066
|
z("div", {
|
|
14067
|
-
class:
|
|
14067
|
+
class: Me(["modal-dialog", {
|
|
14068
14068
|
"modal-dialog-scrollable": n.scrollable,
|
|
14069
14069
|
"modal-dialog-centered": n.centered && !n.fullscreen,
|
|
14070
14070
|
"modal-sm": n.size === "sm" && !n.fullscreen,
|
|
@@ -14230,7 +14230,7 @@ const bC = { class: "address-form" }, vC = { class: "row" }, yC = { class: "form
|
|
|
14230
14230
|
]),
|
|
14231
14231
|
z("div", yA, [
|
|
14232
14232
|
z("button", {
|
|
14233
|
-
class:
|
|
14233
|
+
class: Me([s(), "w-100"]),
|
|
14234
14234
|
onClick: o,
|
|
14235
14235
|
disabled: c.loading
|
|
14236
14236
|
}, [
|
|
@@ -14438,12 +14438,12 @@ const VA = { class: "row" }, jA = { class: "col-auto" }, WA = { class: "col-auto
|
|
|
14438
14438
|
z("div", t0, [
|
|
14439
14439
|
z("div", i0, [
|
|
14440
14440
|
z("h2", {
|
|
14441
|
-
class:
|
|
14441
|
+
class: Me(["mb-0", e.titleClass]),
|
|
14442
14442
|
style: Rt(e.titleStyle)
|
|
14443
14443
|
}, Se(e.title), 7),
|
|
14444
14444
|
e.subtitle ? (j(), U("p", {
|
|
14445
14445
|
key: 0,
|
|
14446
|
-
class:
|
|
14446
|
+
class: Me(["text-muted mb-0 mt-1", e.subtitleClass]),
|
|
14447
14447
|
style: Rt(e.subtitleStyle)
|
|
14448
14448
|
}, Se(e.subtitle), 7)) : xe("", !0)
|
|
14449
14449
|
]),
|
|
@@ -14468,7 +14468,7 @@ const VA = { class: "row" }, jA = { class: "col-auto" }, WA = { class: "col-auto
|
|
|
14468
14468
|
},
|
|
14469
14469
|
setup(n) {
|
|
14470
14470
|
return (e, t) => (j(), U("div", {
|
|
14471
|
-
class:
|
|
14471
|
+
class: Me(["card", n.bodyClass])
|
|
14472
14472
|
}, [
|
|
14473
14473
|
z("div", s0, [
|
|
14474
14474
|
tt(e.$slots, "bodyHeader", {}, void 0, !0),
|
|
@@ -14554,7 +14554,7 @@ const VA = { class: "row" }, jA = { class: "col-auto" }, WA = { class: "col-auto
|
|
|
14554
14554
|
u.hidden ? xe("", !0) : (j(), U("button", {
|
|
14555
14555
|
key: 0,
|
|
14556
14556
|
type: "button",
|
|
14557
|
-
class:
|
|
14557
|
+
class: Me(["dropdown-item", { disabled: u?.disabled }]),
|
|
14558
14558
|
disabled: !!u?.disabled,
|
|
14559
14559
|
onMousedown: l[0] || (l[0] = Xt(() => {
|
|
14560
14560
|
}, ["prevent"])),
|
|
@@ -14598,12 +14598,12 @@ const VA = { class: "row" }, jA = { class: "col-auto" }, WA = { class: "col-auto
|
|
|
14598
14598
|
fontWeight: e.textWeight
|
|
14599
14599
|
}));
|
|
14600
14600
|
return (o, l) => (j(), U("div", {
|
|
14601
|
-
class:
|
|
14601
|
+
class: Me(["r3ui-logo-container", s.value])
|
|
14602
14602
|
}, [
|
|
14603
14603
|
z("img", {
|
|
14604
14604
|
src: t.value,
|
|
14605
14605
|
alt: o.alt,
|
|
14606
|
-
class:
|
|
14606
|
+
class: Me(i.value),
|
|
14607
14607
|
style: Rt(r.value)
|
|
14608
14608
|
}, null, 14, g0),
|
|
14609
14609
|
o.brandText && o.brandText.trim() && o.showText ? (j(), U("span", {
|
|
@@ -14638,7 +14638,7 @@ const VA = { class: "row" }, jA = { class: "col-auto" }, WA = { class: "col-auto
|
|
|
14638
14638
|
} : { ...s, action: () => i("navigate", `/${s.name}`) }));
|
|
14639
14639
|
return (s, a) => (j(), U("div", y0, [
|
|
14640
14640
|
z("div", {
|
|
14641
|
-
class:
|
|
14641
|
+
class: Me([t.isAuthenticated ? "container-fluid" : "container"])
|
|
14642
14642
|
}, [
|
|
14643
14643
|
z("a", {
|
|
14644
14644
|
href: "/",
|
|
@@ -14697,7 +14697,7 @@ const VA = { class: "row" }, jA = { class: "col-auto" }, WA = { class: "col-auto
|
|
|
14697
14697
|
const e = n;
|
|
14698
14698
|
return (t, i) => (j(), U("div", M0, [
|
|
14699
14699
|
z("div", {
|
|
14700
|
-
class:
|
|
14700
|
+
class: Me(e.className),
|
|
14701
14701
|
style: Rt(`height: ${e.height}px ; background-color:${e.colorHEX};`)
|
|
14702
14702
|
}, null, 6)
|
|
14703
14703
|
]));
|
|
@@ -14781,7 +14781,7 @@ const _0 = (n) => {
|
|
|
14781
14781
|
}, [
|
|
14782
14782
|
n.sidebarLink.isVisible ? (j(), U("span", {
|
|
14783
14783
|
key: 0,
|
|
14784
|
-
class:
|
|
14784
|
+
class: Me(["btn btn-light w-100 text-start border-0", [
|
|
14785
14785
|
n.sidebarLink.level === 0 ? "nested-links" : "extended-menu-item",
|
|
14786
14786
|
n.sidebarLink.isActive ? "fw-bolder" : ""
|
|
14787
14787
|
]]),
|
|
@@ -14789,7 +14789,7 @@ const _0 = (n) => {
|
|
|
14789
14789
|
}, [
|
|
14790
14790
|
z("span", {
|
|
14791
14791
|
innerHTML: n.sidebarLink.icon,
|
|
14792
|
-
class:
|
|
14792
|
+
class: Me([n.sidebarLink.level === 0 ? "sidebar-link-icon" : ""])
|
|
14793
14793
|
}, null, 10, I0),
|
|
14794
14794
|
z("span", null, Se(n.sidebarLink.label), 1)
|
|
14795
14795
|
], 2)) : xe("", !0)
|
|
@@ -14798,14 +14798,14 @@ const _0 = (n) => {
|
|
|
14798
14798
|
n.sidebarLink.childrens?.length ? (j(), U("div", H0, [
|
|
14799
14799
|
n.sidebarLink.isVisible ? (j(), U("div", {
|
|
14800
14800
|
key: 0,
|
|
14801
|
-
class:
|
|
14801
|
+
class: Me(["accordion-item bg-transparent border-0", [n.sidebarLink.level > 0 ? "extended-menu-item" : ""]])
|
|
14802
14802
|
}, [
|
|
14803
14803
|
z("h2", {
|
|
14804
14804
|
class: "accordion-header",
|
|
14805
14805
|
id: `heading-${n.sidebarLink.uniqueKey}`
|
|
14806
14806
|
}, [
|
|
14807
14807
|
z("button", {
|
|
14808
|
-
class:
|
|
14808
|
+
class: Me(["accordion-button outline-none rounded", {
|
|
14809
14809
|
"fw-bolder": n.sidebarLink.isActive,
|
|
14810
14810
|
collapsed: Ce(r) && Ce(r)[n.sidebarLink.level] !== n.sidebarLink.uniqueKey
|
|
14811
14811
|
}]),
|
|
@@ -14814,14 +14814,14 @@ const _0 = (n) => {
|
|
|
14814
14814
|
}, [
|
|
14815
14815
|
z("span", {
|
|
14816
14816
|
innerHTML: n.sidebarLink.icon,
|
|
14817
|
-
class:
|
|
14817
|
+
class: Me([n.sidebarLink.level === 0 ? "sidebar-link-icon" : ""])
|
|
14818
14818
|
}, null, 10, z0),
|
|
14819
14819
|
Ft(" " + Se(n.sidebarLink.label), 1)
|
|
14820
14820
|
], 2)
|
|
14821
14821
|
], 8, N0),
|
|
14822
14822
|
z("div", {
|
|
14823
14823
|
id: `flush-${n.sidebarLink.uniqueKey}`,
|
|
14824
|
-
class:
|
|
14824
|
+
class: Me(["accordion-collapse collapse", {
|
|
14825
14825
|
show: Ce(r) && Ce(r)[n.sidebarLink.level] === n.sidebarLink.uniqueKey
|
|
14826
14826
|
}]),
|
|
14827
14827
|
style: { transition: "0.5s" }
|
|
@@ -14875,7 +14875,7 @@ const _0 = (n) => {
|
|
|
14875
14875
|
n.link.childrens?.length ? (j(), U("div", Y0, [
|
|
14876
14876
|
z("button", {
|
|
14877
14877
|
title: n.link.label,
|
|
14878
|
-
class:
|
|
14878
|
+
class: Me(["btn btn-light w-100 text-start border-0", [n.link.icon ? "icon" : "text-align-left bg-white"]]),
|
|
14879
14879
|
type: "button",
|
|
14880
14880
|
onClick: o[0] || (o[0] = (u) => Ce(i)?.(n.link.uniqueKey, n.link.level))
|
|
14881
14881
|
}, [
|
|
@@ -14944,7 +14944,7 @@ const _0 = (n) => {
|
|
|
14944
14944
|
);
|
|
14945
14945
|
return (o, l) => (j(), U("div", {
|
|
14946
14946
|
id: "sidebarContent",
|
|
14947
|
-
class:
|
|
14947
|
+
class: Me(["sidebar sidebarContent", { "collapse-width": !r.value }])
|
|
14948
14948
|
}, [
|
|
14949
14949
|
r.value ? (j(), U("div", oE, [
|
|
14950
14950
|
z("div", lE, [
|
|
@@ -15024,7 +15024,7 @@ const _0 = (n) => {
|
|
|
15024
15024
|
const t = n, i = e, { contentWidth: r, clientWidth: s, sidebarWidth: a, sidebarContentVisibility: o } = pE(ke(() => t.isAuthenticated));
|
|
15025
15025
|
return (l, u) => (j(), U("div", mE, [
|
|
15026
15026
|
z("div", {
|
|
15027
|
-
class:
|
|
15027
|
+
class: Me(["d-flex", { "justify-content-center": !t.isAuthenticated }]),
|
|
15028
15028
|
ref_key: "clientWidth",
|
|
15029
15029
|
ref: s
|
|
15030
15030
|
}, [
|
|
@@ -15072,7 +15072,7 @@ const _0 = (n) => {
|
|
|
15072
15072
|
z("ol", wE, [
|
|
15073
15073
|
(j(!0), U(rt, null, mt(t.crumbs, (a, o) => (j(), U("li", {
|
|
15074
15074
|
key: o,
|
|
15075
|
-
class:
|
|
15075
|
+
class: Me(["breadcrumb-item text-nowrap col-auto", { active: a.isActive }]),
|
|
15076
15076
|
"aria-current": a.isActive ? "page" : void 0
|
|
15077
15077
|
}, [
|
|
15078
15078
|
a.isActive ? (j(), U("span", EE, Se(a.text), 1)) : (j(), U("a", {
|
|
@@ -15136,7 +15136,7 @@ const _0 = (n) => {
|
|
|
15136
15136
|
return e.variant !== "default" && i.push(`card-info--${e.variant}`), e.size !== "md" && i.push(`card-info--${e.size}`), e.bordered && i.push("card-info--bordered"), e.shadow && i.push("card-info--shadow"), e.cardClass && i.push(e.cardClass), i.join(" ");
|
|
15137
15137
|
});
|
|
15138
15138
|
return (i, r) => (j(), U("div", {
|
|
15139
|
-
class:
|
|
15139
|
+
class: Me(["card", t.value])
|
|
15140
15140
|
}, [
|
|
15141
15141
|
i.title ? (j(), U("div", SE, [
|
|
15142
15142
|
z("h5", xE, Se(i.title), 1)
|
|
@@ -15151,7 +15151,7 @@ const _0 = (n) => {
|
|
|
15151
15151
|
z("div", DE, Se(s.label) + ":", 1),
|
|
15152
15152
|
z("div", OE, [
|
|
15153
15153
|
z("span", {
|
|
15154
|
-
class:
|
|
15154
|
+
class: Me(["value", s.valueClass]),
|
|
15155
15155
|
style: Rt(s.valueStyle)
|
|
15156
15156
|
}, Se(s.value), 7)
|
|
15157
15157
|
])
|
|
@@ -15229,7 +15229,7 @@ const _0 = (n) => {
|
|
|
15229
15229
|
z("div", WE, [
|
|
15230
15230
|
(j(!0), U(rt, null, mt(c.tabs, (p, f) => Yt((j(), U("button", {
|
|
15231
15231
|
key: f,
|
|
15232
|
-
class:
|
|
15232
|
+
class: Me(["nav-link me-5", [f === r.value ? "active" : ""]]),
|
|
15233
15233
|
onClick: (m) => u(f)
|
|
15234
15234
|
}, Se(p.navLink), 11, UE)), [
|
|
15235
15235
|
[yi, p.navLink]
|
|
@@ -15238,11 +15238,11 @@ const _0 = (n) => {
|
|
|
15238
15238
|
z("div", GE, [
|
|
15239
15239
|
(j(!0), U(rt, null, mt(c.tabs, (p, f) => (j(), U("div", {
|
|
15240
15240
|
key: f,
|
|
15241
|
-
class:
|
|
15241
|
+
class: Me(["tab-pane fade row", [f === r.value ? "show active d-flex" : ""]])
|
|
15242
15242
|
}, [
|
|
15243
15243
|
(j(!0), U(rt, null, mt(p.contents, (m, C) => (j(), U("div", {
|
|
15244
15244
|
key: C,
|
|
15245
|
-
class:
|
|
15245
|
+
class: Me(`col-${c.col} mb-3`)
|
|
15246
15246
|
}, [
|
|
15247
15247
|
m.subtitle ? (j(), U("div", YE, Se(m.subtitle) + ": ", 1)) : xe("", !0),
|
|
15248
15248
|
!m.type || m.type === "text" ? (j(), U("div", QE, [
|
|
@@ -15303,7 +15303,7 @@ const _0 = (n) => {
|
|
|
15303
15303
|
return (r, s) => t.value && t.value.length > 0 ? (j(), U("div", tk, [
|
|
15304
15304
|
z("div", ik, [
|
|
15305
15305
|
z("div", {
|
|
15306
|
-
class:
|
|
15306
|
+
class: Me(["alert align-items-center message", [e.isError ? "alert-danger" : "alert-success"]]),
|
|
15307
15307
|
innerHTML: t.value
|
|
15308
15308
|
}, null, 10, nk),
|
|
15309
15309
|
z("i", {
|
|
@@ -15337,7 +15337,7 @@ const _0 = (n) => {
|
|
|
15337
15337
|
return (r, s) => t.value ? (j(), U("div", sk, [
|
|
15338
15338
|
z("div", ak, [
|
|
15339
15339
|
z("div", {
|
|
15340
|
-
class:
|
|
15340
|
+
class: Me([
|
|
15341
15341
|
i.value ? `alert alert-${r.type}` : "",
|
|
15342
15342
|
{ "d-flex align-items-center": r.warningIcon }
|
|
15343
15343
|
])
|
|
@@ -15380,17 +15380,17 @@ const _0 = (n) => {
|
|
|
15380
15380
|
},
|
|
15381
15381
|
{ deep: !0 }
|
|
15382
15382
|
), (l, u) => (j(), U("div", {
|
|
15383
|
-
class:
|
|
15383
|
+
class: Me(["accordion accordion-flush", { "w-100": l.fullWidth }]),
|
|
15384
15384
|
style: { background: "transparent" }
|
|
15385
15385
|
}, [
|
|
15386
15386
|
z("div", {
|
|
15387
|
-
class:
|
|
15387
|
+
class: Me(["accordion-item", { "border-bottom": l.isVisibleBorderBottom }]),
|
|
15388
15388
|
style: { background: "transparent" }
|
|
15389
15389
|
}, [
|
|
15390
15390
|
z("h2", ck, [
|
|
15391
15391
|
z("button", {
|
|
15392
15392
|
onClick: o,
|
|
15393
|
-
class:
|
|
15393
|
+
class: Me(["accordion-button collapsed ps-0", {
|
|
15394
15394
|
visible: !l.isCollapsed,
|
|
15395
15395
|
"fw-bolder": l.isTitleBold
|
|
15396
15396
|
}]),
|
|
@@ -15503,7 +15503,7 @@ const _0 = (n) => {
|
|
|
15503
15503
|
m.kindGroups[b].kinds.length > 0 ? (j(), U(rt, { key: 0 }, [
|
|
15504
15504
|
z("div", gk, [
|
|
15505
15505
|
z("button", {
|
|
15506
|
-
class:
|
|
15506
|
+
class: Me(["accordion-button ps-0", { collapsed: o.value === Number(b) }]),
|
|
15507
15507
|
type: "button",
|
|
15508
15508
|
style: { background: "transparent" },
|
|
15509
15509
|
onClick: (h) => f.value(h, b)
|
|
@@ -15529,7 +15529,7 @@ const _0 = (n) => {
|
|
|
15529
15529
|
z("span", Ck, Se(S.name), 1)
|
|
15530
15530
|
]),
|
|
15531
15531
|
z("i", {
|
|
15532
|
-
class:
|
|
15532
|
+
class: Me(["bi bi-chevron-down accordion-icon", { rotated: o.value === Number(b) }])
|
|
15533
15533
|
}, null, 2)
|
|
15534
15534
|
])
|
|
15535
15535
|
], 10, bk)
|
|
@@ -26825,7 +26825,7 @@ const w1 = "data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJG
|
|
|
26825
26825
|
if (ve === null) return;
|
|
26826
26826
|
c.value.delete(ve);
|
|
26827
26827
|
const Ee = u.value.data.findIndex(
|
|
26828
|
-
(
|
|
26828
|
+
(Te) => Te[te] === ve
|
|
26829
26829
|
);
|
|
26830
26830
|
Ee !== -1 && (u.value.data.splice(Ee, 1), u.value.rows.splice(Ee, 1)), i("updateUnselectedRows", { data: q, row: P }), i("unselectedRow", { data: q, row: P });
|
|
26831
26831
|
}, $ = function() {
|
|
@@ -26838,8 +26838,8 @@ const w1 = "data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJG
|
|
|
26838
26838
|
}
|
|
26839
26839
|
const te = [], ve = P.target;
|
|
26840
26840
|
for (let Ee = 0; Ee < ve.childNodes.length; Ee++) {
|
|
26841
|
-
const
|
|
26842
|
-
|
|
26841
|
+
const Te = ve.childNodes[Ee];
|
|
26842
|
+
Te.nodeName === "INPUT" && Te.type === "checkbox" && te.push("checkbox");
|
|
26843
26843
|
}
|
|
26844
26844
|
te.includes("checkbox") || i("onTableRowClick", P, q._cell.row, t.parentComponent);
|
|
26845
26845
|
}, B = (P) => {
|
|
@@ -26901,11 +26901,11 @@ const w1 = "data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJG
|
|
|
26901
26901
|
a.value = t.paginationLimitText;
|
|
26902
26902
|
return;
|
|
26903
26903
|
}
|
|
26904
|
-
const
|
|
26904
|
+
const Te = Math.min(
|
|
26905
26905
|
ve + ve,
|
|
26906
26906
|
P
|
|
26907
26907
|
);
|
|
26908
|
-
q.ajaxParams || (q.ajaxParams = {}), q.ajaxParams.per_page =
|
|
26908
|
+
q.ajaxParams || (q.ajaxParams = {}), q.ajaxParams.per_page = Te, q.paginationSize = Te, m.value.setPageSize(Te), Te >= P && (a.value = t.paginationLimitText);
|
|
26909
26909
|
return;
|
|
26910
26910
|
} else {
|
|
26911
26911
|
const te = m.value.getPageSize();
|
|
@@ -26999,7 +26999,7 @@ const w1 = "data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJG
|
|
|
26999
26999
|
},
|
|
27000
27000
|
{ deep: !0 }
|
|
27001
27001
|
), (P, q) => (j(), U("div", {
|
|
27002
|
-
class:
|
|
27002
|
+
class: Me(["position-relative", { "table-has-load-error": !!o.value }]),
|
|
27003
27003
|
style: { "min-height": "300px" }
|
|
27004
27004
|
}, [
|
|
27005
27005
|
Yt(z("p", C1, [...q[2] || (q[2] = [
|
|
@@ -27073,7 +27073,7 @@ const w1 = "data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJG
|
|
|
27073
27073
|
setup(n) {
|
|
27074
27074
|
const e = n, t = ke(() => e.label || e.defaultLabel), i = ke(() => e.count === null || e.count === void 0 || e.count === "" ? e.defaultCount : e.count);
|
|
27075
27075
|
return (r, s) => (j(), U("div", {
|
|
27076
|
-
class:
|
|
27076
|
+
class: Me(["r3-table-count", [`r3-table-count--${r.size}`]])
|
|
27077
27077
|
}, [
|
|
27078
27078
|
z("div", O1, [
|
|
27079
27079
|
z("span", L1, Se(t.value) + ":", 1),
|
|
@@ -27176,7 +27176,7 @@ const w1 = "data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJG
|
|
|
27176
27176
|
z("div", H1, [
|
|
27177
27177
|
(j(!0), U(rt, null, mt(r.filterList, (a, o) => (j(), U("button", {
|
|
27178
27178
|
onClick: (l) => i(a.name),
|
|
27179
|
-
class:
|
|
27179
|
+
class: Me(["btn filter-item", {
|
|
27180
27180
|
active: r.defaultSelected === a.name,
|
|
27181
27181
|
disabled: a.disabled
|
|
27182
27182
|
}]),
|
|
@@ -27515,7 +27515,7 @@ const kT = /* @__PURE__ */ Ve({
|
|
|
27515
27515
|
z("div", eR, [
|
|
27516
27516
|
(j(!0), U(rt, null, mt(s.filterList, (o, l) => (j(), U("button", {
|
|
27517
27517
|
onClick: (u) => r(l),
|
|
27518
|
-
class:
|
|
27518
|
+
class: Me(["btn filter-item", {
|
|
27519
27519
|
active: s.filterList[l].value,
|
|
27520
27520
|
disabled: s.filterList[l].disabled
|
|
27521
27521
|
}]),
|
|
@@ -28327,7 +28327,7 @@ function KR(n, e, t) {
|
|
|
28327
28327
|
var D = X(A.calcPoint), _ = K(D);
|
|
28328
28328
|
_ !== !1 && (e.events.snap || pu(a, e.cssClasses.tap, e.animationDuration), ze(_, D, !0, !0), Le(), se("slide", _, !0), se("update", _, !0), e.events.snap ? ve(A, { handleNumbers: [_] }) : (se("change", _, !0), se("set", _, !0)));
|
|
28329
28329
|
}
|
|
28330
|
-
function
|
|
28330
|
+
function Te(A) {
|
|
28331
28331
|
var D = X(A.calcPoint), _ = f.getStep(D), Y = f.fromStepping(_);
|
|
28332
28332
|
Object.keys(h).forEach(function(ae) {
|
|
28333
28333
|
ae.split(".")[0] === "hover" && h[ae].forEach(function(de) {
|
|
@@ -28358,7 +28358,7 @@ function KR(n, e, t) {
|
|
|
28358
28358
|
Q(i.start, D.children[0], ve, {
|
|
28359
28359
|
handleNumbers: [_]
|
|
28360
28360
|
});
|
|
28361
|
-
}), A.tap && Q(i.start, o, Ee, {}), A.hover && Q(i.move, o,
|
|
28361
|
+
}), A.tap && Q(i.start, o, Ee, {}), A.hover && Q(i.move, o, Te, {
|
|
28362
28362
|
hover: !0
|
|
28363
28363
|
}), A.drag && c.forEach(function(D, _) {
|
|
28364
28364
|
if (!(D === !1 || _ === 0 || _ === c.length - 1)) {
|
|
@@ -28776,14 +28776,14 @@ const qR = {
|
|
|
28776
28776
|
ref: t
|
|
28777
28777
|
}, [
|
|
28778
28778
|
z("i", {
|
|
28779
|
-
class:
|
|
28779
|
+
class: Me(["bi bi-question-circle-fill question-icon", [u.iconClass, s.value]]),
|
|
28780
28780
|
title: u.title,
|
|
28781
28781
|
style: Rt(r.value),
|
|
28782
28782
|
onClick: o
|
|
28783
28783
|
}, null, 14, nM),
|
|
28784
28784
|
i.value && u.title ? (j(), U("div", {
|
|
28785
28785
|
key: 0,
|
|
28786
|
-
class:
|
|
28786
|
+
class: Me(["question-tooltip", a.value])
|
|
28787
28787
|
}, [
|
|
28788
28788
|
Ft(Se(u.title) + " ", 1),
|
|
28789
28789
|
c[0] || (c[0] = z("div", { class: "question-tooltip-arrow" }, null, -1))
|
|
@@ -28831,7 +28831,7 @@ const qR = {
|
|
|
28831
28831
|
}, [
|
|
28832
28832
|
z("div", aM, [
|
|
28833
28833
|
(j(!0), U(rt, null, mt(r.value, (l, u) => (j(), U("div", {
|
|
28834
|
-
class:
|
|
28834
|
+
class: Me(["mb-2", u === r.value.length - 1 ? "col" : "col-auto"]),
|
|
28835
28835
|
key: l.key
|
|
28836
28836
|
}, [
|
|
28837
28837
|
z("div", oM, Se(l.name) + ":", 1),
|
|
@@ -28853,7 +28853,7 @@ const qR = {
|
|
|
28853
28853
|
z("div", lM, [
|
|
28854
28854
|
z("div", uM, [
|
|
28855
28855
|
(j(!0), U(rt, null, mt(r.value, (l, u) => (j(), U("div", {
|
|
28856
|
-
class:
|
|
28856
|
+
class: Me(["mb-2", u === r.value.length - 1 ? "col" : "col-auto"]),
|
|
28857
28857
|
key: l.key
|
|
28858
28858
|
}, [
|
|
28859
28859
|
z("div", cM, Se(l.name) + ":", 1),
|
|
@@ -28870,7 +28870,7 @@ const qR = {
|
|
|
28870
28870
|
onClick: o[1] || (o[1] = (l) => i.value = !i.value)
|
|
28871
28871
|
}, [
|
|
28872
28872
|
z("i", {
|
|
28873
|
-
class:
|
|
28873
|
+
class: Me({
|
|
28874
28874
|
"bi lh-normal": !0,
|
|
28875
28875
|
"bi-chevron-down": !i.value,
|
|
28876
28876
|
"bi-chevron-up": i.value
|
package/dist/r3ui-lib.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(W,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(W=typeof globalThis<"u"?globalThis:W||self,a(W.R3uiLib={},W.Vue))})(this,(function(W,a){"use strict";const In={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["spinner-border",{"spinner-border-sm":n.isSmall}]),role:"status"},null,2))}},Gr={__name:"Icon",props:{name:{type:String,required:!0}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("i",{class:a.normalizeClass(`bi bi-${n.name}`)},null,2))}},Hh=["aria-label"],zh={class:"d-inline-flex align-items-center justify-content-center"},jh={key:2},Bi={__name:"DefaultButton",props:{label:{type:String,default:""},icon:{type:String,default:""},iconPosition:{type:String,default:"left",validator(n){return["right","left"].includes(n)}},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!1},customClasses:{type:Array,default:()=>[]},ariaLabel:{type:String,default:""},styles:{type:String,default:"primary",validator(n){return["primary","light","secondary","success","danger","warning","info"].includes(n)}}},emits:["submit"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>`btn-${t.styles}`);function s(){t.isLoading||t.isDisabled||i("submit")}return(o,l)=>(a.openBlock(),a.createElementBlock("button",{"data-test":"DefaultButton",class:a.normalizeClass(["btn",[n.isLoading||n.isDisabled?"disabled":"",n.isFullWidth?"w-100":"",n.styles?r.value:"",...n.customClasses]]),"aria-label":n.ariaLabel||void 0,onClick:a.withModifiers(s,["prevent"])},[a.createElementVNode("div",zh,[n.icon&&n.iconPosition==="left"?(a.openBlock(),a.createBlock(Gr,{key:0,name:n.icon,class:a.normalizeClass(n.label?"me-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0),n.isLoading?(a.openBlock(),a.createBlock(In,{key:1,isSmall:!0,class:"pe-2"})):a.createCommentVNode("",!0),n.label?(a.openBlock(),a.createElementBlock("span",jh,a.toDisplayString(n.label),1)):a.createCommentVNode("",!0),n.icon&&n.iconPosition==="right"?(a.openBlock(),a.createBlock(Gr,{key:3,name:n.icon,class:a.normalizeClass(n.label?"ms-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0)])],10,Hh))}},Wh=a.defineComponent({__name:"AddButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},iconClass:{default:"bi bi-plus-circle-fill pe-2"}},emits:["click"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("click")};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-flex add-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"AddButton",onClick:r},[a.createElementVNode("i",{class:a.normalizeClass(s.iconClass)},null,2),a.createTextVNode(" "+a.toDisplayString(s.label||s.text||"Добавить"),1)],2))}}),Ne=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},_l=Ne(Wh,[["__scopeId","data-v-cf07042b"]]),Uh={"data-test":"CollapseButton"},Gh=["id"],Yh=["id"],Qh=Ne(a.defineComponent({__name:"CollapseButton",props:{isCollapsed:{type:Boolean,default:!0},expandText:{default:"Развернуть все"},collapseText:{default:"Свернуть все"},expandId:{default:"expand-filters-btn"},collapseId:{default:"collapse-filters-btn"},buttonStyle:{default:"padding: 8px 24px; margin-bottom: 32px"},iconStyle:{default:"font-size: 10px"},expandLabel:{default:"Развернуть все"},collapseLabel:{default:"Свернуть все"},isColapsed:{type:Boolean}},emits:["emitCollapseToggle","emitColapsed","expand","collapse"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>t.isCollapsed),s=a.computed(()=>t.expandText),o=a.computed(()=>t.collapseText),l=()=>{i("emitCollapseToggle",!1),i("emitColapsed",!1),i("expand")},c=()=>{i("emitCollapseToggle",!0),i("emitColapsed",!0),i("collapse")};return(u,d)=>(a.openBlock(),a.createElementBlock("div",Uh,[r.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",id:u.expandId,class:"btn btn-light collapse-button",onClick:l,style:a.normalizeStyle(u.buttonStyle)},[a.createTextVNode(a.toDisplayString(s.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-down-fill",style:a.normalizeStyle(u.iconStyle)},null,4)],12,Gh)):a.createCommentVNode("",!0),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:u.collapseId,class:"btn btn-light collapse-button",onClick:c,style:a.normalizeStyle(u.buttonStyle)},[a.createTextVNode(a.toDisplayString(o.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-up-fill",style:a.normalizeStyle(u.iconStyle)},null,4)],12,Yh))]))}}),[["__scopeId","data-v-1a9468da"]]),Kh=Ne(a.defineComponent({__name:"ExportButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},exportType:{default:"default"}},emits:["export"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("export",t.exportType)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto export-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"ExportButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Экспорт")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],2))}}),[["__scopeId","data-v-20f08c06"]]),Jh=Ne(a.defineComponent({__name:"PrintButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1}},emits:["print"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||(window.print(),i("print"))};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto print-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"PrintButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Печать")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-printer-fill"},null,-1))],2))}}),[["__scopeId","data-v-52020521"]]),qh=["disabled"],$h={class:"clear-form-button__label"},Zh=Ne(a.defineComponent({__name:"ClearFormButton",props:{label:{default:"Очистить"},disabled:{type:Boolean,default:!1}},emits:["clear"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("clear",!0)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["clear-form-button",{"clear-form-button--disabled":s.disabled}]),disabled:s.disabled,"data-test":"ClearFormButton",onClick:r},[o[0]||(o[0]=a.createElementVNode("div",{class:"clear-form-button__icon"},[a.createElementVNode("i",{class:"bi bi-trash-fill"})],-1)),a.createElementVNode("div",$h,a.toDisplayString(s.label),1)],10,qh))}}),[["__scopeId","data-v-ed163ff4"]]),Xh={class:"toggle-buttons","data-test":"ToggleButtons"},ef=["onClick"],tf=Ne(a.defineComponent({__name:"ToggleButtons",props:{options:{},modelValue:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,i=r=>{t("update:modelValue",r.name)};return(r,s)=>(a.openBlock(),a.createElementBlock("div",Xh,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.options,o=>(a.openBlock(),a.createElementBlock("button",{key:o.name,type:"button",class:a.normalizeClass(["toggle-buttons__button",{"toggle-buttons__button--active":r.modelValue===o.name}]),onClick:l=>i(o)},a.toDisplayString(o.title),11,ef))),128))]))}}),[["__scopeId","data-v-4eae7f5d"]]);var Pl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function nf(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return n[i]}})}),t}var Yr,Il;function Fi(){return Il||(Il=1,Yr=TypeError),Yr}const rf=nf(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Qr,Vl;function Vn(){if(Vl)return Qr;Vl=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=n&&e&&typeof e.get=="function"?e.get:null,i=n&&Map.prototype.forEach,r=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=r&&s&&typeof s.get=="function"?s.get:null,l=r&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,u=c?WeakMap.prototype.has:null,d=typeof WeakSet=="function"&&WeakSet.prototype,h=d?WeakSet.prototype.has:null,m=typeof WeakRef=="function"&&WeakRef.prototype,p=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,A=Object.prototype.toString,R=Function.prototype.toString,v=String.prototype.match,f=String.prototype.slice,T=String.prototype.replace,b=String.prototype.toUpperCase,M=String.prototype.toLowerCase,w=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,k=Array.prototype.slice,y=Math.floor,D=typeof BigInt=="function"?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,I=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||!0)?Symbol.toStringTag:null,U=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ne){return ne.__proto__}:null);function H(ne,ae){if(ne===1/0||ne===-1/0||ne!==ne||ne&&ne>-1e3&&ne<1e3||w.call(/e/,ae))return ae;var Pe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ne=="number"){var ze=ne<0?-y(-ne):y(ne);if(ze!==ne){var Le=String(ze),xe=f.call(ae,Le.length+1);return T.call(Le,Pe,"$&_")+"."+T.call(T.call(xe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(ae,Pe,"$&_")}var q=rf,F=q.custom,N=ee(F)?F:null,K={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Qr=function ne(ae,Pe,ze,Le){var xe=Pe||{};if(Ae(xe,"quoteStyle")&&!Ae(K,xe.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ae(xe,"maxStringLength")&&(typeof xe.maxStringLength=="number"?xe.maxStringLength<0&&xe.maxStringLength!==1/0:xe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ut=Ae(xe,"customInspect")?xe.customInspect:!0;if(typeof ut!="boolean"&&ut!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ae(xe,"indent")&&xe.indent!==null&&xe.indent!==" "&&!(parseInt(xe.indent,10)===xe.indent&&xe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ae(xe,"numericSeparator")&&typeof xe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ge=xe.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return Me(ae,xe);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var B=String(ae);return ge?H(ae,B):B}if(typeof ae=="bigint"){var E=String(ae)+"n";return ge?H(ae,E):E}var L=typeof xe.depth>"u"?5:xe.depth;if(typeof ze>"u"&&(ze=0),ze>=L&&L>0&&typeof ae=="object")return ce(ae)?"[Array]":"[Object]";var _=xt(xe,ze);if(typeof Le>"u")Le=[];else if(Ie(Le,ae)>=0)return"[Circular]";function G(jt,$t,rn){if($t&&(Le=k.call(Le),Le.push($t)),rn){var Oi={depth:xe.depth};return Ae(xe,"quoteStyle")&&(Oi.quoteStyle=xe.quoteStyle),ne(jt,Oi,ze+1,Le)}return ne(jt,xe,ze+1,Le)}if(typeof ae=="function"&&!ie(ae)){var se=_e(ae),ue=Ge(ae,G);return"[Function"+(se?": "+se:" (anonymous)")+"]"+(ue.length>0?" { "+C.call(ue,", ")+" }":"")}if(ee(ae)){var fe=I?T.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(ae);return typeof ae=="object"&&!I?Re(fe):fe}if(Se(ae)){for(var pe="<"+M.call(String(ae.nodeName)),ve=ae.attributes||[],Ce=0;Ce<ve.length;Ce++)pe+=" "+ve[Ce].name+"="+$(te(ve[Ce].value),"double",xe);return pe+=">",ae.childNodes&&ae.childNodes.length&&(pe+="..."),pe+="</"+M.call(String(ae.nodeName))+">",pe}if(ce(ae)){if(ae.length===0)return"[]";var De=Ge(ae,G);return _&&!je(De)?"["+At(De,_)+"]":"[ "+C.call(De,", ")+" ]"}if(Z(ae)){var We=Ge(ae,G);return!("cause"in Error.prototype)&&"cause"in ae&&!U.call(ae,"cause")?"{ ["+String(ae)+"] "+C.call(S.call("[cause]: "+G(ae.cause),We),", ")+" }":We.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+C.call(We,", ")+" }"}if(typeof ae=="object"&&ut){if(N&&typeof ae[N]=="function"&&q)return q(ae,{depth:L-ze});if(ut!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(de(ae)){var Be=[];return i&&i.call(ae,function(jt,$t){Be.push(G($t,ae,!0)+" => "+G(jt,ae))}),et("Map",t.call(ae),Be,_)}if(me(ae)){var qe=[];return l&&l.call(ae,function(jt){qe.push(G(jt,ae))}),et("Set",o.call(ae),qe,_)}if(X(ae))return Oe("WeakMap");if(he(ae))return Oe("WeakSet");if(re(ae))return Oe("WeakRef");if(P(ae))return Re(G(Number(ae)));if(be(ae))return Re(G(D.call(ae)));if(J(ae))return Re(g.call(ae));if(Q(ae))return Re(G(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof Pl<"u"&&ae===Pl)return"{ [object globalThis] }";if(!Y(ae)&&!ie(ae)){var Xe=Ge(ae,G),at=V?V(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,nt=ae instanceof Object?"":"null prototype",wi=!at&&j&&Object(ae)===ae&&j in ae?f.call(Fe(ae),8,-1):nt?"Object":"",Li=at||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",di=Li+(wi||nt?"["+C.call(S.call([],wi||[],nt||[]),": ")+"] ":"");return Xe.length===0?di+"{}":_?di+"{"+At(Xe,_)+"}":di+"{ "+C.call(Xe,", ")+" }"}return String(ae)};function $(ne,ae,Pe){var ze=Pe.quoteStyle||ae,Le=K[ze];return Le+ne+Le}function te(ne){return T.call(String(ne),/"/g,""")}function le(ne){return!j||!(typeof ne=="object"&&(j in ne||typeof ne[j]<"u"))}function ce(ne){return Fe(ne)==="[object Array]"&&le(ne)}function Y(ne){return Fe(ne)==="[object Date]"&&le(ne)}function ie(ne){return Fe(ne)==="[object RegExp]"&&le(ne)}function Z(ne){return Fe(ne)==="[object Error]"&&le(ne)}function Q(ne){return Fe(ne)==="[object String]"&&le(ne)}function P(ne){return Fe(ne)==="[object Number]"&&le(ne)}function J(ne){return Fe(ne)==="[object Boolean]"&&le(ne)}function ee(ne){if(I)return ne&&typeof ne=="object"&&ne instanceof Symbol;if(typeof ne=="symbol")return!0;if(!ne||typeof ne!="object"||!O)return!1;try{return O.call(ne),!0}catch{}return!1}function be(ne){if(!ne||typeof ne!="object"||!D)return!1;try{return D.call(ne),!0}catch{}return!1}var we=Object.prototype.hasOwnProperty||function(ne){return ne in this};function Ae(ne,ae){return we.call(ne,ae)}function Fe(ne){return A.call(ne)}function _e(ne){if(ne.name)return ne.name;var ae=v.call(R.call(ne),/^function\s*([\w$]+)/);return ae?ae[1]:null}function Ie(ne,ae){if(ne.indexOf)return ne.indexOf(ae);for(var Pe=0,ze=ne.length;Pe<ze;Pe++)if(ne[Pe]===ae)return Pe;return-1}function de(ne){if(!t||!ne||typeof ne!="object")return!1;try{t.call(ne);try{o.call(ne)}catch{return!0}return ne instanceof Map}catch{}return!1}function X(ne){if(!u||!ne||typeof ne!="object")return!1;try{u.call(ne,u);try{h.call(ne,h)}catch{return!0}return ne instanceof WeakMap}catch{}return!1}function re(ne){if(!p||!ne||typeof ne!="object")return!1;try{return p.call(ne),!0}catch{}return!1}function me(ne){if(!o||!ne||typeof ne!="object")return!1;try{o.call(ne);try{t.call(ne)}catch{return!0}return ne instanceof Set}catch{}return!1}function he(ne){if(!h||!ne||typeof ne!="object")return!1;try{h.call(ne,h);try{u.call(ne,u)}catch{return!0}return ne instanceof WeakSet}catch{}return!1}function Se(ne){return!ne||typeof ne!="object"?!1:typeof HTMLElement<"u"&&ne instanceof HTMLElement?!0:typeof ne.nodeName=="string"&&typeof ne.getAttribute=="function"}function Me(ne,ae){if(ne.length>ae.maxStringLength){var Pe=ne.length-ae.maxStringLength,ze="... "+Pe+" more character"+(Pe>1?"s":"");return Me(f.call(ne,0,ae.maxStringLength),ae)+ze}var Le=z[ae.quoteStyle||"single"];Le.lastIndex=0;var xe=T.call(T.call(ne,Le,"\\$1"),/[\x00-\x1f]/g,oe);return $(xe,"single",ae)}function oe(ne){var ae=ne.charCodeAt(0),Pe={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return Pe?"\\"+Pe:"\\x"+(ae<16?"0":"")+b.call(ae.toString(16))}function Re(ne){return"Object("+ne+")"}function Oe(ne){return ne+" { ? }"}function et(ne,ae,Pe,ze){var Le=ze?At(Pe,ze):C.call(Pe,", ");return ne+" ("+ae+") {"+Le+"}"}function je(ne){for(var ae=0;ae<ne.length;ae++)if(Ie(ne[ae],`
|
|
1
|
+
(function(W,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(W=typeof globalThis<"u"?globalThis:W||self,a(W.R3uiLib={},W.Vue))})(this,(function(W,a){"use strict";const In={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["spinner-border",{"spinner-border-sm":n.isSmall}]),role:"status"},null,2))}},Gr={__name:"Icon",props:{name:{type:String,required:!0}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("i",{class:a.normalizeClass(`bi bi-${n.name}`)},null,2))}},Hh=["aria-label"],zh={class:"d-inline-flex align-items-center justify-content-center"},jh={key:2},Bi={__name:"DefaultButton",props:{label:{type:String,default:""},icon:{type:String,default:""},iconPosition:{type:String,default:"left",validator(n){return["right","left"].includes(n)}},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!1},customClasses:{type:Array,default:()=>[]},ariaLabel:{type:String,default:""},styles:{type:String,default:"primary",validator(n){return["primary","light","secondary","success","danger","warning","info"].includes(n)}}},emits:["submit"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>`btn-${t.styles}`);function s(){t.isLoading||t.isDisabled||i("submit")}return(o,l)=>(a.openBlock(),a.createElementBlock("button",{"data-test":"DefaultButton",class:a.normalizeClass(["btn",[n.isLoading||n.isDisabled?"disabled":"",n.isFullWidth?"w-100":"",n.styles?r.value:"",...n.customClasses]]),"aria-label":n.ariaLabel||void 0,onClick:a.withModifiers(s,["prevent"])},[a.createElementVNode("div",zh,[n.icon&&n.iconPosition==="left"?(a.openBlock(),a.createBlock(Gr,{key:0,name:n.icon,class:a.normalizeClass(n.label?"me-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0),n.isLoading?(a.openBlock(),a.createBlock(In,{key:1,isSmall:!0,class:a.normalizeClass(n.label?"me-2":"")},null,8,["class"])):a.createCommentVNode("",!0),n.label?(a.openBlock(),a.createElementBlock("span",jh,a.toDisplayString(n.label),1)):a.createCommentVNode("",!0),n.icon&&n.iconPosition==="right"?(a.openBlock(),a.createBlock(Gr,{key:3,name:n.icon,class:a.normalizeClass(n.label?"ms-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0)])],10,Hh))}},Wh=a.defineComponent({__name:"AddButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},iconClass:{default:"bi bi-plus-circle-fill pe-2"}},emits:["click"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("click")};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-flex add-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"AddButton",onClick:r},[a.createElementVNode("i",{class:a.normalizeClass(s.iconClass)},null,2),a.createTextVNode(" "+a.toDisplayString(s.label||s.text||"Добавить"),1)],2))}}),Ne=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},_l=Ne(Wh,[["__scopeId","data-v-cf07042b"]]),Uh={"data-test":"CollapseButton"},Gh=["id"],Yh=["id"],Qh=Ne(a.defineComponent({__name:"CollapseButton",props:{isCollapsed:{type:Boolean,default:!0},expandText:{default:"Развернуть все"},collapseText:{default:"Свернуть все"},expandId:{default:"expand-filters-btn"},collapseId:{default:"collapse-filters-btn"},buttonStyle:{default:"padding: 8px 24px; margin-bottom: 32px"},iconStyle:{default:"font-size: 10px"},expandLabel:{default:"Развернуть все"},collapseLabel:{default:"Свернуть все"},isColapsed:{type:Boolean}},emits:["emitCollapseToggle","emitColapsed","expand","collapse"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>t.isCollapsed),s=a.computed(()=>t.expandText),o=a.computed(()=>t.collapseText),l=()=>{i("emitCollapseToggle",!1),i("emitColapsed",!1),i("expand")},c=()=>{i("emitCollapseToggle",!0),i("emitColapsed",!0),i("collapse")};return(u,d)=>(a.openBlock(),a.createElementBlock("div",Uh,[r.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",id:u.expandId,class:"btn btn-light collapse-button",onClick:l,style:a.normalizeStyle(u.buttonStyle)},[a.createTextVNode(a.toDisplayString(s.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-down-fill",style:a.normalizeStyle(u.iconStyle)},null,4)],12,Gh)):a.createCommentVNode("",!0),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:u.collapseId,class:"btn btn-light collapse-button",onClick:c,style:a.normalizeStyle(u.buttonStyle)},[a.createTextVNode(a.toDisplayString(o.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-up-fill",style:a.normalizeStyle(u.iconStyle)},null,4)],12,Yh))]))}}),[["__scopeId","data-v-1a9468da"]]),Kh=Ne(a.defineComponent({__name:"ExportButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},exportType:{default:"default"}},emits:["export"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("export",t.exportType)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto export-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"ExportButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Экспорт")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],2))}}),[["__scopeId","data-v-20f08c06"]]),Jh=Ne(a.defineComponent({__name:"PrintButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1}},emits:["print"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||(window.print(),i("print"))};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto print-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"PrintButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Печать")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-printer-fill"},null,-1))],2))}}),[["__scopeId","data-v-52020521"]]),qh=["disabled"],$h={class:"clear-form-button__label"},Zh=Ne(a.defineComponent({__name:"ClearFormButton",props:{label:{default:"Очистить"},disabled:{type:Boolean,default:!1}},emits:["clear"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("clear",!0)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["clear-form-button",{"clear-form-button--disabled":s.disabled}]),disabled:s.disabled,"data-test":"ClearFormButton",onClick:r},[o[0]||(o[0]=a.createElementVNode("div",{class:"clear-form-button__icon"},[a.createElementVNode("i",{class:"bi bi-trash-fill"})],-1)),a.createElementVNode("div",$h,a.toDisplayString(s.label),1)],10,qh))}}),[["__scopeId","data-v-ed163ff4"]]),Xh={class:"toggle-buttons","data-test":"ToggleButtons"},ef=["onClick"],tf=Ne(a.defineComponent({__name:"ToggleButtons",props:{options:{},modelValue:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,i=r=>{t("update:modelValue",r.name)};return(r,s)=>(a.openBlock(),a.createElementBlock("div",Xh,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.options,o=>(a.openBlock(),a.createElementBlock("button",{key:o.name,type:"button",class:a.normalizeClass(["toggle-buttons__button",{"toggle-buttons__button--active":r.modelValue===o.name}]),onClick:l=>i(o)},a.toDisplayString(o.title),11,ef))),128))]))}}),[["__scopeId","data-v-4eae7f5d"]]);var Pl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function nf(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return n[i]}})}),t}var Yr,Il;function Fi(){return Il||(Il=1,Yr=TypeError),Yr}const rf=nf(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Qr,Vl;function Vn(){if(Vl)return Qr;Vl=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=n&&e&&typeof e.get=="function"?e.get:null,i=n&&Map.prototype.forEach,r=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=r&&s&&typeof s.get=="function"?s.get:null,l=r&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,u=c?WeakMap.prototype.has:null,d=typeof WeakSet=="function"&&WeakSet.prototype,h=d?WeakSet.prototype.has:null,m=typeof WeakRef=="function"&&WeakRef.prototype,p=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,A=Object.prototype.toString,R=Function.prototype.toString,v=String.prototype.match,f=String.prototype.slice,T=String.prototype.replace,b=String.prototype.toUpperCase,M=String.prototype.toLowerCase,w=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,k=Array.prototype.slice,y=Math.floor,D=typeof BigInt=="function"?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,I=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||!0)?Symbol.toStringTag:null,U=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ne){return ne.__proto__}:null);function H(ne,ae){if(ne===1/0||ne===-1/0||ne!==ne||ne&&ne>-1e3&&ne<1e3||w.call(/e/,ae))return ae;var Pe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ne=="number"){var ze=ne<0?-y(-ne):y(ne);if(ze!==ne){var Le=String(ze),xe=f.call(ae,Le.length+1);return T.call(Le,Pe,"$&_")+"."+T.call(T.call(xe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(ae,Pe,"$&_")}var q=rf,F=q.custom,N=ee(F)?F:null,K={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Qr=function ne(ae,Pe,ze,Le){var xe=Pe||{};if(Ae(xe,"quoteStyle")&&!Ae(K,xe.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ae(xe,"maxStringLength")&&(typeof xe.maxStringLength=="number"?xe.maxStringLength<0&&xe.maxStringLength!==1/0:xe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ut=Ae(xe,"customInspect")?xe.customInspect:!0;if(typeof ut!="boolean"&&ut!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ae(xe,"indent")&&xe.indent!==null&&xe.indent!==" "&&!(parseInt(xe.indent,10)===xe.indent&&xe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ae(xe,"numericSeparator")&&typeof xe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ge=xe.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return Me(ae,xe);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var B=String(ae);return ge?H(ae,B):B}if(typeof ae=="bigint"){var E=String(ae)+"n";return ge?H(ae,E):E}var L=typeof xe.depth>"u"?5:xe.depth;if(typeof ze>"u"&&(ze=0),ze>=L&&L>0&&typeof ae=="object")return ce(ae)?"[Array]":"[Object]";var _=xt(xe,ze);if(typeof Le>"u")Le=[];else if(Ie(Le,ae)>=0)return"[Circular]";function G(jt,$t,rn){if($t&&(Le=k.call(Le),Le.push($t)),rn){var Oi={depth:xe.depth};return Ae(xe,"quoteStyle")&&(Oi.quoteStyle=xe.quoteStyle),ne(jt,Oi,ze+1,Le)}return ne(jt,xe,ze+1,Le)}if(typeof ae=="function"&&!ie(ae)){var se=_e(ae),ue=Ge(ae,G);return"[Function"+(se?": "+se:" (anonymous)")+"]"+(ue.length>0?" { "+C.call(ue,", ")+" }":"")}if(ee(ae)){var fe=I?T.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(ae);return typeof ae=="object"&&!I?Re(fe):fe}if(Se(ae)){for(var pe="<"+M.call(String(ae.nodeName)),ve=ae.attributes||[],Ce=0;Ce<ve.length;Ce++)pe+=" "+ve[Ce].name+"="+$(te(ve[Ce].value),"double",xe);return pe+=">",ae.childNodes&&ae.childNodes.length&&(pe+="..."),pe+="</"+M.call(String(ae.nodeName))+">",pe}if(ce(ae)){if(ae.length===0)return"[]";var De=Ge(ae,G);return _&&!je(De)?"["+At(De,_)+"]":"[ "+C.call(De,", ")+" ]"}if(Z(ae)){var We=Ge(ae,G);return!("cause"in Error.prototype)&&"cause"in ae&&!U.call(ae,"cause")?"{ ["+String(ae)+"] "+C.call(S.call("[cause]: "+G(ae.cause),We),", ")+" }":We.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+C.call(We,", ")+" }"}if(typeof ae=="object"&&ut){if(N&&typeof ae[N]=="function"&&q)return q(ae,{depth:L-ze});if(ut!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(de(ae)){var Be=[];return i&&i.call(ae,function(jt,$t){Be.push(G($t,ae,!0)+" => "+G(jt,ae))}),et("Map",t.call(ae),Be,_)}if(me(ae)){var qe=[];return l&&l.call(ae,function(jt){qe.push(G(jt,ae))}),et("Set",o.call(ae),qe,_)}if(X(ae))return Oe("WeakMap");if(he(ae))return Oe("WeakSet");if(re(ae))return Oe("WeakRef");if(P(ae))return Re(G(Number(ae)));if(be(ae))return Re(G(D.call(ae)));if(J(ae))return Re(g.call(ae));if(Q(ae))return Re(G(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof Pl<"u"&&ae===Pl)return"{ [object globalThis] }";if(!Y(ae)&&!ie(ae)){var Xe=Ge(ae,G),at=V?V(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,nt=ae instanceof Object?"":"null prototype",wi=!at&&j&&Object(ae)===ae&&j in ae?f.call(Fe(ae),8,-1):nt?"Object":"",Li=at||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",di=Li+(wi||nt?"["+C.call(S.call([],wi||[],nt||[]),": ")+"] ":"");return Xe.length===0?di+"{}":_?di+"{"+At(Xe,_)+"}":di+"{ "+C.call(Xe,", ")+" }"}return String(ae)};function $(ne,ae,Pe){var ze=Pe.quoteStyle||ae,Le=K[ze];return Le+ne+Le}function te(ne){return T.call(String(ne),/"/g,""")}function le(ne){return!j||!(typeof ne=="object"&&(j in ne||typeof ne[j]<"u"))}function ce(ne){return Fe(ne)==="[object Array]"&&le(ne)}function Y(ne){return Fe(ne)==="[object Date]"&&le(ne)}function ie(ne){return Fe(ne)==="[object RegExp]"&&le(ne)}function Z(ne){return Fe(ne)==="[object Error]"&&le(ne)}function Q(ne){return Fe(ne)==="[object String]"&&le(ne)}function P(ne){return Fe(ne)==="[object Number]"&&le(ne)}function J(ne){return Fe(ne)==="[object Boolean]"&&le(ne)}function ee(ne){if(I)return ne&&typeof ne=="object"&&ne instanceof Symbol;if(typeof ne=="symbol")return!0;if(!ne||typeof ne!="object"||!O)return!1;try{return O.call(ne),!0}catch{}return!1}function be(ne){if(!ne||typeof ne!="object"||!D)return!1;try{return D.call(ne),!0}catch{}return!1}var we=Object.prototype.hasOwnProperty||function(ne){return ne in this};function Ae(ne,ae){return we.call(ne,ae)}function Fe(ne){return A.call(ne)}function _e(ne){if(ne.name)return ne.name;var ae=v.call(R.call(ne),/^function\s*([\w$]+)/);return ae?ae[1]:null}function Ie(ne,ae){if(ne.indexOf)return ne.indexOf(ae);for(var Pe=0,ze=ne.length;Pe<ze;Pe++)if(ne[Pe]===ae)return Pe;return-1}function de(ne){if(!t||!ne||typeof ne!="object")return!1;try{t.call(ne);try{o.call(ne)}catch{return!0}return ne instanceof Map}catch{}return!1}function X(ne){if(!u||!ne||typeof ne!="object")return!1;try{u.call(ne,u);try{h.call(ne,h)}catch{return!0}return ne instanceof WeakMap}catch{}return!1}function re(ne){if(!p||!ne||typeof ne!="object")return!1;try{return p.call(ne),!0}catch{}return!1}function me(ne){if(!o||!ne||typeof ne!="object")return!1;try{o.call(ne);try{t.call(ne)}catch{return!0}return ne instanceof Set}catch{}return!1}function he(ne){if(!h||!ne||typeof ne!="object")return!1;try{h.call(ne,h);try{u.call(ne,u)}catch{return!0}return ne instanceof WeakSet}catch{}return!1}function Se(ne){return!ne||typeof ne!="object"?!1:typeof HTMLElement<"u"&&ne instanceof HTMLElement?!0:typeof ne.nodeName=="string"&&typeof ne.getAttribute=="function"}function Me(ne,ae){if(ne.length>ae.maxStringLength){var Pe=ne.length-ae.maxStringLength,ze="... "+Pe+" more character"+(Pe>1?"s":"");return Me(f.call(ne,0,ae.maxStringLength),ae)+ze}var Le=z[ae.quoteStyle||"single"];Le.lastIndex=0;var xe=T.call(T.call(ne,Le,"\\$1"),/[\x00-\x1f]/g,oe);return $(xe,"single",ae)}function oe(ne){var ae=ne.charCodeAt(0),Pe={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return Pe?"\\"+Pe:"\\x"+(ae<16?"0":"")+b.call(ae.toString(16))}function Re(ne){return"Object("+ne+")"}function Oe(ne){return ne+" { ? }"}function et(ne,ae,Pe,ze){var Le=ze?At(Pe,ze):C.call(Pe,", ");return ne+" ("+ae+") {"+Le+"}"}function je(ne){for(var ae=0;ae<ne.length;ae++)if(Ie(ne[ae],`
|
|
2
2
|
`)>=0)return!1;return!0}function xt(ne,ae){var Pe;if(ne.indent===" ")Pe=" ";else if(typeof ne.indent=="number"&&ne.indent>0)Pe=C.call(Array(ne.indent+1)," ");else return null;return{base:Pe,prev:C.call(Array(ae+1),Pe)}}function At(ne,ae){if(ne.length===0)return"";var Pe=`
|
|
3
3
|
`+ae.prev+ae.base;return Pe+C.call(ne,","+Pe)+`
|
|
4
4
|
`+ae.prev}function Ge(ne,ae){var Pe=ce(ne),ze=[];if(Pe){ze.length=ne.length;for(var Le=0;Le<ne.length;Le++)ze[Le]=Ae(ne,Le)?ae(ne[Le],ne):""}var xe=typeof x=="function"?x(ne):[],ut;if(I){ut={};for(var ge=0;ge<xe.length;ge++)ut["$"+xe[ge]]=xe[ge]}for(var B in ne)Ae(ne,B)&&(Pe&&String(Number(B))===B&&B<ne.length||I&&ut["$"+B]instanceof Symbol||(w.call(/[^\w$]/,B)?ze.push(ae(B,ne)+": "+ae(ne[B],ne)):ze.push(B+": "+ae(ne[B],ne))));if(typeof x=="function")for(var E=0;E<xe.length;E++)U.call(ne,xe[E])&&ze.push("["+ae(xe[E])+"]: "+ae(ne[xe[E]],ne));return ze}return Qr}var Kr,Hl;function sf(){if(Hl)return Kr;Hl=1;var n=Vn(),e=Fi(),t=function(l,c,u){for(var d=l,h;(h=d.next)!=null;d=h)if(h.key===c)return d.next=h.next,u||(h.next=l.next,l.next=h),h},i=function(l,c){if(l){var u=t(l,c);return u&&u.value}},r=function(l,c,u){var d=t(l,c);d?d.value=u:l.next={key:c,next:l.next,value:u}},s=function(l,c){return l?!!t(l,c):!1},o=function(l,c){if(l)return t(l,c,!0)};return Kr=function(){var c,u={assert:function(d){if(!u.has(d))throw new e("Side channel does not contain "+n(d))},delete:function(d){var h=c&&c.next,m=o(c,d);return m&&h&&h===m&&(c=void 0),!!m},get:function(d){return i(c,d)},has:function(d){return s(c,d)},set:function(d,h){c||(c={next:void 0}),r(c,d,h)}};return u},Kr}var Jr,zl;function jl(){return zl||(zl=1,Jr=Object),Jr}var qr,Wl;function af(){return Wl||(Wl=1,qr=Error),qr}var $r,Ul;function of(){return Ul||(Ul=1,$r=EvalError),$r}var Zr,Gl;function lf(){return Gl||(Gl=1,Zr=RangeError),Zr}var Xr,Yl;function cf(){return Yl||(Yl=1,Xr=ReferenceError),Xr}var es,Ql;function uf(){return Ql||(Ql=1,es=SyntaxError),es}var ts,Kl;function df(){return Kl||(Kl=1,ts=URIError),ts}var is,Jl;function hf(){return Jl||(Jl=1,is=Math.abs),is}var ns,ql;function ff(){return ql||(ql=1,ns=Math.floor),ns}var rs,$l;function pf(){return $l||($l=1,rs=Math.max),rs}var ss,Zl;function mf(){return Zl||(Zl=1,ss=Math.min),ss}var as,Xl;function gf(){return Xl||(Xl=1,as=Math.pow),as}var os,ec;function bf(){return ec||(ec=1,os=Math.round),os}var ls,tc;function vf(){return tc||(tc=1,ls=Number.isNaN||function(e){return e!==e}),ls}var cs,ic;function yf(){if(ic)return cs;ic=1;var n=vf();return cs=function(t){return n(t)||t===0?t:t<0?-1:1},cs}var us,nc;function wf(){return nc||(nc=1,us=Object.getOwnPropertyDescriptor),us}var ds,rc;function sc(){if(rc)return ds;rc=1;var n=wf();if(n)try{n([],"length")}catch{n=null}return ds=n,ds}var hs,ac;function Cf(){if(ac)return hs;ac=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return hs=n,hs}var fs,oc;function Af(){return oc||(oc=1,fs=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),fs}var ps,lc;function Ef(){if(lc)return ps;lc=1;var n=typeof Symbol<"u"&&Symbol,e=Af();return ps=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},ps}var ms,cc;function uc(){return cc||(cc=1,ms=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),ms}var gs,dc;function hc(){if(dc)return gs;dc=1;var n=jl();return gs=n.getPrototypeOf||null,gs}var bs,fc;function kf(){if(fc)return bs;fc=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",r=function(c,u){for(var d=[],h=0;h<c.length;h+=1)d[h]=c[h];for(var m=0;m<u.length;m+=1)d[m+c.length]=u[m];return d},s=function(c,u){for(var d=[],h=u,m=0;h<c.length;h+=1,m+=1)d[m]=c[h];return d},o=function(l,c){for(var u="",d=0;d<l.length;d+=1)u+=l[d],d+1<l.length&&(u+=c);return u};return bs=function(c){var u=this;if(typeof u!="function"||e.apply(u)!==i)throw new TypeError(n+u);for(var d=s(arguments,1),h,m=function(){if(this instanceof h){var v=u.apply(this,r(d,arguments));return Object(v)===v?v:this}return u.apply(c,r(d,arguments))},p=t(0,u.length-d.length),g=[],A=0;A<p;A++)g[A]="$"+A;if(h=Function("binder","return function ("+o(g,",")+"){ return binder.apply(this,arguments); }")(m),u.prototype){var R=function(){};R.prototype=u.prototype,h.prototype=new R,R.prototype=null}return h},bs}var vs,pc;function Hn(){if(pc)return vs;pc=1;var n=kf();return vs=Function.prototype.bind||n,vs}var ys,mc;function ws(){return mc||(mc=1,ys=Function.prototype.call),ys}var Cs,gc;function bc(){return gc||(gc=1,Cs=Function.prototype.apply),Cs}var As,vc;function Sf(){return vc||(vc=1,As=typeof Reflect<"u"&&Reflect&&Reflect.apply),As}var Es,yc;function Rf(){if(yc)return Es;yc=1;var n=Hn(),e=bc(),t=ws(),i=Sf();return Es=i||n.call(t,e),Es}var ks,wc;function Cc(){if(wc)return ks;wc=1;var n=Hn(),e=Fi(),t=ws(),i=Rf();return ks=function(s){if(s.length<1||typeof s[0]!="function")throw new e("a function is required");return i(n,t,s)},ks}var Ss,Ac;function xf(){if(Ac)return Ss;Ac=1;var n=Cc(),e=sc(),t;try{t=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!!t&&e&&e(Object.prototype,"__proto__"),r=Object,s=r.getPrototypeOf;return Ss=i&&typeof i.get=="function"?n([i.get]):typeof s=="function"?function(l){return s(l==null?l:r(l))}:!1,Ss}var Rs,Ec;function Mf(){if(Ec)return Rs;Ec=1;var n=uc(),e=hc(),t=xf();return Rs=n?function(r){return n(r)}:e?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return e(r)}:t?function(r){return t(r)}:null,Rs}var xs,kc;function Tf(){if(kc)return xs;kc=1;var n=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Hn();return xs=t.call(n,e),xs}var Ms,Sc;function Ts(){if(Sc)return Ms;Sc=1;var n,e=jl(),t=af(),i=of(),r=lf(),s=cf(),o=uf(),l=Fi(),c=df(),u=hf(),d=ff(),h=pf(),m=mf(),p=gf(),g=bf(),A=yf(),R=Function,v=function(ie){try{return R('"use strict"; return ('+ie+").constructor;")()}catch{}},f=sc(),T=Cf(),b=function(){throw new l},M=f?(function(){try{return arguments.callee,b}catch{try{return f(arguments,"callee").get}catch{return b}}})():b,w=Ef()(),S=Mf(),C=hc(),k=uc(),y=bc(),D=ws(),x={},O=typeof Uint8Array>"u"||!S?n:S(Uint8Array),I={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":R,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&S?S(S([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!w||!S?n:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":f,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":r,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!w||!S?n:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&S?S(""[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":M,"%TypedArray%":O,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":y,"%Object.defineProperty%":T,"%Object.getPrototypeOf%":C,"%Math.abs%":u,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":p,"%Math.round%":g,"%Math.sign%":A,"%Reflect.getPrototypeOf%":k};if(S)try{null.error}catch(ie){var j=S(S(ie));I["%Error.prototype%"]=j}var U=function ie(Z){var Q;if(Z==="%AsyncFunction%")Q=v("async function () {}");else if(Z==="%GeneratorFunction%")Q=v("function* () {}");else if(Z==="%AsyncGeneratorFunction%")Q=v("async function* () {}");else if(Z==="%AsyncGenerator%"){var P=ie("%AsyncGeneratorFunction%");P&&(Q=P.prototype)}else if(Z==="%AsyncIteratorPrototype%"){var J=ie("%AsyncGenerator%");J&&S&&(Q=S(J.prototype))}return I[Z]=Q,Q},V={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=Hn(),q=Tf(),F=H.call(D,Array.prototype.concat),N=H.call(y,Array.prototype.splice),K=H.call(D,String.prototype.replace),z=H.call(D,String.prototype.slice),$=H.call(D,RegExp.prototype.exec),te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,le=/\\(\\)?/g,ce=function(Z){var Q=z(Z,0,1),P=z(Z,-1);if(Q==="%"&&P!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(P==="%"&&Q!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var J=[];return K(Z,te,function(ee,be,we,Ae){J[J.length]=we?K(Ae,le,"$1"):be||ee}),J},Y=function(Z,Q){var P=Z,J;if(q(V,P)&&(J=V[P],P="%"+J[0]+"%"),q(I,P)){var ee=I[P];if(ee===x&&(ee=U(P)),typeof ee>"u"&&!Q)throw new l("intrinsic "+Z+" exists, but is not available. Please file an issue!");return{alias:J,name:P,value:ee}}throw new o("intrinsic "+Z+" does not exist!")};return Ms=function(Z,Q){if(typeof Z!="string"||Z.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new l('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,Z)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var P=ce(Z),J=P.length>0?P[0]:"",ee=Y("%"+J+"%",Q),be=ee.name,we=ee.value,Ae=!1,Fe=ee.alias;Fe&&(J=Fe[0],N(P,F([0,1],Fe)));for(var _e=1,Ie=!0;_e<P.length;_e+=1){var de=P[_e],X=z(de,0,1),re=z(de,-1);if((X==='"'||X==="'"||X==="`"||re==='"'||re==="'"||re==="`")&&X!==re)throw new o("property names with quotes must have matching quotes");if((de==="constructor"||!Ie)&&(Ae=!0),J+="."+de,be="%"+J+"%",q(I,be))we=I[be];else if(we!=null){if(!(de in we)){if(!Q)throw new l("base intrinsic for "+Z+" exists, but the property is not available.");return}if(f&&_e+1>=P.length){var me=f(we,de);Ie=!!me,Ie&&"get"in me&&!("originalValue"in me.get)?we=me.get:we=we[de]}else Ie=q(we,de),we=we[de];Ie&&!Ae&&(I[be]=we)}}return we},Ms}var Ds,Rc;function xc(){if(Rc)return Ds;Rc=1;var n=Ts(),e=Cc(),t=e([n("%String.prototype.indexOf%")]);return Ds=function(r,s){var o=n(r,!!s);return typeof o=="function"&&t(r,".prototype.")>-1?e([o]):o},Ds}var Ls,Mc;function Tc(){if(Mc)return Ls;Mc=1;var n=Ts(),e=xc(),t=Vn(),i=Fi(),r=n("%Map%",!0),s=e("Map.prototype.get",!0),o=e("Map.prototype.set",!0),l=e("Map.prototype.has",!0),c=e("Map.prototype.delete",!0),u=e("Map.prototype.size",!0);return Ls=!!r&&function(){var h,m={assert:function(p){if(!m.has(p))throw new i("Side channel does not contain "+t(p))},delete:function(p){if(h){var g=c(h,p);return u(h)===0&&(h=void 0),g}return!1},get:function(p){if(h)return s(h,p)},has:function(p){return h?l(h,p):!1},set:function(p,g){h||(h=new r),o(h,p,g)}};return m},Ls}var Os,Dc;function Df(){if(Dc)return Os;Dc=1;var n=Ts(),e=xc(),t=Vn(),i=Tc(),r=Fi(),s=n("%WeakMap%",!0),o=e("WeakMap.prototype.get",!0),l=e("WeakMap.prototype.set",!0),c=e("WeakMap.prototype.has",!0),u=e("WeakMap.prototype.delete",!0);return Os=s?function(){var h,m,p={assert:function(g){if(!p.has(g))throw new r("Side channel does not contain "+t(g))},delete:function(g){if(s&&g&&(typeof g=="object"||typeof g=="function")){if(h)return u(h,g)}else if(i&&m)return m.delete(g);return!1},get:function(g){return s&&g&&(typeof g=="object"||typeof g=="function")&&h?o(h,g):m&&m.get(g)},has:function(g){return s&&g&&(typeof g=="object"||typeof g=="function")&&h?c(h,g):!!m&&m.has(g)},set:function(g,A){s&&g&&(typeof g=="object"||typeof g=="function")?(h||(h=new s),l(h,g,A)):i&&(m||(m=i()),m.set(g,A))}};return p}:i,Os}var Bs,Lc;function Lf(){if(Lc)return Bs;Lc=1;var n=Fi(),e=Vn(),t=sf(),i=Tc(),r=Df(),s=r||i||t;return Bs=function(){var l,c={assert:function(u){if(!c.has(u))throw new n("Side channel does not contain "+e(u))},delete:function(u){return!!l&&l.delete(u)},get:function(u){return l&&l.get(u)},has:function(u){return!!l&&l.has(u)},set:function(u,d){l||(l=s()),l.set(u,d)}};return c},Bs}var Fs,Oc;function _s(){if(Oc)return Fs;Oc=1;var n=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Fs={default:t.RFC3986,formatters:{RFC1738:function(i){return n.call(i,e,"+")},RFC3986:function(i){return String(i)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},Fs}var Ps,Bc;function Fc(){if(Bc)return Ps;Bc=1;var n=_s(),e=Object.prototype.hasOwnProperty,t=Array.isArray,i=(function(){for(var R=[],v=0;v<256;++v)R.push("%"+((v<16?"0":"")+v.toString(16)).toUpperCase());return R})(),r=function(v){for(;v.length>1;){var f=v.pop(),T=f.obj[f.prop];if(t(T)){for(var b=[],M=0;M<T.length;++M)typeof T[M]<"u"&&b.push(T[M]);f.obj[f.prop]=b}}},s=function(v,f){for(var T=f&&f.plainObjects?{__proto__:null}:{},b=0;b<v.length;++b)typeof v[b]<"u"&&(T[b]=v[b]);return T},o=function R(v,f,T){if(!f)return v;if(typeof f!="object"&&typeof f!="function"){if(t(v))v.push(f);else if(v&&typeof v=="object")(T&&(T.plainObjects||T.allowPrototypes)||!e.call(Object.prototype,f))&&(v[f]=!0);else return[v,f];return v}if(!v||typeof v!="object")return[v].concat(f);var b=v;return t(v)&&!t(f)&&(b=s(v,T)),t(v)&&t(f)?(f.forEach(function(M,w){if(e.call(v,w)){var S=v[w];S&&typeof S=="object"&&M&&typeof M=="object"?v[w]=R(S,M,T):v.push(M)}else v[w]=M}),v):Object.keys(f).reduce(function(M,w){var S=f[w];return e.call(M,w)?M[w]=R(M[w],S,T):M[w]=S,M},b)},l=function(v,f){return Object.keys(f).reduce(function(T,b){return T[b]=f[b],T},v)},c=function(R,v,f){var T=R.replace(/\+/g," ");if(f==="iso-8859-1")return T.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(T)}catch{return T}},u=1024,d=function(v,f,T,b,M){if(v.length===0)return v;var w=v;if(typeof v=="symbol"?w=Symbol.prototype.toString.call(v):typeof v!="string"&&(w=String(v)),T==="iso-8859-1")return escape(w).replace(/%u[0-9a-f]{4}/gi,function(O){return"%26%23"+parseInt(O.slice(2),16)+"%3B"});for(var S="",C=0;C<w.length;C+=u){for(var k=w.length>=u?w.slice(C,C+u):w,y=[],D=0;D<k.length;++D){var x=k.charCodeAt(D);if(x===45||x===46||x===95||x===126||x>=48&&x<=57||x>=65&&x<=90||x>=97&&x<=122||M===n.RFC1738&&(x===40||x===41)){y[y.length]=k.charAt(D);continue}if(x<128){y[y.length]=i[x];continue}if(x<2048){y[y.length]=i[192|x>>6]+i[128|x&63];continue}if(x<55296||x>=57344){y[y.length]=i[224|x>>12]+i[128|x>>6&63]+i[128|x&63];continue}D+=1,x=65536+((x&1023)<<10|k.charCodeAt(D)&1023),y[y.length]=i[240|x>>18]+i[128|x>>12&63]+i[128|x>>6&63]+i[128|x&63]}S+=y.join("")}return S},h=function(v){for(var f=[{obj:{o:v},prop:"o"}],T=[],b=0;b<f.length;++b)for(var M=f[b],w=M.obj[M.prop],S=Object.keys(w),C=0;C<S.length;++C){var k=S[C],y=w[k];typeof y=="object"&&y!==null&&T.indexOf(y)===-1&&(f.push({obj:w,prop:k}),T.push(y))}return r(f),v},m=function(v){return Object.prototype.toString.call(v)==="[object RegExp]"},p=function(v){return!v||typeof v!="object"?!1:!!(v.constructor&&v.constructor.isBuffer&&v.constructor.isBuffer(v))},g=function(v,f){return[].concat(v,f)},A=function(v,f){if(t(v)){for(var T=[],b=0;b<v.length;b+=1)T.push(f(v[b]));return T}return f(v)};return Ps={arrayToObject:s,assign:l,combine:g,compact:h,decode:c,encode:d,isBuffer:p,isRegExp:m,maybeMap:A,merge:o},Ps}var Ns,_c;function Of(){if(_c)return Ns;_c=1;var n=Lf(),e=Fc(),t=_s(),i=Object.prototype.hasOwnProperty,r={brackets:function(R){return R+"[]"},comma:"comma",indices:function(R,v){return R+"["+v+"]"},repeat:function(R){return R}},s=Array.isArray,o=Array.prototype.push,l=function(A,R){o.apply(A,s(R)?R:[R])},c=Date.prototype.toISOString,u=t.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:u,formatter:t.formatters[u],indices:!1,serializeDate:function(R){return c.call(R)},skipNulls:!1,strictNullHandling:!1},h=function(R){return typeof R=="string"||typeof R=="number"||typeof R=="boolean"||typeof R=="symbol"||typeof R=="bigint"},m={},p=function A(R,v,f,T,b,M,w,S,C,k,y,D,x,O,I,j,U,V){for(var H=R,q=V,F=0,N=!1;(q=q.get(m))!==void 0&&!N;){var K=q.get(R);if(F+=1,typeof K<"u"){if(K===F)throw new RangeError("Cyclic object value");N=!0}typeof q.get(m)>"u"&&(F=0)}if(typeof k=="function"?H=k(v,H):H instanceof Date?H=x(H):f==="comma"&&s(H)&&(H=e.maybeMap(H,function(be){return be instanceof Date?x(be):be})),H===null){if(M)return C&&!j?C(v,d.encoder,U,"key",O):v;H=""}if(h(H)||e.isBuffer(H)){if(C){var z=j?v:C(v,d.encoder,U,"key",O);return[I(z)+"="+I(C(H,d.encoder,U,"value",O))]}return[I(v)+"="+I(String(H))]}var $=[];if(typeof H>"u")return $;var te;if(f==="comma"&&s(H))j&&C&&(H=e.maybeMap(H,C)),te=[{value:H.length>0?H.join(",")||null:void 0}];else if(s(k))te=k;else{var le=Object.keys(H);te=y?le.sort(y):le}var ce=S?String(v).replace(/\./g,"%2E"):String(v),Y=T&&s(H)&&H.length===1?ce+"[]":ce;if(b&&s(H)&&H.length===0)return Y+"[]";for(var ie=0;ie<te.length;++ie){var Z=te[ie],Q=typeof Z=="object"&&Z&&typeof Z.value<"u"?Z.value:H[Z];if(!(w&&Q===null)){var P=D&&S?String(Z).replace(/\./g,"%2E"):String(Z),J=s(H)?typeof f=="function"?f(Y,P):Y:Y+(D?"."+P:"["+P+"]");V.set(R,F);var ee=n();ee.set(m,V),l($,A(Q,J,f,T,b,M,w,S,f==="comma"&&j&&s(H)?null:C,k,y,D,x,O,I,j,U,ee))}}return $},g=function(R){if(!R)return d;if(typeof R.allowEmptyArrays<"u"&&typeof R.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof R.encodeDotInKeys<"u"&&typeof R.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(R.encoder!==null&&typeof R.encoder<"u"&&typeof R.encoder!="function")throw new TypeError("Encoder has to be a function.");var v=R.charset||d.charset;if(typeof R.charset<"u"&&R.charset!=="utf-8"&&R.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var f=t.default;if(typeof R.format<"u"){if(!i.call(t.formatters,R.format))throw new TypeError("Unknown format option provided.");f=R.format}var T=t.formatters[f],b=d.filter;(typeof R.filter=="function"||s(R.filter))&&(b=R.filter);var M;if(R.arrayFormat in r?M=R.arrayFormat:"indices"in R?M=R.indices?"indices":"repeat":M=d.arrayFormat,"commaRoundTrip"in R&&typeof R.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var w=typeof R.allowDots>"u"?R.encodeDotInKeys===!0?!0:d.allowDots:!!R.allowDots;return{addQueryPrefix:typeof R.addQueryPrefix=="boolean"?R.addQueryPrefix:d.addQueryPrefix,allowDots:w,allowEmptyArrays:typeof R.allowEmptyArrays=="boolean"?!!R.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:M,charset:v,charsetSentinel:typeof R.charsetSentinel=="boolean"?R.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!R.commaRoundTrip,delimiter:typeof R.delimiter>"u"?d.delimiter:R.delimiter,encode:typeof R.encode=="boolean"?R.encode:d.encode,encodeDotInKeys:typeof R.encodeDotInKeys=="boolean"?R.encodeDotInKeys:d.encodeDotInKeys,encoder:typeof R.encoder=="function"?R.encoder:d.encoder,encodeValuesOnly:typeof R.encodeValuesOnly=="boolean"?R.encodeValuesOnly:d.encodeValuesOnly,filter:b,format:f,formatter:T,serializeDate:typeof R.serializeDate=="function"?R.serializeDate:d.serializeDate,skipNulls:typeof R.skipNulls=="boolean"?R.skipNulls:d.skipNulls,sort:typeof R.sort=="function"?R.sort:null,strictNullHandling:typeof R.strictNullHandling=="boolean"?R.strictNullHandling:d.strictNullHandling}};return Ns=function(A,R){var v=A,f=g(R),T,b;typeof f.filter=="function"?(b=f.filter,v=b("",v)):s(f.filter)&&(b=f.filter,T=b);var M=[];if(typeof v!="object"||v===null)return"";var w=r[f.arrayFormat],S=w==="comma"&&f.commaRoundTrip;T||(T=Object.keys(v)),f.sort&&T.sort(f.sort);for(var C=n(),k=0;k<T.length;++k){var y=T[k],D=v[y];f.skipNulls&&D===null||l(M,p(D,y,w,S,f.allowEmptyArrays,f.strictNullHandling,f.skipNulls,f.encodeDotInKeys,f.encode?f.encoder:null,f.filter,f.sort,f.allowDots,f.serializeDate,f.format,f.formatter,f.encodeValuesOnly,f.charset,C))}var x=M.join(f.delimiter),O=f.addQueryPrefix===!0?"?":"";return f.charsetSentinel&&(f.charset==="iso-8859-1"?O+="utf8=%26%2310003%3B&":O+="utf8=%E2%9C%93&"),x.length>0?O+x:""},Ns}var Is,Pc;function Bf(){if(Pc)return Is;Pc=1;var n=Fc(),e=Object.prototype.hasOwnProperty,t=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},r=function(m){return m.replace(/&#(\d+);/g,function(p,g){return String.fromCharCode(parseInt(g,10))})},s=function(m,p,g){if(m&&typeof m=="string"&&p.comma&&m.indexOf(",")>-1)return m.split(",");if(p.throwOnLimitExceeded&&g>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");return m},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",c=function(p,g){var A={__proto__:null},R=g.ignoreQueryPrefix?p.replace(/^\?/,""):p;R=R.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var v=g.parameterLimit===1/0?void 0:g.parameterLimit,f=R.split(g.delimiter,g.throwOnLimitExceeded?v+1:v);if(g.throwOnLimitExceeded&&f.length>v)throw new RangeError("Parameter limit exceeded. Only "+v+" parameter"+(v===1?"":"s")+" allowed.");var T=-1,b,M=g.charset;if(g.charsetSentinel)for(b=0;b<f.length;++b)f[b].indexOf("utf8=")===0&&(f[b]===l?M="utf-8":f[b]===o&&(M="iso-8859-1"),T=b,b=f.length);for(b=0;b<f.length;++b)if(b!==T){var w=f[b],S=w.indexOf("]="),C=S===-1?w.indexOf("="):S+1,k,y;C===-1?(k=g.decoder(w,i.decoder,M,"key"),y=g.strictNullHandling?null:""):(k=g.decoder(w.slice(0,C),i.decoder,M,"key"),y=n.maybeMap(s(w.slice(C+1),g,t(A[k])?A[k].length:0),function(x){return g.decoder(x,i.decoder,M,"value")})),y&&g.interpretNumericEntities&&M==="iso-8859-1"&&(y=r(String(y))),w.indexOf("[]=")>-1&&(y=t(y)?[y]:y);var D=e.call(A,k);D&&g.duplicates==="combine"?A[k]=n.combine(A[k],y):(!D||g.duplicates==="last")&&(A[k]=y)}return A},u=function(m,p,g,A){var R=0;if(m.length>0&&m[m.length-1]==="[]"){var v=m.slice(0,-1).join("");R=Array.isArray(p)&&p[v]?p[v].length:0}for(var f=A?p:s(p,g,R),T=m.length-1;T>=0;--T){var b,M=m[T];if(M==="[]"&&g.parseArrays)b=g.allowEmptyArrays&&(f===""||g.strictNullHandling&&f===null)?[]:n.combine([],f);else{b=g.plainObjects?{__proto__:null}:{};var w=M.charAt(0)==="["&&M.charAt(M.length-1)==="]"?M.slice(1,-1):M,S=g.decodeDotInKeys?w.replace(/%2E/g,"."):w,C=parseInt(S,10);!g.parseArrays&&S===""?b={0:f}:!isNaN(C)&&M!==S&&String(C)===S&&C>=0&&g.parseArrays&&C<=g.arrayLimit?(b=[],b[C]=f):S!=="__proto__"&&(b[S]=f)}f=b}return f},d=function(p,g,A,R){if(p){var v=A.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,f=/(\[[^[\]]*])/,T=/(\[[^[\]]*])/g,b=A.depth>0&&f.exec(v),M=b?v.slice(0,b.index):v,w=[];if(M){if(!A.plainObjects&&e.call(Object.prototype,M)&&!A.allowPrototypes)return;w.push(M)}for(var S=0;A.depth>0&&(b=T.exec(v))!==null&&S<A.depth;){if(S+=1,!A.plainObjects&&e.call(Object.prototype,b[1].slice(1,-1))&&!A.allowPrototypes)return;w.push(b[1])}if(b){if(A.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+A.depth+" and strictDepth is true");w.push("["+v.slice(b.index)+"]")}return u(w,g,A,R)}},h=function(p){if(!p)return i;if(typeof p.allowEmptyArrays<"u"&&typeof p.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof p.decodeDotInKeys<"u"&&typeof p.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(p.decoder!==null&&typeof p.decoder<"u"&&typeof p.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof p.charset<"u"&&p.charset!=="utf-8"&&p.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof p.throwOnLimitExceeded<"u"&&typeof p.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var g=typeof p.charset>"u"?i.charset:p.charset,A=typeof p.duplicates>"u"?i.duplicates:p.duplicates;if(A!=="combine"&&A!=="first"&&A!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var R=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:i.allowDots:!!p.allowDots;return{allowDots:R,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:i.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:i.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:i.arrayLimit,charset:g,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:i.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:i.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:i.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:i.decoder,delimiter:typeof p.delimiter=="string"||n.isRegExp(p.delimiter)?p.delimiter:i.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:i.depth,duplicates:A,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:i.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:i.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:i.strictDepth,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:i.strictNullHandling,throwOnLimitExceeded:typeof p.throwOnLimitExceeded=="boolean"?p.throwOnLimitExceeded:!1}};return Is=function(m,p){var g=h(p);if(m===""||m===null||typeof m>"u")return g.plainObjects?{__proto__:null}:{};for(var A=typeof m=="string"?c(m,g):m,R=g.plainObjects?{__proto__:null}:{},v=Object.keys(A),f=0;f<v.length;++f){var T=v[f],b=d(T,A[T],g,typeof m=="string");R=n.merge(R,b,g)}return g.allowSparse===!0?R:n.compact(R)},Is}var Vs,Nc;function Ff(){if(Nc)return Vs;Nc=1;var n=Of(),e=Bf(),t=_s();return Vs={formats:t,parse:e,stringify:n},Vs}var _f=Ff();const Ic=Nl(_f),Pf=["action"],Nf=["value"],If=["name","value"],Vf=["value"],Hf=["disabled"],zf=Ne(a.defineComponent({__name:"ExportComponent",props:{type:{},action:{},filters:{},buttonText:{},csrfToken:{}},setup(n){const e=n,t=a.ref(),i=a.ref([]),r=a.computed(()=>e.csrfToken),s=async()=>{t.value&&t.value.submit()},o=()=>{if(!e.filters)return!1;if(typeof e.filters=="string")return l(),!0;u()},l=()=>{i.value=[];const d=/^.*\?/gm,h=e.filters.replace(d,""),m=Ic.parse(h);i.value=c(m)},c=d=>Ic.stringify(d,{encode:!1}).split("&").map(h=>{const m=h.split("=");return{key:m[0],value:m[1]}}).filter(({key:h,value:m})=>h.length&&m.length),u=()=>{if(i.value=[],!e.filters)return!1;i.value=c(e.filters)};return a.watch(()=>e.filters,()=>{o()},{deep:!1}),a.onMounted(()=>{o()}),(d,h)=>(a.openBlock(),a.createElementBlock("form",{target:"_blank",action:d.action,method:"POST",ref_key:"reportForm",ref:t},[d.type?(a.openBlock(),a.createElementBlock("input",{key:0,type:"hidden",name:"type",value:d.type},null,8,Nf)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value,m=>(a.openBlock(),a.createElementBlock("input",{key:m.key,type:"hidden",name:m.key,value:m.value},null,8,If))),128)),a.createElementVNode("input",{type:"hidden",name:"_token",value:r.value},null,8,Vf),a.createElementVNode("button",{type:"button",class:a.normalizeClass(["col-auto export-button",{disabled:!d.action}]),onClick:s,disabled:!d.action},[a.createTextVNode(a.toDisplayString(d.buttonText)+" ",1),h[0]||(h[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],10,Hf)],8,Pf))}}),[["__scopeId","data-v-db74d2e3"]]);var zn={exports:{}};/*!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DefaultButton.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DefaultButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DefaultButton.vue"],"names":[],"mappings":";WAsRkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;AAzHxC,8DAAqC;AArDrC;;;;;;;;;;EAmDG"}
|