@schneideress/dashboardframework 13.0.0 → 17.0.2
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/README.md +7 -7
- package/esm2022/gridster/index.mjs +12 -0
- package/esm2022/gridster/lib/gridster.component.mjs +627 -0
- package/esm2022/gridster/lib/gridster.interface.mjs +3 -0
- package/esm2022/gridster/lib/gridster.module.mjs +17 -0
- package/esm2022/gridster/lib/gridsterCompact.service.mjs +126 -0
- package/esm2022/gridster/lib/gridsterConfig.constant.mjs +118 -0
- package/esm2022/gridster/lib/gridsterConfig.interface.mjs +37 -0
- package/esm2022/gridster/lib/gridsterConfigS.interface.mjs +2 -0
- package/esm2022/gridster/lib/gridsterDraggable.service.mjs +405 -0
- package/esm2022/gridster/lib/gridsterEmptyCell.service.mjs +255 -0
- package/esm2022/gridster/lib/gridsterItem.component.mjs +228 -0
- package/esm2022/gridster/lib/gridsterItem.interface.mjs +3 -0
- package/esm2022/gridster/lib/gridsterPreview.component.mjs +36 -0
- package/esm2022/gridster/lib/gridsterPush.service.mjs +316 -0
- package/esm2022/gridster/lib/gridsterPushResize.service.mjs +225 -0
- package/esm2022/gridster/lib/gridsterRenderer.interface.mjs +2 -0
- package/esm2022/gridster/lib/gridsterRenderer.service.mjs +274 -0
- package/esm2022/gridster/lib/gridsterResizable.service.mjs +470 -0
- package/esm2022/gridster/lib/gridsterResizeEventType.interface.mjs +2 -0
- package/esm2022/gridster/lib/gridsterScroll.service.mjs +134 -0
- package/esm2022/gridster/lib/gridsterSwap.service.mjs +87 -0
- package/esm2022/gridster/lib/gridsterUtils.service.mjs +92 -0
- package/esm2022/lib/custom.notifier.options.mjs +41 -0
- package/esm2022/lib/ra-dashboard-area/ra.dashboard.area.mjs +460 -0
- package/esm2022/lib/ra-widget-container/lock-tooltip/lock.tooltip.component.mjs +43 -0
- package/esm2022/lib/ra-widget-container/ra.widget.container.component.mjs +767 -0
- package/esm2022/lib/ra.base.dashboard.filter.mjs +41 -0
- package/esm2022/lib/ra.base.dashboard.template.mjs +33 -0
- package/esm2022/lib/ra.dashbard.event.bus.mjs +46 -0
- package/esm2022/lib/ra.dashboard.module.mjs +55 -0
- package/esm2022/lib/ra.dashboard.responsive.service.mjs +139 -0
- package/esm2022/lib/ra.dashboard.service.mjs +77 -0
- package/esm2022/lib/ra.event.enum.mjs +60 -0
- package/esm2022/lib/ra.gridster.config.mjs +56 -0
- package/esm2022/public-api.mjs +13 -0
- package/esm2022/schneideress-dashboardframework.mjs +5 -0
- package/fesm2022/schneideress-dashboardframework.mjs +5198 -0
- package/fesm2022/schneideress-dashboardframework.mjs.map +1 -0
- package/gridster/index.d.ts +9 -0
- package/gridster/lib/gridster.component.d.ts +79 -0
- package/gridster/lib/gridster.interface.d.ts +49 -0
- package/gridster/lib/gridster.module.d.ts +8 -0
- package/gridster/lib/gridsterCompact.service.d.ts +11 -0
- package/gridster/lib/gridsterConfig.constant.d.ts +2 -0
- package/gridster/lib/gridsterConfig.interface.d.ts +155 -0
- package/gridster/lib/gridsterConfigS.interface.d.ts +107 -0
- package/gridster/lib/gridsterDraggable.service.d.ts +68 -0
- package/gridster/lib/gridsterEmptyCell.service.d.ts +31 -0
- package/gridster/lib/gridsterItem.component.d.ts +61 -0
- package/gridster/lib/gridsterItem.interface.d.ts +67 -0
- package/gridster/lib/gridsterPreview.component.d.ts +17 -0
- package/gridster/lib/gridsterPush.service.d.ts +34 -0
- package/gridster/lib/gridsterPushResize.service.d.ts +26 -0
- package/gridster/lib/gridsterRenderer.interface.d.ts +14 -0
- package/gridster/lib/gridsterRenderer.service.d.ts +37 -0
- package/gridster/lib/gridsterResizable.service.d.ts +86 -0
- package/gridster/lib/gridsterResizeEventType.interface.d.ts +6 -0
- package/gridster/lib/gridsterScroll.service.d.ts +7 -0
- package/gridster/lib/gridsterSwap.service.d.ts +13 -0
- package/gridster/lib/gridsterUtils.service.d.ts +16 -0
- package/{schneideress-dashboardframework.d.ts → index.d.ts} +5 -5
- package/lib/custom.notifier.options.d.ts +2 -2
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +88 -88
- package/lib/ra-widget-container/lock-tooltip/lock.tooltip.component.d.ts +20 -20
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +142 -142
- package/lib/ra.base.dashboard.filter.d.ts +17 -17
- package/lib/ra.base.dashboard.template.d.ts +18 -18
- package/lib/ra.dashbard.event.bus.d.ts +23 -23
- package/lib/ra.dashboard.module.d.ts +16 -17
- package/lib/ra.dashboard.responsive.service.d.ts +24 -24
- package/lib/ra.dashboard.service.d.ts +25 -25
- package/lib/ra.event.enum.d.ts +57 -57
- package/lib/ra.gridster.config.d.ts +2 -2
- package/package.json +11 -17
- package/public-api.d.ts +9 -9
- package/esm2020/lib/custom.notifier.options.mjs +0 -41
- package/esm2020/lib/ra-dashboard-area/ra.dashboard.area.mjs +0 -445
- package/esm2020/lib/ra-widget-container/lock-tooltip/lock.tooltip.component.mjs +0 -43
- package/esm2020/lib/ra-widget-container/ra.widget.container.component.mjs +0 -767
- package/esm2020/lib/ra.base.dashboard.filter.mjs +0 -44
- package/esm2020/lib/ra.base.dashboard.template.mjs +0 -36
- package/esm2020/lib/ra.dashbard.event.bus.mjs +0 -46
- package/esm2020/lib/ra.dashboard.module.mjs +0 -64
- package/esm2020/lib/ra.dashboard.responsive.service.mjs +0 -136
- package/esm2020/lib/ra.dashboard.service.mjs +0 -77
- package/esm2020/lib/ra.event.enum.mjs +0 -60
- package/esm2020/lib/ra.gridster.config.mjs +0 -56
- package/esm2020/public-api.mjs +0 -15
- package/esm2020/schneideress-dashboardframework.mjs +0 -5
- package/fesm2015/schneideress-dashboardframework.mjs +0 -1800
- package/fesm2015/schneideress-dashboardframework.mjs.map +0 -1
- package/fesm2020/schneideress-dashboardframework.mjs +0 -1790
- package/fesm2020/schneideress-dashboardframework.mjs.map +0 -1
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import { OnInit, ElementRef, EventEmitter, OnChanges, SimpleChanges, AfterViewInit, OnDestroy, NgZone, Renderer2, TemplateRef } from '@angular/core';
|
|
2
|
-
import { RaDashboardService } from './../ra.dashboard.service';
|
|
3
|
-
import { RADashboardEventBus } from '../ra.dashbard.event.bus';
|
|
4
|
-
import { IAppConfig, IWidgetInfo, RADownloadType, RaWidgetlockStatus, WidgetViewState, IconfigChanges } from '@schneideress/widgetframework';
|
|
5
|
-
import { NgxUiLoaderService } from 'ngx-ui-loader';
|
|
6
|
-
import { NotifierService } from 'angular-notifier';
|
|
7
|
-
import { RATranslateService, RAPermissionService, DomService } from '@schneideress/ra-common';
|
|
8
|
-
import { LockTooltip } from './lock-tooltip/lock.tooltip.component';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class RAWidgetContainer implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
11
|
-
private dashboardService;
|
|
12
|
-
private ngxService;
|
|
13
|
-
private translateService;
|
|
14
|
-
private ngZone;
|
|
15
|
-
private notifier;
|
|
16
|
-
private renderer;
|
|
17
|
-
private raPermissionService;
|
|
18
|
-
private domService;
|
|
19
|
-
showPanel: boolean;
|
|
20
|
-
private isWidgetLoaded;
|
|
21
|
-
private widgetElement;
|
|
22
|
-
private configChanged;
|
|
23
|
-
widgetHeight: number;
|
|
24
|
-
lockClass: string;
|
|
25
|
-
lockStatus: RaWidgetlockStatus;
|
|
26
|
-
isDownloadIconVisible: boolean;
|
|
27
|
-
isChartDownloadVisible: boolean;
|
|
28
|
-
isGridDownloadVisible: boolean;
|
|
29
|
-
downloadIconType: RADownloadType;
|
|
30
|
-
enableTitleLine: boolean;
|
|
31
|
-
isGlobalFilterApplied: boolean;
|
|
32
|
-
toolTipValue: string;
|
|
33
|
-
toolTipWidth: string;
|
|
34
|
-
lockDetails: any;
|
|
35
|
-
lockTemplateInfo: TemplateRef<any>;
|
|
36
|
-
editToolTipValue: string;
|
|
37
|
-
copyToolTipValue: string;
|
|
38
|
-
moveToolTipValue: string;
|
|
39
|
-
excelToolTipValue: string;
|
|
40
|
-
deleteToolTipValue: string;
|
|
41
|
-
editText: string;
|
|
42
|
-
copyText: string;
|
|
43
|
-
moveText: string;
|
|
44
|
-
excelText: string;
|
|
45
|
-
deleteText: string;
|
|
46
|
-
editToolTipWidth: string;
|
|
47
|
-
copyToolTipWidth: string;
|
|
48
|
-
moveToolTipWidth: string;
|
|
49
|
-
excelToolTipWidth: string;
|
|
50
|
-
deleteToolTipWidth: string;
|
|
51
|
-
widgetSettings: any;
|
|
52
|
-
noPadding: boolean;
|
|
53
|
-
isMouseHover: boolean;
|
|
54
|
-
showSettingsLink: boolean;
|
|
55
|
-
isKpiView: boolean;
|
|
56
|
-
showExcell: boolean;
|
|
57
|
-
hideTitle: boolean;
|
|
58
|
-
inapplicableFilters: any;
|
|
59
|
-
popupInstance: LockTooltip;
|
|
60
|
-
currentComponent: any;
|
|
61
|
-
lockIconTitle: any;
|
|
62
|
-
lockIconFooter: any;
|
|
63
|
-
inapplicableIconTitle: any;
|
|
64
|
-
inapplicableIconFooter: any;
|
|
65
|
-
ctlWidget: ElementRef;
|
|
66
|
-
widgetDropdown: ElementRef;
|
|
67
|
-
searchInput: ElementRef;
|
|
68
|
-
wcWrapper: ElementRef;
|
|
69
|
-
banPopupDiv: ElementRef;
|
|
70
|
-
lockPopupDiv: ElementRef;
|
|
71
|
-
widgetInstanceId: number;
|
|
72
|
-
globalFilter: any;
|
|
73
|
-
data: any;
|
|
74
|
-
raDashboardEventBus: RADashboardEventBus;
|
|
75
|
-
appConfig: IAppConfig;
|
|
76
|
-
width: number;
|
|
77
|
-
height: number;
|
|
78
|
-
gridCellHeight: number;
|
|
79
|
-
widgetDeleted: EventEmitter<string>;
|
|
80
|
-
updateAppliedFilters: EventEmitter<any>;
|
|
81
|
-
lockTitle: string;
|
|
82
|
-
isWidgetStateApplicable: boolean;
|
|
83
|
-
widgetEmptyState: string;
|
|
84
|
-
domResized: boolean;
|
|
85
|
-
lockVisible: boolean;
|
|
86
|
-
lockedFields: any;
|
|
87
|
-
detailPageUrl: string;
|
|
88
|
-
baseUrl: string;
|
|
89
|
-
isWidgetMgmnt: boolean;
|
|
90
|
-
WidgetDisplayName: string;
|
|
91
|
-
enableTitleLineActual: boolean;
|
|
92
|
-
widgetElementHandler: any;
|
|
93
|
-
set setResized(resized: boolean);
|
|
94
|
-
constructor(dashboardService: RaDashboardService, ngxService: NgxUiLoaderService, translateService: RATranslateService, ngZone: NgZone, notifier: NotifierService, renderer: Renderer2, raPermissionService: RAPermissionService, domService: DomService);
|
|
95
|
-
ngOnInit(): void;
|
|
96
|
-
get widgetViewState(): typeof WidgetViewState;
|
|
97
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
98
|
-
invokeWidgetResizedEvent(): void;
|
|
99
|
-
mouseHover(isHover?: boolean): void;
|
|
100
|
-
ngAfterViewInit(): void;
|
|
101
|
-
ngOnDestroy(): void;
|
|
102
|
-
/** To Edit current widget configuration*/
|
|
103
|
-
editWidget(): void;
|
|
104
|
-
/** To Delete current widget from DOM*/
|
|
105
|
-
deleteWidget(): void;
|
|
106
|
-
/** To Move or change position if current widget container*/
|
|
107
|
-
moveWidget(): void;
|
|
108
|
-
/** To Copy Current widget with same configuration*/
|
|
109
|
-
copyWidget(): void;
|
|
110
|
-
visitPage(): void;
|
|
111
|
-
getHostUrl(): string;
|
|
112
|
-
configChangeEventHandler(widgetInfo: any): void;
|
|
113
|
-
private generateConfigFilter;
|
|
114
|
-
/** To load external custom element to the widget container*/
|
|
115
|
-
loadWidget(widgetInfo: any): Promise<void>;
|
|
116
|
-
/**To set Default State for the widget when it is not configured */
|
|
117
|
-
setNotConfiguredState(widgetInfo: IWidgetInfo, forceEnable?: boolean): void;
|
|
118
|
-
/**To configure empty state for the widget */
|
|
119
|
-
setEmptyState(widgetState: any): void;
|
|
120
|
-
getConfigChanges(configChanged?: boolean): IconfigChanges;
|
|
121
|
-
/** To refresh widget on input config changes */
|
|
122
|
-
refreshWidget(widgetInfo: IWidgetInfo, configChanged?: boolean): Promise<void>;
|
|
123
|
-
mouseOver(event: any): void;
|
|
124
|
-
private setLock;
|
|
125
|
-
setDownloadIcon(): Promise<void>;
|
|
126
|
-
downloadIconClicked(type: string): void;
|
|
127
|
-
private removeMenu;
|
|
128
|
-
private checkVisitLinkVisiblity;
|
|
129
|
-
/**Show dropdown on gear icon click */
|
|
130
|
-
showDropDown(e: any): void;
|
|
131
|
-
private addEventListener;
|
|
132
|
-
private getContenxtHtml;
|
|
133
|
-
private getHr;
|
|
134
|
-
private getHtmlForButton;
|
|
135
|
-
private getParsedConfig;
|
|
136
|
-
private applayWidgetSettings;
|
|
137
|
-
private setInapplicableFilters;
|
|
138
|
-
openPopup(title: any, data: any, footer: any, type: any, template?: any): void;
|
|
139
|
-
closePopup(): void;
|
|
140
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RAWidgetContainer, never>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RAWidgetContainer, "ra-widget-container", never, { "widgetInstanceId": "widget-instance-id"; "globalFilter": "global-filter"; "data": "data"; "raDashboardEventBus": "event-bus"; "appConfig": "app-config"; "width": "widget-width"; "height": "widget-height"; "gridCellHeight": "grid-cell-height"; "setResized": "dom-resized"; }, { "widgetDeleted": "widgetDeleted"; "updateAppliedFilters": "updateAppliedFilters"; }, never, never>;
|
|
142
|
-
}
|
|
1
|
+
import { OnInit, ElementRef, EventEmitter, OnChanges, SimpleChanges, AfterViewInit, OnDestroy, NgZone, Renderer2, TemplateRef } from '@angular/core';
|
|
2
|
+
import { RaDashboardService } from './../ra.dashboard.service';
|
|
3
|
+
import { RADashboardEventBus } from '../ra.dashbard.event.bus';
|
|
4
|
+
import { IAppConfig, IWidgetInfo, RADownloadType, RaWidgetlockStatus, WidgetViewState, IconfigChanges } from '@schneideress/widgetframework';
|
|
5
|
+
import { NgxUiLoaderService } from 'ngx-ui-loader';
|
|
6
|
+
import { NotifierService } from 'angular-notifier';
|
|
7
|
+
import { RATranslateService, RAPermissionService, DomService } from '@schneideress/ra-common';
|
|
8
|
+
import { LockTooltip } from './lock-tooltip/lock.tooltip.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class RAWidgetContainer implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
11
|
+
private dashboardService;
|
|
12
|
+
private ngxService;
|
|
13
|
+
private translateService;
|
|
14
|
+
private ngZone;
|
|
15
|
+
private notifier;
|
|
16
|
+
private renderer;
|
|
17
|
+
private raPermissionService;
|
|
18
|
+
private domService;
|
|
19
|
+
showPanel: boolean;
|
|
20
|
+
private isWidgetLoaded;
|
|
21
|
+
private widgetElement;
|
|
22
|
+
private configChanged;
|
|
23
|
+
widgetHeight: number;
|
|
24
|
+
lockClass: string;
|
|
25
|
+
lockStatus: RaWidgetlockStatus;
|
|
26
|
+
isDownloadIconVisible: boolean;
|
|
27
|
+
isChartDownloadVisible: boolean;
|
|
28
|
+
isGridDownloadVisible: boolean;
|
|
29
|
+
downloadIconType: RADownloadType;
|
|
30
|
+
enableTitleLine: boolean;
|
|
31
|
+
isGlobalFilterApplied: boolean;
|
|
32
|
+
toolTipValue: string;
|
|
33
|
+
toolTipWidth: string;
|
|
34
|
+
lockDetails: any;
|
|
35
|
+
lockTemplateInfo: TemplateRef<any>;
|
|
36
|
+
editToolTipValue: string;
|
|
37
|
+
copyToolTipValue: string;
|
|
38
|
+
moveToolTipValue: string;
|
|
39
|
+
excelToolTipValue: string;
|
|
40
|
+
deleteToolTipValue: string;
|
|
41
|
+
editText: string;
|
|
42
|
+
copyText: string;
|
|
43
|
+
moveText: string;
|
|
44
|
+
excelText: string;
|
|
45
|
+
deleteText: string;
|
|
46
|
+
editToolTipWidth: string;
|
|
47
|
+
copyToolTipWidth: string;
|
|
48
|
+
moveToolTipWidth: string;
|
|
49
|
+
excelToolTipWidth: string;
|
|
50
|
+
deleteToolTipWidth: string;
|
|
51
|
+
widgetSettings: any;
|
|
52
|
+
noPadding: boolean;
|
|
53
|
+
isMouseHover: boolean;
|
|
54
|
+
showSettingsLink: boolean;
|
|
55
|
+
isKpiView: boolean;
|
|
56
|
+
showExcell: boolean;
|
|
57
|
+
hideTitle: boolean;
|
|
58
|
+
inapplicableFilters: any;
|
|
59
|
+
popupInstance: LockTooltip;
|
|
60
|
+
currentComponent: any;
|
|
61
|
+
lockIconTitle: any;
|
|
62
|
+
lockIconFooter: any;
|
|
63
|
+
inapplicableIconTitle: any;
|
|
64
|
+
inapplicableIconFooter: any;
|
|
65
|
+
ctlWidget: ElementRef;
|
|
66
|
+
widgetDropdown: ElementRef;
|
|
67
|
+
searchInput: ElementRef;
|
|
68
|
+
wcWrapper: ElementRef;
|
|
69
|
+
banPopupDiv: ElementRef;
|
|
70
|
+
lockPopupDiv: ElementRef;
|
|
71
|
+
widgetInstanceId: number;
|
|
72
|
+
globalFilter: any;
|
|
73
|
+
data: any;
|
|
74
|
+
raDashboardEventBus: RADashboardEventBus;
|
|
75
|
+
appConfig: IAppConfig;
|
|
76
|
+
width: number;
|
|
77
|
+
height: number;
|
|
78
|
+
gridCellHeight: number;
|
|
79
|
+
widgetDeleted: EventEmitter<string>;
|
|
80
|
+
updateAppliedFilters: EventEmitter<any>;
|
|
81
|
+
lockTitle: string;
|
|
82
|
+
isWidgetStateApplicable: boolean;
|
|
83
|
+
widgetEmptyState: string;
|
|
84
|
+
domResized: boolean;
|
|
85
|
+
lockVisible: boolean;
|
|
86
|
+
lockedFields: any;
|
|
87
|
+
detailPageUrl: string;
|
|
88
|
+
baseUrl: string;
|
|
89
|
+
isWidgetMgmnt: boolean;
|
|
90
|
+
WidgetDisplayName: string;
|
|
91
|
+
enableTitleLineActual: boolean;
|
|
92
|
+
widgetElementHandler: any;
|
|
93
|
+
set setResized(resized: boolean);
|
|
94
|
+
constructor(dashboardService: RaDashboardService, ngxService: NgxUiLoaderService, translateService: RATranslateService, ngZone: NgZone, notifier: NotifierService, renderer: Renderer2, raPermissionService: RAPermissionService, domService: DomService);
|
|
95
|
+
ngOnInit(): void;
|
|
96
|
+
get widgetViewState(): typeof WidgetViewState;
|
|
97
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
98
|
+
invokeWidgetResizedEvent(): void;
|
|
99
|
+
mouseHover(isHover?: boolean): void;
|
|
100
|
+
ngAfterViewInit(): void;
|
|
101
|
+
ngOnDestroy(): void;
|
|
102
|
+
/** To Edit current widget configuration*/
|
|
103
|
+
editWidget(): void;
|
|
104
|
+
/** To Delete current widget from DOM*/
|
|
105
|
+
deleteWidget(): void;
|
|
106
|
+
/** To Move or change position if current widget container*/
|
|
107
|
+
moveWidget(): void;
|
|
108
|
+
/** To Copy Current widget with same configuration*/
|
|
109
|
+
copyWidget(): void;
|
|
110
|
+
visitPage(): void;
|
|
111
|
+
getHostUrl(): string;
|
|
112
|
+
configChangeEventHandler(widgetInfo: any): void;
|
|
113
|
+
private generateConfigFilter;
|
|
114
|
+
/** To load external custom element to the widget container*/
|
|
115
|
+
loadWidget(widgetInfo: any): Promise<void>;
|
|
116
|
+
/**To set Default State for the widget when it is not configured */
|
|
117
|
+
setNotConfiguredState(widgetInfo: IWidgetInfo, forceEnable?: boolean): void;
|
|
118
|
+
/**To configure empty state for the widget */
|
|
119
|
+
setEmptyState(widgetState: any): void;
|
|
120
|
+
getConfigChanges(configChanged?: boolean): IconfigChanges;
|
|
121
|
+
/** To refresh widget on input config changes */
|
|
122
|
+
refreshWidget(widgetInfo: IWidgetInfo, configChanged?: boolean): Promise<void>;
|
|
123
|
+
mouseOver(event: any): void;
|
|
124
|
+
private setLock;
|
|
125
|
+
setDownloadIcon(): Promise<void>;
|
|
126
|
+
downloadIconClicked(type: string): void;
|
|
127
|
+
private removeMenu;
|
|
128
|
+
private checkVisitLinkVisiblity;
|
|
129
|
+
/**Show dropdown on gear icon click */
|
|
130
|
+
showDropDown(e: any): void;
|
|
131
|
+
private addEventListener;
|
|
132
|
+
private getContenxtHtml;
|
|
133
|
+
private getHr;
|
|
134
|
+
private getHtmlForButton;
|
|
135
|
+
private getParsedConfig;
|
|
136
|
+
private applayWidgetSettings;
|
|
137
|
+
private setInapplicableFilters;
|
|
138
|
+
openPopup(title: any, data: any, footer: any, type: any, template?: any): void;
|
|
139
|
+
closePopup(): void;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RAWidgetContainer, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RAWidgetContainer, "ra-widget-container", never, { "widgetInstanceId": { "alias": "widget-instance-id"; "required": false; }; "globalFilter": { "alias": "global-filter"; "required": false; }; "data": { "alias": "data"; "required": false; }; "raDashboardEventBus": { "alias": "event-bus"; "required": false; }; "appConfig": { "alias": "app-config"; "required": false; }; "width": { "alias": "widget-width"; "required": false; }; "height": { "alias": "widget-height"; "required": false; }; "gridCellHeight": { "alias": "grid-cell-height"; "required": false; }; "setResized": { "alias": "dom-resized"; "required": false; }; }, { "widgetDeleted": "widgetDeleted"; "updateAppliedFilters": "updateAppliedFilters"; }, never, never, false, never>;
|
|
142
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { IAppConfig } from '@schneideress/widgetframework';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare abstract class RaBaseDashboardFilter {
|
|
4
|
-
abstract getFilterConfig(): any;
|
|
5
|
-
abstract setFilterConfig(filter: string, appConfig: IAppConfig): any;
|
|
6
|
-
abstract clearData(): void;
|
|
7
|
-
abstract isValid(): boolean;
|
|
8
|
-
abstract showHideInapplicableMsg(status: boolean): any;
|
|
9
|
-
private getAllFilterConfig;
|
|
10
|
-
setInapplicableFilterMsg: (status: boolean) => void;
|
|
11
|
-
isValidEntry: () => boolean;
|
|
12
|
-
clearAllData: () => void;
|
|
13
|
-
setAllFilterConfig: (globalFilter: string, appConfig: IAppConfig) => void;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RaBaseDashboardFilter, never>;
|
|
16
|
-
static
|
|
17
|
-
}
|
|
1
|
+
import { IAppConfig } from '@schneideress/widgetframework';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class RaBaseDashboardFilter {
|
|
4
|
+
abstract getFilterConfig(): any;
|
|
5
|
+
abstract setFilterConfig(filter: string, appConfig: IAppConfig): any;
|
|
6
|
+
abstract clearData(): void;
|
|
7
|
+
abstract isValid(): boolean;
|
|
8
|
+
abstract showHideInapplicableMsg(status: boolean): any;
|
|
9
|
+
private getAllFilterConfig;
|
|
10
|
+
setInapplicableFilterMsg: (status: boolean) => void;
|
|
11
|
+
isValidEntry: () => boolean;
|
|
12
|
+
clearAllData: () => void;
|
|
13
|
+
setAllFilterConfig: (globalFilter: string, appConfig: IAppConfig) => void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RaBaseDashboardFilter, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RaBaseDashboardFilter, never, never, { "getAllFilterConfig": { "alias": "getAllFilterConfig"; "required": false; }; "setInapplicableFilterMsg": { "alias": "setInapplicableFilterMsg"; "required": false; }; "isValidEntry": { "alias": "isValidEntry"; "required": false; }; "clearAllData": { "alias": "clearAllData"; "required": false; }; "setAllFilterConfig": { "alias": "setAllFilterConfig"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { RADashboardEventBus } from './ra.dashbard.event.bus';
|
|
3
|
-
import { IAppConfig } from '@schneideress/widgetframework';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare abstract class RaBaseDashboardTemplate {
|
|
6
|
-
private ngZone;
|
|
7
|
-
userDashboardId: number;
|
|
8
|
-
raDashboardEventBus: RADashboardEventBus;
|
|
9
|
-
appConfig: IAppConfig;
|
|
10
|
-
dashboardId: number;
|
|
11
|
-
globalFilter: any;
|
|
12
|
-
constructor(ngZone: NgZone);
|
|
13
|
-
initialize: (eventBus: RADashboardEventBus, userDashboardId: number, appConfig: IAppConfig) => void;
|
|
14
|
-
abstract init(): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RaBaseDashboardTemplate, never>;
|
|
17
|
-
static
|
|
18
|
-
}
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { RADashboardEventBus } from './ra.dashbard.event.bus';
|
|
3
|
+
import { IAppConfig } from '@schneideress/widgetframework';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class RaBaseDashboardTemplate {
|
|
6
|
+
private ngZone;
|
|
7
|
+
userDashboardId: number;
|
|
8
|
+
raDashboardEventBus: RADashboardEventBus;
|
|
9
|
+
appConfig: IAppConfig;
|
|
10
|
+
dashboardId: number;
|
|
11
|
+
globalFilter: any;
|
|
12
|
+
constructor(ngZone: NgZone);
|
|
13
|
+
initialize: (eventBus: RADashboardEventBus, userDashboardId: number, appConfig: IAppConfig) => void;
|
|
14
|
+
abstract init(): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RaBaseDashboardTemplate, never>;
|
|
17
|
+
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>;
|
|
18
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RADashboardEventBus {
|
|
4
|
-
private eventQueue;
|
|
5
|
-
/**
|
|
6
|
-
* To emit an event with the name & data
|
|
7
|
-
*/
|
|
8
|
-
publish(eventName: string, data: any): void;
|
|
9
|
-
/**
|
|
10
|
-
* To emit an event with the name, data, key & value
|
|
11
|
-
*/
|
|
12
|
-
publishWithKey(eventName: string, data: any, key: string, value: string): void;
|
|
13
|
-
/**
|
|
14
|
-
* To subscribe to an event with the name
|
|
15
|
-
*/
|
|
16
|
-
subscribe(eventName: string): Observable<any>;
|
|
17
|
-
/**
|
|
18
|
-
* To subscribe to an event with the name key & value
|
|
19
|
-
*/
|
|
20
|
-
subscribeWithKey(eventName: string, key: string, value: string): Observable<any>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RADashboardEventBus, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RADashboardEventBus>;
|
|
23
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RADashboardEventBus {
|
|
4
|
+
private eventQueue;
|
|
5
|
+
/**
|
|
6
|
+
* To emit an event with the name & data
|
|
7
|
+
*/
|
|
8
|
+
publish(eventName: string, data: any): void;
|
|
9
|
+
/**
|
|
10
|
+
* To emit an event with the name, data, key & value
|
|
11
|
+
*/
|
|
12
|
+
publishWithKey(eventName: string, data: any, key: string, value: string): void;
|
|
13
|
+
/**
|
|
14
|
+
* To subscribe to an event with the name
|
|
15
|
+
*/
|
|
16
|
+
subscribe(eventName: string): Observable<any>;
|
|
17
|
+
/**
|
|
18
|
+
* To subscribe to an event with the name key & value
|
|
19
|
+
*/
|
|
20
|
+
subscribeWithKey(eventName: string, key: string, value: string): Observable<any>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RADashboardEventBus, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RADashboardEventBus>;
|
|
23
|
+
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ra-dashboard-area/ra.dashboard.area";
|
|
3
|
-
import * as i2 from "./ra-widget-container/ra.widget.container.component";
|
|
4
|
-
import * as i3 from "./ra-widget-container/lock-tooltip/lock.tooltip.component";
|
|
5
|
-
import * as i4 from "@angular/platform-browser";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/common/http";
|
|
8
|
-
import * as i7 from "ngx-ui-loader";
|
|
9
|
-
import * as i8 from "angular-notifier";
|
|
10
|
-
import * as i9 from "@schneideress/ra-common";
|
|
11
|
-
import * as i10 from "@schneideress/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
static
|
|
15
|
-
static
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ra-dashboard-area/ra.dashboard.area";
|
|
3
|
+
import * as i2 from "./ra-widget-container/ra.widget.container.component";
|
|
4
|
+
import * as i3 from "./ra-widget-container/lock-tooltip/lock.tooltip.component";
|
|
5
|
+
import * as i4 from "@angular/platform-browser";
|
|
6
|
+
import * as i5 from "../gridster/lib/gridster.module";
|
|
7
|
+
import * as i6 from "@angular/common/http";
|
|
8
|
+
import * as i7 from "ngx-ui-loader";
|
|
9
|
+
import * as i8 from "angular-notifier";
|
|
10
|
+
import * as i9 from "@schneideress/ra-common";
|
|
11
|
+
import * as i10 from "@schneideress/common-controls";
|
|
12
|
+
export declare class DashboardFrameworkModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardFrameworkModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardFrameworkModule, [typeof i1.RADashboardArea, typeof i2.RAWidgetContainer, typeof i3.LockTooltip], [typeof i4.BrowserModule, typeof i5.GridsterModule, typeof i6.HttpClientModule, typeof i7.NgxUiLoaderModule, typeof i8.NotifierModule, typeof i9.RACommonModule, typeof i10.RACommonControlsModule], [typeof i1.RADashboardArea]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardFrameworkModule>;
|
|
16
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { GridsterConfig, GridsterItem } from
|
|
2
|
-
import { Subject } from
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RADashboardResponsiveService {
|
|
5
|
-
resized: Subject<unknown>;
|
|
6
|
-
maxColsDesktop: number;
|
|
7
|
-
private screenWidthAdjusted;
|
|
8
|
-
private screenWidth;
|
|
9
|
-
private resInfo;
|
|
10
|
-
private currentResInfo;
|
|
11
|
-
constructor();
|
|
12
|
-
private setScreenWidth;
|
|
13
|
-
get IsDesktopView(): boolean;
|
|
14
|
-
get IsMobile(): boolean;
|
|
15
|
-
getGridsterConfig(isWidgetMgmnt: boolean): GridsterConfig;
|
|
16
|
-
/**To map IwidgetInfo object to gridsterItem */
|
|
17
|
-
getGridsterItem(widget: any): GridsterItem;
|
|
18
|
-
private getWidth;
|
|
19
|
-
private getMinItemRows;
|
|
20
|
-
private getMinItemCols;
|
|
21
|
-
private getHeight;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RADashboardResponsiveService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RADashboardResponsiveService>;
|
|
24
|
-
}
|
|
1
|
+
import { GridsterConfig, GridsterItem } from "../gridster";
|
|
2
|
+
import { Subject } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RADashboardResponsiveService {
|
|
5
|
+
resized: Subject<unknown>;
|
|
6
|
+
maxColsDesktop: number;
|
|
7
|
+
private screenWidthAdjusted;
|
|
8
|
+
private screenWidth;
|
|
9
|
+
private resInfo;
|
|
10
|
+
private currentResInfo;
|
|
11
|
+
constructor();
|
|
12
|
+
private setScreenWidth;
|
|
13
|
+
get IsDesktopView(): boolean;
|
|
14
|
+
get IsMobile(): boolean;
|
|
15
|
+
getGridsterConfig(isWidgetMgmnt: boolean): GridsterConfig;
|
|
16
|
+
/**To map IwidgetInfo object to gridsterItem */
|
|
17
|
+
getGridsterItem(widget: any): GridsterItem;
|
|
18
|
+
private getWidth;
|
|
19
|
+
private getMinItemRows;
|
|
20
|
+
private getMinItemCols;
|
|
21
|
+
private getHeight;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RADashboardResponsiveService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RADashboardResponsiveService>;
|
|
24
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { BaseService } from '@schneideress/ra-common';
|
|
3
|
-
import { IAppConfig, IWidgetInfo } from '@schneideress/widgetframework';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RaDashboardService extends BaseService {
|
|
6
|
-
constructor(injector: Injector);
|
|
7
|
-
private loadedScripts;
|
|
8
|
-
loadExternalScript(scriptPath: string, callback: any): void;
|
|
9
|
-
getWidgetsByDashboardArea(widgetInfo: IWidgetInfo, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
10
|
-
updateWidgets(widgetList: Array<IWidgetInfo>, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
11
|
-
getWidgetConfigInfo(widgetInfo: any): import("rxjs").Observable<never>;
|
|
12
|
-
updateConfig(config: any, widgetInstanceId: number): void;
|
|
13
|
-
/**To add widget to the database */
|
|
14
|
-
addWidget(widgetInfo: any, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
15
|
-
/** To Delete current widget from DOM*/
|
|
16
|
-
deleteWidget(widgetInfo: any, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
17
|
-
/**To Update widgetInfo in database */
|
|
18
|
-
updateWidget(widgetInfo: IWidgetInfo, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
19
|
-
/** To Move or change position if current widget container*/
|
|
20
|
-
moveWidget(widgetInfo: any): void;
|
|
21
|
-
/** To Copy Current widget with same configuration*/
|
|
22
|
-
copyWidget(widgetInfo: any): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RaDashboardService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RaDashboardService>;
|
|
25
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { BaseService } from '@schneideress/ra-common';
|
|
3
|
+
import { IAppConfig, IWidgetInfo } from '@schneideress/widgetframework';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RaDashboardService extends BaseService {
|
|
6
|
+
constructor(injector: Injector);
|
|
7
|
+
private loadedScripts;
|
|
8
|
+
loadExternalScript(scriptPath: string, callback: any): void;
|
|
9
|
+
getWidgetsByDashboardArea(widgetInfo: IWidgetInfo, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
10
|
+
updateWidgets(widgetList: Array<IWidgetInfo>, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
11
|
+
getWidgetConfigInfo(widgetInfo: any): import("rxjs").Observable<never>;
|
|
12
|
+
updateConfig(config: any, widgetInstanceId: number): void;
|
|
13
|
+
/**To add widget to the database */
|
|
14
|
+
addWidget(widgetInfo: any, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
15
|
+
/** To Delete current widget from DOM*/
|
|
16
|
+
deleteWidget(widgetInfo: any, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
17
|
+
/**To Update widgetInfo in database */
|
|
18
|
+
updateWidget(widgetInfo: IWidgetInfo, appConfig: IAppConfig): import("rxjs").Observable<any>;
|
|
19
|
+
/** To Move or change position if current widget container*/
|
|
20
|
+
moveWidget(widgetInfo: any): void;
|
|
21
|
+
/** To Copy Current widget with same configuration*/
|
|
22
|
+
copyWidget(widgetInfo: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RaDashboardService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RaDashboardService>;
|
|
25
|
+
}
|