@masterteam/components 0.0.336 → 0.0.337
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/assets/common.css +1 -1
- package/assets/i18n/ar.json +2 -1
- package/assets/i18n/en.json +2 -1
- package/fesm2022/masterteam-components-entities.mjs +117 -50
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-entities.d.ts +9 -1
package/package.json
CHANGED
|
@@ -826,6 +826,12 @@ interface EntityData {
|
|
|
826
826
|
*/
|
|
827
827
|
color?: string;
|
|
828
828
|
order?: number;
|
|
829
|
+
/**
|
|
830
|
+
* Marks a value the backend calculates: `mt-entity-preview` shows the
|
|
831
|
+
* calculated-value icon beside its label. Set by the host that maps the
|
|
832
|
+
* catalog, so a surface that does not set it renders exactly as before.
|
|
833
|
+
*/
|
|
834
|
+
calculated?: boolean;
|
|
829
835
|
propertyConfiguration?: EntityPropertyConfiguration;
|
|
830
836
|
/**
|
|
831
837
|
* Catalog metadata for the properties captured inside `value`. The stored
|
|
@@ -944,6 +950,8 @@ declare function mergeStakeholderNameRows<T extends Record<string, unknown>>(col
|
|
|
944
950
|
|
|
945
951
|
type EntityFieldGap = 'compact' | 'normal' | 'relaxed';
|
|
946
952
|
declare class EntityField {
|
|
953
|
+
private readonly previewData;
|
|
954
|
+
readonly calculated: _angular_core.Signal<boolean>;
|
|
947
955
|
readonly label: _angular_core.InputSignal<string>;
|
|
948
956
|
readonly labelIconName: _angular_core.InputSignal<string | null>;
|
|
949
957
|
readonly configuration: _angular_core.InputSignal<EntityConfiguration | null | undefined>;
|
|
@@ -1382,7 +1390,7 @@ declare class EntityAttachment {
|
|
|
1382
1390
|
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
1383
1391
|
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
1384
1392
|
readonly shape: _angular_core.InputSignal<"compact" | "default">;
|
|
1385
|
-
readonly value: _angular_core.InputSignal<string |
|
|
1393
|
+
readonly value: _angular_core.InputSignal<string | EntityAttachmentItemValue | EntityAttachmentValue | null | undefined>;
|
|
1386
1394
|
readonly endPoint: _angular_core.InputSignal<string>;
|
|
1387
1395
|
readonly context: _angular_core.InputSignal<HttpContext | undefined>;
|
|
1388
1396
|
private readonly httpClient;
|