@colijnit/transaction 300.1.21 → 300.1.23

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
@@ -3211,6 +3211,12 @@ declare class CheckoutOverviewRelationEditComponent implements OnInit, AfterView
3211
3211
  handleDeliveryLocalHashChange(localHash: string): void;
3212
3212
  checkSameAddress(checked: boolean): void;
3213
3213
  handleRelationNumberChange(relationNumber: string): void;
3214
+ /**
3215
+ * When the relation has both an active delivery (A) and billing (F) address and the invoice
3216
+ * address hasn't been explicitly decoupled from the delivery address yet, link the billing
3217
+ * address to the order as its invoice address and uncheck "same as delivery" accordingly.
3218
+ */
3219
+ private _autoSelectBillingAddressAsInvoice;
3214
3220
  private _getFirstActiveAddressOrCreateNew;
3215
3221
  private _getFirstAddress;
3216
3222
  private _getFirstAddressOfType;
@@ -6172,6 +6178,12 @@ declare class TransactionHeaderPopupRelationComponent extends TransactionHeaderP
6172
6178
  setIndexDeliveryAddress(nawNr: number): Promise<void>;
6173
6179
  setLocalHashDeliveryAddress(localHash: string): Promise<void>;
6174
6180
  setIndexInvoiceAddress(nawNr: number): Promise<void>;
6181
+ /**
6182
+ * When the relation has both an active delivery (A) and billing (F) address and no invoice
6183
+ * address has already been explicitly chosen for this transaction, link the billing address
6184
+ * to the order as its invoice address and uncheck "same as delivery" accordingly.
6185
+ */
6186
+ private _autoSelectBillingAddressAsInvoice;
6175
6187
  setLocalHashInvoiceAddress(localHash: string): Promise<void>;
6176
6188
  checkSameAddress(checked: boolean): void;
6177
6189
  handleInputChange(request: RelationSuggestionsRequest): void;
@@ -10127,7 +10139,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
10127
10139
  showCategories: boolean;
10128
10140
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10129
10141
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10130
- currentTitle(): "MARGINS" | "OVERVIEW";
10142
+ currentTitle(): "OVERVIEW" | "MARGINS";
10131
10143
  ngOnDestroy(): void;
10132
10144
  handleClickWrapper(event: MouseEvent): void;
10133
10145
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10153,7 +10165,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
10153
10165
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
10154
10166
  ngOnDestroy(): void;
10155
10167
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10156
- currentTitle(): "MARGINS" | "OVERVIEW";
10168
+ currentTitle(): "OVERVIEW" | "MARGINS";
10157
10169
  handleClickWrapper(event: MouseEvent): void;
10158
10170
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10159
10171
  private handleDocumentClick;
@@ -10205,7 +10217,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10205
10217
  showCategories: boolean;
10206
10218
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10207
10219
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10208
- currentTitle(): "MARGINS" | "OVERVIEW";
10220
+ currentTitle(): "OVERVIEW" | "MARGINS";
10209
10221
  ngOnDestroy(): void;
10210
10222
  handleClickWrapper(event: MouseEvent): void;
10211
10223
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10326,7 +10338,9 @@ declare class TransactionLinePurchaseReceiveGoodsComponent extends TransactionLi
10326
10338
  quantityToReceive: number;
10327
10339
  calculatedStickerAmount: number;
10328
10340
  showLocation: boolean;
10329
- deleting: boolean;
10341
+ set deleting(value: boolean);
10342
+ get deleting(): boolean;
10343
+ private _deleting;
10330
10344
  private _subs;
10331
10345
  private _defaultReportId;
10332
10346
  constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _formMaster: FormMasterService);
@@ -16841,10 +16855,11 @@ declare class TransactionSalesPersonInputModule {
16841
16855
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionSalesPersonInputModule>;
16842
16856
  }
16843
16857
 
16844
- declare class TransactionHeaderHandledByComponent implements ScreenConfigAdapterComponent, OnInit {
16858
+ declare class TransactionHeaderHandledByComponent implements ScreenConfigAdapterComponent {
16845
16859
  private _mappingService;
16846
16860
  private _dictionary;
16847
- transaction: TransactionInfoResponse;
16861
+ set transaction(value: TransactionInfoResponse);
16862
+ get transaction(): TransactionInfoResponse;
16848
16863
  showClass(): boolean;
16849
16864
  objectConfigName: string;
16850
16865
  hidden: boolean;
@@ -16857,8 +16872,9 @@ declare class TransactionHeaderHandledByComponent implements ScreenConfigAdapter
16857
16872
  relationName: string;
16858
16873
  handledByDescription: string;
16859
16874
  tooltip: string;
16875
+ private _transaction;
16860
16876
  constructor(_mappingService: TransactionMappingService, _dictionary: DictionaryService);
16861
- ngOnInit(): void;
16877
+ private _setHandledByDescription;
16862
16878
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderHandledByComponent, never>;
16863
16879
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderHandledByComponent, "co-transaction-header-handled-by", never, { "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, false, never>;
16864
16880
  }
@@ -29,5 +29,8 @@
29
29
  color: #DB2C2C ;
30
30
  }
31
31
  }
32
+ .delete-button.disabled {
33
+ pointer-events: none;
34
+ }
32
35
  }
33
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "300.1.21",
3
+ "version": "300.1.23",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",