@praxisui/table 8.0.0-beta.99 → 9.0.0-beta.1
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 +4 -2
- package/docs/dynamic-filter-host-integration-guide.md +7 -0
- package/fesm2022/{praxisui-table-praxisui-table-rz7xSDwL.mjs → praxisui-table-praxisui-table-CunEk0vb.mjs} +2502 -488
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-CwklX13T.mjs → praxisui-table-table-agentic-authoring-turn-flow-DL9l0XF7.mjs} +1616 -195
- package/fesm2022/{praxisui-table-table-ai.adapter-C96CotWq.mjs → praxisui-table-table-ai.adapter-BvaMq2CS.mjs} +42 -2
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +162 -138
- package/types/praxisui-table.d.ts +131 -21
package/README.md
CHANGED
|
@@ -171,6 +171,8 @@ Filtro runtime:
|
|
|
171
171
|
- Minimizing the table shell keeps the governed session in `PraxisAssistantSessionRegistryService` with `presence: 'origin-anchor'`; the visual affordance returns to the table assistant trigger, which changes to the minimized state and reopens the preserved session. The App Shell does not interpret or execute table semantics.
|
|
172
172
|
- The table snapshot stores only safe context: table identity, target, context chips, manifest reference, resource path, schema field names, data/runtime digests, capability refs and governance hints.
|
|
173
173
|
- When rows are selected, the assistant context includes a governed `table-row-selection` digest with selected count, id field, selected ids and a small sanitized row sample. The runtime never uses selected row text to decide primary intent; the LLM/backend receives the digest only as grounding after the assistant turn has the table component scope.
|
|
174
|
+
- The table also registers a runtime observation provider through `PraxisRuntimeComponentObservationRegistryService`. Runtime observations publish redacted component evidence only: identity, resource refs, `runtimeSurfaceInstanceRef`, lifecycle, selection and data-profile digests, schema field refs, declared record surfaces and declared table actions.
|
|
175
|
+
- Runtime observations must not include raw rows, full cell values, hidden fields, secrets or intent decisions. Surface and action refs are derived from declared contracts such as `aiContext.recordSurfaces`, table capabilities and adapter context; undeclared navigation or inferred intents stay out of the observation envelope.
|
|
174
176
|
- Prompts that indicate shared business decisions, such as rules, policies, compliance, LGPD, approval, eligibility or access control, must be routed to governed `domain-rules` handoff instead of local table config patches.
|
|
175
177
|
|
|
176
178
|
### Consultative answers vs governed edits
|
|
@@ -555,12 +557,12 @@ O manifesto (v2.0.0) é exportado como `PRAXIS_TABLE_AUTHORING_MANIFEST` e proje
|
|
|
555
557
|
## 🚀 Instalação
|
|
556
558
|
|
|
557
559
|
```bash
|
|
558
|
-
npm install @praxisui/ai @praxisui/core @praxisui/table
|
|
560
|
+
npm install @praxisui/ai@latest @praxisui/core@latest @praxisui/table@latest
|
|
559
561
|
```
|
|
560
562
|
|
|
561
563
|
Peers necessários (instale no app host):
|
|
562
564
|
- `@angular/core` `^20.0.0`, `@angular/common` `^20.0.0`
|
|
563
|
-
- `@praxisui/ai` `^
|
|
565
|
+
- `@praxisui/ai` `^9.0.0-beta.1`
|
|
564
566
|
- `@praxisui/core` `^0.0.1`
|
|
565
567
|
- `@praxisui/dynamic-fields` `^0.0.1` (quando usar editores/inputs dinâmicos)
|
|
566
568
|
- `@praxisui/dynamic-form` `^0.0.1` (quando integrar com formulários dinâmicos)
|
|
@@ -118,6 +118,13 @@ Essas chaves são as mais importantes na prática:
|
|
|
118
118
|
- `allowSaveTags`: habilita tags persistidas/visíveis;
|
|
119
119
|
- `changeDebounceMs`: regula a cadência de emissão de `change` e `submit`.
|
|
120
120
|
|
|
121
|
+
`selectedFieldIds` é a parte gerenciável da toolbar de filtros. O seletor de
|
|
122
|
+
campos deve permitir adicionar e remover esses filtros exibidos; ao remover um
|
|
123
|
+
campo com valor ativo, o runtime limpa também o critério correspondente no DTO
|
|
124
|
+
e emite o novo payload para evitar filtro invisível. Use `alwaysVisibleFields`
|
|
125
|
+
apenas para campos realmente fixos, porque eles não entram nessa remoção rápida
|
|
126
|
+
do usuário.
|
|
127
|
+
|
|
121
128
|
#### Padronizar `materialDesign` dos campos de filtro
|
|
122
129
|
|
|
123
130
|
O `praxis-filter` normaliza a metadata efetiva de filtros com uma politica
|