@schneideress/dashboardframework 0.0.251 → 0.0.253
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 -8
- 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 +1 -1
- package/esm2015/lib/ra.base.dashboard.template.js +3 -6
- package/esm2015/lib/ra.gridster.config.js +3 -3
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +1 -1
- package/esm5/lib/ra.base.dashboard.template.js +3 -6
- package/esm5/lib/ra.gridster.config.js +3 -3
- package/fesm2015/schneideress-dashboardframework.js +5 -8
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +5 -8
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra.base.dashboard.template.d.ts +2 -2
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -410,9 +410,9 @@
|
|
|
410
410
|
margin: 10,
|
|
411
411
|
outerMargin: true,
|
|
412
412
|
outerMarginTop: 10,
|
|
413
|
-
outerMarginRight:
|
|
413
|
+
outerMarginRight: 10,
|
|
414
414
|
outerMarginBottom: 30,
|
|
415
|
-
outerMarginLeft:
|
|
415
|
+
outerMarginLeft: 10,
|
|
416
416
|
useTransformPositioning: true,
|
|
417
417
|
mobileBreakpoint: 640,
|
|
418
418
|
minCols: 10,
|
|
@@ -1098,7 +1098,7 @@
|
|
|
1098
1098
|
core.Component({
|
|
1099
1099
|
selector: 'ra-dashboard-area',
|
|
1100
1100
|
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>",
|
|
1101
|
-
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:
|
|
1101
|
+
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:none}gridster-item:hover{box-shadow:0 1px 10px rgba(0,0,0,.15)!important}@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:#fff;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:#fff;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}}"]
|
|
1102
1102
|
}),
|
|
1103
1103
|
__metadata("design:paramtypes", [RaDashboardService,
|
|
1104
1104
|
core.NgZone,
|
|
@@ -5016,11 +5016,12 @@
|
|
|
5016
5016
|
function RaBaseDashboardTemplate(ngZone) {
|
|
5017
5017
|
var _this = this;
|
|
5018
5018
|
this.ngZone = ngZone;
|
|
5019
|
-
this.initialize = function (eventBus, userDashboardId, appConfig) {
|
|
5019
|
+
this.initialize = function (eventBus, userDashboardId, appConfig, dashboardInfo) {
|
|
5020
5020
|
_this.ngZone.run(function () {
|
|
5021
5021
|
_this.userDashboardId = userDashboardId;
|
|
5022
5022
|
_this.appConfig = appConfig;
|
|
5023
5023
|
_this.raDashboardEventBus = eventBus;
|
|
5024
|
+
_this.dashboardInfo = dashboardInfo;
|
|
5024
5025
|
});
|
|
5025
5026
|
_this.init();
|
|
5026
5027
|
};
|
|
@@ -5037,10 +5038,6 @@
|
|
|
5037
5038
|
core.Input('global-filter'),
|
|
5038
5039
|
__metadata("design:type", Object)
|
|
5039
5040
|
], RaBaseDashboardTemplate.prototype, "globalFilter", void 0);
|
|
5040
|
-
__decorate([
|
|
5041
|
-
core.Input('dashboard-info'),
|
|
5042
|
-
__metadata("design:type", Object)
|
|
5043
|
-
], RaBaseDashboardTemplate.prototype, "dashboardInfo", void 0);
|
|
5044
5041
|
__decorate([
|
|
5045
5042
|
core.Input(),
|
|
5046
5043
|
__metadata("design:type", Object)
|