@praxisui/dynamic-fields 8.0.0-beta.6 → 8.0.0-beta.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) 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 +502 -0
  8. package/docs/dynamic-fields-inline-filter-custom-component-guide.md +241 -0
  9. package/docs/dynamic-fields-inline-filter-inventory.md +247 -0
  10. package/docs/dynamic-fields-inline-filter-runtime-contract.md +391 -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 +206 -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-CBogy3si.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 +19551 -10669
  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 +551 -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} +874 -440
  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
@@ -0,0 +1,455 @@
1
+ ---
2
+ title: "pdx-preload-status JSON API (Canonical)"
3
+ slug: "pdx-preload-status-json-api"
4
+ doc_type: "api-reference"
5
+ component: "pdx-preload-status"
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-preload-status."
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/preload-status/preload-status.component.ts"
22
+ - "projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.metadata.ts"
23
+ - "projects/praxis-dynamic-fields/src/lib/services/component-preloader.service.ts"
24
+ source_of_truth_last_verified: "2026-03-06"
25
+ last_updated: "2026-03-06"
26
+ toc: true
27
+ sidebar: true
28
+ tags:
29
+ - "json-api"
30
+ - "canonical-contract"
31
+ - "pdx-preload-status"
32
+ api_stability: "canonical"
33
+ schema_verified: true
34
+ runtime_verified: true
35
+ editor_coverage_verified: false
36
+ runtime_scope: "public"
37
+ legacy_paths_present: false
38
+ has_known_mismatches: false
39
+ related_components:
40
+ - "praxis-table"
41
+ ---
42
+
43
+ # pdx-preload-status
44
+
45
+ Este documento e a referencia canonica da API JSON de pdx-preload-status.
46
+
47
+ ## Summary
48
+
49
+ - Tipo documental: API reference canonica de contrato JSON.
50
+ - Source of truth: runtime e codigo declarados no frontmatter.
51
+ - Objetivo operacional: consulta rapida, auditavel e deterministica sob pressao.
52
+ - Resumo funcional: Contrato JSON metadata-driven com comportamento definido por runtime e schema associado.
53
+
54
+ ## Purpose and scope
55
+
56
+ - O componente consome payload JSON metadata-driven e expoe comportamento runtime configuravel por contrato.
57
+ - Esta referencia cobre contrato publico, classificacao de paths e semantica de cobertura (runtime/schema/editor).
58
+ - Fora de escopo: quickstart, tutorial narrativo e notas arquiteturais que nao alteram contrato publico.
59
+
60
+ ## Consulta rapida (obrigatorio)
61
+
62
+ | Regra/tema | Observado | Canonico desejado | Status | Evidencia |
63
+ | --- | --- | --- | --- | --- |
64
+ | Component id | `pdx-preload-status` | Manter ID canonico estavel e versionado por contrato | Active | frontmatter.component |
65
+ | Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
66
+ | Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.metadata.ts` |
67
+ | Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
68
+ | Editor/tooling coverage | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Not-covered | `projects/praxis-core/src/lib/metadata/field-selector-control-type.constants.ts`, `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts` |
69
+ | Legacy paths | `false` | Segregar legado de caminhos canonicos com janela de migracao | Active | frontmatter.legacy_paths_present |
70
+ | Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
71
+
72
+ ## Source of truth
73
+
74
+ | Source | Kind | Notes |
75
+ | --- | --- | --- |
76
+ | projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
77
+ | projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.metadata.ts | schema-metadata | Arquivo presente no repositorio e usado como evidencia de contrato. |
78
+ | projects/praxis-dynamic-fields/src/lib/services/component-preloader.service.ts | runtime-service | Arquivo presente no repositorio e usado como evidencia de contrato. |
79
+
80
+ ## Support legend
81
+
82
+ - **Active**: suportado em runtime e liberado para uso externo.
83
+ - **Partial**: suporte parcial, com restricoes, lacunas ou validacao incompleta.
84
+ - **Declared-only**: declarado em tipos/schema sem evidencia operacional completa.
85
+ - **Schema-only**: presente em schema/tipos sem cobertura runtime confirmada.
86
+ - **Deprecated**: legado suportado por janela de migracao definida.
87
+
88
+ ## Contract status snapshot
89
+
90
+ | Item | Value | Notes |
91
+ | --- | --- | --- |
92
+ | Reference mode | `canonical` | Deve permanecer canonico |
93
+ | Contract format | `json` | Contrato metadata-driven |
94
+ | Contract source | `runtime-and-code` | Alinhar com source_of_truth |
95
+ | Runtime scope | `public` | Escopo publicado para consumidores |
96
+ | Runtime verified | `true` | Revisar sempre com evidencia de runtime |
97
+ | Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
98
+ | Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
99
+ | Legacy paths present | `false` | Segregar legado de contrato canonico |
100
+ | Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
101
+
102
+ ## Contract classification (obrigatorio)
103
+
104
+ ### Canonical paths (public contract)
105
+
106
+ | Path | Type | Required | Default | Status | Notes |
107
+ | --- | --- | --- | --- | --- | --- |
108
+ | `metadata` | object | false | n/a | Partial | See Detailed API reference for runtime semantics. |
109
+ | `visible` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
110
+ | `metadata.*` | object | false | n/a | Partial | See Detailed API reference for runtime semantics. |
111
+
112
+ ### Supported legacy paths
113
+
114
+ Nenhum path legado suportado foi identificado nesta revisao.
115
+
116
+ ### Internal-only paths
117
+
118
+ Nao ha paths internal-only confirmados no contrato publico desta revisao.
119
+
120
+ ### Experimental paths
121
+
122
+ Nao ha paths experimentais confirmados no contrato publico desta revisao.
123
+
124
+ ## Public contract surface (obrigatorio)
125
+
126
+ ### Top-level configuration blocks
127
+
128
+ | Block | Purpose | Required | Merge strategy | Notes |
129
+ | --- | --- | --- | --- | --- |
130
+ | `metadata` | Payload declarativo opcional para contexto do widget | false | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
131
+ | `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
132
+
133
+ ### Nested configuration blocks
134
+
135
+ | Path | Type | Required | Default | Constraints | Notes |
136
+ | --- | --- | --- | --- | --- | --- |
137
+ | `metadata.*` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
138
+
139
+ ### Input bindings (inbound data)
140
+
141
+ | Binding/Path | Type | Required | Source | Runtime normalization | Notes |
142
+ | --- | --- | --- | --- | --- | --- |
143
+ | `metadata` | object | false | host-json | component-defined | Optional inbound context payload. |
144
+ | `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
145
+
146
+ ### Output events
147
+
148
+ | Event | Payload | Trigger | Stability | Notes |
149
+ | --- | --- | --- | --- | --- |
150
+ | `none-explicitly-documented` | n/a | n/a | Declared-only | Nenhum output publico foi explicitamente documentado na evidencia preservada. |
151
+
152
+ ### External side channels
153
+
154
+ | Channel | Direction | Contract | Failure mode | Notes |
155
+ | --- | --- | --- | --- | --- |
156
+ | `setExternalControl(AbstractControl)` | inbound | boolean bridge via `control.valueChanges` | No external binding when control is absent | Integration hook; not a canonical JSON path. |
157
+
158
+ ### Host/runtime dependencies
159
+
160
+ | Dependency | Required | Environment | Purpose | Notes |
161
+ | --- | --- | --- | --- | --- |
162
+ | `preload-status.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.component.ts`. |
163
+ | `preload-status.metadata.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.metadata.ts`. |
164
+ | `component-preloader.service.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/services/component-preloader.service.ts`. |
165
+
166
+ ## Coverage by surface (obrigatorio)
167
+
168
+ ### Coverage matrix (runtime, schema/type, editor/tooling)
169
+
170
+ | Surface | Verified | Coverage status | Evidence | Notes |
171
+ | --- | --- | --- | --- | --- |
172
+ | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.metadata.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
173
+ | Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Inputs in metadata source align with canonical public JSON paths (`metadata`, `visible`). |
174
+ | Editor/Tooling | `false` | Not-covered | `projects/praxis-core/src/lib/metadata/field-selector-control-type.constants.ts`, `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts` | `pdx-preload-status` nao aparece no selector map default nem no alias map inline; cobertura de editor/tooling permanece nao confirmada. |
175
+
176
+ ### Runtime coverage boundaries
177
+
178
+ - Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
179
+ - Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
180
+ - Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
181
+
182
+ ### Editor and tooling notes
183
+
184
+ - Estado atual: `pdx-preload-status` nao esta mapeado no selector tooling padrao (`DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP`) nem no alias tooling inline; manter `Not-covered` ate existir integracao verificavel.
185
+ - O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
186
+ - Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
187
+ - Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
188
+
189
+ ## Resolution and precedence model (obrigatorio)
190
+
191
+ ### Merge order
192
+
193
+ 1. defaults do componente
194
+ 2. contrato JSON recebido
195
+ 3. overrides de host/runtime
196
+ 4. normalizacoes internas
197
+
198
+ ### Fallback order
199
+
200
+ contrato explicito -> aliases legados (quando suportados) -> defaults internos -> comportamento seguro
201
+
202
+ ### Override points
203
+
204
+ - inputs publicos do componente
205
+ - configuracao JSON de runtime
206
+ - integracoes de host (servicos/tokens/adapters)
207
+
208
+ ### Runtime normalization
209
+
210
+ Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
211
+
212
+ ### Precedence rules
213
+
214
+ Em conflito entre alias legado e path canonico, priorizar path canonico e registrar janela de migracao do legado.
215
+
216
+ ## Validation and error semantics (obrigatorio)
217
+
218
+ ### Validation model
219
+
220
+ | Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
221
+ | --- | --- | --- | --- | --- |
222
+ | canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
223
+
224
+ ### Invalid and unknown field handling
225
+
226
+ - Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
227
+ - Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
228
+ - Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
229
+
230
+ ### Fail-open / fail-closed behavior
231
+
232
+ | Condition | Mode | Runtime behavior | Consumer impact |
233
+ | --- | --- | --- | --- |
234
+ | invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
235
+
236
+ ### Runtime warnings vs hard failures
237
+
238
+ | Condition | Severity | Observability | Consumer action |
239
+ | --- | --- | --- | --- |
240
+ | partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
241
+ | mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
242
+
243
+ ## Detailed API reference
244
+ ### Preserved technical reference (normalized from previous revision)
245
+
246
+ ### 1. Visao Geral e Quando Usar
247
+ `pdx-preload-status` e um widget de observabilidade do preload de componentes de `dynamic-fields`.
248
+
249
+ Use quando precisar:
250
+ - monitorar progresso de preload em ambiente de desenvolvimento/homologacao;
251
+ - diagnosticar falhas de componentes no carregamento antecipado;
252
+ - oferecer controle manual de recarga (`forceReload`).
253
+ - expor monitoramento tecnico em dashboards operacionais.
254
+
255
+ ### 2. API do Componente (Inputs/Outputs)
256
+ | Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
257
+ | --- | --- | --- | --- | --- |
258
+ | `metadata` | `any` | `null` | Nao | Entrada opcional para metadados auxiliares do host. |
259
+ | `visible` | `boolean` | `true` | Nao | Controla exibicao do widget (`display:none` quando `false`). |
260
+ | `setExternalControl(control)` | `AbstractControl` | - | Metodo | Vincula controle externo para ligar/desligar auto-update. |
261
+
262
+ Observacao:
263
+ - este widget e standalone/observabilidade; nao e resolvido pelo `FieldControlType` do `ComponentRegistryService`.
264
+
265
+ ### 3. Matriz de Cobertura JSON (Completa)
266
+ #### 3.1 Campos especificos do componente
267
+ | Caminho JSON | Tipo | Status | Comportamento em runtime |
268
+ | --- | --- | --- | --- |
269
+ | `metadata.*` | `object` | Ativo | Campo de transporte para contexto de dashboard/host. |
270
+ | `visible` | `boolean` | Ativo | Oculta/mostra o widget no host. |
271
+
272
+ Nota:
273
+ - `setExternalControl(control)` e hook de integracao runtime (nao JSON path canonico). O valor do `AbstractControl` externo sincroniza `autoUpdate`.
274
+
275
+ #### 3.2 Campos herdados compartilhados (exaustivo)
276
+ Nao se aplica como campo de formulario padrao.
277
+
278
+ Resumo de composicao deste componente:
279
+ - `Ativo`: leitura de `status$`, reload manual, toggle de auto-update.
280
+ - `Ativo`: entrada de visibilidade e integracao com controle externo.
281
+
282
+ ### 4. Mapeamento de Comportamento
283
+ - `ngOnInit` assina `status$` do `ComponentPreloaderService`.
284
+ - `autoUpdate=true`: assinatura continua em tempo real.
285
+ - `autoUpdate=false`: carrega snapshot atual do status.
286
+ - `forceReload()` dispara novo preload pelo service.
287
+ - `setExternalControl(control)` pode ser chamado antes ou depois do init; o binding externo e refeito sem acumular listeners.
288
+ - alternar `autoUpdate` nao acumula subscriptions; o modo anterior e encerrado antes de aplicar o novo.
289
+
290
+ ### 5. Exemplo Minimo (JSON + Uso)
291
+ ```json
292
+ {
293
+ "widgetId": "pdx-preload-status",
294
+ "visible": true
295
+ }
296
+ ```
297
+ Uso: painel tecnico standalone em ambiente de debug.
298
+
299
+ ### 6. Exemplo Corporativo (JSON + Uso)
300
+ ```json
301
+ {
302
+ "widgetId": "pdx-preload-status",
303
+ "visible": true,
304
+ "metadata": {
305
+ "dashboard": "platform-observability",
306
+ "tenant": "corp"
307
+ },
308
+ "autoUpdateBinding": {
309
+ "type": "FormControl<boolean>",
310
+ "initialValue": true
311
+ }
312
+ }
313
+ ```
314
+ Uso: dashboard tecnico com toggle centralizado de auto-update.
315
+
316
+ ### 7. Troubleshooting e Armadilhas Comuns
317
+ 1. Nao aparece progresso.
318
+ Correcao: verificar se `ComponentPreloaderService` esta registrado e emitindo `status$`.
319
+
320
+ 2. Auto-update nao segue controle externo.
321
+ Correcao: confirmar chamada de `setExternalControl()` e que o `FormControl` externo esta emitindo `valueChanges`.
322
+
323
+ 3. Reload manual sem efeito.
324
+ Correcao: checar implementacao de `forceReload()` no service.
325
+
326
+ 4. Esperar comportamento de campo de formulario.
327
+ Correcao: este componente e widget de monitoramento standalone, nao input de negocio carregado por `controlType`.
328
+
329
+ 5. Falhas repetidas de preload.
330
+ Correcao: revisar `status.errors[]` e componentes listados no service.
331
+
332
+ ### 8. Cross-links
333
+ - `projects/praxis-dynamic-fields/src/lib/services/component-preloader.service.ts`
334
+
335
+ ### 9. Relatorio de Validacao Estrutural
336
+ - Visao geral: PASS
337
+ - API (inputs/outputs): PASS
338
+ - Cobertura JSON completa (especifico + herdado): PASS
339
+ - Mapeamento de comportamento: PASS
340
+ - Exemplo minimo: PASS
341
+ - Exemplo corporativo: PASS
342
+ - Troubleshooting: PASS
343
+
344
+ ## JSON path index (obrigatorio)
345
+
346
+ | Path | Type | Required | Default | Status | Notes |
347
+ | --- | --- | --- | --- | --- | --- |
348
+ | `metadata` | object | false | n/a | Partial | See Detailed API reference. |
349
+ | `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
350
+ | `metadata.*` | object | false | n/a | Partial | See Detailed API reference. |
351
+
352
+ ## Events reference (obrigatorio)
353
+
354
+ | Event | Payload | Trigger | Stability | Notes |
355
+ | --- | --- | --- | --- | --- |
356
+ | `none-explicitly-documented` | n/a | n/a | Declared-only | Nenhum output publico explicitamente documentado. |
357
+
358
+ ## Styling API (obrigatorio quando aplicavel)
359
+
360
+ | Token/Class | Scope | Purpose | Notes |
361
+ | --- | --- | --- | --- |
362
+ | `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
363
+
364
+ ## Examples (obrigatorio)
365
+
366
+ | Example | Scenario | Validates | Notes |
367
+ | --- | --- | --- | --- |
368
+ | `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
369
+ | `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
370
+ | `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
371
+ | `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
372
+
373
+ ### Minimal valid
374
+
375
+ ```json
376
+ {
377
+ "widgetId": "pdx-preload-status",
378
+ "visible": true,
379
+ "metadata": {}
380
+ }
381
+ ```
382
+
383
+ ### Common setup
384
+
385
+ ```json
386
+ {
387
+ "widgetId": "pdx-preload-status",
388
+ "visible": true,
389
+ "metadata": {
390
+ "dashboard": "platform-observability",
391
+ "tenant": "corp",
392
+ "label": "pdx-preload-status-common-1"
393
+ },
394
+ "autoUpdateBinding": {
395
+ "type": "FormControl<boolean>",
396
+ "initialValue": true
397
+ }
398
+ }
399
+ ```
400
+
401
+ ### Advanced setup
402
+
403
+ ```json
404
+ {
405
+ "widgetId": "pdx-preload-status",
406
+ "visible": true,
407
+ "metadata": {
408
+ "dashboard": "platform-observability",
409
+ "tenant": "corp",
410
+ "label": "pdx-preload-status-advanced-2"
411
+ },
412
+ "autoUpdateBinding": {
413
+ "type": "FormControl<boolean>",
414
+ "initialValue": true
415
+ }
416
+ }
417
+ ```
418
+
419
+ ### Enterprise scenario
420
+
421
+ ```json
422
+ {
423
+ "widgetId": "pdx-preload-status",
424
+ "visible": true,
425
+ "metadata": {
426
+ "dashboard": "platform-observability",
427
+ "tenant": "corp",
428
+ "label": "pdx-preload-status-enterprise-3"
429
+ },
430
+ "autoUpdateBinding": {
431
+ "type": "FormControl<boolean>",
432
+ "initialValue": true
433
+ }
434
+ }
435
+ ```
436
+
437
+ ## Compatibility and migration notes (recomendado)
438
+
439
+ | Concern | Affected versions | Migration action | Deadline | Notes |
440
+ | --- | --- | --- | --- | --- |
441
+ | No legacy path detected in current revision | n/a | No migration action required for canonical paths | n/a | Re-evaluate if backward-compat aliases are introduced |
442
+
443
+ ## Known limitations and mismatches (recomendado)
444
+
445
+ | Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
446
+ | --- | --- | --- | --- | --- | --- |
447
+ | 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 |
448
+
449
+ ## Source references (obrigatorio)
450
+
451
+ | Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
452
+ | --- | --- | --- | --- | --- |
453
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
454
+ | schema-metadata | projects/praxis-dynamic-fields/src/lib/components/preload-status/preload-status.metadata.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
455
+ | runtime-service | projects/praxis-dynamic-fields/src/lib/services/component-preloader.service.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |