@schneideress/dashboardframework 0.0.82 → 0.0.84
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 +2 -6
- 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 -4
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +1 -3
- package/esm2015/lib/ra.gridster.config.js +2 -2
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +2 -4
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +1 -3
- package/esm5/lib/ra.gridster.config.js +2 -2
- package/fesm2015/schneideress-dashboardframework.js +2 -6
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +2 -6
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -671,7 +671,7 @@ var GridsterConfigDefaultSettings = {
|
|
|
671
671
|
disablePushOnDrag: false,
|
|
672
672
|
disablePushOnResize: false,
|
|
673
673
|
pushDirections: { north: true, east: true, south: true, west: true },
|
|
674
|
-
pushResizeItems:
|
|
674
|
+
pushResizeItems: false,
|
|
675
675
|
displayGrid: DisplayGrid.None,
|
|
676
676
|
disableWindowResize: false,
|
|
677
677
|
disableWarnings: false,
|
|
@@ -967,8 +967,6 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
967
967
|
if (areaHeight < 600) {
|
|
968
968
|
areaHeight = 600;
|
|
969
969
|
}
|
|
970
|
-
console.log('grid height value is');
|
|
971
|
-
console.log(areaHeight);
|
|
972
970
|
this.gridheight = areaHeight;
|
|
973
971
|
};
|
|
974
972
|
/** To remove a widget instance from dashboard and to save info in database */
|
|
@@ -1167,7 +1165,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1167
1165
|
RADashboardArea.decorators = [
|
|
1168
1166
|
{ type: Component, args: [{
|
|
1169
1167
|
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\" [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",
|
|
1168
|
+
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.widgetInfo.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
1169
|
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
1170
|
}] }
|
|
1173
1171
|
];
|
|
@@ -1583,14 +1581,12 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1583
1581
|
return __generator(this, function (_b) {
|
|
1584
1582
|
switch (_b.label) {
|
|
1585
1583
|
case 0:
|
|
1586
|
-
debugger;
|
|
1587
1584
|
_a = this;
|
|
1588
1585
|
return [4 /*yield*/, this.widgetElement.loadLockStatus(config)];
|
|
1589
1586
|
case 1:
|
|
1590
1587
|
_a.lockStatus = _b.sent();
|
|
1591
1588
|
if (this.lockStatus == 'lock') {
|
|
1592
1589
|
this.lockTitle = 'Locked';
|
|
1593
|
-
console.log(this.lockTitle);
|
|
1594
1590
|
}
|
|
1595
1591
|
else {
|
|
1596
1592
|
this.lockTitle = 'Partially Locked';
|