@schneideress/dashboardframework 0.0.18 → 0.0.20

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.
@@ -411,7 +411,7 @@ var CompactType = {
411
411
  /** @type {?} */
412
412
  var GridsterConfigDefaultSettings = {
413
413
  gridType: GridType.ScrollVertical,
414
- compactType: CompactType.None,
414
+ compactType: CompactType.CompactLeftAndUp,
415
415
  margin: 0,
416
416
  outerMargin: true,
417
417
  outerMarginTop: null,
@@ -502,7 +502,7 @@ var RADashboardArea = /** @class */ (function () {
502
502
  if (this.globalFilter && this.raDashboardEventBus && this.appConfig) {
503
503
  this.loadWidgets(this.userDashboardId, this.areaKey);
504
504
  }
505
- if (changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
505
+ if (changes.raDashboardEventBus && changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
506
506
  this.inititateEventBusSubscritions();
507
507
  }
508
508
  };
@@ -585,7 +585,6 @@ var RADashboardArea = /** @class */ (function () {
585
585
  * @return {?}
586
586
  */
587
587
  function () {
588
- console.log(widgetList);
589
588
  if (widgetList) {
590
589
  widgetList.forEach((/**
591
590
  * @param {?} widgetInfo
@@ -689,9 +688,6 @@ var RADashboardArea = /** @class */ (function () {
689
688
  if (this.options.api) {
690
689
  areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() + 2;
691
690
  }
692
- else {
693
- console.log('api not defined in auto height');
694
- }
695
691
  if (areaHeight < 600) {
696
692
  areaHeight = 600;
697
693
  }
@@ -925,7 +921,6 @@ var RAWidgetContainer = /** @class */ (function () {
925
921
  */
926
922
  function (changes) {
927
923
  var _this = this;
928
- console.log(this.data);
929
924
  if (changes.raDashboardEventBus && changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
930
925
  this.configChanged = this.raDashboardEventBus.subscribeWithKey(RAEvent.ConfigChanged, RAEventKey.WidgetInstanceId, this.data.widgetInfo.widgetInstanceId.toString()).subscribe((/**
931
926
  * @param {?} e
@@ -935,7 +930,7 @@ var RAWidgetContainer = /** @class */ (function () {
935
930
  _this.configChangeEventHandler(e);
936
931
  }));
937
932
  }
938
- if (this.widgetElement && changes.globalFilter.currentValue != changes.globalFilter.previousValue) {
933
+ if (this.widgetElement && changes.globalFilter && changes.globalFilter.currentValue != changes.globalFilter.previousValue) {
939
934
  this.refreshWidget(this.data.widgetInfo);
940
935
  }
941
936
  };