@praxisui/dynamic-fields 10.0.0-rc.57 → 10.0.0-rc.59

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.
Files changed (20) hide show
  1. package/README.md +11 -0
  2. package/ai/component-registry.json +35270 -415
  3. package/docs/dynamic-fields-inline-components-guide.md +37 -31
  4. package/docs/dynamic-fields-inline-filter-catalog.md +34 -26
  5. package/docs/dynamic-fields-inline-filter-runtime-contract.md +12 -1
  6. package/fesm2022/praxisui-dynamic-fields.mjs +15033 -4250
  7. package/package.json +4 -4
  8. package/src/lib/components/inline-color-label/pdx-inline-color-label.json-api.md +17 -8
  9. package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +92 -25
  10. package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +17 -4
  11. package/src/lib/components/inline-distance-radius/pdx-inline-distance-radius.json-api.md +27 -4
  12. package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +107 -24
  13. package/src/lib/components/inline-pipeline-status/pdx-inline-pipeline-status.json-api.md +18 -3
  14. package/src/lib/components/inline-range-slider/pdx-inline-range-slider.json-api.md +76 -19
  15. package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +18 -5
  16. package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +17 -3
  17. package/src/lib/components/inline-score-priority/pdx-inline-score-priority.json-api.md +62 -15
  18. package/src/lib/components/inline-sentiment/pdx-inline-sentiment.json-api.md +18 -3
  19. package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +77 -25
  20. package/types/praxisui-dynamic-fields.d.ts +578 -18
@@ -21,8 +21,8 @@ source_of_truth:
21
21
  - "projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/inline-entity-lookup.component.ts"
22
22
  - "projects/praxis-dynamic-fields/src/lib/components/material-async-select/material-async-select.component.ts"
23
23
  - "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
24
- source_of_truth_last_verified: "2026-08-03"
25
- last_updated: "2026-08-03"
24
+ source_of_truth_last_verified: "2026-11-21"
25
+ last_updated: "2026-11-21"
26
26
  toc: true
27
27
  sidebar: true
28
28
  tags:
@@ -32,7 +32,7 @@ tags:
32
32
  api_stability: "canonical"
33
33
  schema_verified: true
34
34
  runtime_verified: true
35
- editor_coverage_verified: false
35
+ editor_coverage_verified: true
36
36
  runtime_scope: "public"
37
37
  legacy_paths_present: false
38
38
  has_known_mismatches: false
@@ -67,7 +67,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-entity-lookup.
67
67
  | Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
68
68
  | Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/inline-entity-lookup.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-async-select/material-async-select.component.ts` |
69
69
  | Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
70
- | Editor/tooling coverage | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Partial | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
70
+ | Editor/tooling coverage | `true` | Editor/tooling deve espelhar somente contrato publico suportado | Active | `projects/praxis-metadata-editor/src/lib/config/entity-lookup.config.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
71
71
  | Path hygiene | `false` | Manter consistencia entre contrato canonico e caminhos documentados | Active | frontmatter.legacy_paths_present |
72
72
  | Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
73
73
 
@@ -96,7 +96,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-entity-lookup.
96
96
  | Runtime scope | `public` | Escopo publicado para consumidores |
97
97
  | Runtime verified | `true` | Revisar sempre com evidencia de runtime |
98
98
  | Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
99
- | Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
99
+ | Editor coverage verified | `true` | Revisar sempre com evidencia de editor/tooling |
100
100
  | Current path hygiene | `false` | Segregar consistencia do contrato canonico |
101
101
  | Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
102
102
 
@@ -128,10 +128,19 @@ Este documento e a referencia canonica da API JSON de pdx-inline-entity-lookup.
128
128
  | `metadata.optionSource.display.secondaryPropertyPaths` | string[] | false | n/a | Active | Campos de subtitulo usados para diferenciar entidades parecidas. |
129
129
  | `metadata.optionSource.display.fields` | object[] | false | n/a | Active | Campos ricos semanticos exibidos na lista e no valor selecionado. Cada item aceita `key`, `propertyPath`, `label`, `icon`, `presentation`, `tone` e `format`. |
130
130
  | `metadata.optionSource.display.badgePropertyPaths` | string[] | false | n/a | Active | Campos publicados como badges/chips quando o backend tambem os materializa no payload de option. |
131
- | `metadata.optionSource.display.statusLabelMap` | Record<string, string> | false | n/a | Active | Traduz somente o rótulo visual do status; o código canônico continua governando seleção, filtros e tons. |
132
- | `metadata.searchable` | boolean | false | `true` para fontes nao categoricas | Active | Materializa a acao acessivel de busca como irma externa do `MatSelect` e abre o dialogo governado sem inserir controles interativos no listbox. |
133
- | `metadata.dialog` | object | false | configuracao derivada do campo | Active | Customiza titulo, tamanho, preview, colunas e acoes da busca governada. |
134
- | `metadata.dialog.enabled` | boolean | false | herda `metadata.searchable` | Active | `false` desativa explicitamente a superficie de busca; `true` a habilita mesmo quando `searchable=false`. |
131
+ | `metadata.optionSource.display.statusLabelMap` | Record<string, string> | false | n/a | Active | Traduz somente o rotulo visual do status; o codigo canonico continua governando selecao, filtros e tons. |
132
+ | `metadata.optionSource.capabilities.recent` | boolean | false | `false` | Active | Habilita secao `Recentes` no overlay em estado ocioso (`initialOptions`/recentes) usando `.pdx-lookup-section-label`. |
133
+ | `metadata.optionSource.capabilities.favorites` | boolean | false | `false` | Active | Habilita secao `Favoritos` no overlay em estado ocioso antes dos resultados paginados. |
134
+ | `metadata.optionSource.filtering` | object | false | n/a | Active | Filtros estruturados, ordenacao, chips de filtro rapido, placeholder e estrategias de busca governadas. |
135
+ | `metadata.optionSource.filtering.searchStrategies` | object[] | false | n/a | Active | Estrategias governadas pelo servidor (`key`, `kind`, `minSearchChars`, `inputFormat`). |
136
+ | `metadata.optionSource.filtering.defaultSearchStrategy` | string | false | n/a | Active | Chave fallback quando o cliente omite `searchStrategy` em fontes com 2+ estrategias declaradas. |
137
+ | `metadata.optionSource.filtering.quickFilterFields` | string[] | false | n/a | Active | Campos de `availableFilters` promovidos a chips de filtro rapido de 1 clique no header inline e no modal. |
138
+ | `metadata.optionSource.filtering.availableFilters` | object[] | false | n/a | Active | Filtros estruturados (`text`, `enum` com `options`, `number`, `date`, `reference` com `optionSource`, `dependsOn` e `dependencyFilterMap`). |
139
+ | `metadata.optionSource.dialog` | object | false | configuracao derivada do backend | Active | Configuracao padrao do modal (`enabled`, `title`, `size`, `previewPanel`, `resultColumns` e labels) sobreponivel por `metadata.dialog`. |
140
+ | `metadata.searchable` | boolean | false | `true` para fontes nao categoricas | Active | Habilita busca interna no painel `PdxCollectionOverlayComponent` via `PdxCollectionSearchComponent` (com foco automatico, contador `X de Y` e rodape `"Carregar mais"` / CTA para dialogo) alem da acao externa irma de busca avancada. |
141
+ | `metadata.dialog` | object | false | herda `metadata.optionSource.dialog` | Active | Customiza titulo, tamanho (`sm` \| `md` \| `lg` \| `xl` \| `full`), preview, colunas tabulares (`resultColumns`) e acoes da busca avancada, com precedencia sobre `optionSource.dialog`. |
142
+ | `metadata.dialog.enabled` | boolean | false | herda `metadata.searchable` | Active | `false` desativa explicitamente o dialogo avancado; `true` o habilita mesmo quando `searchable=false`. |
143
+ | `metadata.dialog.resultColumns` | object[] | false | derivadas do display | Active | Colunas tabulares do modal (`field`, `label`, `kind`, `width`). |
135
144
 
136
145
  The governed search dialog owns a visible close action, focuses the search
137
146
  input when it opens, restores focus on close, constrains itself to the viewport,
@@ -181,8 +190,10 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
181
190
  | `metadata.optionSource.display` | object | false | n/a | contrato semantico de UX, nao CSS | Governanca de preset, uso, densidade, campos ricos, secundarios e badges do resultado. |
182
191
  | `metadata.resourcePath` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
183
192
  | `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
184
- | `metadata.searchable` | boolean | false | `true` para fontes nao categoricas | boolean | Active; abre a busca governada por uma acao externa irma do `mat-select`, nunca projetada no trigger ou no painel de opcoes. |
185
- | `metadata.dialog` | object | false | derivado do campo | `LookupDialogMetadata` | Active; configura a busca avancada sem redefinir identidade ou option source. |
193
+ | `metadata.searchable` | boolean | false | `true` para fontes nao categoricas | boolean | Active; habilita busca inline via `PdxCollectionSearchComponent` no header do `PdxCollectionOverlayComponent` e a acao irma externa de dialogo avancado (sem `<input>` ou `<button>` dentro de `<mat-select>`). |
194
+ | `metadata.optionSource.filtering` | object | false | n/a | `LookupFilteringMetadata` | Active; publica `availableFilters` (incluindo `options` para `enum` e `optionSource`/`dependsOn`/`dependencyFilterMap` para `reference`), `quickFilterFields`, `sortOptions`, `searchStrategies` e `defaultSearchStrategy`. |
195
+ | `metadata.optionSource.dialog` | object | false | n/a | `LookupDialogMetadata` | Active; projeta titulo, tamanho (`sm`/`md`/`lg`/`xl`/`full`), `previewPanel` e `resultColumns` do backend antes de `metadata.dialog`. |
196
+ | `metadata.dialog` | object | false | herda `metadata.optionSource.dialog` | `LookupDialogMetadata` | Active; configura e sobrescreve a busca avancada (`enabled`, `title`, `size`, `previewPanel`, `resultColumns`, labels) sem redefinir identidade ou option source. |
186
197
  | `metadata.dialog.enabled` | boolean | false | herda `metadata.searchable` | boolean | Active; opt-out explicito quando `false`. |
187
198
 
188
199
  ### Input bindings (inbound data)
@@ -229,7 +240,7 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
229
240
  | --- | --- | --- | --- | --- |
230
241
  | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/inline-entity-lookup.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-async-select/material-async-select.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
231
242
  | Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
232
- | Editor/Tooling | `false` | Partial | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | Alias/selector tooling linkage verified for inline filters; visual editor end-to-end coverage remains not-yet-verified. |
243
+ | Editor/Tooling | `true` | Active | `projects/praxis-metadata-editor/src/lib/config/entity-lookup.config.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | Cobertura visual completa em `entityLookupProperties` (`optionSource.display.*`, `optionSource.filtering.*`, `optionSource.dialog.*`, `dialog.*`, `actions.*`) e descoberta inline via `ComponentRegistryService`. |
233
244
 
234
245
  ### Runtime coverage boundaries
235
246
 
@@ -239,7 +250,7 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
239
250
 
240
251
  ### Editor and tooling notes
241
252
 
242
- - Evidencia de tooling: aliases `pdx-inline-*` resolvidos por `inline-filter-controls.util.ts` e consumidos no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
253
+ - Evidencia de tooling: aliases `pdx-inline-*` resolvidos por `inline-filter-controls.util.ts`, consumidos no `ComponentRegistryService` e mapeados no `@praxisui/metadata-editor` em `entity-lookup.config.ts` (incluindo `optionSource.filtering.searchStrategies`, `defaultSearchStrategy` e `optionSource.dialog.*`).
243
254
  - O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
244
255
  - Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
245
256
  - Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
@@ -366,7 +377,12 @@ Use quando precisar:
366
377
  | `metadata.actions.showCopyCode` | `boolean` | Ativo | Controla acao de copiar codigo/id. Default: `true`. |
367
378
  | `metadata.actions.showClear` | `boolean` | Ativo | Controla acao de limpar em conjunto com `clearButton`/clearable herdado. |
368
379
  | `metadata.detailActionLabel` / `metadata.changeActionLabel` / `metadata.copyCodeActionLabel` / `metadata.clearActionLabel` | `string` | Ativo | Overrides textuais das acoes do cartao selecionado. |
369
- | `metadata.searchable` | `boolean` | Ativo | Exibe/oculta barra de busca interna. |
380
+ | `metadata.searchable` | `boolean` | Ativo | Habilita `PdxCollectionSearchComponent` no header do `PdxCollectionOverlayComponent` e o gatilho de busca avancada em dialog. |
381
+ | `metadata.optionSource.filtering.availableFilters` | `LookupFilterDefinitionMetadata[]` | Ativo | Filtros estruturados do modal: `text`, `enum` (prioriza `options[]` publicadas pelo backend com fallback `statusLabelMap`), `number`, `date` e `reference` (materializa `<pdx-material-searchable-select>` com `optionSource`, cascata `dependsOn`/`dependencyFilterMap` e `POST .../by-ids` contextual). |
382
+ | `metadata.optionSource.filtering.quickFilterFields` | `string[]` | Ativo | Promove filtros de `availableFilters` a chips de filtro rapido de 1 clique no overlay inline e no modal. |
383
+ | `metadata.optionSource.filtering.searchStrategies` / `defaultSearchStrategy` | `LookupSearchStrategyMetadata[]` / `string` | Ativo | Estrategias governadas no backend; `defaultSearchStrategy` define a chave usada quando a UI envia apenas `search`. |
384
+ | `metadata.optionSource.capabilities.recent` / `favorites` | `boolean` | Ativo | Exibe grupos `Favoritos` e `Recentes` (`.pdx-lookup-section-label`) em estado ocioso quando ha itens em `initialOptions`/favoritos. |
385
+ | `metadata.optionSource.dialog` / `metadata.dialog` | `LookupDialogMetadata` | Ativo | Configura `enabled`, `title`, `size` (`sm`/`md`/`lg`/`xl`/`full`), `previewPanel`, `resultColumns` e labels do modal; `metadata.dialog` sobrepoe `metadata.optionSource.dialog`. |
370
386
 
371
387
  #### 3.2 Campos herdados compartilhados (exaustivo)
372
388
  - `projects/praxis-dynamic-fields/src/lib/components/material-async-select/pdx-material-async-select.json-api.md`
@@ -378,17 +394,17 @@ Resumo de composicao deste componente:
378
394
 
379
395
  ### 4. Mapeamento de Comportamento
380
396
  - Para `controlType: "inlineEntityLookup"`, o trigger preserva valor compacto composto por `buildLookupPrimaryText(id,label)`.
381
- - Para `controlType: "entityLookup"`, o host publica `data-field-type="entityLookup"`, ocupa `width: 100%` e deve respeitar a coluna do `praxis-dynamic-form`; o trigger renderiza valor compacto por padrao (inclusive quando `density: "compact"` ou `selectedLayout: "token"`) ou cartao de revisao quando `selectedLayout: "card"`, mantendo avatar, codigo, label, descricao, status e badges puramente apresentacionais dentro de `mat-select-trigger`.
397
+ - Para `controlType: "entityLookup"`, o host publica `data-field-type="entityLookup"`, ocupa `width: 100%` e deve respeitar a coluna do `praxis-dynamic-form`; o trigger renderiza valor compacto por padrao (inclusive quando `density: "compact"` ou `selectedLayout: "token"`) ou cartao de revisao quando `selectedLayout: "card"`, mantendo avatar, codigo, label, descricao, status e badges puramente apresentacionais dentro do botao trigger do `PdxCollectionOverlayComponent` (nunca colocando `<input>` ou `<button>` dentro de `<mat-select>`).
382
398
  - `metadata.optionSource.display` e a fonte preferencial de UX para a entidade; campos top-level como `selectedLayout`, `density`, `showAvatar` e `showStatus` funcionam como override local de host.
383
399
  - Opcoes podem mostrar linha secundaria (`subtitle`) para desambiguacao; em `entityLookup`, a linha rica tambem mostra avatar, campos ricos com icones/chips/datas, status visual, badges e motivo de bloqueio.
384
- - Com `metadata.optionSource.resourcePath`, busca emite termo no pipeline remoto de option-source; sem endpoint, filtra local.
385
- - Com fonte remota e `loadOn: "open"`, o seletor rapido permanece abrivel antes da primeira pagina para disparar a carga inicial. A opcao sentinela que viabiliza essa abertura e interna, invisivel e nao integra o contrato visual ou o valor do campo.
400
+ - Com `metadata.optionSource.resourcePath`, busca emite termo no pipeline remoto de option-source; sem endpoint, `applyLocalLookupQueryState()` aplica filtros estruturados (`availableFilters`), ordenacao (`sortOptions`), chips rapidos (`quickFilterFields`) e busca multi-token localmente em `staticOptions`. Em fontes hibridas com `initialOptions` recentes e endpoint remoto, exibe `Recentes`/`Favoritos` antes da digitacao e delega busca/filtragem/paginacao para o backend sem depender de listeners manuais no host.
401
+ - Com fonte remota e `loadOn: "open"`, o painel `PdxCollectionOverlayComponent` permanece abrivel antes da primeira pagina para disparar a carga inicial via evento `opened`.
386
402
  - Ao confirmar uma opcao no seletor rapido, a selecao simples fecha o painel e devolve o foco ao campo; a selecao multipla preserva o painel aberto para continuidade da tarefa. Mouse e teclado seguem a mesma regra.
387
403
  - Em uso standalone de shell/topbar autenticado, o componente aceita `FormControl` externo com `initialMetadata` estático e `options` locais. Um valor inicial já selecionado no controle deve materializar o texto da opção local sem bloquear a montagem da rota nem realimentar change detection quando a metadata recebida for semanticamente equivalente.
388
404
  - `metadata.resourcePath` continua aceito como configuracao operacional herdada, mas nao substitui a semantica canonica de entidade publicada em `metadata.optionSource`.
389
- - As acoes de painel ficam em um rodape materializado como irmao do `listbox` no overlay: `Limpar selecao` e uma acao secundaria alinhada ao inicio; `Carregar mais` e uma acao de largura total, com alvo minimo de 44 px, estado ocupado e foco visivel. `Tab` transfere o foco da busca para a primeira acao habilitada. Nenhuma delas participa da navegacao semantica de opcoes.
390
- - No dialog, `ArrowDown` e `Tab` transferem o foco da busca para o resultado ativo; sem resultados, `Tab` avanca para a primeira acao habilitada. `Shift+Tab` preserva a ordem reversa, `Escape` fecha o overlay e o foco retorna ao trigger de origem.
391
- - Quando ha selecao ativa, detalhe (`open_in_new`), troca (`swap_horiz`), copia (`content_copy`), remocao e limpeza formam um unico grupo acessivel (`role="group"`) fora de `mat-select-trigger`: em `controlType: "entityLookup"`, esse grupo e projetado via `matSuffix` (`.pdx-lookup-suffix-actions`) na faixa `.mat-mdc-form-field-icon-suffix` ao lado da busca avancada (`manage_search`) e do clear rapido; em `controlType: "inlineEntityLookup"`, permanece como segmento adjacente ao trigger dentro da pill (`.pdx-inline-pill`). Em `entityLookup`, quando o clear rapido da faixa de sufixo ja esta visivel, o botao individual de remover token e suprimido para evitar duplicidade de acoes de limpeza. O grupo so existe quando pelo menos uma acao esta materializada; campos obrigatorios, somente leitura ou limitados por permissao nao expõem grupo vazio.
405
+ - No header do `PdxCollectionOverlayComponent`, `PdxCollectionSearchComponent` concentra a busca rapida (foco automatico ao abrir), acompanhada pelo contador `X de Y` e chips de `quickFilterFields`; no rodape (`pdxCollectionOverlayFooter`), ficam `"Limpar selecao"`, `"Carregar mais"` (alvo minimo 44 px) e o CTA para abrir o dialogo avancado mantendo o termo digitado. Nenhuma acao auxiliar usa `<mat-option>` ou `<mat-select>` interativo.
406
+ - No dialog, filtros `type: "enum"` priorizam `definition.options` do backend (com fallback `statusLabelMap`), filtros `type: "reference"` renderizam `<pdx-material-searchable-select>` com `optionSource`, cascata `dependsOn`/`dependencyFilterMap` e `POST .../by-ids` contextual para hidratacao; `ArrowDown` e `Tab` transferem o foco da busca para o resultado ativo, `Shift+Tab` preserva a ordem reversa, `Escape` fecha o overlay e o foco retorna ao trigger de origem.
407
+ - Quando ha selecao ativa, detalhe (`open_in_new`), quick view (`visibility`), troca (`swap_horiz`), copia (`content_copy`), remocao e limpeza formam um unico grupo acessivel (`role="group"`) via `matSuffix` (`.pdx-lookup-suffix-actions`) na faixa `.mat-mdc-form-field-icon-suffix` ao lado da busca avancada (`manage_search`) ou adjacente ao trigger dentro da pill (`.pdx-inline-pill`) — nunca dentro de `<mat-select>`. O grupo so existe quando pelo menos uma acao esta materializada; campos obrigatorios, somente leitura ou limitados por permissao nao expõem grupo vazio.
392
408
  - A reidratacao por IDs preserva o valor selecionado, mas nao conta como carga da pagina zero. No primeiro `open`, o runtime consulta a pagina zero antes de habilitar `Carregar mais`; o contador remoto e a lista visivel permanecem coerentes.
393
409
  - Durante busca digitada, a lista visivel mostra apenas resultados retornados pela pagina remota filtrada. O selecionado reidratado por ID nao e injetado como falso resultado, embora continue preservado para display fechado e reabertura sem termo.
394
410
  - `OptionDTO.extra.selectable === false` desabilita a opcao e permite exibir `disabledReason` sem remover a entidade da lista ou da reidratacao.
@@ -429,6 +445,64 @@ Uso: lookup simples em lista local.
429
445
  "codePropertyPath": "matricula",
430
446
  "descriptionPropertyPaths": ["departamento"],
431
447
  "statusPropertyPath": "status",
448
+ "filtering": {
449
+ "defaultSearchStrategy": "text",
450
+ "quickFilterFields": ["status", "departmentId"],
451
+ "searchStrategies": [
452
+ { "key": "text", "kind": "descriptive-text", "minSearchChars": 2 }
453
+ ],
454
+ "availableFilters": [
455
+ {
456
+ "field": "companyId",
457
+ "label": "Empresa",
458
+ "type": "reference",
459
+ "operators": ["equals"],
460
+ "defaultOperator": "equals",
461
+ "optionSource": {
462
+ "key": "company",
463
+ "type": "RESOURCE_ENTITY",
464
+ "resourcePath": "people/companies",
465
+ "valuePropertyPath": "id",
466
+ "labelPropertyPath": "name"
467
+ }
468
+ },
469
+ {
470
+ "field": "departmentId",
471
+ "label": "Departamento",
472
+ "type": "reference",
473
+ "operators": ["equals"],
474
+ "defaultOperator": "equals",
475
+ "dependsOn": ["companyId"],
476
+ "dependencyFilterMap": { "companyId": "companyId" },
477
+ "optionSource": {
478
+ "key": "department",
479
+ "type": "RESOURCE_ENTITY",
480
+ "resourcePath": "people/departments",
481
+ "valuePropertyPath": "id",
482
+ "labelPropertyPath": "name",
483
+ "dependsOn": ["companyId"],
484
+ "dependencyFilterMap": { "companyId": "companyId" }
485
+ }
486
+ }
487
+ ]
488
+ },
489
+ "dialog": {
490
+ "enabled": true,
491
+ "title": "Diretorio de colaboradores",
492
+ "size": "lg",
493
+ "previewPanel": true,
494
+ "resultColumns": [
495
+ { "field": "matricula", "label": "Matricula", "kind": "code", "width": "120px" },
496
+ { "field": "nome", "label": "Colaborador", "kind": "label" },
497
+ { "field": "status", "label": "Situacao", "kind": "status", "width": "120px" }
498
+ ]
499
+ },
500
+ "capabilities": {
501
+ "filter": true,
502
+ "byIds": true,
503
+ "detail": true,
504
+ "recent": true
505
+ },
432
506
  "detail": {
433
507
  "kind": "surface",
434
508
  "surfaceId": "detail",
@@ -510,7 +584,16 @@ Correcao: ajustar `inlineAutoSize.minWidth/maxWidth`.
510
584
  | `metadata.optionLabelKey` | string | false | n/a | Partial | See Detailed API reference. |
511
585
  | `metadata.resourcePath` | string | false | n/a | Partial | See Detailed API reference. |
512
586
  | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
513
- | `metadata.searchable` | boolean | false | n/a | Partial | See Detailed API reference. |
587
+ | `metadata.searchable` | boolean | false | n/a | Active | See Detailed API reference. |
588
+ | `metadata.optionSource.capabilities.recent` | boolean | false | `false` | Active | See Detailed API reference. |
589
+ | `metadata.optionSource.capabilities.favorites` | boolean | false | `false` | Active | See Detailed API reference. |
590
+ | `metadata.optionSource.filtering.availableFilters` | object[] | false | n/a | Active | See Detailed API reference. |
591
+ | `metadata.optionSource.filtering.quickFilterFields` | string[] | false | n/a | Active | See Detailed API reference. |
592
+ | `metadata.optionSource.filtering.searchStrategies` | object[] | false | n/a | Active | See Detailed API reference. |
593
+ | `metadata.optionSource.filtering.defaultSearchStrategy` | string | false | n/a | Active | See Detailed API reference. |
594
+ | `metadata.optionSource.dialog` | object | false | n/a | Active | See Detailed API reference. |
595
+ | `metadata.dialog` | object | false | n/a | Active | See Detailed API reference. |
596
+ | `metadata.dialog.resultColumns` | object[] | false | n/a | Active | See Detailed API reference. |
514
597
  | `resourcePath` | string | false | n/a | Partial | See Detailed API reference. |
515
598
  | `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
516
599
  | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
@@ -693,6 +776,6 @@ Correcao: ajustar `inlineAutoSize.minWidth/maxWidth`.
693
776
 
694
777
  | Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
695
778
  | --- | --- | --- | --- | --- |
696
- | runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/inline-entity-lookup.component.ts | Primary source of truth for contract and behavior. | 2026-03-16 | verified-path |
697
- | runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-async-select/material-async-select.component.ts | Primary source of truth for contract and behavior. | 2026-03-16 | verified-path |
698
- | schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-03-16 | verified-path |
779
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/inline-entity-lookup.component.ts | Primary source of truth for contract and behavior. | 2026-11-21 | verified-path |
780
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-async-select/material-async-select.component.ts | Primary source of truth for contract and behavior. | 2026-11-21 | verified-path |
781
+ | schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-11-21 | verified-path |
@@ -32,7 +32,7 @@ tags:
32
32
  api_stability: "canonical"
33
33
  schema_verified: true
34
34
  runtime_verified: true
35
- editor_coverage_verified: false
35
+ editor_coverage_verified: true
36
36
  runtime_scope: "public"
37
37
  legacy_paths_present: false
38
38
  has_known_mismatches: false
@@ -429,6 +429,10 @@ Correcao: ajustar `inlineAutoSize.panelMinWidth/panelMaxWidth`.
429
429
  | `metadata.inlineOverlay.actions.apply` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Apply. |
430
430
  | `metadata.inlineOverlay.actions.cancel` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Cancel. |
431
431
  | `metadata.inlineOverlay.actions.clear` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Clear. |
432
+ | `metadata.inlinePanelTitle` | string | false | `placeholderText()` | Active | Custom heading title for `.pdx-inline-pipeline-header`. |
433
+ | `metadata.inlinePanelSubtitle` | string | false | n/a | Active | Custom subtitle for `.pdx-inline-pipeline-header`. |
434
+ | `metadata.inlinePanelIcon` | string | false | `chipLeadingIcon()` | Active | Material Symbols ligature rendered in the panel header badge. |
435
+ | `metadata.inlinePanelIconColor` | string | false | `prefixIconColor()` | Active | Theme token or CSS color applied to the panel header icon. |
432
436
  | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
433
437
  | `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
434
438
  | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
@@ -449,9 +453,20 @@ Correcao: ajustar `inlineAutoSize.panelMinWidth/panelMaxWidth`.
449
453
 
450
454
  ## Styling API (obrigatorio quando aplicavel)
451
455
 
452
- | Token/Class | Scope | Purpose | Notes |
456
+ Every surface inside `.pdx-inline-pipeline-panel` exposes `--pdx-inline-pipeline-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, and panel entrance animations automatically disable under `@media (prefers-reduced-motion: reduce)`.
457
+
458
+ | Token/Class | Scope | Default / Fallback | Notes |
453
459
  | --- | --- | --- | --- |
454
- | `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
460
+ | `--pdx-inline-pipeline-min-w` / `--pdx-inline-pipeline-max-w` | chip | `188px` / `420px` | Trigger pill min/max inline width bounds bound via `inlineAutoSize`. |
461
+ | `--pdx-inline-pipeline-panel-min-w` / `--pdx-inline-pipeline-panel-max-w` | panel | `340px` / `620px` | Popover width limits (`inlineAutoSize.panel*`). |
462
+ | `--pdx-inline-pipeline-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container` | Popover container surface, foreground, border, corner radius, shadow, and spacing. |
463
+ | `--pdx-inline-pipeline-anim-duration` | panel | `160ms` | Panel entrance reveal duration (`pdxInlinePipelinePanelIn`); disabled under reduced motion. |
464
+ | `--pdx-inline-pipeline-header-gap` / `-icon-size` / `-icon-radius` / `-icon-bg` / `-icon-color` | header | `10px` / `36px` / `10px` / 14% primary tint / `--md-sys-color-primary` | Header badge geometry and `inlinePanelIcon` / `inlinePanelIconColor` color override. |
465
+ | `--pdx-inline-pipeline-title-size` / `-weight` / `--pdx-inline-pipeline-subtitle-color` / `-size` | header | `1rem` / `600` / `--md-sys-color-on-surface-variant` / `0.82rem` | Header title and subtitle typography. |
466
+ | `--pdx-inline-pipeline-bar-height` / `-radius` / `-border` / `-bg` / `-gradient-low` / `-mid` / `-high` | pipeline bar | `22px` / `999px` / `--md-sys-color-outline-variant` / `--md-sys-color-surface-container-high` | Segmented summary bar sizing and 3-stop gradient color stops. |
467
+ | `--pdx-inline-pipeline-card-border` / `-radius` / `-bg` / `-fg` / `-padding` / `-selected-border` / `-selected-bg` | cards | `--md-sys-color-surface-container-high` / `--md-sys-color-primary-container` | Stage option cards in `.pdx-inline-pipeline-grid`. |
468
+ | `--pdx-inline-pipeline-pill-border` / `-bg` / `-fg` | pills | `--md-sys-color-outline-variant` / `--md-sys-color-surface-container-high` | Selected-stage summary pills (`pipelineShowSelectionPills`). |
469
+ | `--pdx-inline-pipeline-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / error | Footer action container and label tokens (`-container`, `-label`, `-tonal-container`, `-tonal-label`). |
455
470
 
456
471
  ## Examples (obrigatorio)
457
472
 
@@ -21,8 +21,8 @@ source_of_truth:
21
21
  - "projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts"
22
22
  - "projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts"
23
23
  - "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
24
- source_of_truth_last_verified: "2026-06-16"
25
- last_updated: "2026-06-16"
24
+ source_of_truth_last_verified: "2026-11-21"
25
+ last_updated: "2026-11-21"
26
26
  toc: true
27
27
  sidebar: true
28
28
  tags:
@@ -32,7 +32,7 @@ tags:
32
32
  api_stability: "canonical"
33
33
  schema_verified: true
34
34
  runtime_verified: true
35
- editor_coverage_verified: false
35
+ editor_coverage_verified: true
36
36
  runtime_scope: "public"
37
37
  legacy_paths_present: false
38
38
  has_known_mismatches: false
@@ -67,7 +67,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
67
67
  | Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
68
68
  | Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` |
69
69
  | Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
70
- | Editor/tooling coverage | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Partial | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
70
+ | Editor/tooling coverage | `true` | Editor/tooling deve espelhar somente contrato publico suportado | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/range-slider.config.ts`, `inline-editor-coverage.spec.ts` |
71
71
  | Path hygiene | `false` | Manter consistencia entre contrato canonico e caminhos documentados | Active | frontmatter.legacy_paths_present |
72
72
  | Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
73
73
 
@@ -96,8 +96,8 @@ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
96
96
  | Runtime scope | `public` | Escopo publicado para consumidores |
97
97
  | Runtime verified | `true` | Revisar sempre com evidencia de runtime |
98
98
  | Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
99
- | Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
100
- | Current path hygiene | `false` | Segregar consistencia do contrato canonico |
99
+ | Editor coverage verified | `true` | Revisar sempre com evidencia de editor/tooling |
100
+ | Current path hygiene | `true` | Segregar consistencia do contrato canonico |
101
101
  | Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
102
102
 
103
103
  ## Contract classification (obrigatorio)
@@ -113,7 +113,17 @@ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
113
113
  | `metadata.quickPresetsAuto` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
114
114
  | `metadata.quickPresetsLabels` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
115
115
  | `metadata.inlineTexts` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
116
- | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference for runtime semantics. |
116
+ | `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | Active | Click-to-snap anchors rendered below the slider track. |
117
+ | `metadata.inlinePanelTitle` | string | false | n/a | Active | Optional custom header title inside the popover panel. |
118
+ | `metadata.inlinePanelIcon` | string | false | n/a | Active | Lowercase snake_case Material icon ligature for panel header badge. |
119
+ | `metadata.inlinePanelIconColor` | string | false | n/a | Active | Theme palette or CSS color for panel header icon badge. |
120
+ | `metadata.showInlineInputs` | boolean | false | false | Active | Renders synchronized numeric input cards inside the popover. |
121
+ | `metadata.inputMinLabel` | string | false | n/a | Active | Custom label for start/minimum inline numeric input. |
122
+ | `metadata.inputMaxLabel` | string | false | n/a | Active | Custom label for end/maximum inline numeric input. |
123
+ | `metadata.sliderStep` | number | false | `step` | Active | Step override applied to the slider track independently from inputs. |
124
+ | `metadata.shiftStep` | number | false | `10 * step` | Active | Keyboard jump step on `Shift+Arrow` / `PageUp` / `PageDown`. |
125
+ | `metadata.inlineDistribution` | `InlineRangeDistributionConfig \| unknown[]` | false | n/a | Active | Interactive bucket distribution histogram with optional `from`/`to` range selection. |
126
+ | `metadata.inlineAutoSize.*` | object | false | n/a | Active | Responsive trigger and popover width bounds. |
117
127
 
118
128
  ### Path audit
119
129
 
@@ -143,13 +153,23 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
143
153
 
144
154
  | Path | Type | Required | Default | Constraints | Notes |
145
155
  | --- | --- | --- | --- | --- | --- |
146
- | `metadata.mode` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
147
- | `metadata.discrete` | boolean | false | n/a | component-defined | Partial; verify per source_of_truth. |
148
- | `metadata.quickPresets` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
149
- | `metadata.quickPresetsAuto` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
150
- | `metadata.quickPresetsLabels` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
151
- | `metadata.inlineTexts` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
152
- | `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
156
+ | `metadata.mode` | string | false | n/a | component-defined | Active; supports `single` and `range`. |
157
+ | `metadata.discrete` | boolean | false | n/a | component-defined | Active; controls thumb indicator display. |
158
+ | `metadata.quickPresets` | array | false | n/a | component-defined | Active; quick range/single preset buttons. |
159
+ | `metadata.quickPresetsAuto` | unknown | false | n/a | component-defined | Active; auto-generated quick presets. |
160
+ | `metadata.quickPresetsLabels` | unknown | false | n/a | component-defined | Active; custom labels for auto presets. |
161
+ | `metadata.inlineTexts` | unknown | false | n/a | component-defined | Active; localized panel strings. |
162
+ | `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | component-defined | Active; click-to-snap anchors. |
163
+ | `metadata.inlinePanelTitle` | string | false | n/a | component-defined | Active; panel header title. |
164
+ | `metadata.inlinePanelIcon` | string | false | n/a | component-defined | Active; header icon ligature (`snake_case`). |
165
+ | `metadata.inlinePanelIconColor` | string | false | n/a | component-defined | Active; header icon badge color. |
166
+ | `metadata.showInlineInputs` | boolean | false | false | component-defined | Active; inline numeric inputs in popover. |
167
+ | `metadata.inputMinLabel` | string | false | n/a | component-defined | Active; label for start input. |
168
+ | `metadata.inputMaxLabel` | string | false | n/a | component-defined | Active; label for end input. |
169
+ | `metadata.sliderStep` | number | false | `step` | `> 0` | Active; track slider step. |
170
+ | `metadata.shiftStep` | number | false | `10 * step` | `> 0` | Active; keyboard large-step jump. |
171
+ | `metadata.inlineDistribution` | `InlineRangeDistributionConfig \| unknown[]` | false | n/a | component-defined | Active; interactive bucket histogram. |
172
+ | `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Active; responsive panel/trigger width bounds. |
153
173
 
154
174
  ### Input bindings (inbound data)
155
175
 
@@ -190,9 +210,9 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
190
210
 
191
211
  | Surface | Verified | Coverage status | Evidence | Notes |
192
212
  | --- | --- | --- | --- | --- |
193
- | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
213
+ | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` | Core runtime flows and Wave 1 enhancements verified via component specs and Playwright visual/E2E gates. |
194
214
  | Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
195
- | Editor/Tooling | `false` | Partial | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | Alias/selector tooling linkage verified for inline filters; visual editor end-to-end coverage remains not-yet-verified. |
215
+ | Editor/Tooling | `true` | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/range-slider.config.ts`, `inline-editor-coverage.spec.ts`, `filter-inline-metadata-editor.playwright.spec.ts` | Editor configuration, round-trip persistence, and metadata coverage verified. |
196
216
 
197
217
  ### Runtime coverage boundaries
198
218
 
@@ -287,12 +307,16 @@ Use quando precisar:
287
307
  | `metadata.selectionGrid` | `boolean \| 'year' \| 'month'` | Ativo | Renderiza grade interativa clicavel (paginada para anos ou 12 celulas `Jan..Dez` para meses) com selecao single em 1 clique ou range em 2 cliques. |
288
308
  | `metadata.showSlider` | `boolean` | Ativo | Controla exibicao da trilha do slider continuo no overlay (`false` por padrao quando `selectionGrid` esta ativo, salvo override explicito). |
289
309
  | `metadata.min/max/step` | `number` | Ativo | Limites e granularidade da selecao. |
310
+ | `metadata.sliderStep` / `metadata.shiftStep` | `number` | Ativo | Incremento fino ao arrastar (`sliderStep`) e salto por teclado via `Shift+Setas`, `PageUp` ou `PageDown` (`shiftStep`). |
311
+ | `metadata.showAnchors` | `boolean \| 'auto'` | Ativo | Exibe ancoras clicaveis *click-to-snap* abaixo da trilha (`5` em desktop e `3` em paineis `<= 368px`) que reposicionam o thumb mais proximo ou ativo (`false` usa escala passiva). |
312
+ | `metadata.inlinePanelTitle` / `inlinePanelIcon` / `inlinePanelIconColor` | `string` | Ativo | Cabeçalho personalizavel do popover com ligadura Material Icons em `snake_case` minusculo e cor semantica/CSS. |
313
+ | `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | Ativo | Controla exibicao dos cards numericos editaveis no popover e os labels de limite inferior/superior. |
290
314
  | `metadata.minDistance/maxDistance` | `number` | Ativo | Validacao de distancia entre extremos no range. |
291
315
  | `metadata.discrete` | `boolean` | Ativo | Modo discreto no slider material. |
292
316
  | `metadata.quickPresets` | `array \| string(JSON)` | Ativo | Presets de selecao rapida no painel. |
293
317
  | `metadata.quickPresetsAuto` | `boolean` | Ativo | Gera presets automaticamente com base na escala. |
294
318
  | `metadata.quickPresetsLabels` | `object \| string(JSON)` | Ativo | Textos custom para presets auto. |
295
- | `metadata.inlineDistribution/distribution/histogram` | `object \| array \| string` | Ativo | Fonte de barras de distribuicao visual. |
319
+ | `metadata.inlineDistribution/distribution/histogram` | `object \| array \| string` | Ativo | Histograma interativo com barras clicaveis para aplicar faixa `{ from, to }` do bucket diretamente no rascunho/valor. |
296
320
  | `metadata.inlineTexts` | `object \| string(JSON)` | Ativo | Override de labels operacionais (`minLabel`, `maxLabel`, `valueLabel`, `quickPresetsLabel`, `clearActionLabel`, `doneActionLabel`) sobre os defaults i18n do namespace `inlineRange`. |
297
321
  | `metadata.inlineOverlay.applyMode` | `'auto'\|'explicit'` | Ativo | Em `explicit`, painel mantém slider/inputs/presets em rascunho até Aplicar. |
298
322
  | `metadata.inlineOverlay.actions.apply` | `object` | Ativo | Label, aria, aparência, cor semântica e ícone do botão de commit; tem precedência sobre `inlineTexts.doneActionLabel` e sobre os defaults i18n `inlineRange.applyActionLabel/doneActionLabel`. |
@@ -408,6 +432,13 @@ Correcao: ajustar `inlineAutoSize` para o contexto da toolbar.
408
432
  | Path | Type | Required | Default | Status | Notes |
409
433
  | --- | --- | --- | --- | --- | --- |
410
434
  | `metadata` | object | true | n/a | Partial | See Detailed API reference. |
435
+ | `metadata.inlinePanelTitle` | string | false | n/a | Active | Custom panel title shown in popover header. |
436
+ | `metadata.inlinePanelIcon` | string | false | n/a | Active | Lowercase `snake_case` Material icon ligature in header badge (e.g. `tune`). |
437
+ | `metadata.inlinePanelIconColor` | string | false | `--md-sys-color-primary` | Active | Theme token or CSS color override for header badge icon and halo. |
438
+ | `metadata.showAnchors` | `boolean \| 'auto'` | false | `'auto'` | Active | Clickable click-to-snap anchors (`5` desktop / `3` narrow `<= 368px`). |
439
+ | `metadata.sliderStep` / `shiftStep` | number | false | `step` / `step * 5` | Active | Drag granularity and `Shift+Arrow`/`PageUp`/`PageDown` keyboard jump. |
440
+ | `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | false | `showInputs` | Active | Inline editable input cards toggle and min/max labels. |
441
+ | `metadata.inlineDistribution` | `object \| array \| string` | false | n/a | Active | Interactive clickable histogram buckets (`{ bins }` or `{ buckets }`). |
411
442
  | `metadata.mode` | string | false | n/a | Partial | See Detailed API reference. |
412
443
  | `metadata.discrete` | boolean | false | n/a | Partial | See Detailed API reference. |
413
444
  | `metadata.quickPresets` | array | false | n/a | Partial | See Detailed API reference. |
@@ -434,9 +465,35 @@ Correcao: ajustar `inlineAutoSize` para o contexto da toolbar.
434
465
 
435
466
  ## Styling API (obrigatorio quando aplicavel)
436
467
 
437
- | Token/Class | Scope | Purpose | Notes |
468
+ Every visual surface inside `.pdx-inline-range-panel` exposes `--pdx-inline-range-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, enabling hosts to customize backgrounds, gradients, typography, spacing, anchor buttons, clickable histogram bars, and action buttons globally without `::ng-deep`. Respects `prefers-reduced-motion: reduce`.
469
+
470
+ | Token | Scope | Default / Fallback | Notes |
438
471
  | --- | --- | --- | --- |
439
- | `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
472
+ | `--pdx-inline-range-min-w` / `-max-w` / `-panel-min-w` / `-panel-max-w` / `-track-inset` | trigger & panel | `inlineAutoSize` / `10px` | Responsive trigger/panel bounds and shared track/anchor inset. |
473
+ | `--pdx-inline-range-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` / `-anim-duration` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container-*` / `160ms` | Popover surface styling (supports gradients) and reveal duration. |
474
+ | `--pdx-inline-range-title-font` / `-size` / `-weight` / `-color` | header | `inherit` / `0.94rem` / `650` / `--md-sys-color-on-surface` | Panel header title typography and color. |
475
+ | `--pdx-inline-range-header-icon-bg` / `-fg` / `-color` | header | primary-tinted halo / `--md-sys-color-primary` | Icon badge surface and foreground for `inlinePanelIcon`. |
476
+ | `--pdx-inline-range-dist-height` / `-gap` / `-radius` / `-opacity` | histogram | `44px` / `3px` / `4px` / `1` | Layout metrics for interactive `.pdx-inline-range-distribution` bars. |
477
+ | `--pdx-inline-range-hist-bar-bg` / `-active-bg` / `-hover-bg` / `-inactive-opacity` | histogram | primary gradient / `0.3` | Clickable histogram bucket colors (supports CSS gradients) and out-of-range opacity. |
478
+ | `--pdx-inline-range-slider-active-track` / `-inactive-track` / `-handle-color` / `-indicator-bg` / `-indicator-fg` | slider | `--md-sys-color-primary` / outline-variant / inverse-surface | Bridged to Material `<mat-slider>` tokens and discrete value indicator. |
479
+ | `--pdx-inline-range-anchor-dot-color` / `-dot-active-color` | anchors | `66% on-surface-variant` / `--md-sys-color-primary` | Track tick indicator dots aligned with anchor buttons. |
480
+ | `--pdx-inline-range-anchor-fg` / `-hover-fg` / `-hover-bg` / `-active-fg` / `-active-bg` / `-active-border` / `-font` / `-size` / `-radius` | anchors | on-surface-variant / primary / primary-container | Clickable snap buttons (`.pdx-inline-range-anchor`) below the track. |
481
+ | `--pdx-inline-range-input-bg` / `-border` / `-focus-border` / `-radius` / `-label-color` / `-fg` / `-font` / `-size` | inputs | surface-container-low / outline-variant / primary / `10px` | Editable min/max/single input cards. |
482
+ | `--pdx-inline-range-preset-bg` / `-fg` / `-border` / `-radius` / `-hover-bg` / `-hover-border` / `-active-bg` / `-active-fg` / `-active-border` | presets | surface-container-low / primary-container / `999px` | Quick-preset pills with `[attr.aria-pressed]` active state. |
483
+ | `--pdx-inline-range-actions-divider` / `--pdx-inline-range-action-height` / `-padding-x` / `-radius` / `-primary-container` / `-primary-hover-container` / `-primary-label` / `-primary-border` / `-secondary-container` / `-secondary-label` / `-secondary-border` | footer | outline-variant / `999px` / primary gradient-safe | Footer divider and primary/secondary action buttons. |
484
+
485
+ Example host customization without `::ng-deep`:
486
+
487
+ ```css
488
+ :root {
489
+ --pdx-inline-range-panel-radius: 16px;
490
+ --pdx-inline-range-header-icon-bg: linear-gradient(135deg, #2563eb, #0284c7);
491
+ --pdx-inline-range-header-icon-fg: #ffffff;
492
+ --pdx-inline-range-hist-bar-bg: linear-gradient(180deg, #2563eb, #60a5fa);
493
+ --pdx-inline-range-action-primary-container: linear-gradient(135deg, #2563eb, #0284c7);
494
+ --pdx-inline-range-action-primary-label: #ffffff;
495
+ }
496
+ ```
440
497
 
441
498
  ## Examples (obrigatorio)
442
499
 
@@ -21,8 +21,8 @@ source_of_truth:
21
21
  - "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
22
22
  - "projects/praxis-dynamic-fields/src/lib/components/inline-rating/inline-rating.component.ts"
23
23
  - "projects/praxis-metadata-editor/src/lib/config/inline-rating.config.ts"
24
- source_of_truth_last_verified: "2026-09-04"
25
- last_updated: "2026-09-04"
24
+ source_of_truth_last_verified: "2026-11-21"
25
+ last_updated: "2026-11-21"
26
26
  toc: true
27
27
  sidebar: true
28
28
  tags:
@@ -222,11 +222,11 @@ Warnings de metadata devem ser tratados no editor. Indisponibilidade da fonte de
222
222
 
223
223
  ## Detailed API reference
224
224
 
225
- As propriedades comuns de range, overlay, clear button, acessibilidade e auto size também são aplicáveis.
225
+ As propriedades comuns de `MaterialRangeSliderMetadata`, cabeçalho (`inlinePanelTitle`, `inlinePanelIcon`, `inlinePanelIconColor`), âncoras (`showAnchors`, `sliderStep`, `shiftStep`), inputs opcionais (`showInlineInputs`, `inputMinLabel`, `inputMaxLabel`), overlay, clear button, acessibilidade e auto size também são aplicáveis.
226
226
 
227
227
  ## JSON path index (obrigatorio)
228
228
 
229
- `min`, `max`, `step`, `allowHalf`, `itemsCount`, `quickPresets`, `showTicks`, `discrete`, `prefixIcon`, `ratingGradientLowColor`, `ratingGradientMidColor`, `ratingGradientHighColor`, `ratingBadgeIcon`, `ratingBadgeIconColor`, `ratingActiveIcon`, `ratingInactiveIcon`, `inlineOverlay`, `inlineAutoSize`.
229
+ `min`, `max`, `step`, `sliderStep`, `shiftStep`, `showAnchors`, `inlinePanelTitle`, `inlinePanelIcon`, `inlinePanelIconColor`, `showInlineInputs`, `inputMinLabel`, `inputMaxLabel`, `allowHalf`, `itemsCount`, `quickPresets`, `showTicks`, `discrete`, `prefixIcon`, `ratingGradientLowColor`, `ratingGradientMidColor`, `ratingGradientHighColor`, `ratingBadgeIcon`, `ratingBadgeIconColor`, `ratingActiveIcon`, `ratingInactiveIcon`, `inlineOverlay`, `inlineAutoSize`.
230
230
 
231
231
  ## Events reference (obrigatorio)
232
232
 
@@ -239,7 +239,20 @@ As propriedades comuns de range, overlay, clear button, acessibilidade e auto si
239
239
 
240
240
  ## Styling API (obrigatorio quando aplicavel)
241
241
 
242
- Use tokens compartilhados `--pdx-inline-field-*`, `--pdx-inline-panel-*` e os tokens semânticos de rating. O gradiente não deve reutilizar automaticamente a cor de destaque do botão.
242
+ Every surface inside `.pdx-inline-rating-panel` exposes `--pdx-inline-rating-*` CSS custom properties with Material Design 3 fallbacks so hosts can theme headers, star gradients, clickable `1 ★ – 5 ★` anchors, input cards, presets, and action buttons without `::ng-deep`. Respects `prefers-reduced-motion: reduce`. The semantic low/mid/high star gradient never auto-reuses footer button accent colors.
243
+
244
+ | Token | Scope | Default / Fallback | Notes |
245
+ | --- | --- | --- | --- |
246
+ | `--pdx-inline-rating-min-w` / `-max-w` / `-panel-min-w` / `-panel-max-w` / `-track-inset` | trigger & panel | `inlineAutoSize` / `10px` | Trigger bounds, overlay container bounds, and track/anchor horizontal inset. |
247
+ | `--pdx-inline-rating-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` / `-anim-duration` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container-*` / `160ms` | Popover surface (supports gradients), border, shadow, and reveal timing. |
248
+ | `--pdx-inline-rating-title-font` / `-size` / `-weight` / `-color` / `-scale-badge-bg` / `-scale-badge-fg` / `-badge-star` / `-summary-bg` / `-summary-fg` | header & summary | `inherit` / `0.94rem` / `650` | Header typography, scale pill badge (`0,5 ★` / inteiro), and selection summary chip. |
249
+ | `--pdx-inline-rating-header-icon-bg` / `-fg` / `-color` | header | primary-tinted halo / `--md-sys-color-primary` | Icon badge surface and foreground for `inlinePanelIcon` (defaults to `star`). |
250
+ | `--pdx-inline-rating-star-color` / `-star-outline` / `-tone-low` / `-tone-mid` / `-tone-high` | stars | `#dc2626` / `#f59e0b` / `#16a34a` | Passive visual star bar and dynamic gradient stops. |
251
+ | `--pdx-inline-rating-slider-active-track` / `-handle-color` / `-indicator-bg` / `-indicator-fg` | slider | `--md-sys-color-primary` / inverse-surface | Material `<mat-slider>` active track, handle, and discrete indicator. |
252
+ | `--pdx-inline-rating-anchor-dot-color` / `-dot-active-color` / `-anchor-fg` / `-hover-fg` / `-hover-bg` / `-active-fg` / `-active-bg` / `-active-border` / `-font` / `-size` / `-radius` | anchors | on-surface-variant / primary-container | Clickable `1 ★ – 5 ★` snap buttons (5 desktop / 3 narrow) below the slider. |
253
+ | `--pdx-inline-rating-input-bg` / `-border` / `-focus-border` / `-radius` / `-label-color` / `-fg` / `-font` / `-size` | inputs | surface-container-low / primary / `10px` | Optional numeric min/max cards (`showInlineInputs: true`) with `★` affix. |
254
+ | `--pdx-inline-rating-preset-bg` / `-fg` / `-border` / `-radius` / `-active-bg` / `-active-fg` / `-active-border` | presets | surface-container-low / primary-container / `999px` | Quick-preset pills with `[attr.aria-pressed]` state. |
255
+ | `--pdx-inline-rating-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / danger | Footer action containers and labels (`-container`, `-label`, `-tonal-container`, `-tonal-label`). |
243
256
 
244
257
  ## Examples (obrigatorio)
245
258
 
@@ -32,7 +32,7 @@ tags:
32
32
  api_stability: "canonical"
33
33
  schema_verified: true
34
34
  runtime_verified: true
35
- editor_coverage_verified: false
35
+ editor_coverage_verified: true
36
36
  runtime_scope: "public"
37
37
  legacy_paths_present: false
38
38
  has_known_mismatches: false
@@ -418,6 +418,10 @@ Correção: calibrar `relativePeriodColumns` e `inlineAutoSize`.
418
418
  | `metadata.relativePeriodCloseOnSelect` | boolean | false | n/a | Partial | See Detailed API reference. |
419
419
  | `metadata.relativePeriodIcon` | string | false | n/a | Partial | See Detailed API reference. |
420
420
  | `metadata.relativePeriodTexts` | unknown | false | n/a | Partial | See Detailed API reference. |
421
+ | `metadata.inlinePanelTitle` | string | false | `placeholderText()` | Active | Custom heading title for `.pdx-inline-relative-header`. |
422
+ | `metadata.inlinePanelSubtitle` | string | false | n/a | Active | Custom subtitle for `.pdx-inline-relative-header`. |
423
+ | `metadata.inlinePanelIcon` | string | false | `chipLeadingIcon()` | Active | Material Symbols ligature rendered in the panel header badge. |
424
+ | `metadata.inlinePanelIconColor` | string | false | `prefixIconColor()` | Active | Theme token or CSS color applied to the panel header icon. |
421
425
  | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
422
426
  | `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
423
427
  | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
@@ -438,9 +442,19 @@ Correção: calibrar `relativePeriodColumns` e `inlineAutoSize`.
438
442
 
439
443
  ## Styling API (obrigatorio quando aplicavel)
440
444
 
441
- | Token/Class | Scope | Purpose | Notes |
445
+ Every surface inside `.pdx-inline-relative-panel` exposes `--pdx-inline-relative-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, and animations/transitions disable under `@media (prefers-reduced-motion: reduce)`.
446
+
447
+ | Token/Class | Scope | Default / Fallback | Notes |
442
448
  | --- | --- | --- | --- |
443
- | `metadata.relativePeriodIcon` | component | Styling-related JSON path | Validate against runtime implementation. |
449
+ | `--pdx-inline-relative-min-w` / `--pdx-inline-relative-max-w` | chip | `188px` / `420px` | Trigger pill min/max width controlled by `inlineAutoSize`. |
450
+ | `--pdx-inline-relative-panel-min-w` / `--pdx-inline-relative-panel-max-w` | panel | `320px` / `560px` | Floating panel width constraints (`inlineAutoSize.panel*`). |
451
+ | `--pdx-inline-relative-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container` | Popover container surface, border, corner radius, shadow, and gap. |
452
+ | `--pdx-inline-relative-anim-duration` | panel | `160ms` | Panel entrance duration (`pdxInlineRelativePanelIn`); respects reduced motion. |
453
+ | `--pdx-inline-relative-header-gap` / `-icon-size` / `-icon-radius` / `-icon-bg` / `-icon-color` | header | `10px` / `36px` / `10px` / 14% primary tint / `--md-sys-color-primary` | Header badge layout and `inlinePanelIcon` / `inlinePanelIconColor` color override. |
454
+ | `--pdx-inline-relative-title-size` / `-weight` / `--pdx-inline-relative-subtitle-color` / `-size` | header | `1rem` / `600` / `--md-sys-color-on-surface-variant` / `0.82rem` | Header title and subtitle typography. |
455
+ | `--pdx-inline-relative-progress-height` / `-track-bg` / `-gradient-low` / `-mid` / `-high` | progress bar | `8px` / 34% outline-variant / `#64748b`..`#22c55e` | Progress track height, background, and 3-stop gradient stops. |
456
+ | `--pdx-inline-relative-grid-columns` / `--pdx-inline-relative-card-radius` / `-border` / `-bg` / `-fg` / `-padding` / `-selected-border` / `-selected-bg` | grid & cards | `2` / `12px` / `--md-sys-color-surface-container-high` / `--md-sys-color-primary-container` | Responsive preset grid column count (`columns` / `relativePeriodColumns`) and card tokens. |
457
+ | `--pdx-inline-relative-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / error | Explicit overlay footer action containers and labels. |
444
458
 
445
459
  ## Examples (obrigatorio)
446
460