@colijnit/transaction 262.1.38 → 262.1.40

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/index.d.ts CHANGED
@@ -307,7 +307,7 @@ import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, Sc
307
307
  import * as i5 from '@colijnit/relation';
308
308
  import { RelationService } from '@colijnit/relation';
309
309
  import * as i6 from '@colijnit/sharedcomponents';
310
- import { SharedService, AgendaEventPerDay, StatusbarData, CalendarView, SendMethod, FormBuilderUserFormComponent, ComponentActivityListComponent, ActivityTimelineComponent } from '@colijnit/sharedcomponents';
310
+ import { SharedService, AgendaEventPerDay, StatusbarData, CalendarView, SendMethod, WeekStart, FormBuilderUserFormComponent, ComponentActivityListComponent, ActivityTimelineComponent } from '@colijnit/sharedcomponents';
311
311
  import { ExternalCatalogAddArticleRequest } from '@colijnit/transactionapi/build/model/external-catalog-add-article-request';
312
312
  import { TransactionDeliveryCostLineInfo } from '@colijnit/transactionapi/build/model/transaction-delivery-cost-line-info.bo';
313
313
  import { UserRoleType } from '@colijnit/ioneconnector/build/enum/user-role-type.enum';
@@ -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(): "OVERVIEW" | "MARGINS";
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(): "OVERVIEW" | "MARGINS";
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(): "OVERVIEW" | "MARGINS";
10082
+ currentTitle(): "MARGINS" | "OVERVIEW";
10071
10083
  ngOnDestroy(): void;
10072
10084
  handleClickWrapper(event: MouseEvent): void;
10073
10085
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10943,6 +10955,7 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
10943
10955
  readonly planningActions: typeof DeliveryPlanningUpdateActions;
10944
10956
  readonly tileModes: typeof DeliveryPlanningTileModes;
10945
10957
  deliveryPlanningViewModes: typeof DeliveryPlanningViewModes;
10958
+ weekStart: typeof WeekStart;
10946
10959
  availability: {
10947
10960
  transportDay: PlanningTransportWeekDay;
10948
10961
  available: boolean;
@@ -16193,6 +16206,7 @@ declare class TransactionServiceOverviewComponent extends TransactionHeaderBaseC
16193
16206
  putDocumentInList(doc: CoDocument): void;
16194
16207
  removeDocumentFromList(doc: CoDocument): void;
16195
16208
  sortDocumentList(): void;
16209
+ openTaskActivity(activity: Activity): void;
16196
16210
  openCreatedTask(taskId: number): Promise<void>;
16197
16211
  getWizardQuestionPairs(text?: string): string[][];
16198
16212
  scrollActivitiesToBottom(): void;
@@ -16518,6 +16532,7 @@ declare class TransactionHeaderCustomerPortalComponent {
16518
16532
  transactionHeaderService: TransactionHeaderService;
16519
16533
  protected transactionService: TransactionService;
16520
16534
  private _transactionConnectorService;
16535
+ private _paymentConnectorService;
16521
16536
  readonly cfgNames: typeof TransactionCfgName;
16522
16537
  readonly icons: typeof Icon;
16523
16538
  set transaction(value: TransactionInfoResponse);
@@ -16527,10 +16542,16 @@ declare class TransactionHeaderCustomerPortalComponent {
16527
16542
  showPlanningDialog: boolean;
16528
16543
  isPurchaseOrder: boolean;
16529
16544
  canPlanDelivery: boolean;
16545
+ paidDown: number;
16546
+ settled: number;
16547
+ depositAmount: number;
16548
+ depositSettled: number;
16549
+ depositRemainder: number;
16530
16550
  private _transaction;
16531
- constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionService: TransactionService, _transactionConnectorService: TransactionConnectorService);
16551
+ constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionService: TransactionService, _transactionConnectorService: TransactionConnectorService, _paymentConnectorService: TransactionPaymentConnectorService);
16532
16552
  checkCanPlanDelivery(): void;
16533
16553
  get transactionTotal(): TransactionTotal;
16554
+ getDepositInfo(): void;
16534
16555
  getWeekNumber(dateInput: Date | string | null | undefined): string;
16535
16556
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderCustomerPortalComponent, never>;
16536
16557
  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 +16612,7 @@ declare class TransactionLineActivitiesComponent implements OnInit {
16591
16612
  private _changeDetector;
16592
16613
  activityList: ElementRef<HTMLDivElement>;
16593
16614
  openActivities: ComponentActivityListComponent;
16615
+ activityTimeline: ActivityTimelineComponent;
16594
16616
  transactionId: number;
16595
16617
  readonly tableNames: typeof TableName;
16596
16618
  readonly cfgNames: typeof TransactionCfgName;
@@ -16599,11 +16621,12 @@ declare class TransactionLineActivitiesComponent implements OnInit {
16599
16621
  user: RelationSmallObject$1;
16600
16622
  transactionInfo: TransactionInfo;
16601
16623
  showActivityHeader: boolean;
16624
+ showActivityLists: boolean;
16602
16625
  constructor(transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
16603
16626
  showClass(): boolean;
16604
16627
  ngOnInit(): void;
16605
16628
  finishedActivitiesRefreshRequested(): Promise<void>;
16606
- fullActivitiesRefreshRequested(): void;
16629
+ fullActivitiesRefreshRequested(): Promise<void>;
16607
16630
  scrollActivitiesToBottom(): void;
16608
16631
  getActivities(): Promise<void>;
16609
16632
  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
  }
@@ -0,0 +1,17 @@
1
+ @include export-module('cc-transaction-manual-create-dialog-layout') {
2
+ .co-transaction-manual-create-dialog {
3
+ .co-dialog {
4
+ .co-dialog-wrapper {
5
+ display: flex;
6
+ width: 350px;
7
+ }
8
+ }
9
+ .co-dialog-content {
10
+ margin: 1em 0;
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: 0.5em;
14
+ justify-content: center;
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-transaction-manual-create-dialog-theme') {
2
+ .co-transaction-manual-create-dialog {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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,6 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-documents-theme') {
4
+ .co-transaction-documents-customer-portal {
5
+ }
6
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -42,6 +42,9 @@
42
42
  .co-task-creator {
43
43
  position: sticky;
44
44
  bottom: 0;
45
+ .task-creator-wrapper {
46
+ background: #ffffff;
47
+ }
45
48
  }
46
49
  }
47
50
  .activity-task-creator-wrapper {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.38",
3
+ "version": "262.1.40",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",