@colijnit/transaction 262.1.1 → 262.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/index.d.ts CHANGED
@@ -306,7 +306,7 @@ import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, Sc
306
306
  import * as i5 from '@colijnit/relation';
307
307
  import { RelationService } from '@colijnit/relation';
308
308
  import * as i6 from '@colijnit/sharedcomponents';
309
- import { SharedService, StatusbarData, CalendarView, SendMethod, AgendaEventPerDay, FormBuilderUserFormComponent, ComponentActivityListComponent } from '@colijnit/sharedcomponents';
309
+ import { SharedService, AgendaEventPerDay, StatusbarData, CalendarView, SendMethod, FormBuilderUserFormComponent, ComponentActivityListComponent } from '@colijnit/sharedcomponents';
310
310
  import { ExternalCatalogAddArticleRequest } from '@colijnit/transactionapi/build/model/external-catalog-add-article-request';
311
311
  import { TransactionDeliveryCostLineInfo } from '@colijnit/transactionapi/build/model/transaction-delivery-cost-line-info.bo';
312
312
  import { UserRoleType } from '@colijnit/ioneconnector/build/enum/user-role-type.enum';
@@ -1067,6 +1067,7 @@ declare class TransactionConnectorAdapterService {
1067
1067
  searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
1068
1068
  getSequenceValue(sequenceName: SequenceName): Promise<number>;
1069
1069
  getDeliveryMethods(): Promise<DeliveryMethod$1[]>;
1070
+ getDeliveryMethodsForReturns(): Promise<DeliveryMethod$1[]>;
1070
1071
  getDeliveryOptions(): Promise<DeliveryOption[]>;
1071
1072
  getDiscountCodes(transactionKind: TransactionKind): Promise<DiscountCode[]>;
1072
1073
  setTransactionDiscounts(request: SetTransactionDiscountsRequest): Promise<TransactionInfoResponse>;
@@ -1583,6 +1584,7 @@ declare class TransactionConnectorService {
1583
1584
  searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
1584
1585
  getSequenceValue(sequenceName: SequenceName): Promise<number>;
1585
1586
  getDeliveryMethods(): Promise<DeliveryMethod$1[]>;
1587
+ getDeliveryMethodsForReturns(): Promise<DeliveryMethod$1[]>;
1586
1588
  getDeliveryOptions(): Promise<DeliveryOption[]>;
1587
1589
  getDiscountCodes(transactionKind: TransactionKind): Promise<DiscountCode[]>;
1588
1590
  setTransactionDiscounts(request: SetTransactionDiscountsRequest): Promise<TransactionInfoResponse>;
@@ -2509,6 +2511,7 @@ declare class TransactionService extends PendingReasonService {
2509
2511
  createServiceOrderWithSourceTransactionLineRequest(): Promise<boolean>;
2510
2512
  createSalesQuotation(request: CreateSalesQuotationRequest): Promise<boolean>;
2511
2513
  addRelationToTransaction(relationId: number): Promise<boolean>;
2514
+ doDeliveryPlanningRequest(inputs: DoDeliveryPlanningRequestInputParams): Promise<boolean>;
2512
2515
  getCommissionCodes(languageCode: string): Promise<CoDomainValue[]>;
2513
2516
  getContactTypes(languageCode: string): Promise<CoDomainValue[]>;
2514
2517
  getYesNo(languageCode: string): Promise<CoDomainValue[]>;
@@ -2526,6 +2529,7 @@ declare class TransactionService extends PendingReasonService {
2526
2529
  getArticleListWithBarcodeArticleNrEanCode(search: string): Promise<ArticleLight[]>;
2527
2530
  getMainArticles(): Promise<MainArticle[]>;
2528
2531
  getDeliveryMethods(): Promise<DeliveryMethod$1[]>;
2532
+ getDeliveryMethodsForReturns(): Promise<DeliveryMethod$1[]>;
2529
2533
  getDeliveryOptions(): Promise<DeliveryOption[]>;
2530
2534
  getDiscountCodes(): Promise<DiscountCode[]>;
2531
2535
  setTransactionDiscounts(request: SetTransactionDiscountsRequest): Promise<boolean>;
@@ -2752,6 +2756,10 @@ declare class TransactionService extends PendingReasonService {
2752
2756
  getSLAProducts(): Promise<SLAProduct[]>;
2753
2757
  getTermsAndConditionsForm(transId: number): Promise<void>;
2754
2758
  getTransactionPlanPeriods(transId: number): Promise<PlanTimes[]>;
2759
+ getAgendaEventsPerDayForPreferredPlanning(transId: number): Promise<AgendaEventPerDay[]>;
2760
+ private _createEventsPerDayFromPlanTimes;
2761
+ private _createAgendaEventPerDayFromPlanTimes;
2762
+ private _createAgendaEventFromDayPart;
2755
2763
  getSupplierProducts(transId: number): Promise<SupplierProduct[]>;
2756
2764
  getDeliveryDateForSupplierProduct(goodId: number, supplierId: number): Promise<Date>;
2757
2765
  getPlannedResourcesForTransactionLine(transId: number, lineNr: number): Promise<PlannedResourceForTransactionLine[]>;
@@ -4972,7 +4980,6 @@ declare class TransactionArticleTextComponent implements OnInit, AfterViewInit,
4972
4980
  documents: FilterItemViewmodel[];
4973
4981
  orderLineSetCategories: OrderLineSetCategory[];
4974
4982
  showOnDocuments: number[];
4975
- amount: number;
4976
4983
  color: string;
4977
4984
  title: string;
4978
4985
  selectAll: boolean;
@@ -5034,11 +5041,11 @@ declare class TransactionLineImageAndDescriptionComponent extends TransactionLin
5034
5041
  get activeRubric(): TransactionTypeCategory;
5035
5042
  showDivider: boolean;
5036
5043
  showExpandButton: boolean;
5037
- private _shouldCheckExpandable;
5038
5044
  expandClicked(): void;
5039
5045
  image: string;
5040
5046
  imageAndDescriptionConfigNames: ImageAndDescriptionCfgNames;
5041
5047
  private _subs;
5048
+ private _shouldCheckExpandable;
5042
5049
  ngOnInit(): void;
5043
5050
  ngAfterViewChecked(): void;
5044
5051
  ngOnDestroy(): void;
@@ -8414,7 +8421,7 @@ declare class TransactionGoodsAllocationLineComponent extends TransactionLineBas
8414
8421
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionGoodsAllocationLineComponent, "co-transaction-goods-allocation-line", never, { "lineIndex": { "alias": "lineIndex"; "required": false; }; }, {}, never, never, false, never>;
8415
8422
  }
8416
8423
 
8417
- declare class TransactionLineWarehouseLocationButtonComponent extends TransactionLineBaseComponent {
8424
+ declare class TransactionLineWarehouseLocationButtonComponent extends TransactionLineBaseComponent implements OnInit {
8418
8425
  transactionHeaderService: TransactionHeaderService;
8419
8426
  transactionLineService: TransactionLineService;
8420
8427
  transactionEventService: TransactionEventService;
@@ -8424,18 +8431,20 @@ declare class TransactionLineWarehouseLocationButtonComponent extends Transactio
8424
8431
  protected dictionaryService: DictionaryService;
8425
8432
  protected imageService: TransactionImageService;
8426
8433
  protected changeDetector: ChangeDetectorRef;
8427
- private _dialogService;
8428
8434
  private _articleService;
8429
8435
  readonly icons: typeof Icon;
8430
8436
  showDialogLocation: boolean;
8437
+ suggestedReceiptLocations: SuggestedReceiptLocation[];
8431
8438
  inputLabel: boolean;
8432
8439
  showClass(): boolean;
8433
- constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _dialogService: TransactionDialogService, _articleService: ArticleService);
8440
+ constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _articleService: ArticleService);
8441
+ ngOnInit(): Promise<void>;
8434
8442
  openWarehouseLocationDialog(event: MouseEvent): Promise<void>;
8435
8443
  protected transactionLineSet(): void;
8436
8444
  private _checkLocationValidity;
8437
8445
  private _setDefaultLocationIfExistInWarehouse;
8438
8446
  private _locationExistInWarehouse;
8447
+ private _populateSuggestedReceiptLocations;
8439
8448
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineWarehouseLocationButtonComponent, never>;
8440
8449
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineWarehouseLocationButtonComponent, "co-transaction-line-warehouse-location-button", never, { "inputLabel": { "alias": "inputLabel"; "required": false; }; }, {}, never, never, false, never>;
8441
8450
  }
@@ -9541,6 +9550,7 @@ declare class TransactionLineAssemblyTimeComponent extends TransactionLineBaseCo
9541
9550
  private _editMode;
9542
9551
  commit(): Promise<boolean>;
9543
9552
  handleChangeEditMode(): void;
9553
+ handleAssemblyTimeChange(time: number): void;
9544
9554
  protected transactionLineSet(): void;
9545
9555
  cancelClicked(): void;
9546
9556
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineAssemblyTimeComponent, never>;
@@ -9835,7 +9845,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
9835
9845
  showCategories: boolean;
9836
9846
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
9837
9847
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9838
- currentTitle(): "OVERVIEW" | "MARGINS";
9848
+ currentTitle(): "MARGINS" | "OVERVIEW";
9839
9849
  ngOnDestroy(): void;
9840
9850
  handleClickWrapper(event: MouseEvent): void;
9841
9851
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -9861,7 +9871,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
9861
9871
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
9862
9872
  ngOnDestroy(): void;
9863
9873
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9864
- currentTitle(): "OVERVIEW" | "MARGINS";
9874
+ currentTitle(): "MARGINS" | "OVERVIEW";
9865
9875
  handleClickWrapper(event: MouseEvent): void;
9866
9876
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
9867
9877
  private handleDocumentClick;
@@ -9913,7 +9923,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
9913
9923
  showCategories: boolean;
9914
9924
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
9915
9925
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9916
- currentTitle(): "OVERVIEW" | "MARGINS";
9926
+ currentTitle(): "MARGINS" | "OVERVIEW";
9917
9927
  ngOnDestroy(): void;
9918
9928
  handleClickWrapper(event: MouseEvent): void;
9919
9929
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -13634,8 +13644,6 @@ declare class DialogTransactionPlanningRequest extends DialogTransactionHeaderBa
13634
13644
  private _getAllAvailablePlanDates;
13635
13645
  private _getSelectableDayParts;
13636
13646
  private _applySelectedDate;
13637
- private _createAgendaEventPerDayFromPlanTimes;
13638
- private _createAgendaEventFromDayPart;
13639
13647
  private _getFirstDayOfWeek;
13640
13648
  private _getLastDayOfWeek;
13641
13649
  private _validDate;
@@ -0,0 +1,12 @@
1
+ @include export-module('co-delivery-chooser-layout') {
2
+ .co-delivery-chooser {
3
+ .delivery-chooser-contents {
4
+ display: flex;
5
+ flex-direction: column;
6
+ row-gap: 25px;
7
+ }
8
+ .preferred-planning-contents {
9
+ width: 100%;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-delivery-chooser-theme') {
2
+ .co-delivery-chooser {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -0,0 +1,30 @@
1
+ @include export-module('co-delivery-method-tile-layout') {
2
+ .co-delivery-method-tile {
3
+ .delivery-method-tile-contents {
4
+ display: flex;
5
+ flex-direction: row;
6
+ column-gap: 10px;
7
+
8
+ width: 220px;
9
+ padding: 10px 20px;
10
+
11
+ border-style: solid;
12
+ border-color: #9e9e9e;
13
+ border-width: 2px;
14
+ border-radius: 5px;
15
+
16
+ &.selected {
17
+ border-color: $action-color;
18
+ background-color: #bfd2ff;
19
+ }
20
+
21
+ .description-span {
22
+ width: 100%;
23
+ text-align: start;
24
+ text-overflow: ellipsis;
25
+ overflow: hidden;
26
+ white-space: nowrap;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-delivery-method-tile-theme') {
2
+ .co-delivery-method-tile {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -0,0 +1,11 @@
1
+ @include export-module('co-delivery-method-chooser-layout') {
2
+ .co-delivery-method-chooser {
3
+
4
+ .delivery-method-chooser-contents {
5
+ display: flex;
6
+ flex-direction: row;
7
+ column-gap: 10px;
8
+
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-delivery-method-chooser-theme') {
2
+ .co-delivery-method-chooser {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -57,7 +57,7 @@
57
57
  .actions-wrapper {
58
58
  display: flex;
59
59
  align-items: center;
60
- margin: 15px 25px 0;
60
+ margin: 5px 25px 10px;
61
61
 
62
62
  co-input-checkbox {
63
63
  margin-right: 20px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.1",
3
+ "version": "262.1.3",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -18,8 +18,8 @@
18
18
  "@colijnit/relation": ">=262.1.0",
19
19
  "@colijnit/relationapi": ">=262.1.0",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
- "@colijnit/sharedcomponents": ">=262.1.0",
22
- "@colijnit/transactionapi": ">=262.1.1"
21
+ "@colijnit/sharedcomponents": ">=262.1.3",
22
+ "@colijnit/transactionapi": ">=262.1.3"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"