@smartbit4all/ng-client 3.0.31 → 3.0.33
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/smart-dialog/projects.mjs +2 -2
- package/esm2020/lib/smart-dialog/smartdialog.abstract.service.mjs +48 -0
- package/esm2020/lib/smart-grid/smart-grid.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-view-context-dialog.service.mjs +5 -5
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-view-context.service.mjs +10 -7
- package/esm2020/projects.mjs +1 -2
- package/fesm2015/smartbit4all-ng-client.mjs +13 -10
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +13 -10
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-dialog/projects.d.ts +1 -1
- package/lib/smart-grid/smart-grid.service.d.ts +1 -1
- package/lib/view-context/smart-view-context-dialog.service.d.ts +3 -3
- package/lib/view-context/smart-view-context.service.d.ts +2 -2
- package/package.json +1 -1
- package/projects.d.ts +0 -1
- package/smartbit4all-ng-client-3.0.33.tgz +0 -0
- package/esm2020/lib/smart-dialog/smartdialog.service.mjs +0 -48
- package/smartbit4all-ng-client-3.0.31.tgz +0 -0
- /package/lib/smart-dialog/{smartdialog.service.d.ts → smartdialog.abstract.service.d.ts} +0 -0
|
@@ -2491,7 +2491,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2491
2491
|
* Public API Surface of smart-navigation
|
|
2492
2492
|
*/
|
|
2493
2493
|
|
|
2494
|
-
class
|
|
2494
|
+
class SmartViewContextDialogService {
|
|
2495
2495
|
constructor(dialog, router) {
|
|
2496
2496
|
this.dialog = dialog;
|
|
2497
2497
|
this.router = router;
|
|
@@ -2538,9 +2538,9 @@ class SmartdialogService {
|
|
|
2538
2538
|
dialogRef?.close();
|
|
2539
2539
|
}
|
|
2540
2540
|
}
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type:
|
|
2541
|
+
SmartViewContextDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextDialogService, deps: [{ token: i1$2.MatDialog }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2542
|
+
SmartViewContextDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextDialogService, providedIn: 'root' });
|
|
2543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextDialogService, decorators: [{
|
|
2544
2544
|
type: Injectable,
|
|
2545
2545
|
args: [{
|
|
2546
2546
|
providedIn: 'root',
|
|
@@ -2746,10 +2746,13 @@ class SmartViewContextService {
|
|
|
2746
2746
|
this.performAction(view.uuid, { code: DefaultUiActionCode_CLOSE, params: {} });
|
|
2747
2747
|
});
|
|
2748
2748
|
}
|
|
2749
|
-
this.dialogRefs.
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2749
|
+
let refIsAlradyAdded = this.dialogRefs.some((ref) => ref.uuid === view.uuid);
|
|
2750
|
+
if (!refIsAlradyAdded) {
|
|
2751
|
+
this.dialogRefs.push({
|
|
2752
|
+
uuid: view.uuid,
|
|
2753
|
+
dialogRef,
|
|
2754
|
+
});
|
|
2755
|
+
}
|
|
2753
2756
|
}
|
|
2754
2757
|
else if (view.type === ViewType.Normal) {
|
|
2755
2758
|
if (viewHandler.route === undefined) {
|
|
@@ -3069,14 +3072,14 @@ class SmartViewContextService {
|
|
|
3069
3072
|
return change;
|
|
3070
3073
|
}
|
|
3071
3074
|
}
|
|
3072
|
-
SmartViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextService, deps: [{ token: ViewService }, { token: SmartSessionService }, { token: SmartNavigationService }, { token:
|
|
3075
|
+
SmartViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextService, deps: [{ token: ViewService }, { token: SmartSessionService }, { token: SmartNavigationService }, { token: SmartViewContextDialogService }, { token: ApiQueueService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3073
3076
|
SmartViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextService, providedIn: 'root' });
|
|
3074
3077
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextService, decorators: [{
|
|
3075
3078
|
type: Injectable,
|
|
3076
3079
|
args: [{
|
|
3077
3080
|
providedIn: 'root',
|
|
3078
3081
|
}]
|
|
3079
|
-
}], ctorParameters: function () { return [{ type: ViewService }, { type: SmartSessionService }, { type: SmartNavigationService }, { type:
|
|
3082
|
+
}], ctorParameters: function () { return [{ type: ViewService }, { type: SmartSessionService }, { type: SmartNavigationService }, { type: SmartViewContextDialogService }, { type: ApiQueueService }, { type: i0.Injector }]; } });
|
|
3080
3083
|
const IS_ASYNC_PARAM_NAME = 'isAsync';
|
|
3081
3084
|
class ApiQueueService {
|
|
3082
3085
|
constructor() {
|