@smartbit4all/ng-client 4.0.15 → 4.0.16

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.
@@ -7,9 +7,8 @@ import * as i5 from "@angular/material/icon";
7
7
  import * as i6 from "../view-context/smart-view-context.module";
8
8
  import * as i7 from "../smart-table/smarttable.module";
9
9
  import * as i8 from "../smart-icon/smart-icon.module";
10
- import * as i9 from "primeng/dialog";
11
10
  export declare class SmartdialogModule {
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartdialogModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.SmartViewContextModule, typeof i7.SmarttableModule, typeof i8.SmartIconModule, typeof i9.DialogModule], [typeof i1.SmartDialog]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.SmartViewContextModule, typeof i7.SmarttableModule, typeof i8.SmartIconModule], [typeof i1.SmartDialog]>;
14
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartdialogModule>;
15
14
  }
@@ -17,10 +17,9 @@ import * as i15 from "./smart-component-layout/smart-component-layout.module";
17
17
  import * as i16 from "./smart-filter-editor/smart-filter-editor.module";
18
18
  import * as i17 from "./shared/shared.module";
19
19
  import * as i18 from "primeng/fileupload";
20
- import * as i19 from "primeng/dialog";
21
- import * as i20 from "./smart-tree/smarttree.module";
20
+ import * as i19 from "./smart-tree/smarttree.module";
22
21
  export declare class SmartNgClientModule {
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.ComponentFactoryServiceModule, typeof i5.SmartViewContextModule, typeof i6.SmartdialogModule, typeof i7.SmartFilterModule, typeof i8.SmartGridModule, typeof i9.SmartIconModule, typeof i10.SmartNavbarModule, typeof i11.SmartSessionModule, typeof i12.SmartTabGroupModule, typeof i13.SmarttableModule, typeof i14.SmartExpandableSectionModule, typeof i15.SmartComponentLayoutModule, typeof i16.SmartFilterEditorModule, typeof i17.SharedModule, typeof i18.FileUploadModule, typeof i19.DialogModule], [typeof i4.ComponentFactoryServiceModule, typeof i15.SmartComponentLayoutModule, typeof i6.SmartdialogModule, typeof i14.SmartExpandableSectionModule, typeof i7.SmartFilterModule, typeof i8.SmartGridModule, typeof i9.SmartIconModule, typeof i10.SmartNavbarModule, typeof i11.SmartSessionModule, typeof i12.SmartTabGroupModule, typeof i13.SmarttableModule, typeof i5.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i20.SmarttreeModule, typeof i17.SharedModule]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.ComponentFactoryServiceModule, typeof i5.SmartViewContextModule, typeof i6.SmartdialogModule, typeof i7.SmartFilterModule, typeof i8.SmartGridModule, typeof i9.SmartIconModule, typeof i10.SmartNavbarModule, typeof i11.SmartSessionModule, typeof i12.SmartTabGroupModule, typeof i13.SmarttableModule, typeof i14.SmartExpandableSectionModule, typeof i15.SmartComponentLayoutModule, typeof i16.SmartFilterEditorModule, typeof i17.SharedModule, typeof i18.FileUploadModule], [typeof i4.ComponentFactoryServiceModule, typeof i15.SmartComponentLayoutModule, typeof i6.SmartdialogModule, typeof i14.SmartExpandableSectionModule, typeof i7.SmartFilterModule, typeof i8.SmartGridModule, typeof i9.SmartIconModule, typeof i10.SmartNavbarModule, typeof i11.SmartSessionModule, typeof i12.SmartTabGroupModule, typeof i13.SmarttableModule, typeof i5.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i19.SmarttreeModule, typeof i17.SharedModule]>;
25
24
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
26
25
  }
@@ -2,15 +2,20 @@ 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 '../smart-dialog/smartdialog.model';
5
+ import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';
6
+ import { ComponentLibrary } from './utility/componentLibrary';
5
7
  import * as i0 from "@angular/core";
6
8
  export declare class SmartViewContextDialogService {
7
9
  protected dialog: MatDialog;
8
10
  protected router: Router;
11
+ protected dialogService: DialogService;
12
+ compLib: ComponentLibrary;
13
+ componentLibrary: typeof ComponentLibrary;
9
14
  private constructor();
10
- createDialog(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any>;
11
- createDialogRef(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any>;
12
- openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any>;
13
- closeDialog(dialogRef: MatDialogRef<any, any>, dialogData: SmartDialogData): Promise<void>;
15
+ createDialog(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any> | DynamicDialogRef;
16
+ createDialogRef(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any> | DynamicDialogRef;
17
+ openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any> | DynamicDialogRef;
18
+ closeDialog(dialogRef: MatDialogRef<any, any> | DynamicDialogRef, dialogData: SmartDialogData): Promise<void>;
14
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextDialogService, never>;
15
20
  static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextDialogService>;
16
21
  }
@@ -1,6 +1,7 @@
1
1
  import { ComponentType } from '@angular/cdk/portal';
2
2
  import { EventEmitter } from '@angular/core';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
+ import { DynamicDialogRef } from 'primeng/dynamicdialog';
4
5
  import { Observable } from 'rxjs';
5
6
  export interface SmartViewHandlerModel {
6
7
  name: string;
@@ -20,7 +21,7 @@ export interface SmartViewContextApiErrors {
20
21
  }
21
22
  export interface SmartViewDialogRef {
22
23
  uuid: string;
23
- dialogRef: MatDialogRef<any, any>;
24
+ dialogRef: MatDialogRef<any, any> | DynamicDialogRef;
24
25
  }
25
26
  export interface SmartTranslateService {
26
27
  get(key: string | Array<string>, interpolateParams?: Object): Observable<string | any>;
@@ -47,8 +47,9 @@ import * as i45 from "primeng/inputnumber";
47
47
  import * as i46 from "primeng/inputtextarea";
48
48
  import * as i47 from "primeng/floatlabel";
49
49
  import * as i48 from "primeng/toast";
50
+ import * as i49 from "primeng/dynamicdialog";
50
51
  export declare class SmartViewContextModule {
51
52
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextModule, never>;
52
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i6.UiActionConfirmDialogComponent, typeof i7.UiActionFileUploadDialogComponent, typeof i8.InvalidFieldsSnackBarComponent, typeof i9.SmartformComponent, typeof i10.SmartformwidgetComponent, typeof i11.SmartfileuploaderComponent, typeof i12.TrackCapsDirective, typeof i13.LargeFileSnackBarComponent, typeof i14.SortableWidgetComponent, typeof i15.SmartMonthPickerComponent, typeof i16.HighlightPipe], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.MatCommonModule, typeof i20.MatButtonModule, typeof i21.ButtonModule, typeof i22.MatIconModule, typeof i23.MatSnackBarModule, typeof i24.SmartIconModule, typeof i25.MatTooltipModule, typeof i26.SharedModule, typeof i27.SharedModule, typeof i28.BrowserModule, typeof i29.MatChipsModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.MatFormFieldModule, typeof i32.MatCheckboxModule, typeof i33.MatSelectModule, typeof i34.MatInputModule, typeof i35.MatDatepickerModule, typeof i36.MatMomentDateModule, typeof i37.MatRadioModule, typeof i38.MatSlideToggleModule, typeof i39.MatAutocompleteModule, typeof i40.QuillModule, typeof i41.DragDropModule, typeof i42.YouTubePlayerModule, typeof i43.InputTextModule, typeof i44.DropdownModule, typeof i30.FormsModule, typeof i45.InputNumberModule, typeof i46.InputTextareaModule, typeof i47.FloatLabelModule, typeof i17.CommonModule, typeof i48.ToastModule], [typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i9.SmartformComponent, typeof i10.SmartformwidgetComponent, typeof i11.SmartfileuploaderComponent, typeof i16.HighlightPipe]>;
53
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i6.UiActionConfirmDialogComponent, typeof i7.UiActionFileUploadDialogComponent, typeof i8.InvalidFieldsSnackBarComponent, typeof i9.SmartformComponent, typeof i10.SmartformwidgetComponent, typeof i11.SmartfileuploaderComponent, typeof i12.TrackCapsDirective, typeof i13.LargeFileSnackBarComponent, typeof i14.SortableWidgetComponent, typeof i15.SmartMonthPickerComponent, typeof i16.HighlightPipe], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.MatCommonModule, typeof i20.MatButtonModule, typeof i21.ButtonModule, typeof i22.MatIconModule, typeof i23.MatSnackBarModule, typeof i24.SmartIconModule, typeof i25.MatTooltipModule, typeof i26.SharedModule, typeof i27.SharedModule, typeof i28.BrowserModule, typeof i29.MatChipsModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.MatFormFieldModule, typeof i32.MatCheckboxModule, typeof i33.MatSelectModule, typeof i34.MatInputModule, typeof i35.MatDatepickerModule, typeof i36.MatMomentDateModule, typeof i37.MatRadioModule, typeof i38.MatSlideToggleModule, typeof i39.MatAutocompleteModule, typeof i40.QuillModule, typeof i41.DragDropModule, typeof i42.YouTubePlayerModule, typeof i43.InputTextModule, typeof i44.DropdownModule, typeof i30.FormsModule, typeof i45.InputNumberModule, typeof i46.InputTextareaModule, typeof i47.FloatLabelModule, typeof i17.CommonModule, typeof i48.ToastModule, typeof i49.DynamicDialogModule], [typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i9.SmartformComponent, typeof i10.SmartformwidgetComponent, typeof i11.SmartfileuploaderComponent, typeof i16.HighlightPipe]>;
53
54
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartViewContextModule>;
54
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.0.15",
3
+ "version": "4.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
Binary file