@praxisui/dynamic-fields 8.0.0-beta.7 → 8.0.0-beta.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/docs/dynamic-fields-field-catalog.md +217 -0
- package/docs/dynamic-fields-field-selection-guide.md +204 -0
- package/docs/dynamic-fields-host-custom-field-guide.md +252 -0
- package/docs/dynamic-fields-host-custom-field-troubleshooting.md +160 -0
- package/docs/dynamic-fields-inline-components-guide.md +582 -0
- package/docs/dynamic-fields-inline-filter-catalog.md +502 -0
- package/docs/dynamic-fields-inline-filter-custom-component-guide.md +241 -0
- package/docs/dynamic-fields-inline-filter-inventory.md +247 -0
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +391 -0
- package/docs/dynamic-fields-inline-filter-selection-guide.md +419 -0
- package/docs/dynamic-fields-inline-filter-troubleshooting.md +201 -0
- package/docs/dynamic-fields-inventory.md +206 -0
- package/docs/dynamic-fields-playground-catalog-plan.md +243 -0
- package/docs/generic-crud-service.md +152 -0
- package/fesm2022/praxisui-dynamic-fields-index-CBogy3si.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-CWPZdn1Y.mjs +6 -0
- package/fesm2022/praxisui-dynamic-fields-index-CrHhyUMO.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-DhGo5In4.mjs +6 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +19551 -10669
- package/package.json +14 -13
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +526 -0
- package/src/lib/base/pdx-base-select-runtime-contract.json-api.md +474 -0
- package/src/lib/components/color-input/pdx-color-input.json-api.md +573 -0
- package/src/lib/components/color-picker/pdx-color-picker.json-api.md +686 -0
- package/src/lib/components/date-input/pdx-date-input.json-api.md +581 -0
- package/src/lib/components/datetime-local-input/pdx-datetime-local-input.json-api.md +560 -0
- package/src/lib/components/email-input/pdx-email-input.json-api.md +546 -0
- package/src/lib/components/field-shell/praxis-field-shell.json-api.md +523 -0
- package/src/lib/components/inline-async-select/pdx-inline-async-select.json-api.md +566 -0
- package/src/lib/components/inline-autocomplete/pdx-inline-autocomplete.json-api.md +554 -0
- package/src/lib/components/inline-color-label/pdx-inline-color-label.json-api.md +615 -0
- package/src/lib/components/inline-currency/pdx-inline-currency.json-api.md +542 -0
- package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +630 -0
- package/src/lib/components/inline-date/pdx-inline-date.json-api.md +529 -0
- package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +592 -0
- package/src/lib/components/inline-distance-radius/pdx-inline-distance-radius.json-api.md +649 -0
- package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +656 -0
- package/src/lib/components/inline-input/pdx-inline-input.json-api.md +538 -0
- package/src/lib/components/inline-multi-select/pdx-inline-multi-select.json-api.md +566 -0
- package/src/lib/components/inline-number/pdx-inline-number.json-api.md +533 -0
- package/src/lib/components/inline-pipeline-status/pdx-inline-pipeline-status.json-api.md +619 -0
- package/src/lib/components/inline-range-slider/pdx-inline-range-slider.json-api.md +605 -0
- package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +594 -0
- package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +623 -0
- package/src/lib/components/inline-score-priority/pdx-inline-score-priority.json-api.md +632 -0
- package/src/lib/components/inline-searchable-select/pdx-inline-searchable-select.json-api.md +564 -0
- package/src/lib/components/inline-select/pdx-inline-select.json-api.md +571 -0
- package/src/lib/components/inline-sentiment/pdx-inline-sentiment.json-api.md +661 -0
- package/src/lib/components/inline-time/pdx-inline-time.json-api.md +573 -0
- package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +635 -0
- package/src/lib/components/inline-toggle/pdx-inline-toggle.json-api.md +516 -0
- package/src/lib/components/inline-tree-select/pdx-inline-tree-select.json-api.md +637 -0
- package/src/lib/components/material-async-select/pdx-material-async-select.json-api.md +566 -0
- package/src/lib/components/material-autocomplete/pdx-material-autocomplete.json-api.md +561 -0
- package/src/lib/components/material-avatar/pdx-material-avatar.json-api.md +670 -0
- package/src/lib/components/material-button/pdx-material-button.json-api.md +572 -0
- package/src/lib/components/material-button-toggle/pdx-material-button-toggle.json-api.md +577 -0
- package/src/lib/components/material-checkbox-group/pdx-material-checkbox-group.json-api.md +611 -0
- package/src/lib/components/material-chips/pdx-material-chips.json-api.md +601 -0
- package/src/lib/components/material-colorpicker/pdx-material-colorpicker.json-api.md +545 -0
- package/src/lib/components/material-cpf-cnpj-input/pdx-material-cpf-cnpj-input.json-api.md +531 -0
- package/src/lib/components/material-currency/pdx-material-currency.json-api.md +569 -0
- package/src/lib/components/material-date-range/pdx-material-date-range.json-api.md +636 -0
- package/src/lib/components/material-datepicker/pdx-material-datepicker.json-api.md +551 -0
- package/src/lib/components/material-file-upload/pdx-material-file-upload.json-api.md +511 -0
- package/src/lib/components/material-multi-select/pdx-material-multi-select.json-api.md +596 -0
- package/src/lib/components/material-multi-select-tree/pdx-material-multi-select-tree.json-api.md +623 -0
- package/src/lib/components/material-price-range/pdx-material-price-range.json-api.md +619 -0
- package/src/lib/components/material-radio-group/pdx-material-radio-group.json-api.md +585 -0
- package/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md +664 -0
- package/src/lib/components/material-rating/pdx-material-rating.json-api.md +551 -0
- package/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md +602 -0
- package/src/lib/components/material-select/pdx-material-select.json-api.md +601 -0
- package/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md +607 -0
- package/src/lib/components/material-slide-toggle/pdx-material-slide-toggle.json-api.md +522 -0
- package/src/lib/components/material-slider/pdx-material-slider.json-api.md +602 -0
- package/src/lib/components/material-textarea/pdx-material-textarea.json-api.md +598 -0
- package/src/lib/components/material-timepicker/pdx-material-timepicker.json-api.md +554 -0
- package/src/lib/components/material-transfer-list/pdx-material-transfer-list.json-api.md +614 -0
- package/src/lib/components/material-tree-select/pdx-material-tree-select.json-api.md +649 -0
- package/src/lib/components/month-input/pdx-month-input.json-api.md +527 -0
- package/src/lib/components/number-input/pdx-number-input.json-api.md +594 -0
- package/src/lib/components/password-input/pdx-password-input.json-api.md +574 -0
- package/src/lib/components/pdx-material-time-range/pdx-material-time-range.json-api.md +592 -0
- package/src/lib/components/pdx-year-input/pdx-year-input.json-api.md +543 -0
- package/src/lib/components/phone-input/pdx-phone-input.json-api.md +583 -0
- package/src/lib/components/preload-status/pdx-preload-status.json-api.md +455 -0
- package/src/lib/components/search-input/pdx-search-input.json-api.md +536 -0
- package/src/lib/components/text-input/pdx-text-input.json-api.md +600 -0
- package/src/lib/components/time-input/pdx-time-input.json-api.md +546 -0
- package/src/lib/components/url-input/pdx-url-input.json-api.md +542 -0
- package/src/lib/components/week-input/pdx-week-input.json-api.md +533 -0
- package/{index.d.ts → types/praxisui-dynamic-fields.d.ts} +874 -440
- package/fesm2022/praxisui-dynamic-fields-index-C9IUU4lo.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-GJtthzkD.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-XvVS6lAQ.mjs +0 -1
|
@@ -0,0 +1,592 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "pdx-material-time-range JSON API (Canonical)"
|
|
3
|
+
slug: "pdx-material-time-range-json-api"
|
|
4
|
+
doc_type: "api-reference"
|
|
5
|
+
component: "pdx-material-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-material-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/pdx-material-time-range/pdx-material-time-range.metadata.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
|
+
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts"
|
|
25
|
+
source_of_truth_last_verified: "2026-03-06"
|
|
26
|
+
last_updated: "2026-03-06"
|
|
27
|
+
toc: true
|
|
28
|
+
sidebar: true
|
|
29
|
+
tags:
|
|
30
|
+
- "json-api"
|
|
31
|
+
- "canonical-contract"
|
|
32
|
+
- "pdx-material-time-range"
|
|
33
|
+
api_stability: "canonical"
|
|
34
|
+
schema_verified: true
|
|
35
|
+
runtime_verified: true
|
|
36
|
+
editor_coverage_verified: false
|
|
37
|
+
runtime_scope: "public"
|
|
38
|
+
legacy_paths_present: false
|
|
39
|
+
has_known_mismatches: false
|
|
40
|
+
related_components:
|
|
41
|
+
- "praxis-table"
|
|
42
|
+
- "pdx-base-input-runtime-contract"
|
|
43
|
+
- "pdx-material-timepicker"
|
|
44
|
+
- "pdx-time-input"
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# pdx-material-time-range
|
|
48
|
+
|
|
49
|
+
Este documento e a referencia canonica da API JSON de pdx-material-time-range.
|
|
50
|
+
|
|
51
|
+
## Summary
|
|
52
|
+
|
|
53
|
+
- Tipo documental: API reference canonica de contrato JSON.
|
|
54
|
+
- Source of truth: runtime e codigo declarados no frontmatter.
|
|
55
|
+
- Objetivo operacional: consulta rapida, auditavel e deterministica sob pressao.
|
|
56
|
+
- Resumo funcional: Contrato JSON metadata-driven com comportamento definido por runtime e schema associado.
|
|
57
|
+
|
|
58
|
+
## Purpose and scope
|
|
59
|
+
|
|
60
|
+
- O componente consome payload JSON metadata-driven e expoe comportamento runtime configuravel por contrato.
|
|
61
|
+
- Esta referencia cobre contrato publico, classificacao de paths e semantica de cobertura (runtime/schema/editor).
|
|
62
|
+
- Fora de escopo: quickstart, tutorial narrativo e notas arquiteturais que nao alteram contrato publico.
|
|
63
|
+
|
|
64
|
+
## Consulta rapida (obrigatorio)
|
|
65
|
+
|
|
66
|
+
| Regra/tema | Observado | Canonico desejado | Status | Evidencia |
|
|
67
|
+
| --- | --- | --- | --- | --- |
|
|
68
|
+
| Component id | `pdx-material-time-range` | Manter ID canonico estavel e versionado por contrato | Active | frontmatter.component |
|
|
69
|
+
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
70
|
+
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts` |
|
|
71
|
+
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
72
|
+
| Editor/tooling coverage | `false` | Editor/tooling deve espelhar somente contrato publico suportado | Partial | `projects/praxis-core/src/lib/metadata/field-selector-control-type.constants.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` |
|
|
73
|
+
| Legacy paths | `false` | Segregar legado de caminhos canonicos com janela de migracao | Active | frontmatter.legacy_paths_present |
|
|
74
|
+
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
75
|
+
|
|
76
|
+
## Source of truth
|
|
77
|
+
|
|
78
|
+
| Source | Kind | Notes |
|
|
79
|
+
| --- | --- | --- |
|
|
80
|
+
| projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.metadata.ts | schema-metadata | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
81
|
+
| 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. |
|
|
82
|
+
| projects/praxis-core/src/lib/models/material-time-range-metadata.interface.ts | schema-types | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
83
|
+
| projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
84
|
+
|
|
85
|
+
## Support legend
|
|
86
|
+
|
|
87
|
+
- **Active**: suportado em runtime e liberado para uso externo.
|
|
88
|
+
- **Partial**: suporte parcial, com restricoes, lacunas ou validacao incompleta.
|
|
89
|
+
- **Declared-only**: declarado em tipos/schema sem evidencia operacional completa.
|
|
90
|
+
- **Schema-only**: presente em schema/tipos sem cobertura runtime confirmada.
|
|
91
|
+
- **Deprecated**: legado suportado por janela de migracao definida.
|
|
92
|
+
|
|
93
|
+
## Contract status snapshot
|
|
94
|
+
|
|
95
|
+
| Item | Value | Notes |
|
|
96
|
+
| --- | --- | --- |
|
|
97
|
+
| Reference mode | `canonical` | Deve permanecer canonico |
|
|
98
|
+
| Contract format | `json` | Contrato metadata-driven |
|
|
99
|
+
| Contract source | `runtime-and-code` | Alinhar com source_of_truth |
|
|
100
|
+
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
101
|
+
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
102
|
+
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
103
|
+
| Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
|
|
104
|
+
| Legacy paths present | `false` | Segregar legado de contrato canonico |
|
|
105
|
+
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
106
|
+
|
|
107
|
+
## Contract classification (obrigatorio)
|
|
108
|
+
|
|
109
|
+
### Canonical paths (public contract)
|
|
110
|
+
|
|
111
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
112
|
+
| --- | --- | --- | --- | --- | --- |
|
|
113
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
114
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
115
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
116
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
117
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
118
|
+
| `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
119
|
+
| `metadata.startLabel` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
120
|
+
| `metadata.endLabel` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
121
|
+
|
|
122
|
+
### Supported legacy paths
|
|
123
|
+
|
|
124
|
+
Nenhum path legado suportado foi identificado nesta revisao.
|
|
125
|
+
|
|
126
|
+
### Internal-only paths
|
|
127
|
+
|
|
128
|
+
Nao ha paths internal-only confirmados no contrato publico desta revisao.
|
|
129
|
+
|
|
130
|
+
### Experimental paths
|
|
131
|
+
|
|
132
|
+
Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
133
|
+
|
|
134
|
+
## Public contract surface (obrigatorio)
|
|
135
|
+
|
|
136
|
+
### Top-level configuration blocks
|
|
137
|
+
|
|
138
|
+
| Block | Purpose | Required | Merge strategy | Notes |
|
|
139
|
+
| --- | --- | --- | --- | --- |
|
|
140
|
+
| `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
141
|
+
| `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
142
|
+
| `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
143
|
+
| `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
144
|
+
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
145
|
+
|
|
146
|
+
### Nested configuration blocks
|
|
147
|
+
|
|
148
|
+
| Path | Type | Required | Default | Constraints | Notes |
|
|
149
|
+
| --- | --- | --- | --- | --- | --- |
|
|
150
|
+
| `metadata.controlType` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
151
|
+
| `metadata.startLabel` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
152
|
+
| `metadata.endLabel` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
153
|
+
| `metadata.startPlaceholder` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
154
|
+
| `metadata.endPlaceholder` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
155
|
+
| `metadata.minDistanceMinutes` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
156
|
+
| `metadata.maxDistanceMinutes` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
157
|
+
| `metadata.validators.rangeMessage` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
158
|
+
| `metadata.validators.minDistanceMessage` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
159
|
+
| `metadata.validators.maxDistanceMessage` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
160
|
+
|
|
161
|
+
### Input bindings (inbound data)
|
|
162
|
+
|
|
163
|
+
| Binding/Path | Type | Required | Source | Runtime normalization | Notes |
|
|
164
|
+
| --- | --- | --- | --- | --- | --- |
|
|
165
|
+
| `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
|
|
166
|
+
| `readonlyMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
167
|
+
| `disabledMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
168
|
+
| `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
169
|
+
| `presentationMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
170
|
+
|
|
171
|
+
### Output events
|
|
172
|
+
|
|
173
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
174
|
+
| --- | --- | --- | --- | --- |
|
|
175
|
+
| `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
176
|
+
| `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
177
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
178
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
179
|
+
|
|
180
|
+
### External side channels
|
|
181
|
+
|
|
182
|
+
| Channel | Direction | Contract | Failure mode | Notes |
|
|
183
|
+
| --- | --- | --- | --- | --- |
|
|
184
|
+
| `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
|
|
185
|
+
|
|
186
|
+
### Host/runtime dependencies
|
|
187
|
+
|
|
188
|
+
| Dependency | Required | Environment | Purpose | Notes |
|
|
189
|
+
| --- | --- | --- | --- | --- |
|
|
190
|
+
| `pdx-material-time-range.metadata.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.metadata.ts`. |
|
|
191
|
+
| `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`. |
|
|
192
|
+
| `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`. |
|
|
193
|
+
| `simple-base-input.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts`. |
|
|
194
|
+
|
|
195
|
+
## Coverage by surface (obrigatorio)
|
|
196
|
+
|
|
197
|
+
### Coverage matrix (runtime, schema/type, editor/tooling)
|
|
198
|
+
|
|
199
|
+
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
200
|
+
| --- | --- | --- | --- | --- |
|
|
201
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.metadata.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. |
|
|
202
|
+
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
203
|
+
| Editor/Tooling | `false` | Partial | `projects/praxis-core/src/lib/metadata/field-selector-control-type.constants.ts`, `projects/praxis-dynamic-fields/src/lib/services/component-registry/component-registry.service.ts` | Selector/control-type tooling linkage verified via default selector map and registry seeding; visual editor end-to-end coverage remains not-yet-verified. |
|
|
204
|
+
|
|
205
|
+
### Runtime coverage boundaries
|
|
206
|
+
|
|
207
|
+
- Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
|
|
208
|
+
- Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
|
|
209
|
+
- Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
|
|
210
|
+
|
|
211
|
+
### Editor and tooling notes
|
|
212
|
+
|
|
213
|
+
- Evidencia de tooling: selector `pdx-*` mapeado em `DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP` e semeado no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
|
|
214
|
+
- O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
|
|
215
|
+
- Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
|
|
216
|
+
- Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
|
|
217
|
+
|
|
218
|
+
## Resolution and precedence model (obrigatorio)
|
|
219
|
+
|
|
220
|
+
### Merge order
|
|
221
|
+
|
|
222
|
+
1. defaults do componente
|
|
223
|
+
2. contrato JSON recebido
|
|
224
|
+
3. overrides de host/runtime
|
|
225
|
+
4. normalizacoes internas
|
|
226
|
+
|
|
227
|
+
### Fallback order
|
|
228
|
+
|
|
229
|
+
contrato explicito -> aliases legados (quando suportados) -> defaults internos -> comportamento seguro
|
|
230
|
+
|
|
231
|
+
### Override points
|
|
232
|
+
|
|
233
|
+
- inputs publicos do componente
|
|
234
|
+
- configuracao JSON de runtime
|
|
235
|
+
- integracoes de host (servicos/tokens/adapters)
|
|
236
|
+
|
|
237
|
+
### Runtime normalization
|
|
238
|
+
|
|
239
|
+
Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
|
|
240
|
+
|
|
241
|
+
### Precedence rules
|
|
242
|
+
|
|
243
|
+
Em conflito entre alias legado e path canonico, priorizar path canonico e registrar janela de migracao do legado.
|
|
244
|
+
|
|
245
|
+
## Validation and error semantics (obrigatorio)
|
|
246
|
+
|
|
247
|
+
### Validation model
|
|
248
|
+
|
|
249
|
+
| Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
|
|
250
|
+
| --- | --- | --- | --- | --- |
|
|
251
|
+
| canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
|
|
252
|
+
|
|
253
|
+
### Invalid and unknown field handling
|
|
254
|
+
|
|
255
|
+
- Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
|
|
256
|
+
- Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
|
|
257
|
+
- Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
|
|
258
|
+
|
|
259
|
+
### Fail-open / fail-closed behavior
|
|
260
|
+
|
|
261
|
+
| Condition | Mode | Runtime behavior | Consumer impact |
|
|
262
|
+
| --- | --- | --- | --- |
|
|
263
|
+
| invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
|
|
264
|
+
|
|
265
|
+
### Runtime warnings vs hard failures
|
|
266
|
+
|
|
267
|
+
| Condition | Severity | Observability | Consumer action |
|
|
268
|
+
| --- | --- | --- | --- |
|
|
269
|
+
| partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
|
|
270
|
+
| mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
|
|
271
|
+
|
|
272
|
+
## Detailed API reference
|
|
273
|
+
### Preserved technical reference (normalized from previous revision)
|
|
274
|
+
|
|
275
|
+
### 1. Visao Geral e Quando Usar
|
|
276
|
+
`pdx-material-time-range` e o componente orientado por JSON para intervalo de horario em `@praxisui/dynamic-fields`.
|
|
277
|
+
|
|
278
|
+
Use quando precisar:
|
|
279
|
+
- capturar horario inicial e final no mesmo campo logico;
|
|
280
|
+
- validar ordem do intervalo (`start <= end`);
|
|
281
|
+
- validar distancia minima/maxima entre horarios.
|
|
282
|
+
|
|
283
|
+
### 2. API do Componente (Inputs/Outputs)
|
|
284
|
+
| Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
|
|
285
|
+
| --- | --- | --- | --- | --- |
|
|
286
|
+
| `metadata` | `MaterialTimeRangeMetadata` | - | Sim | Contrato principal do intervalo. |
|
|
287
|
+
| `readonlyMode` | `boolean` | `false` | Nao | Sobrescreve leitura no host. |
|
|
288
|
+
| `disabledMode` | `boolean` | `false` | Nao | Sobrescreve estado disabled no host. |
|
|
289
|
+
| `visible` | `boolean` | `true` | Nao | Controla exibicao no host. |
|
|
290
|
+
| `presentationMode` | `boolean` | `false` | Nao | Modo apresentacao (sem edicao). |
|
|
291
|
+
|
|
292
|
+
Observacao:
|
|
293
|
+
- o valor do campo e um objeto `{ "start": string | null, "end": string | null }`.
|
|
294
|
+
- nao ha output dedicado de validacao; use outputs herdados (`valueChange`, `focusChange`, `nativeBlur`, `nativeChange`).
|
|
295
|
+
|
|
296
|
+
### 3. Matriz de Cobertura JSON (Completa)
|
|
297
|
+
#### 3.1 Campos especificos do componente
|
|
298
|
+
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
299
|
+
| --- | --- | --- | --- |
|
|
300
|
+
| `metadata.controlType` | `'timeRange'` | Ativo | Identifica contrato do componente no host. |
|
|
301
|
+
| `metadata.startLabel` | `string` | Ativo | Label do campo inicial. |
|
|
302
|
+
| `metadata.endLabel` | `string` | Ativo | Label do campo final. |
|
|
303
|
+
| `metadata.startPlaceholder` | `string` | Ativo | Placeholder do campo inicial. |
|
|
304
|
+
| `metadata.endPlaceholder` | `string` | Ativo | Placeholder do campo final. |
|
|
305
|
+
| `metadata.minDistanceMinutes` | `number` | Ativo | Valida distancia minima entre `start` e `end`. |
|
|
306
|
+
| `metadata.maxDistanceMinutes` | `number` | Ativo | Valida distancia maxima entre `start` e `end`. |
|
|
307
|
+
| `metadata.validators.rangeMessage` | `string` | Ativo | Mensagem custom para erro de ordem do intervalo. |
|
|
308
|
+
| `metadata.validators.minDistanceMessage` | `string` | Ativo | Mensagem custom para erro de distancia minima. |
|
|
309
|
+
| `metadata.validators.maxDistanceMessage` | `string` | Ativo | Mensagem custom para erro de distancia maxima. |
|
|
310
|
+
| `metadata.interval` | `number \| string` | Extensao de runtime | Encaminhado aos dois `mat-timepicker` internos. |
|
|
311
|
+
| `metadata.timeOptions` | `string[]` | Extensao de runtime | Encaminhado aos dois `mat-timepicker` internos. |
|
|
312
|
+
| `metadata.disableRipple` | `boolean` | Extensao de runtime | Encaminhado aos dois `mat-timepicker` internos. |
|
|
313
|
+
| `metadata.minTime` | `string` | Declared-only | Declarado na interface de core, sem validacao aplicada neste componente atual. |
|
|
314
|
+
| `metadata.maxTime` | `string` | Declared-only | Declarado na interface de core, sem validacao aplicada neste componente atual. |
|
|
315
|
+
| `metadata.showSeconds` | `boolean` | Declared-only | Declarado na interface, sem binding/validator dedicado no runtime atual. |
|
|
316
|
+
| `metadata.stepMinute` | `number` | Declared-only | Declarado na interface, sem uso direto neste componente atual. |
|
|
317
|
+
| `metadata.stepSecond` | `number` | Declared-only | Declarado na interface, sem uso direto neste componente atual. |
|
|
318
|
+
| `metadata.inlineTimeTrackShifts` | `Array<string \| object>` | Declared-only | Declarado na interface para visualizacao de trilha; sem consumo no template atual. |
|
|
319
|
+
|
|
320
|
+
Notas de runtime:
|
|
321
|
+
- validacao de ordem compara `start` e `end` como horario textual no formato `HH:mm`.
|
|
322
|
+
- validadores de distancia convertem horario para minutos (`hours * 60 + minutes`).
|
|
323
|
+
|
|
324
|
+
#### 3.2 Campos herdados compartilhados (exaustivo)
|
|
325
|
+
Contrato completo dos campos herdados consumidos por `SimpleBaseInput`:
|
|
326
|
+
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
327
|
+
|
|
328
|
+
Resumo de composicao deste componente:
|
|
329
|
+
- `Ativo`: labels/placeholders + validadores de ordem e distancia.
|
|
330
|
+
- `Extensao de runtime`: `interval`, `timeOptions`, `disableRipple`.
|
|
331
|
+
- `Declared-only`: parte do contrato de `MaterialTimeRangeMetadata` ainda sem mapeamento no template atual.
|
|
332
|
+
|
|
333
|
+
### 4. Mapeamento de Comportamento
|
|
334
|
+
- Paginacao: nao se aplica.
|
|
335
|
+
- Ordenacao: nao se aplica.
|
|
336
|
+
- Selecao: objeto de intervalo com `start` e `end`.
|
|
337
|
+
- Eventos: usa outputs herdados de `SimpleBaseInput`.
|
|
338
|
+
- Renderizacao: dois `mat-form-field` com timepicker independente (inicio/fim) e validacao combinada no `FormGroup`.
|
|
339
|
+
|
|
340
|
+
### 5. Exemplo Minimo (JSON + Uso)
|
|
341
|
+
```json
|
|
342
|
+
{
|
|
343
|
+
"componentId": "pdx-material-time-range",
|
|
344
|
+
"metadata": {
|
|
345
|
+
"name": "workRange",
|
|
346
|
+
"label": "Intervalo",
|
|
347
|
+
"controlType": "timeRange"
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
```
|
|
351
|
+
Uso: renderiza intervalo simples com `start` e `end`.
|
|
352
|
+
|
|
353
|
+
### 6. Exemplo Corporativo (JSON + Uso)
|
|
354
|
+
```json
|
|
355
|
+
{
|
|
356
|
+
"componentId": "pdx-material-time-range",
|
|
357
|
+
"metadata": {
|
|
358
|
+
"name": "slaWindow",
|
|
359
|
+
"label": "Janela SLA",
|
|
360
|
+
"controlType": "timeRange",
|
|
361
|
+
"startLabel": "Inicio",
|
|
362
|
+
"endLabel": "Fim",
|
|
363
|
+
"startPlaceholder": "08:00",
|
|
364
|
+
"endPlaceholder": "18:00",
|
|
365
|
+
"minDistanceMinutes": 30,
|
|
366
|
+
"maxDistanceMinutes": 480,
|
|
367
|
+
"validators": {
|
|
368
|
+
"rangeMessage": "Horario inicial deve ser menor ou igual ao final.",
|
|
369
|
+
"minDistanceMessage": "O intervalo minimo e de 30 minutos.",
|
|
370
|
+
"maxDistanceMessage": "O intervalo maximo e de 8 horas."
|
|
371
|
+
},
|
|
372
|
+
"interval": "30m",
|
|
373
|
+
"timeOptions": ["08:00", "08:30", "09:00", "09:30"],
|
|
374
|
+
"disableRipple": true
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
```
|
|
378
|
+
Uso: valida janela operacional com regras de distancia e mensagens corporativas customizadas.
|
|
379
|
+
|
|
380
|
+
### 7. Troubleshooting e Armadilhas Comuns
|
|
381
|
+
1. Esperar validacao automatica de `minTime`/`maxTime`.
|
|
382
|
+
Correcao: esses campos ainda estao apenas no contrato; nao ha validator dedicado no runtime atual.
|
|
383
|
+
|
|
384
|
+
2. Enviar `start > end` e nao entender erro.
|
|
385
|
+
Correcao: regra de ordem e obrigatoria quando ambos os campos estao preenchidos.
|
|
386
|
+
|
|
387
|
+
3. Definir `showSeconds` e esperar suporte completo a segundos.
|
|
388
|
+
Correcao: variante atual trabalha no fluxo principal com horario textual de minuto.
|
|
389
|
+
|
|
390
|
+
4. Usar formatos fora de `HH:mm`.
|
|
391
|
+
Correcao: validadores internos convertem por `split(':')`; padronize payload e input nesse formato.
|
|
392
|
+
|
|
393
|
+
5. Esperar visualizacao de turnos por `inlineTimeTrackShifts`.
|
|
394
|
+
Correcao: campo existe na interface, mas ainda sem renderizacao neste componente.
|
|
395
|
+
|
|
396
|
+
### 8. Cross-links
|
|
397
|
+
- `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
|
|
398
|
+
- `projects/praxis-dynamic-fields/src/lib/components/material-timepicker/pdx-material-timepicker.json-api.md`
|
|
399
|
+
- `projects/praxis-dynamic-fields/src/lib/components/time-input/pdx-time-input.json-api.md`
|
|
400
|
+
|
|
401
|
+
### 9. Relatorio de Validacao Estrutural
|
|
402
|
+
- Visao geral: PASS
|
|
403
|
+
- API (inputs/outputs): PASS
|
|
404
|
+
- Cobertura JSON completa (especifico + herdado): PASS
|
|
405
|
+
- Mapeamento de comportamento: PASS
|
|
406
|
+
- Exemplo minimo: PASS
|
|
407
|
+
- Exemplo corporativo: PASS
|
|
408
|
+
- Troubleshooting: PASS
|
|
409
|
+
|
|
410
|
+
## JSON path index (obrigatorio)
|
|
411
|
+
|
|
412
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
413
|
+
| --- | --- | --- | --- | --- | --- |
|
|
414
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
415
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
416
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
417
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
418
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
419
|
+
| `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference. |
|
|
420
|
+
| `metadata.startLabel` | string | false | n/a | Partial | See Detailed API reference. |
|
|
421
|
+
| `metadata.endLabel` | string | false | n/a | Partial | See Detailed API reference. |
|
|
422
|
+
| `metadata.startPlaceholder` | string | false | n/a | Partial | See Detailed API reference. |
|
|
423
|
+
| `metadata.endPlaceholder` | string | false | n/a | Partial | See Detailed API reference. |
|
|
424
|
+
| `metadata.minDistanceMinutes` | number | false | n/a | Partial | See Detailed API reference. |
|
|
425
|
+
| `metadata.maxDistanceMinutes` | number | false | n/a | Partial | See Detailed API reference. |
|
|
426
|
+
| `metadata.validators.rangeMessage` | string | false | n/a | Partial | See Detailed API reference. |
|
|
427
|
+
| `metadata.validators.minDistanceMessage` | string | false | n/a | Partial | See Detailed API reference. |
|
|
428
|
+
| `metadata.validators.maxDistanceMessage` | string | false | n/a | Partial | See Detailed API reference. |
|
|
429
|
+
| `metadata.interval` | string | false | n/a | Partial | See Detailed API reference. |
|
|
430
|
+
| `metadata.timeOptions` | array | false | n/a | Partial | See Detailed API reference. |
|
|
431
|
+
| `metadata.disableRipple` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
432
|
+
| `metadata.minTime` | string | false | n/a | Partial | See Detailed API reference. |
|
|
433
|
+
| `metadata.maxTime` | string | false | n/a | Partial | See Detailed API reference. |
|
|
434
|
+
|
|
435
|
+
## Events reference (obrigatorio)
|
|
436
|
+
|
|
437
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
438
|
+
| --- | --- | --- | --- | --- |
|
|
439
|
+
| `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
440
|
+
| `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
441
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
442
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
443
|
+
|
|
444
|
+
## Styling API (obrigatorio quando aplicavel)
|
|
445
|
+
|
|
446
|
+
| Token/Class | Scope | Purpose | Notes |
|
|
447
|
+
| --- | --- | --- | --- |
|
|
448
|
+
| `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
|
|
449
|
+
|
|
450
|
+
## Examples (obrigatorio)
|
|
451
|
+
|
|
452
|
+
| Example | Scenario | Validates | Notes |
|
|
453
|
+
| --- | --- | --- | --- |
|
|
454
|
+
| `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
|
|
455
|
+
| `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
|
|
456
|
+
| `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
|
|
457
|
+
| `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
|
|
458
|
+
|
|
459
|
+
### Minimal valid
|
|
460
|
+
|
|
461
|
+
```json
|
|
462
|
+
{
|
|
463
|
+
"componentId": "pdx-material-time-range",
|
|
464
|
+
"metadata": {
|
|
465
|
+
"name": "workRange",
|
|
466
|
+
"label": "Intervalo",
|
|
467
|
+
"controlType": "timeRange"
|
|
468
|
+
},
|
|
469
|
+
"readonlyMode": false
|
|
470
|
+
}
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
### Common setup
|
|
474
|
+
|
|
475
|
+
```json
|
|
476
|
+
{
|
|
477
|
+
"componentId": "pdx-material-time-range",
|
|
478
|
+
"metadata": {
|
|
479
|
+
"name": "slaWindow",
|
|
480
|
+
"label": "Janela SLA",
|
|
481
|
+
"controlType": "timeRange",
|
|
482
|
+
"startLabel": "pdx-material-time-range-common",
|
|
483
|
+
"endLabel": "Fim",
|
|
484
|
+
"startPlaceholder": "08:00",
|
|
485
|
+
"endPlaceholder": "18:00",
|
|
486
|
+
"minDistanceMinutes": 30,
|
|
487
|
+
"maxDistanceMinutes": 480,
|
|
488
|
+
"validators": {
|
|
489
|
+
"rangeMessage": "Horario inicial deve ser menor ou igual ao final.",
|
|
490
|
+
"minDistanceMessage": "O intervalo minimo e de 30 minutos.",
|
|
491
|
+
"maxDistanceMessage": "O intervalo maximo e de 8 horas."
|
|
492
|
+
},
|
|
493
|
+
"interval": "30m",
|
|
494
|
+
"timeOptions": [
|
|
495
|
+
"08:00",
|
|
496
|
+
"08:30",
|
|
497
|
+
"09:00",
|
|
498
|
+
"09:30"
|
|
499
|
+
],
|
|
500
|
+
"disableRipple": true
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### Advanced setup
|
|
506
|
+
|
|
507
|
+
```json
|
|
508
|
+
{
|
|
509
|
+
"componentId": "pdx-material-time-range",
|
|
510
|
+
"metadata": {
|
|
511
|
+
"name": "slaWindow",
|
|
512
|
+
"label": "Janela SLA",
|
|
513
|
+
"controlType": "timeRange",
|
|
514
|
+
"startLabel": "Inicio",
|
|
515
|
+
"endLabel": "Fim",
|
|
516
|
+
"startPlaceholder": "08:00",
|
|
517
|
+
"endPlaceholder": "18:00",
|
|
518
|
+
"minDistanceMinutes": 5,
|
|
519
|
+
"maxDistanceMinutes": 480,
|
|
520
|
+
"validators": {
|
|
521
|
+
"rangeMessage": "Horario inicial deve ser menor ou igual ao final.",
|
|
522
|
+
"minDistanceMessage": "O intervalo minimo e de 30 minutos.",
|
|
523
|
+
"maxDistanceMessage": "O intervalo maximo e de 8 horas."
|
|
524
|
+
},
|
|
525
|
+
"interval": "30m",
|
|
526
|
+
"timeOptions": [
|
|
527
|
+
"08:00",
|
|
528
|
+
"08:30",
|
|
529
|
+
"09:00",
|
|
530
|
+
"09:30"
|
|
531
|
+
],
|
|
532
|
+
"disableRipple": true
|
|
533
|
+
},
|
|
534
|
+
"readonlyMode": false,
|
|
535
|
+
"disabledMode": false
|
|
536
|
+
}
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
### Enterprise scenario
|
|
540
|
+
|
|
541
|
+
```json
|
|
542
|
+
{
|
|
543
|
+
"componentId": "pdx-material-time-range",
|
|
544
|
+
"metadata": {
|
|
545
|
+
"name": "slaWindow",
|
|
546
|
+
"label": "Janela SLA",
|
|
547
|
+
"controlType": "timeRange",
|
|
548
|
+
"startLabel": "Inicio",
|
|
549
|
+
"endLabel": "Fim",
|
|
550
|
+
"startPlaceholder": "08:00",
|
|
551
|
+
"endPlaceholder": "18:00",
|
|
552
|
+
"minDistanceMinutes": 30,
|
|
553
|
+
"maxDistanceMinutes": 480,
|
|
554
|
+
"validators": {
|
|
555
|
+
"rangeMessage": "Horario inicial deve ser menor ou igual ao final.",
|
|
556
|
+
"minDistanceMessage": "O intervalo minimo e de 30 minutos.",
|
|
557
|
+
"maxDistanceMessage": "O intervalo maximo e de 8 horas."
|
|
558
|
+
},
|
|
559
|
+
"interval": "30m",
|
|
560
|
+
"timeOptions": [
|
|
561
|
+
"08:00",
|
|
562
|
+
"08:30",
|
|
563
|
+
"09:00",
|
|
564
|
+
"09:30"
|
|
565
|
+
],
|
|
566
|
+
"disableRipple": true
|
|
567
|
+
},
|
|
568
|
+
"presentationMode": true,
|
|
569
|
+
"visible": true
|
|
570
|
+
}
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
## Compatibility and migration notes (recomendado)
|
|
574
|
+
|
|
575
|
+
| Concern | Affected versions | Migration action | Deadline | Notes |
|
|
576
|
+
| --- | --- | --- | --- | --- |
|
|
577
|
+
| 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 |
|
|
578
|
+
|
|
579
|
+
## Known limitations and mismatches (recomendado)
|
|
580
|
+
|
|
581
|
+
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
582
|
+
| --- | --- | --- | --- | --- | --- |
|
|
583
|
+
| 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 |
|
|
584
|
+
|
|
585
|
+
## Source references (obrigatorio)
|
|
586
|
+
|
|
587
|
+
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
588
|
+
| --- | --- | --- | --- | --- |
|
|
589
|
+
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.metadata.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
590
|
+
| 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 |
|
|
591
|
+
| 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 |
|
|
592
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|