@hitsoft/e-donusum 1.0.122 → 1.0.123-live

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/esm2020/config/e-donusum-config.module.mjs +1 -3
  2. package/esm2020/lib/auto-send-rules/auto-send-rule/auto-send-rule.module.mjs +1 -1
  3. package/esm2020/lib/components/hit-despatches/hit-despatch.component.mjs +5 -32
  4. package/esm2020/lib/components/hit-inbound-despatches/hit-inbound-despatch.component.mjs +3 -51
  5. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +6 -93
  6. package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +93 -15
  7. package/esm2020/lib/document-serials/document-serial/document-serial.module.mjs +1 -1
  8. package/esm2020/lib/e-donusum-routing.module.mjs +1 -3
  9. package/esm2020/lib/hit-proxy/hit-inbound-despatches/hit-inbound-despatch.service.mjs +4 -19
  10. package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +1 -7
  11. package/esm2020/lib/hit-proxy/hit-invoices/hit-invoice.service.mjs +1 -5
  12. package/esm2020/lib/hit-proxy/shared/hit-shared.service.mjs +9 -45
  13. package/fesm2015/hitsoft-e-donusum-config.mjs +83 -102
  14. package/fesm2015/hitsoft-e-donusum-config.mjs.map +1 -1
  15. package/fesm2015/hitsoft-e-donusum.mjs +150 -509
  16. package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
  17. package/fesm2020/hitsoft-e-donusum-config.mjs +83 -102
  18. package/fesm2020/hitsoft-e-donusum-config.mjs.map +1 -1
  19. package/fesm2020/hitsoft-e-donusum.mjs +150 -508
  20. package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
  21. package/lib/components/hit-despatches/hit-despatch.component.d.ts +0 -1
  22. package/lib/components/hit-inbound-despatches/hit-inbound-despatch.component.d.ts +0 -3
  23. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +0 -4
  24. package/lib/components/hit-invoices/hit-invoice.component.d.ts +16 -1
  25. package/lib/hit-proxy/hit-inbound-despatches/hit-inbound-despatch.service.d.ts +1 -5
  26. package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +0 -1
  27. package/lib/hit-proxy/hit-invoices/hit-invoice.service.d.ts +0 -1
  28. package/lib/hit-proxy/shared/hit-shared.service.d.ts +1 -1
  29. package/package.json +1 -1
  30. package/config/providers/hit-providers/invoice-sent-route.provider.d.ts +0 -9
  31. package/esm2020/config/providers/hit-providers/invoice-sent-route.provider.mjs +0 -20
  32. package/esm2020/lib/components/hit-invoices-sent/hit-invoice-sent.component.mjs +0 -142
  33. package/esm2020/lib/components/hit-invoices-sent/hit-invoice-sent.module.mjs +0 -81
  34. package/esm2020/lib/components/hit-invoices-sent/sanitize-html-sent.pipe.mjs +0 -19
  35. package/lib/components/hit-invoices-sent/hit-invoice-sent.component.d.ts +0 -40
  36. package/lib/components/hit-invoices-sent/hit-invoice-sent.module.d.ts +0 -17
  37. package/lib/components/hit-invoices-sent/sanitize-html-sent.pipe.d.ts +0 -10
@@ -58,7 +58,6 @@ 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;
62
61
  getZipDate(): string;
63
62
  getReceiptAdvicePreview(record: any): void;
64
63
  static ɵfac: i0.ɵɵFactoryDeclaration<HitDespatchComponent, never>;
@@ -33,9 +33,6 @@ 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;
39
36
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundDespatchComponent, never>;
40
37
  static ɵcmp: i0.ɵɵComponentDeclaration<HitInboundDespatchComponent, "lib-inbound-despatch", never, {}, {}, never, never, false>;
41
38
  }
@@ -102,7 +102,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
102
102
  ngOnInit(): void;
103
103
  getInboundInvoice(): void;
104
104
  getInvoicePreview(record: any): void;
105
- viewPDFsMultiple(): void;
106
105
  openResponseModal(record: any): void;
107
106
  buildForm(record: any): void;
108
107
  sendInvoiceResponse(response: boolean): void;
@@ -131,9 +130,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
131
130
  createMultipleEmptyDrafts(): void;
132
131
  onResultPopupClosed: () => void;
133
132
  closeResultPopup: () => void;
134
- downloadIncomingPDFMultiple(): void;
135
- downloadPDFMultiple(): void;
136
- getZipDate(): string;
137
133
  openBranchPopup(): void;
138
134
  confirmBranchSelection: () => void;
139
135
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceComponent, never>;
@@ -2,29 +2,38 @@ 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';
5
6
  import { HitGibPartnerPkService } from '../../hit-proxy/hit-gib-partner-pks/hit-gib-partner-pk.service';
6
7
  import { ToasterService } from '@abp/ng.theme.shared';
7
8
  import { HitDocumentSerialService } from '../../hit-proxy/hit-document-serials/hit-document-serial.service';
8
9
  import { ConfirmationService } from '@abp/ng.theme.shared';
10
+ import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
9
11
  import * as i0 from "@angular/core";
10
12
  export declare class HitInvoiceComponent implements OnInit {
11
13
  readonly list: ListService;
12
14
  private readonly invoiceService;
13
15
  private readonly gibPartnerPkService;
16
+ private readonly fileDocumentTypeService;
14
17
  private readonly hitDocumentSerialService;
15
18
  private readonly toasterService;
16
19
  private readonly confirmation;
20
+ private readonly hitSharedService;
17
21
  dxInvoiceInstance: DxDataGridComponent;
22
+ dxInvoiceFileInstance: DxDataGridComponent;
18
23
  dxReceiverPKSInstance: DxDataGridComponent;
19
24
  dxInvoiceSerialInstance: DxDataGridComponent;
20
25
  invoicesDataSource: any;
21
26
  invoiceStatusLookup: any;
27
+ invoiceFileNameLookup: any;
22
28
  invoiceReceiverResponseLookup: any;
23
29
  invoiceObjectsEnumLookup: any;
30
+ invoiceFilesDataSource: any;
24
31
  invoiceReceiverPKDataSource: any;
25
32
  invoiceSerialDataSource: any;
26
33
  isPreviewModalOpen: boolean;
27
34
  isPreviewModalBusy: boolean;
35
+ isFileModalOpen: boolean;
36
+ isFileModalBusy: boolean;
28
37
  isPKModalOpen: boolean;
29
38
  isPKModalBusy: boolean;
30
39
  pkModalSelectedInvoiceId: any;
@@ -37,7 +46,7 @@ export declare class HitInvoiceComponent implements OnInit {
37
46
  faturaOnizleme: any;
38
47
  isModalOpenForNotQueue: boolean;
39
48
  invoiceNotSendQueueDataSource: any;
40
- constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, hitDocumentSerialService: HitDocumentSerialService, toasterService: ToasterService, confirmation: ConfirmationService);
49
+ constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, fileDocumentTypeService: HitFileDocumentTypeService, hitDocumentSerialService: HitDocumentSerialService, toasterService: ToasterService, confirmation: ConfirmationService, hitSharedService: HitSharedService);
41
50
  ngOnInit(): void;
42
51
  sendInvoiceSingle(record: any): void;
43
52
  setInvoiceCancelWithOpen(record: any): void;
@@ -47,14 +56,20 @@ export declare class HitInvoiceComponent implements OnInit {
47
56
  listActiveSeriesForMultiple(): void;
48
57
  selectInvoiceSerial(record: any): void;
49
58
  selectPKAddress(record: any): void;
59
+ downloadPDFMultiple(): void;
60
+ getZipDate(): string;
50
61
  sendInvoiceMultiple(): void;
51
62
  sendInvoiceToEntegrator(): void;
52
63
  getInvoicesFromConnector(): void;
64
+ getInvoiceResponses(): void;
65
+ getInvoiceView(record: any): void;
66
+ showAllFiles(record: any): void;
53
67
  getInvoicePreview(record: any): void;
54
68
  getInvoiceXML(record: any): void;
55
69
  getReceiverResponseName(responseId: any): any;
56
70
  getDocObjectName(data: any): string;
57
71
  getIconClass(responseId: any): "" | "fas fa-clock" | "fas fa-check-circle" | "fas fa-times-circle";
72
+ DownloadFile(record: any): void;
58
73
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInvoiceComponent, never>;
59
74
  static ɵcmp: i0.ɵɵComponentDeclaration<HitInvoiceComponent, "lib-invoice", never, {}, {}, never, never, false>;
60
75
  }
@@ -1,20 +1,16 @@
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';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class HitInboundDespatchService {
7
6
  private restService;
8
7
  private devexService;
9
- private http;
10
8
  apiName: string;
11
9
  LoadInboundDespatches: import("devextreme-aspnet-data-nojquery").CustomStore;
12
10
  sendDespatchResponse: (mainResponse: DespatchMainResponseDto) => import("rxjs").Observable<any>;
13
11
  getInboundDespatch: (startDate: string, endDate: string) => import("rxjs").Observable<any>;
14
12
  getDespatchPreviewInbound: (despatchGUID: string) => import("rxjs").Observable<any>;
15
- getDespatchPdfsMultiple: (despatchIds: string[]) => import("rxjs").Observable<string>;
16
- getIncomingDespatchPdfsMultiple(ids: string[]): import("rxjs").Observable<Blob>;
17
- constructor(restService: RestService, devexService: DevexpressRestService, http: HttpClient);
13
+ constructor(restService: RestService, devexService: DevexpressRestService);
18
14
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundDespatchService, never>;
19
15
  static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundDespatchService>;
20
16
  }
@@ -22,7 +22,6 @@ 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>;
26
25
  constructor(restService: RestService, devexService: DevexpressRestService);
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceService, never>;
28
27
  static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundInvoiceService>;
@@ -6,7 +6,6 @@ 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;
10
9
  LoadInvoiceFiles: (invoiceUUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
11
10
  sendInvoiceById: (input: string[]) => import("rxjs").Observable<number[]>;
12
11
  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, fileName?: string) => void;
4
+ previewFile: (base64: any) => 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.122",
3
+ "version": "1.0.123-live",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",
@@ -1,9 +0,0 @@
1
- import { RoutesService } from '@abp/ng.core';
2
- export declare const HIT_INVOICES_INVOICE_SENT_ROUTE_PROVIDER: {
3
- provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
- useFactory: typeof configureRoutes;
5
- deps: (typeof RoutesService)[];
6
- multi: boolean;
7
- }[];
8
- declare function configureRoutes(routes: RoutesService): () => void;
9
- export {};
@@ -1,20 +0,0 @@
1
- import { RoutesService } from '@abp/ng.core';
2
- import { APP_INITIALIZER } from '@angular/core';
3
- export const HIT_INVOICES_INVOICE_SENT_ROUTE_PROVIDER = [
4
- { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
5
- ];
6
- function configureRoutes(routes) {
7
- return () => {
8
- routes.add([
9
- {
10
- path: '/e-donusum/invoices-sent',
11
- parentName: "eDonusum::Menu:eInvoiceeArchive" /* eDonusumRouteNames.eInvoiceeArchive */,
12
- name: 'eDonusum::Menu:SentInvoices',
13
- layout: "application" /* eLayoutType.application */,
14
- requiredPolicy: 'eDonusum.Invoices',
15
- order: 2
16
- },
17
- ]);
18
- };
19
- }
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1zZW50LXJvdXRlLnByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZS1kb251c3VtL2NvbmZpZy9zcmMvcHJvdmlkZXJzL2hpdC1wcm92aWRlcnMvaW52b2ljZS1zZW50LXJvdXRlLnByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZSxhQUFhLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDMUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUdoRCxNQUFNLENBQUMsTUFBTSx3Q0FBd0MsR0FBRztJQUN0RCxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsVUFBVSxFQUFFLGVBQWU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