@schneideress/dashboardframework 0.0.80 → 0.0.82

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.
@@ -1167,7 +1167,7 @@ var RADashboardArea = /** @class */ (function () {
1167
1167
  RADashboardArea.decorators = [
1168
1168
  { type: Component, args: [{
1169
1169
  selector: 'ra-dashboard-area',
1170
- 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",
1170
+ 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",
1171
1171
  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)}"]
1172
1172
  }] }
1173
1173
  ];
@@ -1339,6 +1339,7 @@ var RAWidgetContainer = /** @class */ (function () {
1339
1339
  var size = {};
1340
1340
  size.height = this.height;
1341
1341
  size.width = this.width;
1342
+ size.cellHeight = this.gridCellHeight;
1342
1343
  this.widgetElement.widgetResized(size);
1343
1344
  }
1344
1345
  }
@@ -1741,6 +1742,7 @@ var RAWidgetContainer = /** @class */ (function () {
1741
1742
  appConfig: [{ type: Input, args: ['app-config',] }],
1742
1743
  width: [{ type: Input, args: ['widget-width',] }],
1743
1744
  height: [{ type: Input, args: ['widget-height',] }],
1745
+ gridCellHeight: [{ type: Input, args: ['grid-cell-height',] }],
1744
1746
  widgetDeleted: [{ type: Output }]
1745
1747
  };
1746
1748
  return RAWidgetContainer;
@@ -1803,6 +1805,8 @@ if (false) {
1803
1805
  /** @type {?} */
1804
1806
  RAWidgetContainer.prototype.height;
1805
1807
  /** @type {?} */
1808
+ RAWidgetContainer.prototype.gridCellHeight;
1809
+ /** @type {?} */
1806
1810
  RAWidgetContainer.prototype.widgetDeleted;
1807
1811
  /** @type {?} */
1808
1812
  RAWidgetContainer.prototype.lockTitle;