@masterteam/components 0.0.289 → 0.0.290

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.290",
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>;
@@ -1460,7 +1460,7 @@ declare class EntityPreview {
1460
1460
  * `mt-entity-preview` usages in the app.
1461
1461
  */
1462
1462
  readonly infoText: _angular_core.Signal<string>;
1463
- readonly comparisonKind: _angular_core.Signal<"Value" | "EntityList" | null>;
1463
+ readonly comparisonKind: _angular_core.Signal<"EntityList" | "Value" | null>;
1464
1464
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreview, never>;
1465
1465
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreview, "mt-entity-preview", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1466
1466
  }