@luizleon/sf.prefeiturasp.vuecomponents 6.0.49 → 6.0.50
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as re, onBeforeUnmount as hr, openBlock as _, createElementBlock as
|
|
1
|
+
import { defineComponent as re, onBeforeUnmount as hr, openBlock as _, createElementBlock as x, unref as $, renderSlot as W, createElementVNode as b, computed as Z, createBlock as ee, resolveDynamicComponent as ht, normalizeClass as N, withCtx as le, normalizeStyle as Tt, Fragment as ke, mergeProps as O, toDisplayString as G, createCommentVNode as F, ref as R, onMounted as $t, resolveComponent as Pn, renderList as It, useSlots as Fa, watch as qt, Teleport as za, createVNode as q, Transition as ao, normalizeProps as Ct, guardReactiveProps as _t, readonly as ws, getCurrentInstance as Vo, nextTick as io, useId as ys, resolveDirective as ks, withDirectives as Wr, vShow as Ua, withModifiers as Wo, inject as Cs, onBeforeMount as Va, onUnmounted as _s, createTextVNode as Je, watchEffect as Ss, useModel as xs, mergeModels as As, useAttrs as Ts } from "vue";
|
|
2
2
|
import { useElementSize as Is, useResizeObserver as Es } from "@vueuse/core";
|
|
3
3
|
import { UseAuth as Wt } from "@luizleon/sf.prefeiturasp.vueauth";
|
|
4
4
|
import { useRouter as Ps } from "vue-router";
|
|
@@ -107,7 +107,7 @@ const $s = /* @__PURE__ */ re({
|
|
|
107
107
|
const r = new n();
|
|
108
108
|
return hr(() => {
|
|
109
109
|
r.Hide();
|
|
110
|
-
}), (o, a) => (_(),
|
|
110
|
+
}), (o, a) => (_(), x("div", {
|
|
111
111
|
class: "sf-tooltip-anchor",
|
|
112
112
|
onMouseenter: a[0] || (a[0] = //@ts-ignore
|
|
113
113
|
(...l) => $(r).Show && $(r).Show(...l)),
|
|
@@ -126,7 +126,7 @@ const $s = /* @__PURE__ */ re({
|
|
|
126
126
|
return n;
|
|
127
127
|
}, Ls = {}, Os = { class: "sf-loading-circle" };
|
|
128
128
|
function Bs(t, e) {
|
|
129
|
-
return _(),
|
|
129
|
+
return _(), x("div", Os, [...e[0] || (e[0] = [
|
|
130
130
|
b("div", null, [
|
|
131
131
|
b("svg", { viewBox: "25 25 50 50" }, [
|
|
132
132
|
b("circle", {
|
|
@@ -183,12 +183,12 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
183
183
|
]),
|
|
184
184
|
"data-size": n.size
|
|
185
185
|
}, [
|
|
186
|
-
n.visible ? (_(),
|
|
186
|
+
n.visible ? (_(), x("div", {
|
|
187
187
|
key: 0,
|
|
188
188
|
style: Tt(n.style),
|
|
189
189
|
class: N(a.value)
|
|
190
190
|
}, [
|
|
191
|
-
n.loading ? (_(), ee(Wa, { key: 0 })) : (_(),
|
|
191
|
+
n.loading ? (_(), ee(Wa, { key: 0 })) : (_(), x(ke, { key: 1 }, [
|
|
192
192
|
b("button", O({
|
|
193
193
|
class: [
|
|
194
194
|
"material-symbols-outlined",
|
|
@@ -199,7 +199,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
199
199
|
}, n.buttonProps, {
|
|
200
200
|
tabindex: n.button ? void 0 : -1
|
|
201
201
|
}), G(n.icon), 17, Ds),
|
|
202
|
-
n.dot && !n.disabled && !n.loading ? (_(),
|
|
202
|
+
n.dot && !n.disabled && !n.loading ? (_(), x("span", {
|
|
203
203
|
key: 0,
|
|
204
204
|
"data-color": n.dotColor
|
|
205
205
|
}, null, 8, Rs)) : F("", !0)
|
|
@@ -239,7 +239,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
239
239
|
}
|
|
240
240
|
}), (i, c) => {
|
|
241
241
|
const u = Pn("RouterLink");
|
|
242
|
-
return _(),
|
|
242
|
+
return _(), x("div", js, [
|
|
243
243
|
b("div", {
|
|
244
244
|
class: N(["left-arrow", { active: o.value }]),
|
|
245
245
|
onClick: c[0] || (c[0] = (m) => l(!0))
|
|
@@ -263,7 +263,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
263
263
|
ref_key: "trackerContainer",
|
|
264
264
|
ref: n
|
|
265
265
|
}, [
|
|
266
|
-
(_(!0),
|
|
266
|
+
(_(!0), x(ke, null, It(e.tabs, (m) => (_(), ee(u, {
|
|
267
267
|
to: m.route,
|
|
268
268
|
custom: !0
|
|
269
269
|
}, {
|
|
@@ -319,7 +319,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
319
319
|
await new Promise(
|
|
320
320
|
(r) => setTimeout(r, e.delay ?? 300)
|
|
321
321
|
), n.value = !0;
|
|
322
|
-
}), (r, o) => n.value ? (_(),
|
|
322
|
+
}), (r, o) => n.value ? (_(), x("div", {
|
|
323
323
|
key: 0,
|
|
324
324
|
class: N(["loading-circle", { dense: e.dense }])
|
|
325
325
|
}, [...o[0] || (o[0] = [
|
|
@@ -366,7 +366,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
366
366
|
const o = (l) => {
|
|
367
367
|
n.disabled || n.loading || a("click", l);
|
|
368
368
|
}, a = e;
|
|
369
|
-
return (l, s) => n.visible ? (_(),
|
|
369
|
+
return (l, s) => n.visible ? (_(), x("button", {
|
|
370
370
|
key: 0,
|
|
371
371
|
id: n.id,
|
|
372
372
|
name: n.name,
|
|
@@ -413,7 +413,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
413
413
|
},
|
|
414
414
|
setup(t) {
|
|
415
415
|
const e = t;
|
|
416
|
-
return (n, r) => (_(),
|
|
416
|
+
return (n, r) => (_(), x("button", {
|
|
417
417
|
type: "button",
|
|
418
418
|
class: N(["link-action", `${e.color}-color`]),
|
|
419
419
|
disabled: e.disabled,
|
|
@@ -481,7 +481,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
481
481
|
r("update:visible", v), v && (l.value = !0);
|
|
482
482
|
}
|
|
483
483
|
), (v, S) => (_(), ee(za, { to: "body" }, [
|
|
484
|
-
l.value ? (_(),
|
|
484
|
+
l.value ? (_(), x("div", {
|
|
485
485
|
key: 0,
|
|
486
486
|
id: i,
|
|
487
487
|
class: N(y()),
|
|
@@ -497,7 +497,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
497
497
|
onAfterLeave: g
|
|
498
498
|
}, {
|
|
499
499
|
default: le(() => [
|
|
500
|
-
a.value ? (_(),
|
|
500
|
+
a.value ? (_(), x("div", {
|
|
501
501
|
key: 0,
|
|
502
502
|
class: N(["sf-drawer"]),
|
|
503
503
|
style: Tt(n.style),
|
|
@@ -527,7 +527,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
527
527
|
}, [
|
|
528
528
|
W(v.$slots, "default")
|
|
529
529
|
], 2),
|
|
530
|
-
$(o).footer ? (_(),
|
|
530
|
+
$(o).footer ? (_(), x("div", {
|
|
531
531
|
key: 0,
|
|
532
532
|
class: N(["sf-drawer-footer", { unstyled: n.unstyledFooter }])
|
|
533
533
|
}, [
|
|
@@ -566,7 +566,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
566
566
|
return null;
|
|
567
567
|
}
|
|
568
568
|
}), r = Z(() => new yn("sf-message").AddClass("sf-message-error", e.color === "error").AddClass("sf-message-info", e.color === "info").AddClass("sf-message-warning", e.color === "warn").AddClass("sf-message-success", e.color === "success").AddClass("sf-message-help", e.color === "help").AddClass("sf-message-primary", e.color === "primary").AddClass("sf-message-secondary", e.color === "secondary").AddClass(e.class).Build());
|
|
569
|
-
return (o, a) => (_(),
|
|
569
|
+
return (o, a) => (_(), x("div", {
|
|
570
570
|
class: N(r.value),
|
|
571
571
|
"data-icon": n.value
|
|
572
572
|
}, [
|
|
@@ -887,7 +887,7 @@ function ti(t, e) {
|
|
|
887
887
|
}
|
|
888
888
|
return t;
|
|
889
889
|
}
|
|
890
|
-
var
|
|
890
|
+
var xt = (...t) => kl(X.getTheme(), ...t), kl = (t = {}, e, n, r) => {
|
|
891
891
|
if (e) {
|
|
892
892
|
let { variable: o, options: a } = X.defaults || {}, { prefix: l, transform: s } = t?.options || a || {}, i = St(e, Cn) ? e : `{${e}}`;
|
|
893
893
|
return r === "value" || bt(r) && s === "strict" ? X.getTokenValue(e) : ei(i, void 0, l, [o.excludedKeyRegex], n);
|
|
@@ -898,11 +898,11 @@ function qn(t, ...e) {
|
|
|
898
898
|
if (t instanceof Array) {
|
|
899
899
|
let n = t.reduce((r, o, a) => {
|
|
900
900
|
var l;
|
|
901
|
-
return r + o + ((l = ge(e[a], { dt:
|
|
901
|
+
return r + o + ((l = ge(e[a], { dt: xt })) != null ? l : "");
|
|
902
902
|
}, "");
|
|
903
|
-
return ti(n,
|
|
903
|
+
return ti(n, xt);
|
|
904
904
|
}
|
|
905
|
-
return ge(t, { dt:
|
|
905
|
+
return ge(t, { dt: xt });
|
|
906
906
|
}
|
|
907
907
|
function Cl(t, e = {}) {
|
|
908
908
|
let n = X.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: a = n.excludedKeyRegex } = e, l = [], s = [], i = [{ node: t, path: r }];
|
|
@@ -949,7 +949,7 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
949
949
|
let Fn = this.transformCSS(t, `${Nn}${jn}`, "light", "variable", p, r, o), zn = this.transformCSS(t, `${mt}`, "dark", "variable", p, r, o);
|
|
950
950
|
y = `${Fn}${zn}`, v = [.../* @__PURE__ */ new Set([...nn, ...Hn, ...Mt])];
|
|
951
951
|
let _r = this.transformCSS(t, `${rt}${on}color-scheme:light`, "light", "variable", p, r, o), an = this.transformCSS(t, `${Dt}color-scheme:dark`, "dark", "variable", p, r, o);
|
|
952
|
-
S = `${_r}${an}`, L = [.../* @__PURE__ */ new Set([...rn, ...ft, ...Rt])], C = ge(f.css, { dt:
|
|
952
|
+
S = `${_r}${an}`, L = [.../* @__PURE__ */ new Set([...rn, ...ft, ...Rt])], C = ge(f.css, { dt: xt });
|
|
953
953
|
}
|
|
954
954
|
return { primitive: { css: w, tokens: g }, semantic: { css: y, tokens: v }, global: { css: S, tokens: L }, style: C };
|
|
955
955
|
}, getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: a, selector: l }) {
|
|
@@ -957,7 +957,7 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
957
957
|
let u, m, f;
|
|
958
958
|
if (M(e) && n.transform !== "strict") {
|
|
959
959
|
let p = t.replace("-directive", ""), w = e, { colorScheme: g, extend: y, css: v } = w, S = st(w, ["colorScheme", "extend", "css"]), L = y || {}, { colorScheme: C } = L, T = st(L, ["colorScheme"]), te = g || {}, { dark: ue } = te, Oe = st(te, ["dark"]), fe = C || {}, { dark: Be } = fe, P = st(fe, ["dark"]), K = M(S) ? this._toVariables({ [p]: ze(ze({}, S), T) }, n) : {}, pe = M(Oe) ? this._toVariables({ [p]: ze(ze({}, Oe), P) }, n) : {}, be = M(ue) ? this._toVariables({ [p]: ze(ze({}, ue), Be) }, n) : {}, [je, ct] = [(s = K.declarations) != null ? s : "", K.tokens || []], [et, tt] = [(i = pe.declarations) != null ? i : "", pe.tokens || []], [ut, Me] = [(c = be.declarations) != null ? c : "", be.tokens || []], V = this.transformCSS(p, `${je}${et}`, "light", "variable", n, o, a, l), Ve = this.transformCSS(p, ut, "dark", "variable", n, o, a, l);
|
|
960
|
-
u = `${V}${Ve}`, m = [.../* @__PURE__ */ new Set([...ct, ...tt, ...Me])], f = ge(v, { dt:
|
|
960
|
+
u = `${V}${Ve}`, m = [.../* @__PURE__ */ new Set([...ct, ...tt, ...Me])], f = ge(v, { dt: xt });
|
|
961
961
|
}
|
|
962
962
|
return { css: u, tokens: m, style: f };
|
|
963
963
|
}, getPresetC({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
|
|
@@ -1268,13 +1268,13 @@ function ea(t) {
|
|
|
1268
1268
|
return t;
|
|
1269
1269
|
}
|
|
1270
1270
|
function Sl(t, e, n) {
|
|
1271
|
-
return (e =
|
|
1271
|
+
return (e = xl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1274
|
-
var e =
|
|
1273
|
+
function xl(t) {
|
|
1274
|
+
var e = Al(t, "string");
|
|
1275
1275
|
return _n(e) == "symbol" ? e : e + "";
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function Al(t, e) {
|
|
1278
1278
|
if (_n(t) != "object" || !t) return t;
|
|
1279
1279
|
var n = t[Symbol.toPrimitive];
|
|
1280
1280
|
if (n !== void 0) {
|
|
@@ -1479,7 +1479,7 @@ var Rl = function(e) {
|
|
|
1479
1479
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1480
1480
|
if (this.css) {
|
|
1481
1481
|
var r = ge(this.css, {
|
|
1482
|
-
dt:
|
|
1482
|
+
dt: xt
|
|
1483
1483
|
}) || "", o = wn(qn(ra || (ra = Yn(["", "", ""])), r, e)), a = Object.entries(n).reduce(function(l, s) {
|
|
1484
1484
|
var i = aa(s, 2), c = i[0], u = i[1];
|
|
1485
1485
|
return l.push("".concat(c, '="').concat(u, '"')) && l;
|
|
@@ -1496,7 +1496,7 @@ var Rl = function(e) {
|
|
|
1496
1496
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [X.getStyleSheet(this.name, e, n)];
|
|
1497
1497
|
if (this.style) {
|
|
1498
1498
|
var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a = qn(oa || (oa = Yn(["", ""])), ge(this.style, {
|
|
1499
|
-
dt:
|
|
1499
|
+
dt: xt
|
|
1500
1500
|
})), l = wn(X.transformCSS(o, a)), s = Object.entries(n).reduce(function(i, c) {
|
|
1501
1501
|
var u = aa(c, 2), m = u[0], f = u[1];
|
|
1502
1502
|
return i.push("".concat(m, '="').concat(f, '"')) && i;
|
|
@@ -1519,13 +1519,13 @@ function Hl() {
|
|
|
1519
1519
|
var la = me.extend({
|
|
1520
1520
|
name: "common"
|
|
1521
1521
|
});
|
|
1522
|
-
function
|
|
1522
|
+
function xn(t) {
|
|
1523
1523
|
"@babel/helpers - typeof";
|
|
1524
|
-
return
|
|
1524
|
+
return xn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1525
1525
|
return typeof e;
|
|
1526
1526
|
} : function(e) {
|
|
1527
1527
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1528
|
-
},
|
|
1528
|
+
}, xn(t);
|
|
1529
1529
|
}
|
|
1530
1530
|
function Fl(t) {
|
|
1531
1531
|
return oi(t) || zl(t) || ri(t) || ni();
|
|
@@ -1602,14 +1602,14 @@ function bn(t, e, n) {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
function Vl(t) {
|
|
1604
1604
|
var e = Wl(t, "string");
|
|
1605
|
-
return
|
|
1605
|
+
return xn(e) == "symbol" ? e : e + "";
|
|
1606
1606
|
}
|
|
1607
1607
|
function Wl(t, e) {
|
|
1608
|
-
if (
|
|
1608
|
+
if (xn(t) != "object" || !t) return t;
|
|
1609
1609
|
var n = t[Symbol.toPrimitive];
|
|
1610
1610
|
if (n !== void 0) {
|
|
1611
1611
|
var r = n.call(t, e);
|
|
1612
|
-
if (
|
|
1612
|
+
if (xn(r) != "object") return r;
|
|
1613
1613
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1614
1614
|
}
|
|
1615
1615
|
return (e === "string" ? String : Number)(t);
|
|
@@ -1990,13 +1990,13 @@ var vr = {
|
|
|
1990
1990
|
name: "baseicon",
|
|
1991
1991
|
css: Kl
|
|
1992
1992
|
});
|
|
1993
|
-
function
|
|
1993
|
+
function An(t) {
|
|
1994
1994
|
"@babel/helpers - typeof";
|
|
1995
|
-
return
|
|
1995
|
+
return An = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1996
1996
|
return typeof e;
|
|
1997
1997
|
} : function(e) {
|
|
1998
1998
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1999
|
-
},
|
|
1999
|
+
}, An(t);
|
|
2000
2000
|
}
|
|
2001
2001
|
function ua(t, e) {
|
|
2002
2002
|
var n = Object.keys(t);
|
|
@@ -2024,14 +2024,14 @@ function ql(t, e, n) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
function Yl(t) {
|
|
2026
2026
|
var e = Xl(t, "string");
|
|
2027
|
-
return
|
|
2027
|
+
return An(e) == "symbol" ? e : e + "";
|
|
2028
2028
|
}
|
|
2029
2029
|
function Xl(t, e) {
|
|
2030
|
-
if (
|
|
2030
|
+
if (An(t) != "object" || !t) return t;
|
|
2031
2031
|
var n = t[Symbol.toPrimitive];
|
|
2032
2032
|
if (n !== void 0) {
|
|
2033
2033
|
var r = n.call(t, e);
|
|
2034
|
-
if (
|
|
2034
|
+
if (An(r) != "object") return r;
|
|
2035
2035
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2036
2036
|
}
|
|
2037
2037
|
return (e === "string" ? String : Number)(t);
|
|
@@ -2100,7 +2100,7 @@ function Yr(t, e) {
|
|
|
2100
2100
|
return r;
|
|
2101
2101
|
}
|
|
2102
2102
|
function nc(t, e, n, r, o, a) {
|
|
2103
|
-
return _(),
|
|
2103
|
+
return _(), x("svg", O({
|
|
2104
2104
|
width: "14",
|
|
2105
2105
|
height: "14",
|
|
2106
2106
|
viewBox: "0 0 14 14",
|
|
@@ -2142,7 +2142,7 @@ function Xr(t, e) {
|
|
|
2142
2142
|
return r;
|
|
2143
2143
|
}
|
|
2144
2144
|
function lc(t, e, n, r, o, a) {
|
|
2145
|
-
return _(),
|
|
2145
|
+
return _(), x("svg", O({
|
|
2146
2146
|
width: "14",
|
|
2147
2147
|
height: "14",
|
|
2148
2148
|
viewBox: "0 0 14 14",
|
|
@@ -2734,7 +2734,7 @@ function In(t) {
|
|
|
2734
2734
|
}, In(t);
|
|
2735
2735
|
}
|
|
2736
2736
|
function Cc(t) {
|
|
2737
|
-
return
|
|
2737
|
+
return Ac(t) || xc(t) || Sc(t) || _c();
|
|
2738
2738
|
}
|
|
2739
2739
|
function _c() {
|
|
2740
2740
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -2747,10 +2747,10 @@ function Sc(t, e) {
|
|
|
2747
2747
|
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Jr(t, e) : void 0;
|
|
2748
2748
|
}
|
|
2749
2749
|
}
|
|
2750
|
-
function
|
|
2750
|
+
function xc(t) {
|
|
2751
2751
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
2752
2752
|
}
|
|
2753
|
-
function
|
|
2753
|
+
function Ac(t) {
|
|
2754
2754
|
if (Array.isArray(t)) return Jr(t);
|
|
2755
2755
|
}
|
|
2756
2756
|
function Jr(t, e) {
|
|
@@ -2991,13 +2991,13 @@ var Ec = kc.extend("ripple", {
|
|
|
2991
2991
|
}, $c = ["tabindex"], Lc = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Oc = ["onClick", "onMousemove"], Bc = ["href", "target"];
|
|
2992
2992
|
function Mc(t, e, n, r, o, a) {
|
|
2993
2993
|
var l = Pn("PanelMenuSub", !0), s = ks("ripple");
|
|
2994
|
-
return _(),
|
|
2994
|
+
return _(), x("ul", {
|
|
2995
2995
|
class: N(t.cx("submenu")),
|
|
2996
2996
|
tabindex: n.tabindex
|
|
2997
|
-
}, [(_(!0),
|
|
2998
|
-
return _(),
|
|
2997
|
+
}, [(_(!0), x(ke, null, It(n.items, function(i, c) {
|
|
2998
|
+
return _(), x(ke, {
|
|
2999
2999
|
key: a.getItemKey(i)
|
|
3000
|
-
}, [a.isItemVisible(i) && !a.getItemProp(i, "separator") ? (_(),
|
|
3000
|
+
}, [a.isItemVisible(i) && !a.getItemProp(i, "separator") ? (_(), x("li", O({
|
|
3001
3001
|
key: 0,
|
|
3002
3002
|
id: a.getItemId(i),
|
|
3003
3003
|
class: [t.cx("item", {
|
|
@@ -3033,7 +3033,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3033
3033
|
hasSubmenu: a.isItemGroup(i),
|
|
3034
3034
|
label: a.getItemLabel(i),
|
|
3035
3035
|
props: a.getMenuItemProps(i, c)
|
|
3036
|
-
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : Wr((_(),
|
|
3036
|
+
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : Wr((_(), x("a", O({
|
|
3037
3037
|
key: 0,
|
|
3038
3038
|
href: a.getItemProp(i, "url"),
|
|
3039
3039
|
class: t.cx("itemLink"),
|
|
@@ -3041,7 +3041,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3041
3041
|
tabindex: "-1"
|
|
3042
3042
|
}, {
|
|
3043
3043
|
ref_for: !0
|
|
3044
|
-
}, a.getPTOptions("itemLink", i, c)), [a.isItemGroup(i) ? (_(),
|
|
3044
|
+
}, a.getPTOptions("itemLink", i, c)), [a.isItemGroup(i) ? (_(), x(ke, {
|
|
3045
3045
|
key: 0
|
|
3046
3046
|
}, [n.templates.submenuicon ? (_(), ee(ht(n.templates.submenuicon), O({
|
|
3047
3047
|
key: 0,
|
|
@@ -3058,7 +3058,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3058
3058
|
key: 1,
|
|
3059
3059
|
item: i.item,
|
|
3060
3060
|
class: N(t.cx("itemIcon"))
|
|
3061
|
-
}, null, 8, ["item", "class"])) : a.getItemProp(i, "icon") ? (_(),
|
|
3061
|
+
}, null, 8, ["item", "class"])) : a.getItemProp(i, "icon") ? (_(), x("span", O({
|
|
3062
3062
|
key: 2,
|
|
3063
3063
|
class: [t.cx("itemIcon"), a.getItemProp(i, "icon")]
|
|
3064
3064
|
}, {
|
|
@@ -3102,7 +3102,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3102
3102
|
}, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : F("", !0)], 16)], 16), [[Ua, a.isItemActive(i)]])];
|
|
3103
3103
|
}),
|
|
3104
3104
|
_: 2
|
|
3105
|
-
}, 1040)], 16, Lc)) : F("", !0), a.isItemVisible(i) && a.getItemProp(i, "separator") ? (_(),
|
|
3105
|
+
}, 1040)], 16, Lc)) : F("", !0), a.isItemVisible(i) && a.getItemProp(i, "separator") ? (_(), x("li", O({
|
|
3106
3106
|
key: 1,
|
|
3107
3107
|
style: a.getItemProp(i, "style"),
|
|
3108
3108
|
class: [t.cx("separator"), a.getItemProp(i, "class")],
|
|
@@ -3724,13 +3724,13 @@ var li = {
|
|
|
3724
3724
|
}, Kc = ["id"], Gc = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], qc = ["href"], Yc = ["id", "aria-labelledby"];
|
|
3725
3725
|
function Xc(t, e, n, r, o, a) {
|
|
3726
3726
|
var l = Pn("PanelMenuList");
|
|
3727
|
-
return _(),
|
|
3727
|
+
return _(), x("div", O({
|
|
3728
3728
|
id: t.$id,
|
|
3729
3729
|
class: t.cx("root")
|
|
3730
|
-
}, t.ptmi("root")), [(_(!0),
|
|
3731
|
-
return _(),
|
|
3730
|
+
}, t.ptmi("root")), [(_(!0), x(ke, null, It(t.model, function(s, i) {
|
|
3731
|
+
return _(), x(ke, {
|
|
3732
3732
|
key: a.getPanelKey(i)
|
|
3733
|
-
}, [a.isItemVisible(s) ? (_(),
|
|
3733
|
+
}, [a.isItemVisible(s) ? (_(), x("div", O({
|
|
3734
3734
|
key: 0,
|
|
3735
3735
|
style: a.getItemProp(s, "style"),
|
|
3736
3736
|
class: [t.cx("panel"), a.getItemProp(s, "class")]
|
|
@@ -3770,7 +3770,7 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3770
3770
|
hasSubmenu: a.isItemGroup(s),
|
|
3771
3771
|
label: a.getItemLabel(s),
|
|
3772
3772
|
props: a.getMenuItemProps(s, i)
|
|
3773
|
-
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : (_(),
|
|
3773
|
+
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : (_(), x("a", O({
|
|
3774
3774
|
key: 0,
|
|
3775
3775
|
href: a.getItemProp(s, "url"),
|
|
3776
3776
|
class: t.cx("headerLink"),
|
|
@@ -3790,7 +3790,7 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3790
3790
|
key: 1,
|
|
3791
3791
|
item: s,
|
|
3792
3792
|
class: N([t.cx("headerIcon"), a.getItemProp(s, "icon")])
|
|
3793
|
-
}, null, 8, ["item", "class"])) : a.getItemProp(s, "icon") ? (_(),
|
|
3793
|
+
}, null, 8, ["item", "class"])) : a.getItemProp(s, "icon") ? (_(), x("span", O({
|
|
3794
3794
|
key: 2,
|
|
3795
3795
|
class: [t.cx("headerIcon"), a.getItemProp(s, "icon")]
|
|
3796
3796
|
}, {
|
|
@@ -3816,7 +3816,7 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3816
3816
|
class: t.cx("contentWrapper")
|
|
3817
3817
|
}, {
|
|
3818
3818
|
ref_for: !0
|
|
3819
|
-
}, t.ptm("contentWrapper")), [a.getItemProp(s, "items") ? (_(),
|
|
3819
|
+
}, t.ptm("contentWrapper")), [a.getItemProp(s, "items") ? (_(), x("div", O({
|
|
3820
3820
|
key: 0,
|
|
3821
3821
|
class: t.cx("content")
|
|
3822
3822
|
}, {
|
|
@@ -3862,7 +3862,7 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
|
|
|
3862
3862
|
}, o = (s) => typeof s.label == "function" ? s.label() : s.label ?? "Item", a = (s, i, c) => s.to ? (s.exact = s.exact ?? !1, s.exact ? c : i) : !1, l = Z(() => e.items.filter((s) => s.visible === !1 ? !1 : typeof s.visible == "function" ? s.visible() === !0 : !0));
|
|
3863
3863
|
return (s, i) => {
|
|
3864
3864
|
const c = Pn("router-link");
|
|
3865
|
-
return _(),
|
|
3865
|
+
return _(), x("div", Zc, [
|
|
3866
3866
|
q($(li), {
|
|
3867
3867
|
model: l.value,
|
|
3868
3868
|
unstyled: !0,
|
|
@@ -3885,24 +3885,24 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
|
|
|
3885
3885
|
"data-active": a(u, w, p),
|
|
3886
3886
|
onClick: Wo((g) => n(u, f), ["prevent"])
|
|
3887
3887
|
}, [
|
|
3888
|
-
u.icon ? (_(),
|
|
3888
|
+
u.icon ? (_(), x("span", Qc, G(u.icon), 1)) : F("", !0),
|
|
3889
3889
|
b("span", {
|
|
3890
3890
|
textContent: G(o(u))
|
|
3891
3891
|
}, null, 8, eu)
|
|
3892
3892
|
], 10, Jc)
|
|
3893
3893
|
]),
|
|
3894
3894
|
_: 2
|
|
3895
|
-
}, 1032, ["to"])) : typeof u.command == "function" ? (_(),
|
|
3895
|
+
}, 1032, ["to"])) : typeof u.command == "function" ? (_(), x("span", {
|
|
3896
3896
|
key: 1,
|
|
3897
3897
|
class: N(["item-menu", { disabled: u.disabled }]),
|
|
3898
3898
|
onClick: Wo((f) => r(f, u), ["stop"])
|
|
3899
3899
|
}, [
|
|
3900
|
-
u.icon ? (_(),
|
|
3900
|
+
u.icon ? (_(), x("span", nu, G(u.icon), 1)) : F("", !0),
|
|
3901
3901
|
b("span", {
|
|
3902
3902
|
textContent: G(o(u))
|
|
3903
3903
|
}, null, 8, ru)
|
|
3904
|
-
], 10, tu)) : (_(),
|
|
3905
|
-
u.icon ? (_(),
|
|
3904
|
+
], 10, tu)) : (_(), x("a", ou, [
|
|
3905
|
+
u.icon ? (_(), x("span", au, G(u.icon), 1)) : F("", !0),
|
|
3906
3906
|
b("span", {
|
|
3907
3907
|
textContent: G(o(u))
|
|
3908
3908
|
}, null, 8, iu),
|
|
@@ -3977,7 +3977,7 @@ const ci = /* @__PURE__ */ re({
|
|
|
3977
3977
|
f(p ? "onShow" : "onHide");
|
|
3978
3978
|
}
|
|
3979
3979
|
), (p, w) => (_(), ee(za, { to: "body" }, [
|
|
3980
|
-
$(l) ? (_(),
|
|
3980
|
+
$(l) ? (_(), x("div", {
|
|
3981
3981
|
key: 0,
|
|
3982
3982
|
ref_key: "popoverRef",
|
|
3983
3983
|
ref: r,
|
|
@@ -4013,7 +4013,7 @@ const ci = /* @__PURE__ */ re({
|
|
|
4013
4013
|
const n = t, r = (l) => {
|
|
4014
4014
|
a.value?.Show(l);
|
|
4015
4015
|
}, o = e, a = R();
|
|
4016
|
-
return (l, s) => (_(),
|
|
4016
|
+
return (l, s) => (_(), x(ke, null, [
|
|
4017
4017
|
W(l.$slots, "anchor", Ct(_t({ Show: r })), () => [
|
|
4018
4018
|
q(De, {
|
|
4019
4019
|
button: !0,
|
|
@@ -4044,7 +4044,7 @@ const ci = /* @__PURE__ */ re({
|
|
|
4044
4044
|
},
|
|
4045
4045
|
setup(t) {
|
|
4046
4046
|
const e = t;
|
|
4047
|
-
return Fa(), (n, r) => (_(),
|
|
4047
|
+
return Fa(), (n, r) => (_(), x("div", {
|
|
4048
4048
|
class: N(["sf-content-wrapper", { "--fluid": e.fluid }])
|
|
4049
4049
|
}, [
|
|
4050
4050
|
W(n.$slots, "default", {}, void 0, !0)
|
|
@@ -4068,7 +4068,7 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
|
|
|
4068
4068
|
s();
|
|
4069
4069
|
}), _s(() => {
|
|
4070
4070
|
l(), c.value = !1, u.value = null;
|
|
4071
|
-
}), (f, p) => (_(),
|
|
4071
|
+
}), (f, p) => (_(), x("div", du, [
|
|
4072
4072
|
p[6] || (p[6] = b("div", { class: "bg" }, null, -1)),
|
|
4073
4073
|
b("div", {
|
|
4074
4074
|
class: "card",
|
|
@@ -4246,7 +4246,7 @@ class Ze {
|
|
|
4246
4246
|
return r ? (r[2] || r[3]).trim().replace(/^"|"$/g, "") : null;
|
|
4247
4247
|
}
|
|
4248
4248
|
}
|
|
4249
|
-
const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "####.####/#######-#", nh = "**.***.***/****-99", vu = "##.###.###/####-##", rh = "99.999.999.999-9", bu = "##.###.###.###-#", oh = "999.999.999-99", wu = "###.###.###-##", yu = 14, ku = 14, Cu = 11, _u = 12, Su = { key: 0 },
|
|
4249
|
+
const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "####.####/#######-#", nh = "**.***.***/****-99", vu = "##.###.###/####-##", rh = "99.999.999.999-9", bu = "##.###.###.###-#", oh = "999.999.999-99", wu = "###.###.###-##", yu = 14, ku = 14, Cu = 11, _u = 12, Su = { key: 0 }, xu = { class: "logout" }, Au = { class: "email" }, Tu = { class: "userinfo" }, Iu = ["textContent"], Eu = {
|
|
4250
4250
|
key: 0,
|
|
4251
4251
|
class: "userinfo"
|
|
4252
4252
|
}, Pu = { class: "flex align-items-center justify-content-between" }, $u = ["textContent"], Lu = {
|
|
@@ -4328,7 +4328,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4328
4328
|
l();
|
|
4329
4329
|
},
|
|
4330
4330
|
{ immediate: !0 }
|
|
4331
|
-
), (w, g) => (_(),
|
|
4331
|
+
), (w, g) => (_(), x(ke, null, [
|
|
4332
4332
|
q(De, {
|
|
4333
4333
|
size: "sm",
|
|
4334
4334
|
icon: "account_circle",
|
|
@@ -4345,9 +4345,9 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4345
4345
|
}, {
|
|
4346
4346
|
default: le(() => [
|
|
4347
4347
|
W(w.$slots, "content", Ct(_t({ userinfo: o.value })), () => [
|
|
4348
|
-
o.value ? (_(),
|
|
4349
|
-
b("div",
|
|
4350
|
-
b("div",
|
|
4348
|
+
o.value ? (_(), x("div", Su, [
|
|
4349
|
+
b("div", xu, [
|
|
4350
|
+
b("div", Au, G(o.value.email), 1),
|
|
4351
4351
|
q(kn, {
|
|
4352
4352
|
size: "sm",
|
|
4353
4353
|
color: "error",
|
|
@@ -4365,7 +4365,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4365
4365
|
textContent: G(i())
|
|
4366
4366
|
}, null, 8, Iu)
|
|
4367
4367
|
]),
|
|
4368
|
-
p.value ? (_(),
|
|
4368
|
+
p.value ? (_(), x("div", Eu, [
|
|
4369
4369
|
b("div", Pu, [
|
|
4370
4370
|
g[5] || (g[5] = b("div", null, "Nível de confiança", -1)),
|
|
4371
4371
|
q(Mr, null, {
|
|
@@ -4379,7 +4379,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4379
4379
|
textContent: G(p.value)
|
|
4380
4380
|
}, null, 8, $u)
|
|
4381
4381
|
])) : F("", !0),
|
|
4382
|
-
f.value.length > 0 ? (_(),
|
|
4382
|
+
f.value.length > 0 ? (_(), x("div", Lu, [
|
|
4383
4383
|
b("div", Ou, [
|
|
4384
4384
|
g[7] || (g[7] = b("span", null, "Fatores de autenticação", -1)),
|
|
4385
4385
|
q(Mr, null, {
|
|
@@ -4390,7 +4390,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4390
4390
|
})
|
|
4391
4391
|
]),
|
|
4392
4392
|
b("div", Bu, [
|
|
4393
|
-
(_(!0),
|
|
4393
|
+
(_(!0), x(ke, null, It(f.value, (y) => (_(), x("span", {
|
|
4394
4394
|
key: `amr-${y.amr}`,
|
|
4395
4395
|
class: N("chip")
|
|
4396
4396
|
}, G(y.label), 1))), 128))
|
|
@@ -4402,8 +4402,8 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4402
4402
|
]),
|
|
4403
4403
|
b("div", Du, [
|
|
4404
4404
|
g[9] || (g[9] = b("div", null, "Perfis atribuídos ao usuário", -1)),
|
|
4405
|
-
s.value.length === 0 ? (_(),
|
|
4406
|
-
(_(!0),
|
|
4405
|
+
s.value.length === 0 ? (_(), x("div", Ru, "Nenhum perfil atribuído.")) : (_(), x("div", Nu, [
|
|
4406
|
+
(_(!0), x(ke, null, It(s.value, (y) => (_(), x("span", {
|
|
4407
4407
|
key: y,
|
|
4408
4408
|
class: "chip"
|
|
4409
4409
|
}, G(y), 1))), 128))
|
|
@@ -4413,7 +4413,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4413
4413
|
g[10] || (g[10] = b("div", null, "CPF", -1)),
|
|
4414
4414
|
b("div", null, G($(Ze).MaskCpf(u())), 1)
|
|
4415
4415
|
]),
|
|
4416
|
-
c.value && o.value.cnpj ? (_(),
|
|
4416
|
+
c.value && o.value.cnpj ? (_(), x("div", Hu, [
|
|
4417
4417
|
b("div", Fu, [
|
|
4418
4418
|
g[12] || (g[12] = b("div", null, "CNPJ vinculado", -1)),
|
|
4419
4419
|
q(Mr, null, {
|
|
@@ -4429,11 +4429,11 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4429
4429
|
g[13] || (g[13] = b("div", null, "Nome", -1)),
|
|
4430
4430
|
b("div", null, G(o.value.name), 1)
|
|
4431
4431
|
]),
|
|
4432
|
-
o.value.jobTitle ? (_(),
|
|
4432
|
+
o.value.jobTitle ? (_(), x("div", Uu, [
|
|
4433
4433
|
g[14] || (g[14] = b("div", null, "Cargo", -1)),
|
|
4434
4434
|
b("div", null, G(o.value.jobTitle), 1)
|
|
4435
4435
|
])) : F("", !0),
|
|
4436
|
-
o.value.department ? (_(),
|
|
4436
|
+
o.value.department ? (_(), x("div", Vu, [
|
|
4437
4437
|
g[15] || (g[15] = b("div", null, "Departamento", -1)),
|
|
4438
4438
|
b("div", null, G(o.value.department), 1)
|
|
4439
4439
|
])) : F("", !0)
|
|
@@ -4471,7 +4471,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4471
4471
|
localStorage.removeItem(qu);
|
|
4472
4472
|
}), $t(() => {
|
|
4473
4473
|
m.value = l();
|
|
4474
|
-
}), (f, p) => (_(),
|
|
4474
|
+
}), (f, p) => (_(), x(ke, null, [
|
|
4475
4475
|
q(De, {
|
|
4476
4476
|
button: !0,
|
|
4477
4477
|
size: "sm",
|
|
@@ -4479,7 +4479,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4479
4479
|
tooltip: "Tamanho da fonte",
|
|
4480
4480
|
onClick: r
|
|
4481
4481
|
}),
|
|
4482
|
-
e.value ? (_(),
|
|
4482
|
+
e.value ? (_(), x(ke, { key: 0 }, [
|
|
4483
4483
|
b("div", {
|
|
4484
4484
|
class: N(["border", "fadein", "font-size-wrapper"]),
|
|
4485
4485
|
style: Tt({ zIndex: n.value + 1 })
|
|
@@ -4516,7 +4516,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4516
4516
|
function r() {
|
|
4517
4517
|
document.documentElement.scrollTo(0, 0);
|
|
4518
4518
|
}
|
|
4519
|
-
return (o, a) => (_(),
|
|
4519
|
+
return (o, a) => (_(), x("button", {
|
|
4520
4520
|
class: N(["sf-scrollToTop", { "sf-scrollToTop-visible": n.value }]),
|
|
4521
4521
|
onClick: r
|
|
4522
4522
|
}, null, 2));
|
|
@@ -4597,8 +4597,8 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4597
4597
|
ya.includes(t) || (ya.push(t), Ce(t));
|
|
4598
4598
|
}, pi = (t, e = null) => {
|
|
4599
4599
|
sd(`"${t}" is deprecated and will be removed in the next major release.${e ? ` Use "${e}" instead.` : ""}`);
|
|
4600
|
-
}, br = (t) => typeof t == "function" ? t() : t, fo = (t) => t && typeof t.toPromise == "function", Ln = (t) => fo(t) ? t.toPromise() : Promise.resolve(t), po = (t) => t && Promise.resolve(t) === t,
|
|
4601
|
-
const e =
|
|
4600
|
+
}, br = (t) => typeof t == "function" ? t() : t, fo = (t) => t && typeof t.toPromise == "function", Ln = (t) => fo(t) ? t.toPromise() : Promise.resolve(t), po = (t) => t && Promise.resolve(t) === t, xe = () => document.body.querySelector(`.${h.container}`), On = (t) => {
|
|
4601
|
+
const e = xe();
|
|
4602
4602
|
return e ? e.querySelector(t) : null;
|
|
4603
4603
|
}, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), ld = () => $e(h["icon-content"]), hi = () => $e(h.title), ho = () => $e(h["html-container"]), gi = () => $e(h.image), go = () => $e(h["progress-steps"]), wr = () => $e(h["validation-message"]), Qe = () => (
|
|
4604
4604
|
/** @type {HTMLButtonElement} */
|
|
@@ -4715,7 +4715,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4715
4715
|
if (o instanceof HTMLElement && lt(o, e))
|
|
4716
4716
|
return o;
|
|
4717
4717
|
}
|
|
4718
|
-
},
|
|
4718
|
+
}, At = (t, e, n) => {
|
|
4719
4719
|
n === `${parseInt(`${n}`)}` && (n = parseInt(n)), n || parseInt(`${n}`) === 0 ? t.style.setProperty(e, typeof n == "number" ? `${n}px` : n) : t.style.removeProperty(e);
|
|
4720
4720
|
}, ce = (t, e = "flex") => {
|
|
4721
4721
|
t && (t.style.display = e);
|
|
@@ -4791,7 +4791,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4791
4791
|
</div>
|
|
4792
4792
|
</div>
|
|
4793
4793
|
`.replace(/(^|\n)\s*/g, ""), bd = () => {
|
|
4794
|
-
const t =
|
|
4794
|
+
const t = xe();
|
|
4795
4795
|
return t ? (t.remove(), Re([document.documentElement, document.body], [h["no-backdrop"], h["toast-shown"], h["has-column"]]), !0) : !1;
|
|
4796
4796
|
}, kt = () => {
|
|
4797
4797
|
E.currentInstance.resetValidationMessage();
|
|
@@ -4806,7 +4806,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4806
4806
|
const e = z();
|
|
4807
4807
|
e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
|
|
4808
4808
|
}, Cd = (t) => {
|
|
4809
|
-
window.getComputedStyle(t).direction === "rtl" && U(
|
|
4809
|
+
window.getComputedStyle(t).direction === "rtl" && U(xe(), h.rtl);
|
|
4810
4810
|
}, _d = (t) => {
|
|
4811
4811
|
const e = bd();
|
|
4812
4812
|
if (gd()) {
|
|
@@ -4820,14 +4820,14 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4820
4820
|
}, Co = (t, e) => {
|
|
4821
4821
|
t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Sd(t, e) : t && Le(e, t);
|
|
4822
4822
|
}, Sd = (t, e) => {
|
|
4823
|
-
t.jquery ?
|
|
4824
|
-
},
|
|
4823
|
+
t.jquery ? xd(e, t) : Le(e, t.toString());
|
|
4824
|
+
}, xd = (t, e) => {
|
|
4825
4825
|
if (t.textContent = "", 0 in e)
|
|
4826
4826
|
for (let n = 0; n in e; n++)
|
|
4827
4827
|
t.appendChild(e[n].cloneNode(!0));
|
|
4828
4828
|
else
|
|
4829
4829
|
t.appendChild(e.cloneNode(!0));
|
|
4830
|
-
},
|
|
4830
|
+
}, Ad = (t, e) => {
|
|
4831
4831
|
const n = Bn(), r = en();
|
|
4832
4832
|
!n || !r || (!e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ve(n) : ce(n), Pe(n, e, "actions"), Td(n, r, e), Le(r, e.loaderHtml || ""), Pe(r, e, "loader"));
|
|
4833
4833
|
};
|
|
@@ -4860,7 +4860,7 @@ const Ed = (t, e) => {
|
|
|
4860
4860
|
const n = vo();
|
|
4861
4861
|
n && (Le(n, e.closeButtonHtml || ""), Pe(n, e, "closeButton"), Mn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel || ""));
|
|
4862
4862
|
}, Pd = (t, e) => {
|
|
4863
|
-
const n =
|
|
4863
|
+
const n = xe();
|
|
4864
4864
|
n && ($d(n, e.backdrop), Ld(n, e.position), Od(n, e.grow), Pe(n, e, "container"));
|
|
4865
4865
|
};
|
|
4866
4866
|
function $d(t, e) {
|
|
@@ -4966,7 +4966,7 @@ oe.textarea = (t, e) => {
|
|
|
4966
4966
|
if (!document.body.contains(t))
|
|
4967
4967
|
return;
|
|
4968
4968
|
const a = t.offsetWidth + n(t);
|
|
4969
|
-
a > r ? z().style.width = `${a}px` :
|
|
4969
|
+
a > r ? z().style.width = `${a}px` : At(z(), "width", e.width);
|
|
4970
4970
|
};
|
|
4971
4971
|
new MutationObserver(o).observe(t, {
|
|
4972
4972
|
attributes: !0,
|
|
@@ -5043,10 +5043,10 @@ const Hd = (t, e) => {
|
|
|
5043
5043
|
ve(n);
|
|
5044
5044
|
return;
|
|
5045
5045
|
}
|
|
5046
|
-
ce(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt || ""),
|
|
5046
|
+
ce(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt || ""), At(n, "width", e.imageWidth), At(n, "height", e.imageHeight), n.className = h.image, Pe(n, e, "image");
|
|
5047
5047
|
}
|
|
5048
5048
|
};
|
|
5049
|
-
let So = !1, _i = 0, Si = 0,
|
|
5049
|
+
let So = !1, _i = 0, Si = 0, xi = 0, Ai = 0;
|
|
5050
5050
|
const Gd = (t) => {
|
|
5051
5051
|
t.addEventListener("mousedown", lr), document.body.addEventListener("mousemove", cr), t.addEventListener("mouseup", ur), t.addEventListener("touchstart", lr), document.body.addEventListener("touchmove", cr), t.addEventListener("touchend", ur);
|
|
5052
5052
|
}, qd = (t) => {
|
|
@@ -5059,7 +5059,7 @@ const Gd = (t) => {
|
|
|
5059
5059
|
)) {
|
|
5060
5060
|
So = !0;
|
|
5061
5061
|
const n = Ti(t);
|
|
5062
|
-
_i = n.clientX, Si = n.clientY,
|
|
5062
|
+
_i = n.clientX, Si = n.clientY, xi = parseInt(e.style.insetInlineStart) || 0, Ai = parseInt(e.style.insetBlockStart) || 0, U(e, "swal2-dragging");
|
|
5063
5063
|
}
|
|
5064
5064
|
}, cr = (t) => {
|
|
5065
5065
|
const e = z();
|
|
@@ -5068,7 +5068,7 @@ const Gd = (t) => {
|
|
|
5068
5068
|
clientX: n,
|
|
5069
5069
|
clientY: r
|
|
5070
5070
|
} = Ti(t);
|
|
5071
|
-
e.style.insetInlineStart = `${
|
|
5071
|
+
e.style.insetInlineStart = `${xi + (n - _i)}px`, e.style.insetBlockStart = `${Ai + (r - Si)}px`;
|
|
5072
5072
|
}
|
|
5073
5073
|
}, ur = () => {
|
|
5074
5074
|
const t = z();
|
|
@@ -5084,15 +5084,15 @@ const Gd = (t) => {
|
|
|
5084
5084
|
clientY: n
|
|
5085
5085
|
};
|
|
5086
5086
|
}, Yd = (t, e) => {
|
|
5087
|
-
const n =
|
|
5087
|
+
const n = xe(), r = z();
|
|
5088
5088
|
if (!(!n || !r)) {
|
|
5089
5089
|
if (e.toast) {
|
|
5090
|
-
|
|
5090
|
+
At(n, "width", e.width), r.style.width = "100%";
|
|
5091
5091
|
const o = en();
|
|
5092
5092
|
o && r.insertBefore(o, Jt());
|
|
5093
5093
|
} else
|
|
5094
|
-
|
|
5095
|
-
|
|
5094
|
+
At(r, "width", e.width);
|
|
5095
|
+
At(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ve(wr()), Xd(r, e), e.draggable && !e.toast ? (U(r, h.draggable), Gd(r)) : (Re(r, h.draggable), qd(r));
|
|
5096
5096
|
}
|
|
5097
5097
|
}, Xd = (t, e) => {
|
|
5098
5098
|
const n = e.showClass || {};
|
|
@@ -5121,12 +5121,12 @@ const Gd = (t) => {
|
|
|
5121
5121
|
return U(e, h["progress-step"]), Le(e, t), e;
|
|
5122
5122
|
}, Qd = (t) => {
|
|
5123
5123
|
const e = document.createElement("li");
|
|
5124
|
-
return U(e, h["progress-step-line"]), t.progressStepsDistance &&
|
|
5124
|
+
return U(e, h["progress-step-line"]), t.progressStepsDistance && At(e, "width", t.progressStepsDistance), e;
|
|
5125
5125
|
}, em = (t, e) => {
|
|
5126
5126
|
const n = hi();
|
|
5127
5127
|
n && (yo(n), Mn(n, !!(e.title || e.titleText), "block"), e.title && Co(e.title, n), e.titleText && (n.innerText = e.titleText), Pe(n, e, "title"));
|
|
5128
5128
|
}, Ii = (t, e) => {
|
|
5129
|
-
Yd(t, e), Pd(t, e), Zd(t, e), zd(t, e), Kd(t, e), em(t, e), Ed(t, e), Hd(t, e),
|
|
5129
|
+
Yd(t, e), Pd(t, e), Zd(t, e), zd(t, e), Kd(t, e), em(t, e), Ed(t, e), Hd(t, e), Ad(t, e), Fd(t, e);
|
|
5130
5130
|
const n = z();
|
|
5131
5131
|
typeof e.didRender == "function" && n && e.didRender(n), E.eventEmitter.emit("didRender", n);
|
|
5132
5132
|
}, tm = () => Ie(z()), Ei = () => {
|
|
@@ -5206,7 +5206,7 @@ var Yt = {
|
|
|
5206
5206
|
swalPromiseReject: /* @__PURE__ */ new WeakMap()
|
|
5207
5207
|
};
|
|
5208
5208
|
const dm = () => {
|
|
5209
|
-
const t =
|
|
5209
|
+
const t = xe();
|
|
5210
5210
|
Array.from(document.body.children).forEach((n) => {
|
|
5211
5211
|
n.contains(t) || (n.hasAttribute("aria-hidden") && n.setAttribute("data-previous-aria-hidden", n.getAttribute("aria-hidden") || ""), n.setAttribute("aria-hidden", "true"));
|
|
5212
5212
|
});
|
|
@@ -5220,7 +5220,7 @@ const dm = () => {
|
|
|
5220
5220
|
document.body.style.top = `${t * -1}px`, U(document.body, h.iosfix), fm();
|
|
5221
5221
|
}
|
|
5222
5222
|
}, fm = () => {
|
|
5223
|
-
const t =
|
|
5223
|
+
const t = xe();
|
|
5224
5224
|
if (!t)
|
|
5225
5225
|
return;
|
|
5226
5226
|
let e;
|
|
@@ -5230,7 +5230,7 @@ const dm = () => {
|
|
|
5230
5230
|
e && (n.preventDefault(), n.stopPropagation());
|
|
5231
5231
|
};
|
|
5232
5232
|
}, pm = (t) => {
|
|
5233
|
-
const e = t.target, n =
|
|
5233
|
+
const e = t.target, n = xe(), r = ho();
|
|
5234
5234
|
return !n || !r || hm(t) || gm(t) ? !1 : e === n || !Qr(n) && e instanceof HTMLElement && !pd(e, r) && // #2823
|
|
5235
5235
|
e.tagName !== "INPUT" && // #1603
|
|
5236
5236
|
e.tagName !== "TEXTAREA" && // #2266
|
|
@@ -5254,7 +5254,7 @@ const wm = (t) => {
|
|
|
5254
5254
|
Kt !== null && (document.body.style.paddingRight = `${Kt}px`, Kt = null);
|
|
5255
5255
|
};
|
|
5256
5256
|
function Bi(t, e, n, r) {
|
|
5257
|
-
kr() ?
|
|
5257
|
+
kr() ? xa(t, r) : (od(n).then(() => xa(t, r)), Pi(E)), Oi ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), wo() && (ym(), vm(), Li()), km();
|
|
5258
5258
|
}
|
|
5259
5259
|
function km() {
|
|
5260
5260
|
Re([document.documentElement, document.body], [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]);
|
|
@@ -5272,7 +5272,7 @@ const Cm = (t) => {
|
|
|
5272
5272
|
if (!n || lt(e, n.hideClass.popup))
|
|
5273
5273
|
return !1;
|
|
5274
5274
|
Re(e, n.showClass.popup), U(e, n.hideClass.popup);
|
|
5275
|
-
const r =
|
|
5275
|
+
const r = xe();
|
|
5276
5276
|
return Re(r, n.showClass.backdrop), U(r, n.hideClass.backdrop), Sm(t, e, n), !0;
|
|
5277
5277
|
};
|
|
5278
5278
|
function Mi(t) {
|
|
@@ -5291,9 +5291,9 @@ const Rn = (t) => {
|
|
|
5291
5291
|
isDismissed: !1
|
|
5292
5292
|
}, t), Sm = (t, e, n) => {
|
|
5293
5293
|
var r;
|
|
5294
|
-
const o =
|
|
5295
|
-
typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ?
|
|
5296
|
-
},
|
|
5294
|
+
const o = xe(), a = yi(e);
|
|
5295
|
+
typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ? xm(t, e, o, n.returnFocus, n.didClose) : Bi(t, o, n.returnFocus, n.didClose);
|
|
5296
|
+
}, xm = (t, e, n, r, o) => {
|
|
5297
5297
|
E.swalCloseEventFinishedCallback = Bi.bind(null, t, n, r, o);
|
|
5298
5298
|
const a = function(l) {
|
|
5299
5299
|
if (l.target === e) {
|
|
@@ -5302,7 +5302,7 @@ const Rn = (t) => {
|
|
|
5302
5302
|
}
|
|
5303
5303
|
};
|
|
5304
5304
|
e.addEventListener("animationend", a), e.addEventListener("transitionend", a);
|
|
5305
|
-
},
|
|
5305
|
+
}, xa = (t, e) => {
|
|
5306
5306
|
setTimeout(() => {
|
|
5307
5307
|
var n;
|
|
5308
5308
|
typeof e == "function" && e.bind(t.params)(), (n = E.eventEmitter) === null || n === void 0 || n.emit("didClose"), t._destroy && t._destroy();
|
|
@@ -5312,8 +5312,8 @@ const Rn = (t) => {
|
|
|
5312
5312
|
if (e || new Pt(), e = z(), !e)
|
|
5313
5313
|
return;
|
|
5314
5314
|
const n = en();
|
|
5315
|
-
kr() ? ve(Jt()) :
|
|
5316
|
-
},
|
|
5315
|
+
kr() ? ve(Jt()) : Am(e, t), ce(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
|
|
5316
|
+
}, Am = (t, e) => {
|
|
5317
5317
|
const n = Bn(), r = en();
|
|
5318
5318
|
!n || !r || (!e && Ie(Qe()) && (e = Qe()), ce(n), e && (ve(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)), U([t, n], h.loading));
|
|
5319
5319
|
}, Tm = (t, e) => {
|
|
@@ -5391,10 +5391,10 @@ const dr = (t) => {
|
|
|
5391
5391
|
}), e;
|
|
5392
5392
|
}, Di = (t, e) => !!e && e.toString() === t.toString(), Dm = (t) => {
|
|
5393
5393
|
const e = Y.innerParams.get(t);
|
|
5394
|
-
t.disableButtons(), e.input ? Ri(t, "confirm") :
|
|
5394
|
+
t.disableButtons(), e.input ? Ri(t, "confirm") : Ao(t, !0);
|
|
5395
5395
|
}, Rm = (t) => {
|
|
5396
5396
|
const e = Y.innerParams.get(t);
|
|
5397
|
-
t.disableButtons(), e.returnInputValueOnDeny ? Ri(t, "deny") :
|
|
5397
|
+
t.disableButtons(), e.returnInputValueOnDeny ? Ri(t, "deny") : xo(t, !1);
|
|
5398
5398
|
}, Nm = (t, e) => {
|
|
5399
5399
|
t.disableButtons(), e(tn.cancel);
|
|
5400
5400
|
}, Ri = (t, e) => {
|
|
@@ -5404,13 +5404,13 @@ const dr = (t) => {
|
|
|
5404
5404
|
return;
|
|
5405
5405
|
}
|
|
5406
5406
|
const r = t.getInput(), o = Im(t, n);
|
|
5407
|
-
n.inputValidator ? jm(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ?
|
|
5407
|
+
n.inputValidator ? jm(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ? xo(t, o) : Ao(t, o);
|
|
5408
5408
|
}, jm = (t, e, n) => {
|
|
5409
5409
|
const r = Y.innerParams.get(t);
|
|
5410
5410
|
t.disableInput(), Promise.resolve().then(() => Ln(r.inputValidator(e, r.validationMessage))).then((a) => {
|
|
5411
|
-
t.enableButtons(), t.enableInput(), a ? t.showValidationMessage(a) : n === "deny" ?
|
|
5411
|
+
t.enableButtons(), t.enableInput(), a ? t.showValidationMessage(a) : n === "deny" ? xo(t, e) : Ao(t, e);
|
|
5412
5412
|
});
|
|
5413
|
-
},
|
|
5413
|
+
}, xo = (t, e) => {
|
|
5414
5414
|
const n = Y.innerParams.get(t || void 0);
|
|
5415
5415
|
n.showLoaderOnDeny && Xt(Ot()), n.preDeny ? (t.isAwaitingPromise = !0, Promise.resolve().then(() => Ln(n.preDeny(e, n.validationMessage))).then((o) => {
|
|
5416
5416
|
o === !1 ? (t.hideLoading(), Rn(t)) : t.close(
|
|
@@ -5427,7 +5427,7 @@ const dr = (t) => {
|
|
|
5427
5427
|
value: e
|
|
5428
5428
|
}
|
|
5429
5429
|
);
|
|
5430
|
-
},
|
|
5430
|
+
}, Aa = (t, e) => {
|
|
5431
5431
|
t.close(
|
|
5432
5432
|
/** @type SweetAlertResult */
|
|
5433
5433
|
{
|
|
@@ -5437,11 +5437,11 @@ const dr = (t) => {
|
|
|
5437
5437
|
);
|
|
5438
5438
|
}, Ni = (t, e) => {
|
|
5439
5439
|
t.rejectPromise(e);
|
|
5440
|
-
},
|
|
5440
|
+
}, Ao = (t, e) => {
|
|
5441
5441
|
const n = Y.innerParams.get(t || void 0);
|
|
5442
5442
|
n.showLoaderOnConfirm && Xt(), n.preConfirm ? (t.resetValidationMessage(), t.isAwaitingPromise = !0, Promise.resolve().then(() => Ln(n.preConfirm(e, n.validationMessage))).then((o) => {
|
|
5443
|
-
Ie(wr()) || o === !1 ? (t.hideLoading(), Rn(t)) :
|
|
5444
|
-
}).catch((o) => Ni(t || void 0, o))) :
|
|
5443
|
+
Ie(wr()) || o === !1 ? (t.hideLoading(), Rn(t)) : Aa(t, typeof o > "u" ? e : o);
|
|
5444
|
+
}).catch((o) => Ni(t || void 0, o))) : Aa(t, e);
|
|
5445
5445
|
};
|
|
5446
5446
|
function mr() {
|
|
5447
5447
|
const t = Y.innerParams.get(this);
|
|
@@ -5606,7 +5606,7 @@ const Gt = {
|
|
|
5606
5606
|
Vm(e), t.toast && Wm(e), Km(e);
|
|
5607
5607
|
};
|
|
5608
5608
|
function Ji(t) {
|
|
5609
|
-
const e =
|
|
5609
|
+
const e = xe(), n = z(), r = Y.innerParams.get(this);
|
|
5610
5610
|
if (!n || lt(n, r.hideClass.popup)) {
|
|
5611
5611
|
Ce("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");
|
|
5612
5612
|
return;
|
|
@@ -5834,7 +5834,7 @@ var vf = /* @__PURE__ */ Object.freeze({
|
|
|
5834
5834
|
getCancelButton: Qt,
|
|
5835
5835
|
getCloseButton: vo,
|
|
5836
5836
|
getConfirmButton: Qe,
|
|
5837
|
-
getContainer:
|
|
5837
|
+
getContainer: xe,
|
|
5838
5838
|
getDenyButton: Ot,
|
|
5839
5839
|
getFocusableElements: bo,
|
|
5840
5840
|
getFooter: vi,
|
|
@@ -5915,7 +5915,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5915
5915
|
if (!e)
|
|
5916
5916
|
return {};
|
|
5917
5917
|
const n = e.content;
|
|
5918
|
-
return Tf(n), Object.assign(yf(n), kf(n), Cf(n), _f(n), Sf(n),
|
|
5918
|
+
return Tf(n), Object.assign(yf(n), kf(n), Cf(n), _f(n), Sf(n), xf(n), Af(n, rs));
|
|
5919
5919
|
}, yf = (t) => {
|
|
5920
5920
|
const e = {};
|
|
5921
5921
|
return Array.from(t.querySelectorAll("swal-param")).forEach((r) => {
|
|
@@ -5948,7 +5948,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5948
5948
|
}, Sf = (t) => {
|
|
5949
5949
|
const e = {}, n = t.querySelector("swal-icon");
|
|
5950
5950
|
return n && (Et(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
|
|
5951
|
-
},
|
|
5951
|
+
}, xf = (t) => {
|
|
5952
5952
|
const e = {}, n = t.querySelector("swal-input");
|
|
5953
5953
|
n && (Et(n, ["type", "label", "placeholder", "value"]), e.input = n.getAttribute("type") || "text", n.hasAttribute("label") && (e.inputLabel = n.getAttribute("label")), n.hasAttribute("placeholder") && (e.inputPlaceholder = n.getAttribute("placeholder")), n.hasAttribute("value") && (e.inputValue = n.getAttribute("value")));
|
|
5954
5954
|
const r = Array.from(t.querySelectorAll("swal-input-option"));
|
|
@@ -5960,7 +5960,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5960
5960
|
const l = o.innerHTML;
|
|
5961
5961
|
e.inputOptions[a] = l;
|
|
5962
5962
|
})), e;
|
|
5963
|
-
},
|
|
5963
|
+
}, Af = (t, e) => {
|
|
5964
5964
|
const n = {};
|
|
5965
5965
|
for (const r in e) {
|
|
5966
5966
|
const o = e[r], a = t.querySelector(o);
|
|
@@ -5978,7 +5978,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5978
5978
|
e.indexOf(n.name) === -1 && Ce([`Unrecognized attribute "${n.name}" on <${t.tagName.toLowerCase()}>.`, `${e.length ? `Allowed attributes are: ${e.join(", ")}` : "To set the value, use HTML within the element."}`]);
|
|
5979
5979
|
});
|
|
5980
5980
|
}, os = 10, If = (t) => {
|
|
5981
|
-
const e =
|
|
5981
|
+
const e = xe(), n = z();
|
|
5982
5982
|
typeof t.willOpen == "function" && t.willOpen(n), E.eventEmitter.emit("willOpen", n);
|
|
5983
5983
|
const o = window.getComputedStyle(document.body).overflowY;
|
|
5984
5984
|
$f(e, n, t), setTimeout(() => {
|
|
@@ -5988,7 +5988,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5988
5988
|
const e = z();
|
|
5989
5989
|
if (t.target !== e)
|
|
5990
5990
|
return;
|
|
5991
|
-
const n =
|
|
5991
|
+
const n = xe();
|
|
5992
5992
|
e.removeEventListener("animationend", pr), e.removeEventListener("transitionend", pr), n.style.overflowY = "auto", Re(n, h["no-transition"]);
|
|
5993
5993
|
}, Ef = (t, e) => {
|
|
5994
5994
|
yi(e) ? (t.style.overflowY = "hidden", e.addEventListener("animationend", pr), e.addEventListener("transitionend", pr)) : t.style.overflowY = "auto";
|
|
@@ -6092,7 +6092,7 @@ const Mf = (t, e, n) => new Promise((r, o) => {
|
|
|
6092
6092
|
}, Rf = (t) => {
|
|
6093
6093
|
const e = {
|
|
6094
6094
|
popup: z(),
|
|
6095
|
-
container:
|
|
6095
|
+
container: xe(),
|
|
6096
6096
|
actions: Bn(),
|
|
6097
6097
|
confirmButton: Qe(),
|
|
6098
6098
|
denyButton: Ot(),
|
|
@@ -6402,9 +6402,9 @@ function ls() {
|
|
|
6402
6402
|
const Sr = D({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
6403
6403
|
let Eo = null;
|
|
6404
6404
|
const Po = D({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
6405
|
-
let
|
|
6405
|
+
let xr = null;
|
|
6406
6406
|
const $o = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Un = "http://www.w3.org/1998/Math/MathML", Vn = "http://www.w3.org/2000/svg", ot = "http://www.w3.org/1999/xhtml";
|
|
6407
|
-
let jt = ot,
|
|
6407
|
+
let jt = ot, Ar = !1, Tr = null;
|
|
6408
6408
|
const ms = D({}, [Un, Vn, ot], jr);
|
|
6409
6409
|
let Wn = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Kn = D({}, ["annotation-xml"]);
|
|
6410
6410
|
const fs = D({}, ["title", "style", "font", "a", "script"]);
|
|
@@ -6417,7 +6417,7 @@ function ls() {
|
|
|
6417
6417
|
let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6418
6418
|
if (!(Ht && Ht === d)) {
|
|
6419
6419
|
if ((!d || typeof d != "object") && (d = {}), d = qe(d), ln = // eslint-disable-next-line unicorn/prefer-includes
|
|
6420
|
-
ps.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? hs : d.PARSER_MEDIA_TYPE, se = ln === "application/xhtml+xml" ? jr : tr, V = Ee(d, "ALLOWED_TAGS") ? D({}, d.ALLOWED_TAGS, se) : Ve, ne = Ee(d, "ALLOWED_ATTR") ? D({}, d.ALLOWED_ATTR, se) : nt, Tr = Ee(d, "ALLOWED_NAMESPACES") ? D({}, d.ALLOWED_NAMESPACES, jr) : ms,
|
|
6420
|
+
ps.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? hs : d.PARSER_MEDIA_TYPE, se = ln === "application/xhtml+xml" ? jr : tr, V = Ee(d, "ALLOWED_TAGS") ? D({}, d.ALLOWED_TAGS, se) : Ve, ne = Ee(d, "ALLOWED_ATTR") ? D({}, d.ALLOWED_ATTR, se) : nt, Tr = Ee(d, "ALLOWED_NAMESPACES") ? D({}, d.ALLOWED_NAMESPACES, jr) : ms, xr = Ee(d, "ADD_URI_SAFE_ATTR") ? D(qe($o), d.ADD_URI_SAFE_ATTR, se) : $o, Eo = Ee(d, "ADD_DATA_URI_TAGS") ? D(qe(Po), d.ADD_DATA_URI_TAGS, se) : Po, Ke = Ee(d, "FORBID_CONTENTS") ? D({}, d.FORBID_CONTENTS, se) : Sr, dt = Ee(d, "FORBID_TAGS") ? D({}, d.FORBID_TAGS, se) : qe({}), Bt = Ee(d, "FORBID_ATTR") ? D({}, d.FORBID_ATTR, se) : qe({}), Nt = Ee(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Nn = d.ALLOW_ARIA_ATTR !== !1, nn = d.ALLOW_DATA_ATTR !== !1, jn = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Hn = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, mt = d.SAFE_FOR_TEMPLATES || !1, Mt = d.SAFE_FOR_XML !== !1, rt = d.WHOLE_DOCUMENT || !1, ft = d.RETURN_DOM || !1, Dt = d.RETURN_DOM_FRAGMENT || !1, Rt = d.RETURN_TRUSTED_TYPE || !1, on = d.FORCE_BODY || !1, Fn = d.SANITIZE_DOM !== !1, zn = d.SANITIZE_NAMED_PROPS || !1, an = d.KEEP_CONTENT !== !1, sn = d.IN_PLACE || !1, Me = d.ALLOWED_URI_REGEXP || is, jt = d.NAMESPACE || ot, Wn = d.MATHML_TEXT_INTEGRATION_POINTS || Wn, Kn = d.HTML_INTEGRATION_POINTS || Kn, J = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), mt && (nn = !1), Dt && (ft = !0), Nt && (V = D({}, Oa), ne = er(null), Nt.html === !0 && (D(V, La), D(ne, Ba)), Nt.svg === !0 && (D(V, Fr), D(ne, Vr), D(ne, Qn)), Nt.svgFilters === !0 && (D(V, zr), D(ne, Vr), D(ne, Qn)), Nt.mathMl === !0 && (D(V, Ur), D(ne, Ma), D(ne, Qn))), Ee(d, "ADD_TAGS") || (We.tagCheck = null), Ee(d, "ADD_ATTR") || (We.attributeCheck = null), d.ADD_TAGS && (typeof d.ADD_TAGS == "function" ? We.tagCheck = d.ADD_TAGS : (V === Ve && (V = qe(V)), D(V, d.ADD_TAGS, se))), d.ADD_ATTR && (typeof d.ADD_ATTR == "function" ? We.attributeCheck = d.ADD_ATTR : (ne === nt && (ne = qe(ne)), D(ne, d.ADD_ATTR, se))), d.ADD_URI_SAFE_ATTR && D(xr, d.ADD_URI_SAFE_ATTR, se), d.FORBID_CONTENTS && (Ke === Sr && (Ke = qe(Ke)), D(Ke, d.FORBID_CONTENTS, se)), d.ADD_FORBID_CONTENTS && (Ke === Sr && (Ke = qe(Ke)), D(Ke, d.ADD_FORBID_CONTENTS, se)), an && (V["#text"] = !0), rt && D(V, ["html", "head", "body"]), V.table && (D(V, ["tbody"]), delete dt.tbody), d.TRUSTED_TYPES_POLICY) {
|
|
6421
6421
|
if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
6422
6422
|
throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
6423
6423
|
if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -6433,8 +6433,8 @@ function ls() {
|
|
|
6433
6433
|
namespaceURI: jt,
|
|
6434
6434
|
tagName: "template"
|
|
6435
6435
|
});
|
|
6436
|
-
const
|
|
6437
|
-
return Tr[d.namespaceURI] ? d.namespaceURI === Vn ? k.namespaceURI === ot ?
|
|
6436
|
+
const A = tr(d.tagName), Q = tr(k.tagName);
|
|
6437
|
+
return Tr[d.namespaceURI] ? d.namespaceURI === Vn ? k.namespaceURI === ot ? A === "svg" : k.namespaceURI === Un ? A === "svg" && (Q === "annotation-xml" || Wn[Q]) : !!Oo[A] : d.namespaceURI === Un ? k.namespaceURI === ot ? A === "math" : k.namespaceURI === Vn ? A === "math" && Kn[Q] : !!Bo[A] : d.namespaceURI === ot ? k.namespaceURI === Vn && !Kn[Q] || k.namespaceURI === Un && !Wn[Q] ? !1 : !Bo[A] && (fs[A] || !Oo[A]) : !!(ln === "application/xhtml+xml" && Tr[d.namespaceURI]) : !1;
|
|
6438
6438
|
}, Ge = function(d) {
|
|
6439
6439
|
dn(e.removed, {
|
|
6440
6440
|
element: d
|
|
@@ -6468,12 +6468,12 @@ function ls() {
|
|
|
6468
6468
|
} catch {
|
|
6469
6469
|
}
|
|
6470
6470
|
}, Mo = function(d) {
|
|
6471
|
-
let k = null,
|
|
6471
|
+
let k = null, A = null;
|
|
6472
6472
|
if (on)
|
|
6473
6473
|
d = "<remove></remove>" + d;
|
|
6474
6474
|
else {
|
|
6475
6475
|
const ie = Hr(d, /^[\r\n\t ]+/);
|
|
6476
|
-
|
|
6476
|
+
A = ie && ie[0];
|
|
6477
6477
|
}
|
|
6478
6478
|
ln === "application/xhtml+xml" && jt === ot && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
|
|
6479
6479
|
const Q = C ? C.createHTML(d) : d;
|
|
@@ -6485,12 +6485,12 @@ function ls() {
|
|
|
6485
6485
|
if (!k || !k.documentElement) {
|
|
6486
6486
|
k = te.createDocument(jt, "template", null);
|
|
6487
6487
|
try {
|
|
6488
|
-
k.documentElement.innerHTML =
|
|
6488
|
+
k.documentElement.innerHTML = Ar ? T : Q;
|
|
6489
6489
|
} catch {
|
|
6490
6490
|
}
|
|
6491
6491
|
}
|
|
6492
6492
|
const he = k.body || k.documentElement;
|
|
6493
|
-
return d &&
|
|
6493
|
+
return d && A && he.insertBefore(n.createTextNode(A), he.childNodes[0] || null), jt === ot ? fe.call(k, rt ? "html" : "body")[0] : rt ? k.documentElement : he;
|
|
6494
6494
|
}, Do = function(d) {
|
|
6495
6495
|
return ue.call(
|
|
6496
6496
|
d.ownerDocument || d,
|
|
@@ -6505,42 +6505,42 @@ function ls() {
|
|
|
6505
6505
|
return typeof s == "function" && d instanceof s;
|
|
6506
6506
|
};
|
|
6507
6507
|
function at(I, d, k) {
|
|
6508
|
-
Jn(I, (
|
|
6509
|
-
|
|
6508
|
+
Jn(I, (A) => {
|
|
6509
|
+
A.call(e, d, k, Ht);
|
|
6510
6510
|
});
|
|
6511
6511
|
}
|
|
6512
6512
|
const No = function(d) {
|
|
6513
6513
|
let k = null;
|
|
6514
6514
|
if (at(P.beforeSanitizeElements, d, null), Er(d))
|
|
6515
6515
|
return Ge(d), !0;
|
|
6516
|
-
const
|
|
6516
|
+
const A = se(d.nodeName);
|
|
6517
6517
|
if (at(P.uponSanitizeElement, d, {
|
|
6518
|
-
tagName:
|
|
6518
|
+
tagName: A,
|
|
6519
6519
|
allowedTags: V
|
|
6520
6520
|
}), Mt && d.hasChildNodes() && !Ro(d.firstElementChild) && we(/<[/\w!]/g, d.innerHTML) && we(/<[/\w!]/g, d.textContent) || d.nodeType === hn.progressingInstruction || Mt && d.nodeType === hn.comment && we(/<[/\w]/g, d.data))
|
|
6521
6521
|
return Ge(d), !0;
|
|
6522
|
-
if (!(We.tagCheck instanceof Function && We.tagCheck(
|
|
6523
|
-
if (!dt[
|
|
6522
|
+
if (!(We.tagCheck instanceof Function && We.tagCheck(A)) && (!V[A] || dt[A])) {
|
|
6523
|
+
if (!dt[A] && Ho(A) && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, A) || J.tagNameCheck instanceof Function && J.tagNameCheck(A)))
|
|
6524
6524
|
return !1;
|
|
6525
|
-
if (an && !Ke[
|
|
6525
|
+
if (an && !Ke[A]) {
|
|
6526
6526
|
const Q = L(d) || d.parentNode, he = S(d) || d.childNodes;
|
|
6527
6527
|
if (he && Q) {
|
|
6528
6528
|
const ie = he.length;
|
|
6529
|
-
for (let
|
|
6530
|
-
const it = g(he[
|
|
6529
|
+
for (let Ae = ie - 1; Ae >= 0; --Ae) {
|
|
6530
|
+
const it = g(he[Ae], !0);
|
|
6531
6531
|
it.__removalCount = (d.__removalCount || 0) + 1, Q.insertBefore(it, v(d));
|
|
6532
6532
|
}
|
|
6533
6533
|
}
|
|
6534
6534
|
}
|
|
6535
6535
|
return Ge(d), !0;
|
|
6536
6536
|
}
|
|
6537
|
-
return d instanceof i && !vs(d) || (
|
|
6537
|
+
return d instanceof i && !vs(d) || (A === "noscript" || A === "noembed" || A === "noframes") && we(/<\/no(script|embed|frames)/i, d.innerHTML) ? (Ge(d), !0) : (mt && d.nodeType === hn.text && (k = d.textContent, Jn([K, pe, be], (Q) => {
|
|
6538
6538
|
k = mn(k, Q, " ");
|
|
6539
6539
|
}), d.textContent !== k && (dn(e.removed, {
|
|
6540
6540
|
element: d.cloneNode()
|
|
6541
6541
|
}), d.textContent = k)), at(P.afterSanitizeElements, d, null), !1);
|
|
6542
|
-
}, jo = function(d, k,
|
|
6543
|
-
if (Bt[k] || Fn && (k === "id" || k === "name") && (
|
|
6542
|
+
}, jo = function(d, k, A) {
|
|
6543
|
+
if (Bt[k] || Fn && (k === "id" || k === "name") && (A in n || A in gs))
|
|
6544
6544
|
return !1;
|
|
6545
6545
|
if (!(nn && !Bt[k] && we(je, k))) {
|
|
6546
6546
|
if (!(Nn && we(ct, k))) {
|
|
@@ -6552,13 +6552,13 @@ function ls() {
|
|
|
6552
6552
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
6553
6553
|
!(Ho(d) && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, d) || J.tagNameCheck instanceof Function && J.tagNameCheck(d)) && (J.attributeNameCheck instanceof RegExp && we(J.attributeNameCheck, k) || J.attributeNameCheck instanceof Function && J.attributeNameCheck(k, d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
6554
6554
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6555
|
-
k === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck,
|
|
6555
|
+
k === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, A) || J.tagNameCheck instanceof Function && J.tagNameCheck(A)))
|
|
6556
6556
|
) return !1;
|
|
6557
|
-
} else if (!
|
|
6558
|
-
if (!we(Me, mn(
|
|
6559
|
-
if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && qf(
|
|
6560
|
-
if (!(jn && !we(et, mn(
|
|
6561
|
-
if (
|
|
6557
|
+
} else if (!xr[k]) {
|
|
6558
|
+
if (!we(Me, mn(A, tt, ""))) {
|
|
6559
|
+
if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && qf(A, "data:") === 0 && Eo[d])) {
|
|
6560
|
+
if (!(jn && !we(et, mn(A, tt, "")))) {
|
|
6561
|
+
if (A)
|
|
6562
6562
|
return !1;
|
|
6563
6563
|
}
|
|
6564
6564
|
}
|
|
@@ -6577,7 +6577,7 @@ function ls() {
|
|
|
6577
6577
|
} = d;
|
|
6578
6578
|
if (!k || Er(d))
|
|
6579
6579
|
return;
|
|
6580
|
-
const
|
|
6580
|
+
const A = {
|
|
6581
6581
|
attrName: "",
|
|
6582
6582
|
attrValue: "",
|
|
6583
6583
|
keepAttr: !0,
|
|
@@ -6588,11 +6588,11 @@ function ls() {
|
|
|
6588
6588
|
for (; Q--; ) {
|
|
6589
6589
|
const he = k[Q], {
|
|
6590
6590
|
name: ie,
|
|
6591
|
-
namespaceURI:
|
|
6591
|
+
namespaceURI: Ae,
|
|
6592
6592
|
value: it
|
|
6593
6593
|
} = he, Ft = se(ie), Pr = it;
|
|
6594
6594
|
let de = ie === "value" ? Pr : Yf(Pr);
|
|
6595
|
-
if (
|
|
6595
|
+
if (A.attrName = Ft, A.attrValue = de, A.keepAttr = !0, A.forceKeepAttr = void 0, at(P.uponSanitizeAttribute, d, A), de = A.attrValue, zn && (Ft === "id" || Ft === "name") && (yt(ie, d), de = _r + de), Mt && we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, de)) {
|
|
6596
6596
|
yt(ie, d);
|
|
6597
6597
|
continue;
|
|
6598
6598
|
}
|
|
@@ -6600,9 +6600,9 @@ function ls() {
|
|
|
6600
6600
|
yt(ie, d);
|
|
6601
6601
|
continue;
|
|
6602
6602
|
}
|
|
6603
|
-
if (
|
|
6603
|
+
if (A.forceKeepAttr)
|
|
6604
6604
|
continue;
|
|
6605
|
-
if (!
|
|
6605
|
+
if (!A.keepAttr) {
|
|
6606
6606
|
yt(ie, d);
|
|
6607
6607
|
continue;
|
|
6608
6608
|
}
|
|
@@ -6618,7 +6618,7 @@ function ls() {
|
|
|
6618
6618
|
yt(ie, d);
|
|
6619
6619
|
continue;
|
|
6620
6620
|
}
|
|
6621
|
-
if (C && typeof p == "object" && typeof p.getAttributeType == "function" && !
|
|
6621
|
+
if (C && typeof p == "object" && typeof p.getAttributeType == "function" && !Ae)
|
|
6622
6622
|
switch (p.getAttributeType(zo, Ft)) {
|
|
6623
6623
|
case "TrustedHTML": {
|
|
6624
6624
|
de = C.createHTML(de);
|
|
@@ -6631,7 +6631,7 @@ function ls() {
|
|
|
6631
6631
|
}
|
|
6632
6632
|
if (de !== Pr)
|
|
6633
6633
|
try {
|
|
6634
|
-
|
|
6634
|
+
Ae ? d.setAttributeNS(Ae, ie, de) : d.setAttribute(ie, de), Er(d) ? Ge(d) : $a(e.removed);
|
|
6635
6635
|
} catch {
|
|
6636
6636
|
yt(ie, d);
|
|
6637
6637
|
}
|
|
@@ -6639,14 +6639,14 @@ function ls() {
|
|
|
6639
6639
|
at(P.afterSanitizeAttributes, d, null);
|
|
6640
6640
|
}, bs = function I(d) {
|
|
6641
6641
|
let k = null;
|
|
6642
|
-
const
|
|
6643
|
-
for (at(P.beforeSanitizeShadowDOM, d, null); k =
|
|
6642
|
+
const A = Do(d);
|
|
6643
|
+
for (at(P.beforeSanitizeShadowDOM, d, null); k = A.nextNode(); )
|
|
6644
6644
|
at(P.uponSanitizeShadowNode, k, null), No(k), Fo(k), k.content instanceof a && I(k.content);
|
|
6645
6645
|
at(P.afterSanitizeShadowDOM, d, null);
|
|
6646
6646
|
};
|
|
6647
6647
|
return e.sanitize = function(I) {
|
|
6648
|
-
let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null,
|
|
6649
|
-
if (
|
|
6648
|
+
let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null, A = null, Q = null, he = null;
|
|
6649
|
+
if (Ar = !I, Ar && (I = "<!-->"), typeof I != "string" && !Ro(I))
|
|
6650
6650
|
if (typeof I.toString == "function") {
|
|
6651
6651
|
if (I = I.toString(), typeof I != "string")
|
|
6652
6652
|
throw fn("dirty is not a string, aborting");
|
|
@@ -6661,7 +6661,7 @@ function ls() {
|
|
|
6661
6661
|
throw fn("root node is forbidden and cannot be sanitized in-place");
|
|
6662
6662
|
}
|
|
6663
6663
|
} else if (I instanceof s)
|
|
6664
|
-
k = Mo("<!---->"),
|
|
6664
|
+
k = Mo("<!---->"), A = k.ownerDocument.importNode(I, !0), A.nodeType === hn.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? k = A : k.appendChild(A);
|
|
6665
6665
|
else {
|
|
6666
6666
|
if (!ft && !mt && !rt && // eslint-disable-next-line unicorn/prefer-includes
|
|
6667
6667
|
I.indexOf("<") === -1)
|
|
@@ -6683,11 +6683,11 @@ function ls() {
|
|
|
6683
6683
|
he = k;
|
|
6684
6684
|
return (ne.shadowroot || ne.shadowrootmode) && (he = Be.call(r, he, !0)), he;
|
|
6685
6685
|
}
|
|
6686
|
-
let
|
|
6687
|
-
return rt && V["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && we(ss, k.ownerDocument.doctype.name) && (
|
|
6688
|
-
` +
|
|
6689
|
-
|
|
6690
|
-
}), C && Rt ? C.createHTML(
|
|
6686
|
+
let Ae = rt ? k.outerHTML : k.innerHTML;
|
|
6687
|
+
return rt && V["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && we(ss, k.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + k.ownerDocument.doctype.name + `>
|
|
6688
|
+
` + Ae), mt && Jn([K, pe, be], (it) => {
|
|
6689
|
+
Ae = mn(Ae, it, " ");
|
|
6690
|
+
}), C && Rt ? C.createHTML(Ae) : Ae;
|
|
6691
6691
|
}, e.setConfig = function() {
|
|
6692
6692
|
let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6693
6693
|
Ir(I), rn = !0;
|
|
@@ -6695,8 +6695,8 @@ function ls() {
|
|
|
6695
6695
|
Ht = null, rn = !1;
|
|
6696
6696
|
}, e.isValidAttribute = function(I, d, k) {
|
|
6697
6697
|
Ht || Ir({});
|
|
6698
|
-
const
|
|
6699
|
-
return jo(
|
|
6698
|
+
const A = se(I), Q = se(d);
|
|
6699
|
+
return jo(A, Q, k);
|
|
6700
6700
|
}, e.addHook = function(I, d) {
|
|
6701
6701
|
typeof d == "function" && dn(P[I], d);
|
|
6702
6702
|
}, e.removeHook = function(I, d) {
|
|
@@ -7024,7 +7024,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7024
7024
|
}, {
|
|
7025
7025
|
default: le(() => [
|
|
7026
7026
|
W(i.$slots, "content", Ct(_t({ resolve: r, reject: o })), () => [
|
|
7027
|
-
$(a)?.detail.options?.title ? (_(),
|
|
7027
|
+
$(a)?.detail.options?.title ? (_(), x("div", vp, [
|
|
7028
7028
|
b("b", null, G($(a)?.detail.options.title), 1)
|
|
7029
7029
|
])) : F("", !0),
|
|
7030
7030
|
b("div", bp, [
|
|
@@ -7082,7 +7082,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7082
7082
|
onClick: l[0] || (l[0] = (s) => o("login"))
|
|
7083
7083
|
}));
|
|
7084
7084
|
}
|
|
7085
|
-
}), _p = { class: "nav-menu-header" }, Sp = { class: "nav-menu-inner-close" },
|
|
7085
|
+
}), _p = { class: "nav-menu-header" }, Sp = { class: "nav-menu-inner-close" }, xp = { class: "main-content" }, Ap = { class: "page-title" }, Tp = { class: "action" }, Ip = { id: "content" }, Ep = {
|
|
7086
7086
|
key: 0,
|
|
7087
7087
|
id: "logging-out"
|
|
7088
7088
|
}, Pp = { class: "info-fazenda" }, $p = { class: "font-bold" }, Lp = { class: "info-endereco text-muted" }, Op = { class: "footer-right" }, Bp = /* @__PURE__ */ re({
|
|
@@ -7125,7 +7125,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7125
7125
|
}
|
|
7126
7126
|
});
|
|
7127
7127
|
const y = e;
|
|
7128
|
-
return (v, S) => (_(),
|
|
7128
|
+
return (v, S) => (_(), x("main", {
|
|
7129
7129
|
ref_key: "mainRef",
|
|
7130
7130
|
ref: f,
|
|
7131
7131
|
class: N({
|
|
@@ -7151,7 +7151,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7151
7151
|
]),
|
|
7152
7152
|
W(v.$slots, "nav-menu", {}, void 0, !0)
|
|
7153
7153
|
], 2),
|
|
7154
|
-
b("div",
|
|
7154
|
+
b("div", xp, [
|
|
7155
7155
|
b("div", {
|
|
7156
7156
|
id: "top-bar",
|
|
7157
7157
|
class: N({ "shadow-bottom": $(l) > 72 })
|
|
@@ -7162,7 +7162,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7162
7162
|
tooltip: "Menu",
|
|
7163
7163
|
onClick: $(s)
|
|
7164
7164
|
}, null, 8, ["icon", "onClick"]),
|
|
7165
|
-
b("div",
|
|
7165
|
+
b("div", Ap, G($(m) ? "Saindo..." : $(a)), 1),
|
|
7166
7166
|
S[2] || (S[2] = b("span", { class: "sep" }, null, -1)),
|
|
7167
7167
|
b("div", Tp, [
|
|
7168
7168
|
q(De, {
|
|
@@ -7183,7 +7183,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7183
7183
|
])
|
|
7184
7184
|
], 2),
|
|
7185
7185
|
b("div", Ip, [
|
|
7186
|
-
$(m) ? (_(),
|
|
7186
|
+
$(m) ? (_(), x("div", Ep, [
|
|
7187
7187
|
q(Wa)
|
|
7188
7188
|
])) : W(v.$slots, "content", { key: 1 }, void 0, !0)
|
|
7189
7189
|
])
|
|
@@ -7225,7 +7225,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7225
7225
|
}
|
|
7226
7226
|
}), Mp = { class: "sf-tabs" }, Dp = ["onClick", "onKeydown"], Rp = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], Np = ["id", "aria-labelledby", "aria-hidden"], ch = /* @__PURE__ */ re({
|
|
7227
7227
|
__name: "Tabs",
|
|
7228
|
-
props: /* @__PURE__ */
|
|
7228
|
+
props: /* @__PURE__ */ As({
|
|
7229
7229
|
tabs: {},
|
|
7230
7230
|
dense: { type: Boolean }
|
|
7231
7231
|
}, {
|
|
@@ -7236,7 +7236,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7236
7236
|
}),
|
|
7237
7237
|
emits: ["update:activeTab"],
|
|
7238
7238
|
setup(t) {
|
|
7239
|
-
const e = t, n =
|
|
7239
|
+
const e = t, n = xs(t, "activeTab");
|
|
7240
7240
|
let r = n.value;
|
|
7241
7241
|
qt(
|
|
7242
7242
|
() => n.value,
|
|
@@ -7295,13 +7295,13 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7295
7295
|
};
|
|
7296
7296
|
return $t(() => {
|
|
7297
7297
|
m();
|
|
7298
|
-
}), (f, p) => (_(),
|
|
7298
|
+
}), (f, p) => (_(), x("div", Mp, [
|
|
7299
7299
|
b("ul", {
|
|
7300
7300
|
role: "tablist",
|
|
7301
7301
|
"aria-orientation": "horizontal",
|
|
7302
7302
|
class: N({ dense: e.dense })
|
|
7303
7303
|
}, [
|
|
7304
|
-
(_(!0),
|
|
7304
|
+
(_(!0), x(ke, null, It(e.tabs, (w, g) => (_(), x("li", {
|
|
7305
7305
|
key: c(g),
|
|
7306
7306
|
onClick: (y) => l(g),
|
|
7307
7307
|
onKeydown: (y) => i(y, g)
|
|
@@ -7316,7 +7316,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7316
7316
|
}, G(w.text), 9, Rp)
|
|
7317
7317
|
], 40, Dp))), 128))
|
|
7318
7318
|
], 2),
|
|
7319
|
-
(_(!0),
|
|
7319
|
+
(_(!0), x(ke, null, It(e.tabs, (w, g) => (_(), x("div", {
|
|
7320
7320
|
key: u(g),
|
|
7321
7321
|
id: u(g),
|
|
7322
7322
|
role: "tabpanel",
|
|
@@ -8417,6 +8417,9 @@ const mh = (t) => {
|
|
|
8417
8417
|
}
|
|
8418
8418
|
},
|
|
8419
8419
|
tooltip: {
|
|
8420
|
+
root: {
|
|
8421
|
+
maxWidth: "min(75dvw, 360px)"
|
|
8422
|
+
},
|
|
8420
8423
|
colorScheme: {
|
|
8421
8424
|
light: {
|
|
8422
8425
|
root: {
|