@colijnit/transaction 300.1.24 → 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
|
@@ -1285,7 +1285,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1285
1285
|
deleteBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1286
1286
|
retryBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1287
1287
|
getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
|
|
1288
|
-
getCombinedPdfByBatchRequest(batchJobProgressId: number): Promise<
|
|
1288
|
+
getCombinedPdfByBatchRequest(batchJobProgressId: number, localPrint: boolean): Promise<boolean>;
|
|
1289
1289
|
prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
|
|
1290
1290
|
emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
|
|
1291
1291
|
emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
|
|
@@ -1534,6 +1534,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1534
1534
|
getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
|
|
1535
1535
|
private _openPdfContent;
|
|
1536
1536
|
private _handleLocalPrintFile;
|
|
1537
|
+
private _downloadBatchZipFile;
|
|
1537
1538
|
private _handleExceptionFromResponse;
|
|
1538
1539
|
private _handleMessageFromSuccessResponse;
|
|
1539
1540
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorAdapterService, never>;
|
|
@@ -1799,7 +1800,7 @@ declare class TransactionConnectorService {
|
|
|
1799
1800
|
deleteBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1800
1801
|
retryBatchJob(batchJobProgressId: number): Promise<void>;
|
|
1801
1802
|
getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
|
|
1802
|
-
getCombinedPdfByBatchRequest(batchJobProgressId: number): Promise<
|
|
1803
|
+
getCombinedPdfByBatchRequest(batchJobProgressId: number, localPrint: boolean): Promise<boolean>;
|
|
1803
1804
|
prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
|
|
1804
1805
|
emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
|
|
1805
1806
|
emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
|
|
@@ -2696,7 +2697,7 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2696
2697
|
deleteBatchJob(batchJobProgressId: number): Promise<void>;
|
|
2697
2698
|
retryBatchJob(batchJobProgressId: number): Promise<void>;
|
|
2698
2699
|
getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
|
|
2699
|
-
getCombinedPdfByBatchRequest(batchJobProgressId: number): Promise<
|
|
2700
|
+
getCombinedPdfByBatchRequest(batchJobProgressId: number, localPrint?: boolean): Promise<boolean>;
|
|
2700
2701
|
prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
|
|
2701
2702
|
emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
|
|
2702
2703
|
emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
|
|
@@ -11816,20 +11817,28 @@ declare class BatchProcessDialogComponent implements OnInit, OnDestroy {
|
|
|
11816
11817
|
close: EventEmitter<void>;
|
|
11817
11818
|
readonly icons: typeof Icon;
|
|
11818
11819
|
batchStatusInterval: any;
|
|
11820
|
+
private readonly _batchDownloadInfoByProgressId;
|
|
11819
11821
|
constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
|
|
11820
11822
|
ngOnInit(): void;
|
|
11821
11823
|
ngOnDestroy(): void;
|
|
11822
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;
|
|
11823
11831
|
deleteProcess(progressItem: BatchJobProgress): void;
|
|
11824
11832
|
retryProcess(progressItem: BatchJobProgress): void;
|
|
11825
11833
|
private _showBatchProcessesStatusInterval;
|
|
11834
|
+
private _loadBatchDownloadInfoForFinishedItems;
|
|
11826
11835
|
static ɵfac: i0.ɵɵFactoryDeclaration<BatchProcessDialogComponent, never>;
|
|
11827
11836
|
static ɵcmp: i0.ɵɵComponentDeclaration<BatchProcessDialogComponent, "co-batch-process-dialog", never, { "batchJobProgress": { "alias": "batchJobProgress"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
11828
11837
|
}
|
|
11829
11838
|
|
|
11830
11839
|
declare class BatchProcessDialogModule {
|
|
11831
11840
|
static ɵfac: i0.ɵɵFactoryDeclaration<BatchProcessDialogModule, never>;
|
|
11832
|
-
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]>;
|
|
11833
11842
|
static ɵinj: i0.ɵɵInjectorDeclaration<BatchProcessDialogModule>;
|
|
11834
11843
|
}
|
|
11835
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
|
}
|