@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,598 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "pdx-material-textarea JSON API (Canonical)"
|
|
3
|
+
slug: "pdx-material-textarea-json-api"
|
|
4
|
+
doc_type: "api-reference"
|
|
5
|
+
component: "pdx-material-textarea"
|
|
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-textarea."
|
|
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/material-textarea/material-textarea.metadata.ts"
|
|
22
|
+
- "projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.ts"
|
|
23
|
+
- "projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.html"
|
|
24
|
+
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
25
|
+
- "projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts"
|
|
26
|
+
source_of_truth_last_verified: "2026-03-06"
|
|
27
|
+
last_updated: "2026-03-06"
|
|
28
|
+
toc: true
|
|
29
|
+
sidebar: true
|
|
30
|
+
tags:
|
|
31
|
+
- "json-api"
|
|
32
|
+
- "canonical-contract"
|
|
33
|
+
- "pdx-material-textarea"
|
|
34
|
+
api_stability: "canonical"
|
|
35
|
+
schema_verified: true
|
|
36
|
+
runtime_verified: true
|
|
37
|
+
editor_coverage_verified: false
|
|
38
|
+
runtime_scope: "public"
|
|
39
|
+
legacy_paths_present: false
|
|
40
|
+
has_known_mismatches: false
|
|
41
|
+
related_components:
|
|
42
|
+
- "praxis-table"
|
|
43
|
+
- "pdx-base-input-runtime-contract"
|
|
44
|
+
- "pdx-text-input"
|
|
45
|
+
- "pdx-year-input"
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
# pdx-material-textarea
|
|
49
|
+
|
|
50
|
+
Este documento e a referencia canonica da API JSON de pdx-material-textarea.
|
|
51
|
+
|
|
52
|
+
## Summary
|
|
53
|
+
|
|
54
|
+
- Tipo documental: API reference canonica de contrato JSON.
|
|
55
|
+
- Source of truth: runtime e codigo declarados no frontmatter.
|
|
56
|
+
- Objetivo operacional: consulta rapida, auditavel e deterministica sob pressao.
|
|
57
|
+
- Resumo funcional: Contrato JSON metadata-driven com comportamento definido por runtime e schema associado.
|
|
58
|
+
|
|
59
|
+
## Purpose and scope
|
|
60
|
+
|
|
61
|
+
- O componente consome payload JSON metadata-driven e expoe comportamento runtime configuravel por contrato.
|
|
62
|
+
- Esta referencia cobre contrato publico, classificacao de paths e semantica de cobertura (runtime/schema/editor).
|
|
63
|
+
- Fora de escopo: quickstart, tutorial narrativo e notas arquiteturais que nao alteram contrato publico.
|
|
64
|
+
|
|
65
|
+
## Consulta rapida (obrigatorio)
|
|
66
|
+
|
|
67
|
+
| Regra/tema | Observado | Canonico desejado | Status | Evidencia |
|
|
68
|
+
| --- | --- | --- | --- | --- |
|
|
69
|
+
| Component id | `pdx-material-textarea` | Manter ID canonico estavel e versionado por contrato | Active | frontmatter.component |
|
|
70
|
+
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
71
|
+
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.ts` |
|
|
72
|
+
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
73
|
+
| 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` |
|
|
74
|
+
| Legacy paths | `false` | Segregar legado de caminhos canonicos com janela de migracao | Active | frontmatter.legacy_paths_present |
|
|
75
|
+
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
76
|
+
|
|
77
|
+
## Source of truth
|
|
78
|
+
|
|
79
|
+
| Source | Kind | Notes |
|
|
80
|
+
| --- | --- | --- |
|
|
81
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.metadata.ts | schema-metadata | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
82
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
83
|
+
| projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.html | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
84
|
+
| projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | schema-types | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
85
|
+
| projects/praxis-dynamic-fields/src/lib/base/simple-base-input.component.ts | runtime-code | Arquivo presente no repositorio e usado como evidencia de contrato. |
|
|
86
|
+
|
|
87
|
+
## Support legend
|
|
88
|
+
|
|
89
|
+
- **Active**: suportado em runtime e liberado para uso externo.
|
|
90
|
+
- **Partial**: suporte parcial, com restricoes, lacunas ou validacao incompleta.
|
|
91
|
+
- **Declared-only**: declarado em tipos/schema sem evidencia operacional completa.
|
|
92
|
+
- **Schema-only**: presente em schema/tipos sem cobertura runtime confirmada.
|
|
93
|
+
- **Deprecated**: legado suportado por janela de migracao definida.
|
|
94
|
+
|
|
95
|
+
## Contract status snapshot
|
|
96
|
+
|
|
97
|
+
| Item | Value | Notes |
|
|
98
|
+
| --- | --- | --- |
|
|
99
|
+
| Reference mode | `canonical` | Deve permanecer canonico |
|
|
100
|
+
| Contract format | `json` | Contrato metadata-driven |
|
|
101
|
+
| Contract source | `runtime-and-code` | Alinhar com source_of_truth |
|
|
102
|
+
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
103
|
+
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
104
|
+
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
105
|
+
| Editor coverage verified | `false` | Revisar sempre com evidencia de editor/tooling |
|
|
106
|
+
| Legacy paths present | `false` | Segregar legado de contrato canonico |
|
|
107
|
+
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
108
|
+
|
|
109
|
+
## Contract classification (obrigatorio)
|
|
110
|
+
|
|
111
|
+
### Canonical paths (public contract)
|
|
112
|
+
|
|
113
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
114
|
+
| --- | --- | --- | --- | --- | --- |
|
|
115
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
116
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
117
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
118
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
119
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
120
|
+
| `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
121
|
+
| `metadata.rows` | array | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
122
|
+
| `metadata.minRows` | array | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
123
|
+
|
|
124
|
+
### Supported legacy paths
|
|
125
|
+
|
|
126
|
+
Nenhum path legado suportado foi identificado nesta revisao.
|
|
127
|
+
|
|
128
|
+
### Internal-only paths
|
|
129
|
+
|
|
130
|
+
Nao ha paths internal-only confirmados no contrato publico desta revisao.
|
|
131
|
+
|
|
132
|
+
### Experimental paths
|
|
133
|
+
|
|
134
|
+
Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
135
|
+
|
|
136
|
+
## Public contract surface (obrigatorio)
|
|
137
|
+
|
|
138
|
+
### Top-level configuration blocks
|
|
139
|
+
|
|
140
|
+
| Block | Purpose | Required | Merge strategy | Notes |
|
|
141
|
+
| --- | --- | --- | --- | --- |
|
|
142
|
+
| `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
143
|
+
| `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
144
|
+
| `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
145
|
+
| `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
146
|
+
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
147
|
+
| `style` | Configuracao especifica de runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
148
|
+
| `attr` | Configuracao especifica de runtime | false | override | runtime linkage verified for core flows (component specs, 2026-03-06). |
|
|
149
|
+
|
|
150
|
+
### Nested configuration blocks
|
|
151
|
+
|
|
152
|
+
| Path | Type | Required | Default | Constraints | Notes |
|
|
153
|
+
| --- | --- | --- | --- | --- | --- |
|
|
154
|
+
| `metadata.controlType` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
155
|
+
| `metadata.rows` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
156
|
+
| `metadata.minRows` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
157
|
+
| `metadata.maxRows` | array | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
158
|
+
| `metadata.autoSize` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
159
|
+
| `metadata.resize` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
160
|
+
| `style.resize` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
161
|
+
| `metadata.cols` | unknown | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
162
|
+
| `metadata.maxLength` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
163
|
+
| `metadata.minLength` | number | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
164
|
+
|
|
165
|
+
### Input bindings (inbound data)
|
|
166
|
+
|
|
167
|
+
| Binding/Path | Type | Required | Source | Runtime normalization | Notes |
|
|
168
|
+
| --- | --- | --- | --- | --- | --- |
|
|
169
|
+
| `metadata` | object | true | host-json | component-defined | Primary inbound contract payload. |
|
|
170
|
+
| `readonlyMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
171
|
+
| `disabledMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
172
|
+
| `visible` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
173
|
+
| `presentationMode` | boolean | false | host-runtime | not-yet-verified | Host-level behavioral override. |
|
|
174
|
+
|
|
175
|
+
### Output events
|
|
176
|
+
|
|
177
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
178
|
+
| --- | --- | --- | --- | --- |
|
|
179
|
+
| `valueChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
180
|
+
| `focusChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
181
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
182
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Validate payload shape against source_of_truth. |
|
|
183
|
+
|
|
184
|
+
### External side channels
|
|
185
|
+
|
|
186
|
+
| Channel | Direction | Contract | Failure mode | Notes |
|
|
187
|
+
| --- | --- | --- | --- | --- |
|
|
188
|
+
| `host/services/storage` | bidirectional | component-defined | component-defined | Side channels variam por componente e host; verificar em source_of_truth. |
|
|
189
|
+
|
|
190
|
+
### Host/runtime dependencies
|
|
191
|
+
|
|
192
|
+
| Dependency | Required | Environment | Purpose | Notes |
|
|
193
|
+
| --- | --- | --- | --- | --- |
|
|
194
|
+
| `material-textarea.metadata.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.metadata.ts`. |
|
|
195
|
+
| `material-textarea.component.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.ts`. |
|
|
196
|
+
| `material-textarea.component.html` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.html`. |
|
|
197
|
+
| `material-field-metadata.interface.ts` | true | browser/dev/prod/ssr | contract resolution | Refer to `projects/praxis-core/src/lib/models/material-field-metadata.interface.ts`. |
|
|
198
|
+
| `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`. |
|
|
199
|
+
|
|
200
|
+
## Coverage by surface (obrigatorio)
|
|
201
|
+
|
|
202
|
+
### Coverage matrix (runtime, schema/type, editor/tooling)
|
|
203
|
+
|
|
204
|
+
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
205
|
+
| --- | --- | --- | --- | --- |
|
|
206
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.metadata.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.ts` | Core runtime flows verified via focused component specs on 2026-03-06; editor/tooling coverage remains independent. |
|
|
207
|
+
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
208
|
+
| 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. |
|
|
209
|
+
|
|
210
|
+
### Runtime coverage boundaries
|
|
211
|
+
|
|
212
|
+
- Ambientes suportados: browser/dev/prod; SSR/hydration appears to be component-dependent unless explicitly verified.
|
|
213
|
+
- Pre-condicoes: payload JSON valido, bindings de host consistentes e dependencias descritas no source_of_truth.
|
|
214
|
+
- Fora de cobertura confirmada: caminhos internos, experimentais ou aliases nao enumerados formalmente.
|
|
215
|
+
|
|
216
|
+
### Editor and tooling notes
|
|
217
|
+
|
|
218
|
+
- Evidencia de tooling: selector `pdx-*` mapeado em `DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP` e semeado no `ComponentRegistryService`; editor visual E2E permanece not-yet-verified.
|
|
219
|
+
- O que esta exposto no editor visual depende da cobertura real do workspace e nao deve ser inferido como suporte runtime total.
|
|
220
|
+
- Campos disponiveis apenas via JSON/manual devem continuar no contrato, com rotulo explicito de cobertura parcial.
|
|
221
|
+
- Quando houver divergencia entre editor e runtime, manter mismatch rastreavel em secao dedicada.
|
|
222
|
+
|
|
223
|
+
## Resolution and precedence model (obrigatorio)
|
|
224
|
+
|
|
225
|
+
### Merge order
|
|
226
|
+
|
|
227
|
+
1. defaults do componente
|
|
228
|
+
2. contrato JSON recebido
|
|
229
|
+
3. overrides de host/runtime
|
|
230
|
+
4. normalizacoes internas
|
|
231
|
+
|
|
232
|
+
### Fallback order
|
|
233
|
+
|
|
234
|
+
contrato explicito -> aliases legados (quando suportados) -> defaults internos -> comportamento seguro
|
|
235
|
+
|
|
236
|
+
### Override points
|
|
237
|
+
|
|
238
|
+
- inputs publicos do componente
|
|
239
|
+
- configuracao JSON de runtime
|
|
240
|
+
- integracoes de host (servicos/tokens/adapters)
|
|
241
|
+
|
|
242
|
+
### Runtime normalization
|
|
243
|
+
|
|
244
|
+
Alias e defaults devem convergir para paths canonicos; onde nao houver evidencia, manter not-yet-verified de forma explicita.
|
|
245
|
+
|
|
246
|
+
### Precedence rules
|
|
247
|
+
|
|
248
|
+
Em conflito entre alias legado e path canonico, priorizar path canonico e registrar janela de migracao do legado.
|
|
249
|
+
|
|
250
|
+
## Validation and error semantics (obrigatorio)
|
|
251
|
+
|
|
252
|
+
### Validation model
|
|
253
|
+
|
|
254
|
+
| Path/Rule | Validation phase | Behavior on fail | Error code / warning | Notes |
|
|
255
|
+
| --- | --- | --- | --- | --- |
|
|
256
|
+
| canonical-paths | parse/runtime | component-defined (warn/reject/default) | not-yet-standardized | Semantica detalhada preservada na referencia tecnica por componente. |
|
|
257
|
+
|
|
258
|
+
### Invalid and unknown field handling
|
|
259
|
+
|
|
260
|
+
- Campos desconhecidos: comportamento component-defined (ignore, warn ou reject).
|
|
261
|
+
- Tipos invalidos: pode haver fallback, warning ou falha, conforme runtime especifico.
|
|
262
|
+
- Valores fora de dominio: registrar observed vs desired em Known limitations and mismatches.
|
|
263
|
+
|
|
264
|
+
### Fail-open / fail-closed behavior
|
|
265
|
+
|
|
266
|
+
| Condition | Mode | Runtime behavior | Consumer impact |
|
|
267
|
+
| --- | --- | --- | --- |
|
|
268
|
+
| invalid-or-unknown-field | component-defined | not-yet-verified | Pode gerar warning, fallback silencioso ou rejeicao; validar por componente. |
|
|
269
|
+
|
|
270
|
+
### Runtime warnings vs hard failures
|
|
271
|
+
|
|
272
|
+
| Condition | Severity | Observability | Consumer action |
|
|
273
|
+
| --- | --- | --- | --- |
|
|
274
|
+
| partial-or-declared-only-coverage | warning | logs/eventos do componente | Confirmar ligacao runtime antes de uso critico. |
|
|
275
|
+
| mismatch-confirmed | error-or-warning | componente/host observability | Planejar migracao e corrigir contrato/runtime. |
|
|
276
|
+
|
|
277
|
+
## Detailed API reference
|
|
278
|
+
### Preserved technical reference (normalized from previous revision)
|
|
279
|
+
|
|
280
|
+
### 1. Visao Geral e Quando Usar
|
|
281
|
+
`pdx-material-textarea` e o campo multiline orientado por JSON em `@praxisui/dynamic-fields`, baseado em `matInput` + `cdkTextareaAutosize`.
|
|
282
|
+
|
|
283
|
+
Use quando precisar:
|
|
284
|
+
- entrada de texto longo com controle de linhas;
|
|
285
|
+
- autosize opcional por conteudo;
|
|
286
|
+
- contador de caracteres e estatisticas textuais;
|
|
287
|
+
- comportamento de edicao tecnica (ex.: insercao de tab, modo codigo).
|
|
288
|
+
|
|
289
|
+
### 2. API do Componente (Inputs/Outputs)
|
|
290
|
+
| Propriedade | Tipo | Padrao | Obrigatorio | Comportamento |
|
|
291
|
+
| --- | --- | --- | --- | --- |
|
|
292
|
+
| `metadata` | `MaterialTextareaMetadata` | - | Sim | Contrato principal do campo. |
|
|
293
|
+
| `readonlyMode` | `boolean` | `false` | Nao | Sobrescreve leitura no host. |
|
|
294
|
+
| `disabledMode` | `boolean` | `false` | Nao | Sobrescreve estado disabled no host. |
|
|
295
|
+
| `visible` | `boolean` | `true` | Nao | Controla exibicao no host. |
|
|
296
|
+
| `presentationMode` | `boolean` | `false` | Nao | Modo de apresentacao (sem edicao). |
|
|
297
|
+
|
|
298
|
+
Observacao:
|
|
299
|
+
- nao existe output proprio de validacao neste componente; use outputs herdados (`valueChange`, `focusChange`, `nativeBlur`, `nativeChange`) quando necessario.
|
|
300
|
+
|
|
301
|
+
### 3. Matriz de Cobertura JSON (Completa)
|
|
302
|
+
#### 3.1 Campos especificos do componente
|
|
303
|
+
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
304
|
+
| --- | --- | --- | --- |
|
|
305
|
+
| `metadata.controlType` | `'textarea'` | Ativo | Identifica contrato de textarea no host. |
|
|
306
|
+
| `metadata.rows` | `number` | Ativo | Define `rows` inicial; fallback para 4 quando ausente/invalido. |
|
|
307
|
+
| `metadata.minRows` | `number` | Ativo | Define `cdkAutosizeMinRows`; fallback para 4. |
|
|
308
|
+
| `metadata.maxRows` | `number` | Ativo | Define `cdkAutosizeMaxRows`; fallback para 12 e nunca menor que `minRows`. |
|
|
309
|
+
| `metadata.autoSize` | `boolean` | Ativo | Ativa `cdkTextareaAutosize` apenas quando `true` (apos view pronta). |
|
|
310
|
+
| `metadata.resize` | `'none' \| 'both' \| 'horizontal' \| 'vertical' \| 'auto'` | Ativo | Aplicado em `style.resize` do `<textarea>`. |
|
|
311
|
+
| `metadata.cols` | `number` | Ativo | Aplicado no atributo `cols`. |
|
|
312
|
+
| `metadata.maxLength` | `number` | Ativo | Aplicado em `maxlength` e integrado a validacao/contador. |
|
|
313
|
+
| `metadata.minLength` | `number` | Ativo | Aplicado em `minlength` e validacao do form control. |
|
|
314
|
+
| `metadata.showCharacterCount` | `boolean` | Parcial | Exibe contador somente se `maxLength` numerico e maior que zero. |
|
|
315
|
+
| `metadata.wrap` | `'soft' \| 'hard' \| 'off'` | Parcial | Aplicado em `attr.wrap`, mas pode ser sobrescrito por `textAreaMode` em runtime. |
|
|
316
|
+
| `metadata.spellcheck` | `boolean` | Parcial | Aplicado em `attr.spellcheck`, mas e forcado para `false` em modos code-like. |
|
|
317
|
+
| `metadata.textTransform` | `'none' \| 'uppercase' \| 'lowercase' \| 'capitalize'` | Ativo | Consumido via pipeline base de transformacao textual. |
|
|
318
|
+
| `metadata.showStats` | `boolean` | Extensao de runtime | Quando `true`, exibe contador de palavras e linhas. |
|
|
319
|
+
| `metadata.textAreaMode` | `'plain' \| 'code' \| 'json' \| 'xml' \| 'sql' \| 'log' \| 'markdown'` | Extensao de runtime | Ajusta comportamento de wrap/spellcheck e estilo code-like. |
|
|
320
|
+
| `metadata.monospace` | `boolean` | Extensao de runtime | Forca modo code-like para ajuste de UX textual. |
|
|
321
|
+
| `metadata.maxLines` | `number` | Extensao de runtime | Bloqueia Enter quando quantidade maxima de linhas e atingida. |
|
|
322
|
+
| `metadata.enableTabIndent` | `boolean` | Extensao de runtime | Habilita Tab/Shift+Tab para indentacao/outdentacao dentro do textarea. |
|
|
323
|
+
| `metadata.tabSize` | `number` | Extensao de runtime | Tamanho da indentacao por Tab (1..8, padrao 2). |
|
|
324
|
+
|
|
325
|
+
#### 3.2 Campos herdados compartilhados (exaustivo)
|
|
326
|
+
Contrato completo dos campos herdados consumidos por `SimpleBaseInput`:
|
|
327
|
+
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
328
|
+
|
|
329
|
+
Resumo de composicao deste componente:
|
|
330
|
+
- `Ativo`: contrato herdado + dimensoes de textarea + autosize + contador.
|
|
331
|
+
- `Parcial`: `showCharacterCount`, `wrap` e `spellcheck` dependem de condicoes de runtime.
|
|
332
|
+
- `Extensao de runtime`: `showStats`, `textAreaMode`, `monospace`, `maxLines`, `enableTabIndent`, `tabSize`.
|
|
333
|
+
|
|
334
|
+
### 4. Mapeamento de Comportamento
|
|
335
|
+
- Paginacao: nao se aplica.
|
|
336
|
+
- Ordenacao: nao se aplica.
|
|
337
|
+
- Selecao: texto multiline livre (respeitando regras de validacao).
|
|
338
|
+
- Eventos: usa outputs herdados e processa eventos locais de teclado/paste/cut para UX avancada.
|
|
339
|
+
- Renderizacao: `mat-form-field` + `<textarea matInput>` com autosize opcional, clear button opcional e hints de suporte.
|
|
340
|
+
|
|
341
|
+
### 5. Exemplo Minimo (JSON + Uso)
|
|
342
|
+
```json
|
|
343
|
+
{
|
|
344
|
+
"componentId": "pdx-material-textarea",
|
|
345
|
+
"metadata": {
|
|
346
|
+
"name": "observacao",
|
|
347
|
+
"label": "Observacao",
|
|
348
|
+
"controlType": "textarea",
|
|
349
|
+
"rows": 4
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
```
|
|
353
|
+
Uso: renderiza textarea simples com 4 linhas iniciais.
|
|
354
|
+
|
|
355
|
+
### 6. Exemplo Corporativo (JSON + Uso)
|
|
356
|
+
```json
|
|
357
|
+
{
|
|
358
|
+
"componentId": "pdx-material-textarea",
|
|
359
|
+
"metadata": {
|
|
360
|
+
"name": "sqlScript",
|
|
361
|
+
"label": "Script SQL",
|
|
362
|
+
"controlType": "textarea",
|
|
363
|
+
"rows": 10,
|
|
364
|
+
"minRows": 6,
|
|
365
|
+
"maxRows": 18,
|
|
366
|
+
"autoSize": true,
|
|
367
|
+
"resize": "vertical",
|
|
368
|
+
"maxLength": 5000,
|
|
369
|
+
"minLength": 10,
|
|
370
|
+
"showCharacterCount": true,
|
|
371
|
+
"showStats": true,
|
|
372
|
+
"textAreaMode": "sql",
|
|
373
|
+
"enableTabIndent": true,
|
|
374
|
+
"tabSize": 2,
|
|
375
|
+
"maxLines": 120,
|
|
376
|
+
"spellcheck": true,
|
|
377
|
+
"wrap": "soft",
|
|
378
|
+
"hint": "Cole ou digite o SQL com padrao corporativo."
|
|
379
|
+
},
|
|
380
|
+
"readonlyMode": false,
|
|
381
|
+
"disabledMode": false,
|
|
382
|
+
"visible": true
|
|
383
|
+
}
|
|
384
|
+
```
|
|
385
|
+
Uso: em runtime atual, `textAreaMode: "sql"` trata o campo como code-like (tende a forcar `wrap="off"` e `spellcheck=false`), mesmo com valores declarados diferentes em `wrap` e `spellcheck`.
|
|
386
|
+
|
|
387
|
+
### 7. Troubleshooting e Armadilhas Comuns
|
|
388
|
+
1. Definir `showCharacterCount=true` e nao ver contador.
|
|
389
|
+
Correcao: contador so aparece quando `maxLength` e valido e maior que zero.
|
|
390
|
+
|
|
391
|
+
2. Definir `autoSize=true` e nao perceber efeito imediato no primeiro ciclo.
|
|
392
|
+
Correcao: autosize depende de view pronta; validar apos renderizacao completa do componente.
|
|
393
|
+
|
|
394
|
+
3. Esperar `wrap` e `spellcheck` estritamente conforme JSON em modos tecnicos.
|
|
395
|
+
Correcao: `textAreaMode`/`monospace` podem sobrescrever comportamento para experiencia de codigo.
|
|
396
|
+
|
|
397
|
+
4. Definir `maxLines` e ainda conseguir quebrar linha via colagem.
|
|
398
|
+
Correcao: `maxLines` bloqueia Enter no teclado; entradas por paste podem exigir validacao adicional no host.
|
|
399
|
+
|
|
400
|
+
5. Configurar `enableTabIndent=true` e receber comportamento inesperado em navegadores antigos.
|
|
401
|
+
Correcao: padronizar navegadores suportados e validar UX de teclado no ambiente corporativo alvo.
|
|
402
|
+
|
|
403
|
+
### 8. Cross-links
|
|
404
|
+
- `projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md`
|
|
405
|
+
- `projects/praxis-dynamic-fields/src/lib/components/text-input/pdx-text-input.json-api.md`
|
|
406
|
+
- `projects/praxis-dynamic-fields/src/lib/components/pdx-year-input/pdx-year-input.json-api.md`
|
|
407
|
+
|
|
408
|
+
### 9. Relatorio de Validacao Estrutural
|
|
409
|
+
- Visao geral: PASS
|
|
410
|
+
- API (inputs/outputs): PASS
|
|
411
|
+
- Cobertura JSON completa (especifico + herdado): PASS
|
|
412
|
+
- Mapeamento de comportamento: PASS
|
|
413
|
+
- Exemplo minimo: PASS
|
|
414
|
+
- Exemplo corporativo: PASS
|
|
415
|
+
- Troubleshooting: PASS
|
|
416
|
+
|
|
417
|
+
## JSON path index (obrigatorio)
|
|
418
|
+
|
|
419
|
+
| Path | Type | Required | Default | Status | Notes |
|
|
420
|
+
| --- | --- | --- | --- | --- | --- |
|
|
421
|
+
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
422
|
+
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
423
|
+
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
424
|
+
| `visible` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
425
|
+
| `presentationMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
426
|
+
| `metadata.controlType` | string | false | n/a | Partial | See Detailed API reference. |
|
|
427
|
+
| `metadata.rows` | array | false | n/a | Partial | See Detailed API reference. |
|
|
428
|
+
| `metadata.minRows` | array | false | n/a | Partial | See Detailed API reference. |
|
|
429
|
+
| `metadata.maxRows` | array | false | n/a | Partial | See Detailed API reference. |
|
|
430
|
+
| `metadata.autoSize` | number | false | n/a | Partial | See Detailed API reference. |
|
|
431
|
+
| `metadata.resize` | number | false | n/a | Partial | See Detailed API reference. |
|
|
432
|
+
| `style.resize` | number | false | n/a | Partial | See Detailed API reference. |
|
|
433
|
+
| `metadata.cols` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
434
|
+
| `metadata.maxLength` | number | false | n/a | Partial | See Detailed API reference. |
|
|
435
|
+
| `metadata.minLength` | number | false | n/a | Partial | See Detailed API reference. |
|
|
436
|
+
| `metadata.showCharacterCount` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
437
|
+
| `metadata.wrap` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
438
|
+
| `attr.wrap` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
439
|
+
| `metadata.spellcheck` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
440
|
+
| `attr.spellcheck` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
441
|
+
|
|
442
|
+
## Events reference (obrigatorio)
|
|
443
|
+
|
|
444
|
+
| Event | Payload | Trigger | Stability | Notes |
|
|
445
|
+
| --- | --- | --- | --- | --- |
|
|
446
|
+
| `valueChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
447
|
+
| `focusChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
448
|
+
| `nativeBlur` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
449
|
+
| `nativeChange` | unknown | runtime-event | Experimental | Check component/runtime implementation. |
|
|
450
|
+
|
|
451
|
+
## Styling API (obrigatorio quando aplicavel)
|
|
452
|
+
|
|
453
|
+
| Token/Class | Scope | Purpose | Notes |
|
|
454
|
+
| --- | --- | --- | --- |
|
|
455
|
+
| `style.resize` | component | Styling-related JSON path | Validate against runtime implementation. |
|
|
456
|
+
|
|
457
|
+
## Examples (obrigatorio)
|
|
458
|
+
|
|
459
|
+
| Example | Scenario | Validates | Notes |
|
|
460
|
+
| --- | --- | --- | --- |
|
|
461
|
+
| `Minimal valid` | baseline payload | required contract blocks | Extracted from preserved technical reference when available. |
|
|
462
|
+
| `Common setup` | common component usage | standard runtime behavior | Validate against host integration path. |
|
|
463
|
+
| `Advanced setup` | richer config with overrides | precedence and normalization | Requires runtime confirmation for edge cases. |
|
|
464
|
+
| `Enterprise scenario` | governance/legacy/migration context | auditability and compatibility boundaries | Include tenant-specific constraints when applicable. |
|
|
465
|
+
|
|
466
|
+
### Minimal valid
|
|
467
|
+
|
|
468
|
+
```json
|
|
469
|
+
{
|
|
470
|
+
"componentId": "pdx-material-textarea",
|
|
471
|
+
"metadata": {
|
|
472
|
+
"name": "observacao",
|
|
473
|
+
"label": "Observacao",
|
|
474
|
+
"controlType": "textarea",
|
|
475
|
+
"rows": 4
|
|
476
|
+
},
|
|
477
|
+
"readonlyMode": false
|
|
478
|
+
}
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
### Common setup
|
|
482
|
+
|
|
483
|
+
```json
|
|
484
|
+
{
|
|
485
|
+
"componentId": "pdx-material-textarea",
|
|
486
|
+
"metadata": {
|
|
487
|
+
"name": "sqlScript",
|
|
488
|
+
"label": "Script SQL",
|
|
489
|
+
"controlType": "pdx-material-textarea-common",
|
|
490
|
+
"rows": 10,
|
|
491
|
+
"minRows": 6,
|
|
492
|
+
"maxRows": 18,
|
|
493
|
+
"autoSize": true,
|
|
494
|
+
"resize": "vertical",
|
|
495
|
+
"maxLength": 5000,
|
|
496
|
+
"minLength": 10,
|
|
497
|
+
"showCharacterCount": true,
|
|
498
|
+
"showStats": true,
|
|
499
|
+
"textAreaMode": "sql",
|
|
500
|
+
"enableTabIndent": true,
|
|
501
|
+
"tabSize": 2,
|
|
502
|
+
"maxLines": 120,
|
|
503
|
+
"spellcheck": true,
|
|
504
|
+
"wrap": "soft",
|
|
505
|
+
"hint": "Cole ou digite o SQL com padrao corporativo."
|
|
506
|
+
},
|
|
507
|
+
"readonlyMode": false,
|
|
508
|
+
"disabledMode": false,
|
|
509
|
+
"visible": true
|
|
510
|
+
}
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
### Advanced setup
|
|
514
|
+
|
|
515
|
+
```json
|
|
516
|
+
{
|
|
517
|
+
"componentId": "pdx-material-textarea",
|
|
518
|
+
"metadata": {
|
|
519
|
+
"name": "sqlScript",
|
|
520
|
+
"label": "Script SQL",
|
|
521
|
+
"controlType": "textarea",
|
|
522
|
+
"rows": 10,
|
|
523
|
+
"minRows": 6,
|
|
524
|
+
"maxRows": 18,
|
|
525
|
+
"autoSize": 5,
|
|
526
|
+
"resize": "vertical",
|
|
527
|
+
"maxLength": 5000,
|
|
528
|
+
"minLength": 10,
|
|
529
|
+
"showCharacterCount": true,
|
|
530
|
+
"showStats": true,
|
|
531
|
+
"textAreaMode": "sql",
|
|
532
|
+
"enableTabIndent": true,
|
|
533
|
+
"tabSize": 2,
|
|
534
|
+
"maxLines": 120,
|
|
535
|
+
"spellcheck": true,
|
|
536
|
+
"wrap": "soft",
|
|
537
|
+
"hint": "Cole ou digite o SQL com padrao corporativo."
|
|
538
|
+
},
|
|
539
|
+
"readonlyMode": false,
|
|
540
|
+
"disabledMode": false,
|
|
541
|
+
"visible": true
|
|
542
|
+
}
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
### Enterprise scenario
|
|
546
|
+
|
|
547
|
+
```json
|
|
548
|
+
{
|
|
549
|
+
"componentId": "pdx-material-textarea",
|
|
550
|
+
"metadata": {
|
|
551
|
+
"name": "sqlScript",
|
|
552
|
+
"label": "Script SQL",
|
|
553
|
+
"controlType": "textarea",
|
|
554
|
+
"rows": 10,
|
|
555
|
+
"minRows": 6,
|
|
556
|
+
"maxRows": 18,
|
|
557
|
+
"autoSize": true,
|
|
558
|
+
"resize": "vertical",
|
|
559
|
+
"maxLength": 5000,
|
|
560
|
+
"minLength": 10,
|
|
561
|
+
"showCharacterCount": true,
|
|
562
|
+
"showStats": true,
|
|
563
|
+
"textAreaMode": "sql",
|
|
564
|
+
"enableTabIndent": true,
|
|
565
|
+
"tabSize": 2,
|
|
566
|
+
"maxLines": 120,
|
|
567
|
+
"spellcheck": true,
|
|
568
|
+
"wrap": "soft",
|
|
569
|
+
"hint": "Cole ou digite o SQL com padrao corporativo."
|
|
570
|
+
},
|
|
571
|
+
"readonlyMode": false,
|
|
572
|
+
"disabledMode": false,
|
|
573
|
+
"visible": true,
|
|
574
|
+
"presentationMode": true
|
|
575
|
+
}
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
## Compatibility and migration notes (recomendado)
|
|
579
|
+
|
|
580
|
+
| Concern | Affected versions | Migration action | Deadline | Notes |
|
|
581
|
+
| --- | --- | --- | --- | --- |
|
|
582
|
+
| 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 |
|
|
583
|
+
|
|
584
|
+
## Known limitations and mismatches (recomendado)
|
|
585
|
+
|
|
586
|
+
| Path/Behavior | Observed behavior (runtime) | Desired behavior | Impact | Tracking issue | Target fix |
|
|
587
|
+
| --- | --- | --- | --- | --- | --- |
|
|
588
|
+
| 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 |
|
|
589
|
+
|
|
590
|
+
## Source references (obrigatorio)
|
|
591
|
+
|
|
592
|
+
| Source type | Path/URL | Why it is source of truth | Last verified (YYYY-MM-DD) | Notes |
|
|
593
|
+
| --- | --- | --- | --- | --- |
|
|
594
|
+
| schema-metadata | projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.metadata.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
595
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
596
|
+
| runtime-code | projects/praxis-dynamic-fields/src/lib/components/material-textarea/material-textarea.component.html | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
597
|
+
| schema-types | projects/praxis-core/src/lib/models/material-field-metadata.interface.ts | Primary source of truth for contract and behavior. | 2026-03-06 | verified-path |
|
|
598
|
+
| 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 |
|