@schneideress/dashboardframework 0.0.14 → 0.0.15

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.
@@ -499,9 +499,10 @@ var RADashboardArea = /** @class */ (function () {
499
499
  * @return {?}
500
500
  */
501
501
  function (changes) {
502
- if (this.raDashboardEventBus && this.userDashboardId && this.areaKey) {
503
- this.initiateGridsterConfig();
502
+ if (this.globalFilter && this.raDashboardEventBus && this.appConfig) {
504
503
  this.loadWidgets(this.userDashboardId, this.areaKey);
504
+ }
505
+ if (changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
505
506
  this.inititateEventBusSubscritions();
506
507
  }
507
508
  };
@@ -656,12 +657,7 @@ var RADashboardArea = /** @class */ (function () {
656
657
  function (widgets) {
657
658
  if (widgets && widgets.length > 0) {
658
659
  areaContext.widgetList = _this.mapObjectListToGridsterItemList(widgets);
659
- setTimeout((/**
660
- * @return {?}
661
- */
662
- function () {
663
- areaContext.setAreaHeight();
664
- }), 2000);
660
+ areaContext.setAreaHeight();
665
661
  }
666
662
  }));
667
663
  };
@@ -2587,12 +2583,6 @@ var GridsterComponent = /** @class */ (function () {
2587
2583
  if (this.options.destroyCallback) {
2588
2584
  this.options.destroyCallback(this);
2589
2585
  }
2590
- if (this.options.api) {
2591
- this.options.api.resize = undefined;
2592
- this.options.api.optionsChanged = undefined;
2593
- this.options.api.getNextPossiblePosition = undefined;
2594
- this.options.api = undefined;
2595
- }
2596
2586
  this.emptyCell.destroy();
2597
2587
  delete this.emptyCell;
2598
2588
  this.compact.destroy();
@@ -5776,15 +5766,5 @@ var RaBaseDashboardFilter = /** @class */ (function () {
5776
5766
  return RaBaseDashboardFilter;
5777
5767
  }());
5778
5768
 
5779
- /**
5780
- * @fileoverview added by tsickle
5781
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5782
- */
5783
-
5784
- /**
5785
- * @fileoverview added by tsickle
5786
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5787
- */
5788
-
5789
5769
  export { DashboardFrameworkModule, RADashboardArea, RADashboardEventBus, RAEvent, RAEventKey, RAWidgetContainer, RaBaseDashboardFilter, RaBaseDashboardTemplate, RaDashboardService, GridsterModule as ɵa, GridsterComponent as ɵb, GridsterItemComponent as ɵc, GridsterPreviewComponent as ɵd, customNotifierOptions as ɵe };
5790
5770
  //# sourceMappingURL=schneideress-dashboardframework.js.map