library-portal 4.2.50 → 4.4.50
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/bundles/library-portal.umd.js +15 -1
- package/bundles/library-portal.umd.js.map +1 -1
- package/bundles/library-portal.umd.min.js +1 -1
- package/bundles/library-portal.umd.min.js.map +1 -1
- package/esm2015/lib/components/pagina-parametrizada/pagina-parametrizada.component.js +13 -2
- package/esm5/lib/components/pagina-parametrizada/pagina-parametrizada.component.js +16 -2
- package/fesm2015/library-portal.js +12 -1
- package/fesm2015/library-portal.js.map +1 -1
- package/fesm5/library-portal.js +15 -1
- package/fesm5/library-portal.js.map +1 -1
- package/lib/components/pagina-parametrizada/pagina-parametrizada.component.d.ts +1 -0
- package/library-portal.metadata.json +1 -1
- package/package.json +3 -3
|
@@ -4960,6 +4960,20 @@
|
|
|
4960
4960
|
/**
|
|
4961
4961
|
* @return {?}
|
|
4962
4962
|
*/
|
|
4963
|
+
PaginaParametrizadaComponent.prototype.getPageInformation = /**
|
|
4964
|
+
* @return {?}
|
|
4965
|
+
*/
|
|
4966
|
+
function () {
|
|
4967
|
+
if (UtilFunctions.isValidObject(this.parametros['MENSAGEM_HTML_INFORMACAO']) === true) {
|
|
4968
|
+
if (UtilFunctions.isValidStringOrArray(this.parametros['MENSAGEM_HTML_INFORMACAO'].valor) === true) {
|
|
4969
|
+
return this.parametros['MENSAGEM_HTML_INFORMACAO'].valor;
|
|
4970
|
+
}
|
|
4971
|
+
}
|
|
4972
|
+
return null;
|
|
4973
|
+
};
|
|
4974
|
+
/**
|
|
4975
|
+
* @return {?}
|
|
4976
|
+
*/
|
|
4963
4977
|
PaginaParametrizadaComponent.prototype.hideToolBar = /**
|
|
4964
4978
|
* @return {?}
|
|
4965
4979
|
*/
|
|
@@ -4969,7 +4983,7 @@
|
|
|
4969
4983
|
PaginaParametrizadaComponent.decorators = [
|
|
4970
4984
|
{ type: i0.Component, args: [{
|
|
4971
4985
|
selector: 'jhi-pagina-parametrizada',
|
|
4972
|
-
template: "<div [ngClass]=\"{'disabled-while-busy': isBusy}\">\r\n <div id=\"page-heading\" *ngIf=\"hideToolBar() === false\">\r\n <div class=\"row\">\r\n <div class=\"col-8\">\r\n <h4 *ngIf=\"hidePageTitle !== true\"><span>{{getPageTitle()}}</span></h4>\r\n </div>\r\n <div class=\"col-4 page-heading-options\">\r\n <button *ngIf=\"hideBackButton !== true\" class=\"btn btn-link mr-2 btn-sm\" (click)=\"history.back()\">\r\n <fa-icon [icon]=\"'arrow-left'\"></fa-icon><span class=\"d-none d-xl-inline\"> Voltar</span>\r\n </button>\r\n <button *jhiHasAnyAuthority=\"'ROLE_ADMIN'\" type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"parametrizar()\">\r\n <fa-icon [icon]=\"'list'\"></fa-icon>\r\n <span class=\"d-none d-xl-inline\">Parametrizar</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-center\"\r\n *ngIf=\"desabilitado === true\">\r\n <div class=\"alert alert-warning w-100 text-center\" role=\"alert\">\r\n {{parametros['MENSAGEM_TELA_INATIVA']?.valor}}\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"desabilitado !== true\">\r\n <div class=\"row justify-content-center\" *ngIf=\"getPageDescription()\">\r\n <span [innerHtml]=\"sanitizer.bypassSecurityTrustHtml(getPageDescription())\"></span>\r\n </div>\r\n <ng-content select=\"[pageInfo]\"></ng-content>\r\n <div class=\"{{classMainContainer}}\" *ngIf=\"hideMainContent !== true\">\r\n <div class=\"{{classCardContainer}}\">\r\n <h5 *ngIf=\"isValidSubTitle() === true\">{{getPageSubTitle()}}</h5>\r\n <ng-content select=\"[pageMain]\"></ng-content>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n",
|
|
4986
|
+
template: "<div [ngClass]=\"{'disabled-while-busy': isBusy}\">\r\n <div id=\"page-heading\" *ngIf=\"hideToolBar() === false\">\r\n <div class=\"row\">\r\n <div class=\"col-8\">\r\n <h4 *ngIf=\"hidePageTitle !== true\"><span>{{getPageTitle()}}</span></h4>\r\n </div>\r\n <div class=\"col-4 page-heading-options\">\r\n <button *ngIf=\"hideBackButton !== true\" class=\"btn btn-link mr-2 btn-sm\" (click)=\"history.back()\">\r\n <fa-icon [icon]=\"'arrow-left'\"></fa-icon><span class=\"d-none d-xl-inline\"> Voltar</span>\r\n </button>\r\n <button *jhiHasAnyAuthority=\"'ROLE_ADMIN'\" type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"parametrizar()\">\r\n <fa-icon [icon]=\"'list'\"></fa-icon>\r\n <span class=\"d-none d-xl-inline\">Parametrizar</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-center\"\r\n *ngIf=\"desabilitado === true\">\r\n <div class=\"alert alert-warning w-100 text-center\" role=\"alert\">\r\n {{parametros['MENSAGEM_TELA_INATIVA']?.valor}}\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"desabilitado !== true\">\r\n <div class=\"row justify-content-center\" *ngIf=\"getPageDescription()\">\r\n <span [innerHtml]=\"sanitizer.bypassSecurityTrustHtml(getPageDescription())\"></span>\r\n </div>\r\n <ng-content select=\"[pageInfo]\"></ng-content>\r\n <div class=\"{{classMainContainer}}\" *ngIf=\"hideMainContent !== true\">\r\n <div class=\"{{classCardContainer}}\">\r\n <h5 *ngIf=\"isValidSubTitle() === true\">{{getPageSubTitle()}}</h5>\r\n <ng-content select=\"[pageMain]\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-center\" *ngIf=\"getPageInformation()\">\r\n <span [innerHtml]=\"sanitizer.bypassSecurityTrustHtml(getPageInformation())\"></span>\r\n </div>\r\n </ng-container>\r\n</div>\r\n",
|
|
4973
4987
|
styles: [".disabled-while-busy{opacity:.5;pointer-events:none}"]
|
|
4974
4988
|
}] }
|
|
4975
4989
|
];
|