gamma-app-controller 1.2.24 → 1.2.25

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.
@@ -8336,6 +8336,7 @@ class AppAdvanceHeaderComponent {
8336
8336
  this.isAdvanceFilter = true;
8337
8337
  }
8338
8338
  getSerchFilter(filter) {
8339
+ var _a;
8339
8340
  this.isAdvanceFilter = false;
8340
8341
  let displayStartDate = '';
8341
8342
  let displayEndDate = '';
@@ -8389,7 +8390,9 @@ class AppAdvanceHeaderComponent {
8389
8390
  else if (displayEndDate) {
8390
8391
  selectedText = displayEndDate;
8391
8392
  }
8392
- const element = document.getElementById(this.filterObjects.widgetId);
8393
+ const element = ((_a = this.filterObjects) === null || _a === void 0 ? void 0 : _a.widgetId)
8394
+ ? document.getElementById(this.filterObjects.widgetId)
8395
+ : null;
8393
8396
  if (element) {
8394
8397
  element.innerText = selectedText;
8395
8398
  }
@@ -18506,7 +18509,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
18506
18509
  }] } });
18507
18510
 
18508
18511
  class KpiWithDataSetTestComponent {
18509
- constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, chatApiService, storage) {
18512
+ constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, chatApiService, storage, cdr) {
18510
18513
  this.commonService = commonService;
18511
18514
  this.activatedRoute = activatedRoute;
18512
18515
  this.viewContainerRef = viewContainerRef;
@@ -18517,6 +18520,7 @@ class KpiWithDataSetTestComponent {
18517
18520
  this.datasetService = datasetService;
18518
18521
  this.chatApiService = chatApiService;
18519
18522
  this.storage = storage;
18523
+ this.cdr = cdr;
18520
18524
  this.dashbord_container = [];
18521
18525
  this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
18522
18526
  this.page_title = 'Dashboard';
@@ -18568,30 +18572,33 @@ class KpiWithDataSetTestComponent {
18568
18572
  });
18569
18573
  this.loadingModal = true;
18570
18574
  this.pageId = this.activatedRoute.snapshot.queryParams['pageId'];
18575
+ const { pageId } = this.activatedRoute.snapshot.queryParams;
18576
+ if (this.pageId) {
18577
+ this.router.navigate([], {
18578
+ queryParams: { pageId },
18579
+ replaceUrl: true,
18580
+ });
18581
+ }
18571
18582
  this.getPadeDataSource(false);
18572
18583
  }
18573
18584
  getFiltersForTemplate(filter) {
18574
18585
  return __awaiter(this, void 0, void 0, function* () {
18575
18586
  this.filters = filter;
18576
- this.defaultStartDate = filter.startDate;
18577
- this.defaultEndDate = filter.endDate;
18578
18587
  filter.operationFilter['startDate'] = filter.startDate;
18579
18588
  filter.operationFilter['endDate'] = filter.endDate;
18580
18589
  this.loadingModal = true;
18581
- this.dashBoardWidgetConfig = [];
18582
- let navigation = {
18583
- queryParams: filter.operationFilter,
18584
- queryParamsHandling: "merge"
18585
- };
18586
- this.router.navigate([], navigation);
18587
18590
  yield this.getPadeDataSource(true);
18588
18591
  this.uniqueDataSetObject = {};
18589
18592
  let apiCalls = [];
18590
18593
  this.allWidgetByDataset.forEach(view => {
18591
18594
  view.datasetIds.forEach(id => {
18592
- let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
18593
- if (found) {
18594
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
18595
+ if (view.widgetId == filter.filterObjects.widgetId) {
18596
+ let found = this.dataSetModal.find(d => d.datasetId === id);
18597
+ let widgetFilter = this.getWidgetFilterItems(filter.filterObjects.filters.filterItems);
18598
+ view.filters = widgetFilter;
18599
+ if (found) {
18600
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id, widgetFilter));
18601
+ }
18595
18602
  }
18596
18603
  });
18597
18604
  });
@@ -18599,10 +18606,40 @@ class KpiWithDataSetTestComponent {
18599
18606
  this.globalDefaultFilter = filter;
18600
18607
  this.uniqueDataSetObject = this.datasetService.getUniqueDataSetObject();
18601
18608
  this.createDivElements(this.uniqueDataSetObject, true);
18609
+ this.cdr.detectChanges();
18602
18610
  this.loadingModal = false;
18603
18611
  });
18604
18612
  });
18605
18613
  }
18614
+ getWidgetFilterItems(widgetFilterData) {
18615
+ let apiJsonObject = {};
18616
+ apiJsonObject['operationFilter'] = {};
18617
+ widgetFilterData.forEach(element => {
18618
+ if (element.filterType == 'date' || element.filterType == 'datetime') {
18619
+ apiJsonObject['operationFilter'][element.apiName] = moment$1(element.filterDataSourceValue).format(element.momentFormat);
18620
+ }
18621
+ else {
18622
+ if ((typeof element.filterDataSourceValue === "string" && element.filterDataSourceValue !== "") ||
18623
+ (Array.isArray(element.filterDataSourceValue) && element.filterDataSourceValue.length > 0)) {
18624
+ if (element.operatorName !== "") {
18625
+ if (element.filterType == "content") {
18626
+ apiJsonObject['operationFilter'][element.operatorName] = element.filterDataSourceValue;
18627
+ }
18628
+ if (element.filterType == "single") {
18629
+ apiJsonObject['operationFilter'][element.operatorName] = element.filterDataSourceValue;
18630
+ }
18631
+ else {
18632
+ apiJsonObject['operationFilter'][element.operatorName] = Array.isArray(element.filterDataSourceValue) ? element.filterDataSourceValue : [element.filterDataSourceValue];
18633
+ }
18634
+ }
18635
+ else {
18636
+ apiJsonObject[element.apiName] = element.filterDataSourceValue;
18637
+ }
18638
+ }
18639
+ }
18640
+ });
18641
+ return apiJsonObject;
18642
+ }
18606
18643
  getPadeDataSource(context) {
18607
18644
  return new Promise((resolve, reject) => {
18608
18645
  this.service.getAppPageDetailConfig(this.pageId).subscribe({
@@ -19003,6 +19040,7 @@ class KpiWithDataSetTestComponent {
19003
19040
  dynamicComponentInstance.selectedDates = selectedDates;
19004
19041
  dynamicComponentInstance.filterItems = filterItems;
19005
19042
  dynamicComponentInstance.contextFilterItems = context_filter;
19043
+ dynamicComponentInstance.filterObjects = indexObj;
19006
19044
  dynamicComponentInstance.pageTitle = this.pageTitle;
19007
19045
  dynamicComponentInstance.bread_crumbs_container = this.kpi_breadcrumbs_container;
19008
19046
  dynamicComponentInstance.isEditButton = (userName && userName == "admin") ? true : false;
@@ -19699,12 +19737,12 @@ class KpiWithDataSetTestComponent {
19699
19737
  return results.join('\n');
19700
19738
  }
19701
19739
  }
19702
- KpiWithDataSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithSingleLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: SingleLayoutApplicationDatssetsCall }, { token: ApplicationChatApiCallService }, { token: AppSingleLayoutLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
19740
+ KpiWithDataSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithSingleLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: SingleLayoutApplicationDatssetsCall }, { token: ApplicationChatApiCallService }, { token: AppSingleLayoutLocalStorage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
19703
19741
  KpiWithDataSetTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: KpiWithDataSetTestComponent, selector: "app-kpi-with-dataset", viewQueries: [{ propertyName: "dynamicComponentContainer", first: true, predicate: ["dynamicComponentContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "dynamicContainer", first: true, predicate: ["dynamicContainer"], descendants: true, static: true }, { propertyName: "dynamicContainerForPopup", first: true, predicate: ["dynamicContainerForPopup"], descendants: true, static: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n<dx-popup [(visible)]=\"isPopupView\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"1000\" [height]=\"'auto'\"\n [showTitle]=\"true\" class=\"popup\" title=\"Popup View\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"w-full\">\n <app-dynamic-widget [modalConfigs]=\"modalConfigs\" [contextMenuDataSource]=\"contextMenuDataSource\">\n </app-dynamic-widget>\n </div>\n </div>\n</dx-popup>", styles: [".custom-tooltip{display:none;position:absolute;top:100%;left:0;background:rgba(0,0,0,.8);color:#fff;padding:8px;border-radius:5px;font-size:12px;white-space:nowrap;z-index:100}\n"], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }, { kind: "directive", type: i5.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i9$1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "elementAttr", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "elementAttrChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i10$1.DxScrollViewComponent, selector: "dx-scroll-view", inputs: ["bounceEnabled", "direction", "disabled", "elementAttr", "height", "pulledDownText", "pullingDownText", "reachBottomText", "refreshingText", "rtlEnabled", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "onPullDown", "onReachBottom", "onScroll", "onUpdated", "bounceEnabledChange", "directionChange", "disabledChange", "elementAttrChange", "heightChange", "pulledDownTextChange", "pullingDownTextChange", "reachBottomTextChange", "refreshingTextChange", "rtlEnabledChange", "scrollByContentChange", "scrollByThumbChange", "showScrollbarChange", "useNativeChange", "widthChange"] }, { kind: "component", type: i6$1.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i7.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: DynamicWidgetComponent, selector: "app-dynamic-widget", inputs: ["view", "datasetById", "contextMenuDataSource", "modalConfigs"] }] });
19704
19742
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, decorators: [{
19705
19743
  type: Component,
19706
19744
  args: [{ selector: 'app-kpi-with-dataset', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n<dx-popup [(visible)]=\"isPopupView\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"1000\" [height]=\"'auto'\"\n [showTitle]=\"true\" class=\"popup\" title=\"Popup View\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"w-full\">\n <app-dynamic-widget [modalConfigs]=\"modalConfigs\" [contextMenuDataSource]=\"contextMenuDataSource\">\n </app-dynamic-widget>\n </div>\n </div>\n</dx-popup>", styles: [".custom-tooltip{display:none;position:absolute;top:100%;left:0;background:rgba(0,0,0,.8);color:#fff;padding:8px;border-radius:5px;font-size:12px;white-space:nowrap;z-index:100}\n"] }]
19707
- }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: SingleLayoutApplicationDatssetsCall }, { type: ApplicationChatApiCallService }, { type: AppSingleLayoutLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
19745
+ }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: SingleLayoutApplicationDatssetsCall }, { type: ApplicationChatApiCallService }, { type: AppSingleLayoutLocalStorage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { dynamicComponentContainer: [{
19708
19746
  type: ViewChild,
19709
19747
  args: ['dynamicComponentContainer', { read: ViewContainerRef }]
19710
19748
  }], containerRef: [{
@@ -20539,7 +20577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
20539
20577
  } });
20540
20578
 
20541
20579
  class KpiWithMultilayoutSetTestComponent {
20542
- constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
20580
+ constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage, cdr) {
20543
20581
  this.commonService = commonService;
20544
20582
  this.activatedRoute = activatedRoute;
20545
20583
  this.viewContainerRef = viewContainerRef;
@@ -20549,6 +20587,7 @@ class KpiWithMultilayoutSetTestComponent {
20549
20587
  this.router = router;
20550
20588
  this.datasetService = datasetService;
20551
20589
  this.storage = storage;
20590
+ this.cdr = cdr;
20552
20591
  this.dashbord_container = [];
20553
20592
  this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
20554
20593
  this.page_title = 'Dashboard';
@@ -20627,6 +20666,35 @@ class KpiWithMultilayoutSetTestComponent {
20627
20666
  });
20628
20667
  });
20629
20668
  }
20669
+ getWidgetFilterItems(widgetFilterData) {
20670
+ let apiJsonObject = {};
20671
+ apiJsonObject['operationFilter'] = {};
20672
+ widgetFilterData.forEach(element => {
20673
+ if (element.filterType == 'date' || element.filterType == 'datetime') {
20674
+ apiJsonObject['operationFilter'][element.apiName] = moment$1(element.filterDataSourceValue).format(element.momentFormat);
20675
+ }
20676
+ else {
20677
+ if ((typeof element.filterDataSourceValue === "string" && element.filterDataSourceValue !== "") ||
20678
+ (Array.isArray(element.filterDataSourceValue) && element.filterDataSourceValue.length > 0)) {
20679
+ if (element.operatorName !== "") {
20680
+ if (element.filterType == "content") {
20681
+ apiJsonObject['operationFilter'][element.operatorName] = element.filterDataSourceValue;
20682
+ }
20683
+ if (element.filterType == "single") {
20684
+ apiJsonObject['operationFilter'][element.operatorName] = element.filterDataSourceValue;
20685
+ }
20686
+ else {
20687
+ apiJsonObject['operationFilter'][element.operatorName] = Array.isArray(element.filterDataSourceValue) ? element.filterDataSourceValue : [element.filterDataSourceValue];
20688
+ }
20689
+ }
20690
+ else {
20691
+ apiJsonObject[element.apiName] = element.filterDataSourceValue;
20692
+ }
20693
+ }
20694
+ }
20695
+ });
20696
+ return apiJsonObject;
20697
+ }
20630
20698
  getPadeDataSource(context) {
20631
20699
  return new Promise((resolve, reject) => {
20632
20700
  this.service.getAppPageDetailConfig(this.pageId).subscribe({
@@ -20967,6 +21035,7 @@ class KpiWithMultilayoutSetTestComponent {
20967
21035
  dynamicComponentInstance.selectedDates = selectedDates;
20968
21036
  dynamicComponentInstance.filterItems = filterItems;
20969
21037
  dynamicComponentInstance.contextFilterItems = context_filter;
21038
+ dynamicComponentInstance.filterObjects = indexObj;
20970
21039
  dynamicComponentInstance.pageTitle = this.pageTitle;
20971
21040
  dynamicComponentInstance.bread_crumbs_container = this.kpi_breadcrumbs_container;
20972
21041
  dynamicComponentInstance.isEditButton = (userName && userName == "admin") ? true : false;
@@ -21501,12 +21570,12 @@ class KpiWithMultilayoutSetTestComponent {
21501
21570
  }
21502
21571
  }
21503
21572
  }
21504
- KpiWithMultilayoutSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithMultiLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: MultilayoutApplicationDatssetsCall }, { token: AppMultiLayoutLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
21573
+ KpiWithMultilayoutSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithMultiLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: MultilayoutApplicationDatssetsCall }, { token: AppMultiLayoutLocalStorage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
21505
21574
  KpiWithMultilayoutSetTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: KpiWithMultilayoutSetTestComponent, selector: "app-kpi-with-multilayout", viewQueries: [{ propertyName: "dynamicComponentContainer", first: true, predicate: ["dynamicComponentContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "dynamicContainer", first: true, predicate: ["dynamicContainer"], descendants: true, static: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n\n\n\n", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }, { kind: "directive", type: i5.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i9$1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "elementAttr", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "elementAttrChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i10$1.DxScrollViewComponent, selector: "dx-scroll-view", inputs: ["bounceEnabled", "direction", "disabled", "elementAttr", "height", "pulledDownText", "pullingDownText", "reachBottomText", "refreshingText", "rtlEnabled", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "onPullDown", "onReachBottom", "onScroll", "onUpdated", "bounceEnabledChange", "directionChange", "disabledChange", "elementAttrChange", "heightChange", "pulledDownTextChange", "pullingDownTextChange", "reachBottomTextChange", "refreshingTextChange", "rtlEnabledChange", "scrollByContentChange", "scrollByThumbChange", "showScrollbarChange", "useNativeChange", "widthChange"] }, { kind: "component", type: i6$1.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i7.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
21506
21575
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, decorators: [{
21507
21576
  type: Component,
21508
21577
  args: [{ selector: 'app-kpi-with-multilayout', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n\n\n\n" }]
21509
- }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithMultiLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: MultilayoutApplicationDatssetsCall }, { type: AppMultiLayoutLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
21578
+ }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithMultiLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: MultilayoutApplicationDatssetsCall }, { type: AppMultiLayoutLocalStorage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { dynamicComponentContainer: [{
21510
21579
  type: ViewChild,
21511
21580
  args: ['dynamicComponentContainer', { read: ViewContainerRef }]
21512
21581
  }], containerRef: [{
@@ -22170,7 +22239,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
22170
22239
  } });
22171
22240
 
22172
22241
  class LandingComponentComponent {
22173
- constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
22242
+ constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage, cdr) {
22174
22243
  this.commonService = commonService;
22175
22244
  this.activatedRoute = activatedRoute;
22176
22245
  this.viewContainerRef = viewContainerRef;
@@ -22180,6 +22249,7 @@ class LandingComponentComponent {
22180
22249
  this.router = router;
22181
22250
  this.datasetService = datasetService;
22182
22251
  this.storage = storage;
22252
+ this.cdr = cdr;
22183
22253
  this.dashbord_container = [];
22184
22254
  this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
22185
22255
  this.page_title = 'Dashboard';
@@ -22226,30 +22296,44 @@ class LandingComponentComponent {
22226
22296
  ngOnInit() {
22227
22297
  this.loadingModal = true;
22228
22298
  this.pageId = this.activatedRoute.snapshot.queryParams['pageId'];
22229
- this.getPadeDataSource(false);
22299
+ const { pageId } = this.activatedRoute.snapshot.queryParams;
22300
+ if (this.pageId) {
22301
+ this.router.navigate([], {
22302
+ queryParams: { pageId },
22303
+ replaceUrl: true,
22304
+ });
22305
+ }
22230
22306
  }
22231
22307
  getFiltersForTemplate(filter) {
22232
22308
  return __awaiter(this, void 0, void 0, function* () {
22233
22309
  this.filters = filter;
22234
- this.defaultStartDate = filter.startDate;
22235
- this.defaultEndDate = filter.endDate;
22236
22310
  filter.operationFilter['startDate'] = filter.startDate;
22237
22311
  filter.operationFilter['endDate'] = filter.endDate;
22238
- let navigation = {
22239
- queryParams: filter.operationFilter,
22240
- queryParamsHandling: "merge"
22241
- };
22242
- this.router.navigate([], navigation);
22243
22312
  this.loadingModal = true;
22244
- this.dashBoardWidgetConfig = [];
22245
- yield this.getPadeDataSource(true);
22313
+ if (filter.filterObjects && Object.entries(filter.filterObjects).length !== 0) {
22314
+ if (Array.isArray(this.dashBoardWidgetConfig.widgets)) {
22315
+ const index = this.dashBoardWidgetConfig.widgets.findIndex((widget) => widget.widgetId === filter.filterObjects.widgetId);
22316
+ if (index !== -1) {
22317
+ this.dashBoardWidgetConfig.widgets[index] = filter.filterObjects;
22318
+ }
22319
+ else {
22320
+ }
22321
+ }
22322
+ }
22323
+ else {
22324
+ yield this.getPadeDataSource(true);
22325
+ }
22246
22326
  this.uniqueDataSetObject = {};
22247
22327
  let apiCalls = [];
22248
22328
  this.allWidgetByDataset.forEach(view => {
22249
22329
  view.datasetIds.forEach(id => {
22250
- let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
22251
- if (found) {
22252
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
22330
+ if (view.widgetId == filter.filterObjects.widgetId) {
22331
+ let found = this.dataSetModal.find(d => d.datasetId === id);
22332
+ let widgetFilter = this.getWidgetFilterItems(filter.filterObjects.filters.filterItems);
22333
+ view.filters = widgetFilter;
22334
+ if (found) {
22335
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id, widgetFilter));
22336
+ }
22253
22337
  }
22254
22338
  });
22255
22339
  });
@@ -22257,10 +22341,40 @@ class LandingComponentComponent {
22257
22341
  this.globalDefaultFilter = filter;
22258
22342
  this.uniqueDataSetObject = this.datasetService.getUniqueDataSetObject();
22259
22343
  this.createDivElements(this.uniqueDataSetObject, true);
22344
+ this.cdr.detectChanges();
22260
22345
  this.loadingModal = false;
22261
22346
  });
22262
22347
  });
22263
22348
  }
22349
+ getWidgetFilterItems(widgetFilterData) {
22350
+ let apiJsonObject = {};
22351
+ apiJsonObject['operationFilter'] = {};
22352
+ widgetFilterData.forEach(element => {
22353
+ if (element.filterType == 'date' || element.filterType == 'datetime') {
22354
+ apiJsonObject['operationFilter'][element.apiName] = moment$1(element.filterDataSourceValue).format(element.momentFormat);
22355
+ }
22356
+ else {
22357
+ if ((typeof element.filterDataSourceValue === "string" && element.filterDataSourceValue !== "") ||
22358
+ (Array.isArray(element.filterDataSourceValue) && element.filterDataSourceValue.length > 0)) {
22359
+ if (element.operatorName !== "") {
22360
+ if (element.filterType == "content") {
22361
+ apiJsonObject['operationFilter'][element.operatorName] = element.filterDataSourceValue;
22362
+ }
22363
+ if (element.filterType == "single") {
22364
+ apiJsonObject['operationFilter'][element.operatorName] = element.filterDataSourceValue;
22365
+ }
22366
+ else {
22367
+ apiJsonObject['operationFilter'][element.operatorName] = Array.isArray(element.filterDataSourceValue) ? element.filterDataSourceValue : [element.filterDataSourceValue];
22368
+ }
22369
+ }
22370
+ else {
22371
+ apiJsonObject[element.apiName] = element.filterDataSourceValue;
22372
+ }
22373
+ }
22374
+ }
22375
+ });
22376
+ return apiJsonObject;
22377
+ }
22264
22378
  getPadeDataSource(context) {
22265
22379
  return new Promise((resolve, reject) => {
22266
22380
  this.service.getAppPageDetailConfig(this.pageId).subscribe({
@@ -22663,6 +22777,7 @@ class LandingComponentComponent {
22663
22777
  dynamicComponentInstance.selectedDates = selectedDates;
22664
22778
  dynamicComponentInstance.filterItems = filterItems;
22665
22779
  dynamicComponentInstance.contextFilterItems = context_filter;
22780
+ dynamicComponentInstance.filterObjects = indexObj;
22666
22781
  dynamicComponentInstance.pageTitle = this.pageTitle;
22667
22782
  dynamicComponentInstance.bread_crumbs_container = this.kpi_breadcrumbs_container;
22668
22783
  dynamicComponentInstance.isEditButton = (userName && userName == "admin") ? true : false;
@@ -23355,12 +23470,12 @@ class LandingComponentComponent {
23355
23470
  return results.join('\n');
23356
23471
  }
23357
23472
  }
23358
- LandingComponentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: LandingComponentService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: LandingApplicationDatssetsCall }, { token: AppLandingLayoutLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
23473
+ LandingComponentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: LandingComponentService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: LandingApplicationDatssetsCall }, { token: AppLandingLayoutLocalStorage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
23359
23474
  LandingComponentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: LandingComponentComponent, selector: "app-landing-component", viewQueries: [{ propertyName: "dynamicComponentContainer", first: true, predicate: ["dynamicComponentContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "dynamicContainer", first: true, predicate: ["dynamicContainer"], descendants: true, static: true }, { propertyName: "dynamicContainerForPopup", first: true, predicate: ["dynamicContainerForPopup"], descendants: true, static: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }] });
23360
23475
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, decorators: [{
23361
23476
  type: Component,
23362
23477
  args: [{ selector: 'app-landing-component', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>" }]
23363
- }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: LandingComponentService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: LandingApplicationDatssetsCall }, { type: AppLandingLayoutLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
23478
+ }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: LandingComponentService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: LandingApplicationDatssetsCall }, { type: AppLandingLayoutLocalStorage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { dynamicComponentContainer: [{
23364
23479
  type: ViewChild,
23365
23480
  args: ['dynamicComponentContainer', { read: ViewContainerRef }]
23366
23481
  }], containerRef: [{