@smartbit4all/ng-client 4.0.42 → 4.0.44
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/esm2022/lib/smart-dialog/smartdialog.service.mjs +32 -11
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +12 -5
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +12 -6
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +7 -7
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +12 -5
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +7 -7
- package/esm2022/lib/view-context/smart-view-context-dialog.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +12 -6
- package/fesm2022/smartbit4all-ng-client.mjs +229 -195
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-dialog/smartdialog.service.d.ts +11 -4
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +4 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +4 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +4 -7
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +4 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +4 -7
- package/lib/view-context/smart-view-context-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +4 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.0.44.tgz +0 -0
- package/smartbit4all-ng-client-4.0.42.tgz +0 -0
|
@@ -2,11 +2,18 @@ import { ComponentType } from '@angular/cdk/portal';
|
|
|
2
2
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { SmartDialogData } from './smartdialog.model';
|
|
5
|
+
import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
6
|
+
import { Injector } from '@angular/core';
|
|
7
|
+
import { ComponentLibrary } from '../view-context/utility/componentLibrary';
|
|
5
8
|
export declare abstract class SmartdialogService {
|
|
6
9
|
protected dialog: MatDialog;
|
|
7
10
|
protected router: Router;
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
protected dialogService: DialogService;
|
|
12
|
+
protected inject: Injector;
|
|
13
|
+
compLib: ComponentLibrary;
|
|
14
|
+
constructor(dialog: MatDialog, router: Router, dialogService: DialogService, inject: Injector, compLib: ComponentLibrary);
|
|
15
|
+
componentLibrary: typeof ComponentLibrary;
|
|
16
|
+
dialogRef: MatDialogRef<any> | DynamicDialogRef;
|
|
10
17
|
dialogData: SmartDialogData;
|
|
11
18
|
defaultDialogSizes: {
|
|
12
19
|
maxHeight: number;
|
|
@@ -14,9 +21,9 @@ export declare abstract class SmartdialogService {
|
|
|
14
21
|
maxWidth: number;
|
|
15
22
|
minWidth: number;
|
|
16
23
|
};
|
|
17
|
-
createDialog(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any
|
|
24
|
+
createDialog(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any> | DynamicDialogRef;
|
|
18
25
|
createDialogRef(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any>;
|
|
19
|
-
openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any
|
|
26
|
+
openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any> | DynamicDialogRef;
|
|
20
27
|
handleAfterClosed(result: any): void;
|
|
21
28
|
openDialog(): void;
|
|
22
29
|
closeDialog(): Promise<void>;
|
|
@@ -2,14 +2,17 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { UiActionDescriptor } from '../../../api';
|
|
3
3
|
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
4
4
|
import { UiActionConfirmDialogService } from './ui-action-confirm-dialog.service';
|
|
5
|
+
import { ComponentLibrary } from '../../../projects';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class UiActionConfirmDialogComponent implements OnDestroy {
|
|
7
8
|
private service;
|
|
9
|
+
compLib: ComponentLibrary;
|
|
8
10
|
private manager;
|
|
9
11
|
code: string;
|
|
10
12
|
dialogType: 'dialog' | 'confirmDialog' | 'inputDialog';
|
|
13
|
+
componentLibrary: typeof ComponentLibrary;
|
|
11
14
|
descriptor?: UiActionDescriptor;
|
|
12
|
-
constructor(service: UiActionConfirmDialogService, manager: UiActionDescriptorService);
|
|
15
|
+
constructor(service: UiActionConfirmDialogService, compLib: ComponentLibrary, manager: UiActionDescriptorService);
|
|
13
16
|
setUp(): Promise<void>;
|
|
14
17
|
ngOnDestroy(): void;
|
|
15
18
|
getTitle(): string;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
1
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
3
|
import { Router } from '@angular/router';
|
|
3
4
|
import { Subject } from 'rxjs';
|
|
4
5
|
import { UiAction } from '../../../api';
|
|
5
6
|
import { SmartdialogService } from '../../../../smart-dialog/smartdialog.service';
|
|
7
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
8
|
+
import { ComponentLibrary } from '../../../projects';
|
|
6
9
|
import * as i0 from "@angular/core";
|
|
7
10
|
export declare class UiActionConfirmDialogService extends SmartdialogService {
|
|
8
11
|
_destroy$: Subject<void>;
|
|
9
12
|
action: UiAction;
|
|
10
13
|
onAction: Subject<void>;
|
|
11
14
|
shouldDoAction: boolean;
|
|
12
|
-
constructor(dialog: MatDialog, router: Router);
|
|
15
|
+
constructor(dialog: MatDialog, router: Router, dialogService: DialogService, inject: Injector, compLib: ComponentLibrary);
|
|
13
16
|
openDialog(): void;
|
|
14
17
|
doAction(): void;
|
|
15
18
|
cancel(): void;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { MatDialog
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { UiAction } from '../../../api';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
6
|
+
import { SmartdialogService } from '../../../../smart-dialog/smartdialog.service';
|
|
7
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
9
8
|
import { ComponentLibrary } from '../../../projects';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class UiActionFileUploadDialogService extends
|
|
10
|
+
export declare class UiActionFileUploadDialogService extends SmartdialogService {
|
|
12
11
|
_destroy$: Subject<void>;
|
|
13
12
|
inputTypeName: 'inputDialog' | 'input2Dialog';
|
|
14
13
|
action: UiAction;
|
|
@@ -16,8 +15,6 @@ export declare class UiActionFileUploadDialogService extends SmartViewContextDia
|
|
|
16
15
|
onAction: Subject<void>;
|
|
17
16
|
files?: any;
|
|
18
17
|
isMultiple: boolean;
|
|
19
|
-
dialogData?: SmartDialogData;
|
|
20
|
-
dialofRef?: MatDialogRef<any, any> | DynamicDialogRef;
|
|
21
18
|
constructor(dialog: MatDialog, router: Router, dialogService: DialogService, inject: Injector, compLib: ComponentLibrary);
|
|
22
19
|
setDataAndOpenDialog(action: UiAction, nodeName?: string): void;
|
|
23
20
|
openDialog(): void;
|
|
@@ -3,16 +3,19 @@ import { UiActionDescriptor } from '../../../api';
|
|
|
3
3
|
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
4
4
|
import { UiActionInputDialogService } from './ui-action-input-dialog.service';
|
|
5
5
|
import { SmartForm } from '../../../../smart-form/smartform.model';
|
|
6
|
+
import { ComponentLibrary } from '../../../projects';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class UiActionInputDialogComponent implements OnDestroy {
|
|
8
9
|
private service;
|
|
10
|
+
compLib: ComponentLibrary;
|
|
9
11
|
private manager;
|
|
10
12
|
folderFormChild: any;
|
|
11
13
|
code: string;
|
|
12
14
|
folderForm: SmartForm;
|
|
15
|
+
componentLibrary: typeof ComponentLibrary;
|
|
13
16
|
dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
|
|
14
17
|
descriptor?: UiActionDescriptor;
|
|
15
|
-
constructor(service: UiActionInputDialogService, manager: UiActionDescriptorService);
|
|
18
|
+
constructor(service: UiActionInputDialogService, compLib: ComponentLibrary, manager: UiActionDescriptorService);
|
|
16
19
|
ngOnDestroy(): void;
|
|
17
20
|
setUp(): Promise<void>;
|
|
18
21
|
getTitle(): string;
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { MatDialog
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { UiAction, UiActionRequest } from '../../../api';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
6
|
+
import { SmartdialogService } from '../../../../smart-dialog/smartdialog.service';
|
|
7
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
9
8
|
import { ComponentLibrary } from '../../../projects';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class UiActionInputDialogService extends
|
|
10
|
+
export declare class UiActionInputDialogService extends SmartdialogService {
|
|
12
11
|
_destroy$: Subject<void>;
|
|
13
12
|
inputTypeName: 'inputDialog' | 'input2Dialog';
|
|
14
13
|
action: UiAction;
|
|
15
14
|
nodeName?: string;
|
|
16
15
|
onAction: Subject<EditFolderAction>;
|
|
17
16
|
params?: any;
|
|
18
|
-
dialogData?: SmartDialogData;
|
|
19
|
-
dialofRef?: MatDialogRef<any, any> | DynamicDialogRef;
|
|
20
17
|
constructor(dialog: MatDialog, router: Router, dialogService: DialogService, inject: Injector, compLib: ComponentLibrary);
|
|
21
18
|
setDataAndOpenDialog(action: UiAction, nodeName?: string): void;
|
|
22
19
|
openDialog(): void;
|
|
@@ -13,7 +13,7 @@ export declare class SmartViewContextDialogService {
|
|
|
13
13
|
protected inject: Injector;
|
|
14
14
|
compLib: ComponentLibrary;
|
|
15
15
|
componentLibrary: typeof ComponentLibrary;
|
|
16
|
-
constructor(
|
|
16
|
+
private constructor();
|
|
17
17
|
createDialog(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any> | DynamicDialogRef;
|
|
18
18
|
createDialogRef(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any> | DynamicDialogRef;
|
|
19
19
|
openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any> | DynamicDialogRef;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
1
2
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
3
|
import { Router } from '@angular/router';
|
|
3
4
|
import { SmartdialogService } from '../../smart-dialog/projects';
|
|
4
5
|
import { ViewApiError } from '../api';
|
|
5
6
|
import { SmartViewContextApiError } from '../smart-view-context.model';
|
|
6
7
|
import { SmartViewContextService } from '../smart-view-context.service';
|
|
8
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
9
|
+
import { ComponentLibrary } from '../projects';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
11
|
export declare class SmartViewContextErrorDialogService extends SmartdialogService {
|
|
9
12
|
private viewContext;
|
|
10
13
|
viewApiError?: ViewApiError;
|
|
11
14
|
dialogRefs: MatDialogRef<any, any>[];
|
|
12
|
-
constructor(dialog: MatDialog, router: Router, viewContext: SmartViewContextService);
|
|
15
|
+
constructor(dialog: MatDialog, router: Router, viewContext: SmartViewContextService, dialogService: DialogService, inject: Injector, compLib: ComponentLibrary);
|
|
13
16
|
handleAfterClosed(result: any): void;
|
|
14
17
|
openDialog(): void;
|
|
15
18
|
closeDialog(): Promise<void>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|