@colijnit/transaction 300.1.36 → 300.1.38

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 { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/
307
307
  import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
308
308
  import { RelationSmallObject as RelationSmallObject$1 } from '@colijnit/relationapi/build/model/relation-small-object.bo';
309
309
  import * as i3 from '@colijnit/corecomponents_v12';
310
- import { FilterItemViewmodel, BaseModuleScreenConfigService, BaseModuleService, FormMasterService, ScreenConfigAdapterComponent, OverlayService, FormComponent, InputTextComponent, InputTextareaComponent, InputCheckboxComponent, InputDatePickerComponent, ContentViewMode, ColumnAlign, ColorSequenceService, SimpleGridColumnTemplateType, SimpleGridColumnDirective, ButtonComponent, OverlayParentDirective, PromptService, HourSchedulingExpandableComponent, FilterItemComponent, FilterItemMode, InputScannerComponent, CoreComponentsIcon } from '@colijnit/corecomponents_v12';
310
+ import { FilterItemViewmodel, BaseModuleScreenConfigService, BaseModuleService, FormMasterService, ScreenConfigAdapterComponent, OverlayService, FormComponent, InputTextComponent, InputTextareaComponent, InputCheckboxComponent, InputDatePickerComponent, ContentViewMode, ColumnAlign, ColorSequenceService, SimpleGridColumnTemplateType, SimpleGridColumnDirective, ButtonComponent, OverlayParentDirective, PromptService, HourSchedulingExpandableComponent, SchedulingObject, FilterItemComponent, FilterItemMode, InputScannerComponent, CoreComponentsIcon } from '@colijnit/corecomponents_v12';
311
311
  import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
312
312
  import * as i5 from '@colijnit/relation';
313
313
  import { RelationService } from '@colijnit/relation';
@@ -7626,24 +7626,23 @@ declare class TransactionSearchService {
7626
7626
  }
7627
7627
 
7628
7628
  declare class DialogTransactionSearchComponent implements OnInit, OnDestroy {
7629
- transactionSearchService: TransactionSearchService;
7630
7629
  iconCacheService: IconCacheService;
7630
+ transactionSearchService: TransactionSearchService;
7631
7631
  readonly icons: typeof Icon;
7632
- placeholder: string;
7633
7632
  set relation(value: Relation);
7634
7633
  filterIconClick: EventEmitter<void>;
7635
7634
  closeClick: EventEmitter<void>;
7636
7635
  lineClicked: EventEmitter<TransactionLineSearchIndex>;
7637
7636
  showClass(): boolean;
7638
7637
  showFilters: Boolean;
7639
- constructor(transactionSearchService: TransactionSearchService, iconCacheService: IconCacheService);
7638
+ constructor(iconCacheService: IconCacheService, transactionSearchService: TransactionSearchService);
7640
7639
  ngOnInit(): Promise<void>;
7641
7640
  ngOnDestroy(): void;
7642
7641
  onFilterButtonClick(): void;
7643
7642
  transLineClicked(line: TransactionLineSearchIndex): void;
7644
7643
  searchTransactions(): Promise<void>;
7645
7644
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogTransactionSearchComponent, never>;
7646
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogTransactionSearchComponent, "co-dialog-transaction-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "relation": { "alias": "relation"; "required": false; }; }, { "filterIconClick": "filterIconClick"; "closeClick": "closeClick"; "lineClicked": "lineClicked"; }, never, never, false, never>;
7645
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogTransactionSearchComponent, "co-dialog-transaction-search", never, { "relation": { "alias": "relation"; "required": false; }; }, { "filterIconClick": "filterIconClick"; "closeClick": "closeClick"; "lineClicked": "lineClicked"; }, never, never, false, never>;
7647
7646
  }
7648
7647
 
7649
7648
  declare class TransactionSearchHeaderComponent implements OnInit, OnDestroy {
@@ -7877,6 +7876,7 @@ declare class TransactionSearchSalesLineSelectTileComponent extends TransactionS
7877
7876
  extendedTransactionSearch: boolean;
7878
7877
  returnWizardLayout: boolean;
7879
7878
  customerPortal: boolean;
7879
+ filterOnlyAllocated: boolean;
7880
7880
  lineClicked: EventEmitter<TransactionLineSearchIndex>;
7881
7881
  transactionClick: EventEmitter<TransactionSearchView>;
7882
7882
  lines: TransactionLineSearchIndex[];
@@ -7888,7 +7888,7 @@ declare class TransactionSearchSalesLineSelectTileComponent extends TransactionS
7888
7888
  getPriorityLabel(priority?: PriorityType): string;
7889
7889
  showOrderLabel(): string;
7890
7890
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSearchSalesLineSelectTileComponent, never>;
7891
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSearchSalesLineSelectTileComponent, "co-transaction-search-sales-line-select-tile", never, { "extendedTransactionSearch": { "alias": "extendedTransactionSearch"; "required": false; }; "returnWizardLayout": { "alias": "returnWizardLayout"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; }, { "lineClicked": "lineClicked"; "transactionClick": "transactionClick"; }, never, never, false, never>;
7891
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSearchSalesLineSelectTileComponent, "co-transaction-search-sales-line-select-tile", never, { "extendedTransactionSearch": { "alias": "extendedTransactionSearch"; "required": false; }; "returnWizardLayout": { "alias": "returnWizardLayout"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; "filterOnlyAllocated": { "alias": "filterOnlyAllocated"; "required": false; }; }, { "lineClicked": "lineClicked"; "transactionClick": "transactionClick"; }, never, never, false, never>;
7892
7892
  }
7893
7893
 
7894
7894
  declare class TransactionLineStatusbarComponent extends TransactionLineBaseComponent {
@@ -8971,6 +8971,7 @@ declare class DeliveryPlanningService {
8971
8971
  removeNullDays(weeks: (PlanningTransportWeekDay | null)[][]): PlanningTransportWeekDay[][];
8972
8972
  updatePlanningTransportValues(): Promise<void>;
8973
8973
  private _updateChangedProperties;
8974
+ private _ordersChanged;
8974
8975
  convertPlanningTransportWeekToArray(planningTransportWeek: PlanningTransportWeek[]): PlanningTransportWeekDay[][];
8975
8976
  convertToPlanTransportWeek(nestedArray: PlanningTransportWeekDay[][]): PlanningTransportWeek[];
8976
8977
  totalAssemblyTime(planOrder: PlanOrder): number;
@@ -11248,6 +11249,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
11248
11249
  handleMapClicked(mouseEvent: MouseEvent, transport: PlanningTransportWeekDay): void;
11249
11250
  handleDropdownClicked(event: MouseEvent): void;
11250
11251
  handleDropdownActionClicked(clickAction: DeliveryPlanningTileDropdownActions): void;
11252
+ handleCalendarDragStart(object: SchedulingObject): void;
11251
11253
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileComponent, never>;
11252
11254
  static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningOverviewTileComponent, "co-delivery-planning-overview-tile", never, { "disabled": { "alias": "disabled"; "required": false; }; "transportDay": { "alias": "transportDay"; "required": false; }; }, { "transportSelected": "transportSelected"; "expandedEvent": "expandedEvent"; "deleteOrderEvent": "deleteOrderEvent"; "planOrderOnSameTimeEvent": "planOrderOnSameTimeEvent"; "deleteOrderLineEvent": "deleteOrderLineEvent"; "editOrderEvent": "editOrderEvent"; "getTransportOrdersEvent": "getTransportOrdersEvent"; "timeChangeEvent": "timeChangeEvent"; "openSettingsDialogEvent": "openSettingsDialogEvent"; "availabilityChecked": "availabilityChecked"; "calendarPlanEvent": "calendarPlanEvent"; "moveEvent": "moveEvent"; "reorderOrderEvent": "reorderOrderEvent"; "moveOrderUpEvent": "moveOrderUpEvent"; "moveOrderDownEvent": "moveOrderDownEvent"; }, never, never, false, never>;
11253
11255
  }
@@ -17806,6 +17808,7 @@ declare class TransactionCreateService extends TransactionService {
17806
17808
  }
17807
17809
 
17808
17810
  declare class ServiceWizardCreateServiceComponent implements OnInit {
17811
+ transactionSettingsService: TransactionSettingsService;
17809
17812
  protected dictionaryService: DictionaryService;
17810
17813
  protected transactionService: TransactionService;
17811
17814
  protected imageService: TransactionImageService;
@@ -17825,7 +17828,7 @@ declare class ServiceWizardCreateServiceComponent implements OnInit {
17825
17828
  slaProductName: string;
17826
17829
  oldOrderId: string;
17827
17830
  oldGoodId: string;
17828
- constructor(dictionaryService: DictionaryService, transactionService: TransactionService, imageService: TransactionImageService);
17831
+ constructor(transactionSettingsService: TransactionSettingsService, dictionaryService: DictionaryService, transactionService: TransactionService, imageService: TransactionImageService);
17829
17832
  ngOnInit(): Promise<void>;
17830
17833
  clear(): void;
17831
17834
  slaSelected(slaProduct: SLAProduct): void;
@@ -17892,6 +17895,7 @@ declare class TransactionCreateWizardComponent implements OnInit, OnDestroy {
17892
17895
  transactionScreenConfigurationService: TransactionScreenConfigurationService;
17893
17896
  private _dialogService;
17894
17897
  private _headerService;
17898
+ private _transactionSettingsService;
17895
17899
  readonly transKind: typeof TransactionKind;
17896
17900
  readonly Icon: typeof Icon;
17897
17901
  stepper: SimpleVerticalStepperComponent;
@@ -17903,6 +17907,7 @@ declare class TransactionCreateWizardComponent implements OnInit, OnDestroy {
17903
17907
  wizardSection: ServiceWizardQuestionsComponent;
17904
17908
  stepServiceFieldsSection: StepperStepComponent;
17905
17909
  serviceFieldsSection: ServiceWizardServiceFieldsComponent;
17910
+ settings: TransactionSettings;
17906
17911
  set externallyProvidedTransaction(transaction: TransactionInfoResponse);
17907
17912
  set externallyProvidedLineNr(lineNr: number);
17908
17913
  set externallyProvidedCustomer(customer: CustomerFullObject);
@@ -17926,7 +17931,7 @@ declare class TransactionCreateWizardComponent implements OnInit, OnDestroy {
17926
17931
  private _externallyProvidedCustomer;
17927
17932
  private _externallyProvidedContactPerson;
17928
17933
  private _subs;
17929
- constructor(createService: TransactionCreateService, relationService: TransactionRelationService, transactionService: TransactionService, transactionScreenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _headerService: TransactionHeaderService);
17934
+ constructor(createService: TransactionCreateService, relationService: TransactionRelationService, transactionService: TransactionService, transactionScreenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _headerService: TransactionHeaderService, _transactionSettingsService: TransactionSettingsService);
17930
17935
  ngOnInit(): Promise<void>;
17931
17936
  ngOnDestroy(): Promise<void>;
17932
17937
  handleRelationValidation(): Promise<boolean>;
@@ -17943,7 +17948,7 @@ declare class TransactionCreateWizardComponent implements OnInit, OnDestroy {
17943
17948
  private _validateForArticleTransaction;
17944
17949
  private _processExternalSettings;
17945
17950
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionCreateWizardComponent, never>;
17946
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionCreateWizardComponent, "co-transaction-create-wizard", never, { "externallyProvidedTransaction": { "alias": "externallyProvidedTransaction"; "required": false; }; "externallyProvidedLineNr": { "alias": "externallyProvidedLineNr"; "required": false; }; "externallyProvidedCustomer": { "alias": "externallyProvidedCustomer"; "required": false; }; "externallyProvidedContactPerson": { "alias": "externallyProvidedContactPerson"; "required": false; }; "branch": { "alias": "branch"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; }, { "transactionFinished": "transactionFinished"; }, never, never, false, never>;
17951
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionCreateWizardComponent, "co-transaction-create-wizard", never, { "settings": { "alias": "settings"; "required": false; }; "externallyProvidedTransaction": { "alias": "externallyProvidedTransaction"; "required": false; }; "externallyProvidedLineNr": { "alias": "externallyProvidedLineNr"; "required": false; }; "externallyProvidedCustomer": { "alias": "externallyProvidedCustomer"; "required": false; }; "externallyProvidedContactPerson": { "alias": "externallyProvidedContactPerson"; "required": false; }; "branch": { "alias": "branch"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; }, { "transactionFinished": "transactionFinished"; }, never, never, false, never>;
17947
17952
  }
17948
17953
 
17949
17954
  declare class ServiceWizardRelationComponent implements OnInit, AfterViewInit, OnDestroy {
@@ -18038,7 +18043,7 @@ declare class ServiceWizardSlaComponent implements OnInit {
18038
18043
  static ɵcmp: i0.ɵɵComponentDeclaration<ServiceWizardSlaComponent, "co-service-wizard-sla", never, { "forceReadonly": { "alias": "forceReadonly"; "required": false; }; }, { "slaSelected": "slaSelected"; }, never, never, false, never>;
18039
18044
  }
18040
18045
 
18041
- declare class ServiceWizardArtOrTransComponent implements OnInit {
18046
+ declare class ServiceWizardArtOrTransComponent implements OnInit, OnDestroy {
18042
18047
  protected formMasterService: FormMasterService;
18043
18048
  protected dictionaryService: DictionaryService;
18044
18049
  protected transactionService: TransactionService;
@@ -18075,8 +18080,10 @@ declare class ServiceWizardArtOrTransComponent implements OnInit {
18075
18080
  goodId: number;
18076
18081
  private _chosenTransactionLine;
18077
18082
  private _existingTransaction;
18083
+ private _subs;
18078
18084
  constructor(formMasterService: FormMasterService, dictionaryService: DictionaryService, transactionService: TransactionService, transactionSearchService: TransactionSearchService, imageService: TransactionImageService);
18079
18085
  ngOnInit(): Promise<void>;
18086
+ ngOnDestroy(): void;
18080
18087
  submit(): boolean;
18081
18088
  clear(): void;
18082
18089
  openCatalogPopUp(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "300.1.36",
3
+ "version": "300.1.38",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -19,7 +19,7 @@
19
19
  "@colijnit/relationapi": ">=300.1.1",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
21
  "@colijnit/sharedcomponents": ">=300.1.13",
22
- "@colijnit/transactionapi": ">=300.1.16"
22
+ "@colijnit/transactionapi": ">=300.1.17"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"