@colijnit/transaction 262.1.52 → 262.1.54

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
@@ -4707,6 +4707,7 @@ interface TransactionBarButton {
4707
4707
  }
4708
4708
 
4709
4709
  interface TransactionButtonBarMappingConfig {
4710
+ buttonPlanning: Map<TransactionKind, TransactionTypeCategory>;
4710
4711
  buttonBarButtons: Map<TransactionKind, any[]>;
4711
4712
  }
4712
4713
  interface TransactionFilterMappingConfig {
@@ -4756,6 +4757,7 @@ declare class TransactionMappingService {
4756
4757
  private _handledByDescription;
4757
4758
  constructor(_buttonBarConfig: TransactionButtonBarMappingConfig, _filterConfig: TransactionFilterMappingConfig, _searchConfig: TransactionSearchMappingConfig, _lineConfig: TransactionLineMappingConfig, _cardConfig: TransactionCardMappingConfig, _sidePanelConfig: TransactionSidePanelMappingConfig, _quickAccessConfig: TransactionQuickAccessMappingConfig);
4758
4759
  getHandledByDescription(type: TransactionKind): string;
4760
+ getPlanningRubricForTransactionKind(type: TransactionKind): TransactionTypeCategory;
4759
4761
  getButtonBar(type: TransactionKind): TransactionBarButton[];
4760
4762
  getSidePanelComponent(type: TransactionKind): any;
4761
4763
  getQuickAccessComponent(type: TransactionKind, category: TransactionTypeCategory): any;
@@ -5316,6 +5318,7 @@ declare class EditableLabelComponent implements ScreenConfigAdapterComponent {
5316
5318
  set editMode(value: boolean);
5317
5319
  get editMode(): boolean;
5318
5320
  readonly: boolean;
5321
+ forceReadonly: boolean;
5319
5322
  crossedOut: boolean;
5320
5323
  inputLabel: boolean;
5321
5324
  insideLabel: string;
@@ -5325,14 +5328,13 @@ declare class EditableLabelComponent implements ScreenConfigAdapterComponent {
5325
5328
  objectConfigName: string;
5326
5329
  hidden: boolean;
5327
5330
  required: boolean;
5328
- forceReadonly: boolean;
5329
5331
  maxLength: number;
5330
5332
  decimals: number;
5331
5333
  redErrorBackground: boolean;
5332
5334
  private _editMode;
5333
5335
  private _inputTextComponent;
5334
5336
  static ɵfac: i0.ɵɵFactoryDeclaration<EditableLabelComponent, never>;
5335
- static ɵcmp: i0.ɵɵComponentDeclaration<EditableLabelComponent, "co-editable-label", never, { "model": { "alias": "model"; "required": false; }; "editModel": { "alias": "editModel"; "required": false; }; "commit": { "alias": "commit"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "crossedOut": { "alias": "crossedOut"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "insideLabel": { "alias": "insideLabel"; "required": false; }; }, { "editModelChange": "editModelChange"; }, never, never, false, never>;
5337
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditableLabelComponent, "co-editable-label", never, { "model": { "alias": "model"; "required": false; }; "editModel": { "alias": "editModel"; "required": false; }; "commit": { "alias": "commit"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; "crossedOut": { "alias": "crossedOut"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "insideLabel": { "alias": "insideLabel"; "required": false; }; }, { "editModelChange": "editModelChange"; }, never, never, false, never>;
5336
5338
  }
5337
5339
 
5338
5340
  declare class EditableLabelModule {
@@ -9760,7 +9762,7 @@ declare class TransactionLineAssemblyTimeModule {
9760
9762
 
9761
9763
  declare class TransactionLineSidePanelDefaultModule {
9762
9764
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelDefaultModule, never>;
9763
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelDefaultModule, [typeof TransactionLineSidePanelDefaultComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof i3.ButtonModule, typeof i3.CollapsibleModule, typeof i3.InputTextModule, typeof i3.InputDatePickerModule, typeof i3.InputNumberPickerModule, typeof TransactionLinePriceListModule, typeof TransactionLineVatModule, typeof TransactionLineAmountModule, typeof TransactionLineDiscountPercentageModule, typeof TransactionLineDeliveryMethodModule, typeof TransactionLineDeliveryDateModule, typeof TransactionLineReferenceModule, typeof TransactionLineCommissionCodeModule, typeof TransactionLineWarehouseModule, typeof TransactionLineDiscountAmountModule, typeof TransactionLineQuantumDiscountModule, typeof TransactionLineSpecialDiscountModule, typeof TransactionLineSupplierModule, typeof TransactionLineDescriptionModule, typeof TransactionLinePriceModule, typeof TransactionLineSupplierButtonModule, typeof TransactionLineSupplierArtNrModule, typeof TransactionLineAssemblyTimeModule, typeof EditableLabelModule], [typeof TransactionLineSidePanelDefaultComponent]>;
9765
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelDefaultModule, [typeof TransactionLineSidePanelDefaultComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof i3.ButtonModule, typeof i3.CollapsibleModule, typeof i3.InputTextModule, typeof i3.InputDatePickerModule, typeof i3.InputNumberPickerModule, typeof TransactionLinePriceListModule, typeof TransactionLineVatModule, typeof TransactionLineAmountModule, typeof TransactionLineDiscountPercentageModule, typeof TransactionLineDeliveryMethodModule, typeof TransactionLineDeliveryDateModule, typeof TransactionLineReferenceModule, typeof TransactionLineCommissionCodeModule, typeof TransactionLineWarehouseModule, typeof TransactionLineDiscountAmountModule, typeof TransactionLineQuantumDiscountModule, typeof TransactionLineSpecialDiscountModule, typeof TransactionLineSupplierModule, typeof TransactionLineDescriptionModule, typeof TransactionLinePriceModule, typeof TransactionLineSupplierButtonModule, typeof TransactionLineSupplierArtNrModule, typeof TransactionLineAssemblyTimeModule, typeof EditableLabelModule, typeof i3.ScreenConfigurationModule], [typeof TransactionLineSidePanelDefaultComponent]>;
9764
9766
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelDefaultModule>;
9765
9767
  }
9766
9768
 
@@ -10040,7 +10042,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
10040
10042
  showCategories: boolean;
10041
10043
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10042
10044
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10043
- currentTitle(): "OVERVIEW" | "MARGINS";
10045
+ currentTitle(): "MARGINS" | "OVERVIEW";
10044
10046
  ngOnDestroy(): void;
10045
10047
  handleClickWrapper(event: MouseEvent): void;
10046
10048
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10066,7 +10068,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
10066
10068
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
10067
10069
  ngOnDestroy(): void;
10068
10070
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10069
- currentTitle(): "OVERVIEW" | "MARGINS";
10071
+ currentTitle(): "MARGINS" | "OVERVIEW";
10070
10072
  handleClickWrapper(event: MouseEvent): void;
10071
10073
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10072
10074
  private handleDocumentClick;
@@ -10118,7 +10120,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10118
10120
  showCategories: boolean;
10119
10121
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10120
10122
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10121
- currentTitle(): "OVERVIEW" | "MARGINS";
10123
+ currentTitle(): "MARGINS" | "OVERVIEW";
10122
10124
  ngOnDestroy(): void;
10123
10125
  handleClickWrapper(event: MouseEvent): void;
10124
10126
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -11536,7 +11538,7 @@ declare class TransactionSearchSalesQuotationTileComponent extends TransactionSe
11536
11538
 
11537
11539
  declare class TransactionSearchSalesQuotationTileModule {
11538
11540
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSearchSalesQuotationTileModule, never>;
11539
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionSearchSalesQuotationTileModule, [typeof TransactionSearchSalesQuotationTileComponent], [typeof i2.CommonModule, typeof AvatarModule, typeof i3.InputCheckboxModule, typeof i3.IconModule, typeof PipeModule], [typeof TransactionSearchSalesQuotationTileComponent]>;
11541
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionSearchSalesQuotationTileModule, [typeof TransactionSearchSalesQuotationTileComponent], [typeof i2.CommonModule, typeof AvatarModule, typeof i3.InputCheckboxModule, typeof i3.IconModule, typeof PipeModule, typeof i3.ScreenConfigurationModule], [typeof TransactionSearchSalesQuotationTileComponent]>;
11540
11542
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionSearchSalesQuotationTileModule>;
11541
11543
  }
11542
11544
 
@@ -13800,7 +13802,7 @@ declare class DialogTransactionHeaderDiscountModule {
13800
13802
 
13801
13803
  declare class TransactionTotalsModule {
13802
13804
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionTotalsModule, never>;
13803
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionTotalsModule, [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof DialogTransactionHeaderDiscountModule], [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent]>;
13805
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionTotalsModule, [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof DialogTransactionHeaderDiscountModule, typeof i3.ScreenConfigurationModule], [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent]>;
13804
13806
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionTotalsModule>;
13805
13807
  }
13806
13808
 
@@ -14027,6 +14029,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14027
14029
  private _changeDetector;
14028
14030
  transactionHeaderService: TransactionHeaderService;
14029
14031
  private _overlayService;
14032
+ private _mappingService;
14030
14033
  private _lineSelection;
14031
14034
  readonly categories: typeof TransactionTypeCategory;
14032
14035
  readonly viewModes: typeof ContentViewMode;
@@ -14103,7 +14106,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14103
14106
  private _salesPersonInputComponentRef;
14104
14107
  private _salesPersonAvatarComponentRef;
14105
14108
  private _containerForFillMode;
14106
- constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, _overlayService: OverlayService, _lineSelection: LineSelectionService);
14109
+ constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, _overlayService: OverlayService, _mappingService: TransactionMappingService, _lineSelection: LineSelectionService);
14107
14110
  ngOnInit(): Promise<void>;
14108
14111
  ngOnDestroy(): void;
14109
14112
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
@@ -14155,7 +14158,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14155
14158
  handleSaveForm(formResponse: FormResponse): Promise<void>;
14156
14159
  private _handleCloseSalesPersonInput;
14157
14160
  private _commitTransactionSalesPerson;
14158
- private _fetchPlanOrderIfNeeded;
14161
+ private _handlePlanOrderAndActiveCategoryIfNeeded;
14159
14162
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
14160
14163
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInternalComponent, "co-transaction-internal", never, { "confirmationAnalysisId": { "alias": "confirmationAnalysisId"; "required": false; }; "posOrderData": { "alias": "posOrderData"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showViewModeButtons": { "alias": "showViewModeButtons"; "required": false; }; "transactionPlanning": { "alias": "transactionPlanning"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; "resetActiveRubric": { "alias": "resetActiveRubric"; "required": false; }; "showPresets": { "alias": "showPresets"; "required": false; }; "showQuickAccess": { "alias": "showQuickAccess"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; }, { "serviceRequested": "serviceRequested"; }, never, never, false, never>;
14161
14164
  }
@@ -14376,9 +14379,6 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14376
14379
  get transactionKind(): TransactionKind;
14377
14380
  set activeCategory(value: TransactionTypeCategory);
14378
14381
  get activeCategory(): TransactionTypeCategory;
14379
- set planningLines(value: boolean);
14380
- get planningLines(): boolean;
14381
- private _planningLines;
14382
14382
  showClass(): boolean;
14383
14383
  private _activeCategory;
14384
14384
  private _componentRef;
@@ -14391,7 +14391,7 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14391
14391
  ngOnDestroy(): void;
14392
14392
  private _prepareContent;
14393
14393
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionQuickAccessComponent, never>;
14394
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; }, {}, never, never, false, never>;
14394
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; }, {}, never, never, false, never>;
14395
14395
  }
14396
14396
 
14397
14397
  declare class TransactionQuickAccessOrderConfirmationComponent extends TransactionHeaderBaseComponent implements OnInit, OnDestroy {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.52",
3
+ "version": "262.1.54",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",