@solfacil/girassol 0.47.3 → 0.49.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 +31 -18
- package/dist/girassol.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +11 -4
- package/dist/types/components/forms/checkbox/type.d.ts +1 -1
- package/dist/types/components/headers/header/Header.vue.d.ts +5 -0
- package/dist/types/components/headers/header/user/Desktop.vue.d.ts +2 -0
- package/dist/types/components/headers/header/user/MainItems.vue.d.ts +2 -0
- package/dist/types/components/headers/header/user/Mobile.vue.d.ts +2 -0
- package/dist/types/index.d.ts +174 -37
- package/package.json +1 -1
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 K, useSlots as kt, computed as j, unref as c, renderSlot as L, createCommentVNode as D, 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 tc, isRef as gt, onBeforeUnmount as nc, toRef as Dt, resolveDynamicComponent as ke, h as Xi, inject as ic, reactive as Tt, onUnmounted as Cn, nextTick as xt, warn as ac, watchEffect as rc, markRaw as _d, mergeProps as Oe, vShow as nt, vModelText as Ld, Fragment as ue, renderList as pe, getCurrentScope as oc, onScopeDispose as lc, withModifiers as Ee,
|
|
1
|
+
import { defineComponent as re, openBlock as d, createElementBlock as I, normalizeClass as ee, createElementVNode as h, toDisplayString as K, useSlots as kt, computed as j, unref as c, renderSlot as L, createCommentVNode as D, 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 tc, isRef as gt, onBeforeUnmount as nc, toRef as Dt, resolveDynamicComponent as ke, h as Xi, inject as ic, reactive as Tt, onUnmounted as Cn, nextTick as xt, warn as ac, watchEffect as rc, markRaw as _d, mergeProps as Oe, vShow as nt, vModelText as Ld, Fragment as ue, renderList as pe, createTextVNode as se, getCurrentScope as oc, onScopeDispose as lc, 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 wt, pushScopeId as Kt, popScopeId as en, createStaticVNode as Pd, toRaw as fn, render as uc } 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"
|
|
@@ -3310,7 +3310,11 @@ const t0 = ["id", "indeterminate", "data-testid", "checked", "value", "name"], n
|
|
|
3310
3310
|
key: 1,
|
|
3311
3311
|
class: "label",
|
|
3312
3312
|
for: `checkbox-${e.name}-${e.id}`
|
|
3313
|
-
},
|
|
3313
|
+
}, [
|
|
3314
|
+
L(n.$slots, "default", {}, () => [
|
|
3315
|
+
se(K(e.label), 1)
|
|
3316
|
+
])
|
|
3317
|
+
], 8, i0))
|
|
3314
3318
|
], 2));
|
|
3315
3319
|
}
|
|
3316
3320
|
});
|
|
@@ -16455,6 +16459,7 @@ const lN = /* @__PURE__ */ lt(oN, [["__scopeId", "data-v-1e7fde8e"]]), uN = { cl
|
|
|
16455
16459
|
props: {
|
|
16456
16460
|
user: null,
|
|
16457
16461
|
partner: null,
|
|
16462
|
+
perfilPersonification: null,
|
|
16458
16463
|
umPersonification: { type: Boolean },
|
|
16459
16464
|
inPersonification: { type: Boolean }
|
|
16460
16465
|
},
|
|
@@ -16468,7 +16473,7 @@ const lN = /* @__PURE__ */ lt(oN, [["__scopeId", "data-v-1e7fde8e"]]), uN = { cl
|
|
|
16468
16473
|
IconMyCallings: wt(() => import("./chat.8e7180b0.mjs"))
|
|
16469
16474
|
}, a = j(() => {
|
|
16470
16475
|
var f;
|
|
16471
|
-
return ((f = n.user) == null ? void 0 : f.profile)
|
|
16476
|
+
return n.perfilPersonification.includes((f = n.user) == null ? void 0 : f.profile);
|
|
16472
16477
|
}), r = () => a.value ? n.umPersonification : !0, o = j(() => {
|
|
16473
16478
|
var f, y;
|
|
16474
16479
|
return [
|
|
@@ -16560,7 +16565,7 @@ const lN = /* @__PURE__ */ lt(oN, [["__scopeId", "data-v-1e7fde8e"]]), uN = { cl
|
|
|
16560
16565
|
}, 1032, ["id", "onClick"]))), 128));
|
|
16561
16566
|
}
|
|
16562
16567
|
});
|
|
16563
|
-
const hd = /* @__PURE__ */ lt(sN, [["__scopeId", "data-v-
|
|
16568
|
+
const hd = /* @__PURE__ */ lt(sN, [["__scopeId", "data-v-ff2fe97e"]]), cN = { class: "box-container" }, dN = { class: "title" }, fN = { class: "description" }, mN = /* @__PURE__ */ re({
|
|
16564
16569
|
__name: "SolfacilPlusBox",
|
|
16565
16570
|
props: {
|
|
16566
16571
|
title: null,
|
|
@@ -16695,11 +16700,12 @@ const ql = { name: "girassol-expand-more", render: LN }, CN = {
|
|
|
16695
16700
|
function ON(e, t) {
|
|
16696
16701
|
return d(), I("svg", CN, zN);
|
|
16697
16702
|
}
|
|
16698
|
-
const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-
|
|
16703
|
+
const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-40d65edb"), e = e(), en(), e), ZN = { class: "user-info" }, EN = { class: "info" }, GN = /* @__PURE__ */ $N(() => /* @__PURE__ */ h("span", { class: "title" }, "Boas-vindas", -1)), BN = { class: "subtitle" }, YN = { class: "user-menu-desktop" }, UN = { class: "main" }, VN = { class: "footer" }, RN = { class: "item-title" }, WN = /* @__PURE__ */ re({
|
|
16699
16704
|
__name: "Desktop",
|
|
16700
16705
|
props: {
|
|
16701
16706
|
user: null,
|
|
16702
16707
|
partner: null,
|
|
16708
|
+
perfilPersonification: null,
|
|
16703
16709
|
umPersonification: { type: Boolean },
|
|
16704
16710
|
inPersonification: { type: Boolean }
|
|
16705
16711
|
},
|
|
@@ -16739,10 +16745,11 @@ const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-2898
|
|
|
16739
16745
|
R(hd, {
|
|
16740
16746
|
user: e.user,
|
|
16741
16747
|
partner: e.partner,
|
|
16748
|
+
"perfil-personification": e.perfilPersonification,
|
|
16742
16749
|
"um-personification": e.umPersonification,
|
|
16743
16750
|
"in-personification": e.inPersonification,
|
|
16744
16751
|
onClickUser: a
|
|
16745
|
-
}, null, 8, ["user", "partner", "um-personification", "in-personification"])
|
|
16752
|
+
}, null, 8, ["user", "partner", "perfil-personification", "um-personification", "in-personification"])
|
|
16746
16753
|
]),
|
|
16747
16754
|
R(it, { thickness: "x-small" }),
|
|
16748
16755
|
h("footer", VN, [
|
|
@@ -16769,7 +16776,7 @@ const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-2898
|
|
|
16769
16776
|
]));
|
|
16770
16777
|
}
|
|
16771
16778
|
});
|
|
16772
|
-
const QN = /* @__PURE__ */ lt(WN, [["__scopeId", "data-v-
|
|
16779
|
+
const QN = /* @__PURE__ */ lt(WN, [["__scopeId", "data-v-40d65edb"]]), HN = {
|
|
16773
16780
|
viewBox: "0 0 1024 1024",
|
|
16774
16781
|
width: "1em",
|
|
16775
16782
|
height: "1em"
|
|
@@ -16783,11 +16790,12 @@ const QN = /* @__PURE__ */ lt(WN, [["__scopeId", "data-v-289865a2"]]), HN = {
|
|
|
16783
16790
|
function JN(e, t) {
|
|
16784
16791
|
return d(), I("svg", HN, XN);
|
|
16785
16792
|
}
|
|
16786
|
-
const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-
|
|
16793
|
+
const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-37d2229e"), e = e(), en(), e), KN = { class: "container" }, e5 = { class: "header" }, t5 = { class: "user-info" }, n5 = { class: "user-photo" }, i5 = { class: "welcome" }, a5 = /* @__PURE__ */ qN(() => /* @__PURE__ */ h("span", { class: "head" }, "Boas-vindas", -1)), r5 = { key: 1 }, o5 = { class: "main" }, l5 = { class: "footer" }, u5 = { class: "item-title" }, s5 = /* @__PURE__ */ re({
|
|
16787
16794
|
__name: "Mobile",
|
|
16788
16795
|
props: {
|
|
16789
16796
|
user: null,
|
|
16790
16797
|
partner: null,
|
|
16798
|
+
perfilPersonification: null,
|
|
16791
16799
|
umPersonification: { type: Boolean },
|
|
16792
16800
|
inPersonification: { type: Boolean }
|
|
16793
16801
|
},
|
|
@@ -16880,11 +16888,12 @@ const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-f3f7e
|
|
|
16880
16888
|
h("main", o5, [
|
|
16881
16889
|
R(hd, {
|
|
16882
16890
|
user: e.user,
|
|
16891
|
+
"perfil-personification": e.perfilPersonification,
|
|
16883
16892
|
partner: e.partner,
|
|
16884
16893
|
"um-personification": e.umPersonification,
|
|
16885
16894
|
"in-personification": e.inPersonification,
|
|
16886
16895
|
onClickUser: N[3] || (N[3] = (b) => t("clickUser", b))
|
|
16887
|
-
}, null, 8, ["user", "partner", "um-personification", "in-personification"])
|
|
16896
|
+
}, null, 8, ["user", "perfil-personification", "partner", "um-personification", "in-personification"])
|
|
16888
16897
|
]),
|
|
16889
16898
|
R(it, { thickness: "x-small" }),
|
|
16890
16899
|
h("footer", l5, [
|
|
@@ -16915,7 +16924,7 @@ const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-f3f7e
|
|
|
16915
16924
|
]));
|
|
16916
16925
|
}
|
|
16917
16926
|
});
|
|
16918
|
-
const c5 = /* @__PURE__ */ lt(s5, [["__scopeId", "data-v-
|
|
16927
|
+
const c5 = /* @__PURE__ */ lt(s5, [["__scopeId", "data-v-37d2229e"]]), d5 = {
|
|
16919
16928
|
viewBox: "0 0 1024 1024",
|
|
16920
16929
|
width: "1em",
|
|
16921
16930
|
height: "1em"
|
|
@@ -16947,7 +16956,8 @@ const v5 = { name: "girassol-notifications", render: y5 }, g5 = { class: "list-n
|
|
|
16947
16956
|
financing_scored_formalization: "IconWorkspace",
|
|
16948
16957
|
financing_scored_installation: "IconWorkspace",
|
|
16949
16958
|
quarter_changed_level_downgrade: "IconWorkspace",
|
|
16950
|
-
quarter_changed: "IconWorkspace"
|
|
16959
|
+
quarter_changed: "IconWorkspace",
|
|
16960
|
+
referral_lead: "IconWorkspace"
|
|
16951
16961
|
};
|
|
16952
16962
|
function r(p) {
|
|
16953
16963
|
return a[p];
|
|
@@ -17047,7 +17057,7 @@ const v5 = { name: "girassol-notifications", render: y5 }, g5 = { class: "list-n
|
|
|
17047
17057
|
};
|
|
17048
17058
|
}
|
|
17049
17059
|
});
|
|
17050
|
-
const pd = /* @__PURE__ */ lt(D5, [["__scopeId", "data-v-
|
|
17060
|
+
const pd = /* @__PURE__ */ lt(D5, [["__scopeId", "data-v-06d84c4c"]]), x5 = {
|
|
17051
17061
|
viewBox: "0 0 1024 1024",
|
|
17052
17062
|
width: "1em",
|
|
17053
17063
|
height: "1em"
|
|
@@ -17257,7 +17267,7 @@ const q5 = /* @__PURE__ */ lt(J5, [["__scopeId", "data-v-246731d8"]]), K5 = {
|
|
|
17257
17267
|
function nj(e, t) {
|
|
17258
17268
|
return d(), I("svg", K5, tj);
|
|
17259
17269
|
}
|
|
17260
|
-
const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-
|
|
17270
|
+
const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-61ea8918"), e = e(), en(), e), aj = { class: "sol-header" }, rj = ["center", "white"], oj = { class: "icon-menu-container" }, lj = /* @__PURE__ */ ij(() => /* @__PURE__ */ h("img", {
|
|
17261
17271
|
class: "portal-img",
|
|
17262
17272
|
alt: "portal logo"
|
|
17263
17273
|
}, null, -1)), uj = { class: "portal-divider" }, sj = ["white"], cj = {
|
|
@@ -17275,13 +17285,14 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17275
17285
|
partner: null,
|
|
17276
17286
|
product: null,
|
|
17277
17287
|
notifications: null,
|
|
17278
|
-
center: { type: Boolean, default: !1 }
|
|
17288
|
+
center: { type: Boolean, default: !1 },
|
|
17289
|
+
perfilPersonification: { default: () => ["admin"] }
|
|
17279
17290
|
},
|
|
17280
17291
|
emits: ["clickMenu", "clickLogout", "clickUser", "clickProduct", "clickSolfacilPlus", "clickNotification"],
|
|
17281
17292
|
setup(e, { emit: t }) {
|
|
17282
17293
|
const n = e, i = () => t("clickLogout"), a = () => t("clickMenu"), r = j(() => {
|
|
17283
17294
|
var l;
|
|
17284
|
-
return ((l = n.user) == null ? void 0 : l.profile)
|
|
17295
|
+
return n.perfilPersonification.includes((l = n.user) == null ? void 0 : l.profile);
|
|
17285
17296
|
});
|
|
17286
17297
|
function o(l, u) {
|
|
17287
17298
|
t("clickNotification", { event: l, notification: u });
|
|
@@ -17348,6 +17359,7 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17348
17359
|
class: "desktop-show",
|
|
17349
17360
|
user: e.user,
|
|
17350
17361
|
partner: e.partner,
|
|
17362
|
+
"perfil-personification": e.perfilPersonification,
|
|
17351
17363
|
"um-personification": e.umPersonification,
|
|
17352
17364
|
"in-personification": e.inPersonification,
|
|
17353
17365
|
onClickLogout: i,
|
|
@@ -17358,11 +17370,12 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17358
17370
|
L(l.$slots, "user-info", { user: s }, void 0, !0)
|
|
17359
17371
|
]),
|
|
17360
17372
|
_: 3
|
|
17361
|
-
}, 8, ["user", "partner", "um-personification", "in-personification"]),
|
|
17373
|
+
}, 8, ["user", "partner", "perfil-personification", "um-personification", "in-personification"]),
|
|
17362
17374
|
R(c5, {
|
|
17363
17375
|
class: "mobile-show",
|
|
17364
17376
|
user: e.user,
|
|
17365
17377
|
partner: e.partner,
|
|
17378
|
+
"perfil-personification": e.perfilPersonification,
|
|
17366
17379
|
"um-personification": e.umPersonification,
|
|
17367
17380
|
"in-personification": e.inPersonification,
|
|
17368
17381
|
onClickLogout: i,
|
|
@@ -17382,7 +17395,7 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17382
17395
|
}, void 0, !0)
|
|
17383
17396
|
]),
|
|
17384
17397
|
_: 3
|
|
17385
|
-
}, 8, ["user", "partner", "um-personification", "in-personification"]),
|
|
17398
|
+
}, 8, ["user", "partner", "perfil-personification", "um-personification", "in-personification"]),
|
|
17386
17399
|
L(l.$slots, "actions", {}, void 0, !0)
|
|
17387
17400
|
])
|
|
17388
17401
|
], 8, rj)
|
|
@@ -17395,7 +17408,7 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17395
17408
|
], 64));
|
|
17396
17409
|
}
|
|
17397
17410
|
});
|
|
17398
|
-
const hl = /* @__PURE__ */ lt(fj, [["__scopeId", "data-v-
|
|
17411
|
+
const hl = /* @__PURE__ */ lt(fj, [["__scopeId", "data-v-61ea8918"]]);
|
|
17399
17412
|
hl.install = (e) => {
|
|
17400
17413
|
e.component("SolHeader", hl);
|
|
17401
17414
|
};
|