@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
|
@@ -199,9 +199,9 @@ var GridsterConfigDefaultSettings = {
|
|
|
199
199
|
margin: 10,
|
|
200
200
|
outerMargin: true,
|
|
201
201
|
outerMarginTop: 10,
|
|
202
|
-
outerMarginRight:
|
|
202
|
+
outerMarginRight: 10,
|
|
203
203
|
outerMarginBottom: 30,
|
|
204
|
-
outerMarginLeft:
|
|
204
|
+
outerMarginLeft: 10,
|
|
205
205
|
useTransformPositioning: true,
|
|
206
206
|
mobileBreakpoint: 640,
|
|
207
207
|
minCols: 10,
|
|
@@ -887,7 +887,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
887
887
|
Component({
|
|
888
888
|
selector: 'ra-dashboard-area',
|
|
889
889
|
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>",
|
|
890
|
-
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:
|
|
890
|
+
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}}"]
|
|
891
891
|
}),
|
|
892
892
|
__metadata("design:paramtypes", [RaDashboardService,
|
|
893
893
|
NgZone,
|
|
@@ -4805,11 +4805,12 @@ var RaBaseDashboardTemplate = /** @class */ (function () {
|
|
|
4805
4805
|
function RaBaseDashboardTemplate(ngZone) {
|
|
4806
4806
|
var _this = this;
|
|
4807
4807
|
this.ngZone = ngZone;
|
|
4808
|
-
this.initialize = function (eventBus, userDashboardId, appConfig) {
|
|
4808
|
+
this.initialize = function (eventBus, userDashboardId, appConfig, dashboardInfo) {
|
|
4809
4809
|
_this.ngZone.run(function () {
|
|
4810
4810
|
_this.userDashboardId = userDashboardId;
|
|
4811
4811
|
_this.appConfig = appConfig;
|
|
4812
4812
|
_this.raDashboardEventBus = eventBus;
|
|
4813
|
+
_this.dashboardInfo = dashboardInfo;
|
|
4813
4814
|
});
|
|
4814
4815
|
_this.init();
|
|
4815
4816
|
};
|
|
@@ -4826,10 +4827,6 @@ var RaBaseDashboardTemplate = /** @class */ (function () {
|
|
|
4826
4827
|
Input('global-filter'),
|
|
4827
4828
|
__metadata("design:type", Object)
|
|
4828
4829
|
], RaBaseDashboardTemplate.prototype, "globalFilter", void 0);
|
|
4829
|
-
__decorate([
|
|
4830
|
-
Input('dashboard-info'),
|
|
4831
|
-
__metadata("design:type", Object)
|
|
4832
|
-
], RaBaseDashboardTemplate.prototype, "dashboardInfo", void 0);
|
|
4833
4830
|
__decorate([
|
|
4834
4831
|
Input(),
|
|
4835
4832
|
__metadata("design:type", Object)
|