info-library 2.14.49 → 2.14.51-beta.1
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/esm2020/layouts/topbar/topbar.component.mjs +260 -209
- package/esm2020/layouts/topmenu/topmenu.component.mjs +2 -2
- package/esm2020/model/session.model.mjs +2 -1
- package/esm2020/service/authentication.service.mjs +18 -8
- package/fesm2015/info-library.mjs +281 -216
- package/fesm2015/info-library.mjs.map +1 -1
- package/fesm2020/info-library.mjs +278 -216
- package/fesm2020/info-library.mjs.map +1 -1
- package/layouts/topbar/topbar.component.d.ts +1 -0
- package/model/session.model.d.ts +1 -0
- package/package.json +1 -1
- package/service/authentication.service.d.ts +1 -0
|
@@ -279,6 +279,7 @@ class InfoSessionModel {
|
|
|
279
279
|
this.Permissoes = [];
|
|
280
280
|
this.Empresas = [];
|
|
281
281
|
this.Unidades = [];
|
|
282
|
+
this.Clientes = [];
|
|
282
283
|
this.Parametros = null;
|
|
283
284
|
}
|
|
284
285
|
}
|
|
@@ -1140,13 +1141,13 @@ class InfoAuthenticationService {
|
|
|
1140
1141
|
if (this._sessao.TempoInatividade == null || this._sessao.TempoInatividade <= 0)
|
|
1141
1142
|
return;
|
|
1142
1143
|
let tempoSessao = this._sessao.TempoInatividade;
|
|
1143
|
-
|
|
1144
|
+
this._utilities.setLocalStorage('ms', new Date().valueOf().toString());
|
|
1144
1145
|
this._sessionTimeInterval = setInterval(() => {
|
|
1145
1146
|
if (tempoSessao > 0) {
|
|
1146
1147
|
tempoSessao--;
|
|
1147
1148
|
return;
|
|
1148
1149
|
}
|
|
1149
|
-
let tempoRestante = Math.round(this._sessao.TempoInatividade - ((new Date().valueOf() - parseInt(
|
|
1150
|
+
let tempoRestante = Math.round(this._sessao.TempoInatividade - ((new Date().valueOf() - parseInt(this._utilities.getLocalStorage('ms'))) / 1000));
|
|
1150
1151
|
if (!isNaN(tempoRestante) && tempoRestante > 0) {
|
|
1151
1152
|
tempoSessao = tempoRestante;
|
|
1152
1153
|
return;
|
|
@@ -1166,7 +1167,7 @@ class InfoAuthenticationService {
|
|
|
1166
1167
|
width: '500px'
|
|
1167
1168
|
});
|
|
1168
1169
|
ref.afterClosed().subscribe((r) => {
|
|
1169
|
-
if (r != null && (r.modalAction == InfoModalAction.Yes || (this._sessao.TempoInatividade - ((new Date().valueOf() - parseInt(
|
|
1170
|
+
if (r != null && (r.modalAction == InfoModalAction.Yes || (this._sessao.TempoInatividade - ((new Date().valueOf() - parseInt(this._utilities.getLocalStorage('ms'))) / 1000)) > 0)) {
|
|
1170
1171
|
this._sessionActive = true;
|
|
1171
1172
|
this.refreshSessionTime();
|
|
1172
1173
|
}
|
|
@@ -1205,6 +1206,16 @@ class InfoAuthenticationService {
|
|
|
1205
1206
|
return new InfoLoginModel(r.Success, r.Messages, r.Data);
|
|
1206
1207
|
}), catchError((e) => this.errorHandling(e)));
|
|
1207
1208
|
}
|
|
1209
|
+
trocarCliente(usuario, clienteId) {
|
|
1210
|
+
return this._http
|
|
1211
|
+
.post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/trocarcliente', this._utilities.jsonToEncrypt({ ClienteId: clienteId }), { headers: this._dataService.getHeaderToken(), responseType: 'text' })
|
|
1212
|
+
.pipe(map((rs) => {
|
|
1213
|
+
var r = this._utilities.decryptToJson(rs);
|
|
1214
|
+
if (r.Success && r.Data != null)
|
|
1215
|
+
this._utilities.setLocalStorage(this._plataforma.TokenKey, r.Data);
|
|
1216
|
+
return new InfoLoginModel(r.Success, r.Messages, r.Data);
|
|
1217
|
+
}), catchError((e) => this.errorHandling(e)));
|
|
1218
|
+
}
|
|
1208
1219
|
clonar(usuario) {
|
|
1209
1220
|
return this._http
|
|
1210
1221
|
.post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/clonar', this._utilities.jsonToEncrypt({ Usuario: usuario }), { headers: this._dataService.getHeaderToken(), responseType: 'text' })
|
|
@@ -1328,8 +1339,8 @@ class InfoAuthenticationService {
|
|
|
1328
1339
|
}
|
|
1329
1340
|
removeSessao() {
|
|
1330
1341
|
Object.keys(localStorage).forEach((key) => {
|
|
1331
|
-
if (!key.includes('Dashboard') && !key.includes('cols'))
|
|
1332
|
-
|
|
1342
|
+
if (!key.includes('Dashboard') && !key.includes('cols') && !key.includes('_'))
|
|
1343
|
+
localStorage.removeItem(key);
|
|
1333
1344
|
});
|
|
1334
1345
|
}
|
|
1335
1346
|
definePaginaAtiva(url) {
|
|
@@ -1340,8 +1351,8 @@ class InfoAuthenticationService {
|
|
|
1340
1351
|
let aux = url.substring(1).replace(/-/g, '').toLowerCase().split('/');
|
|
1341
1352
|
let tituloMenu = aux.length > 0 ? aux[0].toString() : url;
|
|
1342
1353
|
let parametrosUrl = url.split('/').slice(2);
|
|
1343
|
-
if (tituloMenu.indexOf('
|
|
1344
|
-
this._plataforma.PaginaAtiva = { Icone: 'widgets', Titulo: '
|
|
1354
|
+
if (tituloMenu.indexOf('nicio') > -1)
|
|
1355
|
+
this._plataforma.PaginaAtiva = { Icone: 'widgets', Titulo: 'Inicio' };
|
|
1345
1356
|
else {
|
|
1346
1357
|
let item = this._plataforma.Menu.filter(m => m.Title.toLowerCase().indexOf(tituloMenu) > -1);
|
|
1347
1358
|
let subTitulo = "";
|
|
@@ -8053,26 +8064,40 @@ class InfoSidebarComponent {
|
|
|
8053
8064
|
}] });
|
|
8054
8065
|
})();
|
|
8055
8066
|
|
|
8056
|
-
function
|
|
8067
|
+
function InfoTopbarComponent_ng_container_0_li_19_Template(rf, ctx) {
|
|
8057
8068
|
if (rf & 1) {
|
|
8058
8069
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
8059
8070
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8060
|
-
i0.ɵɵlistener("click", function
|
|
8071
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_li_19_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r16); const client_r14 = restoredCtx.$implicit; i0.ɵɵnextContext(); const _r13 = i0.ɵɵreference(39); const ctx_r15 = i0.ɵɵnextContext(); ctx_r15.setClient(client_r14); return i0.ɵɵresetView(_r13.click()); });
|
|
8072
|
+
i0.ɵɵtext(2);
|
|
8073
|
+
i0.ɵɵelementEnd()();
|
|
8074
|
+
}
|
|
8075
|
+
if (rf & 2) {
|
|
8076
|
+
const client_r14 = ctx.$implicit;
|
|
8077
|
+
i0.ɵɵadvance(2);
|
|
8078
|
+
i0.ɵɵtextInterpolate(client_r14.Nome);
|
|
8079
|
+
}
|
|
8080
|
+
}
|
|
8081
|
+
function InfoTopbarComponent_ng_container_0_div_20_li_14_Template(rf, ctx) {
|
|
8082
|
+
if (rf & 1) {
|
|
8083
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
8084
|
+
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8085
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_20_li_14_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r20); const company_r18 = restoredCtx.$implicit; i0.ɵɵnextContext(2); const _r13 = i0.ɵɵreference(39); const ctx_r19 = i0.ɵɵnextContext(); ctx_r19.setCompany(company_r18); return i0.ɵɵresetView(_r13.click()); });
|
|
8061
8086
|
i0.ɵɵtext(2);
|
|
8062
8087
|
i0.ɵɵelementEnd()();
|
|
8063
8088
|
}
|
|
8064
8089
|
if (rf & 2) {
|
|
8065
|
-
const
|
|
8090
|
+
const company_r18 = ctx.$implicit;
|
|
8066
8091
|
i0.ɵɵadvance(2);
|
|
8067
|
-
i0.ɵɵtextInterpolate(
|
|
8092
|
+
i0.ɵɵtextInterpolate(company_r18.Nome);
|
|
8068
8093
|
}
|
|
8069
8094
|
}
|
|
8070
8095
|
const _c0$3 = function (a0) { return { "opened": a0 }; };
|
|
8071
|
-
function
|
|
8096
|
+
function InfoTopbarComponent_ng_container_0_div_20_Template(rf, ctx) {
|
|
8072
8097
|
if (rf & 1) {
|
|
8073
|
-
const
|
|
8074
|
-
i0.ɵɵelementStart(0, "div",
|
|
8075
|
-
i0.ɵɵlistener("click", function
|
|
8098
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
8099
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "dl", 9);
|
|
8100
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_20_Template_dl_click_1_listener() { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.open("empresa")); });
|
|
8076
8101
|
i0.ɵɵelementStart(2, "dt");
|
|
8077
8102
|
i0.ɵɵtext(3);
|
|
8078
8103
|
i0.ɵɵpipe(4, "translate");
|
|
@@ -8080,50 +8105,50 @@ function InfoTopbarComponent_ng_container_0_div_12_Template(rf, ctx) {
|
|
|
8080
8105
|
i0.ɵɵelementStart(5, "dd");
|
|
8081
8106
|
i0.ɵɵtext(6);
|
|
8082
8107
|
i0.ɵɵelementEnd()();
|
|
8083
|
-
i0.ɵɵelementStart(7, "div",
|
|
8084
|
-
i0.ɵɵlistener("click", function
|
|
8108
|
+
i0.ɵɵelementStart(7, "div", 10)(8, "mat-icon", 11);
|
|
8109
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_20_Template_mat_icon_click_8_listener() { i0.ɵɵrestoreView(_r22); const ctx_r23 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r23.close()); });
|
|
8085
8110
|
i0.ɵɵtext(9, "close");
|
|
8086
8111
|
i0.ɵɵelementEnd();
|
|
8087
8112
|
i0.ɵɵelementStart(10, "h4");
|
|
8088
8113
|
i0.ɵɵtext(11);
|
|
8089
8114
|
i0.ɵɵpipe(12, "translate");
|
|
8090
8115
|
i0.ɵɵelementEnd();
|
|
8091
|
-
i0.ɵɵelementStart(13, "ul",
|
|
8092
|
-
i0.ɵɵtemplate(14,
|
|
8116
|
+
i0.ɵɵelementStart(13, "ul", 12);
|
|
8117
|
+
i0.ɵɵtemplate(14, InfoTopbarComponent_ng_container_0_div_20_li_14_Template, 3, 1, "li", 13);
|
|
8093
8118
|
i0.ɵɵelementEnd()()();
|
|
8094
8119
|
}
|
|
8095
8120
|
if (rf & 2) {
|
|
8096
|
-
const
|
|
8097
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$3,
|
|
8121
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
8122
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$3, ctx_r5.topMenu.empresa));
|
|
8098
8123
|
i0.ɵɵadvance(3);
|
|
8099
8124
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 5, "Empresa"));
|
|
8100
8125
|
i0.ɵɵadvance(3);
|
|
8101
|
-
i0.ɵɵtextInterpolate(
|
|
8126
|
+
i0.ɵɵtextInterpolate(ctx_r5._session.Empresa);
|
|
8102
8127
|
i0.ɵɵadvance(5);
|
|
8103
8128
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 7, "Empresas"));
|
|
8104
8129
|
i0.ɵɵadvance(3);
|
|
8105
|
-
i0.ɵɵproperty("ngForOf",
|
|
8130
|
+
i0.ɵɵproperty("ngForOf", ctx_r5._session.Empresas);
|
|
8106
8131
|
}
|
|
8107
8132
|
}
|
|
8108
|
-
function
|
|
8133
|
+
function InfoTopbarComponent_ng_container_0_div_21_li_14_Template(rf, ctx) {
|
|
8109
8134
|
if (rf & 1) {
|
|
8110
|
-
const
|
|
8135
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
8111
8136
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8112
|
-
i0.ɵɵlistener("click", function
|
|
8137
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_21_li_14_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r27); const unity_r25 = restoredCtx.$implicit; i0.ɵɵnextContext(2); const _r13 = i0.ɵɵreference(39); const ctx_r26 = i0.ɵɵnextContext(); ctx_r26.setUnity(unity_r25); return i0.ɵɵresetView(_r13.click()); });
|
|
8113
8138
|
i0.ɵɵtext(2);
|
|
8114
8139
|
i0.ɵɵelementEnd()();
|
|
8115
8140
|
}
|
|
8116
8141
|
if (rf & 2) {
|
|
8117
|
-
const
|
|
8142
|
+
const unity_r25 = ctx.$implicit;
|
|
8118
8143
|
i0.ɵɵadvance(2);
|
|
8119
|
-
i0.ɵɵtextInterpolate(
|
|
8144
|
+
i0.ɵɵtextInterpolate(unity_r25.Nome);
|
|
8120
8145
|
}
|
|
8121
8146
|
}
|
|
8122
|
-
function
|
|
8147
|
+
function InfoTopbarComponent_ng_container_0_div_21_Template(rf, ctx) {
|
|
8123
8148
|
if (rf & 1) {
|
|
8124
|
-
const
|
|
8125
|
-
i0.ɵɵelementStart(0, "div",
|
|
8126
|
-
i0.ɵɵlistener("click", function
|
|
8149
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
8150
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "dl", 9);
|
|
8151
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_21_Template_dl_click_1_listener() { i0.ɵɵrestoreView(_r29); const ctx_r28 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r28.open("unidade")); });
|
|
8127
8152
|
i0.ɵɵelementStart(2, "dt");
|
|
8128
8153
|
i0.ɵɵtext(3);
|
|
8129
8154
|
i0.ɵɵpipe(4, "translate");
|
|
@@ -8131,36 +8156,36 @@ function InfoTopbarComponent_ng_container_0_div_13_Template(rf, ctx) {
|
|
|
8131
8156
|
i0.ɵɵelementStart(5, "dd");
|
|
8132
8157
|
i0.ɵɵtext(6);
|
|
8133
8158
|
i0.ɵɵelementEnd()();
|
|
8134
|
-
i0.ɵɵelementStart(7, "div",
|
|
8135
|
-
i0.ɵɵlistener("click", function
|
|
8159
|
+
i0.ɵɵelementStart(7, "div", 10)(8, "mat-icon", 11);
|
|
8160
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_21_Template_mat_icon_click_8_listener() { i0.ɵɵrestoreView(_r29); const ctx_r30 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r30.close()); });
|
|
8136
8161
|
i0.ɵɵtext(9, "close");
|
|
8137
8162
|
i0.ɵɵelementEnd();
|
|
8138
8163
|
i0.ɵɵelementStart(10, "h4");
|
|
8139
8164
|
i0.ɵɵtext(11);
|
|
8140
8165
|
i0.ɵɵpipe(12, "translate");
|
|
8141
8166
|
i0.ɵɵelementEnd();
|
|
8142
|
-
i0.ɵɵelementStart(13, "ul",
|
|
8143
|
-
i0.ɵɵtemplate(14,
|
|
8167
|
+
i0.ɵɵelementStart(13, "ul", 12);
|
|
8168
|
+
i0.ɵɵtemplate(14, InfoTopbarComponent_ng_container_0_div_21_li_14_Template, 3, 1, "li", 13);
|
|
8144
8169
|
i0.ɵɵelementEnd()()();
|
|
8145
8170
|
}
|
|
8146
8171
|
if (rf & 2) {
|
|
8147
|
-
const
|
|
8148
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$3,
|
|
8172
|
+
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
8173
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$3, ctx_r6.topMenu.unidade));
|
|
8149
8174
|
i0.ɵɵadvance(3);
|
|
8150
8175
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 5, "Unidade"));
|
|
8151
8176
|
i0.ɵɵadvance(3);
|
|
8152
|
-
i0.ɵɵtextInterpolate(
|
|
8177
|
+
i0.ɵɵtextInterpolate(ctx_r6._session.Unidade);
|
|
8153
8178
|
i0.ɵɵadvance(5);
|
|
8154
8179
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 7, "Unidades"));
|
|
8155
8180
|
i0.ɵɵadvance(3);
|
|
8156
|
-
i0.ɵɵproperty("ngForOf",
|
|
8181
|
+
i0.ɵɵproperty("ngForOf", ctx_r6._session.Unidades);
|
|
8157
8182
|
}
|
|
8158
8183
|
}
|
|
8159
|
-
function
|
|
8184
|
+
function InfoTopbarComponent_ng_container_0_div_27_Template(rf, ctx) {
|
|
8160
8185
|
if (rf & 1) {
|
|
8161
|
-
const
|
|
8162
|
-
i0.ɵɵelementStart(0, "div", 26)(1, "button",
|
|
8163
|
-
i0.ɵɵlistener("click", function
|
|
8186
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
8187
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "button", 16);
|
|
8188
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_27_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r32); const ctx_r31 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r31.open("infoia")); });
|
|
8164
8189
|
i0.ɵɵpipe(2, "translate");
|
|
8165
8190
|
i0.ɵɵelementStart(3, "label");
|
|
8166
8191
|
i0.ɵɵtext(4);
|
|
@@ -8169,8 +8194,8 @@ function InfoTopbarComponent_ng_container_0_div_14_Template(rf, ctx) {
|
|
|
8169
8194
|
i0.ɵɵelementStart(6, "mat-icon");
|
|
8170
8195
|
i0.ɵɵtext(7, "diversity_2");
|
|
8171
8196
|
i0.ɵɵelementEnd()();
|
|
8172
|
-
i0.ɵɵelementStart(8, "div", 27)(9, "mat-icon",
|
|
8173
|
-
i0.ɵɵlistener("click", function
|
|
8197
|
+
i0.ɵɵelementStart(8, "div", 27)(9, "mat-icon", 11);
|
|
8198
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_27_Template_mat_icon_click_9_listener() { i0.ɵɵrestoreView(_r32); const ctx_r33 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r33.close()); });
|
|
8174
8199
|
i0.ɵɵtext(10, "close");
|
|
8175
8200
|
i0.ɵɵelementEnd();
|
|
8176
8201
|
i0.ɵɵelementStart(11, "h4");
|
|
@@ -8182,8 +8207,8 @@ function InfoTopbarComponent_ng_container_0_div_14_Template(rf, ctx) {
|
|
|
8182
8207
|
i0.ɵɵelementEnd()()();
|
|
8183
8208
|
}
|
|
8184
8209
|
if (rf & 2) {
|
|
8185
|
-
const
|
|
8186
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3,
|
|
8210
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
8211
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3, ctx_r7.topMenu.infoia));
|
|
8187
8212
|
i0.ɵɵadvance(1);
|
|
8188
8213
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 4, "Info IA"));
|
|
8189
8214
|
i0.ɵɵadvance(3);
|
|
@@ -8192,35 +8217,35 @@ function InfoTopbarComponent_ng_container_0_div_14_Template(rf, ctx) {
|
|
|
8192
8217
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 8, "InfoIA"));
|
|
8193
8218
|
}
|
|
8194
8219
|
}
|
|
8195
|
-
function
|
|
8220
|
+
function InfoTopbarComponent_ng_container_0_div_28_Template(rf, ctx) {
|
|
8196
8221
|
if (rf & 1) {
|
|
8197
|
-
const
|
|
8198
|
-
i0.ɵɵelementStart(0, "div",
|
|
8199
|
-
i0.ɵɵlistener("click", function
|
|
8222
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
8223
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "button", 16);
|
|
8224
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_28_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r34.openFastSearch()); });
|
|
8200
8225
|
i0.ɵɵpipe(2, "translate");
|
|
8201
8226
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8202
8227
|
i0.ɵɵtext(4, "search");
|
|
8203
8228
|
i0.ɵɵelementEnd()()();
|
|
8204
8229
|
}
|
|
8205
8230
|
if (rf & 2) {
|
|
8206
|
-
const
|
|
8231
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
8207
8232
|
i0.ɵɵadvance(1);
|
|
8208
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1,
|
|
8233
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1, ctx_r8.fastsearchtitle));
|
|
8209
8234
|
}
|
|
8210
8235
|
}
|
|
8211
|
-
function
|
|
8236
|
+
function InfoTopbarComponent_ng_container_0_div_29_span_5_Template(rf, ctx) {
|
|
8212
8237
|
if (rf & 1) {
|
|
8213
8238
|
i0.ɵɵelementStart(0, "span", 30);
|
|
8214
8239
|
i0.ɵɵtext(1);
|
|
8215
8240
|
i0.ɵɵelementEnd();
|
|
8216
8241
|
}
|
|
8217
8242
|
if (rf & 2) {
|
|
8218
|
-
const
|
|
8243
|
+
const ctx_r36 = i0.ɵɵnextContext(3);
|
|
8219
8244
|
i0.ɵɵadvance(1);
|
|
8220
|
-
i0.ɵɵtextInterpolate(
|
|
8245
|
+
i0.ɵɵtextInterpolate(ctx_r36.notifications.Count);
|
|
8221
8246
|
}
|
|
8222
8247
|
}
|
|
8223
|
-
function
|
|
8248
|
+
function InfoTopbarComponent_ng_container_0_div_29_li_13_Template(rf, ctx) {
|
|
8224
8249
|
if (rf & 1) {
|
|
8225
8250
|
i0.ɵɵelementStart(0, "li")(1, "a", 31)(2, "mat-icon");
|
|
8226
8251
|
i0.ɵɵtext(3, "notifications");
|
|
@@ -8235,11 +8260,11 @@ function InfoTopbarComponent_ng_container_0_div_16_li_13_Template(rf, ctx) {
|
|
|
8235
8260
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 1, "TNotificacoesNenhuma"));
|
|
8236
8261
|
}
|
|
8237
8262
|
}
|
|
8238
|
-
function
|
|
8263
|
+
function InfoTopbarComponent_ng_container_0_div_29_ng_container_14_li_1_Template(rf, ctx) {
|
|
8239
8264
|
if (rf & 1) {
|
|
8240
|
-
const
|
|
8265
|
+
const _r42 = i0.ɵɵgetCurrentView();
|
|
8241
8266
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8242
|
-
i0.ɵɵlistener("click", function
|
|
8267
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_29_ng_container_14_li_1_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r42); const item_r40 = restoredCtx.$implicit; const ctx_r41 = i0.ɵɵnextContext(4); ctx_r41.navigate(item_r40.Url); return i0.ɵɵresetView(ctx_r41.close()); });
|
|
8243
8268
|
i0.ɵɵelementStart(2, "dl")(3, "dt");
|
|
8244
8269
|
i0.ɵɵtext(4);
|
|
8245
8270
|
i0.ɵɵpipe(5, "translate");
|
|
@@ -8249,38 +8274,38 @@ function InfoTopbarComponent_ng_container_0_div_16_ng_container_14_li_1_Template
|
|
|
8249
8274
|
i0.ɵɵelementEnd()()();
|
|
8250
8275
|
}
|
|
8251
8276
|
if (rf & 2) {
|
|
8252
|
-
const
|
|
8277
|
+
const item_r40 = ctx.$implicit;
|
|
8253
8278
|
i0.ɵɵadvance(4);
|
|
8254
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(5, 3, "Dia"), " ",
|
|
8279
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(5, 3, "Dia"), " ", item_r40.Date, "");
|
|
8255
8280
|
i0.ɵɵadvance(2);
|
|
8256
|
-
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind1(7, 5,
|
|
8281
|
+
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind1(7, 5, item_r40.Description), i0.ɵɵsanitizeHtml);
|
|
8257
8282
|
}
|
|
8258
8283
|
}
|
|
8259
|
-
function
|
|
8284
|
+
function InfoTopbarComponent_ng_container_0_div_29_ng_container_14_Template(rf, ctx) {
|
|
8260
8285
|
if (rf & 1) {
|
|
8261
8286
|
i0.ɵɵelementContainerStart(0);
|
|
8262
|
-
i0.ɵɵtemplate(1,
|
|
8287
|
+
i0.ɵɵtemplate(1, InfoTopbarComponent_ng_container_0_div_29_ng_container_14_li_1_Template, 8, 7, "li", 13);
|
|
8263
8288
|
i0.ɵɵelementContainerEnd();
|
|
8264
8289
|
}
|
|
8265
8290
|
if (rf & 2) {
|
|
8266
|
-
const
|
|
8291
|
+
const ctx_r38 = i0.ɵɵnextContext(3);
|
|
8267
8292
|
i0.ɵɵadvance(1);
|
|
8268
|
-
i0.ɵɵproperty("ngForOf",
|
|
8293
|
+
i0.ɵɵproperty("ngForOf", ctx_r38.notifications.Itens);
|
|
8269
8294
|
}
|
|
8270
8295
|
}
|
|
8271
|
-
function
|
|
8296
|
+
function InfoTopbarComponent_ng_container_0_div_29_Template(rf, ctx) {
|
|
8272
8297
|
if (rf & 1) {
|
|
8273
|
-
const
|
|
8274
|
-
i0.ɵɵelementStart(0, "div", 28)(1, "button",
|
|
8275
|
-
i0.ɵɵlistener("click", function
|
|
8298
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
8299
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "button", 16);
|
|
8300
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_29_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r44); const ctx_r43 = i0.ɵɵnextContext(2); ctx_r43.setNotificationStatus(true, false, false); return i0.ɵɵresetView(ctx_r43.open("notificacao")); });
|
|
8276
8301
|
i0.ɵɵpipe(2, "translate");
|
|
8277
8302
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8278
8303
|
i0.ɵɵtext(4, "notifications_none");
|
|
8279
8304
|
i0.ɵɵelementEnd();
|
|
8280
|
-
i0.ɵɵtemplate(5,
|
|
8305
|
+
i0.ɵɵtemplate(5, InfoTopbarComponent_ng_container_0_div_29_span_5_Template, 2, 1, "span", 29);
|
|
8281
8306
|
i0.ɵɵelementEnd();
|
|
8282
|
-
i0.ɵɵelementStart(6, "div",
|
|
8283
|
-
i0.ɵɵlistener("click", function
|
|
8307
|
+
i0.ɵɵelementStart(6, "div", 10)(7, "mat-icon", 11);
|
|
8308
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_29_Template_mat_icon_click_7_listener() { i0.ɵɵrestoreView(_r44); const ctx_r45 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r45.close()); });
|
|
8284
8309
|
i0.ɵɵtext(8, "close");
|
|
8285
8310
|
i0.ɵɵelementEnd();
|
|
8286
8311
|
i0.ɵɵelementStart(9, "h4");
|
|
@@ -8288,51 +8313,51 @@ function InfoTopbarComponent_ng_container_0_div_16_Template(rf, ctx) {
|
|
|
8288
8313
|
i0.ɵɵpipe(11, "translate");
|
|
8289
8314
|
i0.ɵɵelementEnd();
|
|
8290
8315
|
i0.ɵɵelementStart(12, "ul");
|
|
8291
|
-
i0.ɵɵtemplate(13,
|
|
8292
|
-
i0.ɵɵtemplate(14,
|
|
8316
|
+
i0.ɵɵtemplate(13, InfoTopbarComponent_ng_container_0_div_29_li_13_Template, 8, 3, "li", 0);
|
|
8317
|
+
i0.ɵɵtemplate(14, InfoTopbarComponent_ng_container_0_div_29_ng_container_14_Template, 2, 1, "ng-container", 0);
|
|
8293
8318
|
i0.ɵɵelementEnd()()();
|
|
8294
8319
|
}
|
|
8295
8320
|
if (rf & 2) {
|
|
8296
|
-
const
|
|
8297
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3,
|
|
8321
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
8322
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3, ctx_r9.topMenu.notificacao));
|
|
8298
8323
|
i0.ɵɵadvance(1);
|
|
8299
8324
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 6, "Notificacoes"));
|
|
8300
8325
|
i0.ɵɵadvance(4);
|
|
8301
|
-
i0.ɵɵproperty("ngIf",
|
|
8326
|
+
i0.ɵɵproperty("ngIf", ctx_r9.notifications.Count > 0);
|
|
8302
8327
|
i0.ɵɵadvance(5);
|
|
8303
8328
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 8, "Notificacoes"));
|
|
8304
8329
|
i0.ɵɵadvance(3);
|
|
8305
|
-
i0.ɵɵproperty("ngIf",
|
|
8330
|
+
i0.ɵɵproperty("ngIf", ctx_r9.notifications.Itens.length == 0);
|
|
8306
8331
|
i0.ɵɵadvance(1);
|
|
8307
|
-
i0.ɵɵproperty("ngIf",
|
|
8332
|
+
i0.ɵɵproperty("ngIf", ctx_r9.notifications.Itens.length > 0);
|
|
8308
8333
|
}
|
|
8309
8334
|
}
|
|
8310
|
-
function
|
|
8335
|
+
function InfoTopbarComponent_ng_container_0_div_30_li_12_Template(rf, ctx) {
|
|
8311
8336
|
if (rf & 1) {
|
|
8312
|
-
const
|
|
8337
|
+
const _r49 = i0.ɵɵgetCurrentView();
|
|
8313
8338
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8314
|
-
i0.ɵɵlistener("click", function
|
|
8339
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_30_li_12_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r49); const theme_r47 = restoredCtx.$implicit; i0.ɵɵnextContext(2); const _r13 = i0.ɵɵreference(39); const ctx_r48 = i0.ɵɵnextContext(); ctx_r48.setTheme(theme_r47.name); return i0.ɵɵresetView(_r13.click()); });
|
|
8315
8340
|
i0.ɵɵtext(2);
|
|
8316
8341
|
i0.ɵɵpipe(3, "translate");
|
|
8317
8342
|
i0.ɵɵelementEnd()();
|
|
8318
8343
|
}
|
|
8319
8344
|
if (rf & 2) {
|
|
8320
|
-
const
|
|
8345
|
+
const theme_r47 = ctx.$implicit;
|
|
8321
8346
|
i0.ɵɵadvance(2);
|
|
8322
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1,
|
|
8347
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, theme_r47.description), "");
|
|
8323
8348
|
}
|
|
8324
8349
|
}
|
|
8325
|
-
function
|
|
8350
|
+
function InfoTopbarComponent_ng_container_0_div_30_Template(rf, ctx) {
|
|
8326
8351
|
if (rf & 1) {
|
|
8327
|
-
const
|
|
8328
|
-
i0.ɵɵelementStart(0, "div", 34)(1, "button",
|
|
8329
|
-
i0.ɵɵlistener("click", function
|
|
8352
|
+
const _r51 = i0.ɵɵgetCurrentView();
|
|
8353
|
+
i0.ɵɵelementStart(0, "div", 34)(1, "button", 16);
|
|
8354
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_30_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r51); const ctx_r50 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r50.open("tema")); });
|
|
8330
8355
|
i0.ɵɵpipe(2, "translate");
|
|
8331
8356
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8332
8357
|
i0.ɵɵtext(4, "invert_colors");
|
|
8333
8358
|
i0.ɵɵelementEnd()();
|
|
8334
|
-
i0.ɵɵelementStart(5, "div",
|
|
8335
|
-
i0.ɵɵlistener("click", function
|
|
8359
|
+
i0.ɵɵelementStart(5, "div", 10)(6, "mat-icon", 11);
|
|
8360
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_30_Template_mat_icon_click_6_listener() { i0.ɵɵrestoreView(_r51); const ctx_r52 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r52.close()); });
|
|
8336
8361
|
i0.ɵɵtext(7, "close");
|
|
8337
8362
|
i0.ɵɵelementEnd();
|
|
8338
8363
|
i0.ɵɵelementStart(8, "h4");
|
|
@@ -8340,62 +8365,62 @@ function InfoTopbarComponent_ng_container_0_div_17_Template(rf, ctx) {
|
|
|
8340
8365
|
i0.ɵɵpipe(10, "translate");
|
|
8341
8366
|
i0.ɵɵelementEnd();
|
|
8342
8367
|
i0.ɵɵelementStart(11, "ul", 35);
|
|
8343
|
-
i0.ɵɵtemplate(12,
|
|
8368
|
+
i0.ɵɵtemplate(12, InfoTopbarComponent_ng_container_0_div_30_li_12_Template, 4, 3, "li", 13);
|
|
8344
8369
|
i0.ɵɵelementEnd()()();
|
|
8345
8370
|
}
|
|
8346
8371
|
if (rf & 2) {
|
|
8347
|
-
const
|
|
8348
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3,
|
|
8372
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
8373
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3, ctx_r10.topMenu.tema));
|
|
8349
8374
|
i0.ɵɵadvance(1);
|
|
8350
8375
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 4, "Tema"));
|
|
8351
8376
|
i0.ɵɵadvance(8);
|
|
8352
8377
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 6, "Temas"));
|
|
8353
8378
|
i0.ɵɵadvance(3);
|
|
8354
|
-
i0.ɵɵproperty("ngForOf",
|
|
8379
|
+
i0.ɵɵproperty("ngForOf", ctx_r10.themes);
|
|
8355
8380
|
}
|
|
8356
8381
|
}
|
|
8357
|
-
function
|
|
8382
|
+
function InfoTopbarComponent_ng_container_0_div_31_Template(rf, ctx) {
|
|
8358
8383
|
if (rf & 1) {
|
|
8359
|
-
const
|
|
8360
|
-
i0.ɵɵelementStart(0, "div",
|
|
8361
|
-
i0.ɵɵlistener("click", function
|
|
8384
|
+
const _r54 = i0.ɵɵgetCurrentView();
|
|
8385
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "button", 16);
|
|
8386
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_31_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r53.toggleMode()); });
|
|
8362
8387
|
i0.ɵɵpipe(2, "translate");
|
|
8363
8388
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8364
8389
|
i0.ɵɵtext(4, "brightness_6");
|
|
8365
8390
|
i0.ɵɵelementEnd()()();
|
|
8366
8391
|
}
|
|
8367
8392
|
if (rf & 2) {
|
|
8368
|
-
const
|
|
8393
|
+
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
8369
8394
|
i0.ɵɵadvance(1);
|
|
8370
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1,
|
|
8395
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1, ctx_r11._platform.ModoPrime ? "ModoPadrao" : "Prime"));
|
|
8371
8396
|
}
|
|
8372
8397
|
}
|
|
8373
|
-
function
|
|
8398
|
+
function InfoTopbarComponent_ng_container_0_div_32_li_12_Template(rf, ctx) {
|
|
8374
8399
|
if (rf & 1) {
|
|
8375
|
-
const
|
|
8400
|
+
const _r58 = i0.ɵɵgetCurrentView();
|
|
8376
8401
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8377
|
-
i0.ɵɵlistener("click", function
|
|
8402
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_32_li_12_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r58); const lang_r56 = restoredCtx.$implicit; i0.ɵɵnextContext(2); const _r13 = i0.ɵɵreference(39); const ctx_r57 = i0.ɵɵnextContext(); ctx_r57.setLanguage(lang_r56.lang); return i0.ɵɵresetView(_r13.click()); });
|
|
8378
8403
|
i0.ɵɵtext(2);
|
|
8379
8404
|
i0.ɵɵpipe(3, "translate");
|
|
8380
8405
|
i0.ɵɵelementEnd()();
|
|
8381
8406
|
}
|
|
8382
8407
|
if (rf & 2) {
|
|
8383
|
-
const
|
|
8408
|
+
const lang_r56 = ctx.$implicit;
|
|
8384
8409
|
i0.ɵɵadvance(2);
|
|
8385
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1,
|
|
8410
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, lang_r56.name));
|
|
8386
8411
|
}
|
|
8387
8412
|
}
|
|
8388
|
-
function
|
|
8413
|
+
function InfoTopbarComponent_ng_container_0_div_32_Template(rf, ctx) {
|
|
8389
8414
|
if (rf & 1) {
|
|
8390
|
-
const
|
|
8391
|
-
i0.ɵɵelementStart(0, "div", 36)(1, "button",
|
|
8392
|
-
i0.ɵɵlistener("click", function
|
|
8415
|
+
const _r60 = i0.ɵɵgetCurrentView();
|
|
8416
|
+
i0.ɵɵelementStart(0, "div", 36)(1, "button", 16);
|
|
8417
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_32_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r60); const ctx_r59 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r59.open("idioma")); });
|
|
8393
8418
|
i0.ɵɵpipe(2, "translate");
|
|
8394
8419
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8395
8420
|
i0.ɵɵtext(4, "public");
|
|
8396
8421
|
i0.ɵɵelementEnd()();
|
|
8397
|
-
i0.ɵɵelementStart(5, "div",
|
|
8398
|
-
i0.ɵɵlistener("click", function
|
|
8422
|
+
i0.ɵɵelementStart(5, "div", 10)(6, "mat-icon", 11);
|
|
8423
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_div_32_Template_mat_icon_click_6_listener() { i0.ɵɵrestoreView(_r60); const ctx_r61 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r61.close()); });
|
|
8399
8424
|
i0.ɵɵtext(7, "close");
|
|
8400
8425
|
i0.ɵɵelementEnd();
|
|
8401
8426
|
i0.ɵɵelementStart(8, "h4");
|
|
@@ -8403,57 +8428,74 @@ function InfoTopbarComponent_ng_container_0_div_19_Template(rf, ctx) {
|
|
|
8403
8428
|
i0.ɵɵpipe(10, "translate");
|
|
8404
8429
|
i0.ɵɵelementEnd();
|
|
8405
8430
|
i0.ɵɵelementStart(11, "ul", 37);
|
|
8406
|
-
i0.ɵɵtemplate(12,
|
|
8431
|
+
i0.ɵɵtemplate(12, InfoTopbarComponent_ng_container_0_div_32_li_12_Template, 4, 3, "li", 13);
|
|
8407
8432
|
i0.ɵɵelementEnd()()();
|
|
8408
8433
|
}
|
|
8409
8434
|
if (rf & 2) {
|
|
8410
|
-
const
|
|
8411
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3,
|
|
8435
|
+
const ctx_r12 = i0.ɵɵnextContext(2);
|
|
8436
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3, ctx_r12.topMenu.idioma));
|
|
8412
8437
|
i0.ɵɵadvance(1);
|
|
8413
8438
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 4, "Idioma"));
|
|
8414
8439
|
i0.ɵɵadvance(8);
|
|
8415
8440
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 6, "Idiomas"));
|
|
8416
8441
|
i0.ɵɵadvance(3);
|
|
8417
|
-
i0.ɵɵproperty("ngForOf",
|
|
8442
|
+
i0.ɵɵproperty("ngForOf", ctx_r12.languages);
|
|
8418
8443
|
}
|
|
8419
8444
|
}
|
|
8420
8445
|
const _c1$2 = function () { return []; };
|
|
8421
8446
|
const _c2$2 = function (a0) { return { "open": a0 }; };
|
|
8422
8447
|
function InfoTopbarComponent_ng_container_0_Template(rf, ctx) {
|
|
8423
8448
|
if (rf & 1) {
|
|
8424
|
-
const
|
|
8449
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
8425
8450
|
i0.ɵɵelementContainerStart(0);
|
|
8426
8451
|
i0.ɵɵelementStart(1, "div", 3)(2, "a", 4);
|
|
8427
8452
|
i0.ɵɵelement(3, "i", 5)(4, "i", 6);
|
|
8428
8453
|
i0.ɵɵelementEnd();
|
|
8429
8454
|
i0.ɵɵelementStart(5, "div", 7)(6, "div", 8)(7, "dl", 9);
|
|
8430
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_dl_click_7_listener() { i0.ɵɵrestoreView(
|
|
8455
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_dl_click_7_listener() { i0.ɵɵrestoreView(_r63); const ctx_r62 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r62.open("cliente")); });
|
|
8431
8456
|
i0.ɵɵelementStart(8, "dt");
|
|
8432
8457
|
i0.ɵɵtext(9);
|
|
8433
8458
|
i0.ɵɵelementEnd();
|
|
8434
8459
|
i0.ɵɵelementStart(10, "dd");
|
|
8435
8460
|
i0.ɵɵtext(11);
|
|
8461
|
+
i0.ɵɵelementEnd()();
|
|
8462
|
+
i0.ɵɵelementStart(12, "div", 10)(13, "mat-icon", 11);
|
|
8463
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_mat_icon_click_13_listener() { i0.ɵɵrestoreView(_r63); const ctx_r64 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r64.close()); });
|
|
8464
|
+
i0.ɵɵtext(14, "close");
|
|
8465
|
+
i0.ɵɵelementEnd();
|
|
8466
|
+
i0.ɵɵelementStart(15, "h4");
|
|
8467
|
+
i0.ɵɵtext(16);
|
|
8468
|
+
i0.ɵɵpipe(17, "translate");
|
|
8469
|
+
i0.ɵɵelementEnd();
|
|
8470
|
+
i0.ɵɵelementStart(18, "ul", 12);
|
|
8471
|
+
i0.ɵɵtemplate(19, InfoTopbarComponent_ng_container_0_li_19_Template, 3, 1, "li", 13);
|
|
8472
|
+
i0.ɵɵelementEnd()()();
|
|
8473
|
+
i0.ɵɵtemplate(20, InfoTopbarComponent_ng_container_0_div_20_Template, 15, 11, "div", 14);
|
|
8474
|
+
i0.ɵɵtemplate(21, InfoTopbarComponent_ng_container_0_div_21_Template, 15, 11, "div", 14);
|
|
8475
|
+
i0.ɵɵelementStart(22, "div", 15)(23, "button", 16);
|
|
8476
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_button_click_23_listener() { i0.ɵɵrestoreView(_r63); const ctx_r65 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r65.navigate(ctx_r65.profileurl)); });
|
|
8477
|
+
i0.ɵɵpipe(24, "translate");
|
|
8478
|
+
i0.ɵɵelementStart(25, "mat-icon");
|
|
8479
|
+
i0.ɵɵtext(26, "person");
|
|
8436
8480
|
i0.ɵɵelementEnd()()();
|
|
8437
|
-
i0.ɵɵtemplate(
|
|
8438
|
-
i0.ɵɵtemplate(
|
|
8439
|
-
i0.ɵɵtemplate(
|
|
8440
|
-
i0.ɵɵtemplate(
|
|
8441
|
-
i0.ɵɵtemplate(
|
|
8442
|
-
i0.ɵɵtemplate(
|
|
8443
|
-
i0.ɵɵ
|
|
8444
|
-
i0.ɵɵ
|
|
8445
|
-
i0.ɵɵ
|
|
8446
|
-
i0.ɵɵ
|
|
8447
|
-
i0.ɵɵ
|
|
8448
|
-
i0.ɵɵelementStart(23, "mat-icon");
|
|
8449
|
-
i0.ɵɵtext(24, "power_settings_new");
|
|
8481
|
+
i0.ɵɵtemplate(27, InfoTopbarComponent_ng_container_0_div_27_Template, 16, 12, "div", 17);
|
|
8482
|
+
i0.ɵɵtemplate(28, InfoTopbarComponent_ng_container_0_div_28_Template, 5, 3, "div", 18);
|
|
8483
|
+
i0.ɵɵtemplate(29, InfoTopbarComponent_ng_container_0_div_29_Template, 15, 12, "div", 19);
|
|
8484
|
+
i0.ɵɵtemplate(30, InfoTopbarComponent_ng_container_0_div_30_Template, 13, 10, "div", 20);
|
|
8485
|
+
i0.ɵɵtemplate(31, InfoTopbarComponent_ng_container_0_div_31_Template, 5, 3, "div", 18);
|
|
8486
|
+
i0.ɵɵtemplate(32, InfoTopbarComponent_ng_container_0_div_32_Template, 13, 10, "div", 21);
|
|
8487
|
+
i0.ɵɵelementStart(33, "div", 15)(34, "button", 16);
|
|
8488
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_button_click_34_listener() { i0.ɵɵrestoreView(_r63); const ctx_r66 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r66.logout()); });
|
|
8489
|
+
i0.ɵɵpipe(35, "translate");
|
|
8490
|
+
i0.ɵɵelementStart(36, "mat-icon");
|
|
8491
|
+
i0.ɵɵtext(37, "power_settings_new");
|
|
8450
8492
|
i0.ɵɵelementEnd()()();
|
|
8451
|
-
i0.ɵɵelementStart(
|
|
8452
|
-
i0.ɵɵlistener("click", function
|
|
8493
|
+
i0.ɵɵelementStart(38, "div", 22, 23);
|
|
8494
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_div_click_38_listener() { i0.ɵɵrestoreView(_r63); const ctx_r67 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r67.close()); });
|
|
8453
8495
|
i0.ɵɵelementEnd()();
|
|
8454
|
-
i0.ɵɵelementStart(
|
|
8455
|
-
i0.ɵɵlistener("click", function
|
|
8456
|
-
i0.ɵɵelement(
|
|
8496
|
+
i0.ɵɵelementStart(40, "div", 24);
|
|
8497
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_0_Template_div_click_40_listener() { i0.ɵɵrestoreView(_r63); const ctx_r68 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r68.openSidebar()); });
|
|
8498
|
+
i0.ɵɵelement(41, "span")(42, "span")(43, "span")(44, "span")(45, "span")(46, "span");
|
|
8457
8499
|
i0.ɵɵelementEnd()();
|
|
8458
8500
|
i0.ɵɵelementContainerEnd();
|
|
8459
8501
|
}
|
|
@@ -8461,15 +8503,22 @@ function InfoTopbarComponent_ng_container_0_Template(rf, ctx) {
|
|
|
8461
8503
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
8462
8504
|
i0.ɵɵadvance(6);
|
|
8463
8505
|
i0.ɵɵclassProp("separador", ctx_r0._session.Empresas.length > 1 || ctx_r0._session.Unidades);
|
|
8506
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(24, _c0$3, ctx_r0.topMenu.cliente));
|
|
8464
8507
|
i0.ɵɵadvance(3);
|
|
8465
8508
|
i0.ɵɵtextInterpolate(ctx_r0._session.Perfil);
|
|
8466
8509
|
i0.ɵɵadvance(2);
|
|
8467
8510
|
i0.ɵɵtextInterpolate(ctx_r0._session.Usuario);
|
|
8511
|
+
i0.ɵɵadvance(5);
|
|
8512
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 18, "Clientes"));
|
|
8513
|
+
i0.ɵɵadvance(3);
|
|
8514
|
+
i0.ɵɵproperty("ngForOf", ctx_r0._session.Clientes);
|
|
8468
8515
|
i0.ɵɵadvance(1);
|
|
8469
8516
|
i0.ɵɵproperty("ngIf", ctx_r0._session.Empresas.length > 1);
|
|
8470
8517
|
i0.ɵɵadvance(1);
|
|
8471
|
-
i0.ɵɵproperty("ngIf", ctx_r0._session.Unidade && (ctx_r0._session.Unidades || i0.ɵɵpureFunction0(
|
|
8472
|
-
i0.ɵɵadvance(
|
|
8518
|
+
i0.ɵɵproperty("ngIf", ctx_r0._session.Unidade && (ctx_r0._session.Unidades || i0.ɵɵpureFunction0(26, _c1$2)).length > 1);
|
|
8519
|
+
i0.ɵɵadvance(2);
|
|
8520
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(24, 20, "MeuPerfil"));
|
|
8521
|
+
i0.ɵɵadvance(4);
|
|
8473
8522
|
i0.ɵɵproperty("ngIf", ctx_r0.enabledia);
|
|
8474
8523
|
i0.ɵɵadvance(1);
|
|
8475
8524
|
i0.ɵɵproperty("ngIf", ctx_r0.fastsearchform);
|
|
@@ -8482,9 +8531,9 @@ function InfoTopbarComponent_ng_container_0_Template(rf, ctx) {
|
|
|
8482
8531
|
i0.ɵɵadvance(1);
|
|
8483
8532
|
i0.ɵɵproperty("ngIf", ctx_r0.languages.length > 0);
|
|
8484
8533
|
i0.ɵɵadvance(2);
|
|
8485
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(
|
|
8534
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(35, 22, "Sair"));
|
|
8486
8535
|
i0.ɵɵadvance(6);
|
|
8487
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
8536
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(27, _c2$2, ctx_r0.opened));
|
|
8488
8537
|
}
|
|
8489
8538
|
}
|
|
8490
8539
|
function InfoTopbarComponent_ng_container_1_div_2_Template(rf, ctx) {
|
|
@@ -8509,25 +8558,25 @@ function InfoTopbarComponent_ng_container_1_h1_10_Template(rf, ctx) {
|
|
|
8509
8558
|
i0.ɵɵelementEnd();
|
|
8510
8559
|
}
|
|
8511
8560
|
if (rf & 2) {
|
|
8512
|
-
const
|
|
8561
|
+
const ctx_r70 = i0.ɵɵnextContext(2);
|
|
8513
8562
|
i0.ɵɵadvance(2);
|
|
8514
|
-
i0.ɵɵtextInterpolate(
|
|
8563
|
+
i0.ɵɵtextInterpolate(ctx_r70._platform.PaginaAtiva.Icone);
|
|
8515
8564
|
i0.ɵɵadvance(1);
|
|
8516
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 2,
|
|
8565
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 2, ctx_r70._platform.PaginaAtiva.Titulo), " ");
|
|
8517
8566
|
}
|
|
8518
8567
|
}
|
|
8519
8568
|
function InfoTopbarComponent_ng_container_1_li_27_Template(rf, ctx) {
|
|
8520
8569
|
if (rf & 1) {
|
|
8521
|
-
const
|
|
8570
|
+
const _r80 = i0.ɵɵgetCurrentView();
|
|
8522
8571
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8523
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_li_27_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
8572
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_li_27_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r80); const company_r78 = restoredCtx.$implicit; i0.ɵɵnextContext(); const _r77 = i0.ɵɵreference(39); const ctx_r79 = i0.ɵɵnextContext(); ctx_r79.setCompany(company_r78); return i0.ɵɵresetView(_r77.click()); });
|
|
8524
8573
|
i0.ɵɵtext(2);
|
|
8525
8574
|
i0.ɵɵelementEnd()();
|
|
8526
8575
|
}
|
|
8527
8576
|
if (rf & 2) {
|
|
8528
|
-
const
|
|
8577
|
+
const company_r78 = ctx.$implicit;
|
|
8529
8578
|
i0.ɵɵadvance(2);
|
|
8530
|
-
i0.ɵɵtextInterpolate(
|
|
8579
|
+
i0.ɵɵtextInterpolate(company_r78.Nome);
|
|
8531
8580
|
}
|
|
8532
8581
|
}
|
|
8533
8582
|
function InfoTopbarComponent_ng_container_1_div_28_span_5_Template(rf, ctx) {
|
|
@@ -8537,9 +8586,9 @@ function InfoTopbarComponent_ng_container_1_div_28_span_5_Template(rf, ctx) {
|
|
|
8537
8586
|
i0.ɵɵelementEnd();
|
|
8538
8587
|
}
|
|
8539
8588
|
if (rf & 2) {
|
|
8540
|
-
const
|
|
8589
|
+
const ctx_r81 = i0.ɵɵnextContext(3);
|
|
8541
8590
|
i0.ɵɵadvance(1);
|
|
8542
|
-
i0.ɵɵtextInterpolate(
|
|
8591
|
+
i0.ɵɵtextInterpolate(ctx_r81.notifications.Count);
|
|
8543
8592
|
}
|
|
8544
8593
|
}
|
|
8545
8594
|
function InfoTopbarComponent_ng_container_1_div_28_li_11_Template(rf, ctx) {
|
|
@@ -8559,9 +8608,9 @@ function InfoTopbarComponent_ng_container_1_div_28_li_11_Template(rf, ctx) {
|
|
|
8559
8608
|
}
|
|
8560
8609
|
function InfoTopbarComponent_ng_container_1_div_28_ng_container_12_li_1_Template(rf, ctx) {
|
|
8561
8610
|
if (rf & 1) {
|
|
8562
|
-
const
|
|
8611
|
+
const _r87 = i0.ɵɵgetCurrentView();
|
|
8563
8612
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8564
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_28_ng_container_12_li_1_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
8613
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_28_ng_container_12_li_1_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r87); const item_r85 = restoredCtx.$implicit; const ctx_r86 = i0.ɵɵnextContext(4); ctx_r86.navigate(item_r85.Url); return i0.ɵɵresetView(ctx_r86.close()); });
|
|
8565
8614
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
8566
8615
|
i0.ɵɵtext(3);
|
|
8567
8616
|
i0.ɵɵelementEnd();
|
|
@@ -8573,32 +8622,32 @@ function InfoTopbarComponent_ng_container_1_div_28_ng_container_12_li_1_Template
|
|
|
8573
8622
|
i0.ɵɵelementEnd()()()();
|
|
8574
8623
|
}
|
|
8575
8624
|
if (rf & 2) {
|
|
8576
|
-
const
|
|
8625
|
+
const item_r85 = ctx.$implicit;
|
|
8577
8626
|
i0.ɵɵadvance(3);
|
|
8578
|
-
i0.ɵɵtextInterpolate(
|
|
8627
|
+
i0.ɵɵtextInterpolate(item_r85.Icon);
|
|
8579
8628
|
i0.ɵɵadvance(2);
|
|
8580
|
-
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind1(6, 3,
|
|
8629
|
+
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind1(6, 3, item_r85.Description), i0.ɵɵsanitizeHtml);
|
|
8581
8630
|
i0.ɵɵadvance(3);
|
|
8582
|
-
i0.ɵɵtextInterpolate(
|
|
8631
|
+
i0.ɵɵtextInterpolate(item_r85.Date);
|
|
8583
8632
|
}
|
|
8584
8633
|
}
|
|
8585
8634
|
function InfoTopbarComponent_ng_container_1_div_28_ng_container_12_Template(rf, ctx) {
|
|
8586
8635
|
if (rf & 1) {
|
|
8587
8636
|
i0.ɵɵelementContainerStart(0);
|
|
8588
|
-
i0.ɵɵtemplate(1, InfoTopbarComponent_ng_container_1_div_28_ng_container_12_li_1_Template, 9, 5, "li",
|
|
8637
|
+
i0.ɵɵtemplate(1, InfoTopbarComponent_ng_container_1_div_28_ng_container_12_li_1_Template, 9, 5, "li", 13);
|
|
8589
8638
|
i0.ɵɵelementContainerEnd();
|
|
8590
8639
|
}
|
|
8591
8640
|
if (rf & 2) {
|
|
8592
|
-
const
|
|
8641
|
+
const ctx_r83 = i0.ɵɵnextContext(3);
|
|
8593
8642
|
i0.ɵɵadvance(1);
|
|
8594
|
-
i0.ɵɵproperty("ngForOf",
|
|
8643
|
+
i0.ɵɵproperty("ngForOf", ctx_r83.notifications.Itens);
|
|
8595
8644
|
}
|
|
8596
8645
|
}
|
|
8597
8646
|
function InfoTopbarComponent_ng_container_1_div_28_Template(rf, ctx) {
|
|
8598
8647
|
if (rf & 1) {
|
|
8599
|
-
const
|
|
8600
|
-
i0.ɵɵelementStart(0, "div", 28)(1, "button",
|
|
8601
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_28_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
8648
|
+
const _r89 = i0.ɵɵgetCurrentView();
|
|
8649
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "button", 16);
|
|
8650
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_28_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r89); const ctx_r88 = i0.ɵɵnextContext(2); ctx_r88.setNotificationStatus(true, false, false); return i0.ɵɵresetView(ctx_r88.open("notificacao")); });
|
|
8602
8651
|
i0.ɵɵpipe(2, "translate");
|
|
8603
8652
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8604
8653
|
i0.ɵɵtext(4, "notifications_none");
|
|
@@ -8615,40 +8664,40 @@ function InfoTopbarComponent_ng_container_1_div_28_Template(rf, ctx) {
|
|
|
8615
8664
|
i0.ɵɵelementEnd()()();
|
|
8616
8665
|
}
|
|
8617
8666
|
if (rf & 2) {
|
|
8618
|
-
const
|
|
8619
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3,
|
|
8667
|
+
const ctx_r72 = i0.ɵɵnextContext(2);
|
|
8668
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3, ctx_r72.topMenu.notificacao));
|
|
8620
8669
|
i0.ɵɵadvance(1);
|
|
8621
8670
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 6, "Notificacoes"));
|
|
8622
8671
|
i0.ɵɵadvance(4);
|
|
8623
|
-
i0.ɵɵproperty("ngIf",
|
|
8672
|
+
i0.ɵɵproperty("ngIf", ctx_r72.notifications.Count > 0);
|
|
8624
8673
|
i0.ɵɵadvance(3);
|
|
8625
8674
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 8, "Notificacoes"));
|
|
8626
8675
|
i0.ɵɵadvance(3);
|
|
8627
|
-
i0.ɵɵproperty("ngIf",
|
|
8676
|
+
i0.ɵɵproperty("ngIf", ctx_r72.notifications.Itens.length == 0);
|
|
8628
8677
|
i0.ɵɵadvance(1);
|
|
8629
|
-
i0.ɵɵproperty("ngIf",
|
|
8678
|
+
i0.ɵɵproperty("ngIf", ctx_r72.notifications.Itens.length > 0);
|
|
8630
8679
|
}
|
|
8631
8680
|
}
|
|
8632
8681
|
function InfoTopbarComponent_ng_container_1_div_29_li_10_Template(rf, ctx) {
|
|
8633
8682
|
if (rf & 1) {
|
|
8634
|
-
const
|
|
8683
|
+
const _r93 = i0.ɵɵgetCurrentView();
|
|
8635
8684
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8636
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_29_li_10_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
8685
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_29_li_10_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r93); const lang_r91 = restoredCtx.$implicit; i0.ɵɵnextContext(2); const _r77 = i0.ɵɵreference(39); const ctx_r92 = i0.ɵɵnextContext(); ctx_r92.setLanguage(lang_r91.lang); return i0.ɵɵresetView(_r77.click()); });
|
|
8637
8686
|
i0.ɵɵtext(2);
|
|
8638
8687
|
i0.ɵɵpipe(3, "translate");
|
|
8639
8688
|
i0.ɵɵelementEnd()();
|
|
8640
8689
|
}
|
|
8641
8690
|
if (rf & 2) {
|
|
8642
|
-
const
|
|
8691
|
+
const lang_r91 = ctx.$implicit;
|
|
8643
8692
|
i0.ɵɵadvance(2);
|
|
8644
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1,
|
|
8693
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, lang_r91.name));
|
|
8645
8694
|
}
|
|
8646
8695
|
}
|
|
8647
8696
|
function InfoTopbarComponent_ng_container_1_div_29_Template(rf, ctx) {
|
|
8648
8697
|
if (rf & 1) {
|
|
8649
|
-
const
|
|
8650
|
-
i0.ɵɵelementStart(0, "div", 28)(1, "button",
|
|
8651
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_29_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
8698
|
+
const _r95 = i0.ɵɵgetCurrentView();
|
|
8699
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "button", 16);
|
|
8700
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_29_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r95); const ctx_r94 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r94.open("idioma")); });
|
|
8652
8701
|
i0.ɵɵpipe(2, "translate");
|
|
8653
8702
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8654
8703
|
i0.ɵɵtext(4, "public");
|
|
@@ -8658,40 +8707,40 @@ function InfoTopbarComponent_ng_container_1_div_29_Template(rf, ctx) {
|
|
|
8658
8707
|
i0.ɵɵpipe(8, "translate");
|
|
8659
8708
|
i0.ɵɵelementEnd();
|
|
8660
8709
|
i0.ɵɵelementStart(9, "ul", 50);
|
|
8661
|
-
i0.ɵɵtemplate(10, InfoTopbarComponent_ng_container_1_div_29_li_10_Template, 4, 3, "li",
|
|
8710
|
+
i0.ɵɵtemplate(10, InfoTopbarComponent_ng_container_1_div_29_li_10_Template, 4, 3, "li", 13);
|
|
8662
8711
|
i0.ɵɵelementEnd()()();
|
|
8663
8712
|
}
|
|
8664
8713
|
if (rf & 2) {
|
|
8665
|
-
const
|
|
8666
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3,
|
|
8714
|
+
const ctx_r73 = i0.ɵɵnextContext(2);
|
|
8715
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3, ctx_r73.topMenu.idioma));
|
|
8667
8716
|
i0.ɵɵadvance(1);
|
|
8668
8717
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 4, "Idioma"));
|
|
8669
8718
|
i0.ɵɵadvance(6);
|
|
8670
8719
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 6, "Idioma"));
|
|
8671
8720
|
i0.ɵɵadvance(3);
|
|
8672
|
-
i0.ɵɵproperty("ngForOf",
|
|
8721
|
+
i0.ɵɵproperty("ngForOf", ctx_r73.languages);
|
|
8673
8722
|
}
|
|
8674
8723
|
}
|
|
8675
8724
|
function InfoTopbarComponent_ng_container_1_div_30_li_10_Template(rf, ctx) {
|
|
8676
8725
|
if (rf & 1) {
|
|
8677
|
-
const
|
|
8726
|
+
const _r99 = i0.ɵɵgetCurrentView();
|
|
8678
8727
|
i0.ɵɵelementStart(0, "li")(1, "a", 9);
|
|
8679
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_30_li_10_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
8728
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_30_li_10_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r99); const theme_r97 = restoredCtx.$implicit; i0.ɵɵnextContext(2); const _r77 = i0.ɵɵreference(39); const ctx_r98 = i0.ɵɵnextContext(); ctx_r98.setTheme(theme_r97.name); return i0.ɵɵresetView(_r77.click()); });
|
|
8680
8729
|
i0.ɵɵtext(2);
|
|
8681
8730
|
i0.ɵɵpipe(3, "translate");
|
|
8682
8731
|
i0.ɵɵelementEnd()();
|
|
8683
8732
|
}
|
|
8684
8733
|
if (rf & 2) {
|
|
8685
|
-
const
|
|
8734
|
+
const theme_r97 = ctx.$implicit;
|
|
8686
8735
|
i0.ɵɵadvance(2);
|
|
8687
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1,
|
|
8736
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, theme_r97.description), "");
|
|
8688
8737
|
}
|
|
8689
8738
|
}
|
|
8690
8739
|
function InfoTopbarComponent_ng_container_1_div_30_Template(rf, ctx) {
|
|
8691
8740
|
if (rf & 1) {
|
|
8692
|
-
const
|
|
8693
|
-
i0.ɵɵelementStart(0, "div", 28)(1, "button",
|
|
8694
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_30_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
8741
|
+
const _r101 = i0.ɵɵgetCurrentView();
|
|
8742
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "button", 16);
|
|
8743
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_30_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r101); const ctx_r100 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r100.open("tema")); });
|
|
8695
8744
|
i0.ɵɵpipe(2, "translate");
|
|
8696
8745
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8697
8746
|
i0.ɵɵtext(4, "invert_colors");
|
|
@@ -8701,63 +8750,63 @@ function InfoTopbarComponent_ng_container_1_div_30_Template(rf, ctx) {
|
|
|
8701
8750
|
i0.ɵɵpipe(8, "translate");
|
|
8702
8751
|
i0.ɵɵelementEnd();
|
|
8703
8752
|
i0.ɵɵelementStart(9, "ul", 51);
|
|
8704
|
-
i0.ɵɵtemplate(10, InfoTopbarComponent_ng_container_1_div_30_li_10_Template, 4, 3, "li",
|
|
8753
|
+
i0.ɵɵtemplate(10, InfoTopbarComponent_ng_container_1_div_30_li_10_Template, 4, 3, "li", 13);
|
|
8705
8754
|
i0.ɵɵelementEnd()()();
|
|
8706
8755
|
}
|
|
8707
8756
|
if (rf & 2) {
|
|
8708
|
-
const
|
|
8709
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3,
|
|
8757
|
+
const ctx_r74 = i0.ɵɵnextContext(2);
|
|
8758
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$3, ctx_r74.topMenu.tema));
|
|
8710
8759
|
i0.ɵɵadvance(1);
|
|
8711
8760
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 4, "Tema"));
|
|
8712
8761
|
i0.ɵɵadvance(6);
|
|
8713
8762
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 6, "Temas"));
|
|
8714
8763
|
i0.ɵɵadvance(3);
|
|
8715
|
-
i0.ɵɵproperty("ngForOf",
|
|
8764
|
+
i0.ɵɵproperty("ngForOf", ctx_r74.themes);
|
|
8716
8765
|
}
|
|
8717
8766
|
}
|
|
8718
8767
|
function InfoTopbarComponent_ng_container_1_div_31_Template(rf, ctx) {
|
|
8719
8768
|
if (rf & 1) {
|
|
8720
|
-
const
|
|
8721
|
-
i0.ɵɵelementStart(0, "div",
|
|
8722
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_31_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
8769
|
+
const _r103 = i0.ɵɵgetCurrentView();
|
|
8770
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "button", 16);
|
|
8771
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_div_31_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r103); const ctx_r102 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r102.openFastSearch()); });
|
|
8723
8772
|
i0.ɵɵpipe(2, "translate");
|
|
8724
8773
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8725
8774
|
i0.ɵɵtext(4, "search");
|
|
8726
8775
|
i0.ɵɵelementEnd()()();
|
|
8727
8776
|
}
|
|
8728
8777
|
if (rf & 2) {
|
|
8729
|
-
const
|
|
8778
|
+
const ctx_r75 = i0.ɵɵnextContext(2);
|
|
8730
8779
|
i0.ɵɵadvance(1);
|
|
8731
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1,
|
|
8780
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 1, ctx_r75.fastsearchtitle));
|
|
8732
8781
|
}
|
|
8733
8782
|
}
|
|
8734
8783
|
function InfoTopbarComponent_ng_container_1_div_32_Template(rf, ctx) {
|
|
8735
8784
|
if (rf & 1) {
|
|
8736
|
-
i0.ɵɵelementStart(0, "div",
|
|
8785
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "button", 52);
|
|
8737
8786
|
i0.ɵɵpipe(2, "translate");
|
|
8738
8787
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
8739
8788
|
i0.ɵɵtext(4, "person");
|
|
8740
8789
|
i0.ɵɵelementEnd()()();
|
|
8741
8790
|
}
|
|
8742
8791
|
if (rf & 2) {
|
|
8743
|
-
const
|
|
8792
|
+
const ctx_r76 = i0.ɵɵnextContext(2);
|
|
8744
8793
|
i0.ɵɵadvance(1);
|
|
8745
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 2, "MeuPerfil"))("routerLink",
|
|
8794
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 2, "MeuPerfil"))("routerLink", ctx_r76.profileurl);
|
|
8746
8795
|
}
|
|
8747
8796
|
}
|
|
8748
8797
|
function InfoTopbarComponent_ng_container_1_Template(rf, ctx) {
|
|
8749
8798
|
if (rf & 1) {
|
|
8750
|
-
const
|
|
8799
|
+
const _r105 = i0.ɵɵgetCurrentView();
|
|
8751
8800
|
i0.ɵɵelementContainerStart(0);
|
|
8752
8801
|
i0.ɵɵelementStart(1, "div", 3);
|
|
8753
8802
|
i0.ɵɵtemplate(2, InfoTopbarComponent_ng_container_1_div_2_Template, 5, 3, "div", 38);
|
|
8754
|
-
i0.ɵɵelementStart(3, "div",
|
|
8755
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_div_click_3_listener() { i0.ɵɵrestoreView(
|
|
8803
|
+
i0.ɵɵelementStart(3, "div", 24);
|
|
8804
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_div_click_3_listener() { i0.ɵɵrestoreView(_r105); const ctx_r104 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r104.openSidebar()); });
|
|
8756
8805
|
i0.ɵɵelement(4, "span")(5, "span")(6, "span")(7, "span")(8, "span")(9, "span");
|
|
8757
8806
|
i0.ɵɵelementEnd();
|
|
8758
8807
|
i0.ɵɵtemplate(10, InfoTopbarComponent_ng_container_1_h1_10_Template, 5, 4, "h1", 39);
|
|
8759
8808
|
i0.ɵɵelementStart(11, "div", 7)(12, "div", 40)(13, "button", 41);
|
|
8760
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_button_click_13_listener() { i0.ɵɵrestoreView(
|
|
8809
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r105); const ctx_r106 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r106.open("empresa")); });
|
|
8761
8810
|
i0.ɵɵelementStart(14, "mat-icon");
|
|
8762
8811
|
i0.ɵɵtext(15, "fingerprint");
|
|
8763
8812
|
i0.ɵɵelementEnd();
|
|
@@ -8773,21 +8822,21 @@ function InfoTopbarComponent_ng_container_1_Template(rf, ctx) {
|
|
|
8773
8822
|
i0.ɵɵpipe(25, "translate");
|
|
8774
8823
|
i0.ɵɵelementEnd();
|
|
8775
8824
|
i0.ɵɵelementStart(26, "ul", 45);
|
|
8776
|
-
i0.ɵɵtemplate(27, InfoTopbarComponent_ng_container_1_li_27_Template, 3, 1, "li",
|
|
8825
|
+
i0.ɵɵtemplate(27, InfoTopbarComponent_ng_container_1_li_27_Template, 3, 1, "li", 13);
|
|
8777
8826
|
i0.ɵɵelementEnd()()();
|
|
8778
|
-
i0.ɵɵtemplate(28, InfoTopbarComponent_ng_container_1_div_28_Template, 13, 12, "div",
|
|
8779
|
-
i0.ɵɵtemplate(29, InfoTopbarComponent_ng_container_1_div_29_Template, 11, 10, "div",
|
|
8780
|
-
i0.ɵɵtemplate(30, InfoTopbarComponent_ng_container_1_div_30_Template, 11, 10, "div",
|
|
8781
|
-
i0.ɵɵtemplate(31, InfoTopbarComponent_ng_container_1_div_31_Template, 5, 3, "div",
|
|
8782
|
-
i0.ɵɵtemplate(32, InfoTopbarComponent_ng_container_1_div_32_Template, 5, 4, "div",
|
|
8783
|
-
i0.ɵɵelementStart(33, "div",
|
|
8784
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_button_click_34_listener() { i0.ɵɵrestoreView(
|
|
8827
|
+
i0.ɵɵtemplate(28, InfoTopbarComponent_ng_container_1_div_28_Template, 13, 12, "div", 19);
|
|
8828
|
+
i0.ɵɵtemplate(29, InfoTopbarComponent_ng_container_1_div_29_Template, 11, 10, "div", 19);
|
|
8829
|
+
i0.ɵɵtemplate(30, InfoTopbarComponent_ng_container_1_div_30_Template, 11, 10, "div", 19);
|
|
8830
|
+
i0.ɵɵtemplate(31, InfoTopbarComponent_ng_container_1_div_31_Template, 5, 3, "div", 18);
|
|
8831
|
+
i0.ɵɵtemplate(32, InfoTopbarComponent_ng_container_1_div_32_Template, 5, 4, "div", 18);
|
|
8832
|
+
i0.ɵɵelementStart(33, "div", 15)(34, "button", 16);
|
|
8833
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_button_click_34_listener() { i0.ɵɵrestoreView(_r105); const ctx_r107 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r107.logout()); });
|
|
8785
8834
|
i0.ɵɵpipe(35, "translate");
|
|
8786
8835
|
i0.ɵɵelementStart(36, "mat-icon");
|
|
8787
8836
|
i0.ɵɵtext(37, "power_settings_new");
|
|
8788
8837
|
i0.ɵɵelementEnd()()();
|
|
8789
|
-
i0.ɵɵelementStart(38, "div",
|
|
8790
|
-
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_div_click_38_listener() { i0.ɵɵrestoreView(
|
|
8838
|
+
i0.ɵɵelementStart(38, "div", 22, 23);
|
|
8839
|
+
i0.ɵɵlistener("click", function InfoTopbarComponent_ng_container_1_Template_div_click_38_listener() { i0.ɵɵrestoreView(_r105); const ctx_r108 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r108.close()); });
|
|
8791
8840
|
i0.ɵɵelementEnd()()();
|
|
8792
8841
|
i0.ɵɵelementContainerEnd();
|
|
8793
8842
|
}
|
|
@@ -8872,6 +8921,7 @@ class InfoTopbarComponent {
|
|
|
8872
8921
|
this.prodution = false;
|
|
8873
8922
|
this.notifications = new InfoNotificationModel();
|
|
8874
8923
|
this.topMenu = {
|
|
8924
|
+
cliente: false,
|
|
8875
8925
|
empresa: false,
|
|
8876
8926
|
unidade: false,
|
|
8877
8927
|
infoia: false,
|
|
@@ -8951,6 +9001,19 @@ class InfoTopbarComponent {
|
|
|
8951
9001
|
this._authenticationService.logout();
|
|
8952
9002
|
}, err => this._authenticationService.logout());
|
|
8953
9003
|
}
|
|
9004
|
+
setClient(client) {
|
|
9005
|
+
this._authenticationService.trocarCliente(this._session.Login, client.Id).subscribe(res => {
|
|
9006
|
+
if (res.success) {
|
|
9007
|
+
document.body.setAttribute('loading', 'true');
|
|
9008
|
+
this._session.Permissoes = [];
|
|
9009
|
+
localStorage.removeItem("Dashboard");
|
|
9010
|
+
this._utilities.setLocalStorage(this._platform.SessionKey, JSON.stringify(this._session));
|
|
9011
|
+
this._router.navigateByUrl('').then(r => location.reload());
|
|
9012
|
+
}
|
|
9013
|
+
else
|
|
9014
|
+
this._authenticationService.logout();
|
|
9015
|
+
}, err => this._authenticationService.logout());
|
|
9016
|
+
}
|
|
8954
9017
|
setLanguage(language) {
|
|
8955
9018
|
this._translateService.set(language);
|
|
8956
9019
|
}
|
|
@@ -8975,6 +9038,7 @@ class InfoTopbarComponent {
|
|
|
8975
9038
|
this.modalRef.afterClosed().subscribe(r => { this.modalRef = null; });
|
|
8976
9039
|
}
|
|
8977
9040
|
open(achtiveMenu) {
|
|
9041
|
+
this.topMenu.cliente = achtiveMenu == 'cliente';
|
|
8978
9042
|
this.topMenu.empresa = achtiveMenu == 'empresa';
|
|
8979
9043
|
this.topMenu.unidade = achtiveMenu == 'unidade';
|
|
8980
9044
|
this.topMenu.infoia = achtiveMenu == 'infoia';
|
|
@@ -8984,6 +9048,7 @@ class InfoTopbarComponent {
|
|
|
8984
9048
|
this.topMenu.calendario = achtiveMenu == 'calendario';
|
|
8985
9049
|
}
|
|
8986
9050
|
close() {
|
|
9051
|
+
this.topMenu.cliente = false;
|
|
8987
9052
|
this.topMenu.empresa = false;
|
|
8988
9053
|
this.topMenu.unidade = false;
|
|
8989
9054
|
this.topMenu.infoia = false;
|
|
@@ -9039,10 +9104,10 @@ class InfoTopbarComponent {
|
|
|
9039
9104
|
}
|
|
9040
9105
|
}
|
|
9041
9106
|
/** @nocollapse */ InfoTopbarComponent.ɵfac = function InfoTopbarComponent_Factory(t) { return new (t || InfoTopbarComponent)(i0.ɵɵdirectiveInject(InfoTranslateService), i0.ɵɵdirectiveInject(InfoAuthenticationService), i0.ɵɵdirectiveInject(InfoDataService), i0.ɵɵdirectiveInject(InfoThemeService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(InfoDialogModal), i0.ɵɵdirectiveInject(InfoSessionModel), i0.ɵɵdirectiveInject(InfoPlatformModel), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(Utilities)); };
|
|
9042
|
-
/** @nocollapse */ InfoTopbarComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: InfoTopbarComponent, selectors: [["info-topbar"]], inputs: { opened: "opened", languages: "languages", themes: "themes", notificationapi: "notificationapi", notificationgetmethod: "notificationgetmethod", notificationpostmethod: "notificationpostmethod", notificationverifymethod: "notificationverifymethod", notificationverifyenabled: "notificationverifyenabled", fastsearchform: "fastsearchform", fastsearchformwidth: "fastsearchformwidth", fastsearchtitle: "fastsearchtitle", profileurl: "profileurl", setthemeonchangecompany: "setthemeonchangecompany", enabledia: "enabledia" }, outputs: { onchangestate: "onchangestate", ongetnotification: "ongetnotification", onverifynotification: "onverifynotification" }, ngContentSelectors: _c3$2, decls: 4, vars: 4, consts: [[4, "ngIf"], ["class", "loading-bar", 4, "ngIf"], ["class", "block", 4, "ngIf"], [1, "site-navbar"], [1, "logo"], [1, "logo-img"], [1, "logo-img-resp"], [1, "nav-items"], [1, "nav-item", "usuario-logado"], [3, "click"], [
|
|
9107
|
+
/** @nocollapse */ InfoTopbarComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: InfoTopbarComponent, selectors: [["info-topbar"]], inputs: { opened: "opened", languages: "languages", themes: "themes", notificationapi: "notificationapi", notificationgetmethod: "notificationgetmethod", notificationpostmethod: "notificationpostmethod", notificationverifymethod: "notificationverifymethod", notificationverifyenabled: "notificationverifyenabled", fastsearchform: "fastsearchform", fastsearchformwidth: "fastsearchformwidth", fastsearchtitle: "fastsearchtitle", profileurl: "profileurl", setthemeonchangecompany: "setthemeonchangecompany", enabledia: "enabledia" }, outputs: { onchangestate: "onchangestate", ongetnotification: "ongetnotification", onverifynotification: "onverifynotification" }, ngContentSelectors: _c3$2, decls: 4, vars: 4, consts: [[4, "ngIf"], ["class", "loading-bar", 4, "ngIf"], ["class", "block", 4, "ngIf"], [1, "site-navbar"], [1, "logo"], [1, "logo-img"], [1, "logo-img-resp"], [1, "nav-items"], [1, "nav-item", "usuario-logado", 3, "ngClass"], [3, "click"], [1, "menu-lateral-direita"], [1, "fechar", 3, "click"], [1, "empresas"], [4, "ngFor", "ngForOf"], ["class", "nav-item selecao-empresa", 3, "ngClass", 4, "ngIf"], [1, "nav-item"], ["mat-icon-button", "", 3, "matTooltip", "click"], ["class", "nav-item selecao-infoia", 3, "ngClass", 4, "ngIf"], ["class", "nav-item", 4, "ngIf"], ["class", "nav-item", 3, "ngClass", 4, "ngIf"], ["class", "nav-item selecao-tema", 3, "ngClass", 4, "ngIf"], ["class", "nav-item selecao-idioma", 3, "ngClass", 4, "ngIf"], [1, "items-overlay", 3, "click"], ["divModal", ""], [1, "navbar-button", 3, "ngClass", "click"], [1, "nav-item", "selecao-empresa", 3, "ngClass"], [1, "nav-item", "selecao-infoia", 3, "ngClass"], [1, "menu-lateral-direita", "infoia"], [1, "nav-item", 3, "ngClass"], ["class", "badge", 4, "ngIf"], [1, "badge"], [2, "cursor", "default"], [1, "content"], [3, "innerHtml"], [1, "nav-item", "selecao-tema", 3, "ngClass"], [1, "temas"], [1, "nav-item", "selecao-idioma", 3, "ngClass"], [1, "idiomas"], ["class", "sessao-clone text-lightgray", 4, "ngIf"], ["id", "page-title", "class", "page-title", 4, "ngIf"], [1, "nav-item", "user-profile", 3, "ngClass"], ["mat-button", "", 3, "click"], [1, "name"], [1, "dropdown-menu"], [1, "menu-title"], [1, "company"], [1, "sessao-clone", "text-lightgray"], ["id", "page-title", 1, "page-title"], [1, "desc", 3, "innerHtml"], [1, "date"], [1, "languages"], [1, "themes"], ["mat-icon-button", "", 3, "matTooltip", "routerLink"], [1, "loading-bar"], ["color", "primary", "mode", "indeterminate"], [1, "block"]], template: function InfoTopbarComponent_Template(rf, ctx) {
|
|
9043
9108
|
if (rf & 1) {
|
|
9044
9109
|
i0.ɵɵprojectionDef();
|
|
9045
|
-
i0.ɵɵtemplate(0, InfoTopbarComponent_ng_container_0_Template,
|
|
9110
|
+
i0.ɵɵtemplate(0, InfoTopbarComponent_ng_container_0_Template, 47, 29, "ng-container", 0);
|
|
9046
9111
|
i0.ɵɵtemplate(1, InfoTopbarComponent_ng_container_1_Template, 40, 24, "ng-container", 0);
|
|
9047
9112
|
i0.ɵɵtemplate(2, InfoTopbarComponent_section_2_Template, 2, 0, "section", 1);
|
|
9048
9113
|
i0.ɵɵtemplate(3, InfoTopbarComponent_div_3_Template, 1, 0, "div", 2);
|
|
@@ -9060,7 +9125,7 @@ class InfoTopbarComponent {
|
|
|
9060
9125
|
(function () {
|
|
9061
9126
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InfoTopbarComponent, [{
|
|
9062
9127
|
type: Component,
|
|
9063
|
-
args: [{ selector: 'info-topbar', template: "<ng-container *ngIf=\"_platform.Config.ux >= 3\">\r\n <div class=\"site-navbar\">\r\n <a class=\"logo\" >\r\n <i class=\"logo-img\"></i>\r\n <i class=\"logo-img-resp\"></i>\r\n </a>\r\n \r\n <div class=\"nav-items\">\r\n <div class=\"nav-item usuario-logado\" [class.separador]=\"_session.Empresas.length > 1 || _session.Unidades\">\r\n <dl (click)=\"navigate(profileurl)\">\r\n <dt>{{ _session.Perfil }}</dt>\r\n <dd>{{ _session.Usuario }}</dd>\r\n </dl>\r\n </div>\r\n\r\n <div class=\"nav-item selecao-empresa\" *ngIf=\"_session.Empresas.length > 1\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <dl (click)=\"open('empresa')\">\r\n <dt>{{ 'Empresa' | translate }}</dt>\r\n <dd>{{ _session.Empresa }}</dd>\r\n </dl>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Empresas' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item selecao-empresa\" *ngIf=\"_session.Unidade && (_session.Unidades || []).length > 1\" [ngClass]=\"{ 'opened' : topMenu.unidade }\">\r\n <dl (click)=\"open('unidade')\">\r\n <dt>{{ 'Unidade' | translate }}</dt>\r\n <dd>{{ _session.Unidade }}</dd>\r\n </dl>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Unidades' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let unity of _session.Unidades\" >\r\n <a (click)=\"setUnity(unity); divModal.click();\">{{ unity.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item selecao-infoia\" [ngClass]=\"{ 'opened': topMenu.infoia }\" *ngIf=\"enabledia\">\r\n <button mat-icon-button (click)=\"open('infoia')\" [matTooltip]=\"'Info IA' | translate\">\r\n <label>{{ 'InfoIA' | translate }}</label>\r\n <mat-icon>diversity_2</mat-icon>\r\n </button>\r\n \r\n <div class=\"menu-lateral-direita infoia\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'InfoIA' | translate }}</h4>\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n \r\n <div class=\"menu-lateral-direita\" >\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Notificacoes' | translate }}</h4>\r\n \r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n \r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <dl>\r\n <dt>{{ 'Dia' | translate }} {{ item.Date }}</dt>\r\n <dd [innerHtml]=\"item.Description | translate\"></dd>\r\n </dl>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <!-- <div class=\"nav-item\">\r\n <button mat-icon-button (click)=\"alternarModo()\" [matTooltip]=\"'AlternarModo' | translate\"><mat-icon>brightness_6</mat-icon></button>\r\n </div> -->\r\n \r\n <div class=\"nav-item selecao-tema\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Temas' | translate }}</h4>\r\n \r\n <ul class=\"temas\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"_platform.Config.enabledPrime\">\r\n <button mat-icon-button [matTooltip]=\"(_platform.ModoPrime ? 'ModoPadrao' : 'Prime') | translate\" (click)=\"toggleMode()\"><mat-icon>brightness_6</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"nav-item selecao-idioma\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Idiomas' | translate }}</h4>\r\n \r\n <ul class=\"idiomas\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n \r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"_platform.Config.ux <= 2\">\r\n <div class=\"site-navbar\">\r\n <div class=\"sessao-clone text-lightgray\" *ngIf=\"_session.Clone\">\r\n <div><label>({{ 'ModoClone' | translate }})</label></div>\r\n </div>\r\n\r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n </div>\r\n\r\n <h1 id=\"page-title\" class=\"page-title\" *ngIf=\"_platform.PaginaAtiva\">\r\n <mat-icon>{{ _platform.PaginaAtiva.Icone }}</mat-icon> {{ _platform.PaginaAtiva.Titulo | translate }}\r\n </h1>\r\n\r\n <div class=\"nav-items\">\r\n <div class=\"nav-item user-profile\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <button mat-button (click)=\"open('empresa')\">\r\n <mat-icon>fingerprint</mat-icon>\r\n <div class=\"name\">\r\n <label>{{ \"Empresa\" | translate }}</label>\r\n <span>{{ _session.Empresa }}</span>\r\n </div>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Empresa' | translate }}</h4>\r\n\r\n <ul class=\"company\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Notificacoes' | translate }}</h4>\r\n\r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications_off</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n\r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <div class=\"content\">\r\n <span class=\"desc\" [innerHtml]=\"item.Description | translate\"></span>\r\n <span class=\"date\">{{ item.Date }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Idioma' | translate }}</h4>\r\n <ul class=\"languages\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Temas' | translate }}</h4>\r\n <ul class=\"themes\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"nav-item\" *ngIf=\"profileurl != ''\">\r\n <button mat-icon-button [matTooltip]=\"'MeuPerfil' | translate\" [routerLink]=\"profileurl\"><mat-icon>person</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<section class=\"loading-bar\" *ngIf=\"loading\"><mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar></section>\r\n<div class=\"block\" *ngIf=\"loading\"></div>", styles: ["body{--ux-cor-hover: #F5F5F5;--ux-cor-hover-2: #eee;--ux-cor-hover-3: #fafafa;--ux-cor-hover-4: #e5e3ed;--ux-cor-hover-5: #f9f9f9;--ux-cor-bg: #adadad;--ux-cor-P: #fff;--ux-cor-A: #eeeef2;--ux-cor-X: #f5f5f5;--ux-cor-S: #666;--ux-cor-O: #ddd;--ux-cor-F: #222;--ux-cor-D: #ccdbb4;--ux-cor-linha: #CCCEDB;--ux-cor-btn-pri: #eeeef2;--ux-cor-btn-wrn: #BA5005;--ux-cor-btn-dis: #6a7282}:host.topmenu{border-bottom-width:0!important;box-shadow:none!important}:host.uxc3{transition:left .2s ease-in-out;display:block;height:85px;left:0;position:fixed;right:0;top:0;z-index:9998}@media screen and (max-width: 991px){:host.uxc3{left:0}:host.uxc3 .nav-items{width:100%}:host.uxc3 .logo{position:absolute;top:17px}:host.uxc3 .logo .logo-img{display:none!important}:host.uxc3 .logo .logo-img-resp{display:block!important;height:45px!important}:host.uxc3 .usuario-logado{position:absolute;top:70px!important;left:-100%;width:calc(100% + 6px);border-right:none!important;padding-left:25px!important;padding-top:15px!important;transition:left .2s ease-in-out}:host.uxc3 .usuario-logado.menu-aberto{left:0%}:host.uxc3 .usuario-logado dl{text-align:left!important}:host.uxc3 .usuario-logado dl dt{display:inline-block;font-size:14px}:host.uxc3 .usuario-logado dl dd{position:relative;display:inline-block;padding-right:20px;margin-right:5px}:host.uxc3 .usuario-logado dl dd:after{position:absolute;top:2px;right:0;content:\"-\";width:10px;height:10px}:host.uxc3 .selecao-empresa{position:absolute;top:115px!important;left:-100%;width:calc(100% + 6px);margin:0!important;padding:5px 15px 6px 25px;transition:left .2s ease-in-out}:host.uxc3 .selecao-empresa.menu-aberto{left:0%}:host.uxc3 .selecao-empresa button,:host.uxc3 .selecao-empresa dl{width:100%!important}}:host.uxc3 .site-navbar{align-items:center;display:flex;flex-wrap:nowrap;height:100%;justify-content:space-between;padding:0 22px}@media screen and (max-width: 991px){:host.uxc3 .site-navbar{flex-wrap:wrap}}:host.uxc3 .site-navbar .logo{display:block;height:60px;width:500px}:host.uxc3 .site-navbar .logo .logo-img{display:block;height:100%;width:100%}:host.uxc3 .site-navbar .logo .logo-img-resp{display:none;height:100%;width:100%}:host.uxc3 .site-navbar .navbar-button{cursor:pointer;display:none;height:24px;margin:0;position:absolute;transform:rotate(0);width:35px;top:20px;left:70px}@media screen and (max-width: 991px){:host.uxc3 .site-navbar .navbar-button{display:block}}:host.uxc3 .site-navbar .navbar-button sub{position:absolute;bottom:-10px;text-transform:uppercase}:host.uxc3 .site-navbar .navbar-button span{display:block;height:3px;opacity:1;position:absolute;transform:rotate(0);transition:.25s ease-in-out;width:50%;top:10px}:host.uxc3 .site-navbar .navbar-button span:nth-child(even){left:50%}:host.uxc3 .site-navbar .navbar-button span:nth-child(odd){left:0}:host.uxc3 .site-navbar .navbar-button span:nth-child(1),:host.uxc3 .site-navbar .navbar-button span:nth-child(2){top:0}:host.uxc3 .site-navbar .navbar-button span:nth-child(3),:host.uxc3 .site-navbar .navbar-button span:nth-child(4){top:10px}:host.uxc3 .site-navbar .navbar-button span:nth-child(5),:host.uxc3 .site-navbar .navbar-button span:nth-child(6){top:20px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(1),:host.uxc3 .site-navbar .navbar-button.open span:nth-child(6){transform:rotate(45deg)}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(2),:host.uxc3 .site-navbar .navbar-button.open span:nth-child(5){transform:rotate(-45deg)}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(1){left:2px;top:6px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(2){left:calc(50% - 7px);top:6px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(3){left:-50%;opacity:0}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(4){left:100%;opacity:0}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(5){left:2px;top:15px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(6){left:calc(50% - 7px);top:15px}:host.uxc3 dl{line-height:20px;text-transform:none;transition:border .2s ease-in-out}:host.uxc3 dl dt{font-size:10px;font-weight:500;transition:color .2s ease-in-out}:host.uxc3 dl dd{position:relative;top:0;font-size:14px;font-weight:600;margin-bottom:0;transition:color .2s ease-in-out}:host.uxc3 .usuario-logado,:host.uxc3 .selecao-empresa{top:-1px;padding:5px 20px 5px 0;cursor:pointer}:host.uxc3 .usuario-logado dl,:host.uxc3 .selecao-empresa dl{top:5px;margin:0}:host.uxc3 .usuario-logado dl mat-icon,:host.uxc3 .selecao-empresa dl mat-icon{position:absolute;font-size:22px;top:17px;right:0;text-align:center}:host.uxc3 .usuario-logado{padding-left:10px}:host.uxc3 .usuario-logado dl{text-align:right}:host.uxc3 .usuario-logado dl mat-icon{left:0}:host.uxc3 .selecao-empresa{padding-left:20px}:host.uxc3 .nav-items{display:block;height:100%;margin:0 -5px;text-align:right}@media screen and (min-width: 544px){:host.uxc3 .nav-items{width:100%}}@media screen and (max-width: 991px){:host.uxc3 .nav-items{display:block;top:0;position:absolute;right:10px}}:host.uxc3 .nav-items .nav-item{align-items:center;display:inline-block;text-align:left;margin:15px 3px 0 0}:host.uxc3 .nav-items .nav-item .mat-button,:host.uxc3 .nav-items .nav-item .mat-icon-button{position:relative;cursor:pointer;min-width:40px;padding:0;transition:color .2s ease-in-out;top:-14px}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper{display:flex;height:100%;padding:5px;width:100%}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .mat-icon,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .mat-icon{font-size:24px;height:auto!important;line-height:auto!important;vertical-align:middle;width:auto!important}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .mat-icon .marker,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .mat-icon .marker{border-radius:50%;height:6px;position:absolute;right:0;top:0;width:6px}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .badge,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .badge{position:absolute;background:#af1b11;border-radius:8px;font-size:10px;color:#fff;padding:0 5px;line-height:16px;right:0;top:0}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-focus-overlay,:host.uxc3 .nav-items .nav-item .mat-button .mat-button-ripple,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-focus-overlay,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-ripple{display:none}:host.uxc3 .nav-items .nav-item .menu-lateral-direita{display:none;top:0;right:0;padding:0;position:fixed;width:420px;height:100%;z-index:9999}@media screen and (max-width: 991px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita{left:auto;margin-left:0;right:0}}@media screen and (max-width: 543px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita{left:0;margin-left:0;width:100%}}:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{border:10px solid transparent;bottom:100%;content:\"\";left:50%;margin:0 0 0 -10px;position:absolute}@media screen and (max-width: 991px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{left:100%;margin-left:-34px}}@media screen and (max-width: 543px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{display:none}}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>.fechar{position:absolute;top:30px;right:30px;font-size:28px;cursor:pointer;opacity:.8}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>.fechar:hover{opacity:1}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>h4{font-size:24px;font-weight:500;margin:30px 0 30px 38px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul{list-style-type:none;margin:0;height:calc(100% - 170px);overflow-y:auto;border-radius:0 0 4px 4px;padding:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li:hover{background:rgba(0,0,0,.05)}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li.disabled>a{cursor:default!important;opacity:.4}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li:last-child{border-bottom:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl{line-height:20px;padding:5px 0;margin-bottom:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl dt{font-weight:600;font-size:13px;margin-bottom:5px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl dd{font-size:14px;font-weight:500}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li>a{font-size:14px;font-weight:500;padding:10px 40px!important;align-items:center;display:flex;padding:11px;transition:background .2s ease-in-out;cursor:pointer}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li>a .mat-icon{background:rgba(255,255,255,.1);border-radius:50%;font-size:22px;height:auto;margin-right:11px;padding:7px;width:auto}:host.uxc3 .nav-items .nav-item.opened .menu-lateral-direita,:host.uxc3 .nav-items .nav-item.opened .lista-empresas{display:block}:host.uxc3 .nav-items .nav-item.opened~.items-overlay{transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible;opacity:.5}:host.uxc3 .nav-items .items-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:9998}@media screen and (max-width: 991px){:host.uxc3{width:100%}}:host.uxc2{background:#fff;border-bottom:1px solid #e4e9f0;display:block;height:70px;left:120px;position:fixed;right:0;top:0;z-index:9998}@media only screen and (max-width: 991px){:host.uxc2{left:0}}:host.uxc2 .sessao-clone{position:absolute;padding:8px;top:0;background-color:#a80707;z-index:1}:host.uxc2 .sessao-clone .mat-icon-button{font-size:10px}:host.uxc2 .site-navbar{align-items:center;display:flex;flex-wrap:nowrap;height:100%;justify-content:space-between;padding:0 22px}@media only screen and (max-width: 991px){:host.uxc2 .site-navbar{flex-wrap:wrap}}:host.uxc2 .site-navbar .navbar-button{cursor:pointer;display:none;height:24px;margin:0;position:relative;transform:rotate(0);width:30px}@media only screen and (max-width: 991px){:host.uxc2 .site-navbar .navbar-button{display:block}}:host.uxc2 .site-navbar .navbar-button span{display:block;height:3px;opacity:1;position:absolute;transform:rotate(0);transition:.25s ease-in-out;width:50%}:host.uxc2 .site-navbar .navbar-button span:nth-child(even){left:50%}:host.uxc2 .site-navbar .navbar-button span:nth-child(odd){left:0}:host.uxc2 .site-navbar .navbar-button span:nth-child(1),:host.uxc2 .site-navbar .navbar-button span:nth-child(2){top:0}:host.uxc2 .site-navbar .navbar-button span:nth-child(3),:host.uxc2 .site-navbar .navbar-button span:nth-child(4){top:10px}:host.uxc2 .site-navbar .navbar-button span:nth-child(5),:host.uxc2 .site-navbar .navbar-button span:nth-child(6){top:20px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(1),:host.uxc2 .site-navbar .navbar-button.open span:nth-child(6){transform:rotate(45deg)}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(2),:host.uxc2 .site-navbar .navbar-button.open span:nth-child(5){transform:rotate(-45deg)}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(1){left:3px;top:6px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(2){left:calc(50% - 3px);top:6px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(3){left:-50%;opacity:0}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(4){left:100%;opacity:0}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(5){left:3px;top:15px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(6){left:calc(50% - 3px);top:15px}:host.uxc2 .page-title{font-size:1.4rem;font-weight:400;line-height:1;margin:0;width:100%}:host.uxc2 .page-title mat-icon{top:4px;left:0;font-size:1.1em}@media only screen and (max-width: 991px){:host.uxc2 .page-title{display:none}}:host.uxc2 .nav-items{display:block;height:100%;margin:0 -5px;text-align:right}@media only screen and (min-width: 544px){:host.uxc2 .nav-items{width:100%}}:host.uxc2 .nav-items .nav-item{align-items:center;display:inline-block;text-align:left;margin:15px 3px 0 0}@media only screen and (min-width: 544px){:host.uxc2 .nav-items .nav-item{position:relative}}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button{position:relative;cursor:pointer;min-width:40px;padding:0;transition:color .2s ease-in-out}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper{display:flex;height:100%;padding:5px;width:100%}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .mat-icon,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .mat-icon{font-size:22px;height:30px;line-height:30px;vertical-align:top;width:30px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .mat-icon .marker,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .mat-icon .marker{border-radius:50%;height:6px;position:absolute;right:0;top:0;width:6px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .badge,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .badge{position:absolute;background:#af1b11;border-radius:8px;font-size:10px;color:#fff;padding:0 5px;line-height:16px;right:0;top:0}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .avatar,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .avatar{border-radius:50%;height:40px;overflow:hidden;width:40px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name{top:10px;padding-left:10px;white-space:nowrap;line-height:19px;text-align:left;font-size:12px;margin-top:-3px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name label,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name label{display:block;margin:0;font-size:10px;line-height:12px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name span,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name span{top:-3px}@media only screen and (max-width: 991px){:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name{display:none}}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-focus-overlay,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-ripple,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-focus-overlay,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-ripple{display:none}:host.uxc2 .nav-items .nav-item .dropdown-menu{box-shadow:0 5px 10px 2px #00000040;display:none;left:50%;margin:0 0 0 -150px;padding:0;position:absolute;top:100%;width:300px;z-index:9999}@media only screen and (max-width: 991px){:host.uxc2 .nav-items .nav-item .dropdown-menu{left:auto;margin-left:0;right:0}}@media only screen and (max-width: 543px){:host.uxc2 .nav-items .nav-item .dropdown-menu{left:0;margin-left:0;width:100%}}:host.uxc2 .nav-items .nav-item .dropdown-menu.calendar{left:-34%}:host.uxc2 .nav-items .nav-item .dropdown-menu.calendar:before{left:60%}:host.uxc2 .nav-items .nav-item .dropdown-menu:before{border:10px solid transparent;bottom:100%;content:\"\";left:50%;margin:0 0 0 -10px;position:absolute}@media only screen and (max-width: 991px){:host.uxc2 .nav-items .nav-item .dropdown-menu:before{left:100%;margin-left:-34px}}@media only screen and (max-width: 543px){:host.uxc2 .nav-items .nav-item .dropdown-menu:before{display:none}}:host.uxc2 .nav-items .nav-item .dropdown-menu .company a,:host.uxc2 .nav-items .nav-item .dropdown-menu .languages a,:host.uxc2 .nav-items .nav-item .dropdown-menu .themesa a{cursor:pointer!important}:host.uxc2 .nav-items .nav-item .dropdown-menu .themes{max-height:500px}:host.uxc2 .nav-items .nav-item .dropdown-menu .pesquisa-rapida input{color:#fff}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer,:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-title{margin:0;padding:11px;text-align:center}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-title{border-bottom:1px solid rgba(255,255,255,.1);color:#fff;font-size:16px;line-height:1.3}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer a{color:#fff}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer a:hover{color:#fffc}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul{list-style-type:none;margin:0;max-height:241px;overflow:auto;padding:0}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li{border-bottom:1px solid rgba(255,255,255,.05)}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li.disabled>a{cursor:default!important;opacity:.4}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li.disabled>a:hover{background:inherit!important}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li:last-child{border-bottom:0}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a{align-items:center;color:#fff;display:flex;padding:11px;transition:background .2s ease-in-out;cursor:pointer}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .mat-icon{background:rgba(255,255,255,.1);border-radius:50%;font-size:22px;height:auto;margin-right:11px;padding:7px;width:auto}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .avatar{border-radius:50%;height:40px;margin-right:11px;width:40px}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content{font-size:.85rem}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .desc{display:block}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .date{display:block;font-size:.75rem;font-style:italic;margin-top:4px;opacity:.6}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .meta{align-items:flex-end;display:flex;justify-content:space-between;line-height:1.3;margin-bottom:4px}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .meta .date{margin:0 0 0 11px}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu{left:auto;right:0;width:220px}@media only screen and (max-width: 543px){:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu{width:100%}}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu:before{display:none}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu>ul>li>a{padding-top:8px;padding-bottom:8px;cursor:pointer}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu>ul>li>a .fa{margin-right:11px;min-width:15px}:host.uxc2 .nav-items .nav-item.opened .dropdown-menu{display:block}:host.uxc2 .nav-items .nav-item.opened~.items-overlay{opacity:1;transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible}:host.uxc2 .nav-items .items-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:9998}\n"] }]
|
|
9128
|
+
args: [{ selector: 'info-topbar', template: "<ng-container *ngIf=\"_platform.Config.ux >= 3\">\r\n <div class=\"site-navbar\">\r\n <a class=\"logo\" >\r\n <i class=\"logo-img\"></i>\r\n <i class=\"logo-img-resp\"></i>\r\n </a>\r\n \r\n <div class=\"nav-items\">\r\n <div class=\"nav-item usuario-logado\" [class.separador]=\"_session.Empresas.length > 1 || _session.Unidades\" [ngClass]=\"{ 'opened' : topMenu.cliente }\">\r\n <dl (click)=\"open('cliente')\">\r\n <dt>{{ _session.Perfil }}</dt>\r\n <dd>{{ _session.Usuario }}</dd>\r\n </dl>\r\n\r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Clientes' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let client of _session.Clientes\" >\r\n <a (click)=\"setClient(client); divModal.click();\">{{ client.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item selecao-empresa\" *ngIf=\"_session.Empresas.length > 1\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <dl (click)=\"open('empresa')\">\r\n <dt>{{ 'Empresa' | translate }}</dt>\r\n <dd>{{ _session.Empresa }}</dd>\r\n </dl>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Empresas' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item selecao-empresa\" *ngIf=\"_session.Unidade && (_session.Unidades || []).length > 1\" [ngClass]=\"{ 'opened' : topMenu.unidade }\">\r\n <dl (click)=\"open('unidade')\">\r\n <dt>{{ 'Unidade' | translate }}</dt>\r\n <dd>{{ _session.Unidade }}</dd>\r\n </dl>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Unidades' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let unity of _session.Unidades\" >\r\n <a (click)=\"setUnity(unity); divModal.click();\">{{ unity.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\">\r\n <button mat-icon-button (click)=\"navigate(profileurl)\" [matTooltip]=\"'MeuPerfil' | translate\">\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"nav-item selecao-infoia\" [ngClass]=\"{ 'opened': topMenu.infoia }\" *ngIf=\"enabledia\">\r\n <button mat-icon-button (click)=\"open('infoia')\" [matTooltip]=\"'Info IA' | translate\">\r\n <label>{{ 'InfoIA' | translate }}</label>\r\n <mat-icon>diversity_2</mat-icon>\r\n </button>\r\n \r\n <div class=\"menu-lateral-direita infoia\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'InfoIA' | translate }}</h4>\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n \r\n <div class=\"menu-lateral-direita\" >\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Notificacoes' | translate }}</h4>\r\n \r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n \r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <dl>\r\n <dt>{{ 'Dia' | translate }} {{ item.Date }}</dt>\r\n <dd [innerHtml]=\"item.Description | translate\"></dd>\r\n </dl>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <!-- <div class=\"nav-item\">\r\n <button mat-icon-button (click)=\"alternarModo()\" [matTooltip]=\"'AlternarModo' | translate\"><mat-icon>brightness_6</mat-icon></button>\r\n </div> -->\r\n \r\n <div class=\"nav-item selecao-tema\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Temas' | translate }}</h4>\r\n \r\n <ul class=\"temas\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"_platform.Config.enabledPrime\">\r\n <button mat-icon-button [matTooltip]=\"(_platform.ModoPrime ? 'ModoPadrao' : 'Prime') | translate\" (click)=\"toggleMode()\"><mat-icon>brightness_6</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"nav-item selecao-idioma\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Idiomas' | translate }}</h4>\r\n \r\n <ul class=\"idiomas\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n \r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"_platform.Config.ux <= 2\">\r\n <div class=\"site-navbar\">\r\n <div class=\"sessao-clone text-lightgray\" *ngIf=\"_session.Clone\">\r\n <div><label>({{ 'ModoClone' | translate }})</label></div>\r\n </div>\r\n\r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n </div>\r\n\r\n <h1 id=\"page-title\" class=\"page-title\" *ngIf=\"_platform.PaginaAtiva\">\r\n <mat-icon>{{ _platform.PaginaAtiva.Icone }}</mat-icon> {{ _platform.PaginaAtiva.Titulo | translate }}\r\n </h1>\r\n\r\n <div class=\"nav-items\">\r\n <div class=\"nav-item user-profile\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <button mat-button (click)=\"open('empresa')\">\r\n <mat-icon>fingerprint</mat-icon>\r\n <div class=\"name\">\r\n <label>{{ \"Empresa\" | translate }}</label>\r\n <span>{{ _session.Empresa }}</span>\r\n </div>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Empresa' | translate }}</h4>\r\n\r\n <ul class=\"company\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Notificacoes' | translate }}</h4>\r\n\r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications_off</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n\r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <div class=\"content\">\r\n <span class=\"desc\" [innerHtml]=\"item.Description | translate\"></span>\r\n <span class=\"date\">{{ item.Date }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Idioma' | translate }}</h4>\r\n <ul class=\"languages\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Temas' | translate }}</h4>\r\n <ul class=\"themes\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"nav-item\" *ngIf=\"profileurl != ''\">\r\n <button mat-icon-button [matTooltip]=\"'MeuPerfil' | translate\" [routerLink]=\"profileurl\"><mat-icon>person</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<section class=\"loading-bar\" *ngIf=\"loading\"><mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar></section>\r\n<div class=\"block\" *ngIf=\"loading\"></div>", styles: ["body{--ux-cor-hover: #F5F5F5;--ux-cor-hover-2: #eee;--ux-cor-hover-3: #fafafa;--ux-cor-hover-4: #e5e3ed;--ux-cor-hover-5: #f9f9f9;--ux-cor-bg: #adadad;--ux-cor-P: #fff;--ux-cor-A: #eeeef2;--ux-cor-X: #f5f5f5;--ux-cor-S: #666;--ux-cor-O: #ddd;--ux-cor-F: #222;--ux-cor-D: #ccdbb4;--ux-cor-linha: #CCCEDB;--ux-cor-btn-pri: #eeeef2;--ux-cor-btn-wrn: #BA5005;--ux-cor-btn-dis: #6a7282}:host.topmenu{border-bottom-width:0!important;box-shadow:none!important}:host.uxc3{transition:left .2s ease-in-out;display:block;height:85px;left:0;position:fixed;right:0;top:0;z-index:9998}@media screen and (max-width: 991px){:host.uxc3{left:0}:host.uxc3 .nav-items{width:100%}:host.uxc3 .logo{position:absolute;top:17px}:host.uxc3 .logo .logo-img{display:none!important}:host.uxc3 .logo .logo-img-resp{display:block!important;height:45px!important}:host.uxc3 .usuario-logado{position:absolute;top:70px!important;left:-100%;width:calc(100% + 6px);border-right:none!important;padding-left:25px!important;padding-top:15px!important;transition:left .2s ease-in-out}:host.uxc3 .usuario-logado.menu-aberto{left:0%}:host.uxc3 .usuario-logado dl{text-align:left!important}:host.uxc3 .usuario-logado dl dt{display:inline-block;font-size:14px}:host.uxc3 .usuario-logado dl dd{position:relative;display:inline-block;padding-right:20px;margin-right:5px}:host.uxc3 .usuario-logado dl dd:after{position:absolute;top:2px;right:0;content:\"-\";width:10px;height:10px}:host.uxc3 .selecao-empresa{position:absolute;top:115px!important;left:-100%;width:calc(100% + 6px);margin:0!important;padding:5px 15px 6px 25px;transition:left .2s ease-in-out}:host.uxc3 .selecao-empresa.menu-aberto{left:0%}:host.uxc3 .selecao-empresa button,:host.uxc3 .selecao-empresa dl{width:100%!important}}:host.uxc3 .site-navbar{align-items:center;display:flex;flex-wrap:nowrap;height:100%;justify-content:space-between;padding:0 22px}@media screen and (max-width: 991px){:host.uxc3 .site-navbar{flex-wrap:wrap}}:host.uxc3 .site-navbar .logo{display:block;height:60px;width:500px}:host.uxc3 .site-navbar .logo .logo-img{display:block;height:100%;width:100%}:host.uxc3 .site-navbar .logo .logo-img-resp{display:none;height:100%;width:100%}:host.uxc3 .site-navbar .navbar-button{cursor:pointer;display:none;height:24px;margin:0;position:absolute;transform:rotate(0);width:35px;top:20px;left:70px}@media screen and (max-width: 991px){:host.uxc3 .site-navbar .navbar-button{display:block}}:host.uxc3 .site-navbar .navbar-button sub{position:absolute;bottom:-10px;text-transform:uppercase}:host.uxc3 .site-navbar .navbar-button span{display:block;height:3px;opacity:1;position:absolute;transform:rotate(0);transition:.25s ease-in-out;width:50%;top:10px}:host.uxc3 .site-navbar .navbar-button span:nth-child(even){left:50%}:host.uxc3 .site-navbar .navbar-button span:nth-child(odd){left:0}:host.uxc3 .site-navbar .navbar-button span:nth-child(1),:host.uxc3 .site-navbar .navbar-button span:nth-child(2){top:0}:host.uxc3 .site-navbar .navbar-button span:nth-child(3),:host.uxc3 .site-navbar .navbar-button span:nth-child(4){top:10px}:host.uxc3 .site-navbar .navbar-button span:nth-child(5),:host.uxc3 .site-navbar .navbar-button span:nth-child(6){top:20px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(1),:host.uxc3 .site-navbar .navbar-button.open span:nth-child(6){transform:rotate(45deg)}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(2),:host.uxc3 .site-navbar .navbar-button.open span:nth-child(5){transform:rotate(-45deg)}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(1){left:2px;top:6px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(2){left:calc(50% - 7px);top:6px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(3){left:-50%;opacity:0}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(4){left:100%;opacity:0}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(5){left:2px;top:15px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(6){left:calc(50% - 7px);top:15px}:host.uxc3 dl{line-height:20px;text-transform:none;transition:border .2s ease-in-out}:host.uxc3 dl dt{font-size:10px;font-weight:500;transition:color .2s ease-in-out}:host.uxc3 dl dd{position:relative;top:0;font-size:14px;font-weight:600;margin-bottom:0;transition:color .2s ease-in-out}:host.uxc3 .usuario-logado,:host.uxc3 .selecao-empresa{top:-1px;padding:5px 20px 5px 0;cursor:pointer}:host.uxc3 .usuario-logado dl,:host.uxc3 .selecao-empresa dl{top:5px;margin:0}:host.uxc3 .usuario-logado dl mat-icon,:host.uxc3 .selecao-empresa dl mat-icon{position:absolute;font-size:22px;top:17px;right:0;text-align:center}:host.uxc3 .usuario-logado{padding-left:10px}:host.uxc3 .usuario-logado dl{text-align:right}:host.uxc3 .usuario-logado dl mat-icon{left:0}:host.uxc3 .selecao-empresa{padding-left:20px}:host.uxc3 .nav-items{display:block;height:100%;margin:0 -5px;text-align:right}@media screen and (min-width: 544px){:host.uxc3 .nav-items{width:100%}}@media screen and (max-width: 991px){:host.uxc3 .nav-items{display:block;top:0;position:absolute;right:10px}}:host.uxc3 .nav-items .nav-item{align-items:center;display:inline-block;text-align:left;margin:15px 3px 0 0}:host.uxc3 .nav-items .nav-item .mat-button,:host.uxc3 .nav-items .nav-item .mat-icon-button{position:relative;cursor:pointer;min-width:40px;padding:0;transition:color .2s ease-in-out;top:-14px}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper{display:flex;height:100%;padding:5px;width:100%}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .mat-icon,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .mat-icon{font-size:24px;height:auto!important;line-height:auto!important;vertical-align:middle;width:auto!important}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .mat-icon .marker,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .mat-icon .marker{border-radius:50%;height:6px;position:absolute;right:0;top:0;width:6px}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .badge,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .badge{position:absolute;background:#af1b11;border-radius:8px;font-size:10px;color:#fff;padding:0 5px;line-height:16px;right:0;top:0}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-focus-overlay,:host.uxc3 .nav-items .nav-item .mat-button .mat-button-ripple,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-focus-overlay,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-ripple{display:none}:host.uxc3 .nav-items .nav-item .menu-lateral-direita{display:none;top:0;right:0;padding:0;position:fixed;width:420px;height:100%;z-index:9999}@media screen and (max-width: 991px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita{left:auto;margin-left:0;right:0}}@media screen and (max-width: 543px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita{left:0;margin-left:0;width:100%}}:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{border:10px solid transparent;bottom:100%;content:\"\";left:50%;margin:0 0 0 -10px;position:absolute}@media screen and (max-width: 991px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{left:100%;margin-left:-34px}}@media screen and (max-width: 543px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{display:none}}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>.fechar{position:absolute;top:30px;right:30px;font-size:28px;cursor:pointer;opacity:.8}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>.fechar:hover{opacity:1}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>h4{font-size:24px;font-weight:500;margin:30px 0 30px 38px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul{list-style-type:none;margin:0;height:calc(100% - 170px);overflow-y:auto;border-radius:0 0 4px 4px;padding:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li:hover{background:rgba(0,0,0,.05)}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li.disabled>a{cursor:default!important;opacity:.4}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li:last-child{border-bottom:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl{line-height:20px;padding:5px 0;margin-bottom:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl dt{font-weight:600;font-size:13px;margin-bottom:5px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl dd{font-size:14px;font-weight:500}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li>a{font-size:14px;font-weight:500;padding:10px 40px!important;align-items:center;display:flex;padding:11px;transition:background .2s ease-in-out;cursor:pointer}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li>a .mat-icon{background:rgba(255,255,255,.1);border-radius:50%;font-size:22px;height:auto;margin-right:11px;padding:7px;width:auto}:host.uxc3 .nav-items .nav-item.opened .menu-lateral-direita,:host.uxc3 .nav-items .nav-item.opened .lista-empresas{display:block}:host.uxc3 .nav-items .nav-item.opened~.items-overlay{transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible;opacity:.5}:host.uxc3 .nav-items .items-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:9998}@media screen and (max-width: 991px){:host.uxc3{width:100%}}:host.uxc2{background:#fff;border-bottom:1px solid #e4e9f0;display:block;height:70px;left:120px;position:fixed;right:0;top:0;z-index:9998}@media only screen and (max-width: 991px){:host.uxc2{left:0}}:host.uxc2 .sessao-clone{position:absolute;padding:8px;top:0;background-color:#a80707;z-index:1}:host.uxc2 .sessao-clone .mat-icon-button{font-size:10px}:host.uxc2 .site-navbar{align-items:center;display:flex;flex-wrap:nowrap;height:100%;justify-content:space-between;padding:0 22px}@media only screen and (max-width: 991px){:host.uxc2 .site-navbar{flex-wrap:wrap}}:host.uxc2 .site-navbar .navbar-button{cursor:pointer;display:none;height:24px;margin:0;position:relative;transform:rotate(0);width:30px}@media only screen and (max-width: 991px){:host.uxc2 .site-navbar .navbar-button{display:block}}:host.uxc2 .site-navbar .navbar-button span{display:block;height:3px;opacity:1;position:absolute;transform:rotate(0);transition:.25s ease-in-out;width:50%}:host.uxc2 .site-navbar .navbar-button span:nth-child(even){left:50%}:host.uxc2 .site-navbar .navbar-button span:nth-child(odd){left:0}:host.uxc2 .site-navbar .navbar-button span:nth-child(1),:host.uxc2 .site-navbar .navbar-button span:nth-child(2){top:0}:host.uxc2 .site-navbar .navbar-button span:nth-child(3),:host.uxc2 .site-navbar .navbar-button span:nth-child(4){top:10px}:host.uxc2 .site-navbar .navbar-button span:nth-child(5),:host.uxc2 .site-navbar .navbar-button span:nth-child(6){top:20px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(1),:host.uxc2 .site-navbar .navbar-button.open span:nth-child(6){transform:rotate(45deg)}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(2),:host.uxc2 .site-navbar .navbar-button.open span:nth-child(5){transform:rotate(-45deg)}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(1){left:3px;top:6px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(2){left:calc(50% - 3px);top:6px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(3){left:-50%;opacity:0}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(4){left:100%;opacity:0}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(5){left:3px;top:15px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(6){left:calc(50% - 3px);top:15px}:host.uxc2 .page-title{font-size:1.4rem;font-weight:400;line-height:1;margin:0;width:100%}:host.uxc2 .page-title mat-icon{top:4px;left:0;font-size:1.1em}@media only screen and (max-width: 991px){:host.uxc2 .page-title{display:none}}:host.uxc2 .nav-items{display:block;height:100%;margin:0 -5px;text-align:right}@media only screen and (min-width: 544px){:host.uxc2 .nav-items{width:100%}}:host.uxc2 .nav-items .nav-item{align-items:center;display:inline-block;text-align:left;margin:15px 3px 0 0}@media only screen and (min-width: 544px){:host.uxc2 .nav-items .nav-item{position:relative}}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button{position:relative;cursor:pointer;min-width:40px;padding:0;transition:color .2s ease-in-out}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper{display:flex;height:100%;padding:5px;width:100%}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .mat-icon,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .mat-icon{font-size:22px;height:30px;line-height:30px;vertical-align:top;width:30px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .mat-icon .marker,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .mat-icon .marker{border-radius:50%;height:6px;position:absolute;right:0;top:0;width:6px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .badge,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .badge{position:absolute;background:#af1b11;border-radius:8px;font-size:10px;color:#fff;padding:0 5px;line-height:16px;right:0;top:0}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .avatar,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .avatar{border-radius:50%;height:40px;overflow:hidden;width:40px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name{top:10px;padding-left:10px;white-space:nowrap;line-height:19px;text-align:left;font-size:12px;margin-top:-3px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name label,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name label{display:block;margin:0;font-size:10px;line-height:12px}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name span,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name span{top:-3px}@media only screen and (max-width: 991px){:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-wrapper .name,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-wrapper .name{display:none}}:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-focus-overlay,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-button .mat-button-ripple,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-focus-overlay,:host.uxc2 .nav-items .nav-item ::ng-deep .mat-icon-button .mat-button-ripple{display:none}:host.uxc2 .nav-items .nav-item .dropdown-menu{box-shadow:0 5px 10px 2px #00000040;display:none;left:50%;margin:0 0 0 -150px;padding:0;position:absolute;top:100%;width:300px;z-index:9999}@media only screen and (max-width: 991px){:host.uxc2 .nav-items .nav-item .dropdown-menu{left:auto;margin-left:0;right:0}}@media only screen and (max-width: 543px){:host.uxc2 .nav-items .nav-item .dropdown-menu{left:0;margin-left:0;width:100%}}:host.uxc2 .nav-items .nav-item .dropdown-menu.calendar{left:-34%}:host.uxc2 .nav-items .nav-item .dropdown-menu.calendar:before{left:60%}:host.uxc2 .nav-items .nav-item .dropdown-menu:before{border:10px solid transparent;bottom:100%;content:\"\";left:50%;margin:0 0 0 -10px;position:absolute}@media only screen and (max-width: 991px){:host.uxc2 .nav-items .nav-item .dropdown-menu:before{left:100%;margin-left:-34px}}@media only screen and (max-width: 543px){:host.uxc2 .nav-items .nav-item .dropdown-menu:before{display:none}}:host.uxc2 .nav-items .nav-item .dropdown-menu .company a,:host.uxc2 .nav-items .nav-item .dropdown-menu .languages a,:host.uxc2 .nav-items .nav-item .dropdown-menu .themesa a{cursor:pointer!important}:host.uxc2 .nav-items .nav-item .dropdown-menu .themes{max-height:500px}:host.uxc2 .nav-items .nav-item .dropdown-menu .pesquisa-rapida input{color:#fff}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer,:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-title{margin:0;padding:11px;text-align:center}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-title{border-bottom:1px solid rgba(255,255,255,.1);color:#fff;font-size:16px;line-height:1.3}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer a{color:#fff}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer a:hover{color:#fffc}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul{list-style-type:none;margin:0;max-height:241px;overflow:auto;padding:0}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li{border-bottom:1px solid rgba(255,255,255,.05)}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li.disabled>a{cursor:default!important;opacity:.4}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li.disabled>a:hover{background:inherit!important}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li:last-child{border-bottom:0}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a{align-items:center;color:#fff;display:flex;padding:11px;transition:background .2s ease-in-out;cursor:pointer}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .mat-icon{background:rgba(255,255,255,.1);border-radius:50%;font-size:22px;height:auto;margin-right:11px;padding:7px;width:auto}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .avatar{border-radius:50%;height:40px;margin-right:11px;width:40px}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content{font-size:.85rem}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .desc{display:block}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .date{display:block;font-size:.75rem;font-style:italic;margin-top:4px;opacity:.6}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .meta{align-items:flex-end;display:flex;justify-content:space-between;line-height:1.3;margin-bottom:4px}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .meta .date{margin:0 0 0 11px}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu{left:auto;right:0;width:220px}@media only screen and (max-width: 543px){:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu{width:100%}}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu:before{display:none}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu>ul>li>a{padding-top:8px;padding-bottom:8px;cursor:pointer}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu>ul>li>a .fa{margin-right:11px;min-width:15px}:host.uxc2 .nav-items .nav-item.opened .dropdown-menu{display:block}:host.uxc2 .nav-items .nav-item.opened~.items-overlay{opacity:1;transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible}:host.uxc2 .nav-items .items-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:9998}\n"] }]
|
|
9064
9129
|
}], function () { return [{ type: InfoTranslateService }, { type: InfoAuthenticationService }, { type: InfoDataService }, { type: InfoThemeService }, { type: i1$1.Router }, { type: InfoDialogModal }, { type: InfoSessionModel }, { type: InfoPlatformModel }, { type: i1$3.MatDialog }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: Utilities }]; }, { opened: [{
|
|
9065
9130
|
type: Input
|
|
9066
9131
|
}], languages: [{
|
|
@@ -9199,7 +9264,7 @@ class InfoTopMenuComponent {
|
|
|
9199
9264
|
this.loading = false;
|
|
9200
9265
|
this.menu = [];
|
|
9201
9266
|
this.openSubmenu = '';
|
|
9202
|
-
this.menuAtivo = '
|
|
9267
|
+
this.menuAtivo = 'Inicio';
|
|
9203
9268
|
}
|
|
9204
9269
|
ngOnInit() {
|
|
9205
9270
|
if (!this._authentication.isLogged() || this.api == null)
|