@meshmakers/shared-ui 3.5.520 → 3.5.550

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/shared-ui",
3
- "version": "3.5.520",
3
+ "version": "3.5.550",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0",
@@ -2275,6 +2275,16 @@ declare class EntitySelectInputComponent implements OnInit, OnDestroy, ControlVa
2275
2275
  maxResults: number;
2276
2276
  debounceMs: number;
2277
2277
  prefix: string;
2278
+ /**
2279
+ * Display name of the entity the host holds as the current pick (e.g. a pick restored from
2280
+ * the URL, or set by the host). The input follows every change (AB#7916):
2281
+ * - a new name replaces the text; when it differs from the text of the entity picked in
2282
+ * this input, that selection is dropped (the host replaced the pick);
2283
+ * - `undefined` / empty clears the text and the selection (the host cleared the pick).
2284
+ * Host changes emit no `entitySelected` / `entityCleared` and do not call the form
2285
+ * `onChange`: the host made the change itself. Before AB#7916 empty values and any value
2286
+ * after a pick in this input were ignored, so the input kept showing a stale pick.
2287
+ */
2278
2288
  set initialDisplayValue(value: string | undefined);
2279
2289
  dialogDataSource?: EntitySelectDialogDataSource<any>;
2280
2290
  dialogTitle: string;
@@ -2297,6 +2307,8 @@ declare class EntitySelectInputComponent implements OnInit, OnDestroy, ControlVa
2297
2307
  selectedEntity: unknown;
2298
2308
  isLoading: boolean;
2299
2309
  private entityMap;
2310
+ /** Last value of {@link initialDisplayValue}; a host pick is shown while it is non-empty. */
2311
+ private hostDisplayValue;
2300
2312
  private searchSubject;
2301
2313
  private typedText;
2302
2314
  private destroy$;