@praxisui/table 10.0.0-rc.6 → 10.0.0-rc.61
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 +136 -10
- package/ai/component-registry.json +3842 -382
- package/docs/column-resize-reorder-implementation-plan.md +3 -3
- package/docs/column-resize-reorder-review-prompt.md +1 -1
- package/docs/dynamic-filter-host-integration-guide.md +49 -2
- package/docs/dynamic-filter-payload-contract.md +29 -6
- package/docs/dynamic-filter-range-filters-guide.md +125 -13
- package/docs/governed-page-widget-adapter.md +55 -0
- package/docs/local-data-mode-precedence.md +21 -0
- package/docs/performance-hardening-v2-implementation-plan.md +20 -20
- package/docs/table-bottom-detail-progress.md +2 -2
- package/fesm2022/praxisui-table-authoring.mjs +859 -52
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DANYIQs6.mjs → praxisui-table-filter-form-dialog-host.component-DfOXx5lp.mjs} +61 -11
- package/fesm2022/{praxisui-table-praxisui-table-BIRFv2S8.mjs → praxisui-table-praxisui-table-PvwtPvhN.mjs} +20021 -2297
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DtOwXgFW.mjs → praxisui-table-table-agentic-authoring-turn-flow-DgbfJI3k.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-25xtoiWq.mjs → praxisui-table-table-ai.adapter-DWR_lxPJ.mjs} +13 -7
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +58 -18
- package/types/praxisui-table-authoring.d.ts +30 -2
- package/types/praxisui-table.d.ts +1119 -121
|
@@ -25,9 +25,9 @@ Today the table header combines multiple behaviors on the same `th`:
|
|
|
25
25
|
|
|
26
26
|
Relevant files:
|
|
27
27
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
28
|
+
- `projects/praxis-table/src/lib/praxis-table.html`
|
|
29
|
+
- `projects/praxis-table/src/lib/praxis-table.scss`
|
|
30
|
+
- `projects/praxis-table/src/lib/praxis-table.ts`
|
|
31
31
|
|
|
32
32
|
This is the main reason resize must not be introduced as another gesture on the same interaction zone. It also means sticky and horizontal scroll behavior must be treated as first-order implementation concerns, not deferred work.
|
|
33
33
|
|
|
@@ -33,6 +33,7 @@ related_docs:
|
|
|
33
33
|
- "dynamic-filter-payload-contract"
|
|
34
34
|
- "dynamic-filter-editor-settings-guide"
|
|
35
35
|
- "dynamic-inline-filter-catalog"
|
|
36
|
+
- "dynamic-filter-range-filters-guide"
|
|
36
37
|
keywords:
|
|
37
38
|
- "alwaysVisibleFields"
|
|
38
39
|
- "selectedFieldIds"
|
|
@@ -42,7 +43,7 @@ source_of_truth:
|
|
|
42
43
|
- "projects/praxis-table/src/lib/praxis-table.html"
|
|
43
44
|
- "projects/praxis-table/src/lib/components/praxis-filter/praxis-filter.component.ts"
|
|
44
45
|
- "projects/praxis-table/src/lib/services/filter-config.service.ts"
|
|
45
|
-
last_updated: "2026-
|
|
46
|
+
last_updated: "2026-11-21"
|
|
46
47
|
---
|
|
47
48
|
|
|
48
49
|
# Dynamic Filter Host Integration Guide
|
|
@@ -108,6 +109,28 @@ O host precisa garantir que a fonte de metadata do filtro e o backend estejam al
|
|
|
108
109
|
|
|
109
110
|
Sem isso, o runtime até renderiza o formulário, mas o payload não será previsível.
|
|
110
111
|
|
|
112
|
+
### Projetar tipos e validar antes de buscar/salvar
|
|
113
|
+
|
|
114
|
+
Para filtros escalares em array, mantenha `items`/`enumValues` do schema de operação
|
|
115
|
+
nos metadados dos campos. `items` descreve tipo, formato e enum dos itens; não
|
|
116
|
+
substitui o schema de uma coleção de objetos. O normalizador compartilhado de Core
|
|
117
|
+
interpreta somente os tokens admitidos por esse contrato, sem parser específico no
|
|
118
|
+
host ou no controle de filtro.
|
|
119
|
+
|
|
120
|
+
Use os payloads de `change`/`submit` do componente. O caminho avançado/modal usa a
|
|
121
|
+
projeção do `PraxisFilterForm` filho ao aplicar e salvar, em vez de ler valores raw
|
|
122
|
+
que podem conter strings de UI ou campos com política de omissão. O merge com
|
|
123
|
+
`initialDto` para um atalho é novamente projetado para não restaurar campos
|
|
124
|
+
omitidos. Campos sempre visíveis e avançados seguem a mesma regra; salvar um
|
|
125
|
+
atalho não altera o contrato do backend.
|
|
126
|
+
|
|
127
|
+
Grupos inválidos/pendentes ou tokens fora do tipo/enum não emitem busca nem atalho,
|
|
128
|
+
e um debounce anterior também precisa respeitar o estado atual. Preserve o
|
|
129
|
+
rascunho para correção. Sem filtros ativos, o DTO vazio pode representar limpeza;
|
|
130
|
+
não transformar o status `DISABLED` desse grupo vazio em bloqueio de clear. Essas
|
|
131
|
+
regras não tornam `contextChange` um DTO: somente sua propriedade `filter` contém
|
|
132
|
+
a consulta; labels e metadata permanecem evidência de apresentação.
|
|
133
|
+
|
|
111
134
|
### 2. Configurar `advancedFilters.settings`
|
|
112
135
|
|
|
113
136
|
Essas chaves são as mais importantes na prática:
|
|
@@ -231,6 +254,27 @@ Os eventos principais para integração são:
|
|
|
231
254
|
- `selectedFieldIdsChange`: acompanha customização de campos visíveis;
|
|
232
255
|
- `metaChanged` e `schemaStatusChange`: importantes para observabilidade e reconciliação de schema.
|
|
233
256
|
|
|
257
|
+
### 5. Teleporte da barra de filtros para `<praxis-scope-bar>` ou container externo
|
|
258
|
+
|
|
259
|
+
Em páginas orientadas a recurso (`<praxis-resource-page>` ou `<praxis-crud>`), os filtros inline (`alwaysVisibleFields` / `inlineFields`) e o acionador de filtros avançados podem ser exibidos na barra de ferramentas da tabela (`placement: 'table-toolbar'`, padrão) ou teleportados para dentro do card superior `<praxis-scope-bar>` (`placement: 'scope-bar'` ou `scopeBar.includeInlineFilters: true`):
|
|
260
|
+
|
|
261
|
+
```ts
|
|
262
|
+
export const FOLHA_PAGAMENTO_CRUD_METADATA: CrudMetadata = {
|
|
263
|
+
component: 'praxis-crud',
|
|
264
|
+
resource: { path: 'human-resources/folhas-pagamento', idField: 'id' },
|
|
265
|
+
filterBar: {
|
|
266
|
+
placement: 'scope-bar',
|
|
267
|
+
inlineFields: ['mesBetween', 'anoBetween', 'funcionarioId', 'salarioLiquidoBetween'],
|
|
268
|
+
},
|
|
269
|
+
// ...
|
|
270
|
+
};
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
Quando `placement: 'scope-bar'` está ativo:
|
|
274
|
+
- O `<praxis-table>` ativa `filterTeleport`, suprimindo a renderização duplicada na toolbar interna e expondo o `TemplateRef` reativo via `filterTemplateSignal`.
|
|
275
|
+
- O `<praxis-resource-page>` projeta `<praxis-filter-outlet scope-bar-filters [target]="crudSurface()" />` na segunda faixa dedicada (`.prx-scope-bar__filters`) do `<praxis-scope-bar>`.
|
|
276
|
+
- Os chips de escopo rápido (`quickFilters`) e os controles inline operam sobre o mesmo DTO de filtro com sincronização bidirecional (`filterCriteriaChange`), preservando filtros ortogonais preenchidos pelo operador ao alternar entre escopos rápidos.
|
|
277
|
+
|
|
234
278
|
## Exemplo mental de integração
|
|
235
279
|
|
|
236
280
|
O fluxo típico é:
|
|
@@ -278,7 +322,10 @@ Use `alwaysVisibleFieldMetadataOverrides` quando o mesmo campo precisar:
|
|
|
278
322
|
- de label mais curta;
|
|
279
323
|
- de `controlType` inline canônico;
|
|
280
324
|
- de `clearButton` diferente;
|
|
281
|
-
- de `inlineAutoSize` próprio
|
|
325
|
+
- de `inlineAutoSize` próprio;
|
|
326
|
+
- de metadados específicos de popover da família Onda 1 (`inlineCurrencyRange`, `inlineRange`, `inlineTimeRange`, `inlineDistanceRadius`, `inlineRating`, `inlineScorePriority`: `inlinePanelTitle`, `inlinePanelIcon`, `inlinePanelIconColor`, `showAnchors`, `operatorModes`, `sliderStep`, `shiftStep`, `showInlineInputs`, `inputMinLabel`, `inputMaxLabel`, `quickPresets`, `marks`, `semanticBands`, `inlineDistribution`, `scoreBands`, `distanceRings` — consulte `dynamic-filter-range-filters-guide.md`) e da Onda 2 (`inlinePipelineStatus`, `inlineRelativePeriod`, `inlineSentiment`, `inlineColorLabel`, `inlineDateRange`: `inlinePanelTitle`, `inlinePanelSubtitle`, `inlinePanelIcon`, `inlinePanelIconColor`, `pipelineOptions`, `statusColors`, `relativePeriodPresets`, `sentimentPalette`, `colorLabelPalette`, `shortcuts`, `inlineQuickPresets`, `i18nShortcuts`, `inlineOverlay.applyMode`, `inlineOverlay.actions.clear`).
|
|
327
|
+
|
|
328
|
+
> **Theming no Host sem `::ng-deep`:** popovers inline (`pdx-inline-currency-range`, `pdx-inline-date-range`, sliders e controles visuais especializados) são montados em `.cdk-overlay-container`. Personalize fundos, gradientes, botões e destaques declarando os namespaces públicos `--pdx-inline-currency-range-*`, `--pdx-inline-range-*`, `--pdx-inline-time-range-*`, `--pdx-inline-distance-*`, `--pdx-inline-rating-*`, `--pdx-inline-score-*`, `--pdx-inline-pipeline-*`, `--pdx-inline-relative-*`, `--pdx-inline-sentiment-*`, `--pdx-inline-color-label-*` e `--pdx-inline-date-range-*` (além de `--pdx-inline-chip-*` e `--pdx-inline-overlay-*`) no tema global do host (`styles.scss`, `:root` ou classes de tema), nunca por `::ng-deep`.
|
|
282
329
|
|
|
283
330
|
### Debounce
|
|
284
331
|
|
|
@@ -33,7 +33,6 @@ related_docs:
|
|
|
33
33
|
- "dynamic-filter-range-filters-guide"
|
|
34
34
|
- "dynamic-fields-inline-components-guide"
|
|
35
35
|
- "dynamic-fields-inline-filter-runtime-contract"
|
|
36
|
-
- "table-overview"
|
|
37
36
|
keywords:
|
|
38
37
|
- "submit"
|
|
39
38
|
- "change"
|
|
@@ -42,11 +41,9 @@ keywords:
|
|
|
42
41
|
source_of_truth:
|
|
43
42
|
- "projects/praxis-table/src/lib/components/praxis-filter/praxis-filter.component.ts"
|
|
44
43
|
- "projects/praxis-table/src/lib/components/praxis-filter/praxis-filter.component.spec.ts"
|
|
45
|
-
- "
|
|
46
|
-
- "
|
|
47
|
-
|
|
48
|
-
- "../praxis-metadata-starter/docs/guides/FILTROS-E-PAGINACAO.md"
|
|
49
|
-
last_updated: "2026-03-07"
|
|
44
|
+
- "projects/praxis-table/src/lib/components/praxis-filter/filter-payload-projection.ts"
|
|
45
|
+
- "projects/praxis-core/src/lib/helpers/scalar-array-value.ts"
|
|
46
|
+
last_updated: "2026-10-27"
|
|
50
47
|
---
|
|
51
48
|
|
|
52
49
|
# Dynamic Filter Payload Contract
|
|
@@ -131,6 +128,32 @@ Aspectos relevantes do runtime:
|
|
|
131
128
|
- estado avançado e preferências visuais podem ser persistidos localmente;
|
|
132
129
|
- aliases inline e metadata overrides influenciam a UI, mas não devem gerar um contrato HTTP arbitrário.
|
|
133
130
|
|
|
131
|
+
### Arrays escalares, enum e campos omitidos
|
|
132
|
+
|
|
133
|
+
O schema de operação pode publicar um array escalar com `items`, por exemplo
|
|
134
|
+
`{ "type": ["array", "null"], "items": { "type": "integer" } }` para um operando
|
|
135
|
+
`IN`. Core conserva `FieldScalarItemsSchema` em `FieldMetadata.items`; o mesmo
|
|
136
|
+
`normalizeScalarArrayValue` valida e converte tokens na projeção do payload.
|
|
137
|
+
`array.itemSchema.fields`, usado para coleções de objetos, é um contrato distinto.
|
|
138
|
+
|
|
139
|
+
A projeção interna de Table alcança os campos sempre visíveis, o painel avançado,
|
|
140
|
+
`change`, `submit` e atalhos salvos. Ela conserva o shape flat ou aninhado do DTO,
|
|
141
|
+
aplica `submitPolicy: "omit"` e as constraints `items`/`enumValues` publicadas, sem
|
|
142
|
+
modificar o rascunho. Para um request com container, o payload pode ser
|
|
143
|
+
`{ "customFields": { "years": [2024, 2025, 2026] } }`; números não viram datas por
|
|
144
|
+
terem três posições e labels não viram valores de consulta.
|
|
145
|
+
|
|
146
|
+
Tokens inválidos, valor fora do enum e grupos inválidos/pendentes impedem a emissão,
|
|
147
|
+
inclusive de um debounce agendado antes da invalidez. Não há descarte parcial de
|
|
148
|
+
itens inválidos. `null`/ausência do container e `[]` opcionais não significam que um
|
|
149
|
+
item `null` seja válido. Um grupo sem filtros ativos e `DISABLED` pode produzir a
|
|
150
|
+
limpeza intencional do filtro; isso não equivale a autorizar emissão de um grupo
|
|
151
|
+
com campos ativos inválidos.
|
|
152
|
+
|
|
153
|
+
O host deve consumir a projeção emitida, não reconstruir o DTO a partir de
|
|
154
|
+
`getRawValue()`, chips ou labels. O backend continua validando o DTO e a operação;
|
|
155
|
+
validação no browser não concede autorização nem certifica execução da consulta.
|
|
156
|
+
|
|
134
157
|
### 2. Envio HTTP
|
|
135
158
|
|
|
136
159
|
O host é responsável por:
|
|
@@ -34,7 +34,7 @@ related_docs:
|
|
|
34
34
|
- "dynamic-fields-inline-components-guide"
|
|
35
35
|
- "dynamic-fields-inline-filter-runtime-contract"
|
|
36
36
|
- "dynamic-fields-inline-filter-catalog"
|
|
37
|
-
- "
|
|
37
|
+
- "dynamic-filter-host-integration-guide"
|
|
38
38
|
keywords:
|
|
39
39
|
- "BETWEEN"
|
|
40
40
|
- "BETWEEN_EXCLUSIVE"
|
|
@@ -51,7 +51,7 @@ source_of_truth:
|
|
|
51
51
|
- "../praxis-metadata-starter/src/main/java/org/praxisplatform/uischema/filter/range/RangeBoundAliasRegistry.java"
|
|
52
52
|
- "../praxis-metadata-starter/src/main/java/org/praxisplatform/uischema/filter/specification/GenericSpecificationsBuilder.java"
|
|
53
53
|
- "../praxis-metadata-starter/docs/examples/filter-dto.md"
|
|
54
|
-
last_updated: "2026-
|
|
54
|
+
last_updated: "2026-11-21"
|
|
55
55
|
---
|
|
56
56
|
|
|
57
57
|
# Dynamic Filter Range Filters Guide
|
|
@@ -254,18 +254,122 @@ Não misture duas origens diferentes para o mesmo campo.
|
|
|
254
254
|
|
|
255
255
|
## Regras por domínio
|
|
256
256
|
|
|
257
|
-
### Numérico genérico
|
|
258
|
-
|
|
259
|
-
Use `rangeSlider` quando o intervalo for numérico puro e houver benefício em slider/
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
### Numérico genérico e sliders inline especializados (`inlineRange`, `inlineRating`, `inlineDistanceRadius`, `inlineScorePriority`)
|
|
258
|
+
|
|
259
|
+
Use `rangeSlider` / `inlineRange` quando o intervalo for numérico puro e houver benefício em slider, histograma clicável (`inlineDistribution`), âncoras click-to-snap (`showAnchors`) e presets. Todos os controles slider/range da Onda 1 (`inlineRange`, `inlineCurrencyRange`, `inlineTimeRange`, `inlineDistanceRadius`, `inlineRating`, `inlineScorePriority`, além dos wrappers `inlinePeriodRange`, `inlineYearRange` e `inlineMonthRange`) compartilham:
|
|
260
|
+
|
|
261
|
+
- cabeçalho personalizável via `inlinePanelTitle`, `inlinePanelIcon` (ligadura Material Icons em `snake_case` minúsculo, ex.: `tune`, `schedule`, `near_me`, `star`, `bolt`) e `inlinePanelIconColor`;
|
|
262
|
+
- âncoras clicáveis *click-to-snap* abaixo da trilha (`showAnchors`: `'auto' | boolean`, 5 pontos em desktop e 3 em painéis estreitos `<= 368px`) que reposicionam o thumb mais próximo ou ativo;
|
|
263
|
+
- granularidade de arraste (`sliderStep`) e salto por teclado (`shiftStep` via `Shift+Setas`, `PageUp`/`PageDown`);
|
|
264
|
+
- inputs numéricos opcionais no popover (`showInlineInputs`, `inputMinLabel`, `inputMaxLabel`);
|
|
265
|
+
- `Styling API` própria via tokens CSS `--pdx-inline-<controle>-*` (`--pdx-inline-range-*`, `--pdx-inline-time-range-*`, `--pdx-inline-distance-*`, `--pdx-inline-rating-*`, `--pdx-inline-score-*`) com suporte automático a `prefers-reduced-motion: reduce`, aplicáveis em escopo global de tema sem `::ng-deep`.
|
|
266
|
+
|
|
267
|
+
### Monetário (`priceRange` / `inlineCurrencyRange`)
|
|
268
|
+
|
|
269
|
+
Use `priceRange` (`FieldControlType.PRICE_RANGE`) ou `inlineCurrencyRange` (`FieldControlType.INLINE_CURRENCY_RANGE`) quando precisar de:
|
|
270
|
+
|
|
271
|
+
- máscara e badge de moeda formatados por `locale` (`BRL` / `pt-BR`, `USD` / `en-US`, etc.);
|
|
272
|
+
- alternância de operador comercial no mesmo controle (`between`, `gte`, `lte`, `eq`);
|
|
273
|
+
- cabeçalho personalizável (`inlinePanelTitle`, `inlinePanelIcon`, `inlinePanelIconColor`);
|
|
274
|
+
- âncoras clicáveis *click-to-snap* (`showAnchors`: `'auto' | boolean`, 5 pontos em desktop e redução automática para 3 em painéis `<= 368px`);
|
|
275
|
+
- histograma reativo clicável (`inlineDistribution.buckets` com `from`/`to`/`count`), `marks`, `semanticBands` e faixas rápidas (`quickPresets` / `quickPresetsAuto`);
|
|
276
|
+
- confirmação explícita em rascunho via `inlineOverlay.applyMode: 'explicit'` (padrão do `pdx-inline-currency-range`).
|
|
277
|
+
|
|
278
|
+
#### Contrato End-to-End Backend -> Angular
|
|
279
|
+
|
|
280
|
+
1. **Java (`FilterDTO` com `praxis-metadata-starter`):** declare **um único campo** `List<BigDecimal>` com `@Filterable(operation = FilterOperation.BETWEEN, relation = "...", inline = true)`. Quando o controle for promovido para a barra compacta (`x-ui.inlineFilter = true`), `PraxisFilter` promove `PRICE_RANGE` automaticamente para `inlineCurrencyRange` (e preserva `PRICE_RANGE` no modal avançado); usar `INLINE_CURRENCY_RANGE` garante o componente compacto mesmo quando `useInlineRangeVariant = false`:
|
|
281
|
+
|
|
282
|
+
```java
|
|
283
|
+
@Schema(description = "Faixa de remuneração bruta contratual para filtrar registros.")
|
|
284
|
+
@UISchema(
|
|
285
|
+
label = "Faixa salarial",
|
|
286
|
+
type = FieldDataType.NUMBER,
|
|
287
|
+
controlType = FieldControlType.PRICE_RANGE,
|
|
288
|
+
numericFormat = NumericFormat.CURRENCY,
|
|
289
|
+
numericMin = "0",
|
|
290
|
+
numericMax = "50000",
|
|
291
|
+
numericStep = "100",
|
|
292
|
+
icon = "payments",
|
|
293
|
+
extraProperties = {
|
|
294
|
+
@ExtensionProperty(name = "currency", value = "BRL"),
|
|
295
|
+
@ExtensionProperty(name = "locale", value = "pt-BR"),
|
|
296
|
+
@ExtensionProperty(name = "inlinePanelTitle", value = "Faixa salarial contratada"),
|
|
297
|
+
@ExtensionProperty(name = "inlinePanelIcon", value = "payments"),
|
|
298
|
+
@ExtensionProperty(name = "showAnchors", value = "auto"),
|
|
299
|
+
@ExtensionProperty(name = "operatorModes", value = "[\"between\",\"gte\",\"lte\",\"eq\"]"),
|
|
300
|
+
@ExtensionProperty(name = "defaultOperatorMode", value = "between"),
|
|
301
|
+
@ExtensionProperty(name = "sliderStep", value = "500"),
|
|
302
|
+
@ExtensionProperty(name = "quickPresets", value = "[{\"id\":\"upto-5k\",\"label\":\"Até R$ 5 mil\",\"maxPrice\":5000,\"mode\":\"lte\"}]")
|
|
303
|
+
}
|
|
304
|
+
)
|
|
305
|
+
@Filterable(operation = Filterable.FilterOperation.BETWEEN, relation = "baseSalary", inline = true)
|
|
306
|
+
private List<BigDecimal> salaryBetween;
|
|
307
|
+
```
|
|
262
308
|
|
|
263
|
-
|
|
309
|
+
2. **Mapeamento de Operadores -> Payload CVA -> HTTP (`GenericCrudService` + `RangePayloadNormalizer`):**
|
|
310
|
+
|
|
311
|
+
| Operador selecionado no popover | Valor emitido pelo CVA (`pdx-inline-currency-range`) | Payload enviado em `POST /filter` (`GenericCrudService`) | Predicado executado em `BETWEEN` |
|
|
312
|
+
| --- | --- | --- | --- |
|
|
313
|
+
| `between` (`Entre`) | `{ minPrice: 1000, maxPrice: 8000 }` | `[1000, 8000]` | `baseSalary BETWEEN 1000 AND 8000` |
|
|
314
|
+
| `gte` (`A partir de`) | `{ minPrice: 1000, maxPrice: null }` | `[1000]` (backend também aceita `[1000, null]`) | `baseSalary >= 1000` |
|
|
315
|
+
| `lte` (`Até`) | `{ minPrice: null, maxPrice: 8000 }` | `[null, 8000]` | `baseSalary <= 8000` |
|
|
316
|
+
| `eq` (`Igual a`) | `{ minPrice: 5000, maxPrice: 5000 }` | `[5000, 5000]` | `baseSalary BETWEEN 5000 AND 5000` |
|
|
317
|
+
|
|
318
|
+
> Nota: `requireTwoBounds` deve permanecer `false` (default de `FilterOperation.BETWEEN`) sempre que `gte` ou `lte` estiverem habilitados em `operatorModes`; use `requireTwoBounds = true` somente com `BETWEEN_EXCLUSIVE`.
|
|
319
|
+
|
|
320
|
+
3. **Ajustes por tela no Host Angular (`alwaysVisibleFieldMetadataOverrides`):**
|
|
321
|
+
|
|
322
|
+
```ts
|
|
323
|
+
const tableConfig: TableConfig = {
|
|
324
|
+
columns: [],
|
|
325
|
+
behavior: {
|
|
326
|
+
filtering: {
|
|
327
|
+
advancedFilters: {
|
|
328
|
+
enabled: true,
|
|
329
|
+
settings: {
|
|
330
|
+
alwaysVisibleFieldMetadataOverrides: {
|
|
331
|
+
salaryBetween: {
|
|
332
|
+
inlinePanelTitle: 'Faixa salarial contratada',
|
|
333
|
+
inlinePanelIcon: 'payments',
|
|
334
|
+
inlinePanelIconColor: '#0f766e',
|
|
335
|
+
showAnchors: 'auto',
|
|
336
|
+
operatorModes: ['between', 'gte', 'lte', 'eq'],
|
|
337
|
+
sliderStep: 500,
|
|
338
|
+
shiftStep: 2500,
|
|
339
|
+
quickPresets: [
|
|
340
|
+
{ id: 'upto-5k', label: 'Até R$ 5 mil', maxPrice: 5000, mode: 'lte' },
|
|
341
|
+
{ id: 'mid-band', label: 'R$ 5 mil – R$ 15 mil', minPrice: 5000, maxPrice: 15000, mode: 'between' },
|
|
342
|
+
{ id: 'from-15k', label: 'Acima de R$ 15 mil', minPrice: 15000, mode: 'gte' },
|
|
343
|
+
],
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
```
|
|
264
352
|
|
|
265
|
-
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
353
|
+
4. **Personalização Visual no Host (`Styling API` sem `::ng-deep`):** como o painel conectado do CDK é renderizado em `.cdk-overlay-container`, declare os tokens CSS `--pdx-inline-currency-range-*` no escopo global do tema do host (`src/styles.scss`, `:root` ou classe de tema), nunca via `::ng-deep` em CSS encapsulado:
|
|
354
|
+
|
|
355
|
+
```scss
|
|
356
|
+
:root {
|
|
357
|
+
--pdx-inline-currency-range-panel-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
|
|
358
|
+
--pdx-inline-currency-range-panel-radius: 16px;
|
|
359
|
+
--pdx-inline-currency-range-title-icon-bg: rgb(15 118 110 / 0.14);
|
|
360
|
+
--pdx-inline-currency-range-title-icon-color: #0f766e;
|
|
361
|
+
--pdx-inline-currency-range-slider-active-track-color: #0f766e;
|
|
362
|
+
--pdx-inline-currency-range-slider-handle-color: #0f766e;
|
|
363
|
+
--pdx-inline-currency-range-dist-bar-bg: linear-gradient(180deg, #0d9488 0%, #99f6e4 100%);
|
|
364
|
+
--pdx-inline-currency-range-anchor-active-bg: #ccfbf1;
|
|
365
|
+
--pdx-inline-currency-range-anchor-active-fg: #115e59;
|
|
366
|
+
--pdx-inline-currency-range-input-focus-border: #0f766e;
|
|
367
|
+
--pdx-inline-currency-range-preset-active-bg: #ccfbf1;
|
|
368
|
+
--pdx-inline-currency-range-preset-active-fg: #115e59;
|
|
369
|
+
--pdx-inline-currency-range-action-primary-container: #0f766e;
|
|
370
|
+
--pdx-inline-currency-range-action-primary-label: #ffffff;
|
|
371
|
+
}
|
|
372
|
+
```
|
|
269
373
|
|
|
270
374
|
### Data
|
|
271
375
|
|
|
@@ -273,9 +377,17 @@ Use `dateRange` ou `inlineDateRange` quando o campo representar período calend
|
|
|
273
377
|
|
|
274
378
|
No backend, `LocalDate` exige atenção especial: algumas predicates trabalham com início do dia e início do próximo dia para manter semântica correta.
|
|
275
379
|
|
|
380
|
+
Em `inlineDateRange`, o contrato corporativo no Angular inclui:
|
|
381
|
+
|
|
382
|
+
- **Cabeçalho condicional de overlay:** `.pdx-inline-date-range-panel-header` é renderizado apenas quando `inlinePanelTitle`, `inlinePanelSubtitle`, `inlinePanelIcon` ou `inlineTexts.panelTitle`/`panelSubtitle` são explicitamente configurados, preservando o layout compacto sem cabeçalho por padrão.
|
|
383
|
+
- **Granularidade integrada e resumo executivo:** seletor `Dia | Mês/Ano | Ano` (`defaultGranularity: 'day' | 'month' | 'year'`), atalhos corporativos (`showShortcuts`, `shortcuts`, `inlineQuickPresets`, `i18nShortcuts`) e card de resumo (`Início → Fim` + duração).
|
|
384
|
+
- **Ação opcional de limpeza no rodapé:** habilitada apenas por opt-in explícito via `inlineOverlay.actions.clear` (layout em grid de 3 colunas com classe `.has-clear-action`; oculto por padrão).
|
|
385
|
+
- **Proteção contra emissão parcial em 2 cliques:** durante a seleção sequencial (`startDate` sem `endDate`), o estado parcial permanece confinado ao rascunho interno e nunca dispara emissão no `FormControl`; o botão `Aplicar` em `applyMode: 'explicit'` permanece bloqueado até o intervalo completo.
|
|
386
|
+
- **Styling API (sem `::ng-deep`):** tokens `--pdx-inline-date-range-header-*`, `--pdx-inline-date-range-overlay-*`, `--pdx-inline-date-range-preset-*`, `--pdx-inline-date-range-cell-*`, `--pdx-inline-date-range-summary-*` e `--pdx-inline-date-range-action-*`, com suporte nativo a `@media (prefers-reduced-motion: reduce)`.
|
|
387
|
+
|
|
276
388
|
### Hora
|
|
277
389
|
|
|
278
|
-
Use `timeRange` ou `inlineTimeRange` quando a busca depender de faixa horária pura, sem necessidade de data.
|
|
390
|
+
Use `timeRange` ou `inlineTimeRange` quando a busca depender de faixa horária pura, sem necessidade de data. Em `inlineTimeRange`, o popover inclui cabeçalho configurável (`inlinePanelIcon: "schedule"`), âncoras clicáveis de 24h (`00:00`, `06:00`, `12:00`, `18:00`, `23:59` com `showAnchors`), `sliderStep`/`shiftStep` em minutos e trilha por turnos tematizável por `--pdx-inline-time-range-*`.
|
|
279
391
|
|
|
280
392
|
## O que documentar para hosts
|
|
281
393
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Table em páginas governadas
|
|
2
|
+
|
|
3
|
+
O adapter do owner mantém `definition.inputs.config` como a única fonte de configuração do filho.
|
|
4
|
+
A página guarda autoria; o documento nativo é reconstruído a partir desses inputs. A projeção de
|
|
5
|
+
execução é transitória e nunca deve ser gravada de volta no documento da página.
|
|
6
|
+
|
|
7
|
+
O perfil inicial vem do contrato P0 `page-publication-p0` de `praxis-config-starter` (PR #506).
|
|
8
|
+
Core valida estrutura, referências, limites e exige validators dos owners. Este adapter valida o
|
|
9
|
+
perfil nativo local; não autoriza uma fonte, registra uma seed ou substitui a admissão no servidor.
|
|
10
|
+
|
|
11
|
+
`decodeTablePageInputs` reconstrói `praxis.table.editor` v1 com config e somente os bindings
|
|
12
|
+
presentes (`resourcePath`, `horizontalScroll`). `resourcePath: null` é desconexão explícita;
|
|
13
|
+
ausência não é desconexão. Config precisa ser autoria compacta: `columns: []` e
|
|
14
|
+
`columnProjection.source: 'schema'`. Null em qualquer nível de config é negado.
|
|
15
|
+
|
|
16
|
+
`encodeTablePageInputs` é a projeção inversa sem defaults. Campos fora do perfil,
|
|
17
|
+
blocos vazios sem representação nos inputs, identidade/storage e dados de execução recebem
|
|
18
|
+
diagnóstico. O adapter não filtra silenciosamente autoria incompatível.
|
|
19
|
+
|
|
20
|
+
`projectTablePageEditorChanges(authoredInputs, editorBaseline, editorValue)` aplica apenas
|
|
21
|
+
deltas explícitos sobre a autoria original usando o reconciliador nativo do owner. Capture o
|
|
22
|
+
baseline após a normalização/montagem do editor e preserve-o durante aquela sessão. Alterar
|
|
23
|
+
bindings ou contexto do mesmo widget retorna `seed.replacement-required`; a página precisa
|
|
24
|
+
substituir o widget com nova key e nova fonte admitida. A API de projeção altera somente o draft
|
|
25
|
+
que o chamador recebe; ela não salva preferências nem persiste a página.
|
|
26
|
+
|
|
27
|
+
`materializeTablePageRuntimeInputs(inputs, pageId, widgetKey)` usa o helper canônico Core para
|
|
28
|
+
identidades `page:<pageId>:widget:<widgetKey>`, projeta `configPersistenceStrategy: 'volatile'`
|
|
29
|
+
e desabilita customização/copiloto independentes no filho. Submit e dados continuam nos contratos
|
|
30
|
+
de domínio existentes. Não existe input runtime `authoringDocument`.
|
|
31
|
+
|
|
32
|
+
A estratégia `volatile` impede leitura, gravação e limpeza de preferências próprias e conexão
|
|
33
|
+
persistida. Table também repassa o `disablePersistence` existente ao filtro embutido e impede
|
|
34
|
+
reset por chave do filtro; largura, densidade e outros ajustes não escrevem preferências.
|
|
35
|
+
Defaults visuais/materializações transitórias permanecem internos ao runtime e ao editor.
|
|
36
|
+
|
|
37
|
+
Limites: JSON lossless, 256 KiB UTF-8 e profundidade 64 pelo helper Core compartilhado; o documento
|
|
38
|
+
integral da página também tem o mesmo orçamento. Não há host publicado, endpoint de publicação,
|
|
39
|
+
fonte admitida, banco ou release novos neste incremento. A integração Page Builder/host governado
|
|
40
|
+
é trabalho posterior; os wrappers comuns continuam atendendo os fluxos não governados existentes.
|
|
41
|
+
|
|
42
|
+
`volatile` também exclui overlays pessoais de configuração global nos defaults/estado de autoria
|
|
43
|
+
que o owner consome. A instância compartilhada `GlobalConfigService` pode ler sua chave global;
|
|
44
|
+
isso não é prova de zero leitura na aplicação. Tenant, cache, locale e CSP continuam infraestrutura
|
|
45
|
+
do host. O gate comprova ausência de I/O nas chaves do filho e ausência de influência da autoria
|
|
46
|
+
pessoal sobre a configuração publicada. Em Table, `TableDefaultsProvider.getDefaults(id,
|
|
47
|
+
{ includeGlobal: false })` preserva defaults nativos sem duplicá-los; mudanças globais e reset
|
|
48
|
+
seguem a mesma política, inclusive o fallback de timezone usado em regras JSON Logic.
|
|
49
|
+
|
|
50
|
+
Native Table diagnostics historically use dot paths without escaping dynamic override field names.
|
|
51
|
+
For those diagnostics, the page adapter deliberately points to the exact `columnProjection.overrides`
|
|
52
|
+
ancestor rather than inventing a JSON Pointer by splitting a field such as `a.b` or `a[0]`.
|
|
53
|
+
The diagnostic code still names the rejected native constraint.
|
|
54
|
+
|
|
55
|
+
Respostas e filas de preferências capturam a geração, a identidade e a estratégia do filho. Trocar identidade, documento ou estratégia (inclusive A → volatile → A), ou destruir a instância, invalida a continuação antiga antes do próximo I/O ou da materialização. Uma requisição já enviada não é cancelada retroativamente. Respostas tardias de erro também passam pelo mesmo fence.
|
|
@@ -11,6 +11,27 @@ Regras de conflito:
|
|
|
11
11
|
- `resourcePath` + `data` ao mesmo tempo resolve para `remote`.
|
|
12
12
|
- Limpar `document.bindings.resourcePath` no documento autorado é a forma explícita de remover a conexão remota via editor.
|
|
13
13
|
|
|
14
|
+
## Estratégia contextual de paginação e ordenação
|
|
15
|
+
|
|
16
|
+
`pagination.strategy` e `sorting.strategy` são opcionais. Quando ausentes, o
|
|
17
|
+
runtime usa `server` para uma origem remota e `client` para dados locais. Os
|
|
18
|
+
defaults compartilhados e o reset dos editores preservam essa ausência; não
|
|
19
|
+
transformam uma configuração parcial em uma escolha explícita de cliente.
|
|
20
|
+
|
|
21
|
+
Os editores apresentam **Automática (pela fonte de dados)**. Essa opção
|
|
22
|
+
remove a propriedade do documento. As únicas estratégias públicas continuam
|
|
23
|
+
sendo `client` e `server`; não existe um valor serializado `auto`. Uma escolha
|
|
24
|
+
explícita é preservada, respeitando as restrições e diagnostics do modo local.
|
|
25
|
+
Uma operação parcial de authoring que omite a estratégia mantém uma escolha
|
|
26
|
+
anterior; omissão em um patch não significa limpar essa escolha.
|
|
27
|
+
|
|
28
|
+
Na paginação remota, o total vem da resposta do backend. O paginator e o sort
|
|
29
|
+
cliente do `MatTableDataSource` não devem ser anexados nessa estratégia, pois
|
|
30
|
+
seus callbacks assíncronos podem substituir o total pela quantidade de registros
|
|
31
|
+
da página e voltar o índice para zero. A prova deve aguardar esses callbacks e
|
|
32
|
+
as materializações de capabilities, navegar à segunda página e confirmar que o
|
|
33
|
+
total e o intervalo continuam corretos. Uma captura intermediária não basta.
|
|
34
|
+
|
|
14
35
|
## Ciclo da primeira consulta remota
|
|
15
36
|
|
|
16
37
|
Quando `resourcePath`, `config` e `queryContext` chegam no primeiro ciclo de inputs, o
|
|
@@ -43,7 +43,7 @@ The canonical default direction for enterprise is:
|
|
|
43
43
|
|
|
44
44
|
The current table still mixes rendering and discovery:
|
|
45
45
|
|
|
46
|
-
- `fetchData()` triggers `prefetchRowDiscovery(page.content)` in [praxis-table.ts](
|
|
46
|
+
- `fetchData()` triggers `prefetchRowDiscovery(page.content)` in [praxis-table.ts](../src/lib/praxis-table.ts)
|
|
47
47
|
- `prefetchRowDiscovery()` loops through visible rows and calls `ensureRowDiscovery(row)`
|
|
48
48
|
- `ensureRowDiscovery()` triggers item-level `capabilities` and `actions`
|
|
49
49
|
- `getResolvedRowActions(row)` also calls `ensureRowDiscovery(row)` in the render path
|
|
@@ -79,17 +79,17 @@ In enterprise scenarios this gets worse under:
|
|
|
79
79
|
|
|
80
80
|
### Canonical subproject affected
|
|
81
81
|
|
|
82
|
-
- [praxis-table](
|
|
82
|
+
- [praxis-table](..)
|
|
83
83
|
|
|
84
84
|
### Consumers impacted
|
|
85
85
|
|
|
86
|
-
- [praxis-crud](
|
|
87
|
-
- the remote host lab in [quickstart-remote-metadata-lab.page.ts](
|
|
86
|
+
- [praxis-crud](../../praxis-crud)
|
|
87
|
+
- the remote host lab in [quickstart-remote-metadata-lab.page.ts](../../../src/app/features/quickstart-remote-metadata-lab/quickstart-remote-metadata-lab.page.ts)
|
|
88
88
|
|
|
89
89
|
### Public docs potentially affected
|
|
90
90
|
|
|
91
|
-
- [README.md](
|
|
92
|
-
- [praxis-table.json-api.md](
|
|
91
|
+
- [README.md](../README.md)
|
|
92
|
+
- [praxis-table.json-api.md](../src/lib/praxis-table.json-api.md)
|
|
93
93
|
|
|
94
94
|
For Cuts 0 and 1, documentation updates are expected to stay in internal planning/test notes unless implementation changes observable runtime behavior.
|
|
95
95
|
|
|
@@ -161,14 +161,14 @@ Initial measurable thresholds to freeze for Cuts 0 and 1:
|
|
|
161
161
|
|
|
162
162
|
Primary files:
|
|
163
163
|
|
|
164
|
-
- [praxis-table.ts](
|
|
165
|
-
- [praxis-table.html](
|
|
166
|
-
- [praxis-table.remote-regression.spec.ts](
|
|
164
|
+
- [praxis-table.ts](../src/lib/praxis-table.ts)
|
|
165
|
+
- [praxis-table.html](../src/lib/praxis-table.html) if instrumentation is surfaced through loading-state affordances used in focused tests
|
|
166
|
+
- [praxis-table.remote-regression.spec.ts](../src/lib/praxis-table.remote-regression.spec.ts)
|
|
167
167
|
- potentially one new focused spec file near the table runtime if it improves isolation
|
|
168
168
|
|
|
169
169
|
Optional if needed for test support:
|
|
170
170
|
|
|
171
|
-
- [README.md](
|
|
171
|
+
- [README.md](../README.md)
|
|
172
172
|
|
|
173
173
|
## Implementation tasks
|
|
174
174
|
|
|
@@ -243,7 +243,7 @@ Focused specs should prove:
|
|
|
243
243
|
Primary:
|
|
244
244
|
|
|
245
245
|
- add/update a focused spec around row discovery metrics in `praxis-table`
|
|
246
|
-
- keep or extend [praxis-table.remote-regression.spec.ts](
|
|
246
|
+
- keep or extend [praxis-table.remote-regression.spec.ts](../src/lib/praxis-table.remote-regression.spec.ts)
|
|
247
247
|
|
|
248
248
|
Suggested test cases:
|
|
249
249
|
|
|
@@ -280,15 +280,15 @@ Make render-time reads pure by removing discovery-triggering side effects from r
|
|
|
280
280
|
|
|
281
281
|
Primary files:
|
|
282
282
|
|
|
283
|
-
- [praxis-table.ts](
|
|
284
|
-
- [praxis-table.html](
|
|
285
|
-
- [praxis-table.scss](
|
|
286
|
-
- [praxis-table.remote-regression.spec.ts](
|
|
287
|
-
- [praxis-crud.component.spec.ts](
|
|
283
|
+
- [praxis-table.ts](../src/lib/praxis-table.ts)
|
|
284
|
+
- [praxis-table.html](../src/lib/praxis-table.html)
|
|
285
|
+
- [praxis-table.scss](../src/lib/praxis-table.scss) when needed to keep row affordance layout stable during unresolved contextual discovery
|
|
286
|
+
- [praxis-table.remote-regression.spec.ts](../src/lib/praxis-table.remote-regression.spec.ts)
|
|
287
|
+
- [praxis-crud.component.spec.ts](../../praxis-crud/src/lib/praxis-crud.component.spec.ts) only if host interaction assumptions change
|
|
288
288
|
|
|
289
289
|
Potential supporting docs after implementation:
|
|
290
290
|
|
|
291
|
-
- [README.md](
|
|
291
|
+
- [README.md](../README.md)
|
|
292
292
|
|
|
293
293
|
## Implementation tasks
|
|
294
294
|
|
|
@@ -313,9 +313,9 @@ These methods should become the only legal entrypoints for row item discovery un
|
|
|
313
313
|
|
|
314
314
|
For avoidance of ambiguity, the expected concrete UI/runtime anchor points are:
|
|
315
315
|
|
|
316
|
-
- row expansion trigger from the expander control rendered in [praxis-table.html](
|
|
317
|
-
- row overflow contextual actions from the overflow menu trigger rendered in the row actions cell in [praxis-table.html](
|
|
318
|
-
- runtime handlers must live in [praxis-table.ts](
|
|
316
|
+
- row expansion trigger from the expander control rendered in [praxis-table.html](../src/lib/praxis-table.html) around the `_expander` column and its `aria-expanded` toggle
|
|
317
|
+
- row overflow contextual actions from the overflow menu trigger rendered in the row actions cell in [praxis-table.html](../src/lib/praxis-table.html), currently using `matMenuTriggerFor` and the `more_vert` icon
|
|
318
|
+
- runtime handlers must live in [praxis-table.ts](../src/lib/praxis-table.ts) rather than in template-side incidental calls
|
|
319
319
|
|
|
320
320
|
For Cut 1, freeze the trigger policy explicitly:
|
|
321
321
|
|
|
@@ -78,7 +78,7 @@ ADR table-detail-presentation.md registra aderência, D1–D9, mapa de impacto e
|
|
|
78
78
|
|
|
79
79
|
Comando: `npm run test:table -- --include=projects/praxis-table/src/lib/praxis-table.expansion-runtime.spec.ts` em praxis-ui-angular. Resultado: exit 134 durante `Building...`, sem resultados Jasmine. Nenhum teste ou runtime desta tarefa tinha sido editado. Aviso de baseline-browser-mapping desatualizado foi emitido, mas não há evidência de que seja a causa; nenhuma dependência foi instalada/alterada.
|
|
80
80
|
|
|
81
|
-
Diagnóstico somente leitura: relatório macOS
|
|
81
|
+
Diagnóstico somente leitura: relatório macOS `<diagnostic-log>`, captura 2026-09-10 09:44:33 -0300, PID 90349. EXC_CRASH/SIGABRT, Abort trap 6; stack contém `___BUG_IN_CLIENT_OF_LIBMALLOC_POINTER_BEING_FREED_WAS_NOT_ALLOCATED`, módulo nativo `node.napi.node`, destruição de `ExtendedEnv`. Isso prova um abort nativo do processo; não identifica com segurança o pacote causador nem prova falha de uma asserção de Table. Heap configurado reportado pelo Node: 4144 MB; não há evidência coletada de OOM.
|
|
82
82
|
|
|
83
83
|
A Table usa `@angular/build:karma`; ao contrário de Core, suas opções base não declaram karmaConfig headless. O runner headless existente `tools/karma/karma.headless.conf.cjs` pode ser passado por CLI quando o build voltar a funcionar. Nenhum arquivo de configuração foi modificado.
|
|
84
84
|
|
|
@@ -191,7 +191,7 @@ Landing: vendor-docs:sync executado; Table manifests, published guides (145) e s
|
|
|
191
191
|
- Backend: **94 testes, zero falhas** em `/private/tmp/table-detail-t08-backend-complete.log`; após acrescentar prova de segurança de source aninhado e sincronizar o snapshot final, **48 testes, zero falhas** em `...-backend-snapshot-final.log`. Paths esperados nas fixtures seguem agora o patch atômico `behavior` e o documento `behavior.detail.source`; expectativas de rejeição de URL externa preservadas.
|
|
192
192
|
- Registry final: catálogo PASS sem warnings e authoring **20/20 PASS**; snapshot canônico sincronizado, hashes validados. Logs `/private/tmp/table-detail-t08-{catalog,authoring,snapshot}-final.log`.
|
|
193
193
|
- Landing: manifests Table, 145 guias e sitemap passaram. Vendor docs final sincronizado e validado: 73 arquivos. Sem mudanças de rotas; corpus HTTP não possui uso ativo do contrato antigo (a recipe List mantém sua própria semântica). Não há outro derivado HTTP a atualizar. README e json-api Table, projeções textuais/adapter da landing e snapshot do Config Starter atualizados. Busca residual: apenas migração, baseline/ADR/notas históricas e chaves i18n antigas sem consumidor runtime; nenhuma leitura dupla.
|
|
194
|
-
- Revisão visual: corrigido overflow intrínseco do grid do exemplo, mantidos controles/paginação acessíveis no estreito e contraste por tokens. Capturas finais em
|
|
194
|
+
- Revisão visual: corrigido overflow intrínseco do grid do exemplo, mantidos controles/paginação acessíveis no estreito e contraste por tokens. Capturas finais em `<agent-artifacts>`: light/dark/narrow, editor, error, chart/action. A altura limitada exige scroll para gráfico/timeline, por decisão D9; não é recorte permanente de conteúdo.
|
|
195
195
|
- O runner deixou um ng serve órfão; PID 57248 identificado pelo horário/comando desta execução e encerrado explicitamente. Não há shell interativo ou dev server desta tarefa a manter.
|
|
196
196
|
|
|
197
197
|
### Limites e integração externa
|