@colijnit/transaction 301.1.2 → 301.1.4
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/fesm2022/colijnit-transaction.mjs +246 -39
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +27 -4
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ import { TransactionMarginInfo } from '@colijnit/transactionapi/build/model/tran
|
|
|
196
196
|
import { OutstandingAmountCustomer } from '@colijnit/transactionapi/build/model/outstanding-amount-customer.bo';
|
|
197
197
|
import { PaymentAnalysis } from '@colijnit/transactionapi/build/model/payment-analysis.bo';
|
|
198
198
|
import { OrderLinesPlannedRequest } from '@colijnit/transactionapi/build/model/order-lines-planned-request.bo';
|
|
199
|
+
import { AddTasksToPlanningRequest } from '@colijnit/transactionapi/build/model/add-tasks-to-planning-request.bo';
|
|
199
200
|
import { CreateServiceOrderWithSourceTransactionLineRequest } from '@colijnit/transactionapi/build/model/create-service-order-with-source-transaction-line-request';
|
|
200
201
|
import { PrintDeliveryNotesRequest } from '@colijnit/transactionapi/build/model/print-delivery-notes-request';
|
|
201
202
|
import { CreateServiceOrderWithSourceGoodRequest } from '@colijnit/transactionapi/build/model/create-service-order-with-source-good-request';
|
|
@@ -315,6 +316,7 @@ import { RelationService } from '@colijnit/relation';
|
|
|
315
316
|
import * as i6 from '@colijnit/sharedcomponents';
|
|
316
317
|
import { SharedService, AgendaEventPerDay, StockTransactionClick, StatusbarData, CalendarView, SendMethod, WeekStart, FormBuilderUserFormComponent, ComponentActivityListComponent, ActivityTimelineComponent } from '@colijnit/sharedcomponents';
|
|
317
318
|
import { ExternalCatalogAddArticleRequest } from '@colijnit/transactionapi/build/model/external-catalog-add-article-request';
|
|
319
|
+
import { Task } from '@colijnit/mainapi/build/model/task.bo';
|
|
318
320
|
import { TransactionDeliveryCostLineInfo } from '@colijnit/transactionapi/build/model/transaction-delivery-cost-line-info.bo';
|
|
319
321
|
import { UserRoleType } from '@colijnit/ioneconnector/build/enum/user-role-type.enum';
|
|
320
322
|
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
@@ -360,7 +362,6 @@ import { ServiceWizardAnswer } from '@colijnit/transactionapi/build/model/servic
|
|
|
360
362
|
import { PriorityType } from '@colijnit/mainapi/build/enum/priority-type.enum';
|
|
361
363
|
import { SupplierStockForecast } from '@colijnit/transactionapi/build/model/supplier-stock-forecast';
|
|
362
364
|
import { PurchaseReservationSalesLine } from '@colijnit/transactionapi/build/model/purchase-reservation-sales-line.bo';
|
|
363
|
-
import { Task } from '@colijnit/mainapi/build/model/task.bo';
|
|
364
365
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
365
366
|
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
366
367
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
@@ -1447,6 +1448,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1447
1448
|
getTransportOrders(request: GetTransportOrdersRequest): Promise<PlanOrder[]>;
|
|
1448
1449
|
getOrderLinesToPlan(request: OrderLinesToPlanRequest): Promise<PlanOrderLine[]>;
|
|
1449
1450
|
getOrderLinesPlanned(request: OrderLinesPlannedRequest): Promise<PlanOrderLine[]>;
|
|
1451
|
+
addTasksToPlanning(request: AddTasksToPlanningRequest): Promise<boolean>;
|
|
1450
1452
|
undoDeliveryByReportId(reportId: number): Promise<DataServiceResponseData>;
|
|
1451
1453
|
getDefaultEmailAddressListForPurchaseOrder(uuid: string): Promise<string[]>;
|
|
1452
1454
|
getPlanOrder(transId: number, showLoader?: boolean): Promise<PlanOrder>;
|
|
@@ -1950,6 +1952,7 @@ declare class TransactionConnectorService {
|
|
|
1950
1952
|
getTransportOrders(request: GetTransportOrdersRequest): Promise<PlanOrder[]>;
|
|
1951
1953
|
getOrderLinesToPlan(request: OrderLinesToPlanRequest): Promise<PlanOrderLine[]>;
|
|
1952
1954
|
getOrderLinesPlanned(request: OrderLinesPlannedRequest): Promise<PlanOrderLine[]>;
|
|
1955
|
+
addTasksToPlanning(request: AddTasksToPlanningRequest): Promise<boolean>;
|
|
1953
1956
|
undoDeliveryByReportId(reportId: number): Promise<DataServiceResponseData>;
|
|
1954
1957
|
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<ValidationResult>;
|
|
1955
1958
|
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<ValidationResult>;
|
|
@@ -2857,9 +2860,11 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2857
2860
|
mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
|
|
2858
2861
|
deleteDocument(documentId: number): Promise<ValidationResult>;
|
|
2859
2862
|
getOrderLinesPlanned(request: OrderLinesPlannedRequest): Promise<PlanOrderLine[]>;
|
|
2863
|
+
addTasksToPlanning(request: AddTasksToPlanningRequest): Promise<boolean>;
|
|
2860
2864
|
getPlanOrder(transId: number, showLoader?: boolean): Promise<PlanOrder>;
|
|
2861
2865
|
getDistricts(): Promise<District[]>;
|
|
2862
2866
|
insertActivity(activity: Activity): Promise<ValidationResult>;
|
|
2867
|
+
insertTask(activity: Activity): Promise<Task>;
|
|
2863
2868
|
updateActivity(activity: Activity): Promise<boolean>;
|
|
2864
2869
|
deleteActivity(activity: Activity): Promise<boolean>;
|
|
2865
2870
|
getActivitiesForTransaction(transactionId: number): Promise<Activity[]>;
|
|
@@ -11171,8 +11176,12 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
|
|
|
11171
11176
|
readonly icons: typeof Icon;
|
|
11172
11177
|
readonly tileModes: typeof DeliveryPlanningTileModes;
|
|
11173
11178
|
ordersLoaded: boolean;
|
|
11179
|
+
showTaskCreator: boolean;
|
|
11180
|
+
taskName: string;
|
|
11181
|
+
taskDescription: string;
|
|
11174
11182
|
activeDropIndex: number | null;
|
|
11175
11183
|
private _subs;
|
|
11184
|
+
private _taskStartDate;
|
|
11176
11185
|
disabled: boolean;
|
|
11177
11186
|
transportDay: PlanningTransportWeekDay;
|
|
11178
11187
|
transportSelected: EventEmitter<PlanningTransportWeekDay>;
|
|
@@ -11260,6 +11269,13 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
|
|
|
11260
11269
|
handleDropdownClicked(event: MouseEvent): void;
|
|
11261
11270
|
handleDropdownActionClicked(clickAction: DeliveryPlanningTileDropdownActions): void;
|
|
11262
11271
|
handleCalendarDragStart(object: SchedulingObject): void;
|
|
11272
|
+
handleTaskCreation(taskDate: Date): void;
|
|
11273
|
+
closeTaskCreator(): void;
|
|
11274
|
+
handleTaskSave(): Promise<void>;
|
|
11275
|
+
private _createTaskActivity;
|
|
11276
|
+
private _toIsoDate;
|
|
11277
|
+
private _toTime;
|
|
11278
|
+
private _pad;
|
|
11263
11279
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileComponent, never>;
|
|
11264
11280
|
static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningOverviewTileComponent, "co-delivery-planning-overview-tile", never, { "disabled": { "alias": "disabled"; "required": false; }; "transportDay": { "alias": "transportDay"; "required": false; }; }, { "transportSelected": "transportSelected"; "expandedEvent": "expandedEvent"; "deleteOrderEvent": "deleteOrderEvent"; "planOrderOnSameTimeEvent": "planOrderOnSameTimeEvent"; "deleteOrderLineEvent": "deleteOrderLineEvent"; "editOrderEvent": "editOrderEvent"; "getTransportOrdersEvent": "getTransportOrdersEvent"; "timeChangeEvent": "timeChangeEvent"; "openSettingsDialogEvent": "openSettingsDialogEvent"; "availabilityChecked": "availabilityChecked"; "calendarPlanEvent": "calendarPlanEvent"; "moveEvent": "moveEvent"; "reorderOrderEvent": "reorderOrderEvent"; "moveOrderUpEvent": "moveOrderUpEvent"; "moveOrderDownEvent": "moveOrderDownEvent"; }, never, never, false, never>;
|
|
11265
11281
|
}
|
|
@@ -11529,7 +11545,7 @@ declare class DeliveryPlanningOverviewTileDropdownModule {
|
|
|
11529
11545
|
|
|
11530
11546
|
declare class DeliveryPlanningOverviewTileModule {
|
|
11531
11547
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileModule, never>;
|
|
11532
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DeliveryPlanningOverviewTileModule, [typeof DeliveryPlanningOverviewTileComponent], [typeof i2.CommonModule, typeof PipeModule, typeof i3.CollapsibleModule, typeof DeliveryPlanningOverviewTileLineModule, typeof DeliveryPlanningTileStatusModule, typeof i3.CoDialogModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i13.DragDropModule, typeof i3.ListOfValuesModule, typeof i3.IconModule, typeof DeliveryPlanningOverviewShortLineModule, typeof DefaultOkCancelButtonsModule, typeof i3.InputCheckboxModule, typeof i3.HourSchedulingComponentModule, typeof i3.HourSchedulingExpandableComponentModule, typeof i3.HourSchedulingExpandableTemplateModule, typeof DeliveryPlanningOverviewTileDropdownModule], [typeof DeliveryPlanningOverviewTileComponent]>;
|
|
11548
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DeliveryPlanningOverviewTileModule, [typeof DeliveryPlanningOverviewTileComponent], [typeof i2.CommonModule, typeof PipeModule, typeof i3.CollapsibleModule, typeof DeliveryPlanningOverviewTileLineModule, typeof DeliveryPlanningTileStatusModule, typeof i3.CoDialogModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i13.DragDropModule, typeof i3.ListOfValuesModule, typeof i3.IconModule, typeof DeliveryPlanningOverviewShortLineModule, typeof DefaultOkCancelButtonsModule, typeof i3.InputCheckboxModule, typeof i3.HourSchedulingComponentModule, typeof i3.HourSchedulingExpandableComponentModule, typeof i3.HourSchedulingExpandableTemplateModule, typeof DeliveryPlanningOverviewTileDropdownModule, typeof i3.InputTextareaModule], [typeof DeliveryPlanningOverviewTileComponent]>;
|
|
11533
11549
|
static ɵinj: i0.ɵɵInjectorDeclaration<DeliveryPlanningOverviewTileModule>;
|
|
11534
11550
|
}
|
|
11535
11551
|
|
|
@@ -15813,6 +15829,7 @@ declare class ReturnLinesWizardComponent {
|
|
|
15813
15829
|
needScroll: EventEmitter<void>;
|
|
15814
15830
|
newLineCreationProcessStarted: EventEmitter<void>;
|
|
15815
15831
|
lineReadyToAdd: EventEmitter<void>;
|
|
15832
|
+
lineCreationProcessFailed: EventEmitter<void>;
|
|
15816
15833
|
linesCreated: EventEmitter<void>;
|
|
15817
15834
|
set showPhotosAndDescription(value: boolean);
|
|
15818
15835
|
get showPhotosAndDescription(): boolean;
|
|
@@ -15840,8 +15857,9 @@ declare class ReturnLinesWizardComponent {
|
|
|
15840
15857
|
upsertDocument(document: CoDocument): Promise<void>;
|
|
15841
15858
|
getCounterLabel(): string;
|
|
15842
15859
|
private _createNewLineRequest;
|
|
15860
|
+
private _handleLineCreationFailure;
|
|
15843
15861
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnLinesWizardComponent, never>;
|
|
15844
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReturnLinesWizardComponent, "co-return-lines-wizard", never, { "lines": { "alias": "lines"; "required": false; }; "sourceTransId": { "alias": "sourceTransId"; "required": false; }; }, { "needScroll": "needScroll"; "newLineCreationProcessStarted": "newLineCreationProcessStarted"; "lineReadyToAdd": "lineReadyToAdd"; "linesCreated": "linesCreated"; }, never, never, false, never>;
|
|
15862
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReturnLinesWizardComponent, "co-return-lines-wizard", never, { "lines": { "alias": "lines"; "required": false; }; "sourceTransId": { "alias": "sourceTransId"; "required": false; }; }, { "needScroll": "needScroll"; "newLineCreationProcessStarted": "newLineCreationProcessStarted"; "lineReadyToAdd": "lineReadyToAdd"; "lineCreationProcessFailed": "lineCreationProcessFailed"; "linesCreated": "linesCreated"; }, never, never, false, never>;
|
|
15845
15863
|
}
|
|
15846
15864
|
|
|
15847
15865
|
declare class WizardReturnLineDisplayTileComponent {
|
|
@@ -15912,6 +15930,7 @@ declare class DeliveryChooserComponent {
|
|
|
15912
15930
|
|
|
15913
15931
|
declare class ReturnForSalesOrderDialogComponent implements OnInit {
|
|
15914
15932
|
returnService: TransactionReturnService;
|
|
15933
|
+
private _dialogService;
|
|
15915
15934
|
private _changeDetector;
|
|
15916
15935
|
returnDialogElementRef: ElementRef<HTMLElement>;
|
|
15917
15936
|
scrollAnchor: ElementRef;
|
|
@@ -15927,16 +15946,18 @@ declare class ReturnForSalesOrderDialogComponent implements OnInit {
|
|
|
15927
15946
|
showDeliveryChooser: boolean;
|
|
15928
15947
|
deliveryChooserNextButtonDisabled: boolean;
|
|
15929
15948
|
private _resizeObserver;
|
|
15930
|
-
constructor(returnService: TransactionReturnService, _changeDetector: ChangeDetectorRef);
|
|
15949
|
+
constructor(returnService: TransactionReturnService, _dialogService: DialogService, _changeDetector: ChangeDetectorRef);
|
|
15931
15950
|
ngOnInit(): Promise<void>;
|
|
15932
15951
|
handleNewLineCreationProcessStarted(): void;
|
|
15933
15952
|
handleLineReadyToAdd(): void;
|
|
15934
15953
|
handleLinesWizardButtonNextClick(): Promise<void>;
|
|
15935
15954
|
handleLinesCreated(): void;
|
|
15955
|
+
handleLineCreationProcessFailed(): void;
|
|
15936
15956
|
handleDeliveryMethodChosen(): void;
|
|
15937
15957
|
handleDeliveryChooserButtonNextClick(): Promise<void>;
|
|
15938
15958
|
handleDeliveryPreferencesSetToOrder(): void;
|
|
15939
15959
|
handleNeedScroll(): void;
|
|
15960
|
+
handleCloseClick(): Promise<void>;
|
|
15940
15961
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnForSalesOrderDialogComponent, never>;
|
|
15941
15962
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReturnForSalesOrderDialogComponent, "co-return-for-sales-order-dialog", never, { "sourceSalesOrderTransId": { "alias": "sourceSalesOrderTransId"; "required": false; }; "sourceSalesOrderLines": { "alias": "sourceSalesOrderLines"; "required": false; }; }, { "closeClick": "closeClick"; "returnOrderCreatedAndFilled": "returnOrderCreatedAndFilled"; }, never, never, false, never>;
|
|
15942
15963
|
}
|
|
@@ -18211,6 +18232,7 @@ declare class TransactionInvoiceCheckOrderTileComponent {
|
|
|
18211
18232
|
readonly columnAlign: typeof ColumnAlign;
|
|
18212
18233
|
readonly icons: typeof Icon;
|
|
18213
18234
|
newBookingPrice: number;
|
|
18235
|
+
newQuantity: number;
|
|
18214
18236
|
invoiceCheckOrder: InvoiceCheckOrderInterface;
|
|
18215
18237
|
lineSelectedEvent: EventEmitter<{
|
|
18216
18238
|
selected: boolean;
|
|
@@ -18236,6 +18258,7 @@ declare class TransactionInvoiceCheckOrderTileComponent {
|
|
|
18236
18258
|
handleSaveRow(data: InvoiceCheckOrderLineInterface | {}): void;
|
|
18237
18259
|
handleOpenTransaction(transNo: number): void;
|
|
18238
18260
|
handleOrderSelected(selected: boolean, data: InvoiceCheckOrderInterface): void;
|
|
18261
|
+
isOrderSelected(): boolean;
|
|
18239
18262
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInvoiceCheckOrderTileComponent, never>;
|
|
18240
18263
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInvoiceCheckOrderTileComponent, "co-transaction-invoice-check-order-tile", never, { "invoiceCheckOrder": { "alias": "invoiceCheckOrder"; "required": false; }; }, { "lineSelectedEvent": "lineSelectedEvent"; "saveRowEvent": "saveRowEvent"; "selectAllLinesEvent": "selectAllLinesEvent"; "openTransactionEvent": "openTransactionEvent"; "selectTransactionEvent": "selectTransactionEvent"; }, never, never, false, never>;
|
|
18241
18264
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "301.1.
|
|
3
|
+
"version": "301.1.4",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@colijnit/catalog": ">=301.1.0 < 302",
|
|
14
14
|
"@colijnit/corecomponents_v12": ">=301.1.0 < 302",
|
|
15
15
|
"@colijnit/ioneconnector": ">=301.1.0 < 302",
|
|
16
|
-
"@colijnit/mainapi": ">=301.1.
|
|
16
|
+
"@colijnit/mainapi": ">=301.1.1 < 302",
|
|
17
17
|
"@colijnit/product": ">=301.1.0 < 302",
|
|
18
18
|
"@colijnit/relation": ">=301.1.0 < 302",
|
|
19
19
|
"@colijnit/relationapi": ">=301.1.0 < 302",
|