@masterteam/components 0.0.264 → 0.0.266

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.264",
3
+ "version": "0.0.266",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/components",
6
6
  "linkDirectory": true,
@@ -625,7 +625,7 @@ declare class EntityAttachment {
625
625
  readonly data: _angular_core.InputSignal<EntityData | undefined>;
626
626
  readonly name: _angular_core.InputSignal<string | undefined>;
627
627
  readonly shape: _angular_core.InputSignal<"compact" | "default">;
628
- readonly value: _angular_core.InputSignal<string | EntityAttachmentValue | EntityAttachmentItemValue | null | undefined>;
628
+ readonly value: _angular_core.InputSignal<string | EntityAttachmentItemValue | EntityAttachmentValue | null | undefined>;
629
629
  readonly endPoint: _angular_core.InputSignal<string>;
630
630
  readonly context: _angular_core.InputSignal<HttpContext | undefined>;
631
631
  private readonly httpClient;
@@ -956,6 +956,9 @@ interface EntitySlotGroup {
956
956
  }
957
957
  declare class EntitiesPreview {
958
958
  private readonly transloco;
959
+ private readonly elementRef;
960
+ private readonly destroyRef;
961
+ private readonly zone;
959
962
  /** Array of entity data to display */
960
963
  readonly entities: _angular_core.InputSignal<EntityData[]>;
961
964
  readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
@@ -1014,6 +1017,17 @@ declare class EntitiesPreview {
1014
1017
  * this cheap mapping re-runs when the key sets or tooltips change.
1015
1018
  */
1016
1019
  protected readonly slotGroups: _angular_core.Signal<EntitySlotGroup[]>;
1020
+ /**
1021
+ * Whether the host is too narrow for the 24-column grid to stay legible.
1022
+ *
1023
+ * Measured rather than assumed: this component is narrow because of the
1024
+ * column layout it sits in, not because of the viewport, so a media query
1025
+ * would answer the wrong question — the same reason the stylesheet uses a
1026
+ * container query.
1027
+ */
1028
+ private readonly hostWidth;
1029
+ protected readonly isNarrowHost: _angular_core.Signal<boolean>;
1030
+ constructor();
1017
1031
  protected onSlotClick(source: MouseEvent, slot: EntitySlot): void;
1018
1032
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitiesPreview, never>;
1019
1033
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntitiesPreview, "mt-entities-preview", never, { "entities": { "alias": "entities"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; "stackOnNarrow": { "alias": "stackOnNarrow"; "required": false; "isSignal": true; }; "clickableKeys": { "alias": "clickableKeys"; "required": false; "isSignal": true; }; "activeKeys": { "alias": "activeKeys"; "required": false; "isSignal": true; }; "clickableTooltip": { "alias": "clickableTooltip"; "required": false; "isSignal": true; }; "activeTooltip": { "alias": "activeTooltip"; "required": false; "isSignal": true; }; }, { "entityClick": "entityClick"; }, never, never, true, never>;