info-library 2.14.14-beta.1 → 2.14.14-beta.2

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.
@@ -1254,7 +1254,7 @@ class InfoAuthenticationService {
1254
1254
  }
1255
1255
  if (item != null && item.length > 0) {
1256
1256
  this._plataforma.PaginaAtiva = { Icone: item[0].Icon, Titulo: item[0].Title };
1257
- this._title.setTitle((this._plataforma.Config.title || "Plataforma - ") + this._translate.translate(item[0].Title) + subTitulo);
1257
+ this._title.setTitle(`${this._translate.translate(this._plataforma.Config.title || "Plataforma")} - ${this._translate.translate(item[0].Title)}` + subTitulo);
1258
1258
  }
1259
1259
  else
1260
1260
  this._plataforma.PaginaAtiva = { Icone: 'security', Titulo: this._plataforma.Config.title || 'Plataforma' };
@@ -8898,9 +8898,9 @@ const _c0 = ["topbar"];
8898
8898
  const _c1 = ["sidebar"];
8899
8899
  function InfoMainComponent_info_topmenu_4_Template(rf, ctx) {
8900
8900
  if (rf & 1) {
8901
- const _r5 = i0.ɵɵgetCurrentView();
8902
- i0.ɵɵelementStart(0, "info-topmenu", 11);
8903
- i0.ɵɵlistener("onchangestate", function InfoMainComponent_info_topmenu_4_Template_info_topmenu_onchangestate_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onChangeSideBarState()); });
8901
+ const _r6 = i0.ɵɵgetCurrentView();
8902
+ i0.ɵɵelementStart(0, "info-topmenu", 12);
8903
+ i0.ɵɵlistener("onchangestate", function InfoMainComponent_info_topmenu_4_Template_info_topmenu_onchangestate_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onChangeSideBarState()); });
8904
8904
  i0.ɵɵelementEnd();
8905
8905
  }
8906
8906
  if (rf & 2) {
@@ -8910,9 +8910,9 @@ function InfoMainComponent_info_topmenu_4_Template(rf, ctx) {
8910
8910
  }
8911
8911
  function InfoMainComponent_info_sidebar_5_Template(rf, ctx) {
8912
8912
  if (rf & 1) {
8913
- const _r8 = i0.ɵɵgetCurrentView();
8914
- i0.ɵɵelementStart(0, "info-sidebar", 12, 13);
8915
- i0.ɵɵlistener("onchangestate", function InfoMainComponent_info_sidebar_5_Template_info_sidebar_onchangestate_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.onChangeSideBarState()); });
8913
+ const _r9 = i0.ɵɵgetCurrentView();
8914
+ i0.ɵɵelementStart(0, "info-sidebar", 13, 14);
8915
+ i0.ɵɵlistener("onchangestate", function InfoMainComponent_info_sidebar_5_Template_info_sidebar_onchangestate_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onChangeSideBarState()); });
8916
8916
  i0.ɵɵelementEnd();
8917
8917
  }
8918
8918
  if (rf & 2) {
@@ -8920,17 +8920,22 @@ function InfoMainComponent_info_sidebar_5_Template(rf, ctx) {
8920
8920
  i0.ɵɵproperty("api", ctx_r2.menuapi)("method", ctx_r2.menumethod)("activemenubyurl", ctx_r2.activemenubyurl);
8921
8921
  }
8922
8922
  }
8923
+ function InfoMainComponent_ng_content_8_Template(rf, ctx) {
8924
+ if (rf & 1) {
8925
+ i0.ɵɵprojection(0, 1, ["*ngIf", "ready"]);
8926
+ }
8927
+ }
8923
8928
  function InfoMainComponent_div_13_Template(rf, ctx) {
8924
8929
  if (rf & 1) {
8925
- i0.ɵɵelementStart(0, "div", 14);
8930
+ i0.ɵɵelementStart(0, "div", 15);
8926
8931
  i0.ɵɵtext(1);
8927
8932
  i0.ɵɵpipe(2, "translate");
8928
8933
  i0.ɵɵelementEnd();
8929
8934
  }
8930
8935
  if (rf & 2) {
8931
- const ctx_r3 = i0.ɵɵnextContext();
8936
+ const ctx_r4 = i0.ɵɵnextContext();
8932
8937
  i0.ɵɵadvance(1);
8933
- i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(2, 2, "Versao"), " ", ctx_r3.version, "");
8938
+ i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(2, 2, "Versao"), " ", ctx_r4.version, "");
8934
8939
  }
8935
8940
  }
8936
8941
  const _c2 = [[["", "infoia", ""]], [["", "main", ""]]];
@@ -8951,6 +8956,7 @@ class InfoMainComponent {
8951
8956
  this.messages = [];
8952
8957
  this.enabledia = false;
8953
8958
  this._themes = [];
8959
+ this.ready = false;
8954
8960
  this.languages = [];
8955
8961
  this.profileurl = '';
8956
8962
  this.loginurl = 'login';
@@ -9042,6 +9048,7 @@ class InfoMainComponent {
9042
9048
  this.messages.push(this._session.Parametros.find(p => p.Chave == 'DisclaimerGeral').Valor);
9043
9049
  if (this._session.TemaId != null)
9044
9050
  this._themeService.setThemeByLoggedCompany();
9051
+ this.ready = true;
9045
9052
  }
9046
9053
  });
9047
9054
  }
@@ -9067,7 +9074,7 @@ class InfoMainComponent {
9067
9074
  if (rf & 1) {
9068
9075
  i0.ɵɵlistener("click", function InfoMainComponent_click_HostBindingHandler($event) { return ctx.onClick($event.target); }, false, i0.ɵɵresolveDocument);
9069
9076
  }
9070
- }, inputs: { opened: "opened", version: "version", messages: "messages", enabledia: "enabledia", themes: "themes", languages: "languages", profileurl: "profileurl", loginurl: "loginurl", menuapi: "menuapi", menumethod: "menumethod", activemenubyurl: "activemenubyurl", loggeduserapi: "loggeduserapi", loggedusermethod: "loggedusermethod", notificationapi: "notificationapi", notificationgetmethod: "notificationgetmethod", notificationpostmethod: "notificationpostmethod", notificationverifymethod: "notificationverifymethod", notificationverifyenabled: "notificationverifyenabled", fastsearchform: "fastsearchform", fastsearchformwidth: "fastsearchformwidth", fastsearchtitle: "fastsearchtitle", setthemeonchangecompany: "setthemeonchangecompany", shortcutapi: "shortcutapi" }, outputs: { ongetnotification: "ongetnotification", onverifynotification: "onverifynotification" }, ngContentSelectors: _c4, decls: 15, vars: 23, consts: [[1, "site-container", 3, "ngClass"], [3, "themes", "languages", "profileurl", "notificationapi", "notificationgetmethod", "notificationpostmethod", "notificationverifymethod", "notificationverifyenabled", "fastsearchform", "fastsearchformwidth", "fastsearchtitle", "setthemeonchangecompany", "enabledia", "onchangestate", "ongetnotification", "onverifynotification"], ["topbar", ""], [3, "api", "method", "onchangestate", 4, "ngIf"], [3, "api", "method", "activemenubyurl", "onchangestate", 4, "ngIf"], [1, "main-content"], [1, "main-content-wrap"], [1, "footer", "row"], [1, "copyright", "col-9"], ["class", "version col-3", 4, "ngIf"], [3, "messages"], [3, "api", "method", "onchangestate"], [3, "api", "method", "activemenubyurl", "onchangestate"], ["sidebar", ""], [1, "version", "col-3"]], template: function InfoMainComponent_Template(rf, ctx) {
9077
+ }, inputs: { opened: "opened", version: "version", messages: "messages", enabledia: "enabledia", themes: "themes", languages: "languages", profileurl: "profileurl", loginurl: "loginurl", menuapi: "menuapi", menumethod: "menumethod", activemenubyurl: "activemenubyurl", loggeduserapi: "loggeduserapi", loggedusermethod: "loggedusermethod", notificationapi: "notificationapi", notificationgetmethod: "notificationgetmethod", notificationpostmethod: "notificationpostmethod", notificationverifymethod: "notificationverifymethod", notificationverifyenabled: "notificationverifyenabled", fastsearchform: "fastsearchform", fastsearchformwidth: "fastsearchformwidth", fastsearchtitle: "fastsearchtitle", setthemeonchangecompany: "setthemeonchangecompany", shortcutapi: "shortcutapi" }, outputs: { ongetnotification: "ongetnotification", onverifynotification: "onverifynotification" }, ngContentSelectors: _c4, decls: 15, vars: 24, consts: [[1, "site-container", 3, "ngClass"], [3, "themes", "languages", "profileurl", "notificationapi", "notificationgetmethod", "notificationpostmethod", "notificationverifymethod", "notificationverifyenabled", "fastsearchform", "fastsearchformwidth", "fastsearchtitle", "setthemeonchangecompany", "enabledia", "onchangestate", "ongetnotification", "onverifynotification"], ["topbar", ""], [3, "api", "method", "onchangestate", 4, "ngIf"], [3, "api", "method", "activemenubyurl", "onchangestate", 4, "ngIf"], [1, "main-content"], [1, "main-content-wrap"], [4, "ngIf"], [1, "footer", "row"], [1, "copyright", "col-9"], ["class", "version col-3", 4, "ngIf"], [3, "messages"], [3, "api", "method", "onchangestate"], [3, "api", "method", "activemenubyurl", "onchangestate"], ["sidebar", ""], [1, "version", "col-3"]], template: function InfoMainComponent_Template(rf, ctx) {
9071
9078
  if (rf & 1) {
9072
9079
  i0.ɵɵprojectionDef(_c2);
9073
9080
  i0.ɵɵelementStart(0, "div", 0)(1, "info-topbar", 1, 2);
@@ -9077,27 +9084,29 @@ class InfoMainComponent {
9077
9084
  i0.ɵɵtemplate(4, InfoMainComponent_info_topmenu_4_Template, 1, 2, "info-topmenu", 3);
9078
9085
  i0.ɵɵtemplate(5, InfoMainComponent_info_sidebar_5_Template, 2, 3, "info-sidebar", 4);
9079
9086
  i0.ɵɵelementStart(6, "main", 5)(7, "div", 6);
9080
- i0.ɵɵprojection(8, 1);
9087
+ i0.ɵɵtemplate(8, InfoMainComponent_ng_content_8_Template, 1, 0, "ng-content", 7);
9081
9088
  i0.ɵɵelementEnd();
9082
- i0.ɵɵelementStart(9, "div", 7)(10, "div", 8);
9089
+ i0.ɵɵelementStart(9, "div", 8)(10, "div", 9);
9083
9090
  i0.ɵɵtext(11);
9084
9091
  i0.ɵɵpipe(12, "translate");
9085
9092
  i0.ɵɵelementEnd();
9086
- i0.ɵɵtemplate(13, InfoMainComponent_div_13_Template, 3, 4, "div", 9);
9093
+ i0.ɵɵtemplate(13, InfoMainComponent_div_13_Template, 3, 4, "div", 10);
9087
9094
  i0.ɵɵelementEnd();
9088
- i0.ɵɵelement(14, "info-alert", 10);
9095
+ i0.ɵɵelement(14, "info-alert", 11);
9089
9096
  i0.ɵɵelementEnd()();
9090
9097
  }
9091
9098
  if (rf & 2) {
9092
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c3, ctx.opened));
9099
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c3, ctx.opened));
9093
9100
  i0.ɵɵadvance(1);
9094
9101
  i0.ɵɵproperty("themes", ctx.themes)("languages", ctx.languages)("profileurl", ctx.profileurl)("notificationapi", ctx.notificationapi)("notificationgetmethod", ctx.notificationgetmethod)("notificationpostmethod", ctx.notificationpostmethod)("notificationverifymethod", ctx.notificationverifymethod)("notificationverifyenabled", ctx.notificationverifyenabled)("fastsearchform", ctx.fastsearchform)("fastsearchformwidth", ctx.fastsearchformwidth)("fastsearchtitle", ctx.fastsearchtitle)("setthemeonchangecompany", ctx.setthemeonchangecompany)("enabledia", ctx.enabledia);
9095
9102
  i0.ɵɵadvance(3);
9096
9103
  i0.ɵɵproperty("ngIf", ctx._platform.Config.topMenu);
9097
9104
  i0.ɵɵadvance(1);
9098
9105
  i0.ɵɵproperty("ngIf", !ctx._platform.Config.topMenu);
9099
- i0.ɵɵadvance(6);
9100
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 19, "Copyright"));
9106
+ i0.ɵɵadvance(3);
9107
+ i0.ɵɵproperty("ngIf", ctx.ready);
9108
+ i0.ɵɵadvance(3);
9109
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 20, "Copyright"));
9101
9110
  i0.ɵɵadvance(2);
9102
9111
  i0.ɵɵproperty("ngIf", ctx.version);
9103
9112
  i0.ɵɵadvance(1);
@@ -9107,7 +9116,7 @@ class InfoMainComponent {
9107
9116
  (function () {
9108
9117
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InfoMainComponent, [{
9109
9118
  type: Component,
9110
- args: [{ selector: 'info-main', template: "<div class=\"site-container\" [ngClass]=\"{ 'open-sidebar': opened }\">\r\n \r\n <info-topbar #topbar\r\n [themes]=\"themes\" \r\n [languages]=\"languages\" \r\n [profileurl]=\"profileurl\"\r\n [notificationapi]=\"notificationapi\" \r\n [notificationgetmethod]=\"notificationgetmethod\" \r\n [notificationpostmethod]=\"notificationpostmethod\"\r\n [notificationverifymethod]=\"notificationverifymethod\"\r\n [notificationverifyenabled]=\"notificationverifyenabled\"\r\n [fastsearchform]=\"fastsearchform\"\r\n [fastsearchformwidth]=\"fastsearchformwidth\"\r\n [fastsearchtitle]=\"fastsearchtitle\"\r\n [setthemeonchangecompany]=\"setthemeonchangecompany\"\r\n (onchangestate)=\"onChangeTopBarState()\"\r\n (ongetnotification)=\"onGetNotificationsTopBar($event)\"\r\n (onverifynotification)=\"onVerifyNotificationsTopBar($event)\"\r\n [enabledia]=\"enabledia\">\r\n <ng-content select=\"[infoia]\"></ng-content>\r\n </info-topbar>\r\n \r\n <info-topmenu *ngIf=\"_platform.Config.topMenu\"\r\n [api]=\"menuapi\" \r\n [method]=\"menumethod\" \r\n (onchangestate)=\"onChangeSideBarState()\">\r\n </info-topmenu>\r\n\r\n <info-sidebar #sidebar *ngIf=\"!_platform.Config.topMenu\"\r\n [api]=\"menuapi\" \r\n [method]=\"menumethod\" \r\n [activemenubyurl]=\"activemenubyurl\"\r\n (onchangestate)=\"onChangeSideBarState()\">\r\n </info-sidebar>\r\n\r\n <main class=\"main-content\">\r\n <div class=\"main-content-wrap\">\r\n <ng-content select=\"[main]\"></ng-content>\r\n </div>\r\n\r\n <div class=\"footer row\">\r\n <div class=\"copyright col-9\">{{ 'Copyright' | translate}}</div>\r\n <div class=\"version col-3\" *ngIf=\"version\">{{ 'Versao' | translate}} {{ version }}</div>\r\n </div>\r\n \r\n <info-alert [messages]=\"messages\"></info-alert>\r\n </main>\r\n</div>", styles: [":host.topmenu .main-content{padding:180px 0 0!important}:host.uxc3 .main-content{padding:140px 0 0 240px;transition:padding .2s ease-in-out}:host.uxc3 .main-content .bg{background:#FFF}@media screen and (max-width: 991px){:host.uxc3 .main-content{padding-left:0;padding-top:70px}}:host.uxc3 .main-content .footer{background:#fafafa}:host.uxc3 .main-content .footer .version{text-align:right}:host.uxc3 .open-sidebar info-topbar{left:0}:host.uxc3 .open-sidebar info-sidebar{left:0}@media screen and (max-width: 991px){:host.uxc3 .open-sidebar info-sidebar .sidebar-overlay{opacity:.5;transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible}}@media screen and (max-width: 991px){:host.uxc3 .open-sidebar info-sidebar .site-sidebar:before,:host.uxc3 .open-sidebar info-sidebar .sub-menu{display:block!important}}:host.uxc2 .main-content{padding:131px 0 0 240px;transition:padding .2s ease-in-out}@media only screen and (max-width: 991px){:host.uxc2 .main-content{padding-left:0}}@media only screen and (max-width: 543px){:host.uxc2 .main-content{padding-top:123px}}:host.uxc2 info-topbar{transition:left .2s ease-in-out}@media only screen and (max-width: 991px){:host.uxc2 info-topbar{width:100%}}:host.uxc2 .open-sidebar info-topbar{left:240px}:host.uxc2 .open-sidebar info-sidebar{left:0}@media only screen and (max-width: 991px){:host.uxc2 .open-sidebar info-sidebar ::ng-deep .sidebar-overlay{opacity:1;transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible}}:host.uxc2 .footer{position:sticky;bottom:0;z-index:9997;align-items:center;background:rgba(0,0,0,.1);display:flex;font-size:.8rem;height:3.1428572rem;justify-content:space-between;width:100%}@media only screen and (max-width: 543px){:host.uxc2 .footer{font-size:.7rem}}:host.uxc2 .footer .copyright,:host.uxc2 .footer .version{padding:10px 22px}@media only screen and (max-width: 543px){:host.uxc2 .footer .copyright{padding-right:0}}:host.uxc2 .footer .version{text-align:right;color:#000}\n"] }]
9119
+ args: [{ selector: 'info-main', template: "<div class=\"site-container\" [ngClass]=\"{ 'open-sidebar': opened }\">\r\n \r\n <info-topbar #topbar\r\n [themes]=\"themes\" \r\n [languages]=\"languages\" \r\n [profileurl]=\"profileurl\"\r\n [notificationapi]=\"notificationapi\" \r\n [notificationgetmethod]=\"notificationgetmethod\" \r\n [notificationpostmethod]=\"notificationpostmethod\"\r\n [notificationverifymethod]=\"notificationverifymethod\"\r\n [notificationverifyenabled]=\"notificationverifyenabled\"\r\n [fastsearchform]=\"fastsearchform\"\r\n [fastsearchformwidth]=\"fastsearchformwidth\"\r\n [fastsearchtitle]=\"fastsearchtitle\"\r\n [setthemeonchangecompany]=\"setthemeonchangecompany\"\r\n (onchangestate)=\"onChangeTopBarState()\"\r\n (ongetnotification)=\"onGetNotificationsTopBar($event)\"\r\n (onverifynotification)=\"onVerifyNotificationsTopBar($event)\"\r\n [enabledia]=\"enabledia\">\r\n <ng-content select=\"[infoia]\"></ng-content>\r\n </info-topbar>\r\n \r\n <info-topmenu *ngIf=\"_platform.Config.topMenu\"\r\n [api]=\"menuapi\" \r\n [method]=\"menumethod\" \r\n (onchangestate)=\"onChangeSideBarState()\">\r\n </info-topmenu>\r\n\r\n <info-sidebar #sidebar *ngIf=\"!_platform.Config.topMenu\"\r\n [api]=\"menuapi\" \r\n [method]=\"menumethod\" \r\n [activemenubyurl]=\"activemenubyurl\"\r\n (onchangestate)=\"onChangeSideBarState()\">\r\n </info-sidebar>\r\n\r\n <main class=\"main-content\">\r\n <div class=\"main-content-wrap\">\r\n <ng-content select=\"[main]\" *ngIf=\"ready\"></ng-content>\r\n </div>\r\n\r\n <div class=\"footer row\">\r\n <div class=\"copyright col-9\">{{ 'Copyright' | translate}}</div>\r\n <div class=\"version col-3\" *ngIf=\"version\">{{ 'Versao' | translate}} {{ version }}</div>\r\n </div>\r\n \r\n <info-alert [messages]=\"messages\"></info-alert>\r\n </main>\r\n</div>", styles: [":host.topmenu .main-content{padding:180px 0 0!important}:host.uxc3 .main-content{padding:140px 0 0 240px;transition:padding .2s ease-in-out}:host.uxc3 .main-content .bg{background:#FFF}@media screen and (max-width: 991px){:host.uxc3 .main-content{padding-left:0;padding-top:70px}}:host.uxc3 .main-content .footer{background:#fafafa}:host.uxc3 .main-content .footer .version{text-align:right}:host.uxc3 .open-sidebar info-topbar{left:0}:host.uxc3 .open-sidebar info-sidebar{left:0}@media screen and (max-width: 991px){:host.uxc3 .open-sidebar info-sidebar .sidebar-overlay{opacity:.5;transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible}}@media screen and (max-width: 991px){:host.uxc3 .open-sidebar info-sidebar .site-sidebar:before,:host.uxc3 .open-sidebar info-sidebar .sub-menu{display:block!important}}:host.uxc2 .main-content{padding:131px 0 0 240px;transition:padding .2s ease-in-out}@media only screen and (max-width: 991px){:host.uxc2 .main-content{padding-left:0}}@media only screen and (max-width: 543px){:host.uxc2 .main-content{padding-top:123px}}:host.uxc2 info-topbar{transition:left .2s ease-in-out}@media only screen and (max-width: 991px){:host.uxc2 info-topbar{width:100%}}:host.uxc2 .open-sidebar info-topbar{left:240px}:host.uxc2 .open-sidebar info-sidebar{left:0}@media only screen and (max-width: 991px){:host.uxc2 .open-sidebar info-sidebar ::ng-deep .sidebar-overlay{opacity:1;transition:.2s opacity 0s ease-in-out,0s visibility 0s ease-in-out;visibility:visible}}:host.uxc2 .footer{position:sticky;bottom:0;z-index:9997;align-items:center;background:rgba(0,0,0,.1);display:flex;font-size:.8rem;height:3.1428572rem;justify-content:space-between;width:100%}@media only screen and (max-width: 543px){:host.uxc2 .footer{font-size:.7rem}}:host.uxc2 .footer .copyright,:host.uxc2 .footer .version{padding:10px 22px}@media only screen and (max-width: 543px){:host.uxc2 .footer .copyright{padding-right:0}}:host.uxc2 .footer .version{text-align:right;color:#000}\n"] }]
9111
9120
  }], function () { return [{ type: InfoPlatformModel }, { type: InfoSessionModel }, { type: i1$1.Router }, { type: InfoDataService }, { type: InfoThemeService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: Utilities }]; }, { opened: [{
9112
9121
  type: Input
9113
9122
  }], version: [{