@praxisui/dynamic-fields 8.0.0-beta.6 → 8.0.0-beta.60
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,596 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "pdx-material-multi-select JSON API (Canonical)"
|
|
3
|
+
slug: "pdx-material-multi-select-json-api"
|
|
4
|
+
doc_type: "api-reference"
|
|
5
|
+
component: "pdx-material-multi-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-multi-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-multi-select/material-multi-select.metadata.ts"
|
|
22
|
+
- "projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-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-04-27"
|
|
26
|
+
last_updated: "2026-04-27"
|
|
27
|
+
toc: true
|
|
28
|
+
sidebar: true
|
|
29
|
+
tags:
|
|
30
|
+
- "json-api"
|
|
31
|
+
- "canonical-contract"
|
|
32
|
+
- "pdx-material-multi-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-searchable-select"
|
|
45
|
+
- "pdx-material-async-select"
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
# pdx-material-multi-select
|
|
49
|
+
|
|
50
|
+
Este documento e a referencia canonica da API JSON de pdx-material-multi-select.
|
|
51
|
+
|
|
52
|
+
## Summary
|
|
53
|
+
|
|
54
|
+
- Tipo documental: API reference canonica de contrato JSON.
|
|
55
|
+
- Source of truth: runtime e codigo declarados no frontmatter.
|
|
56
|
+
- Objetivo operacional: consulta rapida, auditavel e deterministica sob pressao.
|
|
57
|
+
- Resumo funcional: Contrato JSON metadata-driven com comportamento definido por runtime e schema associado.
|
|
58
|
+
|
|
59
|
+
## Purpose and scope
|
|
60
|
+
|
|
61
|
+
- O componente consome payload JSON metadata-driven e expoe comportamento runtime configuravel por contrato.
|
|
62
|
+
- Esta referencia cobre contrato publico, classificacao de paths e semantica de cobertura (runtime/schema/editor).
|
|
63
|
+
- Fora de escopo: quickstart, tutorial narrativo e notas arquiteturais que nao alteram contrato publico.
|
|
64
|
+
|
|
65
|
+
## Consulta rapida (obrigatorio)
|
|
66
|
+
|
|
67
|
+
| Regra/tema | Observado | Canonico desejado | Status | Evidencia |
|
|
68
|
+
| --- | --- | --- | --- | --- |
|
|
69
|
+
| Component id | `pdx-material-multi-select` | Manter ID canonico estavel e versionado por contrato | Active | frontmatter.component |
|
|
70
|
+
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
71
|
+
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.component.ts`; focused component specs for max selections, select all and governed states, 2026-04-27 |
|
|
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 | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Partial | `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` |
|
|
74
|
+
| Legacy paths | `true` | Segregar legado de caminhos canonicos com janela de migracao | Partial | frontmatter.legacy_paths_present |
|
|
75
|
+
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
76
|
+
|
|
77
|
+
## Source of truth
|
|
78
|
+
|
|
79
|
+
| Source | Kind | Notes |
|
|
80
|
+
| --- | --- | --- |
|
|
81
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.metadata.ts | schema-metadata | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
82
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
83
|
+
| projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
84
|
+
| projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | schema-types | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
85
|
+
|
|
86
|
+
## Support legend
|
|
87
|
+
|
|
88
|
+
- **Active**: suportado em runtime e liberado para uso externo.
|
|
89
|
+
- **Partial**: suporte parcial, com restricoes, lacunas ou validacao incompleta.
|
|
90
|
+
- **Declared-only**: declarado em tipos/schema sem evidencia operacional completa.
|
|
91
|
+
- **Schema-only**: presente em schema/tipos sem cobertura runtime confirmada.
|
|
92
|
+
- **Deprecated**: legado suportado por janela de migracao definida.
|
|
93
|
+
|
|
94
|
+
## Contract status snapshot
|
|
95
|
+
|
|
96
|
+
| Item | Value | Notes |
|
|
97
|
+
| --- | --- | --- |
|
|
98
|
+
| Reference mode | `canonical` | Deve permanecer canonico |
|
|
99
|
+
| Contract format | `json` | Contrato metadata-driven |
|
|
100
|
+
| Contract source | `runtime-and-code` | Alinhar com source_of_truth |
|
|
101
|
+
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
102
|
+
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
103
|
+
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
104
|
+
| Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
|
|
105
|
+
| Legacy paths present | `true` | Segregar legado de contrato canonico |
|
|
106
|
+
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
107
|
+
|
|
108
|
+
## Contract classification (obrigatorio)
|
|
109
|
+
|
|
110
|
+
### Canonical paths (public contract)
|
|
111
|
+
|
|
112
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
113
|
+
| --- | --- | --- | --- | --- | --- |
|
|
114
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
115
|
+
| `readonlyMode` | boolean | false | `false` | Active | Bloqueia selecao, clear e handlers publicos governados sem declarar disabled. |
|
|
116
|
+
| `disabledMode` | boolean | false | `false` | Active | Desabilita o `FormControl`, bloqueia painel/opcoes e handlers publicos governados. |
|
|
117
|
+
| `visible` | boolean | false | `true` | Active | Controla `display` do host e `aria-hidden` quando invisivel. |
|
|
118
|
+
| `presentationMode` | boolean | false | `false` | Active | Renderiza sem permitir mutacao por interacao ou handlers publicos governados. |
|
|
119
|
+
|
|
120
|
+
### Supported legacy paths
|
|
121
|
+
|
|
122
|
+
| Legacy path | Canonical replacement | Support window | Runtime behavior | Notes |
|
|
123
|
+
| --- | --- | --- | --- | --- |
|
|
124
|
+
| `metadata.options` | `metadata.selectOptions` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
|
|
125
|
+
|
|
126
|
+
### Internal-only paths
|
|
127
|
+
|
|
128
|
+
Nao ha paths internal-only confirmados no contrato publico desta revisao.
|
|
129
|
+
|
|
130
|
+
### Experimental paths
|
|
131
|
+
|
|
132
|
+
Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
133
|
+
|
|
134
|
+
## Public contract surface (obrigatorio)
|
|
135
|
+
|
|
136
|
+
### Top-level configuration blocks
|
|
137
|
+
|
|
138
|
+
| Block | Purpose | Required | Merge strategy | Notes |
|
|
139
|
+
| --- | --- | --- | --- | --- |
|
|
140
|
+
| `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-04-27). |
|
|
141
|
+
| `readonlyMode` | Override de readonly no host/runtime | false | override | Bloqueia selecao, select all e clear; expoe `aria-readonly` (component specs, 2026-04-27). |
|
|
142
|
+
| `disabledMode` | Override de disabled no host/runtime | false | override | Desabilita o `FormControl`, bloqueia selecao, select all e clear; expoe `aria-disabled` (component specs, 2026-04-27). |
|
|
143
|
+
| `visible` | Override de visibilidade no host/runtime | false | override | Controla display/`aria-hidden` no host. |
|
|
144
|
+
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | Bloqueia mutacao por interacao e handlers publicos governados (component specs, 2026-04-27). |
|
|
145
|
+
|
|
146
|
+
### Nested configuration blocks
|
|
147
|
+
|
|
148
|
+
| Path | Type | Required | Default | Constraints | Notes |
|
|
149
|
+
| --- | --- | --- | --- | --- | --- |
|
|
150
|
+
| `metadata` | object | true | n/a | component-defined | Detailed API reference preserves component-specific fields. |
|
|
151
|
+
|
|
152
|
+
### Input bindings (inbound data)
|
|
153
|
+
|
|
154
|
+
| Binding/Path | Type | Required | Source | Runtime normalization | Notes |
|
|
155
|
+
| --- | --- | --- | --- | --- | --- |
|
|
156
|
+
| `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
|
|
157
|
+
| `readonlyMode` | boolean | false | host-runtime | Angular input binding | Host-level readonly override; blocks mutation without disabling the control. |
|
|
158
|
+
| `disabledMode` | boolean | false | host-runtime | Angular input binding | Host-level disabled override; disables the FormControl and blocks mutation. |
|
|
159
|
+
| `visible` | boolean | false | host-runtime | Angular input binding | Host-level visibility override. |
|
|
160
|
+
| `presentationMode` | boolean | false | host-runtime | Angular input binding | Non-interactive presentation override. |
|
|
161
|
+
|
|
162
|
+
### Output events
|
|
163
|
+
|
|
164
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
165
|
+
| --- | --- | --- | --- | --- |
|
|
166
|
+
| `searchTermChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
167
|
+
| `selectionChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
168
|
+
| `openedChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
169
|
+
| `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
170
|
+
| `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
171
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
172
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
173
|
+
|
|
174
|
+
### Runtime semantics addendum
|
|
175
|
+
|
|
176
|
+
- `disabledMode` sincroniza o estado disabled no `FormControl`, bloqueia abertura/mutacao efetiva e expoe `aria-disabled` no `mat-select`.
|
|
177
|
+
- `readonlyMode` e `presentationMode` bloqueiam `selectOption`, `toggleSelectAll`, `onClearClick`, emissao de `optionSelected` e opcoes interativas sem transformar o controle em disabled.
|
|
178
|
+
- `metadata.maxSelections` continua limitando novas escolhas e desabilita opcoes adicionais quando o limite e atingido.
|
|
179
|
+
- A opcao de `selectAll` respeita `maxSelections`, opcoes disabled e estados governados.
|
|
180
|
+
|
|
181
|
+
### External side channels
|
|
182
|
+
|
|
183
|
+
| Channel | Direction | Contract | Failure mode | Notes |
|
|
184
|
+
| --- | --- | --- | --- | --- |
|
|
185
|
+
| `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
|
|
186
|
+
|
|
187
|
+
### Host/runtime dependencies
|
|
188
|
+
|
|
189
|
+
| Dependency | Required | Environment | Purpose | Notes |
|
|
190
|
+
| --- | --- | --- | --- | --- |
|
|
191
|
+
| `material-multi-select.metadata.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.metadata.ts`. |
|
|
192
|
+
| `material-multi-select.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.component.ts`. |
|
|
193
|
+
| `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`. |
|
|
194
|
+
| `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`. |
|
|
195
|
+
|
|
196
|
+
## Coverage by surface (obrigatorio)
|
|
197
|
+
|
|
198
|
+
### Coverage matrix (runtime, schema/type, editor/tooling)
|
|
199
|
+
|
|
200
|
+
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
201
|
+
| --- | --- | --- | --- | --- |
|
|
202
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.component.ts` | Core runtime flows and governed states verified via focused component specs on 2026-04-27; editor/tooling coverage remains independent. |
|
|
203
|
+
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
204
|
+
| Editor/Tooling | `false` | Partial | `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 tooling linkage verified via default selector map and registry seeding; visual editor end-to-end coverage remains not-yet-verified. |
|
|
205
|
+
|
|
206
|
+
### Runtime coverage boundaries
|
|
207
|
+
|
|
208
|
+
- Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
|
|
209
|
+
- Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
|
|
210
|
+
- Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
|
|
211
|
+
|
|
212
|
+
### Editor and tooling notes
|
|
213
|
+
|
|
214
|
+
- Evidencia de tooling: selector `pdx-*` mapeado em `DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP` e semeado no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
|
|
215
|
+
- O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
|
|
216
|
+
- Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
|
|
217
|
+
- Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
|
|
218
|
+
|
|
219
|
+
## Resolution and precedence model (obrigatorio)
|
|
220
|
+
|
|
221
|
+
### Merge order
|
|
222
|
+
|
|
223
|
+
1. defaults do componente
|
|
224
|
+
2. contrato JSON recebido
|
|
225
|
+
3. overrides de host/runtime
|
|
226
|
+
4. normalizacoes internas
|
|
227
|
+
|
|
228
|
+
### Fallback order
|
|
229
|
+
|
|
230
|
+
contrato explicito -> aliases legados (quando suportados) -> defaults internos -> comportamento seguro
|
|
231
|
+
|
|
232
|
+
### Override points
|
|
233
|
+
|
|
234
|
+
- inputs publicos do componente
|
|
235
|
+
- configuracao JSON de runtime
|
|
236
|
+
- integracoes de host (servicos/tokens/adapters)
|
|
237
|
+
|
|
238
|
+
### Runtime normalization
|
|
239
|
+
|
|
240
|
+
Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
|
|
241
|
+
|
|
242
|
+
### Precedence rules
|
|
243
|
+
|
|
244
|
+
Em conflito entre alias legado e path canonico, priorizar path canonico e registrar janela de migracao do legado.
|
|
245
|
+
|
|
246
|
+
## Validation and error semantics (obrigatorio)
|
|
247
|
+
|
|
248
|
+
### Validation model
|
|
249
|
+
|
|
250
|
+
| Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
|
|
251
|
+
| --- | --- | --- | --- | --- |
|
|
252
|
+
| canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
|
|
253
|
+
|
|
254
|
+
### Invalid and unknown field handling
|
|
255
|
+
|
|
256
|
+
- Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
|
|
257
|
+
- Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
|
|
258
|
+
- Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
|
|
259
|
+
|
|
260
|
+
### Fail-open / fail-closed behavior
|
|
261
|
+
|
|
262
|
+
| Condition | Mode | Runtime behavior | Consumer impact |
|
|
263
|
+
| --- | --- | --- | --- |
|
|
264
|
+
| invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
|
|
265
|
+
|
|
266
|
+
### Runtime warnings vs hard failures
|
|
267
|
+
|
|
268
|
+
| Condition | Severity | Observability | Consumer action |
|
|
269
|
+
| --- | --- | --- | --- |
|
|
270
|
+
| partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
|
|
271
|
+
| mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
|
|
272
|
+
|
|
273
|
+
## Detailed API reference
|
|
274
|
+
### Preserved technical reference (normalized from previous revision)
|
|
275
|
+
|
|
276
|
+
`pdx-material-multi-select` e um select config-first para multiplas escolhas com governanca por metadata. Nao e apenas um toggle de `multiple` no Material; e runtime metadata-driven com limite de selecoes, selecionar todos e integracao local/remota sob contrato comum.
|
|
277
|
+
|
|
278
|
+
### Prova em 20 segundos
|
|
279
|
+
|
|
280
|
+
```json
|
|
281
|
+
{
|
|
282
|
+
"componentId": "pdx-material-multi-select",
|
|
283
|
+
"metadata": {
|
|
284
|
+
"name": "roles",
|
|
285
|
+
"label": "Perfis",
|
|
286
|
+
"controlType": "multiSelect",
|
|
287
|
+
"selectOptions": [
|
|
288
|
+
{ "value": "ADMIN", "text": "Administrador" },
|
|
289
|
+
{ "value": "USER", "text": "Usuario" }
|
|
290
|
+
],
|
|
291
|
+
"maxSelections": 2
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
- O runtime renderiza selecao multipla com bloqueio quando limite e atingido.
|
|
297
|
+
- O mesmo contrato pode migrar para fonte remota via `resourcePath`.
|
|
298
|
+
- Regras de UX ficam versionadas no JSON, nao espalhadas em template.
|
|
299
|
+
|
|
300
|
+
### Table of contents
|
|
301
|
+
|
|
302
|
+
- [Start here](#start-here)
|
|
303
|
+
- [Promessa e limites](#promessa-e-limites)
|
|
304
|
+
- [Controle de comportamento](#controle-de-comportamento)
|
|
305
|
+
- [Status model](#status-model)
|
|
306
|
+
- [Checklist corporativo](#checklist-corporativo)
|
|
307
|
+
- [Contrato tecnico completo](#contrato-tecnico-completo)
|
|
308
|
+
- [API do componente](#api-do-componente)
|
|
309
|
+
- [Matriz completa de cobertura JSON](#matriz-completa-de-cobertura-json)
|
|
310
|
+
- [Saidas runtime compartilhadas](#saidas-runtime-compartilhadas)
|
|
311
|
+
- [Troubleshooting](#troubleshooting)
|
|
312
|
+
- [Cross-links](#cross-links)
|
|
313
|
+
- [Referencias oficiais Angular](#referencias-oficiais-angular)
|
|
314
|
+
|
|
315
|
+
### Start here
|
|
316
|
+
|
|
317
|
+
#### Promessa e limites
|
|
318
|
+
|
|
319
|
+
**O que isso habilita:** multi-select declarativo com limite de escolha, "selecionar todos" e fonte local/remota.
|
|
320
|
+
|
|
321
|
+
**Quando usar:** campos de permissao, classificacao ou associacao onde o usuario escolhe varios itens.
|
|
322
|
+
|
|
323
|
+
**Exemplo minimo:** `controlType='multiSelect'` + `selectOptions`.
|
|
324
|
+
|
|
325
|
+
Garantias:
|
|
326
|
+
|
|
327
|
+
- componente opera em modo multiplo no runtime.
|
|
328
|
+
- `maxSelections` desabilita itens adicionais ao atingir limite.
|
|
329
|
+
- `selectAll` habilita acao de selecao em lote.
|
|
330
|
+
|
|
331
|
+
Limites:
|
|
332
|
+
|
|
333
|
+
- `searchable` no contrato base nao adiciona busca neste template.
|
|
334
|
+
- `emptyOptionText` nao se aplica a fluxo multiplo.
|
|
335
|
+
- para busca embutida, use `pdx-material-searchable-select`.
|
|
336
|
+
|
|
337
|
+
#### Controle de comportamento
|
|
338
|
+
|
|
339
|
+
**O que isso habilita:** selecao multipla consistente com regras de limite e carga remota herdada.
|
|
340
|
+
|
|
341
|
+
**Quando usar:** cenarios onde governanca de selecao precisa ser uniforme entre telas.
|
|
342
|
+
|
|
343
|
+
**Exemplo minimo:** `maxSelections=5` para enforce de regra funcional.
|
|
344
|
+
|
|
345
|
+
Precedencia de comportamento:
|
|
346
|
+
|
|
347
|
+
1. `selectOptions` define fonte local primaria.
|
|
348
|
+
2. `options` funciona como alias legado.
|
|
349
|
+
3. `resourcePath` habilita carga remota com contrato base.
|
|
350
|
+
|
|
351
|
+
#### Status model
|
|
352
|
+
|
|
353
|
+
- `Status: Active` - consumido diretamente no runtime do componente/base.
|
|
354
|
+
- `Status: Partial` - contrato existe, mas efeito e limitado pelo template.
|
|
355
|
+
- `Status: Declared-only` - chave declarada sem efeito direto aqui.
|
|
356
|
+
- `Status: Runtime-extension` - chave adicional aceita no runtime para compatibilidade.
|
|
357
|
+
|
|
358
|
+
#### Checklist corporativo
|
|
359
|
+
|
|
360
|
+
- defina `maxSelections` quando houver restricao de negocio.
|
|
361
|
+
- use `selectAll` apenas quando volume e contexto justificarem batch action.
|
|
362
|
+
- para remoto, padronize `optionLabelKey/optionValueKey` por dominio.
|
|
363
|
+
- mantenha validacao funcional tambem no backend.
|
|
364
|
+
|
|
365
|
+
### Contrato tecnico completo
|
|
366
|
+
|
|
367
|
+
#### API do componente
|
|
368
|
+
|
|
369
|
+
| Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
|
|
370
|
+
| --- | --- | --- | --- | --- |
|
|
371
|
+
| `metadata` | `MaterialSelectMetadata` | - | Sim | Contrato principal do multi-select. |
|
|
372
|
+
| `readonlyMode` | `boolean` | `false` | Nao | Bloqueia interacao e expoe semantica readonly. |
|
|
373
|
+
| `disabledMode` | `boolean` | `false` | Nao | Desabilita o FormControl e expoe semantica disabled. |
|
|
374
|
+
| `visible` | `boolean` | `true` | Nao | Controla exibicao do host. |
|
|
375
|
+
| `presentationMode` | `boolean` | `false` | Nao | Modo apresentacao sem interacao. |
|
|
376
|
+
| `selectionChange` | `T[]` | - | Output herdado | Mudanca do valor selecionado. |
|
|
377
|
+
| `optionSelected` | `SelectOption` | - | Output herdado | Selecao manual de opcao. |
|
|
378
|
+
| `optionsLoaded` | `SelectOption[]` | - | Output herdado | Lote remoto carregado. |
|
|
379
|
+
| `openedChange` | `boolean` | - | Output herdado | Estado de abertura do painel. |
|
|
380
|
+
| `searchTermChange` | `string` | - | Output herdado | Evento de busca herdado do base. |
|
|
381
|
+
|
|
382
|
+
#### Matriz completa de cobertura JSON
|
|
383
|
+
|
|
384
|
+
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
385
|
+
| --- | --- | --- | --- |
|
|
386
|
+
| `metadata.controlType` | `'select' \| 'multiSelect'` | Active | Contrato aceito; componente opera em modo multiplo. |
|
|
387
|
+
| `metadata.selectOptions` | `Array<{ value; text; label?; disabled? }>` | Active | Fonte principal de opcoes estaticas. |
|
|
388
|
+
| `metadata.options` | `Array<any>` | Runtime-extension | Alias legado quando `selectOptions` nao vem. |
|
|
389
|
+
| `metadata.multiple` | `boolean` | Partial | Campo existe, mas componente fixa `multiple=true`. |
|
|
390
|
+
| `metadata.selectAll` | `boolean` | Active | Exibe acao "Selecionar todos" no topo do painel. |
|
|
391
|
+
| `metadata.maxSelections` | `number` | Active | Bloqueia opcoes adicionais quando limite e atingido. |
|
|
392
|
+
| `metadata.resourcePath` | `string` | Active | Habilita carga remota via base select. |
|
|
393
|
+
| `metadata.filterCriteria` | `Record<string, any>` | Active | Filtros base para endpoint remoto. |
|
|
394
|
+
| `metadata.optionLabelKey` | `string` | Active | Chave de label no payload remoto. |
|
|
395
|
+
| `metadata.optionValueKey` | `string` | Active | Chave de value no payload remoto. |
|
|
396
|
+
| `metadata.searchable` | `boolean` | Partial | Campo aceito no contrato base, sem input de busca neste template. |
|
|
397
|
+
| `metadata.emptyOptionText` | `string` | Declared-only | Ignorado em runtime por operar em multipla selecao. |
|
|
398
|
+
| `metadata.loadOn` | `'open' \| 'init' \| 'none'` | Runtime-extension | Estrategia de primeira carga remota herdada do base. |
|
|
399
|
+
| `metadata.dependencyLoadOnChange` | `'respectLoadOn' \| 'immediate' \| 'manual'` | Runtime-extension | Regras de recarga por dependencia no base. |
|
|
400
|
+
|
|
401
|
+
Contrato compartilhado completo:
|
|
402
|
+
|
|
403
|
+
- [pdx-base-select-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-select-runtime-contract.json-api.md)
|
|
404
|
+
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
405
|
+
|
|
406
|
+
#### Saidas runtime compartilhadas
|
|
407
|
+
|
|
408
|
+
Os outputs sao herdados de `SimpleBaseSelectComponent` e servem para integracao de formulario, telemetria e fluxo de host.
|
|
409
|
+
|
|
410
|
+
#### Troubleshooting
|
|
411
|
+
|
|
412
|
+
1. Componente se comporta como single ao enviar `multiple=false`.
|
|
413
|
+
Correcao: este renderer e sempre multiplo por design.
|
|
414
|
+
|
|
415
|
+
2. Busca nao aparece com `searchable=true`.
|
|
416
|
+
Correcao: use `pdx-material-searchable-select` para busca no painel.
|
|
417
|
+
|
|
418
|
+
3. Usuario excede quantidade permitida.
|
|
419
|
+
Correcao: configure `maxSelections` e mantenha validacao no backend.
|
|
420
|
+
|
|
421
|
+
4. Opcao vazia esperada nao aparece.
|
|
422
|
+
Correcao: `emptyOptionText` nao se aplica ao modo multiplo.
|
|
423
|
+
|
|
424
|
+
5. Opcoes remotas nao carregam.
|
|
425
|
+
Correcao: valide `resourcePath`, `loadOn`, permissao e mapeamento de label/value.
|
|
426
|
+
|
|
427
|
+
#### Cross-links
|
|
428
|
+
|
|
429
|
+
- `projects/praxis-dynamic-fields/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md`
|
|
430
|
+
- `projects/praxis-dynamic-fields/src/lib/components/material-async-select/pdx-material-async-select.json-api.md`
|
|
431
|
+
- `projects/praxis-dynamic-fields/src/lib/base/pdx-base-select-runtime-contract.json-api.md`
|
|
432
|
+
|
|
433
|
+
### Referencias oficiais Angular
|
|
434
|
+
|
|
435
|
+
- Acessibilidade em Angular: https://angular.dev/best-practices/a11y
|
|
436
|
+
- Criacao e manutencao de libraries: https://angular.dev/tools/libraries/creating-libraries
|
|
437
|
+
|
|
438
|
+
## JSON path index (obrigatorio)
|
|
439
|
+
|
|
440
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
441
|
+
| --- | --- | --- | --- | --- | --- |
|
|
442
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
443
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
444
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
445
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
446
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
447
|
+
|
|
448
|
+
## Events reference (obrigatorio)
|
|
449
|
+
|
|
450
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
451
|
+
| --- | --- | --- | --- | --- |
|
|
452
|
+
| `searchTermChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
453
|
+
| `selectionChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
454
|
+
| `openedChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
455
|
+
| `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
456
|
+
| `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
457
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
458
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
459
|
+
|
|
460
|
+
## Styling API (obrigatorio quando aplicavel)
|
|
461
|
+
|
|
462
|
+
| Token/Class | Scope | Purpose | Notes |
|
|
463
|
+
| --- | --- | --- | --- |
|
|
464
|
+
| `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
|
|
465
|
+
|
|
466
|
+
## Examples (obrigatorio)
|
|
467
|
+
|
|
468
|
+
| Example | Scenario | Validates | Notes |
|
|
469
|
+
| --- | --- | --- | --- |
|
|
470
|
+
| `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
|
|
471
|
+
| `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
|
|
472
|
+
| `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
|
|
473
|
+
| `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
|
|
474
|
+
|
|
475
|
+
### Minimal valid
|
|
476
|
+
|
|
477
|
+
```json
|
|
478
|
+
{
|
|
479
|
+
"componentId": "pdx-material-multi-select",
|
|
480
|
+
"metadata": {
|
|
481
|
+
"name": "roles",
|
|
482
|
+
"label": "Perfis",
|
|
483
|
+
"controlType": "multiSelect",
|
|
484
|
+
"selectOptions": [
|
|
485
|
+
{
|
|
486
|
+
"value": "ADMIN",
|
|
487
|
+
"text": "Administrador"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"value": "USER",
|
|
491
|
+
"text": "Usuario"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"maxSelections": 2
|
|
495
|
+
},
|
|
496
|
+
"readonlyMode": false
|
|
497
|
+
}
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
### Common setup
|
|
501
|
+
|
|
502
|
+
```json
|
|
503
|
+
{
|
|
504
|
+
"componentId": "pdx-material-multi-select",
|
|
505
|
+
"metadata": {
|
|
506
|
+
"name": "roles",
|
|
507
|
+
"label": "Perfis",
|
|
508
|
+
"controlType": "multiSelect",
|
|
509
|
+
"selectOptions": [
|
|
510
|
+
{
|
|
511
|
+
"value": "ADMIN",
|
|
512
|
+
"text": "Administrador"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"value": "USER",
|
|
516
|
+
"text": "Usuario"
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"maxSelections": 2
|
|
520
|
+
},
|
|
521
|
+
"readonlyMode": true
|
|
522
|
+
}
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
### Advanced setup
|
|
526
|
+
|
|
527
|
+
```json
|
|
528
|
+
{
|
|
529
|
+
"componentId": "pdx-material-multi-select",
|
|
530
|
+
"metadata": {
|
|
531
|
+
"name": "roles",
|
|
532
|
+
"label": "Perfis",
|
|
533
|
+
"controlType": "multiSelect",
|
|
534
|
+
"selectOptions": [
|
|
535
|
+
{
|
|
536
|
+
"value": "ADMIN",
|
|
537
|
+
"text": "Administrador"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"value": "USER",
|
|
541
|
+
"text": "Usuario"
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"maxSelections": 2
|
|
545
|
+
},
|
|
546
|
+
"readonlyMode": false,
|
|
547
|
+
"disabledMode": false
|
|
548
|
+
}
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
### Enterprise scenario
|
|
552
|
+
|
|
553
|
+
```json
|
|
554
|
+
{
|
|
555
|
+
"componentId": "pdx-material-multi-select",
|
|
556
|
+
"metadata": {
|
|
557
|
+
"name": "roles",
|
|
558
|
+
"label": "Perfis",
|
|
559
|
+
"controlType": "multiSelect",
|
|
560
|
+
"selectOptions": [
|
|
561
|
+
{
|
|
562
|
+
"value": "ADMIN",
|
|
563
|
+
"text": "Administrador"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"value": "USER",
|
|
567
|
+
"text": "Usuario"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"maxSelections": 2
|
|
571
|
+
},
|
|
572
|
+
"presentationMode": true,
|
|
573
|
+
"visible": true
|
|
574
|
+
}
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
## Compatibility and migration notes (recomendado)
|
|
578
|
+
|
|
579
|
+
| Concern | Affected versions | Migration action | Deadline | Notes |
|
|
580
|
+
| --- | --- | --- | --- | --- |
|
|
581
|
+
| 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 |
|
|
582
|
+
|
|
583
|
+
## Known limitations and mismatches (recomendado)
|
|
584
|
+
|
|
585
|
+
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
586
|
+
| --- | --- | --- | --- | --- | --- |
|
|
587
|
+
| Canonical contract parity | No confirmed mismatch in this revision; runtime linkage verified for core flows and governed states (2026-04-27), with editor/tooling coverage pending | Keep runtime/schema/editor alignment evidence updated | Low | n/a | Monitor in periodic audit |
|
|
588
|
+
|
|
589
|
+
## Source references (obrigatorio)
|
|
590
|
+
|
|
591
|
+
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
592
|
+
| --- | --- | --- | --- | --- |
|
|
593
|
+
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.metadata.ts | Primary source of truth for contract and behavior. | 2026-04-27 | verified-path |
|
|
594
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-multi-select/material-multi-select.component.ts | Primary source of truth for contract and behavior. | 2026-04-27 | verified-path |
|
|
595
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-select.component.ts | Primary source of truth for contract and behavior. | 2026-04-27 | verified-path |
|
|
596
|
+
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-04-27 | verified-path |
|