@schneideress/dashboardframework 0.0.80 → 0.0.81

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.
@@ -1356,7 +1356,7 @@
1356
1356
  RADashboardArea.decorators = [
1357
1357
  { type: core.Component, args: [{
1358
1358
  selector: 'ra-dashboard-area',
1359
- template: "<div #gridWrapper class=\"wrap gridster\" [style.height.px]=\"gridheight\" >\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [widget-width]=\"item.cols * item.rowHeight\" [widget-height]=\"item.rows * item.rowHeight\" [widget-instance-id]=\"item.widgetInstanceId\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n <notifier-container></notifier-container>\r\n</div>\r\n\r\n",
1359
+ template: "<div #gridWrapper class=\"wrap gridster\" [style.height.px]=\"gridheight\" >\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [grid-cell-height]=\"item.rowHeight\" [widget-width]=\"item.cols\" [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n <notifier-container></notifier-container>\r\n</div>\r\n\r\n",
1360
1360
  styles: ["gridster{width:inherit;resize:height;display:-webkit-box;display:flex;background-color:#ededed;overflow-y:hidden!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;-webkit-transition:.3s;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;box-shadow:0 1px 10px rgba(0,0,0,.05)}gridster-item:hover{box-shadow:0 1px 10px rgba(0,0,0,.15)}"]
1361
1361
  }] }
1362
1362
  ];
@@ -1528,6 +1528,7 @@
1528
1528
  var size = {};
1529
1529
  size.height = this.height;
1530
1530
  size.width = this.width;
1531
+ size.cellHeight = this.gridCellHeight;
1531
1532
  this.widgetElement.widgetResized(size);
1532
1533
  }
1533
1534
  }
@@ -1930,6 +1931,7 @@
1930
1931
  appConfig: [{ type: core.Input, args: ['app-config',] }],
1931
1932
  width: [{ type: core.Input, args: ['widget-width',] }],
1932
1933
  height: [{ type: core.Input, args: ['widget-height',] }],
1934
+ gridCellHeight: [{ type: core.Input, args: ['grid-cell-height',] }],
1933
1935
  widgetDeleted: [{ type: core.Output }]
1934
1936
  };
1935
1937
  return RAWidgetContainer;
@@ -1992,6 +1994,8 @@
1992
1994
  /** @type {?} */
1993
1995
  RAWidgetContainer.prototype.height;
1994
1996
  /** @type {?} */
1997
+ RAWidgetContainer.prototype.gridCellHeight;
1998
+ /** @type {?} */
1995
1999
  RAWidgetContainer.prototype.widgetDeleted;
1996
2000
  /** @type {?} */
1997
2001
  RAWidgetContainer.prototype.lockTitle;