@smartsoft001/angular 1.2.63 → 1.2.64
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/lib/components/app/split-panel/split-panel.component.mjs +3 -3
- package/fesm2015/smartsoft001-angular.mjs +2 -2
- package/fesm2015/smartsoft001-angular.mjs.map +1 -1
- package/fesm2020/smartsoft001-angular.mjs +2 -2
- package/fesm2020/smartsoft001-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -28,10 +28,10 @@ export class AppSplitPanelComponent extends AppBaseComponent {
|
|
|
28
28
|
ngOnInit() { }
|
|
29
29
|
}
|
|
30
30
|
/** @nocollapse */ AppSplitPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AppSplitPanelComponent, deps: [{ token: i1.Router }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i2.StyleService }, { token: i3.MenuService }, { token: i4.AuthService }, { token: i5.AppService }, { token: PLATFORM_ID }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
/** @nocollapse */ AppSplitPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AppSplitPanelComponent, selector: "smart-app-split-panel", viewQueries: [{ propertyName: "listRef", first: true, predicate: ["listRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <ion-router-outlet id=\"menu-content\"></ion-router-outlet>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>\n", styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider span{width:100%;word-break:normal}ion-menu ion-item-divider ion-label.label{max-height:2.8rem;white-space:normal;overflow:hidden;text-align:left;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:.6rem}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.IonChip, selector: "ion-chip", inputs: ["color", "disabled", "mode", "outline"] }, { kind: "component", type: i7.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { kind: "component", type: i7.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i7.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i7.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i7.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i7.IonImg, selector: "ion-img", inputs: ["alt", "src"] }, { kind: "component", type: i7.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i7.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i7.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i7.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i7.IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "component", type: i7.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i7.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i7.IonSplitPane, selector: "ion-split-pane", inputs: ["contentId", "disabled", "when"] }, { kind: "component", type: i7.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i7.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "directive", type: i7.IonRouterOutlet, selector: "ion-router-outlet", inputs: ["animated", "animation", "mode", "swipeGesture"], outputs: ["stackEvents", "activate", "deactivate"], exportAs: ["outlet"] }, { kind: "directive", type: i7.RouterLinkDelegate, selector: ":not(a):not(area)[routerLink]", inputs: ["routerDirection", "routerAnimation"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i8.DynamicComponent, selector: "smart-dynamic", inputs: ["component"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
31
|
+
/** @nocollapse */ AppSplitPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AppSplitPanelComponent, selector: "smart-app-split-panel", viewQueries: [{ propertyName: "listRef", first: true, predicate: ["listRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <div class=\"ion-page\" id=\"menu-content\">\n <ion-router-outlet></ion-router-outlet>\n </div>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>\n", styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider span{width:100%;word-break:normal}ion-menu ion-item-divider ion-label.label{max-height:2.8rem;white-space:normal;overflow:hidden;text-align:left;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:.6rem}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.IonChip, selector: "ion-chip", inputs: ["color", "disabled", "mode", "outline"] }, { kind: "component", type: i7.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { kind: "component", type: i7.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i7.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i7.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i7.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i7.IonImg, selector: "ion-img", inputs: ["alt", "src"] }, { kind: "component", type: i7.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i7.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i7.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i7.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i7.IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "component", type: i7.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i7.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i7.IonSplitPane, selector: "ion-split-pane", inputs: ["contentId", "disabled", "when"] }, { kind: "component", type: i7.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i7.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "directive", type: i7.IonRouterOutlet, selector: "ion-router-outlet", inputs: ["animated", "animation", "mode", "swipeGesture"], outputs: ["stackEvents", "activate", "deactivate"], exportAs: ["outlet"] }, { kind: "directive", type: i7.RouterLinkDelegate, selector: ":not(a):not(area)[routerLink]", inputs: ["routerDirection", "routerAnimation"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i8.DynamicComponent, selector: "smart-dynamic", inputs: ["component"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
32
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AppSplitPanelComponent, decorators: [{
|
|
33
33
|
type: Component,
|
|
34
|
-
args: [{ selector: "smart-app-split-panel", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <ion-
|
|
34
|
+
args: [{ selector: "smart-app-split-panel", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <div class=\"ion-page\" id=\"menu-content\">\n <ion-router-outlet></ion-router-outlet>\n </div>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>\n", styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider span{width:100%;word-break:normal}ion-menu ion-item-divider ion-label.label{max-height:2.8rem;white-space:normal;overflow:hidden;text-align:left;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:.6rem}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"] }]
|
|
35
35
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i2.StyleService }, { type: i3.MenuService }, { type: i4.AuthService }, { type: i5.AppService }, { type: undefined, decorators: [{
|
|
36
36
|
type: Inject,
|
|
37
37
|
args: [PLATFORM_ID]
|
|
@@ -42,4 +42,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
42
42
|
type: ViewChild,
|
|
43
43
|
args: ['listRef', { read: ElementRef }]
|
|
44
44
|
}] } });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BsaXQtcGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4v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JnaW4tdG9wJzogbG9hZGluZ1BhZ2UgPyAnNHB4JyA6ICcwJ31cIj4gLS0+XG48aW9uLXNwbGl0LXBhbmUgY29udGVudElkPVwibWVudS1jb250ZW50XCI+XG4gICAgPCEtLSAgb3VyIHNpZGUgbWVudSAgLS0+XG4gICAgPGlvbi1tZW51IG1lbnVJZD1cInN0YXJ0XCIgY29udGVudElkPVwibWVudS1jb250ZW50XCIgW2hpZGRlbl09XCIhKHNob3dNZW51JCB8IGFzeW5jKSB8fCAoIShtZW51SXRlbXMkIHwgYXN5bmMpPy5sZW5ndGggJiYgIShsb2dnZWQkIHwgYXN5bmMpKVwiPlxuICAgICAgICA8aW9uLWhlYWRlcj5cbiAgICAgICAgICAgIDxpb24tdG9vbGJhcj5cbiAgICAgICAgICAgICAgICA8aW9uLXRpdGxlPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWNvbCBzaXplPVwiYXV0b1wiICpuZ0lmPVwibG9nb1wiIGNsYXNzPVwic21hcnQtbG9nby1jb250YWluZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpb24taW1nICpuZ0lmPVwibG9nb1wiIFtzcmNdPVwibG9nb1wiIGNsYXNzPVwic21hcnQtbG9nb1wiPjwvaW9uLWltZz5cbiAgICAgICAgICAgICAgICAgICAgPC9pb24tY29sPlxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWxvZ29cIj5NRU5VPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPC9pb24tdGl0bGU+XG4gICAgICAgICAgICA8L2lvbi10b29sYmFyPlxuICAgICAgICA8L2lvbi1oZWFkZXI+XG5cbiAgICAgICAgPGlvbi1jb250ZW50PlxuICAgICAgICAgICAgPGlvbi1saXN0ICNsaXN0UmVmPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGl0ZW0gb2YgbWVudUl0ZW1zJCB8IGFzeW5jXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tbWVudS10b2dnbGUgYXV0by1oaWRlPVwiZmFsc2VcIiAqbmdJZj1cIml0ZW0ubW9kZSAhPT0gJ2RpdmlkZXInXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWl0ZW0gKm5nSWY9XCIhaXRlbS5jb21wb25lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtyb3V0ZXJEaXJlY3Rpb25dPVwiJ3Jvb3QnXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcm91dGVyTGlua109XCJbaXRlbS5yb3V0ZSA/IGl0ZW0ucm91dGUgOiAnJ11cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJpdGVtLmNsaWNrICYmIGl0ZW0uY2xpY2soaXRlbSlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjbGFzcy5hY3RpdmUtaXRlbV09XCJzZWxlY3RlZFBhdGggPT0gaXRlbS5yb3V0ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pY29uICpuZ0lmPVwiaXRlbS5pY29uXCIgW2NvbG9yXT1cInNlbGVjdGVkUGF0aCA9PSBpdGVtLnJvdXRlID8gJ3ByaW1hcnknIDogJydcIiBbbmFtZV09XCJpdGVtLmljb25cIiBzbG90PVwic3RhcnRcIj48L2lvbi1pY29uPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpdGVtLmNhcHRpb25cIj57eyBpdGVtLmNhcHRpb24gfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpdGVtLmluZm9zXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tY2hpcCBzbG90PVwiZW5kXCIgKm5nRm9yPVwibGV0IGluZm8gb2YgaXRlbS5pbmZvc1wiPnt7IGluZm8udGV4dCB9fTwvaW9uLWNoaXA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1pdGVtPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pdGVtICpuZ0lmPVwiaXRlbS5jb21wb25lbnRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c21hcnQtZHluYW1pYyBbY29tcG9uZW50XT1cIml0ZW0uY29tcG9uZW50XCI+PC9zbWFydC1keW5hbWljPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24taXRlbT5cbiAgICAgICAgICAgICAgICAgICAgPC9pb24tbWVudS10b2dnbGU+XG5cbiAgICAgICAgICAgICAgICAgICAgPGlvbi1pdGVtLWRpdmlkZXIgKm5nSWY9XCJpdGVtLm1vZGUgPT09ICdkaXZpZGVyJ1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1sYWJlbCAqbmdJZj1cIml0ZW0uY2FwdGlvblwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24taWNvbiAqbmdJZj1cIml0ZW0uaWNvblwiIFtjb2xvcl09XCJzZWxlY3RlZFBhdGggPT0gaXRlbS5yb3V0ZSA/ICdwcmltYXJ5JyA6ICcnXCIgW25hbWVdPVwiaXRlbS5pY29uXCIgc2xvdD1cInN0YXJ0XCI+PC9pb24taWNvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBpdGVtLmNhcHRpb24gfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvaW9uLWxhYmVsPlxuXG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiaXRlbS5jb21wb25lbnRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c21hcnQtZHluYW1pYyBbY29tcG9uZW50XT1cIml0ZW0uY29tcG9uZW50XCI+PC9zbWFydC1keW5hbWljPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgIDwvaW9uLWl0ZW0tZGl2aWRlcj5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvaW9uLWxpc3Q+XG4gICAgICAgIDwvaW9uLWNvbnRlbnQ+XG5cbiAgICAgICAgPGlvbi1mb290ZXI+XG4gICAgICAgICAgICA8aW9uLWxpc3QgKm5nSWY9XCJsb2dnZWQkIHwgYXN5bmNcIj5cbiAgICAgICAgICAgICAgICA8aW9uLWl0ZW0tZGl2aWRlciB0aXRsZT1cInt7dXNlcm5hbWUkIHwgYXN5bmN9fVwiPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gbmFtZT1cInBlcnNvblwiIHNsb3Q9XCJzdGFydFwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tbGFiZWwgY2xhc3M9XCJsYWJlbFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgXCJBUFAubG9nZ2VkXCIgfCB0cmFuc2xhdGUgfX17eyc6ICd9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPHN0cm9uZz57e3VzZXJuYW1lJCB8IGFzeW5jfX08L3N0cm9uZz5cbiAgICAgICAgICAgICAgICAgICAgPC9pb24tbGFiZWw+XG4gICAgICAgICAgICAgICAgPC9pb24taXRlbS1kaXZpZGVyPlxuICAgICAgICAgICAgICAgIDxpb24taXRlbSBidXR0b24gKGNsaWNrKT1cImxvZ291dCgpXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpb24taWNvbiBuYW1lPVwibG9nLW91dFwiIHNsb3Q9XCJzdGFydFwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgIHt7IFwiQVBQLmxvZ291dFwiIHwgdHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgPC9pb24taXRlbT5cbiAgICAgICAgICAgIDwvaW9uLWxpc3Q+XG4gICAgICAgIDwvaW9uLWZvb3Rlcj5cbiAgICA8L2lvbi1tZW51PlxuXG4gICAgPCEtLSB0aGUgbWFpbiBjb250ZW50IC0tPlxuICAgIDxkaXYgY2xhc3M9XCJpb24tcGFnZVwiIGlkPVwibWVudS1jb250ZW50XCI+XG4gICAgICAgIDxpb24tcm91dGVyLW91dGxldD48L2lvbi1yb3V0ZXItb3V0bGV0PlxuICAgIDwvZGl2PlxuXG4gICAgPGlvbi1wcm9ncmVzcy1iYXIgKm5nSWY9XCJsb2FkaW5nUGFnZVwiIGNvbG9yPVwicHJpbWFyeVwiIHR5cGU9XCJpbmRldGVybWluYXRlXCI+PC9pb24tcHJvZ3Jlc3MtYmFyPlxuXG4gICAgPGlvbi1tZW51IHNpZGU9XCJlbmRcIiBkaXNhYmxlZD1cInRydWVcIiBtZW51SWQ9XCJlbmRcIiB0eXBlPVwib3ZlcmxheVwiIGNvbnRlbnRJZD1cIm1lbnUtY29udGVudFwiIHN3aXBlR2VzdHVyZT1cImZhbHNlXCI+XG4gICAgICAgIDxuZy10ZW1wbGF0ZSAjZW5kTWVudUNvbnRhaW5lcj48L25nLXRlbXBsYXRlPlxuICAgIDwvaW9uLW1lbnU+XG48L2lvbi1zcGxpdC1wYW5lPlxuIl19
|
|
@@ -2855,10 +2855,10 @@ class AppSplitPanelComponent extends AppBaseComponent {
|
|
|
2855
2855
|
ngOnInit() { }
|
|
2856
2856
|
}
|
|
2857
2857
|
/** @nocollapse */ AppSplitPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AppSplitPanelComponent, deps: [{ token: i1$3.Router }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: StyleService }, { token: MenuService }, { token: AuthService }, { token: AppService }, { token: PLATFORM_ID }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
2858
|
-
/** @nocollapse */ AppSplitPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AppSplitPanelComponent, selector: "smart-app-split-panel", viewQueries: [{ propertyName: "listRef", first: true, predicate: ["listRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <ion-router-outlet id=\"menu-content\"></ion-router-outlet>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>\n", styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider span{width:100%;word-break:normal}ion-menu ion-item-divider ion-label.label{max-height:2.8rem;white-space:normal;overflow:hidden;text-align:left;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:.6rem}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"], dependencies: [{ kind: "directive", type: i1$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonChip, selector: "ion-chip", inputs: ["color", "disabled", "mode", "outline"] }, { kind: "component", type: i2.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { kind: "component", type: i2.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i2.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i2.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i2.IonImg, selector: "ion-img", inputs: ["alt", "src"] }, { kind: "component", type: i2.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i2.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i2.IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "component", type: i2.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i2.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i2.IonSplitPane, selector: "ion-split-pane", inputs: ["contentId", "disabled", "when"] }, { kind: "component", type: i2.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i2.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "directive", type: i2.IonRouterOutlet, selector: "ion-router-outlet", inputs: ["animated", "animation", "mode", "swipeGesture"], outputs: ["stackEvents", "activate", "deactivate"], exportAs: ["outlet"] }, { kind: "directive", type: i2.RouterLinkDelegate, selector: ":not(a):not(area)[routerLink]", inputs: ["routerDirection", "routerAnimation"] }, { kind: "directive", type: i1$3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: DynamicComponent, selector: "smart-dynamic", inputs: ["component"] }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2858
|
+
/** @nocollapse */ AppSplitPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AppSplitPanelComponent, selector: "smart-app-split-panel", viewQueries: [{ propertyName: "listRef", first: true, predicate: ["listRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <div class=\"ion-page\" id=\"menu-content\">\n <ion-router-outlet></ion-router-outlet>\n </div>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>\n", styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider span{width:100%;word-break:normal}ion-menu ion-item-divider ion-label.label{max-height:2.8rem;white-space:normal;overflow:hidden;text-align:left;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:.6rem}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"], dependencies: [{ kind: "directive", type: i1$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonChip, selector: "ion-chip", inputs: ["color", "disabled", "mode", "outline"] }, { kind: "component", type: i2.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { kind: "component", type: i2.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i2.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i2.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i2.IonImg, selector: "ion-img", inputs: ["alt", "src"] }, { kind: "component", type: i2.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i2.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i2.IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "component", type: i2.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i2.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i2.IonSplitPane, selector: "ion-split-pane", inputs: ["contentId", "disabled", "when"] }, { kind: "component", type: i2.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i2.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "directive", type: i2.IonRouterOutlet, selector: "ion-router-outlet", inputs: ["animated", "animation", "mode", "swipeGesture"], outputs: ["stackEvents", "activate", "deactivate"], exportAs: ["outlet"] }, { kind: "directive", type: i2.RouterLinkDelegate, selector: ":not(a):not(area)[routerLink]", inputs: ["routerDirection", "routerAnimation"] }, { kind: "directive", type: i1$3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: DynamicComponent, selector: "smart-dynamic", inputs: ["component"] }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2859
2859
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AppSplitPanelComponent, decorators: [{
|
|
2860
2860
|
type: Component,
|
|
2861
|
-
args: [{ selector: "smart-app-split-panel", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <ion-
|
|
2861
|
+
args: [{ selector: "smart-app-split-panel", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route ? item.route : '']\"\n (click)=\"item.click && item.click(item)\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n {{ item.caption | translate }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider title=\"{{username$ | async}}\">\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n <ion-label class=\"label\">\n {{ \"APP.logged\" | translate }}{{': '}}\n <strong>{{username$ | async}}</strong>\n </ion-label>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <div class=\"ion-page\" id=\"menu-content\">\n <ion-router-outlet></ion-router-outlet>\n </div>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>\n", styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider span{width:100%;word-break:normal}ion-menu ion-item-divider ion-label.label{max-height:2.8rem;white-space:normal;overflow:hidden;text-align:left;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:.6rem}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"] }]
|
|
2862
2862
|
}], ctorParameters: function () {
|
|
2863
2863
|
return [{ type: i1$3.Router }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: StyleService }, { type: MenuService }, { type: AuthService }, { type: AppService }, { type: undefined, decorators: [{
|
|
2864
2864
|
type: Inject,
|