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