@praxisui/dynamic-fields 8.0.0-beta.9 → 8.0.0-beta.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +19 -0
  2. package/docs/dynamic-fields-field-catalog.md +217 -0
  3. package/docs/dynamic-fields-field-selection-guide.md +204 -0
  4. package/docs/dynamic-fields-host-custom-field-guide.md +252 -0
  5. package/docs/dynamic-fields-host-custom-field-troubleshooting.md +160 -0
  6. package/docs/dynamic-fields-inline-components-guide.md +582 -0
  7. package/docs/dynamic-fields-inline-filter-catalog.md +518 -0
  8. package/docs/dynamic-fields-inline-filter-custom-component-guide.md +241 -0
  9. package/docs/dynamic-fields-inline-filter-inventory.md +250 -0
  10. package/docs/dynamic-fields-inline-filter-runtime-contract.md +394 -0
  11. package/docs/dynamic-fields-inline-filter-selection-guide.md +419 -0
  12. package/docs/dynamic-fields-inline-filter-troubleshooting.md +201 -0
  13. package/docs/dynamic-fields-inventory.md +207 -0
  14. package/docs/dynamic-fields-playground-catalog-plan.md +243 -0
  15. package/docs/generic-crud-service.md +152 -0
  16. package/fesm2022/praxisui-dynamic-fields-index-BYVmv78m.mjs +1 -0
  17. package/fesm2022/praxisui-dynamic-fields-index-CWPZdn1Y.mjs +6 -0
  18. package/fesm2022/praxisui-dynamic-fields-index-CrHhyUMO.mjs +1 -0
  19. package/fesm2022/praxisui-dynamic-fields-index-DhGo5In4.mjs +6 -0
  20. package/fesm2022/praxisui-dynamic-fields.mjs +14500 -5745
  21. package/package.json +14 -13
  22. package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +526 -0
  23. package/src/lib/base/pdx-base-select-runtime-contract.json-api.md +474 -0
  24. package/src/lib/components/color-input/pdx-color-input.json-api.md +573 -0
  25. package/src/lib/components/color-picker/pdx-color-picker.json-api.md +686 -0
  26. package/src/lib/components/date-input/pdx-date-input.json-api.md +581 -0
  27. package/src/lib/components/datetime-local-input/pdx-datetime-local-input.json-api.md +560 -0
  28. package/src/lib/components/email-input/pdx-email-input.json-api.md +546 -0
  29. package/src/lib/components/field-shell/praxis-field-shell.json-api.md +523 -0
  30. package/src/lib/components/inline-async-select/pdx-inline-async-select.json-api.md +566 -0
  31. package/src/lib/components/inline-autocomplete/pdx-inline-autocomplete.json-api.md +554 -0
  32. package/src/lib/components/inline-color-label/pdx-inline-color-label.json-api.md +615 -0
  33. package/src/lib/components/inline-currency/pdx-inline-currency.json-api.md +542 -0
  34. package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +630 -0
  35. package/src/lib/components/inline-date/pdx-inline-date.json-api.md +529 -0
  36. package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +592 -0
  37. package/src/lib/components/inline-distance-radius/pdx-inline-distance-radius.json-api.md +649 -0
  38. package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +656 -0
  39. package/src/lib/components/inline-input/pdx-inline-input.json-api.md +538 -0
  40. package/src/lib/components/inline-multi-select/pdx-inline-multi-select.json-api.md +566 -0
  41. package/src/lib/components/inline-number/pdx-inline-number.json-api.md +533 -0
  42. package/src/lib/components/inline-pipeline-status/pdx-inline-pipeline-status.json-api.md +619 -0
  43. package/src/lib/components/inline-range-slider/pdx-inline-range-slider.json-api.md +605 -0
  44. package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +594 -0
  45. package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +623 -0
  46. package/src/lib/components/inline-score-priority/pdx-inline-score-priority.json-api.md +632 -0
  47. package/src/lib/components/inline-searchable-select/pdx-inline-searchable-select.json-api.md +564 -0
  48. package/src/lib/components/inline-select/pdx-inline-select.json-api.md +571 -0
  49. package/src/lib/components/inline-sentiment/pdx-inline-sentiment.json-api.md +661 -0
  50. package/src/lib/components/inline-time/pdx-inline-time.json-api.md +573 -0
  51. package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +635 -0
  52. package/src/lib/components/inline-toggle/pdx-inline-toggle.json-api.md +516 -0
  53. package/src/lib/components/inline-tree-select/pdx-inline-tree-select.json-api.md +637 -0
  54. package/src/lib/components/material-async-select/pdx-material-async-select.json-api.md +566 -0
  55. package/src/lib/components/material-autocomplete/pdx-material-autocomplete.json-api.md +561 -0
  56. package/src/lib/components/material-avatar/pdx-material-avatar.json-api.md +670 -0
  57. package/src/lib/components/material-button/pdx-material-button.json-api.md +572 -0
  58. package/src/lib/components/material-button-toggle/pdx-material-button-toggle.json-api.md +577 -0
  59. package/src/lib/components/material-checkbox-group/pdx-material-checkbox-group.json-api.md +611 -0
  60. package/src/lib/components/material-chips/pdx-material-chips.json-api.md +601 -0
  61. package/src/lib/components/material-colorpicker/pdx-material-colorpicker.json-api.md +545 -0
  62. package/src/lib/components/material-cpf-cnpj-input/pdx-material-cpf-cnpj-input.json-api.md +531 -0
  63. package/src/lib/components/material-currency/pdx-material-currency.json-api.md +569 -0
  64. package/src/lib/components/material-date-range/pdx-material-date-range.json-api.md +636 -0
  65. package/src/lib/components/material-datepicker/pdx-material-datepicker.json-api.md +556 -0
  66. package/src/lib/components/material-file-upload/pdx-material-file-upload.json-api.md +511 -0
  67. package/src/lib/components/material-multi-select/pdx-material-multi-select.json-api.md +596 -0
  68. package/src/lib/components/material-multi-select-tree/pdx-material-multi-select-tree.json-api.md +623 -0
  69. package/src/lib/components/material-price-range/pdx-material-price-range.json-api.md +619 -0
  70. package/src/lib/components/material-radio-group/pdx-material-radio-group.json-api.md +585 -0
  71. package/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md +664 -0
  72. package/src/lib/components/material-rating/pdx-material-rating.json-api.md +551 -0
  73. package/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md +602 -0
  74. package/src/lib/components/material-select/pdx-material-select.json-api.md +601 -0
  75. package/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md +607 -0
  76. package/src/lib/components/material-slide-toggle/pdx-material-slide-toggle.json-api.md +522 -0
  77. package/src/lib/components/material-slider/pdx-material-slider.json-api.md +602 -0
  78. package/src/lib/components/material-textarea/pdx-material-textarea.json-api.md +598 -0
  79. package/src/lib/components/material-timepicker/pdx-material-timepicker.json-api.md +554 -0
  80. package/src/lib/components/material-transfer-list/pdx-material-transfer-list.json-api.md +614 -0
  81. package/src/lib/components/material-tree-select/pdx-material-tree-select.json-api.md +649 -0
  82. package/src/lib/components/month-input/pdx-month-input.json-api.md +527 -0
  83. package/src/lib/components/number-input/pdx-number-input.json-api.md +594 -0
  84. package/src/lib/components/password-input/pdx-password-input.json-api.md +574 -0
  85. package/src/lib/components/pdx-material-time-range/pdx-material-time-range.json-api.md +592 -0
  86. package/src/lib/components/pdx-year-input/pdx-year-input.json-api.md +543 -0
  87. package/src/lib/components/phone-input/pdx-phone-input.json-api.md +583 -0
  88. package/src/lib/components/preload-status/pdx-preload-status.json-api.md +455 -0
  89. package/src/lib/components/search-input/pdx-search-input.json-api.md +536 -0
  90. package/src/lib/components/text-input/pdx-text-input.json-api.md +600 -0
  91. package/src/lib/components/time-input/pdx-time-input.json-api.md +546 -0
  92. package/src/lib/components/url-input/pdx-url-input.json-api.md +542 -0
  93. package/src/lib/components/week-input/pdx-week-input.json-api.md +533 -0
  94. package/{index.d.ts → types/praxisui-dynamic-fields.d.ts} +848 -445
  95. package/fesm2022/praxisui-dynamic-fields-index-C9IUU4lo.mjs +0 -1
  96. package/fesm2022/praxisui-dynamic-fields-index-GJtthzkD.mjs +0 -1
  97. package/fesm2022/praxisui-dynamic-fields-index-XvVS6lAQ.mjs +0 -1
  98. package/fesm2022/praxisui-dynamic-fields-index-iIeaA6ko.mjs +0 -1
@@ -0,0 +1,614 @@
1
+ ---
2
+ title: "pdx-material-transfer-list JSON API (Canonical)"
3
+ slug: "pdx-material-transfer-list-json-api"
4
+ doc_type: "api-reference"
5
+ component: "pdx-material-transfer-list"
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-transfer-list."
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-transfer-list/material-transfer-list.metadata.ts"
22
+ - "projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.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-transfer-list"
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-selection-list"
45
+ - "pdx-material-multi-select"
46
+ ---
47
+
48
+ # pdx-material-transfer-list
49
+
50
+ Este documento e a referencia canonica da API JSON de pdx-material-transfer-list.
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-transfer-list` | 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-transfer-list/material-transfer-list.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.component.ts`; focused component specs for disabled states, empty states, max selections, layout-independent action labels and disabled option immutability, 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-transfer-list/material-transfer-list.metadata.ts | schema-metadata | Arquivo presente no repositorio e usado como evidencia de contrato. |
82
+ | projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.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 | n/a | Partial | See Detailed API reference for runtime semantics. |
116
+ | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
117
+ | `visible` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
118
+ | `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
119
+ | `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
120
+ | `metadata.transferOptions` | array | false | n/a | Partial | See Detailed API reference for runtime semantics. |
121
+ | `metadata.options` | array | false | n/a | Partial | See Detailed API reference for runtime semantics. |
122
+
123
+ ### Supported legacy paths
124
+
125
+ | Legacy path | Canonical replacement | Support window | Runtime behavior | Notes |
126
+ | --- | --- | --- | --- | --- |
127
+ | `metadata.options` | `metadata.transferOptions` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
128
+
129
+ ### Internal-only paths
130
+
131
+ Nao ha paths internal-only confirmados no contrato publico desta revisao.
132
+
133
+ ### Experimental paths
134
+
135
+ Nao ha paths experimentais confirmados no contrato publico desta revisao.
136
+
137
+ ## Public contract surface (obrigatorio)
138
+
139
+ ### Top-level configuration blocks
140
+
141
+ | Block | Purpose | Required | Merge strategy | Notes |
142
+ | --- | --- | --- | --- | --- |
143
+ | `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
144
+ | `readonlyMode` | Override de readonly no host/runtime | false | override | Disables filters, list selection, move actions and drag/drop without mutating the current value; focused component specs, 2026-04-27. |
145
+ | `disabledMode` | Override de disabled no host/runtime | false | override | Disables filters, list selection, move actions and drag/drop without mutating the current value; focused component specs, 2026-04-27. |
146
+ | `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
147
+ | `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | Disables transfer interactions and preserves the current value; focused component specs, 2026-04-27. |
148
+
149
+ ### Nested configuration blocks
150
+
151
+ | Path | Type | Required | Default | Constraints | Notes |
152
+ | --- | --- | --- | --- | --- | --- |
153
+ | `metadata.controlType` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
154
+ | `metadata.transferOptions` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
155
+ | `metadata.options` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
156
+ | `metadata.multiple` | boolean | false | n/a | component-defined | Partial; verify per source_of_truth. |
157
+ | `metadata.maxSelections` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
158
+ | `metadata.leftLabel` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
159
+ | `metadata.rightLabel` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
160
+ | `metadata.leftPlaceholder` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
161
+ | `metadata.rightPlaceholder` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
162
+ | `metadata.leftEmptyText` | string | false | localized | component-defined | Empty-state text when the available column has no items. |
163
+ | `metadata.rightEmptyText` | string | false | localized | component-defined | Empty-state text when the selected column has no items. |
164
+ | `metadata.noResultsText` | string | false | localized | component-defined | Empty-state text when a filter hides all existing items. |
165
+ | `metadata.resourcePath` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
166
+
167
+ ### Input bindings (inbound data)
168
+
169
+ | Binding/Path | Type | Required | Source | Runtime normalization | Notes |
170
+ | --- | --- | --- | --- | --- | --- |
171
+ | `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
172
+ | `readonlyMode` | boolean | false | host-runtime | verified | Host-level behavioral override; blocks filters, selection, move actions and drag/drop. |
173
+ | `disabledMode` | boolean | false | host-runtime | verified | Host-level behavioral override; blocks filters, selection, move actions and drag/drop. |
174
+ | `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
175
+ | `presentationMode` | boolean | false | host-runtime | verified | Host-level behavioral override; renders without transfer interactions. |
176
+
177
+ ### Output events
178
+
179
+ | Event | Payload | Trigger | Stability | Notes |
180
+ | --- | --- | --- | --- | --- |
181
+ | `searchTermChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
182
+ | `selectionChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
183
+ | `openedChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
184
+ | `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
185
+ | `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
186
+ | `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
187
+ | `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
188
+
189
+ ### External side channels
190
+
191
+ | Channel | Direction | Contract | Failure mode | Notes |
192
+ | --- | --- | --- | --- | --- |
193
+ | `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
194
+
195
+ ### Host/runtime dependencies
196
+
197
+ | Dependency | Required | Environment | Purpose | Notes |
198
+ | --- | --- | --- | --- | --- |
199
+ | `material-transfer-list.metadata.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.metadata.ts`. |
200
+ | `material-transfer-list.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.component.ts`. |
201
+ | `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`. |
202
+ | `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`. |
203
+
204
+ ## Coverage by surface (obrigatorio)
205
+
206
+ ### Coverage matrix (runtime, schema/type, editor/tooling)
207
+
208
+ | Surface | Verified | Coverage status | Evidence | Notes |
209
+ | --- | --- | --- | --- | --- |
210
+ | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.component.ts` | Core runtime flows and interaction-disabled states verified via focused component specs on 2026-04-27; editor/tooling coverage remains independent. |
211
+ | Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
212
+ | 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. |
213
+
214
+ ### Runtime coverage boundaries
215
+
216
+ - Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
217
+ - Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
218
+ - Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
219
+
220
+ ### Editor and tooling notes
221
+
222
+ - Evidencia de tooling: selector `pdx-*` mapeado em `DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP` e semeado no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
223
+ - O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
224
+ - Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
225
+ - Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
226
+
227
+ ## Resolution and precedence model (obrigatorio)
228
+
229
+ ### Merge order
230
+
231
+ 1. defaults do componente
232
+ 2. contrato JSON recebido
233
+ 3. overrides de host/runtime
234
+ 4. normalizacoes internas
235
+
236
+ ### Fallback order
237
+
238
+ contrato explicito -> aliases legados (quando suportados) -> defaults internos -> comportamento seguro
239
+
240
+ ### Override points
241
+
242
+ - inputs publicos do componente
243
+ - configuracao JSON de runtime
244
+ - integracoes de host (servicos/tokens/adapters)
245
+
246
+ ### Runtime normalization
247
+
248
+ Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
249
+
250
+ ### Precedence rules
251
+
252
+ Em conflito entre alias legado e path canonico, priorizar path canonico e registrar janela de migracao do legado.
253
+
254
+ ## Validation and error semantics (obrigatorio)
255
+
256
+ ### Validation model
257
+
258
+ | Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
259
+ | --- | --- | --- | --- | --- |
260
+ | canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
261
+
262
+ ### Invalid and unknown field handling
263
+
264
+ - Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
265
+ - Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
266
+ - Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
267
+
268
+ ### Fail-open / fail-closed behavior
269
+
270
+ | Condition | Mode | Runtime behavior | Consumer impact |
271
+ | --- | --- | --- | --- |
272
+ | invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
273
+
274
+ ### Runtime warnings vs hard failures
275
+
276
+ | Condition | Severity | Observability | Consumer action |
277
+ | --- | --- | --- | --- |
278
+ | partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
279
+ | mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
280
+
281
+ ## Detailed API reference
282
+ ### Preserved technical reference (normalized from previous revision)
283
+
284
+ ### 1. Visao Geral e Quando Usar
285
+ `pdx-material-transfer-list` organiza opcoes em duas listas (disponiveis/selecionadas), com botoes e drag-and-drop.
286
+
287
+ Use quando precisar:
288
+ - selecao multipla com UX de mover itens entre listas;
289
+ - filtros locais separados para esquerda/direita;
290
+ - controle de quantidade maxima selecionada.
291
+
292
+ ### 2. API do Componente (Inputs/Outputs)
293
+ | Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
294
+ | --- | --- | --- | --- | --- |
295
+ | `metadata` | `MaterialTransferListMetadata` | - | Sim | Contrato principal da transfer list. |
296
+ | `readonlyMode` | `boolean` | `false` | Nao | Sobrescreve leitura no host e bloqueia filtros, selecao, acoes e drag/drop sem alterar o valor. |
297
+ | `disabledMode` | `boolean` | `false` | Nao | Sobrescreve disabled no host e bloqueia filtros, selecao, acoes e drag/drop sem alterar o valor. |
298
+ | `visible` | `boolean` | `true` | Nao | Controla exibicao no host. |
299
+ | `presentationMode` | `boolean` | `false` | Nao | Modo apresentacao sem filtros, selecao, acoes ou drag/drop. |
300
+ | `selectionChange` | `T[]` | - | Output herdado | Lista de valores no lado direito. |
301
+ | `optionsLoaded` | `SelectOption[]` | - | Output herdado | Carga remota de opcoes. |
302
+
303
+ ### 3. Matriz de Cobertura JSON (Completa)
304
+ #### 3.1 Campos especificos do componente
305
+ | Caminho JSON | Tipo | Status | Comportamento em runtime |
306
+ | --- | --- | --- | --- |
307
+ | `metadata.controlType` | `'transferList'` | Ativo | Define renderer de transfer list. |
308
+ | `metadata.transferOptions` | `Array<{ value; label?; text?; disabled? }>` | Ativo | Fonte principal de opcoes. |
309
+ | `metadata.options` | `Array<any>` | Extensao de runtime | Alias legado para compatibilidade. |
310
+ | `metadata.multiple` | `boolean` | Parcial | Campo aceito, mas componente forca multiplo. |
311
+ | `metadata.maxSelections` | `number` | Ativo | Limita move para lista da direita. |
312
+ | `metadata.leftLabel` | `string` | Ativo | Label da coluna esquerda. |
313
+ | `metadata.rightLabel` | `string` | Ativo | Label da coluna direita. |
314
+ | `metadata.leftPlaceholder` | `string` | Ativo | Placeholder do filtro esquerdo. |
315
+ | `metadata.rightPlaceholder` | `string` | Ativo | Placeholder do filtro direito. |
316
+ | `metadata.leftEmptyText` | `string` | Ativo | Texto exibido quando nao ha itens disponiveis. |
317
+ | `metadata.rightEmptyText` | `string` | Ativo | Texto exibido quando nao ha itens selecionados. |
318
+ | `metadata.noResultsText` | `string` | Ativo | Texto exibido quando o filtro nao retorna itens. |
319
+ | `metadata.resourcePath` | `string` | Ativo | Permite carga remota via base select. |
320
+ | `metadata.filterCriteria` | `Record<string, any>` | Ativo | Filtro base para endpoint remoto. |
321
+ | `metadata.optionLabelKey` | `string` | Ativo | Chave de label em retorno remoto. |
322
+ | `metadata.optionValueKey` | `string` | Ativo | Chave de value em retorno remoto. |
323
+ | `metadata.appearance` | `'legacy' \| 'standard'` | Declared-only | Nao aplicado ao layout deste componente. |
324
+ | `metadata.color` | `ThemePalette` | Declared-only | Nao aplicado diretamente no runtime atual. |
325
+
326
+ #### 3.2 Campos herdados compartilhados (exaustivo)
327
+ Contrato completo compartilhado para selects:
328
+ - [pdx-base-select-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-select-runtime-contract.json-api.md)
329
+
330
+ Contrato compartilhado de input base:
331
+ - [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
332
+
333
+ Resumo de composicao deste componente:
334
+ - `Ativo`: transferOptions, labels/placeholders, empty states, column counts, maxSelections, disabled option immutability, layout-independent action labels, responsive action affordances, drag-and-drop, clear.
335
+ - `Parcial`: `multiple` existe no contrato, mas sem impacto real.
336
+ - `Extensao de runtime`: alias `options`.
337
+
338
+ ### 4. Mapeamento de Comportamento
339
+ - Origem de valor: lado direito da lista (`rightOptions`).
340
+ - Sincronizacao: qualquer move/drag atualiza form control com array de values.
341
+ - Limite: `maxSelections` desabilita acoes de mover para a coluna direita quando o limite foi atingido e tambem e enforcado em drag/drop.
342
+ - Busca: filtros locais independentes para cada coluna.
343
+ - Itens `disabled` nao podem ser movidos entre colunas por selecao, acao em massa, chamada programatica ou drag/drop.
344
+ - Acoes usam labels acessiveis baseadas em destino semantico (`available list`/`selected list`), nao em posicao fisica esquerda/direita.
345
+ - Em telas estreitas, as acoes centrais passam para disposicao horizontal e os icones direcionais acompanham o empilhamento vertical das colunas.
346
+
347
+ ### 5. Exemplo Minimo (JSON + Uso)
348
+ ```json
349
+ {
350
+ "componentId": "pdx-material-transfer-list",
351
+ "metadata": {
352
+ "name": "modules",
353
+ "label": "Modulos",
354
+ "controlType": "transferList",
355
+ "transferOptions": [
356
+ { "value": "FIN", "text": "Financeiro" },
357
+ { "value": "HR", "text": "RH" }
358
+ ]
359
+ }
360
+ }
361
+ ```
362
+ Uso: move itens entre disponiveis e selecionados.
363
+
364
+ ### 6. Exemplo Corporativo (JSON + Uso)
365
+ ```json
366
+ {
367
+ "componentId": "pdx-material-transfer-list",
368
+ "metadata": {
369
+ "name": "costCenters",
370
+ "label": "Centros de Custo",
371
+ "controlType": "transferList",
372
+ "leftLabel": "Disponiveis",
373
+ "rightLabel": "Selecionados",
374
+ "leftPlaceholder": "Filtrar disponiveis",
375
+ "rightPlaceholder": "Filtrar selecionados",
376
+ "maxSelections": 12,
377
+ "resourcePath": "cost-centers/options",
378
+ "filterCriteria": { "active": true, "tenant": "corp" },
379
+ "optionLabelKey": "label",
380
+ "optionValueKey": "id",
381
+ "clearButton": {
382
+ "enabled": true,
383
+ "showOnlyWhenFilled": true
384
+ },
385
+ "hint": "Selecione os centros aplicaveis ao contrato."
386
+ }
387
+ }
388
+ ```
389
+ Uso: gestao de atribuicoes em massa com filtro por coluna e limite de itens.
390
+
391
+ ### 7. Troubleshooting e Armadilhas Comuns
392
+ 1. Item nao move para direita.
393
+ Correcao: verificar `maxSelections` e `disabled` do item.
394
+
395
+ 2. Ordem muda apos drag e drop.
396
+ Correcao: comportamento esperado; ordenacao da lista e persistida no estado local.
397
+
398
+ 3. Label aparece em ingles por padrao.
399
+ Correcao: definir `leftLabel/rightLabel` explicitamente no metadata.
400
+
401
+ 4. Opcoes remotas nao entram nas listas.
402
+ Correcao: validar retorno do endpoint e mapeamento `optionLabelKey/optionValueKey`.
403
+
404
+ 5. Esperar modo single.
405
+ Correcao: este componente e multiplo por definicao de runtime.
406
+
407
+ ### 8. Cross-links
408
+ - `projects/praxis-dynamic-fields/src/lib/base/pdx-base-select-runtime-contract.json-api.md`
409
+ - `projects/praxis-dynamic-fields/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md`
410
+ - `projects/praxis-dynamic-fields/src/lib/components/material-multi-select/pdx-material-multi-select.json-api.md`
411
+
412
+ ### 9. Relatorio de Validacao Estrutural
413
+ - Visao geral: PASS
414
+ - API (inputs/outputs): PASS
415
+ - Cobertura JSON completa (especifico + herdado): PASS
416
+ - Mapeamento de comportamento: PASS
417
+ - Exemplo minimo: PASS
418
+ - Exemplo corporativo: PASS
419
+ - Troubleshooting: PASS
420
+
421
+ ## JSON path index (obrigatorio)
422
+
423
+ | Path | Type | Required | Default | Status | Notes |
424
+ | --- | --- | --- | --- | --- | --- |
425
+ | `metadata` | object | true | n/a | Partial | See Detailed API reference. |
426
+ | `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
427
+ | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
428
+ | `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
429
+ | `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
430
+ | `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference. |
431
+ | `metadata.transferOptions` | array | false | n/a | Partial | See Detailed API reference. |
432
+ | `metadata.options` | array | false | n/a | Partial | See Detailed API reference. |
433
+ | `metadata.multiple` | boolean | false | n/a | Partial | See Detailed API reference. |
434
+ | `metadata.maxSelections` | number | false | n/a | Partial | See Detailed API reference. |
435
+ | `metadata.leftLabel` | string | false | n/a | Partial | See Detailed API reference. |
436
+ | `metadata.rightLabel` | string | false | n/a | Partial | See Detailed API reference. |
437
+ | `metadata.leftPlaceholder` | string | false | n/a | Partial | See Detailed API reference. |
438
+ | `metadata.rightPlaceholder` | string | false | n/a | Partial | See Detailed API reference. |
439
+ | `metadata.leftEmptyText` | string | false | localized | Active | Empty text for the available column. |
440
+ | `metadata.rightEmptyText` | string | false | localized | Active | Empty text for the selected column. |
441
+ | `metadata.noResultsText` | string | false | localized | Active | Empty text when filtering returns no items. |
442
+ | `metadata.resourcePath` | string | false | n/a | Partial | See Detailed API reference. |
443
+ | `metadata.filterCriteria` | unknown | false | n/a | Partial | See Detailed API reference. |
444
+ | `metadata.optionLabelKey` | string | false | n/a | Partial | See Detailed API reference. |
445
+ | `metadata.optionValueKey` | string | false | n/a | Partial | See Detailed API reference. |
446
+ | `metadata.appearance` | unknown | false | n/a | Partial | See Detailed API reference. |
447
+ | `metadata.color` | string | false | n/a | Partial | See Detailed API reference. |
448
+
449
+ ## Events reference (obrigatorio)
450
+
451
+ | Event | Payload | Trigger | Stability | Notes |
452
+ | --- | --- | --- | --- | --- |
453
+ | `searchTermChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
454
+ | `selectionChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
455
+ | `openedChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
456
+ | `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
457
+ | `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
458
+ | `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
459
+ | `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
460
+
461
+ ## Styling API (obrigatorio quando aplicavel)
462
+
463
+ | Token/Class | Scope | Purpose | Notes |
464
+ | --- | --- | --- | --- |
465
+ | `metadata.appearance` | component | Styling-related JSON path | Validate against runtime implementation. |
466
+ | `metadata.color` | component | Styling-related JSON path | Validate against runtime implementation. |
467
+
468
+ ## Examples (obrigatorio)
469
+
470
+ | Example | Scenario | Validates | Notes |
471
+ | --- | --- | --- | --- |
472
+ | `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
473
+ | `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
474
+ | `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
475
+ | `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
476
+
477
+ ### Minimal valid
478
+
479
+ ```json
480
+ {
481
+ "componentId": "pdx-material-transfer-list",
482
+ "metadata": {
483
+ "name": "modules",
484
+ "label": "Modulos",
485
+ "controlType": "transferList",
486
+ "transferOptions": [
487
+ {
488
+ "value": "FIN",
489
+ "text": "Financeiro"
490
+ },
491
+ {
492
+ "value": "HR",
493
+ "text": "RH"
494
+ }
495
+ ]
496
+ },
497
+ "readonlyMode": false
498
+ }
499
+ ```
500
+
501
+ ### Common setup
502
+
503
+ ```json
504
+ {
505
+ "componentId": "pdx-material-transfer-list",
506
+ "metadata": {
507
+ "name": "costCenters",
508
+ "label": "Centros de Custo",
509
+ "controlType": "transferList",
510
+ "leftLabel": "Disponiveis",
511
+ "rightLabel": "Selecionados",
512
+ "leftPlaceholder": "Filtrar disponiveis",
513
+ "rightPlaceholder": "Filtrar selecionados",
514
+ "maxSelections": 12,
515
+ "resourcePath": "cost-centers/options",
516
+ "filterCriteria": {
517
+ "active": true,
518
+ "tenant": "corp"
519
+ },
520
+ "optionLabelKey": "label",
521
+ "optionValueKey": "id",
522
+ "clearButton": {
523
+ "enabled": true,
524
+ "showOnlyWhenFilled": true
525
+ },
526
+ "hint": "Selecione os centros aplicaveis ao contrato."
527
+ }
528
+ }
529
+ ```
530
+
531
+ ### Advanced setup
532
+
533
+ ```json
534
+ {
535
+ "componentId": "pdx-material-transfer-list",
536
+ "metadata": {
537
+ "name": "costCenters",
538
+ "label": "Centros de Custo",
539
+ "controlType": "transferList",
540
+ "leftLabel": "Disponiveis",
541
+ "rightLabel": "Selecionados",
542
+ "leftPlaceholder": "Filtrar disponiveis",
543
+ "rightPlaceholder": "Filtrar selecionados",
544
+ "maxSelections": 5,
545
+ "resourcePath": "cost-centers/options",
546
+ "filterCriteria": {
547
+ "active": true,
548
+ "tenant": "corp"
549
+ },
550
+ "optionLabelKey": "label",
551
+ "optionValueKey": "id",
552
+ "clearButton": {
553
+ "enabled": true,
554
+ "showOnlyWhenFilled": true
555
+ },
556
+ "hint": "Selecione os centros aplicaveis ao contrato."
557
+ },
558
+ "readonlyMode": false,
559
+ "disabledMode": false
560
+ }
561
+ ```
562
+
563
+ ### Enterprise scenario
564
+
565
+ ```json
566
+ {
567
+ "componentId": "pdx-material-transfer-list",
568
+ "metadata": {
569
+ "name": "costCenters",
570
+ "label": "Centros de Custo",
571
+ "controlType": "transferList",
572
+ "leftLabel": "Disponiveis",
573
+ "rightLabel": "Selecionados",
574
+ "leftPlaceholder": "Filtrar disponiveis",
575
+ "rightPlaceholder": "Filtrar selecionados",
576
+ "maxSelections": 12,
577
+ "resourcePath": "cost-centers/options",
578
+ "filterCriteria": {
579
+ "active": true,
580
+ "tenant": "corp"
581
+ },
582
+ "optionLabelKey": "label",
583
+ "optionValueKey": "id",
584
+ "clearButton": {
585
+ "enabled": true,
586
+ "showOnlyWhenFilled": true
587
+ },
588
+ "hint": "Selecione os centros aplicaveis ao contrato."
589
+ },
590
+ "presentationMode": true,
591
+ "visible": true
592
+ }
593
+ ```
594
+
595
+ ## Compatibility and migration notes (recomendado)
596
+
597
+ | Concern | Affected versions | Migration action | Deadline | Notes |
598
+ | --- | --- | --- | --- | --- |
599
+ | 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 |
600
+
601
+ ## Known limitations and mismatches (recomendado)
602
+
603
+ | Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
604
+ | --- | --- | --- | --- | --- | --- |
605
+ | 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 |
606
+
607
+ ## Source references (obrigatorio)
608
+
609
+ | Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
610
+ | --- | --- | --- | --- | --- |
611
+ | schema-metadata | projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.metadata.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
612
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-transfer-list/material-transfer-list.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
613
+ | 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 |
614
+ | 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 |