gamma-app-controller 1.2.19 → 1.2.20

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.
@@ -7106,7 +7106,6 @@ class GammaTodayPreviousComponent {
7106
7106
  }
7107
7107
  this.currentDateData = sortedData[0];
7108
7108
  const timeValue = parseInt((_g = (_f = value.kpiConfig) === null || _f === void 0 ? void 0 : _f.dataConfig) === null || _g === void 0 ? void 0 : _g.timeValue) || 1;
7109
- console.log(timeValue);
7110
7109
  this.prevousDaysData = this.isPreviousDay ? sortedData[timeValue] || null : null;
7111
7110
  if (this.isPreviousDay && this.prevousDaysData) {
7112
7111
  let calValue = Math.abs((parseInt(this.getDynamicValue(this.currentDateData)) - parseInt(this.getDynamicValue(this.prevousDaysData))) /
@@ -22429,6 +22428,7 @@ class LandingComponentComponent {
22429
22428
  const innerDiv = document.createElement('div');
22430
22429
  innerDiv.classList.add('rounded', 'justify-center', 'items-center', 'border', 'p-1', 'm-1', 'flex', 'flex-row');
22431
22430
  item.compConfig.viewConfig.forEach(element => {
22431
+ console.log(element);
22432
22432
  element.kpiConfig['dataSource'] = datasetById[element.datasetId];
22433
22433
  element.kpiConfig['contextMenu'] = this.contextMenuDataSource;
22434
22434
  element['titleParams'] = item.nodeProperties.widgetParams || "";
@@ -22779,7 +22779,6 @@ class LandingComponentComponent {
22779
22779
  const queryString = new URLSearchParams(params).toString();
22780
22780
  const fullUrl = this.router.serializeUrl(this.router.createUrlTree([data.pageUrl], { queryParams: params }));
22781
22781
  this.router.navigate([data.pageUrl], { queryParams });
22782
- console.log(data);
22783
22782
  }
22784
22783
  }
22785
22784
  });
@@ -22932,7 +22931,6 @@ class LandingComponentComponent {
22932
22931
  queryParamsHandling: "merge"
22933
22932
  };
22934
22933
  this.router.navigate([], navigation);
22935
- console.log(this.stateDataSource);
22936
22934
  setTimeout(() => {
22937
22935
  this.scrollToBottom(this.mainPageDivElement);
22938
22936
  }, 200);
@@ -24145,10 +24143,11 @@ class MultiLayoutLandingComponentComponent {
24145
24143
  this.dataSetModal = datasetConfig;
24146
24144
  this.allWidgetByDataset = [];
24147
24145
  const _a = this.activatedRoute.snapshot.queryParams, { pageId, startDate, endDate } = _a, params = __rest(_a, ["pageId", "startDate", "endDate"]);
24148
- let defaultFilters = { operationFilter: Object.assign({ startDate: "", endDate: "" }, params) };
24149
24146
  this.dashBoardWidgetConfig.widgets.forEach(widget => {
24150
24147
  var _a;
24148
+ let defaultFilters = { operationFilter: Object.assign({ startDate: "", endDate: "" }, params) };
24151
24149
  widget.filters.filterItems.forEach(element => {
24150
+ debugger;
24152
24151
  if (element.filterType === 'date' || element.filterType === 'datetime') {
24153
24152
  if (element.defaultFilterType === "dynamic" && element.momentFunction !== "" && element.defaultFilterValue !== "" && element.momentFormat !== "") {
24154
24153
  if (element.momentFunction == "monthPicker") {
@@ -24277,8 +24276,6 @@ class MultiLayoutLandingComponentComponent {
24277
24276
  this.uniqueDataSetObject = this.datasetService.getUniqueDataSetObject();
24278
24277
  this.createDivElements(this.uniqueDataSetObject, false);
24279
24278
  this.loadingModal = false;
24280
- let urlParams = defaultFilters.operationFilter;
24281
- urlParams['pageId'] = this.pageId;
24282
24279
  });
24283
24280
  }), error: (err) => {
24284
24281
  this.loadingModal = false;
@@ -24306,6 +24303,7 @@ class MultiLayoutLandingComponentComponent {
24306
24303
  rowDiv.classList.add(div.widgetProperties.width, w_height);
24307
24304
  const filterDiv = document.createElement('div');
24308
24305
  const filterItems = (div.filters) ? div.filters.filterItems : [];
24306
+ debugger;
24309
24307
  this.loadFilterComponent(div, filterDiv, filterItems, context_filter);
24310
24308
  rowDiv.appendChild(filterDiv);
24311
24309
  if (div.widgetNode.length != 0) {
@@ -24506,7 +24504,6 @@ class MultiLayoutLandingComponentComponent {
24506
24504
  selectedDates = { startDate: view.filters.operationFilter['startDate'], endDate: view.filters.operationFilter['endDate'] };
24507
24505
  }
24508
24506
  });
24509
- debugger;
24510
24507
  const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
24511
24508
  this.CompRefs = this.viewContainerRef.createComponent(componentClass);
24512
24509
  const dynamicComponentInstance = this.CompRefs.instance;