@smartbit4all/ng-client 3.0.30 → 3.0.32
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 +14 -14
- 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 +3 -3
- package/fesm2015/smartbit4all-ng-client.mjs +16 -15
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +15 -15
- 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 +6 -4
- package/lib/view-context/smart-view-context.service.d.ts +2 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.0.32.tgz +0 -0
- package/esm2020/lib/smart-dialog/smartdialog.service.mjs +0 -48
- package/smartbit4all-ng-client-3.0.30.tgz +0 -0
- /package/lib/smart-dialog/{smartdialog.service.d.ts → smartdialog.abstract.service.d.ts} +0 -0
|
@@ -2491,19 +2491,19 @@ 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;
|
|
2498
2498
|
}
|
|
2499
2499
|
createDialog(smartDialog, component) {
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
dialogRef.afterClosed().subscribe((result) => {
|
|
2500
|
+
this.dialogData = smartDialog;
|
|
2501
|
+
this.dialogRef = this.dialog.open(component, { data: this.dialogData });
|
|
2502
|
+
this.dialogRef.afterClosed().subscribe((result) => {
|
|
2503
2503
|
this.handleAfterClosed(result);
|
|
2504
|
-
this.closeDialog(
|
|
2504
|
+
this.closeDialog();
|
|
2505
2505
|
});
|
|
2506
|
-
return dialogRef;
|
|
2506
|
+
return this.dialogRef;
|
|
2507
2507
|
}
|
|
2508
2508
|
createDialogRef(smartDialog, component) {
|
|
2509
2509
|
const dialogRef = this.dialog.open(component, { data: smartDialog });
|
|
@@ -2527,20 +2527,20 @@ class SmartdialogService {
|
|
|
2527
2527
|
openDialog() {
|
|
2528
2528
|
throw new Error('openDialog function is not implemented!');
|
|
2529
2529
|
}
|
|
2530
|
-
async closeDialog(
|
|
2531
|
-
if (dialogData?.outlets) {
|
|
2530
|
+
async closeDialog() {
|
|
2531
|
+
if (this.dialogData?.outlets) {
|
|
2532
2532
|
await this.router.navigate([
|
|
2533
2533
|
{
|
|
2534
|
-
outlets: dialogData.outlets,
|
|
2534
|
+
outlets: this.dialogData.outlets,
|
|
2535
2535
|
},
|
|
2536
2536
|
]);
|
|
2537
2537
|
}
|
|
2538
|
-
dialogRef?.close();
|
|
2538
|
+
this.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',
|
|
@@ -3069,14 +3069,14 @@ class SmartViewContextService {
|
|
|
3069
3069
|
return change;
|
|
3070
3070
|
}
|
|
3071
3071
|
}
|
|
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:
|
|
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: SmartViewContextDialogService }, { token: ApiQueueService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3073
3073
|
SmartViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextService, providedIn: 'root' });
|
|
3074
3074
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartViewContextService, decorators: [{
|
|
3075
3075
|
type: Injectable,
|
|
3076
3076
|
args: [{
|
|
3077
3077
|
providedIn: 'root',
|
|
3078
3078
|
}]
|
|
3079
|
-
}], ctorParameters: function () { return [{ type: ViewService }, { type: SmartSessionService }, { type: SmartNavigationService }, { type:
|
|
3079
|
+
}], ctorParameters: function () { return [{ type: ViewService }, { type: SmartSessionService }, { type: SmartNavigationService }, { type: SmartViewContextDialogService }, { type: ApiQueueService }, { type: i0.Injector }]; } });
|
|
3080
3080
|
const IS_ASYNC_PARAM_NAME = 'isAsync';
|
|
3081
3081
|
class ApiQueueService {
|
|
3082
3082
|
constructor() {
|