@masterteam/components 0.0.341 → 0.0.343

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.
@@ -1,9 +1,10 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { InjectionToken, Type, ElementRef, NgZone, Signal } from '@angular/core';
2
+ import { InjectionToken, Type, OnInit, ElementRef, NgZone, Signal } from '@angular/core';
3
3
  import * as _masterteam_components_entities from '@masterteam/components/entities';
4
4
  import { MTDateFormatType } from '@masterteam/components';
5
5
  import { MTIcon } from '@masterteam/icons';
6
6
  import { HttpContext } from '@angular/common/http';
7
+ import { Observable } from 'rxjs';
7
8
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
8
9
  import { TranslocoService } from '@jsverse/transloco';
9
10
 
@@ -95,6 +96,87 @@ declare class EntityRuntimeContextStore {
95
96
  */
96
97
  declare const ENTITY_LIST_TABLE_COMPONENT: InjectionToken<Type<unknown>>;
97
98
 
99
+ /**
100
+ * The record a calculated value was read from. Set on `EntityData` by a host
101
+ * that knows it (a record preview), so the value's calculated-value mark can
102
+ * explain how the saved value was calculated.
103
+ */
104
+ interface EntityCalculationSource {
105
+ /** The fetch context the record was read from: `level:12`, `level:12/module:5`. */
106
+ contextKey: string;
107
+ /** The level-data or module-data id. */
108
+ recordId: number;
109
+ }
110
+ /** What `mt-entity-calculated-indicator` needs to open an explanation. */
111
+ interface EntityCalculationExplanationTarget {
112
+ source: EntityCalculationSource;
113
+ /** The canonical property key. */
114
+ propertyKey: string;
115
+ /** The field label, shown as the explanation's title. */
116
+ label: string;
117
+ /** The raw value on screen, compared with the saved one. */
118
+ displayedValue: string | undefined;
119
+ }
120
+ /**
121
+ * `GET properties/calculation-explanation`. The backend returns these as
122
+ * camelCase strings; anything else is treated as unavailable.
123
+ */
124
+ type CalculationExplanationStatus = 'available' | 'notCaptured' | 'unsupported' | 'limitExceeded' | 'restricted' | 'valueChanged' | 'notCalculated';
125
+ /** A JSON value captured by the backend, shown as plain text. */
126
+ type CalculationExplanationValue = string | number | boolean | null | CalculationExplanationValue[] | {
127
+ [key: string]: CalculationExplanationValue;
128
+ };
129
+ /**
130
+ * The latest saved calculation of one value. Not wrapped in the usual response
131
+ * envelope: the endpoint returns this object as is.
132
+ */
133
+ interface CalculationExplanationResponse {
134
+ status: CalculationExplanationStatus | (string & {});
135
+ propertyKey: string;
136
+ valueVersion: string | null;
137
+ /** The formula was changed after this value was saved. */
138
+ definitionChanged: boolean;
139
+ /** Only with `available`: the persisted value the explanation belongs to. */
140
+ explanation?: CalculationExplanationDocument | null;
141
+ savedValue?: string | null;
142
+ }
143
+ interface CalculationExplanationDocument {
144
+ schemaVersion: number;
145
+ calculationId: string;
146
+ provider: string;
147
+ providerVersion: string;
148
+ engineVersion: string;
149
+ status: string;
150
+ /** The saved formula, with internal property references. */
151
+ formula: string;
152
+ definitionHash: string;
153
+ calculatedAt: string;
154
+ /** The formula with every input replaced by its value: `(20 * 2)`. */
155
+ formulaWithValues: string | null;
156
+ /** The engine output, before the backend normalized it for saving. */
157
+ result: CalculationExplanationValue;
158
+ rootNodeId: number;
159
+ nodes: CalculationExplanationNode[];
160
+ sources: CalculationExplanationSourceRecords[];
161
+ }
162
+ interface CalculationExplanationNode {
163
+ id: number;
164
+ kind: 'literal' | 'input' | 'binary' | 'unary' | 'function' | 'conditional' | 'array' | (string & {});
165
+ operation: string | null;
166
+ expression: string;
167
+ children: number[];
168
+ argumentNames: (string | null)[];
169
+ state: 'evaluated' | 'notEvaluated' | (string & {});
170
+ value: CalculationExplanationValue;
171
+ reference: string | null;
172
+ }
173
+ interface CalculationExplanationSourceRecords {
174
+ tablePath: string;
175
+ contextKey: string | null;
176
+ recordIds: number[];
177
+ propertyKeys: string[];
178
+ }
179
+
98
180
  /** A recalculation covering this value is running, or queued behind another. */
99
181
  type EntityCalculationStatus = 'running' | 'waiting' | 'delayed';
100
182
  /** How a calculated value moved between two reads of the same record. */
@@ -853,6 +935,11 @@ interface EntityData {
853
935
  calculationStatus?: EntityCalculationStatus | null;
854
936
  /** The last change to this calculated value since the record was opened. */
855
937
  calculationChange?: EntityCalculationChange | null;
938
+ /**
939
+ * The record a calculated value was read from. When set, clicking the
940
+ * calculated-value icon shows how the saved value was calculated.
941
+ */
942
+ calculationSource?: EntityCalculationSource | null;
856
943
  propertyConfiguration?: EntityPropertyConfiguration;
857
944
  /**
858
945
  * Catalog metadata for the properties captured inside `value`. The stored
@@ -975,6 +1062,8 @@ declare class EntityField {
975
1062
  readonly calculated: _angular_core.Signal<boolean>;
976
1063
  readonly calculationStatus: _angular_core.Signal<_masterteam_components_entities.EntityCalculationStatus | null | undefined>;
977
1064
  readonly calculationChange: _angular_core.Signal<_masterteam_components_entities.EntityCalculationChange | null | undefined>;
1065
+ /** What the calculated-value mark explains on click, if anything. */
1066
+ readonly calculationExplanation: _angular_core.Signal<_masterteam_components_entities.EntityCalculationExplanationTarget | null>;
978
1067
  readonly recentChange: _angular_core.Signal<_masterteam_components_entities.EntityCalculationChange | null>;
979
1068
  readonly label: _angular_core.InputSignal<string>;
980
1069
  readonly labelIconName: _angular_core.InputSignal<string | null>;
@@ -1143,6 +1232,8 @@ declare class EntityPercentage {
1143
1232
  readonly value: _angular_core.InputSignal<string | undefined>;
1144
1233
  readonly rawValue: _angular_core.InputSignal<string | undefined>;
1145
1234
  readonly displayName: _angular_core.Signal<string>;
1235
+ /** What the calculated-value mark explains on click, if anything. */
1236
+ readonly calculationExplanation: _angular_core.Signal<_masterteam_components_entities.EntityCalculationExplanationTarget | null>;
1146
1237
  readonly displayValue: _angular_core.Signal<string>;
1147
1238
  private readonly rawNumericValue;
1148
1239
  readonly hasNumericValue: _angular_core.Signal<boolean>;
@@ -1217,6 +1308,8 @@ declare class EntityCheckbox {
1217
1308
  readonly value: _angular_core.InputSignal<string | undefined>;
1218
1309
  readonly rawValue: _angular_core.InputSignal<string | undefined>;
1219
1310
  readonly displayName: _angular_core.Signal<string>;
1311
+ /** What the calculated-value mark explains on click, if anything. */
1312
+ readonly calculationExplanation: _angular_core.Signal<_masterteam_components_entities.EntityCalculationExplanationTarget | null>;
1220
1313
  readonly emptyLabel = "_";
1221
1314
  readonly hideName: _angular_core.Signal<boolean>;
1222
1315
  readonly checkboxState: _angular_core.Signal<boolean | null>;
@@ -1418,7 +1511,7 @@ type AttachmentReference = EntityAttachmentItemValue | string;
1418
1511
  declare class EntityAttachment {
1419
1512
  readonly data: _angular_core.InputSignal<EntityData | undefined>;
1420
1513
  readonly name: _angular_core.InputSignal<string | undefined>;
1421
- readonly shape: _angular_core.InputSignal<"compact" | "default">;
1514
+ readonly shape: _angular_core.InputSignal<"default" | "compact">;
1422
1515
  readonly value: _angular_core.InputSignal<string | EntityAttachmentItemValue | EntityAttachmentValue | null | undefined>;
1423
1516
  readonly endPoint: _angular_core.InputSignal<string>;
1424
1517
  readonly context: _angular_core.InputSignal<HttpContext | undefined>;
@@ -2017,22 +2110,118 @@ declare class EntityCalculatedGlyph {
2017
2110
  * Marks a property value the backend calculates. Rendered beside its label; it
2018
2111
  * pulses while a recalculation that covers the value is in progress, and stays
2019
2112
  * lit without pulsing once that is taking longer than expected.
2113
+ *
2114
+ * Given an `explanation` target it is a button: clicking it shows how the saved
2115
+ * value was calculated.
2020
2116
  */
2021
2117
  declare class EntityCalculatedIndicator {
2022
2118
  /** Set while the value is being recalculated. */
2023
2119
  readonly status: _angular_core.InputSignal<EntityCalculationStatus | null | undefined>;
2024
2120
  /** The value's last change, described in the tooltip when it is not busy. */
2025
2121
  readonly change: _angular_core.InputSignal<EntityCalculationChange | null | undefined>;
2122
+ /** The value to explain on click. Without it the mark only has a tooltip. */
2123
+ readonly explanation: _angular_core.InputSignal<EntityCalculationExplanationTarget | null>;
2124
+ private readonly popover;
2125
+ protected readonly opened: _angular_core.WritableSignal<boolean>;
2026
2126
  protected readonly pulsing: _angular_core.Signal<boolean>;
2027
2127
  protected readonly tooltipKey: _angular_core.Signal<string>;
2028
2128
  protected readonly tooltipParams: _angular_core.Signal<{
2029
2129
  previous: string;
2030
2130
  current: string;
2031
2131
  } | undefined>;
2132
+ protected toggle(event: MouseEvent): void;
2032
2133
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityCalculatedIndicator, never>;
2033
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCalculatedIndicator, "mt-entity-calculated-indicator", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "change": { "alias": "change"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2134
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCalculatedIndicator, "mt-entity-calculated-indicator", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "change": { "alias": "change"; "required": false; "isSignal": true; }; "explanation": { "alias": "explanation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2034
2135
  }
2035
2136
 
2137
+ /**
2138
+ * Reads the latest saved calculation of a value. The request never
2139
+ * recalculates anything; the response is marked `no-store`, so every open
2140
+ * asks again.
2141
+ */
2142
+ declare class CalculationExplanationApi {
2143
+ private readonly http;
2144
+ read(source: EntityCalculationSource, propertyKey: string): Observable<CalculationExplanationResponse>;
2145
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationExplanationApi, never>;
2146
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<CalculationExplanationApi>;
2147
+ }
2148
+ /**
2149
+ * The context key in the casing the endpoint accepts. Fetch contexts are
2150
+ * written `level:12/module:5`, but this endpoint validates `Level:12/Module:5`
2151
+ * case-sensitively and answers anything else with a 400. Null for a context it
2152
+ * does not explain.
2153
+ */
2154
+ declare function toCalculationContextKey(contextKey: string): string | null;
2155
+ /**
2156
+ * What a value's calculated-value mark explains on click: only a calculated
2157
+ * value whose host named the record it was read from. A status is
2158
+ * recalculated but has no formula (the endpoint answers `unsupported`), so it
2159
+ * keeps the plain mark.
2160
+ */
2161
+ declare function toCalculationExplanationTarget(entity: EntityData | null | undefined, label?: string | null): EntityCalculationExplanationTarget | null;
2162
+ /**
2163
+ * Lets an explanation ask the host that rendered a value to read it again,
2164
+ * when the saved value no longer matches the one on screen. Provided by
2165
+ * `mt-client-instance-preview`; without it the explanation only says so.
2166
+ */
2167
+ declare abstract class EntityCalculationRefresher {
2168
+ abstract refreshStaleCalculatedValue(): void;
2169
+ }
2170
+
2171
+ type ExplanationState = {
2172
+ kind: 'loading';
2173
+ } | {
2174
+ kind: 'failed';
2175
+ } | {
2176
+ kind: 'unavailable';
2177
+ messageKey: string;
2178
+ } | {
2179
+ kind: 'available';
2180
+ formulaWithValues: string | null;
2181
+ result: string;
2182
+ calculatedAt: string;
2183
+ definitionChanged: boolean;
2184
+ /** The value on screen was older than the saved one and was re-read. */
2185
+ refreshed: boolean;
2186
+ };
2187
+ /**
2188
+ * How a calculated value was calculated: its formula with the values it used,
2189
+ * the result and when, as saved with the value. Fetched each time it opens and
2190
+ * never recalculated here.
2191
+ */
2192
+ declare class EntityCalculationExplanation implements OnInit {
2193
+ private readonly api;
2194
+ private readonly refresher;
2195
+ readonly target: _angular_core.InputSignal<EntityCalculationExplanationTarget>;
2196
+ protected readonly prefix = "components.entitiesPreview.calculationExplanation";
2197
+ protected readonly state: _angular_core.WritableSignal<ExplanationState>;
2198
+ protected readonly available: _angular_core.Signal<{
2199
+ kind: "available";
2200
+ formulaWithValues: string | null;
2201
+ result: string;
2202
+ calculatedAt: string;
2203
+ definitionChanged: boolean;
2204
+ /** The value on screen was older than the saved one and was re-read. */
2205
+ refreshed: boolean;
2206
+ } | null>;
2207
+ protected readonly unavailableKey: _angular_core.Signal<string | null>;
2208
+ private request?;
2209
+ constructor();
2210
+ ngOnInit(): void;
2211
+ private load;
2212
+ private apply;
2213
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityCalculationExplanation, never>;
2214
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCalculationExplanation, "mt-entity-calculation-explanation", never, { "target": { "alias": "target"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
2215
+ }
2216
+ /**
2217
+ * Whether the saved value is the one on screen. Both are the persisted string,
2218
+ * but a number may be written either way (`40` and `40.0`), so numbers compare
2219
+ * as numbers.
2220
+ */
2221
+ declare function isSameSavedValue(saved: string | null | undefined, displayed: string | undefined): boolean;
2222
+ /** A captured value as plain text. Never formatted or rounded here. */
2223
+ declare function formatExplanationValue(value: CalculationExplanationValue): string;
2224
+
2036
2225
  /**
2037
2226
  * Says how a calculated number just moved: the signed difference, with the
2038
2227
  * exact values in its tooltip.
@@ -2188,7 +2377,7 @@ declare class EntityHeader {
2188
2377
  declare class EntityPreview {
2189
2378
  private readonly transloco;
2190
2379
  readonly data: _angular_core.InputSignal<EntityData>;
2191
- readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
2380
+ readonly attachmentShape: _angular_core.InputSignal<"default" | "compact">;
2192
2381
  private readonly activeLang;
2193
2382
  /**
2194
2383
  * The admin-authored note for the active language, or `''` when the property
@@ -2211,7 +2400,7 @@ declare class EntityPreview {
2211
2400
  */
2212
2401
  declare class EntityPreviewBody {
2213
2402
  readonly data: _angular_core.InputSignal<EntityData>;
2214
- readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
2403
+ readonly attachmentShape: _angular_core.InputSignal<"default" | "compact">;
2215
2404
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreviewBody, never>;
2216
2405
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreviewBody, "mt-entity-preview-body", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2217
2406
  }
@@ -2285,7 +2474,7 @@ declare class EntitiesPreview {
2285
2474
  private readonly transloco;
2286
2475
  /** Array of entity data to display */
2287
2476
  readonly entities: _angular_core.InputSignal<EntityData[]>;
2288
- readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
2477
+ readonly attachmentShape: _angular_core.InputSignal<"default" | "compact">;
2289
2478
  /**
2290
2479
  * Soft "stack every field full-width when the host is narrower than the
2291
2480
  * 24-column grid reads well" behavior (the ≤400px container-query fallback,
@@ -2484,5 +2673,5 @@ declare class FitText {
2484
2673
 
2485
2674
  declare function sharedActiveLang(transloco: TranslocoService): Signal<string>;
2486
2675
 
2487
- export { CALCULATION_CHANGE_CHIP_MS, CONNECTION_KEY_SEPARATOR, CURRENCY_COMPACT_THRESHOLD, CalculatedValueHistory, ComparisonEntityList, ComparisonValue, DEFAULT_PERFORMANCE_SCORE_CHART_SIZE, DEFAULT_PHASE_GATE_COLOR, ENTITY_EMPTY_VALUE_PLACEHOLDER, ENTITY_HEADER_VIEW_TYPES, ENTITY_LIST_TABLE_COMPONENT, ENTITY_ROW_SPANS, EntitiesManage, EntitiesPreview, EntitiesResizeBase, EntityAttachment, EntityCalculatedGlyph, EntityCalculatedIndicator, EntityCalculationChangeChip, EntityCheckbox, EntityColor, EntityConnection, EntityCurrency, EntityDate, EntityField, EntityHeader, EntityIcon, EntityLeafDetails, EntityListDrawer, EntityListPreview, EntityLocation, EntityLongText, EntityLookup, EntityLookupModuleCheckList, EntityPercentage, EntityPerformanceScore, EntityPhaseGate, EntityPreview, EntityPreviewBody, EntityRuntimeContextStore, EntityScheduleItem, EntityStatus, EntityText, EntityUser, FitText, LEAF_DETAILS_KEY_SEPARATOR, LEAF_PHASES_KEY_SEPARATOR, PERFORMANCE_SCORE_CHART_SIZES, SECTION_KEY_PREFIX, buildConnectionKey, buildDisplayEntities, buildEntityListRows, buildSectionKey, canEntityBeHeader, compactCurrencyDisplay, currencyUnitOf, describeCalculationChange, displayOrPlaceholder, expandConnectionEntity, expandLeafDetailsEntity, extractDisplayText, formatCalculationDelta, getEntitySectionTitle, getPerformanceScoreBands, groupEntitiesIntoSections, humanizeEntityListKey, isCalculatedProperty, isConnectionSyntheticKey, isEntityAlignEnd, isEntityHeader, isEntityLabelHidden, isEntityListLocalDocument, isEntityListSelectionDocument, isEntitySection, isLeafDetailsCatalogConfiguration, isLeafDetailsCollectionValue, isLeafDetailsRuntimeValue, isLeafDetailsSyntheticKey, isLeafDetailsValue, isLeafPhasesSyntheticKey, isLeafSyntheticKey, isSectionKey, isValueMissing, localCellsByFieldId, matchesPercentageColorRule, mergeStakeholderNameColumns, mergeStakeholderNameEntities, mergeStakeholderNameRows, normalizeConnectionSourceLevels, normalizeNumerals, parseCurrencyAmount, parsePerformanceScore, pinEntityHeaderFirst, readEntityHeaderDefaults, readEntityValueColor, resolveConnectionLevelName, resolveEntityGridRow, resolveEntityHeader, resolveEntityInfo, resolveEntityLabelPosition, resolveLocalFieldConfiguration, resolveLocalFieldLabel, resolveLocalFieldViewType, resolveLocalizedLabel, resolvePercentageColor, resolvePerformanceScoreStatus, serializeEntityRawValue, sharedActiveLang, sortLocalRows, splitConnectionKey, splitLeafKey, summarizeEntityListRows, visibleLocalSchemaFields };
2488
- export type { CalculatedPropertyMeta, ComparisonValueSide, ConnectionCatalogConfiguration, ConnectionLevelSavedConfig, ConnectionSourceLevelConfig, EntityAttachmentItemValue, EntityAttachmentValue, EntityBaseConfig, EntityCalculationChange, EntityCalculationStatus, EntityClickEvent, EntityComparisonField, EntityComparisonOperation, EntityConfiguration, EntityConnectionConfig, EntityConnectionSourceValue, EntityConnectionValue, EntityData, EntityHeaderConfig, EntityLabelPosition, EntityLeafDetailsConfig, EntityListComparison, EntityListComparisonRow, EntityListEntityValue, EntityListInlineFieldMeta, EntityListLocalCell, EntityListLocalDocument, EntityListLocalFieldDefinition, EntityListLocalFieldWidth, EntityListLocalRow, EntityListLocalSchema, EntityListLocalSchemaField, EntityListRenderedRow, EntityListRowValue, EntityListSelectionDocument, EntityListSelectionRecord, EntityListSelectionRecordValue, EntityListTableHost, EntityListTranslatable, EntityListValueItem, EntityLocationValue, EntityLookupCheckListItem, EntityLookupCheckListPropValue, EntityLookupCheckListValue, EntityLookupValue, EntityMultiLookupValue, EntityMultiUserValue, EntityNestedPropertyMeta, EntityPercentageConfig, EntityPerformanceScoreChartSize, EntityPerformanceScoreConfig, EntityPerformanceScoreStatus, EntityPerformanceScoreValue, EntityPhaseGateValue, EntityPropertyConfiguration, EntityResizeEvent, EntityRowSpan, EntityRuntimeContext, EntityScheduleItemValue, EntitySectionConfig, EntitySectionGroup, EntitySectionLabel, EntitySize, EntityStatusValue, EntityTranslatableTextValue, EntityUserConfig, EntityUserValue, EntityViewType, LeafDetailsBadgeKind, LeafDetailsCatalogConfiguration, LeafDetailsCatalogLevelValue, LeafDetailsCatalogPhaseValue, LeafDetailsCatalogStatusValue, LeafDetailsEntityCollectionValue, LeafDetailsEntityValue, LeafDetailsPhaseSummary, LeafDetailsRuntimeChildSchema, LeafDetailsRuntimePhaseCount, LeafDetailsRuntimePhaseDetails, LeafDetailsRuntimeStatusCount, LeafDetailsRuntimeStatusDetails, LeafDetailsRuntimeValue, LeafDetailsStatusSummary, LeafLevelSavedConfig, LeafPhaseSavedConfig, PercentageColorMode, PercentageColorPropertyRef, PercentageColorRule, PercentageColorSource, PropertyValueComparison, ValueComparison };
2676
+ export { CALCULATION_CHANGE_CHIP_MS, CONNECTION_KEY_SEPARATOR, CURRENCY_COMPACT_THRESHOLD, CalculatedValueHistory, CalculationExplanationApi, ComparisonEntityList, ComparisonValue, DEFAULT_PERFORMANCE_SCORE_CHART_SIZE, DEFAULT_PHASE_GATE_COLOR, ENTITY_EMPTY_VALUE_PLACEHOLDER, ENTITY_HEADER_VIEW_TYPES, ENTITY_LIST_TABLE_COMPONENT, ENTITY_ROW_SPANS, EntitiesManage, EntitiesPreview, EntitiesResizeBase, EntityAttachment, EntityCalculatedGlyph, EntityCalculatedIndicator, EntityCalculationChangeChip, EntityCalculationExplanation, EntityCalculationRefresher, EntityCheckbox, EntityColor, EntityConnection, EntityCurrency, EntityDate, EntityField, EntityHeader, EntityIcon, EntityLeafDetails, EntityListDrawer, EntityListPreview, EntityLocation, EntityLongText, EntityLookup, EntityLookupModuleCheckList, EntityPercentage, EntityPerformanceScore, EntityPhaseGate, EntityPreview, EntityPreviewBody, EntityRuntimeContextStore, EntityScheduleItem, EntityStatus, EntityText, EntityUser, FitText, LEAF_DETAILS_KEY_SEPARATOR, LEAF_PHASES_KEY_SEPARATOR, PERFORMANCE_SCORE_CHART_SIZES, SECTION_KEY_PREFIX, buildConnectionKey, buildDisplayEntities, buildEntityListRows, buildSectionKey, canEntityBeHeader, compactCurrencyDisplay, currencyUnitOf, describeCalculationChange, displayOrPlaceholder, expandConnectionEntity, expandLeafDetailsEntity, extractDisplayText, formatCalculationDelta, formatExplanationValue, getEntitySectionTitle, getPerformanceScoreBands, groupEntitiesIntoSections, humanizeEntityListKey, isCalculatedProperty, isConnectionSyntheticKey, isEntityAlignEnd, isEntityHeader, isEntityLabelHidden, isEntityListLocalDocument, isEntityListSelectionDocument, isEntitySection, isLeafDetailsCatalogConfiguration, isLeafDetailsCollectionValue, isLeafDetailsRuntimeValue, isLeafDetailsSyntheticKey, isLeafDetailsValue, isLeafPhasesSyntheticKey, isLeafSyntheticKey, isSameSavedValue, isSectionKey, isValueMissing, localCellsByFieldId, matchesPercentageColorRule, mergeStakeholderNameColumns, mergeStakeholderNameEntities, mergeStakeholderNameRows, normalizeConnectionSourceLevels, normalizeNumerals, parseCurrencyAmount, parsePerformanceScore, pinEntityHeaderFirst, readEntityHeaderDefaults, readEntityValueColor, resolveConnectionLevelName, resolveEntityGridRow, resolveEntityHeader, resolveEntityInfo, resolveEntityLabelPosition, resolveLocalFieldConfiguration, resolveLocalFieldLabel, resolveLocalFieldViewType, resolveLocalizedLabel, resolvePercentageColor, resolvePerformanceScoreStatus, serializeEntityRawValue, sharedActiveLang, sortLocalRows, splitConnectionKey, splitLeafKey, summarizeEntityListRows, toCalculationContextKey, toCalculationExplanationTarget, visibleLocalSchemaFields };
2677
+ export type { CalculatedPropertyMeta, CalculationExplanationDocument, CalculationExplanationNode, CalculationExplanationResponse, CalculationExplanationSourceRecords, CalculationExplanationStatus, CalculationExplanationValue, ComparisonValueSide, ConnectionCatalogConfiguration, ConnectionLevelSavedConfig, ConnectionSourceLevelConfig, EntityAttachmentItemValue, EntityAttachmentValue, EntityBaseConfig, EntityCalculationChange, EntityCalculationExplanationTarget, EntityCalculationSource, EntityCalculationStatus, EntityClickEvent, EntityComparisonField, EntityComparisonOperation, EntityConfiguration, EntityConnectionConfig, EntityConnectionSourceValue, EntityConnectionValue, EntityData, EntityHeaderConfig, EntityLabelPosition, EntityLeafDetailsConfig, EntityListComparison, EntityListComparisonRow, EntityListEntityValue, EntityListInlineFieldMeta, EntityListLocalCell, EntityListLocalDocument, EntityListLocalFieldDefinition, EntityListLocalFieldWidth, EntityListLocalRow, EntityListLocalSchema, EntityListLocalSchemaField, EntityListRenderedRow, EntityListRowValue, EntityListSelectionDocument, EntityListSelectionRecord, EntityListSelectionRecordValue, EntityListTableHost, EntityListTranslatable, EntityListValueItem, EntityLocationValue, EntityLookupCheckListItem, EntityLookupCheckListPropValue, EntityLookupCheckListValue, EntityLookupValue, EntityMultiLookupValue, EntityMultiUserValue, EntityNestedPropertyMeta, EntityPercentageConfig, EntityPerformanceScoreChartSize, EntityPerformanceScoreConfig, EntityPerformanceScoreStatus, EntityPerformanceScoreValue, EntityPhaseGateValue, EntityPropertyConfiguration, EntityResizeEvent, EntityRowSpan, EntityRuntimeContext, EntityScheduleItemValue, EntitySectionConfig, EntitySectionGroup, EntitySectionLabel, EntitySize, EntityStatusValue, EntityTranslatableTextValue, EntityUserConfig, EntityUserValue, EntityViewType, LeafDetailsBadgeKind, LeafDetailsCatalogConfiguration, LeafDetailsCatalogLevelValue, LeafDetailsCatalogPhaseValue, LeafDetailsCatalogStatusValue, LeafDetailsEntityCollectionValue, LeafDetailsEntityValue, LeafDetailsPhaseSummary, LeafDetailsRuntimeChildSchema, LeafDetailsRuntimePhaseCount, LeafDetailsRuntimePhaseDetails, LeafDetailsRuntimeStatusCount, LeafDetailsRuntimeStatusDetails, LeafDetailsRuntimeValue, LeafDetailsStatusSummary, LeafLevelSavedConfig, LeafPhaseSavedConfig, PercentageColorMode, PercentageColorPropertyRef, PercentageColorRule, PercentageColorSource, PropertyValueComparison, ValueComparison };