@colijnit/transaction 262.1.7 → 262.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-262.1.7.tgz +0 -0
- package/fesm2022/colijnit-transaction.mjs +449 -228
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +42 -8
- package/lib/component/transaction-line-planning-tasks/style/_layout.scss +10 -0
- package/lib/component/transaction-line-planning-tasks/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-planning-tasks/style/_theme.scss +4 -0
- package/lib/component/transaction-line-planning-tasks/style/material.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-planning/style/_layout.scss +24 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-planning/style/_material-definition.scss +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -350,6 +350,7 @@ import { ServiceWizardAnswer } from '@colijnit/transactionapi/build/model/servic
|
|
|
350
350
|
import { PriorityType } from '@colijnit/mainapi/build/enum/priority-type.enum';
|
|
351
351
|
import { SupplierStockForecast } from '@colijnit/transactionapi/build/model/supplier-stock-forecast';
|
|
352
352
|
import { PurchaseReservationSalesLine } from '@colijnit/transactionapi/build/model/purchase-reservation-sales-line.bo';
|
|
353
|
+
import { Task } from '@colijnit/mainapi/build/model/task.bo';
|
|
353
354
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
354
355
|
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
355
356
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
@@ -365,6 +366,7 @@ import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/qua
|
|
|
365
366
|
import { LogisticStickerRequest } from '@colijnit/transactionapi/build/model/logistic-sticker-request';
|
|
366
367
|
import { Payment } from '@colijnit/transactionapi/build/model/payment.bo';
|
|
367
368
|
import { WorkflowCategoryType } from '@colijnit/mainapi/build/enum/workflow-category.enum';
|
|
369
|
+
import { ActivityViewModel } from '@colijnit/mainapi/build/model/activity-view-model';
|
|
368
370
|
|
|
369
371
|
declare class Version {
|
|
370
372
|
name: string;
|
|
@@ -2030,6 +2032,7 @@ declare enum Icon {
|
|
|
2030
2032
|
AtSolid = "at_solid",
|
|
2031
2033
|
BarcodeRegular = "barcode_regular",
|
|
2032
2034
|
BarcodeSolid = "barcode_solid",
|
|
2035
|
+
Bars = "bars",
|
|
2033
2036
|
BarsFilter = "bars_filter",
|
|
2034
2037
|
BoxesPackingRegular = "boxes_packing_regular",
|
|
2035
2038
|
BoxOpenFullRegular = "box_open_full_regular",
|
|
@@ -2992,6 +2995,7 @@ declare class TransactionHeaderService {
|
|
|
2992
2995
|
lineOperationStatuses: LineOperationStatus[];
|
|
2993
2996
|
transactionTotal: TransactionTotal;
|
|
2994
2997
|
transactionMarginInfo: TransactionMarginInfo;
|
|
2998
|
+
showPlanningTasks: boolean;
|
|
2995
2999
|
showingMargins: boolean;
|
|
2996
3000
|
orderLineSets: OrderLineSetInfo[];
|
|
2997
3001
|
fullyInvoiced: boolean;
|
|
@@ -6560,7 +6564,6 @@ declare class TransactionHeaderTypeModule {
|
|
|
6560
6564
|
declare class TransactionHeaderPaymentConditionComponent extends TransactionFilterPopupHeaderBaseComponent<PaymentCondition> implements OnInit {
|
|
6561
6565
|
fields: Object;
|
|
6562
6566
|
paymentConditionModel: PaymentCondition;
|
|
6563
|
-
defaultValue: ObjectConfigurationDefaultValueType;
|
|
6564
6567
|
ngOnInit(): void;
|
|
6565
6568
|
commitTransactionPaymentCondition(condition: PaymentCondition): Promise<boolean>;
|
|
6566
6569
|
private _setPaymentConditionModel;
|
|
@@ -8579,6 +8582,7 @@ declare class DeliveryPlanningService {
|
|
|
8579
8582
|
currentTransId: number;
|
|
8580
8583
|
deletingOrder: PlanOrder;
|
|
8581
8584
|
linesPlanOrder: PlanOrder;
|
|
8585
|
+
planningTask: Task;
|
|
8582
8586
|
availabilityCheckEvent: EventEmitter<PlanOrder>;
|
|
8583
8587
|
availabilityResetEvent: EventEmitter<void>;
|
|
8584
8588
|
showPlanningPopup: EventEmitter<void>;
|
|
@@ -10864,10 +10868,10 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
|
|
|
10864
10868
|
}, weekDay: PlanningTransportWeekDay, transportWeekRow: PlanningTransportWeekDay[]): void;
|
|
10865
10869
|
getOrderLinesPlanned(order: PlanOrder): Promise<void>;
|
|
10866
10870
|
getTransportOrders(transportDay: PlanningTransportWeekDay): Promise<void>;
|
|
10867
|
-
planOrderLines(order: PlanOrder, transportDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[]): Promise<void>;
|
|
10871
|
+
planOrderLines(order: PlanOrder, transportDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[], withTasks?: boolean): Promise<void>;
|
|
10868
10872
|
planSelectedLines(transportDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[]): Promise<void>;
|
|
10869
10873
|
getSequenceOrderValue(order: PlanOrder): Promise<void>;
|
|
10870
|
-
handlePopupPlanEvent(event: [PlanOrder, PlanningTransportWeekDay, PlanningTransportWeekDay[]]): Promise<void>;
|
|
10874
|
+
handlePopupPlanEvent(event: [PlanOrder, PlanningTransportWeekDay, PlanningTransportWeekDay[]], withTasks?: boolean): Promise<void>;
|
|
10871
10875
|
handleSettingsReset(): void;
|
|
10872
10876
|
handleSettingsSaved(): Promise<void>;
|
|
10873
10877
|
openSettingsDialog(transportDay: PlanningTransportWeekDay): void;
|
|
@@ -10902,6 +10906,7 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
|
|
|
10902
10906
|
transId: number;
|
|
10903
10907
|
insertIndex: number;
|
|
10904
10908
|
}, planningTransportWeek: PlanningTransportWeekDay[], transportDay: PlanningTransportWeekDay): void;
|
|
10909
|
+
handlePlanTask(task: Task, planningTransportWeekDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[]): Promise<void>;
|
|
10905
10910
|
private _planCalendar;
|
|
10906
10911
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewComponent, never>;
|
|
10907
10912
|
static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningOverviewComponent, "co-delivery-planning-overview", never, { "employeeView": { "alias": "employeeView"; "required": false; }; "currentMode": { "alias": "currentMode"; "required": false; }; "currentViewMode": { "alias": "currentViewMode"; "required": false; }; "currentPlanningViewMode": { "alias": "currentPlanningViewMode"; "required": false; }; }, { "updatePlanningTransportEvent": "updatePlanningTransportEvent"; "resetPlanningTransportEvent": "resetPlanningTransportEvent"; }, never, never, false, never>;
|
|
@@ -13303,7 +13308,7 @@ declare class TransactionLineInterbranchReceiveGoodsComponent extends Transactio
|
|
|
13303
13308
|
ngOnDestroy(): void;
|
|
13304
13309
|
updateQuantityToReceive(): void;
|
|
13305
13310
|
submit(): boolean;
|
|
13306
|
-
getGoodsReceiptHistory(): Promise<void>;
|
|
13311
|
+
getGoodsReceiptHistory(transactionId: number, lineNr: number): Promise<void>;
|
|
13307
13312
|
handleSaveDetailsEdit(): void;
|
|
13308
13313
|
handleSelectStock(availableStock: AvailableStock): void;
|
|
13309
13314
|
handleAmountToReceiveChanged(): void;
|
|
@@ -16388,13 +16393,22 @@ declare class TransactionHeaderHandledByModule {
|
|
|
16388
16393
|
|
|
16389
16394
|
declare class TransactionLineActivitiesComponent implements OnInit {
|
|
16390
16395
|
transactionService: TransactionService;
|
|
16396
|
+
private _changeDetector;
|
|
16391
16397
|
readonly tableNames: typeof TableName;
|
|
16398
|
+
readonly cfgNames: typeof TransactionCfgName;
|
|
16399
|
+
readonly WorkflowCategoryType: typeof WorkflowCategoryType;
|
|
16392
16400
|
activities: Activity[];
|
|
16393
|
-
|
|
16401
|
+
user: RelationSmallObject$1;
|
|
16402
|
+
transactionInfo: TransactionInfo;
|
|
16394
16403
|
transactionId: number;
|
|
16395
|
-
|
|
16404
|
+
openActivities: ComponentActivityListComponent;
|
|
16405
|
+
constructor(transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
|
|
16396
16406
|
showClass(): boolean;
|
|
16397
16407
|
ngOnInit(): void;
|
|
16408
|
+
finishedActivitiesRefreshRequested(): Promise<void>;
|
|
16409
|
+
fullActivitiesRefreshRequested(): void;
|
|
16410
|
+
getActivities(): Promise<void>;
|
|
16411
|
+
openCreatedTask(taskId: number): Promise<void>;
|
|
16398
16412
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesComponent, never>;
|
|
16399
16413
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesComponent, "co-transaction-line-activities", never, { "transactionId": { "alias": "transactionId"; "required": false; }; }, {}, never, never, false, never>;
|
|
16400
16414
|
}
|
|
@@ -16415,8 +16429,9 @@ declare class TransactionLineActivitiesContactMomentsComponent implements OnInit
|
|
|
16415
16429
|
ngOnDestroy(): void;
|
|
16416
16430
|
handleDialogClose(event: void): void;
|
|
16417
16431
|
handleSaveContactMoment(contactMoment: ContactMoment): void;
|
|
16418
|
-
makeRequest(): MergeContactMomentsRequest;
|
|
16419
16432
|
handleEditContactMoment(contactMoment: ContactMoment): void;
|
|
16433
|
+
handleDeleteContactMoment(contactMoment: ContactMoment): Promise<void>;
|
|
16434
|
+
private _makeRequest;
|
|
16420
16435
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesContactMomentsComponent, never>;
|
|
16421
16436
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesContactMomentsComponent, "co-transaction-line-activities-contact-moments", never, { "table": { "alias": "table"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, {}, never, never, true, never>;
|
|
16422
16437
|
}
|
|
@@ -16455,9 +16470,28 @@ declare class TransactionLineConversionAssistantModule {
|
|
|
16455
16470
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineConversionAssistantModule>;
|
|
16456
16471
|
}
|
|
16457
16472
|
|
|
16473
|
+
declare class TransactionLinePlanningTasksComponent {
|
|
16474
|
+
transactionService: TransactionService;
|
|
16475
|
+
deliveryPlanningService: DeliveryPlanningService;
|
|
16476
|
+
readonly tableNames: typeof TableName;
|
|
16477
|
+
transactionId: string;
|
|
16478
|
+
showClass(): boolean;
|
|
16479
|
+
constructor(transactionService: TransactionService, deliveryPlanningService: DeliveryPlanningService);
|
|
16480
|
+
ngOnInit(): void;
|
|
16481
|
+
handleDragStarted(activity: ActivityViewModel): void;
|
|
16482
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLinePlanningTasksComponent, never>;
|
|
16483
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLinePlanningTasksComponent, "co-transaction-line-planning-tasks", never, {}, {}, never, never, false, never>;
|
|
16484
|
+
}
|
|
16485
|
+
|
|
16486
|
+
declare class TransactionLinePlanningTasksModule {
|
|
16487
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLinePlanningTasksModule, never>;
|
|
16488
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLinePlanningTasksModule, [typeof TransactionLinePlanningTasksComponent], [typeof i2.CommonModule, typeof i6.ComponentActivityListModule], [typeof TransactionLinePlanningTasksComponent]>;
|
|
16489
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLinePlanningTasksModule>;
|
|
16490
|
+
}
|
|
16491
|
+
|
|
16458
16492
|
declare class TransactionInternalModule {
|
|
16459
16493
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalModule, never>;
|
|
16460
|
-
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]>;
|
|
16494
|
+
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 TransactionLinePlanningTasksModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
|
|
16461
16495
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionInternalModule>;
|
|
16462
16496
|
}
|
|
16463
16497
|
|
|
File without changes
|
package/lib/component/transaction-quick-access/transaction-quick-access-planning/style/_layout.scss
CHANGED
|
@@ -36,7 +36,30 @@
|
|
|
36
36
|
align-items: center;
|
|
37
37
|
justify-content: center;
|
|
38
38
|
gap: 1em;
|
|
39
|
-
|
|
39
|
+
|
|
40
|
+
.planning-line-view-button {
|
|
41
|
+
padding: 0.25em;
|
|
42
|
+
co-icon {
|
|
43
|
+
svg {
|
|
44
|
+
path {
|
|
45
|
+
fill: $tp-transaction-quick-access-planning-view-button-color;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.selected {
|
|
52
|
+
background-color: $tp-transaction-quick-access-planning-view-button-color-selected;
|
|
53
|
+
co-icon {
|
|
54
|
+
svg {
|
|
55
|
+
path {
|
|
56
|
+
fill: white;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.planning-button, .planning-lsp-button {
|
|
40
63
|
padding: 0.25em;
|
|
41
64
|
background-color: white;
|
|
42
65
|
border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
$tp-transaction-quick-access-search-width: 300px !default;
|
|
2
2
|
$tp-transaction-quick-access-search-height: 32px !default;
|
|
3
3
|
$tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
|
|
4
|
+
$tp-transaction-quick-access-planning-view-button-color: #171721;
|
|
5
|
+
$tp-transaction-quick-access-planning-view-button-color-selected: #1A73E8;
|
|
6
|
+
|