@luizleon/sf.prefeiturasp.vuecomponents 5.0.49 → 5.0.51
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/sf.prefeiturasp.vuecomponents.css +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.js +74 -74
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/types/components/navmenu/NavMenu.vue.d.ts.map +1 -1
- package/dist/types/index.d.ts +12 -4
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ks = Object.defineProperty;
|
|
2
2
|
var zs = (t, e, n) => e in t ? Ks(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var ne = (t, e, n) => zs(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { defineComponent as De, onBeforeUnmount as Ei, createElementBlock as U, openBlock as O, unref as ae, renderSlot as me, createElementVNode as $, computed as
|
|
4
|
+
import { defineComponent as De, onBeforeUnmount as Ei, createElementBlock as U, openBlock as O, unref as ae, renderSlot as me, createElementVNode as $, computed as ce, createBlock as pe, resolveDynamicComponent as yt, normalizeClass as ee, withCtx as pt, createCommentVNode as se, normalizeStyle as jt, Fragment as Xe, mergeProps as W, toDisplayString as $e, ref as oe, onMounted as Vt, resolveComponent as Sn, renderList as Ur, useSlots as Hr, watch as Wn, Teleport as Ws, withModifiers as Ir, createVNode as Ee, Transition as jr, normalizeProps as Hn, guardReactiveProps as jn, readonly as Gs, getCurrentInstance as Pi, nextTick as xi, resolveDirective as qs, withDirectives as Tr, vShow as Li, getCurrentScope as Ys, onScopeDispose as Xs, toValue as Oi, inject as Zs, onBeforeMount as Js, createTextVNode as Po, watchEffect as Qs } from "vue";
|
|
5
5
|
import { useRouter as ea } from "vue-router";
|
|
6
6
|
class fn {
|
|
7
7
|
/**
|
|
@@ -164,9 +164,9 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
|
|
|
164
164
|
},
|
|
165
165
|
emits: ["click"],
|
|
166
166
|
setup(t, { emit: e }) {
|
|
167
|
-
const n = t, r =
|
|
167
|
+
const n = t, r = ce(
|
|
168
168
|
() => n.tooltip ? ta : "div"
|
|
169
|
-
), o =
|
|
169
|
+
), o = ce(() => new fn(n.tooltip ? "" : "display-content").AddClass("loading", n.loading).AddClass("disabled", n.disabled).Build()), i = ce(() => new fn(`${n.class} sf-icon`).AddClass("select-none").AddClass(
|
|
170
170
|
`${n.color}-color`,
|
|
171
171
|
!!n.color && n.color !== "inherit"
|
|
172
172
|
).Build()), a = (l) => {
|
|
@@ -532,7 +532,7 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
|
|
|
532
532
|
icon: {}
|
|
533
533
|
},
|
|
534
534
|
setup(t) {
|
|
535
|
-
const e = t, n =
|
|
535
|
+
const e = t, n = ce(() => {
|
|
536
536
|
if (e.icon) return e.icon;
|
|
537
537
|
switch (e.color) {
|
|
538
538
|
case "error":
|
|
@@ -548,7 +548,7 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
|
|
|
548
548
|
default:
|
|
549
549
|
return null;
|
|
550
550
|
}
|
|
551
|
-
}), r =
|
|
551
|
+
}), r = ce(() => new fn("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());
|
|
552
552
|
return (o, i) => (O(), U("div", {
|
|
553
553
|
class: ee(r.value),
|
|
554
554
|
"data-icon": n.value
|
|
@@ -923,7 +923,7 @@ var We = {
|
|
|
923
923
|
const { preset: u, options: d } = e;
|
|
924
924
|
let m, g, _, k;
|
|
925
925
|
if (Q(u)) {
|
|
926
|
-
const { primitive: A, semantic: P } = u, w = P || {}, { colorScheme: b } = w, N = Zt(w, ["colorScheme"]), H = b || {}, { dark: Y } = H, ge = Zt(H, ["dark"]), le = Q(A) ? this._toVariables({ primitive: A }, d) : {}, Be = Q(N) ? this._toVariables({ semantic: N }, d) : {},
|
|
926
|
+
const { primitive: A, semantic: P } = u, w = P || {}, { colorScheme: b } = w, N = Zt(w, ["colorScheme"]), H = b || {}, { dark: Y } = H, ge = Zt(H, ["dark"]), le = Q(A) ? this._toVariables({ primitive: A }, d) : {}, Be = Q(N) ? this._toVariables({ semantic: N }, d) : {}, ue = Q(ge) ? this._toVariables({ light: ge }, d) : {}, X = Q(Y) ? this._toVariables({ dark: Y }, d) : {}, [D, J] = [(i = le.declarations) != null ? i : "", le.tokens], [ve, ye] = [(a = Be.declarations) != null ? a : "", Be.tokens || []], [Je, ot] = [(s = ue.declarations) != null ? s : "", ue.tokens || []], [Qe, et] = [(l = X.declarations) != null ? l : "", X.tokens || []];
|
|
927
927
|
m = this.transformCSS(t, D, "light", "variable", d, r, o), g = J;
|
|
928
928
|
const kt = this.transformCSS(t, `${ve}${Je}color-scheme:light`, "light", "variable", d, r, o), Fe = this.transformCSS(t, `${Qe}color-scheme:dark`, "dark", "variable", d, r, o);
|
|
929
929
|
_ = `${kt}${Fe}`, k = [.../* @__PURE__ */ new Set([...ye, ...ot, ...et])];
|
|
@@ -941,7 +941,7 @@ var We = {
|
|
|
941
941
|
},
|
|
942
942
|
getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: i, selector: a }) {
|
|
943
943
|
var s, l, u;
|
|
944
|
-
const d = t.replace("-directive", ""), m = e, { colorScheme: g } = m, _ = Zt(m, ["colorScheme"]), k = g || {}, { dark: A } = k, P = Zt(k, ["dark"]), w = Q(_) ? this._toVariables({ [d]: _ }, n) : {}, b = Q(P) ? this._toVariables({ [d]: P }, n) : {}, N = Q(A) ? this._toVariables({ [d]: A }, n) : {}, [H, Y] = [(s = w.declarations) != null ? s : "", w.tokens || []], [ge, le] = [(l = b.declarations) != null ? l : "", b.tokens || []], [Be,
|
|
944
|
+
const d = t.replace("-directive", ""), m = e, { colorScheme: g } = m, _ = Zt(m, ["colorScheme"]), k = g || {}, { dark: A } = k, P = Zt(k, ["dark"]), w = Q(_) ? this._toVariables({ [d]: _ }, n) : {}, b = Q(P) ? this._toVariables({ [d]: P }, n) : {}, N = Q(A) ? this._toVariables({ [d]: A }, n) : {}, [H, Y] = [(s = w.declarations) != null ? s : "", w.tokens || []], [ge, le] = [(l = b.declarations) != null ? l : "", b.tokens || []], [Be, ue] = [(u = N.declarations) != null ? u : "", N.tokens || []], X = [.../* @__PURE__ */ new Set([...Y, ...le, ...ue])], D = this.transformCSS(d, `${H}${ge}`, "light", "variable", n, o, i, a), J = this.transformCSS(d, Be, "dark", "variable", n, o, i, a);
|
|
945
945
|
return {
|
|
946
946
|
css: `${D}${J}`,
|
|
947
947
|
tokens: X
|
|
@@ -1228,7 +1228,7 @@ function za(t) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
var Wa = 0;
|
|
1230
1230
|
function Ga(t) {
|
|
1231
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), r = oe(t), o = oe(null), i = Ea() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, _ = g === void 0 ? "style_".concat(++Wa) : g, k = e.id, A = k === void 0 ? void 0 : k, P = e.media, w = P === void 0 ? void 0 : P, b = e.nonce, N = b === void 0 ? void 0 : b, H = e.first, Y = H === void 0 ? !1 : H, ge = e.onMounted, le = ge === void 0 ? void 0 : ge, Be = e.onUpdated,
|
|
1231
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), r = oe(t), o = oe(null), i = Ea() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, _ = g === void 0 ? "style_".concat(++Wa) : g, k = e.id, A = k === void 0 ? void 0 : k, P = e.media, w = P === void 0 ? void 0 : P, b = e.nonce, N = b === void 0 ? void 0 : b, H = e.first, Y = H === void 0 ? !1 : H, ge = e.onMounted, le = ge === void 0 ? void 0 : ge, Be = e.onUpdated, ue = Be === void 0 ? void 0 : Be, X = e.onLoad, D = X === void 0 ? void 0 : X, J = e.props, ve = J === void 0 ? {} : J, ye = function() {
|
|
1232
1232
|
}, Je = function(et) {
|
|
1233
1233
|
var kt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1234
1234
|
if (s) {
|
|
@@ -1243,7 +1243,7 @@ function Ga(t) {
|
|
|
1243
1243
|
name: c
|
|
1244
1244
|
});
|
|
1245
1245
|
}, le == null || le(c)), !n.value && (ye = Wn(r, function(T) {
|
|
1246
|
-
o.value.textContent = T,
|
|
1246
|
+
o.value.textContent = T, ue == null || ue(c);
|
|
1247
1247
|
}, {
|
|
1248
1248
|
immediate: !0
|
|
1249
1249
|
}), n.value = !0);
|
|
@@ -3780,61 +3780,61 @@ const cc = { class: "panel-menu-wrapper select-none" }, uc = ["data-active", "on
|
|
|
3780
3780
|
items: {}
|
|
3781
3781
|
},
|
|
3782
3782
|
setup(t) {
|
|
3783
|
-
const e = t, n = (
|
|
3784
|
-
|
|
3785
|
-
}, r = (
|
|
3786
|
-
|
|
3787
|
-
}, o = (
|
|
3788
|
-
return (
|
|
3789
|
-
const
|
|
3783
|
+
const e = t, n = (s, l) => {
|
|
3784
|
+
s.disabled || s.command && typeof s.command == "function" || l();
|
|
3785
|
+
}, r = (s, l) => {
|
|
3786
|
+
l.disabled || typeof l.command == "function" && l.command(s);
|
|
3787
|
+
}, o = (s) => typeof s.label == "function" ? s.label() : s.label ?? "Item", i = (s, l, u) => s.to ? (s.exact = s.exact ?? !1, s.exact ? u : l) : !1, a = ce(() => e.items.filter((s) => s.visible === !1 ? !1 : typeof s.visible == "function" ? s.visible() === !0 : !0));
|
|
3788
|
+
return (s, l) => {
|
|
3789
|
+
const u = Sn("router-link");
|
|
3790
3790
|
return O(), U("div", cc, [
|
|
3791
3791
|
Ee(ae(Gi), {
|
|
3792
|
-
model:
|
|
3792
|
+
model: a.value,
|
|
3793
3793
|
unstyled: !0
|
|
3794
3794
|
}, {
|
|
3795
|
-
item: pt(({ item:
|
|
3796
|
-
|
|
3795
|
+
item: pt(({ item: d, active: m }) => [
|
|
3796
|
+
d.to ? (O(), pe(u, {
|
|
3797
3797
|
key: 0,
|
|
3798
|
-
to:
|
|
3798
|
+
to: d.to,
|
|
3799
3799
|
custom: ""
|
|
3800
3800
|
}, {
|
|
3801
|
-
default: pt(({ navigate:
|
|
3801
|
+
default: pt(({ navigate: g, isExactActive: _, isActive: k }) => [
|
|
3802
3802
|
$("a", {
|
|
3803
3803
|
class: ee([
|
|
3804
3804
|
"item-menu",
|
|
3805
3805
|
{
|
|
3806
|
-
disabled:
|
|
3806
|
+
disabled: d.disabled
|
|
3807
3807
|
}
|
|
3808
3808
|
]),
|
|
3809
|
-
"data-active": i(
|
|
3810
|
-
onClick: Ir((
|
|
3809
|
+
"data-active": i(d, k, _),
|
|
3810
|
+
onClick: Ir((A) => n(d, g), ["prevent"])
|
|
3811
3811
|
}, [
|
|
3812
|
-
|
|
3812
|
+
d.icon ? (O(), U("span", dc, $e(d.icon), 1)) : se("", !0),
|
|
3813
3813
|
$("span", {
|
|
3814
|
-
textContent: $e(o(
|
|
3814
|
+
textContent: $e(o(d))
|
|
3815
3815
|
}, null, 8, fc)
|
|
3816
3816
|
], 10, uc)
|
|
3817
3817
|
]),
|
|
3818
3818
|
_: 2
|
|
3819
|
-
}, 1032, ["to"])) : typeof
|
|
3819
|
+
}, 1032, ["to"])) : typeof d.command == "function" ? (O(), U("span", {
|
|
3820
3820
|
key: 1,
|
|
3821
|
-
class: ee(["item-menu", { disabled:
|
|
3822
|
-
onClick: Ir((
|
|
3821
|
+
class: ee(["item-menu", { disabled: d.disabled }]),
|
|
3822
|
+
onClick: Ir((g) => r(g, d), ["stop"])
|
|
3823
3823
|
}, [
|
|
3824
|
-
|
|
3824
|
+
d.icon ? (O(), U("span", pc, $e(d.icon), 1)) : se("", !0),
|
|
3825
3825
|
$("span", {
|
|
3826
|
-
textContent: $e(o(
|
|
3826
|
+
textContent: $e(o(d))
|
|
3827
3827
|
}, null, 8, hc)
|
|
3828
3828
|
], 10, mc)) : (O(), U("a", gc, [
|
|
3829
|
-
|
|
3829
|
+
d.icon ? (O(), U("span", vc, $e(d.icon), 1)) : se("", !0),
|
|
3830
3830
|
$("span", {
|
|
3831
|
-
textContent: $e(o(
|
|
3831
|
+
textContent: $e(o(d))
|
|
3832
3832
|
}, null, 8, yc),
|
|
3833
|
-
|
|
3833
|
+
l[0] || (l[0] = $("div", { class: "sep" }, null, -1)),
|
|
3834
3834
|
$("span", {
|
|
3835
3835
|
class: ee([
|
|
3836
3836
|
"material-symbols-outlined arrow",
|
|
3837
|
-
{ "--expand":
|
|
3837
|
+
{ "--expand": m }
|
|
3838
3838
|
])
|
|
3839
3839
|
}, " chevron_right ", 2)
|
|
3840
3840
|
]))
|
|
@@ -3844,7 +3844,7 @@ const cc = { class: "panel-menu-wrapper select-none" }, uc = ["data-active", "on
|
|
|
3844
3844
|
]);
|
|
3845
3845
|
};
|
|
3846
3846
|
}
|
|
3847
|
-
}), Nm = /* @__PURE__ */ St(bc, [["__scopeId", "data-v-
|
|
3847
|
+
}), Nm = /* @__PURE__ */ St(bc, [["__scopeId", "data-v-17765f50"]]), Bm = /* @__PURE__ */ De({
|
|
3848
3848
|
__name: "HelpButton",
|
|
3849
3849
|
props: {
|
|
3850
3850
|
title: {},
|
|
@@ -5505,7 +5505,7 @@ function Ps() {
|
|
|
5505
5505
|
implementation: ge,
|
|
5506
5506
|
createNodeIterator: le,
|
|
5507
5507
|
createDocumentFragment: Be,
|
|
5508
|
-
getElementsByTagName:
|
|
5508
|
+
getElementsByTagName: ue
|
|
5509
5509
|
} = n, {
|
|
5510
5510
|
importNode: X
|
|
5511
5511
|
} = r;
|
|
@@ -5622,8 +5622,8 @@ function Ps() {
|
|
|
5622
5622
|
if (it)
|
|
5623
5623
|
f = "<remove></remove>" + f;
|
|
5624
5624
|
else {
|
|
5625
|
-
const
|
|
5626
|
-
M =
|
|
5625
|
+
const de = hi(f, /^[\r\n\t ]+/);
|
|
5626
|
+
M = de && de[0];
|
|
5627
5627
|
}
|
|
5628
5628
|
qt === "application/xhtml+xml" && Mt === st && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
|
|
5629
5629
|
const ie = H ? H.createHTML(f) : f;
|
|
@@ -5640,7 +5640,7 @@ function Ps() {
|
|
|
5640
5640
|
}
|
|
5641
5641
|
}
|
|
5642
5642
|
const _e = I.body || I.documentElement;
|
|
5643
|
-
return f && M && _e.insertBefore(n.createTextNode(M), _e.childNodes[0] || null), Mt === st ?
|
|
5643
|
+
return f && M && _e.insertBefore(n.createTextNode(M), _e.childNodes[0] || null), Mt === st ? ue.call(I, be ? "html" : "body")[0] : be ? I.documentElement : _e;
|
|
5644
5644
|
}, _o = function(f) {
|
|
5645
5645
|
return le.call(
|
|
5646
5646
|
f.ownerDocument || f,
|
|
@@ -5675,8 +5675,8 @@ function Ps() {
|
|
|
5675
5675
|
if (ir && !$t[M]) {
|
|
5676
5676
|
const ie = N(f) || f.parentNode, _e = b(f) || f.childNodes;
|
|
5677
5677
|
if (_e && ie) {
|
|
5678
|
-
const
|
|
5679
|
-
for (let Oe =
|
|
5678
|
+
const de = _e.length;
|
|
5679
|
+
for (let Oe = de - 1; Oe >= 0; --Oe) {
|
|
5680
5680
|
const lt = A(_e[Oe], !0);
|
|
5681
5681
|
lt.__removalCount = (f.__removalCount || 0) + 1, ie.insertBefore(lt, w(f));
|
|
5682
5682
|
}
|
|
@@ -5735,23 +5735,23 @@ function Ps() {
|
|
|
5735
5735
|
let ie = I.length;
|
|
5736
5736
|
for (; ie--; ) {
|
|
5737
5737
|
const _e = I[ie], {
|
|
5738
|
-
name:
|
|
5738
|
+
name: de,
|
|
5739
5739
|
namespaceURI: Oe,
|
|
5740
5740
|
value: lt
|
|
5741
|
-
} = _e, Yt = fe(
|
|
5742
|
-
let Se =
|
|
5743
|
-
if (M.attrName = Yt, M.attrValue = Se, M.keepAttr = !0, M.forceKeepAttr = void 0, at(D.uponSanitizeAttribute, f, M), Se = M.attrValue, fo && (Yt === "id" || Yt === "name") && (Dt(
|
|
5744
|
-
Dt(
|
|
5741
|
+
} = _e, Yt = fe(de), dr = lt;
|
|
5742
|
+
let Se = de === "value" ? dr : yf(dr);
|
|
5743
|
+
if (M.attrName = Yt, M.attrValue = Se, M.keepAttr = !0, M.forceKeepAttr = void 0, at(D.uponSanitizeAttribute, f, M), Se = M.attrValue, fo && (Yt === "id" || Yt === "name") && (Dt(de, f), Se = Ds + Se), Te && Ae(/((--!?|])>)|<\/(style|title)/i, Se)) {
|
|
5744
|
+
Dt(de, f);
|
|
5745
5745
|
continue;
|
|
5746
5746
|
}
|
|
5747
5747
|
if (M.forceKeepAttr)
|
|
5748
5748
|
continue;
|
|
5749
5749
|
if (!M.keepAttr) {
|
|
5750
|
-
Dt(
|
|
5750
|
+
Dt(de, f);
|
|
5751
5751
|
continue;
|
|
5752
5752
|
}
|
|
5753
5753
|
if (!B && Ae(/\/>/i, Se)) {
|
|
5754
|
-
Dt(
|
|
5754
|
+
Dt(de, f);
|
|
5755
5755
|
continue;
|
|
5756
5756
|
}
|
|
5757
5757
|
V && Bn([J, ve, ye], (Eo) => {
|
|
@@ -5759,7 +5759,7 @@ function Ps() {
|
|
|
5759
5759
|
});
|
|
5760
5760
|
const Ao = fe(f.nodeName);
|
|
5761
5761
|
if (!Co(Ao, Yt, Se)) {
|
|
5762
|
-
Dt(
|
|
5762
|
+
Dt(de, f);
|
|
5763
5763
|
continue;
|
|
5764
5764
|
}
|
|
5765
5765
|
if (H && typeof _ == "object" && typeof _.getAttributeType == "function" && !Oe)
|
|
@@ -5775,9 +5775,9 @@ function Ps() {
|
|
|
5775
5775
|
}
|
|
5776
5776
|
if (Se !== dr)
|
|
5777
5777
|
try {
|
|
5778
|
-
Oe ? f.setAttributeNS(Oe,
|
|
5778
|
+
Oe ? f.setAttributeNS(Oe, de, Se) : f.setAttribute(de, Se), ur(f) ? tt(f) : pi(e.removed);
|
|
5779
5779
|
} catch {
|
|
5780
|
-
Dt(
|
|
5780
|
+
Dt(de, f);
|
|
5781
5781
|
}
|
|
5782
5782
|
}
|
|
5783
5783
|
at(D.afterSanitizeAttributes, f, null);
|
|
@@ -5814,8 +5814,8 @@ function Ps() {
|
|
|
5814
5814
|
return Lt ? null : xn ? Y : "";
|
|
5815
5815
|
}
|
|
5816
5816
|
I && it && tt(I.firstChild);
|
|
5817
|
-
const
|
|
5818
|
-
for (; ie =
|
|
5817
|
+
const de = _o(Gt ? R : I);
|
|
5818
|
+
for (; ie = de.nextNode(); )
|
|
5819
5819
|
ko(ie), To(ie), ie.content instanceof i && Vs(ie.content);
|
|
5820
5820
|
if (Gt)
|
|
5821
5821
|
return R;
|
|
@@ -6698,13 +6698,13 @@ function Os(t) {
|
|
|
6698
6698
|
}
|
|
6699
6699
|
p.push("error"), p.push("error_description"), p.push("error_uri");
|
|
6700
6700
|
var y = c.indexOf("?"), T = c.indexOf("#"), v, E;
|
|
6701
|
-
if (e.responseMode === "query" && y !== -1 ? (v = c.substring(0, y), E =
|
|
6701
|
+
if (e.responseMode === "query" && y !== -1 ? (v = c.substring(0, y), E = ue(
|
|
6702
6702
|
c.substring(
|
|
6703
6703
|
y + 1,
|
|
6704
6704
|
T !== -1 ? T : c.length
|
|
6705
6705
|
),
|
|
6706
6706
|
p
|
|
6707
|
-
), E.paramsString !== "" && (v += "?" + E.paramsString), T !== -1 && (v += c.substring(T))) : e.responseMode === "fragment" && T !== -1 && (v = c.substring(0, T), E =
|
|
6707
|
+
), E.paramsString !== "" && (v += "?" + E.paramsString), T !== -1 && (v += c.substring(T))) : e.responseMode === "fragment" && T !== -1 && (v = c.substring(0, T), E = ue(
|
|
6708
6708
|
c.substring(T + 1),
|
|
6709
6709
|
p
|
|
6710
6710
|
), E.paramsString !== "" && (v += "#" + E.paramsString)), E && E.oauthParams) {
|
|
@@ -6715,7 +6715,7 @@ function Os(t) {
|
|
|
6715
6715
|
return E.oauthParams.newUrl = v, E.oauthParams;
|
|
6716
6716
|
}
|
|
6717
6717
|
}
|
|
6718
|
-
function
|
|
6718
|
+
function ue(c, p) {
|
|
6719
6719
|
for (var y = c.split("&"), T = {
|
|
6720
6720
|
paramsString: "",
|
|
6721
6721
|
oauthParams: {}
|
|
@@ -7155,14 +7155,14 @@ function em() {
|
|
|
7155
7155
|
}
|
|
7156
7156
|
function tm(t) {
|
|
7157
7157
|
const e = em();
|
|
7158
|
-
return
|
|
7158
|
+
return ce(() => (e.value, !!t()));
|
|
7159
7159
|
}
|
|
7160
7160
|
function nm(t, e, n = {}) {
|
|
7161
7161
|
const { window: r = Qf, ...o } = n;
|
|
7162
7162
|
let i;
|
|
7163
7163
|
const a = tm(() => r && "ResizeObserver" in r), s = () => {
|
|
7164
7164
|
i && (i.disconnect(), i = void 0);
|
|
7165
|
-
}, l =
|
|
7165
|
+
}, l = ce(() => {
|
|
7166
7166
|
const m = Oi(t);
|
|
7167
7167
|
return Array.isArray(m) ? m.map((g) => Ci(g)) : [Ci(m)];
|
|
7168
7168
|
}), u = Wn(
|
|
@@ -7281,7 +7281,7 @@ function im() {
|
|
|
7281
7281
|
}
|
|
7282
7282
|
}
|
|
7283
7283
|
}
|
|
7284
|
-
function
|
|
7284
|
+
function ue(D) {
|
|
7285
7285
|
var J = D;
|
|
7286
7286
|
if (typeof J == "string" && w.levels[J.toUpperCase()] !== void 0 && (J = w.levels[J.toUpperCase()]), typeof J == "number" && J >= 0 && J <= w.levels.SILENT)
|
|
7287
7287
|
return J;
|
|
@@ -7297,9 +7297,9 @@ function im() {
|
|
|
7297
7297
|
}, w.methodFactory = P || g, w.getLevel = function() {
|
|
7298
7298
|
return H ?? N ?? b;
|
|
7299
7299
|
}, w.setLevel = function(D, J) {
|
|
7300
|
-
return H =
|
|
7300
|
+
return H = ue(D), J !== !1 && ge(H), d.call(w);
|
|
7301
7301
|
}, w.setDefaultLevel = function(D) {
|
|
7302
|
-
N =
|
|
7302
|
+
N = ue(D), le() || w.setLevel(D, !1);
|
|
7303
7303
|
}, w.resetLevel = function() {
|
|
7304
7304
|
H = null, Be(), d.call(w);
|
|
7305
7305
|
}, w.enableAll = function(D) {
|
|
@@ -7307,14 +7307,14 @@ function im() {
|
|
|
7307
7307
|
}, w.disableAll = function(D) {
|
|
7308
7308
|
w.setLevel(w.levels.SILENT, D);
|
|
7309
7309
|
}, w.rebuild = function() {
|
|
7310
|
-
if (a !== w && (b =
|
|
7310
|
+
if (a !== w && (b = ue(a.getLevel())), d.call(w), a === w)
|
|
7311
7311
|
for (var D in i)
|
|
7312
7312
|
i[D].rebuild();
|
|
7313
|
-
}, b =
|
|
7313
|
+
}, b = ue(
|
|
7314
7314
|
a ? a.getLevel() : "WARN"
|
|
7315
7315
|
);
|
|
7316
7316
|
var X = le();
|
|
7317
|
-
X != null && (H =
|
|
7317
|
+
X != null && (H = ue(X)), d.call(w);
|
|
7318
7318
|
}
|
|
7319
7319
|
a = new _(), a.getLogger = function(P) {
|
|
7320
7320
|
if (typeof P != "symbol" && typeof P != "string" || P === "")
|
|
@@ -7389,13 +7389,13 @@ const zn = /* @__PURE__ */ rm(sm), Fm = {
|
|
|
7389
7389
|
isLoggingOut: s,
|
|
7390
7390
|
mainRef: u,
|
|
7391
7391
|
mainWidth: d,
|
|
7392
|
-
isMainXs:
|
|
7393
|
-
isMainSm:
|
|
7394
|
-
isMainMd:
|
|
7395
|
-
isMainLg:
|
|
7396
|
-
isMainXl:
|
|
7397
|
-
isMain2Xl:
|
|
7398
|
-
isMain3Xl:
|
|
7392
|
+
isMainXs: ce(() => d.value <= 384),
|
|
7393
|
+
isMainSm: ce(() => d.value > 384),
|
|
7394
|
+
isMainMd: ce(() => d.value > 768),
|
|
7395
|
+
isMainLg: ce(() => d.value > 992),
|
|
7396
|
+
isMainXl: ce(() => d.value > 1280),
|
|
7397
|
+
isMain2Xl: ce(() => d.value > 1536),
|
|
7398
|
+
isMain3Xl: ce(() => d.value > 1920)
|
|
7399
7399
|
}), new MutationObserver(() => {
|
|
7400
7400
|
a.value = document.documentElement.classList.contains("dark");
|
|
7401
7401
|
}).observe(document.documentElement, {
|
|
@@ -7588,7 +7588,7 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
|
|
|
7588
7588
|
}), mm = /* @__PURE__ */ St(fm, [["__scopeId", "data-v-d17f4a5f"]]), pm = /* @__PURE__ */ De({
|
|
7589
7589
|
__name: "ScrollToTop",
|
|
7590
7590
|
setup(t) {
|
|
7591
|
-
const { scrollY: e } = co(), n =
|
|
7591
|
+
const { scrollY: e } = co(), n = ce(() => e.value > 800);
|
|
7592
7592
|
function r() {
|
|
7593
7593
|
document.documentElement.scrollTo(0, 0);
|
|
7594
7594
|
}
|
|
@@ -8266,7 +8266,7 @@ function Xm() {
|
|
|
8266
8266
|
function e(l) {
|
|
8267
8267
|
t.value = l.toLocaleLowerCase();
|
|
8268
8268
|
}
|
|
8269
|
-
const n =
|
|
8269
|
+
const n = ce(() => t.value === "development"), r = ce(() => t.value === "pack"), o = ce(() => t.value === "hml"), i = ce(() => t.value === "production"), a = oe(null);
|
|
8270
8270
|
function s() {
|
|
8271
8271
|
a.value = null;
|
|
8272
8272
|
}
|