@schneideress/dashboardframework 0.0.180 → 0.0.182

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.
@@ -1634,7 +1634,7 @@ var RAWidgetContainer = /** @class */ (function () {
1634
1634
  function () {
1635
1635
  /** @type {?} */
1636
1636
  var widgetConfigFilter;
1637
- if (this.widgetElement) {
1637
+ if (this.widgetElement && typeof (this.widgetElement.getConfigFilter) == 'function') {
1638
1638
  /** @type {?} */
1639
1639
  var configData = this.widgetElement.getConfigFilter();
1640
1640
  if (configData) {
@@ -1747,9 +1747,12 @@ var RAWidgetContainer = /** @class */ (function () {
1747
1747
  if (this.gridCellHeight > 0) {
1748
1748
  this.data.widgetInfo.rowHeight = this.gridCellHeight;
1749
1749
  }
1750
- if (this.widgetElement) {
1750
+ if (this.widgetElement && typeof (this.widgetElement.setConfigFilter) == 'function') {
1751
1751
  this.widgetElement.setConfigFilter(this.generateConfigFilter(true));
1752
1752
  }
1753
+ else {
1754
+ console.warn('widget framework outdated, please update to version 0.0.98');
1755
+ }
1753
1756
  this.refreshWidget(this.data.widgetInfo, true);
1754
1757
  };
1755
1758
  /**
@@ -2016,6 +2019,9 @@ var RAWidgetContainer = /** @class */ (function () {
2016
2019
  console.log('wiget container filter data is');
2017
2020
  console.log(widgetConfigFilter);
2018
2021
  if (!widgetContainerContext.isWidgetLoaded) return [3 /*break*/, 3];
2022
+ if (this.widgetElement && typeof (this.widgetElement.setConfigFilter) == 'function') {
2023
+ widgetContainerContext.widgetElement.setConfigFilter(widgetConfigFilter);
2024
+ }
2019
2025
  widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
2020
2026
  return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
2021
2027
  case 1: