@schneideress/dashboardframework 17.0.42 → 17.0.44
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/esm2022/lib/ra-dashboard-area/ra.dashboard.area.mjs +2 -2
- package/esm2022/lib/ra-widget-container/ra.widget.container.component.mjs +2 -2
- package/esm2022/lib/ra.base.dashboard.filter.mjs +3 -3
- package/fesm2022/schneideress-dashboardframework.mjs +4 -4
- package/fesm2022/schneideress-dashboardframework.mjs.map +1 -1
- package/lib/ra.base.dashboard.filter.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3888,7 +3888,7 @@ class RAWidgetContainer {
|
|
|
3888
3888
|
this.lockIconFooter = this.translateService.translate('Common.lockedfieldseditinfo');
|
|
3889
3889
|
this.inapplicableIconTitle = this.translateService.translate('Common.InapplicableFilters');
|
|
3890
3890
|
this.inapplicableIconFooter = this.translateService.translate('Common.InapplicableFiltersDesc');
|
|
3891
|
-
if (this.dashboardInfo.templateName == 'Emission Report') {
|
|
3891
|
+
if (this.dashboardInfo.templateName == 'Emission Report' || this.dashboardInfo.templateName == 'CostUsage Report') {
|
|
3892
3892
|
this.hideTitle = true;
|
|
3893
3893
|
this.showOnlyDropdown = true;
|
|
3894
3894
|
}
|
|
@@ -4806,7 +4806,7 @@ class RADashboardArea {
|
|
|
4806
4806
|
this.setEmptyDashboardConfig();
|
|
4807
4807
|
this.setDownloadOnlyStateConfig();
|
|
4808
4808
|
this.lastViewType = this.responsiveService.IsDesktopView ? 'desktop' : 'mobile';
|
|
4809
|
-
this.hasGird = this.dashboardInfo.templateName == 'Emission Report';
|
|
4809
|
+
this.hasGird = this.dashboardInfo.templateName == 'Emission Report' || this.dashboardInfo.templateName == 'CostUsage Report';
|
|
4810
4810
|
this.responsiveService.resized.subscribe((isDesktop) => {
|
|
4811
4811
|
if (this.lastViewType != (isDesktop ? 'desktop' : 'mobile') || !isDesktop) {
|
|
4812
4812
|
this.lastViewType = (isDesktop ? 'desktop' : 'mobile');
|
|
@@ -5583,8 +5583,8 @@ class RaBaseDashboardFilter {
|
|
|
5583
5583
|
this.clearAllData = () => {
|
|
5584
5584
|
this.clearData();
|
|
5585
5585
|
};
|
|
5586
|
-
this.setAllFilterConfig = (globalFilter, appConfig
|
|
5587
|
-
this.setFilterConfig(globalFilter, appConfig
|
|
5586
|
+
this.setAllFilterConfig = (globalFilter, appConfig) => {
|
|
5587
|
+
this.setFilterConfig(globalFilter, appConfig);
|
|
5588
5588
|
};
|
|
5589
5589
|
this.showOnlyDateRangeControl = (isIndicatorDashboard) => {
|
|
5590
5590
|
this.showDateRangeControl(isIndicatorDashboard);
|