@praxisui/dynamic-fields 8.0.0-beta.8 → 8.0.0-beta.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,635 @@
1
+ ---
2
+ title: "pdx-inline-time-range JSON API (Canonical)"
3
+ slug: "pdx-inline-time-range-json-api"
4
+ doc_type: "api-reference"
5
+ component: "pdx-inline-time-range"
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-time-range."
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-time-range/inline-time-range.component.ts"
22
+ - "projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts"
23
+ - "projects/praxis-core/src/lib/models/material-time-range-metadata.interface.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-inline-time-range"
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: true
38
+ has_known_mismatches: false
39
+ related_components:
40
+ - "praxis-table"
41
+ - "pdx-material-time-range"
42
+ - "pdx-base-input-runtime-contract"
43
+ ---
44
+
45
+ # pdx-inline-time-range
46
+
47
+ Este documento e a referencia canonica da API JSON de pdx-inline-time-range.
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-time-range` | 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-time-range/inline-time-range.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.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 | `true` | Manter consistencia entre contrato canonico e caminhos documentados | Partial | 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-time-range/inline-time-range.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
79
+ | projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
80
+ | projects/praxis-core/src/lib/models/material-time-range-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 | `true` | 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.stepMinute` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
111
+ | `metadata.interval` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
112
+ | `metadata.inlinePanelTitle` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
113
+ | `metadata.inlineTimeQuickPresets` | array | false | n/a | Partial | See Detailed API reference for runtime semantics. |
114
+ | `metadata.inlineTimeTrackShifts` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
115
+ | `metadata.inlineTrackShifts` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
116
+ | `metadata.validators.rangeMessage` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
117
+
118
+ ### Path audit
119
+
120
+ | Historical path | Canonical replacement | Support window | Runtime behavior | Notes |
121
+ | --- | --- | --- | --- | --- |
122
+ | `metadata.quickPresets` | `metadata.inlineTimeQuickPresets` | not-yet-defined | accepted for backward compatibility | Alias inferido da evidencia preservada; validar em runtime. |
123
+
124
+ ### Internal-only paths
125
+
126
+ Nao ha paths internal-only confirmados no contrato publico desta revisao.
127
+
128
+ ### Experimental paths
129
+
130
+ Nao ha paths experimentais confirmados no contrato publico desta revisao.
131
+
132
+ ## Public contract surface (obrigatorio)
133
+
134
+ ### Top-level configuration blocks
135
+
136
+ | Block | Purpose | Required | Merge strategy | Notes |
137
+ | --- | --- | --- | --- | --- |
138
+ | `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
139
+ | `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
140
+ | `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
141
+ | `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
142
+ | `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
143
+
144
+ ### Nested configuration blocks
145
+
146
+ | Path | Type | Required | Default | Constraints | Notes |
147
+ | --- | --- | --- | --- | --- | --- |
148
+ | `metadata.stepMinute` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
149
+ | `metadata.interval` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
150
+ | `metadata.inlinePanelTitle` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
151
+ | `metadata.inlineTimeQuickPresets` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
152
+ | `metadata.inlineTimeTrackShifts` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
153
+ | `metadata.inlineTrackShifts` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
154
+ | `metadata.validators.rangeMessage` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
155
+ | `metadata.validators.minDistanceMessage` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
156
+ | `metadata.validators.maxDistanceMessage` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
157
+ | `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
158
+
159
+ ### Input bindings (inbound data)
160
+
161
+ | Binding/Path | Type | Required | Source | Runtime normalization | Notes |
162
+ | --- | --- | --- | --- | --- | --- |
163
+ | `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
164
+ | `readonlyMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
165
+ | `disabledMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
166
+ | `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
167
+ | `presentationMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
168
+
169
+ ### Output events
170
+
171
+ | Event | Payload | Trigger | Stability | Notes |
172
+ | --- | --- | --- | --- | --- |
173
+ | `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
174
+ | `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
175
+ | `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
176
+ | `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
177
+
178
+ ### External side channels
179
+
180
+ | Channel | Direction | Contract | Failure mode | Notes |
181
+ | --- | --- | --- | --- | --- |
182
+ | `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
183
+
184
+ ### Host/runtime dependencies
185
+
186
+ | Dependency | Required | Environment | Purpose | Notes |
187
+ | --- | --- | --- | --- | --- |
188
+ | `inlineTime-range.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts`. |
189
+ | `pdx-material-time-range.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts`. |
190
+ | `material-time-range-metadata.interface.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-core/src/lib/models/material-time-range-metadata.interface.ts`. |
191
+
192
+ ## Coverage by surface (obrigatorio)
193
+
194
+ ### Coverage matrix (runtime, schema/type, editor/tooling)
195
+
196
+ | Surface | Verified | Coverage status | Evidence | Notes |
197
+ | --- | --- | --- | --- | --- |
198
+ | Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
199
+ | Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
200
+ | 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. |
201
+
202
+ ### Runtime coverage boundaries
203
+
204
+ - Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
205
+ - Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
206
+ - Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
207
+
208
+ ### Editor and tooling notes
209
+
210
+ - Evidencia de tooling: aliases `pdx-inline-*` resolvidos por `inline-filter-controls.util.ts` e consumidos no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
211
+ - O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
212
+ - Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
213
+ - Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
214
+
215
+ ## Resolution and precedence model (obrigatorio)
216
+
217
+ ### Merge order
218
+
219
+ 1. defaults do componente
220
+ 2. contrato JSON recebido
221
+ 3. overrides de host/runtime
222
+ 4. normalizacoes internas
223
+
224
+ ### Fallback order
225
+
226
+ contrato explicito -> aliases historicos (quando suportados) -> defaults internos -> comportamento seguro
227
+
228
+ ### Override points
229
+
230
+ - inputs publicos do componente
231
+ - configuracao JSON de runtime
232
+ - integracoes de host (servicos/tokens/adapters)
233
+
234
+ ### Runtime normalization
235
+
236
+ Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
237
+
238
+ ### Precedence rules
239
+
240
+ Em conflito entre caminho historico e path canonico, priorizar path canonico e registrar janela de migracao do historico.
241
+
242
+ ## Validation and error semantics (obrigatorio)
243
+
244
+ ### Validation model
245
+
246
+ | Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
247
+ | --- | --- | --- | --- | --- |
248
+ | canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
249
+
250
+ ### Invalid and unknown field handling
251
+
252
+ - Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
253
+ - Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
254
+ - Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
255
+
256
+ ### Fail-open / fail-closed behavior
257
+
258
+ | Condition | Mode | Runtime behavior | Consumer impact |
259
+ | --- | --- | --- | --- |
260
+ | invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
261
+
262
+ ### Runtime warnings vs hard failures
263
+
264
+ | Condition | Severity | Observability | Consumer action |
265
+ | --- | --- | --- | --- |
266
+ | partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
267
+ | mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
268
+
269
+ ## Detailed API reference
270
+ ### Preserved technical reference (normalized from previous revision)
271
+
272
+ ### 1. Visao Geral e Quando Usar
273
+ `pdx-inline-time-range` e o intervalo de horario inline com slider, inputs `time`, presets e trilha colorida por turnos.
274
+
275
+ Use quando precisar:
276
+ - filtrar janelas de horario em dashboards corporativos;
277
+ - aplicar presets rapidos (manha, tarde, noturno etc.);
278
+ - visualizar segmentos de turno na trilha do slider.
279
+
280
+ ### 2. API do Componente (Inputs/Outputs)
281
+ | Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
282
+ | --- | --- | --- | --- | --- |
283
+ | `metadata` | `MaterialTimeRangeMetadata` | - | Sim | Contrato principal do time-range inline. |
284
+ | `readonlyMode/disabledMode/visible/presentationMode` | `boolean` | `false/false/true/false` | Nao | Estados de host do campo inline. |
285
+ | `valueChange` | `{start:string\|null,end:string\|null}` | - | Output herdado | Intervalo selecionado de horario. |
286
+
287
+ ### 3. Matriz de Cobertura JSON (Completa)
288
+ #### 3.1 Campos especificos do componente
289
+ | Caminho JSON | Tipo | Status | Comportamento em runtime |
290
+ | --- | --- | --- | --- |
291
+ | `metadata.minTime/maxTime` | `string` | Ativo | Limites preferenciais do intervalo. |
292
+ | `metadata.min/max/minimum/maximum` | `string` | Ativo | Aliases aceitos para limites de horario. |
293
+ | `metadata.stepMinute` | `number` | Ativo | Passo em minutos no slider e normalizacao. |
294
+ | `metadata.interval` | `number\|string` | Ativo | Alias de passo (minutos) para faixa. |
295
+ | `metadata.inlinePanelTitle` | `string` | Ativo | Titulo custom do painel inline. |
296
+ | `metadata.inlineTimeQuickPresets` / `quickPresets` | `array` | Ativo | Presets rapidos de inicio/fim. |
297
+ | `metadata.inlineTimeTrackShifts` | `array` | Ativo | Segmentos de trilha por turno/faixa. |
298
+ | `metadata.inlineTrackShifts` / `trackShifts` | `array` | Ativo | Aliases para segmentos de trilha. |
299
+ | `metadata.validators.rangeMessage` | `string` | Ativo | Mensagem para erro de ordem do intervalo. |
300
+ | `metadata.validators.minDistanceMessage` | `string` | Ativo | Mensagem para distancia minima. |
301
+ | `metadata.validators.maxDistanceMessage` | `string` | Ativo | Mensagem para distancia maxima. |
302
+ | `metadata.inlineAutoSize.*` | `object` | Ativo | Larguras da pill e painel inline. |
303
+
304
+ #### 3.2 Campos herdados compartilhados (exaustivo)
305
+ - `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.json-api.md`
306
+ - `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
307
+
308
+ Resumo de composicao deste componente:
309
+ - `Ativo`: slider de horario, inputs manuais, presets e trilha por turnos.
310
+ - `Extensao de runtime`: `inlineTimeQuickPresets` e `inlineTimeTrackShifts` para UX corporativa.
311
+
312
+ ### 4. Mapeamento de Comportamento
313
+ - Converte horario para minutos para calculo interno de faixa e trilha.
314
+ - `quickPresets` podem ser declarados ou gerados por defaults internos.
315
+ - Slider e inputs textuais permanecem sincronizados (`timeRangeForm` + `sliderRangeForm`).
316
+ - `timeInputStepSeconds()` deriva de `stepMinute` para entrada `type=time`.
317
+
318
+ ### 5. Exemplo Minimo (JSON + Uso)
319
+ ```json
320
+ {
321
+ "componentId": "pdx-inline-time-range",
322
+ "metadata": {
323
+ "name": "window",
324
+ "label": "Janela",
325
+ "controlType": "timeRange",
326
+ "minTime": "08:00",
327
+ "maxTime": "18:00",
328
+ "stepMinute": 30
329
+ }
330
+ }
331
+ ```
332
+ Uso: intervalo simples de horario comercial.
333
+
334
+ ### 6. Exemplo Corporativo (JSON + Uso)
335
+ ```json
336
+ {
337
+ "componentId": "pdx-inline-time-range",
338
+ "metadata": {
339
+ "name": "slaWindow",
340
+ "label": "Janela SLA",
341
+ "controlType": "timeRange",
342
+ "minTime": "00:00",
343
+ "maxTime": "23:59",
344
+ "stepMinute": 15,
345
+ "inlinePanelTitle": "Horario de atendimento",
346
+ "inlineTimeQuickPresets": [
347
+ { "id": "business", "label": "Comercial", "start": "08:00", "end": "18:00" },
348
+ { "id": "night", "label": "Noturno", "start": "18:00", "end": "23:59" }
349
+ ],
350
+ "inlineTimeTrackShifts": [
351
+ { "id": "morning", "start": "06:00", "end": "12:00", "color": "#93c5fd" },
352
+ { "id": "afternoon", "start": "12:00", "end": "18:00", "color": "#fcd34d" }
353
+ ],
354
+ "validators": {
355
+ "rangeMessage": "Inicio deve ser menor que fim",
356
+ "minDistanceMessage": "Intervalo minimo nao atendido"
357
+ },
358
+ "inlineAutoSize": { "minWidth": 186, "maxWidth": 360 }
359
+ }
360
+ }
361
+ ```
362
+ Uso: filtro de janela operacional com presets e trilha semantica.
363
+
364
+ ### 7. Troubleshooting e Armadilhas Comuns
365
+ 1. Presets nao aparecem.
366
+ Correcao: validar formato de `inlineTimeQuickPresets/quickPresets`.
367
+
368
+ 2. Trilha colorida nao aplica turnos.
369
+ Correcao: conferir `inlineTimeTrackShifts` com ranges validos.
370
+
371
+ 3. Erro de faixa sem mensagem custom.
372
+ Correcao: preencher `validators.rangeMessage/minDistanceMessage/maxDistanceMessage`.
373
+
374
+ 4. Inputs aceitam passos diferentes do slider.
375
+ Correcao: ajustar `stepMinute` e conferir normalizacao.
376
+
377
+ 5. Limites invertidos.
378
+ Correcao: revisar `minTime/maxTime` (ou aliases) no payload final.
379
+
380
+ ### 8. Cross-links
381
+ - `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.json-api.md`
382
+ - `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
383
+
384
+ ### 9. Relatorio de Validacao Estrutural
385
+ - Visao geral: PASS
386
+ - API (inputs/outputs): PASS
387
+ - Cobertura JSON completa (especifico + herdado): PASS
388
+ - Mapeamento de comportamento: PASS
389
+ - Exemplo minimo: PASS
390
+ - Exemplo corporativo: PASS
391
+ - Troubleshooting: PASS
392
+
393
+ ## JSON path index (obrigatorio)
394
+
395
+ | Path | Type | Required | Default | Status | Notes |
396
+ | --- | --- | --- | --- | --- | --- |
397
+ | `metadata` | object | true | n/a | Partial | See Detailed API reference. |
398
+ | `metadata.stepMinute` | unknown | false | n/a | Partial | See Detailed API reference. |
399
+ | `metadata.interval` | string | false | n/a | Partial | See Detailed API reference. |
400
+ | `metadata.inlinePanelTitle` | string | false | n/a | Partial | See Detailed API reference. |
401
+ | `metadata.inlineTimeQuickPresets` | array | false | n/a | Partial | See Detailed API reference. |
402
+ | `metadata.inlineTimeTrackShifts` | unknown | false | n/a | Partial | See Detailed API reference. |
403
+ | `metadata.inlineTrackShifts` | unknown | false | n/a | Partial | See Detailed API reference. |
404
+ | `metadata.validators.rangeMessage` | string | false | n/a | Partial | See Detailed API reference. |
405
+ | `metadata.validators.minDistanceMessage` | string | false | n/a | Partial | See Detailed API reference. |
406
+ | `metadata.validators.maxDistanceMessage` | string | false | n/a | Partial | See Detailed API reference. |
407
+ | `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
408
+ | `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
409
+ | `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
410
+ | `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
411
+ | `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
412
+
413
+ ## Events reference (obrigatorio)
414
+
415
+ | Event | Payload | Trigger | Stability | Notes |
416
+ | --- | --- | --- | --- | --- |
417
+ | `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
418
+ | `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
419
+ | `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
420
+ | `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
421
+
422
+ ## Styling API (obrigatorio quando aplicavel)
423
+
424
+ | Token/Class | Scope | Purpose | Notes |
425
+ | --- | --- | --- | --- |
426
+ | `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
427
+
428
+ ## Examples (obrigatorio)
429
+
430
+ | Example | Scenario | Validates | Notes |
431
+ | --- | --- | --- | --- |
432
+ | `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
433
+ | `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
434
+ | `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
435
+ | `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
436
+
437
+ ### Minimal valid
438
+
439
+ ```json
440
+ {
441
+ "componentId": "pdx-inline-time-range",
442
+ "metadata": {
443
+ "name": "window",
444
+ "label": "Janela",
445
+ "controlType": "timeRange",
446
+ "minTime": "08:00",
447
+ "maxTime": "18:00",
448
+ "stepMinute": 30
449
+ },
450
+ "readonlyMode": false
451
+ }
452
+ ```
453
+
454
+ ### Common setup
455
+
456
+ ```json
457
+ {
458
+ "componentId": "pdx-inline-time-range",
459
+ "metadata": {
460
+ "name": "slaWindow",
461
+ "label": "Janela SLA",
462
+ "controlType": "timeRange",
463
+ "minTime": "00:00",
464
+ "maxTime": "23:59",
465
+ "stepMinute": 15,
466
+ "inlinePanelTitle": "pdx-inline-time-range-common",
467
+ "inlineTimeQuickPresets": [
468
+ {
469
+ "id": "business",
470
+ "label": "Comercial",
471
+ "start": "08:00",
472
+ "end": "18:00"
473
+ },
474
+ {
475
+ "id": "night",
476
+ "label": "Noturno",
477
+ "start": "18:00",
478
+ "end": "23:59"
479
+ }
480
+ ],
481
+ "inlineTimeTrackShifts": [
482
+ {
483
+ "id": "morning",
484
+ "start": "06:00",
485
+ "end": "12:00",
486
+ "color": "#93c5fd"
487
+ },
488
+ {
489
+ "id": "afternoon",
490
+ "start": "12:00",
491
+ "end": "18:00",
492
+ "color": "#fcd34d"
493
+ }
494
+ ],
495
+ "validators": {
496
+ "rangeMessage": "Inicio deve ser menor que fim",
497
+ "minDistanceMessage": "Intervalo minimo nao atendido"
498
+ },
499
+ "inlineAutoSize": {
500
+ "minWidth": 186,
501
+ "maxWidth": 360
502
+ }
503
+ }
504
+ }
505
+ ```
506
+
507
+ ### Advanced setup
508
+
509
+ ```json
510
+ {
511
+ "componentId": "pdx-inline-time-range",
512
+ "metadata": {
513
+ "name": "slaWindow",
514
+ "label": "Janela SLA",
515
+ "controlType": "timeRange",
516
+ "minTime": "00:00",
517
+ "maxTime": "23:59",
518
+ "stepMinute": 15,
519
+ "inlinePanelTitle": "Horario de atendimento",
520
+ "inlineTimeQuickPresets": [
521
+ {
522
+ "id": "business",
523
+ "label": "Comercial",
524
+ "start": "08:00",
525
+ "end": "18:00"
526
+ },
527
+ {
528
+ "id": "night",
529
+ "label": "Noturno",
530
+ "start": "18:00",
531
+ "end": "23:59"
532
+ }
533
+ ],
534
+ "inlineTimeTrackShifts": [
535
+ {
536
+ "id": "morning",
537
+ "start": "06:00",
538
+ "end": "12:00",
539
+ "color": "#93c5fd"
540
+ },
541
+ {
542
+ "id": "afternoon",
543
+ "start": "12:00",
544
+ "end": "18:00",
545
+ "color": "#fcd34d"
546
+ }
547
+ ],
548
+ "validators": {
549
+ "rangeMessage": "Inicio deve ser menor que fim",
550
+ "minDistanceMessage": "Intervalo minimo nao atendido"
551
+ },
552
+ "inlineAutoSize": {
553
+ "minWidth": 186,
554
+ "maxWidth": 360
555
+ }
556
+ },
557
+ "readonlyMode": false,
558
+ "disabledMode": false
559
+ }
560
+ ```
561
+
562
+ ### Enterprise scenario
563
+
564
+ ```json
565
+ {
566
+ "componentId": "pdx-inline-time-range",
567
+ "metadata": {
568
+ "name": "slaWindow",
569
+ "label": "Janela SLA",
570
+ "controlType": "timeRange",
571
+ "minTime": "00:00",
572
+ "maxTime": "23:59",
573
+ "stepMinute": 15,
574
+ "inlinePanelTitle": "Horario de atendimento",
575
+ "inlineTimeQuickPresets": [
576
+ {
577
+ "id": "business",
578
+ "label": "Comercial",
579
+ "start": "08:00",
580
+ "end": "18:00"
581
+ },
582
+ {
583
+ "id": "night",
584
+ "label": "Noturno",
585
+ "start": "18:00",
586
+ "end": "23:59"
587
+ }
588
+ ],
589
+ "inlineTimeTrackShifts": [
590
+ {
591
+ "id": "morning",
592
+ "start": "06:00",
593
+ "end": "12:00",
594
+ "color": "#93c5fd"
595
+ },
596
+ {
597
+ "id": "afternoon",
598
+ "start": "12:00",
599
+ "end": "18:00",
600
+ "color": "#fcd34d"
601
+ }
602
+ ],
603
+ "validators": {
604
+ "rangeMessage": "Inicio deve ser menor que fim",
605
+ "minDistanceMessage": "Intervalo minimo nao atendido"
606
+ },
607
+ "inlineAutoSize": {
608
+ "minWidth": 186,
609
+ "maxWidth": 360
610
+ }
611
+ },
612
+ "presentationMode": true,
613
+ "visible": true
614
+ }
615
+ ```
616
+
617
+ ## Compatibility and migration notes (recomendado)
618
+
619
+ | Concern | Affected versions | Migration action | Deadline | Notes |
620
+ | --- | --- | --- | --- | --- |
621
+ | Historical 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 |
622
+
623
+ ## Known limitations and mismatches (recomendado)
624
+
625
+ | Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
626
+ | --- | --- | --- | --- | --- | --- |
627
+ | 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 |
628
+
629
+ ## Source references (obrigatorio)
630
+
631
+ | Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
632
+ | --- | --- | --- | --- | --- |
633
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
634
+ | runtime-code | projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
635
+ | schema-types | projects/praxis-core/src/lib/models/material-time-range-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |