@hitsoft/ovolt 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/config/providers/fuel-integration-log-route.provider.d.ts +9 -0
  2. package/esm2020/config/ovolt-config.module.mjs +4 -2
  3. package/esm2020/config/providers/fuel-integration-log-route.provider.mjs +19 -0
  4. package/esm2020/config/providers/process-log-route.provider.mjs +1 -1
  5. package/esm2020/config/providers/system-parameter-route.provider.mjs +1 -1
  6. package/esm2020/lib/components/hit-fuel-integration-logs/components/hit-fuel-integration-log.component.mjs +157 -0
  7. package/esm2020/lib/components/hit-fuel-integration-logs/hit-fuel-integration-log-routing.module.mjs +26 -0
  8. package/esm2020/lib/components/hit-fuel-integration-logs/hit-fuel-integration-log.module.mjs +71 -0
  9. package/esm2020/lib/components/hit-process-logs/components/hit-process-log.component.mjs +58 -30
  10. package/esm2020/lib/components/hit-process-logs/hit-process-log.module.mjs +8 -5
  11. package/esm2020/lib/components/hit-proxy/hit-fuel-integration-logs/hit-fuel-integration-log.service.mjs +40 -0
  12. package/esm2020/lib/components/hit-proxy/hit-fuel-integration-logs/models.mjs +2 -0
  13. package/esm2020/lib/components/hit-proxy/hit-process-logs/hit-process-log.service.mjs +5 -1
  14. package/esm2020/lib/components/hit-system-parameters/components/hit-system-parameter.component.mjs +10 -10
  15. package/esm2020/lib/fuel-integration-logs/fuel-integration-log/components/fuel-integration-log.component.mjs +103 -0
  16. package/esm2020/lib/fuel-integration-logs/fuel-integration-log/fuel-integration-log-routing.module.mjs +26 -0
  17. package/esm2020/lib/fuel-integration-logs/fuel-integration-log/fuel-integration-log.module.mjs +52 -0
  18. package/esm2020/lib/ovolt-routing.module.mjs +4 -2
  19. package/esm2020/lib/process-logs/process-log/components/process-log.component.mjs +3 -3
  20. package/esm2020/lib/process-logs/process-log/process-log-routing.module.mjs +1 -1
  21. package/esm2020/lib/process-logs/process-log/process-log.module.mjs +1 -1
  22. package/esm2020/lib/proxy/fuel-integration-logs/fuel-integration-log.service.mjs +41 -0
  23. package/esm2020/lib/proxy/fuel-integration-logs/models.mjs +2 -0
  24. package/esm2020/lib/proxy/general-transactions/rest-company-type.enum.mjs +1 -1
  25. package/esm2020/lib/proxy/rest-company-type.enum.mjs +8 -0
  26. package/esm2020/lib/proxy/system-parameters/models.mjs +1 -1
  27. package/esm2020/lib/proxy/system-parameters/system-parameter.service.mjs +2 -2
  28. package/fesm2015/hitsoft-ovolt-config.mjs +26 -8
  29. package/fesm2015/hitsoft-ovolt-config.mjs.map +1 -1
  30. package/fesm2015/hitsoft-ovolt.mjs +393 -59
  31. package/fesm2015/hitsoft-ovolt.mjs.map +1 -1
  32. package/fesm2020/hitsoft-ovolt-config.mjs +26 -8
  33. package/fesm2020/hitsoft-ovolt-config.mjs.map +1 -1
  34. package/fesm2020/hitsoft-ovolt.mjs +391 -59
  35. package/fesm2020/hitsoft-ovolt.mjs.map +1 -1
  36. package/lib/components/hit-fuel-integration-logs/components/hit-fuel-integration-log.component.d.ts +41 -0
  37. package/lib/components/hit-fuel-integration-logs/hit-fuel-integration-log-routing.module.d.ts +7 -0
  38. package/lib/components/hit-fuel-integration-logs/hit-fuel-integration-log.module.d.ts +16 -0
  39. package/lib/components/hit-process-logs/components/hit-process-log.component.d.ts +13 -8
  40. package/lib/components/hit-process-logs/hit-process-log.module.d.ts +1 -1
  41. package/lib/components/hit-proxy/hit-fuel-integration-logs/hit-fuel-integration-log.service.d.ts +16 -0
  42. package/lib/components/hit-proxy/hit-fuel-integration-logs/models.d.ts +3 -0
  43. package/lib/components/hit-proxy/hit-process-logs/hit-process-log.service.d.ts +1 -0
  44. package/lib/fuel-integration-logs/fuel-integration-log/components/fuel-integration-log.component.d.ts +33 -0
  45. package/lib/fuel-integration-logs/fuel-integration-log/fuel-integration-log-routing.module.d.ts +7 -0
  46. package/lib/fuel-integration-logs/fuel-integration-log/fuel-integration-log.module.d.ts +15 -0
  47. package/lib/proxy/fuel-integration-logs/fuel-integration-log.service.d.ts +16 -0
  48. package/lib/proxy/fuel-integration-logs/models.d.ts +42 -0
  49. package/lib/proxy/rest-company-type.enum.d.ts +5 -0
  50. package/lib/proxy/system-parameters/models.d.ts +17 -17
  51. package/package.json +1 -1
@@ -1,28 +1,27 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Component, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';
2
+ import { Injectable, Component, inject, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';
3
3
  import * as i1 from '@abp/ng.core';
4
- import { downloadBlob, ListService, AuthGuard, PermissionGuard, CoreModule, mapEnumToOptions, LazyModuleFactory } from '@abp/ng.core';
5
- import * as i2 from '@abp/ng.theme.shared';
4
+ import { PermissionService, ListService, AuthGuard, PermissionGuard, CoreModule, mapEnumToOptions, LazyModuleFactory } from '@abp/ng.core';
5
+ import * as i4 from '@abp/ng.theme.shared';
6
6
  import { ThemeSharedModule } from '@abp/ng.theme.shared';
7
7
  import * as i1$1 from '@angular/router';
8
8
  import { RouterModule } from '@angular/router';
9
9
  import { CommercialUiModule } from '@volo/abp.commercial.ng.ui';
10
- import * as i5 from '@abp/ng.components/page';
10
+ import * as i6 from '@abp/ng.components/page';
11
11
  import { PageModule } from '@abp/ng.components/page';
12
12
  import * as i7$1 from '@ngx-validate/core';
13
13
  import { NgxValidateCoreModule } from '@ngx-validate/core';
14
14
  import { NgbDateAdapter, NgbCollapseModule, NgbDatepickerModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
15
- import * as i6 from 'devextreme-angular';
16
- import { DxDataGridModule, DxButtonModule, DxPopupModule, DxScrollViewModule, DxTemplateModule, DxTemplateHost } from 'devextreme-angular';
17
- import { switchMap, finalize } from 'rxjs';
15
+ import * as i7 from 'devextreme-angular';
16
+ import { DxDataGridModule, DxButtonModule, DxPopupModule, DxScrollViewModule, DxTemplateModule, DxDropDownButtonModule, DxTemplateHost } from 'devextreme-angular';
18
17
  import { DateAdapter } from '@abp/ng.theme.shared/extensions';
19
18
  import * as AspNetData from 'devextreme-aspnet-data-nojquery';
20
- import * as i4 from '@angular/common';
21
- import * as i7 from 'devextreme-angular/ui/nested';
22
- import * as i8 from 'devextreme-angular/core';
19
+ import * as i5 from '@angular/common';
20
+ import * as i8 from 'devextreme-angular/ui/nested';
21
+ import * as i9 from 'devextreme-angular/core';
23
22
  import * as i1$2 from '@angular/forms';
24
23
  import { Validators } from '@angular/forms';
25
- import { finalize as finalize$1 } from 'rxjs/operators';
24
+ import { finalize } from 'rxjs/operators';
26
25
 
27
26
  class OvoltService {
28
27
  constructor(restService) {
@@ -144,14 +143,14 @@ class DevexpressRestService {
144
143
  //e.error=devexError.error.message
145
144
  }
146
145
  }
147
- DevexpressRestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DevexpressRestService, deps: [{ token: i1.EnvironmentService }, { token: i2.ToasterService }], target: i0.ɵɵFactoryTarget.Injectable });
146
+ DevexpressRestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DevexpressRestService, deps: [{ token: i1.EnvironmentService }, { token: i4.ToasterService }], target: i0.ɵɵFactoryTarget.Injectable });
148
147
  DevexpressRestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DevexpressRestService, providedIn: 'root' });
149
148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DevexpressRestService, decorators: [{
150
149
  type: Injectable,
151
150
  args: [{
152
151
  providedIn: 'root'
153
152
  }]
154
- }], ctorParameters: function () { return [{ type: i1.EnvironmentService }, { type: i2.ToasterService }]; } });
153
+ }], ctorParameters: function () { return [{ type: i1.EnvironmentService }, { type: i4.ToasterService }]; } });
155
154
 
156
155
  class HitProcessLogService {
157
156
  constructor(restService, devexService) {
@@ -163,6 +162,10 @@ class HitProcessLogService {
163
162
  url: '/api/ovolt/process-logs/get-request-model',
164
163
  body: input
165
164
  }, { apiName: this.apiName });
165
+ this.deleteAll = () => this.restService.request({
166
+ method: 'POST',
167
+ url: '/api/ovolt/process-logs/delete-all',
168
+ }, { apiName: this.apiName });
166
169
  }
167
170
  get LoadProcessLogs() {
168
171
  return this.devexService.createStore({
@@ -181,11 +184,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
181
184
  }], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }]; } });
182
185
 
183
186
  class HitProcessLogComponent {
184
- constructor(service, track, hitProcessLogService) {
187
+ constructor(service, track, hitProcessLogService, toaster, localization) {
185
188
  this.service = service;
186
189
  this.track = track;
187
190
  this.hitProcessLogService = hitProcessLogService;
188
- this.isExportToExcelBusy = false;
191
+ this.toaster = toaster;
192
+ this.localization = localization;
193
+ this.permissionService = inject(PermissionService);
194
+ this.isdeleteAll = false;
189
195
  this.isRequestModalOpen = false;
190
196
  this.isLoadingRequestModel = false;
191
197
  this.statusFilter = (value, operation, target) => {
@@ -205,6 +211,19 @@ class HitProcessLogComponent {
205
211
  };
206
212
  }
207
213
  ngOnInit() {
214
+ this.actionMenuItems = [];
215
+ if (this.permissionService.getGrantedPolicy('Ovolt.ProcessLogs.ShowRequest')) {
216
+ this.actionMenuItems.push({
217
+ key: 'request',
218
+ text: this.l('Ovolt::ShowRequest')
219
+ });
220
+ }
221
+ if (this.permissionService.getGrantedPolicy('Ovolt.ProcessLogs.Delete')) {
222
+ this.actionMenuItems.push({
223
+ key: 'delete',
224
+ text: this.l('Ovolt::Delete')
225
+ });
226
+ }
208
227
  this.initDataSource();
209
228
  this.closeButtonOptions = {
210
229
  text: 'Close',
@@ -215,56 +234,68 @@ class HitProcessLogComponent {
215
234
  },
216
235
  };
217
236
  }
237
+ l(key) {
238
+ return this.localization.instant(key);
239
+ }
218
240
  initDataSource() {
219
241
  // Store'u sadece bir kere oluşturuyoruz
220
242
  this.processLogDataSource = this.hitProcessLogService.LoadProcessLogs;
221
243
  }
222
244
  showRequest(id) {
223
- // Yükleme durumunu başlat (gerekirse)
224
245
  this.isLoadingRequestModel = true;
225
- // Önce popup'ı kapat (önceki tıklamalarda açık kalmış olabilir)
226
246
  this.isRequestModalOpen = false;
227
247
  this.hitProcessLogService.getRequestModel({ logId: id })
228
248
  .subscribe({
229
249
  next: (data) => {
230
250
  this.selectedRequestModel = typeof data === 'string' ? JSON.parse(data) : data;
231
- // Veri geldikten sonra popup'ı aç
232
251
  this.isRequestModalOpen = true;
233
252
  }
234
253
  });
235
254
  this.isLoadingRequestModel = false;
236
255
  }
237
- editProcessLog(record) {
238
- console.log('Edit:', record);
239
- // Modal form açılacak şekilde implement edilebilir
240
- }
241
256
  deleteProcessLog(record) {
242
- if (confirm('Are you sure you want to delete this record?')) {
243
- this.service.delete(record.id).subscribe(() => {
257
+ if (confirm(this.l('Ovolt::DeleteConfirmationMessage'))) {
258
+ this.service.delete(record).subscribe(() => {
244
259
  // Grid'i refresh ediyoruz
245
260
  this.dxGrid.instance.refresh();
246
261
  });
247
262
  }
248
263
  }
249
- exportToExcel() {
250
- this.isExportToExcelBusy = true;
251
- this.service
252
- .getDownloadToken()
253
- .pipe(switchMap(({ token }) => this.service.getListAsExcelFile({ downloadToken: token })), finalize(() => (this.isExportToExcelBusy = false)))
254
- .subscribe(result => downloadBlob(result, 'ProcessLogs.xlsx'));
264
+ deleteAll() {
265
+ this.hitProcessLogService.deleteAll()
266
+ .subscribe({
267
+ next: (result) => {
268
+ if (result) {
269
+ // Grid'i refresh ediyoruz
270
+ this.dxGrid.instance.refresh();
271
+ }
272
+ else {
273
+ this.toaster.error('Veri yüklenirken hata oluştu.');
274
+ }
275
+ }
276
+ });
277
+ }
278
+ onActionClick(e, id) {
279
+ const action = e.itemData?.key;
280
+ if (action === 'request') {
281
+ this.showRequest(id);
282
+ }
283
+ if (action === 'delete') {
284
+ this.deleteProcessLog(id);
285
+ }
255
286
  }
256
287
  }
257
- HitProcessLogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogComponent, deps: [{ token: ProcessLogService }, { token: i1.TrackByService }, { token: HitProcessLogService }], target: i0.ɵɵFactoryTarget.Component });
258
- HitProcessLogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitProcessLogComponent, selector: "lib-hit-process-log", providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], viewQueries: [{ propertyName: "dxGrid", first: true, predicate: ["dxGrid"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'Ovolt::ProcessLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button text=\"{{ 'Ovolt::ExportToExcel' | abpLocalization }}\" type=\"default\" (onClick)=\"exportToExcel()\"\r\n [disabled]=\"isExportToExcelBusy\"></dx-button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n\r\n <div class=\"card mt-2\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxGrid [dataSource]=\"processLogDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n keyExpr=\"id\">\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <!-- Columns -->\r\n <!-- <dxi-column\r\n caption=\"{{ 'Ovolt::Actions' | abpLocalization }}\"\r\n [width]=\"150\"\r\n [allowFiltering]=\"false\"\r\n [allowSorting]=\"false\"\r\n [fixed]=\"true\"\r\n [cellTemplate]=\"'actionsTemplate'\"\r\n ></dxi-column> -->\r\n <!-- Templates (Grid Child) -->\r\n <!-- <div *dxTemplate=\"let data of 'actionsTemplate'\">\r\n <dx-button text=\"{{ 'AbpUi::Edit' | abpLocalization }}\" type=\"default\" stylingMode=\"contained\"\r\n (onClick)=\"editProcessLog(data.data)\" class=\"me-2\"></dx-button>\r\n <dx-button text=\"{{ 'AbpUi::Delete' | abpLocalization }}\" type=\"danger\" stylingMode=\"contained\"\r\n (onClick)=\"deleteProcessLog(data.data)\"></dx-button>\r\n </div> -->\r\n\r\n <!-- <dxi-column dataField=\"status\" caption=\"{{ 'Ovolt::Status' | abpLocalization }}\"></dxi-column> -->\r\n <dxi-column dataField=\"status\" caption=\"{{ 'Ovolt::Status' | abpLocalization }}\"\r\n [cellTemplate]=\"'statusTemplate'\" [calculateFilterExpression]=\"statusFilter\">\r\n </dxi-column>\r\n\r\n <div *dxTemplate=\"let data of 'statusTemplate'\">\r\n <span *ngIf=\"data.value\" style=\"color: green; font-size: 18px;\">\u2714</span>\r\n <span *ngIf=\"!data.value\" style=\"color: red; font-size: 18px;\">\u2716</span>\r\n </div>\r\n\r\n\r\n <dxi-column dataField=\"processId\" caption=\"{{ 'Ovolt::ProcessId' | abpLocalization }}\"></dxi-column>\r\n <!-- <dxi-column dataField=\"type\" caption=\"{{ 'Ovolt::Type' | abpLocalization }}\"></dxi-column> -->\r\n <dxi-column dataField=\"name\" caption=\"{{ 'Ovolt::Name' | abpLocalization }}\"></dxi-column>\r\n\r\n <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::Request' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'requestTemplate'\">\r\n <div *dxTemplate=\"let data of 'requestTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowRequest' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showRequest(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column>\r\n\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::Response' | abpLocalization }}\" dataField=\"response\"></dxi-column>\r\n <dxi-column caption=\"{{ 'Ovolt::CreationTime' | abpLocalization }}\" dataField=\"creationTime\" dataType=\"datetime\"\r\n [format]=\" 'dd.MM.yyyy HH:mm:ss' \">\r\n </dxi-column>\r\n\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n\r\n <!-- Request JSON Popup -->\r\n <dx-popup [(visible)]=\"isRequestModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::Request' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\" [options]=\"closeButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedRequestModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n</abp-page>", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i5.PageToolbarContainerComponent, selector: "abp-page-toolbar-container" }, { kind: "component", type: i6.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i7.DxoColumnFixingComponent, selector: "dxo-column-fixing", inputs: ["enabled", "texts"] }, { kind: "component", type: i7.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i7.DxoHeaderFilterComponent, selector: "dxo-header-filter", inputs: ["allowSearch", "dataSource", "groupInterval", "height", "searchMode", "width", "searchTimeout", "texts", "visible", "showRelevantValues"] }, { kind: "component", type: i7.DxiToolbarItemComponent, selector: "dxi-toolbar-item", inputs: ["cssClass", "disabled", "html", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "template", "text", "toolbar", "visible", "widget"] }, { kind: "component", type: i7.DxoFilterBuilderComponent, selector: "dxo-filter-builder", inputs: ["accessKey", "activeStateEnabled", "allowHierarchicalFields", "customOperations", "disabled", "elementAttr", "fields", "filterOperationDescriptions", "focusStateEnabled", "groupOperationDescriptions", "groupOperations", "height", "hint", "hoverStateEnabled", "maxGroupLevel", "onContentReady", "onDisposing", "onEditorPrepared", "onEditorPreparing", "onInitialized", "onOptionChanged", "onValueChanged", "rtlEnabled", "tabIndex", "value", "visible", "width"], outputs: ["valueChange"] }, { kind: "component", type: i7.DxoFilterPanelComponent, selector: "dxo-filter-panel", inputs: ["customizeText", "filterEnabled", "texts", "visible"], outputs: ["filterEnabledChange"] }, { kind: "component", type: i7.DxoFilterRowComponent, selector: "dxo-filter-row", inputs: ["applyFilter", "applyFilterText", "betweenEndText", "betweenStartText", "operationDescriptions", "resetOperationText", "showAllText", "showOperationChooser", "visible"] }, { kind: "component", type: i7.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i7.DxoScrollingComponent, selector: "dxo-scrolling", inputs: ["columnRenderingMode", "mode", "preloadEnabled", "renderAsync", "rowRenderingMode", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative"] }, { kind: "component", type: i7.DxoSortingComponent, selector: "dxo-sorting", inputs: ["ascendingText", "clearText", "descendingText", "mode", "showSortIndexes"] }, { kind: "directive", type: i8.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i6.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i6.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.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: "pipe", type: i4.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
288
+ HitProcessLogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogComponent, deps: [{ token: ProcessLogService }, { token: i1.TrackByService }, { token: HitProcessLogService }, { token: i4.ToasterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
289
+ HitProcessLogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitProcessLogComponent, selector: "lib-hit-process-log", providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], viewQueries: [{ propertyName: "dxGrid", first: true, predicate: ["dxGrid"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'Ovolt::ProcessLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button *abpPermission=\"'Ovolt.ProcessLogs.DeleteAll'\" text=\"{{ 'Ovolt::DeleteAll' | abpLocalization }}\"\r\n type=\"danger\" (onClick)=\"deleteAll()\" [disabled]=\"isdeleteAll\"></dx-button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n\r\n <div class=\"card mt-2\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxGrid [dataSource]=\"processLogDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n keyExpr=\"id\">\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column *ngIf=\"actionMenuItems?.length > 0\" [fixed]=\"true\" alignment=\"center\"\r\n caption=\"{{ 'Ovolt::Processes' | abpLocalization }}\" dataField=\"id\" [cellTemplate]=\"'actionTemplate'\">\r\n <div *dxTemplate=\"let data of 'actionTemplate'\">\r\n <dx-drop-down-button text=\"{{ 'Ovolt::Show' | abpLocalization }}\" stylingMode=\"outlined\" displayExpr=\"text\"\r\n keyExpr=\"key\" [items]=\"actionMenuItems\" (onItemClick)=\"onActionClick($event, data.data.id)\">\r\n <div *dxTemplate=\"let item of 'item'\">\r\n <dx-button [text]=\"item.text\" stylingMode=\"text\" width=\"180\" height=\"40\">\r\n </dx-button>\r\n </div>\r\n </dx-drop-down-button>\r\n </div>\r\n </dxi-column>\r\n\r\n <dxi-column dataField=\"status\" caption=\"{{ 'Ovolt::Status' | abpLocalization }}\"\r\n [cellTemplate]=\"'statusTemplate'\" [calculateFilterExpression]=\"statusFilter\">\r\n </dxi-column>\r\n\r\n <div *dxTemplate=\"let data of 'statusTemplate'\">\r\n <span *ngIf=\"data.value\" style=\"color: green; font-size: 18px;\">\u2714</span>\r\n <span *ngIf=\"!data.value\" style=\"color: red; font-size: 18px;\">\u2716</span>\r\n </div>\r\n\r\n\r\n <dxi-column dataField=\"processId\" caption=\"{{ 'Ovolt::ProcessId' | abpLocalization }}\"></dxi-column>\r\n <!-- <dxi-column dataField=\"type\" caption=\"{{ 'Ovolt::Type' | abpLocalization }}\"></dxi-column> -->\r\n <dxi-column dataField=\"name\" caption=\"{{ 'Ovolt::Name' | abpLocalization }}\"></dxi-column>\r\n\r\n <!-- <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::Request' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'requestTemplate'\">\r\n <div *dxTemplate=\"let data of 'requestTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowRequest' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showRequest(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column> -->\r\n\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::Response' | abpLocalization }}\" dataField=\"response\"></dxi-column>\r\n <dxi-column caption=\"{{ 'Ovolt::CreationTime' | abpLocalization }}\" dataField=\"creationTime\" dataType=\"datetime\"\r\n [format]=\" 'dd.MM.yyyy HH:mm:ss' \" sortOrder=\"desc\" sortIndex=\"0\">\r\n </dxi-column>\r\n\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n\r\n <!-- Request JSON Popup -->\r\n <dx-popup [(visible)]=\"isRequestModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::Request' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\" [options]=\"closeButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedRequestModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n</abp-page>", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i6.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i6.PageToolbarContainerComponent, selector: "abp-page-toolbar-container" }, { kind: "component", type: i7.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i8.DxoColumnFixingComponent, selector: "dxo-column-fixing", inputs: ["enabled", "texts"] }, { kind: "component", type: i8.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i8.DxoHeaderFilterComponent, selector: "dxo-header-filter", inputs: ["allowSearch", "dataSource", "groupInterval", "height", "searchMode", "width", "searchTimeout", "texts", "visible", "showRelevantValues"] }, { kind: "component", type: i8.DxiToolbarItemComponent, selector: "dxi-toolbar-item", inputs: ["cssClass", "disabled", "html", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "template", "text", "toolbar", "visible", "widget"] }, { kind: "component", type: i8.DxoFilterBuilderComponent, selector: "dxo-filter-builder", inputs: ["accessKey", "activeStateEnabled", "allowHierarchicalFields", "customOperations", "disabled", "elementAttr", "fields", "filterOperationDescriptions", "focusStateEnabled", "groupOperationDescriptions", "groupOperations", "height", "hint", "hoverStateEnabled", "maxGroupLevel", "onContentReady", "onDisposing", "onEditorPrepared", "onEditorPreparing", "onInitialized", "onOptionChanged", "onValueChanged", "rtlEnabled", "tabIndex", "value", "visible", "width"], outputs: ["valueChange"] }, { kind: "component", type: i8.DxoFilterPanelComponent, selector: "dxo-filter-panel", inputs: ["customizeText", "filterEnabled", "texts", "visible"], outputs: ["filterEnabledChange"] }, { kind: "component", type: i8.DxoFilterRowComponent, selector: "dxo-filter-row", inputs: ["applyFilter", "applyFilterText", "betweenEndText", "betweenStartText", "operationDescriptions", "resetOperationText", "showAllText", "showOperationChooser", "visible"] }, { kind: "component", type: i8.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i8.DxoScrollingComponent, selector: "dxo-scrolling", inputs: ["columnRenderingMode", "mode", "preloadEnabled", "renderAsync", "rowRenderingMode", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative"] }, { kind: "component", type: i8.DxoSortingComponent, selector: "dxo-sorting", inputs: ["ascendingText", "clearText", "descendingText", "mode", "showSortIndexes"] }, { kind: "directive", type: i9.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i7.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i7.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: i7.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: i7.DxDropDownButtonComponent, selector: "dx-drop-down-button", inputs: ["accessKey", "activeStateEnabled", "dataSource", "deferRendering", "disabled", "displayExpr", "dropDownContentTemplate", "dropDownOptions", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "items", "itemTemplate", "keyExpr", "noDataText", "opened", "rtlEnabled", "selectedItem", "selectedItemKey", "showArrowIcon", "splitButton", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "useSelectMode", "visible", "width", "wrapItemText"], outputs: ["onButtonClick", "onContentReady", "onDisposing", "onInitialized", "onItemClick", "onOptionChanged", "onSelectionChanged", "accessKeyChange", "activeStateEnabledChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "dropDownContentTemplateChange", "dropDownOptionsChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "itemsChange", "itemTemplateChange", "keyExprChange", "noDataTextChange", "openedChange", "rtlEnabledChange", "selectedItemChange", "selectedItemKeyChange", "showArrowIconChange", "splitButtonChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "useSelectModeChange", "visibleChange", "widthChange", "wrapItemTextChange"] }, { kind: "pipe", type: i5.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
259
290
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogComponent, decorators: [{
260
291
  type: Component,
261
- args: [{ selector: 'lib-hit-process-log', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'Ovolt::ProcessLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button text=\"{{ 'Ovolt::ExportToExcel' | abpLocalization }}\" type=\"default\" (onClick)=\"exportToExcel()\"\r\n [disabled]=\"isExportToExcelBusy\"></dx-button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n\r\n <div class=\"card mt-2\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxGrid [dataSource]=\"processLogDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n keyExpr=\"id\">\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <!-- Columns -->\r\n <!-- <dxi-column\r\n caption=\"{{ 'Ovolt::Actions' | abpLocalization }}\"\r\n [width]=\"150\"\r\n [allowFiltering]=\"false\"\r\n [allowSorting]=\"false\"\r\n [fixed]=\"true\"\r\n [cellTemplate]=\"'actionsTemplate'\"\r\n ></dxi-column> -->\r\n <!-- Templates (Grid Child) -->\r\n <!-- <div *dxTemplate=\"let data of 'actionsTemplate'\">\r\n <dx-button text=\"{{ 'AbpUi::Edit' | abpLocalization }}\" type=\"default\" stylingMode=\"contained\"\r\n (onClick)=\"editProcessLog(data.data)\" class=\"me-2\"></dx-button>\r\n <dx-button text=\"{{ 'AbpUi::Delete' | abpLocalization }}\" type=\"danger\" stylingMode=\"contained\"\r\n (onClick)=\"deleteProcessLog(data.data)\"></dx-button>\r\n </div> -->\r\n\r\n <!-- <dxi-column dataField=\"status\" caption=\"{{ 'Ovolt::Status' | abpLocalization }}\"></dxi-column> -->\r\n <dxi-column dataField=\"status\" caption=\"{{ 'Ovolt::Status' | abpLocalization }}\"\r\n [cellTemplate]=\"'statusTemplate'\" [calculateFilterExpression]=\"statusFilter\">\r\n </dxi-column>\r\n\r\n <div *dxTemplate=\"let data of 'statusTemplate'\">\r\n <span *ngIf=\"data.value\" style=\"color: green; font-size: 18px;\">\u2714</span>\r\n <span *ngIf=\"!data.value\" style=\"color: red; font-size: 18px;\">\u2716</span>\r\n </div>\r\n\r\n\r\n <dxi-column dataField=\"processId\" caption=\"{{ 'Ovolt::ProcessId' | abpLocalization }}\"></dxi-column>\r\n <!-- <dxi-column dataField=\"type\" caption=\"{{ 'Ovolt::Type' | abpLocalization }}\"></dxi-column> -->\r\n <dxi-column dataField=\"name\" caption=\"{{ 'Ovolt::Name' | abpLocalization }}\"></dxi-column>\r\n\r\n <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::Request' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'requestTemplate'\">\r\n <div *dxTemplate=\"let data of 'requestTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowRequest' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showRequest(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column>\r\n\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::Response' | abpLocalization }}\" dataField=\"response\"></dxi-column>\r\n <dxi-column caption=\"{{ 'Ovolt::CreationTime' | abpLocalization }}\" dataField=\"creationTime\" dataType=\"datetime\"\r\n [format]=\" 'dd.MM.yyyy HH:mm:ss' \">\r\n </dxi-column>\r\n\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n\r\n <!-- Request JSON Popup -->\r\n <dx-popup [(visible)]=\"isRequestModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::Request' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\" [options]=\"closeButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedRequestModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n</abp-page>" }]
262
- }], ctorParameters: function () { return [{ type: ProcessLogService }, { type: i1.TrackByService }, { type: HitProcessLogService }]; }, propDecorators: { dxGrid: [{
292
+ args: [{ selector: 'lib-hit-process-log', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'Ovolt::ProcessLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button *abpPermission=\"'Ovolt.ProcessLogs.DeleteAll'\" text=\"{{ 'Ovolt::DeleteAll' | abpLocalization }}\"\r\n type=\"danger\" (onClick)=\"deleteAll()\" [disabled]=\"isdeleteAll\"></dx-button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n\r\n <div class=\"card mt-2\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxGrid [dataSource]=\"processLogDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n keyExpr=\"id\">\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column *ngIf=\"actionMenuItems?.length > 0\" [fixed]=\"true\" alignment=\"center\"\r\n caption=\"{{ 'Ovolt::Processes' | abpLocalization }}\" dataField=\"id\" [cellTemplate]=\"'actionTemplate'\">\r\n <div *dxTemplate=\"let data of 'actionTemplate'\">\r\n <dx-drop-down-button text=\"{{ 'Ovolt::Show' | abpLocalization }}\" stylingMode=\"outlined\" displayExpr=\"text\"\r\n keyExpr=\"key\" [items]=\"actionMenuItems\" (onItemClick)=\"onActionClick($event, data.data.id)\">\r\n <div *dxTemplate=\"let item of 'item'\">\r\n <dx-button [text]=\"item.text\" stylingMode=\"text\" width=\"180\" height=\"40\">\r\n </dx-button>\r\n </div>\r\n </dx-drop-down-button>\r\n </div>\r\n </dxi-column>\r\n\r\n <dxi-column dataField=\"status\" caption=\"{{ 'Ovolt::Status' | abpLocalization }}\"\r\n [cellTemplate]=\"'statusTemplate'\" [calculateFilterExpression]=\"statusFilter\">\r\n </dxi-column>\r\n\r\n <div *dxTemplate=\"let data of 'statusTemplate'\">\r\n <span *ngIf=\"data.value\" style=\"color: green; font-size: 18px;\">\u2714</span>\r\n <span *ngIf=\"!data.value\" style=\"color: red; font-size: 18px;\">\u2716</span>\r\n </div>\r\n\r\n\r\n <dxi-column dataField=\"processId\" caption=\"{{ 'Ovolt::ProcessId' | abpLocalization }}\"></dxi-column>\r\n <!-- <dxi-column dataField=\"type\" caption=\"{{ 'Ovolt::Type' | abpLocalization }}\"></dxi-column> -->\r\n <dxi-column dataField=\"name\" caption=\"{{ 'Ovolt::Name' | abpLocalization }}\"></dxi-column>\r\n\r\n <!-- <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::Request' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'requestTemplate'\">\r\n <div *dxTemplate=\"let data of 'requestTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowRequest' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showRequest(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column> -->\r\n\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::Response' | abpLocalization }}\" dataField=\"response\"></dxi-column>\r\n <dxi-column caption=\"{{ 'Ovolt::CreationTime' | abpLocalization }}\" dataField=\"creationTime\" dataType=\"datetime\"\r\n [format]=\" 'dd.MM.yyyy HH:mm:ss' \" sortOrder=\"desc\" sortIndex=\"0\">\r\n </dxi-column>\r\n\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n\r\n <!-- Request JSON Popup -->\r\n <dx-popup [(visible)]=\"isRequestModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::Request' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\" [options]=\"closeButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedRequestModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n</abp-page>" }]
293
+ }], ctorParameters: function () { return [{ type: ProcessLogService }, { type: i1.TrackByService }, { type: HitProcessLogService }, { type: i4.ToasterService }, { type: i1.LocalizationService }]; }, propDecorators: { dxGrid: [{
263
294
  type: ViewChild,
264
295
  args: ['dxGrid', { static: false }]
265
296
  }] } });
266
297
 
267
- const routes$2 = [
298
+ const routes$3 = [
268
299
  {
269
300
  path: '',
270
301
  component: HitProcessLogComponent,
@@ -275,11 +306,11 @@ class HitProcessLogRoutingModule {
275
306
  }
276
307
  HitProcessLogRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
277
308
  HitProcessLogRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
278
- HitProcessLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, imports: [RouterModule.forChild(routes$2), RouterModule] });
309
+ HitProcessLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, imports: [RouterModule.forChild(routes$3), RouterModule] });
279
310
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, decorators: [{
280
311
  type: NgModule,
281
312
  args: [{
282
- imports: [RouterModule.forChild(routes$2)],
313
+ imports: [RouterModule.forChild(routes$3)],
283
314
  exports: [RouterModule],
284
315
  }]
285
316
  }] });
@@ -300,7 +331,8 @@ HitProcessLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ver
300
331
  DxButtonModule,
301
332
  DxPopupModule,
302
333
  DxScrollViewModule,
303
- DxTemplateModule] });
334
+ DxTemplateModule,
335
+ DxDropDownButtonModule] });
304
336
  HitProcessLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogModule, providers: [DxTemplateHost], imports: [HitProcessLogRoutingModule,
305
337
  CoreModule,
306
338
  ThemeSharedModule,
@@ -314,7 +346,8 @@ HitProcessLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
314
346
  DxButtonModule,
315
347
  DxPopupModule,
316
348
  DxScrollViewModule,
317
- DxTemplateModule] });
349
+ DxTemplateModule,
350
+ DxDropDownButtonModule] });
318
351
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogModule, decorators: [{
319
352
  type: NgModule,
320
353
  args: [{
@@ -333,7 +366,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
333
366
  DxButtonModule,
334
367
  DxPopupModule,
335
368
  DxScrollViewModule,
336
- DxTemplateModule
369
+ DxTemplateModule,
370
+ DxDropDownButtonModule
337
371
  ],
338
372
  providers: [DxTemplateHost],
339
373
  }]
@@ -369,7 +403,7 @@ class SystemParameterService {
369
403
  this.getList = (input) => this.restService.request({
370
404
  method: 'GET',
371
405
  url: '/api/ovolt/system-parameters',
372
- params: { filterText: input.filterText, sharzNetCustomerSeries: input.sharzNetCustomerSeries, upEnerjiCustomerSeries: input.upEnerjiCustomerSeries, sharzNetCustomerGroupCodeMin: input.sharzNetCustomerGroupCodeMin, sharzNetCustomerGroupCodeMax: input.sharzNetCustomerGroupCodeMax, upEnerjiCustomerGroupCodeMin: input.upEnerjiCustomerGroupCodeMin, upEnerjiCustomerGroupCodeMax: input.upEnerjiCustomerGroupCodeMax, sharzNetCustomerDebitorAccount: input.sharzNetCustomerDebitorAccount, upEnerjiCustomerDebitorAccount: input.upEnerjiCustomerDebitorAccount, vendorSeries: input.vendorSeries, vendorGroupCodeMin: input.vendorGroupCodeMin, vendorGroupCodeMax: input.vendorGroupCodeMax, itemCode: input.itemCode, vatGroup: input.vatGroup, warehouseCode: input.warehouseCode, cogsCostingCode1: input.cogsCostingCode1, cogsCostingCode2: input.cogsCostingCode2, cogsCostingCode3: input.cogsCostingCode3, poKey: input.poKey, selectedRestCompany: input.selectedRestCompany, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
406
+ params: { filterText: input.filterText, sharzNetCustomerSeries: input.sharzNetCustomerSeries, upEnerjiCustomerSeries: input.upEnerjiCustomerSeries, sharzNetCustomerGroupCodeMin: input.sharzNetCustomerGroupCodeMin, sharzNetCustomerGroupCodeMax: input.sharzNetCustomerGroupCodeMax, upEnerjiCustomerGroupCodeMin: input.upEnerjiCustomerGroupCodeMin, upEnerjiCustomerGroupCodeMax: input.upEnerjiCustomerGroupCodeMax, sharzNetCustomerDebitorAccount: input.sharzNetCustomerDebitorAccount, upEnerjiCustomerDebitorAccount: input.upEnerjiCustomerDebitorAccount, vendorSeries: input.vendorSeries, vendorGroupCodeMin: input.vendorGroupCodeMin, vendorGroupCodeMax: input.vendorGroupCodeMax, transactionItemCode: input.transactionItemCode, cogsCostingCode: input.cogsCostingCode, cogsCostingCode2: input.cogsCostingCode2, cogsCostingCode3: input.cogsCostingCode3, poKey: input.poKey, selectedRestCompany: input.selectedRestCompany, bplId: input.bplId, purchaseOrderItemCode: input.purchaseOrderItemCode, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
373
407
  }, { apiName: this.apiName });
374
408
  this.update = (id, input) => this.restService.request({
375
409
  method: 'PUT',
@@ -418,7 +452,7 @@ class HitSystemParameterComponent {
418
452
  this.fields = [
419
453
  'sharzNetCustomerSeries', 'upEnerjiCustomerSeries', 'sharzNetCustomerGroupCode', 'upEnerjiCustomerGroupCode',
420
454
  'sharzNetCustomerDebitorAccount', 'upEnerjiCustomerDebitorAccount', 'vendorSeries', 'vendorGroupCode',
421
- 'itemCode', 'vatGroup', 'warehouseCode', 'cogsCostingCode1', 'cogsCostingCode2', 'cogsCostingCode3'
455
+ 'transactionItemCode', 'cogsCostingCode', 'cogsCostingCode2', 'cogsCostingCode3', 'bplId', 'purchaseOrderItemCode'
422
456
  ];
423
457
  this.fieldLocalizationMap = {
424
458
  sharzNetCustomerSeries: 'SharzNetCustomerSeries',
@@ -429,12 +463,12 @@ class HitSystemParameterComponent {
429
463
  upEnerjiCustomerDebitorAccount: 'UpEnerjiCustomerDebitorAccount',
430
464
  vendorSeries: 'VendorSeries',
431
465
  vendorGroupCode: 'VendorGroupCode',
432
- itemCode: 'ItemCode',
433
- vatGroup: 'VatGroup',
434
- warehouseCode: 'WarehouseCode',
435
- cogsCostingCode1: 'COGSCostingCode1',
466
+ transactionItemCode: 'TransactionItemCode',
467
+ cogsCostingCode: 'COGSCostingCode',
436
468
  cogsCostingCode2: 'COGSCostingCode2',
437
469
  cogsCostingCode3: 'COGSCostingCode3',
470
+ bplId: 'BPLId',
471
+ purchaseOrderItemCode: 'PurchaseOrderItemCode',
438
472
  };
439
473
  }
440
474
  ngOnInit() {
@@ -452,19 +486,19 @@ class HitSystemParameterComponent {
452
486
  upEnerjiCustomerDebitorAccount: [null, [Validators.required]],
453
487
  vendorSeries: [null, [Validators.required]],
454
488
  vendorGroupCode: [null, [Validators.required]],
455
- itemCode: [null, [Validators.required]],
456
- vatGroup: [null, [Validators.required]],
457
- warehouseCode: [null, [Validators.required, Validators.min(1)]],
458
- cogsCostingCode1: [null],
489
+ transactionItemCode: [null, [Validators.required]],
490
+ cogsCostingCode: [null],
459
491
  cogsCostingCode2: [null],
460
492
  cogsCostingCode3: [null],
461
493
  poKey: [null, [Validators.required]],
494
+ bplId: [null, [Validators.required]],
495
+ purchaseOrderItemCode: [null, [Validators.required]],
462
496
  });
463
497
  }
464
498
  loadData() {
465
499
  this.isBusy = true;
466
500
  this.hitService.getSystemParameter()
467
- .pipe(finalize$1(() => (this.isBusy = false)))
501
+ .pipe(finalize(() => (this.isBusy = false)))
468
502
  .subscribe({
469
503
  next: (result) => {
470
504
  if (result) {
@@ -491,7 +525,7 @@ class HitSystemParameterComponent {
491
525
  const request = this.selected?.id
492
526
  ? this.service.update(this.selected.id, payload)
493
527
  : this.service.create(payload);
494
- request.pipe(finalize$1(() => (this.isBusy = false)))
528
+ request.pipe(finalize(() => (this.isBusy = false)))
495
529
  .subscribe({
496
530
  next: (res) => {
497
531
  this.selected = res;
@@ -505,14 +539,14 @@ class HitSystemParameterComponent {
505
539
  });
506
540
  }
507
541
  }
508
- HitSystemParameterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterComponent, deps: [{ token: i1$2.FormBuilder }, { token: SystemParameterService }, { token: HitSystemParameterService }, { token: i2.ToasterService }, { token: i1.TrackByService }], target: i0.ɵɵFactoryTarget.Component });
509
- HitSystemParameterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitSystemParameterComponent, selector: "lib-hit-system-parameter", providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], ngImport: i0, template: "<abp-page [title]=\"'Ovolt::SystemParameters' | abpLocalization\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\">\r\n\r\n <!-- Rest Company Select -->\r\n <div class=\"row mb-2\">\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-selected-rest-company\">\r\n {{ 'Ovolt::SelectedRestCompany' | abpLocalization }}\r\n </label>\r\n <select id=\"selectedRestCompany\" formControlName=\"selectedRestCompany\" class=\"form-select\">\r\n <option *ngFor=\"let option of restCompanyTypeOptions; trackBy: track.by('key')\"\r\n [value]=\"option.key\">\r\n {{ 'Ovolt::Enum:RestCompanyType.' + option.key | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-pokey\">\r\n {{ 'Ovolt::POKey' | abpLocalization }}\r\n </label>\r\n <input id=\"system-parameter-pokey\" formControlName=\"poKey\" class=\"form-control\" />\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Di\u011Fer Alanlar Grid -->\r\n <div class=\"row\">\r\n <div class=\"col-md-6 mb-2\" *ngFor=\"let field of fields\">\r\n <label>{{ ('Ovolt::' + fieldLocalizationMap[field]) | abpLocalization }}</label>\r\n <input [type]=\"(field.includes('GroupCode') ) ? 'number' : 'text'\"\r\n class=\"form-control\" [formControlName]=\"field\" />\r\n <div *ngIf=\"form.get(field)?.touched && form.get(field)?.invalid\" class=\"text-danger\">\r\n {{ 'Ovolt::FieldRequiredOrInvalid' | abpLocalization }}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-end mt-4\">\r\n <button type=\"submit\" class=\"btn btn-primary\" [disabled]=\"isBusy\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</abp-page>", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i7$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i7$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i5.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
542
+ HitSystemParameterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterComponent, deps: [{ token: i1$2.FormBuilder }, { token: SystemParameterService }, { token: HitSystemParameterService }, { token: i4.ToasterService }, { token: i1.TrackByService }], target: i0.ɵɵFactoryTarget.Component });
543
+ HitSystemParameterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitSystemParameterComponent, selector: "lib-hit-system-parameter", providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], ngImport: i0, template: "<abp-page [title]=\"'Ovolt::SystemParameters' | abpLocalization\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\">\r\n\r\n <!-- Rest Company Select -->\r\n <div class=\"row mb-2\">\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-selected-rest-company\">\r\n {{ 'Ovolt::SelectedRestCompany' | abpLocalization }}\r\n </label>\r\n <select id=\"selectedRestCompany\" formControlName=\"selectedRestCompany\" class=\"form-select\">\r\n <option *ngFor=\"let option of restCompanyTypeOptions; trackBy: track.by('key')\"\r\n [value]=\"option.key\">\r\n {{ 'Ovolt::Enum:RestCompanyType.' + option.key | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-pokey\">\r\n {{ 'Ovolt::POKey' | abpLocalization }}\r\n </label>\r\n <input id=\"system-parameter-pokey\" formControlName=\"poKey\" class=\"form-control\" />\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Di\u011Fer Alanlar Grid -->\r\n <div class=\"row\">\r\n <div class=\"col-md-6 mb-2\" *ngFor=\"let field of fields\">\r\n <label>{{ ('Ovolt::' + fieldLocalizationMap[field]) | abpLocalization }}</label>\r\n <input [type]=\"(field.includes('GroupCode') ) ? 'number' : 'text'\"\r\n class=\"form-control\" [formControlName]=\"field\" />\r\n <div *ngIf=\"form.get(field)?.touched && form.get(field)?.invalid\" class=\"text-danger\">\r\n {{ 'Ovolt::FieldRequiredOrInvalid' | abpLocalization }}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-end mt-4\">\r\n <button type=\"submit\" class=\"btn btn-primary\" [disabled]=\"isBusy\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</abp-page>", dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i7$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i7$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i6.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
510
544
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterComponent, decorators: [{
511
545
  type: Component,
512
546
  args: [{ selector: 'lib-hit-system-parameter', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'Ovolt::SystemParameters' | abpLocalization\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\">\r\n\r\n <!-- Rest Company Select -->\r\n <div class=\"row mb-2\">\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-selected-rest-company\">\r\n {{ 'Ovolt::SelectedRestCompany' | abpLocalization }}\r\n </label>\r\n <select id=\"selectedRestCompany\" formControlName=\"selectedRestCompany\" class=\"form-select\">\r\n <option *ngFor=\"let option of restCompanyTypeOptions; trackBy: track.by('key')\"\r\n [value]=\"option.key\">\r\n {{ 'Ovolt::Enum:RestCompanyType.' + option.key | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-pokey\">\r\n {{ 'Ovolt::POKey' | abpLocalization }}\r\n </label>\r\n <input id=\"system-parameter-pokey\" formControlName=\"poKey\" class=\"form-control\" />\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Di\u011Fer Alanlar Grid -->\r\n <div class=\"row\">\r\n <div class=\"col-md-6 mb-2\" *ngFor=\"let field of fields\">\r\n <label>{{ ('Ovolt::' + fieldLocalizationMap[field]) | abpLocalization }}</label>\r\n <input [type]=\"(field.includes('GroupCode') ) ? 'number' : 'text'\"\r\n class=\"form-control\" [formControlName]=\"field\" />\r\n <div *ngIf=\"form.get(field)?.touched && form.get(field)?.invalid\" class=\"text-danger\">\r\n {{ 'Ovolt::FieldRequiredOrInvalid' | abpLocalization }}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-end mt-4\">\r\n <button type=\"submit\" class=\"btn btn-primary\" [disabled]=\"isBusy\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</abp-page>" }]
513
- }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: SystemParameterService }, { type: HitSystemParameterService }, { type: i2.ToasterService }, { type: i1.TrackByService }]; } });
547
+ }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: SystemParameterService }, { type: HitSystemParameterService }, { type: i4.ToasterService }, { type: i1.TrackByService }]; } });
514
548
 
515
- const routes$1 = [
549
+ const routes$2 = [
516
550
  {
517
551
  path: '',
518
552
  component: HitSystemParameterComponent,
@@ -523,11 +557,11 @@ class HitSystemParameterRoutingModule {
523
557
  }
524
558
  HitSystemParameterRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
525
559
  HitSystemParameterRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
526
- HitSystemParameterRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
560
+ HitSystemParameterRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, imports: [RouterModule.forChild(routes$2), RouterModule] });
527
561
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, decorators: [{
528
562
  type: NgModule,
529
563
  args: [{
530
- imports: [RouterModule.forChild(routes$1)],
564
+ imports: [RouterModule.forChild(routes$2)],
531
565
  exports: [RouterModule],
532
566
  }]
533
567
  }] });
@@ -574,14 +608,312 @@ function loadHitSystemParameterModuleAsChild() {
574
608
  return Promise.resolve(HitSystemParameterModule);
575
609
  }
576
610
 
611
+ class FuelIntegrationLogService {
612
+ constructor(restService) {
613
+ this.restService = restService;
614
+ this.apiName = 'Ovolt';
615
+ this.create = (input) => this.restService.request({
616
+ method: 'POST',
617
+ url: '/api/ovolt/fuel-integration-logs',
618
+ body: input,
619
+ }, { apiName: this.apiName });
620
+ this.delete = (id) => this.restService.request({
621
+ method: 'DELETE',
622
+ url: `/api/ovolt/fuel-integration-logs/${id}`,
623
+ }, { apiName: this.apiName });
624
+ this.get = (id) => this.restService.request({
625
+ method: 'GET',
626
+ url: `/api/ovolt/fuel-integration-logs/${id}`,
627
+ }, { apiName: this.apiName });
628
+ this.getList = (input) => this.restService.request({
629
+ method: 'GET',
630
+ url: '/api/ovolt/fuel-integration-logs',
631
+ params: { filterText: input.filterText, path: input.path, method: input.method, requestBody: input.requestBody, responseBody: input.responseBody, statusCode: input.statusCode, requestTimeMin: input.requestTimeMin, requestTimeMax: input.requestTimeMax, responseTimeMin: input.responseTimeMin, responseTimeMax: input.responseTimeMax, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
632
+ }, { apiName: this.apiName });
633
+ this.update = (id, input) => this.restService.request({
634
+ method: 'PUT',
635
+ url: `/api/ovolt/fuel-integration-logs/${id}`,
636
+ body: input,
637
+ }, { apiName: this.apiName });
638
+ }
639
+ }
640
+ FuelIntegrationLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FuelIntegrationLogService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
641
+ FuelIntegrationLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FuelIntegrationLogService, providedIn: 'root' });
642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FuelIntegrationLogService, decorators: [{
643
+ type: Injectable,
644
+ args: [{
645
+ providedIn: 'root',
646
+ }]
647
+ }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
648
+
649
+ class HitFuelIntegrationLogService {
650
+ constructor(restService, devexService) {
651
+ this.restService = restService;
652
+ this.devexService = devexService;
653
+ this.apiName = 'Ovolt';
654
+ this.getRequesteBody = (input) => this.restService.request({
655
+ method: 'POST',
656
+ url: '/api/ovolt/fuel-integration-logs/get-request-body',
657
+ body: input
658
+ }, { apiName: this.apiName });
659
+ this.getResponseBody = (input) => this.restService.request({
660
+ method: 'POST',
661
+ url: '/api/ovolt/fuel-integration-logs/get-response-body',
662
+ body: input
663
+ }, { apiName: this.apiName });
664
+ this.deleteAll = () => this.restService.request({
665
+ method: 'POST',
666
+ url: '/api/ovolt/fuel-integration-logs/delete-all',
667
+ }, { apiName: this.apiName });
668
+ }
669
+ get LoadFuelIntegrationLogs() {
670
+ return this.devexService.createStore({
671
+ key: 'id',
672
+ loadUrl: 'api/ovolt/fuel-integration-logs/load',
673
+ });
674
+ }
675
+ }
676
+ HitFuelIntegrationLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogService, deps: [{ token: i1.RestService }, { token: DevexpressRestService }], target: i0.ɵɵFactoryTarget.Injectable });
677
+ HitFuelIntegrationLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogService, providedIn: 'root' });
678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogService, decorators: [{
679
+ type: Injectable,
680
+ args: [{
681
+ providedIn: 'root',
682
+ }]
683
+ }], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }]; } });
684
+
685
+ class HitFuelIntegrationLogComponent {
686
+ constructor(service, track, hitFuelIntegrationLogService, toaster, localization, permissionService, confirmation) {
687
+ this.service = service;
688
+ this.track = track;
689
+ this.hitFuelIntegrationLogService = hitFuelIntegrationLogService;
690
+ this.toaster = toaster;
691
+ this.localization = localization;
692
+ this.permissionService = permissionService;
693
+ this.confirmation = confirmation;
694
+ this.isdeleteAll = false;
695
+ this.isRequestBodyModalOpen = false;
696
+ this.isLoadingRequestBodyModel = false;
697
+ this.isResponseBodyModalOpen = false;
698
+ this.isLoadingResponseBodyModel = false;
699
+ }
700
+ ngOnInit() {
701
+ this.actionMenuItems = [];
702
+ if (this.permissionService.getGrantedPolicy('Ovolt.FuelIntegrationLogs.ShowRequestBody')) {
703
+ this.actionMenuItems.push({
704
+ key: 'requestBody',
705
+ text: this.l('Ovolt::ShowRequestBody'),
706
+ type: 'success'
707
+ });
708
+ }
709
+ if (this.permissionService.getGrantedPolicy('Ovolt.FuelIntegrationLogs.ShowResponseBody')) {
710
+ this.actionMenuItems.push({
711
+ key: 'responseBody',
712
+ text: this.l('Ovolt::ShowResponseBody'),
713
+ type: 'normal'
714
+ });
715
+ }
716
+ if (this.permissionService.getGrantedPolicy('Ovolt.FuelIntegrationLogs.Delete')) {
717
+ this.actionMenuItems.push({
718
+ key: 'delete',
719
+ text: this.l('Ovolt::Delete'),
720
+ type: 'danger'
721
+ });
722
+ }
723
+ this.initDataSource();
724
+ this.closeRequestBodyButtonOptions = {
725
+ text: 'Close',
726
+ stylingMode: 'outlined',
727
+ type: 'normal',
728
+ onClick: () => {
729
+ this.isRequestBodyModalOpen = false;
730
+ },
731
+ };
732
+ this.closeResponseBodyButtonOptions = {
733
+ text: 'Close',
734
+ stylingMode: 'outlined',
735
+ type: 'normal',
736
+ onClick: () => {
737
+ this.isResponseBodyModalOpen = false;
738
+ },
739
+ };
740
+ }
741
+ l(key) {
742
+ return this.localization.instant(key);
743
+ }
744
+ initDataSource() {
745
+ // Store'u sadece bir kere oluşturuyoruz
746
+ this.FuelIntegrationLogDataSource = this.hitFuelIntegrationLogService.LoadFuelIntegrationLogs;
747
+ }
748
+ showRequestBody(id) {
749
+ // Yükleme durumunu başlat (gerekirse)
750
+ this.isLoadingRequestBodyModel = true;
751
+ // Önce popup'ı kapat (önceki tıklamalarda açık kalmış olabilir)
752
+ this.isRequestBodyModalOpen = false;
753
+ this.hitFuelIntegrationLogService.getRequesteBody({ logId: id })
754
+ .subscribe({
755
+ next: (data) => {
756
+ this.selectedRequestBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
757
+ // Veri geldikten sonra popup'ı aç
758
+ this.isRequestBodyModalOpen = true;
759
+ }
760
+ });
761
+ this.isLoadingRequestBodyModel = false;
762
+ }
763
+ showResponseBody(id) {
764
+ // Yükleme durumunu başlat (gerekirse)
765
+ this.isLoadingResponseBodyModel = true;
766
+ // Önce popup'ı kapat (önceki tıklamalarda açık kalmış olabilir)
767
+ this.isResponseBodyModalOpen = false;
768
+ this.hitFuelIntegrationLogService.getResponseBody({ logId: id })
769
+ .subscribe({
770
+ next: (data) => {
771
+ this.selectedResponseBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
772
+ // Veri geldikten sonra popup'ı aç
773
+ this.isResponseBodyModalOpen = true;
774
+ }
775
+ });
776
+ this.isLoadingResponseBodyModel = false;
777
+ }
778
+ editFuelIntegrationLog(record) {
779
+ console.log('Edit:', record);
780
+ // Modal form açılacak şekilde implement edilebilir
781
+ }
782
+ deleteAll() {
783
+ console.log('deleteAll');
784
+ this.hitFuelIntegrationLogService.deleteAll()
785
+ .subscribe({
786
+ next: (result) => {
787
+ if (result) {
788
+ // Grid'i refresh ediyoruz
789
+ this.dxGrid.instance.refresh();
790
+ }
791
+ else {
792
+ this.toaster.error('Veri yüklenirken hata oluştu.');
793
+ }
794
+ }
795
+ });
796
+ }
797
+ deleteFuelIntegrationLog(record) {
798
+ if (confirm(this.l('Ovolt::DeleteConfirmationMessage'))) {
799
+ this.service.delete(record).subscribe(() => {
800
+ // Grid'i refresh ediyoruz
801
+ this.dxGrid.instance.refresh();
802
+ });
803
+ }
804
+ }
805
+ onActionClick(e, id) {
806
+ const action = e.itemData?.key;
807
+ if (action === 'requestBody') {
808
+ this.showRequestBody(id);
809
+ }
810
+ if (action === 'responseBody') {
811
+ this.showResponseBody(id);
812
+ }
813
+ if (action === 'delete') {
814
+ this.deleteFuelIntegrationLog(id);
815
+ }
816
+ }
817
+ }
818
+ HitFuelIntegrationLogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogComponent, deps: [{ token: FuelIntegrationLogService }, { token: i1.TrackByService }, { token: HitFuelIntegrationLogService }, { token: i4.ToasterService }, { token: i1.LocalizationService }, { token: i1.PermissionService }, { token: i4.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component });
819
+ HitFuelIntegrationLogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitFuelIntegrationLogComponent, selector: "lib-hit-fuel-integration-log", providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], viewQueries: [{ propertyName: "dxGrid", first: true, predicate: ["dxGrid"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'Ovolt::FuelIntegrationLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button *abpPermission=\"'Ovolt.FuelIntegrationLogs.DeleteAll'\"\r\n text=\"{{ 'Ovolt::DeleteAll' | abpLocalization }}\" type=\"danger\" (onClick)=\"deleteAll()\"\r\n [disabled]=\"isdeleteAll\"></dx-button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n\r\n <div class=\"card mt-2\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxGrid [dataSource]=\"FuelIntegrationLogDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\"\r\n [allowColumnResizing]=\"true\" columnResizingMode=\"widget\" [allowColumnReordering]=\"true\"\r\n [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\" keyExpr=\"id\">\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column *ngIf=\"actionMenuItems?.length > 0\" [fixed]=\"true\" alignment=\"center\"\r\n caption=\"{{ 'Ovolt::Processes' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'actionTemplate'\">\r\n <div *dxTemplate=\"let data of 'actionTemplate'\">\r\n <dx-drop-down-button text=\"{{ 'Ovolt::Show' | abpLocalization }}\" stylingMode=\"outlined\"\r\n displayExpr=\"text\" keyExpr=\"key\" [items]=\"actionMenuItems\"\r\n (onItemClick)=\"onActionClick($event, data.data.id)\">\r\n\r\n <div *dxTemplate=\"let item of 'item'\">\r\n <dx-button [text]=\"item.text\" stylingMode=\"text\" width=\"180\" height=\"40\">\r\n </dx-button>\r\n </div>\r\n </dx-drop-down-button>\r\n </div>\r\n </dxi-column>\r\n\r\n <dxi-column dataField=\"path\" caption=\"{{ 'Ovolt::Path' | abpLocalization }}\"></dxi-column>\r\n\r\n <dxi-column dataField=\"method\" caption=\"{{ 'Ovolt::Method' | abpLocalization }}\"></dxi-column>\r\n\r\n <!-- <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::RequestBody' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'requestBodyTemplate'\">\r\n <div *dxTemplate=\"let data of 'requestBodyTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowRequestBody' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showRequestBody(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column>\r\n\r\n <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::ResponseBody' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'responseBodyTemplate'\">\r\n <div *dxTemplate=\"let data of 'responseBodyTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowResponseBody' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showResponseBody(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column> -->\r\n\r\n <dxi-column dataField=\"statusCode\" caption=\"{{ 'Ovolt::StatusCode' | abpLocalization }}\"></dxi-column>\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::RequestTime' | abpLocalization }}\" dataField=\"requestTime\"\r\n dataType=\"datetime\" [format]=\" 'dd.MM.yyyy HH:mm:ss' \" sortOrder=\"desc\" sortIndex=\"0\">\r\n </dxi-column>\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::ResponseTime' | abpLocalization }}\" dataField=\"responseTime\"\r\n dataType=\"datetime\" [format]=\" 'dd.MM.yyyy HH:mm:ss' \">\r\n </dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n\r\n <!-- Request JSON Popup -->\r\n <dx-popup [(visible)]=\"isRequestBodyModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::RequestBody' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\" [options]=\"closeRequestBodyButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedRequestBodyModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n\r\n\r\n <!-- Response JSON Popup -->\r\n <dx-popup [(visible)]=\"isResponseBodyModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::ResponseBody' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\"\r\n [options]=\"closeResponseBodyButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedResponseBodyModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n</abp-page>", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i6.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i6.PageToolbarContainerComponent, selector: "abp-page-toolbar-container" }, { kind: "component", type: i7.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i8.DxoColumnFixingComponent, selector: "dxo-column-fixing", inputs: ["enabled", "texts"] }, { kind: "component", type: i8.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i8.DxoHeaderFilterComponent, selector: "dxo-header-filter", inputs: ["allowSearch", "dataSource", "groupInterval", "height", "searchMode", "width", "searchTimeout", "texts", "visible", "showRelevantValues"] }, { kind: "component", type: i8.DxiToolbarItemComponent, selector: "dxi-toolbar-item", inputs: ["cssClass", "disabled", "html", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "template", "text", "toolbar", "visible", "widget"] }, { kind: "component", type: i8.DxoFilterBuilderComponent, selector: "dxo-filter-builder", inputs: ["accessKey", "activeStateEnabled", "allowHierarchicalFields", "customOperations", "disabled", "elementAttr", "fields", "filterOperationDescriptions", "focusStateEnabled", "groupOperationDescriptions", "groupOperations", "height", "hint", "hoverStateEnabled", "maxGroupLevel", "onContentReady", "onDisposing", "onEditorPrepared", "onEditorPreparing", "onInitialized", "onOptionChanged", "onValueChanged", "rtlEnabled", "tabIndex", "value", "visible", "width"], outputs: ["valueChange"] }, { kind: "component", type: i8.DxoFilterPanelComponent, selector: "dxo-filter-panel", inputs: ["customizeText", "filterEnabled", "texts", "visible"], outputs: ["filterEnabledChange"] }, { kind: "component", type: i8.DxoFilterRowComponent, selector: "dxo-filter-row", inputs: ["applyFilter", "applyFilterText", "betweenEndText", "betweenStartText", "operationDescriptions", "resetOperationText", "showAllText", "showOperationChooser", "visible"] }, { kind: "component", type: i8.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i8.DxoScrollingComponent, selector: "dxo-scrolling", inputs: ["columnRenderingMode", "mode", "preloadEnabled", "renderAsync", "rowRenderingMode", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative"] }, { kind: "component", type: i8.DxoSortingComponent, selector: "dxo-sorting", inputs: ["ascendingText", "clearText", "descendingText", "mode", "showSortIndexes"] }, { kind: "directive", type: i9.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i7.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i7.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: i7.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: i7.DxDropDownButtonComponent, selector: "dx-drop-down-button", inputs: ["accessKey", "activeStateEnabled", "dataSource", "deferRendering", "disabled", "displayExpr", "dropDownContentTemplate", "dropDownOptions", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "items", "itemTemplate", "keyExpr", "noDataText", "opened", "rtlEnabled", "selectedItem", "selectedItemKey", "showArrowIcon", "splitButton", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "useSelectMode", "visible", "width", "wrapItemText"], outputs: ["onButtonClick", "onContentReady", "onDisposing", "onInitialized", "onItemClick", "onOptionChanged", "onSelectionChanged", "accessKeyChange", "activeStateEnabledChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "dropDownContentTemplateChange", "dropDownOptionsChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "itemsChange", "itemTemplateChange", "keyExprChange", "noDataTextChange", "openedChange", "rtlEnabledChange", "selectedItemChange", "selectedItemKeyChange", "showArrowIconChange", "splitButtonChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "useSelectModeChange", "visibleChange", "widthChange", "wrapItemTextChange"] }, { kind: "pipe", type: i5.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
820
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogComponent, decorators: [{
821
+ type: Component,
822
+ args: [{ selector: 'lib-hit-fuel-integration-log', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'Ovolt::FuelIntegrationLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button *abpPermission=\"'Ovolt.FuelIntegrationLogs.DeleteAll'\"\r\n text=\"{{ 'Ovolt::DeleteAll' | abpLocalization }}\" type=\"danger\" (onClick)=\"deleteAll()\"\r\n [disabled]=\"isdeleteAll\"></dx-button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n\r\n <div class=\"card mt-2\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxGrid [dataSource]=\"FuelIntegrationLogDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\"\r\n [allowColumnResizing]=\"true\" columnResizingMode=\"widget\" [allowColumnReordering]=\"true\"\r\n [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\" keyExpr=\"id\">\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column *ngIf=\"actionMenuItems?.length > 0\" [fixed]=\"true\" alignment=\"center\"\r\n caption=\"{{ 'Ovolt::Processes' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'actionTemplate'\">\r\n <div *dxTemplate=\"let data of 'actionTemplate'\">\r\n <dx-drop-down-button text=\"{{ 'Ovolt::Show' | abpLocalization }}\" stylingMode=\"outlined\"\r\n displayExpr=\"text\" keyExpr=\"key\" [items]=\"actionMenuItems\"\r\n (onItemClick)=\"onActionClick($event, data.data.id)\">\r\n\r\n <div *dxTemplate=\"let item of 'item'\">\r\n <dx-button [text]=\"item.text\" stylingMode=\"text\" width=\"180\" height=\"40\">\r\n </dx-button>\r\n </div>\r\n </dx-drop-down-button>\r\n </div>\r\n </dxi-column>\r\n\r\n <dxi-column dataField=\"path\" caption=\"{{ 'Ovolt::Path' | abpLocalization }}\"></dxi-column>\r\n\r\n <dxi-column dataField=\"method\" caption=\"{{ 'Ovolt::Method' | abpLocalization }}\"></dxi-column>\r\n\r\n <!-- <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::RequestBody' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'requestBodyTemplate'\">\r\n <div *dxTemplate=\"let data of 'requestBodyTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowRequestBody' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showRequestBody(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column>\r\n\r\n <dxi-column [fixed]=\"true\" caption=\"{{ 'Ovolt::ResponseBody' | abpLocalization }}\" dataField=\"id\"\r\n [cellTemplate]=\"'responseBodyTemplate'\">\r\n <div *dxTemplate=\"let data of 'responseBodyTemplate'\">\r\n <dx-button text=\"{{ 'Ovolt::ShowResponseBody' | abpLocalization }}\" type=\"default\"\r\n (onClick)=\"showResponseBody(data.data.id)\"></dx-button>\r\n </div>\r\n </dxi-column> -->\r\n\r\n <dxi-column dataField=\"statusCode\" caption=\"{{ 'Ovolt::StatusCode' | abpLocalization }}\"></dxi-column>\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::RequestTime' | abpLocalization }}\" dataField=\"requestTime\"\r\n dataType=\"datetime\" [format]=\" 'dd.MM.yyyy HH:mm:ss' \" sortOrder=\"desc\" sortIndex=\"0\">\r\n </dxi-column>\r\n\r\n <dxi-column caption=\"{{ 'Ovolt::ResponseTime' | abpLocalization }}\" dataField=\"responseTime\"\r\n dataType=\"datetime\" [format]=\" 'dd.MM.yyyy HH:mm:ss' \">\r\n </dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n\r\n <!-- Request JSON Popup -->\r\n <dx-popup [(visible)]=\"isRequestBodyModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::RequestBody' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\" [options]=\"closeRequestBodyButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedRequestBodyModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n\r\n\r\n <!-- Response JSON Popup -->\r\n <dx-popup [(visible)]=\"isResponseBodyModalOpen\" [showTitle]=\"true\" [title]=\"'Ovolt::ResponseBody' | abpLocalization\"\r\n [hideOnOutsideClick]=\"true\" [showCloseButton]=\"false\">\r\n <dxi-toolbar-item widget=\"dxButton\" toolbar=\"bottom\" location=\"after\"\r\n [options]=\"closeResponseBodyButtonOptions\">\r\n </dxi-toolbar-item>\r\n <div *dxTemplate=\"let data of 'content'\" class=\"p-3\">\r\n <dx-scroll-view>\r\n <pre style=\"white-space: pre-wrap; word-wrap: break-word;\">\r\n {{ selectedResponseBodyModel | json }}\r\n </pre>\r\n </dx-scroll-view>\r\n </div>\r\n </dx-popup>\r\n</abp-page>" }]
823
+ }], ctorParameters: function () { return [{ type: FuelIntegrationLogService }, { type: i1.TrackByService }, { type: HitFuelIntegrationLogService }, { type: i4.ToasterService }, { type: i1.LocalizationService }, { type: i1.PermissionService }, { type: i4.ConfirmationService }]; }, propDecorators: { dxGrid: [{
824
+ type: ViewChild,
825
+ args: ['dxGrid', { static: false }]
826
+ }] } });
827
+
828
+ const routes$1 = [
829
+ {
830
+ path: '',
831
+ component: HitFuelIntegrationLogComponent,
832
+ canActivate: [AuthGuard, PermissionGuard],
833
+ },
834
+ ];
835
+ class HitFuelIntegrationLogRoutingModule {
836
+ }
837
+ HitFuelIntegrationLogRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
838
+ HitFuelIntegrationLogRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
839
+ HitFuelIntegrationLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
840
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, decorators: [{
841
+ type: NgModule,
842
+ args: [{
843
+ imports: [RouterModule.forChild(routes$1)],
844
+ exports: [RouterModule],
845
+ }]
846
+ }] });
847
+
848
+ class HitFuelIntegrationLogModule {
849
+ }
850
+ HitFuelIntegrationLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
851
+ HitFuelIntegrationLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogModule, declarations: [HitFuelIntegrationLogComponent], imports: [HitFuelIntegrationLogRoutingModule,
852
+ CoreModule,
853
+ ThemeSharedModule,
854
+ CommercialUiModule,
855
+ NgxValidateCoreModule,
856
+ NgbCollapseModule,
857
+ NgbDatepickerModule,
858
+ NgbDropdownModule,
859
+ PageModule,
860
+ DxDataGridModule,
861
+ DxButtonModule,
862
+ DxPopupModule,
863
+ DxScrollViewModule,
864
+ DxTemplateModule,
865
+ DxDropDownButtonModule] });
866
+ HitFuelIntegrationLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogModule, imports: [HitFuelIntegrationLogRoutingModule,
867
+ CoreModule,
868
+ ThemeSharedModule,
869
+ CommercialUiModule,
870
+ NgxValidateCoreModule,
871
+ NgbCollapseModule,
872
+ NgbDatepickerModule,
873
+ NgbDropdownModule,
874
+ PageModule,
875
+ DxDataGridModule,
876
+ DxButtonModule,
877
+ DxPopupModule,
878
+ DxScrollViewModule,
879
+ DxTemplateModule,
880
+ DxDropDownButtonModule] });
881
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogModule, decorators: [{
882
+ type: NgModule,
883
+ args: [{
884
+ declarations: [HitFuelIntegrationLogComponent],
885
+ imports: [
886
+ HitFuelIntegrationLogRoutingModule,
887
+ CoreModule,
888
+ ThemeSharedModule,
889
+ CommercialUiModule,
890
+ NgxValidateCoreModule,
891
+ NgbCollapseModule,
892
+ NgbDatepickerModule,
893
+ NgbDropdownModule,
894
+ PageModule,
895
+ DxDataGridModule,
896
+ DxButtonModule,
897
+ DxPopupModule,
898
+ DxScrollViewModule,
899
+ DxTemplateModule,
900
+ DxDropDownButtonModule
901
+ ],
902
+ }]
903
+ }] });
904
+ function loadHitFuelIntegrationLogModuleAsChild() {
905
+ return Promise.resolve(HitFuelIntegrationLogModule);
906
+ }
907
+
577
908
  const routes = [
578
909
  {
579
910
  path: '',
580
911
  pathMatch: 'full',
581
912
  component: OvoltComponent,
582
913
  },
583
- { path: 'process-logs', loadChildren: loadHitProcessLogModuleAsChild },
584
914
  { path: 'system-parameters', loadChildren: loadHitSystemParameterModuleAsChild },
915
+ { path: 'process-logs', loadChildren: loadHitProcessLogModuleAsChild },
916
+ { path: 'fuel-integration-logs', loadChildren: loadHitFuelIntegrationLogModuleAsChild },
585
917
  ];
586
918
  class OvoltRoutingModule {
587
919
  }