@colijnit/transaction 300.1.6 → 300.1.8
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/colijnit-transaction-300.1.7.tgz +0 -0
- package/fesm2022/colijnit-transaction.mjs +252 -101
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +31 -3
- package/lib/component/transaction-documents-customer-portal/style/_layout.scss +16 -0
- package/lib/component/transaction-documents-customer-portal/style/_material-definition.scss +1 -0
- package/lib/component/transaction-documents-customer-portal/style/_theme.scss +6 -0
- package/lib/component/transaction-documents-customer-portal/style/material.scss +4 -0
- package/lib/component/transaction-internal/style/material.scss +1 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1400,6 +1400,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1400
1400
|
getPackageInformation(transactionUUID: string, lineUUID: string): Promise<PackageLSP[]>;
|
|
1401
1401
|
getLogisticsPartners(): Promise<DeliveryMethod$1[]>;
|
|
1402
1402
|
loadDocumentsOfTransaction(key: string): Promise<CoDocument[]>;
|
|
1403
|
+
getDocumentsForCurrentUserByTransId(transId: number): Promise<CoDocument[]>;
|
|
1403
1404
|
loadDocumentContent(docId: number): Promise<string>;
|
|
1404
1405
|
mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
|
|
1405
1406
|
deleteDocument(documentId: number): Promise<ValidationResult>;
|
|
@@ -1901,6 +1902,7 @@ declare class TransactionConnectorService {
|
|
|
1901
1902
|
getPlanTransportWeek(startDate: Date, planningId: number): Promise<PlanningTransportWeek[]>;
|
|
1902
1903
|
updatePlanTransportWeek(planTransportWeek: PlanningTransportWeek): Promise<boolean>;
|
|
1903
1904
|
loadDocumentsOfTransaction(key: string): Promise<CoDocument[]>;
|
|
1905
|
+
getDocumentsForCurrentUserByTransId(transId: number): Promise<CoDocument[]>;
|
|
1904
1906
|
loadDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
1905
1907
|
mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
|
|
1906
1908
|
deleteDocument(documentId: number): Promise<ValidationResult>;
|
|
@@ -2787,6 +2789,7 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2787
2789
|
getTransactionMarginInfo(transactionUUID: string): Promise<TransactionMarginInfo>;
|
|
2788
2790
|
printSalesOrdersOverview(request: TransactionSearchViewRequest): Promise<PdfTransactionSearchOverviewResponse>;
|
|
2789
2791
|
loadDocumentsOfTransaction(key: string): Promise<CoDocument[]>;
|
|
2792
|
+
getDocumentsForCurrentUserByTransId(transId: number): Promise<CoDocument[]>;
|
|
2790
2793
|
loadDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
2791
2794
|
mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
|
|
2792
2795
|
deleteDocument(documentId: number): Promise<ValidationResult>;
|
|
@@ -8797,6 +8800,7 @@ declare class DeliveryPlanningService {
|
|
|
8797
8800
|
districtAvailabilityCheck(planOrder: PlanOrder, transportDay: PlanningTransportWeekDay): Promise<boolean>;
|
|
8798
8801
|
filterTransactionsForDeliveryPlanning(transactions: TransactionSearchView[], transportDay: PlanningTransportWeekDay): Promise<TransactionSearchView[]>;
|
|
8799
8802
|
syncPlanOrderTimesWithTransportDate(planOrder: PlanOrder, transport: PlanningTransportWeekDay): Promise<void>;
|
|
8803
|
+
getFirstDayOfCurrentWeek(): Date;
|
|
8800
8804
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningService, never>;
|
|
8801
8805
|
static ɵprov: i0.ɵɵInjectableDeclaration<DeliveryPlanningService>;
|
|
8802
8806
|
}
|
|
@@ -10710,6 +10714,7 @@ declare class DeliveryPlanningComponent implements OnDestroy {
|
|
|
10710
10714
|
constructor(_deliveryPlanningService: DeliveryPlanningService);
|
|
10711
10715
|
ngOnDestroy(): void;
|
|
10712
10716
|
fullscreenToggle(): void;
|
|
10717
|
+
setRelationViewValues(): void;
|
|
10713
10718
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningComponent, never>;
|
|
10714
10719
|
static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningComponent, "co-delivery-planning", never, { "employeeView": { "alias": "employeeView"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "triptychMode": { "alias": "triptychMode"; "required": false; }; "currentPlanningViewMode": { "alias": "currentPlanningViewMode"; "required": false; }; "currentPlanningMode": { "alias": "currentPlanningMode"; "required": false; }; "calendarViewMode": { "alias": "calendarViewMode"; "required": false; }; }, { "fullscreenEvent": "fullscreenEvent"; }, never, never, false, never>;
|
|
10715
10720
|
}
|
|
@@ -14036,6 +14041,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14036
14041
|
iconCacheService: IconCacheService;
|
|
14037
14042
|
service: TransactionService;
|
|
14038
14043
|
deliveryPlanningService: DeliveryPlanningService;
|
|
14044
|
+
transactionHeaderService: TransactionHeaderService;
|
|
14039
14045
|
private _transactionConnectorService;
|
|
14040
14046
|
private _transactionEventService;
|
|
14041
14047
|
private _screenConfigurationService;
|
|
@@ -14043,7 +14049,6 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14043
14049
|
private _purchaseConfirmationService;
|
|
14044
14050
|
private _transactionBaseService;
|
|
14045
14051
|
private _changeDetector;
|
|
14046
|
-
transactionHeaderService: TransactionHeaderService;
|
|
14047
14052
|
private _overlayService;
|
|
14048
14053
|
private _lineSelection;
|
|
14049
14054
|
readonly categories: typeof TransactionTypeCategory;
|
|
@@ -14121,7 +14126,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14121
14126
|
private _salesPersonInputComponentRef;
|
|
14122
14127
|
private _salesPersonAvatarComponentRef;
|
|
14123
14128
|
private _containerForFillMode;
|
|
14124
|
-
constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef,
|
|
14129
|
+
constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, transactionHeaderService: TransactionHeaderService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, _overlayService: OverlayService, _lineSelection: LineSelectionService);
|
|
14125
14130
|
ngOnInit(): Promise<void>;
|
|
14126
14131
|
ngOnDestroy(): void;
|
|
14127
14132
|
handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
|
|
@@ -14832,6 +14837,9 @@ declare class TransactionQuickAccessInvoiceComponent extends TransactionQuickAcc
|
|
|
14832
14837
|
protected combinedDocument(request: PrintPurchaseOrderForTransactionOrderWithoutLinesRequest, localPrint: boolean): void;
|
|
14833
14838
|
transactionSet(): void;
|
|
14834
14839
|
_prepareRequest(request: EmailInvoiceRequest | PrintInvoiceRequest | PdfInvoiceRequest): boolean;
|
|
14840
|
+
openSendMethodDialogForNewInvoice(): void;
|
|
14841
|
+
private _isHistoricReportSelected;
|
|
14842
|
+
private _showNoInvoiceLinesError;
|
|
14835
14843
|
filterLinesForRequest(): TransactionLineInfo[];
|
|
14836
14844
|
historicDocuments(): boolean;
|
|
14837
14845
|
handleSendDocument(defaultSendMethod: string): void;
|
|
@@ -16743,9 +16751,29 @@ declare class TransactionLineConversionAssistantModule {
|
|
|
16743
16751
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineConversionAssistantModule>;
|
|
16744
16752
|
}
|
|
16745
16753
|
|
|
16754
|
+
declare class TransactionDocumentsCustomerPortalComponent implements OnInit {
|
|
16755
|
+
private _transactionService;
|
|
16756
|
+
set transactionId(id: number);
|
|
16757
|
+
showClass(): boolean;
|
|
16758
|
+
documents: CoDocument[];
|
|
16759
|
+
documentsForCurrentUser: CoDocument[];
|
|
16760
|
+
private _transactionId;
|
|
16761
|
+
constructor(_transactionService: TransactionService);
|
|
16762
|
+
ngOnInit(): void;
|
|
16763
|
+
private _loadDocuments;
|
|
16764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionDocumentsCustomerPortalComponent, never>;
|
|
16765
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionDocumentsCustomerPortalComponent, "co-transaction-documents-customer-portal", never, { "transactionId": { "alias": "transactionId"; "required": false; }; }, {}, never, never, false, never>;
|
|
16766
|
+
}
|
|
16767
|
+
|
|
16768
|
+
declare class TransactionDocumentsCustomerPortalModule {
|
|
16769
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionDocumentsCustomerPortalModule, never>;
|
|
16770
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionDocumentsCustomerPortalModule, [typeof TransactionDocumentsCustomerPortalComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof i6.FilesUploadModule], [typeof TransactionDocumentsCustomerPortalComponent]>;
|
|
16771
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionDocumentsCustomerPortalModule>;
|
|
16772
|
+
}
|
|
16773
|
+
|
|
16746
16774
|
declare class TransactionInternalModule {
|
|
16747
16775
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalModule, never>;
|
|
16748
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionInternalModule, [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent], [typeof i2.CommonModule, typeof TransactionHeaderModule, typeof TransactionQuickAccessModule, typeof TransactionButtonBarModule, typeof AvatarModule, typeof i3.ViewModeButtonsModule, typeof TransactionCardModule, typeof TransactionLinesModule, typeof AddProductModule, typeof TransactionTotalsModule, typeof TransactionLineSidePanelModule, typeof TransactionArticleTextOverviewModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof TransactionCopyOrderModule, typeof i13.DragDropModule, typeof TransactionLinesSidePanelModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof TransactionButtonModule, typeof i3.ScreenConfigurationModule, typeof TransactionServiceOverviewModule, typeof TransactionCardsModule, typeof TransactionMarginModule, typeof ClickBlockModule, typeof DialogTransactionLineWarehouseCcModule, typeof DialogTransactionHeaderBranchModule, typeof DialogBranchModule, typeof TransactionPurchaseReservationOrderTileModule, typeof i3.CoDialogModule, typeof i6.StockModule, typeof TransactionArticleStockModule, typeof TransactionOrderTileModule, typeof TransactionHeaderCustomerPortalModule, typeof TransactionSalesPersonInputModule, typeof TransactionHeaderSalesPersonModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof TransactionHeaderHandledByModule, typeof i6.FormBuilderUserFormModule, typeof DeliveryPlanningOverviewModule, typeof TransactionLineActivitiesModule, typeof TransactionLineConversionAssistantModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
|
|
16776
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionInternalModule, [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent], [typeof i2.CommonModule, typeof TransactionHeaderModule, typeof TransactionQuickAccessModule, typeof TransactionButtonBarModule, typeof AvatarModule, typeof i3.ViewModeButtonsModule, typeof TransactionCardModule, typeof TransactionLinesModule, typeof AddProductModule, typeof TransactionTotalsModule, typeof TransactionLineSidePanelModule, typeof TransactionArticleTextOverviewModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof TransactionCopyOrderModule, typeof i13.DragDropModule, typeof TransactionLinesSidePanelModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof TransactionButtonModule, typeof i3.ScreenConfigurationModule, typeof TransactionServiceOverviewModule, typeof TransactionCardsModule, typeof TransactionMarginModule, typeof ClickBlockModule, typeof DialogTransactionLineWarehouseCcModule, typeof DialogTransactionHeaderBranchModule, typeof DialogBranchModule, typeof TransactionPurchaseReservationOrderTileModule, typeof i3.CoDialogModule, typeof i6.StockModule, typeof TransactionArticleStockModule, typeof TransactionOrderTileModule, typeof TransactionHeaderCustomerPortalModule, typeof TransactionSalesPersonInputModule, typeof TransactionHeaderSalesPersonModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof TransactionHeaderHandledByModule, typeof i6.FormBuilderUserFormModule, typeof DeliveryPlanningOverviewModule, typeof TransactionLineActivitiesModule, typeof TransactionLineConversionAssistantModule, typeof TransactionDocumentsCustomerPortalModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
|
|
16749
16777
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionInternalModule>;
|
|
16750
16778
|
}
|
|
16751
16779
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-documents-layout') {
|
|
4
|
+
.co-transaction-documents-customer-portal {
|
|
5
|
+
display: block;
|
|
6
|
+
margin: 20px 0;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
box-shadow: 0px 2px 0px 0px rgba(234, 234, 234, 0.7);
|
|
10
|
+
background-color: #FFFFFF;
|
|
11
|
+
|
|
12
|
+
h2, p {
|
|
13
|
+
margin-bottom: 10px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@import "../../dialog/transaction-header/dialog-transaction-header-branch/style/material";
|
|
14
14
|
@import "../../transaction-labeled-warehouse-location-button/style/material";
|
|
15
15
|
@import "../../transaction-header/transaction-header-customer-portal/style/material";
|
|
16
|
+
@import "../../transaction-documents-customer-portal/style/material";
|
|
16
17
|
@import "../../transaction-line-checkbox-list/style/material";
|
|
17
18
|
@import "../../transaction-card/transaction-card/style/material";
|
|
18
19
|
//@import "../../transaction-document-button/style/material";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "300.1.
|
|
3
|
+
"version": "300.1.8",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"@colijnit/catalog": ">=300.1.0",
|
|
14
14
|
"@colijnit/corecomponents_v12": ">=300.1.0",
|
|
15
15
|
"@colijnit/ioneconnector": ">=300.1.0",
|
|
16
|
-
"@colijnit/mainapi": ">=300.1.
|
|
16
|
+
"@colijnit/mainapi": ">=300.1.6",
|
|
17
17
|
"@colijnit/product": ">=300.1.0",
|
|
18
18
|
"@colijnit/relation": ">=300.1.0",
|
|
19
19
|
"@colijnit/relationapi": ">=300.1.0",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
|
-
"@colijnit/sharedcomponents": ">=300.1.
|
|
22
|
-
"@colijnit/transactionapi": ">=300.1.
|
|
21
|
+
"@colijnit/sharedcomponents": ">=300.1.4",
|
|
22
|
+
"@colijnit/transactionapi": ">=300.1.7"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.8.1"
|