@smartsoft001/angular 1.1.788 → 1.1.792
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 +9 -4
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +3 -3
- package/esm2015/lib/components/input/array/array.component.js +4 -1
- package/esm2015/lib/components/loader/loader.component.js +4 -3
- package/fesm2015/smartsoft001-angular.js +8 -4
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -0
- package/package.json +5 -5
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -2886,10 +2886,10 @@
|
|
|
2886
2886
|
AppSplitPanelComponent.decorators = [
|
|
2887
2887
|
{ type: i0.Component, args: [{
|
|
2888
2888
|
selector: "smart-app-split-panel",
|
|
2889
|
-
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 }}
|
|
2889
|
+
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 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",
|
|
2890
2890
|
//encapsulation: ViewEncapsulation.ShadowDom,
|
|
2891
2891
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2892
|
-
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"]
|
|
2892
|
+
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"]
|
|
2893
2893
|
},] }
|
|
2894
2894
|
];
|
|
2895
2895
|
/**
|
|
@@ -5338,13 +5338,14 @@
|
|
|
5338
5338
|
LoaderComponent.decorators = [
|
|
5339
5339
|
{ type: i0.Component, args: [{
|
|
5340
5340
|
selector: 'smart-loader',
|
|
5341
|
-
template: '<ion-spinner *ngIf="show"></ion-spinner>',
|
|
5341
|
+
template: '<ion-spinner *ngIf="show" [style.height]="height"></ion-spinner>',
|
|
5342
5342
|
styles: [""]
|
|
5343
5343
|
},] }
|
|
5344
5344
|
];
|
|
5345
5345
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
5346
5346
|
LoaderComponent.propDecorators = {
|
|
5347
|
-
show: [{ type: i0.Input }]
|
|
5347
|
+
show: [{ type: i0.Input }],
|
|
5348
|
+
height: [{ type: i0.Input }]
|
|
5348
5349
|
};
|
|
5349
5350
|
|
|
5350
5351
|
var PageComponent = /** @class */ (function (_super) {
|
|
@@ -6809,6 +6810,7 @@
|
|
|
6809
6810
|
_this.addButtonOptions = {
|
|
6810
6811
|
click: function () { return __awaiter(_this, void 0, void 0, function () {
|
|
6811
6812
|
var options, modelOptions, control;
|
|
6813
|
+
var _this = this;
|
|
6812
6814
|
return __generator(this, function (_a) {
|
|
6813
6815
|
switch (_a.label) {
|
|
6814
6816
|
case 0:
|
|
@@ -6831,6 +6833,9 @@
|
|
|
6831
6833
|
show: true
|
|
6832
6834
|
});
|
|
6833
6835
|
this.control.markAsDirty();
|
|
6836
|
+
setTimeout(function () {
|
|
6837
|
+
_this.cd.detectChanges();
|
|
6838
|
+
});
|
|
6834
6839
|
return [2 /*return*/];
|
|
6835
6840
|
}
|
|
6836
6841
|
});
|