@hitsoft/e-donusum 1.0.121 → 1.0.122

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 (37) hide show
  1. package/config/providers/hit-providers/invoice-sent-route.provider.d.ts +9 -0
  2. package/esm2020/config/e-donusum-config.module.mjs +3 -1
  3. package/esm2020/config/providers/hit-providers/invoice-sent-route.provider.mjs +20 -0
  4. package/esm2020/lib/auto-send-rules/auto-send-rule/auto-send-rule.module.mjs +1 -1
  5. package/esm2020/lib/components/hit-despatches/hit-despatch.component.mjs +32 -5
  6. package/esm2020/lib/components/hit-inbound-despatches/hit-inbound-despatch.component.mjs +51 -3
  7. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +93 -6
  8. package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +15 -93
  9. package/esm2020/lib/components/hit-invoices-sent/hit-invoice-sent.component.mjs +142 -0
  10. package/esm2020/lib/components/hit-invoices-sent/hit-invoice-sent.module.mjs +81 -0
  11. package/esm2020/lib/components/hit-invoices-sent/sanitize-html-sent.pipe.mjs +19 -0
  12. package/esm2020/lib/document-serials/document-serial/document-serial.module.mjs +1 -1
  13. package/esm2020/lib/e-donusum-routing.module.mjs +3 -1
  14. package/esm2020/lib/hit-proxy/hit-inbound-despatches/hit-inbound-despatch.service.mjs +19 -4
  15. package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +7 -1
  16. package/esm2020/lib/hit-proxy/hit-invoices/hit-invoice.service.mjs +5 -1
  17. package/esm2020/lib/hit-proxy/shared/hit-shared.service.mjs +45 -9
  18. package/fesm2015/hitsoft-e-donusum-config.mjs +102 -83
  19. package/fesm2015/hitsoft-e-donusum-config.mjs.map +1 -1
  20. package/fesm2015/hitsoft-e-donusum.mjs +509 -150
  21. package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
  22. package/fesm2020/hitsoft-e-donusum-config.mjs +102 -83
  23. package/fesm2020/hitsoft-e-donusum-config.mjs.map +1 -1
  24. package/fesm2020/hitsoft-e-donusum.mjs +508 -150
  25. package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
  26. package/lib/components/hit-despatches/hit-despatch.component.d.ts +1 -0
  27. package/lib/components/hit-inbound-despatches/hit-inbound-despatch.component.d.ts +3 -0
  28. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +4 -0
  29. package/lib/components/hit-invoices/hit-invoice.component.d.ts +1 -16
  30. package/lib/components/hit-invoices-sent/hit-invoice-sent.component.d.ts +40 -0
  31. package/lib/components/hit-invoices-sent/hit-invoice-sent.module.d.ts +17 -0
  32. package/lib/components/hit-invoices-sent/sanitize-html-sent.pipe.d.ts +10 -0
  33. package/lib/hit-proxy/hit-inbound-despatches/hit-inbound-despatch.service.d.ts +5 -1
  34. package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +1 -0
  35. package/lib/hit-proxy/hit-invoices/hit-invoice.service.d.ts +1 -0
  36. package/lib/hit-proxy/shared/hit-shared.service.d.ts +1 -1
  37. package/package.json +1 -1
@@ -58,6 +58,7 @@ export declare class HitDespatchComponent implements OnInit {
58
58
  showAllFiles(record: any): void;
59
59
  DownloadFile(record: any): void;
60
60
  downloadPDFMultiple(): void;
61
+ viewPDFsMultiple(): void;
61
62
  getZipDate(): string;
62
63
  getReceiptAdvicePreview(record: any): void;
63
64
  static ɵfac: i0.ɵɵFactoryDeclaration<HitDespatchComponent, never>;
@@ -33,6 +33,9 @@ export declare class HitInboundDespatchComponent implements OnInit {
33
33
  getReceiverResponseName(responseId: any): any;
34
34
  getIconClass(responseId: any): "" | "fas fa-clock" | "fas fa-check-circle" | "fas fa-times-circle" | "fas fa-minus-circle";
35
35
  getInboundDespatchPreview(record: any): void;
36
+ downloadPDFMultiple(): void;
37
+ getZipDate(): string;
38
+ viewPDFsMultiple(): void;
36
39
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundDespatchComponent, never>;
37
40
  static ɵcmp: i0.ɵɵComponentDeclaration<HitInboundDespatchComponent, "lib-inbound-despatch", never, {}, {}, never, never, false>;
38
41
  }
@@ -102,6 +102,7 @@ export declare class HitInboundInvoiceComponent implements OnInit {
102
102
  ngOnInit(): void;
103
103
  getInboundInvoice(): void;
104
104
  getInvoicePreview(record: any): void;
105
+ viewPDFsMultiple(): void;
105
106
  openResponseModal(record: any): void;
106
107
  buildForm(record: any): void;
107
108
  sendInvoiceResponse(response: boolean): void;
@@ -130,6 +131,9 @@ export declare class HitInboundInvoiceComponent implements OnInit {
130
131
  createMultipleEmptyDrafts(): void;
131
132
  onResultPopupClosed: () => void;
132
133
  closeResultPopup: () => void;
134
+ downloadIncomingPDFMultiple(): void;
135
+ downloadPDFMultiple(): void;
136
+ getZipDate(): string;
133
137
  openBranchPopup(): void;
134
138
  confirmBranchSelection: () => void;
135
139
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceComponent, never>;
@@ -2,38 +2,29 @@ import { ListService } from '@abp/ng.core';
2
2
  import { OnInit } from '@angular/core';
3
3
  import { DxDataGridComponent } from 'devextreme-angular';
4
4
  import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.service';
5
- import { HitFileDocumentTypeService } from '../../hit-proxy/hit-file-document-type/hit-file-document-type.service';
6
5
  import { HitGibPartnerPkService } from '../../hit-proxy/hit-gib-partner-pks/hit-gib-partner-pk.service';
7
6
  import { ToasterService } from '@abp/ng.theme.shared';
8
7
  import { HitDocumentSerialService } from '../../hit-proxy/hit-document-serials/hit-document-serial.service';
9
8
  import { ConfirmationService } from '@abp/ng.theme.shared';
10
- import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
11
9
  import * as i0 from "@angular/core";
12
10
  export declare class HitInvoiceComponent implements OnInit {
13
11
  readonly list: ListService;
14
12
  private readonly invoiceService;
15
13
  private readonly gibPartnerPkService;
16
- private readonly fileDocumentTypeService;
17
14
  private readonly hitDocumentSerialService;
18
15
  private readonly toasterService;
19
16
  private readonly confirmation;
20
- private readonly hitSharedService;
21
17
  dxInvoiceInstance: DxDataGridComponent;
22
- dxInvoiceFileInstance: DxDataGridComponent;
23
18
  dxReceiverPKSInstance: DxDataGridComponent;
24
19
  dxInvoiceSerialInstance: DxDataGridComponent;
25
20
  invoicesDataSource: any;
26
21
  invoiceStatusLookup: any;
27
- invoiceFileNameLookup: any;
28
22
  invoiceReceiverResponseLookup: any;
29
23
  invoiceObjectsEnumLookup: any;
30
- invoiceFilesDataSource: any;
31
24
  invoiceReceiverPKDataSource: any;
32
25
  invoiceSerialDataSource: any;
33
26
  isPreviewModalOpen: boolean;
34
27
  isPreviewModalBusy: boolean;
35
- isFileModalOpen: boolean;
36
- isFileModalBusy: boolean;
37
28
  isPKModalOpen: boolean;
38
29
  isPKModalBusy: boolean;
39
30
  pkModalSelectedInvoiceId: any;
@@ -46,7 +37,7 @@ export declare class HitInvoiceComponent implements OnInit {
46
37
  faturaOnizleme: any;
47
38
  isModalOpenForNotQueue: boolean;
48
39
  invoiceNotSendQueueDataSource: any;
49
- constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, fileDocumentTypeService: HitFileDocumentTypeService, hitDocumentSerialService: HitDocumentSerialService, toasterService: ToasterService, confirmation: ConfirmationService, hitSharedService: HitSharedService);
40
+ constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, hitDocumentSerialService: HitDocumentSerialService, toasterService: ToasterService, confirmation: ConfirmationService);
50
41
  ngOnInit(): void;
51
42
  sendInvoiceSingle(record: any): void;
52
43
  setInvoiceCancelWithOpen(record: any): void;
@@ -56,20 +47,14 @@ export declare class HitInvoiceComponent implements OnInit {
56
47
  listActiveSeriesForMultiple(): void;
57
48
  selectInvoiceSerial(record: any): void;
58
49
  selectPKAddress(record: any): void;
59
- downloadPDFMultiple(): void;
60
- getZipDate(): string;
61
50
  sendInvoiceMultiple(): void;
62
51
  sendInvoiceToEntegrator(): void;
63
52
  getInvoicesFromConnector(): void;
64
- getInvoiceResponses(): void;
65
- getInvoiceView(record: any): void;
66
- showAllFiles(record: any): void;
67
53
  getInvoicePreview(record: any): void;
68
54
  getInvoiceXML(record: any): void;
69
55
  getReceiverResponseName(responseId: any): any;
70
56
  getDocObjectName(data: any): string;
71
57
  getIconClass(responseId: any): "" | "fas fa-clock" | "fas fa-check-circle" | "fas fa-times-circle";
72
- DownloadFile(record: any): void;
73
58
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInvoiceComponent, never>;
74
59
  static ɵcmp: i0.ɵɵComponentDeclaration<HitInvoiceComponent, "lib-invoice", never, {}, {}, never, never, false>;
75
60
  }
@@ -0,0 +1,40 @@
1
+ import { ListService } from '@abp/ng.core';
2
+ import { OnInit } from '@angular/core';
3
+ import { DxDataGridComponent } from 'devextreme-angular';
4
+ import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.service';
5
+ import { HitFileDocumentTypeService } from '../../hit-proxy/hit-file-document-type/hit-file-document-type.service';
6
+ import { ToasterService } from '@abp/ng.theme.shared';
7
+ import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class HitInvoiceSentComponent implements OnInit {
10
+ readonly list: ListService;
11
+ private readonly invoiceService;
12
+ private readonly fileDocumentTypeService;
13
+ private readonly toasterService;
14
+ private readonly hitSharedService;
15
+ dxInvoiceInstance: DxDataGridComponent;
16
+ dxInvoiceFileInstance: DxDataGridComponent;
17
+ invoicesDataSource: any;
18
+ invoiceStatusLookup: any;
19
+ invoiceFileNameLookup: any;
20
+ invoiceReceiverResponseLookup: any;
21
+ invoiceObjectsEnumLookup: any;
22
+ invoiceFilesDataSource: any;
23
+ isFileModalOpen: boolean;
24
+ isFileModalBusy: boolean;
25
+ constructor(list: ListService, invoiceService: HitInvoiceService, fileDocumentTypeService: HitFileDocumentTypeService, toasterService: ToasterService, hitSharedService: HitSharedService);
26
+ ngOnInit(): void;
27
+ downloadPDFMultiple(): void;
28
+ getZipDate(): string;
29
+ sendInvoiceToEntegrator(): void;
30
+ getInvoicesFromConnector(): void;
31
+ getInvoiceResponses(): void;
32
+ getInvoiceView(record: any): void;
33
+ showAllFiles(record: any): void;
34
+ getReceiverResponseName(responseId: any): any;
35
+ getDocObjectName(data: any): string;
36
+ getIconClass(responseId: any): "" | "fas fa-clock" | "fas fa-check-circle" | "fas fa-times-circle";
37
+ DownloadFile(record: any): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitInvoiceSentComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitInvoiceSentComponent, "lib-invoice-sent", never, {}, {}, never, never, false>;
40
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./hit-invoice-sent.component";
3
+ import * as i2 from "./sanitize-html-sent.pipe";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.theme.shared";
6
+ import * as i5 from "@volo/abp.commercial.ng.ui";
7
+ import * as i6 from "@ngx-validate/core";
8
+ import * as i7 from "@ng-bootstrap/ng-bootstrap";
9
+ import * as i8 from "devextreme-angular";
10
+ import * as i9 from "@abp/ng.components/page";
11
+ import * as i10 from "@angular/router";
12
+ export declare class HitInvoiceSentModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitInvoiceSentModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitInvoiceSentModule, [typeof i1.HitInvoiceSentComponent, typeof i2.SanitizeHtmlSentPipe], [typeof i3.CoreModule, typeof i4.ThemeSharedModule, typeof i5.CommercialUiModule, typeof i6.NgxValidateCoreModule, typeof i7.NgbCollapseModule, typeof i7.NgbDatepickerModule, typeof i7.NgbDropdownModule, typeof i8.DxDataGridModule, typeof i8.DxTextAreaModule, typeof i8.DxTextBoxModule, typeof i8.DxHtmlEditorModule, typeof i8.DxSelectBoxModule, typeof i8.DxLookupModule, typeof i8.DxTabPanelModule, typeof i9.PageModule, typeof i8.DxNumberBoxModule, typeof i8.DxTemplateModule, typeof i10.RouterModule], never>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitInvoiceSentModule>;
16
+ }
17
+ export declare function loadHitInvoiceSentModuleAsChild(): Promise<typeof HitInvoiceSentModule>;
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SanitizeHtmlSentPipe implements PipeTransform {
5
+ private _sanitizer;
6
+ constructor(_sanitizer: DomSanitizer);
7
+ transform(value: string): SafeHtml;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeHtmlSentPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeHtmlSentPipe, "sanitizeHtml", false>;
10
+ }
@@ -1,16 +1,20 @@
1
1
  import { RestService } from "@abp/ng.core";
2
2
  import { DevexpressRestService } from "../devexpress-query-builder/devexpress-query-builder";
3
3
  import { DespatchMainResponseDto } from "./models";
4
+ import { HttpClient } from '@angular/common/http';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class HitInboundDespatchService {
6
7
  private restService;
7
8
  private devexService;
9
+ private http;
8
10
  apiName: string;
9
11
  LoadInboundDespatches: import("devextreme-aspnet-data-nojquery").CustomStore;
10
12
  sendDespatchResponse: (mainResponse: DespatchMainResponseDto) => import("rxjs").Observable<any>;
11
13
  getInboundDespatch: (startDate: string, endDate: string) => import("rxjs").Observable<any>;
12
14
  getDespatchPreviewInbound: (despatchGUID: string) => import("rxjs").Observable<any>;
13
- constructor(restService: RestService, devexService: DevexpressRestService);
15
+ getDespatchPdfsMultiple: (despatchIds: string[]) => import("rxjs").Observable<string>;
16
+ getIncomingDespatchPdfsMultiple(ids: string[]): import("rxjs").Observable<Blob>;
17
+ constructor(restService: RestService, devexService: DevexpressRestService, http: HttpClient);
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundDespatchService, never>;
15
19
  static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundDespatchService>;
16
20
  }
@@ -22,6 +22,7 @@ export declare class HitInboundInvoiceService {
22
22
  createPurchaseInvoiceDocument: (requestDto: ConnectorPurchaseInvoiceDocumentDto, invoiceID: string) => import("rxjs").Observable<any>;
23
23
  processManual: (invoiceID: string) => import("rxjs").Observable<any>;
24
24
  createMultipleEmptyDrafts: (requestDto: ConnectorMultipleEmptyDraftDto[]) => import("rxjs").Observable<any>;
25
+ getIncomingInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<Blob>;
25
26
  constructor(restService: RestService, devexService: DevexpressRestService);
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceService, never>;
27
28
  static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundInvoiceService>;
@@ -6,6 +6,7 @@ export declare class HitInvoiceService {
6
6
  private devexService;
7
7
  apiName: string;
8
8
  LoadInvoices: import("devextreme-aspnet-data-nojquery").CustomStore;
9
+ LoadInvoicesSent: import("devextreme-aspnet-data-nojquery").CustomStore;
9
10
  LoadInvoiceFiles: (invoiceUUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
10
11
  sendInvoiceById: (input: string[]) => import("rxjs").Observable<number[]>;
11
12
  getInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<any>;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class HitSharedService {
3
3
  apiName: string;
4
- previewFile: (base64: any) => void;
4
+ previewFile: (base64: any, fileName?: string) => void;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<HitSharedService, never>;
6
6
  static ɵprov: i0.ɵɵInjectableDeclaration<HitSharedService>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitsoft/e-donusum",
3
- "version": "1.0.121",
3
+ "version": "1.0.122",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",