@sysvale/cuida 3.103.1 → 3.103.3
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/@sysvale/cuida.es.js +109 -109
- package/dist/@sysvale/cuida.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var eC = Object.defineProperty;
|
|
2
2
|
var tC = (t, e, n) => e in t ? eC(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var De = (t, e, n) => tC(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { openBlock as y, createElementBlock as k, createElementVNode as O, normalizeClass as R, createCommentVNode as U, resolveComponent as we, resolveDirective as ls, withDirectives as Ge, withModifiers as
|
|
4
|
+
import { openBlock as y, createElementBlock as k, createElementVNode as O, normalizeClass as R, createCommentVNode as U, resolveComponent as we, resolveDirective as ls, withDirectives as Ge, withModifiers as je, createBlock as ie, renderSlot as ae, createTextVNode as Ne, toDisplayString as W, useCssVars as ut, Fragment as Se, renderList as Ve, createVNode as N, withCtx as se, Transition as Rs, normalizeStyle as $t, createSlots as nC, mergeProps as At, version as iC, defineComponent as zn, ref as ue, shallowRef as eb, onMounted as Mi, onUnmounted as ul, watch as Fe, toRaw as Zf, nextTick as da, h as Xf, isProxy as tb, computed as B, unref as ee, useSlots as nb, resolveDynamicComponent as cl, mergeModels as Cn, useModel as Ci, useAttrs as ib, useTemplateRef as fi, vModelText as Es, vModelDynamic as B1, withKeys as Tt, vShow as ci, TransitionGroup as sC, watchEffect as R1, reactive as N0, toRefs as aC, inject as dc, provide as hc, normalizeProps as Iu, toRef as Yd, guardReactiveProps as Jf, isRef as uu, toHandlers as sb, vModelCheckbox as ab, vModelRadio as rC } from "vue";
|
|
5
5
|
const oC = {
|
|
6
6
|
name: "alert-outline",
|
|
7
7
|
data: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><g class="alert-outline"><g class="Vector"><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10zm-10 8a8 8 0 100-16 8 8 0 000 16z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M12 14a1 1 0 01-1-1V8a1 1 0 112 0v5a1 1 0 01-1 1z" clip-rule="evenodd"/><path d="M11 16a1 1 0 112 0 1 1 0 01-2 0z"/></g></g></svg>'
|
|
@@ -1317,8 +1317,8 @@ function X$(t) {
|
|
|
1317
1317
|
function J$(t) {
|
|
1318
1318
|
var e = t.state, n = t.options, i = t.name;
|
|
1319
1319
|
if (!e.modifiersData[i]._skip) {
|
|
1320
|
-
for (var s = n.mainAxis, a = s === void 0 ? !0 : s, r = n.altAxis, o = r === void 0 ? !0 : r, u = n.fallbackPlacements, d = n.padding, h = n.boundary, p = n.rootBoundary, g = n.altBoundary, m = n.flipVariations, _ = m === void 0 ? !0 : m, w = n.allowedAutoPlacements, x = e.options.placement, C = zs(x), $ = C === x, A = u || ($ || !_ ? [jd(x)] : X$(x)), S = [x].concat(A).reduce(function(
|
|
1321
|
-
return
|
|
1320
|
+
for (var s = n.mainAxis, a = s === void 0 ? !0 : s, r = n.altAxis, o = r === void 0 ? !0 : r, u = n.fallbackPlacements, d = n.padding, h = n.boundary, p = n.rootBoundary, g = n.altBoundary, m = n.flipVariations, _ = m === void 0 ? !0 : m, w = n.allowedAutoPlacements, x = e.options.placement, C = zs(x), $ = C === x, A = u || ($ || !_ ? [jd(x)] : X$(x)), S = [x].concat(A).reduce(function(Ue, Pe) {
|
|
1321
|
+
return Ue.concat(zs(Pe) === H0 ? Z$(e, {
|
|
1322
1322
|
placement: Pe,
|
|
1323
1323
|
boundary: h,
|
|
1324
1324
|
rootBoundary: p,
|
|
@@ -1336,8 +1336,8 @@ function J$(t) {
|
|
|
1336
1336
|
}), Ce = Ie ? ve ? rs : Si : ve ? as : ki;
|
|
1337
1337
|
P[fe] > V[fe] && (Ce = jd(Ce));
|
|
1338
1338
|
var Te = jd(Ce), de = [];
|
|
1339
|
-
if (a && de.push(ce[te] <= 0), o && de.push(ce[Ce] <= 0, ce[Te] <= 0), de.every(function(
|
|
1340
|
-
return
|
|
1339
|
+
if (a && de.push(ce[te] <= 0), o && de.push(ce[Ce] <= 0, ce[Te] <= 0), de.every(function(Ue) {
|
|
1340
|
+
return Ue;
|
|
1341
1341
|
})) {
|
|
1342
1342
|
K = he, E = !1;
|
|
1343
1343
|
break;
|
|
@@ -1475,10 +1475,10 @@ function lD(t) {
|
|
|
1475
1475
|
};
|
|
1476
1476
|
if (V) {
|
|
1477
1477
|
if (a) {
|
|
1478
|
-
var ve, Ie = S === "y" ? ki : Si, fe = S === "y" ? as : rs, ce = S === "y" ? "height" : "width", Ce = V[S], Te = Ce + x[Ie], de = Ce - x[fe], Z = m ? -E[ce] / 2 : 0, $e = $ === Jo ? Y[ce] : E[ce], Me = $ === Jo ? -E[ce] : -Y[ce], Ke = e.elements.arrow,
|
|
1478
|
+
var ve, Ie = S === "y" ? ki : Si, fe = S === "y" ? as : rs, ce = S === "y" ? "height" : "width", Ce = V[S], Te = Ce + x[Ie], de = Ce - x[fe], Z = m ? -E[ce] / 2 : 0, $e = $ === Jo ? Y[ce] : E[ce], Me = $ === Jo ? -E[ce] : -Y[ce], Ke = e.elements.arrow, Ue = m && Ke ? Y0(Ke) : {
|
|
1479
1479
|
width: 0,
|
|
1480
1480
|
height: 0
|
|
1481
|
-
}, Pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : db(), et = Pe[Ie], bt = Pe[fe], ye = Lu(0, Y[ce],
|
|
1481
|
+
}, Pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : db(), et = Pe[Ie], bt = Pe[fe], ye = Lu(0, Y[ce], Ue[ce]), ze = A ? Y[ce] / 2 - Z - ye - et - X.mainAxis : $e - ye - et - X.mainAxis, Qe = A ? -Y[ce] / 2 + Z + ye + bt + X.mainAxis : Me + ye + bt + X.mainAxis, _t = e.elements.arrow && pc(e.elements.arrow), rt = _t ? S === "y" ? _t.clientTop || 0 : _t.clientLeft || 0 : 0, ft = (ve = he == null ? void 0 : he[S]) != null ? ve : 0, St = Ce + ze - ft - rt, rn = Ce + Qe - ft, Lt = Lu(m ? r1(Te, St) : Te, Ce, m ? Br(de, rn) : de);
|
|
1482
1482
|
V[S] = Lt, te[S] = Lt - Ce;
|
|
1483
1483
|
}
|
|
1484
1484
|
if (o) {
|
|
@@ -2177,16 +2177,16 @@ function qD(t, e) {
|
|
|
2177
2177
|
function Ke() {
|
|
2178
2178
|
u = !0;
|
|
2179
2179
|
}
|
|
2180
|
-
function
|
|
2180
|
+
function Ue() {
|
|
2181
2181
|
u = !1;
|
|
2182
2182
|
}
|
|
2183
2183
|
function Pe() {
|
|
2184
2184
|
var q = Ie();
|
|
2185
|
-
q.addEventListener("mousedown", Me, !0), q.addEventListener("touchend", Me, Ar), q.addEventListener("touchstart",
|
|
2185
|
+
q.addEventListener("mousedown", Me, !0), q.addEventListener("touchend", Me, Ar), q.addEventListener("touchstart", Ue, Ar), q.addEventListener("touchmove", Ke, Ar);
|
|
2186
2186
|
}
|
|
2187
2187
|
function et() {
|
|
2188
2188
|
var q = Ie();
|
|
2189
|
-
q.removeEventListener("mousedown", Me, !0), q.removeEventListener("touchend", Me, Ar), q.removeEventListener("touchstart",
|
|
2189
|
+
q.removeEventListener("mousedown", Me, !0), q.removeEventListener("touchend", Me, Ar), q.removeEventListener("touchstart", Ue, Ar), q.removeEventListener("touchmove", Ke, Ar);
|
|
2190
2190
|
}
|
|
2191
2191
|
function bt(q, oe) {
|
|
2192
2192
|
ze(q, function() {
|
|
@@ -2652,7 +2652,7 @@ function GD(t, e, n, i, s, a) {
|
|
|
2652
2652
|
const r = we("cds-spinner"), o = ls("cdstip");
|
|
2653
2653
|
return Ge((y(), k("button", {
|
|
2654
2654
|
class: R(["button__container", a.computedStyle]),
|
|
2655
|
-
onClick: e[0] || (e[0] =
|
|
2655
|
+
onClick: e[0] || (e[0] = je((...u) => a.clickHandler && a.clickHandler(...u), ["stop"]))
|
|
2656
2656
|
}, [
|
|
2657
2657
|
n.loading ? (y(), ie(r, {
|
|
2658
2658
|
key: 0,
|
|
@@ -2799,7 +2799,7 @@ l1.exports;
|
|
|
2799
2799
|
(function(t, e) {
|
|
2800
2800
|
var n = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, a = "[object Arguments]", r = "[object Array]", o = "[object Boolean]", u = "[object Date]", d = "[object Error]", h = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", m = "[object Number]", _ = "[object Object]", w = "[object Promise]", x = "[object RegExp]", C = "[object Set]", $ = "[object String]", A = "[object Symbol]", S = "[object WeakMap]", P = "[object ArrayBuffer]", V = "[object DataView]", Y = "[object Float32Array]", E = "[object Float64Array]", K = "[object Int8Array]", X = "[object Int16Array]", he = "[object Int32Array]", te = "[object Uint8Array]", ve = "[object Uint8ClampedArray]", Ie = "[object Uint16Array]", fe = "[object Uint32Array]", ce = /[\\^$.*+?()[\]{}|]/g, Ce = /\w*$/, Te = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, Z = {};
|
|
2801
2801
|
Z[a] = Z[r] = Z[P] = Z[V] = Z[o] = Z[u] = Z[Y] = Z[E] = Z[K] = Z[X] = Z[he] = Z[g] = Z[m] = Z[_] = Z[x] = Z[C] = Z[$] = Z[A] = Z[te] = Z[ve] = Z[Ie] = Z[fe] = !0, Z[d] = Z[h] = Z[S] = !1;
|
|
2802
|
-
var $e = typeof Un == "object" && Un && Un.Object === Object && Un, Me = typeof self == "object" && self && self.Object === Object && self, Ke = $e || Me || Function("return this")(),
|
|
2802
|
+
var $e = typeof Un == "object" && Un && Un.Object === Object && Un, Me = typeof self == "object" && self && self.Object === Object && self, Ke = $e || Me || Function("return this")(), Ue = e && !e.nodeType && e, Pe = Ue && !0 && t && !t.nodeType && t, et = Pe && Pe.exports === Ue;
|
|
2803
2803
|
function bt(b, T) {
|
|
2804
2804
|
return b.set(T[0], T[1]), b;
|
|
2805
2805
|
}
|
|
@@ -3290,7 +3290,7 @@ function rT(t, e, n, i, s, a) {
|
|
|
3290
3290
|
"action-list__item--left-bordered": o !== 0,
|
|
3291
3291
|
"action-list__item--disabled": r.disabled
|
|
3292
3292
|
}),
|
|
3293
|
-
onClick:
|
|
3293
|
+
onClick: je((u) => a.handleClick(r), ["stop"])
|
|
3294
3294
|
}, [
|
|
3295
3295
|
ae(t.$slots, "action", { list: r }, void 0, !0)
|
|
3296
3296
|
], 10, aT)) : U("", !0)
|
|
@@ -3301,7 +3301,7 @@ function rT(t, e, n, i, s, a) {
|
|
|
3301
3301
|
n.actions.length > n.numberOfExpandedActions ? (y(), k("div", {
|
|
3302
3302
|
key: 0,
|
|
3303
3303
|
class: "action-list__item--left-bordered",
|
|
3304
|
-
onClick: e[0] || (e[0] =
|
|
3304
|
+
onClick: e[0] || (e[0] = je((...r) => a.toggleCollapseState && a.toggleCollapseState(...r), ["stop"]))
|
|
3305
3305
|
}, [
|
|
3306
3306
|
ae(t.$slots, "action-trigger", {}, () => [
|
|
3307
3307
|
Ne(W(s.itsBeingShown ? "Menos ações" : "Mais ações"), 1)
|
|
@@ -4035,7 +4035,7 @@ function PT(t, e, n, i, s, a) {
|
|
|
4035
4035
|
return y(), ie(u, {
|
|
4036
4036
|
id: "avatar-dropdown",
|
|
4037
4037
|
clickable: n.clickable,
|
|
4038
|
-
onClick: a.toggleDropdown
|
|
4038
|
+
onClick: je(a.toggleDropdown, ["stop"])
|
|
4039
4039
|
}, {
|
|
4040
4040
|
default: se(() => [
|
|
4041
4041
|
O("div", LT, [
|
|
@@ -9377,7 +9377,7 @@ class Zr extends _a {
|
|
|
9377
9377
|
}
|
|
9378
9378
|
const Ie = ot(s.ticks.maxTicksLimit, p), fe = Math.max(1, Math.ceil(p / Ie));
|
|
9379
9379
|
for (A = 0; A < p; A += fe) {
|
|
9380
|
-
const ce = this.getContext(A), Ce = a.setContext(ce), Te = o.setContext(ce), de = Ce.lineWidth, Z = Ce.color, $e = Te.dash || [], Me = Te.dashOffset, Ke = Ce.tickWidth,
|
|
9380
|
+
const ce = this.getContext(A), Ce = a.setContext(ce), Te = o.setContext(ce), de = Ce.lineWidth, Z = Ce.color, $e = Te.dash || [], Me = Te.dashOffset, Ke = Ce.tickWidth, Ue = Ce.tickColor, Pe = Ce.tickBorderDash || [], et = Ce.tickBorderDashOffset;
|
|
9381
9381
|
S = ZL(this, A, u), S !== void 0 && (P = Mr(i, S, de), d ? V = E = X = te = P : Y = K = he = ve = P, m.push({
|
|
9382
9382
|
tx1: V,
|
|
9383
9383
|
ty1: Y,
|
|
@@ -9392,7 +9392,7 @@ class Zr extends _a {
|
|
|
9392
9392
|
borderDash: $e,
|
|
9393
9393
|
borderDashOffset: Me,
|
|
9394
9394
|
tickWidth: Ke,
|
|
9395
|
-
tickColor:
|
|
9395
|
+
tickColor: Ue,
|
|
9396
9396
|
tickBorderDash: Pe,
|
|
9397
9397
|
tickBorderDashOffset: et
|
|
9398
9398
|
}));
|
|
@@ -9440,7 +9440,7 @@ class Zr extends _a {
|
|
|
9440
9440
|
r ? (P = E, Y === "inner" && (C === $ - 1 ? Z = this.options.reverse ? "left" : "right" : C === 0 ? Z = this.options.reverse ? "right" : "left" : Z = "center"), s === "top" ? d === "near" || w !== 0 ? te = -he * X + X / 2 : d === "center" ? te = -Ie.highest.height / 2 - ce * X + X : te = -Ie.highest.height + X / 2 : d === "near" || w !== 0 ? te = X / 2 : d === "center" ? te = Ie.highest.height / 2 - ce * X : te = Ie.highest.height - he * X, p && (te *= -1), w !== 0 && !fe.showLabelBackdrop && (P += X / 2 * Math.sin(w))) : (V = E, te = (1 - he) * X / 2);
|
|
9441
9441
|
let $e;
|
|
9442
9442
|
if (fe.showLabelBackdrop) {
|
|
9443
|
-
const Me = ni(fe.backdropPadding), Ke = Ie.heights[C],
|
|
9443
|
+
const Me = ni(fe.backdropPadding), Ke = Ie.heights[C], Ue = Ie.widths[C];
|
|
9444
9444
|
let Pe = te - Me.top, et = 0 - Me.left;
|
|
9445
9445
|
switch (ve) {
|
|
9446
9446
|
case "middle":
|
|
@@ -9452,19 +9452,19 @@ class Zr extends _a {
|
|
|
9452
9452
|
}
|
|
9453
9453
|
switch (Y) {
|
|
9454
9454
|
case "center":
|
|
9455
|
-
et -=
|
|
9455
|
+
et -= Ue / 2;
|
|
9456
9456
|
break;
|
|
9457
9457
|
case "right":
|
|
9458
|
-
et -=
|
|
9458
|
+
et -= Ue;
|
|
9459
9459
|
break;
|
|
9460
9460
|
case "inner":
|
|
9461
|
-
C === $ - 1 ? et -=
|
|
9461
|
+
C === $ - 1 ? et -= Ue : C > 0 && (et -= Ue / 2);
|
|
9462
9462
|
break;
|
|
9463
9463
|
}
|
|
9464
9464
|
$e = {
|
|
9465
9465
|
left: et,
|
|
9466
9466
|
top: Pe,
|
|
9467
|
-
width:
|
|
9467
|
+
width: Ue + Me.width,
|
|
9468
9468
|
height: Ke + Me.height,
|
|
9469
9469
|
color: fe.backdropColor
|
|
9470
9470
|
};
|
|
@@ -20591,7 +20591,7 @@ x1.exports;
|
|
|
20591
20591
|
return xe ? "Symbol(src)_1." + xe : "";
|
|
20592
20592
|
}(), he = Y.toString, te = E.hasOwnProperty, ve = E.toString, Ie = RegExp(
|
|
20593
20593
|
"^" + he.call(te).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20594
|
-
), fe = A ? x.Buffer : void 0, ce = E.propertyIsEnumerable, Ce = fe ? fe.isBuffer : void 0, Te = V(Object.keys, Object), de = rt(x, "DataView"), Z = rt(x, "Map"), $e = rt(x, "Promise"), Me = rt(x, "Set"), Ke = rt(x, "WeakMap"),
|
|
20594
|
+
), fe = A ? x.Buffer : void 0, ce = E.propertyIsEnumerable, Ce = fe ? fe.isBuffer : void 0, Te = V(Object.keys, Object), de = rt(x, "DataView"), Z = rt(x, "Map"), $e = rt(x, "Promise"), Me = rt(x, "Set"), Ke = rt(x, "WeakMap"), Ue = !ce.call({ valueOf: 1 }, "valueOf"), Pe = Lt(de), et = Lt(Z), bt = Lt($e), ye = Lt(Me), ze = Lt(Ke);
|
|
20595
20595
|
function Qe(xe) {
|
|
20596
20596
|
return ve.call(xe);
|
|
20597
20597
|
}
|
|
@@ -20660,7 +20660,7 @@ x1.exports;
|
|
|
20660
20660
|
var tt = ft(xe);
|
|
20661
20661
|
if (tt == r || tt == d)
|
|
20662
20662
|
return !xe.size;
|
|
20663
|
-
if (
|
|
20663
|
+
if (Ue || rn(xe))
|
|
20664
20664
|
return !Te(xe).length;
|
|
20665
20665
|
for (var dt in xe)
|
|
20666
20666
|
if (te.call(xe, dt))
|
|
@@ -22873,7 +22873,7 @@ function aH(t, e, n, i, s, a) {
|
|
|
22873
22873
|
O("div", {
|
|
22874
22874
|
id: "color-picker",
|
|
22875
22875
|
class: "color-picker__trigger",
|
|
22876
|
-
onClick: e[0] || (e[0] =
|
|
22876
|
+
onClick: e[0] || (e[0] = je((u) => s.showPopover = !s.showPopover, ["stop"]))
|
|
22877
22877
|
}, e[2] || (e[2] = [
|
|
22878
22878
|
O("div", { class: "color-picker__preview" }, null, -1)
|
|
22879
22879
|
])),
|
|
@@ -23393,7 +23393,7 @@ const Vp = /* @__PURE__ */ ge(xH, [["render", SH], ["__scopeId", "data-v-42340e3
|
|
|
23393
23393
|
default: se(() => [
|
|
23394
23394
|
O("div", {
|
|
23395
23395
|
class: R(x.value),
|
|
23396
|
-
onClick:
|
|
23396
|
+
onClick: je(fe, ["stop"])
|
|
23397
23397
|
}, [
|
|
23398
23398
|
t.hasLeadingIcon ? (y(), k("div", CH, [
|
|
23399
23399
|
ae(de.$slots, "leading-icon", {}, () => [
|
|
@@ -23412,7 +23412,7 @@ const Vp = /* @__PURE__ */ ge(xH, [["render", SH], ["__scopeId", "data-v-42340e3
|
|
|
23412
23412
|
"base-mobile-input__label--fluid": t.fluid
|
|
23413
23413
|
}),
|
|
23414
23414
|
for: w,
|
|
23415
|
-
onClick:
|
|
23415
|
+
onClick: je(fe, ["stop", "prevent"])
|
|
23416
23416
|
}, [
|
|
23417
23417
|
O("span", MH, [
|
|
23418
23418
|
Ne(W(t.label) + " ", 1),
|
|
@@ -24225,7 +24225,7 @@ const Vp = /* @__PURE__ */ ge(xH, [["render", SH], ["__scopeId", "data-v-42340e3
|
|
|
24225
24225
|
gap: "5px",
|
|
24226
24226
|
class: "year-selector__grid",
|
|
24227
24227
|
tabindex: "0",
|
|
24228
|
-
onWheel:
|
|
24228
|
+
onWheel: je(_, ["prevent"])
|
|
24229
24229
|
}, {
|
|
24230
24230
|
default: se(() => [
|
|
24231
24231
|
(y(!0), k(Se, null, Ve(g.value, (E) => (y(), k("div", {
|
|
@@ -24238,7 +24238,7 @@ const Vp = /* @__PURE__ */ ge(xH, [["render", SH], ["__scopeId", "data-v-42340e3
|
|
|
24238
24238
|
}),
|
|
24239
24239
|
O("div", {
|
|
24240
24240
|
class: "scroll-indicator",
|
|
24241
|
-
onMousedown:
|
|
24241
|
+
onMousedown: je($, ["prevent"])
|
|
24242
24242
|
}, [
|
|
24243
24243
|
O("div", {
|
|
24244
24244
|
class: "scroll-indicator__thumb",
|
|
@@ -24777,7 +24777,7 @@ const fW = {
|
|
|
24777
24777
|
}), Fe(() => o.range, () => {
|
|
24778
24778
|
Ie.value = o.range ? null : "##/##/####";
|
|
24779
24779
|
}, { immediate: !0 });
|
|
24780
|
-
function
|
|
24780
|
+
function Ue(be) {
|
|
24781
24781
|
const q = $.value.set({ day: be });
|
|
24782
24782
|
return !!(de.value && q.startOf("day") < de.value || Z.value && q.startOf("day") > Z.value);
|
|
24783
24783
|
}
|
|
@@ -24799,14 +24799,14 @@ const fW = {
|
|
|
24799
24799
|
Me.value && ($.value = $.value.plus({ months: 1 }));
|
|
24800
24800
|
}
|
|
24801
24801
|
function ze(be) {
|
|
24802
|
-
o.range && A.value && !S.value && !
|
|
24802
|
+
o.range && A.value && !S.value && !Ue(be) && (P.value = $.value.set({ day: be }), V.value = !0);
|
|
24803
24803
|
}
|
|
24804
24804
|
function Qe() {
|
|
24805
24805
|
V.value = !1, P.value = null;
|
|
24806
24806
|
}
|
|
24807
24807
|
function _t(be) {
|
|
24808
24808
|
const q = [`calendar__day--${o.variant}`], oe = $.value.set({ day: be });
|
|
24809
|
-
if (Pe(be) && (o.showTodayDot || o.highlightToday) && q.push(`today--${o.variant}`),
|
|
24809
|
+
if (Pe(be) && (o.showTodayDot || o.highlightToday) && q.push(`today--${o.variant}`), Ue(be))
|
|
24810
24810
|
return q.push("disabled-day"), q;
|
|
24811
24811
|
if (o.range) {
|
|
24812
24812
|
const Ae = A.value && oe.hasSame(A.value, "day"), J = S.value && oe.hasSame(S.value, "day");
|
|
@@ -24815,7 +24815,7 @@ const fW = {
|
|
|
24815
24815
|
return q;
|
|
24816
24816
|
}
|
|
24817
24817
|
function rt(be) {
|
|
24818
|
-
if (
|
|
24818
|
+
if (Ue(be))
|
|
24819
24819
|
return;
|
|
24820
24820
|
const q = $.value.set({ day: be });
|
|
24821
24821
|
o.range ? !A.value || A.value && S.value ? (A.value = q, S.value = null) : (q < A.value ? (S.value = A.value, A.value = q) : S.value = q, A.value && S.value && (ft(), C.value = !1)) : (A.value = q, r.value = A.value.toFormat("yyyy-MM-dd"), E.value = A.value.toFormat("dd/MM/yyyy"), C.value = !1), P.value = null;
|
|
@@ -24980,7 +24980,7 @@ const fW = {
|
|
|
24980
24980
|
onBlur: vn,
|
|
24981
24981
|
onKeydown: [
|
|
24982
24982
|
ee(_),
|
|
24983
|
-
Tt(
|
|
24983
|
+
Tt(je(zt, ["prevent"]), ["enter"])
|
|
24984
24984
|
]
|
|
24985
24985
|
}), {
|
|
24986
24986
|
"trailing-icon": se(() => [
|
|
@@ -25001,7 +25001,7 @@ const fW = {
|
|
|
25001
25001
|
Ge(O("div", {
|
|
25002
25002
|
ref: "calendar",
|
|
25003
25003
|
class: R(`date-input__calendar--${te.value}`),
|
|
25004
|
-
onMousedown:
|
|
25004
|
+
onMousedown: je(yn, ["prevent"])
|
|
25005
25005
|
}, [
|
|
25006
25006
|
O("div", gW, [
|
|
25007
25007
|
N(tn, { gap: "0" }, {
|
|
@@ -25061,7 +25061,7 @@ const fW = {
|
|
|
25061
25061
|
(y(!0), k(Se, null, Ve(Te.value, (oe) => (y(), k("div", {
|
|
25062
25062
|
key: oe,
|
|
25063
25063
|
class: R(_t(oe)),
|
|
25064
|
-
disabled:
|
|
25064
|
+
disabled: Ue(oe),
|
|
25065
25065
|
onClick: (Ae) => rt(oe),
|
|
25066
25066
|
onMouseenter: (Ae) => ze(oe)
|
|
25067
25067
|
}, W(oe), 43, mW))), 128))
|
|
@@ -26274,7 +26274,7 @@ var S1 = { exports: {} };
|
|
|
26274
26274
|
S1.exports;
|
|
26275
26275
|
(function(t, e) {
|
|
26276
26276
|
(function() {
|
|
26277
|
-
var n, i = "4.17.21", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", r = "Expected a function", o = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", d = 500, h = "__lodash_placeholder__", p = 1, g = 2, m = 4, _ = 1, w = 2, x = 1, C = 2, $ = 4, A = 8, S = 16, P = 32, V = 64, Y = 128, E = 256, K = 512, X = 30, he = "...", te = 800, ve = 16, Ie = 1, fe = 2, ce = 3, Ce = 1 / 0, Te = 9007199254740991, de = 17976931348623157e292, Z = NaN, $e = 4294967295, Me = $e - 1, Ke = $e >>> 1,
|
|
26277
|
+
var n, i = "4.17.21", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", r = "Expected a function", o = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", d = 500, h = "__lodash_placeholder__", p = 1, g = 2, m = 4, _ = 1, w = 2, x = 1, C = 2, $ = 4, A = 8, S = 16, P = 32, V = 64, Y = 128, E = 256, K = 512, X = 30, he = "...", te = 800, ve = 16, Ie = 1, fe = 2, ce = 3, Ce = 1 / 0, Te = 9007199254740991, de = 17976931348623157e292, Z = NaN, $e = 4294967295, Me = $e - 1, Ke = $e >>> 1, Ue = [
|
|
26278
26278
|
["ary", Y],
|
|
26279
26279
|
["bind", x],
|
|
26280
26280
|
["bindKey", C],
|
|
@@ -28495,7 +28495,7 @@ S1.exports;
|
|
|
28495
28495
|
return "";
|
|
28496
28496
|
}
|
|
28497
28497
|
function Nw(l, c) {
|
|
28498
|
-
return ji(
|
|
28498
|
+
return ji(Ue, function(f) {
|
|
28499
28499
|
var v = "_." + f[0];
|
|
28500
28500
|
c & f[1] && !Tc(l, v) && l.push(v);
|
|
28501
28501
|
}), l.sort();
|
|
@@ -30122,10 +30122,10 @@ function pY(t, e, n, i, s, a) {
|
|
|
30122
30122
|
"file-input--disabled": n.disabled === !0,
|
|
30123
30123
|
[a.sizeClass.holderPadding]: n.size
|
|
30124
30124
|
}]),
|
|
30125
|
-
onDragover: e[2] || (e[2] =
|
|
30126
|
-
onDragenter: e[3] || (e[3] =
|
|
30127
|
-
onDragleave: e[4] || (e[4] =
|
|
30128
|
-
onDragend: e[5] || (e[5] =
|
|
30125
|
+
onDragover: e[2] || (e[2] = je((o) => s.isOnDragEnterState = !0, ["prevent", "stop"])),
|
|
30126
|
+
onDragenter: e[3] || (e[3] = je((o) => s.isOnDragEnterState = !0, ["prevent", "stop"])),
|
|
30127
|
+
onDragleave: e[4] || (e[4] = je((o) => s.isOnDragEnterState = !1, ["prevent", "stop"])),
|
|
30128
|
+
onDragend: e[5] || (e[5] = je((o) => s.isOnDragEnterState = !1, ["prevent", "stop"])),
|
|
30129
30129
|
onDrop: e[6] || (e[6] = (...o) => a.dropHandler && a.dropHandler(...o)),
|
|
30130
30130
|
onClick: e[7] || (e[7] = (...o) => a.linkClick && a.linkClick(...o))
|
|
30131
30131
|
}, [
|
|
@@ -30162,7 +30162,7 @@ function pY(t, e, n, i, s, a) {
|
|
|
30162
30162
|
O("div", null, W(a.formatFilename), 1),
|
|
30163
30163
|
O("div", {
|
|
30164
30164
|
class: "x-icon__container",
|
|
30165
|
-
onClick: e[1] || (e[1] =
|
|
30165
|
+
onClick: e[1] || (e[1] = je((...o) => a.handleRemove && a.handleRemove(...o), ["stop"]))
|
|
30166
30166
|
}, [
|
|
30167
30167
|
N(r, {
|
|
30168
30168
|
height: "18",
|
|
@@ -30303,7 +30303,7 @@ const B_ = /* @__PURE__ */ ge(Rp, [["render", pY], ["__scopeId", "data-v-33f6f0f
|
|
|
30303
30303
|
O("div", null, [
|
|
30304
30304
|
O("a", {
|
|
30305
30305
|
class: R(["file-viewer__download", `file-viewer__download--${t.variant}`]),
|
|
30306
|
-
onClick: x[0] || (x[0] =
|
|
30306
|
+
onClick: x[0] || (x[0] = je((C) => n("download-click", !0), ["stop"]))
|
|
30307
30307
|
}, " Baixar arquivo ", 2)
|
|
30308
30308
|
])
|
|
30309
30309
|
])
|
|
@@ -30340,7 +30340,7 @@ const B_ = /* @__PURE__ */ ge(Rp, [["render", pY], ["__scopeId", "data-v-33f6f0f
|
|
|
30340
30340
|
key: 0,
|
|
30341
30341
|
class: "file-viewer__visualizer-image",
|
|
30342
30342
|
src: t.fileUrl,
|
|
30343
|
-
onClick: x[2] || (x[2] =
|
|
30343
|
+
onClick: x[2] || (x[2] = je(() => {
|
|
30344
30344
|
}, ["stop"]))
|
|
30345
30345
|
}, null, 8, ["src"])) : (y(), k("div", CY, [
|
|
30346
30346
|
N(sc, {
|
|
@@ -30574,9 +30574,9 @@ function VY(t, e, n, i, s, a) {
|
|
|
30574
30574
|
ref: "filterSelectRef",
|
|
30575
30575
|
class: R(["filter-select__container", a.inputClass]),
|
|
30576
30576
|
onKeydown: [
|
|
30577
|
-
e[6] || (e[6] = Tt(
|
|
30578
|
-
e[7] || (e[7] = Tt(
|
|
30579
|
-
e[8] || (e[8] = Tt(
|
|
30577
|
+
e[6] || (e[6] = Tt(je((...r) => a.activateSelectionOnEnter && a.activateSelectionOnEnter(...r), ["prevent"]), ["enter"])),
|
|
30578
|
+
e[7] || (e[7] = Tt(je((...r) => a.highlightOnArrowDown && a.highlightOnArrowDown(...r), ["prevent"]), ["arrow-down"])),
|
|
30579
|
+
e[8] || (e[8] = Tt(je((...r) => a.highlightOnArrowUp && a.highlightOnArrowUp(...r), ["prevent"]), ["arrow-up"]))
|
|
30580
30580
|
],
|
|
30581
30581
|
onClick: e[9] || (e[9] = (...r) => a.activateSelectionOnClick && a.activateSelectionOnClick(...r))
|
|
30582
30582
|
}, [
|
|
@@ -30851,7 +30851,7 @@ function XY(t, e, n, i, s, a) {
|
|
|
30851
30851
|
])),
|
|
30852
30852
|
s.isExpanded ? (y(), k("div", ZY, [
|
|
30853
30853
|
O("div", {
|
|
30854
|
-
onClick: e[2] || (e[2] =
|
|
30854
|
+
onClick: e[2] || (e[2] = je((...d) => a.close && a.close(...d), ["stop"]))
|
|
30855
30855
|
}, [
|
|
30856
30856
|
N(o, {
|
|
30857
30857
|
class: "floating-assistant__close-button",
|
|
@@ -31673,7 +31673,7 @@ const C1 = /* @__PURE__ */ ge(yj, [["render", _j], ["__scopeId", "data-v-ad879e6
|
|
|
31673
31673
|
var M1 = { exports: {} };
|
|
31674
31674
|
M1.exports;
|
|
31675
31675
|
(function(t, e) {
|
|
31676
|
-
var n = 200, i = "__lodash_hash_undefined__", s = 1, a = 2, r = 9007199254740991, o = "[object Arguments]", u = "[object Array]", d = "[object AsyncFunction]", h = "[object Boolean]", p = "[object Date]", g = "[object Error]", m = "[object Function]", _ = "[object GeneratorFunction]", w = "[object Map]", x = "[object Number]", C = "[object Null]", $ = "[object Object]", A = "[object Promise]", S = "[object Proxy]", P = "[object RegExp]", V = "[object Set]", Y = "[object String]", E = "[object Symbol]", K = "[object Undefined]", X = "[object WeakMap]", he = "[object ArrayBuffer]", te = "[object DataView]", ve = "[object Float32Array]", Ie = "[object Float64Array]", fe = "[object Int8Array]", ce = "[object Int16Array]", Ce = "[object Int32Array]", Te = "[object Uint8Array]", de = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", $e = "[object Uint32Array]", Me = /[\\^$.*+?()[\]{}|]/g, Ke = /^\[object .+?Constructor\]$/,
|
|
31676
|
+
var n = 200, i = "__lodash_hash_undefined__", s = 1, a = 2, r = 9007199254740991, o = "[object Arguments]", u = "[object Array]", d = "[object AsyncFunction]", h = "[object Boolean]", p = "[object Date]", g = "[object Error]", m = "[object Function]", _ = "[object GeneratorFunction]", w = "[object Map]", x = "[object Number]", C = "[object Null]", $ = "[object Object]", A = "[object Promise]", S = "[object Proxy]", P = "[object RegExp]", V = "[object Set]", Y = "[object String]", E = "[object Symbol]", K = "[object Undefined]", X = "[object WeakMap]", he = "[object ArrayBuffer]", te = "[object DataView]", ve = "[object Float32Array]", Ie = "[object Float64Array]", fe = "[object Int8Array]", ce = "[object Int16Array]", Ce = "[object Int32Array]", Te = "[object Uint8Array]", de = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", $e = "[object Uint32Array]", Me = /[\\^$.*+?()[\]{}|]/g, Ke = /^\[object .+?Constructor\]$/, Ue = /^(?:0|[1-9]\d*)$/, Pe = {};
|
|
31677
31677
|
Pe[ve] = Pe[Ie] = Pe[fe] = Pe[ce] = Pe[Ce] = Pe[Te] = Pe[de] = Pe[Z] = Pe[$e] = !0, Pe[o] = Pe[u] = Pe[he] = Pe[h] = Pe[te] = Pe[p] = Pe[g] = Pe[m] = Pe[w] = Pe[x] = Pe[$] = Pe[P] = Pe[V] = Pe[Y] = Pe[X] = !1;
|
|
31678
31678
|
var et = typeof Un == "object" && Un && Un.Object === Object && Un, bt = typeof self == "object" && self && self.Object === Object && self, ye = et || bt || Function("return this")(), ze = e && !e.nodeType && e, Qe = ze && !0 && t && !t.nodeType && t, _t = Qe && Qe.exports === ze, rt = _t && et.process, ft = function() {
|
|
31679
31679
|
try {
|
|
@@ -32076,7 +32076,7 @@ M1.exports;
|
|
|
32076
32076
|
return T;
|
|
32077
32077
|
});
|
|
32078
32078
|
function uo(b, T) {
|
|
32079
|
-
return T = T ?? r, !!T && (typeof b == "number" ||
|
|
32079
|
+
return T = T ?? r, !!T && (typeof b == "number" || Ue.test(b)) && b > -1 && b % 1 == 0 && b < T;
|
|
32080
32080
|
}
|
|
32081
32081
|
function co(b) {
|
|
32082
32082
|
var T = typeof b;
|
|
@@ -33974,7 +33974,7 @@ function fse({
|
|
|
33974
33974
|
59,
|
|
33975
33975
|
59,
|
|
33976
33976
|
999
|
|
33977
|
-
), de = ce, Z = `${qt(E, 4)}-${qt(Y, 2)}-${qt(C, 2)}`, $e = Ie, Me = Jn - Ie, Ke = u[ve - 1],
|
|
33977
|
+
), de = ce, Z = `${qt(E, 4)}-${qt(Y, 2)}-${qt(C, 2)}`, $e = Ie, Me = Jn - Ie, Ke = u[ve - 1], Ue = o[ve - 1], Pe = C === X && Y === he && E === te, et = m && C === 1, bt = m && C === d, ye = ve === 1, ze = ve === h, Qe = Ie === 1, _t = Ie === Jn, rt = R6(E, Y, C);
|
|
33978
33978
|
s.push({
|
|
33979
33979
|
locale: i,
|
|
33980
33980
|
id: Z,
|
|
@@ -33992,7 +33992,7 @@ function fse({
|
|
|
33992
33992
|
weekFromEnd: V,
|
|
33993
33993
|
weekPosition: ve,
|
|
33994
33994
|
weeknumber: Ke,
|
|
33995
|
-
isoWeeknumber:
|
|
33995
|
+
isoWeeknumber: Ue,
|
|
33996
33996
|
month: Y,
|
|
33997
33997
|
year: E,
|
|
33998
33998
|
date: de,
|
|
@@ -35844,7 +35844,7 @@ function Nae(t, { slots: e, emit: n }) {
|
|
|
35844
35844
|
P.value.key,
|
|
35845
35845
|
J.dayIndex
|
|
35846
35846
|
));
|
|
35847
|
-
},
|
|
35847
|
+
}, Ue = (J) => {
|
|
35848
35848
|
J.isFocusable = J.inMonth && J.day === a.value;
|
|
35849
35849
|
}, Pe = (J, L) => {
|
|
35850
35850
|
for (const ne of J)
|
|
@@ -36053,11 +36053,11 @@ function Nae(t, { slots: e, emit: n }) {
|
|
|
36053
36053
|
), Fe(
|
|
36054
36054
|
() => a.value,
|
|
36055
36055
|
() => {
|
|
36056
|
-
Pe(h.value, (J) =>
|
|
36056
|
+
Pe(h.value, (J) => Ue(J));
|
|
36057
36057
|
}
|
|
36058
36058
|
), R1(() => {
|
|
36059
36059
|
n("update:pages", h.value), Pe(h.value, (J) => {
|
|
36060
|
-
Ke(J),
|
|
36060
|
+
Ke(J), Ue(J);
|
|
36061
36061
|
});
|
|
36062
36062
|
});
|
|
36063
36063
|
const Ae = {
|
|
@@ -36813,7 +36813,7 @@ const $re = { class: "vc-nav-header" }, Dre = ["disabled"], Tre = ["disabled"],
|
|
|
36813
36813
|
class: "vc-nav-arrow is-left vc-focus",
|
|
36814
36814
|
disabled: !ee(Ce),
|
|
36815
36815
|
onClick: x,
|
|
36816
|
-
onKeydown: Ke[0] || (Ke[0] = (
|
|
36816
|
+
onKeydown: Ke[0] || (Ke[0] = (Ue) => ee(Nd)(Ue, x))
|
|
36817
36817
|
}, [
|
|
36818
36818
|
N(ns, {
|
|
36819
36819
|
name: "nav-prev-button",
|
|
@@ -36834,14 +36834,14 @@ const $re = { class: "vc-nav-header" }, Dre = ["disabled"], Tre = ["disabled"],
|
|
|
36834
36834
|
type: "button",
|
|
36835
36835
|
class: "vc-nav-title vc-focus",
|
|
36836
36836
|
onClick: m,
|
|
36837
|
-
onKeydown: Ke[1] || (Ke[1] = (
|
|
36837
|
+
onKeydown: Ke[1] || (Ke[1] = (Ue) => ee(Nd)(Ue, m))
|
|
36838
36838
|
}, W(ee($e)), 33),
|
|
36839
36839
|
O("button", {
|
|
36840
36840
|
type: "button",
|
|
36841
36841
|
class: "vc-nav-arrow is-right vc-focus",
|
|
36842
36842
|
disabled: !ee(Te),
|
|
36843
36843
|
onClick: C,
|
|
36844
|
-
onKeydown: Ke[2] || (Ke[2] = (
|
|
36844
|
+
onKeydown: Ke[2] || (Ke[2] = (Ue) => ee(Nd)(Ue, C))
|
|
36845
36845
|
}, [
|
|
36846
36846
|
N(ns, {
|
|
36847
36847
|
name: "nav-next-button",
|
|
@@ -36860,18 +36860,18 @@ const $re = { class: "vc-nav-header" }, Dre = ["disabled"], Tre = ["disabled"],
|
|
|
36860
36860
|
], 40, Tre)
|
|
36861
36861
|
]),
|
|
36862
36862
|
O("div", Are, [
|
|
36863
|
-
(y(!0), k(Se, null, Ve(ee(ce), (
|
|
36864
|
-
key:
|
|
36863
|
+
(y(!0), k(Se, null, Ve(ee(ce), (Ue) => (y(), k("button", {
|
|
36864
|
+
key: Ue.label,
|
|
36865
36865
|
type: "button",
|
|
36866
|
-
"data-id":
|
|
36867
|
-
"aria-label":
|
|
36866
|
+
"data-id": Ue.id,
|
|
36867
|
+
"aria-label": Ue.ariaLabel,
|
|
36868
36868
|
class: R(["vc-nav-item vc-focus", [
|
|
36869
|
-
|
|
36869
|
+
Ue.isActive ? "is-active" : Ue.isCurrent ? "is-current" : ""
|
|
36870
36870
|
]]),
|
|
36871
|
-
disabled:
|
|
36872
|
-
onClick:
|
|
36873
|
-
onKeydown: (Pe) => ee(Nd)(Pe,
|
|
36874
|
-
}, W(
|
|
36871
|
+
disabled: Ue.isDisabled,
|
|
36872
|
+
onClick: Ue.click,
|
|
36873
|
+
onKeydown: (Pe) => ee(Nd)(Pe, Ue.click)
|
|
36874
|
+
}, W(Ue.label), 43, Ire))), 128))
|
|
36875
36875
|
])
|
|
36876
36876
|
], 512));
|
|
36877
36877
|
}
|
|
@@ -37180,7 +37180,7 @@ function Kre(t, e, n, i, s, a) {
|
|
|
37180
37180
|
"vc-transparent": t.transparent
|
|
37181
37181
|
}
|
|
37182
37182
|
],
|
|
37183
|
-
onMouseup: e[0] || (e[0] =
|
|
37183
|
+
onMouseup: e[0] || (e[0] = je(() => {
|
|
37184
37184
|
}, ["prevent"])),
|
|
37185
37185
|
ref: "containerRef"
|
|
37186
37186
|
}), [
|
|
@@ -37391,7 +37391,7 @@ function Qre(t, { emit: e, slots: n }) {
|
|
|
37391
37391
|
function Ke(L) {
|
|
37392
37392
|
return ss(L) ? L.length === 1 ? [L[0], L[0]] : L : [L, L];
|
|
37393
37393
|
}
|
|
37394
|
-
function
|
|
37394
|
+
function Ue(L) {
|
|
37395
37395
|
return Ke(L).map(
|
|
37396
37396
|
(ne, ke) => ({
|
|
37397
37397
|
...ne,
|
|
@@ -37464,7 +37464,7 @@ function Qre(t, { emit: e, slots: n }) {
|
|
|
37464
37464
|
targetPriority: Tn,
|
|
37465
37465
|
moveToValue: bn = !1
|
|
37466
37466
|
} = {}) {
|
|
37467
|
-
const pi =
|
|
37467
|
+
const pi = Ue(ne);
|
|
37468
37468
|
let Ft = Qe(
|
|
37469
37469
|
L,
|
|
37470
37470
|
pi,
|
|
@@ -37489,7 +37489,7 @@ function Qre(t, { emit: e, slots: n }) {
|
|
|
37489
37489
|
}
|
|
37490
37490
|
function St() {
|
|
37491
37491
|
da(() => {
|
|
37492
|
-
const L =
|
|
37492
|
+
const L = Ue({
|
|
37493
37493
|
type: "string",
|
|
37494
37494
|
mask: X.value
|
|
37495
37495
|
}), ne = _t(
|
|
@@ -39319,7 +39319,7 @@ const o8 = /* @__PURE__ */ ge(ile, [["render", ule], ["__scopeId", "data-v-57e87
|
|
|
39319
39319
|
function Ke(ye) {
|
|
39320
39320
|
r.value = ye, de(r.value).classList.add("highlight");
|
|
39321
39321
|
}
|
|
39322
|
-
function
|
|
39322
|
+
function Ue() {
|
|
39323
39323
|
de(r.value).classList.remove("highlight");
|
|
39324
39324
|
}
|
|
39325
39325
|
function Pe() {
|
|
@@ -39369,9 +39369,9 @@ const o8 = /* @__PURE__ */ ge(ile, [["render", ule], ["__scopeId", "data-v-57e87
|
|
|
39369
39369
|
class: K.value,
|
|
39370
39370
|
fluid: te.value,
|
|
39371
39371
|
onKeydown: [
|
|
39372
|
-
Tt(
|
|
39373
|
-
Tt(
|
|
39374
|
-
Tt(
|
|
39372
|
+
Tt(je(fe, ["prevent"]), ["enter"]),
|
|
39373
|
+
Tt(je($e, ["prevent"]), ["arrow-down"]),
|
|
39374
|
+
Tt(je(Me, ["prevent"]), ["arrow-up"]),
|
|
39375
39375
|
ee(Y)
|
|
39376
39376
|
],
|
|
39377
39377
|
onClick: ce,
|
|
@@ -39400,7 +39400,7 @@ const o8 = /* @__PURE__ */ ge(ile, [["render", ule], ["__scopeId", "data-v-57e87
|
|
|
39400
39400
|
class: "option__text",
|
|
39401
39401
|
onMousedown: Te,
|
|
39402
39402
|
onMouseover: (rt) => Ke(_t),
|
|
39403
|
-
onMouseout: ze[1] || (ze[1] = (rt) =>
|
|
39403
|
+
onMouseout: ze[1] || (ze[1] = (rt) => Ue())
|
|
39404
39404
|
}, W(Qe[t.optionsField]), 41, hle))), 128))
|
|
39405
39405
|
])) : (y(), k("ul", fle, ze[2] || (ze[2] = [
|
|
39406
39406
|
O("li", { class: "option__text--muted" }, " Nenhuma opção encontrada ", -1)
|
|
@@ -40405,10 +40405,10 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40405
40405
|
onFocus: e[14] || (e[14] = (r) => t.activate()),
|
|
40406
40406
|
onBlur: e[15] || (e[15] = (r) => t.searchable ? !1 : t.deactivate()),
|
|
40407
40407
|
onKeydown: [
|
|
40408
|
-
e[16] || (e[16] = Tt(
|
|
40409
|
-
e[17] || (e[17] = Tt(
|
|
40408
|
+
e[16] || (e[16] = Tt(je((r) => t.pointerForward(), ["self", "prevent"]), ["down"])),
|
|
40409
|
+
e[17] || (e[17] = Tt(je((r) => t.pointerBackward(), ["self", "prevent"]), ["up"]))
|
|
40410
40410
|
],
|
|
40411
|
-
onKeypress: e[18] || (e[18] = Tt(
|
|
40411
|
+
onKeypress: e[18] || (e[18] = Tt(je((r) => t.addPointerElement(r), ["stop", "self"]), ["enter", "tab"])),
|
|
40412
40412
|
onKeyup: e[19] || (e[19] = Tt((r) => t.deactivate(), ["esc"])),
|
|
40413
40413
|
role: "combobox",
|
|
40414
40414
|
"aria-owns": "listbox-" + t.id
|
|
@@ -40417,7 +40417,7 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40417
40417
|
N(
|
|
40418
40418
|
"div",
|
|
40419
40419
|
{
|
|
40420
|
-
onMousedown: e[1] || (e[1] =
|
|
40420
|
+
onMousedown: e[1] || (e[1] = je((r) => t.toggle(), ["prevent", "stop"])),
|
|
40421
40421
|
class: "multiselect__select"
|
|
40422
40422
|
},
|
|
40423
40423
|
null,
|
|
@@ -40457,8 +40457,8 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40457
40457
|
}, null, 8, ["textContent"]),
|
|
40458
40458
|
N("i", {
|
|
40459
40459
|
tabindex: "1",
|
|
40460
|
-
onKeypress: Tt(
|
|
40461
|
-
onMousedown:
|
|
40460
|
+
onKeypress: Tt(je((u) => t.removeElement(r), ["prevent"]), ["enter"]),
|
|
40461
|
+
onMousedown: je((u) => t.removeElement(r), ["prevent"]),
|
|
40462
40462
|
class: "multiselect__tag-icon"
|
|
40463
40463
|
}, null, 40, ["onKeypress", "onMousedown"])
|
|
40464
40464
|
]))
|
|
@@ -40510,15 +40510,15 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40510
40510
|
disabled: n.disabled,
|
|
40511
40511
|
tabindex: n.tabindex,
|
|
40512
40512
|
onInput: e[2] || (e[2] = (r) => t.updateSearch(r.target.value)),
|
|
40513
|
-
onFocus: e[3] || (e[3] =
|
|
40514
|
-
onBlur: e[4] || (e[4] =
|
|
40513
|
+
onFocus: e[3] || (e[3] = je((r) => t.activate(), ["prevent"])),
|
|
40514
|
+
onBlur: e[4] || (e[4] = je((r) => t.deactivate(), ["prevent"])),
|
|
40515
40515
|
onKeyup: e[5] || (e[5] = Tt((r) => t.deactivate(), ["esc"])),
|
|
40516
40516
|
onKeydown: [
|
|
40517
|
-
e[6] || (e[6] = Tt(
|
|
40518
|
-
e[7] || (e[7] = Tt(
|
|
40519
|
-
e[9] || (e[9] = Tt(
|
|
40517
|
+
e[6] || (e[6] = Tt(je((r) => t.pointerForward(), ["prevent"]), ["down"])),
|
|
40518
|
+
e[7] || (e[7] = Tt(je((r) => t.pointerBackward(), ["prevent"]), ["up"])),
|
|
40519
|
+
e[9] || (e[9] = Tt(je((r) => t.removeLastElement(), ["stop"]), ["delete"]))
|
|
40520
40520
|
],
|
|
40521
|
-
onKeypress: e[8] || (e[8] = Tt(
|
|
40521
|
+
onKeypress: e[8] || (e[8] = Tt(je((r) => t.addPointerElement(r), ["prevent", "stop", "self"]), ["enter"])),
|
|
40522
40522
|
class: "multiselect__input",
|
|
40523
40523
|
"aria-controls": "listbox-" + t.id
|
|
40524
40524
|
}, null, 44, ["name", "id", "placeholder", "value", "disabled", "tabindex", "aria-controls"])) : U("v-if", !0),
|
|
@@ -40527,7 +40527,7 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40527
40527
|
{
|
|
40528
40528
|
key: 1,
|
|
40529
40529
|
class: "multiselect__single",
|
|
40530
|
-
onMousedown: e[10] || (e[10] =
|
|
40530
|
+
onMousedown: e[10] || (e[10] = je((...r) => t.toggle && t.toggle(...r), ["prevent"]))
|
|
40531
40531
|
},
|
|
40532
40532
|
[
|
|
40533
40533
|
ae(t.$slots, "singleLabel", { option: a.singleValue }, () => [
|
|
@@ -40546,7 +40546,7 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40546
40546
|
{
|
|
40547
40547
|
key: 2,
|
|
40548
40548
|
class: "multiselect__placeholder",
|
|
40549
|
-
onMousedown: e[11] || (e[11] =
|
|
40549
|
+
onMousedown: e[11] || (e[11] = je((...r) => t.toggle && t.toggle(...r), ["prevent"]))
|
|
40550
40550
|
},
|
|
40551
40551
|
[
|
|
40552
40552
|
ae(t.$slots, "placeholder", {}, () => [
|
|
@@ -40572,7 +40572,7 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40572
40572
|
class: "multiselect__content-wrapper",
|
|
40573
40573
|
onFocus: e[12] || (e[12] = (...r) => t.activate && t.activate(...r)),
|
|
40574
40574
|
tabindex: "-1",
|
|
40575
|
-
onMousedown: e[13] || (e[13] =
|
|
40575
|
+
onMousedown: e[13] || (e[13] = je(() => {
|
|
40576
40576
|
}, ["prevent"])),
|
|
40577
40577
|
style: { maxHeight: t.optimizedHeight + "px" },
|
|
40578
40578
|
ref: "list"
|
|
@@ -40608,8 +40608,8 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40608
40608
|
r && (r.$isLabel || r.$isDisabled) ? U("v-if", !0) : (y(), ie("span", {
|
|
40609
40609
|
key: 0,
|
|
40610
40610
|
class: [t.optionHighlight(o, r), "multiselect__option"],
|
|
40611
|
-
onClick:
|
|
40612
|
-
onMouseenter:
|
|
40611
|
+
onClick: je((u) => t.select(r), ["stop"]),
|
|
40612
|
+
onMouseenter: je((u) => t.pointerSet(o), ["self"]),
|
|
40613
40613
|
"data-select": r && r.isTag ? t.tagPlaceholder : a.selectLabelText,
|
|
40614
40614
|
"data-selected": a.selectedLabelText,
|
|
40615
40615
|
"data-deselect": a.deselectLabelText
|
|
@@ -40633,8 +40633,8 @@ function Wle(t, e, n, i, s, a) {
|
|
|
40633
40633
|
"data-select": t.groupSelect && a.selectGroupLabelText,
|
|
40634
40634
|
"data-deselect": t.groupSelect && a.deselectGroupLabelText,
|
|
40635
40635
|
class: [t.groupHighlight(o, r), "multiselect__option"],
|
|
40636
|
-
onMouseenter:
|
|
40637
|
-
onMousedown:
|
|
40636
|
+
onMouseenter: je((u) => t.groupSelect && t.pointerSet(o), ["self"]),
|
|
40637
|
+
onMousedown: je((u) => t.selectGroup(r), ["prevent"])
|
|
40638
40638
|
}, [
|
|
40639
40639
|
ae(t.$slots, "option", {
|
|
40640
40640
|
option: r,
|
|
@@ -41982,7 +41982,7 @@ function Rue(t, e, n, i, s, a) {
|
|
|
41982
41982
|
O("div", {
|
|
41983
41983
|
id: "menu-profile",
|
|
41984
41984
|
class: "side-bar__avatar",
|
|
41985
|
-
onClick: e[3] || (e[3] =
|
|
41985
|
+
onClick: e[3] || (e[3] = je((g) => s.showPopover = !s.showPopover, ["stop"]))
|
|
41986
41986
|
}, [
|
|
41987
41987
|
N(d, {
|
|
41988
41988
|
src: n.userPicture,
|
|
@@ -42760,7 +42760,7 @@ function bce(t, e, n, i, s, a) {
|
|
|
42760
42760
|
maxlength: "1",
|
|
42761
42761
|
class: R(["pin-input", a.computedClass]),
|
|
42762
42762
|
autocomplete: "off",
|
|
42763
|
-
onKeydown: Tt(
|
|
42763
|
+
onKeydown: Tt(je((u) => a.handleBack(r), ["stop"]), ["delete"]),
|
|
42764
42764
|
onKeypress: (u) => a.changeInputContent(u, r),
|
|
42765
42765
|
onInput: (u) => a.handleInput(u, r),
|
|
42766
42766
|
onFocus: (u) => a.fixCursorPosition(r)
|
|
@@ -43308,7 +43308,7 @@ const z1 = /* @__PURE__ */ ge(vg, [["render", Tce], ["__scopeId", "data-v-5298dc
|
|
|
43308
43308
|
name: "trash-outline",
|
|
43309
43309
|
color: "#52616F",
|
|
43310
43310
|
class: "quick_action_bar__remove-recent-icon",
|
|
43311
|
-
onClick:
|
|
43311
|
+
onClick: je((he) => S(X), ["stop"])
|
|
43312
43312
|
}, null, 8, ["onClick"])
|
|
43313
43313
|
]),
|
|
43314
43314
|
_: 2
|
|
@@ -44244,7 +44244,7 @@ function mde(t, e, n, i, s, a) {
|
|
|
44244
44244
|
}, [
|
|
44245
44245
|
O("div", {
|
|
44246
44246
|
class: "side-sheet__container",
|
|
44247
|
-
onClick: e[3] || (e[3] =
|
|
44247
|
+
onClick: e[3] || (e[3] = je(() => {
|
|
44248
44248
|
}, ["stop"]))
|
|
44249
44249
|
}, [
|
|
44250
44250
|
O("header", null, [
|
|
@@ -46633,7 +46633,7 @@ function O1e(t, e, n, i, s, a) {
|
|
|
46633
46633
|
key: 1,
|
|
46634
46634
|
id: `sort-icon-${d.key}`,
|
|
46635
46635
|
clickable: n.sortable,
|
|
46636
|
-
onClick:
|
|
46636
|
+
onClick: je((p) => a.handleSortBy(d.key), ["stop"])
|
|
46637
46637
|
}, {
|
|
46638
46638
|
default: se(() => [
|
|
46639
46639
|
Ne(W(d.label) + " ", 1),
|
|
@@ -46800,7 +46800,7 @@ function z1e(t, e, n, i, s, a) {
|
|
|
46800
46800
|
class: R(["inner-tabs__tab", a.isActive(o) ? "inner-tabs__tab--active" : "inner-tabs__tab--inactive"]),
|
|
46801
46801
|
style: $t(a.activeBorderStyle),
|
|
46802
46802
|
onClick: (d) => a.handleClick(d, o),
|
|
46803
|
-
onContextmenu:
|
|
46803
|
+
onContextmenu: je((d) => a.handleRightClick(d, o), ["prevent", "stop"])
|
|
46804
46804
|
}, [
|
|
46805
46805
|
O("span", E1e, W(o.title), 1)
|
|
46806
46806
|
], 46, L1e)
|
|
@@ -46811,7 +46811,7 @@ function z1e(t, e, n, i, s, a) {
|
|
|
46811
46811
|
href: "javascript:void(0)",
|
|
46812
46812
|
target: "_self",
|
|
46813
46813
|
class: "nav-link",
|
|
46814
|
-
onClick: e[0] || (e[0] =
|
|
46814
|
+
onClick: e[0] || (e[0] = je((...o) => a.handleAddAction && a.handleAddAction(...o), ["prevent"]))
|
|
46815
46815
|
}, [
|
|
46816
46816
|
N(r, {
|
|
46817
46817
|
height: "32",
|
|
@@ -48091,7 +48091,7 @@ const Phe = /* @__PURE__ */ ge(Sg, [["render", Ehe], ["__scopeId", "data-v-e7190
|
|
|
48091
48091
|
variant: t.variant,
|
|
48092
48092
|
disabled: !u.value,
|
|
48093
48093
|
secondary: "",
|
|
48094
|
-
onClick:
|
|
48094
|
+
onClick: je(x, ["prevent"])
|
|
48095
48095
|
}, {
|
|
48096
48096
|
default: se(() => [
|
|
48097
48097
|
Ne(W(t.takeAnotherPhotoButtonText), 1)
|
|
@@ -48104,7 +48104,7 @@ const Phe = /* @__PURE__ */ ge(Sg, [["render", Ehe], ["__scopeId", "data-v-e7190
|
|
|
48104
48104
|
variant: t.variant,
|
|
48105
48105
|
disabled: !u.value,
|
|
48106
48106
|
secondary: "",
|
|
48107
|
-
onClick:
|
|
48107
|
+
onClick: je(w, ["prevent"])
|
|
48108
48108
|
}, {
|
|
48109
48109
|
default: se(() => [
|
|
48110
48110
|
Ne(W(t.takePhotoButtonText), 1)
|
|
@@ -48116,7 +48116,7 @@ const Phe = /* @__PURE__ */ ge(Sg, [["render", Ehe], ["__scopeId", "data-v-e7190
|
|
|
48116
48116
|
size: "lg",
|
|
48117
48117
|
variant: t.variant,
|
|
48118
48118
|
disabled: !o.value,
|
|
48119
|
-
onClick:
|
|
48119
|
+
onClick: je(C, ["prevent"])
|
|
48120
48120
|
}, {
|
|
48121
48121
|
default: se(() => [
|
|
48122
48122
|
Ne(W(t.savePhotoButtonText), 1)
|
|
@@ -48253,7 +48253,7 @@ function efe(t, e, n, i, s, a) {
|
|
|
48253
48253
|
fluid: "",
|
|
48254
48254
|
clickable: n.clickable,
|
|
48255
48255
|
onBoxClick: (d) => a.handleStepBoxClick(u),
|
|
48256
|
-
onClick: e[0] || (e[0] =
|
|
48256
|
+
onClick: e[0] || (e[0] = je(() => {
|
|
48257
48257
|
}, ["prevent"]))
|
|
48258
48258
|
}, [
|
|
48259
48259
|
s.currentStep >= u ? (y(), k("span", jhe, [
|
|
@@ -48281,7 +48281,7 @@ function efe(t, e, n, i, s, a) {
|
|
|
48281
48281
|
text: n.cancelButtonText,
|
|
48282
48282
|
secondary: "",
|
|
48283
48283
|
onButtonClick: a.backActionClick,
|
|
48284
|
-
onClick: e[1] || (e[1] =
|
|
48284
|
+
onClick: e[1] || (e[1] = je(() => {
|
|
48285
48285
|
}, ["prevent"]))
|
|
48286
48286
|
}, null, 8, ["text", "onButtonClick"]),
|
|
48287
48287
|
N(r, {
|
|
@@ -48289,7 +48289,7 @@ function efe(t, e, n, i, s, a) {
|
|
|
48289
48289
|
variant: n.nextButtonVariant,
|
|
48290
48290
|
disabled: n.disableNextButton,
|
|
48291
48291
|
onButtonClick: a.nextActionClick,
|
|
48292
|
-
onClick: e[2] || (e[2] =
|
|
48292
|
+
onClick: e[2] || (e[2] = je(() => {
|
|
48293
48293
|
}, ["prevent"]))
|
|
48294
48294
|
}, null, 8, ["text", "variant", "disabled", "onButtonClick"])
|
|
48295
48295
|
])
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
19
19
|
|
|
20
20
|
`,`1) content: element.innerHTML
|
|
21
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var l=s.reduce(function(d,h){var f=h&&u8(h,r);return f&&d.push(f),d},[]);return rl(t)?l[0]:l}Oa.defaultProps=Qn,Oa.setDefaultProps=o8,Oa.currentInput=er,Object.assign({},Lp,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Oa.setDefaultProps({render:_m});const al={mounted(t,e){if(!e.value||typeof e.value!="string"&&!e.value.content)return;const n=typeof e.value=="string"?e.value:e.value.content||"";t._tippyInstance=Oa(t,{content:n,arrow:!1,animation:"shift-away-subtle",delay:100,allowHTML:!0,...e.value.options||{}})},updated(t,e){if(!e.value||typeof e.value!="string"&&!e.value.content){t._tippyInstance&&(t._tippyInstance.destroy(),t._tippyInstance=null);return}const n=typeof e.value=="string"?e.value:e.value.content||"";t._tippyInstance?t._tippyInstance.setProps({content:n,...e.value.options||{}}):t._tippyInstance=Oa(t,{content:n,arrow:!1,animation:"shift-away-subtle",delay:100,allowHTML:!0,...e.value.options||{}})},beforeUnmount(t){t._tippyInstance&&(t._tippyInstance.destroy(),t._tippyInstance=null)}},Hh={directives:{cdstip:al},components:{CdsSpinner:xa},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},block:{type:Boolean,default:!1},text:{type:String,default:"Lorem ipsum"},disabled:{type:Boolean,default:!1},tooltipText:{type:String,default:null},secondary:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","dark"],predefinedSizes:["sm","md","lg"]}},computed:{widthResolver(){return this.block?"100%":"max-content"},tooltipDisabled(){return this.disabled&&this.tooltipText!==""?this.tooltipText:null},predefinedColor(){return this.secondary?"button--secondary":this.predefinedColors.indexOf(this.variant)>-1?`button--${this.variant}`:"button--green"},predefinedSize(){return this.predefinedSizes.indexOf(this.size)>-1?`button-size--${this.size}`:"button-size--md"},computedStyle(){const t=this.disabled?"--disabled":"--active";return`${this.predefinedColor}${t} ${this.predefinedSize}`}},methods:{clickHandler(){this.disabled||this.$emit("button-click",!0)}}},wm=()=>{i.useCssVars(t=>({"3a67bade":t.widthResolver}))},km=Hh.setup;Hh.setup=km?(t,e)=>(wm(),km(t,e)):wm;function h8(t,e,n,r,s,a){const o=i.resolveComponent("cds-spinner"),l=i.resolveDirective("cdstip");return i.withDirectives((i.openBlock(),i.createElementBlock("button",{class:i.normalizeClass(["button__container",a.computedStyle]),onClick:e[0]||(e[0]=i.withModifiers((...d)=>a.clickHandler&&a.clickHandler(...d),["stop"]))},[n.loading?(i.openBlock(),i.createBlock(o,{key:0,variant:"white",size:"sm",class:"button__loader"})):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"default",{},()=>[i.createTextVNode(i.toDisplayString(n.text),1)],!0)],2)),[[l,a.tooltipDisabled]])}const ei=te(Hh,[["render",h8],["__scopeId","data-v-0555dba6"]]),f8={components:{CdsIcon:Ce,CdsButton:ei},props:{show:{type:Boolean,default:!1,required:!1},float:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},light:{type:Boolean,default:!1},actions:{type:Array,default:()=>[]}},data(){return{internalShow:!1}},computed:{hasActionSlot(){return Object.keys(this.$slots).some(t=>t==="actions")}},watch:{show(t){this.internalShow=t}},mounted(){this.internalShow=this.show},methods:{handleClose(){this.internalShow=!1,this.$emit("close",!0)}}},p8={key:0,class:"toolbar__container"},m8={key:0,class:"toolbar__buttons-container"},g8={key:1,class:"toolbar__buttons-container"};function y8(t,e,n,r,s,a){const o=i.resolveComponent("cds-button"),l=i.resolveComponent("cds-icon");return s.internalShow?(i.openBlock(),i.createElementBlock("div",p8,[i.createElementVNode("div",{class:i.normalizeClass({"toolbar--fixed":n.float,"toolbar--light":n.light,"toolbar--dark":!n.light})},[i.renderSlot(t.$slots,"description",{},void 0,!0),a.hasActionSlot?(i.openBlock(),i.createElementBlock("div",m8,[i.renderSlot(t.$slots,"actions",{},void 0,!0)])):(i.openBlock(),i.createElementBlock("div",g8,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.actions,(d,h)=>(i.openBlock(),i.createElementBlock("div",{key:h,class:"toolbar__button"},[i.createVNode(o,{id:`btn-${h+1}`,secondary:n.light,variant:"dark",onClick:f=>t.$emit("click",d)},{default:i.withCtx(()=>[i.createElementVNode("span",null,i.toDisplayString(d),1)]),_:2},1032,["id","secondary","onClick"])]))),128))])),n.dismissible?(i.openBlock(),i.createElementBlock("div",{key:2,class:i.normalizeClass(n.light?"toolbar__icon--light":"toolbar__icon--dark"),onClick:e[0]||(e[0]=(...d)=>a.handleClose&&a.handleClose(...d))},[i.createVNode(l,{name:"x-outline",height:"20",width:"20"})],2)):i.createCommentVNode("",!0)],2)])):i.createCommentVNode("",!0)}const b8=te(f8,[["render",y8],["__scopeId","data-v-72b9ba8b"]]);var yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qc={exports:{}};Qc.exports,function(t,e){var n=200,r="__lodash_hash_undefined__",s=9007199254740991,a="[object Arguments]",o="[object Array]",l="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",y="[object Number]",_="[object Object]",w="[object Promise]",k="[object RegExp]",C="[object Set]",M="[object String]",D="[object Symbol]",x="[object WeakMap]",T="[object ArrayBuffer]",I="[object DataView]",L="[object Float32Array]",$="[object Float64Array]",H="[object Int8Array]",Y="[object Int16Array]",ee="[object Int32Array]",q="[object Uint8Array]",se="[object Uint8ClampedArray]",be="[object Uint16Array]",ne="[object Uint32Array]",J=/[\\^$.*+?()[\]{}|]/g,ue=/\w*$/,ge=/^\[object .+?Constructor\]$/,Q=/^(?:0|[1-9]\d*)$/,W={};W[a]=W[o]=W[T]=W[I]=W[l]=W[d]=W[L]=W[$]=W[H]=W[Y]=W[ee]=W[g]=W[y]=W[_]=W[k]=W[C]=W[M]=W[D]=W[q]=W[se]=W[be]=W[ne]=!0,W[h]=W[f]=W[x]=!1;var pe=typeof yn=="object"&&yn&&yn.Object===Object&&yn,he=typeof self=="object"&&self&&self.Object===Object&&self,Oe=pe||he||Function("return this")(),Ee=e&&!e.nodeType&&e,we=Ee&&!0&&t&&!t.nodeType&&t,Ae=we&&we.exports===Ee;function Qe(v,E){return v.set(E[0],E[1]),v}function ae(v,E){return v.add(E),v}function ke(v,E){for(var N=-1,K=v?v.length:0;++N<K&&E(v[N],N,v)!==!1;);return v}function Ie(v,E){for(var N=-1,K=E.length,ze=v.length;++N<K;)v[ze+N]=E[N];return v}function et(v,E,N,K){for(var ze=-1,Be=v?v.length:0;++ze<Be;)N=E(N,v[ze],ze,v);return N}function He(v,E){for(var N=-1,K=Array(v);++N<v;)K[N]=E(N);return K}function qe(v,E){return v==null?void 0:v[E]}function rt(v){var E=!1;if(v!=null&&typeof v.toString!="function")try{E=!!(v+"")}catch{}return E}function zt(v){var E=-1,N=Array(v.size);return v.forEach(function(K,ze){N[++E]=[ze,K]}),N}function ut(v,E){return function(N){return v(E(N))}}function st(v){var E=-1,N=Array(v.size);return v.forEach(function(K){N[++E]=K}),N}var Zt=Array.prototype,Xt=Function.prototype,pt=Object.prototype,at=Oe["__core-js_shared__"],$t=function(){var v=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),xt=Xt.toString,Mt=pt.hasOwnProperty,Ct=pt.toString,nn=RegExp("^"+xt.call(Mt).replace(J,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=Ae?Oe.Buffer:void 0,ce=Oe.Symbol,Ne=Oe.Uint8Array,Ue=ut(Object.getPrototypeOf,Object),rn=Object.create,pn=pt.propertyIsEnumerable,oe=Zt.splice,R=Object.getOwnPropertySymbols,Z=Bt?Bt.isBuffer:void 0,ye=ut(Object.keys,Object),U=zn(Oe,"DataView"),V=zn(Oe,"Map"),G=zn(Oe,"Promise"),de=zn(Oe,"Set"),Me=zn(Oe,"WeakMap"),Ke=zn(Object,"create"),ht=vn(U),Et=vn(V),ln=vn(G),Jt=vn(de),qn=vn(Me),bt=ce?ce.prototype:void 0,Nn=bt?bt.valueOf:void 0;function En(v){var E=-1,N=v?v.length:0;for(this.clear();++E<N;){var K=v[E];this.set(K[0],K[1])}}function si(){this.__data__=Ke?Ke(null):{}}function Ui(v){return this.has(v)&&delete this.__data__[v]}function Or(v){var E=this.__data__;if(Ke){var N=E[v];return N===r?void 0:N}return Mt.call(E,v)?E[v]:void 0}function vo(v){var E=this.__data__;return Ke?E[v]!==void 0:Mt.call(E,v)}function aa(v,E){var N=this.__data__;return N[v]=Ke&&E===void 0?r:E,this}En.prototype.clear=si,En.prototype.delete=Ui,En.prototype.get=Or,En.prototype.has=vo,En.prototype.set=aa;function cn(v){var E=-1,N=v?v.length:0;for(this.clear();++E<N;){var K=v[E];this.set(K[0],K[1])}}function uc(){this.__data__=[]}function hc(v){var E=this.__data__,N=Vr(E,v);if(N<0)return!1;var K=E.length-1;return N==K?E.pop():oe.call(E,N,1),!0}function fc(v){var E=this.__data__,N=Vr(E,v);return N<0?void 0:E[N][1]}function pc(v){return Vr(this.__data__,v)>-1}function mc(v,E){var N=this.__data__,K=Vr(N,v);return K<0?N.push([v,E]):N[K][1]=E,this}cn.prototype.clear=uc,cn.prototype.delete=hc,cn.prototype.get=fc,cn.prototype.has=pc,cn.prototype.set=mc;function dn(v){var E=-1,N=v?v.length:0;for(this.clear();++E<N;){var K=v[E];this.set(K[0],K[1])}}function gc(){this.__data__={hash:new En,map:new(V||cn),string:new En}}function yc(v){return ji(this,v).delete(v)}function bc(v){return ji(this,v).get(v)}function vc(v){return ji(this,v).has(v)}function _c(v,E){return ji(this,v).set(v,E),this}dn.prototype.clear=gc,dn.prototype.delete=yc,dn.prototype.get=bc,dn.prototype.has=vc,dn.prototype.set=_c;function Dn(v){this.__data__=new cn(v)}function ms(){this.__data__=new cn}function wc(v){return this.__data__.delete(v)}function gs(v){return this.__data__.get(v)}function kc(v){return this.__data__.has(v)}function xc(v,E){var N=this.__data__;if(N instanceof cn){var K=N.__data__;if(!V||K.length<n-1)return K.push([v,E]),this;N=this.__data__=new dn(K)}return N.set(v,E),this}Dn.prototype.clear=ms,Dn.prototype.delete=wc,Dn.prototype.get=gs,Dn.prototype.has=kc,Dn.prototype.set=xc;function ys(v,E){var N=ua(v)||bs(v)?He(v.length,String):[],K=N.length,ze=!!K;for(var Be in v)Mt.call(v,Be)&&!(ze&&(Be=="length"||Eo(Be,K)))&&N.push(Be);return N}function oa(v,E,N){var K=v[E];(!(Mt.call(v,E)&&da(K,N))||N===void 0&&!(E in v))&&(v[E]=N)}function Vr(v,E){for(var N=v.length;N--;)if(da(v[N][0],E))return N;return-1}function ai(v,E){return v&&Nr(E,fa(E),v)}function la(v,E,N,K,ze,Be,tt){var nt;if(K&&(nt=Be?K(v,ze,Be,tt):K(v)),nt!==void 0)return nt;if(!Si(v))return v;var Ge=ua(v);if(Ge){if(nt=Mo(v),!E)return Co(v,nt)}else{var ot=xi(v),Lt=ot==f||ot==m;if(_s(v))return $r(v,E);if(ot==_||ot==a||Lt&&!Be){if(rt(v))return Be?v:{};if(nt=Ci(Lt?{}:v),!E)return Ec(v,ai(nt,v))}else{if(!W[ot])return Be?v:{};nt=Bo(v,ot,la,E)}}tt||(tt=new Dn);var _n=tt.get(v);if(_n)return _n;if(tt.set(v,nt),!Ge)var Ht=N?So(v):fa(v);return ke(Ht||v,function(_t,sn){Ht&&(sn=_t,_t=v[sn]),oa(nt,sn,la(_t,E,N,K,sn,v,tt))}),nt}function Cc(v){return Si(v)?rn(v):{}}function Sc(v,E,N){var K=E(v);return ua(v)?K:Ie(K,N(v))}function Mc(v){return Ct.call(v)}function _o(v){if(!Si(v)||Oo(v))return!1;var E=ha(v)||rt(v)?nn:ge;return E.test(vn(v))}function wo(v){if(!Vo(v))return ye(v);var E=[];for(var N in Object(v))Mt.call(v,N)&&N!="constructor"&&E.push(N);return E}function $r(v,E){if(E)return v.slice();var N=new v.constructor(v.length);return v.copy(N),N}function Tr(v){var E=new v.constructor(v.byteLength);return new Ne(E).set(new Ne(v)),E}function Ir(v,E){var N=E?Tr(v.buffer):v.buffer;return new v.constructor(N,v.byteOffset,v.byteLength)}function ca(v,E,N){var K=E?N(zt(v),!0):zt(v);return et(K,Qe,new v.constructor)}function Ar(v){var E=new v.constructor(v.source,ue.exec(v));return E.lastIndex=v.lastIndex,E}function ko(v,E,N){var K=E?N(st(v),!0):st(v);return et(K,ae,new v.constructor)}function Bc(v){return Nn?Object(Nn.call(v)):{}}function xo(v,E){var N=E?Tr(v.buffer):v.buffer;return new v.constructor(N,v.byteOffset,v.length)}function Co(v,E){var N=-1,K=v.length;for(E||(E=Array(K));++N<K;)E[N]=v[N];return E}function Nr(v,E,N,K){N||(N={});for(var ze=-1,Be=E.length;++ze<Be;){var tt=E[ze],nt=void 0;oa(N,tt,nt===void 0?v[tt]:nt)}return N}function Ec(v,E){return Nr(v,On(v),E)}function So(v){return Sc(v,fa,On)}function ji(v,E){var N=v.__data__;return Do(E)?N[typeof E=="string"?"string":"hash"]:N.map}function zn(v,E){var N=qe(v,E);return _o(N)?N:void 0}var On=R?ut(R,Object):vt,xi=Mc;(U&&xi(new U(new ArrayBuffer(1)))!=I||V&&xi(new V)!=g||G&&xi(G.resolve())!=w||de&&xi(new de)!=C||Me&&xi(new Me)!=x)&&(xi=function(v){var E=Ct.call(v),N=E==_?v.constructor:void 0,K=N?vn(N):void 0;if(K)switch(K){case ht:return I;case Et:return g;case ln:return w;case Jt:return C;case qn:return x}return E});function Mo(v){var E=v.length,N=v.constructor(E);return E&&typeof v[0]=="string"&&Mt.call(v,"index")&&(N.index=v.index,N.input=v.input),N}function Ci(v){return typeof v.constructor=="function"&&!Vo(v)?Cc(Ue(v)):{}}function Bo(v,E,N,K){var ze=v.constructor;switch(E){case T:return Tr(v);case l:case d:return new ze(+v);case I:return Ir(v,K);case L:case $:case H:case Y:case ee:case q:case se:case be:case ne:return xo(v,K);case g:return ca(v,K,N);case y:case M:return new ze(v);case k:return Ar(v);case C:return ko(v,K,N);case D:return Bc(v)}}function Eo(v,E){return E=E??s,!!E&&(typeof v=="number"||Q.test(v))&&v>-1&&v%1==0&&v<E}function Do(v){var E=typeof v;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?v!=="__proto__":v===null}function Oo(v){return!!$t&&$t in v}function Vo(v){var E=v&&v.constructor,N=typeof E=="function"&&E.prototype||pt;return v===N}function vn(v){if(v!=null){try{return xt.call(v)}catch{}try{return v+""}catch{}}return""}function $o(v){return la(v,!0,!0)}function da(v,E){return v===E||v!==v&&E!==E}function bs(v){return Dc(v)&&Mt.call(v,"callee")&&(!pn.call(v,"callee")||Ct.call(v)==a)}var ua=Array.isArray;function vs(v){return v!=null&&To(v.length)&&!ha(v)}function Dc(v){return Io(v)&&vs(v)}var _s=Z||mt;function ha(v){var E=Si(v)?Ct.call(v):"";return E==f||E==m}function To(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=s}function Si(v){var E=typeof v;return!!v&&(E=="object"||E=="function")}function Io(v){return!!v&&typeof v=="object"}function fa(v){return vs(v)?ys(v):wo(v)}function vt(){return[]}function mt(){return!1}t.exports=$o}(Qc,Qc.exports);var v8=Qc.exports;const ol=Wh(v8),_8={props:{actions:{type:Array,default:()=>[],required:!0},numberOfExpandedActions:{type:Number,default:2,required:!1}},data(){return{action:ol(this.actions),internalNumberOfExpandedActions:this.numberOfExpandedActions,itsBeingShown:!1}},methods:{toggleCollapseState(){this.internalNumberOfExpandedActions=this.itsBeingShown?this.numberOfExpandedActions:this.action.length,this.itsBeingShown=!this.itsBeingShown,this.$emit("expanded",this.itsBeingShown)},handleClick(t){t.disabled||this.$emit("action-clicked",t)}}},w8={class:"action-list"},k8={class:"action-list--right"},x8=["onClick"];function C8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("span",w8,[i.createElementVNode("div",k8,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.actions,(o,l)=>(i.openBlock(),i.createElementBlock("div",{key:o.title},[i.createVNode(i.Transition,{name:"action-list__slide-fade"},{default:i.withCtx(()=>[l<=s.internalNumberOfExpandedActions-1?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass({"action-list__item":l===0,"action-list__item--left-bordered":l!==0,"action-list__item--disabled":o.disabled}),onClick:i.withModifiers(d=>a.handleClick(o),["stop"])},[i.renderSlot(t.$slots,"action",{list:o},void 0,!0)],10,x8)):i.createCommentVNode("",!0)]),_:2},1024)]))),128)),n.actions.length>n.numberOfExpandedActions?(i.openBlock(),i.createElementBlock("div",{key:0,class:"action-list__item--left-bordered",onClick:e[0]||(e[0]=i.withModifiers((...o)=>a.toggleCollapseState&&a.toggleCollapseState(...o),["stop"]))},[i.renderSlot(t.$slots,"action-trigger",{},()=>[i.createTextVNode(i.toDisplayString(s.itsBeingShown?"Menos ações":"Mais ações"),1)],!0)])):i.createCommentVNode("",!0)])])}const S8=te(_8,[["render",C8],["__scopeId","data-v-8ad639ef"]]),M8={components:{CdsIcon:Ce},props:{variant:{type:String,default:"info",required:!1},text:{type:String,default:"Título do AlertCard",required:!1},dismissible:{type:Boolean,default:!1,required:!1}},data(){return{icon:"warning-outline"}},watch:{variant:{handler(t){switch(t){case"info":this.icon="info-outline";break;case"success":this.icon="check-circle-outline";break;case"warning":this.icon="warning-outline";break;case"danger":this.icon="alert-outline";break;default:this.icon="alert-outline";break}},immediate:!0}},methods:{close(){this.$emit("close")}}},B8={id:"alert"},E8={class:"alert__body"},D8={key:0,class:"alert__text"},O8={key:1,class:"alert__text"};function V8(t,e,n,r,s,a){const o=i.resolveComponent("cds-icon");return i.openBlock(),i.createElementBlock("span",B8,[i.createElementVNode("div",{class:i.normalizeClass(["alert",{"alert__container--info":n.variant==="info","alert__container--success":n.variant==="success","alert__container--warning":n.variant==="warning","alert__container--danger":n.variant==="danger"}])},[i.createElementVNode("div",E8,[i.createElementVNode("div",null,[i.createVNode(o,{name:s.icon,class:i.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["name","class"])]),n.text.length>0?(i.openBlock(),i.createElementBlock("span",D8,i.toDisplayString(n.text),1)):(i.openBlock(),i.createElementBlock("span",O8,[i.renderSlot(t.$slots,"default",{},void 0,!0)]))]),n.dismissible?(i.openBlock(),i.createElementBlock("div",{key:0,class:"alert__close-button",onClick:e[0]||(e[0]=(...l)=>a.close&&a.close(...l))},[i.createVNode(o,{name:"x-outline",class:i.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["class"])])):i.createCommentVNode("",!0)],2)])}const $8=te(M8,[["render",V8],["__scopeId","data-v-f6827c7b"]]),T8={components:{CdsIcon:Ce},props:{variant:{type:String,default:"info"},selectable:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},noTitle:{type:Boolean,default:!1},title:{type:String,default:"Título do AlertCard"},subTitle:{type:String,default:"Subtítulo do AlertCard"},withIcon:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},data(){return{isSelected:this.value}},computed:{dynamicIcon(){switch(this.variant){case"info":return"info-outline";case"warning":return"warning-outline";case"danger":return"alert-outline";default:return"info-outline"}},alertCardContainerSelected(){let t="";if(this.muted)t="alert-card__container--muted";else if(this.selectable&&(t="alert-card__container--selectable"),this.isSelected)return`${t} alert-card__container--selected-${this.variant}`;return t},iconClass(){return`icon__container--${this.variant} ${this.noTitle?"align-self-center":""}`}}},I8={id:"alert-card"},A8={class:"alert-card__content-container"};function N8(t,e,n,r,s,a){const o=i.resolveComponent("cds-icon");return i.openBlock(),i.createElementBlock("span",I8,[i.createElementVNode("div",{class:i.normalizeClass(["alert-card__container",a.alertCardContainerSelected])},[n.withIcon?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(a.iconClass)},[i.createVNode(o,{height:"24",width:"24",name:a.dynamicIcon,class:i.normalizeClass(`icon--${n.variant}`)},null,8,["name","class"])],2)):i.createCommentVNode("",!0),i.createElementVNode("div",A8,[n.noTitle?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`alert-card__title--${n.variant}`)},i.toDisplayString(n.title),3)),i.createElementVNode("span",{class:i.normalizeClass(["alert-card__subtitle",`${n.noTitle?"mt-0":"mt-2"}`])},[i.renderSlot(t.$slots,"subTitle-slot",{},()=>[i.createTextVNode(i.toDisplayString(n.subTitle),1)],!0)],2),i.renderSlot(t.$slots,"content-slot",{class:"alert-card__content"},void 0,!0)])],2)])}const z8=te(T8,[["render",N8],["__scopeId","data-v-9ef601da"]]),Yh={props:{text:{type:String,default:null},vertical:{type:Boolean,default:!1},width:{type:[String,Number],default:null},dimmed:{type:Boolean,default:!1},light:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},computed:{sanitizedWidth(){return this.width?`${this.width}px`:"100%"}}},xm=()=>{i.useCssVars(t=>({"6f44ee3e":t.sanitizedWidth}))},Cm=Yh.setup;Yh.setup=Cm?(t,e)=>(xm(),Cm(t,e)):xm;const L8={key:0};function P8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["divider__container",{"divider__container--inline":n.inline}])},[n.vertical?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",L8,i.toDisplayString(n.text),1)),i.createElementVNode("hr",{class:i.normalizeClass(["divider",{"divider--vertical":n.vertical,"divider--light":n.light,"divider--dimmed":n.dimmed}])},null,2)],2)}const ll=te(Yh,[["render",P8]]),R8={props:{direction:{type:String,default:"bottom"},light:{type:Boolean,default:!1},size:{type:String,default:"md"},animate:{type:Boolean,default:!1}},data(){return{innerDirection:this.direction}},watch:{direction:{handler(){this.animationResolver()},immediate:!0}},methods:{animationResolver(){if(this.animate)switch(this.innerDirection){case"top":this.innerDirection="bottom";break;case"bottom":this.innerDirection="top";break;case"right":this.innerDirection="left";break;case"left":this.innerDirection="right";break;default:this.innerDirection="bottom"}}}};function F8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",{ref:"chevron",class:i.normalizeClass({"chevron--top":s.innerDirection==="top","chevron--right":s.innerDirection==="right","chevron--bottom":s.innerDirection==="bottom","chevron--left":s.innerDirection==="left","chevron--sm":n.size==="sm","chevron--md":n.size==="md","chevron--lg":n.size==="lg","chevron--light":n.light===!0})},null,2)}const Va=te(R8,[["render",F8]]),Uh={props:{clickable:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1,required:!1}},computed:{widthResolver(){return this.fluid?"100%":"fit-content"}}},Sm=()=>{i.useCssVars(t=>({"5ffc88d7":t.widthResolver}))},Mm=Uh.setup;Uh.setup=Mm?(t,e)=>(Sm(),Mm(t,e)):Sm;function H8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass({"clickable__container--clickable":n.clickable,"clickable__container--not-clickable":!n.clickable}),onClick:e[0]||(e[0]=o=>t.$emit("cds-click",!0))},[i.renderSlot(t.$slots,"default")],2)}const Ii=te(Uh,[["render",H8]]),W8={props:{maxHeight:{type:String,default:"300px",required:!0},autoHeight:{type:Boolean,default:!1},horizontalScroll:{type:Boolean,default:!1}}},Y8={class:"scrollable"};function U8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",Y8,[i.createElementVNode("div",{class:i.normalizeClass(["scrollable__container",{"scrollable__container--horizontal":n.horizontalScroll}]),style:i.normalizeStyle({"max-height":n.maxHeight,height:n.autoHeight?"auto":n.maxHeight})},[i.renderSlot(t.$slots,"default",{},void 0,!0)],6)])}const ed=te(W8,[["render",U8],["__scopeId","data-v-9f35d9fa"]]),j8={ESC:27};function qr(t=8){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length;for(let s=0;s<t;s+=1)e+=n.charAt(Math.floor(Math.random()*r));return e}const q8=["sm","md","lg"],jh=["thin","default","wide"],qh={components:{CdsScrollable:ed},props:{modelValue:{type:Boolean,default:!1},width:{type:[String,Number],default:250},fitContentWidth:{type:Boolean,default:!1},height:{type:[String,Number],default:200},targetId:{type:String,default:""},rightAligned:{type:Boolean,default:!1},verticalFluid:{type:Boolean,default:!1}},data(){return{id:"",target:"",popover:"",popperInstance:null,uniqueKey:qr()}},computed:{variationPlacement(){return this.rightAligned?"end":"start"},popoverWidth(){return this.fitContentWidth?"fit-content":`${this.width}px`},popoverHeight(){return this.verticalFluid?"fit-content":`${this.height}px`}},watch:{modelValue(t){t?this.show():this.hide()},targetId(t){this.setPopper(t)}},mounted(){this.id=`cds-popover-${this.uniqueKey}`,this.setPopper(this.targetId)},methods:{setPopper(t){this.$nextTick(()=>{this.target=document.querySelector(`[id='${t}']`),this.popover=document.querySelector(`#${this.id}`),this.popperInstance=nl(this.target,this.popover,{placement:`bottom-${this.variationPlacement}`,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{fallbackPlacements:[`top-${this.variationPlacement}`]}}]})})},show(){this.popover.setAttribute("data-show",""),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]})),this.$emit("update:modelValue",!0),this.popperInstance.update()},hide(){this.$nextTick(()=>{this.popover.removeAttribute("data-show"),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})),this.$emit("update:modelValue",!1)})}}},Bm=()=>{i.useCssVars(t=>({"27858a63":t.popoverHeight,"5ee1c5ec":t.popoverWidth}))},Em=qh.setup;qh.setup=Em?(t,e)=>(Bm(),Em(t,e)):Bm;const G8=["id"];function K8(t,e,n,r,s,a){const o=i.resolveComponent("cds-scrollable"),l=i.resolveDirective("cds-click-outside");return i.withDirectives((i.openBlock(),i.createElementBlock("div",{id:t.$attrs.id||s.id,class:"popover"},[n.verticalFluid?i.renderSlot(t.$slots,"default",{key:1},void 0,!0):(i.openBlock(),i.createBlock(o,{key:0,"max-height":`${a.popoverHeight}`},{default:i.withCtx(()=>[i.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["max-height"]))],8,G8)),[[l,a.hide]])}const cl=te(qh,[["render",K8],["__scopeId","data-v-f5fc7a30"]]),Z8={components:{CdsChevron:Va,CdsClickable:Ii,CdsPopover:cl},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},src:{type:String,default:""},initials:{type:String,default:null},name:{type:String,default:null},clickable:{type:Boolean,default:!1}},data(){return{showPopover:!1}},computed:{computedInitials(){return this.initials?this.initials:this.name?this.name.replace(/(\S+)(\s*)/gi,t=>t[0].toUpperCase()).slice(0,2):"UND"}},methods:{toggleDropdown(){this.clickable&&(this.showPopover=!this.showPopover)}}},X8={class:"avatar__container"},J8=["src","alt"];function Q8(t,e,n,r,s,a){const o=i.resolveComponent("cds-chevron"),l=i.resolveComponent("cds-popover"),d=i.resolveComponent("cds-clickable");return i.openBlock(),i.createBlock(d,{id:"avatar-dropdown",clickable:n.clickable,onClick:a.toggleDropdown},{default:i.withCtx(()=>[i.createElementVNode("div",X8,[i.createElementVNode("div",{class:i.normalizeClass(`avatar__container--${n.variant} avatar__container--${n.size}`)},[n.src?(i.openBlock(),i.createElementBlock("img",{key:1,src:n.src,alt:n.name,class:i.normalizeClass(`avatar__image--${n.size}`)},null,10,J8)):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`avatar__initials--${n.size}`)},i.toDisplayString(a.computedInitials),3))],2),n.clickable?(i.openBlock(),i.createBlock(o,{key:0,size:"sm",class:"avatar__chevron",direction:"bottom"})):i.createCommentVNode("",!0)]),i.createVNode(l,{modelValue:s.showPopover,"onUpdate:modelValue":e[0]||(e[0]=h=>s.showPopover=h),"target-id":"avatar-dropdown",width:"180","right-aligned":"","vertical-fluid":""},{default:i.withCtx(()=>[i.renderSlot(t.$slots,"dropdown-content")]),_:3},8,["modelValue"])]),_:3},8,["clickable","onClick"])}const dl=te(Z8,[["render",Q8]]),Gh={components:{CdsIcon:Ce,CdsAvatar:dl,CdsDivider:ll,CdsClickable:Ii},props:{hideSettings:{type:Boolean,default:!1},hideHelp:{type:Boolean,default:!1},hideNotification:{type:Boolean,default:!1},hideAppSwitcher:{type:Boolean,default:!1},hideLogout:{type:Boolean,default:!1},sysvaleBrand:{type:Boolean,default:!1},csBrand:{type:Boolean,default:!1},userName:{type:String,default:null},userDescription:{type:String,default:null},clickable:{type:Boolean,default:!1}},computed:{hasAppSlot(){return Object.keys(this.$slots).some(t=>t==="app-info")},hasUserInfoSlot(){return Object.keys(this.$slots).some(t=>t==="user-info")},gridTemplateColumnsResolver(){return this.hasAppSlot?"1fr 1fr 1fr":"1fr 1fr"},gridTemplateAreasResolver(){return this.hasAppSlot?"'app logo icons'":"'logo icons'"},logoAlignmentResolver(){return this.hasAppSlot?"center":"flex-start"}},methods:{handleClick(t){this.$emit(`${t}-click`,!0)}}},Dm=()=>{i.useCssVars(t=>({"244900c8":t.gridTemplateAreasResolver,"5097391f":t.gridTemplateColumnsResolver,a82bbc8c:t.logoAlignmentResolver}))},Om=Gh.setup;Gh.setup=Om?(t,e)=>(Dm(),Om(t,e)):Dm;const e7={class:"app-bar__container"},t7={key:0,class:"app-bar__logo--cs",src:"https://framerusercontent.com/images/LqVj4DBbWvH0zr04qwYMlSPvEBY.svg",alt:"logo do Cidade Saudável"},n7={key:1,class:"app-bar__logo--sv",src:"https://framerusercontent.com/images/djNYjj5IdpsZL50hF8HEDt5Wbg.svg",alt:"logo da Sysvale"},i7={class:"app-bar__icons-grid"},r7={key:4,class:"user-info__avatar-container"},s7={class:"user-info__container"},a7={class:"user-info__name"},o7={class:"user-info__description"},l7={key:5,class:"app-switcher__container"},c7={key:2,class:"app-switcher"};function d7(t,e,n,r,s,a){const o=i.resolveComponent("cds-icon"),l=i.resolveComponent("cds-clickable"),d=i.resolveComponent("cds-avatar"),h=i.resolveComponent("cds-divider");return i.openBlock(),i.createElementBlock("div",e7,[n.csBrand?(i.openBlock(),i.createElementBlock("img",t7)):n.sysvaleBrand?(i.openBlock(),i.createElementBlock("img",n7)):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"brand",{class:"app-bar__logo"}),i.createElementVNode("div",i7,[n.hideNotification?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:0,clickable:"",onClick:e[0]||(e[0]=f=>a.handleClick("notification"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"notification-bell-outline"})]),_:1})),n.hideHelp?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:1,clickable:"",onClick:e[1]||(e[1]=f=>a.handleClick("help"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"help-outline"})]),_:1})),n.hideSettings?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:2,clickable:"",onClick:e[2]||(e[2]=f=>a.handleClick("settings"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"settings-outline"})]),_:1})),a.hasUserInfoSlot?i.renderSlot(t.$slots,"user-info",{key:3,class:"user-info__container"}):(i.openBlock(),i.createElementBlock("div",r7,[i.createElementVNode("div",s7,[i.createElementVNode("span",a7,i.toDisplayString(n.userName),1),i.createElementVNode("span",o7,i.toDisplayString(n.userDescription),1)]),i.createVNode(d,{name:n.userName,variant:"white",size:"md",clickable:n.clickable,onClick:e[3]||(e[3]=f=>a.handleClick("avatar"))},i.createSlots({_:2},[n.clickable?{name:"dropdown-content",fn:i.withCtx(()=>[i.renderSlot(t.$slots,"dropdown-content")]),key:"0"}:void 0]),1032,["name","clickable"])])),n.hideAppSwitcher?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",l7,[i.createVNode(h,{vertical:"",width:"30"}),i.createVNode(l,{clickable:"",onClick:e[4]||(e[4]=f=>a.handleClick("app-switcher"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"grid-outline"})]),_:1})])),n.hideLogout?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:6,clickable:"",onClick:e[5]||(e[5]=f=>a.handleClick("logout"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"logout-outline"})]),_:1}))]),a.hasAppSlot?(i.openBlock(),i.createElementBlock("div",c7,[i.renderSlot(t.$slots,"app-info")])):i.createCommentVNode("",!0)])}const u7=te(Gh,[["render",d7]]),Kh={props:{width:{type:[String,Number],default:"20"}},computed:{widthResolver(){return`${this.width}px`}}},Vm=()=>{i.useCssVars(t=>({13528900:t.widthResolver}))},$m=Kh.setup;Kh.setup=$m?(t,e)=>(Vm(),$m(t,e)):Vm;const h7={class:"truncate__container"};function f7(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",h7,[i.renderSlot(t.$slots,"default")])}const Tm=te(Kh,[["render",f7]]),p7={props:{position:{type:String,default:"top"},text:{type:String,default:null},slim:{type:Boolean,default:!1},rounded:{type:Boolean,default:!0}},computed:{tooltipConfig(){return{content:this.slim?`<span style="font-size: 11px; padding: 0px;">${this.text}</span>`:`<span style="font-size: 13px; padding: 0px 2px">${this.text}</span>`,options:{placement:this.position,theme:"light",arrow:!0,delay:100,animation:"shift-away-subtle",allowHTML:!0,onShow:t=>{const e=t.popper.querySelector(".tippy-box");e&&(e.style.borderRadius=this.resolveBorderRadius)}}}},resolveBorderRadius(){return this.rounded?"20px":"8px"}}},m7=["data-tippy-placement","data-tippy-content"];function g7(t,e,n,r,s,a){const o=i.resolveDirective("cdstip");return i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:"tooltip","data-tippy-placement":n.position,"data-tippy-content":t.content,"data-tippy-allowHTML":!0},[i.renderSlot(t.$slots,"default")],8,m7)),[[o,a.tooltipConfig]])}const td=te(p7,[["render",g7]]),y7={components:{CdsAvatar:dl,CdsClickable:Ii,CdsPopover:cl,CdsTruncate:Tm,CdsTooltip:td},props:{size:{type:String,default:"md"},avatars:{type:Array,default:()=>[]},maxCount:{type:Number,default:4}},data(){return{listAvatars:this.avatars.slice(0,this.maxCount),popoverAvatars:this.avatars.slice(this.maxCount,this.avatars.length),showPopover:!1}},computed:{showAvatarCounter(){return this.maxCount<this.avatars.length},avatarCounterText(){return`+ ${this.avatars.length-this.maxCount}`}}},b7={class:"avatar-group__container"},v7={class:"avatar__name"};function _7(t,e,n,r,s,a){const o=i.resolveComponent("cds-avatar"),l=i.resolveComponent("cds-tooltip"),d=i.resolveComponent("cds-clickable"),h=i.resolveComponent("cds-truncate"),f=i.resolveComponent("cds-popover");return i.openBlock(),i.createElementBlock("div",b7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.listAvatars,(m,g)=>(i.openBlock(),i.createBlock(l,{key:g,position:"bottom",text:m.name,slim:""},{default:i.withCtx(()=>[i.createVNode(o,i.mergeProps({ref_for:!0},m,{size:n.size,clickable:!1}),null,16,["size"])]),_:2},1032,["text"]))),128)),a.showAvatarCounter?(i.openBlock(),i.createBlock(d,{key:0,id:"avatar-counter",clickable:"",onClick:e[0]||(e[0]=m=>s.showPopover=!0)},{default:i.withCtx(()=>[i.createVNode(o,{size:n.size,clickable:!1,name:a.avatarCounterText,variant:"gray",class:"avatar-group__counter"},null,8,["size","name"])]),_:1})):i.createCommentVNode("",!0),i.createVNode(f,{modelValue:s.showPopover,"onUpdate:modelValue":e[1]||(e[1]=m=>s.showPopover=m),"target-id":"avatar-counter",width:"180","right-aligned":"","vertical-fluid":""},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.popoverAvatars,(m,g)=>(i.openBlock(),i.createElementBlock("div",{key:g,class:"avatar__data"},[i.createVNode(o,i.mergeProps({ref_for:!0},m,{size:"sm",clickable:!1}),null,16),i.createVNode(h,{width:"180"},{default:i.withCtx(()=>[i.createElementVNode("span",v7,i.toDisplayString(m.name),1)]),_:2},1024)]))),128))]),_:1},8,["modelValue"])])}const w7=te(y7,[["render",_7]]),k7={components:{CdsClickable:Ii},props:{variant:{type:String,default:"gray"},size:{type:String,default:"md"},clickable:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","gray","white"],predefinedSizes:["sm","md","lg"]}},computed:{predefinedStyle(){let t="";return this.predefinedColors.indexOf(this.variant)>-1&&(t+=`badge--${this.variant}`),this.predefinedSizes.indexOf(this.size)>-1&&(t+=` badge--${this.size}`),t}}};function x7(t,e,n,r,s,a){const o=i.resolveComponent("cds-clickable");return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["badge__container",a.predefinedStyle])},[i.createElementVNode("div",{class:i.normalizeClass({"badge__content--sm":n.size==="sm","badge__content--md":n.size==="md","badge__content--lg":n.size==="lg"})},[n.clickable?(i.openBlock(),i.createBlock(o,{key:0,onClick:e[0]||(e[0]=l=>t.$emit("click",!0))},{default:i.withCtx(()=>[i.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3})):i.renderSlot(t.$slots,"default",{key:1},void 0,!0)],2)],2)}const Im=te(k7,[["render",x7],["__scopeId","data-v-a2c0fc86"]]);/*!
|
|
21
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "))}var l=s.reduce(function(d,h){var f=h&&u8(h,r);return f&&d.push(f),d},[]);return rl(t)?l[0]:l}Oa.defaultProps=Qn,Oa.setDefaultProps=o8,Oa.currentInput=er,Object.assign({},Lp,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Oa.setDefaultProps({render:_m});const al={mounted(t,e){if(!e.value||typeof e.value!="string"&&!e.value.content)return;const n=typeof e.value=="string"?e.value:e.value.content||"";t._tippyInstance=Oa(t,{content:n,arrow:!1,animation:"shift-away-subtle",delay:100,allowHTML:!0,...e.value.options||{}})},updated(t,e){if(!e.value||typeof e.value!="string"&&!e.value.content){t._tippyInstance&&(t._tippyInstance.destroy(),t._tippyInstance=null);return}const n=typeof e.value=="string"?e.value:e.value.content||"";t._tippyInstance?t._tippyInstance.setProps({content:n,...e.value.options||{}}):t._tippyInstance=Oa(t,{content:n,arrow:!1,animation:"shift-away-subtle",delay:100,allowHTML:!0,...e.value.options||{}})},beforeUnmount(t){t._tippyInstance&&(t._tippyInstance.destroy(),t._tippyInstance=null)}},Hh={directives:{cdstip:al},components:{CdsSpinner:xa},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},block:{type:Boolean,default:!1},text:{type:String,default:"Lorem ipsum"},disabled:{type:Boolean,default:!1},tooltipText:{type:String,default:null},secondary:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","dark"],predefinedSizes:["sm","md","lg"]}},computed:{widthResolver(){return this.block?"100%":"max-content"},tooltipDisabled(){return this.disabled&&this.tooltipText!==""?this.tooltipText:null},predefinedColor(){return this.secondary?"button--secondary":this.predefinedColors.indexOf(this.variant)>-1?`button--${this.variant}`:"button--green"},predefinedSize(){return this.predefinedSizes.indexOf(this.size)>-1?`button-size--${this.size}`:"button-size--md"},computedStyle(){const t=this.disabled?"--disabled":"--active";return`${this.predefinedColor}${t} ${this.predefinedSize}`}},methods:{clickHandler(){this.disabled||this.$emit("button-click",!0)}}},wm=()=>{i.useCssVars(t=>({"3a67bade":t.widthResolver}))},km=Hh.setup;Hh.setup=km?(t,e)=>(wm(),km(t,e)):wm;function h8(t,e,n,r,s,a){const o=i.resolveComponent("cds-spinner"),l=i.resolveDirective("cdstip");return i.withDirectives((i.openBlock(),i.createElementBlock("button",{class:i.normalizeClass(["button__container",a.computedStyle]),onClick:e[0]||(e[0]=i.withModifiers((...d)=>a.clickHandler&&a.clickHandler(...d),["stop"]))},[n.loading?(i.openBlock(),i.createBlock(o,{key:0,variant:"white",size:"sm",class:"button__loader"})):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"default",{},()=>[i.createTextVNode(i.toDisplayString(n.text),1)],!0)],2)),[[l,a.tooltipDisabled]])}const ei=te(Hh,[["render",h8],["__scopeId","data-v-0555dba6"]]),f8={components:{CdsIcon:Ce,CdsButton:ei},props:{show:{type:Boolean,default:!1,required:!1},float:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},light:{type:Boolean,default:!1},actions:{type:Array,default:()=>[]}},data(){return{internalShow:!1}},computed:{hasActionSlot(){return Object.keys(this.$slots).some(t=>t==="actions")}},watch:{show(t){this.internalShow=t}},mounted(){this.internalShow=this.show},methods:{handleClose(){this.internalShow=!1,this.$emit("close",!0)}}},p8={key:0,class:"toolbar__container"},m8={key:0,class:"toolbar__buttons-container"},g8={key:1,class:"toolbar__buttons-container"};function y8(t,e,n,r,s,a){const o=i.resolveComponent("cds-button"),l=i.resolveComponent("cds-icon");return s.internalShow?(i.openBlock(),i.createElementBlock("div",p8,[i.createElementVNode("div",{class:i.normalizeClass({"toolbar--fixed":n.float,"toolbar--light":n.light,"toolbar--dark":!n.light})},[i.renderSlot(t.$slots,"description",{},void 0,!0),a.hasActionSlot?(i.openBlock(),i.createElementBlock("div",m8,[i.renderSlot(t.$slots,"actions",{},void 0,!0)])):(i.openBlock(),i.createElementBlock("div",g8,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.actions,(d,h)=>(i.openBlock(),i.createElementBlock("div",{key:h,class:"toolbar__button"},[i.createVNode(o,{id:`btn-${h+1}`,secondary:n.light,variant:"dark",onClick:f=>t.$emit("click",d)},{default:i.withCtx(()=>[i.createElementVNode("span",null,i.toDisplayString(d),1)]),_:2},1032,["id","secondary","onClick"])]))),128))])),n.dismissible?(i.openBlock(),i.createElementBlock("div",{key:2,class:i.normalizeClass(n.light?"toolbar__icon--light":"toolbar__icon--dark"),onClick:e[0]||(e[0]=(...d)=>a.handleClose&&a.handleClose(...d))},[i.createVNode(l,{name:"x-outline",height:"20",width:"20"})],2)):i.createCommentVNode("",!0)],2)])):i.createCommentVNode("",!0)}const b8=te(f8,[["render",y8],["__scopeId","data-v-72b9ba8b"]]);var yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qc={exports:{}};Qc.exports,function(t,e){var n=200,r="__lodash_hash_undefined__",s=9007199254740991,a="[object Arguments]",o="[object Array]",l="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",y="[object Number]",_="[object Object]",w="[object Promise]",k="[object RegExp]",C="[object Set]",M="[object String]",D="[object Symbol]",x="[object WeakMap]",T="[object ArrayBuffer]",I="[object DataView]",L="[object Float32Array]",$="[object Float64Array]",H="[object Int8Array]",Y="[object Int16Array]",ee="[object Int32Array]",q="[object Uint8Array]",se="[object Uint8ClampedArray]",be="[object Uint16Array]",ne="[object Uint32Array]",J=/[\\^$.*+?()[\]{}|]/g,ue=/\w*$/,ge=/^\[object .+?Constructor\]$/,Q=/^(?:0|[1-9]\d*)$/,W={};W[a]=W[o]=W[T]=W[I]=W[l]=W[d]=W[L]=W[$]=W[H]=W[Y]=W[ee]=W[g]=W[y]=W[_]=W[k]=W[C]=W[M]=W[D]=W[q]=W[se]=W[be]=W[ne]=!0,W[h]=W[f]=W[x]=!1;var pe=typeof yn=="object"&&yn&&yn.Object===Object&&yn,he=typeof self=="object"&&self&&self.Object===Object&&self,Oe=pe||he||Function("return this")(),Ee=e&&!e.nodeType&&e,we=Ee&&!0&&t&&!t.nodeType&&t,Ae=we&&we.exports===Ee;function Qe(v,E){return v.set(E[0],E[1]),v}function ae(v,E){return v.add(E),v}function ke(v,E){for(var N=-1,K=v?v.length:0;++N<K&&E(v[N],N,v)!==!1;);return v}function Ie(v,E){for(var N=-1,K=E.length,ze=v.length;++N<K;)v[ze+N]=E[N];return v}function et(v,E,N,K){for(var ze=-1,Be=v?v.length:0;++ze<Be;)N=E(N,v[ze],ze,v);return N}function He(v,E){for(var N=-1,K=Array(v);++N<v;)K[N]=E(N);return K}function qe(v,E){return v==null?void 0:v[E]}function rt(v){var E=!1;if(v!=null&&typeof v.toString!="function")try{E=!!(v+"")}catch{}return E}function zt(v){var E=-1,N=Array(v.size);return v.forEach(function(K,ze){N[++E]=[ze,K]}),N}function ut(v,E){return function(N){return v(E(N))}}function st(v){var E=-1,N=Array(v.size);return v.forEach(function(K){N[++E]=K}),N}var Zt=Array.prototype,Xt=Function.prototype,pt=Object.prototype,at=Oe["__core-js_shared__"],$t=function(){var v=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),xt=Xt.toString,Mt=pt.hasOwnProperty,Ct=pt.toString,nn=RegExp("^"+xt.call(Mt).replace(J,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=Ae?Oe.Buffer:void 0,ce=Oe.Symbol,Ne=Oe.Uint8Array,Ue=ut(Object.getPrototypeOf,Object),rn=Object.create,pn=pt.propertyIsEnumerable,oe=Zt.splice,R=Object.getOwnPropertySymbols,Z=Bt?Bt.isBuffer:void 0,ye=ut(Object.keys,Object),U=zn(Oe,"DataView"),V=zn(Oe,"Map"),G=zn(Oe,"Promise"),de=zn(Oe,"Set"),Me=zn(Oe,"WeakMap"),Ke=zn(Object,"create"),ht=vn(U),Et=vn(V),ln=vn(G),Jt=vn(de),qn=vn(Me),bt=ce?ce.prototype:void 0,Nn=bt?bt.valueOf:void 0;function En(v){var E=-1,N=v?v.length:0;for(this.clear();++E<N;){var K=v[E];this.set(K[0],K[1])}}function si(){this.__data__=Ke?Ke(null):{}}function Ui(v){return this.has(v)&&delete this.__data__[v]}function Or(v){var E=this.__data__;if(Ke){var N=E[v];return N===r?void 0:N}return Mt.call(E,v)?E[v]:void 0}function vo(v){var E=this.__data__;return Ke?E[v]!==void 0:Mt.call(E,v)}function aa(v,E){var N=this.__data__;return N[v]=Ke&&E===void 0?r:E,this}En.prototype.clear=si,En.prototype.delete=Ui,En.prototype.get=Or,En.prototype.has=vo,En.prototype.set=aa;function cn(v){var E=-1,N=v?v.length:0;for(this.clear();++E<N;){var K=v[E];this.set(K[0],K[1])}}function uc(){this.__data__=[]}function hc(v){var E=this.__data__,N=Vr(E,v);if(N<0)return!1;var K=E.length-1;return N==K?E.pop():oe.call(E,N,1),!0}function fc(v){var E=this.__data__,N=Vr(E,v);return N<0?void 0:E[N][1]}function pc(v){return Vr(this.__data__,v)>-1}function mc(v,E){var N=this.__data__,K=Vr(N,v);return K<0?N.push([v,E]):N[K][1]=E,this}cn.prototype.clear=uc,cn.prototype.delete=hc,cn.prototype.get=fc,cn.prototype.has=pc,cn.prototype.set=mc;function dn(v){var E=-1,N=v?v.length:0;for(this.clear();++E<N;){var K=v[E];this.set(K[0],K[1])}}function gc(){this.__data__={hash:new En,map:new(V||cn),string:new En}}function yc(v){return ji(this,v).delete(v)}function bc(v){return ji(this,v).get(v)}function vc(v){return ji(this,v).has(v)}function _c(v,E){return ji(this,v).set(v,E),this}dn.prototype.clear=gc,dn.prototype.delete=yc,dn.prototype.get=bc,dn.prototype.has=vc,dn.prototype.set=_c;function Dn(v){this.__data__=new cn(v)}function ms(){this.__data__=new cn}function wc(v){return this.__data__.delete(v)}function gs(v){return this.__data__.get(v)}function kc(v){return this.__data__.has(v)}function xc(v,E){var N=this.__data__;if(N instanceof cn){var K=N.__data__;if(!V||K.length<n-1)return K.push([v,E]),this;N=this.__data__=new dn(K)}return N.set(v,E),this}Dn.prototype.clear=ms,Dn.prototype.delete=wc,Dn.prototype.get=gs,Dn.prototype.has=kc,Dn.prototype.set=xc;function ys(v,E){var N=ua(v)||bs(v)?He(v.length,String):[],K=N.length,ze=!!K;for(var Be in v)Mt.call(v,Be)&&!(ze&&(Be=="length"||Eo(Be,K)))&&N.push(Be);return N}function oa(v,E,N){var K=v[E];(!(Mt.call(v,E)&&da(K,N))||N===void 0&&!(E in v))&&(v[E]=N)}function Vr(v,E){for(var N=v.length;N--;)if(da(v[N][0],E))return N;return-1}function ai(v,E){return v&&Nr(E,fa(E),v)}function la(v,E,N,K,ze,Be,tt){var nt;if(K&&(nt=Be?K(v,ze,Be,tt):K(v)),nt!==void 0)return nt;if(!Si(v))return v;var Ge=ua(v);if(Ge){if(nt=Mo(v),!E)return Co(v,nt)}else{var ot=xi(v),Lt=ot==f||ot==m;if(_s(v))return $r(v,E);if(ot==_||ot==a||Lt&&!Be){if(rt(v))return Be?v:{};if(nt=Ci(Lt?{}:v),!E)return Ec(v,ai(nt,v))}else{if(!W[ot])return Be?v:{};nt=Bo(v,ot,la,E)}}tt||(tt=new Dn);var _n=tt.get(v);if(_n)return _n;if(tt.set(v,nt),!Ge)var Ht=N?So(v):fa(v);return ke(Ht||v,function(_t,sn){Ht&&(sn=_t,_t=v[sn]),oa(nt,sn,la(_t,E,N,K,sn,v,tt))}),nt}function Cc(v){return Si(v)?rn(v):{}}function Sc(v,E,N){var K=E(v);return ua(v)?K:Ie(K,N(v))}function Mc(v){return Ct.call(v)}function _o(v){if(!Si(v)||Oo(v))return!1;var E=ha(v)||rt(v)?nn:ge;return E.test(vn(v))}function wo(v){if(!Vo(v))return ye(v);var E=[];for(var N in Object(v))Mt.call(v,N)&&N!="constructor"&&E.push(N);return E}function $r(v,E){if(E)return v.slice();var N=new v.constructor(v.length);return v.copy(N),N}function Tr(v){var E=new v.constructor(v.byteLength);return new Ne(E).set(new Ne(v)),E}function Ir(v,E){var N=E?Tr(v.buffer):v.buffer;return new v.constructor(N,v.byteOffset,v.byteLength)}function ca(v,E,N){var K=E?N(zt(v),!0):zt(v);return et(K,Qe,new v.constructor)}function Ar(v){var E=new v.constructor(v.source,ue.exec(v));return E.lastIndex=v.lastIndex,E}function ko(v,E,N){var K=E?N(st(v),!0):st(v);return et(K,ae,new v.constructor)}function Bc(v){return Nn?Object(Nn.call(v)):{}}function xo(v,E){var N=E?Tr(v.buffer):v.buffer;return new v.constructor(N,v.byteOffset,v.length)}function Co(v,E){var N=-1,K=v.length;for(E||(E=Array(K));++N<K;)E[N]=v[N];return E}function Nr(v,E,N,K){N||(N={});for(var ze=-1,Be=E.length;++ze<Be;){var tt=E[ze],nt=void 0;oa(N,tt,nt===void 0?v[tt]:nt)}return N}function Ec(v,E){return Nr(v,On(v),E)}function So(v){return Sc(v,fa,On)}function ji(v,E){var N=v.__data__;return Do(E)?N[typeof E=="string"?"string":"hash"]:N.map}function zn(v,E){var N=qe(v,E);return _o(N)?N:void 0}var On=R?ut(R,Object):vt,xi=Mc;(U&&xi(new U(new ArrayBuffer(1)))!=I||V&&xi(new V)!=g||G&&xi(G.resolve())!=w||de&&xi(new de)!=C||Me&&xi(new Me)!=x)&&(xi=function(v){var E=Ct.call(v),N=E==_?v.constructor:void 0,K=N?vn(N):void 0;if(K)switch(K){case ht:return I;case Et:return g;case ln:return w;case Jt:return C;case qn:return x}return E});function Mo(v){var E=v.length,N=v.constructor(E);return E&&typeof v[0]=="string"&&Mt.call(v,"index")&&(N.index=v.index,N.input=v.input),N}function Ci(v){return typeof v.constructor=="function"&&!Vo(v)?Cc(Ue(v)):{}}function Bo(v,E,N,K){var ze=v.constructor;switch(E){case T:return Tr(v);case l:case d:return new ze(+v);case I:return Ir(v,K);case L:case $:case H:case Y:case ee:case q:case se:case be:case ne:return xo(v,K);case g:return ca(v,K,N);case y:case M:return new ze(v);case k:return Ar(v);case C:return ko(v,K,N);case D:return Bc(v)}}function Eo(v,E){return E=E??s,!!E&&(typeof v=="number"||Q.test(v))&&v>-1&&v%1==0&&v<E}function Do(v){var E=typeof v;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?v!=="__proto__":v===null}function Oo(v){return!!$t&&$t in v}function Vo(v){var E=v&&v.constructor,N=typeof E=="function"&&E.prototype||pt;return v===N}function vn(v){if(v!=null){try{return xt.call(v)}catch{}try{return v+""}catch{}}return""}function $o(v){return la(v,!0,!0)}function da(v,E){return v===E||v!==v&&E!==E}function bs(v){return Dc(v)&&Mt.call(v,"callee")&&(!pn.call(v,"callee")||Ct.call(v)==a)}var ua=Array.isArray;function vs(v){return v!=null&&To(v.length)&&!ha(v)}function Dc(v){return Io(v)&&vs(v)}var _s=Z||mt;function ha(v){var E=Si(v)?Ct.call(v):"";return E==f||E==m}function To(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=s}function Si(v){var E=typeof v;return!!v&&(E=="object"||E=="function")}function Io(v){return!!v&&typeof v=="object"}function fa(v){return vs(v)?ys(v):wo(v)}function vt(){return[]}function mt(){return!1}t.exports=$o}(Qc,Qc.exports);var v8=Qc.exports;const ol=Wh(v8),_8={props:{actions:{type:Array,default:()=>[],required:!0},numberOfExpandedActions:{type:Number,default:2,required:!1}},data(){return{action:ol(this.actions),internalNumberOfExpandedActions:this.numberOfExpandedActions,itsBeingShown:!1}},methods:{toggleCollapseState(){this.internalNumberOfExpandedActions=this.itsBeingShown?this.numberOfExpandedActions:this.action.length,this.itsBeingShown=!this.itsBeingShown,this.$emit("expanded",this.itsBeingShown)},handleClick(t){t.disabled||this.$emit("action-clicked",t)}}},w8={class:"action-list"},k8={class:"action-list--right"},x8=["onClick"];function C8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("span",w8,[i.createElementVNode("div",k8,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.actions,(o,l)=>(i.openBlock(),i.createElementBlock("div",{key:o.title},[i.createVNode(i.Transition,{name:"action-list__slide-fade"},{default:i.withCtx(()=>[l<=s.internalNumberOfExpandedActions-1?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass({"action-list__item":l===0,"action-list__item--left-bordered":l!==0,"action-list__item--disabled":o.disabled}),onClick:i.withModifiers(d=>a.handleClick(o),["stop"])},[i.renderSlot(t.$slots,"action",{list:o},void 0,!0)],10,x8)):i.createCommentVNode("",!0)]),_:2},1024)]))),128)),n.actions.length>n.numberOfExpandedActions?(i.openBlock(),i.createElementBlock("div",{key:0,class:"action-list__item--left-bordered",onClick:e[0]||(e[0]=i.withModifiers((...o)=>a.toggleCollapseState&&a.toggleCollapseState(...o),["stop"]))},[i.renderSlot(t.$slots,"action-trigger",{},()=>[i.createTextVNode(i.toDisplayString(s.itsBeingShown?"Menos ações":"Mais ações"),1)],!0)])):i.createCommentVNode("",!0)])])}const S8=te(_8,[["render",C8],["__scopeId","data-v-8ad639ef"]]),M8={components:{CdsIcon:Ce},props:{variant:{type:String,default:"info",required:!1},text:{type:String,default:"Título do AlertCard",required:!1},dismissible:{type:Boolean,default:!1,required:!1}},data(){return{icon:"warning-outline"}},watch:{variant:{handler(t){switch(t){case"info":this.icon="info-outline";break;case"success":this.icon="check-circle-outline";break;case"warning":this.icon="warning-outline";break;case"danger":this.icon="alert-outline";break;default:this.icon="alert-outline";break}},immediate:!0}},methods:{close(){this.$emit("close")}}},B8={id:"alert"},E8={class:"alert__body"},D8={key:0,class:"alert__text"},O8={key:1,class:"alert__text"};function V8(t,e,n,r,s,a){const o=i.resolveComponent("cds-icon");return i.openBlock(),i.createElementBlock("span",B8,[i.createElementVNode("div",{class:i.normalizeClass(["alert",{"alert__container--info":n.variant==="info","alert__container--success":n.variant==="success","alert__container--warning":n.variant==="warning","alert__container--danger":n.variant==="danger"}])},[i.createElementVNode("div",E8,[i.createElementVNode("div",null,[i.createVNode(o,{name:s.icon,class:i.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["name","class"])]),n.text.length>0?(i.openBlock(),i.createElementBlock("span",D8,i.toDisplayString(n.text),1)):(i.openBlock(),i.createElementBlock("span",O8,[i.renderSlot(t.$slots,"default",{},void 0,!0)]))]),n.dismissible?(i.openBlock(),i.createElementBlock("div",{key:0,class:"alert__close-button",onClick:e[0]||(e[0]=(...l)=>a.close&&a.close(...l))},[i.createVNode(o,{name:"x-outline",class:i.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["class"])])):i.createCommentVNode("",!0)],2)])}const $8=te(M8,[["render",V8],["__scopeId","data-v-f6827c7b"]]),T8={components:{CdsIcon:Ce},props:{variant:{type:String,default:"info"},selectable:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},noTitle:{type:Boolean,default:!1},title:{type:String,default:"Título do AlertCard"},subTitle:{type:String,default:"Subtítulo do AlertCard"},withIcon:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},data(){return{isSelected:this.value}},computed:{dynamicIcon(){switch(this.variant){case"info":return"info-outline";case"warning":return"warning-outline";case"danger":return"alert-outline";default:return"info-outline"}},alertCardContainerSelected(){let t="";if(this.muted)t="alert-card__container--muted";else if(this.selectable&&(t="alert-card__container--selectable"),this.isSelected)return`${t} alert-card__container--selected-${this.variant}`;return t},iconClass(){return`icon__container--${this.variant} ${this.noTitle?"align-self-center":""}`}}},I8={id:"alert-card"},A8={class:"alert-card__content-container"};function N8(t,e,n,r,s,a){const o=i.resolveComponent("cds-icon");return i.openBlock(),i.createElementBlock("span",I8,[i.createElementVNode("div",{class:i.normalizeClass(["alert-card__container",a.alertCardContainerSelected])},[n.withIcon?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(a.iconClass)},[i.createVNode(o,{height:"24",width:"24",name:a.dynamicIcon,class:i.normalizeClass(`icon--${n.variant}`)},null,8,["name","class"])],2)):i.createCommentVNode("",!0),i.createElementVNode("div",A8,[n.noTitle?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`alert-card__title--${n.variant}`)},i.toDisplayString(n.title),3)),i.createElementVNode("span",{class:i.normalizeClass(["alert-card__subtitle",`${n.noTitle?"mt-0":"mt-2"}`])},[i.renderSlot(t.$slots,"subTitle-slot",{},()=>[i.createTextVNode(i.toDisplayString(n.subTitle),1)],!0)],2),i.renderSlot(t.$slots,"content-slot",{class:"alert-card__content"},void 0,!0)])],2)])}const z8=te(T8,[["render",N8],["__scopeId","data-v-9ef601da"]]),Yh={props:{text:{type:String,default:null},vertical:{type:Boolean,default:!1},width:{type:[String,Number],default:null},dimmed:{type:Boolean,default:!1},light:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},computed:{sanitizedWidth(){return this.width?`${this.width}px`:"100%"}}},xm=()=>{i.useCssVars(t=>({"6f44ee3e":t.sanitizedWidth}))},Cm=Yh.setup;Yh.setup=Cm?(t,e)=>(xm(),Cm(t,e)):xm;const L8={key:0};function P8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["divider__container",{"divider__container--inline":n.inline}])},[n.vertical?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",L8,i.toDisplayString(n.text),1)),i.createElementVNode("hr",{class:i.normalizeClass(["divider",{"divider--vertical":n.vertical,"divider--light":n.light,"divider--dimmed":n.dimmed}])},null,2)],2)}const ll=te(Yh,[["render",P8]]),R8={props:{direction:{type:String,default:"bottom"},light:{type:Boolean,default:!1},size:{type:String,default:"md"},animate:{type:Boolean,default:!1}},data(){return{innerDirection:this.direction}},watch:{direction:{handler(){this.animationResolver()},immediate:!0}},methods:{animationResolver(){if(this.animate)switch(this.innerDirection){case"top":this.innerDirection="bottom";break;case"bottom":this.innerDirection="top";break;case"right":this.innerDirection="left";break;case"left":this.innerDirection="right";break;default:this.innerDirection="bottom"}}}};function F8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",{ref:"chevron",class:i.normalizeClass({"chevron--top":s.innerDirection==="top","chevron--right":s.innerDirection==="right","chevron--bottom":s.innerDirection==="bottom","chevron--left":s.innerDirection==="left","chevron--sm":n.size==="sm","chevron--md":n.size==="md","chevron--lg":n.size==="lg","chevron--light":n.light===!0})},null,2)}const Va=te(R8,[["render",F8]]),Uh={props:{clickable:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1,required:!1}},computed:{widthResolver(){return this.fluid?"100%":"fit-content"}}},Sm=()=>{i.useCssVars(t=>({"5ffc88d7":t.widthResolver}))},Mm=Uh.setup;Uh.setup=Mm?(t,e)=>(Sm(),Mm(t,e)):Sm;function H8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass({"clickable__container--clickable":n.clickable,"clickable__container--not-clickable":!n.clickable}),onClick:e[0]||(e[0]=o=>t.$emit("cds-click",!0))},[i.renderSlot(t.$slots,"default")],2)}const Ii=te(Uh,[["render",H8]]),W8={props:{maxHeight:{type:String,default:"300px",required:!0},autoHeight:{type:Boolean,default:!1},horizontalScroll:{type:Boolean,default:!1}}},Y8={class:"scrollable"};function U8(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",Y8,[i.createElementVNode("div",{class:i.normalizeClass(["scrollable__container",{"scrollable__container--horizontal":n.horizontalScroll}]),style:i.normalizeStyle({"max-height":n.maxHeight,height:n.autoHeight?"auto":n.maxHeight})},[i.renderSlot(t.$slots,"default",{},void 0,!0)],6)])}const ed=te(W8,[["render",U8],["__scopeId","data-v-9f35d9fa"]]),j8={ESC:27};function qr(t=8){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length;for(let s=0;s<t;s+=1)e+=n.charAt(Math.floor(Math.random()*r));return e}const q8=["sm","md","lg"],jh=["thin","default","wide"],qh={components:{CdsScrollable:ed},props:{modelValue:{type:Boolean,default:!1},width:{type:[String,Number],default:250},fitContentWidth:{type:Boolean,default:!1},height:{type:[String,Number],default:200},targetId:{type:String,default:""},rightAligned:{type:Boolean,default:!1},verticalFluid:{type:Boolean,default:!1}},data(){return{id:"",target:"",popover:"",popperInstance:null,uniqueKey:qr()}},computed:{variationPlacement(){return this.rightAligned?"end":"start"},popoverWidth(){return this.fitContentWidth?"fit-content":`${this.width}px`},popoverHeight(){return this.verticalFluid?"fit-content":`${this.height}px`}},watch:{modelValue(t){t?this.show():this.hide()},targetId(t){this.setPopper(t)}},mounted(){this.id=`cds-popover-${this.uniqueKey}`,this.setPopper(this.targetId)},methods:{setPopper(t){this.$nextTick(()=>{this.target=document.querySelector(`[id='${t}']`),this.popover=document.querySelector(`#${this.id}`),this.popperInstance=nl(this.target,this.popover,{placement:`bottom-${this.variationPlacement}`,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{fallbackPlacements:[`top-${this.variationPlacement}`]}}]})})},show(){this.popover.setAttribute("data-show",""),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]})),this.$emit("update:modelValue",!0),this.popperInstance.update()},hide(){this.$nextTick(()=>{this.popover.removeAttribute("data-show"),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})),this.$emit("update:modelValue",!1)})}}},Bm=()=>{i.useCssVars(t=>({"27858a63":t.popoverHeight,"5ee1c5ec":t.popoverWidth}))},Em=qh.setup;qh.setup=Em?(t,e)=>(Bm(),Em(t,e)):Bm;const G8=["id"];function K8(t,e,n,r,s,a){const o=i.resolveComponent("cds-scrollable"),l=i.resolveDirective("cds-click-outside");return i.withDirectives((i.openBlock(),i.createElementBlock("div",{id:t.$attrs.id||s.id,class:"popover"},[n.verticalFluid?i.renderSlot(t.$slots,"default",{key:1},void 0,!0):(i.openBlock(),i.createBlock(o,{key:0,"max-height":`${a.popoverHeight}`},{default:i.withCtx(()=>[i.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["max-height"]))],8,G8)),[[l,a.hide]])}const cl=te(qh,[["render",K8],["__scopeId","data-v-f5fc7a30"]]),Z8={components:{CdsChevron:Va,CdsClickable:Ii,CdsPopover:cl},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},src:{type:String,default:""},initials:{type:String,default:null},name:{type:String,default:null},clickable:{type:Boolean,default:!1}},data(){return{showPopover:!1}},computed:{computedInitials(){return this.initials?this.initials:this.name?this.name.replace(/(\S+)(\s*)/gi,t=>t[0].toUpperCase()).slice(0,2):"UND"}},methods:{toggleDropdown(){this.clickable&&(this.showPopover=!this.showPopover)}}},X8={class:"avatar__container"},J8=["src","alt"];function Q8(t,e,n,r,s,a){const o=i.resolveComponent("cds-chevron"),l=i.resolveComponent("cds-popover"),d=i.resolveComponent("cds-clickable");return i.openBlock(),i.createBlock(d,{id:"avatar-dropdown",clickable:n.clickable,onClick:i.withModifiers(a.toggleDropdown,["stop"])},{default:i.withCtx(()=>[i.createElementVNode("div",X8,[i.createElementVNode("div",{class:i.normalizeClass(`avatar__container--${n.variant} avatar__container--${n.size}`)},[n.src?(i.openBlock(),i.createElementBlock("img",{key:1,src:n.src,alt:n.name,class:i.normalizeClass(`avatar__image--${n.size}`)},null,10,J8)):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`avatar__initials--${n.size}`)},i.toDisplayString(a.computedInitials),3))],2),n.clickable?(i.openBlock(),i.createBlock(o,{key:0,size:"sm",class:"avatar__chevron",direction:"bottom"})):i.createCommentVNode("",!0)]),i.createVNode(l,{modelValue:s.showPopover,"onUpdate:modelValue":e[0]||(e[0]=h=>s.showPopover=h),"target-id":"avatar-dropdown",width:"180","right-aligned":"","vertical-fluid":""},{default:i.withCtx(()=>[i.renderSlot(t.$slots,"dropdown-content")]),_:3},8,["modelValue"])]),_:3},8,["clickable","onClick"])}const dl=te(Z8,[["render",Q8]]),Gh={components:{CdsIcon:Ce,CdsAvatar:dl,CdsDivider:ll,CdsClickable:Ii},props:{hideSettings:{type:Boolean,default:!1},hideHelp:{type:Boolean,default:!1},hideNotification:{type:Boolean,default:!1},hideAppSwitcher:{type:Boolean,default:!1},hideLogout:{type:Boolean,default:!1},sysvaleBrand:{type:Boolean,default:!1},csBrand:{type:Boolean,default:!1},userName:{type:String,default:null},userDescription:{type:String,default:null},clickable:{type:Boolean,default:!1}},computed:{hasAppSlot(){return Object.keys(this.$slots).some(t=>t==="app-info")},hasUserInfoSlot(){return Object.keys(this.$slots).some(t=>t==="user-info")},gridTemplateColumnsResolver(){return this.hasAppSlot?"1fr 1fr 1fr":"1fr 1fr"},gridTemplateAreasResolver(){return this.hasAppSlot?"'app logo icons'":"'logo icons'"},logoAlignmentResolver(){return this.hasAppSlot?"center":"flex-start"}},methods:{handleClick(t){this.$emit(`${t}-click`,!0)}}},Dm=()=>{i.useCssVars(t=>({"244900c8":t.gridTemplateAreasResolver,"5097391f":t.gridTemplateColumnsResolver,a82bbc8c:t.logoAlignmentResolver}))},Om=Gh.setup;Gh.setup=Om?(t,e)=>(Dm(),Om(t,e)):Dm;const e7={class:"app-bar__container"},t7={key:0,class:"app-bar__logo--cs",src:"https://framerusercontent.com/images/LqVj4DBbWvH0zr04qwYMlSPvEBY.svg",alt:"logo do Cidade Saudável"},n7={key:1,class:"app-bar__logo--sv",src:"https://framerusercontent.com/images/djNYjj5IdpsZL50hF8HEDt5Wbg.svg",alt:"logo da Sysvale"},i7={class:"app-bar__icons-grid"},r7={key:4,class:"user-info__avatar-container"},s7={class:"user-info__container"},a7={class:"user-info__name"},o7={class:"user-info__description"},l7={key:5,class:"app-switcher__container"},c7={key:2,class:"app-switcher"};function d7(t,e,n,r,s,a){const o=i.resolveComponent("cds-icon"),l=i.resolveComponent("cds-clickable"),d=i.resolveComponent("cds-avatar"),h=i.resolveComponent("cds-divider");return i.openBlock(),i.createElementBlock("div",e7,[n.csBrand?(i.openBlock(),i.createElementBlock("img",t7)):n.sysvaleBrand?(i.openBlock(),i.createElementBlock("img",n7)):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"brand",{class:"app-bar__logo"}),i.createElementVNode("div",i7,[n.hideNotification?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:0,clickable:"",onClick:e[0]||(e[0]=f=>a.handleClick("notification"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"notification-bell-outline"})]),_:1})),n.hideHelp?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:1,clickable:"",onClick:e[1]||(e[1]=f=>a.handleClick("help"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"help-outline"})]),_:1})),n.hideSettings?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:2,clickable:"",onClick:e[2]||(e[2]=f=>a.handleClick("settings"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"settings-outline"})]),_:1})),a.hasUserInfoSlot?i.renderSlot(t.$slots,"user-info",{key:3,class:"user-info__container"}):(i.openBlock(),i.createElementBlock("div",r7,[i.createElementVNode("div",s7,[i.createElementVNode("span",a7,i.toDisplayString(n.userName),1),i.createElementVNode("span",o7,i.toDisplayString(n.userDescription),1)]),i.createVNode(d,{name:n.userName,variant:"white",size:"md",clickable:n.clickable,onClick:e[3]||(e[3]=f=>a.handleClick("avatar"))},i.createSlots({_:2},[n.clickable?{name:"dropdown-content",fn:i.withCtx(()=>[i.renderSlot(t.$slots,"dropdown-content")]),key:"0"}:void 0]),1032,["name","clickable"])])),n.hideAppSwitcher?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",l7,[i.createVNode(h,{vertical:"",width:"30"}),i.createVNode(l,{clickable:"",onClick:e[4]||(e[4]=f=>a.handleClick("app-switcher"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"grid-outline"})]),_:1})])),n.hideLogout?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(l,{key:6,clickable:"",onClick:e[5]||(e[5]=f=>a.handleClick("logout"))},{default:i.withCtx(()=>[i.createVNode(o,{height:"24",width:"24",light:"",name:"logout-outline"})]),_:1}))]),a.hasAppSlot?(i.openBlock(),i.createElementBlock("div",c7,[i.renderSlot(t.$slots,"app-info")])):i.createCommentVNode("",!0)])}const u7=te(Gh,[["render",d7]]),Kh={props:{width:{type:[String,Number],default:"20"}},computed:{widthResolver(){return`${this.width}px`}}},Vm=()=>{i.useCssVars(t=>({13528900:t.widthResolver}))},$m=Kh.setup;Kh.setup=$m?(t,e)=>(Vm(),$m(t,e)):Vm;const h7={class:"truncate__container"};function f7(t,e,n,r,s,a){return i.openBlock(),i.createElementBlock("div",h7,[i.renderSlot(t.$slots,"default")])}const Tm=te(Kh,[["render",f7]]),p7={props:{position:{type:String,default:"top"},text:{type:String,default:null},slim:{type:Boolean,default:!1},rounded:{type:Boolean,default:!0}},computed:{tooltipConfig(){return{content:this.slim?`<span style="font-size: 11px; padding: 0px;">${this.text}</span>`:`<span style="font-size: 13px; padding: 0px 2px">${this.text}</span>`,options:{placement:this.position,theme:"light",arrow:!0,delay:100,animation:"shift-away-subtle",allowHTML:!0,onShow:t=>{const e=t.popper.querySelector(".tippy-box");e&&(e.style.borderRadius=this.resolveBorderRadius)}}}},resolveBorderRadius(){return this.rounded?"20px":"8px"}}},m7=["data-tippy-placement","data-tippy-content"];function g7(t,e,n,r,s,a){const o=i.resolveDirective("cdstip");return i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:"tooltip","data-tippy-placement":n.position,"data-tippy-content":t.content,"data-tippy-allowHTML":!0},[i.renderSlot(t.$slots,"default")],8,m7)),[[o,a.tooltipConfig]])}const td=te(p7,[["render",g7]]),y7={components:{CdsAvatar:dl,CdsClickable:Ii,CdsPopover:cl,CdsTruncate:Tm,CdsTooltip:td},props:{size:{type:String,default:"md"},avatars:{type:Array,default:()=>[]},maxCount:{type:Number,default:4}},data(){return{listAvatars:this.avatars.slice(0,this.maxCount),popoverAvatars:this.avatars.slice(this.maxCount,this.avatars.length),showPopover:!1}},computed:{showAvatarCounter(){return this.maxCount<this.avatars.length},avatarCounterText(){return`+ ${this.avatars.length-this.maxCount}`}}},b7={class:"avatar-group__container"},v7={class:"avatar__name"};function _7(t,e,n,r,s,a){const o=i.resolveComponent("cds-avatar"),l=i.resolveComponent("cds-tooltip"),d=i.resolveComponent("cds-clickable"),h=i.resolveComponent("cds-truncate"),f=i.resolveComponent("cds-popover");return i.openBlock(),i.createElementBlock("div",b7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.listAvatars,(m,g)=>(i.openBlock(),i.createBlock(l,{key:g,position:"bottom",text:m.name,slim:""},{default:i.withCtx(()=>[i.createVNode(o,i.mergeProps({ref_for:!0},m,{size:n.size,clickable:!1}),null,16,["size"])]),_:2},1032,["text"]))),128)),a.showAvatarCounter?(i.openBlock(),i.createBlock(d,{key:0,id:"avatar-counter",clickable:"",onClick:e[0]||(e[0]=m=>s.showPopover=!0)},{default:i.withCtx(()=>[i.createVNode(o,{size:n.size,clickable:!1,name:a.avatarCounterText,variant:"gray",class:"avatar-group__counter"},null,8,["size","name"])]),_:1})):i.createCommentVNode("",!0),i.createVNode(f,{modelValue:s.showPopover,"onUpdate:modelValue":e[1]||(e[1]=m=>s.showPopover=m),"target-id":"avatar-counter",width:"180","right-aligned":"","vertical-fluid":""},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.popoverAvatars,(m,g)=>(i.openBlock(),i.createElementBlock("div",{key:g,class:"avatar__data"},[i.createVNode(o,i.mergeProps({ref_for:!0},m,{size:"sm",clickable:!1}),null,16),i.createVNode(h,{width:"180"},{default:i.withCtx(()=>[i.createElementVNode("span",v7,i.toDisplayString(m.name),1)]),_:2},1024)]))),128))]),_:1},8,["modelValue"])])}const w7=te(y7,[["render",_7]]),k7={components:{CdsClickable:Ii},props:{variant:{type:String,default:"gray"},size:{type:String,default:"md"},clickable:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","gray","white"],predefinedSizes:["sm","md","lg"]}},computed:{predefinedStyle(){let t="";return this.predefinedColors.indexOf(this.variant)>-1&&(t+=`badge--${this.variant}`),this.predefinedSizes.indexOf(this.size)>-1&&(t+=` badge--${this.size}`),t}}};function x7(t,e,n,r,s,a){const o=i.resolveComponent("cds-clickable");return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["badge__container",a.predefinedStyle])},[i.createElementVNode("div",{class:i.normalizeClass({"badge__content--sm":n.size==="sm","badge__content--md":n.size==="md","badge__content--lg":n.size==="lg"})},[n.clickable?(i.openBlock(),i.createBlock(o,{key:0,onClick:e[0]||(e[0]=l=>t.$emit("click",!0))},{default:i.withCtx(()=>[i.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3})):i.renderSlot(t.$slots,"default",{key:1},void 0,!0)],2)],2)}const Im=te(k7,[["render",x7],["__scopeId","data-v-a2c0fc86"]]);/*!
|
|
22
22
|
* @kurkle/color v0.3.2
|
|
23
23
|
* https://github.com/kurkle/color#readme
|
|
24
24
|
* (c) 2023 Jukka Kurkela
|