gamma-app-controller 1.1.29 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +1 -5
- package/esm2020/lib/application-controller/application-dataset-component/dataset-query-bulder/dataset-query-bulder.component.mjs +1 -8
- package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +1 -2
- package/esm2020/lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component.mjs +1 -2
- package/esm2020/lib/application-controller/tokenStorage.servce.mjs +36 -0
- package/esm2020/lib/gamma-app-controller.module.mjs +2 -2
- package/esm2020/lib/shared/advanced-component/app-advance-header/app-header.component.mjs +20 -18
- package/esm2020/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +1 -2
- package/esm2020/lib/template-module/bookmarked-template/bookmarked-template.component.mjs +10 -9
- package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +10 -9
- package/esm2020/lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component.mjs +1 -2
- package/esm2020/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.mjs +17 -16
- 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/dynamin-modal.component.mjs +1 -2
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +85 -30
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpiWithSingleLayout.module.mjs +5 -4
- package/esm2020/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.mjs +366 -0
- package/esm2020/public-api.mjs +5 -3
- package/fesm2015/gamma-app-controller.mjs +300 -193
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +292 -189
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-dataset-component/dataset-query-bulder/dataset-query-bulder.component.d.ts +0 -1
- package/lib/application-controller/tokenStorage.servce.d.ts +12 -0
- package/lib/shared/advanced-component/app-advance-header/app-header.component.d.ts +3 -1
- package/lib/template-module/bookmarked-template/bookmarked-template.component.d.ts +3 -1
- package/lib/template-module/defaulLandingComponent/landing-component.component.d.ts +3 -1
- package/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.d.ts +4 -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 +16 -2
- package/lib/template-module/{kpiWithMultiLayout → kpiWithSingleLayout}/single-layout-dataset-call.service.d.ts +4 -2
- package/package.json +1 -1
- package/public-api.d.ts +4 -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
|
@@ -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
|
}
|
|
@@ -3216,13 +3216,6 @@ class DatasetQueryBulderComponent {
|
|
|
3216
3216
|
});
|
|
3217
3217
|
this.toastr.success('Columns Saved Successfully');
|
|
3218
3218
|
}
|
|
3219
|
-
saveDataToStore() {
|
|
3220
|
-
const buildDate = localStorage.getItem('querybuilder');
|
|
3221
|
-
if (buildDate) {
|
|
3222
|
-
localStorage.removeItem(buildDate);
|
|
3223
|
-
}
|
|
3224
|
-
localStorage.setItem('querybuilder', JSON.stringify(this.queryBulderDataset));
|
|
3225
|
-
}
|
|
3226
3219
|
transformColumnsForMesurs(inputColumns) {
|
|
3227
3220
|
const measure = [];
|
|
3228
3221
|
inputColumns.forEach(col => {
|
|
@@ -7033,6 +7026,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
7033
7026
|
args: ['chartDataSource']
|
|
7034
7027
|
}] } });
|
|
7035
7028
|
|
|
7029
|
+
const TOKEN_KEY = 'x-auth-token';
|
|
7030
|
+
class AppLocalStorage {
|
|
7031
|
+
constructor(environment) {
|
|
7032
|
+
this.environment = environment;
|
|
7033
|
+
}
|
|
7034
|
+
save(type, token) {
|
|
7035
|
+
window.localStorage[this.getAppVariableName(type)] = token;
|
|
7036
|
+
}
|
|
7037
|
+
get(type) {
|
|
7038
|
+
return window.localStorage[this.getAppVariableName(type)];
|
|
7039
|
+
}
|
|
7040
|
+
delete(type) {
|
|
7041
|
+
return window.localStorage.removeItem[this.getAppVariableName(type)];
|
|
7042
|
+
}
|
|
7043
|
+
destroy() {
|
|
7044
|
+
window.localStorage.removeItem(TOKEN_KEY);
|
|
7045
|
+
}
|
|
7046
|
+
getAppVariableName(attributeName) {
|
|
7047
|
+
return this.environment.appName + '__' + attributeName;
|
|
7048
|
+
}
|
|
7049
|
+
}
|
|
7050
|
+
AppLocalStorage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppLocalStorage, deps: [{ token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7051
|
+
AppLocalStorage.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppLocalStorage, providedIn: 'root' });
|
|
7052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppLocalStorage, decorators: [{
|
|
7053
|
+
type: Injectable,
|
|
7054
|
+
args: [{
|
|
7055
|
+
providedIn: 'root',
|
|
7056
|
+
}]
|
|
7057
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
7058
|
+
type: Inject,
|
|
7059
|
+
args: [APP_ENVIRONMENT]
|
|
7060
|
+
}] }]; } });
|
|
7061
|
+
|
|
7036
7062
|
class kpicommonService$1 {
|
|
7037
7063
|
constructor(commonService) {
|
|
7038
7064
|
this.commonService = commonService;
|
|
@@ -7963,10 +7989,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
7963
7989
|
}] } });
|
|
7964
7990
|
|
|
7965
7991
|
class AppAdvanceHeaderComponent {
|
|
7966
|
-
constructor(activatedRoute, route, commonService) {
|
|
7992
|
+
constructor(activatedRoute, route, commonService, storage) {
|
|
7967
7993
|
this.activatedRoute = activatedRoute;
|
|
7968
7994
|
this.route = route;
|
|
7969
7995
|
this.commonService = commonService;
|
|
7996
|
+
this.storage = storage;
|
|
7970
7997
|
this.toggleEvent = new EventEmitter();
|
|
7971
7998
|
this.autoload_button = true;
|
|
7972
7999
|
this.toolTipText = 'By Date Range';
|
|
@@ -8088,7 +8115,7 @@ class AppAdvanceHeaderComponent {
|
|
|
8088
8115
|
}
|
|
8089
8116
|
}
|
|
8090
8117
|
ngOnInit() {
|
|
8091
|
-
const userData =
|
|
8118
|
+
const userData = this.storage.get('user_name');
|
|
8092
8119
|
if (userData == 'admin') {
|
|
8093
8120
|
this.isEditButton = true;
|
|
8094
8121
|
}
|
|
@@ -8193,13 +8220,13 @@ class AppAdvanceHeaderComponent {
|
|
|
8193
8220
|
queryParamsHandling: "merge"
|
|
8194
8221
|
};
|
|
8195
8222
|
this.route.navigate([], navigation);
|
|
8196
|
-
const opName =
|
|
8223
|
+
const opName = this.storage.get('operator_key');
|
|
8197
8224
|
if (opName) {
|
|
8198
|
-
|
|
8199
|
-
|
|
8225
|
+
this.storage.delete('operator_key');
|
|
8226
|
+
this.storage.save('operator_key', event.value);
|
|
8200
8227
|
}
|
|
8201
8228
|
else {
|
|
8202
|
-
|
|
8229
|
+
this.storage.save('operator_key', event.value);
|
|
8203
8230
|
}
|
|
8204
8231
|
this.getOperatorName.emit(event.value);
|
|
8205
8232
|
}
|
|
@@ -8222,12 +8249,12 @@ class AppAdvanceHeaderComponent {
|
|
|
8222
8249
|
return operationFilter;
|
|
8223
8250
|
}
|
|
8224
8251
|
}
|
|
8225
|
-
AppAdvanceHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppAdvanceHeaderComponent, deps: [{ token: i2.ActivatedRoute }, { token: i2.Router }, { token: CommonService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8252
|
+
AppAdvanceHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppAdvanceHeaderComponent, deps: [{ token: i2.ActivatedRoute }, { token: i2.Router }, { token: CommonService }, { token: AppLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
|
|
8226
8253
|
AppAdvanceHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AppAdvanceHeaderComponent, selector: "app-advance-header", inputs: { pageTitle: "pageTitle", bread_crumbs_container: "bread_crumbs_container", isEditButton: "isEditButton", isAdvanceButton: "isAdvanceButton", selectedDates: "selectedDates", filterItems: "filterItems", contextFilterItems: "contextFilterItems" }, outputs: { toggleEvent: "toggleEvent", selectedDateRangeOrServtype: "selectedDateRangeOrServtype", getFilterPageConfig: "getFilterPageConfig", getOperatorName: "getOperatorName", getContextFilterData: "getContextFilterData" }, ngImport: i0, template: "<div class=\"flex flex-col mb-2\">\n <div class=\"flex justify-between border-b dark:bg-transparent\">\n <div class=\"flex flex-col ml-1\">\n <div class=\"flex items-center float-start\">\n <div class=\"flex items-center overflow-hidden\">\n <mat-icon class=\"icon-size-2\" [svgIcon]=\"'heroicons_solid:template'\"></mat-icon>\n </div>\n <h2\n class=\"text-2xl md:text-2xl py-3 font-extrabold items-center ml-2 tracking-tight leading-5 truncate capitalize\">\n {{ pageTitle }}\n </h2>\n </div>\n <div class=\"\">\n <!-- INCOMING -->\n <gamma-bread-crumbs [kpi_data_container]=\"bread_crumbs_container\"></gamma-bread-crumbs>\n </div>\n </div>\n <div class=\"flex justify-between items-center border-l-2 p-0 m-0\">\n\n <div class=\"mx-2\" *ngIf=\"isEditButton\">\n <div (click)=\"editKpi()\"\n class=\"bg-blue-700 cursor-pointer dark:bg-blue-600 dark:focus:ring-blue-800 dark:hover:bg-blue-700 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium hover:bg-blue-800 mr-2 px-2.5 py-2 rounded text-sm text-white ng-star-inserted\">\n Edit\n </div>\n </div>\n <ng-container *ngIf=\"contextFilterItemsForFilter && contextFilterItemsForFilter.length !== 0 \">\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\" >\n <dx-select-box [items]=\"contextFilterItemsForFilter\" (onValueChanged)=\"getContextMenuChange($event)\" displayExpr=\"label\" valueExpr=\"defaultFilterValue\"\n [(ngModel)]=\"defaultFilterValue\"></dx-select-box>\n </div>\n </ng-container>\n \n <div class=\"w-1 h-full border-l-2\" *ngIf=\"isEditButton\"></div>\n\n <div class=\"mx-2\">\n <div class=\"cursor-pointer\" (click)=\"advanceFilterKpi()\"> {{selectedDetesforView}}</div>\n </div>\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\" *ngIf=\"isAdvanceButton\">\n <button class=\"mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base\"\n aria-haspopup=\"menu\" (click)=\"advanceFilterKpi()\">\n <span class=\"mat-button-wrapper\">\n <span class=\"relative\">\n <mat-icon title=\"Filters\" [svgIcon]=\"'heroicons_outline:adjustments'\">\n </mat-icon>\n </span>\n </span>\n </button>\n </div>\n\n\n <div class=\"w-1 h-full border-l-2\"></div>\n <!-- <div class=\"mx-2\">\n <button class=\"mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base\"\n aria-haspopup=\"menu\">\n <span class=\"mat-button-wrapper\">\n <span class=\"relative\">\n <mat-icon (click)=\"callPageDocumentation()\" title=\"Add Filters\" [svgIcon]=\"\n 'heroicons_outline:question-mark-circle'\n \">\n </mat-icon>\n </span>\n </span>\n <span class=\"mat-button-focus-overlay\"></span>\n </button>\n </div> -->\n\n </div>\n </div>\n</div>\n\n<dx-popup [(visible)]=\"isAdvanceFilter\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"600\"\n [height]=\"'auto'\" [showTitle]=\"true\" class=\"popup\" title=\"Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <app-gamma-advance-filter [kpiId]=\"'231212'\" [filterOperatorData]=\"filterItemsForFilter\"\n [isButtonDesiable]=\"isAdvanceFilter\" [filterStartDate]=\"filterStartDate\" [filterEndDate]=\"filterEndDate\"\n (filterDataObject)=\"getSerchFilter($event)\"></app-gamma-advance-filter>\n </div>\n</dx-popup>", dependencies: [{ kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: 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: "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: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: GammaAdvanceFilterComponent, selector: "app-gamma-advance-filter", inputs: ["kpiId", "filterStartDate", "filterEndDate", "browser_api_config", "isButtonDesiable", "filterOperatorData"], outputs: ["filterDataObject"] }, { kind: "component", type: BreadCrumbsComponent, selector: "gamma-bread-crumbs", inputs: ["kpi_data_container"] }] });
|
|
8227
8254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppAdvanceHeaderComponent, decorators: [{
|
|
8228
8255
|
type: Component,
|
|
8229
8256
|
args: [{ selector: 'app-advance-header', template: "<div class=\"flex flex-col mb-2\">\n <div class=\"flex justify-between border-b dark:bg-transparent\">\n <div class=\"flex flex-col ml-1\">\n <div class=\"flex items-center float-start\">\n <div class=\"flex items-center overflow-hidden\">\n <mat-icon class=\"icon-size-2\" [svgIcon]=\"'heroicons_solid:template'\"></mat-icon>\n </div>\n <h2\n class=\"text-2xl md:text-2xl py-3 font-extrabold items-center ml-2 tracking-tight leading-5 truncate capitalize\">\n {{ pageTitle }}\n </h2>\n </div>\n <div class=\"\">\n <!-- INCOMING -->\n <gamma-bread-crumbs [kpi_data_container]=\"bread_crumbs_container\"></gamma-bread-crumbs>\n </div>\n </div>\n <div class=\"flex justify-between items-center border-l-2 p-0 m-0\">\n\n <div class=\"mx-2\" *ngIf=\"isEditButton\">\n <div (click)=\"editKpi()\"\n class=\"bg-blue-700 cursor-pointer dark:bg-blue-600 dark:focus:ring-blue-800 dark:hover:bg-blue-700 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium hover:bg-blue-800 mr-2 px-2.5 py-2 rounded text-sm text-white ng-star-inserted\">\n Edit\n </div>\n </div>\n <ng-container *ngIf=\"contextFilterItemsForFilter && contextFilterItemsForFilter.length !== 0 \">\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\" >\n <dx-select-box [items]=\"contextFilterItemsForFilter\" (onValueChanged)=\"getContextMenuChange($event)\" displayExpr=\"label\" valueExpr=\"defaultFilterValue\"\n [(ngModel)]=\"defaultFilterValue\"></dx-select-box>\n </div>\n </ng-container>\n \n <div class=\"w-1 h-full border-l-2\" *ngIf=\"isEditButton\"></div>\n\n <div class=\"mx-2\">\n <div class=\"cursor-pointer\" (click)=\"advanceFilterKpi()\"> {{selectedDetesforView}}</div>\n </div>\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\" *ngIf=\"isAdvanceButton\">\n <button class=\"mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base\"\n aria-haspopup=\"menu\" (click)=\"advanceFilterKpi()\">\n <span class=\"mat-button-wrapper\">\n <span class=\"relative\">\n <mat-icon title=\"Filters\" [svgIcon]=\"'heroicons_outline:adjustments'\">\n </mat-icon>\n </span>\n </span>\n </button>\n </div>\n\n\n <div class=\"w-1 h-full border-l-2\"></div>\n <!-- <div class=\"mx-2\">\n <button class=\"mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base\"\n aria-haspopup=\"menu\">\n <span class=\"mat-button-wrapper\">\n <span class=\"relative\">\n <mat-icon (click)=\"callPageDocumentation()\" title=\"Add Filters\" [svgIcon]=\"\n 'heroicons_outline:question-mark-circle'\n \">\n </mat-icon>\n </span>\n </span>\n <span class=\"mat-button-focus-overlay\"></span>\n </button>\n </div> -->\n\n </div>\n </div>\n</div>\n\n<dx-popup [(visible)]=\"isAdvanceFilter\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"600\"\n [height]=\"'auto'\" [showTitle]=\"true\" class=\"popup\" title=\"Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <app-gamma-advance-filter [kpiId]=\"'231212'\" [filterOperatorData]=\"filterItemsForFilter\"\n [isButtonDesiable]=\"isAdvanceFilter\" [filterStartDate]=\"filterStartDate\" [filterEndDate]=\"filterEndDate\"\n (filterDataObject)=\"getSerchFilter($event)\"></app-gamma-advance-filter>\n </div>\n</dx-popup>" }]
|
|
8230
|
-
}], ctorParameters: function () { return [{ type: i2.ActivatedRoute }, { type: i2.Router }, { type: CommonService }]; }, propDecorators: { pageTitle: [{
|
|
8257
|
+
}], ctorParameters: function () { return [{ type: i2.ActivatedRoute }, { type: i2.Router }, { type: CommonService }, { type: AppLocalStorage }]; }, propDecorators: { pageTitle: [{
|
|
8231
8258
|
type: Input
|
|
8232
8259
|
}], bread_crumbs_container: [{
|
|
8233
8260
|
type: Input
|
|
@@ -8521,7 +8548,6 @@ class GammaAdvanceOperatorTableComponent {
|
|
|
8521
8548
|
return;
|
|
8522
8549
|
}
|
|
8523
8550
|
else {
|
|
8524
|
-
debugger;
|
|
8525
8551
|
this.isLoader = true;
|
|
8526
8552
|
this.page_config = value;
|
|
8527
8553
|
this.page_parms = value.titleParams;
|
|
@@ -11479,11 +11505,9 @@ class CreateDatasetComponent {
|
|
|
11479
11505
|
else {
|
|
11480
11506
|
if (this.creatDatasetObject['datasetId']) {
|
|
11481
11507
|
this.updataNewDataSetCongig();
|
|
11482
|
-
localStorage.removeItem('querybuilder');
|
|
11483
11508
|
}
|
|
11484
11509
|
else {
|
|
11485
11510
|
this.createNeDataSetConfig();
|
|
11486
|
-
localStorage.removeItem('querybuilder');
|
|
11487
11511
|
}
|
|
11488
11512
|
}
|
|
11489
11513
|
}
|
|
@@ -11497,11 +11521,9 @@ class CreateDatasetComponent {
|
|
|
11497
11521
|
else {
|
|
11498
11522
|
if (this.creatDatasetObject['datasetId']) {
|
|
11499
11523
|
this.updataNewDataSetCongig();
|
|
11500
|
-
localStorage.removeItem('querybuilder');
|
|
11501
11524
|
}
|
|
11502
11525
|
else {
|
|
11503
11526
|
this.createNeDataSetConfig();
|
|
11504
|
-
localStorage.removeItem('querybuilder');
|
|
11505
11527
|
}
|
|
11506
11528
|
}
|
|
11507
11529
|
}
|
|
@@ -12283,7 +12305,6 @@ class PageConfigComponent {
|
|
|
12283
12305
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
12284
12306
|
}
|
|
12285
12307
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems) {
|
|
12286
|
-
let userName = localStorage.getItem('user_name');
|
|
12287
12308
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
12288
12309
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
12289
12310
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -13698,7 +13719,6 @@ class PageConfigMultilayoutComponent {
|
|
|
13698
13719
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
13699
13720
|
}
|
|
13700
13721
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems) {
|
|
13701
|
-
let userName = localStorage.getItem('user_name');
|
|
13702
13722
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
13703
13723
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
13704
13724
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -17634,11 +17654,127 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17634
17654
|
args: [APP_ENVIRONMENT]
|
|
17635
17655
|
}] }]; } });
|
|
17636
17656
|
|
|
17637
|
-
class
|
|
17638
|
-
constructor(
|
|
17657
|
+
class KpiWithMultiLayoutService {
|
|
17658
|
+
constructor(http, environment) {
|
|
17659
|
+
this.http = http;
|
|
17660
|
+
this.environment = environment;
|
|
17661
|
+
this.headers = new HttpHeaders().set('Content-Type', 'application/json');
|
|
17662
|
+
this.options = { headers: this.headers, withCredentials: true };
|
|
17663
|
+
this._selectedKpiOnClick = new Subject();
|
|
17664
|
+
this._kpilist = new Subject();
|
|
17665
|
+
this._selectKpiFromDropDown = new Subject();
|
|
17666
|
+
this._componentRegistry = new Map();
|
|
17667
|
+
this.kpiFilter = new BehaviorSubject([]);
|
|
17668
|
+
}
|
|
17669
|
+
handleError(error) {
|
|
17670
|
+
return throwError(error);
|
|
17671
|
+
}
|
|
17672
|
+
getlistKpiBrowser() {
|
|
17673
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
17674
|
+
return this.http
|
|
17675
|
+
.get(apiUrl, { withCredentials: true })
|
|
17676
|
+
.pipe(map((response) => {
|
|
17677
|
+
return response;
|
|
17678
|
+
}), catchError(this.handleError));
|
|
17679
|
+
}
|
|
17680
|
+
getAppPageDetailConfig(pageId) {
|
|
17681
|
+
return this.http
|
|
17682
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
17683
|
+
.pipe(map((response) => {
|
|
17684
|
+
return response;
|
|
17685
|
+
}), catchError(this.handleError));
|
|
17686
|
+
}
|
|
17687
|
+
getAppPageConfigs() {
|
|
17688
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
17689
|
+
return this.http
|
|
17690
|
+
.get(apiUrl, { withCredentials: true })
|
|
17691
|
+
.pipe(map((response) => {
|
|
17692
|
+
return response;
|
|
17693
|
+
}), catchError(this.handleError));
|
|
17694
|
+
}
|
|
17695
|
+
getAppDatasetConfigs() {
|
|
17696
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
17697
|
+
return this.http
|
|
17698
|
+
.get(apiUrl, { withCredentials: true })
|
|
17699
|
+
.pipe(map((response) => {
|
|
17700
|
+
return response;
|
|
17701
|
+
}), catchError(this.handleError));
|
|
17702
|
+
}
|
|
17703
|
+
getAppDatasetConfig(datasetId) {
|
|
17704
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
17705
|
+
return this.http
|
|
17706
|
+
.get(apiUrl, { withCredentials: true })
|
|
17707
|
+
.pipe(map((response) => {
|
|
17708
|
+
return response;
|
|
17709
|
+
}), catchError(this.handleError));
|
|
17710
|
+
}
|
|
17711
|
+
getAppFilterConfig(filterId) {
|
|
17712
|
+
return this.http
|
|
17713
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
17714
|
+
.pipe(map((response) => {
|
|
17715
|
+
return response;
|
|
17716
|
+
}), catchError(this.handleError));
|
|
17717
|
+
}
|
|
17718
|
+
getAppViewConfigs() {
|
|
17719
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
17720
|
+
return this.http
|
|
17721
|
+
.get(apiUrl, { withCredentials: true })
|
|
17722
|
+
.pipe(map((response) => {
|
|
17723
|
+
return response;
|
|
17724
|
+
}), catchError(this.handleError));
|
|
17725
|
+
}
|
|
17726
|
+
getData(body, requestID) {
|
|
17727
|
+
return this.http
|
|
17728
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
17729
|
+
.pipe(map((response) => {
|
|
17730
|
+
return response;
|
|
17731
|
+
}), catchError(this.handleError));
|
|
17732
|
+
}
|
|
17733
|
+
getSimpleApiPostRequest(requestApi, body) {
|
|
17734
|
+
return this.http
|
|
17735
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
17736
|
+
.pipe(map((response) => {
|
|
17737
|
+
return response;
|
|
17738
|
+
}), catchError(this.handleError));
|
|
17739
|
+
}
|
|
17740
|
+
getSimpleApiGetRequest(requestApi) {
|
|
17741
|
+
return this.http
|
|
17742
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
17743
|
+
.pipe(map((response) => {
|
|
17744
|
+
return response;
|
|
17745
|
+
}), catchError(this.handleError));
|
|
17746
|
+
}
|
|
17747
|
+
getJsonDatasetPayload(requestApi) {
|
|
17748
|
+
return this.http
|
|
17749
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
17750
|
+
.pipe(map((response) => {
|
|
17751
|
+
return response;
|
|
17752
|
+
}), catchError(this.handleError));
|
|
17753
|
+
}
|
|
17754
|
+
genericSqlQueryResponse(requestApi, body) {
|
|
17755
|
+
return this.http
|
|
17756
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
17757
|
+
.pipe(map((response) => {
|
|
17758
|
+
return response;
|
|
17759
|
+
}), catchError(this.handleError));
|
|
17760
|
+
}
|
|
17761
|
+
}
|
|
17762
|
+
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 });
|
|
17763
|
+
KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
|
|
17764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
|
|
17765
|
+
type: Injectable,
|
|
17766
|
+
args: [{ providedIn: "root" }]
|
|
17767
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
17768
|
+
type: Inject,
|
|
17769
|
+
args: [APP_ENVIRONMENT]
|
|
17770
|
+
}] }]; } });
|
|
17771
|
+
|
|
17772
|
+
class SingleLayoutApplicationDatssetsCall {
|
|
17773
|
+
constructor(service, kpiService, toastr, router, environment) {
|
|
17639
17774
|
this.service = service;
|
|
17640
17775
|
this.kpiService = kpiService;
|
|
17641
17776
|
this.toastr = toastr;
|
|
17777
|
+
this.router = router;
|
|
17642
17778
|
this.environment = environment;
|
|
17643
17779
|
this.uniqueDataSetObject = {};
|
|
17644
17780
|
}
|
|
@@ -17981,12 +18117,43 @@ class MultilayoutApplicationDatssetsCall {
|
|
|
17981
18117
|
return this.uniqueDataSetObject;
|
|
17982
18118
|
}
|
|
17983
18119
|
}
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
18120
|
+
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: i2.Router }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18121
|
+
SingleLayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, providedIn: "root" });
|
|
18122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, decorators: [{
|
|
17987
18123
|
type: Injectable,
|
|
17988
18124
|
args: [{ providedIn: "root" }]
|
|
17989
|
-
}], ctorParameters: function () { return [{ type:
|
|
18125
|
+
}], ctorParameters: function () { return [{ type: KpiWithMultiLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: undefined, decorators: [{
|
|
18126
|
+
type: Inject,
|
|
18127
|
+
args: [APP_ENVIRONMENT]
|
|
18128
|
+
}] }]; } });
|
|
18129
|
+
|
|
18130
|
+
class ApplicationChatApiCallService {
|
|
18131
|
+
constructor(service, toastr, activatedRoute, environment) {
|
|
18132
|
+
this.service = service;
|
|
18133
|
+
this.toastr = toastr;
|
|
18134
|
+
this.activatedRoute = activatedRoute;
|
|
18135
|
+
this.environment = environment;
|
|
18136
|
+
this.uniqueDataSetObject = {};
|
|
18137
|
+
this.viewId = new BehaviorSubject(null);
|
|
18138
|
+
this.viewId$ = this.viewId.asObservable();
|
|
18139
|
+
}
|
|
18140
|
+
getViewId(params) {
|
|
18141
|
+
this.viewId.next(params);
|
|
18142
|
+
}
|
|
18143
|
+
getDataForChatAi(pageId, contentView, appliedFilters) {
|
|
18144
|
+
if (this.environment.chatBotClient) {
|
|
18145
|
+
this.viewId.next(contentView.viewId);
|
|
18146
|
+
}
|
|
18147
|
+
}
|
|
18148
|
+
}
|
|
18149
|
+
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 });
|
|
18150
|
+
ApplicationChatApiCallService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, providedIn: 'root' });
|
|
18151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, decorators: [{
|
|
18152
|
+
type: Injectable,
|
|
18153
|
+
args: [{
|
|
18154
|
+
providedIn: 'root'
|
|
18155
|
+
}]
|
|
18156
|
+
}], ctorParameters: function () { return [{ type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.ActivatedRoute }, { type: undefined, decorators: [{
|
|
17990
18157
|
type: Inject,
|
|
17991
18158
|
args: [APP_ENVIRONMENT]
|
|
17992
18159
|
}] }]; } });
|
|
@@ -18127,7 +18294,6 @@ class DynamicWidgetComponent {
|
|
|
18127
18294
|
return widgetDiv;
|
|
18128
18295
|
}
|
|
18129
18296
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
18130
|
-
let userName = localStorage.getItem('user_name');
|
|
18131
18297
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
18132
18298
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
18133
18299
|
const dynamicComponentInstance = this.CompRefs.instance;
|
|
@@ -18161,7 +18327,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
18161
18327
|
}] } });
|
|
18162
18328
|
|
|
18163
18329
|
class KpiWithDataSetTestComponent {
|
|
18164
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
18330
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, chatApiService, storage) {
|
|
18165
18331
|
this.commonService = commonService;
|
|
18166
18332
|
this.activatedRoute = activatedRoute;
|
|
18167
18333
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -18170,6 +18336,8 @@ class KpiWithDataSetTestComponent {
|
|
|
18170
18336
|
this.toastr = toastr;
|
|
18171
18337
|
this.router = router;
|
|
18172
18338
|
this.datasetService = datasetService;
|
|
18339
|
+
this.chatApiService = chatApiService;
|
|
18340
|
+
this.storage = storage;
|
|
18173
18341
|
this.dashbord_container = [];
|
|
18174
18342
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
18175
18343
|
this.page_title = 'Dashboard';
|
|
@@ -18209,6 +18377,8 @@ class KpiWithDataSetTestComponent {
|
|
|
18209
18377
|
this.havingDataObject = {};
|
|
18210
18378
|
this.globalDefaultFilter = {};
|
|
18211
18379
|
this.defaultViewIds = [];
|
|
18380
|
+
this.defaultViewIdsOnPageRefresh = [];
|
|
18381
|
+
this.defaultMatchedFilters = { operationFilter: { startDate: "", endDate: "" } };
|
|
18212
18382
|
}
|
|
18213
18383
|
ngOnInit() {
|
|
18214
18384
|
this.service.getlistKpiBrowser().subscribe({
|
|
@@ -18252,6 +18422,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18252
18422
|
next: (data) => {
|
|
18253
18423
|
this.pageTitle = data.pageName;
|
|
18254
18424
|
this.dashBoardWidgetConfig = data;
|
|
18425
|
+
this.getDrilldownDisplayByUrlParams(data.widgets);
|
|
18255
18426
|
if (!context) {
|
|
18256
18427
|
if (Object.keys(this.uniqueDataSetObject).length != 0) {
|
|
18257
18428
|
this.createDivElements(this.uniqueDataSetObject, false);
|
|
@@ -18270,6 +18441,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18270
18441
|
getComponentConfigSet() {
|
|
18271
18442
|
let dataset = this.service.getAppDatasetConfigs();
|
|
18272
18443
|
let viewComponent = this.service.getAppViewConfigs();
|
|
18444
|
+
this.defaultViewIds = [];
|
|
18273
18445
|
forkJoin({
|
|
18274
18446
|
datasetConfig: dataset,
|
|
18275
18447
|
viewConfig: viewComponent
|
|
@@ -18365,10 +18537,10 @@ class KpiWithDataSetTestComponent {
|
|
|
18365
18537
|
});
|
|
18366
18538
|
}
|
|
18367
18539
|
});
|
|
18368
|
-
|
|
18540
|
+
this.defaultViewIds = this.defaultViewIds.concat(this.defaultViewIdsOnPageRefresh.filter((item) => this.defaultViewIds.indexOf(item) < 0));
|
|
18369
18541
|
viewIds.forEach(element => {
|
|
18370
18542
|
let obj = {
|
|
18371
|
-
"filters": JSON.parse(JSON.stringify(defaultFilters)),
|
|
18543
|
+
"filters": (this.isDefaultFilterParams) ? JSON.parse(JSON.stringify(this.defaultMatchedFilters)) : JSON.parse(JSON.stringify(defaultFilters)),
|
|
18372
18544
|
"keyToPass": [],
|
|
18373
18545
|
"drillDownType": "natural",
|
|
18374
18546
|
"drilldownFrom": ""
|
|
@@ -18378,12 +18550,11 @@ class KpiWithDataSetTestComponent {
|
|
|
18378
18550
|
let obj = {
|
|
18379
18551
|
widgetId: widget.widgetId,
|
|
18380
18552
|
pageId: widget.pageId,
|
|
18381
|
-
filters: defaultFilters,
|
|
18553
|
+
filters: (this.isDefaultFilterParams) ? this.defaultMatchedFilters : defaultFilters,
|
|
18382
18554
|
datasetIds: datasetIds
|
|
18383
18555
|
};
|
|
18384
18556
|
this.allWidgetByDataset.push(obj);
|
|
18385
18557
|
});
|
|
18386
|
-
console.log(this.stateDataSource);
|
|
18387
18558
|
this.uniqueDataSetObject = {};
|
|
18388
18559
|
let apiCalls = [];
|
|
18389
18560
|
this.allWidgetByDataset.forEach(view => {
|
|
@@ -18610,7 +18781,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18610
18781
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
18611
18782
|
}
|
|
18612
18783
|
loadFilterComponent(indexObj, containerElement, filterItems, context_filter) {
|
|
18613
|
-
let userName =
|
|
18784
|
+
let userName = this.storage.get('user_name');
|
|
18614
18785
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
18615
18786
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
18616
18787
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -18637,7 +18808,6 @@ class KpiWithDataSetTestComponent {
|
|
|
18637
18808
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
18638
18809
|
}
|
|
18639
18810
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
18640
|
-
let userName = localStorage.getItem('user_name');
|
|
18641
18811
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
18642
18812
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
18643
18813
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -18664,11 +18834,13 @@ class KpiWithDataSetTestComponent {
|
|
|
18664
18834
|
if (this.getElementOfCurrentView(node, event.drilldownTo)) {
|
|
18665
18835
|
let view = element.widgetNode[nodeIndex];
|
|
18666
18836
|
let apiCalls = [];
|
|
18837
|
+
let chatApiCall = [];
|
|
18667
18838
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.drilldownFrom));
|
|
18668
18839
|
view.compConfig.viewConfig.forEach(contentView => {
|
|
18669
18840
|
let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
|
|
18670
18841
|
if (found) {
|
|
18671
18842
|
apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
|
|
18843
|
+
chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
|
|
18672
18844
|
}
|
|
18673
18845
|
});
|
|
18674
18846
|
Promise.all(apiCalls).then(() => {
|
|
@@ -18733,10 +18905,9 @@ class KpiWithDataSetTestComponent {
|
|
|
18733
18905
|
const stateData = Array.from(this.stateDataSource.keys());
|
|
18734
18906
|
const currentViewIndex = stateData.indexOf(event.viewId);
|
|
18735
18907
|
const deletedViewIds = [];
|
|
18908
|
+
console.log(this.defaultViewIds, "default view");
|
|
18736
18909
|
for (let i = currentViewIndex + 1; i < stateData.length; i++) {
|
|
18737
|
-
|
|
18738
|
-
deletedViewIds.push(stateData[i]);
|
|
18739
|
-
}
|
|
18910
|
+
deletedViewIds.push(stateData[i]);
|
|
18740
18911
|
}
|
|
18741
18912
|
const hourlyNode = this.dashBoardWidgetConfig.widgets
|
|
18742
18913
|
.map(widget => widget.widgetNode.find(node => this.getHourlyData(node)))
|
|
@@ -18858,7 +19029,6 @@ class KpiWithDataSetTestComponent {
|
|
|
18858
19029
|
this.scrollToBottom(this.mainPageDivElement);
|
|
18859
19030
|
}, 200);
|
|
18860
19031
|
});
|
|
18861
|
-
console.log(this.stateDataSource);
|
|
18862
19032
|
}
|
|
18863
19033
|
async getModalViewByRowCLick(event, view) {
|
|
18864
19034
|
let apiCalls = [];
|
|
@@ -18894,11 +19064,14 @@ class KpiWithDataSetTestComponent {
|
|
|
18894
19064
|
}
|
|
18895
19065
|
async getViewByRowCLick(event, view) {
|
|
18896
19066
|
let apiCalls = [];
|
|
19067
|
+
let chatApiCall = [];
|
|
18897
19068
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
|
|
18898
19069
|
view.compConfig.viewConfig.forEach(contentView => {
|
|
18899
19070
|
let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
|
|
19071
|
+
let queryParams = this.getFiltersForQueryParams(appliedFilters, found.config.queryConfig.mapedFilters);
|
|
18900
19072
|
if (found) {
|
|
18901
19073
|
apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
|
|
19074
|
+
chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
|
|
18902
19075
|
}
|
|
18903
19076
|
});
|
|
18904
19077
|
await Promise.all(apiCalls);
|
|
@@ -18921,12 +19094,28 @@ class KpiWithDataSetTestComponent {
|
|
|
18921
19094
|
setTimeout(() => {
|
|
18922
19095
|
this.scrollToBottom(this.mainPageDivElement);
|
|
18923
19096
|
}, 200);
|
|
18924
|
-
|
|
18925
|
-
|
|
18926
|
-
|
|
19097
|
+
}
|
|
19098
|
+
getFiltersForQueryParams(operators, filters) {
|
|
19099
|
+
debugger;
|
|
19100
|
+
const operationFilter = operators.operationFilter || {};
|
|
19101
|
+
const currentParams = this.activatedRoute.snapshot.queryParams;
|
|
19102
|
+
const newParams = {};
|
|
19103
|
+
const defaultViewsKeyToPass = [];
|
|
19104
|
+
filters.forEach(filter => {
|
|
19105
|
+
const localKey = filter.localColumn;
|
|
19106
|
+
const serverKey = filter.serverColumn;
|
|
19107
|
+
let value = operationFilter[localKey];
|
|
19108
|
+
if (value !== undefined && value !== "") {
|
|
19109
|
+
newParams[serverKey] = value;
|
|
19110
|
+
defaultViewsKeyToPass.push(localKey);
|
|
19111
|
+
}
|
|
19112
|
+
});
|
|
19113
|
+
const mergedParams = { ...currentParams, ...newParams };
|
|
19114
|
+
const navigation = {
|
|
19115
|
+
queryParams: mergedParams,
|
|
19116
|
+
queryParamsHandling: 'merge'
|
|
18927
19117
|
};
|
|
18928
19118
|
this.router.navigate([], navigation);
|
|
18929
|
-
console.log(this.stateDataSource);
|
|
18930
19119
|
}
|
|
18931
19120
|
scrollToBottom(container) {
|
|
18932
19121
|
setTimeout(() => {
|
|
@@ -19088,7 +19277,6 @@ class KpiWithDataSetTestComponent {
|
|
|
19088
19277
|
});
|
|
19089
19278
|
}
|
|
19090
19279
|
async loadDataByOperator(opName) {
|
|
19091
|
-
console.log(opName);
|
|
19092
19280
|
let filter = { operationFilter: { startDate: "", endDate: "", operator_key: "" } };
|
|
19093
19281
|
filter.operationFilter['startDate'] = this.defaultStartDate;
|
|
19094
19282
|
filter.operationFilter['endDate'] = this.defaultEndDate;
|
|
@@ -19159,13 +19347,44 @@ class KpiWithDataSetTestComponent {
|
|
|
19159
19347
|
return input;
|
|
19160
19348
|
}
|
|
19161
19349
|
}
|
|
19350
|
+
getDrilldownDisplayByUrlParams(all_views) {
|
|
19351
|
+
this.defaultViewIdsOnPageRefresh = [];
|
|
19352
|
+
const params = this.activatedRoute.snapshot.queryParams;
|
|
19353
|
+
this.defaultMatchedFilters = { operationFilter: { startDate: params['startDate'], endDate: params['endDate'] } };
|
|
19354
|
+
;
|
|
19355
|
+
const matchedParams = {};
|
|
19356
|
+
all_views.forEach(element => {
|
|
19357
|
+
for (let entry of element.widgetNode) {
|
|
19358
|
+
let shouldDisplay = false;
|
|
19359
|
+
entry.compConfig.viewConfig.forEach(view => {
|
|
19360
|
+
if (view.kpiConfig.keyToPass && view.kpiConfig.keyToPass.length !== 0) {
|
|
19361
|
+
view.kpiConfig.keyToPass.forEach(key => {
|
|
19362
|
+
if (params.hasOwnProperty(key)) {
|
|
19363
|
+
matchedParams[key] = params[key];
|
|
19364
|
+
this.defaultMatchedFilters['operationFilter'][key] = params[key];
|
|
19365
|
+
shouldDisplay = true;
|
|
19366
|
+
this.isDefaultFilterParams = true;
|
|
19367
|
+
if (!this.defaultViewIdsOnPageRefresh.includes(view.viewId)) {
|
|
19368
|
+
this.defaultViewIdsOnPageRefresh.push(view.viewId);
|
|
19369
|
+
}
|
|
19370
|
+
}
|
|
19371
|
+
});
|
|
19372
|
+
}
|
|
19373
|
+
});
|
|
19374
|
+
if (shouldDisplay) {
|
|
19375
|
+
entry.nodeProperties.display = true;
|
|
19376
|
+
}
|
|
19377
|
+
}
|
|
19378
|
+
});
|
|
19379
|
+
console.log(this.defaultMatchedFilters, "matched psrsmd");
|
|
19380
|
+
}
|
|
19162
19381
|
}
|
|
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:
|
|
19382
|
+
KpiWithDataSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithSingleLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: SingleLayoutApplicationDatssetsCall }, { token: ApplicationChatApiCallService }, { token: AppLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
|
|
19164
19383
|
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
19384
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, decorators: [{
|
|
19166
19385
|
type: Component,
|
|
19167
19386
|
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:
|
|
19387
|
+
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: SingleLayoutApplicationDatssetsCall }, { type: ApplicationChatApiCallService }, { type: AppLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
|
|
19169
19388
|
type: ViewChild,
|
|
19170
19389
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
19171
19390
|
}], containerRef: [{
|
|
@@ -19224,7 +19443,7 @@ KpiWithSingleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
|
|
|
19224
19443
|
MatIconModule,
|
|
19225
19444
|
LoadingModule$1], exports: [DynamicWidgetComponent,
|
|
19226
19445
|
KpiWithDataSetTestComponent] });
|
|
19227
|
-
KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService,
|
|
19446
|
+
KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService], imports: [CommonModule,
|
|
19228
19447
|
LoadingModule$1,
|
|
19229
19448
|
CommonModule,
|
|
19230
19449
|
DevExtremeModule,
|
|
@@ -19316,7 +19535,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
19316
19535
|
DynamicWidgetComponent,
|
|
19317
19536
|
KpiWithDataSetTestComponent
|
|
19318
19537
|
],
|
|
19319
|
-
providers: [KpiWithSingleLayoutService,
|
|
19538
|
+
providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService],
|
|
19320
19539
|
}]
|
|
19321
19540
|
}] });
|
|
19322
19541
|
|
|
@@ -19456,7 +19675,6 @@ class DynamicWidgetForMultilayoutComponent {
|
|
|
19456
19675
|
return widgetDiv;
|
|
19457
19676
|
}
|
|
19458
19677
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
19459
|
-
let userName = localStorage.getItem('user_name');
|
|
19460
19678
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
19461
19679
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
19462
19680
|
const dynamicComponentInstance = this.CompRefs.instance;
|
|
@@ -19489,122 +19707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
19489
19707
|
args: ['modalConfigs']
|
|
19490
19708
|
}] } });
|
|
19491
19709
|
|
|
19492
|
-
class
|
|
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 {
|
|
19710
|
+
class MultilayoutApplicationDatssetsCall {
|
|
19608
19711
|
constructor(service, kpiService, toastr, environment) {
|
|
19609
19712
|
this.service = service;
|
|
19610
19713
|
this.kpiService = kpiService;
|
|
@@ -19951,18 +20054,18 @@ class SingleLayoutApplicationDatssetsCall {
|
|
|
19951
20054
|
return this.uniqueDataSetObject;
|
|
19952
20055
|
}
|
|
19953
20056
|
}
|
|
19954
|
-
|
|
19955
|
-
|
|
19956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
20057
|
+
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 });
|
|
20058
|
+
MultilayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, providedIn: "root" });
|
|
20059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, decorators: [{
|
|
19957
20060
|
type: Injectable,
|
|
19958
20061
|
args: [{ providedIn: "root" }]
|
|
19959
|
-
}], ctorParameters: function () { return [{ type:
|
|
20062
|
+
}], ctorParameters: function () { return [{ type: KpiWithSingleLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
|
|
19960
20063
|
type: Inject,
|
|
19961
20064
|
args: [APP_ENVIRONMENT]
|
|
19962
20065
|
}] }]; } });
|
|
19963
20066
|
|
|
19964
20067
|
class KpiWithMultilayoutSetTestComponent {
|
|
19965
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
20068
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
|
|
19966
20069
|
this.commonService = commonService;
|
|
19967
20070
|
this.activatedRoute = activatedRoute;
|
|
19968
20071
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -19971,6 +20074,7 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
19971
20074
|
this.toastr = toastr;
|
|
19972
20075
|
this.router = router;
|
|
19973
20076
|
this.datasetService = datasetService;
|
|
20077
|
+
this.storage = storage;
|
|
19974
20078
|
this.dashbord_container = [];
|
|
19975
20079
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
19976
20080
|
this.page_title = 'Dashboard';
|
|
@@ -20377,7 +20481,7 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20377
20481
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
20378
20482
|
}
|
|
20379
20483
|
loadFilterComponent(indexObj, containerElement, filterItems, context_filter) {
|
|
20380
|
-
let userName =
|
|
20484
|
+
let userName = this.storage.get('user_name');
|
|
20381
20485
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
20382
20486
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
20383
20487
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -20404,7 +20508,6 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20404
20508
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
20405
20509
|
}
|
|
20406
20510
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
20407
|
-
let userName = localStorage.getItem('user_name');
|
|
20408
20511
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
20409
20512
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
20410
20513
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -20911,12 +21014,12 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20911
21014
|
}
|
|
20912
21015
|
}
|
|
20913
21016
|
}
|
|
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:
|
|
21017
|
+
KpiWithMultilayoutSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithMultiLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: MultilayoutApplicationDatssetsCall }, { token: AppLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
|
|
20915
21018
|
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
21019
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, decorators: [{
|
|
20917
21020
|
type: Component,
|
|
20918
21021
|
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:
|
|
21022
|
+
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithMultiLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: MultilayoutApplicationDatssetsCall }, { type: AppLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
|
|
20920
21023
|
type: ViewChild,
|
|
20921
21024
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
20922
21025
|
}], containerRef: [{
|
|
@@ -20972,7 +21075,7 @@ KpiWithMultiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
|
|
|
20972
21075
|
MatIconModule,
|
|
20973
21076
|
LoadingModule$1], exports: [KpiWithMultilayoutSetTestComponent,
|
|
20974
21077
|
DynamicWidgetForMultilayoutComponent] });
|
|
20975
|
-
KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService,
|
|
21078
|
+
KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall], imports: [CommonModule,
|
|
20976
21079
|
LoadingModule$1,
|
|
20977
21080
|
CommonModule,
|
|
20978
21081
|
DevExtremeModule,
|
|
@@ -21064,7 +21167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
21064
21167
|
KpiWithMultilayoutSetTestComponent,
|
|
21065
21168
|
DynamicWidgetForMultilayoutComponent
|
|
21066
21169
|
],
|
|
21067
|
-
providers: [KpiWithMultiLayoutService,
|
|
21170
|
+
providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall],
|
|
21068
21171
|
}]
|
|
21069
21172
|
}] });
|
|
21070
21173
|
|
|
@@ -21541,7 +21644,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
21541
21644
|
}] }]; } });
|
|
21542
21645
|
|
|
21543
21646
|
class LandingComponentComponent {
|
|
21544
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
21647
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
|
|
21545
21648
|
this.commonService = commonService;
|
|
21546
21649
|
this.activatedRoute = activatedRoute;
|
|
21547
21650
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -21550,6 +21653,7 @@ class LandingComponentComponent {
|
|
|
21550
21653
|
this.toastr = toastr;
|
|
21551
21654
|
this.router = router;
|
|
21552
21655
|
this.datasetService = datasetService;
|
|
21656
|
+
this.storage = storage;
|
|
21553
21657
|
this.dashbord_container = [];
|
|
21554
21658
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
21555
21659
|
this.page_title = 'Dashboard';
|
|
@@ -21939,7 +22043,7 @@ class LandingComponentComponent {
|
|
|
21939
22043
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
21940
22044
|
}
|
|
21941
22045
|
loadFilterComponent(indexObj, containerElement, filterItems, context_filter) {
|
|
21942
|
-
let userName =
|
|
22046
|
+
let userName = this.storage.get('user_name');
|
|
21943
22047
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
21944
22048
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
21945
22049
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -21960,7 +22064,6 @@ class LandingComponentComponent {
|
|
|
21960
22064
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
21961
22065
|
}
|
|
21962
22066
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
21963
|
-
let userName = localStorage.getItem('user_name');
|
|
21964
22067
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
21965
22068
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
21966
22069
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -22376,12 +22479,12 @@ class LandingComponentComponent {
|
|
|
22376
22479
|
});
|
|
22377
22480
|
}
|
|
22378
22481
|
}
|
|
22379
|
-
LandingComponentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: LandingComponentService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: LandingApplicationDatssetsCall }], target: i0.ɵɵFactoryTarget.Component });
|
|
22482
|
+
LandingComponentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: LandingComponentService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: LandingApplicationDatssetsCall }, { token: AppLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
|
|
22380
22483
|
LandingComponentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: LandingComponentComponent, selector: "app-landing-component", viewQueries: [{ propertyName: "dynamicComponentContainer", first: true, predicate: ["dynamicComponentContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "dynamicContainer", first: true, predicate: ["dynamicContainer"], descendants: true, static: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }] });
|
|
22381
22484
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, decorators: [{
|
|
22382
22485
|
type: Component,
|
|
22383
22486
|
args: [{ selector: 'app-landing-component', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>" }]
|
|
22384
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: LandingComponentService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: LandingApplicationDatssetsCall }]; }, propDecorators: { dynamicComponentContainer: [{
|
|
22487
|
+
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: LandingComponentService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: LandingApplicationDatssetsCall }, { type: AppLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
|
|
22385
22488
|
type: ViewChild,
|
|
22386
22489
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
22387
22490
|
}], containerRef: [{
|
|
@@ -23002,7 +23105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
23002
23105
|
}] }]; } });
|
|
23003
23106
|
|
|
23004
23107
|
class BookmarkedTemplateComponent {
|
|
23005
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
23108
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
|
|
23006
23109
|
this.commonService = commonService;
|
|
23007
23110
|
this.activatedRoute = activatedRoute;
|
|
23008
23111
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -23011,6 +23114,7 @@ class BookmarkedTemplateComponent {
|
|
|
23011
23114
|
this.toastr = toastr;
|
|
23012
23115
|
this.router = router;
|
|
23013
23116
|
this.datasetService = datasetService;
|
|
23117
|
+
this.storage = storage;
|
|
23014
23118
|
this.dashbord_container = [];
|
|
23015
23119
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
23016
23120
|
this.page_title = 'Dashboard';
|
|
@@ -23385,7 +23489,7 @@ class BookmarkedTemplateComponent {
|
|
|
23385
23489
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
23386
23490
|
}
|
|
23387
23491
|
loadFilterComponent(indexObj, containerElement, filterItems) {
|
|
23388
|
-
let userName =
|
|
23492
|
+
let userName = this.storage.get('user_name');
|
|
23389
23493
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
23390
23494
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
23391
23495
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -23405,7 +23509,6 @@ class BookmarkedTemplateComponent {
|
|
|
23405
23509
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
23406
23510
|
}
|
|
23407
23511
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
23408
|
-
let userName = localStorage.getItem('user_name');
|
|
23409
23512
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
23410
23513
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
23411
23514
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -23783,12 +23886,12 @@ class BookmarkedTemplateComponent {
|
|
|
23783
23886
|
});
|
|
23784
23887
|
}
|
|
23785
23888
|
}
|
|
23786
|
-
BookmarkedTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BookmarkedTemplateComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: BookmarkedService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: BookmarkedApplicationDatssetsCall }], target: i0.ɵɵFactoryTarget.Component });
|
|
23889
|
+
BookmarkedTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BookmarkedTemplateComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: BookmarkedService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token: BookmarkedApplicationDatssetsCall }, { token: AppLocalStorage }], target: i0.ɵɵFactoryTarget.Component });
|
|
23787
23890
|
BookmarkedTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BookmarkedTemplateComponent, selector: "app-bookmarked-template", 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>", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }] });
|
|
23788
23891
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BookmarkedTemplateComponent, decorators: [{
|
|
23789
23892
|
type: Component,
|
|
23790
23893
|
args: [{ selector: 'app-bookmarked-template', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>" }]
|
|
23791
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: BookmarkedService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: BookmarkedApplicationDatssetsCall }]; }, propDecorators: { dynamicComponentContainer: [{
|
|
23894
|
+
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: BookmarkedService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: BookmarkedApplicationDatssetsCall }, { type: AppLocalStorage }]; }, propDecorators: { dynamicComponentContainer: [{
|
|
23792
23895
|
type: ViewChild,
|
|
23793
23896
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
23794
23897
|
}], containerRef: [{
|
|
@@ -23936,5 +24039,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
23936
24039
|
}]
|
|
23937
24040
|
}] });
|
|
23938
24041
|
|
|
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 };
|
|
24042
|
+
export { APP_ENVIRONMENT, AdvanceWidgetHeaderFilterComponent, AllMetricsConfigComponent, AppAdvanceHeaderComponent, AppHttpService, AppLocalStorage, 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
24043
|
//# sourceMappingURL=gamma-app-controller.mjs.map
|