@schneideress/dashboardframework 17.0.27 → 17.0.29
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/ra-dashboard-area/ra.dashboard.area.mjs +41 -4
- package/esm2022/lib/ra-widget-container/ra.widget.container.component.mjs +5 -3
- package/esm2022/lib/ra.base.dashboard.template.mjs +8 -2
- package/esm2022/lib/ra.event.enum.mjs +5 -1
- package/fesm2022/schneideress-dashboardframework.mjs +55 -6
- package/fesm2022/schneideress-dashboardframework.mjs.map +1 -1
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +15 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +1 -0
- package/lib/ra.base.dashboard.template.d.ts +3 -1
- package/lib/ra.event.enum.d.ts +5 -1
- package/package.json +1 -1
|
@@ -35,6 +35,7 @@ export declare class RADashboardArea implements OnInit, OnChanges, OnDestroy {
|
|
|
35
35
|
private isWidgetLoaded;
|
|
36
36
|
domResized: boolean;
|
|
37
37
|
showEmptyDashboard: boolean;
|
|
38
|
+
showDownloadOnlyState: boolean;
|
|
38
39
|
isWidgetMgmnt: boolean;
|
|
39
40
|
lastViewType: string;
|
|
40
41
|
bulkActionData: IBulkAction;
|
|
@@ -43,11 +44,22 @@ export declare class RADashboardArea implements OnInit, OnChanges, OnDestroy {
|
|
|
43
44
|
emptyDashboardMsg2: any;
|
|
44
45
|
emptyDashboardButtonText: any;
|
|
45
46
|
emptyDashboardButtonIcon: any;
|
|
47
|
+
DownloadOnlyStateTitle: any;
|
|
48
|
+
DownloadOnlyStateMsg1: any;
|
|
49
|
+
DownloadOnlyStateMsg2: any;
|
|
50
|
+
DownloadOnlyStateButtonText1: any;
|
|
51
|
+
DownloadOnlyStateButtonIcon1: any;
|
|
52
|
+
DownloadOnlyStateButtonText2: any;
|
|
53
|
+
DownloadOnlyStateButtonIcon2: any;
|
|
46
54
|
emptyDashboardButtonAction: any;
|
|
55
|
+
DownloadOnlyStateButtonAction1: any;
|
|
56
|
+
DownloadOnlyStateButtonAction2: any;
|
|
47
57
|
private initialWidgetCount;
|
|
48
58
|
private currentLoadingCount;
|
|
49
59
|
userDashboardId: number;
|
|
50
60
|
areaKey: string;
|
|
61
|
+
downloadDatastreamLimit: any;
|
|
62
|
+
reportDatastreamLimit: any;
|
|
51
63
|
globalFilter: any;
|
|
52
64
|
raDashboardEventBus: RADashboardEventBus;
|
|
53
65
|
widgetHeight: number;
|
|
@@ -65,6 +77,7 @@ export declare class RADashboardArea implements OnInit, OnChanges, OnDestroy {
|
|
|
65
77
|
ngOnChanges(changes: SimpleChanges): void;
|
|
66
78
|
ngAfterViewChecked(): void;
|
|
67
79
|
setEmptyDashboardConfig(): void;
|
|
80
|
+
setDownloadOnlyStateConfig(): void;
|
|
68
81
|
/**To set GridsterConfig */
|
|
69
82
|
initiateGridsterConfig(): void;
|
|
70
83
|
widgetLoaded(widgetElement: any, widget: any): void;
|
|
@@ -107,8 +120,9 @@ export declare class RADashboardArea implements OnInit, OnChanges, OnDestroy {
|
|
|
107
120
|
mapGridsterItemToObject(widgetItem: GridsterItem): IWidgetInfo;
|
|
108
121
|
mapGridsterListToObject(widgetItemList: Array<GridsterItem>): IWidgetInfo[];
|
|
109
122
|
buttonClick(): void;
|
|
123
|
+
buttonActionClick(action: any): void;
|
|
110
124
|
updateAppliedFilters(data: any): void;
|
|
111
125
|
checkPAMWidgets(): void;
|
|
112
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<RADashboardArea, never>;
|
|
113
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RADashboardArea, "ra-dashboard-area", never, { "userDashboardId": { "alias": "user-dashboard-id"; "required": false; }; "areaKey": { "alias": "area-key"; "required": false; }; "globalFilter": { "alias": "global-filter"; "required": false; }; "raDashboardEventBus": { "alias": "event-bus"; "required": false; }; "widgetHeight": { "alias": "widget-height"; "required": false; }; "widgetWidth": { "alias": "widget-width"; "required": false; }; "appConfig": { "alias": "app-config"; "required": false; }; "dashboardInfo": { "alias": "dashboard-info"; "required": false; }; "isIndicatorDashboard": { "alias": "isIndicatorDashboard"; "required": false; }; "templateConfig": { "alias": "templateConfig"; "required": false; }; }, { "hideDashboardBanner": "hideDashboardBanner"; }, never, never, false, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RADashboardArea, "ra-dashboard-area", never, { "userDashboardId": { "alias": "user-dashboard-id"; "required": false; }; "areaKey": { "alias": "area-key"; "required": false; }; "downloadDatastreamLimit": { "alias": "download-datastream-limit"; "required": false; }; "reportDatastreamLimit": { "alias": "report-datastream-limit"; "required": false; }; "globalFilter": { "alias": "global-filter"; "required": false; }; "raDashboardEventBus": { "alias": "event-bus"; "required": false; }; "widgetHeight": { "alias": "widget-height"; "required": false; }; "widgetWidth": { "alias": "widget-width"; "required": false; }; "appConfig": { "alias": "app-config"; "required": false; }; "dashboardInfo": { "alias": "dashboard-info"; "required": false; }; "isIndicatorDashboard": { "alias": "isIndicatorDashboard"; "required": false; }; "templateConfig": { "alias": "templateConfig"; "required": false; }; }, { "hideDashboardBanner": "hideDashboardBanner"; }, never, never, false, never>;
|
|
114
128
|
}
|
|
@@ -33,6 +33,7 @@ export declare class RAWidgetContainer implements OnInit, OnChanges, AfterViewIn
|
|
|
33
33
|
toolTipValue: string;
|
|
34
34
|
toolTipWidth: string;
|
|
35
35
|
lockDetails: any;
|
|
36
|
+
hideLock: boolean;
|
|
36
37
|
lockTemplateInfo: TemplateRef<any>;
|
|
37
38
|
editToolTipValue: string;
|
|
38
39
|
copyToolTipValue: string;
|
|
@@ -12,10 +12,12 @@ export declare abstract class RaBaseDashboardTemplate {
|
|
|
12
12
|
templateConfig: any;
|
|
13
13
|
dashboardId: number;
|
|
14
14
|
globalFilter: any;
|
|
15
|
+
downloadDatastreamLimit: any;
|
|
16
|
+
reportDatastreamLimit: any;
|
|
15
17
|
constructor(ngZone: NgZone);
|
|
16
18
|
initialize: (eventBus: RADashboardEventBus, userDashboardId: number, appConfig: IAppConfig, dashboardInfo: IDashboardInfo, isIndicatorDashboard: boolean, templateConfig?: any) => void;
|
|
17
19
|
abstract init(): void;
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<RaBaseDashboardTemplate, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RaBaseDashboardTemplate, never, never, { "dashboardId": { "alias": "dashboard-id"; "required": false; }; "globalFilter": { "alias": "global-filter"; "required": false; }; "initialize": { "alias": "initialize"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RaBaseDashboardTemplate, never, never, { "dashboardId": { "alias": "dashboard-id"; "required": false; }; "globalFilter": { "alias": "global-filter"; "required": false; }; "downloadDatastreamLimit": { "alias": "download-datastream-limit"; "required": false; }; "reportDatastreamLimit": { "alias": "report-datastream-limit"; "required": false; }; "initialize": { "alias": "initialize"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
23
|
}
|
package/lib/ra.event.enum.d.ts
CHANGED
|
@@ -56,7 +56,11 @@ export declare enum RAEvent {
|
|
|
56
56
|
/** When user change the curated filter(eg:data streams), system will create/delete widgets */
|
|
57
57
|
CuratedFilterChange = "CuratedFilterChange",
|
|
58
58
|
GlobalFilterClick = "GlobalFilterClick",
|
|
59
|
-
LayoutChange = "LayoutChange"
|
|
59
|
+
LayoutChange = "LayoutChange",
|
|
60
|
+
/** Event raised when DownloadOnlyState is activated */
|
|
61
|
+
DownloadOnlyState = "DownloadOnlyState",
|
|
62
|
+
/** Event on excel download button clicked*/
|
|
63
|
+
DownloadExcelClick = "DownloadExcelClick"
|
|
60
64
|
}
|
|
61
65
|
export declare enum RAEventKey {
|
|
62
66
|
/** on edit widget click */
|