@colijnit/transaction 301.1.9 → 301.1.10

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
@@ -2417,6 +2417,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2417
2417
  internalParameterStockMutBeforeDelivery: boolean;
2418
2418
  printColliStickerDefault: boolean;
2419
2419
  canGenerateMultipleOrdersFromSingleQuotation: boolean;
2420
+ returnsAllowedParam: boolean;
2420
2421
  internalPlanDaysParam: number;
2421
2422
  coolingOffPeriodInDaysParam: number;
2422
2423
  contactPersonId: number;
@@ -2468,6 +2469,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2468
2469
  prepareCoolingOffPeriodInDaysParam(): Promise<void>;
2469
2470
  preparePrintColliStickerDefault(): void;
2470
2471
  prepareCanGenerateMultipleOrdersFromSingleQuotationParam(): Promise<void>;
2472
+ prepareReturnsAllowedParam(): Promise<void>;
2471
2473
  getInternalParameter(param: InternalParam): Promise<boolean>;
2472
2474
  getCashLimitValue(param: InternalParam): Promise<number>;
2473
2475
  getInternalDefault(param: InternalDefault): Promise<string>;
@@ -4319,6 +4321,7 @@ declare enum TransactionCfgName {
4319
4321
  RubricInvoiceCheck = "rubricInvoiceCheck",
4320
4322
  RubricReserve = "rubricReserve",
4321
4323
  RubricOrdering = "rubricOrdering",
4324
+ RubricReturn = "rubricReturn",
4322
4325
  LineNr = "lineNr",
4323
4326
  Image = "image",
4324
4327
  Description = "description",
@@ -4388,6 +4391,7 @@ declare enum TransactionCfgName {
4388
4391
  NoCC0ForReserveStickers = "noCC0ForReserveStickers",
4389
4392
  OrderedAmount = "orderedAmount",
4390
4393
  LineWarehouseLocationReceived = "lineWarehouseLocationReceived",
4394
+ ReturnSendButton = "returnSendButton",
4391
4395
  TextEditor = "textEditor",
4392
4396
  OptionList = "optionList",
4393
4397
  ServiceMessage = "serviceMessage",
@@ -5820,6 +5824,10 @@ interface TransactionLineMappingConfig {
5820
5824
  type: TransactionKind;
5821
5825
  category: TransactionTypeCategory;
5822
5826
  }, any>;
5827
+ transactionCategoryComponents?: Map<{
5828
+ type: TransactionKind;
5829
+ category: TransactionTypeCategory;
5830
+ }, any>;
5823
5831
  }
5824
5832
  interface TransactionCardMappingConfig {
5825
5833
  transactionCardComponents: Map<{
@@ -5860,10 +5868,12 @@ declare class TransactionMappingService {
5860
5868
  getSidePanelComponent(type: TransactionKind): any;
5861
5869
  getQuickAccessComponent(type: TransactionKind, category: TransactionTypeCategory): any;
5862
5870
  getTransactionLineComponent(type: TransactionKind, category: TransactionTypeCategory): any;
5871
+ getTransactionCategoryComponent(type: TransactionKind, category: TransactionTypeCategory): any;
5863
5872
  getTransactionCardComponent(type: TransactionKind, category: TransactionTypeCategory): any;
5864
5873
  getTransactionFilterComponent(type: TransactionKind): any;
5865
5874
  getTransactionSearchGridComponent(type: TransactionKind): any;
5866
5875
  getTransactionSearchTileComponent(type: TransactionKind): any;
5876
+ private _findByKindAndCategory;
5867
5877
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionMappingService, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
5868
5878
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionMappingService>;
5869
5879
  }
@@ -6120,12 +6130,10 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
6120
6130
  private _overlayService;
6121
6131
  private _mappingService;
6122
6132
  private _lineSelection;
6123
- readonly categories: typeof TransactionTypeCategory;
6124
6133
  readonly viewModes: typeof ContentViewMode;
6125
6134
  readonly icons: typeof Icon;
6126
6135
  readonly cfgNames: typeof TransactionCfgName;
6127
6136
  readonly transactionKind: typeof TransactionKind;
6128
- readonly category: typeof TransactionTypeCategory;
6129
6137
  screenWidth: number;
6130
6138
  set child(content: ElementRef);
6131
6139
  userFormComponent: FormBuilderUserFormComponent;
@@ -6152,7 +6160,8 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
6152
6160
  showClass(): boolean;
6153
6161
  onResize(event: any): void;
6154
6162
  activeViewMode: ContentViewMode;
6155
- activeCategory: TransactionTypeCategory;
6163
+ set activeCategory(value: TransactionTypeCategory);
6164
+ get activeCategory(): TransactionTypeCategory;
6156
6165
  sidePanelTransactionLine: TransactionLineInfo;
6157
6166
  transactionLine: TransactionLineInfo;
6158
6167
  selectedOrderLineSetDTO: OrderLineSetDTO;
@@ -6162,6 +6171,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
6162
6171
  showReservationPopup: boolean;
6163
6172
  showTransactionText: boolean;
6164
6173
  showArticleText: boolean;
6174
+ showArticleTextDelete: boolean;
6165
6175
  showConversionAssistant: boolean;
6166
6176
  showCopyOrderDialog: boolean;
6167
6177
  showArticleStockPopup: boolean;
@@ -6184,21 +6194,29 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
6184
6194
  lineUUID: string;
6185
6195
  lineDraggedOver: number;
6186
6196
  headerReadOnly: boolean;
6197
+ categoryAllowsViewModes: boolean;
6198
+ shouldShowFooter: boolean;
6199
+ shouldShowAddProduct: boolean;
6200
+ shouldShowTextLineButton: boolean;
6201
+ shouldShowMargin: boolean;
6202
+ shouldShowTotals: boolean;
6187
6203
  statusBarConfigNames: StatusBarCfgNames;
6188
6204
  private _subs;
6189
6205
  private _transaction;
6190
6206
  private _confirmationAnalysisId;
6191
6207
  private _editArticleTextRefLineNr;
6208
+ private _boFactory;
6192
6209
  private _salesPersonInputComponentRef;
6193
6210
  private _salesPersonAvatarComponentRef;
6194
6211
  private _containerForFillMode;
6212
+ private _activeCategory;
6195
6213
  constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, transactionHeaderService: TransactionHeaderService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, _overlayService: OverlayService, _mappingService: TransactionMappingService, _lineSelection: LineSelectionService);
6196
6214
  ngOnInit(): Promise<void>;
6197
6215
  ngOnDestroy(): void;
6198
6216
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
6199
6217
  checkPreferredPlanning(): Promise<void>;
6200
6218
  handleTransactionText(): void;
6201
- handleShowArticleTextOverview(line: TransactionLineInfo): void;
6219
+ handleShowArticleTextOverview(line: TransactionLineInfo): Promise<void>;
6202
6220
  handleShowTransactionText(line: TransactionLineInfo): void;
6203
6221
  handleShowArticleText(line: TransactionLineInfo): void;
6204
6222
  handleShowConversionAssistant(line: TransactionLineInfo): void;
@@ -6215,6 +6233,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
6215
6233
  new: boolean;
6216
6234
  }): Promise<void>;
6217
6235
  handleEditTransactionText(line: TransactionLineInfo): void;
6236
+ deleteArticleText(): Promise<void>;
6218
6237
  handleEditArticleText(line: TransactionLineInfo): void;
6219
6238
  updateArticleLineAmount(amount: number): Promise<void>;
6220
6239
  handleCopyTransactionLine(line: TransactionLineInfo): void;
@@ -6248,6 +6267,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
6248
6267
  private _updateUserActionRequired;
6249
6268
  private _commitTransactionSalesPerson;
6250
6269
  private _handlePlanOrderAndActiveCategoryIfNeeded;
6270
+ private _updateCategoryDependentState;
6251
6271
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
6252
6272
  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; }; "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>;
6253
6273
  }
@@ -10216,6 +10236,7 @@ declare class TransactionLineSidePanelArticleDetailsComponent implements OnInit,
10216
10236
  selectedSupplier: RelationListObject;
10217
10237
  calculatedAssemblyCost: number;
10218
10238
  alternateSuppliers: AlternateSupplierViewmodel[];
10239
+ showArticleStockPopup: boolean;
10219
10240
  private _purchaseAdviceLine;
10220
10241
  private _suppliers;
10221
10242
  showClass(): boolean;
@@ -10230,6 +10251,8 @@ declare class TransactionLineSidePanelArticleDetailsComponent implements OnInit,
10230
10251
  handleAssemblyCostChange(): void;
10231
10252
  handleSelectSupplier(supplier: AlternateSupplierViewmodel): void;
10232
10253
  handleModelChange(model?: any): void;
10254
+ handleViewStockButtonClick(): void;
10255
+ closeArticleStockPopup(): void;
10233
10256
  private _getAlternateSuppliers;
10234
10257
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelArticleDetailsComponent, never>;
10235
10258
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSidePanelArticleDetailsComponent, "co-transaction-line-side-panel-article-details", never, { "suppliers": { "alias": "suppliers"; "required": false; }; "warehouses": { "alias": "warehouses"; "required": false; }; "purchaseAdviceLine": { "alias": "purchaseAdviceLine"; "required": false; }; "onlySupplierAvailable": { "alias": "onlySupplierAvailable"; "required": false; }; }, { "purchaseAdviceLineChange": "purchaseAdviceLineChange"; "closeSideBarClicked": "closeSideBarClicked"; }, never, never, false, never>;
@@ -10262,9 +10285,31 @@ declare class AlternateSupplierTileModule {
10262
10285
  static ɵinj: i0.ɵɵInjectorDeclaration<AlternateSupplierTileModule>;
10263
10286
  }
10264
10287
 
10288
+ declare class TransactionArticleStockComponent extends DialogBaseComponent {
10289
+ iconCacheService: IconCacheService;
10290
+ transactionEventService: TransactionEventService;
10291
+ readonly icons: typeof Icon;
10292
+ article: number;
10293
+ closeClick: EventEmitter<MouseEvent>;
10294
+ showClass(): boolean;
10295
+ articleWarehouse: any[];
10296
+ allWarehouses: any[];
10297
+ constructor(iconCacheService: IconCacheService, transactionEventService: TransactionEventService);
10298
+ handleCloseDialog(Event: any): void;
10299
+ handleTransactionNavigation(transaction: StockTransactionClick): void;
10300
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionArticleStockComponent, never>;
10301
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionArticleStockComponent, "co-transaction-article-stock-dialog", never, { "article": { "alias": "article"; "required": false; }; }, { "closeClick": "closeClick"; }, never, never, false, never>;
10302
+ }
10303
+
10304
+ declare class TransactionArticleStockModule {
10305
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionArticleStockModule, never>;
10306
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionArticleStockModule, [typeof TransactionArticleStockComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.ButtonModule, typeof PipeModule, typeof i3.CollapsibleModule, typeof i3.InputCheckboxModule, typeof i6.StockModule], [typeof TransactionArticleStockComponent]>;
10307
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionArticleStockModule>;
10308
+ }
10309
+
10265
10310
  declare class TransactionLineSidePanelArticleDetailsModule {
10266
10311
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelArticleDetailsModule, never>;
10267
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelArticleDetailsModule, [typeof TransactionLineSidePanelArticleDetailsComponent], [typeof i3.PriceDisplayPipeModule, typeof i3.InputTextModule, typeof i2.CommonModule, typeof PipeModule, typeof i3.IconModule, typeof i3.ListOfValuesModule, typeof CoreModule, typeof i3.InputNumberPickerModule, typeof AlternateSupplierTileModule, typeof i6.ArticleInventoryTurnoverInfoModule], [typeof TransactionLineSidePanelArticleDetailsComponent]>;
10312
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelArticleDetailsModule, [typeof TransactionLineSidePanelArticleDetailsComponent], [typeof i3.PriceDisplayPipeModule, typeof i3.InputTextModule, typeof i2.CommonModule, typeof PipeModule, typeof i3.IconModule, typeof i3.ListOfValuesModule, typeof CoreModule, typeof i3.InputNumberPickerModule, typeof AlternateSupplierTileModule, typeof i6.ArticleInventoryTurnoverInfoModule, typeof TransactionArticleStockModule], [typeof TransactionLineSidePanelArticleDetailsComponent]>;
10268
10313
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelArticleDetailsModule>;
10269
10314
  }
10270
10315
 
@@ -13563,6 +13608,7 @@ declare class TransactionQuickAccessReturnComponent extends TransactionQuickAcce
13563
13608
  reportDocumentCombinedRequest: PrintPurchaseOrderForTransactionOrderWithoutLinesRequest;
13564
13609
  selectedLines: TransactionLineInfo[];
13565
13610
  showReturnWizardDialog: boolean;
13611
+ returnCreationAllowed: boolean;
13566
13612
  private _subs;
13567
13613
  constructor(searchService: TransactionSearchService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, transactionService: TransactionService, imageService: TransactionImageService, dictionaryService: DictionaryService, changeDetector: ChangeDetectorRef, dialogService: TransactionDialogService);
13568
13614
  ngOnInit(): void;
@@ -13588,12 +13634,14 @@ declare class FormResponseComponent implements OnInit {
13588
13634
  formFinished: EventEmitter<{
13589
13635
  qaText: string;
13590
13636
  packageCondition: string;
13637
+ productCondition: string;
13591
13638
  }>;
13592
13639
  formReopened: EventEmitter<void>;
13593
13640
  noForm: EventEmitter<void>;
13594
13641
  needScroll: EventEmitter<void>;
13595
13642
  showClass(): boolean;
13596
13643
  private _currentPackageCondition;
13644
+ private _currentProductCondition;
13597
13645
  get form(): Form;
13598
13646
  set form(form: Form);
13599
13647
  currentQuestion: FormQuestion;
@@ -13659,6 +13707,7 @@ declare class ReturnLinesWizardComponent {
13659
13707
  handleFormFinished(qaData: {
13660
13708
  qaText: string;
13661
13709
  packageCondition: string;
13710
+ productCondition: string;
13662
13711
  }): void;
13663
13712
  handleFormReopened(): void;
13664
13713
  handleNoForm(): void;
@@ -13899,6 +13948,7 @@ declare class TransactionCardHeaderComponent extends TransactionLineBaseComponen
13899
13948
  showCheckbox: boolean;
13900
13949
  showActionButtons: boolean;
13901
13950
  showThumbnail: boolean;
13951
+ showPurchaseDesc: boolean;
13902
13952
  checkboxValueChanged: EventEmitter<boolean>;
13903
13953
  expandClicked: EventEmitter<void>;
13904
13954
  image: string;
@@ -13909,7 +13959,7 @@ declare class TransactionCardHeaderComponent extends TransactionLineBaseComponen
13909
13959
  protected visibilitySet(): void;
13910
13960
  private _loadLineImage;
13911
13961
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionCardHeaderComponent, never>;
13912
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionCardHeaderComponent, "co-transaction-card-header", never, { "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "showThumbnail": { "alias": "showThumbnail"; "required": false; }; }, { "checkboxValueChanged": "checkboxValueChanged"; "expandClicked": "expandClicked"; }, never, ["*"], false, never>;
13962
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionCardHeaderComponent, "co-transaction-card-header", never, { "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "showThumbnail": { "alias": "showThumbnail"; "required": false; }; "showPurchaseDesc": { "alias": "showPurchaseDesc"; "required": false; }; }, { "checkboxValueChanged": "checkboxValueChanged"; "expandClicked": "expandClicked"; }, never, ["*"], false, never>;
13913
13963
  }
13914
13964
 
13915
13965
  declare class TransactionLineActionButtonsComponent implements OnInit {
@@ -14049,7 +14099,9 @@ declare class TransactionArticleTextComponent implements OnInit, AfterViewInit,
14049
14099
  set articleLineNr(value: number);
14050
14100
  showArticleImageDescription: boolean;
14051
14101
  showImage: boolean;
14102
+ showDelete: boolean;
14052
14103
  closeClick: EventEmitter<MouseEvent>;
14104
+ deleteClick: EventEmitter<MouseEvent>;
14053
14105
  cancelClick: EventEmitter<MouseEvent>;
14054
14106
  saveClick: EventEmitter<{
14055
14107
  request: TransactionAddTextLineRequest;
@@ -14098,7 +14150,7 @@ declare class TransactionArticleTextComponent implements OnInit, AfterViewInit,
14098
14150
  private _getShowOnDocuments;
14099
14151
  private _setChosenOrderLineSetCat;
14100
14152
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionArticleTextComponent, never>;
14101
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionArticleTextComponent, "co-transaction-article-text", never, { "header": { "alias": "header"; "required": false; }; "transactionUuid": { "alias": "transactionUuid"; "required": false; }; "transactionLine": { "alias": "transactionLine"; "required": false; }; "orderLineSetDTO": { "alias": "orderLineSetDTO"; "required": false; }; "articleRef": { "alias": "articleRef"; "required": false; }; "editText": { "alias": "editText"; "required": false; }; "articleLineNr": { "alias": "articleLineNr"; "required": false; }; "showArticleImageDescription": { "alias": "showArticleImageDescription"; "required": false; }; "showImage": { "alias": "showImage"; "required": false; }; }, { "closeClick": "closeClick"; "cancelClick": "cancelClick"; "saveClick": "saveClick"; "saveOrderLineSetClick": "saveOrderLineSetClick"; }, never, never, false, never>;
14153
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionArticleTextComponent, "co-transaction-article-text", never, { "header": { "alias": "header"; "required": false; }; "transactionUuid": { "alias": "transactionUuid"; "required": false; }; "transactionLine": { "alias": "transactionLine"; "required": false; }; "orderLineSetDTO": { "alias": "orderLineSetDTO"; "required": false; }; "articleRef": { "alias": "articleRef"; "required": false; }; "editText": { "alias": "editText"; "required": false; }; "articleLineNr": { "alias": "articleLineNr"; "required": false; }; "showArticleImageDescription": { "alias": "showArticleImageDescription"; "required": false; }; "showImage": { "alias": "showImage"; "required": false; }; "showDelete": { "alias": "showDelete"; "required": false; }; }, { "closeClick": "closeClick"; "deleteClick": "deleteClick"; "cancelClick": "cancelClick"; "saveClick": "saveClick"; "saveOrderLineSetClick": "saveOrderLineSetClick"; }, never, never, false, never>;
14102
14154
  }
14103
14155
 
14104
14156
  declare class TransactionArticleTextModule {
@@ -15414,26 +15466,47 @@ declare abstract class TransactionLinesBaseComponent extends TransactionHeaderBa
15414
15466
  }
15415
15467
 
15416
15468
  declare class TransactionLinesComponent extends TransactionLinesBaseComponent implements OnInit, OnDestroy {
15469
+ transactionHeaderService: TransactionHeaderService;
15470
+ transactionEventService: TransactionEventService;
15471
+ service: TransactionService;
15472
+ iconCacheService: IconCacheService;
15473
+ transactionScreenConfigurationService: TransactionScreenConfigurationService;
15474
+ protected dictionaryService: DictionaryService;
15475
+ protected imageService: TransactionImageService;
15476
+ protected changeDetector: ChangeDetectorRef;
15477
+ protected purchaseConfirmationService: PurchaseConfirmationService;
15478
+ protected lineSelectionService: LineSelectionService;
15479
+ private _mappingService;
15417
15480
  showClass(): boolean;
15418
15481
  customerPortal: boolean;
15482
+ set activeCategory(value: TransactionTypeCategory);
15483
+ get activeCategory(): TransactionTypeCategory;
15419
15484
  set planningLines(value: boolean);
15420
15485
  userActionRequired: boolean;
15421
15486
  userActionRequiredChange: EventEmitter<boolean>;
15422
15487
  get planningLines(): boolean;
15423
- private _planningLines;
15424
15488
  showSidePanel: boolean;
15425
15489
  showSidePanelForConfirmationAI: boolean;
15426
15490
  activeTransactionLine: TransactionLineInfo;
15491
+ categoryComponent: Type<unknown> | null;
15492
+ private _categoryContainer;
15493
+ private _planningLines;
15427
15494
  private _subs;
15495
+ private _categoryComponentRef;
15496
+ private _categoryTransactionId;
15497
+ constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, purchaseConfirmationService: PurchaseConfirmationService, lineSelectionService: LineSelectionService, _mappingService: TransactionMappingService);
15428
15498
  ngOnInit(): void;
15429
15499
  ngOnDestroy(): void;
15430
15500
  handleLineClick(line: TransactionLineInfo): void;
15431
15501
  getDisplayIndex(i: number, lines: TransactionLineInfo[]): number;
15432
15502
  handleWaitingForUserAction(required: boolean): void;
15503
+ protected transactionInfoSet(): void;
15433
15504
  protected transactionSet(): void;
15434
15505
  protected _checkActiveLine(): void;
15506
+ private _updateCategoryComponent;
15507
+ private _destroyCategoryComponent;
15435
15508
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLinesComponent, never>;
15436
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLinesComponent, "co-transaction-lines", never, { "customerPortal": { "alias": "customerPortal"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; "userActionRequired": { "alias": "userActionRequired"; "required": false; }; }, { "userActionRequiredChange": "userActionRequiredChange"; }, never, never, false, never>;
15509
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLinesComponent, "co-transaction-lines", never, { "customerPortal": { "alias": "customerPortal"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; "userActionRequired": { "alias": "userActionRequired"; "required": false; }; }, { "userActionRequiredChange": "userActionRequiredChange"; }, never, never, false, never>;
15437
15510
  }
15438
15511
 
15439
15512
  declare class TransactionLineComponent implements OnChanges, OnInit, OnDestroy {
@@ -15965,6 +16038,7 @@ declare class TransactionReturnLineComponent extends TransactionLineBaseComponen
15965
16038
  showClass(): boolean;
15966
16039
  statusBarConfigNames: StatusBarCfgNames;
15967
16040
  amountAvailableToReturn: number;
16041
+ returnCreationAllowed: boolean;
15968
16042
  private _subs;
15969
16043
  constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, transactionService: TransactionService, imageService: TransactionImageService, dictionaryService: DictionaryService, changeDetector: ChangeDetectorRef);
15970
16044
  ngOnInit(): void;
@@ -17341,28 +17415,6 @@ declare class DialogBranchModule {
17341
17415
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogBranchModule>;
17342
17416
  }
17343
17417
 
17344
- declare class TransactionArticleStockComponent extends DialogBaseComponent {
17345
- iconCacheService: IconCacheService;
17346
- transactionEventService: TransactionEventService;
17347
- readonly icons: typeof Icon;
17348
- article: number;
17349
- closeClick: EventEmitter<MouseEvent>;
17350
- showClass(): boolean;
17351
- articleWarehouse: any[];
17352
- allWarehouses: any[];
17353
- constructor(iconCacheService: IconCacheService, transactionEventService: TransactionEventService);
17354
- handleCloseDialog(Event: any): void;
17355
- handleTransactionNavigation(transaction: StockTransactionClick): void;
17356
- static ɵfac: i0.ɵɵFactoryDeclaration<TransactionArticleStockComponent, never>;
17357
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionArticleStockComponent, "co-transaction-article-stock-dialog", never, { "article": { "alias": "article"; "required": false; }; }, { "closeClick": "closeClick"; }, never, never, false, never>;
17358
- }
17359
-
17360
- declare class TransactionArticleStockModule {
17361
- static ɵfac: i0.ɵɵFactoryDeclaration<TransactionArticleStockModule, never>;
17362
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionArticleStockModule, [typeof TransactionArticleStockComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.ButtonModule, typeof PipeModule, typeof i3.CollapsibleModule, typeof i3.InputCheckboxModule, typeof i6.StockModule], [typeof TransactionArticleStockComponent]>;
17363
- static ɵinj: i0.ɵɵInjectorDeclaration<TransactionArticleStockModule>;
17364
- }
17365
-
17366
17418
  declare class TransactionSalesPersonInputComponent implements OnInit {
17367
17419
  avatar: AvatarComponent;
17368
17420
  readonly icons: typeof Icon;
@@ -17416,31 +17468,33 @@ declare class TransactionHeaderHandledByModule {
17416
17468
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderHandledByModule>;
17417
17469
  }
17418
17470
 
17419
- declare class TransactionLineActivitiesComponent implements OnInit {
17471
+ declare class TransactionLineActivitiesComponent implements OnInit, OnDestroy {
17420
17472
  transactionService: TransactionService;
17421
17473
  private _changeDetector;
17422
17474
  activityList: ElementRef<HTMLDivElement>;
17423
17475
  openActivities: ComponentActivityListComponent;
17424
17476
  activityTimeline: ActivityTimelineComponent;
17425
- transactionId: number;
17477
+ showClass(): boolean;
17426
17478
  readonly tableNames: typeof TableName;
17427
17479
  readonly cfgNames: typeof TransactionCfgName;
17428
17480
  readonly WorkflowCategoryType: typeof WorkflowCategoryType;
17429
17481
  activities: Activity[];
17430
17482
  user: RelationSmallObject$1;
17431
17483
  transactionInfo: TransactionInfo;
17484
+ transactionId: string;
17432
17485
  showActivityHeader: boolean;
17433
17486
  showActivityLists: boolean;
17487
+ private _subs;
17434
17488
  constructor(transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
17435
- showClass(): boolean;
17436
17489
  ngOnInit(): void;
17490
+ ngOnDestroy(): void;
17437
17491
  finishedActivitiesRefreshRequested(): Promise<void>;
17438
17492
  fullActivitiesRefreshRequested(): Promise<void>;
17439
17493
  scrollActivitiesToBottom(): void;
17440
17494
  getActivities(): Promise<void>;
17441
17495
  openCreatedTask(taskId: number): Promise<void>;
17442
17496
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesComponent, never>;
17443
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesComponent, "co-transaction-line-activities", never, { "transactionId": { "alias": "transactionId"; "required": false; }; }, {}, never, never, false, never>;
17497
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesComponent, "co-transaction-line-activities", never, {}, {}, never, never, false, never>;
17444
17498
  }
17445
17499
 
17446
17500
  declare class TransactionLineActivitiesContactMomentsComponent implements OnInit, OnDestroy {
@@ -84,6 +84,7 @@
84
84
  }
85
85
  p {
86
86
  margin-bottom: 5px;
87
+ min-height: $tp-co-transaction-article-text-dialog-content-editor-paragraph-min-height;
87
88
  }
88
89
  }
89
90
  &.active {
@@ -257,7 +258,7 @@
257
258
  gap: $tp-co-transaction-article-text-popup-dialog-footer-button-wrapper-gap;
258
259
  }
259
260
  }
260
- .close-button {
261
+ .close-button, .delete-button {
261
262
  height: $tp-co-transaction-article-text-popup-close-button-size;
262
263
  width: $tp-co-transaction-article-text-popup-close-button-size;
263
264
  border-color: $tp-co-transaction-article-text-popup-button-border-color;
@@ -13,6 +13,7 @@ $tp-co-transaction-article-text-dialog-content-gap: 10px !default;
13
13
  $tp-co-transaction-article-text-dialog-content-textarea-height: 150px !default;
14
14
  $tp-co-transaction-article-text-dialog-content-editor-margin: 10px 0 !default;
15
15
  $tp-co-transaction-article-text-dialog-content-editor-min-height: 150px !default;
16
+ $tp-co-transaction-article-text-dialog-content-editor-paragraph-min-height: 10px !default;
16
17
  $tp-co-transaction-article-text-dialog-content-editor-textarea-padding: 0 40px 10px 10px !default;
17
18
  $tp-co-transaction-article-text-dialog-content-editor-wysiwyg-padding: 10px 40px 10px 10px !default;
18
19
  $tp-co-transaction-article-text-documents-header-margin: 20px 0 0 0 !default;
@@ -328,6 +328,9 @@
328
328
  .checkout-prefix-name, relation-customer-titles {
329
329
  flex: 1;
330
330
  }
331
+ .checkout-prefix-name {
332
+ min-width: 169px;
333
+ }
331
334
  }
332
335
  }
333
336
 
@@ -77,3 +77,5 @@ $tp-transaction-line-side-forms-input-box-shadow: inset 0 0 0 2px #1A73E8;
77
77
 
78
78
  $tp-transaction-line-side-forms-collapsible-padding: 0 0 20px 0 !default;
79
79
  $tp-transaction-line-side-forms-co-form-gap: 15px !default;
80
+
81
+ $tp-transaction-line-side-panel-panel-stock-dialog-width: 1200px !default;
@@ -15,6 +15,9 @@
15
15
  z-index: 999;
16
16
  box-shadow: $tp-transaction-line-side-panel-box-shadow;
17
17
  background: $tp-transaction-line-side-panel-background;
18
+ border-width: $tp-transaction-line-side-panel-border-width;
19
+ border-style: solid;
20
+ border-color: $tp-transaction-line-side-panel-border-color;
18
21
  }
19
22
 
20
23
  .transaction-line-side-panel-header {
@@ -57,7 +60,7 @@
57
60
  border-width: $tp-transaction-line-side-panel-panel-nav-bar-border-width;
58
61
  }
59
62
  .default-details-wrapper {
60
- background-color: #f8f8fa;
63
+
61
64
  padding: 30px;
62
65
  border: solid #fff;
63
66
  border-width: 0 0 5px;
@@ -118,6 +121,13 @@
118
121
  font-weight: 700;
119
122
  margin: 10px 0;
120
123
  color: #000;
124
+ display: flex;
125
+ gap: 10px;
126
+ .co-icon {
127
+ width: 16px;
128
+ height: 16px;
129
+ cursor: pointer;
130
+ }
121
131
  }
122
132
  }
123
133
 
@@ -201,4 +211,9 @@
201
211
  }
202
212
  }
203
213
  }
214
+ .co-transaction-article-stock-dialog {
215
+ .co-dialog-wrapper {
216
+ width: $tp-transaction-line-side-panel-panel-stock-dialog-width;
217
+ }
218
+ }
204
219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "301.1.9",
3
+ "version": "301.1.10",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -13,13 +13,13 @@
13
13
  "@colijnit/catalog": ">=301.1.0 < 302",
14
14
  "@colijnit/corecomponents_v12": ">=301.1.4 < 302",
15
15
  "@colijnit/ioneconnector": ">=301.1.1 < 302",
16
- "@colijnit/mainapi": ">=301.1.4 < 302",
16
+ "@colijnit/mainapi": ">=301.1.7 < 302",
17
17
  "@colijnit/product": ">=301.1.0 < 302",
18
18
  "@colijnit/relation": ">=301.1.1 < 302",
19
19
  "@colijnit/relationapi": ">=301.1.0 < 302",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
21
  "@colijnit/sharedcomponents": ">=301.1.2 < 302",
22
- "@colijnit/transactionapi": ">=301.1.5 < 302"
22
+ "@colijnit/transactionapi": ">=301.1.8 < 302"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"