ets-fe-ng-sdk 17.0.21 → 17.0.22
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.
|
@@ -2,7 +2,6 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
3
3
|
import { EPageType } from '../../models/index.model';
|
|
4
4
|
import { PageTemplateComponent } from '../page-template/page-template.component';
|
|
5
|
-
import { SDKEnvironment } from '../../models/environment.model';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class PageToComponentService {
|
|
8
7
|
dialog: MatDialog;
|
|
@@ -16,7 +15,7 @@ export declare class PageToComponentService {
|
|
|
16
15
|
* @param modalConfig Modal configuration object to be passed to `MatDialog`
|
|
17
16
|
* @returns The `MatDialog.afterClosed` Observable
|
|
18
17
|
*/
|
|
19
|
-
pageToModalOpener: <ModalData,
|
|
18
|
+
pageToModalOpener: <ModalData, TComponent extends PageTemplateComponent<ModalData, import("../../models/environment.model").Environment>>(component: Type<TComponent>, title: string, modelData?: ModalData, pageType?: EPageType, modalConfig?: MatDialogConfig) => import("rxjs").Observable<any>;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageToComponentService, never>;
|
|
21
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<PageToComponentService>;
|
|
22
21
|
}
|