@masterteam/components 0.0.344 → 0.0.345

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.
@@ -4,6 +4,7 @@ import * as _masterteam_components_entities from '@masterteam/components/entitie
4
4
  import { MTDateFormatType } from '@masterteam/components';
5
5
  import { MTIcon } from '@masterteam/icons';
6
6
  import { HttpContext } from '@angular/common/http';
7
+ import { Popover } from 'primeng/popover';
7
8
  import { Observable } from 'rxjs';
8
9
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
9
10
  import { TranslocoService } from '@jsverse/transloco';
@@ -179,9 +180,16 @@ interface CalculationExplanationDocument {
179
180
  status: string;
180
181
  /**
181
182
  * The saved formula with internal property references; for a native method
182
- * or a schedule field, a description of the calculation instead.
183
+ * or a schedule field, an English description of the calculation instead.
184
+ * Diagnostic only: never shown, the UI builds its wording from the nodes.
183
185
  */
184
186
  formula: string;
187
+ /**
188
+ * A stable key for a server-authored description (`calculation.method.*`,
189
+ * `calculation.schedule.*`, `calculation.status.*`). Absent on older saved
190
+ * captures and on ordinary formulas.
191
+ */
192
+ descriptionKey?: string | null;
185
193
  definitionHash: string;
186
194
  calculatedAt: string;
187
195
  /** The formula with every input replaced by its value: `(20 * 2)`. */
@@ -201,7 +209,10 @@ interface CalculationExplanationNode {
201
209
  id: number;
202
210
  kind: CalculationExplanationNodeKind | (string & {});
203
211
  operation: string | null;
212
+ /** Diagnostic text (formula source or an English fact label); never shown. */
204
213
  expression: string;
214
+ /** A stable key for a native fact's label (`calculation.fact.*`). */
215
+ labelKey?: string | null;
205
216
  children: number[];
206
217
  argumentNames: (string | null)[];
207
218
  /** `notEvaluated` (a branch never reached) is not an evaluated `null`. */
@@ -210,9 +221,18 @@ interface CalculationExplanationNode {
210
221
  reference: string | null;
211
222
  /** The referenced property, for an input whose source was authorized. */
212
223
  display?: CalculationPropertyDisplay | null;
213
- /** The rows behind a vector input, aligned with its values. */
224
+ /**
225
+ * The rows behind a vector input: `recordIds[i]` is the row of `value[i]`,
226
+ * nulls and repeats included. Never re-sorted, never taken from `sources`.
227
+ */
214
228
  recordIds?: number[];
215
229
  }
230
+ /** A record a calculation read, to be named through an authorized read. */
231
+ interface CalculationRecordRef {
232
+ /** `Level:1/Module:4`, as the explanation wrote it. */
233
+ contextKey: string;
234
+ recordId: number;
235
+ }
216
236
  interface CalculationExplanationSourceRecords {
217
237
  tablePath: string;
218
238
  contextKey: string | null;
@@ -1609,7 +1629,7 @@ declare class EntityAttachment {
1609
1629
  readonly data: _angular_core.InputSignal<EntityData | undefined>;
1610
1630
  readonly name: _angular_core.InputSignal<string | undefined>;
1611
1631
  readonly shape: _angular_core.InputSignal<"default" | "compact">;
1612
- readonly value: _angular_core.InputSignal<string | EntityAttachmentValue | EntityAttachmentItemValue | null | undefined>;
1632
+ readonly value: _angular_core.InputSignal<string | EntityAttachmentItemValue | EntityAttachmentValue | null | undefined>;
1613
1633
  readonly endPoint: _angular_core.InputSignal<string>;
1614
1634
  readonly context: _angular_core.InputSignal<HttpContext | undefined>;
1615
1635
  private readonly httpClient;
@@ -2219,8 +2239,10 @@ declare class EntityCalculatedIndicator {
2219
2239
  readonly change: _angular_core.InputSignal<EntityCalculationChange | null | undefined>;
2220
2240
  /** The value to explain on click. Without it the mark only has a tooltip. */
2221
2241
  readonly explanation: _angular_core.InputSignal<EntityCalculationExplanationTarget | null>;
2222
- private readonly popover;
2242
+ protected readonly popover: _angular_core.Signal<Popover | undefined>;
2223
2243
  protected readonly opened: _angular_core.WritableSignal<boolean>;
2244
+ private readonly explanationElement;
2245
+ constructor();
2224
2246
  protected readonly pulsing: _angular_core.Signal<boolean>;
2225
2247
  protected readonly tooltipKey: _angular_core.Signal<string>;
2226
2248
  protected readonly tooltipParams: _angular_core.Signal<{
@@ -2243,6 +2265,26 @@ declare class CalculationExplanationApi {
2243
2265
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationExplanationApi, never>;
2244
2266
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<CalculationExplanationApi>;
2245
2267
  }
2268
+ /**
2269
+ * Names the records a calculation read (schedule items, financial rows) through
2270
+ * the normal runtime record reads, so a contributor reads as its title rather
2271
+ * than its id. Only names are taken; the numbers stay the captured ones.
2272
+ */
2273
+ declare class CalculationRecordNames {
2274
+ private readonly http;
2275
+ /**
2276
+ * Names by {@link calculationRecordKey}. A record the reader may not see, or
2277
+ * any failed read, is simply absent.
2278
+ */
2279
+ read(owner: EntityCalculationSource, refs: CalculationRecordRef[]): Observable<Record<string, string>>;
2280
+ private readContext;
2281
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationRecordNames, never>;
2282
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<CalculationRecordNames>;
2283
+ }
2284
+ /** `Level:1/Module:4` → `level:1/module:4`, the casing record reads use. */
2285
+ declare function toFetchContextKey(contextKey: string | null): string | null;
2286
+ /** The key a record's name is stored under. */
2287
+ declare function calculationRecordKey(contextKey: string | null, recordId: number): string;
2246
2288
  /**
2247
2289
  * The context key in the casing the endpoint accepts. Fetch contexts are
2248
2290
  * written `level:12/module:5`, but this endpoint validates `Level:12/Module:5`
@@ -2271,6 +2313,13 @@ declare abstract class EntityCalculationRefresher {
2271
2313
  * unit, amounts are shown as plain numbers.
2272
2314
  */
2273
2315
  declare const MT_CALCULATION_CURRENCY: InjectionToken<Signal<string>>;
2316
+ /**
2317
+ * The names of a status property's statuses in a language, by status key, so
2318
+ * a status rule reads as its business name. Read inside a reactive context:
2319
+ * a host backed by signals updates the explanation when its statuses load.
2320
+ */
2321
+ type CalculationStatusNames = (propertyKey: string, lang: string) => Record<string, string>;
2322
+ declare const MT_CALCULATION_STATUS_NAMES: InjectionToken<CalculationStatusNames>;
2274
2323
  declare const CALCULATION_EXPLANATION_KEYS = "components.entitiesPreview.calculationExplanation";
2275
2324
  /** What formatting needs from the host: language, currency, dates, text. */
2276
2325
  interface ExplanationFormatContext {
@@ -2297,6 +2346,12 @@ type ExplanationSegment = {
2297
2346
  kind: 'muted';
2298
2347
  text: string;
2299
2348
  };
2349
+ /**
2350
+ * How an equation reads: `labels` is its shape (`Budget − Spent`), `values`
2351
+ * the captured values in that shape (`10,000 SAR − 125,454 SAR`), `inline`
2352
+ * both at once (`Budget (10,000 SAR)`), for status conditions.
2353
+ */
2354
+ type SegmentMode = 'inline' | 'labels' | 'values';
2300
2355
  /** Captured JSON shown as labelled data. */
2301
2356
  type ExplanationData = {
2302
2357
  kind: 'text';
@@ -2308,6 +2363,7 @@ type ExplanationData = {
2308
2363
  kind: 'table';
2309
2364
  columns: string[];
2310
2365
  rows: string[][];
2366
+ more: number;
2311
2367
  } | {
2312
2368
  kind: 'fields';
2313
2369
  fields: {
@@ -2321,39 +2377,84 @@ declare function formatExplanationNumber(value: number): string;
2321
2377
  declare function formatExplanationValue(value: CalculationExplanationValue | undefined): string;
2322
2378
  /**
2323
2379
  * A captured value the way its property shows values: grouped numbers, the
2324
- * application currency, `%`, the configured date format.
2380
+ * application currency, `%`, the configured date format, yes/no. An untyped
2381
+ * value (a function result) that is a date reads as one.
2325
2382
  */
2326
2383
  declare function formatTypedValue(value: CalculationExplanationValue | undefined, viewType: string | null | undefined, ctx: ExplanationFormatContext): string;
2327
2384
  /** A property's current name in the active language. */
2328
2385
  declare function displayName(display: CalculationPropertyDisplay | null | undefined, lang: string): string | null;
2329
- /** `Modules.LevelDataFinancial` → `LevelDataFinancial`. */
2330
- declare function tableLabel(tablePath: string | null | undefined): string;
2331
2386
  /** `totalLevelWeight` / `is_cancelled` → `Total level weight` / `Is cancelled`. */
2332
2387
  declare function humanizeKey(key: string): string;
2388
+ /**
2389
+ * A server-authored text key (`calculation.method.leafAverage`) in the active
2390
+ * language; null for a missing or unknown key.
2391
+ */
2392
+ declare function serverText(key: string | null | undefined, ctx: ExplanationFormatContext): string | null;
2393
+ /**
2394
+ * What a document's calculation does, in words: its description key, or for
2395
+ * an older capture a generic description of its kind.
2396
+ */
2397
+ declare function describeDocument(document: CalculationExplanationDocument, ctx: ExplanationFormatContext): string;
2333
2398
  /** Whether the document's root reads as an equation. */
2334
2399
  declare function isEquationDocument(document: CalculationExplanationDocument): boolean;
2335
2400
  /**
2336
- * The calculation as a readable equation: every input by its property name
2337
- * with the value it had, operators as symbols, nested function results shown
2338
- * after the call. `null` when the document is not an equation (a native
2339
- * method, a status selection, a generated code).
2401
+ * The calculation as readable business wording: inputs by their property
2402
+ * names, operators as symbols, functions as words (`sum of Amount where …`).
2403
+ * `null` when the document is not an equation (a native method, a status
2404
+ * selection, a generated code), or, in `values` mode, when an input is a list
2405
+ * of values the line cannot show (the details list them by record).
2406
+ *
2407
+ * Nodes form a graph: the same input can be reached from several places, and
2408
+ * each place shows it in full. Only a node already on the current path (a
2409
+ * cycle, which a valid document never has) reads as `…`.
2410
+ */
2411
+ declare function buildExplanationSegments(document: CalculationExplanationDocument, ctx: ExplanationFormatContext, mode?: SegmentMode, startId?: number): ExplanationSegment[] | null;
2412
+ /** Capitalizes the first word, for an equation that starts a line. */
2413
+ declare function capitalizeSegments(segments: ExplanationSegment[]): ExplanationSegment[];
2414
+ /** One part of a condition and whether it held. */
2415
+ interface ExplanationCheckView {
2416
+ segments: ExplanationSegment[];
2417
+ /** The captured truth; null when it was never evaluated. */
2418
+ met: boolean | null;
2419
+ /** At least one of these must hold (an `or`). */
2420
+ anyOf: ExplanationCheckView[] | null;
2421
+ }
2422
+ /**
2423
+ * A condition as a checklist: each part the rule requires on its own line
2424
+ * with whether it held, so a reader sees why a rule matched or which part
2425
+ * failed. Every truth is the captured one; nothing is evaluated here.
2426
+ *
2427
+ * `a and b and c` becomes three parts. `IF(guard, false, rest)` — the usual
2428
+ * "skip when data is missing" form — becomes `Unless guard` plus the parts of
2429
+ * `rest`. An `or` becomes one part whose options are listed. Null when the
2430
+ * document is not an equation.
2431
+ */
2432
+ declare function buildConditionChecks(document: CalculationExplanationDocument, ctx: ExplanationFormatContext): ExplanationCheckView[] | null;
2433
+ /** A generated code as its parts: `PRJ + - + 2026 + - + 0042`. */
2434
+ declare function buildCodeSegments(document: CalculationExplanationDocument, ctx: ExplanationFormatContext): ExplanationSegment[];
2435
+ /**
2436
+ * Captured JSON (native method facts) as labelled fields, lists or tables.
2437
+ * Field names read as business labels; record ids read as a count.
2340
2438
  */
2341
- declare function buildExplanationSegments(document: CalculationExplanationDocument, ctx: ExplanationFormatContext): ExplanationSegment[] | null;
2342
- /** Captured JSON (native method facts) as labelled fields, lists or tables. */
2343
- declare function toExplanationData(value: CalculationExplanationValue | undefined, ctx: ExplanationFormatContext, depth?: number): ExplanationData;
2344
- interface ExplanationInputView {
2439
+ declare function toExplanationData(value: CalculationExplanationValue | undefined, ctx: ExplanationFormatContext, depth?: number, field?: string): ExplanationData;
2440
+ /** A scalar input the calculation used. */
2441
+ interface ExplanationValueView {
2345
2442
  label: string;
2346
2443
  value: string;
2347
- /** A vector input: each value with the record it came from. */
2444
+ }
2445
+ /** List inputs read from the same rows, one row per record. */
2446
+ interface ExplanationRecordTableView {
2447
+ columns: string[];
2348
2448
  rows: {
2349
- recordId: number | null;
2350
- value: string;
2449
+ /** The record, for its name; null when the context is unknown. */
2450
+ ref: CalculationRecordRef | null;
2451
+ cells: string[];
2351
2452
  }[];
2352
2453
  }
2353
- interface ExplanationFunctionView {
2354
- name: string;
2454
+ /** A nested function and what it gave. */
2455
+ interface ExplanationStepView {
2456
+ segments: ExplanationSegment[];
2355
2457
  result: string;
2356
- notEvaluated: boolean;
2357
2458
  }
2358
2459
  interface ExplanationFactView {
2359
2460
  label: string;
@@ -2364,77 +2465,86 @@ interface ExplanationCodeBlockView {
2364
2465
  value: string;
2365
2466
  /** The block's value before its transformations, when it differs. */
2366
2467
  raw: string | null;
2367
- settings: ExplanationData | null;
2368
2468
  }
2369
2469
  interface ExplanationStatusRuleView {
2370
2470
  key: string;
2371
2471
  name: string;
2372
- order: number;
2472
+ /** Its place in the order rules are checked, from 1. */
2473
+ position: number;
2373
2474
  verdict: 'selected' | 'matched' | 'notMatched' | 'checked' | 'failed' | 'notEvaluated';
2475
+ /** The condition in one line, when it has no checklist. */
2374
2476
  segments: ExplanationSegment[] | null;
2375
- }
2376
- interface ExplanationPlannedView {
2377
- recordId: number;
2378
- rule: string;
2379
- minutes: string | null;
2380
- dates: string | null;
2381
- }
2382
- interface ExplanationCalendarView {
2383
- timeZone: string;
2384
- source: string;
2385
- workingHours: string;
2386
- workingDays: string;
2387
- holidays: string;
2477
+ /** The condition as the parts it requires, each with whether it held. */
2478
+ checks: ExplanationCheckView[] | null;
2479
+ }
2480
+ interface ExplanationContributorView {
2481
+ ref: CalculationRecordRef;
2482
+ type: string | null;
2483
+ progress: string;
2484
+ weight: string;
2485
+ counted: boolean;
2486
+ /** Why it was not counted, or how a missing value was treated. */
2487
+ reason: string | null;
2488
+ /** A planned item's dates and the working time elapsed of its total. */
2489
+ planned: {
2490
+ dates: string | null;
2491
+ time: string | null;
2492
+ } | null;
2388
2493
  }
2389
2494
  interface ExplanationScheduleView {
2495
+ kind: 'actual' | 'planned' | 'baseline' | 'other';
2496
+ /** The rollup is the whole formula: its title and result are the summary's. */
2497
+ standalone: boolean;
2390
2498
  title: string;
2499
+ /** What this progress means, so actual, planned and baseline read apart. */
2500
+ meaning: string | null;
2391
2501
  result: string;
2392
- formulaWithValues: string;
2393
- facts: string[];
2502
+ /** `Weighted average · Weighted by working days`. */
2503
+ method: string;
2504
+ /** Contributors actually counted. */
2505
+ counted: string;
2394
2506
  notes: string[];
2395
- contributors: {
2396
- recordId: number;
2397
- progress: string;
2398
- weight: string;
2399
- included: boolean;
2400
- inputMissing: boolean;
2401
- }[];
2402
- planned: ExplanationPlannedView[];
2403
- calendar: ExplanationCalendarView | null;
2404
- }
2405
- interface ExplanationSourceView {
2406
- label: string;
2407
- count: number;
2408
- ids: string;
2507
+ missingBaseline: boolean;
2508
+ weightLabel: string;
2509
+ contributors: ExplanationContributorView[];
2409
2510
  }
2410
2511
  interface ExplanationDetailsView {
2411
- formula: string | null;
2412
- formulaWithValues: string | null;
2413
- inputs: ExplanationInputView[];
2414
- functions: ExplanationFunctionView[];
2415
- facts: ExplanationFactView[];
2416
- codeBlocks: ExplanationCodeBlockView[];
2512
+ /** What a native method or schedule field does, in words. */
2513
+ description: string | null;
2514
+ values: ExplanationValueView[];
2515
+ records: ExplanationRecordTableView[];
2516
+ steps: ExplanationStepView[];
2417
2517
  statusRules: ExplanationStatusRuleView[];
2418
2518
  schedule: ExplanationScheduleView[];
2419
- sources: ExplanationSourceView[];
2519
+ codeBlocks: ExplanationCodeBlockView[];
2520
+ facts: ExplanationFactView[];
2420
2521
  }
2421
- /** Everything the expandable details show, read from the document as is. */
2522
+ /** Everything the details panel shows, read from the document as is. */
2422
2523
  declare function buildExplanationDetails(document: CalculationExplanationDocument, ctx: ExplanationFormatContext, statusNames?: Record<string, string>): ExplanationDetailsView;
2423
- /** Whether the details have anything to expand. */
2524
+ /** Whether the details have anything beyond the summary. */
2424
2525
  declare function hasExplanationDetails(view: ExplanationDetailsView): boolean;
2425
- /** A generated code as its parts: `PRJ + - + 2026 + - + 0042`. */
2426
- declare function buildCodeSegments(document: CalculationExplanationDocument, ctx: ExplanationFormatContext): ExplanationSegment[];
2427
- /** The status a rule selects, by the name the host knows or its key. */
2526
+ /** Every record the details name, for one batch of name reads. */
2527
+ declare function detailRecordRefs(view: ExplanationDetailsView): CalculationRecordRef[];
2528
+ /**
2529
+ * The status a rule selects, by the name its property gives it. A status the
2530
+ * host has no name for reads as its key in words (`no_baseline` → `No
2531
+ * baseline`): a generic label would make every rule read the same.
2532
+ */
2428
2533
  declare function statusName(key: string, statusNames: Record<string, string>): string;
2429
2534
  /** The rule that chose the status, if one did. */
2430
2535
  declare function selectedStatusRule(document: CalculationExplanationDocument): CalculationStatusRuleExplanation | null;
2536
+ /** Status rules in the order they are checked. */
2537
+ declare function orderedStatusRules(document: CalculationExplanationDocument): CalculationStatusRuleExplanation[];
2538
+ /** Whether a rollup found no baseline at all, so its 0 is not a baseline. */
2539
+ declare function isMissingBaseline(detail: ScheduleCalculationExplanation): boolean;
2431
2540
 
2432
2541
  /**
2433
- * A readable equation: `Budget (12,000 SAR) − Spent (15,000 SAR) = −3,000 SAR`.
2434
- * A left-to-right block in every language, like a formula in a spreadsheet:
2435
- * inside a right-to-left page an inline left-to-right run breaks across lines
2436
- * in the wrong order. Each term is isolated and kept whole, so an Arabic name
2437
- * reads with its own value. Every piece is interpolated as text.
2542
+ * A readable equation: `Remaining = Budget − Spent`, or its values
2543
+ * `10,000 SAR − 125,454 SAR = −115,454 SAR`. It reads in the page's direction:
2544
+ * functions read as words (`sum of Amount where …`), and in Arabic those words
2545
+ * run right to left. Each term and value is isolated and kept whole, so a name
2546
+ * or an amount never breaks across lines or reorders with its neighbours.
2547
+ * Every piece is interpolated as text.
2438
2548
  */
2439
2549
  declare class CalculationExplanationEquation {
2440
2550
  readonly segments: _angular_core.InputSignal<ExplanationSegment[]>;
@@ -2449,114 +2559,191 @@ declare class CalculationExplanationEquation {
2449
2559
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalculationExplanationEquation, "mt-calculation-explanation-equation", never, { "segments": { "alias": "segments"; "required": true; "isSignal": true; }; "result": { "alias": "result"; "required": false; "isSignal": true; }; "resultOperator": { "alias": "resultOperator"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2450
2560
  }
2451
2561
 
2562
+ declare const MARKS: Record<'met' | 'notMet' | 'notChecked', {
2563
+ text: string;
2564
+ class: string;
2565
+ }>;
2566
+ /**
2567
+ * A condition as a checklist: each part a rule requires on its own line,
2568
+ * marked met, not met, or not checked (a part evaluation never reached).
2569
+ * An `or` lists its options under "At least one of".
2570
+ */
2571
+ declare class CalculationExplanationChecks {
2572
+ readonly checks: _angular_core.InputSignal<ExplanationCheckView[]>;
2573
+ protected readonly prefix = "components.entitiesPreview.calculationExplanation";
2574
+ protected readonly marks: Record<"met" | "notMet" | "notChecked", {
2575
+ text: string;
2576
+ class: string;
2577
+ }>;
2578
+ protected markOf(met: boolean | null): keyof typeof MARKS;
2579
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationExplanationChecks, never>;
2580
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalculationExplanationChecks, "mt-calculation-explanation-checks", never, { "checks": { "alias": "checks"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
2581
+ }
2582
+
2452
2583
  /**
2453
- * The expandable part of an explanation: the inputs with the rows they came
2454
- * from, function results, status rules, schedule rollups, generated-code
2455
- * parts and contributing records. Everything is the backend's captured data,
2456
- * shown as text; nothing is recalculated here.
2584
+ * The detailed part of an explanation, shown in its side panel below the
2585
+ * summary. Each part folds, so a long status or schedule reads as a short
2586
+ * list of titles first: records behind list inputs (by name), intermediate
2587
+ * results, status rules (one row each, opening to their checklist), schedule
2588
+ * rollups with their items, generated-code parts
2589
+ * and native facts. Everything is the backend's captured data in business
2590
+ * wording; nothing is recalculated here.
2457
2591
  */
2458
2592
  declare class CalculationExplanationDetails {
2459
2593
  readonly details: _angular_core.InputSignal<ExplanationDetailsView>;
2594
+ /** Record titles by `calculationRecordKey`; `null` while they are read. */
2595
+ readonly recordNames: _angular_core.InputSignal<Record<string, string> | null>;
2596
+ /** Generic labels for records without a readable title, by position. */
2597
+ readonly fallbackLabel: _angular_core.InputSignal<(position: number) => string>;
2460
2598
  protected readonly prefix = "components.entitiesPreview.calculationExplanation";
2461
2599
  protected readonly scheduleKeys = "components.entitiesPreview.calculationExplanation.schedule";
2600
+ protected readonly openRows = 10;
2462
2601
  protected readonly verdictClass: Record<string, string>;
2463
- protected hasMissingInput(rows: {
2464
- inputMissing: boolean;
2465
- }[]): boolean;
2602
+ /** A record by its title; never by its id. */
2603
+ protected nameOf(ref: CalculationRecordRef | null, index: number): string;
2466
2604
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationExplanationDetails, never>;
2467
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalculationExplanationDetails, "mt-calculation-explanation-details", never, { "details": { "alias": "details"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
2605
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalculationExplanationDetails, "mt-calculation-explanation-details", never, { "details": { "alias": "details"; "required": true; "isSignal": true; }; "recordNames": { "alias": "recordNames"; "required": false; "isSignal": true; }; "fallbackLabel": { "alias": "fallbackLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2468
2606
  }
2469
2607
 
2470
- type ExplanationState = {
2471
- kind: 'loading';
2472
- } | {
2473
- kind: 'failed';
2474
- } | {
2475
- kind: 'unavailable';
2476
- messageKey: string;
2477
- } | {
2478
- kind: 'available';
2608
+ /** An explanation the backend returned as `available`, as the UI keeps it. */
2609
+ interface AvailableCalculationExplanation {
2479
2610
  basis: CalculationExplanationBasis;
2480
2611
  document: CalculationExplanationDocument;
2481
2612
  definitionChanged: boolean;
2482
2613
  /** The value on screen was older than the saved one and was re-read. */
2483
2614
  refreshed: boolean;
2484
2615
  viewType: string | undefined;
2485
- };
2486
- /** How the summary reads, by what the backend explained. */
2487
- type SummaryView = {
2488
- kind: 'equation';
2489
- segments: ExplanationSegment[];
2490
- operator: string;
2616
+ }
2617
+ /** How the calculation reads in short, for the tooltip and the panel. */
2618
+ interface ExplanationSummaryView {
2619
+ /** `Remaining = Budget − Spent`: the property, then the formula's shape. */
2620
+ labels: ExplanationSegment[] | null;
2621
+ /**
2622
+ * `10,000 SAR − 125,454 SAR`: the captured values in that shape. Null when
2623
+ * an input is a list of values; the panel lists them by record.
2624
+ */
2625
+ values: ExplanationSegment[] | null;
2626
+ /** The calculation in words, when it is not a formula. */
2627
+ description: string | null;
2628
+ /** The status rule that set a status, by its place in the order. */
2629
+ status: {
2630
+ position: number;
2631
+ total: number;
2632
+ condition: ExplanationSegment[] | null;
2633
+ /** The condition as the parts it required, each with whether it held. */
2634
+ checks: ExplanationCheckView[] | null;
2635
+ } | null;
2636
+ noRuleMatched: boolean;
2637
+ /** Records a list input read, when the values line can't show them. */
2638
+ recordCount: number | null;
2639
+ }
2640
+ interface CalculationExplanationView {
2641
+ basis: CalculationExplanationBasis;
2642
+ calculatedAt: string;
2643
+ result: string;
2644
+ summary: ExplanationSummaryView;
2645
+ definitionChanged: boolean;
2646
+ refreshed: boolean;
2647
+ /** A current calculation that differs from the value on the page. */
2648
+ differs: {
2649
+ page: string;
2650
+ current: string;
2651
+ } | null;
2652
+ /** A baseline rollup found no baseline: its 0 is not an approved 0%. */
2653
+ missingBaseline: boolean;
2654
+ details: ExplanationDetailsView;
2655
+ hasDetails: boolean;
2656
+ }
2657
+ /** Everything both the tooltip and the details panel show. */
2658
+ declare function buildCalculationExplanationView(explanation: AvailableCalculationExplanation, target: EntityCalculationExplanationTarget, ctx: ExplanationFormatContext, statusNames: Record<string, string>): CalculationExplanationView;
2659
+ /**
2660
+ * Whether the saved value is the one on screen. Both are the persisted string,
2661
+ * but a number may be written either way (`40` and `40.0`), so numbers compare
2662
+ * as numbers.
2663
+ */
2664
+ declare function isSameSavedValue(saved: string | null | undefined, displayed: string | undefined): boolean;
2665
+
2666
+ /**
2667
+ * The short form of an explanation: the result with its business reason
2668
+ * (`Remaining = Budget − Spent`, then `10,000 SAR − 125,454 SAR =
2669
+ * −115,454 SAR`), and the notices that change how to read it. Shown in the
2670
+ * tooltip and at the top of the details panel.
2671
+ */
2672
+ declare class CalculationExplanationSummary {
2673
+ readonly view: _angular_core.InputSignal<CalculationExplanationView>;
2674
+ protected readonly prefix = "components.entitiesPreview.calculationExplanation";
2675
+ protected readonly empty: ExplanationSegment[];
2676
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationExplanationSummary, never>;
2677
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalculationExplanationSummary, "mt-calculation-explanation-summary", never, { "view": { "alias": "view"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
2678
+ }
2679
+
2680
+ /**
2681
+ * The full explanation of a calculated value, in a wide side panel opened from
2682
+ * its tooltip: the result and reason, then the values, contributing records by
2683
+ * name, status rules, schedule rollups and their calendar.
2684
+ *
2685
+ * Created through `ModalService`, so it is built with the root injector and
2686
+ * its inputs arrive through `inputValues`: it takes the explanation the
2687
+ * tooltip already read and only reads the names of the records it shows.
2688
+ */
2689
+ declare class CalculationExplanationPanel implements OnInit {
2690
+ readonly target: _angular_core.InputSignal<EntityCalculationExplanationTarget>;
2691
+ readonly explanation: _angular_core.InputSignal<AvailableCalculationExplanation>;
2692
+ private readonly names;
2693
+ private readonly transloco;
2694
+ private readonly destroyRef;
2695
+ private readonly explanationContext;
2696
+ protected readonly prefix = "components.entitiesPreview.calculationExplanation";
2697
+ /** Record titles, `null` while they are being read. */
2698
+ protected readonly recordNames: _angular_core.WritableSignal<Record<string, string> | null>;
2699
+ protected readonly view: _angular_core.Signal<_masterteam_components_entities.CalculationExplanationView>;
2700
+ protected readonly fallbackLabel: (position: number) => string;
2701
+ ngOnInit(): void;
2702
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalculationExplanationPanel, never>;
2703
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalculationExplanationPanel, "mt-calculation-explanation-panel", never, { "target": { "alias": "target"; "required": true; "isSignal": true; }; "explanation": { "alias": "explanation"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
2704
+ }
2705
+
2706
+ type ExplanationState = {
2707
+ kind: 'loading';
2491
2708
  } | {
2492
- kind: 'description';
2493
- text: string;
2494
- code: boolean;
2709
+ kind: 'failed';
2495
2710
  } | {
2496
- kind: 'message';
2497
- text: string;
2498
- };
2711
+ kind: 'unavailable';
2712
+ messageKey: string;
2713
+ } | ({
2714
+ kind: 'available';
2715
+ } & AvailableCalculationExplanation);
2499
2716
  /**
2500
- * How a calculated value was calculated: a readable equation with each input
2501
- * by name and the value it had, the result and when, with the captured
2502
- * details behind a toggle. Fetched each time it opens; reading it never
2503
- * recalculates anything, and nothing here is recalculated either.
2717
+ * How a calculated value was calculated, in short: the result with its
2718
+ * business reason (`Remaining = Budget − Spent`, then the values), when it was
2719
+ * calculated, and a way into the full details panel. Fetched each time it
2720
+ * opens; reading it never recalculates anything, and nothing here is
2721
+ * recalculated either.
2504
2722
  */
2505
2723
  declare class EntityCalculationExplanation implements OnInit {
2506
2724
  private readonly api;
2725
+ private readonly modal;
2507
2726
  private readonly refresher;
2508
- private readonly transloco;
2509
- private readonly lang;
2510
- private readonly currency;
2511
- private readonly datePipe;
2512
2727
  readonly target: _angular_core.InputSignal<EntityCalculationExplanationTarget>;
2728
+ /** The details panel opened; the host closes the tooltip under it. */
2729
+ readonly detailsOpened: _angular_core.OutputEmitterRef<void>;
2730
+ private readonly explanationContext;
2513
2731
  protected readonly prefix = "components.entitiesPreview.calculationExplanation";
2514
2732
  protected readonly state: _angular_core.WritableSignal<ExplanationState>;
2515
- protected readonly expanded: _angular_core.WritableSignal<boolean>;
2516
- protected readonly available: _angular_core.Signal<{
2733
+ protected readonly available: _angular_core.Signal<({
2517
2734
  kind: "available";
2518
- basis: CalculationExplanationBasis;
2519
- document: CalculationExplanationDocument;
2520
- definitionChanged: boolean;
2521
- /** The value on screen was older than the saved one and was re-read. */
2522
- refreshed: boolean;
2523
- viewType: string | undefined;
2524
- } | null>;
2735
+ } & AvailableCalculationExplanation) | null>;
2525
2736
  protected readonly unavailableKey: _angular_core.Signal<string | null>;
2526
- private readonly formatContext;
2527
- protected readonly view: _angular_core.Signal<{
2528
- basis: CalculationExplanationBasis;
2529
- calculatedAt: string;
2530
- definitionChanged: boolean;
2531
- refreshed: boolean;
2532
- result: string;
2533
- summary: SummaryView;
2534
- equation: ExplanationSegment[];
2535
- operator: string;
2536
- description: string;
2537
- descriptionIsCode: boolean;
2538
- differs: {
2539
- page: string;
2540
- current: string;
2541
- } | null;
2542
- details: ExplanationDetailsView;
2543
- hasDetails: boolean;
2544
- } | null>;
2737
+ protected readonly view: _angular_core.Signal<_masterteam_components_entities.CalculationExplanationView | null>;
2545
2738
  private request?;
2546
2739
  constructor();
2547
2740
  ngOnInit(): void;
2741
+ protected openDetails(): void;
2548
2742
  private load;
2549
2743
  private apply;
2550
- private summarize;
2551
2744
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityCalculationExplanation, never>;
2552
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCalculationExplanation, "mt-entity-calculation-explanation", never, { "target": { "alias": "target"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
2745
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCalculationExplanation, "mt-entity-calculation-explanation", never, { "target": { "alias": "target"; "required": true; "isSignal": true; }; }, { "detailsOpened": "detailsOpened"; }, never, never, true, never>;
2553
2746
  }
2554
- /**
2555
- * Whether the saved value is the one on screen. Both are the persisted string,
2556
- * but a number may be written either way (`40` and `40.0`), so numbers compare
2557
- * as numbers.
2558
- */
2559
- declare function isSameSavedValue(saved: string | null | undefined, displayed: string | undefined): boolean;
2560
2747
 
2561
2748
  /**
2562
2749
  * Says how a calculated number just moved: the signed difference, with the
@@ -2723,7 +2910,7 @@ declare class EntityPreview {
2723
2910
  * `mt-entity-preview` usages in the app.
2724
2911
  */
2725
2912
  readonly infoText: _angular_core.Signal<string>;
2726
- readonly comparisonKind: _angular_core.Signal<"EntityList" | "Value" | null>;
2913
+ readonly comparisonKind: _angular_core.Signal<"Value" | "EntityList" | null>;
2727
2914
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreview, never>;
2728
2915
  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>;
2729
2916
  }
@@ -3009,5 +3196,5 @@ declare class FitText {
3009
3196
 
3010
3197
  declare function sharedActiveLang(transloco: TranslocoService): Signal<string>;
3011
3198
 
3012
- export { CALCULATION_CHANGE_CHIP_MS, CALCULATION_EXPLANATION_KEYS, CONNECTION_KEY_SEPARATOR, CURRENCY_COMPACT_THRESHOLD, CalculatedValueHistory, CalculationExplanationApi, CalculationExplanationDetails, CalculationExplanationEquation, 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, MT_CALCULATION_CURRENCY, PERFORMANCE_SCORE_CHART_SIZES, SECTION_KEY_PREFIX, buildCodeSegments, buildConnectionKey, buildDisplayEntities, buildEntityListRows, buildExplanationDetails, buildExplanationSegments, buildSectionKey, canEntityBeHeader, compactCurrencyDisplay, currencyUnitOf, describeCalculationChange, displayName, displayOrPlaceholder, expandConnectionEntity, expandLeafDetailsEntity, extractDisplayText, formatCalculationDelta, formatExplanationNumber, formatExplanationValue, formatTypedValue, getEntitySectionTitle, getPerformanceScoreBands, groupEntitiesIntoSections, hasExplanationDetails, humanizeEntityListKey, humanizeKey, isCalculatedProperty, isConnectionSyntheticKey, isEntityAlignEnd, isEntityHeader, isEntityLabelHidden, isEntityListLocalDocument, isEntityListSelectionDocument, isEntitySection, isEquationDocument, 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, selectedStatusRule, serializeEntityRawValue, sharedActiveLang, sortLocalRows, splitConnectionKey, splitLeafKey, statusName, summarizeEntityListRows, tableLabel, toCalculationContextKey, toCalculationExplanationTarget, toExplanationData, visibleLocalSchemaFields };
3013
- export type { CalculatedPropertyMeta, CalculationExplanationBasis, CalculationExplanationDocument, CalculationExplanationNode, CalculationExplanationNodeKind, CalculationExplanationProvider, CalculationExplanationResponse, CalculationExplanationSourceRecords, CalculationExplanationStatus, CalculationExplanationValue, CalculationPropertyDisplay, CalculationStatusRuleExplanation, 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, ExplanationCalendarView, ExplanationCodeBlockView, ExplanationData, ExplanationDetailsView, ExplanationFactView, ExplanationFormatContext, ExplanationFunctionView, ExplanationInputView, ExplanationPlannedView, ExplanationScheduleView, ExplanationSegment, ExplanationSourceView, ExplanationStatusRuleView, LeafDetailsBadgeKind, LeafDetailsCatalogConfiguration, LeafDetailsCatalogLevelValue, LeafDetailsCatalogPhaseValue, LeafDetailsCatalogStatusValue, LeafDetailsEntityCollectionValue, LeafDetailsEntityValue, LeafDetailsPhaseSummary, LeafDetailsRuntimeChildSchema, LeafDetailsRuntimePhaseCount, LeafDetailsRuntimePhaseDetails, LeafDetailsRuntimeStatusCount, LeafDetailsRuntimeStatusDetails, LeafDetailsRuntimeValue, LeafDetailsStatusSummary, LeafLevelSavedConfig, LeafPhaseSavedConfig, PercentageColorMode, PercentageColorPropertyRef, PercentageColorRule, PercentageColorSource, PlannedProgressExplanation, PropertyValueComparison, ScheduleCalculationContributor, ScheduleCalculationExplanation, ValueComparison };
3199
+ export { CALCULATION_CHANGE_CHIP_MS, CALCULATION_EXPLANATION_KEYS, CONNECTION_KEY_SEPARATOR, CURRENCY_COMPACT_THRESHOLD, CalculatedValueHistory, CalculationExplanationApi, CalculationExplanationChecks, CalculationExplanationDetails, CalculationExplanationEquation, CalculationExplanationPanel, CalculationExplanationSummary, CalculationRecordNames, 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, MT_CALCULATION_CURRENCY, MT_CALCULATION_STATUS_NAMES, PERFORMANCE_SCORE_CHART_SIZES, SECTION_KEY_PREFIX, buildCalculationExplanationView, buildCodeSegments, buildConditionChecks, buildConnectionKey, buildDisplayEntities, buildEntityListRows, buildExplanationDetails, buildExplanationSegments, buildSectionKey, calculationRecordKey, canEntityBeHeader, capitalizeSegments, compactCurrencyDisplay, currencyUnitOf, describeCalculationChange, describeDocument, detailRecordRefs, displayName, displayOrPlaceholder, expandConnectionEntity, expandLeafDetailsEntity, extractDisplayText, formatCalculationDelta, formatExplanationNumber, formatExplanationValue, formatTypedValue, getEntitySectionTitle, getPerformanceScoreBands, groupEntitiesIntoSections, hasExplanationDetails, humanizeEntityListKey, humanizeKey, isCalculatedProperty, isConnectionSyntheticKey, isEntityAlignEnd, isEntityHeader, isEntityLabelHidden, isEntityListLocalDocument, isEntityListSelectionDocument, isEntitySection, isEquationDocument, isLeafDetailsCatalogConfiguration, isLeafDetailsCollectionValue, isLeafDetailsRuntimeValue, isLeafDetailsSyntheticKey, isLeafDetailsValue, isLeafPhasesSyntheticKey, isLeafSyntheticKey, isMissingBaseline, isSameSavedValue, isSectionKey, isValueMissing, localCellsByFieldId, matchesPercentageColorRule, mergeStakeholderNameColumns, mergeStakeholderNameEntities, mergeStakeholderNameRows, normalizeConnectionSourceLevels, normalizeNumerals, orderedStatusRules, parseCurrencyAmount, parsePerformanceScore, pinEntityHeaderFirst, readEntityHeaderDefaults, readEntityValueColor, resolveConnectionLevelName, resolveEntityGridRow, resolveEntityHeader, resolveEntityInfo, resolveEntityLabelPosition, resolveLocalFieldConfiguration, resolveLocalFieldLabel, resolveLocalFieldViewType, resolveLocalizedLabel, resolvePercentageColor, resolvePerformanceScoreStatus, selectedStatusRule, serializeEntityRawValue, serverText, sharedActiveLang, sortLocalRows, splitConnectionKey, splitLeafKey, statusName, summarizeEntityListRows, toCalculationContextKey, toCalculationExplanationTarget, toExplanationData, toFetchContextKey, visibleLocalSchemaFields };
3200
+ export type { AvailableCalculationExplanation, CalculatedPropertyMeta, CalculationExplanationBasis, CalculationExplanationDocument, CalculationExplanationNode, CalculationExplanationNodeKind, CalculationExplanationProvider, CalculationExplanationResponse, CalculationExplanationSourceRecords, CalculationExplanationStatus, CalculationExplanationValue, CalculationExplanationView, CalculationPropertyDisplay, CalculationRecordRef, CalculationStatusNames, CalculationStatusRuleExplanation, 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, ExplanationCheckView, ExplanationCodeBlockView, ExplanationContributorView, ExplanationData, ExplanationDetailsView, ExplanationFactView, ExplanationFormatContext, ExplanationRecordTableView, ExplanationScheduleView, ExplanationSegment, ExplanationStatusRuleView, ExplanationStepView, ExplanationSummaryView, ExplanationValueView, LeafDetailsBadgeKind, LeafDetailsCatalogConfiguration, LeafDetailsCatalogLevelValue, LeafDetailsCatalogPhaseValue, LeafDetailsCatalogStatusValue, LeafDetailsEntityCollectionValue, LeafDetailsEntityValue, LeafDetailsPhaseSummary, LeafDetailsRuntimeChildSchema, LeafDetailsRuntimePhaseCount, LeafDetailsRuntimePhaseDetails, LeafDetailsRuntimeStatusCount, LeafDetailsRuntimeStatusDetails, LeafDetailsRuntimeValue, LeafDetailsStatusSummary, LeafLevelSavedConfig, LeafPhaseSavedConfig, PercentageColorMode, PercentageColorPropertyRef, PercentageColorRule, PercentageColorSource, PlannedProgressExplanation, PropertyValueComparison, ScheduleCalculationContributor, ScheduleCalculationExplanation, SegmentMode, ValueComparison };