@smartsoft001/angular 1.1.727 → 1.1.731
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/smartsoft001-angular.umd.js +5 -11
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +2 -2
- package/fesm2015/smartsoft001-angular.js +1 -1
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/components.module.d.ts +2 -2
- package/package.json +5 -5
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -259,16 +259,10 @@
|
|
|
259
259
|
r[k] = a[j];
|
|
260
260
|
return r;
|
|
261
261
|
}
|
|
262
|
-
function __spreadArray(to, from
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
if (!ar)
|
|
267
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
268
|
-
ar[i] = from[i];
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
262
|
+
function __spreadArray(to, from) {
|
|
263
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
264
|
+
to[j] = from[i];
|
|
265
|
+
return to;
|
|
272
266
|
}
|
|
273
267
|
function __await(v) {
|
|
274
268
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -2842,7 +2836,7 @@
|
|
|
2842
2836
|
AppSplitPanelComponent.decorators = [
|
|
2843
2837
|
{ type: i0.Component, args: [{
|
|
2844
2838
|
selector: "smart-app-split-panel",
|
|
2845
|
-
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]\"\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 {{ item.caption }}\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>\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n {{ \"APP.logged\" | translate }}: <b>{{ username$ | async }}</b>\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>",
|
|
2839
|
+
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]\"\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>\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n {{ \"APP.logged\" | translate }}: <b>{{ username$ | async }}</b>\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>",
|
|
2846
2840
|
//encapsulation: ViewEncapsulation.ShadowDom,
|
|
2847
2841
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2848
2842
|
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 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"]
|