@schneideress/dashboardframework 0.0.230 → 0.0.232
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 +10 -2
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +2 -2
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +11 -3
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +11 -3
- package/fesm2015/schneideress-dashboardframework.js +10 -2
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +10 -2
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -2085,6 +2085,7 @@
|
|
|
2085
2085
|
widgetContainerContext.ngxService.stop();
|
|
2086
2086
|
if (status) {
|
|
2087
2087
|
widgetContainerContext.widgetDeleted.emit(_this.data.widgetInfo.widgetInstanceId);
|
|
2088
|
+
_this.setInapplicableFilters(undefined, _this.data.widgetInfo.widgetInstanceId);
|
|
2088
2089
|
}
|
|
2089
2090
|
else {
|
|
2090
2091
|
widgetContainerContext.notifier.notify('error', " " + _this.translateService.translate('FailedToRemoveWidget') + " (" + _this.translateService.translate('Common.' + _this.data.widgetInfo.widgetTitle, true) + ")!");
|
|
@@ -2102,6 +2103,7 @@
|
|
|
2102
2103
|
*/
|
|
2103
2104
|
function () {
|
|
2104
2105
|
this.raDashboardEventBus.publish(RAEvent.MoveWidget, this.data.widgetInfo);
|
|
2106
|
+
this.setInapplicableFilters(undefined, this.data.widgetInfo.widgetInstanceId);
|
|
2105
2107
|
// this.dashboardService.moveWidget(widgetInfo);
|
|
2106
2108
|
};
|
|
2107
2109
|
/** To Copy Current widget with same configuration*/
|
|
@@ -2125,6 +2127,8 @@
|
|
|
2125
2127
|
*/
|
|
2126
2128
|
function () {
|
|
2127
2129
|
this.baseUrl = this.getHostUrl();
|
|
2130
|
+
if (this.data.widgetInfo.widgetType == 'AV Widget')
|
|
2131
|
+
this.baseUrl = '';
|
|
2128
2132
|
/** @type {?} */
|
|
2129
2133
|
var url = this.baseUrl + this.detailPageUrl;
|
|
2130
2134
|
if (this.data.widgetInfo && this.data.widgetInfo.widgetSettings) {
|
|
@@ -2132,8 +2136,12 @@
|
|
|
2132
2136
|
if (this.widgetSettings.customPageParams) {
|
|
2133
2137
|
/** @type {?} */
|
|
2134
2138
|
var params = this.widgetElement.getPageParamsClicked();
|
|
2135
|
-
if (params)
|
|
2136
|
-
|
|
2139
|
+
if (params) {
|
|
2140
|
+
if (this.data.widgetInfo.widgetType == 'AV Widget')
|
|
2141
|
+
url = url + params;
|
|
2142
|
+
else
|
|
2143
|
+
url = url + '?' + params;
|
|
2144
|
+
}
|
|
2137
2145
|
}
|
|
2138
2146
|
}
|
|
2139
2147
|
window.open(url, '_blank');
|