@colijnit/transaction 262.1.37 → 262.1.39
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 +249 -111
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +76 -54
- package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +20 -0
- package/lib/component/transaction-line-activities/style/_layout.scss +3 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -511,7 +511,7 @@ declare class TransactionDialogService extends DialogService {
|
|
|
511
511
|
protected dynamicComponentService: DynamicComponentService;
|
|
512
512
|
protected dictionaryService: DictionaryService;
|
|
513
513
|
constructor(_config: TransactionDialogMappingConfig, dynamicComponentService: DynamicComponentService, dictionaryService: DictionaryService);
|
|
514
|
-
showCharacteristics(title: string, choices: TransactionLineCharacteristicChoice[], value: string): Promise<DialogResponseInterface>;
|
|
514
|
+
showCharacteristics(transaction: TransactionInfo, title: string, transactionLine: TransactionLineInfo, choices: TransactionLineCharacteristicChoice[], value: string): Promise<DialogResponseInterface>;
|
|
515
515
|
showVoucherCode(pendingReason: string): Promise<DialogResponseInterface>;
|
|
516
516
|
showWarehouseCC(transaction: TransactionInfo, transactionLine: TransactionLineInfo, decimals: number, quantity: number, commissionCode: string, warehouse: number, showDirectSell: boolean, reason: string): Promise<DialogResponseInterface>;
|
|
517
517
|
showBranch(): Promise<DialogResponseInterface>;
|
|
@@ -3896,32 +3896,88 @@ declare class ConfirmationDialogModule {
|
|
|
3896
3896
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationDialogModule>;
|
|
3897
3897
|
}
|
|
3898
3898
|
|
|
3899
|
+
declare class TransactionLineService {
|
|
3900
|
+
transactionLineSet: BehaviorSubject<boolean>;
|
|
3901
|
+
set transactionLine(value: TransactionLineInfo);
|
|
3902
|
+
get transactionLine(): TransactionLineInfo;
|
|
3903
|
+
set selected(value: boolean);
|
|
3904
|
+
get selected(): boolean;
|
|
3905
|
+
lineHasLogisticalState: boolean;
|
|
3906
|
+
lineIsOrdered: boolean;
|
|
3907
|
+
lineIsDelivered: boolean;
|
|
3908
|
+
lineIsInvoiced: boolean;
|
|
3909
|
+
lineIsReceived: boolean;
|
|
3910
|
+
lineQuantityToInvoice: number;
|
|
3911
|
+
lineQuantityInvoiced: number;
|
|
3912
|
+
lineQuantityToReceive: number;
|
|
3913
|
+
lineQuantityReceived: number;
|
|
3914
|
+
lineQuantityToDeliver: number;
|
|
3915
|
+
lineQuantityDelivered: number;
|
|
3916
|
+
lineQuantityToAllocate: number;
|
|
3917
|
+
lineQuantityAllocated: number;
|
|
3918
|
+
lineQuantityOrdered: number;
|
|
3919
|
+
lineQuantityPlanningRequested: number;
|
|
3920
|
+
lineQuantityPlanningPreferredDateEntered: number;
|
|
3921
|
+
lineQuantityToBePicked: number;
|
|
3922
|
+
lineQuantityToBePickedAndPicked: number;
|
|
3923
|
+
lineQuantityPicked: number;
|
|
3924
|
+
lineQuantityPlanningFinal: number;
|
|
3925
|
+
lineQuantityReceivedUnprocessed: number;
|
|
3926
|
+
lineQuantityReceivedUnprocessedAndProcessed: number;
|
|
3927
|
+
lineQuantityPurchaseConfirmed: number;
|
|
3928
|
+
lineQuantityTransportNotification: number;
|
|
3929
|
+
lineQuantityInvoiceControl: number;
|
|
3930
|
+
lineQuantitySignedOff: number;
|
|
3931
|
+
lineQuantityReturnRequested: number;
|
|
3932
|
+
decimals: number;
|
|
3933
|
+
isText: boolean;
|
|
3934
|
+
isArticle: boolean;
|
|
3935
|
+
showingMargins: boolean;
|
|
3936
|
+
lineVisible: boolean;
|
|
3937
|
+
private _transactionLine;
|
|
3938
|
+
constructor();
|
|
3939
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineService, never>;
|
|
3940
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionLineService>;
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3899
3943
|
declare class CharacteristicAnswerComponent extends DialogBaseComponent implements OnInit {
|
|
3900
3944
|
private _changeDetector;
|
|
3945
|
+
transactionHeaderService: TransactionHeaderService;
|
|
3946
|
+
transactionLineService: TransactionLineService;
|
|
3947
|
+
transactionService: TransactionService;
|
|
3948
|
+
iconCacheService: IconCacheService;
|
|
3901
3949
|
title: string;
|
|
3950
|
+
transactionKind: TransactionKind;
|
|
3902
3951
|
set choices(value: TransactionLineCharacteristicChoice[]);
|
|
3903
3952
|
get choices(): TransactionLineCharacteristicChoice[];
|
|
3904
3953
|
value: string;
|
|
3905
3954
|
readonly okClick: EventEmitter<string>;
|
|
3906
3955
|
showClass(): boolean;
|
|
3956
|
+
readonly icons: typeof Icon;
|
|
3907
3957
|
viewModels: {
|
|
3908
3958
|
value: string;
|
|
3909
3959
|
checked: boolean;
|
|
3910
3960
|
}[];
|
|
3961
|
+
transactionInfo: TransactionInfo;
|
|
3962
|
+
transactionLine: TransactionLineInfo;
|
|
3963
|
+
articleName: string;
|
|
3964
|
+
articleNr: string;
|
|
3965
|
+
protected readonly buttonType: typeof AppPopupButtonType;
|
|
3911
3966
|
private _choices;
|
|
3912
|
-
constructor(_changeDetector: ChangeDetectorRef);
|
|
3913
|
-
ngOnInit(): void
|
|
3967
|
+
constructor(_changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionService: TransactionService, iconCacheService: IconCacheService);
|
|
3968
|
+
ngOnInit(): Promise<void>;
|
|
3914
3969
|
handleChecked(choice: string): void;
|
|
3915
3970
|
handleOkClick(): void;
|
|
3916
3971
|
onKeyDown(event: KeyboardEvent): void;
|
|
3917
3972
|
private _prepareViewModels;
|
|
3973
|
+
private setArticleName;
|
|
3918
3974
|
static ɵfac: i0.ɵɵFactoryDeclaration<CharacteristicAnswerComponent, never>;
|
|
3919
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CharacteristicAnswerComponent, "co-characteristic-answer", never, { "title": { "alias": "title"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "okClick": "okClick"; }, never, never, false, never>;
|
|
3975
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CharacteristicAnswerComponent, "co-characteristic-answer", never, { "title": { "alias": "title"; "required": false; }; "transactionKind": { "alias": "transactionKind"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "okClick": "okClick"; }, never, never, false, never>;
|
|
3920
3976
|
}
|
|
3921
3977
|
|
|
3922
3978
|
declare class CharacteristicAnswerModule {
|
|
3923
3979
|
static ɵfac: i0.ɵɵFactoryDeclaration<CharacteristicAnswerModule, never>;
|
|
3924
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CharacteristicAnswerModule, [typeof CharacteristicAnswerComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i3.CoDialogModule, typeof i3.InputCheckboxModule, typeof i3.InputTextModule, typeof PipeModule], [typeof CharacteristicAnswerComponent]>;
|
|
3980
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CharacteristicAnswerModule, [typeof CharacteristicAnswerComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i3.CoDialogModule, typeof i3.InputCheckboxModule, typeof i3.InputTextModule, typeof PipeModule, typeof i3.IconModule], [typeof CharacteristicAnswerComponent]>;
|
|
3925
3981
|
static ɵinj: i0.ɵɵInjectorDeclaration<CharacteristicAnswerModule>;
|
|
3926
3982
|
}
|
|
3927
3983
|
|
|
@@ -4687,50 +4743,6 @@ declare class TransactionMappingService {
|
|
|
4687
4743
|
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionMappingService>;
|
|
4688
4744
|
}
|
|
4689
4745
|
|
|
4690
|
-
declare class TransactionLineService {
|
|
4691
|
-
transactionLineSet: BehaviorSubject<boolean>;
|
|
4692
|
-
set transactionLine(value: TransactionLineInfo);
|
|
4693
|
-
get transactionLine(): TransactionLineInfo;
|
|
4694
|
-
set selected(value: boolean);
|
|
4695
|
-
get selected(): boolean;
|
|
4696
|
-
lineHasLogisticalState: boolean;
|
|
4697
|
-
lineIsOrdered: boolean;
|
|
4698
|
-
lineIsDelivered: boolean;
|
|
4699
|
-
lineIsInvoiced: boolean;
|
|
4700
|
-
lineIsReceived: boolean;
|
|
4701
|
-
lineQuantityToInvoice: number;
|
|
4702
|
-
lineQuantityInvoiced: number;
|
|
4703
|
-
lineQuantityToReceive: number;
|
|
4704
|
-
lineQuantityReceived: number;
|
|
4705
|
-
lineQuantityToDeliver: number;
|
|
4706
|
-
lineQuantityDelivered: number;
|
|
4707
|
-
lineQuantityToAllocate: number;
|
|
4708
|
-
lineQuantityAllocated: number;
|
|
4709
|
-
lineQuantityOrdered: number;
|
|
4710
|
-
lineQuantityPlanningRequested: number;
|
|
4711
|
-
lineQuantityPlanningPreferredDateEntered: number;
|
|
4712
|
-
lineQuantityToBePicked: number;
|
|
4713
|
-
lineQuantityToBePickedAndPicked: number;
|
|
4714
|
-
lineQuantityPicked: number;
|
|
4715
|
-
lineQuantityPlanningFinal: number;
|
|
4716
|
-
lineQuantityReceivedUnprocessed: number;
|
|
4717
|
-
lineQuantityReceivedUnprocessedAndProcessed: number;
|
|
4718
|
-
lineQuantityPurchaseConfirmed: number;
|
|
4719
|
-
lineQuantityTransportNotification: number;
|
|
4720
|
-
lineQuantityInvoiceControl: number;
|
|
4721
|
-
lineQuantitySignedOff: number;
|
|
4722
|
-
lineQuantityReturnRequested: number;
|
|
4723
|
-
decimals: number;
|
|
4724
|
-
isText: boolean;
|
|
4725
|
-
isArticle: boolean;
|
|
4726
|
-
showingMargins: boolean;
|
|
4727
|
-
lineVisible: boolean;
|
|
4728
|
-
private _transactionLine;
|
|
4729
|
-
constructor();
|
|
4730
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineService, never>;
|
|
4731
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionLineService>;
|
|
4732
|
-
}
|
|
4733
|
-
|
|
4734
4746
|
interface ActionButtonsCfgNames {
|
|
4735
4747
|
addDocumentBtn?: string;
|
|
4736
4748
|
addProductTextBtn?: string;
|
|
@@ -9989,7 +10001,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
9989
10001
|
showCategories: boolean;
|
|
9990
10002
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
9991
10003
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
9992
|
-
currentTitle(): "
|
|
10004
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
9993
10005
|
ngOnDestroy(): void;
|
|
9994
10006
|
handleClickWrapper(event: MouseEvent): void;
|
|
9995
10007
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10015,7 +10027,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10015
10027
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10016
10028
|
ngOnDestroy(): void;
|
|
10017
10029
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10018
|
-
currentTitle(): "
|
|
10030
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10019
10031
|
handleClickWrapper(event: MouseEvent): void;
|
|
10020
10032
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10021
10033
|
private handleDocumentClick;
|
|
@@ -10067,7 +10079,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10067
10079
|
showCategories: boolean;
|
|
10068
10080
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10069
10081
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10070
|
-
currentTitle(): "
|
|
10082
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10071
10083
|
ngOnDestroy(): void;
|
|
10072
10084
|
handleClickWrapper(event: MouseEvent): void;
|
|
10073
10085
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -16193,6 +16205,7 @@ declare class TransactionServiceOverviewComponent extends TransactionHeaderBaseC
|
|
|
16193
16205
|
putDocumentInList(doc: CoDocument): void;
|
|
16194
16206
|
removeDocumentFromList(doc: CoDocument): void;
|
|
16195
16207
|
sortDocumentList(): void;
|
|
16208
|
+
openTaskActivity(activity: Activity): void;
|
|
16196
16209
|
openCreatedTask(taskId: number): Promise<void>;
|
|
16197
16210
|
getWizardQuestionPairs(text?: string): string[][];
|
|
16198
16211
|
scrollActivitiesToBottom(): void;
|
|
@@ -16518,6 +16531,7 @@ declare class TransactionHeaderCustomerPortalComponent {
|
|
|
16518
16531
|
transactionHeaderService: TransactionHeaderService;
|
|
16519
16532
|
protected transactionService: TransactionService;
|
|
16520
16533
|
private _transactionConnectorService;
|
|
16534
|
+
private _paymentConnectorService;
|
|
16521
16535
|
readonly cfgNames: typeof TransactionCfgName;
|
|
16522
16536
|
readonly icons: typeof Icon;
|
|
16523
16537
|
set transaction(value: TransactionInfoResponse);
|
|
@@ -16527,10 +16541,16 @@ declare class TransactionHeaderCustomerPortalComponent {
|
|
|
16527
16541
|
showPlanningDialog: boolean;
|
|
16528
16542
|
isPurchaseOrder: boolean;
|
|
16529
16543
|
canPlanDelivery: boolean;
|
|
16544
|
+
paidDown: number;
|
|
16545
|
+
settled: number;
|
|
16546
|
+
depositAmount: number;
|
|
16547
|
+
depositSettled: number;
|
|
16548
|
+
depositRemainder: number;
|
|
16530
16549
|
private _transaction;
|
|
16531
|
-
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionService: TransactionService, _transactionConnectorService: TransactionConnectorService);
|
|
16550
|
+
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionService: TransactionService, _transactionConnectorService: TransactionConnectorService, _paymentConnectorService: TransactionPaymentConnectorService);
|
|
16532
16551
|
checkCanPlanDelivery(): void;
|
|
16533
16552
|
get transactionTotal(): TransactionTotal;
|
|
16553
|
+
getDepositInfo(): void;
|
|
16534
16554
|
getWeekNumber(dateInput: Date | string | null | undefined): string;
|
|
16535
16555
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderCustomerPortalComponent, never>;
|
|
16536
16556
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderCustomerPortalComponent, "co-transaction-header-customer-portal", never, { "transaction": { "alias": "transaction"; "required": false; }; "showPreferredPlanning": { "alias": "showPreferredPlanning"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -16591,6 +16611,7 @@ declare class TransactionLineActivitiesComponent implements OnInit {
|
|
|
16591
16611
|
private _changeDetector;
|
|
16592
16612
|
activityList: ElementRef<HTMLDivElement>;
|
|
16593
16613
|
openActivities: ComponentActivityListComponent;
|
|
16614
|
+
activityTimeline: ActivityTimelineComponent;
|
|
16594
16615
|
transactionId: number;
|
|
16595
16616
|
readonly tableNames: typeof TableName;
|
|
16596
16617
|
readonly cfgNames: typeof TransactionCfgName;
|
|
@@ -16599,11 +16620,12 @@ declare class TransactionLineActivitiesComponent implements OnInit {
|
|
|
16599
16620
|
user: RelationSmallObject$1;
|
|
16600
16621
|
transactionInfo: TransactionInfo;
|
|
16601
16622
|
showActivityHeader: boolean;
|
|
16623
|
+
showActivityLists: boolean;
|
|
16602
16624
|
constructor(transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
|
|
16603
16625
|
showClass(): boolean;
|
|
16604
16626
|
ngOnInit(): void;
|
|
16605
16627
|
finishedActivitiesRefreshRequested(): Promise<void>;
|
|
16606
|
-
fullActivitiesRefreshRequested(): void
|
|
16628
|
+
fullActivitiesRefreshRequested(): Promise<void>;
|
|
16607
16629
|
scrollActivitiesToBottom(): void;
|
|
16608
16630
|
getActivities(): Promise<void>;
|
|
16609
16631
|
openCreatedTask(taskId: number): Promise<void>;
|
|
@@ -3,5 +3,25 @@
|
|
|
3
3
|
.co-dialog:not(.is-mobile) .co-dialog-wrapper {
|
|
4
4
|
width: 500px;
|
|
5
5
|
}
|
|
6
|
+
.co-dialog-header-title {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
span {
|
|
11
|
+
&.sku-title {
|
|
12
|
+
font-size: 10px;
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.co-icon {
|
|
17
|
+
width: 20px;
|
|
18
|
+
height: 20px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.co-dialog-characteristic-question {
|
|
22
|
+
font-size: 14px;
|
|
23
|
+
margin-top: 30px;
|
|
24
|
+
display: block;
|
|
25
|
+
}
|
|
6
26
|
}
|
|
7
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "262.1.
|
|
3
|
+
"version": "262.1.39",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/core": ">=20.3.16",
|
|
12
12
|
"@colijnit/articleapi": ">=262.1.0",
|
|
13
13
|
"@colijnit/catalog": ">=262.1.0",
|
|
14
|
-
"@colijnit/corecomponents_v12": ">=262.1.
|
|
14
|
+
"@colijnit/corecomponents_v12": ">=262.1.16",
|
|
15
15
|
"@colijnit/ioneconnector": ">=262.1.0",
|
|
16
16
|
"@colijnit/mainapi": ">=262.1.14",
|
|
17
17
|
"@colijnit/product": ">=262.1.0",
|