@schneideress/dashboardframework 0.0.81 → 0.0.83
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 +1 -5
- 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/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/fesm2015/schneideress-dashboardframework.js +1 -5
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +1 -5
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1156,8 +1156,6 @@
|
|
|
1156
1156
|
if (areaHeight < 600) {
|
|
1157
1157
|
areaHeight = 600;
|
|
1158
1158
|
}
|
|
1159
|
-
console.log('grid height value is');
|
|
1160
|
-
console.log(areaHeight);
|
|
1161
1159
|
this.gridheight = areaHeight;
|
|
1162
1160
|
};
|
|
1163
1161
|
/** To remove a widget instance from dashboard and to save info in database */
|
|
@@ -1356,7 +1354,7 @@
|
|
|
1356
1354
|
RADashboardArea.decorators = [
|
|
1357
1355
|
{ type: core.Component, args: [{
|
|
1358
1356
|
selector: 'ra-dashboard-area',
|
|
1359
|
-
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",
|
|
1357
|
+
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",
|
|
1360
1358
|
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)}"]
|
|
1361
1359
|
}] }
|
|
1362
1360
|
];
|
|
@@ -1772,14 +1770,12 @@
|
|
|
1772
1770
|
return __generator(this, function (_b) {
|
|
1773
1771
|
switch (_b.label) {
|
|
1774
1772
|
case 0:
|
|
1775
|
-
debugger;
|
|
1776
1773
|
_a = this;
|
|
1777
1774
|
return [4 /*yield*/, this.widgetElement.loadLockStatus(config)];
|
|
1778
1775
|
case 1:
|
|
1779
1776
|
_a.lockStatus = _b.sent();
|
|
1780
1777
|
if (this.lockStatus == 'lock') {
|
|
1781
1778
|
this.lockTitle = 'Locked';
|
|
1782
|
-
console.log(this.lockTitle);
|
|
1783
1779
|
}
|
|
1784
1780
|
else {
|
|
1785
1781
|
this.lockTitle = 'Partially Locked';
|