@hitsoft/ovolt 0.0.11 → 0.0.13

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 (38) hide show
  1. package/config/providers/ovolt-integration-log-route.provider.d.ts +9 -0
  2. package/esm2020/config/ovolt-config.module.mjs +3 -1
  3. package/esm2020/config/providers/ovolt-integration-log-route.provider.mjs +19 -0
  4. package/esm2020/lib/components/hit-fuel-integration-logs/components/hit-fuel-integration-log.component.mjs +29 -11
  5. package/esm2020/lib/components/hit-ovolt-integration-logs/components/hit-ovolt-integration-log.component.mjs +170 -0
  6. package/esm2020/lib/components/hit-ovolt-integration-logs/hit-ovolt-integration-log-routing.module.mjs +26 -0
  7. package/esm2020/lib/components/hit-ovolt-integration-logs/hit-ovolt-integration-log.module.mjs +71 -0
  8. package/esm2020/lib/components/hit-proxy/hit-ovolt-integration-logs/hit-ovolt-integration-log.service.mjs +40 -0
  9. package/esm2020/lib/components/hit-proxy/hit-ovolt-integration-logs/models.mjs +2 -0
  10. package/esm2020/lib/components/hit-system-parameters/components/hit-system-parameter.component.mjs +6 -4
  11. package/esm2020/lib/ovolt-integration-logs/ovolt-integration-log/components/ovolt-integration-log.component.mjs +113 -0
  12. package/esm2020/lib/ovolt-integration-logs/ovolt-integration-log/ovolt-integration-log-routing.module.mjs +26 -0
  13. package/esm2020/lib/ovolt-integration-logs/ovolt-integration-log/ovolt-integration-log.module.mjs +52 -0
  14. package/esm2020/lib/ovolt-routing.module.mjs +3 -1
  15. package/esm2020/lib/proxy/ovolt-integration-logs/models.mjs +2 -0
  16. package/esm2020/lib/proxy/ovolt-integration-logs/ovolt-integration-log.service.mjs +51 -0
  17. package/esm2020/lib/proxy/system-parameters/models.mjs +1 -1
  18. package/esm2020/lib/proxy/system-parameters/system-parameter.service.mjs +2 -2
  19. package/fesm2015/hitsoft-ovolt-config.mjs +29 -11
  20. package/fesm2015/hitsoft-ovolt-config.mjs.map +1 -1
  21. package/fesm2015/hitsoft-ovolt.mjs +368 -26
  22. package/fesm2015/hitsoft-ovolt.mjs.map +1 -1
  23. package/fesm2020/hitsoft-ovolt-config.mjs +29 -11
  24. package/fesm2020/hitsoft-ovolt-config.mjs.map +1 -1
  25. package/fesm2020/hitsoft-ovolt.mjs +367 -26
  26. package/fesm2020/hitsoft-ovolt.mjs.map +1 -1
  27. package/lib/components/hit-ovolt-integration-logs/components/hit-ovolt-integration-log.component.d.ts +39 -0
  28. package/lib/components/hit-ovolt-integration-logs/hit-ovolt-integration-log-routing.module.d.ts +7 -0
  29. package/lib/components/hit-ovolt-integration-logs/hit-ovolt-integration-log.module.d.ts +16 -0
  30. package/lib/components/hit-proxy/hit-ovolt-integration-logs/hit-ovolt-integration-log.service.d.ts +16 -0
  31. package/lib/components/hit-proxy/hit-ovolt-integration-logs/models.d.ts +3 -0
  32. package/lib/ovolt-integration-logs/ovolt-integration-log/components/ovolt-integration-log.component.d.ts +35 -0
  33. package/lib/ovolt-integration-logs/ovolt-integration-log/ovolt-integration-log-routing.module.d.ts +7 -0
  34. package/lib/ovolt-integration-logs/ovolt-integration-log/ovolt-integration-log.module.d.ts +15 -0
  35. package/lib/proxy/ovolt-integration-logs/models.d.ts +47 -0
  36. package/lib/proxy/ovolt-integration-logs/ovolt-integration-log.service.d.ts +19 -0
  37. package/lib/proxy/system-parameters/models.d.ts +4 -0
  38. package/package.json +1 -1
@@ -302,7 +302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
302
302
  args: ['dxGrid', { static: false }]
303
303
  }] } });
304
304
 
305
- const routes$4 = [
305
+ const routes$5 = [
306
306
  {
307
307
  path: '',
308
308
  component: HitProcessLogComponent,
@@ -313,11 +313,11 @@ class HitProcessLogRoutingModule {
313
313
  }
314
314
  HitProcessLogRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
315
315
  HitProcessLogRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
316
- HitProcessLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, imports: [RouterModule.forChild(routes$4), RouterModule] });
316
+ HitProcessLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, imports: [RouterModule.forChild(routes$5), RouterModule] });
317
317
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitProcessLogRoutingModule, decorators: [{
318
318
  type: NgModule,
319
319
  args: [{
320
- imports: [RouterModule.forChild(routes$4)],
320
+ imports: [RouterModule.forChild(routes$5)],
321
321
  exports: [RouterModule],
322
322
  }]
323
323
  }] });
@@ -410,7 +410,7 @@ class SystemParameterService {
410
410
  this.getList = (input) => this.restService.request({
411
411
  method: 'GET',
412
412
  url: '/api/ovolt/system-parameters',
413
- 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, eFaturaPdfBaseUrl: input.eFaturaPdfBaseUrl, eArsivPdfBaseUrl: input.eArsivPdfBaseUrl, vendorDebitorAccount: input.vendorDebitorAccount, mailAddresses: input.mailAddresses, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
413
+ 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, eFaturaPdfBaseUrl: input.eFaturaPdfBaseUrl, eArsivPdfBaseUrl: input.eArsivPdfBaseUrl, vendorDebitorAccount: input.vendorDebitorAccount, mailAddresses: input.mailAddresses, discountItemCode: input.discountItemCode, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
414
414
  }, { apiName: this.apiName });
415
415
  this.update = (id, input) => this.restService.request({
416
416
  method: 'PUT',
@@ -460,7 +460,7 @@ class HitSystemParameterComponent {
460
460
  'sharzNetCustomerSeries', 'upEnerjiCustomerSeries', 'sharzNetCustomerGroupCode', 'upEnerjiCustomerGroupCode',
461
461
  'sharzNetCustomerDebitorAccount', 'upEnerjiCustomerDebitorAccount', 'vendorSeries', 'vendorGroupCode',
462
462
  'transactionItemCode', 'cogsCostingCode', 'cogsCostingCode2', 'cogsCostingCode3', 'bplId', 'purchaseOrderItemCode',
463
- 'eFaturaPdfBaseUrl', 'eArsivPdfBaseUrl', 'vendorDebitorAccount'
463
+ 'eFaturaPdfBaseUrl', 'eArsivPdfBaseUrl', 'vendorDebitorAccount', "discountItemCode"
464
464
  ];
465
465
  this.fieldLocalizationMap = {
466
466
  sharzNetCustomerSeries: 'SharzNetCustomerSeries',
@@ -479,7 +479,8 @@ class HitSystemParameterComponent {
479
479
  purchaseOrderItemCode: 'PurchaseOrderItemCode',
480
480
  eFaturaPdfBaseUrl: 'EFaturaPdfBaseUrl',
481
481
  eArsivPdfBaseUrl: 'EArsivPdfBaseUrl',
482
- vendorDebitorAccount: 'VendorDebitorAccount'
482
+ vendorDebitorAccount: 'VendorDebitorAccount',
483
+ discountItemCode: 'DiscountItemCode'
483
484
  };
484
485
  }
485
486
  ngOnInit() {
@@ -507,7 +508,8 @@ class HitSystemParameterComponent {
507
508
  eFaturaPdfBaseUrl: [null, [Validators.required]],
508
509
  eArsivPdfBaseUrl: [null, [Validators.required]],
509
510
  vendorDebitorAccount: [null, [Validators.required]],
510
- mailAddresses: ['', this.optionalEmailValidator]
511
+ mailAddresses: ['', this.optionalEmailValidator],
512
+ discountItemCode: [null, [Validators.required]],
511
513
  });
512
514
  }
513
515
  loadData() {
@@ -578,7 +580,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
578
580
  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\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'\" class=\"form-control\"\r\n [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 <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <label class=\"form-label\" for=\"system-parameter-mail-addresses\">\r\n {{ 'Ovolt::MailAddresses' | abpLocalization }}\r\n </label>\r\n\r\n <textarea id=\"system-parameter-mail-addresses\" formControlName=\"mailAddresses\"\r\n class=\"form-control\" rows=\"3\" placeholder=\"example1@mail.com, example2@mail.com\">\r\n </textarea>\r\n\r\n <div *ngIf=\"form.get('mailAddresses')?.invalid && form.get('mailAddresses')?.touched\"\r\n class=\"text-danger mt-1\">\r\n {{ 'Ovolt::InvalidMailAddresses' | 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>" }]
579
581
  }], ctorParameters: function () { return [{ type: i1$1.FormBuilder }, { type: SystemParameterService }, { type: HitSystemParameterService }, { type: i4.ToasterService }, { type: i2.TrackByService }]; } });
580
582
 
581
- const routes$3 = [
583
+ const routes$4 = [
582
584
  {
583
585
  path: '',
584
586
  component: HitSystemParameterComponent,
@@ -589,11 +591,11 @@ class HitSystemParameterRoutingModule {
589
591
  }
590
592
  HitSystemParameterRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
591
593
  HitSystemParameterRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
592
- HitSystemParameterRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, imports: [RouterModule.forChild(routes$3), RouterModule] });
594
+ HitSystemParameterRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, imports: [RouterModule.forChild(routes$4), RouterModule] });
593
595
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitSystemParameterRoutingModule, decorators: [{
594
596
  type: NgModule,
595
597
  args: [{
596
- imports: [RouterModule.forChild(routes$3)],
598
+ imports: [RouterModule.forChild(routes$4)],
597
599
  exports: [RouterModule],
598
600
  }]
599
601
  }] });
@@ -778,19 +780,27 @@ class HitFuelIntegrationLogComponent {
778
780
  this.FuelIntegrationLogDataSource = this.hitFuelIntegrationLogService.LoadFuelIntegrationLogs;
779
781
  }
780
782
  showRequestBody(id) {
781
- // Yükleme durumunu başlat (gerekirse)
782
783
  this.isLoadingRequestBodyModel = true;
783
- // Önce popup'ı kapat (önceki tıklamalarda açık kalmış olabilir)
784
784
  this.isRequestBodyModalOpen = false;
785
785
  this.hitFuelIntegrationLogService.getRequesteBody({ logId: id })
786
786
  .subscribe({
787
787
  next: (data) => {
788
- this.selectedRequestBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
789
- // Veri geldikten sonra popup'ı aç
790
- this.isRequestBodyModalOpen = true;
788
+ try {
789
+ this.selectedRequestBodyModel =
790
+ typeof data === 'string' ? JSON.parse(data) : data;
791
+ this.isRequestBodyModalOpen = true;
792
+ }
793
+ catch (parseError) {
794
+ this.toaster.info('Gelen veri gösterilecek formatta değil.');
795
+ }
796
+ },
797
+ error: (err) => {
798
+ this.toaster.info('Veri alınırken hata oluştu.');
799
+ },
800
+ complete: () => {
801
+ this.isLoadingRequestBodyModel = false;
791
802
  }
792
803
  });
793
- this.isLoadingRequestBodyModel = false;
794
804
  }
795
805
  showResponseBody(id) {
796
806
  // Yükleme durumunu başlat (gerekirse)
@@ -800,12 +810,22 @@ class HitFuelIntegrationLogComponent {
800
810
  this.hitFuelIntegrationLogService.getResponseBody({ logId: id })
801
811
  .subscribe({
802
812
  next: (data) => {
803
- this.selectedResponseBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
804
- // Veri geldikten sonra popup'ı
805
- this.isResponseBodyModalOpen = true;
813
+ try {
814
+ this.selectedResponseBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
815
+ // Veri geldikten sonra popup'ı aç
816
+ this.isResponseBodyModalOpen = true;
817
+ }
818
+ catch (parseError) {
819
+ this.toaster.info('Gelen veri gösterilecek formatta değil.');
820
+ }
821
+ },
822
+ error: (err) => {
823
+ this.toaster.info('Veri alınırken hata oluştu.');
824
+ },
825
+ complete: () => {
826
+ this.isLoadingRequestBodyModel = false;
806
827
  }
807
828
  });
808
- this.isLoadingResponseBodyModel = false;
809
829
  }
810
830
  editFuelIntegrationLog(record) {
811
831
  console.log('Edit:', record);
@@ -858,7 +878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
858
878
  args: ['dxGrid', { static: false }]
859
879
  }] } });
860
880
 
861
- const routes$2 = [
881
+ const routes$3 = [
862
882
  {
863
883
  path: '',
864
884
  component: HitFuelIntegrationLogComponent,
@@ -869,11 +889,11 @@ class HitFuelIntegrationLogRoutingModule {
869
889
  }
870
890
  HitFuelIntegrationLogRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
871
891
  HitFuelIntegrationLogRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
872
- HitFuelIntegrationLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, imports: [RouterModule.forChild(routes$2), RouterModule] });
892
+ HitFuelIntegrationLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, imports: [RouterModule.forChild(routes$3), RouterModule] });
873
893
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitFuelIntegrationLogRoutingModule, decorators: [{
874
894
  type: NgModule,
875
895
  args: [{
876
- imports: [RouterModule.forChild(routes$2)],
896
+ imports: [RouterModule.forChild(routes$3)],
877
897
  exports: [RouterModule],
878
898
  }]
879
899
  }] });
@@ -992,7 +1012,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
992
1012
  args: ['dxGrid', { static: false }]
993
1013
  }] } });
994
1014
 
995
- const routes$1 = [
1015
+ const routes$2 = [
996
1016
  {
997
1017
  path: '',
998
1018
  component: HitLatestFailedProcessLogComponent,
@@ -1003,11 +1023,11 @@ class HitLatestFailedProcessLogRoutingModule {
1003
1023
  }
1004
1024
  HitLatestFailedProcessLogRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitLatestFailedProcessLogRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1005
1025
  HitLatestFailedProcessLogRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitLatestFailedProcessLogRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
1006
- HitLatestFailedProcessLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitLatestFailedProcessLogRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
1026
+ HitLatestFailedProcessLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitLatestFailedProcessLogRoutingModule, imports: [RouterModule.forChild(routes$2), RouterModule] });
1007
1027
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitLatestFailedProcessLogRoutingModule, decorators: [{
1008
1028
  type: NgModule,
1009
1029
  args: [{
1010
- imports: [RouterModule.forChild(routes$1)],
1030
+ imports: [RouterModule.forChild(routes$2)],
1011
1031
  exports: [RouterModule],
1012
1032
  }]
1013
1033
  }] });
@@ -1073,6 +1093,327 @@ function loadHitLatestFailedProcessLogModuleAsChild() {
1073
1093
  return Promise.resolve(HitLatestFailedProcessLogModule);
1074
1094
  }
1075
1095
 
1096
+ class OvoltIntegrationLogService {
1097
+ constructor(restService) {
1098
+ this.restService = restService;
1099
+ this.apiName = 'Ovolt';
1100
+ this.create = (input) => this.restService.request({
1101
+ method: 'POST',
1102
+ url: '/api/ovolt/ovolt-integration-logs',
1103
+ body: input,
1104
+ }, { apiName: this.apiName });
1105
+ this.delete = (id) => this.restService.request({
1106
+ method: 'DELETE',
1107
+ url: `/api/ovolt/ovolt-integration-logs/${id}`,
1108
+ }, { apiName: this.apiName });
1109
+ this.get = (id) => this.restService.request({
1110
+ method: 'GET',
1111
+ url: `/api/ovolt/ovolt-integration-logs/${id}`,
1112
+ }, { apiName: this.apiName });
1113
+ this.getDownloadToken = () => this.restService.request({
1114
+ method: 'GET',
1115
+ url: '/api/ovolt/ovolt-integration-logs/download-token',
1116
+ }, { apiName: this.apiName });
1117
+ this.getList = (input) => this.restService.request({
1118
+ method: 'GET',
1119
+ url: '/api/ovolt/ovolt-integration-logs',
1120
+ 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 },
1121
+ }, { apiName: this.apiName });
1122
+ this.getListAsExcelFile = (input) => this.restService.request({
1123
+ method: 'GET',
1124
+ responseType: 'blob',
1125
+ url: '/api/ovolt/ovolt-integration-logs/as-excel-file',
1126
+ params: { downloadToken: input.downloadToken, filterText: input.filterText, name: input.name },
1127
+ }, { apiName: this.apiName });
1128
+ this.update = (id, input) => this.restService.request({
1129
+ method: 'PUT',
1130
+ url: `/api/ovolt/ovolt-integration-logs/${id}`,
1131
+ body: input,
1132
+ }, { apiName: this.apiName });
1133
+ }
1134
+ }
1135
+ OvoltIntegrationLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: OvoltIntegrationLogService, deps: [{ token: i2.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
1136
+ OvoltIntegrationLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: OvoltIntegrationLogService, providedIn: 'root' });
1137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: OvoltIntegrationLogService, decorators: [{
1138
+ type: Injectable,
1139
+ args: [{
1140
+ providedIn: 'root',
1141
+ }]
1142
+ }], ctorParameters: function () { return [{ type: i2.RestService }]; } });
1143
+
1144
+ class HitOvoltIntegrationLogService {
1145
+ constructor(restService, devexService) {
1146
+ this.restService = restService;
1147
+ this.devexService = devexService;
1148
+ this.apiName = 'Ovolt';
1149
+ this.getRequesteBody = (input) => this.restService.request({
1150
+ method: 'POST',
1151
+ url: '/api/ovolt/ovolt-integration-logs/get-request-body',
1152
+ body: input
1153
+ }, { apiName: this.apiName });
1154
+ this.getResponseBody = (input) => this.restService.request({
1155
+ method: 'POST',
1156
+ url: '/api/ovolt/ovolt-integration-logs/get-response-body',
1157
+ body: input
1158
+ }, { apiName: this.apiName });
1159
+ this.deleteAll = () => this.restService.request({
1160
+ method: 'POST',
1161
+ url: '/api/ovolt/ovolt-integration-logs/delete-all',
1162
+ }, { apiName: this.apiName });
1163
+ }
1164
+ get LoadOvoltIntegrationLogs() {
1165
+ return this.devexService.createStore({
1166
+ key: 'id',
1167
+ loadUrl: 'api/ovolt/ovolt-integration-logs/load',
1168
+ });
1169
+ }
1170
+ }
1171
+ HitOvoltIntegrationLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogService, deps: [{ token: i2.RestService }, { token: DevexpressRestService }], target: i0.ɵɵFactoryTarget.Injectable });
1172
+ HitOvoltIntegrationLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogService, providedIn: 'root' });
1173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogService, decorators: [{
1174
+ type: Injectable,
1175
+ args: [{
1176
+ providedIn: 'root',
1177
+ }]
1178
+ }], ctorParameters: function () { return [{ type: i2.RestService }, { type: DevexpressRestService }]; } });
1179
+
1180
+ class HitOvoltIntegrationLogComponent {
1181
+ constructor(service, track, hitOvoltIntegrationLogService, toaster, localization, permissionService, confirmation) {
1182
+ this.service = service;
1183
+ this.track = track;
1184
+ this.hitOvoltIntegrationLogService = hitOvoltIntegrationLogService;
1185
+ this.toaster = toaster;
1186
+ this.localization = localization;
1187
+ this.permissionService = permissionService;
1188
+ this.confirmation = confirmation;
1189
+ this.isdeleteAll = false;
1190
+ this.isRequestBodyModalOpen = false;
1191
+ this.isLoadingRequestBodyModel = false;
1192
+ this.isResponseBodyModalOpen = false;
1193
+ this.isLoadingResponseBodyModel = false;
1194
+ }
1195
+ ngOnInit() {
1196
+ this.actionMenuItems = [];
1197
+ if (this.permissionService.getGrantedPolicy('Ovolt.OvoltIntegrationLogs.ShowRequestBody')) {
1198
+ this.actionMenuItems.push({
1199
+ key: 'requestBody',
1200
+ text: this.l('Ovolt::ShowRequestBody'),
1201
+ type: 'success'
1202
+ });
1203
+ }
1204
+ if (this.permissionService.getGrantedPolicy('Ovolt.OvoltIntegrationLogs.ShowResponseBody')) {
1205
+ this.actionMenuItems.push({
1206
+ key: 'responseBody',
1207
+ text: this.l('Ovolt::ShowResponseBody'),
1208
+ type: 'normal'
1209
+ });
1210
+ }
1211
+ if (this.permissionService.getGrantedPolicy('Ovolt.OvoltIntegrationLogs.Delete')) {
1212
+ this.actionMenuItems.push({
1213
+ key: 'delete',
1214
+ text: this.l('Ovolt::Delete'),
1215
+ type: 'danger'
1216
+ });
1217
+ }
1218
+ this.initDataSource();
1219
+ this.closeRequestBodyButtonOptions = {
1220
+ text: 'Close',
1221
+ stylingMode: 'outlined',
1222
+ type: 'normal',
1223
+ onClick: () => {
1224
+ this.isRequestBodyModalOpen = false;
1225
+ },
1226
+ };
1227
+ this.closeResponseBodyButtonOptions = {
1228
+ text: 'Close',
1229
+ stylingMode: 'outlined',
1230
+ type: 'normal',
1231
+ onClick: () => {
1232
+ this.isResponseBodyModalOpen = false;
1233
+ },
1234
+ };
1235
+ }
1236
+ l(key) {
1237
+ return this.localization.instant(key);
1238
+ }
1239
+ initDataSource() {
1240
+ // Store'u sadece bir kere oluşturuyoruz
1241
+ this.OvoltIntegrationLogDataSource = this.hitOvoltIntegrationLogService.LoadOvoltIntegrationLogs;
1242
+ }
1243
+ showRequestBody(id) {
1244
+ this.isLoadingRequestBodyModel = true;
1245
+ this.isRequestBodyModalOpen = false;
1246
+ this.hitOvoltIntegrationLogService.getRequesteBody({ logId: id })
1247
+ .subscribe({
1248
+ next: (data) => {
1249
+ try {
1250
+ this.selectedRequestBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
1251
+ this.isRequestBodyModalOpen = true;
1252
+ }
1253
+ catch (parseError) {
1254
+ this.toaster.info('Gelen veri gösterilecek formatta değil.');
1255
+ }
1256
+ },
1257
+ error: (err) => {
1258
+ this.toaster.info('Veri alınırken hata oluştu.');
1259
+ },
1260
+ complete: () => {
1261
+ this.isLoadingRequestBodyModel = false;
1262
+ }
1263
+ });
1264
+ }
1265
+ showResponseBody(id) {
1266
+ // Yükleme durumunu başlat (gerekirse)
1267
+ this.isLoadingResponseBodyModel = true;
1268
+ // Önce popup'ı kapat (önceki tıklamalarda açık kalmış olabilir)
1269
+ this.isResponseBodyModalOpen = false;
1270
+ this.hitOvoltIntegrationLogService.getResponseBody({ logId: id })
1271
+ .subscribe({
1272
+ next: (data) => {
1273
+ try {
1274
+ this.selectedResponseBodyModel = typeof data === 'string' ? JSON.parse(data) : data;
1275
+ // Veri geldikten sonra popup'ı aç
1276
+ this.isResponseBodyModalOpen = true;
1277
+ }
1278
+ catch (parseError) {
1279
+ this.toaster.info('Gelen veri gösterilecek formatta değil.');
1280
+ }
1281
+ },
1282
+ error: (err) => {
1283
+ this.toaster.info('Veri alınırken hata oluştu.');
1284
+ },
1285
+ complete: () => {
1286
+ this.isLoadingRequestBodyModel = false;
1287
+ }
1288
+ });
1289
+ }
1290
+ deleteAll() {
1291
+ console.log('deleteAll');
1292
+ this.hitOvoltIntegrationLogService.deleteAll()
1293
+ .subscribe({
1294
+ next: (result) => {
1295
+ if (result) {
1296
+ // Grid'i refresh ediyoruz
1297
+ this.dxGrid.instance.refresh();
1298
+ }
1299
+ else {
1300
+ this.toaster.error('Veri yüklenirken hata oluştu.');
1301
+ }
1302
+ }
1303
+ });
1304
+ }
1305
+ deleteOvoltIntegrationLog(record) {
1306
+ if (confirm(this.l('Ovolt::DeleteConfirmationMessage'))) {
1307
+ this.service.delete(record).subscribe(() => {
1308
+ // Grid'i refresh ediyoruz
1309
+ this.dxGrid.instance.refresh();
1310
+ });
1311
+ }
1312
+ }
1313
+ onActionClick(e, id) {
1314
+ var _a;
1315
+ const action = (_a = e.itemData) === null || _a === void 0 ? void 0 : _a.key;
1316
+ if (action === 'requestBody') {
1317
+ this.showRequestBody(id);
1318
+ }
1319
+ if (action === 'responseBody') {
1320
+ this.showResponseBody(id);
1321
+ }
1322
+ if (action === 'delete') {
1323
+ this.deleteOvoltIntegrationLog(id);
1324
+ }
1325
+ }
1326
+ }
1327
+ HitOvoltIntegrationLogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogComponent, deps: [{ token: OvoltIntegrationLogService }, { token: i2.TrackByService }, { token: HitOvoltIntegrationLogService }, { token: i4.ToasterService }, { token: i2.LocalizationService }, { token: i2.PermissionService }, { token: i4.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component });
1328
+ HitOvoltIntegrationLogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitOvoltIntegrationLogComponent, selector: "lib-hit-ovolt-integration-log", providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], viewQueries: [{ propertyName: "dxGrid", first: true, predicate: ["dxGrid"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'Ovolt::OvoltIntegrationLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button *abpPermission=\"'Ovolt.OvoltIntegrationLogs.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]=\"OvoltIntegrationLogDataSource\" [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: i2.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: i2.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
1329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogComponent, decorators: [{
1330
+ type: Component,
1331
+ args: [{ selector: 'lib-hit-ovolt-integration-log', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'Ovolt::OvoltIntegrationLogs' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <dx-button *abpPermission=\"'Ovolt.OvoltIntegrationLogs.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]=\"OvoltIntegrationLogDataSource\" [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>" }]
1332
+ }], ctorParameters: function () { return [{ type: OvoltIntegrationLogService }, { type: i2.TrackByService }, { type: HitOvoltIntegrationLogService }, { type: i4.ToasterService }, { type: i2.LocalizationService }, { type: i2.PermissionService }, { type: i4.ConfirmationService }]; }, propDecorators: { dxGrid: [{
1333
+ type: ViewChild,
1334
+ args: ['dxGrid', { static: false }]
1335
+ }] } });
1336
+
1337
+ const routes$1 = [
1338
+ {
1339
+ path: '',
1340
+ component: HitOvoltIntegrationLogComponent,
1341
+ canActivate: [AuthGuard, PermissionGuard],
1342
+ },
1343
+ ];
1344
+ class HitOvoltIntegrationLogRoutingModule {
1345
+ }
1346
+ HitOvoltIntegrationLogRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1347
+ HitOvoltIntegrationLogRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
1348
+ HitOvoltIntegrationLogRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
1349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogRoutingModule, decorators: [{
1350
+ type: NgModule,
1351
+ args: [{
1352
+ imports: [RouterModule.forChild(routes$1)],
1353
+ exports: [RouterModule],
1354
+ }]
1355
+ }] });
1356
+
1357
+ class HitOvoltIntegrationLogModule {
1358
+ }
1359
+ HitOvoltIntegrationLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1360
+ HitOvoltIntegrationLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogModule, declarations: [HitOvoltIntegrationLogComponent], imports: [HitOvoltIntegrationLogRoutingModule,
1361
+ CoreModule,
1362
+ ThemeSharedModule,
1363
+ CommercialUiModule,
1364
+ NgxValidateCoreModule,
1365
+ NgbCollapseModule,
1366
+ NgbDatepickerModule,
1367
+ NgbDropdownModule,
1368
+ PageModule,
1369
+ DxDataGridModule,
1370
+ DxButtonModule,
1371
+ DxPopupModule,
1372
+ DxScrollViewModule,
1373
+ DxTemplateModule,
1374
+ DxDropDownButtonModule] });
1375
+ HitOvoltIntegrationLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogModule, imports: [HitOvoltIntegrationLogRoutingModule,
1376
+ CoreModule,
1377
+ ThemeSharedModule,
1378
+ CommercialUiModule,
1379
+ NgxValidateCoreModule,
1380
+ NgbCollapseModule,
1381
+ NgbDatepickerModule,
1382
+ NgbDropdownModule,
1383
+ PageModule,
1384
+ DxDataGridModule,
1385
+ DxButtonModule,
1386
+ DxPopupModule,
1387
+ DxScrollViewModule,
1388
+ DxTemplateModule,
1389
+ DxDropDownButtonModule] });
1390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitOvoltIntegrationLogModule, decorators: [{
1391
+ type: NgModule,
1392
+ args: [{
1393
+ declarations: [HitOvoltIntegrationLogComponent],
1394
+ imports: [
1395
+ HitOvoltIntegrationLogRoutingModule,
1396
+ CoreModule,
1397
+ ThemeSharedModule,
1398
+ CommercialUiModule,
1399
+ NgxValidateCoreModule,
1400
+ NgbCollapseModule,
1401
+ NgbDatepickerModule,
1402
+ NgbDropdownModule,
1403
+ PageModule,
1404
+ DxDataGridModule,
1405
+ DxButtonModule,
1406
+ DxPopupModule,
1407
+ DxScrollViewModule,
1408
+ DxTemplateModule,
1409
+ DxDropDownButtonModule
1410
+ ],
1411
+ }]
1412
+ }] });
1413
+ function loadHitOvoltIntegrationLogModuleAsChild() {
1414
+ return Promise.resolve(HitOvoltIntegrationLogModule);
1415
+ }
1416
+
1076
1417
  const routes = [
1077
1418
  {
1078
1419
  path: '',
@@ -1083,6 +1424,7 @@ const routes = [
1083
1424
  { path: 'process-logs', loadChildren: loadHitProcessLogModuleAsChild },
1084
1425
  { path: 'latest-failed-process-logs', loadChildren: loadHitLatestFailedProcessLogModuleAsChild },
1085
1426
  { path: 'fuel-integration-logs', loadChildren: loadHitFuelIntegrationLogModuleAsChild },
1427
+ { path: 'ovolt-integration-logs', loadChildren: loadHitOvoltIntegrationLogModuleAsChild },
1086
1428
  ];
1087
1429
  class OvoltRoutingModule {
1088
1430
  }