@schneideress/dashboardframework 0.0.264 → 0.0.266
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 +9 -10
- 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 +2 -5
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +9 -7
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +2 -5
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +9 -7
- package/fesm2015/schneideress-dashboardframework.js +9 -10
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +9 -10
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +0 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +2 -2
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -537,7 +537,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
537
537
|
});
|
|
538
538
|
this.curatedFilterChange = this.raDashboardEventBus.subscribe(RAEvent.CuratedFilterChange).subscribe(function (e) {
|
|
539
539
|
_this.ngZone.run(function () {
|
|
540
|
-
_this.
|
|
540
|
+
_this.loadWidgets(_this.userDashboardId, _this.areaKey);
|
|
541
541
|
});
|
|
542
542
|
});
|
|
543
543
|
this.rearrangeWidgetClick = this.raDashboardEventBus.subscribe(RAEvent.RearrangeClicked).subscribe(function (e) {
|
|
@@ -740,9 +740,6 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
740
740
|
_this.setAreaHeight();
|
|
741
741
|
});
|
|
742
742
|
};
|
|
743
|
-
//to add widgets into gridster when there is a change in curated filter
|
|
744
|
-
RADashboardArea.prototype.addRemoveWidgets = function (data) {
|
|
745
|
-
};
|
|
746
743
|
/**To add widget instance to the database with the next available position and to make changes in
|
|
747
744
|
* dashboard area.
|
|
748
745
|
*/
|
|
@@ -1082,13 +1079,15 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1082
1079
|
}
|
|
1083
1080
|
}
|
|
1084
1081
|
if (changes.globalFilter && changes.globalFilter.currentValue != changes.globalFilter.previousValue) {
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
if (
|
|
1082
|
+
if (!this.dashboardInfo.curatedFilters) {
|
|
1083
|
+
var filterObj = this.getParsedConfig(this.globalFilter);
|
|
1084
|
+
if (filterObj.WidgetInstanceId) {
|
|
1085
|
+
if (this.data.widgetInfo.widgetInstanceId != filterObj.WidgetInstanceId)
|
|
1086
|
+
this.refreshWidget(this.data.widgetInfo);
|
|
1087
|
+
}
|
|
1088
|
+
else {
|
|
1088
1089
|
this.refreshWidget(this.data.widgetInfo);
|
|
1089
|
-
|
|
1090
|
-
else {
|
|
1091
|
-
this.refreshWidget(this.data.widgetInfo);
|
|
1090
|
+
}
|
|
1092
1091
|
}
|
|
1093
1092
|
}
|
|
1094
1093
|
if (changes.width && changes.width.currentValue != changes.width.previousValue ||
|