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
|
@@ -99,7 +99,7 @@ const routes = [
|
|
|
99
99
|
{
|
|
100
100
|
path: '',
|
|
101
101
|
loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
|
|
102
|
-
}
|
|
102
|
+
}
|
|
103
103
|
];
|
|
104
104
|
class GammaAppControllerModule {
|
|
105
105
|
}
|
|
@@ -3227,13 +3227,6 @@ class DatasetQueryBulderComponent {
|
|
|
3227
3227
|
});
|
|
3228
3228
|
this.toastr.success('Columns Saved Successfully');
|
|
3229
3229
|
}
|
|
3230
|
-
saveDataToStore() {
|
|
3231
|
-
const buildDate = localStorage.getItem('querybuilder');
|
|
3232
|
-
if (buildDate) {
|
|
3233
|
-
localStorage.removeItem(buildDate);
|
|
3234
|
-
}
|
|
3235
|
-
localStorage.setItem('querybuilder', JSON.stringify(this.queryBulderDataset));
|
|
3236
|
-
}
|
|
3237
3230
|
transformColumnsForMesurs(inputColumns) {
|
|
3238
3231
|
const measure = [];
|
|
3239
3232
|
inputColumns.forEach(col => {
|
|
@@ -7043,6 +7036,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
7043
7036
|
args: ['chartDataSource']
|
|
7044
7037
|
}] } });
|
|
7045
7038
|
|
|
7039
|
+
const TOKEN_KEY = 'x-auth-token';
|
|
7040
|
+
class AppLocalStorage {
|
|
7041
|
+
constructor(environment) {
|
|
7042
|
+
this.environment = environment;
|
|
7043
|
+
}
|
|
7044
|
+
save(type, token) {
|
|
7045
|
+
window.localStorage[this.getAppVariableName(type)] = token;
|
|
7046
|
+
}
|
|
7047
|
+
get(type) {
|
|
7048
|
+
return window.localStorage[this.getAppVariableName(type)];
|
|
7049
|
+
}
|
|
7050
|
+
delete(type) {
|
|
7051
|
+
return window.localStorage.removeItem[this.getAppVariableName(type)];
|
|
7052
|
+
}
|
|
7053
|
+
destroy() {
|
|
7054
|
+
window.localStorage.removeItem(TOKEN_KEY);
|
|
7055
|
+
}
|
|
7056
|
+
getAppVariableName(attributeName) {
|
|
7057
|
+
return this.environment.appName + '__' + attributeName;
|
|
7058
|
+
}
|
|
7059
|
+
}
|
|
7060
|
+
AppLocalStorage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppLocalStorage, deps: [{ token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7061
|
+
AppLocalStorage.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppLocalStorage, providedIn: 'root' });
|
|
7062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppLocalStorage, decorators: [{
|
|
7063
|
+
type: Injectable,
|
|
7064
|
+
args: [{
|
|
7065
|
+
providedIn: 'root',
|
|
7066
|
+
}]
|
|
7067
|
+
}], ctorParameters: function () {
|
|
7068
|
+
return [{ type: undefined, decorators: [{
|
|
7069
|
+
type: Inject,
|
|
7070
|
+
args: [APP_ENVIRONMENT]
|
|
7071
|
+
}] }];
|
|
7072
|
+
} });
|
|
7073
|
+
|
|
7046
7074
|
class kpicommonService$1 {
|
|
7047
7075
|
constructor(commonService) {
|
|
7048
7076
|
this.commonService = commonService;
|
|
@@ -7975,10 +8003,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
7975
8003
|
}] } });
|
|
7976
8004
|
|
|
7977
8005
|
class AppAdvanceHeaderComponent {
|
|
7978
|
-
constructor(activatedRoute, route, commonService) {
|
|
8006
|
+
constructor(activatedRoute, route, commonService, storage) {
|
|
7979
8007
|
this.activatedRoute = activatedRoute;
|
|
7980
8008
|
this.route = route;
|
|
7981
8009
|
this.commonService = commonService;
|
|
8010
|
+
this.storage = storage;
|
|
7982
8011
|
this.toggleEvent = new EventEmitter();
|
|
7983
8012
|
this.autoload_button = true;
|
|
7984
8013
|
this.toolTipText = 'By Date Range';
|
|
@@ -8100,7 +8129,7 @@ class AppAdvanceHeaderComponent {
|
|
|
8100
8129
|
}
|
|
8101
8130
|
}
|
|
8102
8131
|
ngOnInit() {
|
|
8103
|
-
const userData =
|
|
8132
|
+
const userData = this.storage.get('user_name');
|
|
8104
8133
|
if (userData == 'admin') {
|
|
8105
8134
|
this.isEditButton = true;
|
|
8106
8135
|
}
|
|
@@ -8205,13 +8234,13 @@ class AppAdvanceHeaderComponent {
|
|
|
8205
8234
|
queryParamsHandling: "merge"
|
|
8206
8235
|
};
|
|
8207
8236
|
this.route.navigate([], navigation);
|
|
8208
|
-
const opName =
|
|
8237
|
+
const opName = this.storage.get('operator_key');
|
|
8209
8238
|
if (opName) {
|
|
8210
|
-
|
|
8211
|
-
|
|
8239
|
+
this.storage.delete('operator_key');
|
|
8240
|
+
this.storage.save('operator_key', event.value);
|
|
8212
8241
|
}
|
|
8213
8242
|
else {
|
|
8214
|
-
|
|
8243
|
+
this.storage.save('operator_key', event.value);
|
|
8215
8244
|
}
|
|
8216
8245
|
this.getOperatorName.emit(event.value);
|
|
8217
8246
|
}
|
|
@@ -8234,12 +8263,12 @@ class AppAdvanceHeaderComponent {
|
|
|
8234
8263
|
return operationFilter;
|
|
8235
8264
|
}
|
|
8236
8265
|
}
|
|
8237
|
-
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 });
|
|
8266
|
+
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 });
|
|
8238
8267
|
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"] }] });
|
|
8239
8268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AppAdvanceHeaderComponent, decorators: [{
|
|
8240
8269
|
type: Component,
|
|
8241
8270
|
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>" }]
|
|
8242
|
-
}], ctorParameters: function () { return [{ type: i2.ActivatedRoute }, { type: i2.Router }, { type: CommonService }]; }, propDecorators: { pageTitle: [{
|
|
8271
|
+
}], ctorParameters: function () { return [{ type: i2.ActivatedRoute }, { type: i2.Router }, { type: CommonService }, { type: AppLocalStorage }]; }, propDecorators: { pageTitle: [{
|
|
8243
8272
|
type: Input
|
|
8244
8273
|
}], bread_crumbs_container: [{
|
|
8245
8274
|
type: Input
|
|
@@ -8534,7 +8563,6 @@ class GammaAdvanceOperatorTableComponent {
|
|
|
8534
8563
|
return;
|
|
8535
8564
|
}
|
|
8536
8565
|
else {
|
|
8537
|
-
debugger;
|
|
8538
8566
|
this.isLoader = true;
|
|
8539
8567
|
this.page_config = value;
|
|
8540
8568
|
this.page_parms = value.titleParams;
|
|
@@ -11491,11 +11519,9 @@ class CreateDatasetComponent {
|
|
|
11491
11519
|
else {
|
|
11492
11520
|
if (this.creatDatasetObject['datasetId']) {
|
|
11493
11521
|
this.updataNewDataSetCongig();
|
|
11494
|
-
localStorage.removeItem('querybuilder');
|
|
11495
11522
|
}
|
|
11496
11523
|
else {
|
|
11497
11524
|
this.createNeDataSetConfig();
|
|
11498
|
-
localStorage.removeItem('querybuilder');
|
|
11499
11525
|
}
|
|
11500
11526
|
}
|
|
11501
11527
|
}
|
|
@@ -11509,11 +11535,9 @@ class CreateDatasetComponent {
|
|
|
11509
11535
|
else {
|
|
11510
11536
|
if (this.creatDatasetObject['datasetId']) {
|
|
11511
11537
|
this.updataNewDataSetCongig();
|
|
11512
|
-
localStorage.removeItem('querybuilder');
|
|
11513
11538
|
}
|
|
11514
11539
|
else {
|
|
11515
11540
|
this.createNeDataSetConfig();
|
|
11516
|
-
localStorage.removeItem('querybuilder');
|
|
11517
11541
|
}
|
|
11518
11542
|
}
|
|
11519
11543
|
}
|
|
@@ -12297,7 +12321,6 @@ class PageConfigComponent {
|
|
|
12297
12321
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
12298
12322
|
}
|
|
12299
12323
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems) {
|
|
12300
|
-
let userName = localStorage.getItem('user_name');
|
|
12301
12324
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
12302
12325
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
12303
12326
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -13706,7 +13729,6 @@ class PageConfigMultilayoutComponent {
|
|
|
13706
13729
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
13707
13730
|
}
|
|
13708
13731
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems) {
|
|
13709
|
-
let userName = localStorage.getItem('user_name');
|
|
13710
13732
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
13711
13733
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
13712
13734
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -17644,11 +17666,129 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17644
17666
|
}] }];
|
|
17645
17667
|
} });
|
|
17646
17668
|
|
|
17647
|
-
class
|
|
17648
|
-
constructor(
|
|
17669
|
+
class KpiWithMultiLayoutService {
|
|
17670
|
+
constructor(http, environment) {
|
|
17671
|
+
this.http = http;
|
|
17672
|
+
this.environment = environment;
|
|
17673
|
+
this.headers = new HttpHeaders().set('Content-Type', 'application/json');
|
|
17674
|
+
this.options = { headers: this.headers, withCredentials: true };
|
|
17675
|
+
this._selectedKpiOnClick = new Subject();
|
|
17676
|
+
this._kpilist = new Subject();
|
|
17677
|
+
this._selectKpiFromDropDown = new Subject();
|
|
17678
|
+
this._componentRegistry = new Map();
|
|
17679
|
+
this.kpiFilter = new BehaviorSubject([]);
|
|
17680
|
+
}
|
|
17681
|
+
handleError(error) {
|
|
17682
|
+
return throwError(error);
|
|
17683
|
+
}
|
|
17684
|
+
getlistKpiBrowser() {
|
|
17685
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
17686
|
+
return this.http
|
|
17687
|
+
.get(apiUrl, { withCredentials: true })
|
|
17688
|
+
.pipe(map((response) => {
|
|
17689
|
+
return response;
|
|
17690
|
+
}), catchError(this.handleError));
|
|
17691
|
+
}
|
|
17692
|
+
getAppPageDetailConfig(pageId) {
|
|
17693
|
+
return this.http
|
|
17694
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
17695
|
+
.pipe(map((response) => {
|
|
17696
|
+
return response;
|
|
17697
|
+
}), catchError(this.handleError));
|
|
17698
|
+
}
|
|
17699
|
+
getAppPageConfigs() {
|
|
17700
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
17701
|
+
return this.http
|
|
17702
|
+
.get(apiUrl, { withCredentials: true })
|
|
17703
|
+
.pipe(map((response) => {
|
|
17704
|
+
return response;
|
|
17705
|
+
}), catchError(this.handleError));
|
|
17706
|
+
}
|
|
17707
|
+
getAppDatasetConfigs() {
|
|
17708
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
17709
|
+
return this.http
|
|
17710
|
+
.get(apiUrl, { withCredentials: true })
|
|
17711
|
+
.pipe(map((response) => {
|
|
17712
|
+
return response;
|
|
17713
|
+
}), catchError(this.handleError));
|
|
17714
|
+
}
|
|
17715
|
+
getAppDatasetConfig(datasetId) {
|
|
17716
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
17717
|
+
return this.http
|
|
17718
|
+
.get(apiUrl, { withCredentials: true })
|
|
17719
|
+
.pipe(map((response) => {
|
|
17720
|
+
return response;
|
|
17721
|
+
}), catchError(this.handleError));
|
|
17722
|
+
}
|
|
17723
|
+
getAppFilterConfig(filterId) {
|
|
17724
|
+
return this.http
|
|
17725
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
17726
|
+
.pipe(map((response) => {
|
|
17727
|
+
return response;
|
|
17728
|
+
}), catchError(this.handleError));
|
|
17729
|
+
}
|
|
17730
|
+
getAppViewConfigs() {
|
|
17731
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
17732
|
+
return this.http
|
|
17733
|
+
.get(apiUrl, { withCredentials: true })
|
|
17734
|
+
.pipe(map((response) => {
|
|
17735
|
+
return response;
|
|
17736
|
+
}), catchError(this.handleError));
|
|
17737
|
+
}
|
|
17738
|
+
getData(body, requestID) {
|
|
17739
|
+
return this.http
|
|
17740
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
17741
|
+
.pipe(map((response) => {
|
|
17742
|
+
return response;
|
|
17743
|
+
}), catchError(this.handleError));
|
|
17744
|
+
}
|
|
17745
|
+
getSimpleApiPostRequest(requestApi, body) {
|
|
17746
|
+
return this.http
|
|
17747
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
17748
|
+
.pipe(map((response) => {
|
|
17749
|
+
return response;
|
|
17750
|
+
}), catchError(this.handleError));
|
|
17751
|
+
}
|
|
17752
|
+
getSimpleApiGetRequest(requestApi) {
|
|
17753
|
+
return this.http
|
|
17754
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
17755
|
+
.pipe(map((response) => {
|
|
17756
|
+
return response;
|
|
17757
|
+
}), catchError(this.handleError));
|
|
17758
|
+
}
|
|
17759
|
+
getJsonDatasetPayload(requestApi) {
|
|
17760
|
+
return this.http
|
|
17761
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
17762
|
+
.pipe(map((response) => {
|
|
17763
|
+
return response;
|
|
17764
|
+
}), catchError(this.handleError));
|
|
17765
|
+
}
|
|
17766
|
+
genericSqlQueryResponse(requestApi, body) {
|
|
17767
|
+
return this.http
|
|
17768
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
17769
|
+
.pipe(map((response) => {
|
|
17770
|
+
return response;
|
|
17771
|
+
}), catchError(this.handleError));
|
|
17772
|
+
}
|
|
17773
|
+
}
|
|
17774
|
+
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 });
|
|
17775
|
+
KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
|
|
17776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
|
|
17777
|
+
type: Injectable,
|
|
17778
|
+
args: [{ providedIn: "root" }]
|
|
17779
|
+
}], ctorParameters: function () {
|
|
17780
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
17781
|
+
type: Inject,
|
|
17782
|
+
args: [APP_ENVIRONMENT]
|
|
17783
|
+
}] }];
|
|
17784
|
+
} });
|
|
17785
|
+
|
|
17786
|
+
class SingleLayoutApplicationDatssetsCall {
|
|
17787
|
+
constructor(service, kpiService, toastr, router, environment) {
|
|
17649
17788
|
this.service = service;
|
|
17650
17789
|
this.kpiService = kpiService;
|
|
17651
17790
|
this.toastr = toastr;
|
|
17791
|
+
this.router = router;
|
|
17652
17792
|
this.environment = environment;
|
|
17653
17793
|
this.uniqueDataSetObject = {};
|
|
17654
17794
|
}
|
|
@@ -17991,13 +18131,46 @@ class MultilayoutApplicationDatssetsCall {
|
|
|
17991
18131
|
return this.uniqueDataSetObject;
|
|
17992
18132
|
}
|
|
17993
18133
|
}
|
|
17994
|
-
|
|
17995
|
-
|
|
17996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
18134
|
+
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 });
|
|
18135
|
+
SingleLayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, providedIn: "root" });
|
|
18136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleLayoutApplicationDatssetsCall, decorators: [{
|
|
17997
18137
|
type: Injectable,
|
|
17998
18138
|
args: [{ providedIn: "root" }]
|
|
17999
18139
|
}], ctorParameters: function () {
|
|
18000
|
-
return [{ type:
|
|
18140
|
+
return [{ type: KpiWithMultiLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: i2.Router }, { type: undefined, decorators: [{
|
|
18141
|
+
type: Inject,
|
|
18142
|
+
args: [APP_ENVIRONMENT]
|
|
18143
|
+
}] }];
|
|
18144
|
+
} });
|
|
18145
|
+
|
|
18146
|
+
class ApplicationChatApiCallService {
|
|
18147
|
+
constructor(service, toastr, activatedRoute, environment) {
|
|
18148
|
+
this.service = service;
|
|
18149
|
+
this.toastr = toastr;
|
|
18150
|
+
this.activatedRoute = activatedRoute;
|
|
18151
|
+
this.environment = environment;
|
|
18152
|
+
this.uniqueDataSetObject = {};
|
|
18153
|
+
this.viewId = new BehaviorSubject(null);
|
|
18154
|
+
this.viewId$ = this.viewId.asObservable();
|
|
18155
|
+
}
|
|
18156
|
+
getViewId(params) {
|
|
18157
|
+
this.viewId.next(params);
|
|
18158
|
+
}
|
|
18159
|
+
getDataForChatAi(pageId, contentView, appliedFilters) {
|
|
18160
|
+
if (this.environment.chatBotClient) {
|
|
18161
|
+
this.viewId.next(contentView.viewId);
|
|
18162
|
+
}
|
|
18163
|
+
}
|
|
18164
|
+
}
|
|
18165
|
+
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 });
|
|
18166
|
+
ApplicationChatApiCallService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, providedIn: 'root' });
|
|
18167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationChatApiCallService, decorators: [{
|
|
18168
|
+
type: Injectable,
|
|
18169
|
+
args: [{
|
|
18170
|
+
providedIn: 'root'
|
|
18171
|
+
}]
|
|
18172
|
+
}], ctorParameters: function () {
|
|
18173
|
+
return [{ type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.ActivatedRoute }, { type: undefined, decorators: [{
|
|
18001
18174
|
type: Inject,
|
|
18002
18175
|
args: [APP_ENVIRONMENT]
|
|
18003
18176
|
}] }];
|
|
@@ -18139,7 +18312,6 @@ class DynamicWidgetComponent {
|
|
|
18139
18312
|
return widgetDiv;
|
|
18140
18313
|
}
|
|
18141
18314
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
18142
|
-
let userName = localStorage.getItem('user_name');
|
|
18143
18315
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
18144
18316
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
18145
18317
|
const dynamicComponentInstance = this.CompRefs.instance;
|
|
@@ -18173,7 +18345,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
18173
18345
|
}] } });
|
|
18174
18346
|
|
|
18175
18347
|
class KpiWithDataSetTestComponent {
|
|
18176
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
18348
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, chatApiService, storage) {
|
|
18177
18349
|
this.commonService = commonService;
|
|
18178
18350
|
this.activatedRoute = activatedRoute;
|
|
18179
18351
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -18182,6 +18354,8 @@ class KpiWithDataSetTestComponent {
|
|
|
18182
18354
|
this.toastr = toastr;
|
|
18183
18355
|
this.router = router;
|
|
18184
18356
|
this.datasetService = datasetService;
|
|
18357
|
+
this.chatApiService = chatApiService;
|
|
18358
|
+
this.storage = storage;
|
|
18185
18359
|
this.dashbord_container = [];
|
|
18186
18360
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
18187
18361
|
this.page_title = 'Dashboard';
|
|
@@ -18221,6 +18395,8 @@ class KpiWithDataSetTestComponent {
|
|
|
18221
18395
|
this.havingDataObject = {};
|
|
18222
18396
|
this.globalDefaultFilter = {};
|
|
18223
18397
|
this.defaultViewIds = [];
|
|
18398
|
+
this.defaultViewIdsOnPageRefresh = [];
|
|
18399
|
+
this.defaultMatchedFilters = { operationFilter: { startDate: "", endDate: "" } };
|
|
18224
18400
|
}
|
|
18225
18401
|
ngOnInit() {
|
|
18226
18402
|
this.service.getlistKpiBrowser().subscribe({
|
|
@@ -18266,6 +18442,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18266
18442
|
next: (data) => {
|
|
18267
18443
|
this.pageTitle = data.pageName;
|
|
18268
18444
|
this.dashBoardWidgetConfig = data;
|
|
18445
|
+
this.getDrilldownDisplayByUrlParams(data.widgets);
|
|
18269
18446
|
if (!context) {
|
|
18270
18447
|
if (Object.keys(this.uniqueDataSetObject).length != 0) {
|
|
18271
18448
|
this.createDivElements(this.uniqueDataSetObject, false);
|
|
@@ -18284,6 +18461,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18284
18461
|
getComponentConfigSet() {
|
|
18285
18462
|
let dataset = this.service.getAppDatasetConfigs();
|
|
18286
18463
|
let viewComponent = this.service.getAppViewConfigs();
|
|
18464
|
+
this.defaultViewIds = [];
|
|
18287
18465
|
forkJoin({
|
|
18288
18466
|
datasetConfig: dataset,
|
|
18289
18467
|
viewConfig: viewComponent
|
|
@@ -18379,10 +18557,10 @@ class KpiWithDataSetTestComponent {
|
|
|
18379
18557
|
});
|
|
18380
18558
|
}
|
|
18381
18559
|
});
|
|
18382
|
-
|
|
18560
|
+
this.defaultViewIds = this.defaultViewIds.concat(this.defaultViewIdsOnPageRefresh.filter((item) => this.defaultViewIds.indexOf(item) < 0));
|
|
18383
18561
|
viewIds.forEach(element => {
|
|
18384
18562
|
let obj = {
|
|
18385
|
-
"filters": JSON.parse(JSON.stringify(defaultFilters)),
|
|
18563
|
+
"filters": (this.isDefaultFilterParams) ? JSON.parse(JSON.stringify(this.defaultMatchedFilters)) : JSON.parse(JSON.stringify(defaultFilters)),
|
|
18386
18564
|
"keyToPass": [],
|
|
18387
18565
|
"drillDownType": "natural",
|
|
18388
18566
|
"drilldownFrom": ""
|
|
@@ -18392,12 +18570,11 @@ class KpiWithDataSetTestComponent {
|
|
|
18392
18570
|
let obj = {
|
|
18393
18571
|
widgetId: widget.widgetId,
|
|
18394
18572
|
pageId: widget.pageId,
|
|
18395
|
-
filters: defaultFilters,
|
|
18573
|
+
filters: (this.isDefaultFilterParams) ? this.defaultMatchedFilters : defaultFilters,
|
|
18396
18574
|
datasetIds: datasetIds
|
|
18397
18575
|
};
|
|
18398
18576
|
this.allWidgetByDataset.push(obj);
|
|
18399
18577
|
});
|
|
18400
|
-
console.log(this.stateDataSource);
|
|
18401
18578
|
this.uniqueDataSetObject = {};
|
|
18402
18579
|
let apiCalls = [];
|
|
18403
18580
|
this.allWidgetByDataset.forEach(view => {
|
|
@@ -18626,7 +18803,7 @@ class KpiWithDataSetTestComponent {
|
|
|
18626
18803
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
18627
18804
|
}
|
|
18628
18805
|
loadFilterComponent(indexObj, containerElement, filterItems, context_filter) {
|
|
18629
|
-
let userName =
|
|
18806
|
+
let userName = this.storage.get('user_name');
|
|
18630
18807
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
18631
18808
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
18632
18809
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -18653,7 +18830,6 @@ class KpiWithDataSetTestComponent {
|
|
|
18653
18830
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
18654
18831
|
}
|
|
18655
18832
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
18656
|
-
let userName = localStorage.getItem('user_name');
|
|
18657
18833
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
18658
18834
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
18659
18835
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -18680,11 +18856,13 @@ class KpiWithDataSetTestComponent {
|
|
|
18680
18856
|
if (this.getElementOfCurrentView(node, event.drilldownTo)) {
|
|
18681
18857
|
let view = element.widgetNode[nodeIndex];
|
|
18682
18858
|
let apiCalls = [];
|
|
18859
|
+
let chatApiCall = [];
|
|
18683
18860
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.drilldownFrom));
|
|
18684
18861
|
view.compConfig.viewConfig.forEach(contentView => {
|
|
18685
18862
|
let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
|
|
18686
18863
|
if (found) {
|
|
18687
18864
|
apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
|
|
18865
|
+
chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
|
|
18688
18866
|
}
|
|
18689
18867
|
});
|
|
18690
18868
|
Promise.all(apiCalls).then(() => {
|
|
@@ -18750,10 +18928,9 @@ class KpiWithDataSetTestComponent {
|
|
|
18750
18928
|
const stateData = Array.from(this.stateDataSource.keys());
|
|
18751
18929
|
const currentViewIndex = stateData.indexOf(event.viewId);
|
|
18752
18930
|
const deletedViewIds = [];
|
|
18931
|
+
console.log(this.defaultViewIds, "default view");
|
|
18753
18932
|
for (let i = currentViewIndex + 1; i < stateData.length; i++) {
|
|
18754
|
-
|
|
18755
|
-
deletedViewIds.push(stateData[i]);
|
|
18756
|
-
}
|
|
18933
|
+
deletedViewIds.push(stateData[i]);
|
|
18757
18934
|
}
|
|
18758
18935
|
const hourlyNode = this.dashBoardWidgetConfig.widgets
|
|
18759
18936
|
.map(widget => widget.widgetNode.find(node => this.getHourlyData(node)))
|
|
@@ -18877,7 +19054,6 @@ class KpiWithDataSetTestComponent {
|
|
|
18877
19054
|
this.scrollToBottom(this.mainPageDivElement);
|
|
18878
19055
|
}, 200);
|
|
18879
19056
|
});
|
|
18880
|
-
console.log(this.stateDataSource);
|
|
18881
19057
|
}
|
|
18882
19058
|
getModalViewByRowCLick(event, view) {
|
|
18883
19059
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18916,11 +19092,14 @@ class KpiWithDataSetTestComponent {
|
|
|
18916
19092
|
getViewByRowCLick(event, view) {
|
|
18917
19093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18918
19094
|
let apiCalls = [];
|
|
19095
|
+
let chatApiCall = [];
|
|
18919
19096
|
let appliedFilters = this.getSetOperatorFilter(event, this.stateDataSource.get(event.viewId));
|
|
18920
19097
|
view.compConfig.viewConfig.forEach(contentView => {
|
|
18921
19098
|
let found = this.dataSetModal.find(d => d.datasetId === contentView.datasetId);
|
|
19099
|
+
let queryParams = this.getFiltersForQueryParams(appliedFilters, found.config.queryConfig.mapedFilters);
|
|
18922
19100
|
if (found) {
|
|
18923
19101
|
apiCalls.push(this.datasetService.getDataFromDataSet(found, contentView.datasetId, appliedFilters));
|
|
19102
|
+
chatApiCall.push(this.chatApiService.getDataForChatAi(this.pageId, contentView, appliedFilters));
|
|
18924
19103
|
}
|
|
18925
19104
|
});
|
|
18926
19105
|
yield Promise.all(apiCalls);
|
|
@@ -18943,14 +19122,30 @@ class KpiWithDataSetTestComponent {
|
|
|
18943
19122
|
setTimeout(() => {
|
|
18944
19123
|
this.scrollToBottom(this.mainPageDivElement);
|
|
18945
19124
|
}, 200);
|
|
18946
|
-
let navigation = {
|
|
18947
|
-
queryParams: appliedFilters['operationFilter'],
|
|
18948
|
-
queryParamsHandling: "merge"
|
|
18949
|
-
};
|
|
18950
|
-
this.router.navigate([], navigation);
|
|
18951
|
-
console.log(this.stateDataSource);
|
|
18952
19125
|
});
|
|
18953
19126
|
}
|
|
19127
|
+
getFiltersForQueryParams(operators, filters) {
|
|
19128
|
+
debugger;
|
|
19129
|
+
const operationFilter = operators.operationFilter || {};
|
|
19130
|
+
const currentParams = this.activatedRoute.snapshot.queryParams;
|
|
19131
|
+
const newParams = {};
|
|
19132
|
+
const defaultViewsKeyToPass = [];
|
|
19133
|
+
filters.forEach(filter => {
|
|
19134
|
+
const localKey = filter.localColumn;
|
|
19135
|
+
const serverKey = filter.serverColumn;
|
|
19136
|
+
let value = operationFilter[localKey];
|
|
19137
|
+
if (value !== undefined && value !== "") {
|
|
19138
|
+
newParams[serverKey] = value;
|
|
19139
|
+
defaultViewsKeyToPass.push(localKey);
|
|
19140
|
+
}
|
|
19141
|
+
});
|
|
19142
|
+
const mergedParams = Object.assign(Object.assign({}, currentParams), newParams);
|
|
19143
|
+
const navigation = {
|
|
19144
|
+
queryParams: mergedParams,
|
|
19145
|
+
queryParamsHandling: 'merge'
|
|
19146
|
+
};
|
|
19147
|
+
this.router.navigate([], navigation);
|
|
19148
|
+
}
|
|
18954
19149
|
scrollToBottom(container) {
|
|
18955
19150
|
setTimeout(() => {
|
|
18956
19151
|
container.scrollIntoView({ block: 'end' });
|
|
@@ -19112,7 +19307,6 @@ class KpiWithDataSetTestComponent {
|
|
|
19112
19307
|
}
|
|
19113
19308
|
loadDataByOperator(opName) {
|
|
19114
19309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19115
|
-
console.log(opName);
|
|
19116
19310
|
let filter = { operationFilter: { startDate: "", endDate: "", operator_key: "" } };
|
|
19117
19311
|
filter.operationFilter['startDate'] = this.defaultStartDate;
|
|
19118
19312
|
filter.operationFilter['endDate'] = this.defaultEndDate;
|
|
@@ -19186,13 +19380,44 @@ class KpiWithDataSetTestComponent {
|
|
|
19186
19380
|
return input;
|
|
19187
19381
|
}
|
|
19188
19382
|
}
|
|
19383
|
+
getDrilldownDisplayByUrlParams(all_views) {
|
|
19384
|
+
this.defaultViewIdsOnPageRefresh = [];
|
|
19385
|
+
const params = this.activatedRoute.snapshot.queryParams;
|
|
19386
|
+
this.defaultMatchedFilters = { operationFilter: { startDate: params['startDate'], endDate: params['endDate'] } };
|
|
19387
|
+
;
|
|
19388
|
+
const matchedParams = {};
|
|
19389
|
+
all_views.forEach(element => {
|
|
19390
|
+
for (let entry of element.widgetNode) {
|
|
19391
|
+
let shouldDisplay = false;
|
|
19392
|
+
entry.compConfig.viewConfig.forEach(view => {
|
|
19393
|
+
if (view.kpiConfig.keyToPass && view.kpiConfig.keyToPass.length !== 0) {
|
|
19394
|
+
view.kpiConfig.keyToPass.forEach(key => {
|
|
19395
|
+
if (params.hasOwnProperty(key)) {
|
|
19396
|
+
matchedParams[key] = params[key];
|
|
19397
|
+
this.defaultMatchedFilters['operationFilter'][key] = params[key];
|
|
19398
|
+
shouldDisplay = true;
|
|
19399
|
+
this.isDefaultFilterParams = true;
|
|
19400
|
+
if (!this.defaultViewIdsOnPageRefresh.includes(view.viewId)) {
|
|
19401
|
+
this.defaultViewIdsOnPageRefresh.push(view.viewId);
|
|
19402
|
+
}
|
|
19403
|
+
}
|
|
19404
|
+
});
|
|
19405
|
+
}
|
|
19406
|
+
});
|
|
19407
|
+
if (shouldDisplay) {
|
|
19408
|
+
entry.nodeProperties.display = true;
|
|
19409
|
+
}
|
|
19410
|
+
}
|
|
19411
|
+
});
|
|
19412
|
+
console.log(this.defaultMatchedFilters, "matched psrsmd");
|
|
19413
|
+
}
|
|
19189
19414
|
}
|
|
19190
|
-
KpiWithDataSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithSingleLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token:
|
|
19415
|
+
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 });
|
|
19191
19416
|
KpiWithDataSetTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: KpiWithDataSetTestComponent, selector: "app-kpi-with-dataset", viewQueries: [{ propertyName: "dynamicComponentContainer", first: true, predicate: ["dynamicComponentContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "dynamicContainer", first: true, predicate: ["dynamicContainer"], descendants: true, static: true }, { propertyName: "dynamicContainerForPopup", first: true, predicate: ["dynamicContainerForPopup"], descendants: true, static: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n<dx-popup [(visible)]=\"isPopupView\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"1000\" [height]=\"'auto'\"\n [showTitle]=\"true\" class=\"popup\" title=\"Popup View\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"w-full\">\n <app-dynamic-widget [modalConfigs]=\"modalConfigs\" [contextMenuDataSource]=\"contextMenuDataSource\">\n </app-dynamic-widget>\n </div>\n </div>\n</dx-popup>", styles: [".custom-tooltip{display:none;position:absolute;top:100%;left:0;background:rgba(0,0,0,.8);color:#fff;padding:8px;border-radius:5px;font-size:12px;white-space:nowrap;z-index:100}\n"], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }, { kind: "directive", type: i5.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i9$1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "elementAttr", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "elementAttrChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i10$1.DxScrollViewComponent, selector: "dx-scroll-view", inputs: ["bounceEnabled", "direction", "disabled", "elementAttr", "height", "pulledDownText", "pullingDownText", "reachBottomText", "refreshingText", "rtlEnabled", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "onPullDown", "onReachBottom", "onScroll", "onUpdated", "bounceEnabledChange", "directionChange", "disabledChange", "elementAttrChange", "heightChange", "pulledDownTextChange", "pullingDownTextChange", "reachBottomTextChange", "refreshingTextChange", "rtlEnabledChange", "scrollByContentChange", "scrollByThumbChange", "showScrollbarChange", "useNativeChange", "widthChange"] }, { kind: "component", type: i6$1.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i7.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: DynamicWidgetComponent, selector: "app-dynamic-widget", inputs: ["view", "datasetById", "contextMenuDataSource", "modalConfigs"] }] });
|
|
19192
19417
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithDataSetTestComponent, decorators: [{
|
|
19193
19418
|
type: Component,
|
|
19194
19419
|
args: [{ selector: 'app-kpi-with-dataset', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n<dx-popup [(visible)]=\"isPopupView\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"1000\" [height]=\"'auto'\"\n [showTitle]=\"true\" class=\"popup\" title=\"Popup View\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"w-full\">\n <app-dynamic-widget [modalConfigs]=\"modalConfigs\" [contextMenuDataSource]=\"contextMenuDataSource\">\n </app-dynamic-widget>\n </div>\n </div>\n</dx-popup>", styles: [".custom-tooltip{display:none;position:absolute;top:100%;left:0;background:rgba(0,0,0,.8);color:#fff;padding:8px;border-radius:5px;font-size:12px;white-space:nowrap;z-index:100}\n"] }]
|
|
19195
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithSingleLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type:
|
|
19420
|
+
}], 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: [{
|
|
19196
19421
|
type: ViewChild,
|
|
19197
19422
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
19198
19423
|
}], containerRef: [{
|
|
@@ -19251,7 +19476,7 @@ KpiWithSingleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
|
|
|
19251
19476
|
MatIconModule,
|
|
19252
19477
|
LoadingModule$1], exports: [DynamicWidgetComponent,
|
|
19253
19478
|
KpiWithDataSetTestComponent] });
|
|
19254
|
-
KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService,
|
|
19479
|
+
KpiWithSingleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithSingleLayoutModule, providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService], imports: [CommonModule,
|
|
19255
19480
|
LoadingModule$1,
|
|
19256
19481
|
CommonModule,
|
|
19257
19482
|
DevExtremeModule,
|
|
@@ -19343,7 +19568,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
19343
19568
|
DynamicWidgetComponent,
|
|
19344
19569
|
KpiWithDataSetTestComponent
|
|
19345
19570
|
],
|
|
19346
|
-
providers: [KpiWithSingleLayoutService,
|
|
19571
|
+
providers: [KpiWithSingleLayoutService, SingleLayoutApplicationDatssetsCall, ApplicationChatApiCallService],
|
|
19347
19572
|
}]
|
|
19348
19573
|
}] });
|
|
19349
19574
|
|
|
@@ -19483,7 +19708,6 @@ class DynamicWidgetForMultilayoutComponent {
|
|
|
19483
19708
|
return widgetDiv;
|
|
19484
19709
|
}
|
|
19485
19710
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
19486
|
-
let userName = localStorage.getItem('user_name');
|
|
19487
19711
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
19488
19712
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
19489
19713
|
const dynamicComponentInstance = this.CompRefs.instance;
|
|
@@ -19516,124 +19740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
19516
19740
|
args: ['modalConfigs']
|
|
19517
19741
|
}] } });
|
|
19518
19742
|
|
|
19519
|
-
class
|
|
19520
|
-
constructor(http, environment) {
|
|
19521
|
-
this.http = http;
|
|
19522
|
-
this.environment = environment;
|
|
19523
|
-
this.headers = new HttpHeaders().set('Content-Type', 'application/json');
|
|
19524
|
-
this.options = { headers: this.headers, withCredentials: true };
|
|
19525
|
-
this._selectedKpiOnClick = new Subject();
|
|
19526
|
-
this._kpilist = new Subject();
|
|
19527
|
-
this._selectKpiFromDropDown = new Subject();
|
|
19528
|
-
this._componentRegistry = new Map();
|
|
19529
|
-
this.kpiFilter = new BehaviorSubject([]);
|
|
19530
|
-
}
|
|
19531
|
-
handleError(error) {
|
|
19532
|
-
return throwError(error);
|
|
19533
|
-
}
|
|
19534
|
-
getlistKpiBrowser() {
|
|
19535
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
19536
|
-
return this.http
|
|
19537
|
-
.get(apiUrl, { withCredentials: true })
|
|
19538
|
-
.pipe(map((response) => {
|
|
19539
|
-
return response;
|
|
19540
|
-
}), catchError(this.handleError));
|
|
19541
|
-
}
|
|
19542
|
-
getAppPageDetailConfig(pageId) {
|
|
19543
|
-
return this.http
|
|
19544
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
19545
|
-
.pipe(map((response) => {
|
|
19546
|
-
return response;
|
|
19547
|
-
}), catchError(this.handleError));
|
|
19548
|
-
}
|
|
19549
|
-
getAppPageConfigs() {
|
|
19550
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
19551
|
-
return this.http
|
|
19552
|
-
.get(apiUrl, { withCredentials: true })
|
|
19553
|
-
.pipe(map((response) => {
|
|
19554
|
-
return response;
|
|
19555
|
-
}), catchError(this.handleError));
|
|
19556
|
-
}
|
|
19557
|
-
getAppDatasetConfigs() {
|
|
19558
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
19559
|
-
return this.http
|
|
19560
|
-
.get(apiUrl, { withCredentials: true })
|
|
19561
|
-
.pipe(map((response) => {
|
|
19562
|
-
return response;
|
|
19563
|
-
}), catchError(this.handleError));
|
|
19564
|
-
}
|
|
19565
|
-
getAppDatasetConfig(datasetId) {
|
|
19566
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
19567
|
-
return this.http
|
|
19568
|
-
.get(apiUrl, { withCredentials: true })
|
|
19569
|
-
.pipe(map((response) => {
|
|
19570
|
-
return response;
|
|
19571
|
-
}), catchError(this.handleError));
|
|
19572
|
-
}
|
|
19573
|
-
getAppFilterConfig(filterId) {
|
|
19574
|
-
return this.http
|
|
19575
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
19576
|
-
.pipe(map((response) => {
|
|
19577
|
-
return response;
|
|
19578
|
-
}), catchError(this.handleError));
|
|
19579
|
-
}
|
|
19580
|
-
getAppViewConfigs() {
|
|
19581
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
19582
|
-
return this.http
|
|
19583
|
-
.get(apiUrl, { withCredentials: true })
|
|
19584
|
-
.pipe(map((response) => {
|
|
19585
|
-
return response;
|
|
19586
|
-
}), catchError(this.handleError));
|
|
19587
|
-
}
|
|
19588
|
-
getData(body, requestID) {
|
|
19589
|
-
return this.http
|
|
19590
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
19591
|
-
.pipe(map((response) => {
|
|
19592
|
-
return response;
|
|
19593
|
-
}), catchError(this.handleError));
|
|
19594
|
-
}
|
|
19595
|
-
getSimpleApiPostRequest(requestApi, body) {
|
|
19596
|
-
return this.http
|
|
19597
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
19598
|
-
.pipe(map((response) => {
|
|
19599
|
-
return response;
|
|
19600
|
-
}), catchError(this.handleError));
|
|
19601
|
-
}
|
|
19602
|
-
getSimpleApiGetRequest(requestApi) {
|
|
19603
|
-
return this.http
|
|
19604
|
-
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
19605
|
-
.pipe(map((response) => {
|
|
19606
|
-
return response;
|
|
19607
|
-
}), catchError(this.handleError));
|
|
19608
|
-
}
|
|
19609
|
-
getJsonDatasetPayload(requestApi) {
|
|
19610
|
-
return this.http
|
|
19611
|
-
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
19612
|
-
.pipe(map((response) => {
|
|
19613
|
-
return response;
|
|
19614
|
-
}), catchError(this.handleError));
|
|
19615
|
-
}
|
|
19616
|
-
genericSqlQueryResponse(requestApi, body) {
|
|
19617
|
-
return this.http
|
|
19618
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
19619
|
-
.pipe(map((response) => {
|
|
19620
|
-
return response;
|
|
19621
|
-
}), catchError(this.handleError));
|
|
19622
|
-
}
|
|
19623
|
-
}
|
|
19624
|
-
KpiWithMultiLayoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, deps: [{ token: i1.HttpClient }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19625
|
-
KpiWithMultiLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, providedIn: "root" });
|
|
19626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutService, decorators: [{
|
|
19627
|
-
type: Injectable,
|
|
19628
|
-
args: [{ providedIn: "root" }]
|
|
19629
|
-
}], ctorParameters: function () {
|
|
19630
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
19631
|
-
type: Inject,
|
|
19632
|
-
args: [APP_ENVIRONMENT]
|
|
19633
|
-
}] }];
|
|
19634
|
-
} });
|
|
19635
|
-
|
|
19636
|
-
class SingleLayoutApplicationDatssetsCall {
|
|
19743
|
+
class MultilayoutApplicationDatssetsCall {
|
|
19637
19744
|
constructor(service, kpiService, toastr, environment) {
|
|
19638
19745
|
this.service = service;
|
|
19639
19746
|
this.kpiService = kpiService;
|
|
@@ -19980,20 +20087,20 @@ class SingleLayoutApplicationDatssetsCall {
|
|
|
19980
20087
|
return this.uniqueDataSetObject;
|
|
19981
20088
|
}
|
|
19982
20089
|
}
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
20090
|
+
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 });
|
|
20091
|
+
MultilayoutApplicationDatssetsCall.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, providedIn: "root" });
|
|
20092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MultilayoutApplicationDatssetsCall, decorators: [{
|
|
19986
20093
|
type: Injectable,
|
|
19987
20094
|
args: [{ providedIn: "root" }]
|
|
19988
20095
|
}], ctorParameters: function () {
|
|
19989
|
-
return [{ type:
|
|
20096
|
+
return [{ type: KpiWithSingleLayoutService }, { type: kpicommonService$2 }, { type: i3$1.ToastrService }, { type: undefined, decorators: [{
|
|
19990
20097
|
type: Inject,
|
|
19991
20098
|
args: [APP_ENVIRONMENT]
|
|
19992
20099
|
}] }];
|
|
19993
20100
|
} });
|
|
19994
20101
|
|
|
19995
20102
|
class KpiWithMultilayoutSetTestComponent {
|
|
19996
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
20103
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
|
|
19997
20104
|
this.commonService = commonService;
|
|
19998
20105
|
this.activatedRoute = activatedRoute;
|
|
19999
20106
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -20002,6 +20109,7 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20002
20109
|
this.toastr = toastr;
|
|
20003
20110
|
this.router = router;
|
|
20004
20111
|
this.datasetService = datasetService;
|
|
20112
|
+
this.storage = storage;
|
|
20005
20113
|
this.dashbord_container = [];
|
|
20006
20114
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
20007
20115
|
this.page_title = 'Dashboard';
|
|
@@ -20412,7 +20520,7 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20412
20520
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
20413
20521
|
}
|
|
20414
20522
|
loadFilterComponent(indexObj, containerElement, filterItems, context_filter) {
|
|
20415
|
-
let userName =
|
|
20523
|
+
let userName = this.storage.get('user_name');
|
|
20416
20524
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
20417
20525
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
20418
20526
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -20439,7 +20547,6 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20439
20547
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
20440
20548
|
}
|
|
20441
20549
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
20442
|
-
let userName = localStorage.getItem('user_name');
|
|
20443
20550
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
20444
20551
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
20445
20552
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -20955,12 +21062,12 @@ class KpiWithMultilayoutSetTestComponent {
|
|
|
20955
21062
|
}
|
|
20956
21063
|
}
|
|
20957
21064
|
}
|
|
20958
|
-
KpiWithMultilayoutSetTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, deps: [{ token: CommonService }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: KpiWithMultiLayoutService }, { token: i3$1.ToastrService }, { token: i2.Router }, { token:
|
|
21065
|
+
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 });
|
|
20959
21066
|
KpiWithMultilayoutSetTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: KpiWithMultilayoutSetTestComponent, selector: "app-kpi-with-multilayout", viewQueries: [{ propertyName: "dynamicComponentContainer", first: true, predicate: ["dynamicComponentContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "dynamicContainer", first: true, predicate: ["dynamicContainer"], descendants: true, static: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n\n\n\n", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }, { kind: "directive", type: i5.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i9$1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "elementAttr", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "elementAttrChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i10$1.DxScrollViewComponent, selector: "dx-scroll-view", inputs: ["bounceEnabled", "direction", "disabled", "elementAttr", "height", "pulledDownText", "pullingDownText", "reachBottomText", "refreshingText", "rtlEnabled", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "onPullDown", "onReachBottom", "onScroll", "onUpdated", "bounceEnabledChange", "directionChange", "disabledChange", "elementAttrChange", "heightChange", "pulledDownTextChange", "pullingDownTextChange", "reachBottomTextChange", "refreshingTextChange", "rtlEnabledChange", "scrollByContentChange", "scrollByThumbChange", "showScrollbarChange", "useNativeChange", "widthChange"] }, { kind: "component", type: i6$1.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i7.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
20960
21067
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultilayoutSetTestComponent, decorators: [{
|
|
20961
21068
|
type: Component,
|
|
20962
21069
|
args: [{ selector: 'app-kpi-with-multilayout', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n\n<div class=\"w-full\">\n <div class=\"flex flex-wrap \" #dynamicContainer></div>\n</div>\n\n<dx-popup [(visible)]=\"isWidgetFilters\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"800\" [height]=\"400\"\n [showTitle]=\"true\" class=\"popup\" title=\"Dataset Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <div class=\"my-2\">\n <dx-scroll-view [width]=\"'100%'\" [height]=\"'85%'\">\n <ng-container *ngFor=\"let item of nodeproperticeFilterDataSource.havingConfig; let i = index\">\n <div class=\"flex flex-row my-2\">\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.columnName\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <dx-select-box [items]=\"['get','let']\" [(ngModel)]=\"item.operator\"\n placeholder=\"Operator\"></dx-select-box>\n </div>\n <div class=\"m-1\">\n <dx-text-box [(ngModel)]=\"item.value\"></dx-text-box>\n </div>\n </div>\n </ng-container>\n\n </dx-scroll-view>\n <div class=\"flex justify-end mx-1 flex-grow border-t\">\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mt-2\"\n (click)=\"submitFilter()\">Submit</button>\n </div>\n\n </div>\n\n </div>\n</dx-popup>\n\n\n\n" }]
|
|
20963
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: KpiWithMultiLayoutService }, { type: i3$1.ToastrService }, { type: i2.Router }, { type:
|
|
21070
|
+
}], 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: [{
|
|
20964
21071
|
type: ViewChild,
|
|
20965
21072
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
20966
21073
|
}], containerRef: [{
|
|
@@ -21016,7 +21123,7 @@ KpiWithMultiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
|
|
|
21016
21123
|
MatIconModule,
|
|
21017
21124
|
LoadingModule$1], exports: [KpiWithMultilayoutSetTestComponent,
|
|
21018
21125
|
DynamicWidgetForMultilayoutComponent] });
|
|
21019
|
-
KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService,
|
|
21126
|
+
KpiWithMultiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: KpiWithMultiLayoutModule, providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall], imports: [CommonModule,
|
|
21020
21127
|
LoadingModule$1,
|
|
21021
21128
|
CommonModule,
|
|
21022
21129
|
DevExtremeModule,
|
|
@@ -21108,7 +21215,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
21108
21215
|
KpiWithMultilayoutSetTestComponent,
|
|
21109
21216
|
DynamicWidgetForMultilayoutComponent
|
|
21110
21217
|
],
|
|
21111
|
-
providers: [KpiWithMultiLayoutService,
|
|
21218
|
+
providers: [KpiWithMultiLayoutService, MultilayoutApplicationDatssetsCall],
|
|
21112
21219
|
}]
|
|
21113
21220
|
}] });
|
|
21114
21221
|
|
|
@@ -21589,7 +21696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
21589
21696
|
} });
|
|
21590
21697
|
|
|
21591
21698
|
class LandingComponentComponent {
|
|
21592
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
21699
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
|
|
21593
21700
|
this.commonService = commonService;
|
|
21594
21701
|
this.activatedRoute = activatedRoute;
|
|
21595
21702
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -21598,6 +21705,7 @@ class LandingComponentComponent {
|
|
|
21598
21705
|
this.toastr = toastr;
|
|
21599
21706
|
this.router = router;
|
|
21600
21707
|
this.datasetService = datasetService;
|
|
21708
|
+
this.storage = storage;
|
|
21601
21709
|
this.dashbord_container = [];
|
|
21602
21710
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
21603
21711
|
this.page_title = 'Dashboard';
|
|
@@ -21991,7 +22099,7 @@ class LandingComponentComponent {
|
|
|
21991
22099
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
21992
22100
|
}
|
|
21993
22101
|
loadFilterComponent(indexObj, containerElement, filterItems, context_filter) {
|
|
21994
|
-
let userName =
|
|
22102
|
+
let userName = this.storage.get('user_name');
|
|
21995
22103
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
21996
22104
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
21997
22105
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -22012,7 +22120,6 @@ class LandingComponentComponent {
|
|
|
22012
22120
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
22013
22121
|
}
|
|
22014
22122
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
22015
|
-
let userName = localStorage.getItem('user_name');
|
|
22016
22123
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
22017
22124
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
22018
22125
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -22432,12 +22539,12 @@ class LandingComponentComponent {
|
|
|
22432
22539
|
});
|
|
22433
22540
|
}
|
|
22434
22541
|
}
|
|
22435
|
-
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 });
|
|
22542
|
+
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 });
|
|
22436
22543
|
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" }] });
|
|
22437
22544
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LandingComponentComponent, decorators: [{
|
|
22438
22545
|
type: Component,
|
|
22439
22546
|
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>" }]
|
|
22440
|
-
}], 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: [{
|
|
22547
|
+
}], 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: [{
|
|
22441
22548
|
type: ViewChild,
|
|
22442
22549
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
22443
22550
|
}], containerRef: [{
|
|
@@ -23062,7 +23169,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
23062
23169
|
} });
|
|
23063
23170
|
|
|
23064
23171
|
class BookmarkedTemplateComponent {
|
|
23065
|
-
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService) {
|
|
23172
|
+
constructor(commonService, activatedRoute, viewContainerRef, componentFactoryResolver, service, toastr, router, datasetService, storage) {
|
|
23066
23173
|
this.commonService = commonService;
|
|
23067
23174
|
this.activatedRoute = activatedRoute;
|
|
23068
23175
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -23071,6 +23178,7 @@ class BookmarkedTemplateComponent {
|
|
|
23071
23178
|
this.toastr = toastr;
|
|
23072
23179
|
this.router = router;
|
|
23073
23180
|
this.datasetService = datasetService;
|
|
23181
|
+
this.storage = storage;
|
|
23074
23182
|
this.dashbord_container = [];
|
|
23075
23183
|
this.widget_width = ['w-full', 'w-1/2', 'w-1/3', 'w-1/4', 'w-1/5', 'w-1/6'];
|
|
23076
23184
|
this.page_title = 'Dashboard';
|
|
@@ -23449,7 +23557,7 @@ class BookmarkedTemplateComponent {
|
|
|
23449
23557
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
23450
23558
|
}
|
|
23451
23559
|
loadFilterComponent(indexObj, containerElement, filterItems) {
|
|
23452
|
-
let userName =
|
|
23560
|
+
let userName = this.storage.get('user_name');
|
|
23453
23561
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
23454
23562
|
const componentClass = this.componentClassMap['AppAdvanceHeaderComponent'];
|
|
23455
23563
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -23469,7 +23577,6 @@ class BookmarkedTemplateComponent {
|
|
|
23469
23577
|
containerElement.appendChild(this.CompRefs.location.nativeElement);
|
|
23470
23578
|
}
|
|
23471
23579
|
loadWidgetFilterComponent(indexObj, containerElement, filterItems, viewIds) {
|
|
23472
|
-
let userName = localStorage.getItem('user_name');
|
|
23473
23580
|
let selectedDates = { startDate: this.defaultStartDate, endDate: this.defaultEndDate };
|
|
23474
23581
|
const componentClass = this.componentClassMap['AdvanceWidgetHeaderFilterComponent'];
|
|
23475
23582
|
this.CompRefs = this.viewContainerRef.createComponent(componentClass);
|
|
@@ -23847,12 +23954,12 @@ class BookmarkedTemplateComponent {
|
|
|
23847
23954
|
});
|
|
23848
23955
|
}
|
|
23849
23956
|
}
|
|
23850
|
-
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 });
|
|
23957
|
+
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 });
|
|
23851
23958
|
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" }] });
|
|
23852
23959
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BookmarkedTemplateComponent, decorators: [{
|
|
23853
23960
|
type: Component,
|
|
23854
23961
|
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>" }]
|
|
23855
|
-
}], 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: [{
|
|
23962
|
+
}], 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: [{
|
|
23856
23963
|
type: ViewChild,
|
|
23857
23964
|
args: ['dynamicComponentContainer', { read: ViewContainerRef }]
|
|
23858
23965
|
}], containerRef: [{
|
|
@@ -24000,5 +24107,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
24000
24107
|
}]
|
|
24001
24108
|
}] });
|
|
24002
24109
|
|
|
24003
|
-
export { APP_ENVIRONMENT, AdvanceWidgetHeaderFilterComponent, AllMetricsConfigComponent, AppAdvanceHeaderComponent, AppHttpService, AppTitleComponent, ApplicationContentService, ApplicationDatssetsCall, ApplicationFilterComponent, ApplicationViewsComponent, BookMarkedTemplatemodule, BookmarkedApplicationDatssetsCall, BookmarkedService, BookmarkedTemplateComponent, BreadCrumbsComponent, CdrConfigComponent, CdrConfigMoudule, CommonHeaderComponent, CommonService, CreateCompViewComponent, CreateDatasetComponent, CreateDatasetJsonComponent, CreateDatasetSqlComponent, CreateKpiTreeComponent, CreateMetricsComponent, DashChartComponent, DashTableComponent, DashTodayPreviousComponent, DefaultLandingComponenttModule, DynamicWidgetComponent, DynamicWidgetForMultilayoutComponent, ExceptionOperationComponent, ExceptionOperationModule, GamamWidgetComponent, GammSingleNumberCardComponent, GammaAdvanceChartComponent, GammaAdvanceFilterComponent, GammaAdvanceOperatorTableComponent, GammaAppControllerComponent, GammaAppControllerModule, GammaAppControllerService, GammaGeoChartComponent, GammaHeatChartComponent, GammaTableClumnBarChartComponent, GammaTableWithPercentageComponent, GammaTodayPreviousComponent, GeoMapComponent, GoogleGeoMapComponent, HeatMapSupportComponent, IconsModule, KpiCreationModule, KpiWithDataSetTestComponent, KpiWithMultiLayoutModule, KpiWithMultiLayoutService, KpiWithMultilayoutSetTestComponent, KpiWithSingleLayoutModule, KpiWithSingleLayoutService, LandingApplicationDatssetsCall, LandingComponentComponent, LandingComponentService, LoaderComponent, LoadingComponent, LoadingModule, OflineMetricsComponent, OnlineMetricsComponent, PackageApplicationControllerModule, PageConfigComponent, PageConfigMultilayoutComponent, PageControlerComponent, SafeHtmlPipe, SingleLayoutApplicationDatssetsCall, SqlPipe, TableWithBarComponent, TreeViewAsideItemComponent, TreeViewBasicItemComponent, TreeViewCollapsableItemComponent, TreeViewDividerItemComponent, TreeViewGroupItemComponent, TreeViewSpacerItemComponent, TreeviewComponent, contentSafeHtml, kpicommonService$2 as kpicommonService };
|
|
24110
|
+
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 };
|
|
24004
24111
|
//# sourceMappingURL=gamma-app-controller.mjs.map
|