@schneideress/dashboardframework 0.0.59 → 0.0.60

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.
@@ -660,7 +660,7 @@ var GridsterConfigDefaultSettings = {
660
660
  },
661
661
  swap: true,
662
662
  pushItems: true,
663
- disablePushOnDrag: true,
663
+ disablePushOnDrag: false,
664
664
  disablePushOnResize: false,
665
665
  pushDirections: { north: true, east: true, south: true, west: true },
666
666
  pushResizeItems: true,
@@ -669,6 +669,10 @@ var GridsterConfigDefaultSettings = {
669
669
  disableWarnings: false,
670
670
  scrollToNewItems: true,
671
671
  autoResizeonDrag: false,
672
+ setGridSize: true
673
+ //itemResizeCallback: (item) => this.itemResize(item),
674
+ //itemChangeCallback: (item) => this.itemCallBack(item),
675
+ //itemInitCallback: (item) => this.itemInitCallback(item)
672
676
  };
673
677
 
674
678
  /**
@@ -1153,8 +1157,8 @@ var RADashboardArea = /** @class */ (function () {
1153
1157
  RADashboardArea.decorators = [
1154
1158
  { type: Component, args: [{
1155
1159
  selector: 'ra-dashboard-area',
1156
- 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\" [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",
1157
- styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#fcfcfc}.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;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)}"]
1160
+ template: "<div #gridWrapper class=\"wrap gridster\" >\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\" [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",
1161
+ styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#fcfcfc;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;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)}"]
1158
1162
  }] }
1159
1163
  ];
1160
1164
  /** @nocollapse */