gamma-app-controller 1.1.29 → 1.2.0

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.
Files changed (23) hide show
  1. package/esm2020/lib/gamma-app-controller.module.mjs +2 -2
  2. package/esm2020/lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component.mjs +1 -1
  3. package/esm2020/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.mjs +4 -4
  4. package/esm2020/lib/template-module/kpiWithMultiLayout/kpiWithMultiayout.module.mjs +4 -4
  5. package/esm2020/lib/template-module/kpiWithMultiLayout/multi-layout-dataset-call.service.mjs +364 -0
  6. package/esm2020/lib/template-module/kpiWithSingleLayout/application-chat-api-call.service.mjs +38 -0
  7. package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +21 -15
  8. package/esm2020/lib/template-module/kpiWithSingleLayout/kpiWithSingleLayout.module.mjs +5 -4
  9. package/esm2020/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.mjs +364 -0
  10. package/esm2020/public-api.mjs +4 -3
  11. package/fesm2015/gamma-app-controller.mjs +176 -138
  12. package/fesm2015/gamma-app-controller.mjs.map +1 -1
  13. package/fesm2020/gamma-app-controller.mjs +172 -136
  14. package/fesm2020/gamma-app-controller.mjs.map +1 -1
  15. package/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.d.ts +2 -2
  16. package/lib/template-module/{kpiWithSingleLayout → kpiWithMultiLayout}/multi-layout-dataset-call.service.d.ts +1 -1
  17. package/lib/template-module/kpiWithSingleLayout/application-chat-api-call.service.d.ts +18 -0
  18. package/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.d.ts +4 -2
  19. package/lib/template-module/{kpiWithMultiLayout → kpiWithSingleLayout}/single-layout-dataset-call.service.d.ts +1 -1
  20. package/package.json +1 -1
  21. package/public-api.d.ts +3 -2
  22. package/esm2020/lib/template-module/kpiWithMultiLayout/single-layout-dataset-call.service.mjs +0 -364
  23. package/esm2020/lib/template-module/kpiWithSingleLayout/multi-layout-dataset-call.service.mjs +0 -364
@@ -96,7 +96,7 @@ const routes = [
96
96
  {
97
97
  path: '',
98
98
  loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
99
- },
99
+ }
100
100
  ];
101
101
  class GammaAppControllerModule {
102
102
  }
@@ -17634,7 +17634,122 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
17634
17634
  args: [APP_ENVIRONMENT]
17635
17635
  }] }]; } });
17636
17636
 
17637
- class MultilayoutApplicationDatssetsCall {
17637
+ class KpiWithMultiLayoutService {
17638
+ constructor(http, environment) {
17639
+ this.http = http;
17640
+ this.environment = environment;
17641
+ this.headers = new HttpHeaders().set('Content-Type', 'application/json');
17642
+ this.options = { headers: this.headers, withCredentials: true };
17643
+ this._selectedKpiOnClick = new Subject();
17644
+ this._kpilist = new Subject();
17645
+ this._selectKpiFromDropDown = new Subject();
17646
+ this._componentRegistry = new Map();
17647
+ this.kpiFilter = new BehaviorSubject([]);
17648
+ }
17649
+ handleError(error) {
17650
+ return throwError(error);
17651
+ }
17652
+ getlistKpiBrowser() {
17653
+ const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
17654
+ return this.http
17655
+ .get(apiUrl, { withCredentials: true })
17656
+ .pipe(map((response) => {
17657
+ return response;
17658
+ }), catchError(this.handleError));
17659
+ }
17660
+ getAppPageDetailConfig(pageId) {
17661
+ return this.http
17662
+ .get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
17663
+ .pipe(map((response) => {
17664
+ return response;
17665
+ }), catchError(this.handleError));
17666
+ }
17667
+ getAppPageConfigs() {
17668
+ const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
17669
+ return this.http
17670
+ .get(apiUrl, { withCredentials: true })
17671
+ .pipe(map((response) => {
17672
+ return response;
17673
+ }), catchError(this.handleError));
17674
+ }
17675
+ getAppDatasetConfigs() {
17676
+ const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
17677
+ return this.http
17678
+ .get(apiUrl, { withCredentials: true })
17679
+ .pipe(map((response) => {
17680
+ return response;
17681
+ }), catchError(this.handleError));
17682
+ }
17683
+ getAppDatasetConfig(datasetId) {
17684
+ const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
17685
+ return this.http
17686
+ .get(apiUrl, { withCredentials: true })
17687
+ .pipe(map((response) => {
17688
+ return response;
17689
+ }), catchError(this.handleError));
17690
+ }
17691
+ getAppFilterConfig(filterId) {
17692
+ return this.http
17693
+ .get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
17694
+ .pipe(map((response) => {
17695
+ return response;
17696
+ }), catchError(this.handleError));
17697
+ }
17698
+ getAppViewConfigs() {
17699
+ const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
17700
+ return this.http
17701
+ .get(apiUrl, { withCredentials: true })
17702
+ .pipe(map((response) => {
17703
+ return response;
17704
+ }), catchError(this.handleError));
17705
+ }
17706
+ getData(body, requestID) {
17707
+ return this.http
17708
+ .post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
17709
+ .pipe(map((response) => {
17710
+ return response;
17711
+ }), catchError(this.handleError));
17712
+ }
17713
+ getSimpleApiPostRequest(requestApi, body) {
17714
+ return this.http
17715
+ .post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
17716
+ .pipe(map((response) => {
17717
+ return response;
17718
+ }), catchError(this.handleError));
17719
+ }
17720
+ getSimpleApiGetRequest(requestApi) {
17721
+ return this.http
17722
+ .get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
17723
+ .pipe(map((response) => {
17724
+ return response;
17725
+ }), catchError(this.handleError));
17726
+ }
17727
+ getJsonDatasetPayload(requestApi) {
17728
+ return this.http
17729
+ .get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
17730
+ .pipe(map((response) => {
17731
+ return response;
17732
+ }), catchError(this.handleError));
17733
+ }
17734
+ genericSqlQueryResponse(requestApi, body) {
17735
+ return this.http
17736
+ .post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
17737
+ .pipe(map((response) => {
17738
+ return response;
17739
+ }), catchError(this.handleError));
17740
+ }
17741
+ }
17742
+ KpiWithMultiLayoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, deps: [{ token: i1.HttpClient }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
17743
+ KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
17744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
17745
+ type: Injectable,
17746
+ args: [{ providedIn: "root" }]
17747
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
17748
+ type: Inject,
17749
+ args: [APP_ENVIRONMENT]
17750
+ }] }]; } });
17751
+
17752
+ class SingleLayoutApplicationDatssetsCall {
17638
17753
  constructor(service, kpiService, toastr, environment) {
17639
17754
  this.service = service;
17640
17755
  this.kpiService = kpiService;
@@ -17981,12 +18096,43 @@ class MultilayoutApplicationDatssetsCall {
17981
18096
  return this.uniqueDataSetObject;
17982
18097
  }
17983
18098
  }
17984
- MultilayoutApplicationDatssetsCall.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, deps: [{ token: KpiWithSingleLayoutService }, { token: kpicommonService$2 }, { token: i3$1.ToastrService }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
17985
- MultilayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, providedIn: "root" });
17986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, decorators: [{
18099
+ SingleLayoutApplicationDatssetsCall.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, deps: [{ token: KpiWithMultiLayoutService }, { token: kpicommonService$2 }, { token: i3$1.ToastrService }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
18100
+ SingleLayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, providedIn: "root" });
18101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, decorators: [{
17987
18102
  type: Injectable,
17988
18103
  args: [{ providedIn: "root" }]
17989
- }], ctorParameters: function () { return [{ type: KpiWithSingleLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
18104
+ }], ctorParameters: function () { return [{ type: KpiWithMultiLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
18105
+ type: Inject,
18106
+ args: [APP_ENVIRONMENT]
18107
+ }] }]; } });
18108
+
18109
+ class ApplicationChatApiCallService {
18110
+ constructor(service, toastr, activatedRoute, environment) {
18111
+ this.service = service;
18112
+ this.toastr = toastr;
18113
+ this.activatedRoute = activatedRoute;
18114
+ this.environment = environment;
18115
+ this.uniqueDataSetObject = {};
18116
+ this.viewId = new BehaviorSubject(null);
18117
+ this.viewId$ = this.viewId.asObservable();
18118
+ }
18119
+ getViewId(params) {
18120
+ this.viewId.next(params);
18121
+ }
18122
+ getDataForChatAi(pageId, contentView, appliedFilters) {
18123
+ if (this.environment.chatBotClient) {
18124
+ this.viewId.next(contentView.viewId);
18125
+ }
18126
+ }
18127
+ }
18128
+ ApplicationChatApiCallService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, deps: [{ token: KpiWithSingleLayoutService }, { token: i3$1.ToastrService }, { token: i2.ActivatedRoute }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
18129
+ ApplicationChatApiCallService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, providedIn: 'root' });
18130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, decorators: [{
18131
+ type: Injectable,
18132
+ args: [{
18133
+ providedIn: 'root'
18134
+ }]
18135
+ }], ctorParameters: function () { return [{ type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.ActivatedRoute }, { type: undefined, decorators: [{
17990
18136
  type: Inject,
17991
18137
  args: [APP_ENVIRONMENT]
17992
18138
  }] }]; } });
@@ -18161,7 +18307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
18161
18307
  }] } });
18162
18308
 
18163
18309
  class KpiWithDataSetTestComponent {
18164
- constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
18310
+ constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, chatApiService) {
18165
18311
  this.commonService = commonService;
18166
18312
  this.activatedRoute = activatedRoute;
18167
18313
  this.viewContainerRef = viewContainerRef;
@@ -18170,6 +18316,7 @@ class KpiWithDataSetTestComponent {
18170
18316
  this.toastr = toastr;
18171
18317
  this.router = router;
18172
18318
  this.datasetService = datasetService;
18319
+ this.chatApiService = chatApiService;
18173
18320
  this.dashbord_container = [];
18174
18321
  this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
18175
18322
  this.page_title = 'Dashboard';
@@ -18664,11 +18811,13 @@ class KpiWithDataSetTestComponent {
18664
18811
  if (this.getElementOfCurrentView(node, event.drilldownTo)) {
18665
18812
  let view = element.widgetNode[nodeIndex];
18666
18813
  let apiCalls = [];
18814
+ let chatApiCall = [];
18667
18815
  let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.drilldownFrom));
18668
18816
  view.compConfig.viewConfig.forEach(contentView => {
18669
18817
  let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
18670
18818
  if (found) {
18671
18819
  apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
18820
+ chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
18672
18821
  }
18673
18822
  });
18674
18823
  Promise.all(apiCalls).then(() => {
@@ -18894,11 +19043,13 @@ class KpiWithDataSetTestComponent {
18894
19043
  }
18895
19044
  async getViewByRowCLick(event, view) {
18896
19045
  let apiCalls = [];
19046
+ let chatApiCall = [];
18897
19047
  let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
18898
19048
  view.compConfig.viewConfig.forEach(contentView => {
18899
19049
  let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
18900
19050
  if (found) {
18901
19051
  apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
19052
+ chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
18902
19053
  }
18903
19054
  });
18904
19055
  await Promise.all(apiCalls);
@@ -19160,12 +19311,12 @@ class KpiWithDataSetTestComponent {
19160
19311
  }
19161
19312
  }
19162
19313
  }
19163
- 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: MultilayoutApplicationDatssetsCall }], target: i0.ɵɵFactoryTarget.Component });
19314
+ 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 }], target: i0.ɵɵFactoryTarget.Component });
19164
19315
  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"] }] });
19165
19316
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, decorators: [{
19166
19317
  type: Component,
19167
19318
  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"] }]
19168
- }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: MultilayoutApplicationDatssetsCall }]; }, propDecorators: { dynamicComponentContainer: [{
19319
+ }], 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 }]; }, propDecorators: { dynamicComponentContainer: [{
19169
19320
  type: ViewChild,
19170
19321
  args: ['dynamicComponentContainer', { read: ViewContainerRef }]
19171
19322
  }], containerRef: [{
@@ -19224,7 +19375,7 @@ KpiWithSingleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
19224
19375
  MatIconModule,
19225
19376
  LoadingModule$1], exports: [DynamicWidgetComponent,
19226
19377
  KpiWithDataSetTestComponent] });
19227
- KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService, MultilayoutApplicationDatssetsCall], imports: [CommonModule,
19378
+ KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService], imports: [CommonModule,
19228
19379
  LoadingModule$1,
19229
19380
  CommonModule,
19230
19381
  DevExtremeModule,
@@ -19316,7 +19467,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
19316
19467
  DynamicWidgetComponent,
19317
19468
  KpiWithDataSetTestComponent
19318
19469
  ],
19319
- providers: [KpiWithSingleLayoutService, MultilayoutApplicationDatssetsCall],
19470
+ providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService],
19320
19471
  }]
19321
19472
  }] });
19322
19473
 
@@ -19489,122 +19640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
19489
19640
  args: ['modalConfigs']
19490
19641
  }] } });
19491
19642
 
19492
- class KpiWithMultiLayoutService {
19493
- constructor(http, environment) {
19494
- this.http = http;
19495
- this.environment = environment;
19496
- this.headers = new HttpHeaders().set('Content-Type', 'application/json');
19497
- this.options = { headers: this.headers, withCredentials: true };
19498
- this._selectedKpiOnClick = new Subject();
19499
- this._kpilist = new Subject();
19500
- this._selectKpiFromDropDown = new Subject();
19501
- this._componentRegistry = new Map();
19502
- this.kpiFilter = new BehaviorSubject([]);
19503
- }
19504
- handleError(error) {
19505
- return throwError(error);
19506
- }
19507
- getlistKpiBrowser() {
19508
- const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
19509
- return this.http
19510
- .get(apiUrl, { withCredentials: true })
19511
- .pipe(map((response) => {
19512
- return response;
19513
- }), catchError(this.handleError));
19514
- }
19515
- getAppPageDetailConfig(pageId) {
19516
- return this.http
19517
- .get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
19518
- .pipe(map((response) => {
19519
- return response;
19520
- }), catchError(this.handleError));
19521
- }
19522
- getAppPageConfigs() {
19523
- const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
19524
- return this.http
19525
- .get(apiUrl, { withCredentials: true })
19526
- .pipe(map((response) => {
19527
- return response;
19528
- }), catchError(this.handleError));
19529
- }
19530
- getAppDatasetConfigs() {
19531
- const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
19532
- return this.http
19533
- .get(apiUrl, { withCredentials: true })
19534
- .pipe(map((response) => {
19535
- return response;
19536
- }), catchError(this.handleError));
19537
- }
19538
- getAppDatasetConfig(datasetId) {
19539
- const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
19540
- return this.http
19541
- .get(apiUrl, { withCredentials: true })
19542
- .pipe(map((response) => {
19543
- return response;
19544
- }), catchError(this.handleError));
19545
- }
19546
- getAppFilterConfig(filterId) {
19547
- return this.http
19548
- .get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
19549
- .pipe(map((response) => {
19550
- return response;
19551
- }), catchError(this.handleError));
19552
- }
19553
- getAppViewConfigs() {
19554
- const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
19555
- return this.http
19556
- .get(apiUrl, { withCredentials: true })
19557
- .pipe(map((response) => {
19558
- return response;
19559
- }), catchError(this.handleError));
19560
- }
19561
- getData(body, requestID) {
19562
- return this.http
19563
- .post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
19564
- .pipe(map((response) => {
19565
- return response;
19566
- }), catchError(this.handleError));
19567
- }
19568
- getSimpleApiPostRequest(requestApi, body) {
19569
- return this.http
19570
- .post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
19571
- .pipe(map((response) => {
19572
- return response;
19573
- }), catchError(this.handleError));
19574
- }
19575
- getSimpleApiGetRequest(requestApi) {
19576
- return this.http
19577
- .get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
19578
- .pipe(map((response) => {
19579
- return response;
19580
- }), catchError(this.handleError));
19581
- }
19582
- getJsonDatasetPayload(requestApi) {
19583
- return this.http
19584
- .get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
19585
- .pipe(map((response) => {
19586
- return response;
19587
- }), catchError(this.handleError));
19588
- }
19589
- genericSqlQueryResponse(requestApi, body) {
19590
- return this.http
19591
- .post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
19592
- .pipe(map((response) => {
19593
- return response;
19594
- }), catchError(this.handleError));
19595
- }
19596
- }
19597
- KpiWithMultiLayoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, deps: [{ token: i1.HttpClient }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
19598
- KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
19599
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
19600
- type: Injectable,
19601
- args: [{ providedIn: "root" }]
19602
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
19603
- type: Inject,
19604
- args: [APP_ENVIRONMENT]
19605
- }] }]; } });
19606
-
19607
- class SingleLayoutApplicationDatssetsCall {
19643
+ class MultilayoutApplicationDatssetsCall {
19608
19644
  constructor(service, kpiService, toastr, environment) {
19609
19645
  this.service = service;
19610
19646
  this.kpiService = kpiService;
@@ -19951,12 +19987,12 @@ class SingleLayoutApplicationDatssetsCall {
19951
19987
  return this.uniqueDataSetObject;
19952
19988
  }
19953
19989
  }
19954
- SingleLayoutApplicationDatssetsCall.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, deps: [{ token: KpiWithMultiLayoutService }, { token: kpicommonService$2 }, { token: i3$1.ToastrService }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
19955
- SingleLayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, providedIn: "root" });
19956
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, decorators: [{
19990
+ MultilayoutApplicationDatssetsCall.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, deps: [{ token: KpiWithSingleLayoutService }, { token: kpicommonService$2 }, { token: i3$1.ToastrService }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
19991
+ MultilayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, providedIn: "root" });
19992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, decorators: [{
19957
19993
  type: Injectable,
19958
19994
  args: [{ providedIn: "root" }]
19959
- }], ctorParameters: function () { return [{ type: KpiWithMultiLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
19995
+ }], ctorParameters: function () { return [{ type: KpiWithSingleLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
19960
19996
  type: Inject,
19961
19997
  args: [APP_ENVIRONMENT]
19962
19998
  }] }]; } });
@@ -20911,12 +20947,12 @@ class KpiWithMultilayoutSetTestComponent {
20911
20947
  }
20912
20948
  }
20913
20949
  }
20914
- 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: SingleLayoutApplicationDatssetsCall }], target: i0.ɵɵFactoryTarget.Component });
20950
+ 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 }], target: i0.ɵɵFactoryTarget.Component });
20915
20951
  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"] }] });
20916
20952
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, decorators: [{
20917
20953
  type: Component,
20918
20954
  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" }]
20919
- }], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithMultiLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: SingleLayoutApplicationDatssetsCall }]; }, propDecorators: { dynamicComponentContainer: [{
20955
+ }], 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 }]; }, propDecorators: { dynamicComponentContainer: [{
20920
20956
  type: ViewChild,
20921
20957
  args: ['dynamicComponentContainer', { read: ViewContainerRef }]
20922
20958
  }], containerRef: [{
@@ -20972,7 +21008,7 @@ KpiWithMultiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
20972
21008
  MatIconModule,
20973
21009
  LoadingModule$1], exports: [KpiWithMultilayoutSetTestComponent,
20974
21010
  DynamicWidgetForMultilayoutComponent] });
20975
- KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService, SingleLayoutApplicationDatssetsCall], imports: [CommonModule,
21011
+ KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall], imports: [CommonModule,
20976
21012
  LoadingModule$1,
20977
21013
  CommonModule,
20978
21014
  DevExtremeModule,
@@ -21064,7 +21100,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
21064
21100
  KpiWithMultilayoutSetTestComponent,
21065
21101
  DynamicWidgetForMultilayoutComponent
21066
21102
  ],
21067
- providers: [KpiWithMultiLayoutService, SingleLayoutApplicationDatssetsCall],
21103
+ providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall],
21068
21104
  }]
21069
21105
  }] });
21070
21106
 
@@ -23936,5 +23972,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
23936
23972
  }]
23937
23973
  }] });
23938
23974
 
23939
- export { APP_ENVIRONMENT, AdvanceWidgetHeaderFilterComponent, AllMetricsConfigComponent, AppAdvanceHeaderComponent, AppHttpService, AppTitleComponent, ApplicationContentService, ApplicationDatssetsCall, ApplicationFilterComponent, ApplicationViewsComponent, BookMarkedTemplatemodule, BookmarkedApplicationDatssetsCall, BookmarkedService, BookmarkedTemplateComponent, BreadCrumbsComponent, CdrConfigComponent, CdrConfigMoudule, CommonHeaderComponent, CommonService, CreateCompViewComponent, CreateDatasetComponent, CreateDatasetJsonComponent, CreateDatasetSqlComponent, CreateKpiTreeComponent, CreateMetricsComponent, DashChartComponent, DashTableComponent, DashTodayPreviousComponent, DefaultLandingComponenttModule, DynamicWidgetComponent, DynamicWidgetForMultilayoutComponent, ExceptionOperationComponent, ExceptionOperationModule, GamamWidgetComponent, GammSingleNumberCardComponent, GammaAdvanceChartComponent, GammaAdvanceFilterComponent, GammaAdvanceOperatorTableComponent, GammaAppControllerComponent, GammaAppControllerModule, GammaAppControllerService, GammaGeoChartComponent, GammaHeatChartComponent, GammaTableClumnBarChartComponent, GammaTableWithPercentageComponent, GammaTodayPreviousComponent, GeoMapComponent, GoogleGeoMapComponent, HeatMapSupportComponent, IconsModule, KpiCreationModule, KpiWithDataSetTestComponent, KpiWithMultiLayoutModule, KpiWithMultiLayoutService, KpiWithMultilayoutSetTestComponent, KpiWithSingleLayoutModule, KpiWithSingleLayoutService, LandingApplicationDatssetsCall, LandingComponentComponent, LandingComponentService, LoaderComponent, LoadingComponent, LoadingModule, OflineMetricsComponent, OnlineMetricsComponent, PackageApplicationControllerModule, PageConfigComponent, PageConfigMultilayoutComponent, PageControlerComponent, SafeHtmlPipe, SingleLayoutApplicationDatssetsCall, SqlPipe, TableWithBarComponent, TreeViewAsideItemComponent, TreeViewBasicItemComponent, TreeViewCollapsableItemComponent, TreeViewDividerItemComponent, TreeViewGroupItemComponent, TreeViewSpacerItemComponent, TreeviewComponent, contentSafeHtml, kpicommonService$2 as kpicommonService };
23975
+ export { APP_ENVIRONMENT, AdvanceWidgetHeaderFilterComponent, AllMetricsConfigComponent, AppAdvanceHeaderComponent, AppHttpService, AppTitleComponent, ApplicationChatApiCallService, ApplicationContentService, ApplicationDatssetsCall, ApplicationFilterComponent, ApplicationViewsComponent, BookMarkedTemplatemodule, BookmarkedApplicationDatssetsCall, BookmarkedService, BookmarkedTemplateComponent, BreadCrumbsComponent, CdrConfigComponent, CdrConfigMoudule, CommonHeaderComponent, CommonService, CreateCompViewComponent, CreateDatasetComponent, CreateDatasetJsonComponent, CreateDatasetSqlComponent, CreateKpiTreeComponent, CreateMetricsComponent, DashChartComponent, DashTableComponent, DashTodayPreviousComponent, DefaultLandingComponenttModule, DynamicWidgetComponent, DynamicWidgetForMultilayoutComponent, ExceptionOperationComponent, ExceptionOperationModule, GamamWidgetComponent, GammSingleNumberCardComponent, GammaAdvanceChartComponent, GammaAdvanceFilterComponent, GammaAdvanceOperatorTableComponent, GammaAppControllerComponent, GammaAppControllerModule, GammaAppControllerService, GammaGeoChartComponent, GammaHeatChartComponent, GammaTableClumnBarChartComponent, GammaTableWithPercentageComponent, GammaTodayPreviousComponent, GeoMapComponent, GoogleGeoMapComponent, HeatMapSupportComponent, IconsModule, KpiCreationModule, KpiWithDataSetTestComponent, KpiWithMultiLayoutModule, KpiWithMultiLayoutService, KpiWithMultilayoutSetTestComponent, KpiWithSingleLayoutModule, KpiWithSingleLayoutService, LandingApplicationDatssetsCall, LandingComponentComponent, LandingComponentService, LoaderComponent, LoadingComponent, LoadingModule, MultilayoutApplicationDatssetsCall, OflineMetricsComponent, OnlineMetricsComponent, PackageApplicationControllerModule, PageConfigComponent, PageConfigMultilayoutComponent, PageControlerComponent, SafeHtmlPipe, SingleLayoutApplicationDatssetsCall, SqlPipe, TableWithBarComponent, TreeViewAsideItemComponent, TreeViewBasicItemComponent, TreeViewCollapsableItemComponent, TreeViewDividerItemComponent, TreeViewGroupItemComponent, TreeViewSpacerItemComponent, TreeviewComponent, contentSafeHtml, kpicommonService$2 as kpicommonService };
23940
23976
  //# sourceMappingURL=gamma-app-controller.mjs.map