@meshmakers/octo-ui 3.3.480 → 3.3.500

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshmakers/octo-ui",
3
- "version": "3.3.480",
3
+ "version": "3.3.500",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0",
@@ -4,7 +4,6 @@ import * as _progress_kendo_svg_icons from '@progress/kendo-svg-icons';
4
4
  import { SVGIcon } from '@progress/kendo-svg-icons';
5
5
  import { GridDataResult, CellClickEvent, RowArgs, PageChangeEvent, SelectionEvent } from '@progress/kendo-angular-grid';
6
6
  import { FieldFilterDto, SearchFilterDto, SortDto, AttributeValueTypeDto as AttributeValueTypeDto$1, AttributeItem, CkTypeSelectorItem, FieldFilterOperatorsDto } from '@meshmakers/octo-services';
7
- import { DialogContentBase } from '@progress/kendo-angular-dialog';
8
7
  import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors } from '@angular/forms';
9
8
  import { AutoCompleteComponent, PopupSettings } from '@progress/kendo-angular-dropdowns';
10
9
  import { DataSourceTyped, ListViewComponent, HierarchyDataSourceBase } from '@meshmakers/shared-ui';
@@ -595,7 +594,8 @@ interface CkTypeSelectorDialogData {
595
594
  interface CkTypeSelectorDialogResult {
596
595
  selectedCkType: CkTypeSelectorItem;
597
596
  }
598
- declare class CkTypeSelectorDialogComponent extends DialogContentBase implements OnInit, OnDestroy {
597
+ declare class CkTypeSelectorDialogComponent implements OnInit, OnDestroy {
598
+ private readonly windowRef;
599
599
  private readonly ckTypeSelectorService;
600
600
  private searchSubject;
601
601
  private subscriptions;
@@ -615,7 +615,10 @@ declare class CkTypeSelectorDialogComponent extends DialogContentBase implements
615
615
  selectItemBy: (context: RowArgs) => string;
616
616
  private initialCkModelIds?;
617
617
  derivedFromRtCkTypeId?: string;
618
- constructor();
618
+ private lastClickTime;
619
+ private lastClickRtCkTypeId;
620
+ /** Data passed from the service */
621
+ data?: CkTypeSelectorDialogData;
619
622
  ngOnInit(): void;
620
623
  ngOnDestroy(): void;
621
624
  private loadTypes;
@@ -625,6 +628,7 @@ declare class CkTypeSelectorDialogComponent extends DialogContentBase implements
625
628
  clearFilters(): void;
626
629
  onPageChange(event: PageChangeEvent): void;
627
630
  onSelectionChange(event: SelectionEvent): void;
631
+ onCellClick(event: CellClickEvent): void;
628
632
  onCancel(): void;
629
633
  onConfirm(): void;
630
634
  static ɵfac: i0.ɵɵFactoryDeclaration<CkTypeSelectorDialogComponent, never>;
@@ -636,7 +640,7 @@ interface CkTypeSelectorResult {
636
640
  selectedCkType: CkTypeSelectorItem | null;
637
641
  }
638
642
  declare class CkTypeSelectorDialogService {
639
- private readonly dialogService;
643
+ private readonly windowService;
640
644
  /**
641
645
  * Opens the CkType selector dialog
642
646
  * @param options Dialog options