@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.
@@ -1874,6 +1874,7 @@ var RAWidgetContainer = /** @class */ (function () {
1874
1874
  widgetContainerContext.ngxService.stop();
1875
1875
  if (status) {
1876
1876
  widgetContainerContext.widgetDeleted.emit(_this.data.widgetInfo.widgetInstanceId);
1877
+ _this.setInapplicableFilters(undefined, _this.data.widgetInfo.widgetInstanceId);
1877
1878
  }
1878
1879
  else {
1879
1880
  widgetContainerContext.notifier.notify('error', " " + _this.translateService.translate('FailedToRemoveWidget') + " (" + _this.translateService.translate('Common.' + _this.data.widgetInfo.widgetTitle, true) + ")!");
@@ -1891,6 +1892,7 @@ var RAWidgetContainer = /** @class */ (function () {
1891
1892
  */
1892
1893
  function () {
1893
1894
  this.raDashboardEventBus.publish(RAEvent.MoveWidget, this.data.widgetInfo);
1895
+ this.setInapplicableFilters(undefined, this.data.widgetInfo.widgetInstanceId);
1894
1896
  // this.dashboardService.moveWidget(widgetInfo);
1895
1897
  };
1896
1898
  /** To Copy Current widget with same configuration*/
@@ -1914,6 +1916,8 @@ var RAWidgetContainer = /** @class */ (function () {
1914
1916
  */
1915
1917
  function () {
1916
1918
  this.baseUrl = this.getHostUrl();
1919
+ if (this.data.widgetInfo.widgetType == 'AV Widget')
1920
+ this.baseUrl = '';
1917
1921
  /** @type {?} */
1918
1922
  var url = this.baseUrl + this.detailPageUrl;
1919
1923
  if (this.data.widgetInfo && this.data.widgetInfo.widgetSettings) {
@@ -1921,8 +1925,12 @@ var RAWidgetContainer = /** @class */ (function () {
1921
1925
  if (this.widgetSettings.customPageParams) {
1922
1926
  /** @type {?} */
1923
1927
  var params = this.widgetElement.getPageParamsClicked();
1924
- if (params)
1925
- url = url + '?' + params;
1928
+ if (params) {
1929
+ if (this.data.widgetInfo.widgetType == 'AV Widget')
1930
+ url = url + params;
1931
+ else
1932
+ url = url + '?' + params;
1933
+ }
1926
1934
  }
1927
1935
  }
1928
1936
  window.open(url, '_blank');