@acorex/components 22.4.60 → 22.4.62

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.
@@ -27,7 +27,7 @@ type AXLookupMode = 'drop-down-list' | 'multi-select' | 'drop-down-tree' | 'mult
27
27
  *
28
28
  * - `field` — the item property rendered in this column (`ax-text-column` `dataField`).
29
29
  * - `title` — the header text of the column (`ax-text-column` `caption`).
30
- * - `width` — optional column width (`120px`, `20%`, or `auto`). Defaults to `auto`.
30
+ * - `width` — optional column width. `auto` (default) sizes the column to its content up to a max width; longer text is truncated and shown in a tooltip. `120px` and `20%` stay fixed.
31
31
  * - `expandHandler` — when `true`, this column shows the tree expand/collapse control
32
32
  * (`multi-column-tree` only). If omitted, the column matching `textField` (or the first
33
33
  * column) is used.
@@ -578,9 +578,13 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
578
578
  protected popoverRef: _angular_core.Signal<AXPopoverComponent>;
579
579
  protected originRef: _angular_core.Signal<ElementRef<HTMLElement>>;
580
580
  /**
581
- * Border-box width of the trigger, kept current by a ResizeObserver.
582
- * Reading `origin.offsetWidth` from the template forced a synchronous layout on every
583
- * change-detection pass for every instance, even while the popover was closed.
581
+ * The dropdown host is created on the first open. A closed lookup inside a dialog
582
+ * then keeps only its trigger, instead of a popover plus popup subtree per field.
583
+ */
584
+ protected popoverMounted: _angular_core.WritableSignal<boolean>;
585
+ /**
586
+ * Border-box width of the trigger, measured when the dropdown opens.
587
+ * Reading layout for every instance while a dialog is opening forced a reflow per field.
584
588
  * Stays 0 until a real measurement arrives; the popover must not be given `"0px"`.
585
589
  */
586
590
  protected originWidth: _angular_core.WritableSignal<number>;
@@ -902,8 +906,9 @@ declare class AXLookupMultiColumnComponent {
902
906
  constructor();
903
907
  /** Stable unique key for `@for` — avoids NG0955 when `field` is missing or duplicated. */
904
908
  protected trackColumnKey(index: number, column: AXLookupColumn): string;
905
- protected readonly fillColumnWidths: _angular_core.Signal<string[]>;
909
+ protected readonly columnContentMaxWidth = 240;
906
910
  protected resolveColumnWidth(index: number): string;
911
+ protected cellText(row: AXLookupItem | null | undefined, field: string): string;
907
912
  protected resolveRowCssClass: (row: unknown) => string;
908
913
  protected handleRowPointerDown(event: AXDataTableRowClick): void;
909
914
  protected handleRowClick(event: AXDataTableRowClick): void;
@@ -1011,7 +1016,7 @@ declare class AXLookupMultiColumnTreeComponent {
1011
1016
  }>;
1012
1017
  /** Stable unique key for `@for` — avoids NG0955 when `field` is missing or duplicated. */
1013
1018
  protected trackColumnKey(index: number, column: AXLookupColumn): string;
1014
- protected readonly fillColumnWidths: _angular_core.Signal<string[]>;
1019
+ protected readonly columnContentMaxWidth = 240;
1015
1020
  protected resolveColumnWidth(index: number): string;
1016
1021
  protected isExpandColumn(index: number, column: AXLookupColumn): boolean;
1017
1022
  protected resolveRowCssClass: (row: unknown) => string;