@masterteam/components 0.0.289 → 0.0.291

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": "@masterteam/components",
3
- "version": "0.0.289",
3
+ "version": "0.0.291",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/components",
6
6
  "linkDirectory": true,
@@ -351,6 +351,12 @@ declare class EntityListField implements ControlValueAccessor {
351
351
  /** Normalized `access` from the property configuration. */
352
352
  protected readonly accessMode: _angular_core.Signal<EntityListAccess>;
353
353
  protected readonly canRead: _angular_core.Signal<boolean>;
354
+ /**
355
+ * Whether the field has rows it may display. Write-only access cannot read
356
+ * target module records, but its stored `rows[]` are the value users entered
357
+ * and must remain visible when the host renders the field as read-only.
358
+ */
359
+ protected readonly canDisplayRows: _angular_core.Signal<boolean>;
354
360
  /** Access allows module-backed create/update/delete. */
355
361
  private readonly writeAllowed;
356
362
  /** Write UI is rendered only when access allows it and the field is editable. */
@@ -376,9 +382,9 @@ declare class EntityListField implements ControlValueAccessor {
376
382
  /** Pending edits of existing rows, keyed by entity id. */
377
383
  private readonly editedRowsByEntityId;
378
384
  /**
379
- * Rows rendered in the table. In write mode existing rows are merged with
380
- * pending edits, removed rows are hidden, and locally created rows are
381
- * appended.
385
+ * Rows rendered in the table. In editable write modes, and in a read-only
386
+ * Write-only preview, existing rows are merged with pending edits, removed
387
+ * rows are hidden, and locally created rows are appended.
382
388
  */
383
389
  protected readonly displayRows: _angular_core.Signal<EntityListRow[]>;
384
390
  protected readonly hasRows: _angular_core.Signal<boolean>;
@@ -466,6 +472,13 @@ declare class EntityListField implements ControlValueAccessor {
466
472
  private isEmptyValue;
467
473
  private isSameValue;
468
474
  private fetchDraftColumns;
475
+ /**
476
+ * Project a Create form into the catalog shape the column builder expects.
477
+ * Sections and their fields are flattened into reading order and renumbered
478
+ * from there — a field's own `order` is section-relative, so carrying it over
479
+ * as the column order interleaves the sections once `applyResponse` sorts.
480
+ */
481
+ private mapProcessFormProperties;
469
482
  private fetchRows;
470
483
  private applyResponse;
471
484
  private toEntityData;