@praxisui/dynamic-fields 8.0.0-beta.8 → 8.0.0-beta.80
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/README.md +19 -0
- package/docs/dynamic-fields-field-catalog.md +217 -0
- package/docs/dynamic-fields-field-selection-guide.md +204 -0
- package/docs/dynamic-fields-host-custom-field-guide.md +252 -0
- package/docs/dynamic-fields-host-custom-field-troubleshooting.md +160 -0
- package/docs/dynamic-fields-inline-components-guide.md +582 -0
- package/docs/dynamic-fields-inline-filter-catalog.md +502 -0
- package/docs/dynamic-fields-inline-filter-custom-component-guide.md +241 -0
- package/docs/dynamic-fields-inline-filter-inventory.md +247 -0
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +391 -0
- package/docs/dynamic-fields-inline-filter-selection-guide.md +419 -0
- package/docs/dynamic-fields-inline-filter-troubleshooting.md +201 -0
- package/docs/dynamic-fields-inventory.md +206 -0
- package/docs/dynamic-fields-playground-catalog-plan.md +243 -0
- package/docs/generic-crud-service.md +152 -0
- package/fesm2022/praxisui-dynamic-fields-index-CBogy3si.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-CWPZdn1Y.mjs +6 -0
- package/fesm2022/praxisui-dynamic-fields-index-CrHhyUMO.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-DhGo5In4.mjs +6 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +19551 -10669
- package/package.json +14 -13
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +526 -0
- package/src/lib/base/pdx-base-select-runtime-contract.json-api.md +474 -0
- package/src/lib/components/color-input/pdx-color-input.json-api.md +573 -0
- package/src/lib/components/color-picker/pdx-color-picker.json-api.md +686 -0
- package/src/lib/components/date-input/pdx-date-input.json-api.md +581 -0
- package/src/lib/components/datetime-local-input/pdx-datetime-local-input.json-api.md +560 -0
- package/src/lib/components/email-input/pdx-email-input.json-api.md +546 -0
- package/src/lib/components/field-shell/praxis-field-shell.json-api.md +523 -0
- package/src/lib/components/inline-async-select/pdx-inline-async-select.json-api.md +566 -0
- package/src/lib/components/inline-autocomplete/pdx-inline-autocomplete.json-api.md +554 -0
- package/src/lib/components/inline-color-label/pdx-inline-color-label.json-api.md +615 -0
- package/src/lib/components/inline-currency/pdx-inline-currency.json-api.md +542 -0
- package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +630 -0
- package/src/lib/components/inline-date/pdx-inline-date.json-api.md +529 -0
- package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +592 -0
- package/src/lib/components/inline-distance-radius/pdx-inline-distance-radius.json-api.md +649 -0
- package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +656 -0
- package/src/lib/components/inline-input/pdx-inline-input.json-api.md +538 -0
- package/src/lib/components/inline-multi-select/pdx-inline-multi-select.json-api.md +566 -0
- package/src/lib/components/inline-number/pdx-inline-number.json-api.md +533 -0
- package/src/lib/components/inline-pipeline-status/pdx-inline-pipeline-status.json-api.md +619 -0
- package/src/lib/components/inline-range-slider/pdx-inline-range-slider.json-api.md +605 -0
- package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +594 -0
- package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +623 -0
- package/src/lib/components/inline-score-priority/pdx-inline-score-priority.json-api.md +632 -0
- package/src/lib/components/inline-searchable-select/pdx-inline-searchable-select.json-api.md +564 -0
- package/src/lib/components/inline-select/pdx-inline-select.json-api.md +571 -0
- package/src/lib/components/inline-sentiment/pdx-inline-sentiment.json-api.md +661 -0
- package/src/lib/components/inline-time/pdx-inline-time.json-api.md +573 -0
- package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +635 -0
- package/src/lib/components/inline-toggle/pdx-inline-toggle.json-api.md +516 -0
- package/src/lib/components/inline-tree-select/pdx-inline-tree-select.json-api.md +637 -0
- package/src/lib/components/material-async-select/pdx-material-async-select.json-api.md +566 -0
- package/src/lib/components/material-autocomplete/pdx-material-autocomplete.json-api.md +561 -0
- package/src/lib/components/material-avatar/pdx-material-avatar.json-api.md +670 -0
- package/src/lib/components/material-button/pdx-material-button.json-api.md +572 -0
- package/src/lib/components/material-button-toggle/pdx-material-button-toggle.json-api.md +577 -0
- package/src/lib/components/material-checkbox-group/pdx-material-checkbox-group.json-api.md +611 -0
- package/src/lib/components/material-chips/pdx-material-chips.json-api.md +601 -0
- package/src/lib/components/material-colorpicker/pdx-material-colorpicker.json-api.md +545 -0
- package/src/lib/components/material-cpf-cnpj-input/pdx-material-cpf-cnpj-input.json-api.md +531 -0
- package/src/lib/components/material-currency/pdx-material-currency.json-api.md +569 -0
- package/src/lib/components/material-date-range/pdx-material-date-range.json-api.md +636 -0
- package/src/lib/components/material-datepicker/pdx-material-datepicker.json-api.md +551 -0
- package/src/lib/components/material-file-upload/pdx-material-file-upload.json-api.md +511 -0
- package/src/lib/components/material-multi-select/pdx-material-multi-select.json-api.md +596 -0
- package/src/lib/components/material-multi-select-tree/pdx-material-multi-select-tree.json-api.md +623 -0
- package/src/lib/components/material-price-range/pdx-material-price-range.json-api.md +619 -0
- package/src/lib/components/material-radio-group/pdx-material-radio-group.json-api.md +585 -0
- package/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md +664 -0
- package/src/lib/components/material-rating/pdx-material-rating.json-api.md +551 -0
- package/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md +602 -0
- package/src/lib/components/material-select/pdx-material-select.json-api.md +601 -0
- package/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md +607 -0
- package/src/lib/components/material-slide-toggle/pdx-material-slide-toggle.json-api.md +522 -0
- package/src/lib/components/material-slider/pdx-material-slider.json-api.md +602 -0
- package/src/lib/components/material-textarea/pdx-material-textarea.json-api.md +598 -0
- package/src/lib/components/material-timepicker/pdx-material-timepicker.json-api.md +554 -0
- package/src/lib/components/material-transfer-list/pdx-material-transfer-list.json-api.md +614 -0
- package/src/lib/components/material-tree-select/pdx-material-tree-select.json-api.md +649 -0
- package/src/lib/components/month-input/pdx-month-input.json-api.md +527 -0
- package/src/lib/components/number-input/pdx-number-input.json-api.md +594 -0
- package/src/lib/components/password-input/pdx-password-input.json-api.md +574 -0
- package/src/lib/components/pdx-material-time-range/pdx-material-time-range.json-api.md +592 -0
- package/src/lib/components/pdx-year-input/pdx-year-input.json-api.md +543 -0
- package/src/lib/components/phone-input/pdx-phone-input.json-api.md +583 -0
- package/src/lib/components/preload-status/pdx-preload-status.json-api.md +455 -0
- package/src/lib/components/search-input/pdx-search-input.json-api.md +536 -0
- package/src/lib/components/text-input/pdx-text-input.json-api.md +600 -0
- package/src/lib/components/time-input/pdx-time-input.json-api.md +546 -0
- package/src/lib/components/url-input/pdx-url-input.json-api.md +542 -0
- package/src/lib/components/week-input/pdx-week-input.json-api.md +533 -0
- package/{index.d.ts → types/praxisui-dynamic-fields.d.ts} +874 -440
- package/fesm2022/praxisui-dynamic-fields-index-C9IUU4lo.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-GJtthzkD.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-XvVS6lAQ.mjs +0 -1
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "pdx-material-select JSON API (Canonical)"
|
|
3
|
+
slug: "pdx-material-select-json-api"
|
|
4
|
+
doc_type: "api-reference"
|
|
5
|
+
component: "pdx-material-select"
|
|
6
|
+
document_kind: "json-api-canonical"
|
|
7
|
+
reference_mode: "canonical"
|
|
8
|
+
contract_format: "json"
|
|
9
|
+
contract_source: "runtime-and-code"
|
|
10
|
+
description: "Referencia canonica do contrato JSON do componente pdx-material-select."
|
|
11
|
+
category: "components"
|
|
12
|
+
sub_category: "dynamic-fields"
|
|
13
|
+
audience:
|
|
14
|
+
- "frontend"
|
|
15
|
+
- "architect"
|
|
16
|
+
- "platform-team"
|
|
17
|
+
level: "advanced"
|
|
18
|
+
status: "active"
|
|
19
|
+
owner: "praxis-ui"
|
|
20
|
+
source_of_truth:
|
|
21
|
+
- "projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts"
|
|
22
|
+
- "projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts"
|
|
23
|
+
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts"
|
|
24
|
+
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
25
|
+
source_of_truth_last_verified: "2026-03-06"
|
|
26
|
+
last_updated: "2026-03-06"
|
|
27
|
+
toc: true
|
|
28
|
+
sidebar: true
|
|
29
|
+
tags:
|
|
30
|
+
- "json-api"
|
|
31
|
+
- "canonical-contract"
|
|
32
|
+
- "pdx-material-select"
|
|
33
|
+
api_stability: "canonical"
|
|
34
|
+
schema_verified: true
|
|
35
|
+
runtime_verified: true
|
|
36
|
+
editor_coverage_verified: false
|
|
37
|
+
runtime_scope: "public"
|
|
38
|
+
legacy_paths_present: true
|
|
39
|
+
has_known_mismatches: false
|
|
40
|
+
related_components:
|
|
41
|
+
- "praxis-table"
|
|
42
|
+
- "pdx-base-select-runtime-contract"
|
|
43
|
+
- "pdx-base-input-runtime-contract"
|
|
44
|
+
- "pdx-material-multi-select"
|
|
45
|
+
- "pdx-material-searchable-select"
|
|
46
|
+
- "pdx-material-async-select"
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
# pdx-material-select
|
|
50
|
+
|
|
51
|
+
Este documento e a referencia canonica da API JSON de pdx-material-select.
|
|
52
|
+
|
|
53
|
+
## Summary
|
|
54
|
+
|
|
55
|
+
- Tipo documental: API reference canonica de contrato JSON.
|
|
56
|
+
- Source of truth: runtime e codigo declarados no frontmatter.
|
|
57
|
+
- Objetivo operacional: consulta rapida, auditavel e deterministica sob pressao.
|
|
58
|
+
- Resumo funcional: Contrato JSON metadata-driven com comportamento definido por runtime e schema associado.
|
|
59
|
+
|
|
60
|
+
## Purpose and scope
|
|
61
|
+
|
|
62
|
+
- O componente consome payload JSON metadata-driven e expoe comportamento runtime configuravel por contrato.
|
|
63
|
+
- Esta referencia cobre contrato publico, classificacao de paths e semantica de cobertura (runtime/schema/editor).
|
|
64
|
+
- Fora de escopo: quickstart, tutorial narrativo e notas arquiteturais que nao alteram contrato publico.
|
|
65
|
+
|
|
66
|
+
## Consulta rapida (obrigatorio)
|
|
67
|
+
|
|
68
|
+
| Regra/tema | Observado | Canonico desejado | Status | Evidencia |
|
|
69
|
+
| --- | --- | --- | --- | --- |
|
|
70
|
+
| Component id | `pdx-material-select` | Manter ID canonico estavel e versionado por contrato | Active | frontmatter.component |
|
|
71
|
+
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
72
|
+
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts` |
|
|
73
|
+
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
74
|
+
| Editor/tooling coverage | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Partial | `projects/praxis-dynamic-fields/src/lib/editorial/metadata-contract.spec.ts`, `projects/praxis-dynamic-fields/src/lib/editorial/metadata-i18n-contract.spec.ts` |
|
|
75
|
+
| Legacy paths | `true` | Segregar legado de caminhos canonicos com janela de migracao | Partial | frontmatter.legacy_paths_present |
|
|
76
|
+
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
77
|
+
|
|
78
|
+
## Source of truth
|
|
79
|
+
|
|
80
|
+
| Source | Kind | Notes |
|
|
81
|
+
| --- | --- | --- |
|
|
82
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts | schema-metadata | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
83
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
84
|
+
| projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
85
|
+
| projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | schema-types | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
86
|
+
|
|
87
|
+
## Support legend
|
|
88
|
+
|
|
89
|
+
- **Active**: suportado em runtime e liberado para uso externo.
|
|
90
|
+
- **Partial**: suporte parcial, com restricoes, lacunas ou validacao incompleta.
|
|
91
|
+
- **Declared-only**: declarado em tipos/schema sem evidencia operacional completa.
|
|
92
|
+
- **Schema-only**: presente em schema/tipos sem cobertura runtime confirmada.
|
|
93
|
+
- **Deprecated**: legado suportado por janela de migracao definida.
|
|
94
|
+
|
|
95
|
+
## Contract status snapshot
|
|
96
|
+
|
|
97
|
+
| Item | Value | Notes |
|
|
98
|
+
| --- | --- | --- |
|
|
99
|
+
| Reference mode | `canonical` | Deve permanecer canonico |
|
|
100
|
+
| Contract format | `json` | Contrato metadata-driven |
|
|
101
|
+
| Contract source | `runtime-and-code` | Alinhar com source_of_truth |
|
|
102
|
+
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
103
|
+
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
104
|
+
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
105
|
+
| Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
|
|
106
|
+
| Legacy paths present | `true` | Segregar legado de contrato canonico |
|
|
107
|
+
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
108
|
+
|
|
109
|
+
## Contract classification (obrigatorio)
|
|
110
|
+
|
|
111
|
+
### Canonical paths (public contract)
|
|
112
|
+
|
|
113
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
114
|
+
| --- | --- | --- | --- | --- | --- |
|
|
115
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
116
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
117
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
118
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
119
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
120
|
+
|
|
121
|
+
### Supported legacy paths
|
|
122
|
+
|
|
123
|
+
| Legacy path | Canonical replacement | Support window | Runtime behavior | Notes |
|
|
124
|
+
| --- | --- | --- | --- | --- |
|
|
125
|
+
| `metadata.options` | `metadata.selectOptions` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
|
|
126
|
+
|
|
127
|
+
### Internal-only paths
|
|
128
|
+
|
|
129
|
+
Nao ha paths internal-only confirmados no contrato publico desta revisao.
|
|
130
|
+
|
|
131
|
+
### Experimental paths
|
|
132
|
+
|
|
133
|
+
Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
134
|
+
|
|
135
|
+
## Public contract surface (obrigatorio)
|
|
136
|
+
|
|
137
|
+
### Top-level configuration blocks
|
|
138
|
+
|
|
139
|
+
| Block | Purpose | Required | Merge strategy | Notes |
|
|
140
|
+
| --- | --- | --- | --- | --- |
|
|
141
|
+
| `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
142
|
+
| `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
143
|
+
| `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
144
|
+
| `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
145
|
+
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
146
|
+
|
|
147
|
+
### Nested configuration blocks
|
|
148
|
+
|
|
149
|
+
| Path | Type | Required | Default | Constraints | Notes |
|
|
150
|
+
| --- | --- | --- | --- | --- | --- |
|
|
151
|
+
| `metadata` | object | true | n/a | component-defined | Detailed API reference preserves component-specific fields. |
|
|
152
|
+
|
|
153
|
+
### Input bindings (inbound data)
|
|
154
|
+
|
|
155
|
+
| Binding/Path | Type | Required | Source | Runtime normalization | Notes |
|
|
156
|
+
| --- | --- | --- | --- | --- | --- |
|
|
157
|
+
| `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
|
|
158
|
+
| `readonlyMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
159
|
+
| `disabledMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
160
|
+
| `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
161
|
+
| `presentationMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
162
|
+
|
|
163
|
+
### Output events
|
|
164
|
+
|
|
165
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
166
|
+
| --- | --- | --- | --- | --- |
|
|
167
|
+
| `searchTermChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
168
|
+
| `selectionChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
169
|
+
| `openedChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
170
|
+
| `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
171
|
+
| `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
172
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
173
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
174
|
+
|
|
175
|
+
### External side channels
|
|
176
|
+
|
|
177
|
+
| Channel | Direction | Contract | Failure mode | Notes |
|
|
178
|
+
| --- | --- | --- | --- | --- |
|
|
179
|
+
| `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
|
|
180
|
+
|
|
181
|
+
### Host/runtime dependencies
|
|
182
|
+
|
|
183
|
+
| Dependency | Required | Environment | Purpose | Notes |
|
|
184
|
+
| --- | --- | --- | --- | --- |
|
|
185
|
+
| `material-select.metadata.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts`. |
|
|
186
|
+
| `material-select.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts`. |
|
|
187
|
+
| `simple-base-select.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts`. |
|
|
188
|
+
| `material-field-metadata.interface.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-core/src/lib/models/material-field-metadata.interface.ts`. |
|
|
189
|
+
|
|
190
|
+
## Coverage by surface (obrigatorio)
|
|
191
|
+
|
|
192
|
+
### Coverage matrix (runtime, schema/type, editor/tooling)
|
|
193
|
+
|
|
194
|
+
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
195
|
+
| --- | --- | --- | --- | --- |
|
|
196
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
|
|
197
|
+
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
198
|
+
| Editor/Tooling | `false` | Partial | `projects/praxis-dynamic-fields/src/lib/editorial/metadata-contract.spec.ts`, `projects/praxis-dynamic-fields/src/lib/editorial/metadata-i18n-contract.spec.ts` | Wave 1 registry, derived metadata exports and localized editorial resolution are guarded by aggregate editorial specs; end-to-end editor integration not yet verified. |
|
|
199
|
+
|
|
200
|
+
### Runtime coverage boundaries
|
|
201
|
+
|
|
202
|
+
- Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
|
|
203
|
+
- Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
|
|
204
|
+
- Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
|
|
205
|
+
|
|
206
|
+
### Editor and tooling notes
|
|
207
|
+
|
|
208
|
+
- Evidencia parcial: `metadata-contract.spec.ts` e `metadata-i18n-contract.spec.ts` validam a trilha agregada de descriptor editorial, metadata derivado e resolucao localizada no registry.
|
|
209
|
+
- O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
|
|
210
|
+
- Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
|
|
211
|
+
- Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
|
|
212
|
+
|
|
213
|
+
## Resolution and precedence model (obrigatorio)
|
|
214
|
+
|
|
215
|
+
### Merge order
|
|
216
|
+
|
|
217
|
+
1. defaults do componente
|
|
218
|
+
2. contrato JSON recebido
|
|
219
|
+
3. overrides de host/runtime
|
|
220
|
+
4. normalizacoes internas
|
|
221
|
+
|
|
222
|
+
### Fallback order
|
|
223
|
+
|
|
224
|
+
contrato explicito -> aliases legados (quando suportados) -> defaults internos -> comportamento seguro
|
|
225
|
+
|
|
226
|
+
### Override points
|
|
227
|
+
|
|
228
|
+
- inputs publicos do componente
|
|
229
|
+
- configuracao JSON de runtime
|
|
230
|
+
- integracoes de host (servicos/tokens/adapters)
|
|
231
|
+
|
|
232
|
+
### Runtime normalization
|
|
233
|
+
|
|
234
|
+
Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
|
|
235
|
+
|
|
236
|
+
### Precedence rules
|
|
237
|
+
|
|
238
|
+
Em conflito entre alias legado e path canonico, priorizar path canonico e registrar janela de migracao do legado.
|
|
239
|
+
|
|
240
|
+
## Validation and error semantics (obrigatorio)
|
|
241
|
+
|
|
242
|
+
### Validation model
|
|
243
|
+
|
|
244
|
+
| Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
|
|
245
|
+
| --- | --- | --- | --- | --- |
|
|
246
|
+
| canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
|
|
247
|
+
|
|
248
|
+
### Invalid and unknown field handling
|
|
249
|
+
|
|
250
|
+
- Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
|
|
251
|
+
- Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
|
|
252
|
+
- Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
|
|
253
|
+
|
|
254
|
+
### Fail-open / fail-closed behavior
|
|
255
|
+
|
|
256
|
+
| Condition | Mode | Runtime behavior | Consumer impact |
|
|
257
|
+
| --- | --- | --- | --- |
|
|
258
|
+
| invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
|
|
259
|
+
|
|
260
|
+
### Runtime warnings vs hard failures
|
|
261
|
+
|
|
262
|
+
| Condition | Severity | Observability | Consumer action |
|
|
263
|
+
| --- | --- | --- | --- |
|
|
264
|
+
| partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
|
|
265
|
+
| mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
|
|
266
|
+
|
|
267
|
+
## Detailed API reference
|
|
268
|
+
### Preserved technical reference (normalized from previous revision)
|
|
269
|
+
|
|
270
|
+
<!--
|
|
271
|
+
component: pdx-material-select
|
|
272
|
+
document: json-api
|
|
273
|
+
source-of-truth:
|
|
274
|
+
- projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts
|
|
275
|
+
- projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts
|
|
276
|
+
- projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts
|
|
277
|
+
- projects/praxis-core/src/lib/models/material-field-metadata.interface.ts
|
|
278
|
+
quality-reference: projects/praxis-table/src/lib/praxis-table.json-api.md
|
|
279
|
+
updated_at: 2026-02-27
|
|
280
|
+
-->
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
`pdx-material-select` e um select config-first para selecao unica: voce descreve opcoes, carga remota e regras de exibicao em JSON, e o runtime aplica o comportamento padrao de formulario corporativo. Nao e um wrapper visual de `mat-select`; e um componente de runtime metadata-driven com contrato versionavel.
|
|
284
|
+
|
|
285
|
+
### Prova em 20 segundos
|
|
286
|
+
|
|
287
|
+
```json
|
|
288
|
+
{
|
|
289
|
+
"componentId": "pdx-material-select",
|
|
290
|
+
"metadata": {
|
|
291
|
+
"name": "department",
|
|
292
|
+
"label": "Departamento",
|
|
293
|
+
"controlType": "select",
|
|
294
|
+
"selectOptions": [
|
|
295
|
+
{ "value": "fin", "text": "Financeiro" },
|
|
296
|
+
{ "value": "it", "text": "Tecnologia" }
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
- O runtime renderiza selecao unica com opcoes declaradas no JSON.
|
|
303
|
+
- Trocar `selectOptions` ou `resourcePath` reconfigura a UI sem alterar template.
|
|
304
|
+
- O mesmo contrato funciona com Reactive Forms/CVA no host.
|
|
305
|
+
|
|
306
|
+
### Table of contents
|
|
307
|
+
|
|
308
|
+
- [Start here](#start-here)
|
|
309
|
+
- [Promessa e limites](#promessa-e-limites)
|
|
310
|
+
- [Controle de comportamento](#controle-de-comportamento)
|
|
311
|
+
- [Status model](#status-model)
|
|
312
|
+
- [Checklist corporativo](#checklist-corporativo)
|
|
313
|
+
- [Contrato tecnico completo](#contrato-tecnico-completo)
|
|
314
|
+
- [API do componente](#api-do-componente)
|
|
315
|
+
- [Matriz completa de cobertura JSON](#matriz-completa-de-cobertura-json)
|
|
316
|
+
- [Saidas runtime compartilhadas](#saidas-runtime-compartilhadas)
|
|
317
|
+
- [Troubleshooting](#troubleshooting)
|
|
318
|
+
- [Cross-links](#cross-links)
|
|
319
|
+
- [Referencias oficiais Angular](#referencias-oficiais-angular)
|
|
320
|
+
|
|
321
|
+
### Start here
|
|
322
|
+
|
|
323
|
+
#### Promessa e limites
|
|
324
|
+
|
|
325
|
+
**O que isso habilita:** select unico declarativo com fonte local/remota, opcao vazia, clear button e estados de host (`readonly`, `disabled`, `presentation`).
|
|
326
|
+
|
|
327
|
+
**Quando usar:** campos de dominio com escolha unica onde o payload deve ser governado por metadata.
|
|
328
|
+
|
|
329
|
+
**Exemplo minimo:** `metadata.selectOptions` para fonte estatica ou `metadata.resourcePath` para fonte remota.
|
|
330
|
+
|
|
331
|
+
Garantias:
|
|
332
|
+
|
|
333
|
+
- `metadata.selectOptions` e `metadata.resourcePath` sao consumidos no runtime.
|
|
334
|
+
- valor e ciclo de mudanca integram com CVA/Reactive Forms.
|
|
335
|
+
- opcao vazia e suporte a filtro remoto seguem o contrato base de select.
|
|
336
|
+
|
|
337
|
+
Limites:
|
|
338
|
+
|
|
339
|
+
- componente opera em selecao unica (nao e multi-select).
|
|
340
|
+
- `searchable=true` nao renderiza caixa de busca embutida neste template.
|
|
341
|
+
- `clearButton` e suportado via runtime base, mas nao tipado explicitamente em `MaterialSelectMetadata`.
|
|
342
|
+
|
|
343
|
+
#### Controle de comportamento
|
|
344
|
+
|
|
345
|
+
**O que isso habilita:** padrao unico de carregamento local/remoto e exibicao de opcoes no `mat-select`.
|
|
346
|
+
|
|
347
|
+
**Quando usar:** quando a regra de negocio exige previsibilidade de UX e compatibilidade entre squads.
|
|
348
|
+
|
|
349
|
+
**Exemplo minimo:** `metadata.emptyOptionText` para item nulo em fluxos de filtro.
|
|
350
|
+
|
|
351
|
+
Precedencia de comportamento:
|
|
352
|
+
|
|
353
|
+
1. `metadata.selectOptions` e usado como fonte principal de opcoes locais.
|
|
354
|
+
2. `metadata.options` entra apenas como alias legado quando `selectOptions` nao existe.
|
|
355
|
+
3. `metadata.multiple` e forcado para `false` no runtime deste componente.
|
|
356
|
+
|
|
357
|
+
#### Status model
|
|
358
|
+
|
|
359
|
+
- `Status: Active` - chave consumida diretamente no runtime do componente/base.
|
|
360
|
+
- `Status: Partial` - chave existe no contrato, mas nao tem efeito pleno neste componente.
|
|
361
|
+
- `Status: Declared-only` - chave declarada para compatibilidade, sem efeito direto aqui.
|
|
362
|
+
- `Status: Runtime-extension` - chave suportada no runtime base fora da tipagem especifica local.
|
|
363
|
+
|
|
364
|
+
#### Checklist corporativo
|
|
365
|
+
|
|
366
|
+
- padronize `optionLabelKey` e `optionValueKey` por dominio de API.
|
|
367
|
+
- use `emptyOptionText` quando houver estado "sem selecao" funcional.
|
|
368
|
+
- prefira `resourcePath` para listas dinamicas com governanca de backend.
|
|
369
|
+
- trate validacao de negocio (ex.: obrigatoriedade contextual) no formulario host.
|
|
370
|
+
|
|
371
|
+
### Contrato tecnico completo
|
|
372
|
+
|
|
373
|
+
#### API do componente
|
|
374
|
+
|
|
375
|
+
| Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
|
|
376
|
+
| --- | --- | --- | --- | --- |
|
|
377
|
+
| `metadata` | `MaterialSelectMetadata` | - | Sim | Contrato principal do select. |
|
|
378
|
+
| `readonlyMode` | `boolean` | `false` | Nao | Sobrescreve modo leitura no host. |
|
|
379
|
+
| `disabledMode` | `boolean` | `false` | Nao | Sobrescreve estado disabled no host. |
|
|
380
|
+
| `visible` | `boolean` | `true` | Nao | Controla exibicao do host. |
|
|
381
|
+
| `presentationMode` | `boolean` | `false` | Nao | Modo apresentacao sem interacao. |
|
|
382
|
+
| `selectionChange` | `T \| T[]` | - | Output herdado | Emitido pelo runtime base em mudanca de valor. |
|
|
383
|
+
| `optionSelected` | `SelectOption` | - | Output herdado | Emitido em selecao individual. |
|
|
384
|
+
| `optionsLoaded` | `SelectOption[]` | - | Output herdado | Emitido apos carga remota. |
|
|
385
|
+
| `openedChange` | `boolean` | - | Output herdado | Emitido ao abrir/fechar painel. |
|
|
386
|
+
| `searchTermChange` | `string` | - | Output herdado | Emitido por fluxos de busca no base. |
|
|
387
|
+
|
|
388
|
+
#### Matriz completa de cobertura JSON
|
|
389
|
+
|
|
390
|
+
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
391
|
+
| --- | --- | --- | --- |
|
|
392
|
+
| `metadata.name` | `string` | Active | Identificador do campo no formulario/modelo. |
|
|
393
|
+
| `metadata.label` | `string` | Active | Rotulo exibido no campo. |
|
|
394
|
+
| `metadata.controlType` | `'select' \| 'multiSelect'` | Active | Contrato de select aceito; runtime opera em modo single neste componente. |
|
|
395
|
+
| `metadata.selectOptions` | `Array<{ value; text; label?; disabled? }>` | Active | Fonte principal de opcoes locais. |
|
|
396
|
+
| `metadata.options` | `Array<any>` | Runtime-extension | Alias legado quando `selectOptions` nao e informado. |
|
|
397
|
+
| `metadata.emptyOptionText` | `string` | Active | Exibe opcao vazia com valor `null`. |
|
|
398
|
+
| `metadata.searchable` | `boolean` | Partial | Campo existe no contrato base, mas nao renderiza input de busca aqui. |
|
|
399
|
+
| `metadata.multiple` | `boolean` | Partial | Campo declarado, porem runtime deste componente permanece single (`false`). |
|
|
400
|
+
| `metadata.selectAll` | `boolean` | Partial | Sem efeito funcional em modo single. |
|
|
401
|
+
| `metadata.maxSelections` | `number` | Partial | Sem efeito funcional em modo single. |
|
|
402
|
+
| `metadata.resourcePath` | `string` | Active | Habilita carga remota de opcoes. |
|
|
403
|
+
| `metadata.filterCriteria` | `Record<string, any>` | Active | Filtros base para consulta remota. |
|
|
404
|
+
| `metadata.optionLabelKey` | `string` | Active | Chave para extrair label em resposta remota. |
|
|
405
|
+
| `metadata.optionValueKey` | `string` | Active | Chave para extrair value em resposta remota. |
|
|
406
|
+
| `metadata.loadOn` | `'open' \| 'init' \| 'none'` | Partial | Estrategia de carga definida no contrato base; depende do fluxo usado pelo filho. |
|
|
407
|
+
| `metadata.dependencyLoadOnChange` | `'respectLoadOn' \| 'immediate' \| 'manual'` | Active | Regras de recarga quando dependencias mudam. |
|
|
408
|
+
| `metadata.clearButton` | `boolean \| object` | Runtime-extension | Suportado por `showClear()` no runtime base. |
|
|
409
|
+
|
|
410
|
+
Contrato compartilhado completo:
|
|
411
|
+
|
|
412
|
+
- [pdx-base-select-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-select-runtime-contract.json-api.md)
|
|
413
|
+
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
414
|
+
|
|
415
|
+
#### Saidas runtime compartilhadas
|
|
416
|
+
|
|
417
|
+
`pdx-material-select` nao declara `@Output` proprio no metadata local; o runtime reutiliza os eventos herdados do `SimpleBaseSelectComponent` quando aplicavel.
|
|
418
|
+
|
|
419
|
+
#### Troubleshooting
|
|
420
|
+
|
|
421
|
+
1. Multi-selecao nao funciona neste componente.
|
|
422
|
+
Correcao: use `pdx-material-multi-select` ou `pdx-material-async-select` com `multiple=true`.
|
|
423
|
+
|
|
424
|
+
2. `searchable=true` nao exibe campo de busca.
|
|
425
|
+
Correcao: use `pdx-material-searchable-select` para busca embutida.
|
|
426
|
+
|
|
427
|
+
3. Opcoes nao carregam no remoto.
|
|
428
|
+
Correcao: valide `resourcePath`, `filterCriteria` e mapeamento `optionLabelKey/optionValueKey`.
|
|
429
|
+
|
|
430
|
+
4. O campo aceita valor invalido apos mudanca de dependencia.
|
|
431
|
+
Correcao: configure cascata (`dependencyFields`, `resetOnDependentChange`) no contrato base.
|
|
432
|
+
|
|
433
|
+
5. Clear button nao aparece.
|
|
434
|
+
Correcao: verifique `clearButton` e estados `readonlyMode`, `disabledMode` e `presentationMode`.
|
|
435
|
+
|
|
436
|
+
#### Cross-links
|
|
437
|
+
|
|
438
|
+
- `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/pdx-material-multi-select.json-api.md`
|
|
439
|
+
- `projects/praxis-dynamic-fields/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md`
|
|
440
|
+
- `projects/praxis-dynamic-fields/src/lib/components/material-async-select/pdx-material-async-select.json-api.md`
|
|
441
|
+
|
|
442
|
+
### Referencias oficiais Angular
|
|
443
|
+
|
|
444
|
+
- Acessibilidade em Angular: https://angular.dev/best-practices/a11y
|
|
445
|
+
- Criacao e manutencao de libraries: https://angular.dev/tools/libraries/creating-libraries
|
|
446
|
+
|
|
447
|
+
## JSON path index (obrigatorio)
|
|
448
|
+
|
|
449
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
450
|
+
| --- | --- | --- | --- | --- | --- |
|
|
451
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
452
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
453
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
454
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
455
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
456
|
+
|
|
457
|
+
## Events reference (obrigatorio)
|
|
458
|
+
|
|
459
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
460
|
+
| --- | --- | --- | --- | --- |
|
|
461
|
+
| `searchTermChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
462
|
+
| `selectionChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
463
|
+
| `openedChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
464
|
+
| `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
465
|
+
| `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
466
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
467
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
468
|
+
|
|
469
|
+
## Styling API (obrigatorio quando aplicavel)
|
|
470
|
+
|
|
471
|
+
| Token/Class | Scope | Purpose | Notes |
|
|
472
|
+
| --- | --- | --- | --- |
|
|
473
|
+
| `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
|
|
474
|
+
|
|
475
|
+
## Examples (obrigatorio)
|
|
476
|
+
|
|
477
|
+
| Example | Scenario | Validates | Notes |
|
|
478
|
+
| --- | --- | --- | --- |
|
|
479
|
+
| `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
|
|
480
|
+
| `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
|
|
481
|
+
| `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
|
|
482
|
+
| `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
|
|
483
|
+
|
|
484
|
+
### Minimal valid
|
|
485
|
+
|
|
486
|
+
```json
|
|
487
|
+
{
|
|
488
|
+
"componentId": "pdx-material-select",
|
|
489
|
+
"metadata": {
|
|
490
|
+
"name": "department",
|
|
491
|
+
"label": "Departamento",
|
|
492
|
+
"controlType": "select",
|
|
493
|
+
"selectOptions": [
|
|
494
|
+
{
|
|
495
|
+
"value": "fin",
|
|
496
|
+
"text": "Financeiro"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"value": "it",
|
|
500
|
+
"text": "Tecnologia"
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
"readonlyMode": false
|
|
505
|
+
}
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
### Common setup
|
|
509
|
+
|
|
510
|
+
```json
|
|
511
|
+
{
|
|
512
|
+
"componentId": "pdx-material-select",
|
|
513
|
+
"metadata": {
|
|
514
|
+
"name": "department",
|
|
515
|
+
"label": "Departamento",
|
|
516
|
+
"controlType": "select",
|
|
517
|
+
"selectOptions": [
|
|
518
|
+
{
|
|
519
|
+
"value": "fin",
|
|
520
|
+
"text": "Financeiro"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"value": "it",
|
|
524
|
+
"text": "Tecnologia"
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
"readonlyMode": true
|
|
529
|
+
}
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
### Advanced setup
|
|
533
|
+
|
|
534
|
+
```json
|
|
535
|
+
{
|
|
536
|
+
"componentId": "pdx-material-select",
|
|
537
|
+
"metadata": {
|
|
538
|
+
"name": "department",
|
|
539
|
+
"label": "Departamento",
|
|
540
|
+
"controlType": "select",
|
|
541
|
+
"selectOptions": [
|
|
542
|
+
{
|
|
543
|
+
"value": "fin",
|
|
544
|
+
"text": "Financeiro"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"value": "it",
|
|
548
|
+
"text": "Tecnologia"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
"readonlyMode": false,
|
|
553
|
+
"disabledMode": false
|
|
554
|
+
}
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
### Enterprise scenario
|
|
558
|
+
|
|
559
|
+
```json
|
|
560
|
+
{
|
|
561
|
+
"componentId": "pdx-material-select",
|
|
562
|
+
"metadata": {
|
|
563
|
+
"name": "department",
|
|
564
|
+
"label": "Departamento",
|
|
565
|
+
"controlType": "select",
|
|
566
|
+
"selectOptions": [
|
|
567
|
+
{
|
|
568
|
+
"value": "fin",
|
|
569
|
+
"text": "Financeiro"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"value": "it",
|
|
573
|
+
"text": "Tecnologia"
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"presentationMode": true,
|
|
578
|
+
"visible": true
|
|
579
|
+
}
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
## Compatibility and migration notes (recomendado)
|
|
583
|
+
|
|
584
|
+
| Concern | Affected versions | Migration action | Deadline | Notes |
|
|
585
|
+
| --- | --- | --- | --- | --- |
|
|
586
|
+
| Legacy aliases coexist with canonical paths | Active consumers using legacy JSON keys | Keep canonical paths for new usage and map aliases in migration backlog | not-yet-defined | Track via component-level migration issue |
|
|
587
|
+
|
|
588
|
+
## Known limitations and mismatches (recomendado)
|
|
589
|
+
|
|
590
|
+
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
591
|
+
| --- | --- | --- | --- | --- | --- |
|
|
592
|
+
| Canonical contract parity | No confirmed mismatch in this revision; runtime linkage verified for core flows (2026-03-06), with editor/tooling coverage pending | Keep runtime/schema/editor alignment evidence updated | Low | n/a | Monitor in periodic audit |
|
|
593
|
+
|
|
594
|
+
## Source references (obrigatorio)
|
|
595
|
+
|
|
596
|
+
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
597
|
+
| --- | --- | --- | --- | --- |
|
|
598
|
+
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.metadata.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
599
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-select/material-select.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
600
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
601
|
+
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|