cat-qw-lib 2.1.15 → 2.1.17
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.
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { WidgetStore } from '../../state/widget.store';
|
|
3
3
|
import { CustomWidgetModel } from '../../../shared/models/custom-widget.model';
|
|
4
|
+
import { WidgetQuery } from '../../state/widget.query';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* Widget Container Component
|
|
7
8
|
*/
|
|
8
|
-
export declare class WidgetContainerComponent implements OnChanges {
|
|
9
|
+
export declare class WidgetContainerComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
10
|
private widgetStore;
|
|
10
|
-
|
|
11
|
+
private widgetQuery;
|
|
12
|
+
constructor(widgetStore: WidgetStore, widgetQuery: WidgetQuery);
|
|
11
13
|
isMenu: boolean;
|
|
12
14
|
offerWidgetData: CustomWidgetModel;
|
|
13
15
|
valuationWidgetData: CustomWidgetModel;
|
|
@@ -17,10 +19,14 @@ export declare class WidgetContainerComponent implements OnChanges {
|
|
|
17
19
|
onViewAllDetails: EventEmitter<any>;
|
|
18
20
|
onWidgetEventClick: EventEmitter<any>;
|
|
19
21
|
onWidgetItemClick: EventEmitter<any>;
|
|
22
|
+
onUpdatedWidgetList: EventEmitter<any>;
|
|
23
|
+
private destroy$;
|
|
24
|
+
ngOnInit(): void;
|
|
20
25
|
ngOnChanges(changes: SimpleChanges): void;
|
|
21
26
|
handleViewAllDetails(event: any): void;
|
|
22
27
|
handleWidgetEventClick(event: any): void;
|
|
23
28
|
handleWidgetItemClick(event: any): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
24
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetContainerComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetContainerComponent, "lib-widget-container", never, { "isMenu": { "alias": "isMenu"; "required": false; }; "offerWidgetData": { "alias": "offerWidgetData"; "required": false; }; "valuationWidgetData": { "alias": "valuationWidgetData"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "recordId": { "alias": "recordId"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; }, { "onViewAllDetails": "onViewAllDetails"; "onWidgetEventClick": "onWidgetEventClick"; "onWidgetItemClick": "onWidgetItemClick"; }, never, never, false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetContainerComponent, "lib-widget-container", never, { "isMenu": { "alias": "isMenu"; "required": false; }; "offerWidgetData": { "alias": "offerWidgetData"; "required": false; }; "valuationWidgetData": { "alias": "valuationWidgetData"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "recordId": { "alias": "recordId"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; }, { "onViewAllDetails": "onViewAllDetails"; "onWidgetEventClick": "onWidgetEventClick"; "onWidgetItemClick": "onWidgetItemClick"; "onUpdatedWidgetList": "onUpdatedWidgetList"; }, never, never, false, never>;
|
|
26
32
|
}
|
|
@@ -17,6 +17,7 @@ export declare class WidgetQuery extends BaseQuery<WidgetModel> {
|
|
|
17
17
|
getWidgetItem(): Observable<any>;
|
|
18
18
|
getIsMenu(): Observable<any>;
|
|
19
19
|
getWidgetData(): Observable<any>;
|
|
20
|
+
getWidgetList(): Observable<any>;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetQuery, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetQuery>;
|
|
22
23
|
}
|
|
@@ -20,6 +20,7 @@ export declare class WidgetStore extends BaseStore<WidgetModel> {
|
|
|
20
20
|
setWidgetItem(widgetItem: any): void;
|
|
21
21
|
setIsMenu(isMenu: boolean): void;
|
|
22
22
|
setWidgetData(value: any): void;
|
|
23
|
+
setWidgetsList(widgetsList: any): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStore, never>;
|
|
24
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetStore>;
|
|
25
26
|
}
|