gamma-app-controller 1.2.21 → 1.2.24
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/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +8 -3
- package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +3 -3
- package/esm2020/lib/template-module/defaulLandingMultiLayoutComponent/defaulLandingMultiLayout.component.mjs +3 -3
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +3 -3
- package/fesm2015/gamma-app-controller.mjs +13 -8
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +13 -8
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4377,16 +4377,21 @@ class DashChartComponent {
|
|
|
4377
4377
|
this.bubbleChartData = value.data;
|
|
4378
4378
|
this.previewData = value.data;
|
|
4379
4379
|
if (value.selectedWidgetConfig) {
|
|
4380
|
+
this.chartConfig = value.selectedWidgetConfig.dataConfig;
|
|
4380
4381
|
this.mainChartCourceObject['kpiConfig'] = value.selectedWidgetConfig;
|
|
4381
4382
|
value.selectedWidgetConfig['keyToPass'] = (value.selectedWidgetConfig['keyToPass']) ? value.selectedWidgetConfig['keyToPass'] : [];
|
|
4382
|
-
value.selectedWidgetConfig['
|
|
4383
|
+
value.selectedWidgetConfig['dataConfig']['chartGroupBy'] = (value.selectedWidgetConfig['dataConfig']['chartGroupBy']) ? value.selectedWidgetConfig['dataConfig']['chartGroupBy'] : "";
|
|
4384
|
+
if (value.selectedWidgetConfig['dataConfig']['chartGroupBy']) {
|
|
4385
|
+
const { dataSourceForChart, listOfGroupByData } = this.getStackBarChart(this.previewData, this.chartConfig.argumentField, this.chartConfig.chart_config[0].valueField, value.selectedWidgetConfig['dataConfig']['chartGroupBy']);
|
|
4386
|
+
this.dataSourseForChart = dataSourceForChart;
|
|
4387
|
+
this.stackbarChartSerise = listOfGroupByData;
|
|
4388
|
+
}
|
|
4383
4389
|
if (!value.selectedWidgetConfig.commonConfig) {
|
|
4384
4390
|
value.selectedWidgetConfig['commonConfig'] = {
|
|
4385
4391
|
"title": "",
|
|
4386
4392
|
"dataField": "",
|
|
4387
4393
|
};
|
|
4388
4394
|
}
|
|
4389
|
-
this.chartConfig = value.selectedWidgetConfig.dataConfig;
|
|
4390
4395
|
if (value.selectedWidgetConfig.dataConfig['chartType'] && value.selectedWidgetConfig.dataConfig['chartType'] == 'bubble') {
|
|
4391
4396
|
this.getHeatmapData();
|
|
4392
4397
|
}
|
|
@@ -18610,7 +18615,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18610
18615
|
this.componentConfigDataSource = viewConfig;
|
|
18611
18616
|
this.dataSetModal = datasetConfig;
|
|
18612
18617
|
this.allWidgetByDataset = [];
|
|
18613
|
-
const { pageId, startDate, endDate, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
18618
|
+
const { pageId, startDate, endDate, id, name, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
18614
18619
|
let defaultFilters = { operationFilter: { startDate: "", endDate: "", ...params } };
|
|
18615
18620
|
this.dashBoardWidgetConfig.widgets.forEach(widget => {
|
|
18616
18621
|
widget.filters.filterItems.forEach(element => {
|
|
@@ -19138,7 +19143,7 @@ class KpiWithDataSetTestComponent {
|
|
|
19138
19143
|
else if (eventType == 'navigateToPage') {
|
|
19139
19144
|
this.service.getAppPageDetailConfig(associatedPage).subscribe({
|
|
19140
19145
|
next: (data) => {
|
|
19141
|
-
let { pageId, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
19146
|
+
let { pageId, id, name, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
19142
19147
|
let associatedParamsTemplate = clickEventOptions.associatedParams;
|
|
19143
19148
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
|
|
19144
19149
|
event.keyToPass.forEach(element => {
|
|
@@ -22227,7 +22232,7 @@ class LandingComponentComponent {
|
|
|
22227
22232
|
this.componentConfigDataSource = viewConfig;
|
|
22228
22233
|
this.dataSetModal = datasetConfig;
|
|
22229
22234
|
this.allWidgetByDataset = [];
|
|
22230
|
-
const { pageId, startDate, endDate, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
22235
|
+
const { pageId, startDate, endDate, id, name, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
22231
22236
|
let defaultFilters = { operationFilter: { startDate: "", endDate: "", ...params } };
|
|
22232
22237
|
this.dashBoardWidgetConfig.widgets.forEach(widget => {
|
|
22233
22238
|
widget.filters.filterItems.forEach(element => {
|
|
@@ -22756,7 +22761,7 @@ class LandingComponentComponent {
|
|
|
22756
22761
|
else if (eventType == 'navigateToPage') {
|
|
22757
22762
|
this.service.getAppPageDetailConfig(associatedPage).subscribe({
|
|
22758
22763
|
next: (data) => {
|
|
22759
|
-
let { pageId, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
22764
|
+
let { pageId, id, name, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
22760
22765
|
let associatedParamsTemplate = clickEventOptions.associatedParams;
|
|
22761
22766
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
|
|
22762
22767
|
event.keyToPass.forEach(element => {
|
|
@@ -24126,7 +24131,7 @@ class MultiLayoutLandingComponentComponent {
|
|
|
24126
24131
|
this.componentConfigDataSource = viewConfig;
|
|
24127
24132
|
this.dataSetModal = datasetConfig;
|
|
24128
24133
|
this.allWidgetByDataset = [];
|
|
24129
|
-
const { pageId, startDate, endDate, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
24134
|
+
const { pageId, startDate, endDate, id, name, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
24130
24135
|
this.dashBoardWidgetConfig.widgets.forEach(widget => {
|
|
24131
24136
|
let defaultFilters = { operationFilter: { startDate: "", endDate: "", ...params } };
|
|
24132
24137
|
widget.filters.filterItems.forEach(element => {
|
|
@@ -24650,7 +24655,7 @@ class MultiLayoutLandingComponentComponent {
|
|
|
24650
24655
|
else if (eventType == 'navigateToPage') {
|
|
24651
24656
|
this.service.getAppPageDetailConfig(associatedPage).subscribe({
|
|
24652
24657
|
next: (data) => {
|
|
24653
|
-
let { pageId, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
24658
|
+
let { pageId, id, name, ...params } = this.activatedRoute.snapshot.queryParams;
|
|
24654
24659
|
let associatedParamsTemplate = clickEventOptions.associatedParams;
|
|
24655
24660
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
|
|
24656
24661
|
event.keyToPass.forEach(element => {
|