@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.
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,605 @@
1
+ ---
2
+ title: "pdx-inline-range-slider JSON API (Canonical)"
3
+ slug: "pdx-inline-range-slider-json-api"
4
+ doc_type: "api-reference"
5
+ component: "pdx-inline-range-slider"
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-inline-range-slider."
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/inline-range-slider/inline-range-slider.component.ts"
22
+ - "projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts"
23
+ - "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
24
+ source_of_truth_last_verified: "2026-03-16"
25
+ last_updated: "2026-03-16"
26
+ toc: true
27
+ sidebar: true
28
+ tags:
29
+ - "json-api"
30
+ - "canonical-contract"
31
+ - "pdx-inline-range-slider"
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
+ - "pdx-material-range-slider"
42
+ - "pdx-base-input-runtime-contract"
43
+ ---
44
+
45
+ # pdx-inline-range-slider
46
+
47
+ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
48
+
49
+ ## Summary
50
+
51
+ - Tipo documental: API reference canonica de contrato JSON.
52
+ - Source of truth: runtime e codigo declarados no frontmatter.
53
+ - Objetivo operacional: consulta rapida, auditavel e deterministica sob pressao.
54
+ - Resumo funcional: Contrato JSON metadata-driven com comportamento definido por runtime e schema associado.
55
+
56
+ ## Purpose and scope
57
+
58
+ - O componente consome payload JSON metadata-driven e expoe comportamento runtime configuravel por contrato.
59
+ - Esta referencia cobre contrato publico, classificacao de paths e semantica de cobertura (runtime/schema/editor).
60
+ - Fora de escopo: quickstart, tutorial narrativo e notas arquiteturais que nao alteram contrato publico.
61
+
62
+ ## Consulta rapida (obrigatorio)
63
+
64
+ | Regra/tema | Observado | Canonico desejado | Status | Evidencia |
65
+ | --- | --- | --- | --- | --- |
66
+ | Component id | `pdx-inline-range-slider` | Manter ID canonico estavel e versionado por contrato | Active | frontmatter.component |
67
+ | Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
68
+ | Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` |
69
+ | Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
70
+ | Editor/tooling coverage | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Partial | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
71
+ | Path hygiene | `false` | Manter consistencia entre contrato canonico e caminhos documentados | Active | frontmatter.legacy_paths_present |
72
+ | Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
73
+
74
+ ## Source of truth
75
+
76
+ | Source | Kind | Notes |
77
+ | --- | --- | --- |
78
+ | projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
79
+ | projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
80
+ | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | schema-types | Arquivo presente no repositorio e usado como evidencia de contrato. |
81
+
82
+ ## Support legend
83
+
84
+ - **Active**: suportado em runtime e liberado para uso externo.
85
+ - **Partial**: suporte parcial, com restricoes, lacunas ou validacao incompleta.
86
+ - **Declared-only**: declarado em tipos/schema sem evidencia operacional completa.
87
+ - **Schema-only**: presente em schema/tipos sem cobertura runtime confirmada.
88
+
89
+ ## Contract status snapshot
90
+
91
+ | Item | Value | Notes |
92
+ | --- | --- | --- |
93
+ | Reference mode | `canonical` | Deve permanecer canonico |
94
+ | Contract format | `json` | Contrato metadata-driven |
95
+ | Contract source | `runtime-and-code` | Alinhar com source_of_truth |
96
+ | Runtime scope | `public` | Escopo publicado para consumidores |
97
+ | Runtime verified | `true` | Revisar sempre com evidencia de runtime |
98
+ | Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
99
+ | Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
100
+ | Current path hygiene | `false` | Segregar consistencia do contrato canonico |
101
+ | Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
102
+
103
+ ## Contract classification (obrigatorio)
104
+
105
+ ### Canonical paths (public contract)
106
+
107
+ | Path | Type | Required | Default | Status | Notes |
108
+ | --- | --- | --- | --- | --- | --- |
109
+ | `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
110
+ | `metadata.mode` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
111
+ | `metadata.discrete` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
112
+ | `metadata.quickPresets` | array | false | n/a | Partial | See Detailed API reference for runtime semantics. |
113
+ | `metadata.quickPresetsAuto` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
114
+ | `metadata.quickPresetsLabels` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
115
+ | `metadata.inlineTexts` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
116
+ | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference for runtime semantics. |
117
+
118
+ ### Path audit
119
+
120
+ Nenhum desvio de caminho foi identificado nesta revisao.
121
+
122
+ ### Internal-only paths
123
+
124
+ Nao ha paths internal-only confirmados no contrato publico desta revisao.
125
+
126
+ ### Experimental paths
127
+
128
+ Nao ha paths experimentais confirmados no contrato publico desta revisao.
129
+
130
+ ## Public contract surface (obrigatorio)
131
+
132
+ ### Top-level configuration blocks
133
+
134
+ | Block | Purpose | Required | Merge strategy | Notes |
135
+ | --- | --- | --- | --- | --- |
136
+ | `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
137
+ | `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
138
+ | `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
139
+ | `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
140
+ | `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
141
+
142
+ ### Nested configuration blocks
143
+
144
+ | Path | Type | Required | Default | Constraints | Notes |
145
+ | --- | --- | --- | --- | --- | --- |
146
+ | `metadata.mode` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
147
+ | `metadata.discrete` | boolean | false | n/a | component-defined | Partial; verify per source_of_truth. |
148
+ | `metadata.quickPresets` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
149
+ | `metadata.quickPresetsAuto` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
150
+ | `metadata.quickPresetsLabels` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
151
+ | `metadata.inlineTexts` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
152
+ | `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
153
+
154
+ ### Input bindings (inbound data)
155
+
156
+ | Binding/Path | Type | Required | Source | Runtime normalization | Notes |
157
+ | --- | --- | --- | --- | --- | --- |
158
+ | `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
159
+ | `readonlyMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
160
+ | `disabledMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
161
+ | `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
162
+ | `presentationMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
163
+
164
+ ### Output events
165
+
166
+ | Event | Payload | Trigger | Stability | Notes |
167
+ | --- | --- | --- | --- | --- |
168
+ | `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
169
+ | `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
170
+ | `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
171
+ | `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
172
+
173
+ ### External side channels
174
+
175
+ | Channel | Direction | Contract | Failure mode | Notes |
176
+ | --- | --- | --- | --- | --- |
177
+ | `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
178
+
179
+ ### Host/runtime dependencies
180
+
181
+ | Dependency | Required | Environment | Purpose | Notes |
182
+ | --- | --- | --- | --- | --- |
183
+ | `inline-range-slider.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`. |
184
+ | `material-range-slider.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts`. |
185
+ | `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`. |
186
+
187
+ ## Coverage by surface (obrigatorio)
188
+
189
+ ### Coverage matrix (runtime, schema/type, editor/tooling)
190
+
191
+ | Surface | Verified | Coverage status | Evidence | Notes |
192
+ | --- | --- | --- | --- | --- |
193
+ | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
194
+ | Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
195
+ | Editor/Tooling | `false` | Partial | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | Alias/selector tooling linkage verified for inline filters; visual editor end-to-end coverage remains not-yet-verified. |
196
+
197
+ ### Runtime coverage boundaries
198
+
199
+ - Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
200
+ - Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
201
+ - Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
202
+
203
+ ### Editor and tooling notes
204
+
205
+ - Evidencia de tooling: aliases `pdx-inline-*` resolvidos por `inline-filter-controls.util.ts` e consumidos no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
206
+ - O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
207
+ - Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
208
+ - Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
209
+
210
+ ## Resolution and precedence model (obrigatorio)
211
+
212
+ ### Merge order
213
+
214
+ 1. defaults do componente
215
+ 2. contrato JSON recebido
216
+ 3. overrides de host/runtime
217
+ 4. normalizacoes internas
218
+
219
+ ### Fallback order
220
+
221
+ contrato explicito -> aliases historicos (quando suportados) -> defaults internos -> comportamento seguro
222
+
223
+ ### Override points
224
+
225
+ - inputs publicos do componente
226
+ - configuracao JSON de runtime
227
+ - integracoes de host (servicos/tokens/adapters)
228
+
229
+ ### Runtime normalization
230
+
231
+ Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
232
+
233
+ ### Precedence rules
234
+
235
+ Em conflito entre caminho historico e path canonico, priorizar path canonico e registrar janela de migracao do historico.
236
+
237
+ ## Validation and error semantics (obrigatorio)
238
+
239
+ ### Validation model
240
+
241
+ | Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
242
+ | --- | --- | --- | --- | --- |
243
+ | canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
244
+
245
+ ### Invalid and unknown field handling
246
+
247
+ - Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
248
+ - Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
249
+ - Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
250
+
251
+ ### Fail-open / fail-closed behavior
252
+
253
+ | Condition | Mode | Runtime behavior | Consumer impact |
254
+ | --- | --- | --- | --- |
255
+ | invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
256
+
257
+ ### Runtime warnings vs hard failures
258
+
259
+ | Condition | Severity | Observability | Consumer action |
260
+ | --- | --- | --- | --- |
261
+ | partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
262
+ | mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
263
+
264
+ ## Detailed API reference
265
+ ### Preserved technical reference (normalized from previous revision)
266
+
267
+ ### 1. Visao Geral e Quando Usar
268
+ `pdx-inline-range-slider` e o range slider inline com popover, presets rapidos e distribuicao visual opcional.
269
+
270
+ Use quando precisar:
271
+ - filtro numerico em modo single ou range;
272
+ - presets operacionais para acelerar selecao;
273
+ - exibicao de histograma/distribuicao para orientar decisao.
274
+
275
+ ### 2. API do Componente (Inputs/Outputs)
276
+ | Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
277
+ | --- | --- | --- | --- | --- |
278
+ | `metadata` | `MaterialRangeSliderMetadata` | - | Sim | Contrato principal do range slider inline. |
279
+ | `readonlyMode/disabledMode/visible/presentationMode` | `boolean` | `false/false/true/false` | Nao | Estados de host do campo inline. |
280
+ | `valueChange` | `number \| {start:number,end:number}` | - | Output base input | Valor aplicado no filtro. |
281
+
282
+ ### 3. Matriz de Cobertura JSON (Completa)
283
+ #### 3.1 Campos especificos do componente
284
+ | Caminho JSON | Tipo | Status | Comportamento em runtime |
285
+ | --- | --- | --- | --- |
286
+ | `metadata.mode` | `'single'\|'range'` | Ativo | Define slider unico ou com dois thumbs. |
287
+ | `metadata.min/max/step` | `number` | Ativo | Limites e granularidade da selecao. |
288
+ | `metadata.minDistance/maxDistance` | `number` | Ativo | Validacao de distancia entre extremos no range. |
289
+ | `metadata.discrete` | `boolean` | Ativo | Modo discreto no slider material. |
290
+ | `metadata.quickPresets` | `array \| string(JSON)` | Ativo | Presets de selecao rapida no painel. |
291
+ | `metadata.quickPresetsAuto` | `boolean` | Ativo | Gera presets automaticamente com base na escala. |
292
+ | `metadata.quickPresetsLabels` | `object \| string(JSON)` | Ativo | Textos custom para presets auto. |
293
+ | `metadata.inlineDistribution/distribution/histogram` | `object \| array \| string` | Ativo | Fonte de barras de distribuicao visual. |
294
+ | `metadata.inlineTexts` | `object \| string(JSON)` | Ativo | Labels de min/max/valor/presets. |
295
+ | `metadata.numericFormat/numberFormat/uiFormat/dataFormat` | `string \| object` | Ativo | Regras de formatacao numerica (percent/currency/number). |
296
+ | `metadata.currency/currencyCode/locale/decimalPlaces` | `string/number` | Ativo | Parametros de formatacao para exibicao. |
297
+ | `metadata.inlineAutoSize.*` | `object` | Ativo | Largura do trigger e do painel no modo inline. |
298
+
299
+ #### 3.2 Campos herdados compartilhados (exaustivo)
300
+ - `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md`
301
+ - `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
302
+
303
+ Resumo de composicao deste componente:
304
+ - `Ativo`: range/single, presets, distribuicao, validacoes e formatacao numerica.
305
+ - `Extensao de runtime`: aliases amplos de formato e histograma para compatibilidade.
306
+
307
+ ### 4. Mapeamento de Comportamento
308
+ - `mode=range` sincroniza `rangeGroup` (`start/end`) com o control principal.
309
+ - Presets podem vir do JSON ou ser auto-gerados conforme escala.
310
+ - Distribuicao suporta compactacao automatica para preservar performance visual.
311
+ - Formato de exibicao prioriza `displayWith` e depois pipeline de `numericFormat/numberFormat`.
312
+
313
+ ### 5. Exemplo Minimo (JSON + Uso)
314
+ ```json
315
+ {
316
+ "componentId": "pdx-inline-range-slider",
317
+ "metadata": {
318
+ "name": "score",
319
+ "label": "Score",
320
+ "controlType": "rangeSlider",
321
+ "mode": "single",
322
+ "min": 0,
323
+ "max": 100,
324
+ "step": 5
325
+ }
326
+ }
327
+ ```
328
+ Uso: filtro numerico simples em pill.
329
+
330
+ ### 6. Exemplo Corporativo (JSON + Uso)
331
+ ```json
332
+ {
333
+ "componentId": "pdx-inline-range-slider",
334
+ "metadata": {
335
+ "name": "marginRange",
336
+ "label": "Margem",
337
+ "controlType": "rangeSlider",
338
+ "mode": "range",
339
+ "min": 0,
340
+ "max": 60,
341
+ "step": 1,
342
+ "minDistance": 5,
343
+ "maxDistance": 40,
344
+ "numericFormat": "percent",
345
+ "quickPresetsAuto": true,
346
+ "quickPresetsLabels": {
347
+ "low": "Baixa",
348
+ "middle": "Media",
349
+ "high": "Alta"
350
+ },
351
+ "inlineDistribution": { "bins": [3, 8, 15, 12, 7, 4] },
352
+ "inlineTexts": { "quickPresetsLabel": "Faixas" },
353
+ "inlineAutoSize": { "minWidth": 170, "maxWidth": 320, "panelMinWidth": 260, "panelMaxWidth": 420 }
354
+ }
355
+ }
356
+ ```
357
+ Uso: filtro corporativo com suporte analitico e presets.
358
+
359
+ ### 7. Troubleshooting e Armadilhas Comuns
360
+ 1. Range invalido no bootstrap.
361
+ Correcao: garantir `start<=end` e respeitar `min/max`.
362
+
363
+ 2. Presets nao aparecem.
364
+ Correcao: configurar `quickPresets` ou `quickPresetsAuto=true`.
365
+
366
+ 3. Histograma nao renderiza.
367
+ Correcao: validar estrutura de `inlineDistribution/distribution/histogram`.
368
+
369
+ 4. Formato numerico inesperado.
370
+ Correcao: revisar `numericFormat`, `locale`, `currency` e `decimalPlaces`.
371
+
372
+ 5. Panel muito estreito/largo.
373
+ Correcao: ajustar `inlineAutoSize` para o contexto da toolbar.
374
+
375
+ ### 8. Cross-links
376
+ - `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md`
377
+ - `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
378
+
379
+ ### 9. Relatorio de Validacao Estrutural
380
+ - Visao geral: PASS
381
+ - API (inputs/outputs): PASS
382
+ - Cobertura JSON completa (especifico + herdado): PASS
383
+ - Mapeamento de comportamento: PASS
384
+ - Exemplo minimo: PASS
385
+ - Exemplo corporativo: PASS
386
+ - Troubleshooting: PASS
387
+
388
+ ## JSON path index (obrigatorio)
389
+
390
+ | Path | Type | Required | Default | Status | Notes |
391
+ | --- | --- | --- | --- | --- | --- |
392
+ | `metadata` | object | true | n/a | Partial | See Detailed API reference. |
393
+ | `metadata.mode` | string | false | n/a | Partial | See Detailed API reference. |
394
+ | `metadata.discrete` | boolean | false | n/a | Partial | See Detailed API reference. |
395
+ | `metadata.quickPresets` | array | false | n/a | Partial | See Detailed API reference. |
396
+ | `metadata.quickPresetsAuto` | unknown | false | n/a | Partial | See Detailed API reference. |
397
+ | `metadata.quickPresetsLabels` | unknown | false | n/a | Partial | See Detailed API reference. |
398
+ | `metadata.inlineTexts` | unknown | false | n/a | Partial | See Detailed API reference. |
399
+ | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
400
+ | `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
401
+ | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
402
+ | `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
403
+ | `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
404
+
405
+ ## Events reference (obrigatorio)
406
+
407
+ | Event | Payload | Trigger | Stability | Notes |
408
+ | --- | --- | --- | --- | --- |
409
+ | `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
410
+ | `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
411
+ | `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
412
+ | `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
413
+
414
+ ## Styling API (obrigatorio quando aplicavel)
415
+
416
+ | Token/Class | Scope | Purpose | Notes |
417
+ | --- | --- | --- | --- |
418
+ | `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
419
+
420
+ ## Examples (obrigatorio)
421
+
422
+ | Example | Scenario | Validates | Notes |
423
+ | --- | --- | --- | --- |
424
+ | `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
425
+ | `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
426
+ | `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
427
+ | `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
428
+
429
+ ### Minimal valid
430
+
431
+ ```json
432
+ {
433
+ "componentId": "pdx-inline-range-slider",
434
+ "metadata": {
435
+ "name": "score",
436
+ "label": "Score",
437
+ "controlType": "rangeSlider",
438
+ "mode": "single",
439
+ "min": 0,
440
+ "max": 100,
441
+ "step": 5,
442
+ "discrete": false
443
+ }
444
+ }
445
+ ```
446
+
447
+ ### Common setup
448
+
449
+ ```json
450
+ {
451
+ "componentId": "pdx-inline-range-slider",
452
+ "metadata": {
453
+ "name": "marginRange",
454
+ "label": "Margem",
455
+ "controlType": "rangeSlider",
456
+ "mode": "range",
457
+ "min": 0,
458
+ "max": 60,
459
+ "step": 1,
460
+ "minDistance": 5,
461
+ "maxDistance": 40,
462
+ "numericFormat": "percent",
463
+ "quickPresetsAuto": true,
464
+ "quickPresetsLabels": {
465
+ "low": "Baixa",
466
+ "middle": "Media",
467
+ "high": "Alta"
468
+ },
469
+ "inlineDistribution": {
470
+ "bins": [
471
+ 3,
472
+ 8,
473
+ 15,
474
+ 12,
475
+ 7,
476
+ 4
477
+ ]
478
+ },
479
+ "inlineTexts": {
480
+ "quickPresetsLabel": "Faixas"
481
+ },
482
+ "inlineAutoSize": {
483
+ "minWidth": 170,
484
+ "maxWidth": 320,
485
+ "panelMinWidth": 260,
486
+ "panelMaxWidth": 420
487
+ },
488
+ "discrete": true
489
+ }
490
+ }
491
+ ```
492
+
493
+ ### Advanced setup
494
+
495
+ ```json
496
+ {
497
+ "componentId": "pdx-inline-range-slider",
498
+ "metadata": {
499
+ "name": "marginRange",
500
+ "label": "Margem",
501
+ "controlType": "rangeSlider",
502
+ "mode": "range",
503
+ "min": 0,
504
+ "max": 60,
505
+ "step": 1,
506
+ "minDistance": 5,
507
+ "maxDistance": 40,
508
+ "numericFormat": "percent",
509
+ "quickPresetsAuto": true,
510
+ "quickPresetsLabels": {
511
+ "low": "Baixa",
512
+ "middle": "Media",
513
+ "high": "Alta"
514
+ },
515
+ "inlineDistribution": {
516
+ "bins": [
517
+ 3,
518
+ 8,
519
+ 15,
520
+ 12,
521
+ 7,
522
+ 4
523
+ ]
524
+ },
525
+ "inlineTexts": {
526
+ "quickPresetsLabel": "Faixas"
527
+ },
528
+ "inlineAutoSize": {
529
+ "minWidth": 170,
530
+ "maxWidth": 320,
531
+ "panelMinWidth": 260,
532
+ "panelMaxWidth": 420
533
+ }
534
+ },
535
+ "readonlyMode": false,
536
+ "disabledMode": false
537
+ }
538
+ ```
539
+
540
+ ### Enterprise scenario
541
+
542
+ ```json
543
+ {
544
+ "componentId": "pdx-inline-range-slider",
545
+ "metadata": {
546
+ "name": "marginRange",
547
+ "label": "Margem",
548
+ "controlType": "rangeSlider",
549
+ "mode": "range",
550
+ "min": 0,
551
+ "max": 60,
552
+ "step": 1,
553
+ "minDistance": 5,
554
+ "maxDistance": 40,
555
+ "numericFormat": "percent",
556
+ "quickPresetsAuto": true,
557
+ "quickPresetsLabels": {
558
+ "low": "Baixa",
559
+ "middle": "Media",
560
+ "high": "Alta"
561
+ },
562
+ "inlineDistribution": {
563
+ "bins": [
564
+ 3,
565
+ 8,
566
+ 15,
567
+ 12,
568
+ 7,
569
+ 4
570
+ ]
571
+ },
572
+ "inlineTexts": {
573
+ "quickPresetsLabel": "Faixas"
574
+ },
575
+ "inlineAutoSize": {
576
+ "minWidth": 170,
577
+ "maxWidth": 320,
578
+ "panelMinWidth": 260,
579
+ "panelMaxWidth": 420
580
+ }
581
+ },
582
+ "presentationMode": true,
583
+ "visible": true
584
+ }
585
+ ```
586
+
587
+ ## Compatibility and migration notes (recomendado)
588
+
589
+ | Concern | Affected versions | Migration action | Deadline | Notes |
590
+ | --- | --- | --- | --- | --- |
591
+ | 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 |
592
+
593
+ ## Known limitations and mismatches (recomendado)
594
+
595
+ | Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
596
+ | --- | --- | --- | --- | --- | --- |
597
+ | Canonical contract parity | Nenhum mismatch novo foi confirmado nesta revisao de 2026-03-16; `inlineTexts` e `quickPresetsLabels` continuam coerentes com o runtime atual | Manter exemplos e evidencias sincronizados em futuras rodadas de endurecimento | Low | n/a | Monitor in periodic audit |
598
+
599
+ ## Source references (obrigatorio)
600
+
601
+ | Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
602
+ | --- | --- | --- | --- | --- |
603
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts | Primary source of truth for contract and behavior. | 2026-03-16 | verified-path |
604
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts | Primary source of truth for contract and behavior. | 2026-03-16 | verified-path |
605
+ | schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-03-16 | verified-path |