@praxisui/table 10.0.0-rc.48 → 10.0.0-rc.49
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/ai/component-registry.json +16 -6
- package/docs/column-resize-reorder-implementation-plan.md +3 -3
- package/docs/column-resize-reorder-review-prompt.md +1 -1
- 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 +20 -6
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-B0DzEECw.mjs → praxisui-table-filter-form-dialog-host.component-P5tnvbqc.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-BWS60Gsi.mjs → praxisui-table-praxisui-table-CV4MZkPS.mjs} +1357 -165
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-CLmDhib4.mjs → praxisui-table-table-agentic-authoring-turn-flow-Bb4QWs2l.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-Dl-By0LL.mjs → praxisui-table-table-ai.adapter-BxiJ1rVD.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +100 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-17T22:43:07.679Z",
|
|
4
4
|
"packageName": "@praxisui/table",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.49",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 3,
|
|
@@ -2272,6 +2272,11 @@
|
|
|
2272
2272
|
"type": "Record<string, any>",
|
|
2273
2273
|
"description": "Controlled runtime filter DTO; never persisted by standalone authoring."
|
|
2274
2274
|
},
|
|
2275
|
+
{
|
|
2276
|
+
"name": "lockedFilterFields",
|
|
2277
|
+
"type": "readonly string[]",
|
|
2278
|
+
"description": "Structural scope fields kept in the emitted filter DTO while excluded from unlocked active-filter counts and clears."
|
|
2279
|
+
},
|
|
2275
2280
|
{
|
|
2276
2281
|
"name": "alwaysVisibleFields",
|
|
2277
2282
|
"type": "string[]",
|
|
@@ -2976,9 +2981,9 @@
|
|
|
2976
2981
|
{
|
|
2977
2982
|
"chunkIndex": 7,
|
|
2978
2983
|
"chunkKind": "authoring_manifest",
|
|
2979
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-filter\",\"ownerPackage\":\"@praxisui/table\",\"configSchemaId\":\"FilterConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"presentation\",\"type\":\"FilterPresentationConfig\",\"description\":\"Canonical filter header and advanced-action presentation, projected from FilterConfig.presentation.\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Canonical resource used to resolve filter metadata.\"},{\"name\":\"apiUrlEntry\",\"type\":\"ApiUrlEntry | null\",\"description\":\"Resolved API entry supplied by detached hosts.\"},{\"name\":\"fieldMetadata\",\"type\":\"FieldMetadata[] | null\",\"description\":\"Optional host-provided filter metadata.\"},{\"name\":\"filterId\",\"type\":\"string\",\"description\":\"Stable filter persistence identity.\"},{\"name\":\"formId\",\"type\":\"string\",\"description\":\"Stable advanced-filter form identity.\"},{\"name\":\"componentInstanceId\",\"type\":\"string\",\"description\":\"Stable hosted widget identity.\"},{\"name\":\"mode\",\"type\":\"'filter'\",\"allowedValues\":[\"filter\"],\"description\":\"Standalone runtime mode.\"},{\"name\":\"notifyIfOutdated\",\"type\":\"'inline' | 'snackbar' | 'both' | 'none'\",\"description\":\"Schema drift notification channel.\"},{\"name\":\"snoozeMs\",\"type\":\"number\",\"description\":\"Schema drift notification snooze duration.\"},{\"name\":\"autoOpenSettingsOnOutdated\",\"type\":\"boolean\",\"description\":\"Opens settings when schema drift is detected.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Enables runtime customization affordances.\"},{\"name\":\"value\",\"type\":\"Record<string, any>\",\"description\":\"Controlled runtime filter DTO; never persisted by standalone authoring.\"},{\"name\":\"alwaysVisibleFields\",\"type\":\"string[]\",\"description\":\"Ordered fields pinned in the inline filter.\"},{\"name\":\"alwaysVisibleFieldMetadataOverrides\",\"type\":\"Record<string, Record<string, any>>\",\"description\":\"Host-owned metadata overrides preserved by editor round trips but not authored by this manifest.\"},{\"name\":\"selectedFieldIds\",\"type\":\"string[]\",\"description\":\"Ordered additional fields selected for the filter.\"},{\"name\":\"tags\",\"type\":\"FilterTag[]\",\"description\":\"Host-provided filter shortcuts; not authored by this manifest.\"},{\"name\":\"allowSaveTags\",\"type\":\"boolean\",\"description\":\"Allows users to persist filter shortcuts.\"},{\"name\":\"persistenceKey\",\"type\":\"string\",\"description\":\"Host-owned persistence key.\"},{\"name\":\"disablePersistence\",\"type\":\"boolean\",\"description\":\"Disables runtime preference persistence.\"},{\"name\":\"i18n\",\"type\":\"Partial<I18n>\",\"description\":\"Host-provided copy overrides.\"},{\"name\":\"changeDebounceMs\",\"type\":\"number\",\"description\":\"Debounce applied to filter changes.\"},{\"name\":\"showFilterSettings\",\"type\":\"boolean\",\"description\":\"Shows runtime filter settings affordance.\"},{\"name\":\"showAdvancedButton\",\"type\":\"boolean\",\"description\":\"Shows the advanced-filter action.\"},{\"name\":\"showAddButton\",\"type\":\"boolean\",\"description\":\"Shows the field-selection action.\"},{\"name\":\"showClearButton\",\"type\":\"boolean\",\"description\":\"Shows the clear action.\"},{\"name\":\"showSearchButton\",\"type\":\"boolean\",\"description\":\"Shows the explicit request-search action.\"},{\"name\":\"confirmTagDelete\",\"type\":\"boolean\",\"description\":\"Requires confirmation before deleting a shortcut.\"},{\"name\":\"placeBooleansInActions\",\"type\":\"boolean\",\"description\":\"Places boolean controls in the action lane.\"},{\"name\":\"showToggleLabels\",\"type\":\"boolean\",\"description\":\"Shows labels for action-lane toggles.\"},{\"name\":\"useInlineSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact inline select renderer.\"},{\"name\":\"useInlineSearchableSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact searchable-select renderer.\"},{\"name\":\"useInlineMultiSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact multi-select renderer.\"},{\"name\":\"useInlineInputVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact input renderer.\"},{\"name\":\"useInlineToggleVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact toggle renderer.\"},{\"name\":\"useInlineRangeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact range renderer.\"},{\"name\":\"useInlineDateVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact date renderer.\"},{\"name\":\"useInlineDateRangeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact date-range renderer.\"},{\"name\":\"useInlineTimeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact time renderer.\"},{\"name\":\"useInlineTimeRangeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact time-range renderer.\"},{\"name\":\"useInlineTreeSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact tree-select renderer.\"},{\"name\":\"alwaysMinWidth\",\"type\":\"number\",\"description\":\"Minimum width for pinned fields.\"},{\"name\":\"alwaysColsMd\",\"type\":\"number\",\"description\":\"Pinned-field columns on medium viewports.\"},{\"name\":\"alwaysColsLg\",\"type\":\"number\",\"description\":\"Pinned-field columns on large viewports.\"},{\"name\":\"tagColor\",\"type\":\"'primary' | 'accent' | 'warn' | 'basic'\",\"description\":\"Shortcut color token.\"},{\"name\":\"tagVariant\",\"type\":\"'filled' | 'outlined'\",\"description\":\"Shortcut surface variant.\"},{\"name\":\"tagButtonColor\",\"type\":\"'primary' | 'accent' | 'warn' | 'basic'\",\"description\":\"Shortcut action color token.\"},{\"name\":\"actionsButtonColor\",\"type\":\"'primary' | 'accent' | 'warn' | 'basic'\",\"description\":\"Filter action color token.\"},{\"name\":\"actionsVariant\",\"type\":\"'standard' | 'outlined'\",\"description\":\"Filter action surface variant.\"},{\"name\":\"overlayVariant\",\"type\":\"'card' | 'frosted'\",\"description\":\"Advanced-filter overlay surface.\"},{\"name\":\"overlayBackdrop\",\"type\":\"boolean\",\"description\":\"Controls the advanced-filter backdrop.\"},{\"name\":\"advancedOpenMode\",\"type\":\"'modal' | 'drawer'\",\"allowedValues\":[\"modal\",\"drawer\"],\"description\":\"Canonical advanced-filter container.\"},{\"name\":\"advancedClearButtonsEnabled\",\"type\":\"boolean\",\"description\":\"Enables clear buttons in advanced fields.\"}]}",
|
|
2984
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-filter\",\"ownerPackage\":\"@praxisui/table\",\"configSchemaId\":\"FilterConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"presentation\",\"type\":\"FilterPresentationConfig\",\"description\":\"Canonical filter header and advanced-action presentation, projected from FilterConfig.presentation.\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Canonical resource used to resolve filter metadata.\"},{\"name\":\"apiUrlEntry\",\"type\":\"ApiUrlEntry | null\",\"description\":\"Resolved API entry supplied by detached hosts.\"},{\"name\":\"fieldMetadata\",\"type\":\"FieldMetadata[] | null\",\"description\":\"Optional host-provided filter metadata.\"},{\"name\":\"filterId\",\"type\":\"string\",\"description\":\"Stable filter persistence identity.\"},{\"name\":\"formId\",\"type\":\"string\",\"description\":\"Stable advanced-filter form identity.\"},{\"name\":\"componentInstanceId\",\"type\":\"string\",\"description\":\"Stable hosted widget identity.\"},{\"name\":\"mode\",\"type\":\"'filter'\",\"allowedValues\":[\"filter\"],\"description\":\"Standalone runtime mode.\"},{\"name\":\"notifyIfOutdated\",\"type\":\"'inline' | 'snackbar' | 'both' | 'none'\",\"description\":\"Schema drift notification channel.\"},{\"name\":\"snoozeMs\",\"type\":\"number\",\"description\":\"Schema drift notification snooze duration.\"},{\"name\":\"autoOpenSettingsOnOutdated\",\"type\":\"boolean\",\"description\":\"Opens settings when schema drift is detected.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Enables runtime customization affordances.\"},{\"name\":\"value\",\"type\":\"Record<string, any>\",\"description\":\"Controlled runtime filter DTO; never persisted by standalone authoring.\"},{\"name\":\"lockedFilterFields\",\"type\":\"readonly string[]\",\"description\":\"Structural scope fields kept in the emitted filter DTO while excluded from unlocked active-filter counts and clears.\"},{\"name\":\"alwaysVisibleFields\",\"type\":\"string[]\",\"description\":\"Ordered fields pinned in the inline filter.\"},{\"name\":\"alwaysVisibleFieldMetadataOverrides\",\"type\":\"Record<string, Record<string, any>>\",\"description\":\"Host-owned metadata overrides preserved by editor round trips but not authored by this manifest.\"},{\"name\":\"selectedFieldIds\",\"type\":\"string[]\",\"description\":\"Ordered additional fields selected for the filter.\"},{\"name\":\"tags\",\"type\":\"FilterTag[]\",\"description\":\"Host-provided filter shortcuts; not authored by this manifest.\"},{\"name\":\"allowSaveTags\",\"type\":\"boolean\",\"description\":\"Allows users to persist filter shortcuts.\"},{\"name\":\"persistenceKey\",\"type\":\"string\",\"description\":\"Host-owned persistence key.\"},{\"name\":\"disablePersistence\",\"type\":\"boolean\",\"description\":\"Disables runtime preference persistence.\"},{\"name\":\"i18n\",\"type\":\"Partial<I18n>\",\"description\":\"Host-provided copy overrides.\"},{\"name\":\"changeDebounceMs\",\"type\":\"number\",\"description\":\"Debounce applied to filter changes.\"},{\"name\":\"showFilterSettings\",\"type\":\"boolean\",\"description\":\"Shows runtime filter settings affordance.\"},{\"name\":\"showAdvancedButton\",\"type\":\"boolean\",\"description\":\"Shows the advanced-filter action.\"},{\"name\":\"showAddButton\",\"type\":\"boolean\",\"description\":\"Shows the field-selection action.\"},{\"name\":\"showClearButton\",\"type\":\"boolean\",\"description\":\"Shows the clear action.\"},{\"name\":\"showSearchButton\",\"type\":\"boolean\",\"description\":\"Shows the explicit request-search action.\"},{\"name\":\"confirmTagDelete\",\"type\":\"boolean\",\"description\":\"Requires confirmation before deleting a shortcut.\"},{\"name\":\"placeBooleansInActions\",\"type\":\"boolean\",\"description\":\"Places boolean controls in the action lane.\"},{\"name\":\"showToggleLabels\",\"type\":\"boolean\",\"description\":\"Shows labels for action-lane toggles.\"},{\"name\":\"useInlineSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact inline select renderer.\"},{\"name\":\"useInlineSearchableSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact searchable-select renderer.\"},{\"name\":\"useInlineMultiSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact multi-select renderer.\"},{\"name\":\"useInlineInputVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact input renderer.\"},{\"name\":\"useInlineToggleVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact toggle renderer.\"},{\"name\":\"useInlineRangeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact range renderer.\"},{\"name\":\"useInlineDateVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact date renderer.\"},{\"name\":\"useInlineDateRangeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact date-range renderer.\"},{\"name\":\"useInlineTimeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact time renderer.\"},{\"name\":\"useInlineTimeRangeVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact time-range renderer.\"},{\"name\":\"useInlineTreeSelectVariant\",\"type\":\"boolean\",\"description\":\"Uses the compact tree-select renderer.\"},{\"name\":\"alwaysMinWidth\",\"type\":\"number\",\"description\":\"Minimum width for pinned fields.\"},{\"name\":\"alwaysColsMd\",\"type\":\"number\",\"description\":\"Pinned-field columns on medium viewports.\"},{\"name\":\"alwaysColsLg\",\"type\":\"number\",\"description\":\"Pinned-field columns on large viewports.\"},{\"name\":\"tagColor\",\"type\":\"'primary' | 'accent' | 'warn' | 'basic'\",\"description\":\"Shortcut color token.\"},{\"name\":\"tagVariant\",\"type\":\"'filled' | 'outlined'\",\"description\":\"Shortcut surface variant.\"},{\"name\":\"tagButtonColor\",\"type\":\"'primary' | 'accent' | 'warn' | 'basic'\",\"description\":\"Shortcut action color token.\"},{\"name\":\"actionsButtonColor\",\"type\":\"'primary' | 'accent' | 'warn' | 'basic'\",\"description\":\"Filter action color token.\"},{\"name\":\"actionsVariant\",\"type\":\"'standard' | 'outlined'\",\"description\":\"Filter action surface variant.\"},{\"name\":\"overlayVariant\",\"type\":\"'card' | 'frosted'\",\"description\":\"Advanced-filter overlay surface.\"},{\"name\":\"overlayBackdrop\",\"type\":\"boolean\",\"description\":\"Controls the advanced-filter backdrop.\"},{\"name\":\"advancedOpenMode\",\"type\":\"'modal' | 'drawer'\",\"allowedValues\":[\"modal\",\"drawer\"],\"description\":\"Canonical advanced-filter container.\"},{\"name\":\"advancedClearButtonsEnabled\",\"type\":\"boolean\",\"description\":\"Enables clear buttons in advanced fields.\"}]}",
|
|
2980
2985
|
"sourcePointer": "projects/praxis-table/src/lib/ai/praxis-filter-authoring-manifest.ts",
|
|
2981
|
-
"contentHash": "
|
|
2986
|
+
"contentHash": "0ecb62d30c51596f4968b44afa290370860ec194510666f0aa50ecd9f9d273d2",
|
|
2982
2987
|
"sourceKind": "component_definition",
|
|
2983
2988
|
"sourceId": "praxis-filter",
|
|
2984
2989
|
"corpusVersion": "1.0.0"
|
|
@@ -18937,6 +18942,11 @@
|
|
|
18937
18942
|
"type": "PraxisDataQueryContext",
|
|
18938
18943
|
"description": "Contexto de consulta declarativo"
|
|
18939
18944
|
},
|
|
18945
|
+
{
|
|
18946
|
+
"name": "lockedFilterFields",
|
|
18947
|
+
"type": "readonly string[]",
|
|
18948
|
+
"description": "Campos de filtro estruturais travados cujos chips removíveis devem ser suprimidos na toolbar mantendo o filtro ativo."
|
|
18949
|
+
},
|
|
18940
18950
|
{
|
|
18941
18951
|
"name": "title",
|
|
18942
18952
|
"type": "string",
|
|
@@ -35340,9 +35350,9 @@
|
|
|
35340
35350
|
{
|
|
35341
35351
|
"chunkIndex": 87,
|
|
35342
35352
|
"chunkKind": "authoring_manifest",
|
|
35343
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"2.2.5\",\"componentId\":\"praxis-table\",\"ownerPackage\":\"@praxisui/table\",\"configSchemaId\":\"TableConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"TableConfig\",\"description\":\"Configuração completa da tabela\"},{\"name\":\"data\",\"type\":\"any[]\",\"description\":\"Dados a serem exibidos (modo client-side)\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Caminho do recurso (API base)\"},{\"name\":\"collectionSurface\",\"type\":\"ResourceSurfaceCatalogItem\",\"description\":\"Published collection read operation; backend-owned path, method and response schema.\"},{\"name\":\"queryContext\",\"type\":\"PraxisDataQueryContext\",\"description\":\"Contexto de consulta declarativo\"},{\"name\":\"title\",\"type\":\"string\",\"description\":\"Título da tabela\"},{\"name\":\"subtitle\",\"type\":\"string\",\"description\":\"Subtítulo da tabela\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Habilita modo de edição\"},{\"name\":\"authoringCapability\",\"type\":\"string\",\"description\":\"Capability pública do contexto corporativo exigida para materializar authoring governado.\"}]}",
|
|
35353
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"2.2.5\",\"componentId\":\"praxis-table\",\"ownerPackage\":\"@praxisui/table\",\"configSchemaId\":\"TableConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"TableConfig\",\"description\":\"Configuração completa da tabela\"},{\"name\":\"data\",\"type\":\"any[]\",\"description\":\"Dados a serem exibidos (modo client-side)\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Caminho do recurso (API base)\"},{\"name\":\"collectionSurface\",\"type\":\"ResourceSurfaceCatalogItem\",\"description\":\"Published collection read operation; backend-owned path, method and response schema.\"},{\"name\":\"queryContext\",\"type\":\"PraxisDataQueryContext\",\"description\":\"Contexto de consulta declarativo\"},{\"name\":\"lockedFilterFields\",\"type\":\"readonly string[]\",\"description\":\"Campos de filtro estruturais travados cujos chips removíveis devem ser suprimidos na toolbar mantendo o filtro ativo.\"},{\"name\":\"title\",\"type\":\"string\",\"description\":\"Título da tabela\"},{\"name\":\"subtitle\",\"type\":\"string\",\"description\":\"Subtítulo da tabela\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Habilita modo de edição\"},{\"name\":\"authoringCapability\",\"type\":\"string\",\"description\":\"Capability pública do contexto corporativo exigida para materializar authoring governado.\"}]}",
|
|
35344
35354
|
"sourcePointer": "projects/praxis-table/src/lib/ai/praxis-table-authoring-manifest.ts",
|
|
35345
|
-
"contentHash": "
|
|
35355
|
+
"contentHash": "354996f3b928ff542629c82f3e12a17b4a31d096841e5df9a1e87523c6e95a0b",
|
|
35346
35356
|
"sourceKind": "component_definition",
|
|
35347
35357
|
"sourceId": "praxis-table",
|
|
35348
35358
|
"corpusVersion": "1.0.0"
|
|
@@ -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
|
|
|
@@ -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
|
|
@@ -1171,13 +1171,15 @@ function infoDiagnostic(code, message, path) {
|
|
|
1171
1171
|
class TableSchemaColumnProjector {
|
|
1172
1172
|
convertFieldToColumn(field) {
|
|
1173
1173
|
const apiType = resolveColumnTypeFromFieldDefinition(field, this.inferFieldTypeFromFieldName(field.name));
|
|
1174
|
+
const sticky = field.pinned ?? field.sticky;
|
|
1174
1175
|
const col = {
|
|
1175
1176
|
field: field.name,
|
|
1176
1177
|
header: field.label ?? field.name,
|
|
1177
|
-
order: field.order,
|
|
1178
|
+
order: field.tableOrder ?? field.order,
|
|
1178
1179
|
width: field.width ?? undefined,
|
|
1179
1180
|
sortable: field.sortable,
|
|
1180
1181
|
visible: field.tableHidden || field.hidden ? false : true,
|
|
1182
|
+
...(sticky === 'start' || sticky === 'end' || sticky === true ? { sticky } : {}),
|
|
1181
1183
|
type: apiType,
|
|
1182
1184
|
_originalApiType: apiType,
|
|
1183
1185
|
_isApiField: true,
|
|
@@ -1211,8 +1213,13 @@ class TableSchemaColumnProjector {
|
|
|
1211
1213
|
.filter((field) => !field.tableHidden && !field.hidden)
|
|
1212
1214
|
.filter((field) => include.length === 0 || includeOrder.has(field.name))
|
|
1213
1215
|
.sort((left, right) => {
|
|
1214
|
-
|
|
1216
|
+
const orderDiff = (presentationOrder.get(left.name) ?? Number.MAX_SAFE_INTEGER)
|
|
1215
1217
|
- (presentationOrder.get(right.name) ?? Number.MAX_SAFE_INTEGER);
|
|
1218
|
+
if (orderDiff !== 0) {
|
|
1219
|
+
return orderDiff;
|
|
1220
|
+
}
|
|
1221
|
+
return (left.tableOrder ?? left.order ?? Number.MAX_SAFE_INTEGER)
|
|
1222
|
+
- (right.tableOrder ?? right.order ?? Number.MAX_SAFE_INTEGER);
|
|
1216
1223
|
})
|
|
1217
1224
|
.map((field) => {
|
|
1218
1225
|
const base = this.convertFieldToColumn(field);
|
|
@@ -1411,17 +1418,24 @@ class TableSchemaColumnProjector {
|
|
|
1411
1418
|
col.valueMapping = valueMapping;
|
|
1412
1419
|
}
|
|
1413
1420
|
const presentation = field.presentation;
|
|
1414
|
-
|
|
1415
|
-
isPraxisPresentationVisualizationTableSafe(presentation?.visualization)
|
|
1416
|
-
|
|
1421
|
+
const resolvedMicroViz = presentation?.presenter === 'microVisualization' &&
|
|
1422
|
+
isPraxisPresentationVisualizationTableSafe(presentation?.visualization)
|
|
1423
|
+
? presentation.visualization
|
|
1424
|
+
: isPraxisPresentationVisualizationTableSafe(field.microVisualization)
|
|
1425
|
+
? field.microVisualization
|
|
1426
|
+
: null;
|
|
1427
|
+
if (resolvedMicroViz && !col.renderer?.type) {
|
|
1417
1428
|
col.renderer = {
|
|
1418
1429
|
...(col.renderer || {}),
|
|
1419
1430
|
type: 'microVisualization',
|
|
1420
1431
|
microVisualization: {
|
|
1421
|
-
visualization:
|
|
1432
|
+
visualization: resolvedMicroViz,
|
|
1422
1433
|
},
|
|
1423
1434
|
};
|
|
1424
1435
|
}
|
|
1436
|
+
if (col.sticky === undefined && (field.pinned === 'start' || field.pinned === 'end')) {
|
|
1437
|
+
col.sticky = field.pinned;
|
|
1438
|
+
}
|
|
1425
1439
|
this.applySchemaSemanticCellPresentation(field, col, presentation);
|
|
1426
1440
|
if (numericFormat === 'currency' || controlType === 'currency' || col.type === 'currency') {
|
|
1427
1441
|
const wasCurrency = col.type === 'currency';
|
|
@@ -12,7 +12,7 @@ import * as i14 from '@angular/material/tooltip';
|
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import { PraxisFilterForm } from '@praxisui/dynamic-form';
|
|
14
14
|
import { PraxisIconButtonComponent } from '@praxisui/core';
|
|
15
|
-
import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-
|
|
15
|
+
import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-CV4MZkPS.mjs';
|
|
16
16
|
|
|
17
17
|
class FilterFormDialogHostComponent {
|
|
18
18
|
data;
|