@hitsoft/e-donusum 1.0.123-live → 1.0.124-test
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.
- package/config/providers/hit-providers/invoice-sent-route.provider.d.ts +9 -0
- package/esm2020/config/e-donusum-config.module.mjs +3 -1
- package/esm2020/config/providers/hit-providers/invoice-sent-route.provider.mjs +20 -0
- package/esm2020/lib/components/hit-despatches/hit-despatch.component.mjs +48 -4
- package/esm2020/lib/components/hit-failed-despatches/hit-failed-despatch.component.mjs +3 -3
- package/esm2020/lib/components/hit-failed-invoices/hit-failed-invoice.component.mjs +3 -3
- package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +69 -100
- package/esm2020/lib/components/hit-invoices-sent/hit-invoice-sent.component.mjs +142 -0
- package/esm2020/lib/components/hit-invoices-sent/hit-invoice-sent.module.mjs +81 -0
- package/esm2020/lib/components/hit-invoices-sent/sanitize-html-sent.pipe.mjs +19 -0
- package/esm2020/lib/e-donusum-routing.module.mjs +3 -1
- package/esm2020/lib/hit-proxy/hit-despatches/hit-despatch.service.mjs +10 -1
- package/esm2020/lib/hit-proxy/hit-invoices/hit-invoice.service.mjs +14 -1
- package/esm2020/lib/hit-proxy/shared/hit-shared.service.mjs +5 -6
- package/fesm2015/hitsoft-e-donusum-config.mjs +102 -83
- package/fesm2015/hitsoft-e-donusum-config.mjs.map +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +399 -150
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum-config.mjs +102 -83
- package/fesm2020/hitsoft-e-donusum-config.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +397 -150
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-despatches/hit-despatch.component.d.ts +9 -2
- package/lib/components/hit-invoices/hit-invoice.component.d.ts +10 -18
- package/lib/components/hit-invoices-sent/hit-invoice-sent.component.d.ts +40 -0
- package/lib/components/hit-invoices-sent/hit-invoice-sent.module.d.ts +17 -0
- package/lib/components/hit-invoices-sent/sanitize-html-sent.pipe.d.ts +10 -0
- package/lib/hit-proxy/hit-despatches/hit-despatch.service.d.ts +4 -0
- package/lib/hit-proxy/hit-invoices/hit-invoice.service.d.ts +9 -1
- package/lib/hit-proxy/shared/hit-shared.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ListService } from '@abp/ng.core';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { DxDataGridComponent } from 'devextreme-angular';
|
|
4
4
|
import { HitDespatchService } from '../../hit-proxy/hit-despatches/hit-despatch.service';
|
|
5
5
|
import { HitFileDocumentTypeService } from '../../hit-proxy/hit-file-document-type/hit-file-document-type.service';
|
|
@@ -8,7 +8,7 @@ import { HitGibPartnerPkService } from '../../hit-proxy/hit-gib-partner-pks/hit-
|
|
|
8
8
|
import { HitDocumentSerialService } from '../../hit-proxy/hit-document-serials/hit-document-serial.service';
|
|
9
9
|
import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class HitDespatchComponent implements OnInit {
|
|
11
|
+
export declare class HitDespatchComponent implements OnInit, OnDestroy {
|
|
12
12
|
readonly list: ListService;
|
|
13
13
|
readonly service: HitDespatchService;
|
|
14
14
|
private readonly fileDocumentTypeService;
|
|
@@ -28,6 +28,10 @@ export declare class HitDespatchComponent implements OnInit {
|
|
|
28
28
|
despatchSerialDataSource: any;
|
|
29
29
|
despatchFileNameLookup: any;
|
|
30
30
|
despatchFilesDataSource: any;
|
|
31
|
+
isTriggerGetDespatchesBusy: boolean;
|
|
32
|
+
triggerElapsedSeconds: number;
|
|
33
|
+
private _pollingInterval;
|
|
34
|
+
private _elapsedInterval;
|
|
31
35
|
isFileModalOpen: boolean;
|
|
32
36
|
isFileModalBusy: boolean;
|
|
33
37
|
isPKModalOpen: boolean;
|
|
@@ -60,6 +64,9 @@ export declare class HitDespatchComponent implements OnInit {
|
|
|
60
64
|
downloadPDFMultiple(): void;
|
|
61
65
|
getZipDate(): string;
|
|
62
66
|
getReceiptAdvicePreview(record: any): void;
|
|
67
|
+
triggerGetDespatchesFromConnector(): void;
|
|
68
|
+
private _stopPolling;
|
|
69
|
+
ngOnDestroy(): void;
|
|
63
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitDespatchComponent, never>;
|
|
64
71
|
static ɵcmp: i0.ɵɵComponentDeclaration<HitDespatchComponent, "lib-despatch", never, {}, {}, never, never, false>;
|
|
65
72
|
}
|
|
@@ -1,39 +1,30 @@
|
|
|
1
1
|
import { ListService } from '@abp/ng.core';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
2
|
+
import { OnDestroy, 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
|
-
export declare class HitInvoiceComponent implements OnInit {
|
|
10
|
+
export declare class HitInvoiceComponent implements OnInit, OnDestroy {
|
|
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;
|
|
@@ -45,8 +36,12 @@ export declare class HitInvoiceComponent implements OnInit {
|
|
|
45
36
|
selectedInvoiceIds: string[];
|
|
46
37
|
faturaOnizleme: any;
|
|
47
38
|
isModalOpenForNotQueue: boolean;
|
|
39
|
+
isTriggerGetInvoicesBusy: boolean;
|
|
40
|
+
triggerElapsedSeconds: number;
|
|
41
|
+
private _pollingInterval;
|
|
42
|
+
private _elapsedInterval;
|
|
48
43
|
invoiceNotSendQueueDataSource: any;
|
|
49
|
-
constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService,
|
|
44
|
+
constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, hitDocumentSerialService: HitDocumentSerialService, toasterService: ToasterService, confirmation: ConfirmationService);
|
|
50
45
|
ngOnInit(): void;
|
|
51
46
|
sendInvoiceSingle(record: any): void;
|
|
52
47
|
setInvoiceCancelWithOpen(record: any): void;
|
|
@@ -56,20 +51,17 @@ export declare class HitInvoiceComponent implements OnInit {
|
|
|
56
51
|
listActiveSeriesForMultiple(): void;
|
|
57
52
|
selectInvoiceSerial(record: any): void;
|
|
58
53
|
selectPKAddress(record: any): void;
|
|
59
|
-
downloadPDFMultiple(): void;
|
|
60
|
-
getZipDate(): string;
|
|
61
54
|
sendInvoiceMultiple(): void;
|
|
62
55
|
sendInvoiceToEntegrator(): void;
|
|
63
56
|
getInvoicesFromConnector(): void;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
triggerGetInvoicesFromConnector(): void;
|
|
58
|
+
private _stopPolling;
|
|
59
|
+
ngOnDestroy(): void;
|
|
67
60
|
getInvoicePreview(record: any): void;
|
|
68
61
|
getInvoiceXML(record: any): void;
|
|
69
62
|
getReceiverResponseName(responseId: any): any;
|
|
70
63
|
getDocObjectName(data: any): string;
|
|
71
64
|
getIconClass(responseId: any): "" | "fas fa-clock" | "fas fa-check-circle" | "fas fa-times-circle";
|
|
72
|
-
DownloadFile(record: any): void;
|
|
73
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitInvoiceComponent, never>;
|
|
74
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<HitInvoiceComponent, "lib-invoice", never, {}, {}, never, never, false>;
|
|
75
67
|
}
|
|
@@ -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
|
+
}
|
|
@@ -23,6 +23,10 @@ export declare class HitDespatchService {
|
|
|
23
23
|
updateDespatchSerial: (despatchId: string, serial: string) => import("rxjs").Observable<any>;
|
|
24
24
|
getDespatchXML: (despatchGUID: string, tableValue: number) => import("rxjs").Observable<any>;
|
|
25
25
|
getDespatchPdfsMultiple: (despatchIds: string[]) => import("rxjs").Observable<any>;
|
|
26
|
+
triggerGetDespatchesFromConnector: () => import("rxjs").Observable<string>;
|
|
27
|
+
getDespatchJobStatus: (jobId: string) => import("rxjs").Observable<{
|
|
28
|
+
state: string;
|
|
29
|
+
}>;
|
|
26
30
|
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
27
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitDespatchService, never>;
|
|
28
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<HitDespatchService>;
|
|
@@ -6,8 +6,12 @@ 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
|
-
sendInvoiceById: (input: string[]) => import("rxjs").Observable<
|
|
11
|
+
sendInvoiceById: (input: string[]) => import("rxjs").Observable<{
|
|
12
|
+
multiPkDocEntries: number[];
|
|
13
|
+
cancelledDocEntries: number[];
|
|
14
|
+
}>;
|
|
11
15
|
getInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<any>;
|
|
12
16
|
setInvoiceCancelBydId: (invoiceId: string, status: number) => import("rxjs").Observable<any>;
|
|
13
17
|
updateInvoiceReceiver: (invoiceUUID: string, receiverPK: string, isDefaultPK: boolean) => import("rxjs").Observable<any>;
|
|
@@ -16,6 +20,10 @@ export declare class HitInvoiceService {
|
|
|
16
20
|
returnBaseStateInvoiceById: (invoiceIds: string[]) => import("rxjs").Observable<any>;
|
|
17
21
|
sendInvoiceToEntegrator: () => import("rxjs").Observable<any>;
|
|
18
22
|
getInvoicesFromConnector: () => import("rxjs").Observable<any>;
|
|
23
|
+
triggerGetInvoicesFromConnector: () => import("rxjs").Observable<string>;
|
|
24
|
+
getJobStatus: (jobId: string) => import("rxjs").Observable<{
|
|
25
|
+
state: string;
|
|
26
|
+
}>;
|
|
19
27
|
getStatuses: () => import("rxjs").Observable<any>;
|
|
20
28
|
getSapObjects: () => import("rxjs").Observable<any>;
|
|
21
29
|
getReceiverResponses: () => 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
|
}
|