@colijnit/transaction 300.1.23 → 300.1.25
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/index.d.ts
CHANGED
|
@@ -299,6 +299,8 @@ import { PdfHistoricPosReceiptRequest } from '@colijnit/transactionapi/build/mod
|
|
|
299
299
|
import { CreatePublicQuoteRequest } from '@colijnit/transactionapi/build/model/create-public-quote-request';
|
|
300
300
|
import { UpsertTransactionStandardTextRequest } from '@colijnit/transactionapi/build/model/upsert-transaction-standard-text-request';
|
|
301
301
|
import { ChangeHeaderExtraDocRequest } from '@colijnit/transactionapi/build/model/change-header-extra-doc-request';
|
|
302
|
+
import { BatchDownloadInfo } from '@colijnit/transactionapi/build/model/batch-download-info.bo';
|
|
303
|
+
import { FileDownloadToken } from '@colijnit/transactionapi/build/model/file-download-token.bo';
|
|
302
304
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
303
305
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
304
306
|
import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
|
|
@@ -1282,6 +1284,9 @@ declare class TransactionConnectorAdapterService {
|
|
|
1282
1284
|
getBatchJobProgressesForTheUser(): Promise<BatchJobProgress[]>;
|
|
1283
1285
|
deleteBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1284
1286
|
retryBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1287
|
+
getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
|
|
1288
|
+
getCombinedPdfByBatchRequest(batchJobProgressId: number, localPrint: boolean): Promise<boolean>;
|
|
1289
|
+
prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
|
|
1285
1290
|
emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
|
|
1286
1291
|
emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
|
|
1287
1292
|
pdfOrderConfirmation(request: PdfOrderConfirmationRequest, localPrint?: boolean): Promise<CoDocument | boolean>;
|
|
@@ -1529,6 +1534,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1529
1534
|
getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
|
|
1530
1535
|
private _openPdfContent;
|
|
1531
1536
|
private _handleLocalPrintFile;
|
|
1537
|
+
private _downloadBatchZipFile;
|
|
1532
1538
|
private _handleExceptionFromResponse;
|
|
1533
1539
|
private _handleMessageFromSuccessResponse;
|
|
1534
1540
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorAdapterService, never>;
|
|
@@ -1793,6 +1799,9 @@ declare class TransactionConnectorService {
|
|
|
1793
1799
|
getBatchJobProgressesForTheUser(): Promise<BatchJobProgress[]>;
|
|
1794
1800
|
deleteBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1795
1801
|
retryBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1802
|
+
getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
|
|
1803
|
+
getCombinedPdfByBatchRequest(batchJobProgressId: number, localPrint: boolean): Promise<boolean>;
|
|
1804
|
+
prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
|
|
1796
1805
|
emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
|
|
1797
1806
|
emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
|
|
1798
1807
|
pdfOrderConfirmation(request: PdfOrderConfirmationRequest, localPrint?: boolean): Promise<CoDocument | boolean>;
|
|
@@ -2687,6 +2696,9 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2687
2696
|
getBatchJobProgressesForTheUser(): Promise<BatchJobProgress[]>;
|
|
2688
2697
|
deleteBatchJob(batchJobProgressId: number): Promise<void>;
|
|
2689
2698
|
retryBatchJob(batchJobProgressId: number): Promise<void>;
|
|
2699
|
+
getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
|
|
2700
|
+
getCombinedPdfByBatchRequest(batchJobProgressId: number, localPrint?: boolean): Promise<boolean>;
|
|
2701
|
+
prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
|
|
2690
2702
|
emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
|
|
2691
2703
|
emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
|
|
2692
2704
|
pdfOrderConfirmation(request: PdfOrderConfirmationRequest, localPrint?: boolean): Promise<CoDocument | boolean>;
|
|
@@ -11805,20 +11817,28 @@ declare class BatchProcessDialogComponent implements OnInit, OnDestroy {
|
|
|
11805
11817
|
close: EventEmitter<void>;
|
|
11806
11818
|
readonly icons: typeof Icon;
|
|
11807
11819
|
batchStatusInterval: any;
|
|
11820
|
+
private readonly _batchDownloadInfoByProgressId;
|
|
11808
11821
|
constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
|
|
11809
11822
|
ngOnInit(): void;
|
|
11810
11823
|
ngOnDestroy(): void;
|
|
11811
11824
|
onCloseDialog(): void;
|
|
11825
|
+
isBatchFinished(progressItem: BatchJobProgress): boolean;
|
|
11826
|
+
showBatchDocumentButtons(progressItem: BatchJobProgress): boolean;
|
|
11827
|
+
isCombinedPdfAllowed(progressItem: BatchJobProgress): boolean;
|
|
11828
|
+
downloadPdf(progressItem: BatchJobProgress): void;
|
|
11829
|
+
getZip(progressItem: BatchJobProgress): void;
|
|
11830
|
+
printPdf(progressItem: BatchJobProgress): void;
|
|
11812
11831
|
deleteProcess(progressItem: BatchJobProgress): void;
|
|
11813
11832
|
retryProcess(progressItem: BatchJobProgress): void;
|
|
11814
11833
|
private _showBatchProcessesStatusInterval;
|
|
11834
|
+
private _loadBatchDownloadInfoForFinishedItems;
|
|
11815
11835
|
static ɵfac: i0.ɵɵFactoryDeclaration<BatchProcessDialogComponent, never>;
|
|
11816
11836
|
static ɵcmp: i0.ɵɵComponentDeclaration<BatchProcessDialogComponent, "co-batch-process-dialog", never, { "batchJobProgress": { "alias": "batchJobProgress"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
11817
11837
|
}
|
|
11818
11838
|
|
|
11819
11839
|
declare class BatchProcessDialogModule {
|
|
11820
11840
|
static ɵfac: i0.ɵɵFactoryDeclaration<BatchProcessDialogModule, never>;
|
|
11821
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BatchProcessDialogModule, [typeof BatchProcessDialogComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i3.CoDialogModule, typeof i3.IconModule, typeof PipeModule, typeof i3.ButtonModule], [typeof BatchProcessDialogComponent]>;
|
|
11841
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BatchProcessDialogModule, [typeof BatchProcessDialogComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i3.CoDialogModule, typeof i3.IconModule, typeof PipeModule, typeof i3.ButtonModule, typeof i3.TooltipDirectiveModule], [typeof BatchProcessDialogComponent]>;
|
|
11822
11842
|
static ɵinj: i0.ɵɵInjectorDeclaration<BatchProcessDialogModule>;
|
|
11823
11843
|
}
|
|
11824
11844
|
|
package/lib/component/transaction-search/transaction-batch-process-dialog/style/_layout.scss
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
border-radius: 5px;
|
|
43
43
|
|
|
44
44
|
h4 {
|
|
45
|
-
margin-bottom:
|
|
45
|
+
margin-bottom: 8px;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -62,11 +62,16 @@
|
|
|
62
62
|
cursor: pointer;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.
|
|
65
|
+
.batch-action-button {
|
|
66
66
|
width: 15px;
|
|
67
67
|
height: 15px;
|
|
68
68
|
margin-left: 10px;
|
|
69
69
|
cursor: pointer;
|
|
70
|
+
|
|
71
|
+
&.disabled {
|
|
72
|
+
opacity: 0.35;
|
|
73
|
+
cursor: not-allowed;
|
|
74
|
+
}
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "300.1.
|
|
3
|
+
"version": "300.1.25",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@colijnit/relationapi": ">=300.1.1",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
21
|
"@colijnit/sharedcomponents": ">=300.1.13",
|
|
22
|
-
"@colijnit/transactionapi": ">=300.1.
|
|
22
|
+
"@colijnit/transactionapi": ">=300.1.12"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.8.1"
|