@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.
- 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,538 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "pdx-inline-input JSON API (Canonical)"
|
|
3
|
+
slug: "pdx-inline-input-json-api"
|
|
4
|
+
doc_type: "api-reference"
|
|
5
|
+
component: "pdx-inline-input"
|
|
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-input."
|
|
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-input/inline-input.component.ts"
|
|
22
|
+
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts"
|
|
23
|
+
- "projects/praxis-core/src/lib/models/component-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-input"
|
|
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-text-input"
|
|
42
|
+
- "pdx-base-input-runtime-contract"
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
# pdx-inline-input
|
|
46
|
+
|
|
47
|
+
Este documento e a referencia canonica da API JSON de pdx-inline-input.
|
|
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-input` | 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-input/inline-input.component.ts`, `projects/praxis-dynamic-fields/src/lib/base/simple-base-input.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-input/inline-input.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
79
|
+
| projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
80
|
+
| projects/praxis-core/src/lib/models/component-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.autocomplete` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
111
|
+
| `metadata.spellcheck` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
112
|
+
| `metadata.minLength` | number | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
113
|
+
| `metadata.maxLength` | number | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
114
|
+
| `metadata.ariaLabel` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
115
|
+
| `metadata.clearButton` | object | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
116
|
+
| `metadata.inlineAutoSize.minWidth` | number | 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
|
+
| `inlineAutoSize` | Configuracao especifica de runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
138
|
+
| `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
139
|
+
| `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
140
|
+
| `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
141
|
+
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
142
|
+
|
|
143
|
+
### Nested configuration blocks
|
|
144
|
+
|
|
145
|
+
| Path | Type | Required | Default | Constraints | Notes |
|
|
146
|
+
| --- | --- | --- | --- | --- | --- |
|
|
147
|
+
| `metadata.autocomplete` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
148
|
+
| `metadata.spellcheck` | boolean | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
149
|
+
| `metadata.minLength` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
150
|
+
| `metadata.maxLength` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
151
|
+
| `metadata.ariaLabel` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
152
|
+
| `metadata.clearButton` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
153
|
+
| `metadata.inlineAutoSize.minWidth` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
154
|
+
| `metadata.inlineAutoSize.maxWidth` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
155
|
+
| `metadata.inlineAutoSize.minWidthMobile` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
156
|
+
| `metadata.inlineAutoSize.maxWidthMobile` | object | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
157
|
+
|
|
158
|
+
### Input bindings (inbound data)
|
|
159
|
+
|
|
160
|
+
| Binding/Path | Type | Required | Source | Runtime normalization | Notes |
|
|
161
|
+
| --- | --- | --- | --- | --- | --- |
|
|
162
|
+
| `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
|
|
163
|
+
| `readonlyMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
164
|
+
| `disabledMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
165
|
+
| `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
166
|
+
| `presentationMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
167
|
+
|
|
168
|
+
### Output events
|
|
169
|
+
|
|
170
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
171
|
+
| --- | --- | --- | --- | --- |
|
|
172
|
+
| `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
173
|
+
| `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
174
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
175
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
176
|
+
|
|
177
|
+
### External side channels
|
|
178
|
+
|
|
179
|
+
| Channel | Direction | Contract | Failure mode | Notes |
|
|
180
|
+
| --- | --- | --- | --- | --- |
|
|
181
|
+
| `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
|
|
182
|
+
|
|
183
|
+
### Host/runtime dependencies
|
|
184
|
+
|
|
185
|
+
| Dependency | Required | Environment | Purpose | Notes |
|
|
186
|
+
| --- | --- | --- | --- | --- |
|
|
187
|
+
| `inline-input.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/inline-input/inline-input.component.ts`. |
|
|
188
|
+
| `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`. |
|
|
189
|
+
| `component-metadata.interface.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-core/src/lib/models/component-metadata.interface.ts`. |
|
|
190
|
+
|
|
191
|
+
## Coverage by surface (obrigatorio)
|
|
192
|
+
|
|
193
|
+
### Coverage matrix (runtime, schema/type, editor/tooling)
|
|
194
|
+
|
|
195
|
+
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
196
|
+
| --- | --- | --- | --- | --- |
|
|
197
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-input/inline-input.component.ts`, `projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
|
|
198
|
+
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
199
|
+
| 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. |
|
|
200
|
+
|
|
201
|
+
### Runtime coverage boundaries
|
|
202
|
+
|
|
203
|
+
- Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
|
|
204
|
+
- Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
|
|
205
|
+
- Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
|
|
206
|
+
|
|
207
|
+
### Editor and tooling notes
|
|
208
|
+
|
|
209
|
+
- Evidencia de tooling: aliases `pdx-inline-*` resolvidos por `inline-filter-controls.util.ts` e consumidos no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
|
|
210
|
+
- O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
|
|
211
|
+
- Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
|
|
212
|
+
- Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
|
|
213
|
+
|
|
214
|
+
## Resolution and precedence model (obrigatorio)
|
|
215
|
+
|
|
216
|
+
### Merge order
|
|
217
|
+
|
|
218
|
+
1. defaults do componente
|
|
219
|
+
2. contrato JSON recebido
|
|
220
|
+
3. overrides de host/runtime
|
|
221
|
+
4. normalizacoes internas
|
|
222
|
+
|
|
223
|
+
### Fallback order
|
|
224
|
+
|
|
225
|
+
contrato explicito -> aliases historicos (quando suportados) -> defaults internos -> comportamento seguro
|
|
226
|
+
|
|
227
|
+
### Override points
|
|
228
|
+
|
|
229
|
+
- inputs publicos do componente
|
|
230
|
+
- configuracao JSON de runtime
|
|
231
|
+
- integracoes de host (servicos/tokens/adapters)
|
|
232
|
+
|
|
233
|
+
### Runtime normalization
|
|
234
|
+
|
|
235
|
+
Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
|
|
236
|
+
|
|
237
|
+
### Precedence rules
|
|
238
|
+
|
|
239
|
+
Em conflito entre caminho historico e path canonico, priorizar path canonico e registrar janela de migracao do historico.
|
|
240
|
+
|
|
241
|
+
## Validation and error semantics (obrigatorio)
|
|
242
|
+
|
|
243
|
+
### Validation model
|
|
244
|
+
|
|
245
|
+
| Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
|
|
246
|
+
| --- | --- | --- | --- | --- |
|
|
247
|
+
| canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
|
|
248
|
+
|
|
249
|
+
### Invalid and unknown field handling
|
|
250
|
+
|
|
251
|
+
- Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
|
|
252
|
+
- Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
|
|
253
|
+
- Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
|
|
254
|
+
|
|
255
|
+
### Fail-open / fail-closed behavior
|
|
256
|
+
|
|
257
|
+
| Condition | Mode | Runtime behavior | Consumer impact |
|
|
258
|
+
| --- | --- | --- | --- |
|
|
259
|
+
| invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
|
|
260
|
+
|
|
261
|
+
### Runtime warnings vs hard failures
|
|
262
|
+
|
|
263
|
+
| Condition | Severity | Observability | Consumer action |
|
|
264
|
+
| --- | --- | --- | --- |
|
|
265
|
+
| partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
|
|
266
|
+
| mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
|
|
267
|
+
|
|
268
|
+
## Detailed API reference
|
|
269
|
+
### Preserved technical reference (normalized from previous revision)
|
|
270
|
+
|
|
271
|
+
### 1. Visao Geral e Quando Usar
|
|
272
|
+
`pdx-inline-input` e um input textual compacto com icone de busca e largura adaptativa para toolbars de filtro.
|
|
273
|
+
|
|
274
|
+
Use quando precisar:
|
|
275
|
+
- filtro textual livre em linha;
|
|
276
|
+
- placeholder e valor em formato pill responsivo;
|
|
277
|
+
- limpeza rapida por sufixo.
|
|
278
|
+
|
|
279
|
+
### 2. API do Componente (Inputs/Outputs)
|
|
280
|
+
| Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
|
|
281
|
+
| --- | --- | --- | --- | --- |
|
|
282
|
+
| `metadata` | `MaterialInputMetadata` | - | Sim | Contrato principal do input inline. |
|
|
283
|
+
| `readonlyMode/disabledMode/visible/presentationMode` | `boolean` | `false/false/true/false` | Nao | Estados de host do campo inline. |
|
|
284
|
+
| `valueChange` | `string` | - | Output base input | Mudanca do texto digitado. |
|
|
285
|
+
|
|
286
|
+
### 3. Matriz de Cobertura JSON (Completa)
|
|
287
|
+
#### 3.1 Campos especificos do componente
|
|
288
|
+
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
289
|
+
| --- | --- | --- | --- |
|
|
290
|
+
| `metadata.autocomplete` | `string` | Ativo | Valor do atributo `autocomplete` do input. |
|
|
291
|
+
| `metadata.spellcheck` | `boolean` | Ativo | Habilita/desabilita spellcheck. |
|
|
292
|
+
| `metadata.minLength` | `number` | Ativo | Atributo `minlength` no input. |
|
|
293
|
+
| `metadata.maxLength` | `number` | Ativo | Atributo `maxlength` no input. |
|
|
294
|
+
| `metadata.ariaLabel` | `string` | Ativo | Label ARIA custom do campo. |
|
|
295
|
+
| `metadata.clearButton` | `boolean \| object` | Ativo | Quick-clear no sufixo. |
|
|
296
|
+
| `metadata.inlineAutoSize.minWidth` | `number` | Ativo | Largura minima do campo. |
|
|
297
|
+
| `metadata.inlineAutoSize.maxWidth` | `number` | Ativo | Largura maxima do campo. |
|
|
298
|
+
| `metadata.inlineAutoSize.minWidthMobile` | `number` | Ativo | Largura minima mobile. |
|
|
299
|
+
| `metadata.inlineAutoSize.maxWidthMobile` | `number` | Ativo | Largura maxima mobile. |
|
|
300
|
+
|
|
301
|
+
#### 3.2 Campos herdados compartilhados (exaustivo)
|
|
302
|
+
- [pdx-text-input.json-api.md](projects/praxis-dynamic-fields/src/lib/components/text-input/pdx-text-input.json-api.md)
|
|
303
|
+
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
304
|
+
|
|
305
|
+
Resumo de composicao deste componente:
|
|
306
|
+
- `Ativo`: input inline com icone de busca, auto-size e clear.
|
|
307
|
+
- `Extensao de runtime`: bloco `inlineAutoSize.*`.
|
|
308
|
+
|
|
309
|
+
### 4. Mapeamento de Comportamento
|
|
310
|
+
- Digitar no input recalcula largura do campo dentro dos limites configurados.
|
|
311
|
+
- Placeholder visual e escondido quando valor presente.
|
|
312
|
+
- Quick-clear limpa valor e preserva foco/controle.
|
|
313
|
+
|
|
314
|
+
### 5. Exemplo Minimo (JSON + Uso)
|
|
315
|
+
```json
|
|
316
|
+
{
|
|
317
|
+
"componentId": "pdx-inline-input",
|
|
318
|
+
"metadata": {
|
|
319
|
+
"name": "query",
|
|
320
|
+
"label": "Pesquisar",
|
|
321
|
+
"controlType": "input",
|
|
322
|
+
"placeholder": "Buscar..."
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
```
|
|
326
|
+
Uso: filtro textual rapido em barra superior.
|
|
327
|
+
|
|
328
|
+
### 6. Exemplo Corporativo (JSON + Uso)
|
|
329
|
+
```json
|
|
330
|
+
{
|
|
331
|
+
"componentId": "pdx-inline-input",
|
|
332
|
+
"metadata": {
|
|
333
|
+
"name": "protocol",
|
|
334
|
+
"label": "Protocolo",
|
|
335
|
+
"controlType": "input",
|
|
336
|
+
"placeholder": "Nro do protocolo",
|
|
337
|
+
"autocomplete": "off",
|
|
338
|
+
"spellcheck": false,
|
|
339
|
+
"minLength": 3,
|
|
340
|
+
"maxLength": 32,
|
|
341
|
+
"inlineAutoSize": { "minWidth": 140, "maxWidth": 360 },
|
|
342
|
+
"clearButton": { "enabled": true, "showOnlyWhenFilled": true }
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
```
|
|
346
|
+
Uso: busca por protocolo com largura dinamica e limpeza rapida.
|
|
347
|
+
|
|
348
|
+
### 7. Troubleshooting e Armadilhas Comuns
|
|
349
|
+
1. Campo nao cresce com texto.
|
|
350
|
+
Correcao: validar configuracao `inlineAutoSize` e estilos de host.
|
|
351
|
+
|
|
352
|
+
2. Placeholder sobrepoe valor.
|
|
353
|
+
Correcao: verificar fluxo de `showInlinePlaceholder` e valor real no control.
|
|
354
|
+
|
|
355
|
+
3. Clear nao aparece.
|
|
356
|
+
Correcao: habilitar `clearButton` e garantir valor preenchido.
|
|
357
|
+
|
|
358
|
+
4. Auditoria aponta ARIA generica.
|
|
359
|
+
Correcao: preencher `ariaLabel` no metadata.
|
|
360
|
+
|
|
361
|
+
5. Restricao de tamanho nao aplicada.
|
|
362
|
+
Correcao: revisar `minLength/maxLength` e validacao no host/backend.
|
|
363
|
+
|
|
364
|
+
### 8. Cross-links
|
|
365
|
+
- `projects/praxis-dynamic-fields/src/lib/components/text-input/pdx-text-input.json-api.md`
|
|
366
|
+
- `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
|
|
367
|
+
|
|
368
|
+
### 9. Relatorio de Validacao Estrutural
|
|
369
|
+
- Visao geral: PASS
|
|
370
|
+
- API (inputs/outputs): PASS
|
|
371
|
+
- Cobertura JSON completa (especifico + herdado): PASS
|
|
372
|
+
- Mapeamento de comportamento: PASS
|
|
373
|
+
- Exemplo minimo: PASS
|
|
374
|
+
- Exemplo corporativo: PASS
|
|
375
|
+
- Troubleshooting: PASS
|
|
376
|
+
|
|
377
|
+
## JSON path index (obrigatorio)
|
|
378
|
+
|
|
379
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
380
|
+
| --- | --- | --- | --- | --- | --- |
|
|
381
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
382
|
+
| `metadata.autocomplete` | string | false | n/a | Partial | See Detailed API reference. |
|
|
383
|
+
| `metadata.spellcheck` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
384
|
+
| `metadata.minLength` | number | false | n/a | Partial | See Detailed API reference. |
|
|
385
|
+
| `metadata.maxLength` | number | false | n/a | Partial | See Detailed API reference. |
|
|
386
|
+
| `metadata.ariaLabel` | string | false | n/a | Partial | See Detailed API reference. |
|
|
387
|
+
| `metadata.clearButton` | object | false | n/a | Partial | See Detailed API reference. |
|
|
388
|
+
| `metadata.inlineAutoSize.minWidth` | number | false | n/a | Partial | See Detailed API reference. |
|
|
389
|
+
| `metadata.inlineAutoSize.maxWidth` | number | false | n/a | Partial | See Detailed API reference. |
|
|
390
|
+
| `metadata.inlineAutoSize.minWidthMobile` | object | false | n/a | Partial | See Detailed API reference. |
|
|
391
|
+
| `metadata.inlineAutoSize.maxWidthMobile` | object | false | n/a | Partial | See Detailed API reference. |
|
|
392
|
+
| `inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
|
|
393
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
394
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
395
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
396
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
397
|
+
|
|
398
|
+
## Events reference (obrigatorio)
|
|
399
|
+
|
|
400
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
401
|
+
| --- | --- | --- | --- | --- |
|
|
402
|
+
| `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
403
|
+
| `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
404
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
405
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
406
|
+
|
|
407
|
+
## Styling API (obrigatorio quando aplicavel)
|
|
408
|
+
|
|
409
|
+
| Token/Class | Scope | Purpose | Notes |
|
|
410
|
+
| --- | --- | --- | --- |
|
|
411
|
+
| `not-yet-verified` | component | Styling contract not yet verified | Use Detailed API reference for component-specific styling notes. |
|
|
412
|
+
|
|
413
|
+
## Examples (obrigatorio)
|
|
414
|
+
|
|
415
|
+
| Example | Scenario | Validates | Notes |
|
|
416
|
+
| --- | --- | --- | --- |
|
|
417
|
+
| `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
|
|
418
|
+
| `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
|
|
419
|
+
| `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
|
|
420
|
+
| `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
|
|
421
|
+
|
|
422
|
+
### Minimal valid
|
|
423
|
+
|
|
424
|
+
```json
|
|
425
|
+
{
|
|
426
|
+
"componentId": "pdx-inline-input",
|
|
427
|
+
"metadata": {
|
|
428
|
+
"name": "query",
|
|
429
|
+
"label": "Pesquisar",
|
|
430
|
+
"controlType": "input",
|
|
431
|
+
"placeholder": "Buscar...",
|
|
432
|
+
"spellcheck": false
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
### Common setup
|
|
438
|
+
|
|
439
|
+
```json
|
|
440
|
+
{
|
|
441
|
+
"componentId": "pdx-inline-input",
|
|
442
|
+
"metadata": {
|
|
443
|
+
"name": "protocol",
|
|
444
|
+
"label": "Protocolo",
|
|
445
|
+
"controlType": "input",
|
|
446
|
+
"placeholder": "Nro do protocolo",
|
|
447
|
+
"autocomplete": "off",
|
|
448
|
+
"spellcheck": false,
|
|
449
|
+
"minLength": 3,
|
|
450
|
+
"maxLength": 32,
|
|
451
|
+
"inlineAutoSize": {
|
|
452
|
+
"minWidth": 140,
|
|
453
|
+
"maxWidth": 360
|
|
454
|
+
},
|
|
455
|
+
"clearButton": {
|
|
456
|
+
"enabled": true,
|
|
457
|
+
"showOnlyWhenFilled": true
|
|
458
|
+
},
|
|
459
|
+
"ariaLabel": "pdx-inline-input-common"
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
### Advanced setup
|
|
465
|
+
|
|
466
|
+
```json
|
|
467
|
+
{
|
|
468
|
+
"componentId": "pdx-inline-input",
|
|
469
|
+
"metadata": {
|
|
470
|
+
"name": "protocol",
|
|
471
|
+
"label": "Protocolo",
|
|
472
|
+
"controlType": "input",
|
|
473
|
+
"placeholder": "Nro do protocolo",
|
|
474
|
+
"autocomplete": "off",
|
|
475
|
+
"spellcheck": false,
|
|
476
|
+
"minLength": 5,
|
|
477
|
+
"maxLength": 32,
|
|
478
|
+
"inlineAutoSize": {
|
|
479
|
+
"minWidth": 140,
|
|
480
|
+
"maxWidth": 360
|
|
481
|
+
},
|
|
482
|
+
"clearButton": {
|
|
483
|
+
"enabled": true,
|
|
484
|
+
"showOnlyWhenFilled": true
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"readonlyMode": false,
|
|
488
|
+
"disabledMode": false
|
|
489
|
+
}
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
### Enterprise scenario
|
|
493
|
+
|
|
494
|
+
```json
|
|
495
|
+
{
|
|
496
|
+
"componentId": "pdx-inline-input",
|
|
497
|
+
"metadata": {
|
|
498
|
+
"name": "protocol",
|
|
499
|
+
"label": "Protocolo",
|
|
500
|
+
"controlType": "input",
|
|
501
|
+
"placeholder": "Nro do protocolo",
|
|
502
|
+
"autocomplete": "off",
|
|
503
|
+
"spellcheck": false,
|
|
504
|
+
"minLength": 3,
|
|
505
|
+
"maxLength": 32,
|
|
506
|
+
"inlineAutoSize": {
|
|
507
|
+
"minWidth": 140,
|
|
508
|
+
"maxWidth": 360
|
|
509
|
+
},
|
|
510
|
+
"clearButton": {
|
|
511
|
+
"enabled": true,
|
|
512
|
+
"showOnlyWhenFilled": true
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"presentationMode": true,
|
|
516
|
+
"visible": true
|
|
517
|
+
}
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
## Compatibility and migration notes (recomendado)
|
|
521
|
+
|
|
522
|
+
| Concern | Affected versions | Migration action | Deadline | Notes |
|
|
523
|
+
| --- | --- | --- | --- | --- |
|
|
524
|
+
| 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 |
|
|
525
|
+
|
|
526
|
+
## Known limitations and mismatches (recomendado)
|
|
527
|
+
|
|
528
|
+
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
529
|
+
| --- | --- | --- | --- | --- | --- |
|
|
530
|
+
| 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 |
|
|
531
|
+
|
|
532
|
+
## Source references (obrigatorio)
|
|
533
|
+
|
|
534
|
+
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
535
|
+
| --- | --- | --- | --- | --- |
|
|
536
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/inline-input/inline-input.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
537
|
+
| 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 |
|
|
538
|
+
| schema-types | projects/praxis-core/src/lib/models/component-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|