@praxisui/core 10.0.0-rc.7 → 10.0.0-rc.70

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.
@@ -5,6 +5,7 @@ type OptionSourceSelectedReloadPolicy = 'required' | 'supported' | 'unsupported-
5
5
  type OptionSourceInvalidSortPolicy = 'reject' | 'ignore' | 'unsupported';
6
6
  type LookupOpenDetailMode = 'samePage' | 'newTab' | 'drawer' | 'modal' | 'route';
7
7
  type LookupStatusTone = 'success' | 'warning' | 'danger' | 'neutral';
8
+ type LookupDialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
8
9
  type LookupFilterFieldType = 'text' | 'enum' | 'date' | 'number' | 'reference';
9
10
  type LookupFilterOperator = 'contains' | 'startsWith' | 'equals' | 'in' | 'before' | 'after' | 'between' | 'gt' | 'gte' | 'lt' | 'lte';
10
11
  type EntityLookupSelectedLayout = 'card' | 'inline' | 'compact' | 'token';
@@ -48,7 +49,9 @@ interface LookupDetailMetadata {
48
49
  routeTemplate?: string;
49
50
  openDetailMode?: LookupOpenDetailMode;
50
51
  kind?: 'surface' | 'route' | 'href' | string;
52
+ resourceKey?: string;
51
53
  surfaceId?: string;
54
+ previewSurfaceId?: string;
52
55
  presentation?: 'modal' | 'drawer' | string;
53
56
  preferredWidget?: string;
54
57
  mode?: 'view' | 'edit' | 'create' | string;
@@ -58,12 +61,24 @@ interface LookupCreateMetadata {
58
61
  routeTemplate?: string;
59
62
  openMode?: LookupOpenDetailMode;
60
63
  }
64
+ interface LookupFilterOptionMetadata {
65
+ value: string | number | boolean;
66
+ label: string;
67
+ icon?: string;
68
+ tone?: LookupStatusTone | string;
69
+ description?: string;
70
+ disabled?: boolean;
71
+ }
61
72
  interface LookupFilterDefinitionMetadata {
62
73
  field: string;
63
74
  label?: string;
64
75
  type: LookupFilterFieldType;
65
76
  operators: LookupFilterOperator[];
66
77
  defaultOperator?: LookupFilterOperator;
78
+ options?: LookupFilterOptionMetadata[];
79
+ optionSource?: OptionSourceMetadata | string;
80
+ dependsOn?: string[];
81
+ dependencyFilterMap?: Record<string, string>;
67
82
  optionsSource?: string;
68
83
  required?: boolean;
69
84
  hidden?: boolean;
@@ -91,8 +106,29 @@ interface LookupFilteringMetadata {
91
106
  quickFilterFields?: string[];
92
107
  searchPlaceholder?: string;
93
108
  searchStrategies?: LookupSearchStrategyMetadata[];
109
+ defaultSearchStrategy?: string;
110
+ }
111
+ interface LookupDialogMetadata {
112
+ enabled?: boolean;
113
+ title?: string;
114
+ size?: LookupDialogSize;
115
+ previewPanel?: boolean;
116
+ allowColumnChooser?: boolean;
117
+ allowSavedViews?: boolean;
118
+ resultColumns?: LookupResultColumnMetadata[];
119
+ openActionLabel?: string;
120
+ applyActionLabel?: string;
121
+ cancelActionLabel?: string;
122
+ }
123
+ type LookupResultColumnKind = 'code' | 'label' | 'description' | 'status' | 'disabledReason' | 'custom';
124
+ interface LookupResultColumnMetadata {
125
+ field: string;
126
+ label?: string;
127
+ kind?: LookupResultColumnKind;
128
+ width?: string;
94
129
  }
95
130
  interface EntityLookupActionsMetadata {
131
+ showQuickView?: boolean;
96
132
  showDetail?: boolean;
97
133
  showChange?: boolean;
98
134
  showCopyCode?: boolean;
@@ -122,6 +158,7 @@ interface EntityLookupDisplayMetadata {
122
158
  statusToneMap?: Record<string, LookupStatusTone>;
123
159
  badgeKeys?: string[];
124
160
  maxVisibleBadges?: number;
161
+ quickViewActionLabel?: string;
125
162
  detailActionLabel?: string;
126
163
  changeActionLabel?: string;
127
164
  copyCodeActionLabel?: string;
@@ -153,6 +190,7 @@ interface OptionSourceMetadata {
153
190
  create?: LookupCreateMetadata;
154
191
  display?: EntityLookupDisplayMetadata;
155
192
  filtering?: LookupFilteringMetadata;
193
+ dialog?: LookupDialogMetadata;
156
194
  excludeSelfField?: boolean;
157
195
  searchMode?: OptionSourceSearchMode;
158
196
  pageSize?: number;
@@ -180,19 +218,32 @@ type JsonLogicExpression = JsonLogicPrimitive | JsonLogicVarExpression | JsonLog
180
218
  type JsonLogicDerivedValueExpression = Exclude<JsonLogicExpression, string>;
181
219
  type JsonLogicValue = JsonLogicPrimitive | JsonLogicExpression | JsonLogicArray | JsonLogicRecord;
182
220
 
183
- type PraxisPresentationVisualizationKind = 'line' | 'area' | 'column' | 'comparison' | 'stackedBar' | 'radial' | 'harveyBall' | 'bullet' | 'delta' | 'processFlow';
221
+ type PraxisPresentationVisualizationKind = 'line' | 'area' | 'column' | 'comparison' | 'stackedBar' | 'radial' | 'harveyBall' | 'bullet' | 'delta' | 'processFlow' | 'waterfall';
222
+ type PraxisPresentationVisualizationWaterfallRole = 'start' | 'increase' | 'decrease' | 'subtotal' | 'total';
184
223
  type PraxisPresentationVisualizationSurface = 'table-cell' | 'list-item' | 'object-header' | 'card-summary' | 'form-presentation';
185
224
  type PraxisPresentationVisualizationSize = 'xs' | 'sm' | 'md' | 'lg' | 'responsive';
186
225
  type PraxisPresentationVisualizationTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'critical';
226
+ /**
227
+ * Defines how numerical bounds (`min` / `max` / `total`) are resolved when rendering
228
+ * a micro-visualization inside a collection:
229
+ * - `'row'` (default): each record scales independently using its own series/values or explicit `min`/`max`/`total`.
230
+ * - `'page'`: records on the current loaded page share a synchronized column scale when explicit bounds are not fixed.
231
+ */
232
+ type PraxisPresentationVisualizationScaleScope = 'row' | 'page';
187
233
  interface PraxisPresentationVisualizationPoint {
188
234
  label?: string;
189
235
  value: number;
190
236
  tone?: PraxisPresentationVisualizationTone;
237
+ suppressed?: boolean;
238
+ privacySuppressed?: boolean;
191
239
  }
192
240
  interface PraxisPresentationVisualizationSegment {
193
241
  label?: string;
194
242
  value: number;
195
243
  tone?: PraxisPresentationVisualizationTone;
244
+ color?: string;
245
+ suppressed?: boolean;
246
+ privacySuppressed?: boolean;
196
247
  }
197
248
  interface PraxisPresentationVisualizationThreshold {
198
249
  label?: string;
@@ -205,27 +256,46 @@ interface PraxisPresentationVisualizationThreshold {
205
256
  interface PraxisPresentationVisualizationItem {
206
257
  id?: string;
207
258
  label?: string;
208
- value?: number;
259
+ value?: number | null;
209
260
  icon?: string;
210
261
  tone?: PraxisPresentationVisualizationTone;
262
+ color?: string;
211
263
  state?: string;
264
+ role?: PraxisPresentationVisualizationWaterfallRole;
265
+ suppressed?: boolean;
266
+ privacySuppressed?: boolean;
212
267
  }
213
268
  interface PraxisPresentationVisualizationConfig {
214
269
  kind: PraxisPresentationVisualizationKind;
215
270
  surface?: PraxisPresentationVisualizationSurface;
216
271
  size?: PraxisPresentationVisualizationSize;
272
+ scaleScope?: PraxisPresentationVisualizationScaleScope;
273
+ title?: string;
274
+ titleExpr?: JsonLogicExpression | string;
275
+ legend?: boolean;
217
276
  value?: unknown;
218
277
  valueExpr?: JsonLogicExpression | string;
219
278
  valueSuffix?: string;
220
279
  valueSuffixExpr?: JsonLogicExpression | string;
280
+ /**
281
+ * Compact numeric formatting / value display toggle:
282
+ * - For `bullet` (`compactValue !== false`, defaults to `true`): shows/hides the textual value next to the bar.
283
+ * - For numeric/series kinds (`delta`, `line`, `area`, `column`, `comparison`, `stackedBar`, `waterfall`; `compactValue === true`, defaults to `false`): enables compact `Intl.NumberFormat` notation on labels and readouts.
284
+ */
221
285
  compactValue?: boolean;
286
+ min?: number;
287
+ minExpr?: JsonLogicExpression | string;
288
+ max?: number;
289
+ maxExpr?: JsonLogicExpression | string;
222
290
  total?: number;
223
291
  totalExpr?: JsonLogicExpression | string;
224
292
  target?: number;
225
293
  targetExpr?: JsonLogicExpression | string;
294
+ targetLabel?: string;
295
+ targetLabelExpr?: JsonLogicExpression | string;
226
296
  baseline?: number;
227
297
  baselineExpr?: JsonLogicExpression | string;
228
- points?: PraxisPresentationVisualizationPoint[];
298
+ points?: Array<PraxisPresentationVisualizationPoint | number>;
229
299
  pointsExpr?: JsonLogicExpression | string;
230
300
  segments?: PraxisPresentationVisualizationSegment[];
231
301
  segmentsExpr?: JsonLogicExpression | string;
@@ -241,9 +311,192 @@ interface PraxisPresentationVisualizationConfig {
241
311
  ariaLabelExpr?: JsonLogicExpression | string;
242
312
  fallbackText: string;
243
313
  fallbackTextExpr?: JsonLogicExpression | string;
314
+ suppressedCount?: number;
244
315
  }
245
316
  declare function isPraxisPresentationVisualizationTableSafe(value: PraxisPresentationVisualizationConfig | null | undefined): boolean;
246
317
 
318
+ type FieldPresentationTone = 'neutral' | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
319
+ type FieldPresentationAppearance = 'plain' | 'soft' | 'outlined' | 'filled';
320
+ type FieldPresenterKind = 'text' | 'badge' | 'chip' | 'status' | 'iconValue' | 'progress' | 'rating' | 'microVisualization';
321
+ interface FieldPresentationInteractions {
322
+ /** Allows readonly surfaces to expose a copy affordance without changing the field value. */
323
+ copy?: boolean;
324
+ /** Allows readonly surfaces to expose contextual detail expansion. */
325
+ details?: boolean;
326
+ /** Allows readonly surfaces to expose inline expansion for long values. */
327
+ expand?: boolean;
328
+ /** Allows readonly surfaces to expose a link affordance when the value is navigable. */
329
+ link?: boolean;
330
+ /** Optional governed Quick View binding for readonly/presentation reference fields. */
331
+ quickView?: ResourceQuickViewBinding;
332
+ }
333
+ interface FieldPresentationConfig {
334
+ /** Semantic display strategy for readonly/presentation surfaces. */
335
+ presenter?: FieldPresenterKind;
336
+ /** Alias accepted for schema authors that describe the semantic display as a variant. */
337
+ variant?: FieldPresenterKind;
338
+ /** Semantic tone mapped by consumers to theme tokens. */
339
+ tone?: FieldPresentationTone;
340
+ /** Material Symbols icon name, without arbitrary HTML. */
341
+ icon?: string;
342
+ /** Optional semantic label for status/chip/badge presentations. */
343
+ label?: string;
344
+ /** Optional secondary marker rendered by presentation-capable consumers. */
345
+ badge?: string;
346
+ /** Optional tooltip text for the presentation wrapper. */
347
+ tooltip?: string;
348
+ /** Optional readonly prefix rendered next to the displayed value without changing the raw value. */
349
+ prefix?: string;
350
+ /** Optional readonly suffix rendered next to the displayed value without changing the raw value. */
351
+ suffix?: string;
352
+ /** Optional icon override when the field resolves to a truthy boolean state. */
353
+ iconTrue?: string;
354
+ /** Optional icon override when the field resolves to a falsy boolean state. */
355
+ iconFalse?: string;
356
+ /** Optional semantic tone when the field resolves to a truthy boolean state. */
357
+ toneTrue?: FieldPresentationTone;
358
+ /** Optional semantic tone when the field resolves to a falsy boolean state. */
359
+ toneFalse?: FieldPresentationTone;
360
+ /** Optional display label when the field resolves to a truthy boolean state. */
361
+ labelTrue?: string;
362
+ /** Optional display label when the field resolves to a falsy boolean state. */
363
+ labelFalse?: string;
364
+ /** Visual density/emphasis strategy mapped by consumers to theme tokens. */
365
+ appearance?: FieldPresentationAppearance;
366
+ /** Optional formatter override for the presentation surface only. */
367
+ valuePresentation?: ValuePresentationConfig;
368
+ /** Renderer-neutral micro visualization metadata for compact presentation surfaces. */
369
+ visualization?: PraxisPresentationVisualizationConfig;
370
+ /** Safe readonly affordances. No commands or mutations are executed from this contract. */
371
+ interactions?: FieldPresentationInteractions;
372
+ }
373
+ interface FieldPresentationRule {
374
+ /** Json Logic guard evaluated against the presentation context. */
375
+ when: JsonLogicExpression;
376
+ /** Semantic presentation state merged when the guard is truthy. */
377
+ set?: FieldPresentationConfig;
378
+ /** Alias for `set`, useful for rule-builder terminology. */
379
+ effect?: FieldPresentationConfig;
380
+ }
381
+
382
+ type PraxisExportFormat = 'excel' | 'pdf' | 'csv' | 'json' | 'print';
383
+ type PraxisExportScope = 'auto' | 'selected' | 'filtered' | 'currentPage' | 'all';
384
+
385
+ /**
386
+ * Contratos compartilhados de discovery semantico consumidos pelo runtime Angular.
387
+ *
388
+ * `resourcePath` continua sendo o endereco operacional do recurso.
389
+ * `resourceKey` representa a identidade semantica estavel devolvida pelo backend para
390
+ * surfaces, actions e capabilities.
391
+ *
392
+ * O runtime usa `resourceKey` para preservar contexto semantico e gerar ids estaveis de
393
+ * abertura, enquanto `resourcePath`, `path`, `method` e `schemaUrl` seguem responsaveis pelo
394
+ * comportamento operacional.
395
+ */
396
+
397
+ interface ResourceAvailabilityDecision {
398
+ allowed: boolean;
399
+ reason?: string | null;
400
+ metadata?: Record<string, any>;
401
+ }
402
+ type ResourceSurfaceKind = 'FORM' | 'PARTIAL_FORM' | 'VIEW' | 'READ_PROJECTION' | 'HIERARCHY_TREE';
403
+ type ResourceSurfaceScope = 'COLLECTION' | 'ITEM';
404
+ type ResourceSurfaceResponseCardinality = 'OBJECT' | 'COLLECTION' | 'PAGE' | 'VOID' | 'UNKNOWN';
405
+ type RelatedResourceChildOperation = 'FILTER' | 'LIST' | 'CREATE' | 'UPDATE' | 'DELETE' | 'DUPLICATE_DRAFT';
406
+ interface RelatedResourceSurface {
407
+ parentResourceKey: string;
408
+ parentIdPathVariable: string;
409
+ childResourceKey: string;
410
+ childResourcePath: string;
411
+ childParentField: string;
412
+ selectable: boolean;
413
+ selectionKeyField: string;
414
+ childOperations: RelatedResourceChildOperation[];
415
+ }
416
+ interface ResourceSurfaceCatalogItem {
417
+ id: string;
418
+ resourceKey: string;
419
+ kind: ResourceSurfaceKind;
420
+ scope: ResourceSurfaceScope;
421
+ title: string;
422
+ description?: string | null;
423
+ intent?: string | null;
424
+ icon?: string | null;
425
+ contextualReadPath?: string | null;
426
+ operationId: string;
427
+ path: string;
428
+ method: string;
429
+ schemaId: string;
430
+ schemaUrl: string;
431
+ responseCardinality?: ResourceSurfaceResponseCardinality | null;
432
+ availability: ResourceAvailabilityDecision;
433
+ order: number;
434
+ tags: string[];
435
+ relatedResource?: RelatedResourceSurface | null;
436
+ }
437
+ interface ResourceRecordOpenRef {
438
+ sourceIdentityField: string;
439
+ target: {
440
+ resourceKey: string;
441
+ surfaceId: string;
442
+ };
443
+ }
444
+
445
+ interface GlobalActionRef {
446
+ actionId: string;
447
+ payload?: any;
448
+ payloadExpr?: string;
449
+ meta?: {
450
+ label?: string;
451
+ icon?: string;
452
+ emitLocal?: boolean;
453
+ confirmation?: any;
454
+ [key: string]: any;
455
+ };
456
+ }
457
+
458
+ type SurfacePresentation = 'modal' | 'drawer';
459
+
460
+ /**
461
+ * Referência imutável e versionada a um preset de `rich-block` permitido
462
+ * como corpo customizado de Quick View.
463
+ */
464
+ type ResourceQuickViewPresetRef = CorePresetRef & {
465
+ kind: 'rich-block';
466
+ namespace: string;
467
+ presetId: string;
468
+ version: string;
469
+ };
470
+ /**
471
+ * Contrato declarativo de referência cruzada publicado pelo backend em `x-ui.resourceReference`
472
+ * (via `@ResourceReference`), permitindo sintetizar `ResourceQuickViewBinding` sem configuração manual.
473
+ */
474
+ interface ResourceReferenceMetadata {
475
+ resourceKey: string;
476
+ valueField?: string;
477
+ surfaceId?: string;
478
+ previewSurfaceId?: string;
479
+ detailPresentation?: SurfacePresentation;
480
+ }
481
+ /**
482
+ * Contrato declarativo e serializável de Quick View transversal.
483
+ *
484
+ * Regras arquiteturais:
485
+ * - Nunca contém elementos DOM, coordenadas de viewport ou funções;
486
+ * - Reutiliza `ResourceRecordOpenRef` (`{ sourceIdentityField, target: { resourceKey, surfaceId } }`)
487
+ * para governança de descoberta, leitura e CTA;
488
+ * - Opcionalmente declara `previewSurfaceId` quando a projeção de leitura do preview
489
+ * diferir da surface de detalhe completo aberta pelo CTA primário;
490
+ * - Não permite `popover` em `detailPresentation` (`popover` não pertence a `SurfacePresentation`);
491
+ * - Não permite override de ação, rota arbitrária nem árvore `RichContentDocument` inline no primeiro slice.
492
+ */
493
+ interface ResourceQuickViewBinding {
494
+ recordOpen: ResourceRecordOpenRef;
495
+ previewSurfaceId?: string;
496
+ contentRef?: ResourceQuickViewPresetRef | null;
497
+ detailPresentation?: SurfacePresentation;
498
+ }
499
+
247
500
  type RichBlockContextScope = 'row' | 'computed' | 'detail' | 'meta' | 'user' | 'tenant';
248
501
  interface RichBlockContextConfig {
249
502
  scopes?: RichBlockContextScope[];
@@ -300,6 +553,22 @@ interface RichLinkNode extends RichBlockBaseNode {
300
553
  href: string;
301
554
  target?: '_blank' | '_self';
302
555
  rel?: string;
556
+ /** Contrato opcional de Quick View governado associado ao link. */
557
+ quickView?: ResourceQuickViewBinding;
558
+ }
559
+ type RichRecordReferenceVariant = 'inline' | 'badge' | 'chip';
560
+ /**
561
+ * Nó semântico explícito de referência de registro com visualização rápida governada (`Quick View`).
562
+ * Diferente de `RichLinkNode` (`href`), não exige rota direta e renderiza gatilho acessível (`button[type="button"]`).
563
+ */
564
+ interface RichRecordReferenceNode extends RichBlockBaseNode {
565
+ type: 'recordReference';
566
+ label?: string;
567
+ labelExpr?: string;
568
+ icon?: string;
569
+ tone?: RichSemanticTone;
570
+ variant?: RichRecordReferenceVariant;
571
+ quickView: ResourceQuickViewBinding;
303
572
  }
304
573
  type RichSemanticTone = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'danger' | 'error' | 'neutral';
305
574
  interface RichBadgeNode extends RichBlockBaseNode {
@@ -308,6 +577,8 @@ interface RichBadgeNode extends RichBlockBaseNode {
308
577
  labelExpr?: string;
309
578
  icon?: string;
310
579
  tone?: RichSemanticTone;
580
+ /** Contrato opcional de Quick View governado associado ao badge. */
581
+ quickView?: ResourceQuickViewBinding;
311
582
  }
312
583
  interface RichAvatarNode extends RichBlockBaseNode {
313
584
  type: 'avatar';
@@ -335,11 +606,22 @@ interface RichProgressNode extends RichBlockBaseNode {
335
606
  labelExpr?: string;
336
607
  showPercent?: boolean;
337
608
  }
609
+ interface RichActionCheckRule {
610
+ id?: string;
611
+ /** Regra JSON Logic que deve avaliar para `true` para habilitar o disparo da ação. */
612
+ when: JsonLogicExpression;
613
+ /** Mensagem de pré-condição exibida quando a checagem falha. */
614
+ message: string;
615
+ }
338
616
  interface RichActionRef {
339
617
  actionId: string;
340
618
  payload?: unknown;
341
619
  payloadExpr?: string;
620
+ /** Quando `true` (padrão quando há `payload` estruturado), interpola recursivamente `${...}` / `{{...}}` nos valores de `payload`. */
621
+ interpolatePayload?: boolean;
342
622
  availabilityExpr?: string;
623
+ /** Regras declarativas de pré-condição avaliadas em cliente antes de habilitar/disparar a ação. */
624
+ checks?: RichActionCheckRule[];
343
625
  confirmMessage?: string;
344
626
  }
345
627
  interface RichActionButtonNode extends RichBlockBaseNode {
@@ -357,10 +639,11 @@ interface RichMicroVisualizationNode extends RichBlockBaseNode {
357
639
  visualizationExpr?: string;
358
640
  kind?: string;
359
641
  pointsExpr?: string;
642
+ itemsExpr?: string;
360
643
  valueExpr?: string;
361
644
  targetExpr?: string;
362
645
  }
363
- type RichPresenterNode = RichTextNode | RichIconNode | RichImageNode | RichLinkNode | RichBadgeNode | RichAvatarNode | RichMetricNode | RichProgressNode | RichActionButtonNode | RichMicroVisualizationNode;
646
+ type RichPresenterNode = RichTextNode | RichIconNode | RichImageNode | RichLinkNode | RichRecordReferenceNode | RichBadgeNode | RichAvatarNode | RichMetricNode | RichProgressNode | RichActionButtonNode | RichMicroVisualizationNode;
364
647
  type RichComposeLayout = 'flex' | 'grid';
365
648
  type RichComposeAlignItems = 'stretch' | 'start' | 'center' | 'end';
366
649
  interface RichComposeNode extends RichBlockBaseNode {
@@ -372,14 +655,18 @@ interface RichComposeNode extends RichBlockBaseNode {
372
655
  columns?: number | 'auto-fit' | 'auto-fill';
373
656
  minColumnWidth?: string;
374
657
  alignItems?: RichComposeAlignItems;
375
- items: RichBlockNode[];
658
+ items?: RichBlockNode[];
659
+ /** Caminho opcional no contexto apontando para um array de registros a projetar com `itemTemplate`. */
660
+ itemsExpr?: string;
661
+ /** Template de bloco aplicado a cada entrada de `itemsExpr` com escopo `item` / `row` / `index` / `$index`. */
662
+ itemTemplate?: RichBlockNode;
376
663
  }
377
664
  type RichCardVariant = 'plain' | 'outlined' | 'elevated' | 'filled' | 'transparent' | 'unstyled';
378
- type RichCardTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
665
+ type RichCardTone = RichSemanticTone;
379
666
  type RichCardSize = 'sm' | 'md' | 'lg';
380
667
  type RichCardDensity = 'compact' | 'comfortable';
381
668
  type RichCardOrientation = 'vertical' | 'horizontal';
382
- type RichCardMediaKind = 'image' | 'video' | 'icon' | 'avatar' | 'telemetry' | 'lottie';
669
+ type RichCardMediaKind = 'image' | 'video' | 'icon' | 'avatar' | 'telemetry' | 'lottie' | 'component';
383
670
  interface RichCardMediaTelemetry {
384
671
  variant?: 'radar' | 'pulse' | 'wave' | 'signal';
385
672
  speed?: 'slow' | 'normal' | 'fast';
@@ -400,9 +687,15 @@ interface RichCardMedia {
400
687
  labelExpr?: string;
401
688
  placement?: RichCardMediaPlacement;
402
689
  aspectRatio?: RichCardMediaAspectRatio;
690
+ width?: string;
691
+ height?: string;
403
692
  objectFit?: RichCardMediaObjectFit;
404
693
  telemetry?: RichCardMediaTelemetry;
405
694
  animationSrc?: string;
695
+ /** Registered component ID in ComponentMetadataRegistry when kind === 'component'. */
696
+ componentId?: string;
697
+ /** Declarative input map forwarded to the dynamic component when kind === 'component'. */
698
+ componentInputs?: Record<string, unknown>;
406
699
  verticalAlign?: 'center' | 'top' | 'bottom' | 'stretch';
407
700
  }
408
701
  type RichCardInteractionMode = 'none' | 'action' | 'selectable';
@@ -494,13 +787,18 @@ interface RichKeyValueItem {
494
787
  badge?: string;
495
788
  badgeExpr?: string;
496
789
  icon?: string;
790
+ quickView?: ResourceQuickViewBinding;
497
791
  }
498
792
  interface RichKeyValueListNode extends RichBlockBaseNode {
499
793
  type: 'keyValueList';
500
794
  title?: string;
501
795
  titleExpr?: string;
502
796
  layout?: 'stacked' | 'inline';
503
- items: RichKeyValueItem[];
797
+ items?: RichKeyValueItem[];
798
+ /** Caminho opcional no contexto apontando para um array de registros a projetar em itens chave/valor. */
799
+ itemsExpr?: string;
800
+ /** Template opcional para mapear cada registro de `itemsExpr` em um `RichKeyValueItem`. */
801
+ itemTemplate?: RichKeyValueItem;
504
802
  }
505
803
  type RichPropertySheetColumns = 1 | 2;
506
804
  type RichPropertySheetTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
@@ -514,6 +812,7 @@ interface RichPropertySheetItem {
514
812
  hintExpr?: string;
515
813
  icon?: string;
516
814
  tone?: RichPropertySheetTone;
815
+ quickView?: ResourceQuickViewBinding;
517
816
  }
518
817
  interface RichPropertySheetNode extends RichBlockBaseNode {
519
818
  type: 'propertySheet';
@@ -581,7 +880,11 @@ interface RichStatGroupNode extends RichBlockBaseNode {
581
880
  headerSpacing?: RichStatGroupHeaderSpacing;
582
881
  tileLayout?: RichStatGroupTileLayout;
583
882
  layout?: RichStatGroupLayout;
584
- items: RichStatItem[];
883
+ items?: RichStatItem[];
884
+ /** Caminho opcional no contexto apontando para um array de métricas/registros a projetar em cartões de KPI. */
885
+ itemsExpr?: string;
886
+ /** Template opcional para mapear cada registro de `itemsExpr` em um `RichStatItem`. */
887
+ itemTemplate?: RichStatItem;
585
888
  }
586
889
  type RichTabsAppearance = 'underline' | 'pills';
587
890
  interface RichTabsItem extends RichBlockRuleSet {
@@ -622,6 +925,7 @@ interface RichRecordSummaryField {
622
925
  labelExpr?: string;
623
926
  value?: string;
624
927
  valueExpr?: string;
928
+ quickView?: ResourceQuickViewBinding;
625
929
  }
626
930
  interface RichRecordSummaryNode extends RichBlockBaseNode {
627
931
  type: 'recordSummary';
@@ -633,6 +937,7 @@ interface RichRecordSummaryNode extends RichBlockBaseNode {
633
937
  metaExpr?: string;
634
938
  fields: RichRecordSummaryField[];
635
939
  actions?: RichActionButtonNode[];
940
+ quickView?: ResourceQuickViewBinding;
636
941
  }
637
942
  type RichLookupResultStatus = 'idle' | 'resolved' | 'empty' | 'error';
638
943
  interface RichLookupResultField {
@@ -681,7 +986,8 @@ interface RichLookupCardNode extends RichBlockBaseNode {
681
986
  ctaIcon?: string;
682
987
  variant?: 'basic' | 'raised' | 'stroked' | 'flat';
683
988
  color?: 'basic' | 'primary' | 'accent' | 'warn';
684
- action: RichActionRef;
989
+ action?: RichActionRef;
990
+ quickView?: ResourceQuickViewBinding;
685
991
  fields: RichLookupResultField[];
686
992
  secondaryActions?: RichActionButtonNode[];
687
993
  }
@@ -702,6 +1008,8 @@ interface RichRelatedRecordNode extends RichBlockBaseNode {
702
1008
  variant?: 'basic' | 'raised' | 'stroked' | 'flat';
703
1009
  color?: 'basic' | 'primary' | 'accent' | 'warn';
704
1010
  action?: RichActionRef;
1011
+ /** Contrato opcional de Quick View governado associado ao registro relacionado. */
1012
+ quickView?: ResourceQuickViewBinding;
705
1013
  fields: RichLookupResultField[];
706
1014
  secondaryActions?: RichActionButtonNode[];
707
1015
  }
@@ -837,7 +1145,11 @@ interface RichAccordionNode extends RichBlockBaseNode {
837
1145
  title?: string;
838
1146
  titleExpr?: string;
839
1147
  multi?: boolean;
840
- items: RichAccordionItem[];
1148
+ items?: RichAccordionItem[];
1149
+ /** Caminho opcional no contexto apontando para um array de registros a projetar em painéis do accordion. */
1150
+ itemsExpr?: string;
1151
+ /** Template opcional para mapear cada registro de `itemsExpr` em um `RichAccordionItem`. */
1152
+ itemTemplate?: RichAccordionItem;
841
1153
  }
842
1154
  interface RichMediaBlockNode extends RichBlockBaseNode {
843
1155
  type: 'mediaBlock';
@@ -861,18 +1173,25 @@ interface RichTimelineItem {
861
1173
  iconExpr?: string;
862
1174
  badge?: string;
863
1175
  badgeExpr?: string;
1176
+ badgeTone?: RichTimelineColor;
1177
+ avatar?: RichAvatarNode;
1178
+ itemLayout?: RichTimelineItemLayout;
864
1179
  markerColor?: RichTimelineColor;
865
1180
  markerStyle?: RichTimelineMarkerStyle;
866
1181
  connectorColor?: RichTimelineColor;
867
1182
  connectorVariant?: RichTimelineConnectorVariant;
868
1183
  action?: RichActionRef;
1184
+ /** Contrato opcional de Quick View governado associado ao item da timeline. */
1185
+ quickView?: ResourceQuickViewBinding;
1186
+ children?: RichTimelineItem[];
869
1187
  }
870
1188
  type RichTimelinePosition = 'left' | 'right' | 'alternate' | 'alternate-reverse';
871
1189
  type RichTimelineOrientation = 'vertical' | 'horizontal';
872
1190
  type RichTimelineOrder = 'normal' | 'reverse';
873
1191
  type RichTimelineConnectorVariant = 'solid' | 'dashed' | 'none';
874
1192
  type RichTimelineMarkerVariant = 'dot' | 'icon' | 'number';
875
- type RichTimelineMarkerStyle = 'filled' | 'outlined';
1193
+ type RichTimelineMarkerStyle = 'filled' | 'outlined' | 'soft';
1194
+ type RichTimelineItemLayout = 'stacked' | 'split';
876
1195
  type RichTimelineColor = RichSemanticTone;
877
1196
  type RichTimelineEmphasis = 'subtle' | 'standard' | 'strong' | 'hero';
878
1197
  type RichTimelineDensity = 'compact' | 'comfortable' | 'spacious';
@@ -885,6 +1204,7 @@ interface RichTimelineNode extends RichBlockBaseNode {
885
1204
  orientation?: RichTimelineOrientation;
886
1205
  order?: RichTimelineOrder;
887
1206
  position?: RichTimelinePosition;
1207
+ itemLayout?: RichTimelineItemLayout;
888
1208
  connectorVariant?: RichTimelineConnectorVariant;
889
1209
  connectorColor?: RichTimelineColor;
890
1210
  markerVariant?: RichTimelineMarkerVariant;
@@ -893,7 +1213,10 @@ interface RichTimelineNode extends RichBlockBaseNode {
893
1213
  emphasis?: RichTimelineEmphasis;
894
1214
  density?: RichTimelineDensity;
895
1215
  textAppearance?: RichTimelineTextAppearance;
896
- items: RichTimelineItem[];
1216
+ initialLimit?: number;
1217
+ items?: RichTimelineItem[];
1218
+ itemsExpr?: string;
1219
+ itemTemplate?: RichTimelineItem;
897
1220
  }
898
1221
  type CorePresetKind = 'surface-open' | 'widget-page-layout' | 'widget-page-theme' | 'editorial-theme' | 'editorial-compliance' | 'editorial-solution' | 'rich-block';
899
1222
  interface CorePresetRef {
@@ -918,22 +1241,6 @@ interface RichContentDocument {
918
1241
  nodes: RichBlockNode[];
919
1242
  }
920
1243
 
921
- interface GlobalActionRef {
922
- actionId: string;
923
- payload?: any;
924
- payloadExpr?: string;
925
- meta?: {
926
- label?: string;
927
- icon?: string;
928
- emitLocal?: boolean;
929
- confirmation?: any;
930
- [key: string]: any;
931
- };
932
- }
933
-
934
- type PraxisExportFormat = 'excel' | 'pdf' | 'csv' | 'json' | 'print';
935
- type PraxisExportScope = 'auto' | 'selected' | 'filtered' | 'currentPage' | 'all';
936
-
937
1244
  interface PraxisRuntimeGlobalActionEffect {
938
1245
  id?: string;
939
1246
  kind: 'global-action';
@@ -941,116 +1248,47 @@ interface PraxisRuntimeGlobalActionEffect {
941
1248
  }
942
1249
 
943
1250
  /**
944
- * Contratos compartilhados de discovery semantico consumidos pelo runtime Angular.
945
- *
946
- * `resourcePath` continua sendo o endereco operacional do recurso.
947
- * `resourceKey` representa a identidade semantica estavel devolvida pelo backend para
948
- * surfaces, actions e capabilities.
949
- *
950
- * O runtime usa `resourceKey` para preservar contexto semantico e gerar ids estaveis de
951
- * abertura, enquanto `resourcePath`, `path`, `method` e `schemaUrl` seguem responsaveis pelo
952
- * comportamento operacional.
1251
+ * Contrato canônico de filtros rápidos (`quickFilters`) compartilhado entre
1252
+ * `x-ui.resource.quickFilters`, `GenericCrudService`, `<praxis-table>`,
1253
+ * `<praxis-scope-bar>`, `<praxis-crud>` e `<praxis-resource-page>`.
953
1254
  */
954
-
955
- interface ResourceAvailabilityDecision {
956
- allowed: boolean;
957
- reason?: string | null;
958
- metadata?: Record<string, any>;
959
- }
960
- type ResourceSurfaceKind = 'FORM' | 'PARTIAL_FORM' | 'VIEW' | 'READ_PROJECTION';
961
- type ResourceSurfaceScope = 'COLLECTION' | 'ITEM';
962
- type ResourceSurfaceResponseCardinality = 'OBJECT' | 'COLLECTION' | 'PAGE' | 'VOID' | 'UNKNOWN';
963
- type RelatedResourceChildOperation = 'FILTER' | 'LIST' | 'CREATE' | 'UPDATE' | 'DELETE' | 'DUPLICATE_DRAFT';
964
- interface RelatedResourceSurface {
965
- parentResourceKey: string;
966
- parentIdPathVariable: string;
967
- childResourceKey: string;
968
- childResourcePath: string;
969
- childParentField: string;
970
- selectable: boolean;
971
- selectionKeyField: string;
972
- childOperations: RelatedResourceChildOperation[];
973
- }
974
- interface ResourceSurfaceCatalogItem {
1255
+ type PraxisQuickFilterTone = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'ready';
1256
+ interface PraxisResourceQuickFilter {
975
1257
  id: string;
976
- resourceKey: string;
977
- kind: ResourceSurfaceKind;
978
- scope: ResourceSurfaceScope;
979
- title: string;
980
- description?: string | null;
981
- intent?: string | null;
982
- operationId: string;
983
- path: string;
984
- method: string;
985
- schemaId: string;
986
- schemaUrl: string;
987
- responseCardinality?: ResourceSurfaceResponseCardinality | null;
988
- availability: ResourceAvailabilityDecision;
989
- order: number;
990
- tags: string[];
991
- relatedResource?: RelatedResourceSurface | null;
992
- }
993
-
994
- type FieldPresentationTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
995
- type FieldPresentationAppearance = 'plain' | 'soft' | 'outlined' | 'filled';
996
- type FieldPresenterKind = 'text' | 'badge' | 'chip' | 'status' | 'iconValue' | 'progress' | 'rating' | 'microVisualization';
997
- interface FieldPresentationInteractions {
998
- /** Allows readonly surfaces to expose a copy affordance without changing the field value. */
999
- copy?: boolean;
1000
- /** Allows readonly surfaces to expose contextual detail expansion. */
1001
- details?: boolean;
1002
- /** Allows readonly surfaces to expose inline expansion for long values. */
1003
- expand?: boolean;
1004
- /** Allows readonly surfaces to expose a link affordance when the value is navigable. */
1005
- link?: boolean;
1006
- }
1007
- interface FieldPresentationConfig {
1008
- /** Semantic display strategy for readonly/presentation surfaces. */
1009
- presenter?: FieldPresenterKind;
1010
- /** Alias accepted for schema authors that describe the semantic display as a variant. */
1011
- variant?: FieldPresenterKind;
1012
- /** Semantic tone mapped by consumers to theme tokens. */
1013
- tone?: FieldPresentationTone;
1014
- /** Material Symbols icon name, without arbitrary HTML. */
1258
+ label: string;
1259
+ filter: Record<string, any> | string;
1015
1260
  icon?: string;
1016
- /** Optional semantic label for status/chip/badge presentations. */
1017
- label?: string;
1018
- /** Optional secondary marker rendered by presentation-capable consumers. */
1019
- badge?: string;
1020
- /** Optional tooltip text for the presentation wrapper. */
1261
+ tone?: PraxisQuickFilterTone;
1262
+ isDefault?: boolean;
1263
+ description?: string;
1264
+ order?: number;
1265
+ badge?: string | number;
1266
+ count?: number | null;
1021
1267
  tooltip?: string;
1022
- /** Optional readonly prefix rendered next to the displayed value without changing the raw value. */
1023
- prefix?: string;
1024
- /** Optional readonly suffix rendered next to the displayed value without changing the raw value. */
1025
- suffix?: string;
1026
- /** Optional icon override when the field resolves to a truthy boolean state. */
1027
- iconTrue?: string;
1028
- /** Optional icon override when the field resolves to a falsy boolean state. */
1029
- iconFalse?: string;
1030
- /** Optional semantic tone when the field resolves to a truthy boolean state. */
1031
- toneTrue?: FieldPresentationTone;
1032
- /** Optional semantic tone when the field resolves to a falsy boolean state. */
1033
- toneFalse?: FieldPresentationTone;
1034
- /** Optional display label when the field resolves to a truthy boolean state. */
1035
- labelTrue?: string;
1036
- /** Optional display label when the field resolves to a falsy boolean state. */
1037
- labelFalse?: string;
1038
- /** Visual density/emphasis strategy mapped by consumers to theme tokens. */
1039
- appearance?: FieldPresentationAppearance;
1040
- /** Optional formatter override for the presentation surface only. */
1041
- valuePresentation?: ValuePresentationConfig;
1042
- /** Renderer-neutral micro visualization metadata for compact presentation surfaces. */
1043
- visualization?: PraxisPresentationVisualizationConfig;
1044
- /** Safe readonly affordances. No commands or mutations are executed from this contract. */
1045
- interactions?: FieldPresentationInteractions;
1046
1268
  }
1047
- interface FieldPresentationRule {
1048
- /** Json Logic guard evaluated against the presentation context. */
1049
- when: JsonLogicExpression;
1050
- /** Semantic presentation state merged when the guard is truthy. */
1051
- set?: FieldPresentationConfig;
1052
- /** Alias for `set`, useful for rule-builder terminology. */
1053
- effect?: FieldPresentationConfig;
1269
+
1270
+ /**
1271
+ * Canonical epistemic metadata, intelligence job lifecycle, and fail-closed error
1272
+ * contracts aligned with `praxis-intelligence-contracts` v1.
1273
+ */
1274
+ declare const PRAXIS_EPISTEMIC_KINDS: readonly ["DETERMINISTIC_LAW", "CALIBRATED_PROBABILITY", "STOCHASTIC_SIMULATION", "CAUSAL_HYPOTHESIS", "OPTIMIZATION_RESULT"];
1275
+ type PraxisEpistemicKind = (typeof PRAXIS_EPISTEMIC_KINDS)[number];
1276
+ declare const PRAXIS_EPISTEMIC_AVAILABILITY_STATES: readonly ["AVAILABLE", "INSUFFICIENT_SAMPLE", "K_ANONYMITY_SUPPRESSED", "ENGINE_UNAVAILABLE", "DEGRADED"];
1277
+ type PraxisEpistemicAvailabilityState = (typeof PRAXIS_EPISTEMIC_AVAILABILITY_STATES)[number];
1278
+ type PraxisNigriniConformity = 'CLOSE_CONFORMITY' | 'ACCEPTABLE_CONFORMITY' | 'MARGINAL_CONFORMITY' | 'MARGINALLY_ACCEPTABLE' | 'NON_CONFORMITY' | (string & {});
1279
+ interface PraxisEpistemicMeta {
1280
+ kind?: PraxisEpistemicKind;
1281
+ availabilityState?: PraxisEpistemicAvailabilityState;
1282
+ statisticallySignificant?: boolean;
1283
+ qValueFdr?: number | null;
1284
+ sampleSize?: number | null;
1285
+ suppressedCellCount?: number | null;
1286
+ modelCardId?: string | null;
1287
+ provenanceHash?: string | null;
1288
+ datasetKey?: string | null;
1289
+ methodologyNote?: string | null;
1290
+ nigriniMad?: number | null;
1291
+ nigriniConformity?: PraxisNigriniConformity | null;
1054
1292
  }
1055
1293
 
1056
1294
  interface TableTooltipConfig {
@@ -1098,6 +1336,8 @@ interface ColumnDefinition {
1098
1336
  headerCssClass?: string;
1099
1337
  /** Formato de exibição dos dados */
1100
1338
  format?: any;
1339
+ /** Texto exibido quando o valor resolvido da célula for null, undefined ou string vazia, sem alterar o dado bruto ou a ordenação. */
1340
+ emptyValue?: string;
1101
1341
  /** Coluna calculada baseada em expressão */
1102
1342
  computed?: {
1103
1343
  /** Expressão segura baseada em campos da linha */
@@ -1147,6 +1387,10 @@ interface ColumnDefinition {
1147
1387
  prefix?: string;
1148
1388
  /** Sufixo visual aplicado ao texto do renderer sem alterar o valor bruto. */
1149
1389
  suffix?: string;
1390
+ /** Tooltip opcional associado ao indicador visual */
1391
+ tooltip?: TableTooltipConfig;
1392
+ /** Contrato declarativo de Quick View governado associado ao ícone/valor. */
1393
+ quickView?: ResourceQuickViewBinding;
1150
1394
  };
1151
1395
  /** Configuração de imagem */
1152
1396
  image?: {
@@ -1180,8 +1424,14 @@ interface ColumnDefinition {
1180
1424
  variant?: 'filled' | 'outlined' | 'soft' | 'plain';
1181
1425
  /** Ícone opcional dentro do badge */
1182
1426
  icon?: string;
1427
+ /** Prefixo visual opcional aplicado ao texto materializado */
1428
+ prefix?: string;
1429
+ /** Sufixo visual opcional aplicado ao texto materializado */
1430
+ suffix?: string;
1183
1431
  /** Tooltip opcional associado ao indicador visual */
1184
1432
  tooltip?: TableTooltipConfig;
1433
+ /** Contrato declarativo de Quick View governado associado ao badge. */
1434
+ quickView?: ResourceQuickViewBinding;
1185
1435
  };
1186
1436
  /** Link (sanitizado) */
1187
1437
  link?: {
@@ -1191,6 +1441,8 @@ interface ColumnDefinition {
1191
1441
  hrefField?: string;
1192
1442
  target?: '_blank' | '_self' | '_parent' | '_top';
1193
1443
  rel?: string;
1444
+ /** Contrato declarativo de Quick View governado associado ao link. */
1445
+ quickView?: ResourceQuickViewBinding;
1194
1446
  };
1195
1447
  /** Botão (ação por linha) */
1196
1448
  button?: {
@@ -1213,9 +1465,13 @@ interface ColumnDefinition {
1213
1465
  textField?: string;
1214
1466
  color?: string;
1215
1467
  icon?: string;
1468
+ prefix?: string;
1469
+ suffix?: string;
1216
1470
  variant?: 'filled' | 'outlined' | 'soft' | 'plain';
1217
1471
  /** Tooltip opcional associado ao chip */
1218
1472
  tooltip?: TableTooltipConfig;
1473
+ /** Contrato declarativo de Quick View governado associado ao chip. */
1474
+ quickView?: ResourceQuickViewBinding;
1219
1475
  };
1220
1476
  /** Barra de progresso leve */
1221
1477
  progress?: {
@@ -1278,7 +1534,10 @@ interface ColumnDefinition {
1278
1534
  textField?: string;
1279
1535
  valueField?: string;
1280
1536
  text?: string;
1537
+ prefix?: string;
1538
+ suffix?: string;
1281
1539
  emphasis?: 'strong' | 'subtle';
1540
+ quickView?: ResourceQuickViewBinding;
1282
1541
  } | {
1283
1542
  type: 'icon';
1284
1543
  icon?: {
@@ -1291,6 +1550,7 @@ interface ColumnDefinition {
1291
1550
  ariaLabel?: string;
1292
1551
  prefix?: string;
1293
1552
  suffix?: string;
1553
+ quickView?: ResourceQuickViewBinding;
1294
1554
  };
1295
1555
  } | {
1296
1556
  type: 'image';
@@ -1313,7 +1573,10 @@ interface ColumnDefinition {
1313
1573
  color?: string;
1314
1574
  variant?: 'filled' | 'outlined' | 'soft' | 'plain';
1315
1575
  icon?: string;
1576
+ prefix?: string;
1577
+ suffix?: string;
1316
1578
  tooltip?: TableTooltipConfig;
1579
+ quickView?: ResourceQuickViewBinding;
1317
1580
  };
1318
1581
  } | {
1319
1582
  type: 'link';
@@ -1324,6 +1587,7 @@ interface ColumnDefinition {
1324
1587
  hrefField?: string;
1325
1588
  target?: '_blank' | '_self' | '_parent' | '_top';
1326
1589
  rel?: string;
1590
+ quickView?: ResourceQuickViewBinding;
1327
1591
  };
1328
1592
  } | {
1329
1593
  type: 'button';
@@ -1347,8 +1611,11 @@ interface ColumnDefinition {
1347
1611
  textField?: string;
1348
1612
  color?: string;
1349
1613
  icon?: string;
1614
+ prefix?: string;
1615
+ suffix?: string;
1350
1616
  variant?: 'filled' | 'outlined' | 'soft' | 'plain';
1351
1617
  tooltip?: TableTooltipConfig;
1618
+ quickView?: ResourceQuickViewBinding;
1352
1619
  };
1353
1620
  } | {
1354
1621
  type: 'progress';
@@ -1411,7 +1678,14 @@ interface ColumnDefinition {
1411
1678
  };
1412
1679
  }>;
1413
1680
  layout?: {
1414
- direction?: 'row' | 'column';
1681
+ /**
1682
+ * `row`: todos os itens na mesma linha.
1683
+ * `column`: todos os itens empilhados.
1684
+ * `media`: padrão "media object" — o primeiro item (avatar, imagem ou ícone)
1685
+ * fica ancorado à esquerda e os demais itens empilham-se em linhas à direita
1686
+ * (ex.: avatar + nome em destaque + código/e-mail sutil).
1687
+ */
1688
+ direction?: 'row' | 'column' | 'media';
1415
1689
  gap?: number;
1416
1690
  align?: 'start' | 'center' | 'end';
1417
1691
  wrap?: boolean;
@@ -1419,6 +1693,12 @@ interface ColumnDefinition {
1419
1693
  };
1420
1694
  };
1421
1695
  };
1696
+ /**
1697
+ * Contrato declarativo e serializável de Quick View governado para a célula/coluna.
1698
+ * Pode ser especializado individualmente em `renderer.link.quickView`, `renderer.badge.quickView`,
1699
+ * `renderer.chip.quickView`, `renderer.icon.quickView` ou em itens de `renderer.compose.items`.
1700
+ */
1701
+ quickView?: ResourceQuickViewBinding;
1422
1702
  /** Overrides condicionais do renderer por linha (first‑match wins) */
1423
1703
  conditionalRenderers?: Array<{
1424
1704
  /** Identificador estável usado para reconciliação e deduplicação de regras authoradas. */
@@ -1514,6 +1794,8 @@ interface ConfigMetadata {
1514
1794
  serverHash?: string;
1515
1795
  /** Campo identificador preferido pelo usuário para o recurso (ex.: 'id', 'codigo') */
1516
1796
  idField?: string;
1797
+ /** Caminho canônico do recurso associado à configuração persistida (ex.: 'workforce/employees') */
1798
+ resourcePath?: string;
1517
1799
  /** Contexto de schema associado (útil para auditoria/telemetria) */
1518
1800
  schemaContext?: {
1519
1801
  path: string;
@@ -1749,8 +2031,8 @@ interface PaginationConfig {
1749
2031
  style: 'default' | 'simple' | 'advanced' | 'compact';
1750
2032
  /** Total de itens (para paginação server-side) */
1751
2033
  totalItems?: number;
1752
- /** Estratégia de paginação */
1753
- strategy: 'client' | 'server';
2034
+ /** Se omitida, o runtime usa server para recurso remoto e client para dados locais. */
2035
+ strategy?: 'client' | 'server';
1754
2036
  /** Configurações avançadas */
1755
2037
  advanced?: {
1756
2038
  /** Jump to page input */
@@ -1774,8 +2056,8 @@ interface SortingConfig {
1774
2056
  }>;
1775
2057
  /** Permitir ordenação múltipla */
1776
2058
  multiSort: boolean;
1777
- /** Estratégia de ordenação */
1778
- strategy: 'client' | 'server';
2059
+ /** Se omitida, o runtime usa server para recurso remoto e client para dados locais. */
2060
+ strategy?: 'client' | 'server';
1779
2061
  /** Mostrar indicadores visuais de ordenação */
1780
2062
  showSortIndicators: boolean;
1781
2063
  /** Posição dos indicadores */
@@ -1834,18 +2116,20 @@ interface FilterPresentationConfig {
1834
2116
  }
1835
2117
  interface FilteringConfig {
1836
2118
  /** Habilitar filtragem */
1837
- enabled: boolean;
2119
+ enabled?: boolean;
1838
2120
  /** Filtros por coluna */
1839
2121
  columnFilters?: {
1840
- enabled: boolean;
1841
- /** Tipo de filtro padrão */
1842
- defaultType: 'text' | 'select' | 'date' | 'number' | 'boolean';
1843
- /** Posição dos filtros */
1844
- position: 'header' | 'subheader' | 'sidebar';
2122
+ enabled?: boolean;
2123
+ /** Tipo de filtro padrão (opcional, padrão 'text') */
2124
+ defaultType?: 'text' | 'select' | 'date' | 'number' | 'boolean';
2125
+ /** Posição dos filtros (opcional, padrão 'header') */
2126
+ position?: 'header' | 'subheader' | 'sidebar';
1845
2127
  };
1846
2128
  /** Filtros avançados */
1847
2129
  advancedFilters?: {
1848
- enabled: boolean;
2130
+ enabled?: boolean;
2131
+ /** URL explícita para o schema do filtro (se omitida, inferida pelo host/CRUD a partir do resource.path) */
2132
+ schemaUrl?: string;
1849
2133
  /** Interface de query builder */
1850
2134
  queryBuilder?: boolean;
1851
2135
  /** Salvar filtros como presets */
@@ -1853,6 +2137,22 @@ interface FilteringConfig {
1853
2137
  /** Configurações específicas do componente praxis-filter */
1854
2138
  settings?: {
1855
2139
  presentation?: FilterPresentationConfig;
2140
+ /** Renderização inline de campos do filtro */
2141
+ inline?: boolean;
2142
+ /** Usar variante de seleção inline pesquisável */
2143
+ useInlineSearchableSelectVariant?: boolean;
2144
+ /** Usar variante inline para campos de slider ou intervalo numérico */
2145
+ useInlineRangeVariant?: boolean;
2146
+ /** Usar variante inline para campos de data */
2147
+ useInlineDateVariant?: boolean;
2148
+ /** Usar variante inline para campos de intervalo de datas (dateRange) */
2149
+ useInlineDateRangeVariant?: boolean;
2150
+ /** Usar variante inline para campos de horário */
2151
+ useInlineTimeVariant?: boolean;
2152
+ /** Usar variante inline para campos de intervalo de horários */
2153
+ useInlineTimeRangeVariant?: boolean;
2154
+ /** Usar variante inline para seleção em árvore (treeSelect) */
2155
+ useInlineTreeSelectVariant?: boolean;
1856
2156
  /** Campos sempre visíveis */
1857
2157
  alwaysVisibleFields?: string[];
1858
2158
  /** Overrides de metadata por campo sempre visível (merge sobre o DTO de filtro) */
@@ -1861,6 +2161,10 @@ interface FilteringConfig {
1861
2161
  selectedFieldIds?: string[];
1862
2162
  /** Exibir opções avançadas por padrão */
1863
2163
  showAdvanced?: boolean;
2164
+ /** Exibir botão "Gerenciar campos" na barra do filtro (padrão: true) */
2165
+ showAddButton?: boolean;
2166
+ /** Exibir botão "Configurações do filtro" na barra quando customização estiver disponível (padrão: true) */
2167
+ showFilterSettings?: boolean;
1864
2168
  /** Permitir salvar tags/atalhos de filtro */
1865
2169
  allowSaveTags?: boolean;
1866
2170
  /** Atalhos governados, somente leitura, aplicados como patch do DTO de filtro */
@@ -1909,10 +2213,10 @@ interface FilteringConfig {
1909
2213
  enablePerformanceMetrics?: boolean;
1910
2214
  };
1911
2215
  };
1912
- /** Estratégia de filtragem */
1913
- strategy: 'client' | 'server';
1914
- /** Debounce para filtros em tempo real (ms) */
1915
- debounceTime: number;
2216
+ /** Estratégia de filtragem (opcional, padrão 'server' ou 'client' pelo modo) */
2217
+ strategy?: 'client' | 'server';
2218
+ /** Debounce para filtros em tempo real (ms, opcional) */
2219
+ debounceTime?: number;
1916
2220
  }
1917
2221
  interface SelectionConfig {
1918
2222
  /** Habilitar seleção de linhas */
@@ -1921,6 +2225,8 @@ interface SelectionConfig {
1921
2225
  type: 'single' | 'multiple';
1922
2226
  /** Modo de seleção */
1923
2227
  mode: 'checkbox' | 'row' | 'both';
2228
+ /** Permitir desselecionar a linha ao clicar ou ativar novamente em seleção única. */
2229
+ allowDeselect?: boolean;
1924
2230
  /** Permitir selecionar todas as linhas */
1925
2231
  allowSelectAll: boolean;
1926
2232
  /** Posição do checkbox de seleção */
@@ -2219,10 +2525,10 @@ interface ElevationConfig {
2219
2525
  hoverElevation?: number;
2220
2526
  }
2221
2527
  interface ToolbarConfig {
2222
- /** Visibilidade da toolbar */
2223
- visible: boolean;
2224
- /** Posição da toolbar */
2225
- position: 'top' | 'bottom' | 'both';
2528
+ /** Visibilidade da toolbar (opcional, padrão true) */
2529
+ visible?: boolean;
2530
+ /** Posição da toolbar (opcional, padrão 'top') */
2531
+ position?: 'top' | 'bottom' | 'both';
2226
2532
  /** Posição das ações da toolbar */
2227
2533
  actionsPosition?: 'top' | 'bottom' | 'both';
2228
2534
  /** Cor de fundo da barra de ações */
@@ -2247,6 +2553,12 @@ interface ToolbarConfig {
2247
2553
  textAlign?: 'start' | 'center' | 'end';
2248
2554
  /** Ações da toolbar */
2249
2555
  actions?: ToolbarAction[];
2556
+ /** Configuração de busca rápida na toolbar */
2557
+ search?: {
2558
+ enabled?: boolean;
2559
+ placeholder?: string;
2560
+ debounceTime?: number;
2561
+ };
2250
2562
  /** Configurações de filtros na toolbar */
2251
2563
  filters?: ToolbarFilterConfig;
2252
2564
  /** Menu de configurações */
@@ -2330,6 +2642,8 @@ interface ToolbarAction {
2330
2642
  effects?: PraxisRuntimeGlobalActionEffect[];
2331
2643
  /** Tooltip */
2332
2644
  tooltip?: string;
2645
+ /** Descrição semântica da ação para descoberta, acessibilidade e operações de governança */
2646
+ description?: string;
2333
2647
  /** Tecla de atalho */
2334
2648
  shortcut?: string;
2335
2649
  /** Escopo do atalho: somente toolbar ativa ou global */
@@ -2349,12 +2663,7 @@ interface ToolbarFilterConfig {
2349
2663
  /** Habilitar filtros rápidos na toolbar */
2350
2664
  enabled: boolean;
2351
2665
  /** Filtros rápidos disponíveis */
2352
- quickFilters?: Array<{
2353
- id: string;
2354
- label: string;
2355
- filter: any;
2356
- icon?: string;
2357
- }>;
2666
+ quickFilters?: PraxisResourceQuickFilter[];
2358
2667
  /** Mostrar botões de filtros rápidos na toolbar (default: true) */
2359
2668
  showQuickFilters?: boolean;
2360
2669
  /** Mostrar botão de filtros avançados */
@@ -2473,6 +2782,8 @@ interface RowAction {
2473
2782
  effects?: PraxisRuntimeGlobalActionEffect[];
2474
2783
  /** Surface de registro canonica aberta por esta acao de linha */
2475
2784
  recordSurface?: ResourceSurfaceCatalogItem;
2785
+ /** Contrato declarativo de Quick View governado aberto ancorado ao gatilho desta ação de linha */
2786
+ quickView?: ResourceQuickViewBinding;
2476
2787
  /** Tooltip */
2477
2788
  tooltip?: string;
2478
2789
  /** Requer confirmação */
@@ -2803,6 +3114,11 @@ interface TableDrawerConfig {
2803
3114
  tabs?: PraxisAnalyticalDrawerTab[];
2804
3115
  /** Orquestração declarativa de sub-recursos e relações vinculadas (Issue #32) */
2805
3116
  relations?: PraxisAnalyticalDrawerRelation[];
3117
+ /**
3118
+ * Quando verdadeiro em uma configuração local/DI, hidrata automaticamente `x-ui.calculationMemory`
3119
+ * publicado pelo DTO backend (`@CalculationMemory` — PLAT-EVO-20) sem duplicar trilhas no frontend.
3120
+ */
3121
+ hydrateRemoteCalculationMemory?: boolean;
2806
3122
  }
2807
3123
  /**
2808
3124
  * Esquema estrutural canônico para gavetas analíticas e dossiês multi-aba (`kind: 'praxis.analytical-drawer.schema'`).
@@ -2814,8 +3130,210 @@ interface PraxisAnalyticalDrawerSchema {
2814
3130
  subtitleExpr?: string;
2815
3131
  icon?: string;
2816
3132
  classificationPill?: string;
2817
- tabs: PraxisAnalyticalDrawerTab[];
3133
+ tabs?: PraxisAnalyticalDrawerTab[];
2818
3134
  relations?: PraxisAnalyticalDrawerRelation[];
3135
+ /**
3136
+ * Seção nativa de Memória de Cálculo Explicável (`Base -> Fator/Alíquota -> Trava/Teto -> Resultado + Fundamentação Legal`).
3137
+ * Permite que hosts de Folha, Tributos ou Faturamento exibam explicabilidade algorítmica declarativamente via JSON/schema.
3138
+ */
3139
+ calculationMemory?: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[];
3140
+ /**
3141
+ * Hidrata automaticamente `x-ui.calculationMemory` publicado pelo `ResponseDTO` backend (`@CalculationMemory` — PLAT-EVO-20)
3142
+ * sobre o dossiê local registrado no `AnalyticalDrawerRegistryService`.
3143
+ */
3144
+ hydrateRemoteCalculationMemory?: boolean;
3145
+ }
3146
+ /**
3147
+ * Papel semântico de uma etapa dentro de uma trilha de memória de cálculo.
3148
+ */
3149
+ type PraxisAnalyticalDrawerCalculationStepRole = 'base' | 'factor' | 'cap' | 'target' | 'deduction' | 'addition' | 'subtotal' | 'result' | 'custom';
3150
+ /**
3151
+ * Etapa individual na sequência algorítmica de memória de cálculo
3152
+ * (`Base -> Fator/Alíquota -> Trava/Teto -> Resultado`).
3153
+ */
3154
+ interface PraxisAnalyticalDrawerCalculationStep {
3155
+ /** Papel semântico da etapa (ex.: 'base', 'factor', 'cap', 'subtotal', 'result'). */
3156
+ role?: PraxisAnalyticalDrawerCalculationStepRole;
3157
+ /** Discriminador canônico de etapa emitido por `@CalculationStep` (`x-ui.calculationMemory`). */
3158
+ kind?: PraxisAnalyticalDrawerCalculationStepRole;
3159
+ /** Rótulo exibido na etapa (ex.: 'Base de Cálculo', 'Fator / Alíquota', 'Trava / Teto', 'Resultado'). */
3160
+ label: string;
3161
+ /** Valor estático opcional quando não derivado por expressão. */
3162
+ value?: unknown;
3163
+ /** Expressão avaliada contra `{ row, relations, env }` via `SafeExpressionEvaluator`. */
3164
+ valueExpr?: string;
3165
+ /** Alias direto de expressão emitido por `@CalculationStep`. */
3166
+ expr?: string;
3167
+ /** Operador matemático ou lógico exibido antes da etapa (ex.: '×', '÷', '+', '-', '≤', '='). */
3168
+ operator?: string;
3169
+ /** Formato de apresentação ('currency:BRL', 'percent', 'number', 'integer', 'text'). */
3170
+ format?: string;
3171
+ /** Nota ou fórmula curta auxiliar sob o valor da etapa. */
3172
+ hint?: string;
3173
+ /** Expressão opcional para nota/fórmula curta auxiliar. */
3174
+ hintExpr?: string;
3175
+ /** Referência normativa específica da etapa (`@CalculationStep.legalBasis`). */
3176
+ legalBasis?: string;
3177
+ /** Ícone Material opcional da etapa. */
3178
+ icon?: string;
3179
+ /** Tom visual da etapa (ex.: 'neutral', 'info', 'warning', 'success', 'danger', 'primary'). */
3180
+ tone?: string;
3181
+ }
3182
+ /**
3183
+ * Trilha estruturada de memória de cálculo explicável
3184
+ * (`Base -> Fator/Alíquota -> Trava/Teto -> Resultado + Fundamentação Legal`).
3185
+ */
3186
+ interface PraxisAnalyticalDrawerCalculationTrail {
3187
+ /** Identificador único da trilha de cálculo (ex.: 'terco-ferias', 'abate-teto', 'irrf'). */
3188
+ id?: string;
3189
+ /** Título da memória de cálculo. */
3190
+ title?: string;
3191
+ /** Expressão opcional para título dinâmico da trilha. */
3192
+ titleExpr?: string;
3193
+ /** Subtítulo ou rubrica/competência. */
3194
+ subtitle?: string;
3195
+ /** Expressão opcional para subtítulo dinâmico. */
3196
+ subtitleExpr?: string;
3197
+ /** Ícone Material da trilha (padrão: 'calculate'). */
3198
+ icon?: string;
3199
+ /** Código da regra determinística ou rubrica que originou o cálculo. */
3200
+ ruleCode?: string;
3201
+ /** Expressão opcional para o código da regra/rubrica. */
3202
+ ruleCodeExpr?: string;
3203
+ /** Expressão algébrica legível da fórmula (ex.: 'min(Base × Alíquota, Teto)'). */
3204
+ formula?: string;
3205
+ /** Expressão opcional para fórmula algébrica dinâmica. */
3206
+ formulaExpr?: string;
3207
+ baseLabel?: string;
3208
+ baseValue?: unknown;
3209
+ baseExpr?: string;
3210
+ baseFormat?: string;
3211
+ baseHint?: string;
3212
+ baseHintExpr?: string;
3213
+ additionLabel?: string;
3214
+ additionValue?: unknown;
3215
+ additionExpr?: string;
3216
+ additionFormat?: string;
3217
+ additionHint?: string;
3218
+ additionHintExpr?: string;
3219
+ deductionLabel?: string;
3220
+ deductionValue?: unknown;
3221
+ deductionExpr?: string;
3222
+ deductionFormat?: string;
3223
+ deductionHint?: string;
3224
+ deductionHintExpr?: string;
3225
+ factorLabel?: string;
3226
+ factorValue?: unknown;
3227
+ factorExpr?: string;
3228
+ factorFormat?: string;
3229
+ factorHint?: string;
3230
+ factorHintExpr?: string;
3231
+ capLabel?: string;
3232
+ capOperator?: string;
3233
+ capValue?: unknown;
3234
+ capExpr?: string;
3235
+ capFormat?: string;
3236
+ capHint?: string;
3237
+ capHintExpr?: string;
3238
+ targetLabel?: string;
3239
+ targetValue?: unknown;
3240
+ targetExpr?: string;
3241
+ targetFormat?: string;
3242
+ targetHint?: string;
3243
+ targetHintExpr?: string;
3244
+ resultLabel?: string;
3245
+ resultValue?: unknown;
3246
+ resultExpr?: string;
3247
+ resultFormat?: string;
3248
+ resultHint?: string;
3249
+ resultHintExpr?: string;
3250
+ resultTone?: string;
3251
+ /**
3252
+ * Sequência explícita de etapas (`Base -> Fator/Alíquota -> Trava/Teto -> Resultado`).
3253
+ * Quando omitida, o componente sintetiza automaticamente os estágios configurados em
3254
+ * `base*`, `addition*`, `deduction*`, `factor*`, `cap*` e `result*`.
3255
+ */
3256
+ steps?: PraxisAnalyticalDrawerCalculationStep[];
3257
+ /** Fundamentação legal ou normativa (ex.: 'CF/88, art. 7º, XVII; Lei 8.112/1990, art. 76'). */
3258
+ legalBasis?: string;
3259
+ /** Expressão opcional para fundamentação legal dinâmica a partir da linha ou relação. */
3260
+ legalBasisExpr?: string;
3261
+ /** Finalidade legal ou nota de conformidade normativa. */
3262
+ legalPurpose?: string;
3263
+ /** Expressão opcional para finalidade legal dinâmica. */
3264
+ legalPurposeExpr?: string;
3265
+ /** Condição opcional (`SafeExpressionEvaluator`) para exibir a trilha apenas quando aplicável. */
3266
+ visibleWhen?: string;
3267
+ /** Metadados epistêmicos estáticos da trilha de cálculo (`x-ui.calculationMemory` / `PLAT-EVO-21`). */
3268
+ epistemicMeta?: PraxisEpistemicMeta;
3269
+ /** Expressão (`SafeExpressionEvaluator`) que resolve o envelope epistêmico completo a partir do registro. */
3270
+ epistemicMetaExpr?: string;
3271
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.kind`. */
3272
+ epistemicKindExpr?: string;
3273
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.availabilityState`. */
3274
+ epistemicAvailabilityStateExpr?: string;
3275
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.statisticallySignificant`. */
3276
+ statisticallySignificantExpr?: string;
3277
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.qValueFdr`. */
3278
+ qValueFdrExpr?: string;
3279
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.sampleSize`. */
3280
+ sampleSizeExpr?: string;
3281
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.suppressedCellCount`. */
3282
+ suppressedCellCountExpr?: string;
3283
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.provenanceHash`. */
3284
+ provenanceHashExpr?: string;
3285
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.modelCardId`. */
3286
+ modelCardIdExpr?: string;
3287
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.datasetKey`. */
3288
+ datasetKeyExpr?: string;
3289
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.methodologyNote`. */
3290
+ methodologyNoteExpr?: string;
3291
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.nigriniMad`. */
3292
+ nigriniMadExpr?: string;
3293
+ /** Expressão (`SafeExpressionEvaluator`) para `epistemicMeta.nigriniConformity`. */
3294
+ nigriniConformityExpr?: string;
3295
+ }
3296
+ /**
3297
+ * Bloco declarativo de Memória de Cálculo Explicável para abas ou seções do `<praxis-analytical-drawer>`.
3298
+ */
3299
+ interface PraxisAnalyticalDrawerCalculationMemoryContent {
3300
+ type: 'calculationMemory';
3301
+ /** Título opcional da seção de memória de cálculo. */
3302
+ title?: string;
3303
+ /** Expressão opcional para título dinâmico da seção. */
3304
+ titleExpr?: string;
3305
+ /** Subtítulo ou resumo explicativo da seção. */
3306
+ subtitle?: string;
3307
+ /** Expressão opcional para subtítulo dinâmico da seção. */
3308
+ subtitleExpr?: string;
3309
+ /** Ícone opcional da seção (padrão: 'calculate'). */
3310
+ icon?: string;
3311
+ /** Lista declarativa de trilhas de memória de cálculo. */
3312
+ trails?: PraxisAnalyticalDrawerCalculationTrail[];
3313
+ /** Expressão opcional (`SafeExpressionEvaluator`) que resolve trilhas dinâmicas vindas do backend. */
3314
+ trailsExpr?: string;
3315
+ /** Fundamentação legal geral da seção quando compartilhada pelas trilhas. */
3316
+ legalBasis?: string;
3317
+ /** Expressão opcional para fundamentação legal geral da seção. */
3318
+ legalBasisExpr?: string;
3319
+ /** Mensagem exibida quando nenhuma trilha for aplicável para o registro atual. */
3320
+ emptyText?: string;
3321
+ }
3322
+ /**
3323
+ * Item individual de propriedade dentro de um grid analítico em uma aba (Property Grid).
3324
+ */
3325
+ interface PraxisAnalyticalDrawerPropertyItem {
3326
+ label?: string;
3327
+ field?: string;
3328
+ icon?: string;
3329
+ valueExpr?: string;
3330
+ value?: unknown;
3331
+ format?: string;
3332
+ spanFull?: boolean;
3333
+ toneExpr?: string;
3334
+ pipe?: string;
3335
+ fallbackText?: string;
3336
+ [key: string]: unknown;
2819
3337
  }
2820
3338
  /**
2821
3339
  * Definição de aba temática dentro de uma gaveta analítica.
@@ -2826,7 +3344,9 @@ interface PraxisAnalyticalDrawerTab {
2826
3344
  icon?: string;
2827
3345
  badge?: string;
2828
3346
  count?: number;
2829
- content?: TableDetailSchemaNode | TableDetailInlineSchemaDocument | RichContentDocument | Record<string, unknown>;
3347
+ content?: TableDetailSchemaNode | TableDetailInlineSchemaDocument | RichContentDocument | PraxisAnalyticalDrawerCalculationMemoryContent | Record<string, unknown> | PraxisAnalyticalDrawerPropertyItem[] | Array<Record<string, unknown>>;
3348
+ /** Seção opcional de memória de cálculo exibida dentro desta aba analítica. */
3349
+ calculationMemory?: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[];
2830
3350
  }
2831
3351
  /**
2832
3352
  * Contrato declarativo de sub-recurso / relação vinculada para injeção automática no contexto reativo (`context.relations`).
@@ -2887,6 +3407,8 @@ interface PraxisKpiBandCard {
2887
3407
  className?: string;
2888
3408
  /** Tooltip explicativo ao pairar o mouse */
2889
3409
  tooltip?: string;
3410
+ /** Micro-visualização declarativa opcional exibida no corpo do card KPI */
3411
+ visualization?: PraxisPresentationVisualizationConfig;
2890
3412
  }
2891
3413
  interface PraxisKpiBandConfig {
2892
3414
  /** Se a faixa de KPIs está habilitada (padrão: true quando configurada) */
@@ -3690,6 +4212,13 @@ declare const FieldControlType: {
3690
4212
  };
3691
4213
  type FieldControlType = (typeof FieldControlType)[keyof typeof FieldControlType];
3692
4214
 
4215
+ /** Scalar JSON Schema items projected by the operation schema; object collections use FieldArrayConfig. */
4216
+ interface FieldScalarItemsSchema {
4217
+ type: 'string' | 'integer' | 'number' | 'boolean';
4218
+ format?: string;
4219
+ enum?: readonly (string | number | boolean | null)[];
4220
+ }
4221
+
3693
4222
  type FormFieldHelpDisplay = 'auto' | 'inline' | 'popover' | 'hidden';
3694
4223
 
3695
4224
  /**
@@ -3906,8 +4435,27 @@ interface FieldOption {
3906
4435
  icon?: string;
3907
4436
  /** Tooltip text for option */
3908
4437
  tooltip?: string;
3909
- /** Detailed description for the option */
4438
+ /** Optional semantic visual tone mapped by UI consumers. */
4439
+ tone?: string;
4440
+ /**
4441
+ * Secondary business/domain description rendered on a dedicated line in rich selectors.
4442
+ * Do not concatenate `code` or `badge` here when those properties are populated separately.
4443
+ */
3910
4444
  description?: string;
4445
+ /**
4446
+ * Optional technical identifier, field key, or endpoint path rendered in a monospace slot
4447
+ * (both in the dropdown option and in the closed select trigger).
4448
+ */
4449
+ code?: string;
4450
+ /**
4451
+ * Optional domain group, data type, or governance badge (e.g. `"RH · Somente leitura"`, `"integer"`)
4452
+ * rendered as a pill next to the option label.
4453
+ */
4454
+ badge?: string;
4455
+ /**
4456
+ * Optional additional keywords indexed for accent-insensitive client-side search.
4457
+ */
4458
+ searchTerms?: string[];
3911
4459
  }
3912
4460
  /**
3913
4461
  * Angular Material specific styling and behavior options.
@@ -4006,6 +4554,10 @@ type FieldSubmitPolicy = 'include' | 'omit' | 'includeWhenDirty';
4006
4554
  interface FieldMetadata extends ComponentMetadata {
4007
4555
  /** Unique field identifier (required) */
4008
4556
  name: string;
4557
+ /** Backend-authored custom-field identity; `name` retains the full value path. */
4558
+ customField?: boolean;
4559
+ customFieldKey?: string;
4560
+ customFieldScope?: string;
4009
4561
  /** Display label for the field */
4010
4562
  label: string;
4011
4563
  /**
@@ -4027,6 +4579,8 @@ interface FieldMetadata extends ComponentMetadata {
4027
4579
  dataType?: FieldDataType;
4028
4580
  /** Canonical metadata for editable collection fields (`controlType: "array"`). */
4029
4581
  array?: FieldArrayConfig;
4582
+ /** Scalar array item contract projected from the operation's JSON Schema. */
4583
+ items?: FieldScalarItemsSchema;
4030
4584
  /** Optional top-level alias for collection validators mirrored into `array.collectionValidation`. */
4031
4585
  collectionValidation?: FieldArrayCollectionValidation;
4032
4586
  /** Display order in form */
@@ -4074,6 +4628,28 @@ interface FieldMetadata extends ComponentMetadata {
4074
4628
  fieldAccess?: FieldAccessMetadata;
4075
4629
  /** Field is hidden from display */
4076
4630
  hidden?: boolean;
4631
+ /** Hidden specifically in collection table columns (`x-ui.tableHidden`). */
4632
+ tableHidden?: boolean;
4633
+ /** Hidden specifically inside generated forms (`x-ui.formHidden`). */
4634
+ formHidden?: boolean;
4635
+ /** Explicit column sort order inside collection tables (`x-ui.tableOrder`). */
4636
+ tableOrder?: number;
4637
+ /** Explicit sticky side inside collection tables (`x-ui.pinned`). */
4638
+ pinned?: 'start' | 'end';
4639
+ /** Marks field as primary quick-search filter target (`x-ui.primarySearch`). */
4640
+ primarySearch?: boolean;
4641
+ /** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
4642
+ inlineFilter?: boolean;
4643
+ /** Compact alias promoting filter field to inline/always-visible bar (`x-ui.inline`). */
4644
+ inline?: boolean;
4645
+ /** Explicit 12-column responsive grid span (`x-ui.colSpan`, `1..12`). */
4646
+ colSpan?: number;
4647
+ /** Active workspace context binding contract (`x-ui.contextBinding`). */
4648
+ contextBinding?: PraxisContextBindingContract;
4649
+ /** Indicates field value must clear when cloning a draft (`x-ui.draftCleared`). */
4650
+ draftCleared?: boolean;
4651
+ /** Resource-state mutability rules (`x-ui.resourceState`). */
4652
+ resourceState?: PraxisResourceStateContract;
4077
4653
  /** Canonical conditional visibility guard for metadata-driven forms. */
4078
4654
  hiddenCondition?: JsonLogicExpression | null;
4079
4655
  /** Default value when form initializes */
@@ -4151,6 +4727,10 @@ interface FieldMetadata extends ComponentMetadata {
4151
4727
  * heuristics.
4152
4728
  */
4153
4729
  valuePresentation?: ValuePresentationConfig;
4730
+ /** Micro-visualization metadata published via `x-ui.microVisualization`. */
4731
+ microVisualization?: PraxisPresentationVisualizationConfig;
4732
+ /** Numeric format directive (`auto`, `integer`, `decimal`, `currency`, `percent`). */
4733
+ numericFormat?: 'auto' | 'integer' | 'decimal' | 'currency' | 'percent' | string;
4154
4734
  /**
4155
4735
  * Semantic presentation metadata for read-only/display surfaces.
4156
4736
  *
@@ -4163,6 +4743,14 @@ interface FieldMetadata extends ComponentMetadata {
4163
4743
  * readonly/display surfaces. Later matching rules win.
4164
4744
  */
4165
4745
  presentationRules?: FieldPresentationRule[];
4746
+ /** Indicates that this field is curated for display in the Quick View summary list. */
4747
+ quickViewVisible?: boolean;
4748
+ /** Relative order of this field in the Quick View summary list when quickViewVisible is true. */
4749
+ quickViewOrder?: number;
4750
+ /** Canonical cross-resource reference contract published in x-ui.resourceReference. */
4751
+ resourceReference?: ResourceReferenceMetadata;
4752
+ /** Declarative governed Quick View contract for reference fields. */
4753
+ quickView?: ResourceQuickViewBinding;
4166
4754
  /** Material Design specific configuration */
4167
4755
  materialDesign?: MaterialDesignConfig;
4168
4756
  /**
@@ -4172,12 +4760,22 @@ interface FieldMetadata extends ComponentMetadata {
4172
4760
  * needs platform-governed Apply/Cancel/Clear actions.
4173
4761
  */
4174
4762
  inlineOverlay?: InlineOverlayMetadata;
4763
+ /** Title displayed in the inline overlay panel header. */
4764
+ inlinePanelTitle?: string;
4765
+ /** Subtitle displayed under the inline overlay panel header title. */
4766
+ inlinePanelSubtitle?: string;
4767
+ /** Material icon ligature rendered in the inline overlay panel header badge. */
4768
+ inlinePanelIcon?: string;
4769
+ /** Theme palette token or CSS color applied to the inline overlay panel header icon. */
4770
+ inlinePanelIconColor?: string;
4175
4771
  /** Fields this field depends on */
4176
4772
  dependencyFields?: string[];
4177
4773
  /** Canonical conditional required guard for metadata-driven forms. */
4178
4774
  conditionalRequired?: JsonLogicExpression | null;
4179
4775
  /** Canonical conditional visibility guard for metadata-driven forms. */
4180
4776
  conditionalDisplay?: JsonLogicExpression | null;
4777
+ /** Conditional read-only guard (`x-ui.conditionalReadOnly`). */
4778
+ conditionalReadOnly?: JsonLogicExpression | string | null;
4181
4779
  /** Reset value when dependency changes */
4182
4780
  resetOnDependentChange?: boolean;
4183
4781
  /** Enable native field-to-field dependency cascade inside the same form */
@@ -4210,10 +4808,6 @@ interface FieldMetadata extends ComponentMetadata {
4210
4808
  textTransformApply?: 'displayOnly' | 'saveOnly' | 'both';
4211
4809
  /** Contexts where field should be visible */
4212
4810
  visibleIn?: Array<'form' | 'filter' | 'table' | 'dialog'>;
4213
- /** Hide in specific form contexts */
4214
- formHidden?: boolean;
4215
- /** Hide in table contexts */
4216
- tableHidden?: boolean;
4217
4811
  /** Hide in filter contexts */
4218
4812
  filterHidden?: boolean;
4219
4813
  /** ARIA label for screen readers */
@@ -4232,6 +4826,21 @@ interface FieldAccessMetadata {
4232
4826
  reason?: string;
4233
4827
  }
4234
4828
 
4829
+ /**
4830
+ * Supported operator modes for inline monetary range controls.
4831
+ */
4832
+ type InlineCurrencyRangeOperatorMode = 'between' | 'gte' | 'lte' | 'eq';
4833
+
4834
+ type PraxisContextBindingDimension = 'organization' | 'company_group' | 'unit' | 'person' | 'bond' | 'contract';
4835
+ interface PraxisContextBindingContract {
4836
+ dimension: PraxisContextBindingDimension;
4837
+ lockWhenActive: boolean;
4838
+ targetField?: string;
4839
+ }
4840
+ interface PraxisResourceStateContract {
4841
+ initialStates?: string[];
4842
+ putMutableStates?: string[];
4843
+ }
4235
4844
  /**
4236
4845
  * Contrato de saída do normalizador de esquema (SchemaNormalizerService):
4237
4846
  * - Converte metadados `x-ui` em FieldDefinition tipado.
@@ -4244,6 +4853,10 @@ interface FieldAccessMetadata {
4244
4853
  */
4245
4854
  interface FieldDefinition {
4246
4855
  name: string;
4856
+ /** Backend-authored custom-field identity; `name` retains the full value path. */
4857
+ customField?: boolean;
4858
+ customFieldKey?: string;
4859
+ customFieldScope?: string;
4247
4860
  label?: string;
4248
4861
  description?: string;
4249
4862
  type?: string;
@@ -4264,6 +4877,8 @@ interface FieldDefinition {
4264
4877
  readOnly?: boolean;
4265
4878
  fieldAccess?: FieldAccessMetadata;
4266
4879
  array?: FieldArrayConfig;
4880
+ /** Scalar array item contract from JSON Schema; independent of object collection authoring. */
4881
+ items?: FieldScalarItemsSchema;
4267
4882
  collectionValidation?: FieldArrayCollectionValidation;
4268
4883
  multiple?: boolean;
4269
4884
  editable?: boolean;
@@ -4273,11 +4888,28 @@ interface FieldDefinition {
4273
4888
  sortable?: boolean;
4274
4889
  /** Json Logic canônico que define obrigatoriedade condicional. */
4275
4890
  conditionalRequired?: JsonLogicExpression | null;
4891
+ /** Expressão condicional de somente leitura publicada em `x-ui.conditionalReadOnly`. */
4892
+ conditionalReadOnly?: JsonLogicExpression | string | null;
4893
+ /** Span explícito em grid de 12 colunas (`1..12`). */
4894
+ colSpan?: number;
4895
+ /** Vínculo com contexto ativo de workspace (`x-ui.contextBinding`). */
4896
+ contextBinding?: PraxisContextBindingContract;
4897
+ /** Indica limpeza do campo ao clonar rascunho (`x-ui.draftCleared`). */
4898
+ draftCleared?: boolean;
4899
+ /** Regras declarativas de mutabilidade por estado (`x-ui.resourceState`). */
4900
+ resourceState?: PraxisResourceStateContract;
4276
4901
  viewOnlyStyle?: string;
4277
4902
  /** Lista de gatilhos de validação, ex.: ["blur", "change"]. */
4278
4903
  validationTriggers?: string[];
4279
4904
  hidden?: boolean;
4280
4905
  tableHidden?: boolean;
4906
+ tableOrder?: number;
4907
+ pinned?: 'start' | 'end';
4908
+ primarySearch?: boolean;
4909
+ /** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
4910
+ inlineFilter?: boolean;
4911
+ /** Legacy/compact alias promoting filter field to inline bar (`x-ui.inline`). */
4912
+ inline?: boolean;
4281
4913
  formHidden?: boolean;
4282
4914
  filterable?: boolean;
4283
4915
  /** Json Logic canônico que controla se o campo é exibido. */
@@ -4306,11 +4938,16 @@ interface FieldDefinition {
4306
4938
  endpoint?: string;
4307
4939
  resourcePath?: string;
4308
4940
  optionSource?: OptionSourceMetadata;
4941
+ dialog?: LookupDialogMetadata;
4309
4942
  emptyOptionText?: string;
4310
4943
  options?: {
4311
4944
  key: string;
4312
4945
  value: string;
4313
4946
  label?: string;
4947
+ icon?: string;
4948
+ tone?: string;
4949
+ description?: string;
4950
+ disabled?: boolean;
4314
4951
  [key: string]: any;
4315
4952
  }[];
4316
4953
  filter?: any;
@@ -4321,16 +4958,28 @@ interface FieldDefinition {
4321
4958
  optionLabelKey?: string;
4322
4959
  optionValueKey?: string;
4323
4960
  filterOptions?: any[];
4324
- numericFormat?: string;
4961
+ numericFormat?: 'auto' | 'integer' | 'decimal' | 'currency' | 'percent' | string;
4325
4962
  valuePresentation?: ValuePresentationConfig;
4963
+ /** Micro-visualização declarada em `x-ui.microVisualization`. */
4964
+ microVisualization?: PraxisPresentationVisualizationConfig;
4326
4965
  /** Semantic read-only/list presentation metadata from canonical x-ui.presentation. */
4327
4966
  presentation?: FieldPresentationConfig;
4328
4967
  /** Conditional presentation overrides for read-only/list consumers. */
4329
4968
  presentationRules?: FieldPresentationRule[];
4969
+ /** Indicates that this field is curated for display in the Quick View summary list. */
4970
+ quickViewVisible?: boolean;
4971
+ /** Relative order of this field in the Quick View summary list when quickViewVisible is true. */
4972
+ quickViewOrder?: number;
4973
+ /** Canonical cross-resource reference contract published in x-ui.resourceReference. */
4974
+ resourceReference?: ResourceReferenceMetadata;
4975
+ /** Declarative governed Quick View contract for reference fields. */
4976
+ quickView?: ResourceQuickViewBinding;
4330
4977
  numericStep?: number;
4331
4978
  numericMin?: number;
4332
4979
  numericMax?: number;
4333
4980
  numericMaxLength?: number;
4981
+ inlineVisualStyle?: 'compact' | 'graphic';
4982
+ percentPresets?: number[];
4334
4983
  optionGroups?: {
4335
4984
  key: string;
4336
4985
  value: string;
@@ -4391,6 +5040,258 @@ interface FieldDefinition {
4391
5040
  showInlineErrors?: boolean;
4392
5041
  /** Posição preferida da mensagem de erro (ex.: below, right). */
4393
5042
  errorPosition?: string;
5043
+ /** Exibe o rótulo de valor no thumb de sliders (`slider`, `rangeSlider`, `inlineRange`). */
5044
+ thumbLabel?: boolean;
5045
+ /** Controla quando o rótulo de valor é exibido em sliders (`'off' | 'auto' | 'on'`). */
5046
+ valueLabelDisplay?: 'off' | 'auto' | 'on';
5047
+ /** Ativa o modo discreto (thumb label) em sliders Material. */
5048
+ discrete?: boolean;
5049
+ /** Exibe campos numéricos auxiliares sincronizados ao slider/range. */
5050
+ showInputs?: boolean;
5051
+ /** Exibe marcações (ticks) ao longo da trilha do slider. */
5052
+ showTicks?: boolean | 'auto';
5053
+ /** Exibe âncoras clicáveis abaixo da trilha do slider/faixa inline (`true`, `false` ou `'auto'`). */
5054
+ showAnchors?: boolean | 'auto';
5055
+ /** Título exibido no cabeçalho do popover para controles inline. */
5056
+ inlinePanelTitle?: string;
5057
+ /** Subtítulo exibido no cabeçalho do popover para controles inline. */
5058
+ inlinePanelSubtitle?: string;
5059
+ /** Ligadura Material Icons exibida no cabeçalho do popover para controles inline. */
5060
+ inlinePanelIcon?: string;
5061
+ /** Cor do ícone exibido no cabeçalho do popover para controles inline. */
5062
+ inlinePanelIconColor?: string;
5063
+ /** Exibe campos numéricos inline editáveis dentro do popover de controles de slider/faixa. */
5064
+ showInlineInputs?: boolean;
5065
+ /** Histograma ou configuração de distribuição interativa exibida acima do slider inline. */
5066
+ inlineDistribution?: unknown;
5067
+ /** Modos de operador habilitados para filtros de faixa monetária inline. */
5068
+ operatorModes?: InlineCurrencyRangeOperatorMode[] | boolean | string;
5069
+ /** Modo de operador inicial para filtros de faixa monetária inline. */
5070
+ defaultOperatorMode?: InlineCurrencyRangeOperatorMode;
5071
+ /** Exige ambos os limites da faixa (ex.: BETWEEN_EXCLUSIVE). */
5072
+ requireTwoBounds?: boolean;
5073
+ /** Passo aplicado exclusivamente à trilha do slider. */
5074
+ sliderStep?: number;
5075
+ /** Incremento de teclado com modificador Shift para sliders/faixas. */
5076
+ shiftStep?: number;
5077
+ /** Distância mínima exigida entre os limites da faixa. */
5078
+ minDistance?: number;
5079
+ /** Distância máxima permitida entre os limites da faixa. */
5080
+ maxDistance?: number;
5081
+ /** Código de moeda (ex.: BRL, USD, EUR). */
5082
+ currency?: string;
5083
+ /** Alias para código de moeda (`currency`). */
5084
+ currencyCode?: string;
5085
+ /** Quantidade de casas decimais para campos numéricos/monetários. */
5086
+ decimalPlaces?: number;
5087
+ /** Precisão numérica (moeda/número) ou granularidade de avaliação ('half' | 'item'). */
5088
+ precision?: number | string;
5089
+ /** Posição do símbolo monetário em relação ao valor. */
5090
+ currencyPosition?: 'before' | 'after';
5091
+ /** Exibe símbolo/indicador monetário em cabeçalhos e inputs. */
5092
+ showCurrencySymbol?: boolean;
5093
+ /** Separador de milhar (alias de `thousandsSeparator`). */
5094
+ thousandSeparator?: string;
5095
+ /** Separador de milhar. */
5096
+ thousandsSeparator?: string;
5097
+ /** Separador decimal. */
5098
+ decimalSeparator?: string;
5099
+ /** Permite valores negativos em controles numéricos/monetários. */
5100
+ allowNegative?: boolean;
5101
+ /** Rótulo do input mínimo de faixa. */
5102
+ inputMinLabel?: string;
5103
+ /** Rótulo do input máximo de faixa. */
5104
+ inputMaxLabel?: string;
5105
+ /** Rótulo do input de valor exato em faixa monetária. */
5106
+ inputExactLabel?: string;
5107
+ /** Limite mínimo permitido para o valor inicial da faixa. */
5108
+ startMin?: number;
5109
+ /** Limite máximo permitido para o valor inicial da faixa. */
5110
+ startMax?: number;
5111
+ /** Limite mínimo permitido para o valor final da faixa. */
5112
+ endMin?: number;
5113
+ /** Limite máximo permitido para o valor final da faixa. */
5114
+ endMax?: number;
5115
+ /** Mensagens e deslocamentos relacionais de limites de faixa monetária. */
5116
+ startMinMessage?: string;
5117
+ startMaxMessage?: string;
5118
+ endMinMessage?: string;
5119
+ endMaxMessage?: string;
5120
+ endMinOffset?: number;
5121
+ endMinOffsetMessage?: string;
5122
+ startMaxOffset?: number;
5123
+ startMaxOffsetMessage?: string;
5124
+ /** Configuração especializada de faixa de horário inline. */
5125
+ stepMinute?: number;
5126
+ stepMinutes?: number;
5127
+ interval?: number;
5128
+ inlineTimeTrackShifts?: unknown[];
5129
+ inlineTrackShifts?: unknown[];
5130
+ trackShifts?: unknown[];
5131
+ minDistanceMinutes?: number;
5132
+ maxDistanceMinutes?: number;
5133
+ /** Configuração especializada de raio de distância inline. */
5134
+ distanceIcon?: string;
5135
+ distanceStart?: number;
5136
+ distanceEnd?: number;
5137
+ radiusMin?: number;
5138
+ radiusMax?: number;
5139
+ radiusStep?: number;
5140
+ radiusMode?: string;
5141
+ distanceSliderStep?: number;
5142
+ /** Configuração especializada de avaliação (rating) inline. */
5143
+ ratingGradientLowColor?: string;
5144
+ ratingGradientMidColor?: string;
5145
+ ratingGradientHighColor?: string;
5146
+ ratingToneLowColor?: string;
5147
+ ratingToneMidColor?: string;
5148
+ ratingToneHighColor?: string;
5149
+ ratingBadgeColor?: string;
5150
+ ratingBadgeIcon?: string;
5151
+ ratingBadgeIconColor?: string;
5152
+ ratingActiveIcon?: string;
5153
+ ratingInactiveIcon?: string;
5154
+ ratingAllowHalf?: boolean;
5155
+ ratingPrecision?: number | string;
5156
+ ratingColors?: Record<string, unknown> | string[];
5157
+ starColors?: Record<string, unknown> | string[];
5158
+ ratingLowColor?: string;
5159
+ ratingMidColor?: string;
5160
+ ratingHighColor?: string;
5161
+ ratingIndicatorColor?: string;
5162
+ ratingMin?: number;
5163
+ ratingMax?: number;
5164
+ itemsCount?: number;
5165
+ ratingStep?: number;
5166
+ /** Configuração especializada de faixa de score / prioridade inline. */
5167
+ scoreSubtitle?: string;
5168
+ scoreUnit?: string;
5169
+ scoreDisplayDecimals?: number;
5170
+ scoreShowScaleLabels?: boolean;
5171
+ scoreShowBandChips?: boolean;
5172
+ scoreRangeSeparator?: string;
5173
+ scoreGradientLowColor?: string;
5174
+ scoreGradientMidColor?: string;
5175
+ scoreGradientHighColor?: string;
5176
+ scoreValueFallbackColor?: string;
5177
+ scoreEmptyGradient?: string;
5178
+ scoreIcon?: string;
5179
+ scoreBandsAriaLabel?: string;
5180
+ scoreBandAriaLabelTemplate?: string;
5181
+ scoreMin?: number;
5182
+ scoreMax?: number;
5183
+ scoreStep?: number;
5184
+ scoreMode?: string;
5185
+ scoreSliderStep?: number;
5186
+ /** Configuração especializada de filtros gráficos e date-range inline (Onda 2). */
5187
+ optionSubtitleKey?: string;
5188
+ optionWeightKey?: string;
5189
+ optionColorKey?: string;
5190
+ optionIconKey?: string;
5191
+ optionEmojiKey?: string;
5192
+ panelSearchIcon?: string;
5193
+ panelSearchIconColor?: string;
5194
+ panelResetIcon?: string;
5195
+ panelResetIconColor?: string;
5196
+ optionSelectedIcon?: string;
5197
+ optionSelectedIconColor?: string;
5198
+ columns?: number;
5199
+ pipelineTitle?: string;
5200
+ pipelineSubtitle?: string;
5201
+ pipelineMode?: string;
5202
+ pipelineMultiple?: boolean;
5203
+ pipelineSearchable?: boolean;
5204
+ pipelineSearchPlaceholder?: string;
5205
+ pipelineOptionSubtitleKey?: string;
5206
+ pipelineOptionWeightKey?: string;
5207
+ pipelineOptionColorKey?: string;
5208
+ pipelineShowBar?: boolean;
5209
+ pipelineShowSelectionPills?: boolean;
5210
+ pipelineShowSelectAll?: boolean;
5211
+ pipelineSelectAllText?: string;
5212
+ pipelineShowClearAction?: boolean;
5213
+ pipelineClearActionText?: string;
5214
+ pipelineChipMaxVisible?: number;
5215
+ statusColors?: unknown;
5216
+ pipelineGradientLowColor?: string;
5217
+ pipelineGradientMidColor?: string;
5218
+ pipelineGradientHighColor?: string;
5219
+ pipelineEmptyStateText?: string;
5220
+ pipelineSelectionActionsAriaLabel?: string;
5221
+ pipelineOptionsGroupAriaLabelMultiple?: string;
5222
+ pipelineOptionsGroupAriaLabelSingle?: string;
5223
+ pipelineSelectionPillsAriaLabel?: string;
5224
+ pipelineBarAriaLabelEmpty?: string;
5225
+ pipelineBarAriaLabelSelected?: string;
5226
+ pipelineIcon?: string;
5227
+ pipelineSearchIcon?: string;
5228
+ pipelineSearchIconColor?: string;
5229
+ relativePeriodTitle?: string;
5230
+ relativePeriodSubtitle?: string;
5231
+ relativePeriodShowProgress?: boolean;
5232
+ relativePeriodProgressGradientLowColor?: string;
5233
+ relativePeriodProgressGradientMidColor?: string;
5234
+ relativePeriodProgressGradientHighColor?: string;
5235
+ relativePeriodColumns?: number;
5236
+ relativePeriodCloseOnSelect?: boolean;
5237
+ relativePeriodMultiple?: boolean;
5238
+ relativePeriodSearchable?: boolean;
5239
+ relativePeriodIcon?: string;
5240
+ relativePeriodIconKey?: string;
5241
+ relativePeriodSubtitleKey?: string;
5242
+ relativePeriodSelectedIcon?: string;
5243
+ relativePeriodSelectedIconColor?: string;
5244
+ relativePeriodOptionsAriaLabel?: string;
5245
+ relativePeriodProgressEmptyLabel?: string;
5246
+ relativePeriodEmptyStateText?: string;
5247
+ sentimentTitle?: string;
5248
+ sentimentSubtitle?: string;
5249
+ sentimentGradientLowColor?: string;
5250
+ sentimentGradientMidColor?: string;
5251
+ sentimentGradientHighColor?: string;
5252
+ sentimentShowBar?: boolean;
5253
+ sentimentAnimatedEmoji?: boolean;
5254
+ sentimentCloseOnSelect?: boolean;
5255
+ sentimentMultiple?: boolean;
5256
+ sentimentShowSelectionPills?: boolean;
5257
+ sentimentIcon?: string;
5258
+ sentimentColorKey?: string;
5259
+ sentimentEmojiKey?: string;
5260
+ sentimentOptionsAriaLabel?: string;
5261
+ sentimentSelectionPillsAriaLabel?: string;
5262
+ sentimentEmptyStateText?: string;
5263
+ colorLabelTitle?: string;
5264
+ colorLabelSubtitle?: string;
5265
+ colorLabelMultiple?: boolean;
5266
+ colorLabelColumns?: number;
5267
+ colorLabelShowSelectedBadges?: boolean;
5268
+ colorLabelCloseOnSelect?: boolean;
5269
+ colorLabelSelectionTitle?: string;
5270
+ colorLabelIcon?: string;
5271
+ colorLabelSelectedIcon?: string;
5272
+ colorLabelSelectedIconColor?: string;
5273
+ colorLabelBadgeRemoveIcon?: string;
5274
+ colorLabelBadgeRemoveIconColor?: string;
5275
+ colorLabelColorKey?: string;
5276
+ colorLabelOptionsAriaLabel?: string;
5277
+ colorLabelSelectionBadgesAriaLabel?: string;
5278
+ colorLabelRemoveSelectionAriaLabel?: string;
5279
+ colorLabelEmptyStateText?: string;
5280
+ startAriaLabel?: string;
5281
+ endAriaLabel?: string;
5282
+ inlineQuickPresetsAriaLabel?: string;
5283
+ inlineQuickPresetsCancelLabel?: string;
5284
+ inlineQuickPresetsCancelAriaLabel?: string;
5285
+ inlineQuickPresetsApplyLabel?: string;
5286
+ inlineQuickPresetsApplyAriaLabel?: string;
5287
+ shortcutsPosition?: string;
5288
+ applyOnShortcutClick?: boolean;
5289
+ i18nShortcuts?: Record<string, string>;
5290
+ startView?: string;
5291
+ startAt?: string | Date;
5292
+ touchUi?: boolean;
5293
+ minDate?: string | Date;
5294
+ maxDate?: string | Date;
4394
5295
  [key: string]: any;
4395
5296
  }
4396
5297
 
@@ -4411,8 +5312,16 @@ declare function deepMerge<T>(left: T, right: Partial<T> | undefined): T;
4411
5312
 
4412
5313
  declare function resolveColumnTypeFromFieldDefinition(def: FieldDefinition, fallback?: ColumnDefinition['type']): ColumnDefinition['type'] | undefined;
4413
5314
  declare function resolveTextMaskFormatFromFieldDefinition(def: FieldDefinition): string | undefined;
5315
+ interface SchemaSemanticRendererOptions {
5316
+ includeUndefinedBadgeChipText?: boolean;
5317
+ includeUndefinedBadgeChipFields?: boolean;
5318
+ allowTextPresenterAsIconValue?: boolean;
5319
+ }
5320
+ declare function resolveSchemaConditionalRenderers(def: FieldDefinition, options?: SchemaSemanticRendererOptions): ColumnDefinition['conditionalRenderers'] | undefined;
5321
+ declare function buildSchemaSemanticColumnRenderer(def: FieldDefinition, presentationOverride?: FieldPresentationConfig, options?: SchemaSemanticRendererOptions): ColumnDefinition['renderer'] | undefined;
5322
+ declare function normalizePresentationAffix(value: unknown): string | undefined;
4414
5323
 
4415
5324
  type TableConfig = TableConfigV2;
4416
5325
 
4417
- export { deepMerge, isPraxisPresentationVisualizationTableSafe, normalizeSchemaFields, resolveColumnTypeFromFieldDefinition, resolveTextMaskFormatFromFieldDefinition };
4418
- export type { ColumnDefinition, FieldDefinition, TableConfig };
5326
+ export { buildSchemaSemanticColumnRenderer, deepMerge, isPraxisPresentationVisualizationTableSafe, normalizePresentationAffix, normalizeSchemaFields, resolveColumnTypeFromFieldDefinition, resolveSchemaConditionalRenderers, resolveTextMaskFormatFromFieldDefinition };
5327
+ export type { ColumnDefinition, FieldDefinition, SchemaSemanticRendererOptions, TableConfig };