@schneideress/dashboardframework 0.0.58 → 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.
- package/bundles/schneideress-dashboardframework.umd.js +8 -4
- 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 +4 -4
- package/esm2015/lib/ra.gridster.config.js +6 -2
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +4 -4
- package/esm5/lib/ra.gridster.config.js +6 -2
- package/fesm2015/schneideress-dashboardframework.js +8 -4
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +8 -4
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -660,7 +660,7 @@ var GridsterConfigDefaultSettings = {
|
|
|
660
660
|
},
|
|
661
661
|
swap: true,
|
|
662
662
|
pushItems: true,
|
|
663
|
-
disablePushOnDrag:
|
|
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
|
/**
|
|
@@ -951,7 +955,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
951
955
|
t.widgetInfo.rowHeight = curRowHeight;
|
|
952
956
|
}));
|
|
953
957
|
if (this.options.api) {
|
|
954
|
-
areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() +
|
|
958
|
+
areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() + 150;
|
|
955
959
|
}
|
|
956
960
|
if (areaHeight < 600) {
|
|
957
961
|
areaHeight = 600;
|
|
@@ -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\"
|
|
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 */
|