@solfacil/girassol 0.54.1 → 0.55.0
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/girassol.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as re, openBlock as d, createElementBlock as I, normalizeClass as ee, createElementVNode as h, toDisplayString as q, useSlots as kt, computed as j, unref as s, renderSlot as L, createCommentVNode as S, createVNode as R, createBlock as U, withCtx as Y, ref as W, withDirectives as Ke, getCurrentInstance as qt, version as kd, watch as Ge, onMounted as ct, provide as nc, isRef as
|
|
1
|
+
import { defineComponent as re, openBlock as d, createElementBlock as I, normalizeClass as ee, createElementVNode as h, toDisplayString as q, useSlots as kt, computed as j, unref as s, renderSlot as L, createCommentVNode as S, createVNode as R, createBlock as U, withCtx as Y, ref as W, withDirectives as Ke, getCurrentInstance as qt, version as kd, watch as Ge, onMounted as ct, provide as nc, isRef as ht, onBeforeUnmount as ic, toRef as Dt, resolveDynamicComponent as ke, h as Ji, inject as ac, reactive as Tt, onUnmounted as Cn, nextTick as xt, warn as rc, watchEffect as oc, markRaw as _d, mergeProps as Oe, vShow as nt, vModelText as Ld, Fragment as ue, renderList as pe, createTextVNode as se, getCurrentScope as lc, onScopeDispose as uc, withModifiers as Ee, normalizeStyle as zt, withKeys as ve, Transition as _t, createSlots as rt, normalizeProps as et, Teleport as Qa, guardReactiveProps as Wt, onBeforeUpdate as Cd, defineAsyncComponent as vt, pushScopeId as Kt, popScopeId as en, createStaticVNode as Pd, toRaw as fn, render as sc } from "vue";
|
|
2
2
|
const zd = /* @__PURE__ */ h("path", {
|
|
3
3
|
class: "path",
|
|
4
4
|
d: "M16.0008 1.5C17.905 1.5 19.7905 1.87506 21.5497 2.60375C23.3089 3.33244 24.9074 4.4005 26.2538 5.74695C27.6003 7.0934 28.6684 8.69187 29.397 10.4511C30.1257 12.2103 30.5008 14.0958 30.5008 16C30.5008 17.9042 30.1257 19.7897 29.397 21.5489C28.6684 23.3081 27.6003 24.9066 26.2538 26.2531C24.9074 27.5995 23.3089 28.6676 21.5497 29.3963C19.7905 30.1249 17.905 30.5 16.0008 30.5C14.0966 30.5 12.2111 30.1249 10.4519 29.3963C8.69266 28.6676 7.09419 27.5995 5.74774 26.253C4.4013 24.9066 3.33323 23.3081 2.60454 21.5489C1.87585 19.7897 1.50079 17.9042 1.50079 16C1.5008 14.0958 1.87585 12.2103 2.60454 10.4511C3.33324 8.69187 4.4013 7.0934 5.74775 5.74695C7.0942 4.4005 8.69267 3.33244 10.4519 2.60375C12.2111 1.87505 14.0966 1.5 16.0008 1.5L16.0008 1.5Z"
|
|
@@ -1357,7 +1357,7 @@ function Qf(e) {
|
|
|
1357
1357
|
delete Vn[e.id], An();
|
|
1358
1358
|
}), An();
|
|
1359
1359
|
}
|
|
1360
|
-
const Nn = "vee-validate-inspector",
|
|
1360
|
+
const Nn = "vee-validate-inspector", wt = {
|
|
1361
1361
|
error: 12405579,
|
|
1362
1362
|
success: 448379,
|
|
1363
1363
|
unknown: 5522283,
|
|
@@ -1458,8 +1458,8 @@ function Ff(e) {
|
|
|
1458
1458
|
},
|
|
1459
1459
|
{
|
|
1460
1460
|
label: `${Object.keys(e.fieldsByPath.value).length} fields`,
|
|
1461
|
-
textColor:
|
|
1462
|
-
backgroundColor:
|
|
1461
|
+
textColor: wt.white,
|
|
1462
|
+
backgroundColor: wt.unknown
|
|
1463
1463
|
}
|
|
1464
1464
|
]
|
|
1465
1465
|
};
|
|
@@ -1478,23 +1478,23 @@ function _l(e, t) {
|
|
|
1478
1478
|
},
|
|
1479
1479
|
t ? void 0 : {
|
|
1480
1480
|
label: "Standalone",
|
|
1481
|
-
textColor:
|
|
1482
|
-
backgroundColor:
|
|
1481
|
+
textColor: wt.black,
|
|
1482
|
+
backgroundColor: wt.gray
|
|
1483
1483
|
},
|
|
1484
1484
|
!r && n.type === "checkbox" ? {
|
|
1485
1485
|
label: "Checkbox",
|
|
1486
|
-
textColor:
|
|
1487
|
-
backgroundColor:
|
|
1486
|
+
textColor: wt.white,
|
|
1487
|
+
backgroundColor: wt.blue
|
|
1488
1488
|
} : void 0,
|
|
1489
1489
|
!r && n.type === "radio" ? {
|
|
1490
1490
|
label: "Radio",
|
|
1491
|
-
textColor:
|
|
1492
|
-
backgroundColor:
|
|
1491
|
+
textColor: wt.white,
|
|
1492
|
+
backgroundColor: wt.purple
|
|
1493
1493
|
} : void 0,
|
|
1494
1494
|
r ? {
|
|
1495
1495
|
label: "Group",
|
|
1496
|
-
textColor:
|
|
1497
|
-
backgroundColor:
|
|
1496
|
+
textColor: wt.black,
|
|
1497
|
+
backgroundColor: wt.orange
|
|
1498
1498
|
} : void 0
|
|
1499
1499
|
].filter(Boolean)
|
|
1500
1500
|
};
|
|
@@ -1602,8 +1602,8 @@ function qf(e) {
|
|
|
1602
1602
|
function Ac(e) {
|
|
1603
1603
|
const t = "id" in e ? e.meta.valid : e.meta.value.valid;
|
|
1604
1604
|
return {
|
|
1605
|
-
bgColor: t ?
|
|
1606
|
-
textColor: t ?
|
|
1605
|
+
bgColor: t ? wt.success : wt.error,
|
|
1606
|
+
textColor: t ? wt.black : wt.white
|
|
1607
1607
|
};
|
|
1608
1608
|
}
|
|
1609
1609
|
function kc(e, t, n) {
|
|
@@ -1701,7 +1701,7 @@ function _c(e, t, n) {
|
|
|
1701
1701
|
setErrors: oe,
|
|
1702
1702
|
setValue: C
|
|
1703
1703
|
};
|
|
1704
|
-
if (nc(bf, de),
|
|
1704
|
+
if (nc(bf, de), ht(t) && typeof s(t) != "function" && Ge(t, (z, me) => {
|
|
1705
1705
|
ot(z, me) || (_.validated ? B() : k());
|
|
1706
1706
|
}, {
|
|
1707
1707
|
deep: !0
|
|
@@ -1968,12 +1968,12 @@ function om(e) {
|
|
|
1968
1968
|
return [
|
|
1969
1969
|
.../* @__PURE__ */ new Set([...at(Q.results), ...at(Ie), ...De])
|
|
1970
1970
|
].reduce((xe, Te) => {
|
|
1971
|
-
const Fe = Ie[Te],
|
|
1972
|
-
errors:
|
|
1973
|
-
valid: !
|
|
1971
|
+
const Fe = Ie[Te], Mt = (Q.results[Te] || { errors: [] }).errors, T = {
|
|
1972
|
+
errors: Mt,
|
|
1973
|
+
valid: !Mt.length
|
|
1974
1974
|
};
|
|
1975
1975
|
if (xe.results[Te] = T, T.valid || (xe.errors[Te] = T.errors[0]), !Fe)
|
|
1976
|
-
return $(Te,
|
|
1976
|
+
return $(Te, Mt), xe;
|
|
1977
1977
|
if (A(Fe, (ce) => ce.meta.valid = T.valid), ae === "silent")
|
|
1978
1978
|
return xe;
|
|
1979
1979
|
const ne = Array.isArray(Fe) ? Fe.some((ce) => ce.meta.validated) : Fe.meta.validated;
|
|
@@ -1986,10 +1986,10 @@ function om(e) {
|
|
|
1986
1986
|
return xe instanceof Event && (xe.preventDefault(), xe.stopPropagation()), me(at(r.value).reduce((Te, Fe) => (Te[Fe] = !0, Te), {})), o.value = !0, l.value++, je().then((Te) => {
|
|
1987
1987
|
const Fe = Ye(c);
|
|
1988
1988
|
if (Te.valid && typeof Ie == "function") {
|
|
1989
|
-
const
|
|
1990
|
-
return Ie(Q ?
|
|
1989
|
+
const Mt = Ye(G.value);
|
|
1990
|
+
return Ie(Q ? Mt : Fe, {
|
|
1991
1991
|
evt: xe,
|
|
1992
|
-
controlledValues:
|
|
1992
|
+
controlledValues: Mt,
|
|
1993
1993
|
setErrors: J,
|
|
1994
1994
|
setFieldError: $,
|
|
1995
1995
|
setTouched: me,
|
|
@@ -2137,7 +2137,7 @@ function om(e) {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
function tt(Q) {
|
|
2139
2139
|
const ae = s(Q.name);
|
|
2140
|
-
he(Q, ae),
|
|
2140
|
+
he(Q, ae), ht(Q.name) && Ge(Q.name, async (De, Ae) => {
|
|
2141
2141
|
await xt(), Ce(Q, Ae), he(Q, De), (g.value[Ae] || g.value[De]) && ($(Ae, void 0), $e(De)), await xt(), N(Ae) || ii(c, Ae);
|
|
2142
2142
|
});
|
|
2143
2143
|
const Ie = s(Q.errorMessage);
|
|
@@ -2150,10 +2150,10 @@ function om(e) {
|
|
|
2150
2150
|
const xe = (Ae = s(Q.keepValueOnUnmount)) !== null && Ae !== void 0 ? Ae : s(w), Te = Xe(c, ae);
|
|
2151
2151
|
if (De && (Ie === r.value[ae] || !r.value[ae]) && !xe)
|
|
2152
2152
|
if (Array.isArray(Te)) {
|
|
2153
|
-
const
|
|
2154
|
-
if (
|
|
2153
|
+
const Mt = Te.findIndex((T) => ot(T, s(Q.checkedValue)));
|
|
2154
|
+
if (Mt > -1) {
|
|
2155
2155
|
const T = [...Te];
|
|
2156
|
-
T.splice(
|
|
2156
|
+
T.splice(Mt, 1), C(ae, T, { force: !0 });
|
|
2157
2157
|
}
|
|
2158
2158
|
} else
|
|
2159
2159
|
Te === s(Q.checkedValue) && ii(c, ae);
|
|
@@ -2216,7 +2216,7 @@ function om(e) {
|
|
|
2216
2216
|
return;
|
|
2217
2217
|
}
|
|
2218
2218
|
Z.validateSchema && Z.validateSchema("silent");
|
|
2219
|
-
}),
|
|
2219
|
+
}), ht(F) && Ge(F, () => {
|
|
2220
2220
|
var Q;
|
|
2221
2221
|
(Q = Z.validateSchema) === null || Q === void 0 || Q.call(Z, "validated-only");
|
|
2222
2222
|
}), nc(qn, Z), process.env.NODE_ENV !== "production" && (Wf(Z), Ge(() => Object.assign(Object.assign({ errors: f.value }, P.value), { values: c, isSubmitting: o.value, submitCount: l.value }), An, {
|
|
@@ -2253,7 +2253,7 @@ function um(e, t, n) {
|
|
|
2253
2253
|
Yt(t, u, Ye(y));
|
|
2254
2254
|
});
|
|
2255
2255
|
}
|
|
2256
|
-
return
|
|
2256
|
+
return ht(n) && Ge(n, (o) => {
|
|
2257
2257
|
r(o, !0);
|
|
2258
2258
|
}, {
|
|
2259
2259
|
deep: !0
|
|
@@ -2814,7 +2814,7 @@ const Lc = { name: "material-symbols-done", render: jm }, Sm = ["id", "data-test
|
|
|
2814
2814
|
id: `text-input-${e.id}`,
|
|
2815
2815
|
modelValue: s(u),
|
|
2816
2816
|
"onUpdate:modelValue": [
|
|
2817
|
-
N[0] || (N[0] = (M) =>
|
|
2817
|
+
N[0] || (N[0] = (M) => ht(u) ? u.value = M : null),
|
|
2818
2818
|
g
|
|
2819
2819
|
],
|
|
2820
2820
|
size: e.size,
|
|
@@ -3019,7 +3019,7 @@ const Um = ["id", "data-testid"], Vm = ["id", "data-testid", "for", "data-requir
|
|
|
3019
3019
|
], 8, Vm)) : S("", !0),
|
|
3020
3020
|
Ke(h("textarea", Oe(f.$attrs, {
|
|
3021
3021
|
id: `input-textarea-input-${e.id}`,
|
|
3022
|
-
"onUpdate:modelValue": y[0] || (y[0] = (g) =>
|
|
3022
|
+
"onUpdate:modelValue": y[0] || (y[0] = (g) => ht(a) ? a.value = g : null),
|
|
3023
3023
|
"data-testid": `input-textarea-input-${e.id}`,
|
|
3024
3024
|
"data-required": e.required,
|
|
3025
3025
|
class: [[`-${e.size}`, { "-error": e.error }], "textarea"],
|
|
@@ -6283,7 +6283,7 @@ const Mu = { name: "material-symbols-search-rounded", render: Vv }, Rv = ["id",
|
|
|
6283
6283
|
id: i.input
|
|
6284
6284
|
}, l.$attrs, {
|
|
6285
6285
|
modelValue: s(a),
|
|
6286
|
-
"onUpdate:modelValue": u[0] || (u[0] = (c) =>
|
|
6286
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => ht(a) ? a.value = c : null),
|
|
6287
6287
|
class: "input",
|
|
6288
6288
|
type: "search",
|
|
6289
6289
|
size: e.size,
|
|
@@ -11906,7 +11906,7 @@ function Hi(e) {
|
|
|
11906
11906
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
11907
11907
|
}, Hi(e);
|
|
11908
11908
|
}
|
|
11909
|
-
function
|
|
11909
|
+
function gt(e, t) {
|
|
11910
11910
|
if (ye(2, arguments), Hi(t) !== "object" || t === null)
|
|
11911
11911
|
throw new RangeError("values parameter must be an object");
|
|
11912
11912
|
var n = Ne(e);
|
|
@@ -12095,7 +12095,7 @@ const sd = /* @__PURE__ */ In(Pb, [["render", Zb]]), Zs = (e, t) => {
|
|
|
12095
12095
|
}, St = (e, t, n, i) => {
|
|
12096
12096
|
let a = e ? ie(e) : ie();
|
|
12097
12097
|
return (t || t === 0) && (a = ad(a, +t)), (n || n === 0) && (a = rd(a, +n)), (i || i === 0) && (a = od(a, +i)), Ql(a, 0);
|
|
12098
|
-
}, ft = (e, t) => !e || !t ? !1 : Yl(Zt(e), Zt(t)), Re = (e, t) => !e || !t ? !1 : Xc(Zt(e), Zt(t)),
|
|
12098
|
+
}, ft = (e, t) => !e || !t ? !1 : Yl(Zt(e), Zt(t)), Re = (e, t) => !e || !t ? !1 : Xc(Zt(e), Zt(t)), pt = (e, t) => !e || !t ? !1 : Bl(Zt(e), Zt(t)), cd = (e, t, n) => e && e[0] && e[1] ? pt(n, e[0]) && ft(n, e[1]) : e && e[0] && t ? pt(n, e[0]) && ft(n, t) || ft(n, e[0]) && pt(n, t) : !1, Zn = Tt({
|
|
12099
12099
|
menuFocused: !1,
|
|
12100
12100
|
shiftKeyInMenu: !1
|
|
12101
12101
|
}), dd = () => {
|
|
@@ -12290,7 +12290,7 @@ function qb(e) {
|
|
|
12290
12290
|
return !1;
|
|
12291
12291
|
}
|
|
12292
12292
|
}
|
|
12293
|
-
var fd = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, vr = 36e5, Us = 6e4, Kb = 2,
|
|
12293
|
+
var fd = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, vr = 36e5, Us = 6e4, Kb = 2, It = {
|
|
12294
12294
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
12295
12295
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
12296
12296
|
plainTime: /:/,
|
|
@@ -12347,23 +12347,23 @@ function fl(e, t) {
|
|
|
12347
12347
|
return new Date(NaN);
|
|
12348
12348
|
}
|
|
12349
12349
|
function e4(e) {
|
|
12350
|
-
var t = {}, n =
|
|
12351
|
-
if (n ? (t.date = n[1], i = n[3]) : (n =
|
|
12352
|
-
var a =
|
|
12350
|
+
var t = {}, n = It.dateTimePattern.exec(e), i;
|
|
12351
|
+
if (n ? (t.date = n[1], i = n[3]) : (n = It.datePattern.exec(e), n ? (t.date = n[1], i = n[2]) : (t.date = null, i = e)), i) {
|
|
12352
|
+
var a = It.timeZone.exec(i);
|
|
12353
12353
|
a ? (t.time = i.replace(a[1], ""), t.timeZone = a[1].trim()) : t.time = i;
|
|
12354
12354
|
}
|
|
12355
12355
|
return t;
|
|
12356
12356
|
}
|
|
12357
12357
|
function t4(e, t) {
|
|
12358
|
-
var n =
|
|
12359
|
-
if (a =
|
|
12358
|
+
var n = It.YYY[t], i = It.YYYYY[t], a;
|
|
12359
|
+
if (a = It.YYYY.exec(e) || i.exec(e), a) {
|
|
12360
12360
|
var r = a[1];
|
|
12361
12361
|
return {
|
|
12362
12362
|
year: parseInt(r, 10),
|
|
12363
12363
|
restDateString: e.slice(r.length)
|
|
12364
12364
|
};
|
|
12365
12365
|
}
|
|
12366
|
-
if (a =
|
|
12366
|
+
if (a = It.YY.exec(e) || n.exec(e), a) {
|
|
12367
12367
|
var o = a[1];
|
|
12368
12368
|
return {
|
|
12369
12369
|
year: parseInt(o, 10) * 100,
|
|
@@ -12380,21 +12380,21 @@ function n4(e, t) {
|
|
|
12380
12380
|
var n, i, a, r;
|
|
12381
12381
|
if (e.length === 0)
|
|
12382
12382
|
return i = new Date(0), i.setUTCFullYear(t), i;
|
|
12383
|
-
if (n =
|
|
12383
|
+
if (n = It.MM.exec(e), n)
|
|
12384
12384
|
return i = new Date(0), a = parseInt(n[1], 10) - 1, Rs(t, a) ? (i.setUTCFullYear(t, a), i) : new Date(NaN);
|
|
12385
|
-
if (n =
|
|
12385
|
+
if (n = It.DDD.exec(e), n) {
|
|
12386
12386
|
i = new Date(0);
|
|
12387
12387
|
var o = parseInt(n[1], 10);
|
|
12388
12388
|
return o4(t, o) ? (i.setUTCFullYear(t, 0, o), i) : new Date(NaN);
|
|
12389
12389
|
}
|
|
12390
|
-
if (n =
|
|
12390
|
+
if (n = It.MMDD.exec(e), n) {
|
|
12391
12391
|
i = new Date(0), a = parseInt(n[1], 10) - 1;
|
|
12392
12392
|
var l = parseInt(n[2], 10);
|
|
12393
12393
|
return Rs(t, a, l) ? (i.setUTCFullYear(t, a, l), i) : new Date(NaN);
|
|
12394
12394
|
}
|
|
12395
|
-
if (n =
|
|
12395
|
+
if (n = It.Www.exec(e), n)
|
|
12396
12396
|
return r = parseInt(n[1], 10) - 1, Ws(t, r) ? Vs(t, r) : new Date(NaN);
|
|
12397
|
-
if (n =
|
|
12397
|
+
if (n = It.WwwD.exec(e), n) {
|
|
12398
12398
|
r = parseInt(n[1], 10) - 1;
|
|
12399
12399
|
var u = parseInt(n[2], 10) - 1;
|
|
12400
12400
|
return Ws(t, r, u) ? Vs(t, r, u) : new Date(NaN);
|
|
@@ -12403,11 +12403,11 @@ function n4(e, t) {
|
|
|
12403
12403
|
}
|
|
12404
12404
|
function i4(e) {
|
|
12405
12405
|
var t, n, i;
|
|
12406
|
-
if (t =
|
|
12406
|
+
if (t = It.HH.exec(e), t)
|
|
12407
12407
|
return n = parseFloat(t[1].replace(",", ".")), gr(n) ? n % 24 * vr : NaN;
|
|
12408
|
-
if (t =
|
|
12408
|
+
if (t = It.HHMM.exec(e), t)
|
|
12409
12409
|
return n = parseInt(t[1], 10), i = parseFloat(t[2].replace(",", ".")), gr(n, i) ? n % 24 * vr + i * Us : NaN;
|
|
12410
|
-
if (t =
|
|
12410
|
+
if (t = It.HHMMSS.exec(e), t) {
|
|
12411
12411
|
n = parseInt(t[1], 10), i = parseInt(t[2], 10);
|
|
12412
12412
|
var a = parseFloat(t[3].replace(",", "."));
|
|
12413
12413
|
return gr(n, i, a) ? n % 24 * vr + i * Us + a * 1e3 : NaN;
|
|
@@ -12605,7 +12605,7 @@ const f4 = (e, t = 3) => {
|
|
|
12605
12605
|
var A;
|
|
12606
12606
|
return (A = e.hideNavigation) == null ? void 0 : A.includes(v);
|
|
12607
12607
|
}), f = (v) => {
|
|
12608
|
-
const A = e.maxDate ?
|
|
12608
|
+
const A = e.maxDate ? pt(l(v), l(ie(e.maxDate))) : !1, x = e.minDate ? ft(l(v), l(ie(e.minDate))) : !1, $ = E(v, e.disabledDates), J = n.value.filters.months.map((z) => +z).includes(Ue(v)), C = e.disabledWeekDays.length ? e.disabledWeekDays.some((z) => +z === lh(v)) : !1, oe = e.allowedDates.length ? !e.allowedDates.some((z) => Re(l(ie(z)), l(v))) : !1, de = Ve(v), O = de < +e.yearRange[0] || de > +e.yearRange[1];
|
|
12609
12609
|
return !(A || x || $ || J || O || C || oe);
|
|
12610
12610
|
}, y = (v) => {
|
|
12611
12611
|
const A = {
|
|
@@ -12620,7 +12620,7 @@ const f4 = (e, t = 3) => {
|
|
|
12620
12620
|
}, E = (v, A) => Array.isArray(A) ? A.some((x) => Re(l(ie(x)), l(v))) : A(v), b = (v, A, x) => {
|
|
12621
12621
|
let $ = v ? ie(v) : ie();
|
|
12622
12622
|
return (A || A === 0) && ($ = Qn($, A)), x && ($ = yn($, x)), $;
|
|
12623
|
-
}, w = (v) =>
|
|
12623
|
+
}, w = (v) => gt(ie(), { hours: Vt(v), minutes: Rt(v), seconds: Ln(v) }), D = (v) => gt(ie(), {
|
|
12624
12624
|
hours: +v.hours || 0,
|
|
12625
12625
|
minutes: +v.minutes || 0,
|
|
12626
12626
|
seconds: +v.seconds || 0
|
|
@@ -12629,7 +12629,7 @@ const f4 = (e, t = 3) => {
|
|
|
12629
12629
|
return !0;
|
|
12630
12630
|
if ($) {
|
|
12631
12631
|
const J = x === "max" ? Yl(v, A) : Bl(v, A), C = { seconds: 0, milliseconds: 0 };
|
|
12632
|
-
return J || Xc(
|
|
12632
|
+
return J || Xc(gt(v, C), gt(A, C));
|
|
12633
12633
|
}
|
|
12634
12634
|
return x === "max" ? v.getTime() <= A.getTime() : v.getTime() >= A.getTime();
|
|
12635
12635
|
}, _ = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, P = (v) => Array.isArray(v) ? [v[0] ? w(v[0]) : null, v[1] ? w(v[1]) : null] : w(v), G = (v) => {
|
|
@@ -12674,7 +12674,7 @@ const f4 = (e, t = 3) => {
|
|
|
12674
12674
|
}
|
|
12675
12675
|
}
|
|
12676
12676
|
return x;
|
|
12677
|
-
}, B = (v, A, x) => [
|
|
12677
|
+
}, B = (v, A, x) => [gt(ie(v), { date: 1 }), gt(ie(), { month: A, year: x, date: 1 })], k = (v, A) => ft(...B(e.minDate, v, A)) || Re(...B(e.minDate, v, A)), V = (v, A) => pt(...B(e.maxDate, v, A)) || Re(...B(e.maxDate, v, A)), Z = (v, A, x) => {
|
|
12678
12678
|
let $ = !1;
|
|
12679
12679
|
return e.maxDate && x && V(v, A) && ($ = !0), e.minDate && !x && k(v, A) && ($ = !0), $;
|
|
12680
12680
|
};
|
|
@@ -12816,7 +12816,7 @@ const f4 = (e, t = 3) => {
|
|
|
12816
12816
|
}, _ = (T, ne = !1) => {
|
|
12817
12817
|
if ((!y.value.multiCalendars || !e.multiStatic || ne) && w(0, Ue(T), Ve(T)), y.value.multiCalendars)
|
|
12818
12818
|
for (let ce = 1; ce < y.value.multiCalendars; ce++) {
|
|
12819
|
-
const Se =
|
|
12819
|
+
const Se = gt(ie(), { month: M.value(ce - 1), year: E.value(ce - 1) }), We = Ec(Se, { months: 1 });
|
|
12820
12820
|
p.value[ce] = { month: Ue(We), year: Ve(We) };
|
|
12821
12821
|
}
|
|
12822
12822
|
}, P = (T) => {
|
|
@@ -12873,7 +12873,7 @@ const f4 = (e, t = 3) => {
|
|
|
12873
12873
|
if (w(0, ne, ce), y.value.multiCalendars > 0)
|
|
12874
12874
|
for (let Se = 1; Se < y.value.multiCalendars; Se++) {
|
|
12875
12875
|
const We = A(
|
|
12876
|
-
|
|
12876
|
+
gt(ie(T), { year: M.value(Se - 1), month: E.value(Se - 1) })
|
|
12877
12877
|
);
|
|
12878
12878
|
w(Se, We.month, We.year);
|
|
12879
12879
|
}
|
|
@@ -12887,7 +12887,7 @@ const f4 = (e, t = 3) => {
|
|
|
12887
12887
|
else
|
|
12888
12888
|
m.value = [T];
|
|
12889
12889
|
}, J = (T, ne) => {
|
|
12890
|
-
const ce =
|
|
12890
|
+
const ce = pt(T, ne) ? ne : T, Se = pt(ne, T) ? ne : T;
|
|
12891
12891
|
return wu({ start: ce, end: Se });
|
|
12892
12892
|
}, C = (T) => {
|
|
12893
12893
|
if (Array.isArray(m.value) && m.value[0]) {
|
|
@@ -12900,7 +12900,7 @@ const f4 = (e, t = 3) => {
|
|
|
12900
12900
|
return We <= +e.maxRange;
|
|
12901
12901
|
}
|
|
12902
12902
|
return !0;
|
|
12903
|
-
}, oe = (T) => Array.isArray(m.value) && m.value.length === 2 ? e.fixedStart && (
|
|
12903
|
+
}, oe = (T) => Array.isArray(m.value) && m.value.length === 2 ? e.fixedStart && (pt(T, m.value[0]) || Re(T, m.value[0])) ? [m.value[0], T] : e.fixedEnd && (ft(T, m.value[1]) || Re(T, m.value[1])) ? [T, m.value[1]] : m.value : [], de = () => {
|
|
12904
12904
|
e.autoApply && b.value && t("auto-apply");
|
|
12905
12905
|
}, O = () => {
|
|
12906
12906
|
e.autoApply && t("select-date");
|
|
@@ -12942,11 +12942,11 @@ const f4 = (e, t = 3) => {
|
|
|
12942
12942
|
return ne ? ch(ne.value) : "";
|
|
12943
12943
|
}, Qt = (T) => {
|
|
12944
12944
|
for (let ne = T - 1; ne >= 0; ne--) {
|
|
12945
|
-
const ce = Dn(
|
|
12945
|
+
const ce = Dn(gt(ie(), { month: M.value(ne + 1), year: E.value(ne + 1) }), 1);
|
|
12946
12946
|
w(ne, Ue(ce), Ve(ce));
|
|
12947
12947
|
}
|
|
12948
12948
|
for (let ne = T + 1; ne <= y.value.multiCalendars - 1; ne++) {
|
|
12949
|
-
const ce = Ot(
|
|
12949
|
+
const ce = Ot(gt(ie(), { month: M.value(ne - 1), year: E.value(ne - 1) }), 1);
|
|
12950
12950
|
w(ne, Ue(ce), Ve(ce));
|
|
12951
12951
|
}
|
|
12952
12952
|
}, Gt = (T) => c(ie(), M.value(T), E.value(T)), Q = (T) => St(T, N.hours, N.minutes, k()), ae = (T, ne) => {
|
|
@@ -12968,7 +12968,7 @@ const f4 = (e, t = 3) => {
|
|
|
12968
12968
|
}
|
|
12969
12969
|
n();
|
|
12970
12970
|
}, De = (T, ne) => {
|
|
12971
|
-
const ce =
|
|
12971
|
+
const ce = gt(ie(), { month: M.value(ne), year: E.value(ne) }), Se = T < 0 ? Ot(ce, 1) : Dn(ce, 1);
|
|
12972
12972
|
f(Ue(Se), Ve(Se), T < 0, e.preventMinMaxNavigation) && (w(ne, Ue(Se), Ve(Se)), y.value.multiCalendars && !e.multiCalendarsSolo && Qt(ne), i());
|
|
12973
12973
|
}, Ae = (T) => {
|
|
12974
12974
|
Fs(T) && Fs(m.value) && un(N.hours) && un(N.minutes) ? (T[0] && m.value[0] && (m.value[0] = St(T[0], N.hours[0], N.minutes[0], k())), T[1] && m.value[1] && (m.value[1] = St(T[1], N.hours[1], N.minutes[1], k(!1)))) : e.multiDates && Array.isArray(m.value) ? m.value[m.value.length - 1] = Q(T) : !e.range && !Xs(T) && (m.value = Q(T)), t("time-update");
|
|
@@ -12991,8 +12991,8 @@ const f4 = (e, t = 3) => {
|
|
|
12991
12991
|
}, Te = (T, ne) => {
|
|
12992
12992
|
e.monthChangeOnScroll && De(e.monthChangeOnScroll !== "inverse" ? -T.deltaY : T.deltaY, ne);
|
|
12993
12993
|
}, Fe = (T, ne, ce = !1) => {
|
|
12994
|
-
e.monthChangeOnArrows && e.vertical === ce &&
|
|
12995
|
-
},
|
|
12994
|
+
e.monthChangeOnArrows && e.vertical === ce && Mt(T, ne);
|
|
12995
|
+
}, Mt = (T, ne) => {
|
|
12996
12996
|
De(T === "right" ? -1 : 1, ne);
|
|
12997
12997
|
};
|
|
12998
12998
|
return {
|
|
@@ -13010,7 +13010,7 @@ const f4 = (e, t = 3) => {
|
|
|
13010
13010
|
handleScroll: Te,
|
|
13011
13011
|
getMarker: (T) => e.markers.find((ne) => Re(l(T.value), l(ne.date))),
|
|
13012
13012
|
handleArrow: Fe,
|
|
13013
|
-
handleSwipe:
|
|
13013
|
+
handleSwipe: Mt,
|
|
13014
13014
|
selectCurrentDate: () => {
|
|
13015
13015
|
e.range ? m.value && Array.isArray(m.value) && m.value[0] ? m.value = ft(ie(), m.value[0]) ? [ie(), m.value[0]] : [m.value[0], ie()] : m.value = [ie()] : m.value = ie(), O();
|
|
13016
13016
|
},
|
|
@@ -13114,7 +13114,7 @@ const f4 = (e, t = 3) => {
|
|
|
13114
13114
|
let g = y;
|
|
13115
13115
|
return r.value.filters.years.includes(Ve(g)) ? (g = m ? Gc(y, 1) : JM(y, 1), l(g, m)) : g;
|
|
13116
13116
|
}, u = (y) => {
|
|
13117
|
-
const m =
|
|
13117
|
+
const m = gt(new Date(), { month: e.month, year: e.year });
|
|
13118
13118
|
let g = y ? Ot(m, 1) : Dn(m, 1), p = Ue(g), N = Ve(g);
|
|
13119
13119
|
r.value.filters.months.includes(p) && (g = o(g, y), p = Ue(g), N = Ve(g)), r.value.filters.years.includes(N) && (g = l(g, y), N = Ve(g)), n(p, N, y, e.preventMinMaxNavigation) && c(p, N);
|
|
13120
13120
|
}, c = (y, m) => {
|
|
@@ -13122,7 +13122,7 @@ const f4 = (e, t = 3) => {
|
|
|
13122
13122
|
}, f = j(() => (y) => {
|
|
13123
13123
|
if (!e.preventMinMaxNavigation || y && !e.maxDate || !y && !e.minDate)
|
|
13124
13124
|
return !1;
|
|
13125
|
-
const m =
|
|
13125
|
+
const m = gt(new Date(), { month: e.month, year: e.year }), g = y ? Ot(m, 1) : Dn(m, 1), p = [Ue(g), Ve(g)];
|
|
13126
13126
|
return y ? !i(...p) : !a(...p);
|
|
13127
13127
|
});
|
|
13128
13128
|
return { handleMonthYearChange: u, isDisabled: f, updateMonthYear: c };
|
|
@@ -13562,7 +13562,7 @@ const x4 = (e, t, n, i) => {
|
|
|
13562
13562
|
if (!n.monthPicker)
|
|
13563
13563
|
return !0;
|
|
13564
13564
|
let D = !0;
|
|
13565
|
-
return n.minDate && n.maxDate ?
|
|
13565
|
+
return n.minDate && n.maxDate ? pt(ie(w), ie(n.minDate)) && ft(ie(w), ie(n.maxDate)) : (n.minDate && (D = pt(ie(w), ie(n.minDate))), n.maxDate && (D = ft(ie(w), ie(n.maxDate))), D);
|
|
13566
13566
|
}, b = () => {
|
|
13567
13567
|
m.value && g.value && c.value ? t("select-date") : t("invalid-select");
|
|
13568
13568
|
};
|
|
@@ -13664,7 +13664,7 @@ const x4 = (e, t, n, i) => {
|
|
|
13664
13664
|
const N = (k) => k ? i.vertical ? "vNext" : "next" : i.vertical ? "vPrevious" : "previous", M = (k, V) => {
|
|
13665
13665
|
if (i.transitions) {
|
|
13666
13666
|
const Z = Zt(r(ie(), i.month, i.year));
|
|
13667
|
-
m.value =
|
|
13667
|
+
m.value = pt(Zt(r(ie(), k, V)), Z) ? o.value.transitions[N(!0)] : o.value.transitions[N(!1)], y.value = !1, xt(() => {
|
|
13668
13668
|
y.value = !0;
|
|
13669
13669
|
});
|
|
13670
13670
|
}
|
|
@@ -14268,7 +14268,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14268
14268
|
"overlay-slot": "overlay-month",
|
|
14269
14269
|
"aria-label": (ge = s(a).ariaLabels) == null ? void 0 : ge.openMonthsOverlay,
|
|
14270
14270
|
modelValue: s(b),
|
|
14271
|
-
"onUpdate:modelValue": z[2] || (z[2] = (Me) =>
|
|
14271
|
+
"onUpdate:modelValue": z[2] || (z[2] = (Me) => ht(b) ? b.value = Me : null)
|
|
14272
14272
|
}, s(_)("month"), {
|
|
14273
14273
|
onToggle: $,
|
|
14274
14274
|
onSetRef: z[3] || (z[3] = (Me) => de(Me, 1))
|
|
@@ -14319,7 +14319,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14319
14319
|
"overlay-slot": "overlay-year",
|
|
14320
14320
|
"aria-label": (he = s(a).ariaLabels) == null ? void 0 : he.openYearsOverlay,
|
|
14321
14321
|
modelValue: s(w),
|
|
14322
|
-
"onUpdate:modelValue": z[4] || (z[4] = (Me) =>
|
|
14322
|
+
"onUpdate:modelValue": z[4] || (z[4] = (Me) => ht(w) ? w.value = Me : null)
|
|
14323
14323
|
}, s(_)("year"), {
|
|
14324
14324
|
onToggle: J,
|
|
14325
14325
|
onSetRef: z[5] || (z[5] = (Me) => de(Me, 2))
|
|
@@ -14401,7 +14401,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14401
14401
|
"multi-model-value": s(le),
|
|
14402
14402
|
"month-picker": "",
|
|
14403
14403
|
modelValue: s(b),
|
|
14404
|
-
"onUpdate:modelValue": z[17] || (z[17] = (Me) =>
|
|
14404
|
+
"onUpdate:modelValue": z[17] || (z[17] = (Me) => ht(b) ? b.value = Me : null),
|
|
14405
14405
|
onToggle: $,
|
|
14406
14406
|
onSelected: z[18] || (z[18] = (Me) => O.$emit("overlay-closed"))
|
|
14407
14407
|
}), rt({
|
|
@@ -14469,7 +14469,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14469
14469
|
default: Y(() => [
|
|
14470
14470
|
m.value ? (d(), U(Hn, Oe({ key: 0 }, s(_)("year"), {
|
|
14471
14471
|
modelValue: s(w),
|
|
14472
|
-
"onUpdate:modelValue": z[15] || (z[15] = (_e) =>
|
|
14472
|
+
"onUpdate:modelValue": z[15] || (z[15] = (_e) => ht(w) ? w.value = _e : null),
|
|
14473
14473
|
onToggle: J,
|
|
14474
14474
|
onSelected: z[16] || (z[16] = (_e) => O.$emit("overlay-closed"))
|
|
14475
14475
|
}), rt({
|
|
@@ -14510,7 +14510,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14510
14510
|
]), 1040, ["skip-active", "year", "multi-model-value", "modelValue"])) : S("", !0),
|
|
14511
14511
|
O.yearPicker ? (d(), U(Hn, Oe({ key: 2 }, s(_)("year"), {
|
|
14512
14512
|
modelValue: s(w),
|
|
14513
|
-
"onUpdate:modelValue": z[19] || (z[19] = (Me) =>
|
|
14513
|
+
"onUpdate:modelValue": z[19] || (z[19] = (Me) => ht(w) ? w.value = Me : null),
|
|
14514
14514
|
"multi-model-value": s(le),
|
|
14515
14515
|
"skip-active": O.range,
|
|
14516
14516
|
"skip-button-ref": "",
|
|
@@ -14565,7 +14565,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14565
14565
|
ct(() => {
|
|
14566
14566
|
n("mounted");
|
|
14567
14567
|
});
|
|
14568
|
-
const g = (B, k) => Ec(
|
|
14568
|
+
const g = (B, k) => Ec(gt(ie(), B), k), p = (B, k) => XM(gt(ie(), B), k), N = j(
|
|
14569
14569
|
() => ({
|
|
14570
14570
|
dp__time_col: !0,
|
|
14571
14571
|
dp__time_col_reg: !i.enableSeconds && i.is24,
|
|
@@ -14903,13 +14903,13 @@ const x4 = (e, t, n, i) => {
|
|
|
14903
14903
|
!v.current && t.hideOffsetDates || (r.value = v.value);
|
|
14904
14904
|
}, u = () => {
|
|
14905
14905
|
r.value = null;
|
|
14906
|
-
}, c = (v) => Array.isArray(e.value) && t.range && e.value[0] && r.value ? v ?
|
|
14906
|
+
}, c = (v) => Array.isArray(e.value) && t.range && e.value[0] && r.value ? v ? pt(r.value, e.value[0]) : ft(r.value, e.value[0]) : !0, f = (v, A) => {
|
|
14907
14907
|
const x = () => e.value ? A ? e.value[0] || null : e.value[1] : null, $ = e.value && Array.isArray(e.value) ? x() : null;
|
|
14908
14908
|
return Re(ie(v.value), $);
|
|
14909
14909
|
}, y = (v) => {
|
|
14910
14910
|
const A = Array.isArray(e.value) ? e.value[0] : null;
|
|
14911
14911
|
return v ? !ft(r.value || null, A) : !0;
|
|
14912
|
-
}, m = (v, A = !0) => (t.range || t.weekPicker) && Array.isArray(e.value) ? t.hideOffsetDates && !v.current ? !1 : Re(ie(v.value), e.value[A ? 0 : 1]) : t.range ? f(v, A) && y(A) || Re(v.value, Array.isArray(e.value) ? e.value[0] : null) && c(A) : !1, g = (v, A, x) => Array.isArray(e.value) && e.value[0] && e.value.length === 1 ? v ? !1 : x ?
|
|
14912
|
+
}, m = (v, A = !0) => (t.range || t.weekPicker) && Array.isArray(e.value) ? t.hideOffsetDates && !v.current ? !1 : Re(ie(v.value), e.value[A ? 0 : 1]) : t.range ? f(v, A) && y(A) || Re(v.value, Array.isArray(e.value) ? e.value[0] : null) && c(A) : !1, g = (v, A, x) => Array.isArray(e.value) && e.value[0] && e.value.length === 1 ? v ? !1 : x ? pt(e.value[0], A.value) : ft(e.value[0], A.value) : !1, p = (v) => !e.value || t.hideOffsetDates && !v.current ? !1 : t.range ? t.modelAuto && Array.isArray(e.value) ? Re(v.value, e.value[0] ? e.value[0] : o.value) : !1 : t.multiDates && Array.isArray(e.value) ? e.value.some((A) => Re(A, v.value)) : Re(v.value, e.value ? e.value : o.value), N = (v) => {
|
|
14913
14913
|
if (t.autoRange || t.weekPicker) {
|
|
14914
14914
|
if (r.value) {
|
|
14915
14915
|
if (t.hideOffsetDates && !v.current)
|
|
@@ -14927,7 +14927,7 @@ const x4 = (e, t, n, i) => {
|
|
|
14927
14927
|
if (t.hideOffsetDates && !v.current)
|
|
14928
14928
|
return !1;
|
|
14929
14929
|
const x = a(ie(r.value));
|
|
14930
|
-
return t.weekPicker ?
|
|
14930
|
+
return t.weekPicker ? pt(v.value, x[0]) && ft(v.value, x[1]) : pt(v.value, r.value) && ft(v.value, A);
|
|
14931
14931
|
}
|
|
14932
14932
|
return !1;
|
|
14933
14933
|
}
|
|
@@ -15025,8 +15025,8 @@ const x4 = (e, t, n, i) => {
|
|
|
15025
15025
|
E.value = !0, !((K = i.presetRanges) != null && K.length) && !c["left-sidebar"] && !c["right-sidebar"] && jt();
|
|
15026
15026
|
const fe = st(N);
|
|
15027
15027
|
if (fe && !i.textInput && !i.inline && (a(!0), G()), fe) {
|
|
15028
|
-
const mt = (
|
|
15029
|
-
!i.monthYearComponent && !i.timePickerComponent && !Object.keys(c).length &&
|
|
15028
|
+
const mt = (bt) => {
|
|
15029
|
+
!i.monthYearComponent && !i.timePickerComponent && !Object.keys(c).length && bt.preventDefault(), bt.stopImmediatePropagation(), bt.stopPropagation();
|
|
15030
15030
|
};
|
|
15031
15031
|
fe.addEventListener("pointerdown", mt), fe.addEventListener("mousedown", mt);
|
|
15032
15032
|
}
|
|
@@ -15103,8 +15103,8 @@ const x4 = (e, t, n, i) => {
|
|
|
15103
15103
|
})
|
|
15104
15104
|
), Fe = (K, fe) => K.value(fe).map((mt) => ({
|
|
15105
15105
|
...mt,
|
|
15106
|
-
days: mt.days.map((
|
|
15107
|
-
})),
|
|
15106
|
+
days: mt.days.map((bt) => (bt.marker = de(bt), bt.classData = he(bt), bt))
|
|
15107
|
+
})), Mt = (K) => {
|
|
15108
15108
|
K.stopPropagation(), K.stopImmediatePropagation();
|
|
15109
15109
|
}, T = () => {
|
|
15110
15110
|
i.escClose && n("close-picker");
|
|
@@ -15113,9 +15113,9 @@ const x4 = (e, t, n, i) => {
|
|
|
15113
15113
|
}, ce = (K) => {
|
|
15114
15114
|
var fe;
|
|
15115
15115
|
(fe = i.flow) != null && fe.length && (y[K] = !0, Object.keys(y).filter((mt) => !y[mt]).length || We());
|
|
15116
|
-
}, Se = (K, fe, mt,
|
|
15116
|
+
}, Se = (K, fe, mt, bt, ...ni) => {
|
|
15117
15117
|
if (i.flow[b.value] === K) {
|
|
15118
|
-
const be =
|
|
15118
|
+
const be = bt ? fe.value[0] : fe.value;
|
|
15119
15119
|
be && be[mt](...ni);
|
|
15120
15120
|
}
|
|
15121
15121
|
}, We = () => {
|
|
@@ -15148,7 +15148,7 @@ const x4 = (e, t, n, i) => {
|
|
|
15148
15148
|
css: !!K.transitions
|
|
15149
15149
|
}, {
|
|
15150
15150
|
default: Y(() => {
|
|
15151
|
-
var
|
|
15151
|
+
var bt, ni;
|
|
15152
15152
|
return [
|
|
15153
15153
|
h("div", {
|
|
15154
15154
|
id: K.uid ? `dp-menu-${K.uid}` : void 0,
|
|
@@ -15158,7 +15158,7 @@ const x4 = (e, t, n, i) => {
|
|
|
15158
15158
|
role: "dialog",
|
|
15159
15159
|
class: ee(s(Te)),
|
|
15160
15160
|
onMouseleave: fe[12] || (fe[12] = (...be) => s(ge) && s(ge)(...be)),
|
|
15161
|
-
onClick:
|
|
15161
|
+
onClick: Mt,
|
|
15162
15162
|
onKeydown: [
|
|
15163
15163
|
ve(T, ["esc"]),
|
|
15164
15164
|
fe[13] || (fe[13] = ve(Ee((be) => Lt("left"), ["prevent"]), ["left"])),
|
|
@@ -15178,7 +15178,7 @@ const x4 = (e, t, n, i) => {
|
|
|
15178
15178
|
}, null, 2)) : S("", !0),
|
|
15179
15179
|
h("div", {
|
|
15180
15180
|
class: ee({
|
|
15181
|
-
dp__menu_content_wrapper: ((
|
|
15181
|
+
dp__menu_content_wrapper: ((bt = K.presetRanges) == null ? void 0 : bt.length) || !!K.$slots["left-sidebar"] || !!K.$slots["right-sidebar"]
|
|
15182
15182
|
})
|
|
15183
15183
|
}, [
|
|
15184
15184
|
K.$slots["left-sidebar"] ? (d(), I("div", N3, [
|
|
@@ -15481,7 +15481,7 @@ const x4 = (e, t, n, i) => {
|
|
|
15481
15481
|
ref: c,
|
|
15482
15482
|
"is-menu-open": r.value,
|
|
15483
15483
|
"input-value": s(P),
|
|
15484
|
-
"onUpdate:input-value": $e[0] || ($e[0] = (_e) =>
|
|
15484
|
+
"onUpdate:input-value": $e[0] || ($e[0] = (_e) => ht(P) ? P.value = _e : null)
|
|
15485
15485
|
}, je.$props, {
|
|
15486
15486
|
onClear: A,
|
|
15487
15487
|
onOpen: v,
|
|
@@ -15514,7 +15514,7 @@ const x4 = (e, t, n, i) => {
|
|
|
15514
15514
|
"open-on-top": s(w)
|
|
15515
15515
|
}, je.$props, {
|
|
15516
15516
|
"internal-model-value": s(G),
|
|
15517
|
-
"onUpdate:internal-model-value": $e[1] || ($e[1] = (_e) =>
|
|
15517
|
+
"onUpdate:internal-model-value": $e[1] || ($e[1] = (_e) => ht(G) ? G.value = _e : null),
|
|
15518
15518
|
onClosePicker: de,
|
|
15519
15519
|
onSelectDate: $,
|
|
15520
15520
|
onAutoApply: C,
|
|
@@ -16201,7 +16201,7 @@ const Zw = { name: "material-symbols-docs-outline", render: $w }, Ew = ["id", "d
|
|
|
16201
16201
|
id: e.id,
|
|
16202
16202
|
modelValue: s(r),
|
|
16203
16203
|
"onUpdate:modelValue": [
|
|
16204
|
-
f[0] || (f[0] = (y) =>
|
|
16204
|
+
f[0] || (f[0] = (y) => ht(r) ? r.value = y : null),
|
|
16205
16205
|
f[1] || (f[1] = (y) => t("update:modelValue", y))
|
|
16206
16206
|
],
|
|
16207
16207
|
name: s(a),
|
|
@@ -16364,11 +16364,11 @@ Et.install = (e) => {
|
|
|
16364
16364
|
e.component("SolLink", Et);
|
|
16365
16365
|
};
|
|
16366
16366
|
const li = {
|
|
16367
|
-
IconPortal:
|
|
16368
|
-
IconMoney:
|
|
16369
|
-
IconAmpera:
|
|
16370
|
-
IconShopping:
|
|
16371
|
-
IconRocket:
|
|
16367
|
+
IconPortal: vt(() => import("./solfacil.f3236c60.mjs")),
|
|
16368
|
+
IconMoney: vt(() => import("./attach-money.3951279d.mjs")),
|
|
16369
|
+
IconAmpera: vt(() => import("./ampera.d1755390.mjs")),
|
|
16370
|
+
IconShopping: vt(() => import("./shopping-cart.1c02fdd4.mjs")),
|
|
16371
|
+
IconRocket: vt(() => import("./rocket-launch.11fef273.mjs"))
|
|
16372
16372
|
};
|
|
16373
16373
|
function vd() {
|
|
16374
16374
|
return {
|
|
@@ -16490,11 +16490,12 @@ const sN = /* @__PURE__ */ lt(uN, [["__scopeId", "data-v-1e7fde8e"]]), cN = { cl
|
|
|
16490
16490
|
emits: ["clickUser"],
|
|
16491
16491
|
setup(e, { emit: t }) {
|
|
16492
16492
|
const n = e, i = {
|
|
16493
|
-
IconVisibility:
|
|
16494
|
-
IconVisibilityOff:
|
|
16495
|
-
IconSupportContact:
|
|
16496
|
-
IconWhatsapp:
|
|
16497
|
-
IconMyCallings:
|
|
16493
|
+
IconVisibility: vt(() => import("./visibility.8b105a47.mjs")),
|
|
16494
|
+
IconVisibilityOff: vt(() => import("./visibility-off.f25ea2aa.mjs")),
|
|
16495
|
+
IconSupportContact: vt(() => Promise.resolve().then(() => sS)),
|
|
16496
|
+
IconWhatsapp: vt(() => import("./whatsapp.6544b116.mjs")),
|
|
16497
|
+
IconMyCallings: vt(() => import("./chat.8e7180b0.mjs")),
|
|
16498
|
+
IconTermsConditions: vt(() => import("./assignment-turned-in-outline-rounded.23ea0c5c.mjs"))
|
|
16498
16499
|
}, a = j(() => {
|
|
16499
16500
|
var f;
|
|
16500
16501
|
return n.perfilPersonification.includes((f = n.user) == null ? void 0 : f.profile);
|
|
@@ -16562,6 +16563,16 @@ const sN = /* @__PURE__ */ lt(uN, [["__scopeId", "data-v-1e7fde8e"]]), cN = { cl
|
|
|
16562
16563
|
action: () => {
|
|
16563
16564
|
window.open("https://helpcentersolfacil.zendesk.com/hc/pt-br/requests", "_blank"), u("myCallings");
|
|
16564
16565
|
}
|
|
16566
|
+
},
|
|
16567
|
+
{
|
|
16568
|
+
id: "termsConditions",
|
|
16569
|
+
condition: r(),
|
|
16570
|
+
icon: "IconTermsConditions",
|
|
16571
|
+
title: "Termos e Condi\xE7\xF5es",
|
|
16572
|
+
clickEvent: "termsConditions",
|
|
16573
|
+
action: () => {
|
|
16574
|
+
window.open("https://helpcentersolfacil.zendesk.com/hc/pt-br/articles/26540116637211-TERMOS-E-CONDI%C3%87%C3%95ES-PLATAFORMA-SOLF%C3%81CIL-TERMO", "_blank"), u("myCallings");
|
|
16575
|
+
}
|
|
16565
16576
|
}
|
|
16566
16577
|
];
|
|
16567
16578
|
}), l = j(() => o.value.filter((f) => f.condition));
|
|
@@ -16589,7 +16600,7 @@ const sN = /* @__PURE__ */ lt(uN, [["__scopeId", "data-v-1e7fde8e"]]), cN = { cl
|
|
|
16589
16600
|
}, 1032, ["id", "onClick"]))), 128));
|
|
16590
16601
|
}
|
|
16591
16602
|
});
|
|
16592
|
-
const hd = /* @__PURE__ */ lt(dN, [["__scopeId", "data-v-
|
|
16603
|
+
const hd = /* @__PURE__ */ lt(dN, [["__scopeId", "data-v-e73ae5e8"]]), fN = { class: "box-container" }, mN = { class: "title" }, yN = { class: "description" }, vN = /* @__PURE__ */ re({
|
|
16593
16604
|
__name: "SolfacilPlusBox",
|
|
16594
16605
|
props: {
|
|
16595
16606
|
title: null,
|
|
@@ -16724,7 +16735,7 @@ const Kl = { name: "girassol-expand-more", render: PN }, zN = {
|
|
|
16724
16735
|
function ZN(e, t) {
|
|
16725
16736
|
return d(), I("svg", zN, $N);
|
|
16726
16737
|
}
|
|
16727
|
-
const nr = { name: "girassol-logout", render: ZN }, EN = (e) => (Kt("data-v-
|
|
16738
|
+
const nr = { name: "girassol-logout", render: ZN }, EN = (e) => (Kt("data-v-5c6032b6"), e = e(), en(), e), GN = { class: "user-info" }, BN = { class: "info" }, YN = /* @__PURE__ */ EN(() => /* @__PURE__ */ h("span", { class: "title" }, "Boas-vindas", -1)), UN = { class: "subtitle" }, VN = { class: "user-menu-desktop" }, RN = { class: "main" }, WN = { class: "footer" }, QN = { class: "item-title" }, HN = /* @__PURE__ */ re({
|
|
16728
16739
|
__name: "Desktop",
|
|
16729
16740
|
props: {
|
|
16730
16741
|
user: null,
|
|
@@ -16800,7 +16811,7 @@ const nr = { name: "girassol-logout", render: ZN }, EN = (e) => (Kt("data-v-40d6
|
|
|
16800
16811
|
]));
|
|
16801
16812
|
}
|
|
16802
16813
|
});
|
|
16803
|
-
const FN = /* @__PURE__ */ lt(HN, [["__scopeId", "data-v-
|
|
16814
|
+
const FN = /* @__PURE__ */ lt(HN, [["__scopeId", "data-v-5c6032b6"]]), XN = {
|
|
16804
16815
|
viewBox: "0 0 1024 1024",
|
|
16805
16816
|
width: "1em",
|
|
16806
16817
|
height: "1em"
|
|
@@ -16970,10 +16981,10 @@ const h5 = { name: "girassol-notifications", render: g5 }, I5 = { class: "list-n
|
|
|
16970
16981
|
emits: ["moreNotification", "goToNotification"],
|
|
16971
16982
|
setup(e, { emit: t }) {
|
|
16972
16983
|
const n = e, i = {
|
|
16973
|
-
IconWorkspace:
|
|
16974
|
-
IconMonetization:
|
|
16975
|
-
IconShopping:
|
|
16976
|
-
IconNewReleases:
|
|
16984
|
+
IconWorkspace: vt(() => import("./workspace-premium.51d52bf5.mjs")),
|
|
16985
|
+
IconMonetization: vt(() => import("./monetization-on.14e2b221.mjs")),
|
|
16986
|
+
IconShopping: vt(() => import("./shopping-cart.1c02fdd4.mjs")),
|
|
16987
|
+
IconNewReleases: vt(() => import("./new-releases.a97b9932.mjs"))
|
|
16977
16988
|
}, a = {
|
|
16978
16989
|
current_level_upgrade: "IconWorkspace",
|
|
16979
16990
|
financing_approved_signature: "IconWorkspace",
|