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.
- package/esm2020/lib/gamma-app-controller.module.mjs +2 -2
- package/esm2020/lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component.mjs +1 -1
- package/esm2020/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.mjs +4 -4
- package/esm2020/lib/template-module/kpiWithMultiLayout/kpiWithMultiayout.module.mjs +4 -4
- package/esm2020/lib/template-module/kpiWithMultiLayout/multi-layout-dataset-call.service.mjs +364 -0
- package/esm2020/lib/template-module/kpiWithSingleLayout/application-chat-api-call.service.mjs +38 -0
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +21 -15
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpiWithSingleLayout.module.mjs +5 -4
- package/esm2020/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.mjs +364 -0
- package/esm2020/public-api.mjs +4 -3
- package/fesm2015/gamma-app-controller.mjs +176 -138
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +172 -136
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.d.ts +2 -2
- package/lib/template-module/{kpiWithSingleLayout → kpiWithMultiLayout}/multi-layout-dataset-call.service.d.ts +1 -1
- package/lib/template-module/kpiWithSingleLayout/application-chat-api-call.service.d.ts +18 -0
- package/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.d.ts +4 -2
- package/lib/template-module/{kpiWithMultiLayout → kpiWithSingleLayout}/single-layout-dataset-call.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
- package/esm2020/lib/template-module/kpiWithMultiLayout/single-layout-dataset-call.service.mjs +0 -364
- package/esm2020/lib/template-module/kpiWithSingleLayout/multi-layout-dataset-call.service.mjs +0 -364
|
@@ -99,7 +99,7 @@ const routes = [
|
|
|
99
99
|
{
|
|
100
100
|
path: '',
|
|
101
101
|
loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
|
|
102
|
-
}
|
|
102
|
+
}
|
|
103
103
|
];
|
|
104
104
|
class GammaAppControllerModule {
|
|
105
105
|
}
|
|
@@ -17644,7 +17644,124 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17644
17644
|
}] }];
|
|
17645
17645
|
} });
|
|
17646
17646
|
|
|
17647
|
-
class
|
|
17647
|
+
class KpiWithMultiLayoutService {
|
|
17648
|
+
constructor(http, environment) {
|
|
17649
|
+
this.http = http;
|
|
17650
|
+
this.environment = environment;
|
|
17651
|
+
this.headers = new HttpHeaders().set('Content-Type', 'application/json');
|
|
17652
|
+
this.options = { headers: this.headers, withCredentials: true };
|
|
17653
|
+
this._selectedKpiOnClick = new Subject();
|
|
17654
|
+
this._kpilist = new Subject();
|
|
17655
|
+
this._selectKpiFromDropDown = new Subject();
|
|
17656
|
+
this._componentRegistry = new Map();
|
|
17657
|
+
this.kpiFilter = new BehaviorSubject([]);
|
|
17658
|
+
}
|
|
17659
|
+
handleError(error) {
|
|
17660
|
+
return throwError(error);
|
|
17661
|
+
}
|
|
17662
|
+
getlistKpiBrowser() {
|
|
17663
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
17664
|
+
return this.http
|
|
17665
|
+
.get(apiUrl, { withCredentials: true })
|
|
17666
|
+
.pipe(map((response) => {
|
|
17667
|
+
return response;
|
|
17668
|
+
}), catchError(this.handleError));
|
|
17669
|
+
}
|
|
17670
|
+
getAppPageDetailConfig(pageId) {
|
|
17671
|
+
return this.http
|
|
17672
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
17673
|
+
.pipe(map((response) => {
|
|
17674
|
+
return response;
|
|
17675
|
+
}), catchError(this.handleError));
|
|
17676
|
+
}
|
|
17677
|
+
getAppPageConfigs() {
|
|
17678
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
17679
|
+
return this.http
|
|
17680
|
+
.get(apiUrl, { withCredentials: true })
|
|
17681
|
+
.pipe(map((response) => {
|
|
17682
|
+
return response;
|
|
17683
|
+
}), catchError(this.handleError));
|
|
17684
|
+
}
|
|
17685
|
+
getAppDatasetConfigs() {
|
|
17686
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
17687
|
+
return this.http
|
|
17688
|
+
.get(apiUrl, { withCredentials: true })
|
|
17689
|
+
.pipe(map((response) => {
|
|
17690
|
+
return response;
|
|
17691
|
+
}), catchError(this.handleError));
|
|
17692
|
+
}
|
|
17693
|
+
getAppDatasetConfig(datasetId) {
|
|
17694
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
17695
|
+
return this.http
|
|
17696
|
+
.get(apiUrl, { withCredentials: true })
|
|
17697
|
+
.pipe(map((response) => {
|
|
17698
|
+
return response;
|
|
17699
|
+
}), catchError(this.handleError));
|
|
17700
|
+
}
|
|
17701
|
+
getAppFilterConfig(filterId) {
|
|
17702
|
+
return this.http
|
|
17703
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
17704
|
+
.pipe(map((response) => {
|
|
17705
|
+
return response;
|
|
17706
|
+
}), catchError(this.handleError));
|
|
17707
|
+
}
|
|
17708
|
+
getAppViewConfigs() {
|
|
17709
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
17710
|
+
return this.http
|
|
17711
|
+
.get(apiUrl, { withCredentials: true })
|
|
17712
|
+
.pipe(map((response) => {
|
|
17713
|
+
return response;
|
|
17714
|
+
}), catchError(this.handleError));
|
|
17715
|
+
}
|
|
17716
|
+
getData(body, requestID) {
|
|
17717
|
+
return this.http
|
|
17718
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
17719
|
+
.pipe(map((response) => {
|
|
17720
|
+
return response;
|
|
17721
|
+
}), catchError(this.handleError));
|
|
17722
|
+
}
|
|
17723
|
+
getSimpleApiPostRequest(requestApi, body) {
|
|
17724
|
+
return this.http
|
|
17725
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
17726
|
+
.pipe(map((response) => {
|
|
17727
|
+
return response;
|
|
17728
|
+
}), catchError(this.handleError));
|
|
17729
|
+
}
|
|
17730
|
+
getSimpleApiGetRequest(requestApi) {
|
|
17731
|
+
return this.http
|
|
17732
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
17733
|
+
.pipe(map((response) => {
|
|
17734
|
+
return response;
|
|
17735
|
+
}), catchError(this.handleError));
|
|
17736
|
+
}
|
|
17737
|
+
getJsonDatasetPayload(requestApi) {
|
|
17738
|
+
return this.http
|
|
17739
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
17740
|
+
.pipe(map((response) => {
|
|
17741
|
+
return response;
|
|
17742
|
+
}), catchError(this.handleError));
|
|
17743
|
+
}
|
|
17744
|
+
genericSqlQueryResponse(requestApi, body) {
|
|
17745
|
+
return this.http
|
|
17746
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
17747
|
+
.pipe(map((response) => {
|
|
17748
|
+
return response;
|
|
17749
|
+
}), catchError(this.handleError));
|
|
17750
|
+
}
|
|
17751
|
+
}
|
|
17752
|
+
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 });
|
|
17753
|
+
KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
|
|
17754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
|
|
17755
|
+
type: Injectable,
|
|
17756
|
+
args: [{ providedIn: "root" }]
|
|
17757
|
+
}], ctorParameters: function () {
|
|
17758
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
17759
|
+
type: Inject,
|
|
17760
|
+
args: [APP_ENVIRONMENT]
|
|
17761
|
+
}] }];
|
|
17762
|
+
} });
|
|
17763
|
+
|
|
17764
|
+
class SingleLayoutApplicationDatssetsCall {
|
|
17648
17765
|
constructor(service, kpiService, toastr, environment) {
|
|
17649
17766
|
this.service = service;
|
|
17650
17767
|
this.kpiService = kpiService;
|
|
@@ -17991,13 +18108,46 @@ class MultilayoutApplicationDatssetsCall {
|
|
|
17991
18108
|
return this.uniqueDataSetObject;
|
|
17992
18109
|
}
|
|
17993
18110
|
}
|
|
17994
|
-
|
|
17995
|
-
|
|
17996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
18111
|
+
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 });
|
|
18112
|
+
SingleLayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, providedIn: "root" });
|
|
18113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, decorators: [{
|
|
17997
18114
|
type: Injectable,
|
|
17998
18115
|
args: [{ providedIn: "root" }]
|
|
17999
18116
|
}], ctorParameters: function () {
|
|
18000
|
-
return [{ type:
|
|
18117
|
+
return [{ type: KpiWithMultiLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
|
|
18118
|
+
type: Inject,
|
|
18119
|
+
args: [APP_ENVIRONMENT]
|
|
18120
|
+
}] }];
|
|
18121
|
+
} });
|
|
18122
|
+
|
|
18123
|
+
class ApplicationChatApiCallService {
|
|
18124
|
+
constructor(service, toastr, activatedRoute, environment) {
|
|
18125
|
+
this.service = service;
|
|
18126
|
+
this.toastr = toastr;
|
|
18127
|
+
this.activatedRoute = activatedRoute;
|
|
18128
|
+
this.environment = environment;
|
|
18129
|
+
this.uniqueDataSetObject = {};
|
|
18130
|
+
this.viewId = new BehaviorSubject(null);
|
|
18131
|
+
this.viewId$ = this.viewId.asObservable();
|
|
18132
|
+
}
|
|
18133
|
+
getViewId(params) {
|
|
18134
|
+
this.viewId.next(params);
|
|
18135
|
+
}
|
|
18136
|
+
getDataForChatAi(pageId, contentView, appliedFilters) {
|
|
18137
|
+
if (this.environment.chatBotClient) {
|
|
18138
|
+
this.viewId.next(contentView.viewId);
|
|
18139
|
+
}
|
|
18140
|
+
}
|
|
18141
|
+
}
|
|
18142
|
+
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 });
|
|
18143
|
+
ApplicationChatApiCallService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, providedIn: 'root' });
|
|
18144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, decorators: [{
|
|
18145
|
+
type: Injectable,
|
|
18146
|
+
args: [{
|
|
18147
|
+
providedIn: 'root'
|
|
18148
|
+
}]
|
|
18149
|
+
}], ctorParameters: function () {
|
|
18150
|
+
return [{ type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.ActivatedRoute }, { type: undefined, decorators: [{
|
|
18001
18151
|
type: Inject,
|
|
18002
18152
|
args: [APP_ENVIRONMENT]
|
|
18003
18153
|
}] }];
|
|
@@ -18173,7 +18323,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
18173
18323
|
}] } });
|
|
18174
18324
|
|
|
18175
18325
|
class KpiWithDataSetTestComponent {
|
|
18176
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
18326
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, chatApiService) {
|
|
18177
18327
|
this.commonService = commonService;
|
|
18178
18328
|
this.activatedRoute = activatedRoute;
|
|
18179
18329
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -18182,6 +18332,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18182
18332
|
this.toastr = toastr;
|
|
18183
18333
|
this.router = router;
|
|
18184
18334
|
this.datasetService = datasetService;
|
|
18335
|
+
this.chatApiService = chatApiService;
|
|
18185
18336
|
this.dashbord_container = [];
|
|
18186
18337
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
18187
18338
|
this.page_title = 'Dashboard';
|
|
@@ -18680,11 +18831,13 @@ class KpiWithDataSetTestComponent {
|
|
|
18680
18831
|
if (this.getElementOfCurrentView(node, event.drilldownTo)) {
|
|
18681
18832
|
let view = element.widgetNode[nodeIndex];
|
|
18682
18833
|
let apiCalls = [];
|
|
18834
|
+
let chatApiCall = [];
|
|
18683
18835
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.drilldownFrom));
|
|
18684
18836
|
view.compConfig.viewConfig.forEach(contentView => {
|
|
18685
18837
|
let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
|
|
18686
18838
|
if (found) {
|
|
18687
18839
|
apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
|
|
18840
|
+
chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
|
|
18688
18841
|
}
|
|
18689
18842
|
});
|
|
18690
18843
|
Promise.all(apiCalls).then(() => {
|
|
@@ -18916,11 +19069,13 @@ class KpiWithDataSetTestComponent {
|
|
|
18916
19069
|
getViewByRowCLick(event, view) {
|
|
18917
19070
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18918
19071
|
let apiCalls = [];
|
|
19072
|
+
let chatApiCall = [];
|
|
18919
19073
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
|
|
18920
19074
|
view.compConfig.viewConfig.forEach(contentView => {
|
|
18921
19075
|
let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
|
|
18922
19076
|
if (found) {
|
|
18923
19077
|
apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
|
|
19078
|
+
chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
|
|
18924
19079
|
}
|
|
18925
19080
|
});
|
|
18926
19081
|
yield Promise.all(apiCalls);
|
|
@@ -19187,12 +19342,12 @@ class KpiWithDataSetTestComponent {
|
|
|
19187
19342
|
}
|
|
19188
19343
|
}
|
|
19189
19344
|
}
|
|
19190
|
-
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:
|
|
19345
|
+
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 });
|
|
19191
19346
|
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"] }] });
|
|
19192
19347
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, decorators: [{
|
|
19193
19348
|
type: Component,
|
|
19194
19349
|
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"] }]
|
|
19195
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type:
|
|
19350
|
+
}], 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: [{
|
|
19196
19351
|
type: ViewChild,
|
|
19197
19352
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
19198
19353
|
}], containerRef: [{
|
|
@@ -19251,7 +19406,7 @@ KpiWithSingleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
|
|
|
19251
19406
|
MatIconModule,
|
|
19252
19407
|
LoadingModule$1], exports: [DynamicWidgetComponent,
|
|
19253
19408
|
KpiWithDataSetTestComponent] });
|
|
19254
|
-
KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService,
|
|
19409
|
+
KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService], imports: [CommonModule,
|
|
19255
19410
|
LoadingModule$1,
|
|
19256
19411
|
CommonModule,
|
|
19257
19412
|
DevExtremeModule,
|
|
@@ -19343,7 +19498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
19343
19498
|
DynamicWidgetComponent,
|
|
19344
19499
|
KpiWithDataSetTestComponent
|
|
19345
19500
|
],
|
|
19346
|
-
providers: [KpiWithSingleLayoutService,
|
|
19501
|
+
providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService],
|
|
19347
19502
|
}]
|
|
19348
19503
|
}] });
|
|
19349
19504
|
|
|
@@ -19516,124 +19671,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
19516
19671
|
args: ['modalConfigs']
|
|
19517
19672
|
}] } });
|
|
19518
19673
|
|
|
19519
|
-
class
|
|
19520
|
-
constructor(http, environment) {
|
|
19521
|
-
this.http = http;
|
|
19522
|
-
this.environment = environment;
|
|
19523
|
-
this.headers = new HttpHeaders().set('Content-Type', 'application/json');
|
|
19524
|
-
this.options = { headers: this.headers, withCredentials: true };
|
|
19525
|
-
this._selectedKpiOnClick = new Subject();
|
|
19526
|
-
this._kpilist = new Subject();
|
|
19527
|
-
this._selectKpiFromDropDown = new Subject();
|
|
19528
|
-
this._componentRegistry = new Map();
|
|
19529
|
-
this.kpiFilter = new BehaviorSubject([]);
|
|
19530
|
-
}
|
|
19531
|
-
handleError(error) {
|
|
19532
|
-
return throwError(error);
|
|
19533
|
-
}
|
|
19534
|
-
getlistKpiBrowser() {
|
|
19535
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
19536
|
-
return this.http
|
|
19537
|
-
.get(apiUrl, { withCredentials: true })
|
|
19538
|
-
.pipe(map((response) => {
|
|
19539
|
-
return response;
|
|
19540
|
-
}), catchError(this.handleError));
|
|
19541
|
-
}
|
|
19542
|
-
getAppPageDetailConfig(pageId) {
|
|
19543
|
-
return this.http
|
|
19544
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
19545
|
-
.pipe(map((response) => {
|
|
19546
|
-
return response;
|
|
19547
|
-
}), catchError(this.handleError));
|
|
19548
|
-
}
|
|
19549
|
-
getAppPageConfigs() {
|
|
19550
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
19551
|
-
return this.http
|
|
19552
|
-
.get(apiUrl, { withCredentials: true })
|
|
19553
|
-
.pipe(map((response) => {
|
|
19554
|
-
return response;
|
|
19555
|
-
}), catchError(this.handleError));
|
|
19556
|
-
}
|
|
19557
|
-
getAppDatasetConfigs() {
|
|
19558
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
19559
|
-
return this.http
|
|
19560
|
-
.get(apiUrl, { withCredentials: true })
|
|
19561
|
-
.pipe(map((response) => {
|
|
19562
|
-
return response;
|
|
19563
|
-
}), catchError(this.handleError));
|
|
19564
|
-
}
|
|
19565
|
-
getAppDatasetConfig(datasetId) {
|
|
19566
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
19567
|
-
return this.http
|
|
19568
|
-
.get(apiUrl, { withCredentials: true })
|
|
19569
|
-
.pipe(map((response) => {
|
|
19570
|
-
return response;
|
|
19571
|
-
}), catchError(this.handleError));
|
|
19572
|
-
}
|
|
19573
|
-
getAppFilterConfig(filterId) {
|
|
19574
|
-
return this.http
|
|
19575
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
19576
|
-
.pipe(map((response) => {
|
|
19577
|
-
return response;
|
|
19578
|
-
}), catchError(this.handleError));
|
|
19579
|
-
}
|
|
19580
|
-
getAppViewConfigs() {
|
|
19581
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
19582
|
-
return this.http
|
|
19583
|
-
.get(apiUrl, { withCredentials: true })
|
|
19584
|
-
.pipe(map((response) => {
|
|
19585
|
-
return response;
|
|
19586
|
-
}), catchError(this.handleError));
|
|
19587
|
-
}
|
|
19588
|
-
getData(body, requestID) {
|
|
19589
|
-
return this.http
|
|
19590
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
19591
|
-
.pipe(map((response) => {
|
|
19592
|
-
return response;
|
|
19593
|
-
}), catchError(this.handleError));
|
|
19594
|
-
}
|
|
19595
|
-
getSimpleApiPostRequest(requestApi, body) {
|
|
19596
|
-
return this.http
|
|
19597
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
19598
|
-
.pipe(map((response) => {
|
|
19599
|
-
return response;
|
|
19600
|
-
}), catchError(this.handleError));
|
|
19601
|
-
}
|
|
19602
|
-
getSimpleApiGetRequest(requestApi) {
|
|
19603
|
-
return this.http
|
|
19604
|
-
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
19605
|
-
.pipe(map((response) => {
|
|
19606
|
-
return response;
|
|
19607
|
-
}), catchError(this.handleError));
|
|
19608
|
-
}
|
|
19609
|
-
getJsonDatasetPayload(requestApi) {
|
|
19610
|
-
return this.http
|
|
19611
|
-
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
19612
|
-
.pipe(map((response) => {
|
|
19613
|
-
return response;
|
|
19614
|
-
}), catchError(this.handleError));
|
|
19615
|
-
}
|
|
19616
|
-
genericSqlQueryResponse(requestApi, body) {
|
|
19617
|
-
return this.http
|
|
19618
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
19619
|
-
.pipe(map((response) => {
|
|
19620
|
-
return response;
|
|
19621
|
-
}), catchError(this.handleError));
|
|
19622
|
-
}
|
|
19623
|
-
}
|
|
19624
|
-
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 });
|
|
19625
|
-
KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
|
|
19626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
|
|
19627
|
-
type: Injectable,
|
|
19628
|
-
args: [{ providedIn: "root" }]
|
|
19629
|
-
}], ctorParameters: function () {
|
|
19630
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
19631
|
-
type: Inject,
|
|
19632
|
-
args: [APP_ENVIRONMENT]
|
|
19633
|
-
}] }];
|
|
19634
|
-
} });
|
|
19635
|
-
|
|
19636
|
-
class SingleLayoutApplicationDatssetsCall {
|
|
19674
|
+
class MultilayoutApplicationDatssetsCall {
|
|
19637
19675
|
constructor(service, kpiService, toastr, environment) {
|
|
19638
19676
|
this.service = service;
|
|
19639
19677
|
this.kpiService = kpiService;
|
|
@@ -19980,13 +20018,13 @@ class SingleLayoutApplicationDatssetsCall {
|
|
|
19980
20018
|
return this.uniqueDataSetObject;
|
|
19981
20019
|
}
|
|
19982
20020
|
}
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
20021
|
+
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 });
|
|
20022
|
+
MultilayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, providedIn: "root" });
|
|
20023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, decorators: [{
|
|
19986
20024
|
type: Injectable,
|
|
19987
20025
|
args: [{ providedIn: "root" }]
|
|
19988
20026
|
}], ctorParameters: function () {
|
|
19989
|
-
return [{ type:
|
|
20027
|
+
return [{ type: KpiWithSingleLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
|
|
19990
20028
|
type: Inject,
|
|
19991
20029
|
args: [APP_ENVIRONMENT]
|
|
19992
20030
|
}] }];
|
|
@@ -20955,12 +20993,12 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20955
20993
|
}
|
|
20956
20994
|
}
|
|
20957
20995
|
}
|
|
20958
|
-
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:
|
|
20996
|
+
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 });
|
|
20959
20997
|
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"] }] });
|
|
20960
20998
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, decorators: [{
|
|
20961
20999
|
type: Component,
|
|
20962
21000
|
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" }]
|
|
20963
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithMultiLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type:
|
|
21001
|
+
}], 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: [{
|
|
20964
21002
|
type: ViewChild,
|
|
20965
21003
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
20966
21004
|
}], containerRef: [{
|
|
@@ -21016,7 +21054,7 @@ KpiWithMultiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
|
|
|
21016
21054
|
MatIconModule,
|
|
21017
21055
|
LoadingModule$1], exports: [KpiWithMultilayoutSetTestComponent,
|
|
21018
21056
|
DynamicWidgetForMultilayoutComponent] });
|
|
21019
|
-
KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService,
|
|
21057
|
+
KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall], imports: [CommonModule,
|
|
21020
21058
|
LoadingModule$1,
|
|
21021
21059
|
CommonModule,
|
|
21022
21060
|
DevExtremeModule,
|
|
@@ -21108,7 +21146,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
21108
21146
|
KpiWithMultilayoutSetTestComponent,
|
|
21109
21147
|
DynamicWidgetForMultilayoutComponent
|
|
21110
21148
|
],
|
|
21111
|
-
providers: [KpiWithMultiLayoutService,
|
|
21149
|
+
providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall],
|
|
21112
21150
|
}]
|
|
21113
21151
|
}] });
|
|
21114
21152
|
|
|
@@ -24000,5 +24038,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
24000
24038
|
}]
|
|
24001
24039
|
}] });
|
|
24002
24040
|
|
|
24003
|
-
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 };
|
|
24041
|
+
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 };
|
|
24004
24042
|
//# sourceMappingURL=gamma-app-controller.mjs.map
|