@schneideress/dashboardframework 0.0.248 → 0.0.250
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 +13 -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 +3 -3
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +6 -2
- package/esm2015/lib/ra.base.dashboard.template.js +5 -1
- package/esm2015/lib/ra.dashboard.service.js +1 -1
- package/esm2015/lib/ra.gridster.config.js +3 -3
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +3 -3
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +6 -2
- package/esm5/lib/ra.base.dashboard.template.js +5 -1
- package/esm5/lib/ra.dashboard.service.js +1 -1
- package/esm5/lib/ra.gridster.config.js +3 -3
- package/fesm2015/schneideress-dashboardframework.js +13 -5
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +13 -5
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +1 -0
- package/lib/ra.base.dashboard.template.d.ts +2 -1
- package/lib/ra.dashboard.service.d.ts +1 -3
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -199,9 +199,9 @@ var GridsterConfigDefaultSettings = {
|
|
|
199
199
|
margin: 10,
|
|
200
200
|
outerMargin: true,
|
|
201
201
|
outerMarginTop: 10,
|
|
202
|
-
outerMarginRight:
|
|
202
|
+
outerMarginRight: 0,
|
|
203
203
|
outerMarginBottom: 30,
|
|
204
|
-
outerMarginLeft:
|
|
204
|
+
outerMarginLeft: 0,
|
|
205
205
|
useTransformPositioning: true,
|
|
206
206
|
mobileBreakpoint: 640,
|
|
207
207
|
minCols: 10,
|
|
@@ -873,8 +873,8 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
873
873
|
RADashboardArea = __decorate([
|
|
874
874
|
Component({
|
|
875
875
|
selector: 'ra-dashboard-area',
|
|
876
|
-
template: "<div #gridWrapper class=\"wrap gridster gridster-mobile\" [ngStyle]=\"{'height': userWidgets.length > 0 ? (gridheight + 'px') : 'unset'}\">\r\n <!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\" *ngIf=\"userWidgets.length > 0\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\"\r\n (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\" [global-filter]=\"globalFilter\"\r\n [grid-cell-height]=\"gridcellHeight\" *ngIf=\"gridcellHeight && gridcellHeight > 0\" [widget-width]=\"item.cols\"\r\n [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\" [dom-resized]=\"domResized\"\r\n (updateAppliedFilters)=\"updateAppliedFilters($event)\">\r\n </ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n\r\n <div class=\"empty-padding kiosk-hide\" *ngIf=\"showEmptyDashboard\">\r\n <div class=\"empty-wrapper\">\r\n <div></div>\r\n <div class=\"m-1 empty-prefix\">\r\n <i class=\"fal fa-edit edit-icon\"></i>\r\n <span class=\"empty-title\">{{'dashboard.emptydashboard'|translate}}</span>\r\n </div>\r\n <div class=\"empty-content light\">\r\n <div>\r\n <div class=\"col-sm-12 empty-msg\">\r\n {{'dashboard.emptydashboardmessage'|translate}} <br />\r\n {{'dashboard.emptydashboardmessage2'|translate}}\r\n </div>\r\n <button *ngIf=\"isWidgetMgmnt\" class=\"btn btnLib btn-sm m-1 dashboard-button light\" (click)=\"addNewWidget()\">\r\n <i class=\"fal fa-plus m-1\"></i>{{'dashboard.addawidgets'|translate}}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <notifier-container></notifier-container>\r\n</div>",
|
|
877
|
-
styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#
|
|
876
|
+
template: "<div #gridWrapper class=\"wrap gridster gridster-mobile\" [ngStyle]=\"{'height': userWidgets.length > 0 ? (gridheight + 'px') : 'unset'}\">\r\n <!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\" *ngIf=\"userWidgets.length > 0\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [dashboard-info]=\"dashboardInfo\" [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\"\r\n (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\" [global-filter]=\"globalFilter\"\r\n [grid-cell-height]=\"gridcellHeight\" *ngIf=\"gridcellHeight && gridcellHeight > 0\" [widget-width]=\"item.cols\"\r\n [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\" [dom-resized]=\"domResized\"\r\n (updateAppliedFilters)=\"updateAppliedFilters($event)\">\r\n </ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n\r\n <div class=\"empty-padding kiosk-hide\" *ngIf=\"showEmptyDashboard\">\r\n <div class=\"empty-wrapper\">\r\n <div></div>\r\n <div class=\"m-1 empty-prefix\">\r\n <i class=\"fal fa-edit edit-icon\"></i>\r\n <span class=\"empty-title\">{{'dashboard.emptydashboard'|translate}}</span>\r\n </div>\r\n <div class=\"empty-content light\">\r\n <div>\r\n <div class=\"col-sm-12 empty-msg\">\r\n {{'dashboard.emptydashboardmessage'|translate}} <br />\r\n {{'dashboard.emptydashboardmessage2'|translate}}\r\n </div>\r\n <button *ngIf=\"isWidgetMgmnt\" class=\"btn btnLib btn-sm m-1 dashboard-button light\" (click)=\"addNewWidget()\">\r\n <i class=\"fal fa-plus m-1\"></i>{{'dashboard.addawidgets'|translate}}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <notifier-container></notifier-container>\r\n</div>",
|
|
877
|
+
styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#fff;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;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)}@media screen and (max-width:685px){.gridster-mobile{height:auto!important;margin-bottom:50px!important}}@media screen and (max-width:350px){.gridster-mobile{min-height:330px!important;margin-bottom:0!important}}.empty-padding{padding:40px 20px 20px;background-color:#ededed;display:flex;justify-content:center;align-content:center}.empty-wrapper{display:flex;background-color:#fff;border-radius:8px;min-height:125px;width:72%}.empty-prefix{color:#32ad3c;font-size:18px;display:flex;align-items:center;padding:10px 30px;min-width:-webkit-max-content;min-width:max-content;min-width:-moz-max-content}.empty-content{color:#333;border-left:1px solid #a9afb1;width:100%;display:flex;align-items:center;padding:15px 30px 10px 40px}.empty-msg{padding:0 0 5px;font-size:16px}.dashboard-button{padding:5px 10px 5px 5px!important}.btnLib{background-color:#ededed;color:#333!important}.btn-group-sm>.btn,.btn-sm{padding:5px 20px 5px 5px}.edit-icon{color:#32ad3c;font-size:24px;margin-right:15px}.empty-title{margin-top:10px}@media screen and (max-width:600px){.empty-padding{padding:10px;background-color:#ededed;width:100%;display:block}.empty-wrapper{display:flex;background-color:#fff;border-radius:8px;min-height:125px;width:100%}.empty-prefix{color:#32ad3c;font-size:16px;display:flex;height:40px;padding:6px 10px 8px}.empty-content{color:#333;display:flex;padding:5px 10px 10px;margin-top:44px;margin-left:-185px;border-left:none}.empty-msg{padding:12px 10px 10px 5px;font-size:14px;border-top:1px solid #a9afb1}.edit-icon{color:#32ad3c;font-size:20px;margin-right:6px}.empty-title{margin-top:6px}}"]
|
|
878
878
|
}),
|
|
879
879
|
__metadata("design:paramtypes", [RaDashboardService,
|
|
880
880
|
NgZone,
|
|
@@ -1307,7 +1307,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1307
1307
|
widgetConfigFilter.configChanges = this.getConfigChanges(false);
|
|
1308
1308
|
widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
|
|
1309
1309
|
widgetConfigFilter.globalFilter = this.globalFilter;
|
|
1310
|
-
widgetConfigFilter.dashboardInfo = me.
|
|
1310
|
+
widgetConfigFilter.dashboardInfo = me.dashboardInfo;
|
|
1311
1311
|
this.widgetElement.loadContent(widgetConfigFilter);
|
|
1312
1312
|
return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
|
|
1313
1313
|
case 1:
|
|
@@ -1751,6 +1751,10 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1751
1751
|
Input('global-filter'),
|
|
1752
1752
|
__metadata("design:type", Object)
|
|
1753
1753
|
], RAWidgetContainer.prototype, "globalFilter", void 0);
|
|
1754
|
+
__decorate([
|
|
1755
|
+
Input('dashboard-info'),
|
|
1756
|
+
__metadata("design:type", Object)
|
|
1757
|
+
], RAWidgetContainer.prototype, "dashboardInfo", void 0);
|
|
1754
1758
|
__decorate([
|
|
1755
1759
|
Input('data'),
|
|
1756
1760
|
__metadata("design:type", Object)
|
|
@@ -4806,6 +4810,10 @@ var RaBaseDashboardTemplate = /** @class */ (function () {
|
|
|
4806
4810
|
Input('global-filter'),
|
|
4807
4811
|
__metadata("design:type", Object)
|
|
4808
4812
|
], RaBaseDashboardTemplate.prototype, "globalFilter", void 0);
|
|
4813
|
+
__decorate([
|
|
4814
|
+
Input('dashboard-info'),
|
|
4815
|
+
__metadata("design:type", Object)
|
|
4816
|
+
], RaBaseDashboardTemplate.prototype, "dashboardInfo", void 0);
|
|
4809
4817
|
__decorate([
|
|
4810
4818
|
Input(),
|
|
4811
4819
|
__metadata("design:type", Object)
|