@schneideress/dashboardframework 0.0.276 → 0.0.278
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 +10 -15
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +2 -2
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +6 -13
- package/esm2015/lib/ra.base.dashboard.filter.js +2 -1
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +6 -13
- package/esm5/lib/ra.base.dashboard.filter.js +2 -1
- package/fesm2015/schneideress-dashboardframework.js +6 -12
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +6 -12
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +1 -3
- package/lib/ra.base.dashboard.filter.d.ts +1 -0
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@schneideress/ra-common'), require('rxjs/operators'), require('ngx-ui-loader'), require('angular-notifier'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@schneideress/dashboardframework', ['exports', '@angular/core', 'rxjs', '@schneideress/ra-common', 'rxjs/operators', 'ngx-ui-loader', 'angular-notifier', '@
|
|
4
|
-
(global = global || self, factory((global.schneideress = global.schneideress || {}, global.schneideress.dashboardframework = {}), global.ng.core, global.rxjs, global.raCommon, global.rxjs.operators, global['ngx-ui-loader'], global['angular-notifier'], global.
|
|
5
|
-
}(this, (function (exports, core, rxjs, raCommon, operators, ngxUiLoader, angularNotifier,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@schneideress/ra-common'), require('rxjs/operators'), require('ngx-ui-loader'), require('angular-notifier'), require('@schneideress/widgetframework'), require('@angular/platform-browser'), require('@angular/common/http'), require('@angular/common'), require('@schneideress/user-controls'), require('@schneideress/common-controls')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@schneideress/dashboardframework', ['exports', '@angular/core', 'rxjs', '@schneideress/ra-common', 'rxjs/operators', 'ngx-ui-loader', 'angular-notifier', '@schneideress/widgetframework', '@angular/platform-browser', '@angular/common/http', '@angular/common', '@schneideress/user-controls', '@schneideress/common-controls'], factory) :
|
|
4
|
+
(global = global || self, factory((global.schneideress = global.schneideress || {}, global.schneideress.dashboardframework = {}), global.ng.core, global.rxjs, global.raCommon, global.rxjs.operators, global['ngx-ui-loader'], global['angular-notifier'], global.widgetframework, global.ng.platformBrowser, global.ng.common.http, global.ng.common, global.userControls, global.commonControls));
|
|
5
|
+
}(this, (function (exports, core, rxjs, raCommon, operators, ngxUiLoader, angularNotifier, widgetframework, platformBrowser, http, common, userControls, commonControls) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
}());
|
|
606
606
|
|
|
607
607
|
var RADashboardArea = /** @class */ (function () {
|
|
608
|
-
function RADashboardArea(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService, permissionService
|
|
608
|
+
function RADashboardArea(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService, permissionService) {
|
|
609
609
|
this.dashboardService = dashboardService;
|
|
610
610
|
this.ngZone = ngZone;
|
|
611
611
|
this.ngxService = ngxService;
|
|
@@ -613,7 +613,6 @@
|
|
|
613
613
|
this.notifier = notifier;
|
|
614
614
|
this.responsiveService = responsiveService;
|
|
615
615
|
this.permissionService = permissionService;
|
|
616
|
-
this.router = router;
|
|
617
616
|
this.widgetList = Array();
|
|
618
617
|
this.gridheight = 300;
|
|
619
618
|
this.gridcellHeight = 0;
|
|
@@ -791,14 +790,11 @@
|
|
|
791
790
|
/** To retrieve widgets based on userDashboardid and area name */
|
|
792
791
|
RADashboardArea.prototype.loadWidgets = function (userDashboarId, areaKey) {
|
|
793
792
|
var _this = this;
|
|
794
|
-
var
|
|
795
|
-
var IsTypeIndicator = false;
|
|
796
|
-
if (currentUrl.includes('indicatorDashboard'))
|
|
797
|
-
IsTypeIndicator = true;
|
|
793
|
+
var isIndicatorDashboard = localStorage.getItem('IsIndicatorDashboard') == 'true' ? true : false;
|
|
798
794
|
var widgetInfo = {
|
|
799
795
|
dashboardId: userDashboarId.toString(),
|
|
800
796
|
dashboardAreaKey: areaKey,
|
|
801
|
-
|
|
797
|
+
isIndicatorDashboard: isIndicatorDashboard
|
|
802
798
|
};
|
|
803
799
|
this.widgetList = [];
|
|
804
800
|
this.dashboardService.getWidgetsByDashboardArea(widgetInfo, this.appConfig).subscribe(function (widgets) {
|
|
@@ -1042,8 +1038,7 @@
|
|
|
1042
1038
|
{ type: raCommon.RATranslateService },
|
|
1043
1039
|
{ type: angularNotifier.NotifierService },
|
|
1044
1040
|
{ type: RADashboardResponsiveService },
|
|
1045
|
-
{ type: raCommon.RAPermissionService }
|
|
1046
|
-
{ type: router.Router }
|
|
1041
|
+
{ type: raCommon.RAPermissionService }
|
|
1047
1042
|
]; };
|
|
1048
1043
|
__decorate([
|
|
1049
1044
|
core.Input('user-dashboard-id'),
|
|
@@ -1093,8 +1088,7 @@
|
|
|
1093
1088
|
raCommon.RATranslateService,
|
|
1094
1089
|
angularNotifier.NotifierService,
|
|
1095
1090
|
RADashboardResponsiveService,
|
|
1096
|
-
raCommon.RAPermissionService
|
|
1097
|
-
router.Router])
|
|
1091
|
+
raCommon.RAPermissionService])
|
|
1098
1092
|
], RADashboardArea);
|
|
1099
1093
|
return RADashboardArea;
|
|
1100
1094
|
}());
|
|
@@ -5051,6 +5045,7 @@
|
|
|
5051
5045
|
RaBaseDashboardFilter.prototype.ngOnInit = function () {
|
|
5052
5046
|
var myEvent = new CustomEvent("global-filter-initiated");
|
|
5053
5047
|
document.body.dispatchEvent(myEvent);
|
|
5048
|
+
this.hideControls();
|
|
5054
5049
|
};
|
|
5055
5050
|
__decorate([
|
|
5056
5051
|
core.Input(),
|