ets-fe-ng-sdk 17.0.19 → 17.0.21
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/Shared/components/page-template/page-template.component.mjs +1 -1
- package/esm2022/lib/Shared/components/page-to-component/page-to-component.service.mjs +1 -1
- package/esm2022/public-api.bundle.mjs +2 -1
- package/fesm2022/ets-fe-ng-sdk.mjs +58 -57
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/lib/Services/utility.service.d.ts +1 -1
- package/lib/Shared/components/page-template/page-template.component.d.ts +2 -2
- package/lib/Shared/components/page-to-component/page-to-component.service.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.bundle.d.ts +1 -0
|
@@ -229,7 +229,7 @@ export declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnv
|
|
|
229
229
|
inertVal?: T;
|
|
230
230
|
}) => (v: any) => string;
|
|
231
231
|
generateUUID(): string;
|
|
232
|
-
info: (text: string, status?: 0 |
|
|
232
|
+
info: (text: string, status?: 0 | 2 | 1, heading?: string, btns?: import("../../public-api.bundle").IInfoDialogBtn[], disableClose?: boolean) => Promise<boolean>;
|
|
233
233
|
debouncer: (config: {
|
|
234
234
|
uniqueKey: string;
|
|
235
235
|
callback: () => any;
|
|
@@ -2,9 +2,9 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { UtilityService } from '../../../../lib/Services/utility.service';
|
|
4
4
|
import { EPageType } from '../../models/index.model';
|
|
5
|
-
import { Environment } from '../../models/environment.model';
|
|
5
|
+
import { Environment, SDKEnvironment } from '../../models/environment.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PageTemplateComponent<ModelData = any, TEnvironment extends
|
|
7
|
+
export declare class PageTemplateComponent<ModelData = any, TEnvironment extends SDKEnvironment = Environment> {
|
|
8
8
|
route: ActivatedRoute;
|
|
9
9
|
uS: UtilityService<TEnvironment>;
|
|
10
10
|
loading: boolean;
|
|
@@ -2,6 +2,7 @@ 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';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PageToComponentService {
|
|
7
8
|
dialog: MatDialog;
|
|
@@ -15,7 +16,7 @@ export declare class PageToComponentService {
|
|
|
15
16
|
* @param modalConfig Modal configuration object to be passed to `MatDialog`
|
|
16
17
|
* @returns The `MatDialog.afterClosed` Observable
|
|
17
18
|
*/
|
|
18
|
-
pageToModalOpener: <ModalData>(component: Type<PageTemplateComponent<ModalData,
|
|
19
|
+
pageToModalOpener: <ModalData, TEnvironment extends SDKEnvironment>(component: Type<PageTemplateComponent<ModalData, TEnvironment>>, title: string, modelData?: ModalData, pageType?: EPageType, modalConfig?: MatDialogConfig) => import("rxjs").Observable<any>;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageToComponentService, never>;
|
|
20
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<PageToComponentService>;
|
|
21
22
|
}
|
package/package.json
CHANGED
package/public-api.bundle.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export * from './lib/Shared/components/modal/modal.component';
|
|
|
71
71
|
export * from './lib/Shared/components/modal/modal.module';
|
|
72
72
|
export * from './lib/Shared/components/page-template/page-template.component';
|
|
73
73
|
export * from './lib/Shared/components/page-template/page-template.module';
|
|
74
|
+
export * from './lib/Shared/components/paginator/paginator.component';
|
|
74
75
|
export * from './lib/Shared/components/page-to-component/page-to-component.component';
|
|
75
76
|
export * from './lib/Shared/components/page-to-component/page-to-component.directive';
|
|
76
77
|
export * from './lib/Shared/components/btn/btn-lg/btn-lg.component';
|