@praxisui/dynamic-fields 10.0.0-rc.60 → 10.0.0-rc.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-dynamic-fields.mjs +528 -108
- package/package.json +4 -4
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +12 -12
- package/src/lib/base/pdx-base-select-runtime-contract.json-api.md +12 -12
- package/src/lib/components/color-picker/pdx-color-picker.json-api.md +16 -15
- package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +9 -12
- package/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md +44 -43
- package/types/praxisui-dynamic-fields.d.ts +25 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.61",
|
|
4
4
|
"description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"@angular/platform-browser": "^21.0.0",
|
|
12
12
|
"@angular/router": "^21.0.0",
|
|
13
13
|
"rxjs": "^7.8.0",
|
|
14
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/cron-builder": "^10.0.0-rc.
|
|
14
|
+
"@praxisui/core": "^10.0.0-rc.61",
|
|
15
|
+
"@praxisui/dialog": "^10.0.0-rc.61",
|
|
16
|
+
"@praxisui/cron-builder": "^10.0.0-rc.61"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"libphonenumber-js": "^1.12.41",
|
|
@@ -20,8 +20,8 @@ owner: "praxis-ui"
|
|
|
20
20
|
source_of_truth:
|
|
21
21
|
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts"
|
|
22
22
|
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
23
|
-
source_of_truth_last_verified: "2026-
|
|
24
|
-
last_updated: "2026-
|
|
23
|
+
source_of_truth_last_verified: "2026-11-24"
|
|
24
|
+
last_updated: "2026-11-24"
|
|
25
25
|
toc: true
|
|
26
26
|
sidebar: true
|
|
27
27
|
tags:
|
|
@@ -30,11 +30,11 @@ tags:
|
|
|
30
30
|
- "pdx-base-input-runtime-contract"
|
|
31
31
|
api_stability: "canonical"
|
|
32
32
|
schema_verified: true
|
|
33
|
-
runtime_verified:
|
|
33
|
+
runtime_verified: true
|
|
34
34
|
editor_coverage_verified: false
|
|
35
35
|
runtime_scope: "public"
|
|
36
36
|
legacy_paths_present: true
|
|
37
|
-
has_known_mismatches:
|
|
37
|
+
has_known_mismatches: false
|
|
38
38
|
related_components:
|
|
39
39
|
- "praxis-table"
|
|
40
40
|
- "pdx-text-input"
|
|
@@ -89,7 +89,7 @@ Este documento e a referencia canonica da API JSON de pdx-base-input-runtime-con
|
|
|
89
89
|
| `metadata.required` | `boolean` | not-specified | n/a | Active | Controle interno textual aplica `Validators.required` + `aria-required`; controle externo preserva validadores do host e materializa estado acessivel. Boolean/toggle usa presença no `DynamicFormService`; use `requiredTrue` quando `true` for obrigatório. |
|
|
90
90
|
| `metadata.disabled` | `boolean` | not-specified | n/a | Active | Atualiza estado disabled do controle. |
|
|
91
91
|
| `metadata.readonly` | `boolean` | not-specified | n/a | Active | Aplica atributo `readonly` nativo. |
|
|
92
|
-
| `metadata.readOnly` | `boolean` | not-specified | n/a |
|
|
92
|
+
| `metadata.readOnly` | `boolean` | not-specified | n/a | Active | Alias legado normalizado via `computeEffectiveState()` em `isReadonlyEffective()`, `applyNativeAttributes()` e `onClearClick()`. |
|
|
93
93
|
| `metadata.autocomplete` | `string` | not-specified | n/a | Active | Aplica atributo `autocomplete`. |
|
|
94
94
|
| `metadata.inputMode` | `string` | not-specified | n/a | Active | Aplica atributo `inputmode`. |
|
|
95
95
|
| `metadata.spellcheck` | `boolean` | not-specified | n/a | Active | Aplica atributo `spellcheck`. |
|
|
@@ -138,7 +138,7 @@ Este arquivo foi adaptado para o padrao canonico atual sem remover conteudo tecn
|
|
|
138
138
|
| `metadata.required` | `boolean` | not-specified | n/a | component-defined | Controle interno textual aplica `Validators.required` + `aria-required`; controle externo preserva validadores do host e materializa estado acessivel. Boolean/toggle usa presença no `DynamicFormService`; use `requiredTrue` quando `true` for obrigatório. |
|
|
139
139
|
| `metadata.disabled` | `boolean` | not-specified | n/a | component-defined | Atualiza estado disabled do controle. |
|
|
140
140
|
| `metadata.readonly` | `boolean` | not-specified | n/a | component-defined | Aplica atributo `readonly` nativo. |
|
|
141
|
-
| `metadata.readOnly` | `boolean` | not-specified | n/a | component-defined |
|
|
141
|
+
| `metadata.readOnly` | `boolean` | not-specified | n/a | component-defined | Alias legado normalizado via `computeEffectiveState()` em `isReadonlyEffective()`, `applyNativeAttributes()` e `onClearClick()`. |
|
|
142
142
|
| `metadata.autocomplete` | `string` | not-specified | n/a | component-defined | Aplica atributo `autocomplete`. |
|
|
143
143
|
|
|
144
144
|
### Input bindings
|
|
@@ -172,7 +172,7 @@ Este arquivo foi adaptado para o padrao canonico atual sem remover conteudo tecn
|
|
|
172
172
|
|
|
173
173
|
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
174
174
|
| --- | --- | --- | --- | --- |
|
|
175
|
-
| Runtime |
|
|
175
|
+
| Runtime | true | Active | `projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts` + specs unitarias | Comportamento base de `readonly`/`readOnly`, `disabled`, clear e atributos nativos verificado em specs focadas. |
|
|
176
176
|
| Schema/Types | true | Partial | interfaces/modelos citados | Mapeamento formal de todos os campos ainda pode requerer refinamento. |
|
|
177
177
|
| Editor/Tooling | false | Partial | secoes de editor quando presentes | Cobertura de editor/tooling nem sempre confirmada por evidencia direta. |
|
|
178
178
|
|
|
@@ -328,7 +328,7 @@ Limites:
|
|
|
328
328
|
| `metadata.required` | `boolean` | Active | Controle interno textual aplica `Validators.required` + `aria-required`; controle externo preserva validadores do host e materializa estado acessivel. Boolean/toggle usa presença no `DynamicFormService`; use `requiredTrue` quando `true` for obrigatório. |
|
|
329
329
|
| `metadata.disabled` | `boolean` | Active | Atualiza estado disabled do controle. |
|
|
330
330
|
| `metadata.readonly` | `boolean` | Active | Aplica atributo `readonly` nativo. |
|
|
331
|
-
| `metadata.readOnly` | `boolean` |
|
|
331
|
+
| `metadata.readOnly` | `boolean` | Active | Alias legado normalizado via `computeEffectiveState()` em `isReadonlyEffective()`, `applyNativeAttributes()` e `onClearClick()`. |
|
|
332
332
|
| `metadata.autocomplete` | `string` | Active | Aplica atributo `autocomplete`. |
|
|
333
333
|
| `metadata.inputMode` | `string` | Active | Aplica atributo `inputmode`. |
|
|
334
334
|
| `metadata.spellcheck` | `boolean` | Active | Aplica atributo `spellcheck`. |
|
|
@@ -458,7 +458,7 @@ internos do Angular Material e podem mudar entre versoes.
|
|
|
458
458
|
| `metadata.required` | `boolean` | not-specified | n/a | Active | Controle interno textual aplica `Validators.required` + `aria-required`; controle externo preserva validadores do host e materializa estado acessivel. Boolean/toggle usa presença no `DynamicFormService`; use `requiredTrue` quando `true` for obrigatório. |
|
|
459
459
|
| `metadata.disabled` | `boolean` | not-specified | n/a | Active | Atualiza estado disabled do controle. |
|
|
460
460
|
| `metadata.readonly` | `boolean` | not-specified | n/a | Active | Aplica atributo `readonly` nativo. |
|
|
461
|
-
| `metadata.readOnly` | `boolean` | not-specified | n/a |
|
|
461
|
+
| `metadata.readOnly` | `boolean` | not-specified | n/a | Active | Alias legado normalizado via `computeEffectiveState()` em `isReadonlyEffective()`, `applyNativeAttributes()` e `onClearClick()`. |
|
|
462
462
|
| `metadata.autocomplete` | `string` | not-specified | n/a | Active | Aplica atributo `autocomplete`. |
|
|
463
463
|
| `metadata.inputMode` | `string` | not-specified | n/a | Active | Aplica atributo `inputmode`. |
|
|
464
464
|
| `metadata.spellcheck` | `boolean` | not-specified | n/a | Active | Aplica atributo `spellcheck`. |
|
|
@@ -526,7 +526,7 @@ internos do Angular Material e podem mudar entre versoes.
|
|
|
526
526
|
|
|
527
527
|
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
528
528
|
| --- | --- | --- | --- | --- | --- |
|
|
529
|
-
|
|
|
529
|
+
| Canonical contract parity | Nenhuma divergencia confirmada apos normalizacao de `metadata.readOnly` via `computeEffectiveState()` e guardas de interacao em `SimpleBaseInputComponent`. | Manter runtime, schema e contrato sincronizados. | Low | n/a | Monitor in periodic audit |
|
|
530
530
|
|
|
531
531
|
## Compatibility and migration notes
|
|
532
532
|
|
|
@@ -538,5 +538,5 @@ internos do Angular Material e podem mudar entre versoes.
|
|
|
538
538
|
|
|
539
539
|
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
540
540
|
| --- | --- | --- | --- | --- |
|
|
541
|
-
| local-file | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Evidencia de implementacao e contrato. | 2026-
|
|
542
|
-
| local-file | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Evidencia de implementacao e contrato. | 2026-
|
|
541
|
+
| local-file | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Evidencia de implementacao e contrato. | 2026-11-24 | verified-path |
|
|
542
|
+
| local-file | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Evidencia de implementacao e contrato. | 2026-11-24 | verified-path |
|
|
@@ -20,8 +20,8 @@ owner: "praxis-ui"
|
|
|
20
20
|
source_of_truth:
|
|
21
21
|
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts"
|
|
22
22
|
- "projects/praxis-core/src/lib/models/component-metadata.interface.ts"
|
|
23
|
-
source_of_truth_last_verified: "2026-
|
|
24
|
-
last_updated: "2026-
|
|
23
|
+
source_of_truth_last_verified: "2026-11-24"
|
|
24
|
+
last_updated: "2026-11-24"
|
|
25
25
|
toc: true
|
|
26
26
|
sidebar: true
|
|
27
27
|
tags:
|
|
@@ -30,11 +30,11 @@ tags:
|
|
|
30
30
|
- "pdx-base-select-runtime-contract"
|
|
31
31
|
api_stability: "canonical"
|
|
32
32
|
schema_verified: true
|
|
33
|
-
runtime_verified:
|
|
33
|
+
runtime_verified: true
|
|
34
34
|
editor_coverage_verified: false
|
|
35
35
|
runtime_scope: "public"
|
|
36
36
|
legacy_paths_present: false
|
|
37
|
-
has_known_mismatches:
|
|
37
|
+
has_known_mismatches: false
|
|
38
38
|
related_components:
|
|
39
39
|
- "praxis-table"
|
|
40
40
|
- "pdx-material-select"
|
|
@@ -88,14 +88,14 @@ Este documento e a referencia canonica da API JSON de pdx-base-select-runtime-co
|
|
|
88
88
|
| `metadata.searchable` | `boolean` | not-specified | n/a | Active | Habilita estado de busca (componente filho decide UI). |
|
|
89
89
|
| `metadata.selectAll` | `boolean` | not-specified | n/a | Active | Ativa utilitario de selecionar todos em multi-select. |
|
|
90
90
|
| `metadata.maxSelections` | `number` | not-specified | n/a | Active | Limite maximo de selecoes no modo multiplo. |
|
|
91
|
-
| `metadata.resourcePath` | `string` | not-specified | n/a | Active | Habilita carregamento remoto via `GenericCrudService
|
|
91
|
+
| `metadata.resourcePath` | `string` | not-specified | n/a | Active | Habilita carregamento remoto via `GenericCrudService` (tambem unificado via `hasRemoteOptionSource()` com `metadata.optionSource.key`). |
|
|
92
92
|
| `metadata.filterCriteria` | `Record<string, any>` | not-specified | n/a | Active | Filtros base para consultas remotas. |
|
|
93
93
|
| `metadata.optionLabelKey` | `string` | not-specified | n/a | Active | Chave usada para extrair label de itens remotos. |
|
|
94
94
|
| `metadata.optionValueKey` | `string` | not-specified | n/a | Active | Chave usada para extrair value de itens remotos. |
|
|
95
95
|
| `metadata.emptyOptionText` | `string` | not-specified | n/a | Active | Texto para opcao nula em selects simples. |
|
|
96
96
|
| `metadata.displayWith` | `function` | not-specified | n/a | Active | Funcao de exibicao de valor selecionado (quando suportado pelo filho). |
|
|
97
97
|
| `metadata.compareWith` | `function` | not-specified | n/a | Active | Comparacao customizada para igualdade de opcoes. |
|
|
98
|
-
| `metadata.loadOn` | `'open' \| 'init' \| 'none'` | not-specified |
|
|
98
|
+
| `metadata.loadOn` | `'open' \| 'init' \| 'none'` | not-specified | `'open'` | Active | Efetivo via `hasRemoteOptionSource()` (`resourcePath` ou `optionSource.key`) nos controles de selecao/autocomplete, com fallback `'open'` e `rawPlaceholder()` preservado para subclasses inline. |
|
|
99
99
|
|
|
100
100
|
### Supported legacy paths
|
|
101
101
|
|
|
@@ -172,7 +172,7 @@ Este arquivo foi adaptado para o padrao canonico atual sem remover conteudo tecn
|
|
|
172
172
|
|
|
173
173
|
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
174
174
|
| --- | --- | --- | --- | --- |
|
|
175
|
-
| Runtime |
|
|
175
|
+
| Runtime | true | Active | `projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts` + specs unitarias | Contrato base de selecao local/remota, `rawPlaceholder()` para selects inline, `optionSource` e `loadOn` verificado em specs focadas. |
|
|
176
176
|
| Schema/Types | true | Partial | interfaces/modelos citados | Mapeamento formal de todos os campos ainda pode requerer refinamento. |
|
|
177
177
|
| Editor/Tooling | false | Partial | secoes de editor quando presentes | Cobertura de editor/tooling nem sempre confirmada por evidencia direta. |
|
|
178
178
|
|
|
@@ -390,14 +390,14 @@ Limites:
|
|
|
390
390
|
| `metadata.searchable` | `boolean` | not-specified | n/a | Active | Habilita estado de busca (componente filho decide UI). |
|
|
391
391
|
| `metadata.selectAll` | `boolean` | not-specified | n/a | Active | Ativa utilitario de selecionar todos em multi-select. |
|
|
392
392
|
| `metadata.maxSelections` | `number` | not-specified | n/a | Active | Limite maximo de selecoes no modo multiplo. |
|
|
393
|
-
| `metadata.resourcePath` | `string` | not-specified | n/a | Active | Habilita carregamento remoto via `GenericCrudService
|
|
393
|
+
| `metadata.resourcePath` | `string` | not-specified | n/a | Active | Habilita carregamento remoto via `GenericCrudService` (tambem unificado via `hasRemoteOptionSource()` com `metadata.optionSource.key`). |
|
|
394
394
|
| `metadata.filterCriteria` | `Record<string, any>` | not-specified | n/a | Active | Filtros base para consultas remotas. |
|
|
395
395
|
| `metadata.optionLabelKey` | `string` | not-specified | n/a | Active | Chave usada para extrair label de itens remotos. |
|
|
396
396
|
| `metadata.optionValueKey` | `string` | not-specified | n/a | Active | Chave usada para extrair value de itens remotos. |
|
|
397
397
|
| `metadata.emptyOptionText` | `string` | not-specified | n/a | Active | Texto para opcao nula em selects simples. |
|
|
398
398
|
| `metadata.displayWith` | `function` | not-specified | n/a | Active | Funcao de exibicao de valor selecionado (quando suportado pelo filho). |
|
|
399
399
|
| `metadata.compareWith` | `function` | not-specified | n/a | Active | Comparacao customizada para igualdade de opcoes. |
|
|
400
|
-
| `metadata.loadOn` | `'open' \| 'init' \| 'none'` | not-specified |
|
|
400
|
+
| `metadata.loadOn` | `'open' \| 'init' \| 'none'` | not-specified | `'open'` | Active | Efetivo via `hasRemoteOptionSource()` (`resourcePath` ou `optionSource.key`) nos controles de selecao/autocomplete, com fallback `'open'` e `rawPlaceholder()` preservado para subclasses inline. |
|
|
401
401
|
|
|
402
402
|
## Events
|
|
403
403
|
|
|
@@ -458,7 +458,7 @@ Limites:
|
|
|
458
458
|
|
|
459
459
|
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
460
460
|
| --- | --- | --- | --- | --- | --- |
|
|
461
|
-
|
|
|
461
|
+
| Canonical contract parity | Nenhuma divergencia confirmada apos preservacao de `rawPlaceholder()` e unificacao de `hasRemoteOptionSource()` (`resourcePath` ou `optionSource.key`) em `SimpleBaseSelectComponent`, `MaterialSelectComponent` e `MaterialAutocompleteComponent` (inclusive `preloadSelected` via `getOptionSourceOptionsByIds`). | Manter runtime, schema e contrato sincronizados. | Low | n/a | Monitor in periodic audit |
|
|
462
462
|
|
|
463
463
|
## Compatibility and migration notes
|
|
464
464
|
|
|
@@ -470,5 +470,5 @@ Limites:
|
|
|
470
470
|
|
|
471
471
|
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
472
472
|
| --- | --- | --- | --- | --- |
|
|
473
|
-
| local-file | projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | Evidencia de implementacao e contrato. | 2026-
|
|
474
|
-
| local-file | projects/praxis-core/src/lib/models/component-metadata.interface.ts | Evidencia de implementacao e contrato. | 2026-
|
|
473
|
+
| local-file | projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | Evidencia de implementacao e contrato. | 2026-11-24 | verified-path |
|
|
474
|
+
| local-file | projects/praxis-core/src/lib/models/component-metadata.interface.ts | Evidencia de implementacao e contrato. | 2026-11-24 | verified-path |
|
|
@@ -22,8 +22,8 @@ source_of_truth:
|
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.component.ts"
|
|
23
23
|
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
24
24
|
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts"
|
|
25
|
-
source_of_truth_last_verified: "2026-
|
|
26
|
-
last_updated: "2026-
|
|
25
|
+
source_of_truth_last_verified: "2026-11-24"
|
|
26
|
+
last_updated: "2026-11-24"
|
|
27
27
|
toc: true
|
|
28
28
|
sidebar: true
|
|
29
29
|
tags:
|
|
@@ -36,7 +36,7 @@ runtime_verified: true
|
|
|
36
36
|
editor_coverage_verified: true
|
|
37
37
|
runtime_scope: "public"
|
|
38
38
|
legacy_paths_present: true
|
|
39
|
-
has_known_mismatches:
|
|
39
|
+
has_known_mismatches: false
|
|
40
40
|
related_components:
|
|
41
41
|
- "praxis-table"
|
|
42
42
|
- "pdx-base-input-runtime-contract"
|
|
@@ -70,7 +70,7 @@ Paletas governadas usam `materializeGovernedPaletteEntries` do Core para associa
|
|
|
70
70
|
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
71
71
|
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.component.ts` |
|
|
72
72
|
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
73
|
-
| Editor/tooling coverage | `
|
|
73
|
+
| Editor/tooling coverage | `true` | Editor/tooling deve espelhar somente contrato publico suportado | Active | `projects/praxis-metadata-editor/src/lib/config/color-picker.config.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
|
|
74
74
|
| Legacy paths | `true` | Segregar legado de caminhos canonicos com janela de migracao | Partial | frontmatter.legacy_paths_present |
|
|
75
75
|
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
76
76
|
|
|
@@ -101,7 +101,7 @@ Paletas governadas usam `materializeGovernedPaletteEntries` do Core para associa
|
|
|
101
101
|
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
102
102
|
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
103
103
|
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
104
|
-
| Editor coverage verified | `
|
|
104
|
+
| Editor coverage verified | `true` | Alinhado com editor de metadata (`colorPickerProperties`) |
|
|
105
105
|
| Legacy paths present | `true` | Segregar legado de contrato canonico |
|
|
106
106
|
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
107
107
|
|
|
@@ -122,11 +122,10 @@ Paletas governadas usam `materializeGovernedPaletteEntries` do Core para associa
|
|
|
122
122
|
|
|
123
123
|
### Supported legacy paths
|
|
124
124
|
|
|
125
|
-
| Legacy path | Canonical replacement
|
|
126
|
-
| ---------------------- |
|
|
127
|
-
| `metadata.showPreview` | `metadata.
|
|
128
|
-
| `metadata.showAlpha` | `
|
|
129
|
-
| `metadata.showPreview` | `metadata.preview` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
|
|
125
|
+
| Legacy path | Canonical replacement | Support window | Runtime behavior | Notes |
|
|
126
|
+
| ---------------------- | ----------------------------- | --------------- | ----------------------------------- | ----------------------------------------------------------- |
|
|
127
|
+
| `metadata.showPreview` | `metadata.preview` | not-yet-defined | accepted for backward compatibility | Mapeado em `setMetadata()` quando `preview` nao e informado. |
|
|
128
|
+
| `metadata.showAlpha` | `gradientSettings.showOpacity` | not-yet-defined | accepted for backward compatibility | Mapeado em `setMetadata()` para habilitar controle de opacidade. |
|
|
130
129
|
|
|
131
130
|
### Internal-only paths
|
|
132
131
|
|
|
@@ -213,7 +212,7 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
213
212
|
| -------------- | -------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
214
213
|
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
|
|
215
214
|
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
216
|
-
| Editor/Tooling | `
|
|
215
|
+
| Editor/Tooling | `true` | Active | `projects/praxis-metadata-editor/src/lib/config/color-picker.config.ts`, `projects/praxis-core/src/lib/metadata/field-selector-control-type.constants.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | Selector/control-type e propriedades do editor visual alinhados ao contrato canonico de `pdx-color-picker`. |
|
|
217
216
|
|
|
218
217
|
### Runtime coverage boundaries
|
|
219
218
|
|
|
@@ -687,6 +686,8 @@ O cabeçalho contextual mostra o nome publicado da paleta, variante, versão e q
|
|
|
687
686
|
|
|
688
687
|
## Known limitations and mismatches (recomendado)
|
|
689
688
|
|
|
689
|
+
A paridade de contrato runtime (`setInputMetadata()` delegando para `setMetadata()`, emissao unica de `valueChange` em `onApply()`, e bloqueio de `onSuffixClear()`/`openPicker()` em estado `readonly`, `disabled` ou `presentationMode`) esta verificada e sem divergencias abertas. Os itens abaixo registram evolucoes planejadas de UX/roadmap.
|
|
690
|
+
|
|
690
691
|
### Edição de precisão e formatos
|
|
691
692
|
|
|
692
693
|
A visão `gradient` oferece HEX de 3/6 dígitos e canais RGB inteiros de 0 a 255 sincronizados com o seletor nativo. Valores inválidos bloqueiam `Aplicar`; cancelar ou fechar descarta o rascunho e restaura os canais. As setas operam os inputs e o slider sem serem capturadas pela navegação do menu.
|
|
@@ -708,7 +709,7 @@ Selecionar um token mantém a referência e sua opacidade publicada. Editar expl
|
|
|
708
709
|
|
|
709
710
|
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
710
711
|
| --------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------- | -------------------------- | ------------- |
|
|
711
|
-
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.metadata.ts | Primary source of truth for contract and behavior. | 2026-
|
|
712
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.component.ts | Primary source of truth for contract and behavior. | 2026-
|
|
713
|
-
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-
|
|
714
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Primary source of truth for contract and behavior. | 2026-
|
|
712
|
+
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.metadata.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
713
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/color-picker/pdx-color-picker.component.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
714
|
+
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
715
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
@@ -22,8 +22,8 @@ source_of_truth:
|
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/material-price-range/material-price-range.component.ts"
|
|
23
23
|
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts"
|
|
24
24
|
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
25
|
-
source_of_truth_last_verified: "2026-11-
|
|
26
|
-
last_updated: "2026-11-
|
|
25
|
+
source_of_truth_last_verified: "2026-11-23"
|
|
26
|
+
last_updated: "2026-11-23"
|
|
27
27
|
toc: true
|
|
28
28
|
sidebar: true
|
|
29
29
|
tags:
|
|
@@ -121,12 +121,9 @@ Este documento e a referencia canonica da API JSON de pdx-inline-currency-range.
|
|
|
121
121
|
|
|
122
122
|
| Historical path | Canonical replacement | Support window | Runtime behavior | Notes |
|
|
123
123
|
| --- | --- | --- | --- | --- |
|
|
124
|
-
| `metadata.
|
|
125
|
-
| `metadata.
|
|
126
|
-
| `metadata.
|
|
127
|
-
| `metadata.rangeHistogram` | `metadata.histogram` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
|
|
128
|
-
| `metadata.distribution` | `metadata.rangeDistribution` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
|
|
129
|
-
| `metadata.histogram` | `metadata.rangeHistogram` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
|
|
124
|
+
| `metadata.rangeDistribution` | `metadata.distribution` | active | accepted for backward compatibility | Alias de distribuicao suportado em fallback no componente. |
|
|
125
|
+
| `metadata.histogram` | `metadata.distribution` | active | accepted for backward compatibility | Alias de histograma suportado em fallback no componente. |
|
|
126
|
+
| `metadata.rangeHistogram` | `metadata.distribution` | active | accepted for backward compatibility | Alias legado de histograma suportado em fallback no componente. |
|
|
130
127
|
|
|
131
128
|
### Internal-only paths
|
|
132
129
|
|
|
@@ -746,7 +743,7 @@ pdx-inline-currency-range {
|
|
|
746
743
|
|
|
747
744
|
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
748
745
|
| --- | --- | --- | --- | --- |
|
|
749
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-currency-range/inline-currency-range.component.ts | Primary source of truth for contract and behavior. | 2026-11-
|
|
750
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-price-range/material-price-range.component.ts | Primary source of truth for contract and behavior. | 2026-11-
|
|
751
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Primary source of truth for contract and behavior. | 2026-11-
|
|
752
|
-
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-11-
|
|
746
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-currency-range/inline-currency-range.component.ts | Primary source of truth for contract and behavior. | 2026-11-23 | verified-path |
|
|
747
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-price-range/material-price-range.component.ts | Primary source of truth for contract and behavior. | 2026-11-23 | verified-path |
|
|
748
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Primary source of truth for contract and behavior. | 2026-11-23 | verified-path |
|
|
749
|
+
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-11-23 | verified-path |
|
|
@@ -22,8 +22,8 @@ source_of_truth:
|
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.component.ts"
|
|
23
23
|
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts"
|
|
24
24
|
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
25
|
-
source_of_truth_last_verified: "2026-
|
|
26
|
-
last_updated: "2026-
|
|
25
|
+
source_of_truth_last_verified: "2026-11-24"
|
|
26
|
+
last_updated: "2026-11-24"
|
|
27
27
|
toc: true
|
|
28
28
|
sidebar: true
|
|
29
29
|
tags:
|
|
@@ -33,10 +33,10 @@ tags:
|
|
|
33
33
|
api_stability: "canonical"
|
|
34
34
|
schema_verified: true
|
|
35
35
|
runtime_verified: true
|
|
36
|
-
editor_coverage_verified:
|
|
36
|
+
editor_coverage_verified: true
|
|
37
37
|
runtime_scope: "public"
|
|
38
38
|
legacy_paths_present: true
|
|
39
|
-
has_known_mismatches:
|
|
39
|
+
has_known_mismatches: false
|
|
40
40
|
related_components:
|
|
41
41
|
- "praxis-table"
|
|
42
42
|
- "pdx-base-select-runtime-contract"
|
|
@@ -70,9 +70,9 @@ Este documento e a referencia canonica da API JSON de pdx-material-selection-lis
|
|
|
70
70
|
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
71
71
|
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.component.ts` |
|
|
72
72
|
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
73
|
-
| Editor/tooling coverage | `
|
|
73
|
+
| Editor/tooling coverage | `true` | Editor/tooling deve espelhar somente contrato publico suportado | Active | `projects/praxis-metadata-editor/src/lib/config/selection-list.config.ts`, `projects/praxis-metadata-editor/src/lib/components/field-metadata-editor/field-metadata-editor.component.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
|
|
74
74
|
| Legacy paths | `true` | Segregar legado de caminhos canonicos com janela de migracao | Partial | frontmatter.legacy_paths_present |
|
|
75
|
-
| Known mismatches | `
|
|
75
|
+
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
76
76
|
|
|
77
77
|
## Source of truth
|
|
78
78
|
|
|
@@ -101,7 +101,7 @@ Este documento e a referencia canonica da API JSON de pdx-material-selection-lis
|
|
|
101
101
|
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
102
102
|
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
103
103
|
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
104
|
-
| Editor coverage verified | `
|
|
104
|
+
| Editor coverage verified | `true` | Alinhado com `selectionListProperties` em `@praxisui/metadata-editor` |
|
|
105
105
|
| Legacy paths present | `true` | Segregar legado de contrato canonico |
|
|
106
106
|
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
107
107
|
|
|
@@ -117,8 +117,8 @@ Este documento e a referencia canonica da API JSON de pdx-material-selection-lis
|
|
|
117
117
|
| `visible` | boolean | false | `true` | Active | Controla `display` do host e `aria-hidden` quando invisivel. |
|
|
118
118
|
| `presentationMode` | boolean | false | `false` | Active | Renderiza o valor sem permitir mutacao por clique ou handlers publicos governados. |
|
|
119
119
|
| `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
120
|
-
| `metadata.
|
|
121
|
-
| `metadata.
|
|
120
|
+
| `metadata.options` | array | false | n/a | Active | Fonte canonica de opcoes estaticas (prioritaria sobre `listOptions`). |
|
|
121
|
+
| `metadata.listOptions` | array | false | n/a | Deprecated | Alias legado honrado quando `metadata.options` nao e informado. |
|
|
122
122
|
| `metadata.required` | boolean | false | `false` | Active | Propaga `aria-required` na lista de selecao. |
|
|
123
123
|
| `metadata.readonly` | boolean | false | `false` | Active | Estado readonly declarativo do payload; bloqueia interacao como `readonlyMode`. |
|
|
124
124
|
|
|
@@ -126,7 +126,7 @@ Este documento e a referencia canonica da API JSON de pdx-material-selection-lis
|
|
|
126
126
|
|
|
127
127
|
| Legacy path | Canonical replacement | Support window | Runtime behavior | Notes |
|
|
128
128
|
| --- | --- | --- | --- | --- |
|
|
129
|
-
| `metadata.
|
|
129
|
+
| `metadata.listOptions` | `metadata.options` | not-yet-defined | accepted when `metadata.options` is omitted | `metadata.options` tem precedencia no runtime e no editor; `FieldMetadataEditorComponent` hidrata de `listOptions` e emite `listOptions: null` ao salvar `options`. |
|
|
130
130
|
|
|
131
131
|
### Internal-only paths
|
|
132
132
|
|
|
@@ -161,7 +161,8 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
161
161
|
| `metadata.filterCriteria` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
162
162
|
| `metadata.optionLabelKey` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
163
163
|
| `metadata.optionValueKey` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
164
|
-
| `metadata.searchable` | boolean | false |
|
|
164
|
+
| `metadata.searchable` | boolean | false | `false` | component-defined | Renderiza input `.pdx-selection-list-search` e filtra opcoes visiveis preservando selecoes ocultas no `FormControl`. |
|
|
165
|
+
| `metadata.selectAll` | boolean | false | `false` | component-defined | Exibe acao `.pdx-selection-list-select-all` quando `multiple=true`, operando sobre os itens visiveis e respeitando `maxSelections`. |
|
|
165
166
|
|
|
166
167
|
### Input bindings (inbound data)
|
|
167
168
|
|
|
@@ -191,7 +192,8 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
191
192
|
- `metadata.required` propaga `aria-required` para a lista, e erro de validacao propaga `aria-invalid`.
|
|
192
193
|
- Estados governados (`disabledMode`, `readonlyMode`, `presentationMode`, `metadata.readonly` e `FormControl.disabled`) bloqueiam mutacoes por clique, teclado e handlers publicos.
|
|
193
194
|
- `disabledMode`/`FormControl.disabled` expoem `aria-disabled`; readonly/presentation expoem `aria-readonly`.
|
|
194
|
-
- `searchable`
|
|
195
|
+
- `searchable` filtra as opcoes visiveis via `filteredOptions()` enquanto `onSelectionChange()` aplica deltas no `FormControl` preservando valores ja selecionados que estejam ocultos pelo termo de busca.
|
|
196
|
+
- `selectAll` (quando `multiple=true`) alterna as opcoes visiveis respeitando `maxSelections`, preservando selecoes ocultas durante a busca e desabilitando o botao quando `filteredOptions()` fica vazio.
|
|
195
197
|
|
|
196
198
|
### External side channels
|
|
197
199
|
|
|
@@ -214,9 +216,9 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
214
216
|
|
|
215
217
|
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
216
218
|
| --- | --- | --- | --- | --- |
|
|
217
|
-
| Runtime | `true` |
|
|
219
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.component.ts` | Fluxos principais, toolbar `searchable` com `filteredOptions()`, acao `selectAll` em modo multiplo e guardas de estado `readonly`/`disabled`/`presentation` verificados em specs focadas. |
|
|
218
220
|
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
219
|
-
| Editor/Tooling | `
|
|
221
|
+
| Editor/Tooling | `true` | Active | `projects/praxis-metadata-editor/src/lib/config/selection-list.config.ts`, `projects/praxis-metadata-editor/src/lib/components/field-metadata-editor/field-metadata-editor.component.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | `FieldControlType.SELECTION_LIST` mapeado para `selectionListProperties` dedicado em `@praxisui/metadata-editor`, alinhado ao contrato suportado em runtime. |
|
|
220
222
|
|
|
221
223
|
### Runtime coverage boundaries
|
|
222
224
|
|
|
@@ -226,9 +228,8 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
226
228
|
|
|
227
229
|
### Editor and tooling notes
|
|
228
230
|
|
|
229
|
-
- Evidencia de tooling: selector `pdx-*` mapeado em `DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP
|
|
230
|
-
- O
|
|
231
|
-
- Pendencia registrada: completar `selectionList` para honrar o contrato declarado em `metadata.searchable` e `metadata.selectAll`, ou reduzir o contrato canônico antes de promover o tipo para outros contratos de plataforma.
|
|
231
|
+
- Evidencia de tooling: selector `pdx-*` mapeado em `DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP`, semeado no `ComponentRegistryService` e editavel via `selectionListProperties` em `FieldMetadataEditorComponent`.
|
|
232
|
+
- O editor visual expoe apenas as propriedades honradas pelo componente em runtime (`searchable`, `selectAll`, `maxSelections`, `multiple`, `loadOn`, fonte remota e acoes clear).
|
|
232
233
|
- Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
|
|
233
234
|
- Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
|
|
234
235
|
|
|
@@ -314,8 +315,8 @@ Use quando precisar:
|
|
|
314
315
|
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
315
316
|
| --- | --- | --- | --- |
|
|
316
317
|
| `metadata.controlType` | `'selectionList'` | Ativo | Identifica o renderer de lista Material. |
|
|
317
|
-
| `metadata.
|
|
318
|
-
| `metadata.
|
|
318
|
+
| `metadata.options` | `Array<{ value; label?; text?; disabled? }>` | Ativo | Fonte canonica principal de opcoes da lista (prioritaria sobre `listOptions`). |
|
|
319
|
+
| `metadata.listOptions` | `Array<{ value; text; label?; disabled? }>` | Depreciado | Alias legado honrado quando `metadata.options` e omitido. |
|
|
319
320
|
| `metadata.multiple` | `boolean` | Ativo | Controla lista single ou multipla. |
|
|
320
321
|
| `metadata.maxSelections` | `number` | Ativo | Enforcado em `onSelectionChange` no modo multiplo. |
|
|
321
322
|
| `metadata.required` | `boolean` | Ativo | Propaga `aria-required` na lista de selecao. |
|
|
@@ -324,8 +325,8 @@ Use quando precisar:
|
|
|
324
325
|
| `metadata.filterCriteria` | `Record<string, any>` | Ativo | Filtros base para endpoint remoto. |
|
|
325
326
|
| `metadata.optionLabelKey` | `string` | Ativo | Chave de label para payload remoto. |
|
|
326
327
|
| `metadata.optionValueKey` | `string` | Ativo | Chave de value para payload remoto. |
|
|
327
|
-
| `metadata.searchable` | `boolean` |
|
|
328
|
-
| `metadata.selectAll` | `boolean` |
|
|
328
|
+
| `metadata.searchable` | `boolean` | Ativo | Renderiza campo de busca no topo da lista e filtra opcoes via `filteredOptions()`. |
|
|
329
|
+
| `metadata.selectAll` | `boolean` | Ativo | Exibe botao de selecionar/limpar todos quando `multiple=true`, respeitando `maxSelections` e estado bloqueado. |
|
|
329
330
|
| `metadata.leftLabel` | `string` | Declared-only | Declarado no contrato, sem uso em runtime desta lista. |
|
|
330
331
|
| `metadata.rightLabel` | `string` | Declared-only | Declarado no contrato, sem uso em runtime desta lista. |
|
|
331
332
|
| `metadata.leftPlaceholder` | `string` | Declared-only | Sem uso neste componente. |
|
|
@@ -340,9 +341,9 @@ Contrato compartilhado de input base:
|
|
|
340
341
|
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
341
342
|
|
|
342
343
|
Resumo de composicao deste componente:
|
|
343
|
-
- `Ativo`:
|
|
344
|
-
- `Declared-only`: campos de transfer-list reutilizados no contrato de metadata.
|
|
345
|
-
- `
|
|
344
|
+
- `Ativo`: `options`, `searchable`, `selectAll`, `multiple`, `maxSelections`, fonte remota (`resourcePath` / `optionSource`) e clear button.
|
|
345
|
+
- `Declared-only`: campos de transfer-list reutilizados no contrato de metadata (`leftLabel`, `rightLabel`, `leftPlaceholder`, `rightPlaceholder`, `minSelections`).
|
|
346
|
+
- `Depreciado`: alias legado `listOptions` (honrado quando `options` nao vem; convertido em `options` ao editar via `@praxisui/metadata-editor`).
|
|
346
347
|
|
|
347
348
|
### 4. Mapeamento de Comportamento
|
|
348
349
|
- Selecao: single/multiple conforme `metadata.multiple`.
|
|
@@ -393,11 +394,11 @@ Uso: selecao unica em formato de lista.
|
|
|
393
394
|
Uso: lista multipla remota com limite de selecao e limpeza rapida.
|
|
394
395
|
|
|
395
396
|
### 7. Troubleshooting e Armadilhas Comuns
|
|
396
|
-
1.
|
|
397
|
-
Correcao: `searchable` e
|
|
397
|
+
1. Opcoes desaparecem ou nao preservam selecao ao digitar na busca.
|
|
398
|
+
Correcao: ative `searchable: true`; `filteredOptions()` filtra os itens visiveis e `onSelectionChange()` aplica alteracoes por delta para preservar selecoes ocultas pelo termo digitado.
|
|
398
399
|
|
|
399
|
-
2.
|
|
400
|
-
Correcao: `selectAll`
|
|
400
|
+
2. Botao "Selecionar todos" fica desabilitado durante uma busca.
|
|
401
|
+
Correcao: `selectAll: true` requer `multiple: true` e ao menos uma opcao visivel em `filteredOptions()`. O botao alterna apenas os itens visiveis respeitando `maxSelections`.
|
|
401
402
|
|
|
402
403
|
3. Limite de selecao nao respeitado.
|
|
403
404
|
Correcao: conferir se `multiple=true` e `maxSelections` inteiro > 0.
|
|
@@ -432,16 +433,16 @@ Correcao: validar `resourcePath`, shape do payload e chaves `optionLabelKey/opti
|
|
|
432
433
|
| `visible` | boolean | false | `true` | Active | See Detailed API reference. |
|
|
433
434
|
| `presentationMode` | boolean | false | `false` | Active | See Detailed API reference. |
|
|
434
435
|
| `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference. |
|
|
435
|
-
| `metadata.
|
|
436
|
-
| `metadata.
|
|
437
|
-
| `metadata.multiple` | boolean | false | n/a |
|
|
438
|
-
| `metadata.maxSelections` | number | false | n/a |
|
|
439
|
-
| `metadata.resourcePath` | string | false | n/a |
|
|
440
|
-
| `metadata.filterCriteria` | unknown | false | n/a |
|
|
441
|
-
| `metadata.optionLabelKey` | string | false | n/a |
|
|
442
|
-
| `metadata.optionValueKey` | string | false | n/a |
|
|
443
|
-
| `metadata.searchable` | boolean | false | n/a |
|
|
444
|
-
| `metadata.selectAll` | boolean | false | n/a |
|
|
436
|
+
| `metadata.options` | array | false | n/a | Active | Canonical static options source (`selectionListProperties`). |
|
|
437
|
+
| `metadata.listOptions` | array | false | n/a | Deprecated | Legacy alias honored when `metadata.options` is omitted. |
|
|
438
|
+
| `metadata.multiple` | boolean | false | n/a | Active | See Detailed API reference. |
|
|
439
|
+
| `metadata.maxSelections` | number | false | n/a | Active | See Detailed API reference. |
|
|
440
|
+
| `metadata.resourcePath` | string | false | n/a | Active | See Detailed API reference. |
|
|
441
|
+
| `metadata.filterCriteria` | unknown | false | n/a | Active | See Detailed API reference. |
|
|
442
|
+
| `metadata.optionLabelKey` | string | false | n/a | Active | See Detailed API reference. |
|
|
443
|
+
| `metadata.optionValueKey` | string | false | n/a | Active | See Detailed API reference. |
|
|
444
|
+
| `metadata.searchable` | boolean | false | n/a | Active | Renders search input and filters options via `filteredOptions()`. |
|
|
445
|
+
| `metadata.selectAll` | boolean | false | n/a | Active | Renders select-all toggle when `multiple` is enabled. |
|
|
445
446
|
| `metadata.leftLabel` | string | false | n/a | Partial | See Detailed API reference. |
|
|
446
447
|
| `metadata.rightLabel` | string | false | n/a | Partial | See Detailed API reference. |
|
|
447
448
|
| `metadata.leftPlaceholder` | string | false | n/a | Partial | See Detailed API reference. |
|
|
@@ -595,13 +596,13 @@ Correcao: validar `resourcePath`, shape do payload e chaves `optionLabelKey/opti
|
|
|
595
596
|
|
|
596
597
|
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
597
598
|
| --- | --- | --- | --- | --- | --- |
|
|
598
|
-
| Canonical contract parity |
|
|
599
|
+
| Canonical contract parity | Runtime (`searchable`, `selectAll`, `maxSelections`, readonly/disabled guards) e editor (`selectionListProperties`) alinhados e verificados sem divergencias abertas | Manter runtime, schema e editor sincronizados | Low | n/a | Monitor in periodic audit |
|
|
599
600
|
|
|
600
601
|
## Source references (obrigatorio)
|
|
601
602
|
|
|
602
603
|
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
603
604
|
| --- | --- | --- | --- | --- |
|
|
604
|
-
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.metadata.ts | Primary source of truth for contract and behavior. | 2026-
|
|
605
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.component.ts | Primary source of truth for contract and behavior. | 2026-
|
|
606
|
-
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | Primary source of truth for contract and behavior. | 2026-
|
|
607
|
-
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-
|
|
605
|
+
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.metadata.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
606
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-selection-list/material-selection-list.component.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
607
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|
|
608
|
+
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-11-24 | verified-path |
|