@schneideress/dashboardframework 0.0.277 → 0.0.278
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/bundles/schneideress-dashboardframework.umd.js +3 -4
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +3 -5
- package/esm2015/lib/ra.base.dashboard.filter.js +2 -1
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +3 -5
- package/esm5/lib/ra.base.dashboard.filter.js +2 -1
- package/fesm2015/schneideress-dashboardframework.js +3 -4
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +3 -4
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +0 -1
- package/lib/ra.base.dashboard.filter.d.ts +1 -0
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -411,7 +411,6 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
411
411
|
this.domResized = false;
|
|
412
412
|
this.showEmptyDashboard = false;
|
|
413
413
|
this.isWidgetMgmnt = false;
|
|
414
|
-
this.templateId = '';
|
|
415
414
|
this.widgetHeight = 2;
|
|
416
415
|
this.widgetWidth = 4;
|
|
417
416
|
this.hideDashboardBanner = new EventEmitter();
|
|
@@ -580,12 +579,11 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
580
579
|
/** To retrieve widgets based on userDashboardid and area name */
|
|
581
580
|
RADashboardArea.prototype.loadWidgets = function (userDashboarId, areaKey) {
|
|
582
581
|
var _this = this;
|
|
583
|
-
|
|
584
|
-
this.templateId = localStorage.getItem('IndicatorDashboardTemplateId');
|
|
582
|
+
var isIndicatorDashboard = localStorage.getItem('IsIndicatorDashboard') == 'true' ? true : false;
|
|
585
583
|
var widgetInfo = {
|
|
586
584
|
dashboardId: userDashboarId.toString(),
|
|
587
585
|
dashboardAreaKey: areaKey,
|
|
588
|
-
|
|
586
|
+
isIndicatorDashboard: isIndicatorDashboard
|
|
589
587
|
};
|
|
590
588
|
this.widgetList = [];
|
|
591
589
|
this.dashboardService.getWidgetsByDashboardArea(widgetInfo, this.appConfig).subscribe(function (widgets) {
|
|
@@ -4836,6 +4834,7 @@ var RaBaseDashboardFilter = /** @class */ (function () {
|
|
|
4836
4834
|
RaBaseDashboardFilter.prototype.ngOnInit = function () {
|
|
4837
4835
|
var myEvent = new CustomEvent("global-filter-initiated");
|
|
4838
4836
|
document.body.dispatchEvent(myEvent);
|
|
4837
|
+
this.hideControls();
|
|
4839
4838
|
};
|
|
4840
4839
|
__decorate([
|
|
4841
4840
|
Input(),
|