@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.
- package/bundles/schneideress-dashboardframework.umd.js +5 -1
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +2 -2
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +5 -1
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +2 -2
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +5 -1
- package/fesm2015/schneideress-dashboardframework.js +5 -1
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +5 -1
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +1 -0
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -964,7 +964,7 @@ class RADashboardArea {
|
|
|
964
964
|
RADashboardArea.decorators = [
|
|
965
965
|
{ type: Component, args: [{
|
|
966
966
|
selector: 'ra-dashboard-area',
|
|
967
|
-
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
|
|
967
|
+
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",
|
|
968
968
|
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)}"]
|
|
969
969
|
}] }
|
|
970
970
|
];
|
|
@@ -1136,6 +1136,7 @@ class RAWidgetContainer {
|
|
|
1136
1136
|
let size = {};
|
|
1137
1137
|
size.height = this.height;
|
|
1138
1138
|
size.width = this.width;
|
|
1139
|
+
size.cellHeight = this.gridCellHeight;
|
|
1139
1140
|
this.widgetElement.widgetResized(size);
|
|
1140
1141
|
}
|
|
1141
1142
|
}
|
|
@@ -1426,6 +1427,7 @@ RAWidgetContainer.propDecorators = {
|
|
|
1426
1427
|
appConfig: [{ type: Input, args: ['app-config',] }],
|
|
1427
1428
|
width: [{ type: Input, args: ['widget-width',] }],
|
|
1428
1429
|
height: [{ type: Input, args: ['widget-height',] }],
|
|
1430
|
+
gridCellHeight: [{ type: Input, args: ['grid-cell-height',] }],
|
|
1429
1431
|
widgetDeleted: [{ type: Output }]
|
|
1430
1432
|
};
|
|
1431
1433
|
if (false) {
|
|
@@ -1486,6 +1488,8 @@ if (false) {
|
|
|
1486
1488
|
/** @type {?} */
|
|
1487
1489
|
RAWidgetContainer.prototype.height;
|
|
1488
1490
|
/** @type {?} */
|
|
1491
|
+
RAWidgetContainer.prototype.gridCellHeight;
|
|
1492
|
+
/** @type {?} */
|
|
1489
1493
|
RAWidgetContainer.prototype.widgetDeleted;
|
|
1490
1494
|
/** @type {?} */
|
|
1491
1495
|
RAWidgetContainer.prototype.lockTitle;
|