ng-inail-common 2.0.31-beta.9 → 2.0.31
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/ng-inail-common.umd.js +5 -2
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/core/layout/inail-layout/inail-layout.component.js +6 -3
- package/fesm2015/ng-inail-common.js +5 -2
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/lib/components/core/layout/inail-layout/inail-layout.component.d.ts +2 -0
- package/ng-inail-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2270,6 +2270,7 @@
|
|
|
2270
2270
|
*/
|
|
2271
2271
|
_this.datiDipendente = new core.EventEmitter();
|
|
2272
2272
|
_this.breadcrumbEsterno = true;
|
|
2273
|
+
_this.pleaseWaitEsterno = true;
|
|
2273
2274
|
// Gestione risorse e script esterni
|
|
2274
2275
|
_this.risorseEsterneCounter = 0;
|
|
2275
2276
|
_this.scriptEsterniCounter = 0;
|
|
@@ -2386,6 +2387,7 @@
|
|
|
2386
2387
|
var _this = this;
|
|
2387
2388
|
var _a;
|
|
2388
2389
|
this.breadcrumbEsterno = this.breadcrumbContainer ? this.breadcrumbContainer.nativeElement.childElementCount > 0 : false;
|
|
2390
|
+
this.pleaseWaitEsterno = this.pleaseWaitContainer ? isNotBlankOrNull(this.pleaseWaitContainer.nativeElement.innerHTML) : false;
|
|
2389
2391
|
if (((_a = this.menuList) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
2390
2392
|
this.menuList.forEach(function (menu) {
|
|
2391
2393
|
_this.push(menu.currentItem.subscribe(function (currentElement) {
|
|
@@ -2639,10 +2641,10 @@
|
|
|
2639
2641
|
InailLayoutComponent.decorators = [
|
|
2640
2642
|
{ type: core.Component, args: [{
|
|
2641
2643
|
selector: 'inail-layout',
|
|
2642
|
-
template: "<inail-loader [show]=\"showLoader\"></inail-loader>\n<debug-pre *ngIf=\"showState\">[inail-layout]<br>\n <state-propertie [label]=\"'config'\" [propertie]=\"config\"></state-propertie>\n <state-propertie [label]=\"'infoDipendente'\" [propertie]=\"infoDipendente\"></state-propertie>\n <state-propertie [label]=\"'inizializzazioneTerminata'\" [propertie]=\"inizializzazioneTerminata\"></state-propertie>\n <state-propertie [label]=\"'caricamentoRisorseEsterneTerminato'\" [propertie]=\"caricamentoRisorseEsterneTerminato\"></state-propertie>\n <state-propertie [label]=\"'caricamentoScriptEsterniTerminato'\" [propertie]=\"caricamentoScriptEsterniTerminato\"></state-propertie>\n <state-propertie [label]=\"'itsReady'\" [propertie]=\"itsReady()\"></state-propertie>\n <state-propertie [label]=\"'breadcrumbEsterno'\" [propertie]=\"breadcrumbEsterno\"></state-propertie>\n <state-propertie [label]=\"'paginaCorrente'\" [propertie]=\"paginaCorrente\"></state-propertie>\n</debug-pre>\n<div class=\"inail-layout\">\n <div *ngIf=\"!itsReady()\"
|
|
2644
|
+
template: "<inail-loader [show]=\"showLoader\"></inail-loader>\n<debug-pre *ngIf=\"showState\">[inail-layout]<br>\n <state-propertie [label]=\"'config'\" [propertie]=\"config\"></state-propertie>\n <state-propertie [label]=\"'infoDipendente'\" [propertie]=\"infoDipendente\"></state-propertie>\n <state-propertie [label]=\"'inizializzazioneTerminata'\" [propertie]=\"inizializzazioneTerminata\"></state-propertie>\n <state-propertie [label]=\"'caricamentoRisorseEsterneTerminato'\" [propertie]=\"caricamentoRisorseEsterneTerminato\"></state-propertie>\n <state-propertie [label]=\"'caricamentoScriptEsterniTerminato'\" [propertie]=\"caricamentoScriptEsterniTerminato\"></state-propertie>\n <state-propertie [label]=\"'itsReady'\" [propertie]=\"itsReady()\"></state-propertie>\n <state-propertie [label]=\"'breadcrumbEsterno'\" [propertie]=\"breadcrumbEsterno\"></state-propertie>\n <state-propertie [label]=\"'paginaCorrente'\" [propertie]=\"paginaCorrente\"></state-propertie>\n</debug-pre>\n<div class=\"inail-layout\">\n <div *ngIf=\"!itsReady()\" #pleaseWaitContainer>\n <ng-container *ngIf=\"pleaseWaitEsterno; else defaultPleaseWait\">\n <ng-content select=\"[please-wait]\"></ng-content>\n </ng-container>\n <ng-template #defaultPleaseWait>\n <div class=\"please-wait\">\n <div *ngIf=\"config?.appName\" class=\"app-name\" [innerHTML]=\"config.appName\"></div>\n <div>Caricamento...</div>\n <div class=\"spinner-container\">\n <div class=\"loader\"></div>\n </div>\n </div>\n </ng-template>\n </div>\n <div class=\"container\"\n [hidden]=\"!itsReady()\"\n [ngClass]=\"{'wide' : config && config.containerWide}\">\n\n <header id=\"inail-header\"\n *ngIf=\"inizializzazioneTerminata\"\n [config]=\"headerConfig\"\n [showState]=\"false\"\n [infoDipendente]=\"this.infoDipendente\"\n [logOnConsole]=\"this.logOnConsole\"\n (checksession)=\"checksession.emit($event)\"\n (datiDipendente)=\"datiDipendente.emit($event)\"\n (log)=\"emit($event)\">\n </header>\n\n <!-- Breadcrumb -->\n <div class=\"row breadcrumbs internet-breadcrumb\"\n aria-label=\"Breadcrumb\"\n #breadcrumbContainer>\n <ng-container *ngIf=\"breadcrumbEsterno\">\n <ng-content select=\"[breadcrumb]\"></ng-content>\n </ng-container>\n <inail-breadcrumb *ngIf=\"!breadcrumbEsterno\"\n [logOnConsole]=\"this.logOnConsole\"\n [currentPage]=\"paginaCorrente\"\n (log)=\"emit($event)\">\n </inail-breadcrumb>\n </div>\n\n <inail-trigger-slider-menu-button (click)=\"toggleNavSecondaria.emit()\"></inail-trigger-slider-menu-button>\n\n <div class=\"row\">\n\n <inail-navigazione-secondaria [toggle]=\"toggleNavSecondaria\"\n [logOnConsole]=\"logOnConsole\"\n (log)=\"emit($event)\">\n\n <ng-container sidebar-superiore>\n <ng-content select=\"[sidebar-superiore]\"></ng-content>\n </ng-container>\n\n <ng-container sidebar-inferiore>\n <ng-content select=\"[sidebar-inferiore]\"></ng-content>\n </ng-container>\n\n </inail-navigazione-secondaria>\n\n <main *ngIf=\"inizializzazioneTerminata\"\n id=\"contenutoprincipale\" class=\"col-xs-12 col-sm-8 col-lg-9\">\n\n <div class=\"row\">\n <div class=\"content\">\n\n <ng-content select=\"[main-content]\"></ng-content>\n\n </div>\n </div>\n\n </main>\n\n </div>\n <inail-footer *ngIf=\"inizializzazioneTerminata\"\n [url]=\"config?.footerUrl\"\n [html]=\"config?.footerHtml\"\n [domainUrl]=\"config?.domainUrl\"\n [cdnEndpoint]=\"config?.cdnEndpoint\"\n [assetsUrl]=\"config?.assetsUrl\"\n [logOnConsole]=\"this.logOnConsole\"\n (log)=\"emit($event)\">\n </inail-footer>\n </div>\n</div>\n",
|
|
2643
2645
|
changeDetection: CHANGE_DETECTION_STRATEGY,
|
|
2644
2646
|
encapsulation: core.ViewEncapsulation.None,
|
|
2645
|
-
styles: [".inail-layout .container.wide{max-width:100%!important}.inail-layout .please-wait div{text-align:center;font-size:14.4333px!important;line-height:1.42857143;font-family:sans-serif!important}.inail-layout div.please-wait div.app-name{margin-top:100px;color:#002e5f!important;font-size:24px!important}.inail-layout div.please-wait .spinner-container{display:flex;justify-content:center}"]
|
|
2647
|
+
styles: [".inail-layout .container.wide{max-width:100%!important}.inail-layout .please-wait div{text-align:center;font-size:14.4333px!important;line-height:1.42857143;font-family:sans-serif!important}.inail-layout div.please-wait div.app-name{margin-top:100px;color:#002e5f!important;font-size:24px!important}.inail-layout div.please-wait .spinner-container{display:flex;justify-content:center;margin-top:30px}.inail-layout .loader{border:10px solid #eaedf2;border-top-color:#002e5f;border-radius:50%;width:58px;height:58px;animation:spin .8s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]
|
|
2646
2648
|
},] }
|
|
2647
2649
|
];
|
|
2648
2650
|
InailLayoutComponent.ctorParameters = function () { return [
|
|
@@ -2660,6 +2662,7 @@
|
|
|
2660
2662
|
checksession: [{ type: core.Output }],
|
|
2661
2663
|
datiDipendente: [{ type: core.Output }],
|
|
2662
2664
|
breadcrumbContainer: [{ type: core.ViewChild, args: ['breadcrumbContainer',] }],
|
|
2665
|
+
pleaseWaitContainer: [{ type: core.ViewChild, args: ['pleaseWaitContainer',] }],
|
|
2663
2666
|
menuList: [{ type: core.ContentChildren, args: [MenuComponent,] }],
|
|
2664
2667
|
onClick: [{ type: core.HostListener, args: ['click', ['$event.target'],] }]
|
|
2665
2668
|
};
|