@colijnit/transaction 301.1.2 → 301.1.3
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 +154 -11
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +21 -5
- package/package.json +1 -1
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[]>;
|
|
@@ -10289,7 +10294,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
10289
10294
|
showCategories: boolean;
|
|
10290
10295
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10291
10296
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10292
|
-
currentTitle(): "
|
|
10297
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10293
10298
|
ngOnDestroy(): void;
|
|
10294
10299
|
handleClickWrapper(event: MouseEvent): void;
|
|
10295
10300
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10315,7 +10320,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10315
10320
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10316
10321
|
ngOnDestroy(): void;
|
|
10317
10322
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10318
|
-
currentTitle(): "
|
|
10323
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10319
10324
|
handleClickWrapper(event: MouseEvent): void;
|
|
10320
10325
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10321
10326
|
private handleDocumentClick;
|
|
@@ -10367,7 +10372,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10367
10372
|
showCategories: boolean;
|
|
10368
10373
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10369
10374
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10370
|
-
currentTitle(): "
|
|
10375
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10371
10376
|
ngOnDestroy(): void;
|
|
10372
10377
|
handleClickWrapper(event: MouseEvent): void;
|
|
10373
10378
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -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
|
|