@praxisui/table 10.0.0-rc.58 → 10.0.0-rc.59
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 +9 -6
- package/ai/component-registry.json +8 -8
- package/docs/dynamic-filter-host-integration-guide.md +6 -2
- package/docs/dynamic-filter-range-filters-guide.md +125 -13
- package/fesm2022/praxisui-table-authoring.mjs +4 -1
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-C-dlj27x.mjs → praxisui-table-filter-form-dialog-host.component-CiWvQzrk.mjs} +14 -7
- package/fesm2022/{praxisui-table-praxisui-table-C6PWlmcQ.mjs → praxisui-table-praxisui-table-DBfX3Cwn.mjs} +1460 -232
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DMjNxQMw.mjs → praxisui-table-table-agentic-authoring-turn-flow-76lgaG-T.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-ThHdz1lu.mjs → praxisui-table-table-ai.adapter-CMXOrF_a.mjs} +8 -3
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +19 -9
- package/types/praxisui-table.d.ts +114 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import {
|
|
3
|
+
import { az as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-DBfX3Cwn.mjs';
|
|
4
4
|
|
|
5
5
|
class TableAgenticAuthoringTurnFlow {
|
|
6
6
|
adapter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { firstValueFrom } from 'rxjs';
|
|
2
2
|
import { BaseAiAdapter, sanitizePraxisAssistantText, createComponentAuthoringContext } from '@praxisui/ai';
|
|
3
3
|
import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
|
|
4
|
-
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES,
|
|
4
|
+
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a8 as coerceTableComponentEditPlans, aa as compileTableComponentEditPlans, Z as TASK_PRESETS, ai as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-DBfX3Cwn.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -3747,7 +3747,7 @@ Columns Analysis:
|
|
|
3747
3747
|
if (exactMatch || prefixMatch) {
|
|
3748
3748
|
if (newPath === 'columns[].computed.expression') {
|
|
3749
3749
|
if (!obj[key] || typeof obj[key] !== 'object' || Array.isArray(obj[key])) {
|
|
3750
|
-
warnings.push(`Computed expression
|
|
3750
|
+
warnings.push(`Computed expression inválida: ${newPath} (deve ser Json Logic)`);
|
|
3751
3751
|
continue;
|
|
3752
3752
|
}
|
|
3753
3753
|
if (Object.keys(obj[key]).length === 0) {
|
|
@@ -3953,7 +3953,12 @@ Columns Analysis:
|
|
|
3953
3953
|
isFirstChange: () => false
|
|
3954
3954
|
}
|
|
3955
3955
|
});
|
|
3956
|
-
this.table.
|
|
3956
|
+
if (typeof this.table.emitPortableConfigChange === 'function') {
|
|
3957
|
+
this.table.emitPortableConfigChange(config);
|
|
3958
|
+
}
|
|
3959
|
+
else {
|
|
3960
|
+
this.table.configChange?.emit?.(config);
|
|
3961
|
+
}
|
|
3957
3962
|
}
|
|
3958
3963
|
/**
|
|
3959
3964
|
* If a patch adds a typed format, ensure the column type is set so the
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as
|
|
1
|
+
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as attachAnalyticsTableRowMetadata, a6 as buildTableApplyPlan, a7 as coerceTableComponentEditPlan, a8 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlan, aa as compileTableComponentEditPlans, ab as createTableAuthoringDocument, ac as decodeTablePageInputs, ad as encodeTablePageInputs, ae as formatComputedFieldValue, af as getActionId, ag as getEnum, ah as getTableCapabilities, ai as getTableComponentEditPlanCapabilities, aj as interpolateRelationEndpoint, ak as isAnalyticalDrawerSchema, al as isTableRendererSupportedByRichContentP0, am as mapTableRendererToRichContentP0, an as materializeTablePageRuntimeInputs, ao as normalizeComputedFieldDefinition, ap as normalizeTableAuthoringDocument, aq as parseLegacyOrTableDocument, as as projectTablePageEditorChanges, at as providePraxisAnalyticalDrawerSchemas, au as providePraxisFilterMetadata, av as providePraxisTableMetadata, aw as providePraxisTableToolbarAppearance, ax as readAnalyticsTableRowMetadata, ay as serializeTableAuthoringDocument, aA as toCanonicalTableConfig, aB as validateTableAuthoringDocument, aC as validateTablePageWidget } from './praxisui-table-praxisui-table-DBfX3Cwn.mjs';
|
|
2
2
|
export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.59",
|
|
4
4
|
"description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/platform-browser": "^21.0.0",
|
|
9
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/ai": "^10.0.0-rc.59",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.59",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.59",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.59",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.59",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.59",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.59",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.59",
|
|
17
17
|
"@angular/cdk": "^21.0.0",
|
|
18
18
|
"@angular/forms": "^21.0.0",
|
|
19
19
|
"@angular/material": "^21.0.0",
|
|
20
20
|
"@angular/router": "^21.0.0",
|
|
21
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
21
|
+
"@praxisui/dialog": "^10.0.0-rc.59",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -273,15 +273,17 @@ type ActionBarNode = {
|
|
|
273
273
|
| `meta` | object | No | `{}` | Active | Metadados de versao/hash/contexto da configuracao. |
|
|
274
274
|
| `columns[]` | array | Yes | `[]` | Active | Definicao estrutural principal da tabela. |
|
|
275
275
|
| `behavior` | object | No | component-defaults | Active | Regras de paginação, sort, filter, selection, expansion, loading. |
|
|
276
|
-
| `behavior.loading.type` | `spinner \| skeleton \| progress` | No | `skeleton` | Active | Seleciona um dos três indicadores materializados pelo runtime. O valor legado `custom`, sem renderer local canônico, foi removido durante o beta. |
|
|
277
|
-
| `behavior.loading.position` | `overlay \| inline \| replace` | No | `replace` | Active | Controla se o indicador cobre, acompanha ou substitui a superfície de dados. |
|
|
278
|
-
| `behavior.loading.text` | string | No | `
|
|
279
|
-
| `behavior.loading.delay` | number | No | `0` | Active | Adia
|
|
280
|
-
| `behavior.loading.showForQuickOperations` | boolean | No | `false` | Active | Quando `true
|
|
276
|
+
| `behavior.loading.type` | `spinner \| skeleton \| progress` | No | `skeleton` | Active | Seleciona um dos três indicadores materializados pelo runtime na cápsula compacta (`spinner`, `progress` ou pulso `skeleton`) e, na carga fria em `replace`, as linhas estruturais de skeleton. O valor legado `custom`, sem renderer local canônico, foi removido durante o beta. |
|
|
277
|
+
| `behavior.loading.position` | `overlay \| inline \| replace` | No | `replace` | Active | Controla se o indicador cobre, acompanha ou substitui a superfície de dados. Em `replace`, substitui o corpo apenas na carga fria inicial antes do primeiro baseline; recargas seguintes promovem automaticamente para `overlay` preservando altura e contexto. |
|
|
278
|
+
| `behavior.loading.text` | string | No | `table.loading.message` | Active | Mensagem acessível e visual apresentada na cápsula com `role="status"` restrito ao texto. Quando omitida (ou vinda do seed padrão sem autoria explícita), é localizada via `table.loading.message` / `table.loading.analytics`; texto explícito do host sempre vence. |
|
|
279
|
+
| `behavior.loading.delay` | number | No | `0` | Active | Adia o indicador visual; estado, bloqueio e timeout começam com o request. Com `delay: 0` e `showForQuickOperations: false`, a hairline de `2px` inicia em `0ms` e a cápsula/véu têm graça CSS de `60ms`. |
|
|
280
|
+
| `behavior.loading.showForQuickOperations` | boolean | No | `false` | Active | Quando `true` (ou com `delay > 0`), remove a graça visual CSS de `60ms` e apresenta o indicador imediatamente assim que liberado pelo timer. |
|
|
281
281
|
| `behavior.loading.requestTimeoutMs` | number | No | `30000` | Active | Encerra requests de schema, coleção REST ou `analyticsProjection` que excedem o SLA e apresenta erro recuperável; `0` delega a política ao host. |
|
|
282
|
-
| `behavior.loading.allowCancel` | boolean | No | `true` | Active | Em schema, coleção REST e `analyticsProjection`, exibe cancelamento acessível, aborta o transporte por unsubscribe e preserva dados
|
|
283
|
-
| `behavior.loading.skeleton.rows` | number | No | `3` | Active | Quantidade de linhas visuais, normalizada
|
|
284
|
-
| `behavior.loading.skeleton.animated` | boolean | No | `true` | Active | Controla a animação do skeleton. |
|
|
282
|
+
| `behavior.loading.allowCancel` | boolean | No | `true` | Active | Em schema, coleção REST e `analyticsProjection`, exibe cancelamento acessível após revelação progressiva de `1200ms` (ou imediata por `:focus-within`, alvo `>= 24px`), aborta o transporte por unsubscribe e preserva os dados já renderizados. |
|
|
283
|
+
| `behavior.loading.skeleton.rows` | number | No | `3` (`min(pageSize, 8)` paginado) | Active | Quantidade de linhas visuais da carga fria, normalizada entre `1` e `12`. Quando omitida em tabelas paginadas não virtualizadas, deriva de `min(pageSize, 8)` (fallback `3`). |
|
|
284
|
+
| `behavior.loading.skeleton.animated` | boolean | No | `true` | Active | Controla a animação do carregamento quando `type="skeleton"` (`replace`, `overlay` e `inline`), em conjunto com `appearance.animations.enabled` e `accessibility.reduceMotion`. |
|
|
285
|
+
| `behavior.loading.skeleton.baseColor` | string | No | `undefined` | Declared-only | Declarado em `LoadingConfig` e preservado no round-trip do editor; ossos e cápsula consomem tokens semânticos `--md-sys-color-*` / `--p-table-*`. |
|
|
286
|
+
| `behavior.loading.skeleton.highlightColor` | string | No | `undefined` | Declared-only | Declarado em `LoadingConfig` e preservado no round-trip do editor; não sobrescreve tokens do runtime. |
|
|
285
287
|
| `appearance` | object | No | component-defaults | Active | Densidade, responsividade, tokens e comportamento visual. |
|
|
286
288
|
| `toolbar` | object | No | component-defaults | Active | Ações globais, busca e controles de topo. |
|
|
287
289
|
| `actions` | object | No | component-defaults | Active | Ações por linha/lote e integrações de comando. |
|
|
@@ -516,6 +518,8 @@ degraded filter.
|
|
|
516
518
|
| `SettingsPanelService` | bidirectional | `open(...).applied$/saved$` | fail-open | Canal de edição em runtime (quick connect/editor). |
|
|
517
519
|
| `PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER` | outbound call | Angular DI token (`TableDetailResourceResolver`) | fail-closed | Resolução externa e governada de detail schema por `resource`; o host deve fornecer o token por DI. |
|
|
518
520
|
| `AnalyticsTableStatsApiService.execute` | outbound call | `Observable<AnalyticsTableRow[]>` | fail-closed | A subscription é proprietária do transporte HTTP. `unsubscribe`, supersessão, timeout e destruição abortam o request em andamento; use `firstValueFrom(...)` apenas na borda de um consumidor que deliberadamente precise de Promise. |
|
|
521
|
+
| `AnalyticsTableStatsApiService.executeRaw` / `mapRawResponseToRows` | outbound call + pure mapper | `Observable<AnalyticsTableRawStatsResult>` + `readAnalyticsTableRowMetadata(row)` | fail-closed | Permite compartilhar uma única execução HTTP `/stats/*` entre múltiplos renderers analíticos e preserva metadados não-enumeráveis de bucket (`primaryKey`, `secondaryKey`, `keys`, `from`, `to`, `suppressed`, `state`, `count`) para cross-filter e guarda LGPD. |
|
|
522
|
+
| `AnalyticsTableConfigAdapterService.toTableConfig` | pure adapter | `(projection, options?: AnalyticsTableConfigAdapterOptions)` | fail-closed | `options.surfaceMode?: 'standalone' \| 'embedded'` controla supressão de toolbar e densidade compacta; `options.rowCount?: number` suprime paginação quando os buckets cabem em uma única página e habilita `allowDeselect: true` em seleção single-row quando interativo. |
|
|
519
523
|
|
|
520
524
|
`resourcePath` mantém precedência canônica sobre `analyticsProjection`: quando ambos estão presentes, o runtime cancela o transporte analítico e materializa somente a coleção REST.
|
|
521
525
|
|
|
@@ -1098,6 +1102,7 @@ row selection through table affordances.
|
|
|
1098
1102
|
| `--p-table-state-warning-*` | tokens de estado warning |
|
|
1099
1103
|
| `--p-table-state-danger-*` | tokens de estado danger |
|
|
1100
1104
|
| `--p-table-state-highlight-*` | tokens de estado highlight |
|
|
1105
|
+
| `--p-table-data-surface-min-height` | override opcional do host para a altura mínima reservada de `.ptable-data-surface` (ex.: `0px` para desativar a estabilização de slots em filtros ou páginas parciais; fallback `--p-table-data-surface-min-height-runtime`) |
|
|
1101
1106
|
|
|
1102
1107
|
#### Host classes
|
|
1103
1108
|
| Classe no host | Efeito |
|
|
@@ -1289,6 +1294,9 @@ Em `scroll-auto`, o viewport e uma regiao focalizavel por teclado para que o scr
|
|
|
1289
1294
|
- Se houver comportamento divergente entre schema e runtime, priorize as indicacoes desta pagina em `Known limitations and mismatches` e mantenha `has_known_mismatches=true` no frontmatter enquanto a lacuna existir.
|
|
1290
1295
|
|
|
1291
1296
|
### Source references
|
|
1297
|
+
- `projects/praxis-table/src/lib/analytics/analytics-table.model.ts`
|
|
1298
|
+
- `projects/praxis-table/src/lib/analytics/analytics-table-config-adapter.service.ts`
|
|
1299
|
+
- `projects/praxis-table/src/lib/analytics/analytics-table-stats-api.service.ts`
|
|
1292
1300
|
- `projects/praxis-table/src/lib/praxis-table.ts`
|
|
1293
1301
|
- `projects/praxis-table/src/lib/praxis-table.html`
|
|
1294
1302
|
- `projects/praxis-table/src/lib/praxis-table.scss`
|
|
@@ -1314,6 +1322,7 @@ Em `scroll-auto`, o viewport e uma regiao focalizavel por teclado para que o scr
|
|
|
1314
1322
|
| Path | Type | Required | Default | Status | Notes |
|
|
1315
1323
|
| --- | --- | --- | --- | --- | --- |
|
|
1316
1324
|
| `columns[]` | `TableColumnConfig[]` | Yes | `[]` | Active | Definicao de colunas, renderers e regras de exibicao. |
|
|
1325
|
+
| `columns[].emptyValue` | `string \| undefined` | No | `undefined` | Active | Texto substituto exibido quando o valor resolvido da celula for `null`, `undefined` ou `''`, preservando o valor bruto no dataset para ordenacao client-side. |
|
|
1317
1326
|
| `columns[].quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Binding governado de Quick View (`recordOpen`, `detailPresentation?`, `contentRef?`) na celula. |
|
|
1318
1327
|
| `columns[].renderer.link.quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Override de Quick View no renderer `link` (`hover-only` com `href` valido). |
|
|
1319
1328
|
| `columns[].renderer.badge.quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Override de Quick View no renderer `badge`. |
|
|
@@ -1322,6 +1331,7 @@ Em `scroll-auto`, o viewport e uma regiao focalizavel por teclado para que o scr
|
|
|
1322
1331
|
| `columns[].renderer.compose.items[].quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Binding de Quick View por subitem em celulas `compose`. |
|
|
1323
1332
|
| `actions.row.actions[].quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Binding de Quick View ancorado ao botao da acao de linha. |
|
|
1324
1333
|
| `behavior` | `TableBehaviorConfig` | No | defaults do runtime | Partial | Inclui paginacao, filtro, selecao e expansao por blocos. |
|
|
1334
|
+
| `behavior.selection.allowDeselect` | `boolean` | No | `false` | Active | Permite toggle-off ao clicar ou acionar `Espaco` novamente na linha selecionada quando `behavior.selection.type = "single"` nos modos `row`, `checkbox` e `both` (padrao e virtualizado). |
|
|
1325
1335
|
| `behavior.filtering.advancedFilters.settings.showAddButton` | `boolean` | No | `true` | Active | Controla a exibicao do botao `+` de adicionar campos rapidos (`alwaysVisibleFields`) na barra do `PraxisFilter` embutido. |
|
|
1326
1336
|
| `behavior.filtering.advancedFilters.settings.showFilterSettings` | `boolean` | No | `isCustomizationAvailable()` | Active | Controla a exibicao da engrenagem de preferencias do `PraxisFilter` embutido; quando `enableCustomization` esta desabilitado, permanece oculta. |
|
|
1327
1337
|
| `toolbar.actions[]` | `ToolbarActionConfig[]` | No | `[]` | Partial | Acoes de toolbar com roteamento para `toolbarAction` e `bulkAction`. |
|
|
@@ -1505,7 +1515,7 @@ Use `detail.presentation.configure` to choose bottom: it disables row expansion
|
|
|
1505
1515
|
|
|
1506
1516
|
The Details section edits the authored tree and preserves field expressions, unknown nodes and provider references. Its local preview does not perform remote reads or persist sample values. Invalid advanced JSON blocks Apply/Save. Discard restores detail edits; global defaults retain their existing reset semantics.
|
|
1507
1517
|
|
|
1508
|
-
The bottom body defaults to dynamic height with a small-viewport CSS limit. Fixed mode starts at 192px in the editor and provides vertical scrolling. It is outside the virtual viewport and defaults to after the footer controls, preserving the collection stack. Explicit collapse persists across selection changes. Inline charts require the Charts provider; unresolved references remain explained placeholders.
|
|
1518
|
+
The bottom body defaults to dynamic height with a small-viewport CSS limit. Fixed mode starts at 192px in the editor and provides vertical scrolling. It is outside the virtual viewport and defaults to after the footer controls, preserving the collection stack. Explicit collapse persists across selection changes. Both row expansion and bottom detail surfaces share `#tableDetailBodyTemplate`, render the retry action exclusively when `source.mode` or `fallbackMode` is asynchronous (`resource`, `resourcePath`, `hypermedia`), and evict non-`ready` (`blocked`/`error`) detail states on collapse even when `lazyLoad.cache.enabled` is `true`. Inline charts require the Charts provider; unresolved references remain explained placeholders.
|
|
1509
1519
|
|
|
1510
1520
|
- `behavior.detail.schemaContract.allowedNodes` agora tambem pode incluir `formRef`, `tableRef`, `chartRef`, `templateRef` e `diagramEmbed`.
|
|
1511
1521
|
- Esses nodes continuam host-mediated:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _praxisui_core from '@praxisui/core';
|
|
2
|
-
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisAnalyticsStatsResultEnvelope, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, DomainCatalogResourceFactMetadata, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, ResourceQuickViewBinding, ApiEndpoint, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, DiscoveredResourceOption, TableConfigService, PraxisResourceQuickFilter, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisTranslationParams, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
|
|
2
|
+
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisAnalyticsSuppressionMetadata, PraxisAnalyticsStatsResultEnvelope, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, DomainCatalogResourceFactMetadata, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, ResourceQuickViewBinding, ApiEndpoint, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, DiscoveredResourceOption, TableConfigService, PraxisResourceQuickFilter, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisTranslationParams, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
|
|
3
3
|
export { DynamicDataCollection, DynamicDataRecord, DynamicRecordMeta, ResourceLinkItem, ResourceLinks, createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
|
|
@@ -254,6 +254,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
254
254
|
getToolbarLayoutAlignment(): 'start' | 'center' | 'end' | 'space-between';
|
|
255
255
|
getToolbarLayoutPadding(): string | null;
|
|
256
256
|
shouldShowLayoutSeparator(): boolean;
|
|
257
|
+
hasExplicitToolbarFrameToken(): boolean;
|
|
257
258
|
getToolbarToken(name: TableToolbarTokenName): string | null;
|
|
258
259
|
private resolveToolbarAppearance;
|
|
259
260
|
private resolveToolbarAppearancePreset;
|
|
@@ -427,6 +428,7 @@ declare class DataFormattingService {
|
|
|
427
428
|
private parseDateOnlyString;
|
|
428
429
|
private normalizeNumericDateInput;
|
|
429
430
|
private formatDate;
|
|
431
|
+
private stripNumericFormatFlags;
|
|
430
432
|
private formatNumber;
|
|
431
433
|
private formatCurrency;
|
|
432
434
|
private formatPercentage;
|
|
@@ -1157,6 +1159,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
1157
1159
|
private isEntityLookupFilterField;
|
|
1158
1160
|
private isIncompleteInlineDateRangeValue;
|
|
1159
1161
|
private isEffectivelyEmptyFilterValue;
|
|
1162
|
+
private areControlValuesEquivalent;
|
|
1160
1163
|
private projectQueryPayload;
|
|
1161
1164
|
private syncFormsToDto;
|
|
1162
1165
|
private updateDisplayedTags;
|
|
@@ -1179,6 +1182,18 @@ type AnalyticsTableContractSource = 'remote' | 'fallback';
|
|
|
1179
1182
|
* It is intentionally not materialized as a visible table column.
|
|
1180
1183
|
*/
|
|
1181
1184
|
declare const ANALYTICS_TABLE_ROW_KEY_FIELD = "__praxisAnalyticsKey";
|
|
1185
|
+
interface AnalyticsTableRowMetadata {
|
|
1186
|
+
primaryKey?: string | number | boolean | null;
|
|
1187
|
+
secondaryKey?: string | number | boolean | null;
|
|
1188
|
+
keys?: ReadonlyArray<string | number | boolean | null>;
|
|
1189
|
+
from?: number | string | null;
|
|
1190
|
+
to?: number | string | null;
|
|
1191
|
+
suppressed?: boolean;
|
|
1192
|
+
state?: string | null;
|
|
1193
|
+
count?: number | null;
|
|
1194
|
+
}
|
|
1195
|
+
declare function attachAnalyticsTableRowMetadata<T extends AnalyticsTableRow>(row: T, metadata: AnalyticsTableRowMetadata | null | undefined): T;
|
|
1196
|
+
declare function readAnalyticsTableRowMetadata(row: unknown): AnalyticsTableRowMetadata | null;
|
|
1182
1197
|
type AnalyticsComparisonMetricValueKind = 'current' | 'previous' | 'delta' | 'deltaPercent' | 'baselineMissing';
|
|
1183
1198
|
/** Returns the deterministic local-data field for one comparison metric value. */
|
|
1184
1199
|
declare function analyticsComparisonMetricField(metricField: string, valueKind: AnalyticsComparisonMetricValueKind): string;
|
|
@@ -1208,11 +1223,19 @@ interface AnalyticsTableContractLoadResult<TKey extends string = string> {
|
|
|
1208
1223
|
errors: Partial<Record<TKey, string>>;
|
|
1209
1224
|
}
|
|
1210
1225
|
|
|
1226
|
+
type AnalyticsTableRawStatsResponse = object;
|
|
1227
|
+
interface AnalyticsTableRawStatsResult {
|
|
1228
|
+
operation: PraxisAnalyticsProjection['source']['operation'];
|
|
1229
|
+
data: AnalyticsTableRawStatsResponse | null | undefined;
|
|
1230
|
+
suppressionMetadata?: PraxisAnalyticsSuppressionMetadata | null;
|
|
1231
|
+
}
|
|
1211
1232
|
declare class AnalyticsTableStatsApiService {
|
|
1212
1233
|
private readonly http;
|
|
1213
1234
|
private readonly apiUrl;
|
|
1214
1235
|
private readonly statsBuilder;
|
|
1215
1236
|
constructor(http: HttpClient, apiUrl: ApiUrlConfig);
|
|
1237
|
+
executeRaw(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRawStatsResult>;
|
|
1238
|
+
mapRawResponseToRows(projection: PraxisAnalyticsProjection, raw: AnalyticsTableRawStatsResult | null | undefined): AnalyticsTableRow[];
|
|
1216
1239
|
execute(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRow[]>;
|
|
1217
1240
|
/** Executes a stats projection returning rows alongside LGPD suppression metadata across all 4 operations. */
|
|
1218
1241
|
executeWithMetadata(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<PraxisAnalyticsStatsResultEnvelope<AnalyticsTableRow>>;
|
|
@@ -1450,6 +1473,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1450
1473
|
private static readonly ROW_DISCOVERY_REQUEST_TIMEOUT_MS;
|
|
1451
1474
|
private static readonly ROW_DISCOVERY_CACHE_LIMIT;
|
|
1452
1475
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1476
|
+
private static readonly MAX_STABILIZED_PAGE_ROWS;
|
|
1477
|
+
private static readonly SKELETON_ROW_INDICES;
|
|
1453
1478
|
private _resourceDiscovery?;
|
|
1454
1479
|
private _resourceActionOpenAdapter?;
|
|
1455
1480
|
private _resourceSurfaceOpenAdapter?;
|
|
@@ -1476,6 +1501,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1476
1501
|
static ngAcceptInputType_config: TableConfigInput;
|
|
1477
1502
|
config: TableConfig;
|
|
1478
1503
|
private hostInputConfig?;
|
|
1504
|
+
private baselineHostInputConfig?;
|
|
1505
|
+
private lastSelfEmittedConfigRef?;
|
|
1506
|
+
private lastSelfEmittedConfigJson?;
|
|
1507
|
+
private lastAppliedRuntimeConfig?;
|
|
1479
1508
|
private persistedUserConfig?;
|
|
1480
1509
|
resourcePath: string;
|
|
1481
1510
|
/** Read-only collection operation materialized from backend discovery. */
|
|
@@ -1525,6 +1554,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1525
1554
|
activeQuickFilterId: string | null;
|
|
1526
1555
|
private quickFilterBaseCriteria;
|
|
1527
1556
|
private activeQuickFilterCriteria;
|
|
1557
|
+
private hasCompletedInitialDataLoad;
|
|
1558
|
+
private discoveredQuickFiltersSnapshot;
|
|
1528
1559
|
advancedFilterRuntimeVisibleFields: string[];
|
|
1529
1560
|
private advancedFilterAlwaysVisibleCacheKey;
|
|
1530
1561
|
private advancedFilterAlwaysVisibleCache?;
|
|
@@ -1568,6 +1599,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1568
1599
|
sort: MatSort;
|
|
1569
1600
|
materialTable?: MatTable<any>;
|
|
1570
1601
|
virtualScrollViewport?: CdkVirtualScrollViewport;
|
|
1602
|
+
dataSurface?: ElementRef<HTMLElement>;
|
|
1571
1603
|
scrollViewport?: ElementRef<HTMLElement>;
|
|
1572
1604
|
internalFilter?: PraxisFilter;
|
|
1573
1605
|
toolbar: PraxisTableToolbar;
|
|
@@ -1610,6 +1642,22 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1610
1642
|
private persistenceContextEpoch;
|
|
1611
1643
|
private schemaPrefsContextEpoch;
|
|
1612
1644
|
private persistenceContextDestroyed;
|
|
1645
|
+
private committedHasActiveEmptyStateFilters?;
|
|
1646
|
+
private unfilteredBaselineTotal;
|
|
1647
|
+
private maxObservedPageRowCount;
|
|
1648
|
+
private measuredHeaderHeightPx;
|
|
1649
|
+
private measuredDataRowHeightPx;
|
|
1650
|
+
private measuredScrollbarHeightPx;
|
|
1651
|
+
private fullPageIntrinsicHeightByKey?;
|
|
1652
|
+
private inFlightSurfaceMinHeightPx;
|
|
1653
|
+
private dataSurfaceHeightFrameId;
|
|
1654
|
+
private hostDeclaredLoadingCopy;
|
|
1655
|
+
private hostDeclaredSkeletonRows;
|
|
1656
|
+
private measuredHeaderOffsetPx;
|
|
1657
|
+
private lastAppliedGeometrySignature;
|
|
1658
|
+
private pendingPostViewGeometrySync;
|
|
1659
|
+
private observedDataSurfaceEl;
|
|
1660
|
+
private observedScrollViewportEl;
|
|
1613
1661
|
/** Fence delayed work; requests already sent are not retroactively canceled. */
|
|
1614
1662
|
private persistenceGuard;
|
|
1615
1663
|
private columnRuntimePersistenceInFlight;
|
|
@@ -1768,19 +1816,45 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1768
1816
|
shouldRenderDataSurface(): boolean;
|
|
1769
1817
|
shouldShowEmptyState(): boolean;
|
|
1770
1818
|
shouldShowNoDataState(): boolean;
|
|
1819
|
+
/**
|
|
1820
|
+
* Indica se a superfície de estado vazio filtrado/sem registros deve permanecer montada.
|
|
1821
|
+
*
|
|
1822
|
+
* Após a carga inicial concluída, mantém o cartão de estado vazio sob o overlay durante
|
|
1823
|
+
* recargas subsequentes de 0 registros para evitar colapso vertical do viewport da tabela.
|
|
1824
|
+
*/
|
|
1825
|
+
shouldRenderNoDataSurface(): boolean;
|
|
1771
1826
|
shouldShowLoadingSurface(): boolean;
|
|
1772
1827
|
shouldShowRefreshingState(): boolean;
|
|
1828
|
+
/**
|
|
1829
|
+
* Determina se o indicador de carregamento substitui o corpo da tabela.
|
|
1830
|
+
*
|
|
1831
|
+
* Ativo apenas antes da primeira carga concluída quando não há linhas visíveis;
|
|
1832
|
+
* recargas seguintes usam overlay para preservar a estabilidade geométrica.
|
|
1833
|
+
*/
|
|
1773
1834
|
shouldReplaceDataWithLoading(): boolean;
|
|
1835
|
+
/**
|
|
1836
|
+
* Indica se o feedback de carregamento deve ser renderizado como overlay
|
|
1837
|
+
* sobre a superfície de dados já montada (linhas ou estado vazio pós-carga inicial).
|
|
1838
|
+
*/
|
|
1839
|
+
shouldOverlayLoadingSurface(): boolean;
|
|
1840
|
+
/**
|
|
1841
|
+
* Renderiza linhas estruturais de skeleton apenas na carga fria substitutiva (`replace`),
|
|
1842
|
+
* evitando sobrepor barras falsas sobre registros reais ou empty state durante recargas.
|
|
1843
|
+
*/
|
|
1844
|
+
shouldRenderLoadingSkeletonRows(): boolean;
|
|
1774
1845
|
getLoadingIndicatorType(): 'spinner' | 'skeleton' | 'progress';
|
|
1775
1846
|
getLoadingIndicatorPosition(): 'overlay' | 'inline' | 'replace';
|
|
1776
1847
|
getLoadingSurfaceMessage(): string;
|
|
1777
1848
|
getLoadingSkeletonRows(): number[];
|
|
1778
1849
|
isLoadingSkeletonAnimated(): boolean;
|
|
1850
|
+
isLoadingMotionEnabled(): boolean;
|
|
1851
|
+
shouldRenderLoadingImmediately(): boolean;
|
|
1779
1852
|
getSetupEmptyStateTitle(): string;
|
|
1780
1853
|
getSetupEmptyStateDescription(): string;
|
|
1781
1854
|
getSetupEmptyStatePrimaryAction(): EmptyAction | undefined;
|
|
1782
1855
|
getNoDataStateTitle(): string;
|
|
1783
1856
|
getNoDataStateDescription(): string | undefined;
|
|
1857
|
+
getNoDataStateAnnouncement(): string;
|
|
1784
1858
|
getTableSettingsLabel(): string;
|
|
1785
1859
|
getScrollViewportAriaLabel(): string;
|
|
1786
1860
|
getTableAriaLabel(): string;
|
|
@@ -1938,11 +2012,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1938
2012
|
private storageKey;
|
|
1939
2013
|
private isVolatileConfigPersistence;
|
|
1940
2014
|
private tableConfigKey;
|
|
2015
|
+
private hasRuntimeTableConfigPersistence;
|
|
1941
2016
|
private filterConfigKey;
|
|
1942
2017
|
private ensureConfigDefaults;
|
|
1943
2018
|
private recomposeEffectiveTableConfig;
|
|
1944
2019
|
private hasDeclaredAppearanceDensity;
|
|
1945
2020
|
private hasDeclaredAppearanceSection;
|
|
2021
|
+
private hasDeclaredLoadingCopy;
|
|
2022
|
+
private hasDeclaredLoadingSkeletonRows;
|
|
1946
2023
|
private shouldApplyAppearanceDefaultValue;
|
|
1947
2024
|
private mergePersistedTableConfigWithInput;
|
|
1948
2025
|
private reconcileTableConfigInputChange;
|
|
@@ -2073,6 +2150,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2073
2150
|
private hasActiveOperationalLoad;
|
|
2074
2151
|
private getRenderedRowCount;
|
|
2075
2152
|
private hasActiveDataFilters;
|
|
2153
|
+
private computeLiveHasActiveEmptyStateFilters;
|
|
2076
2154
|
private hasActiveEmptyStateFilters;
|
|
2077
2155
|
getEffectiveLockedFilterFields(): string[];
|
|
2078
2156
|
private hasMeaningfulFilterCriteria;
|
|
@@ -2158,6 +2236,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2158
2236
|
toggleBottomDetail(): void;
|
|
2159
2237
|
private resetDetailRuntimeForConfig;
|
|
2160
2238
|
retryBottomDetail(): void;
|
|
2239
|
+
canRetryBottomDetail(bottom?: {
|
|
2240
|
+
status?: string;
|
|
2241
|
+
} | null): boolean;
|
|
2242
|
+
canRetryExpansionDetail(state?: {
|
|
2243
|
+
status?: string;
|
|
2244
|
+
} | null): boolean;
|
|
2245
|
+
retryRowExpansionDetail(row: any, index: number, event?: Event): void;
|
|
2161
2246
|
private restoreBottomDetailFocus;
|
|
2162
2247
|
getExpansionDetailItems(schema: Record<string, unknown> | null): any[];
|
|
2163
2248
|
private hasExpansionDetailRenderableSchema;
|
|
@@ -2445,6 +2530,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2445
2530
|
private showExportFeedback;
|
|
2446
2531
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
2447
2532
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
2533
|
+
private isClearingAdvancedFilter;
|
|
2448
2534
|
onAdvancedFilterClear(): void;
|
|
2449
2535
|
clearAdvancedFilter(): void;
|
|
2450
2536
|
onQuickFilterChange(event: {
|
|
@@ -2491,6 +2577,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2491
2577
|
private deriveRuntimeVisibleAdvancedFilterFields;
|
|
2492
2578
|
private isEmptyAdvancedFilterCriterionValue;
|
|
2493
2579
|
private mergeAdvancedFilterFieldIds;
|
|
2580
|
+
/**
|
|
2581
|
+
* Identifica os campos cujos critérios ativos coincidem integralmente com um QuickFilter
|
|
2582
|
+
* ou Scope Bar ativo, evitando sua promoção duplicada na linha de filtros inline.
|
|
2583
|
+
*/
|
|
2584
|
+
private getQuickFilterCoveredFields;
|
|
2494
2585
|
private getRuntimePromotedAdvancedFilterFields;
|
|
2495
2586
|
private toPlainRecord;
|
|
2496
2587
|
private saveConfigWithAck;
|
|
@@ -2509,6 +2600,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2509
2600
|
private buildTableEditorRuntimeContext;
|
|
2510
2601
|
private emitWidgetInputPatch;
|
|
2511
2602
|
private cloneInputPatch;
|
|
2603
|
+
/** @internal */
|
|
2604
|
+
emitPortableConfigChange(portableConfig?: TableConfig): void;
|
|
2605
|
+
private isSelfEmittedConfigInput;
|
|
2512
2606
|
private executeTableEditorApplyPlan;
|
|
2513
2607
|
private normalizeResourcePathIdentity;
|
|
2514
2608
|
private areColumnsDerivedFromPreviousResource;
|
|
@@ -3092,11 +3186,24 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
3092
3186
|
private getEffectiveMetadataSnapshot;
|
|
3093
3187
|
getActionId(action: any): string;
|
|
3094
3188
|
private setupResizeObserver;
|
|
3189
|
+
private observeDynamicDataSurfaceElements;
|
|
3095
3190
|
private setupViewportChangeListeners;
|
|
3096
3191
|
private getVirtualizationSources;
|
|
3097
3192
|
isVirtualized(): boolean;
|
|
3098
3193
|
getVirtItemHeight(): number;
|
|
3194
|
+
private isCoarsePointer;
|
|
3099
3195
|
private getDefaultDensityRowHeight;
|
|
3196
|
+
private getDefaultDensityHeaderHeight;
|
|
3197
|
+
private getFullPageIntrinsicHeightMap;
|
|
3198
|
+
private resetDataSurfaceBaselineState;
|
|
3199
|
+
private captureInFlightDataSurfaceHeight;
|
|
3200
|
+
private commitResolvedDataSurfaceBaseline;
|
|
3201
|
+
/** Resolves the minimum row-slot baseline so filtered/partial pages stay vertically stable. */
|
|
3202
|
+
resolveDataSurfaceTargetBaselineRows(): number;
|
|
3203
|
+
private measureIntrinsicTableGeometry;
|
|
3204
|
+
private computeDataSurfaceMinHeightPx;
|
|
3205
|
+
private syncDataSurfaceMinHeightCssVariable;
|
|
3206
|
+
private scheduleDataSurfaceMinHeightSync;
|
|
3100
3207
|
getVirtBufferSize(): number;
|
|
3101
3208
|
getVirtMinHeightStyle(): string;
|
|
3102
3209
|
getVirtMinHeightHostStyle(): string | null;
|
|
@@ -3114,6 +3221,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
3114
3221
|
masterToggle(): void;
|
|
3115
3222
|
isAllSelected(): boolean;
|
|
3116
3223
|
toggleRow(row: any): void;
|
|
3224
|
+
onSingleSelectionClick(event: Event, row: any): void;
|
|
3117
3225
|
onSingleSelectionChanged(row: any): void;
|
|
3118
3226
|
getRowSelectionAriaLabel(row: any, index?: number): string;
|
|
3119
3227
|
getMasterSelectionAriaLabel(): string;
|
|
@@ -5604,6 +5712,8 @@ declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
|
5604
5712
|
interface AnalyticsTableConfigAdapterOptions {
|
|
5605
5713
|
title?: PraxisTextValue;
|
|
5606
5714
|
subtitle?: PraxisTextValue;
|
|
5715
|
+
surfaceMode?: 'standalone' | 'embedded';
|
|
5716
|
+
rowCount?: number;
|
|
5607
5717
|
}
|
|
5608
5718
|
declare class AnalyticsTableConfigAdapterService {
|
|
5609
5719
|
private readonly i18n?;
|
|
@@ -5612,6 +5722,7 @@ declare class AnalyticsTableConfigAdapterService {
|
|
|
5612
5722
|
toTableConfig(projection: PraxisAnalyticsProjection, options?: AnalyticsTableConfigAdapterOptions): TableConfig;
|
|
5613
5723
|
private buildColumns;
|
|
5614
5724
|
private buildComparisonMetricColumns;
|
|
5725
|
+
private resolveMetricColumnPresentation;
|
|
5615
5726
|
private comparisonValueLabel;
|
|
5616
5727
|
private getDisplayMetrics;
|
|
5617
5728
|
private resolveTextValue;
|
|
@@ -6708,5 +6819,5 @@ declare function materializeTablePageRuntimeInputs(value: unknown, pageId: strin
|
|
|
6708
6819
|
};
|
|
6709
6820
|
declare const TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER: GovernedPagePreviewWidgetAdapter;
|
|
6710
6821
|
|
|
6711
|
-
export { ANALYTICS_TABLE_ROW_KEY_FIELD, AnalyticalDrawerRegistryService, AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, PRAXIS_FILTER_AUTHORING_MANIFEST, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisAnalyticalDrawerComponent, PraxisFilter, PraxisFilterOutletComponent, PraxisFilterOutletDirective, PraxisFilterWidgetConfigEditor, PraxisScopeBarComponent, PraxisTable, PraxisTableConfigEditor, PraxisTableInlineAuthoringEditorComponent, PraxisTableToolbar, PraxisTableWidgetConfigEditor, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, TABLE_COMPONENT_EDIT_PLAN_KIND, TABLE_COMPONENT_EDIT_PLAN_VERSION, TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, analyticsComparisonMetricField, applyComputedFieldsToRows, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, decodeTablePageInputs, encodeTablePageInputs, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, materializeTablePageRuntimeInputs, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, projectTablePageEditorChanges, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument, validateTablePageWidget };
|
|
6712
|
-
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, CalculationBridgeStepKind, CalculationMemoryViewMode, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResolvedCalculationBridgeStep, ResolvedCalculationMemorySectionViewModel, ResolvedCalculationStepViewModel, ResolvedCalculationTrailViewModel, ResolvedCalculationWaterfallSegment, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|
|
6822
|
+
export { ANALYTICS_TABLE_ROW_KEY_FIELD, AnalyticalDrawerRegistryService, AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, PRAXIS_FILTER_AUTHORING_MANIFEST, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisAnalyticalDrawerComponent, PraxisFilter, PraxisFilterOutletComponent, PraxisFilterOutletDirective, PraxisFilterWidgetConfigEditor, PraxisScopeBarComponent, PraxisTable, PraxisTableConfigEditor, PraxisTableInlineAuthoringEditorComponent, PraxisTableToolbar, PraxisTableWidgetConfigEditor, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, TABLE_COMPONENT_EDIT_PLAN_KIND, TABLE_COMPONENT_EDIT_PLAN_VERSION, TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, analyticsComparisonMetricField, applyComputedFieldsToRows, attachAnalyticsTableRowMetadata, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, decodeTablePageInputs, encodeTablePageInputs, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, materializeTablePageRuntimeInputs, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, projectTablePageEditorChanges, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, readAnalyticsTableRowMetadata, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument, validateTablePageWidget };
|
|
6823
|
+
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRawStatsResponse, AnalyticsTableRawStatsResult, AnalyticsTableRow, AnalyticsTableRowMetadata, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, CalculationBridgeStepKind, CalculationMemoryViewMode, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResolvedCalculationBridgeStep, ResolvedCalculationMemorySectionViewModel, ResolvedCalculationStepViewModel, ResolvedCalculationTrailViewModel, ResolvedCalculationWaterfallSegment, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|