@solfacil/girassol 0.47.3 → 0.48.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 +25 -16
- package/dist/girassol.umd.js +1 -1
- package/dist/style.css +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 +24 -1
- package/package.json +1 -1
package/dist/girassol.es.js
CHANGED
|
@@ -16455,6 +16455,7 @@ const lN = /* @__PURE__ */ lt(oN, [["__scopeId", "data-v-1e7fde8e"]]), uN = { cl
|
|
|
16455
16455
|
props: {
|
|
16456
16456
|
user: null,
|
|
16457
16457
|
partner: null,
|
|
16458
|
+
perfilPersonification: null,
|
|
16458
16459
|
umPersonification: { type: Boolean },
|
|
16459
16460
|
inPersonification: { type: Boolean }
|
|
16460
16461
|
},
|
|
@@ -16468,7 +16469,7 @@ const lN = /* @__PURE__ */ lt(oN, [["__scopeId", "data-v-1e7fde8e"]]), uN = { cl
|
|
|
16468
16469
|
IconMyCallings: wt(() => import("./chat.8e7180b0.mjs"))
|
|
16469
16470
|
}, a = j(() => {
|
|
16470
16471
|
var f;
|
|
16471
|
-
return ((f = n.user) == null ? void 0 : f.profile)
|
|
16472
|
+
return n.perfilPersonification.includes((f = n.user) == null ? void 0 : f.profile);
|
|
16472
16473
|
}), r = () => a.value ? n.umPersonification : !0, o = j(() => {
|
|
16473
16474
|
var f, y;
|
|
16474
16475
|
return [
|
|
@@ -16560,7 +16561,7 @@ const lN = /* @__PURE__ */ lt(oN, [["__scopeId", "data-v-1e7fde8e"]]), uN = { cl
|
|
|
16560
16561
|
}, 1032, ["id", "onClick"]))), 128));
|
|
16561
16562
|
}
|
|
16562
16563
|
});
|
|
16563
|
-
const hd = /* @__PURE__ */ lt(sN, [["__scopeId", "data-v-
|
|
16564
|
+
const hd = /* @__PURE__ */ lt(sN, [["__scopeId", "data-v-ff2fe97e"]]), cN = { class: "box-container" }, dN = { class: "title" }, fN = { class: "description" }, mN = /* @__PURE__ */ re({
|
|
16564
16565
|
__name: "SolfacilPlusBox",
|
|
16565
16566
|
props: {
|
|
16566
16567
|
title: null,
|
|
@@ -16695,11 +16696,12 @@ const ql = { name: "girassol-expand-more", render: LN }, CN = {
|
|
|
16695
16696
|
function ON(e, t) {
|
|
16696
16697
|
return d(), I("svg", CN, zN);
|
|
16697
16698
|
}
|
|
16698
|
-
const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-
|
|
16699
|
+
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
16700
|
__name: "Desktop",
|
|
16700
16701
|
props: {
|
|
16701
16702
|
user: null,
|
|
16702
16703
|
partner: null,
|
|
16704
|
+
perfilPersonification: null,
|
|
16703
16705
|
umPersonification: { type: Boolean },
|
|
16704
16706
|
inPersonification: { type: Boolean }
|
|
16705
16707
|
},
|
|
@@ -16739,10 +16741,11 @@ const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-2898
|
|
|
16739
16741
|
R(hd, {
|
|
16740
16742
|
user: e.user,
|
|
16741
16743
|
partner: e.partner,
|
|
16744
|
+
"perfil-personification": e.perfilPersonification,
|
|
16742
16745
|
"um-personification": e.umPersonification,
|
|
16743
16746
|
"in-personification": e.inPersonification,
|
|
16744
16747
|
onClickUser: a
|
|
16745
|
-
}, null, 8, ["user", "partner", "um-personification", "in-personification"])
|
|
16748
|
+
}, null, 8, ["user", "partner", "perfil-personification", "um-personification", "in-personification"])
|
|
16746
16749
|
]),
|
|
16747
16750
|
R(it, { thickness: "x-small" }),
|
|
16748
16751
|
h("footer", VN, [
|
|
@@ -16769,7 +16772,7 @@ const nr = { name: "girassol-logout", render: ON }, $N = (e) => (Kt("data-v-2898
|
|
|
16769
16772
|
]));
|
|
16770
16773
|
}
|
|
16771
16774
|
});
|
|
16772
|
-
const QN = /* @__PURE__ */ lt(WN, [["__scopeId", "data-v-
|
|
16775
|
+
const QN = /* @__PURE__ */ lt(WN, [["__scopeId", "data-v-40d65edb"]]), HN = {
|
|
16773
16776
|
viewBox: "0 0 1024 1024",
|
|
16774
16777
|
width: "1em",
|
|
16775
16778
|
height: "1em"
|
|
@@ -16783,11 +16786,12 @@ const QN = /* @__PURE__ */ lt(WN, [["__scopeId", "data-v-289865a2"]]), HN = {
|
|
|
16783
16786
|
function JN(e, t) {
|
|
16784
16787
|
return d(), I("svg", HN, XN);
|
|
16785
16788
|
}
|
|
16786
|
-
const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-
|
|
16789
|
+
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
16790
|
__name: "Mobile",
|
|
16788
16791
|
props: {
|
|
16789
16792
|
user: null,
|
|
16790
16793
|
partner: null,
|
|
16794
|
+
perfilPersonification: null,
|
|
16791
16795
|
umPersonification: { type: Boolean },
|
|
16792
16796
|
inPersonification: { type: Boolean }
|
|
16793
16797
|
},
|
|
@@ -16880,11 +16884,12 @@ const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-f3f7e
|
|
|
16880
16884
|
h("main", o5, [
|
|
16881
16885
|
R(hd, {
|
|
16882
16886
|
user: e.user,
|
|
16887
|
+
"perfil-personification": e.perfilPersonification,
|
|
16883
16888
|
partner: e.partner,
|
|
16884
16889
|
"um-personification": e.umPersonification,
|
|
16885
16890
|
"in-personification": e.inPersonification,
|
|
16886
16891
|
onClickUser: N[3] || (N[3] = (b) => t("clickUser", b))
|
|
16887
|
-
}, null, 8, ["user", "partner", "um-personification", "in-personification"])
|
|
16892
|
+
}, null, 8, ["user", "perfil-personification", "partner", "um-personification", "in-personification"])
|
|
16888
16893
|
]),
|
|
16889
16894
|
R(it, { thickness: "x-small" }),
|
|
16890
16895
|
h("footer", l5, [
|
|
@@ -16915,7 +16920,7 @@ const ei = { name: "girassol-close", render: JN }, qN = (e) => (Kt("data-v-f3f7e
|
|
|
16915
16920
|
]));
|
|
16916
16921
|
}
|
|
16917
16922
|
});
|
|
16918
|
-
const c5 = /* @__PURE__ */ lt(s5, [["__scopeId", "data-v-
|
|
16923
|
+
const c5 = /* @__PURE__ */ lt(s5, [["__scopeId", "data-v-37d2229e"]]), d5 = {
|
|
16919
16924
|
viewBox: "0 0 1024 1024",
|
|
16920
16925
|
width: "1em",
|
|
16921
16926
|
height: "1em"
|
|
@@ -16947,7 +16952,8 @@ const v5 = { name: "girassol-notifications", render: y5 }, g5 = { class: "list-n
|
|
|
16947
16952
|
financing_scored_formalization: "IconWorkspace",
|
|
16948
16953
|
financing_scored_installation: "IconWorkspace",
|
|
16949
16954
|
quarter_changed_level_downgrade: "IconWorkspace",
|
|
16950
|
-
quarter_changed: "IconWorkspace"
|
|
16955
|
+
quarter_changed: "IconWorkspace",
|
|
16956
|
+
referral_lead: "IconWorkspace"
|
|
16951
16957
|
};
|
|
16952
16958
|
function r(p) {
|
|
16953
16959
|
return a[p];
|
|
@@ -17047,7 +17053,7 @@ const v5 = { name: "girassol-notifications", render: y5 }, g5 = { class: "list-n
|
|
|
17047
17053
|
};
|
|
17048
17054
|
}
|
|
17049
17055
|
});
|
|
17050
|
-
const pd = /* @__PURE__ */ lt(D5, [["__scopeId", "data-v-
|
|
17056
|
+
const pd = /* @__PURE__ */ lt(D5, [["__scopeId", "data-v-06d84c4c"]]), x5 = {
|
|
17051
17057
|
viewBox: "0 0 1024 1024",
|
|
17052
17058
|
width: "1em",
|
|
17053
17059
|
height: "1em"
|
|
@@ -17257,7 +17263,7 @@ const q5 = /* @__PURE__ */ lt(J5, [["__scopeId", "data-v-246731d8"]]), K5 = {
|
|
|
17257
17263
|
function nj(e, t) {
|
|
17258
17264
|
return d(), I("svg", K5, tj);
|
|
17259
17265
|
}
|
|
17260
|
-
const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-
|
|
17266
|
+
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
17267
|
class: "portal-img",
|
|
17262
17268
|
alt: "portal logo"
|
|
17263
17269
|
}, null, -1)), uj = { class: "portal-divider" }, sj = ["white"], cj = {
|
|
@@ -17275,13 +17281,14 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17275
17281
|
partner: null,
|
|
17276
17282
|
product: null,
|
|
17277
17283
|
notifications: null,
|
|
17278
|
-
center: { type: Boolean, default: !1 }
|
|
17284
|
+
center: { type: Boolean, default: !1 },
|
|
17285
|
+
perfilPersonification: { default: () => ["admin"] }
|
|
17279
17286
|
},
|
|
17280
17287
|
emits: ["clickMenu", "clickLogout", "clickUser", "clickProduct", "clickSolfacilPlus", "clickNotification"],
|
|
17281
17288
|
setup(e, { emit: t }) {
|
|
17282
17289
|
const n = e, i = () => t("clickLogout"), a = () => t("clickMenu"), r = j(() => {
|
|
17283
17290
|
var l;
|
|
17284
|
-
return ((l = n.user) == null ? void 0 : l.profile)
|
|
17291
|
+
return n.perfilPersonification.includes((l = n.user) == null ? void 0 : l.profile);
|
|
17285
17292
|
});
|
|
17286
17293
|
function o(l, u) {
|
|
17287
17294
|
t("clickNotification", { event: l, notification: u });
|
|
@@ -17348,6 +17355,7 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17348
17355
|
class: "desktop-show",
|
|
17349
17356
|
user: e.user,
|
|
17350
17357
|
partner: e.partner,
|
|
17358
|
+
"perfil-personification": e.perfilPersonification,
|
|
17351
17359
|
"um-personification": e.umPersonification,
|
|
17352
17360
|
"in-personification": e.inPersonification,
|
|
17353
17361
|
onClickLogout: i,
|
|
@@ -17358,11 +17366,12 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17358
17366
|
L(l.$slots, "user-info", { user: s }, void 0, !0)
|
|
17359
17367
|
]),
|
|
17360
17368
|
_: 3
|
|
17361
|
-
}, 8, ["user", "partner", "um-personification", "in-personification"]),
|
|
17369
|
+
}, 8, ["user", "partner", "perfil-personification", "um-personification", "in-personification"]),
|
|
17362
17370
|
R(c5, {
|
|
17363
17371
|
class: "mobile-show",
|
|
17364
17372
|
user: e.user,
|
|
17365
17373
|
partner: e.partner,
|
|
17374
|
+
"perfil-personification": e.perfilPersonification,
|
|
17366
17375
|
"um-personification": e.umPersonification,
|
|
17367
17376
|
"in-personification": e.inPersonification,
|
|
17368
17377
|
onClickLogout: i,
|
|
@@ -17382,7 +17391,7 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17382
17391
|
}, void 0, !0)
|
|
17383
17392
|
]),
|
|
17384
17393
|
_: 3
|
|
17385
|
-
}, 8, ["user", "partner", "um-personification", "in-personification"]),
|
|
17394
|
+
}, 8, ["user", "partner", "perfil-personification", "um-personification", "in-personification"]),
|
|
17386
17395
|
L(l.$slots, "actions", {}, void 0, !0)
|
|
17387
17396
|
])
|
|
17388
17397
|
], 8, rj)
|
|
@@ -17395,7 +17404,7 @@ const bd = { name: "girassol-menu", render: nj }, ij = (e) => (Kt("data-v-e245d6
|
|
|
17395
17404
|
], 64));
|
|
17396
17405
|
}
|
|
17397
17406
|
});
|
|
17398
|
-
const hl = /* @__PURE__ */ lt(fj, [["__scopeId", "data-v-
|
|
17407
|
+
const hl = /* @__PURE__ */ lt(fj, [["__scopeId", "data-v-61ea8918"]]);
|
|
17399
17408
|
hl.install = (e) => {
|
|
17400
17409
|
e.component("SolHeader", hl);
|
|
17401
17410
|
};
|