@praxisui/table 9.0.4-rc.4 → 9.0.4-rc.41
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 +17 -0
- package/ai/component-registry.json +203 -47
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-CMUCxwyL.mjs → praxisui-table-filter-form-dialog-host.component-OZp84Fmo.mjs} +3 -3
- package/fesm2022/{praxisui-table-praxisui-table-CYzV383d.mjs → praxisui-table-praxisui-table-BoqRKR0k.mjs} +1077 -141
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-BkVzVLPD.mjs → praxisui-table-table-agentic-authoring-turn-flow-pUa1_1uG.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-CbOLZHVg.mjs → praxisui-table-table-ai.adapter-D4KOxgcF.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +17 -0
- package/types/praxisui-table.d.ts +117 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-
|
|
3
|
+
import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-BoqRKR0k.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 { I as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, l as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, Z as coerceTableComponentEditPlans, $ as compileTableComponentEditPlans, L as TASK_PRESETS, a4 as getTableComponentEditPlanCapabilities, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, H as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-
|
|
4
|
+
import { I as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, l as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, Z as coerceTableComponentEditPlans, $ as compileTableComponentEditPlans, L as TASK_PRESETS, a4 as getTableComponentEditPlanCapabilities, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, H as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-BoqRKR0k.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticsTableConfigAdapterService, b as AnalyticsTableContractService, c as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, d as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, e as ColumnsConfigEditorComponent, D as DATE_PRESETS, f as DataFormatterComponent, g as DataFormattingService, F as FORMULA_TEMPLATES, h as FilterConfigService, i as FilterSettingsComponent, j as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, k as PRAXIS_FILTER_COMPONENT_METADATA, l as PRAXIS_TABLE_AUTHORING_MANIFEST, m as PRAXIS_TABLE_COMPONENT_METADATA, n as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, o as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, p as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, q as PraxisFilter, r as PraxisFilterWidgetConfigEditor, s as PraxisTable, t as PraxisTableConfigEditor, u as PraxisTableInlineAuthoringEditorComponent, v as PraxisTableToolbar, w as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, x as TABLE_COMPONENT_AI_CAPABILITIES, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, H as TABLE_COMPONENT_EDIT_PLAN_KIND, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, L as TASK_PRESETS, O as TableDefaultsProvider, Q as TableRulesEditorComponent, R as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, U as VisualFormulaBuilderComponent, W as analyticsComparisonMetricField, X as buildTableApplyPlan, Y as coerceTableComponentEditPlan, Z as coerceTableComponentEditPlans, _ as compileTableComponentEditPlan, $ as compileTableComponentEditPlans, a0 as createTableAuthoringDocument, a1 as getActionId, a2 as getEnum, a3 as getTableCapabilities, a4 as getTableComponentEditPlanCapabilities, a5 as isTableRendererSupportedByRichContentP0, a6 as mapTableRendererToRichContentP0, a7 as normalizeTableAuthoringDocument, a8 as parseLegacyOrTableDocument, a9 as providePraxisFilterMetadata, aa as providePraxisTableMetadata, ab as providePraxisTableToolbarAppearance, ac as serializeTableAuthoringDocument, ae as toCanonicalTableConfig, af as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-
|
|
1
|
+
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticsTableConfigAdapterService, b as AnalyticsTableContractService, c as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, d as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, e as ColumnsConfigEditorComponent, D as DATE_PRESETS, f as DataFormatterComponent, g as DataFormattingService, F as FORMULA_TEMPLATES, h as FilterConfigService, i as FilterSettingsComponent, j as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, k as PRAXIS_FILTER_COMPONENT_METADATA, l as PRAXIS_TABLE_AUTHORING_MANIFEST, m as PRAXIS_TABLE_COMPONENT_METADATA, n as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, o as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, p as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, q as PraxisFilter, r as PraxisFilterWidgetConfigEditor, s as PraxisTable, t as PraxisTableConfigEditor, u as PraxisTableInlineAuthoringEditorComponent, v as PraxisTableToolbar, w as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, x as TABLE_COMPONENT_AI_CAPABILITIES, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, H as TABLE_COMPONENT_EDIT_PLAN_KIND, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, L as TASK_PRESETS, O as TableDefaultsProvider, Q as TableRulesEditorComponent, R as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, U as VisualFormulaBuilderComponent, W as analyticsComparisonMetricField, X as buildTableApplyPlan, Y as coerceTableComponentEditPlan, Z as coerceTableComponentEditPlans, _ as compileTableComponentEditPlan, $ as compileTableComponentEditPlans, a0 as createTableAuthoringDocument, a1 as getActionId, a2 as getEnum, a3 as getTableCapabilities, a4 as getTableComponentEditPlanCapabilities, a5 as isTableRendererSupportedByRichContentP0, a6 as mapTableRendererToRichContentP0, a7 as normalizeTableAuthoringDocument, a8 as parseLegacyOrTableDocument, a9 as providePraxisFilterMetadata, aa as providePraxisTableMetadata, ab as providePraxisTableToolbarAppearance, ac as serializeTableAuthoringDocument, ae as toCanonicalTableConfig, af as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-BoqRKR0k.mjs';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "9.0.4-rc.
|
|
3
|
+
"version": "9.0.4-rc.41",
|
|
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": "^9.0.4-rc.
|
|
10
|
-
"@praxisui/core": "^9.0.4-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.4-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^9.0.4-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^9.0.4-rc.
|
|
14
|
-
"@praxisui/rich-content": "^9.0.4-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^9.0.4-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^9.0.4-rc.
|
|
9
|
+
"@praxisui/ai": "^9.0.4-rc.41",
|
|
10
|
+
"@praxisui/core": "^9.0.4-rc.41",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.4-rc.41",
|
|
12
|
+
"@praxisui/dynamic-form": "^9.0.4-rc.41",
|
|
13
|
+
"@praxisui/metadata-editor": "^9.0.4-rc.41",
|
|
14
|
+
"@praxisui/rich-content": "^9.0.4-rc.41",
|
|
15
|
+
"@praxisui/settings-panel": "^9.0.4-rc.41",
|
|
16
|
+
"@praxisui/table-rule-builder": "^9.0.4-rc.41",
|
|
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": "^9.0.4-rc.
|
|
21
|
+
"@praxisui/dialog": "^9.0.4-rc.41",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -109,6 +109,14 @@ Este documento e a referencia canonica da API JSON de praxis-table.
|
|
|
109
109
|
> [!WARNING]
|
|
110
110
|
> **Segurança Corporativa em Cenários Corporativos**: A visibilidade de colunas via dropdown da toolbar é um recurso estritamente visual (layout de apresentação do lado do cliente). A ocultação de colunas **não** protege o dado sensível da transmissão de rede nem de inspeção técnica. Se determinados campos (ex: salários, senhas ou tokens) forem confidenciais para o nível de permissão do usuário atual, a restrição de dados deve ser realizada obrigatoriamente no lado do servidor (através da filtragem de propriedades nas APIs de CRUD e consulta), e nunca por meio de ocultação puramente visual na tabela.
|
|
111
111
|
|
|
112
|
+
## Quick filters and density
|
|
113
|
+
|
|
114
|
+
- `config.toolbar.filters.quickFilters[]` materializa filtros rápidos alternáveis na toolbar. Cada item declara `id`, `label`, `filter` e `icon` opcional.
|
|
115
|
+
- O filtro rápido é combinado com os critérios já ativos. Ao desativá-lo, a tabela restaura os critérios anteriores sem perder o contexto do operador.
|
|
116
|
+
- Aplicar ou limpar o formulário de filtros avançados encerra o estado visual do filtro rápido para evitar dois controles aparentarem governar critérios divergentes.
|
|
117
|
+
- `config.toolbar.densityToggle.enabled` materializa o seletor de densidade. `values` pode restringir as opções entre `compact`, `comfortable` e `spacious`.
|
|
118
|
+
- A alteração de densidade atualiza `config.appearance.density` e emite `configChange`, permitindo ao host decidir se a preferência será apenas transitória ou persistida.
|
|
119
|
+
|
|
112
120
|
## Rich content convergence
|
|
113
121
|
|
|
114
122
|
- `mapTableRendererToRichContentP0(...)` e a ponte publica e restrita entre a taxonomia atual de cell renderers do `praxis-table` e o vocabulario compartilhado `1.0` de rich content em `@praxisui/core`.
|
|
@@ -1028,6 +1036,13 @@ A superficie usa `horizontalScroll` com classes:
|
|
|
1028
1036
|
- `scroll-wrap`
|
|
1029
1037
|
- `scroll-none`
|
|
1030
1038
|
|
|
1039
|
+
Em `scroll-auto`, o viewport e uma regiao focalizavel por teclado para que o scroll horizontal continue acessivel sem mouse, inclusive no Safari. O nome acessivel usa `accessibility.ariaLabels.scrollViewport`, depois `toolbar.title` e, por fim, o fallback localizado do runtime. `scroll-wrap` e `scroll-none` nao introduzem uma parada de tabulacao adicional.
|
|
1040
|
+
|
|
1041
|
+
#### Mobile card mode
|
|
1042
|
+
`appearance.responsive.mobile.cardMode: true` materializa cada linha **não virtualizada** como um card rotulado quando o viewport entra em `appearance.responsive.breakpoints.mobile`. A tabela continua sendo a fonte semântica e todos os campos permanecem no DOM; cada valor recebe o respectivo cabeçalho como rótulo visual.
|
|
1043
|
+
|
|
1044
|
+
`appearance.responsive.mobile.priorityColumns` é uma lista ordenada de `field`s que aparecem primeiro no card. Campos não prioritários continuam disponíveis abaixo deles; o runtime não oculta dados silenciosamente. Tabelas virtualizadas mantêm o modo de rolagem horizontal, pois um card pode ter altura variável.
|
|
1045
|
+
|
|
1031
1046
|
#### Row/cell conditional styling
|
|
1032
1047
|
- `rowConditionalStyles` aplica classes/estilo por linha.
|
|
1033
1048
|
- `columns[].conditionalStyles` aplica por celula.
|
|
@@ -1228,6 +1243,8 @@ A superficie usa `horizontalScroll` com classes:
|
|
|
1228
1243
|
| `toolbar.appearance.tokens.identityIconSize` | `string` | No | `28px` | Active | Tamanho do container do icone da identidade. |
|
|
1229
1244
|
| `toolbar.appearance.tokens.identityIconRadius` | `string` | No | `8px` | Active | Raio do container do icone da identidade. |
|
|
1230
1245
|
| `toolbar.columnsVisibility` | `object` | No | habilitado se a toolbar estiver ativa | Active | Controle rápido de visibilidade de colunas no toolbar (dropdown). |
|
|
1246
|
+
| `toolbar.filters.quickFilters[]` | `ToolbarFilterConfig[]` | No | `[]` | Active | Filtros rápidos governados, combinados com os critérios ativos e alternáveis pela toolbar. |
|
|
1247
|
+
| `toolbar.densityToggle` | `object` | No | desabilitado | Active | Seletor governado de densidade com opções `compact`, `comfortable` e `spacious`. |
|
|
1231
1248
|
| `messages` | `TableMessagesConfig` | No | defaults internos | Partial | Overrides de i18n e mensagens operacionais. |
|
|
1232
1249
|
| `data` | `TableDataConfig` | No | modo local/remoto autodetectado | Partial | Integra origem local ou remota conforme `resourcePath`/inputs. |
|
|
1233
1250
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _praxisui_core from '@praxisui/core';
|
|
2
|
-
import { TableToolbarAppearanceConfig, TableConfig, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant,
|
|
2
|
+
import { TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceSurfaceCatalogItem, ResourceCapabilityOperation, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, TableConfigService, SettingsValueProvider as SettingsValueProvider$1, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog } from '@praxisui/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, AfterViewInit, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterContentInit, Injector, Type } from '@angular/core';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -8,6 +8,7 @@ import { MatTable, MatTableDataSource } from '@angular/material/table';
|
|
|
8
8
|
import * as _angular_material_paginator from '@angular/material/paginator';
|
|
9
9
|
import { MatPaginatorSelectConfig, MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
10
10
|
import { MatSort, Sort } from '@angular/material/sort';
|
|
11
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
11
12
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
12
13
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
13
14
|
import { CdkDragDrop, CdkDragEnd, CdkDrag, CdkDropList } from '@angular/cdk/drag-drop';
|
|
@@ -46,19 +47,26 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
46
47
|
private i18n?;
|
|
47
48
|
private defaultAppearance?;
|
|
48
49
|
private tokenPresets?;
|
|
50
|
+
activeOverflowMenuTrigger?: MatMenuTrigger;
|
|
51
|
+
private activeOverflowMenuTriggerElement?;
|
|
49
52
|
config?: TableConfig;
|
|
50
53
|
appearance?: TableToolbarAppearanceConfig | null;
|
|
51
54
|
backgroundColor: string | null;
|
|
52
55
|
placement: 'header' | 'footer';
|
|
56
|
+
/** Stable runtime scope used only to recover focus after a host re-renders. */
|
|
57
|
+
focusScope: string;
|
|
53
58
|
showMain: boolean;
|
|
54
59
|
showActionsGroup: boolean;
|
|
55
60
|
showEndActions: boolean;
|
|
56
61
|
showMobileActions: boolean;
|
|
57
62
|
exportBusy: boolean;
|
|
63
|
+
exportStatusMessage: string;
|
|
58
64
|
evaluationContext: Record<string, any> | null;
|
|
65
|
+
activeQuickFilterId: string | null;
|
|
66
|
+
activeDensity: TableToolbarAppearanceDensity | null;
|
|
59
67
|
/** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
|
|
60
68
|
columnVisibilityController?: (field: string, visible: boolean) => void;
|
|
61
|
-
toolbarAction: EventEmitter<Pick<ToolbarActionEvent<Record<string, unknown>>, "action" | "actionConfig">>;
|
|
69
|
+
toolbarAction: EventEmitter<Pick<ToolbarActionEvent<Record<string, unknown>>, "action" | "actionConfig" | "focusOrigin">>;
|
|
62
70
|
exportAction: EventEmitter<{
|
|
63
71
|
format: string;
|
|
64
72
|
scope?: PraxisExportScope;
|
|
@@ -68,6 +76,12 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
68
76
|
field: string;
|
|
69
77
|
visible: boolean;
|
|
70
78
|
}>;
|
|
79
|
+
quickFilterChange: EventEmitter<{
|
|
80
|
+
id: string;
|
|
81
|
+
filter: Record<string, unknown>;
|
|
82
|
+
active: boolean;
|
|
83
|
+
}>;
|
|
84
|
+
densityChange: EventEmitter<TableToolbarAppearanceDensity>;
|
|
71
85
|
readonly getActionId: typeof getActionId;
|
|
72
86
|
private readonly jsonLogic;
|
|
73
87
|
private readonly validToolbarActionTypes;
|
|
@@ -100,12 +114,37 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
100
114
|
getExportFormatTooltip(format: unknown): string;
|
|
101
115
|
getExportFormatAriaLabel(format: unknown): string;
|
|
102
116
|
getMoreActionsLabel(): string;
|
|
117
|
+
getFocusOriginKey(part: string): string;
|
|
103
118
|
emitExportAction(event: Event, format: string): void;
|
|
104
119
|
emitVisibleExcelExportAction(event: Event): void;
|
|
105
120
|
isExcelExportFormat(format: unknown): boolean;
|
|
106
121
|
isVisibleExcelExportEnabled(format: unknown): boolean;
|
|
107
122
|
private normalizeExportFormat;
|
|
108
123
|
getColumnsVisibilityLabel(): string;
|
|
124
|
+
getQuickFilters(): Array<{
|
|
125
|
+
id: string;
|
|
126
|
+
label: string;
|
|
127
|
+
filter: Record<string, unknown>;
|
|
128
|
+
icon?: string;
|
|
129
|
+
}>;
|
|
130
|
+
shouldShowQuickFilters(): boolean;
|
|
131
|
+
getQuickFiltersLabel(): string;
|
|
132
|
+
getQuickFilterLabel(filter: {
|
|
133
|
+
label: unknown;
|
|
134
|
+
id: string;
|
|
135
|
+
}): string;
|
|
136
|
+
isQuickFilterActive(id: string): boolean;
|
|
137
|
+
emitQuickFilterChange(event: Event, filter: {
|
|
138
|
+
id: string;
|
|
139
|
+
filter: Record<string, unknown>;
|
|
140
|
+
}): void;
|
|
141
|
+
isDensityToggleEnabled(): boolean;
|
|
142
|
+
getDensityToggleLabel(): string;
|
|
143
|
+
getDensityOptions(): TableToolbarAppearanceDensity[];
|
|
144
|
+
isDensityActive(density: TableToolbarAppearanceDensity): boolean;
|
|
145
|
+
getDensityLabel(density: TableToolbarAppearanceDensity): string;
|
|
146
|
+
getDensityIcon(density: TableToolbarAppearanceDensity): string;
|
|
147
|
+
emitDensityChange(event: Event, density: TableToolbarAppearanceDensity): void;
|
|
109
148
|
getColumnsVisibilityIcon(): string;
|
|
110
149
|
isColumnsVisibilityEnabled(): boolean;
|
|
111
150
|
getVisibleColumnsCount(): number;
|
|
@@ -130,7 +169,9 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
130
169
|
private cloneForEmit;
|
|
131
170
|
private getLogger;
|
|
132
171
|
private warnLog;
|
|
133
|
-
emitToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
|
|
172
|
+
emitToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1, focusOrigin?: HTMLElement): void;
|
|
173
|
+
setActiveOverflowMenuTrigger(trigger: MatMenuTrigger, origin?: unknown): void;
|
|
174
|
+
emitOverflowToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
|
|
134
175
|
getStartActions(): any[];
|
|
135
176
|
getNonStartActions(): any[];
|
|
136
177
|
getOverflowActions(): any[];
|
|
@@ -182,7 +223,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
182
223
|
private sortActions;
|
|
183
224
|
getExportIcon(format: string): string;
|
|
184
225
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableToolbar, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
185
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; "columnVisibilityController": { "alias": "columnVisibilityController"; "required": false; }; }, { "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; "columnVisibilityToggle": "columnVisibilityToggle"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
226
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "focusScope": { "alias": "focusScope"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "exportStatusMessage": { "alias": "exportStatusMessage"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; "activeQuickFilterId": { "alias": "activeQuickFilterId"; "required": false; }; "activeDensity": { "alias": "activeDensity"; "required": false; }; "columnVisibilityController": { "alias": "columnVisibilityController"; "required": false; }; }, { "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; "columnVisibilityToggle": "columnVisibilityToggle"; "quickFilterChange": "quickFilterChange"; "densityChange": "densityChange"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
186
227
|
}
|
|
187
228
|
|
|
188
229
|
type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
|
|
@@ -344,6 +385,12 @@ type FilterConfig = {
|
|
|
344
385
|
mode?: 'filter';
|
|
345
386
|
changeDebounceMs?: number;
|
|
346
387
|
allowSaveTags?: boolean;
|
|
388
|
+
/** Governed shortcuts shipped with the table config; user shortcuts remain persisted separately. */
|
|
389
|
+
tags?: Array<{
|
|
390
|
+
id: string;
|
|
391
|
+
label: string;
|
|
392
|
+
patch: Record<string, any>;
|
|
393
|
+
}>;
|
|
347
394
|
placeBooleansInActions?: boolean;
|
|
348
395
|
showToggleLabels?: boolean;
|
|
349
396
|
alwaysMinWidth?: number;
|
|
@@ -480,6 +527,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
480
527
|
private settingsPanel;
|
|
481
528
|
private snackBar;
|
|
482
529
|
private dialog;
|
|
530
|
+
private praxisDialog;
|
|
483
531
|
private cdr;
|
|
484
532
|
private ngZone;
|
|
485
533
|
private dynamicForm;
|
|
@@ -663,6 +711,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
663
711
|
readonly addManagerDescriptionId: string;
|
|
664
712
|
readonly addOverlayPositions: ConnectedPosition[];
|
|
665
713
|
private applySchemaQueued;
|
|
714
|
+
private shortcutPromptOpen;
|
|
666
715
|
private fallbackLogger?;
|
|
667
716
|
private fallbackLoggerEnvironment;
|
|
668
717
|
private isViewInitialized;
|
|
@@ -696,7 +745,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
696
745
|
private filterSchemaIgnoreKey;
|
|
697
746
|
private filterSchemaSnoozeKey;
|
|
698
747
|
private filterSchemaNotifiedKey;
|
|
699
|
-
constructor(crud: GenericCrudService<any>, configStorage: AsyncConfigStorage, destroyRef: DestroyRef, filterConfig: FilterConfigService, settingsPanel: SettingsPanelService, snackBar: MatSnackBar, dialog: MatDialog, cdr: ChangeDetectorRef, ngZone: NgZone, dynamicForm: DynamicFormService, schemaNormalizer: SchemaNormalizerService, componentKeys: ComponentKeyService, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined);
|
|
748
|
+
constructor(crud: GenericCrudService<any>, configStorage: AsyncConfigStorage, destroyRef: DestroyRef, filterConfig: FilterConfigService, settingsPanel: SettingsPanelService, snackBar: MatSnackBar, dialog: MatDialog, praxisDialog: PraxisDialog, cdr: ChangeDetectorRef, ngZone: NgZone, dynamicForm: DynamicFormService, schemaNormalizer: SchemaNormalizerService, componentKeys: ComponentKeyService, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined);
|
|
700
749
|
private readonly global;
|
|
701
750
|
private resolveRuntimeEnvironment;
|
|
702
751
|
private getLogger;
|
|
@@ -768,6 +817,13 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
768
817
|
private loadSchemaViaClient;
|
|
769
818
|
private loadSchemaViaCrudFallback;
|
|
770
819
|
loadSchema(): void;
|
|
820
|
+
/**
|
|
821
|
+
* A Dynamic Page may finish binding resource identity while an earlier schema
|
|
822
|
+
* request is still in flight. Discarding that response must also release the
|
|
823
|
+
* loading state and start a request for the effective context; otherwise the
|
|
824
|
+
* advanced-filter affordance remains permanently busy.
|
|
825
|
+
*/
|
|
826
|
+
private restartSchemaLoadForCurrentContext;
|
|
771
827
|
retrySchemaLoad(): void;
|
|
772
828
|
private applySchemaMetas;
|
|
773
829
|
private applySchemaMetasNow;
|
|
@@ -864,6 +920,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
864
920
|
saveCurrentAsTag(): void;
|
|
865
921
|
/** Persistência centralizada de atalho a partir de um DTO explícito */
|
|
866
922
|
private saveAsShortcutFromDto;
|
|
923
|
+
private requestShortcutLabel;
|
|
867
924
|
getAdvancedAriaLabel(): string;
|
|
868
925
|
getAdvancedTooltip(): string;
|
|
869
926
|
getSettingsAriaLabel(): string;
|
|
@@ -921,7 +978,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
921
978
|
onGlobalKeydown(event: KeyboardEvent): void;
|
|
922
979
|
private isEditableElement;
|
|
923
980
|
private focusQuick;
|
|
924
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
981
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
925
982
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilter, "praxis-filter", never, { "resourcePath": { "alias": "resourcePath"; "required": true; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "value": { "alias": "value"; "required": false; }; "alwaysVisibleFields": { "alias": "alwaysVisibleFields"; "required": false; }; "alwaysVisibleFieldMetadataOverrides": { "alias": "alwaysVisibleFieldMetadataOverrides"; "required": false; }; "selectedFieldIds": { "alias": "selectedFieldIds"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "allowSaveTags": { "alias": "allowSaveTags"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; "disablePersistence": { "alias": "disablePersistence"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "changeDebounceMs": { "alias": "changeDebounceMs"; "required": false; }; "showFilterSettings": { "alias": "showFilterSettings"; "required": false; }; "showAdvancedButton": { "alias": "showAdvancedButton"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "confirmTagDelete": { "alias": "confirmTagDelete"; "required": false; }; "placeBooleansInActions": { "alias": "placeBooleansInActions"; "required": false; }; "showToggleLabels": { "alias": "showToggleLabels"; "required": false; }; "useInlineSelectVariant": { "alias": "useInlineSelectVariant"; "required": false; }; "useInlineSearchableSelectVariant": { "alias": "useInlineSearchableSelectVariant"; "required": false; }; "useInlineMultiSelectVariant": { "alias": "useInlineMultiSelectVariant"; "required": false; }; "useInlineInputVariant": { "alias": "useInlineInputVariant"; "required": false; }; "useInlineToggleVariant": { "alias": "useInlineToggleVariant"; "required": false; }; "useInlineRangeVariant": { "alias": "useInlineRangeVariant"; "required": false; }; "useInlineDateVariant": { "alias": "useInlineDateVariant"; "required": false; }; "useInlineDateRangeVariant": { "alias": "useInlineDateRangeVariant"; "required": false; }; "useInlineTimeVariant": { "alias": "useInlineTimeVariant"; "required": false; }; "useInlineTimeRangeVariant": { "alias": "useInlineTimeRangeVariant"; "required": false; }; "useInlineTreeSelectVariant": { "alias": "useInlineTreeSelectVariant"; "required": false; }; "alwaysMinWidth": { "alias": "alwaysMinWidth"; "required": false; }; "alwaysColsMd": { "alias": "alwaysColsMd"; "required": false; }; "alwaysColsLg": { "alias": "alwaysColsLg"; "required": false; }; "tagColor": { "alias": "tagColor"; "required": false; }; "tagVariant": { "alias": "tagVariant"; "required": false; }; "tagButtonColor": { "alias": "tagButtonColor"; "required": false; }; "actionsButtonColor": { "alias": "actionsButtonColor"; "required": false; }; "actionsVariant": { "alias": "actionsVariant"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; "overlayBackdrop": { "alias": "overlayBackdrop"; "required": false; }; "advancedOpenMode": { "alias": "advancedOpenMode"; "required": false; }; "advancedClearButtonsEnabled": { "alias": "advancedClearButtonsEnabled"; "required": false; }; }, { "submit": "submit"; "change": "change"; "clear": "clear"; "modeChange": "modeChange"; "requestSearch": "requestSearch"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
|
|
926
983
|
}
|
|
927
984
|
|
|
@@ -1086,6 +1143,8 @@ type RowExpansionChangeEvent = (RowExpansionChangeBase & {
|
|
|
1086
1143
|
type RowActionRuntimeOptions = {
|
|
1087
1144
|
payload?: any;
|
|
1088
1145
|
actionConfig?: any;
|
|
1146
|
+
/** Runtime-only focus origin. It must never be persisted or sent to an API. */
|
|
1147
|
+
focusOrigin?: HTMLElement;
|
|
1089
1148
|
};
|
|
1090
1149
|
type RowActionTriggerEvent = {
|
|
1091
1150
|
target?: EventTarget | null;
|
|
@@ -1141,6 +1200,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1141
1200
|
private route?;
|
|
1142
1201
|
private logger?;
|
|
1143
1202
|
private analyticsStatsApi?;
|
|
1203
|
+
activeRowOverflowMenuTrigger?: MatMenuTrigger;
|
|
1204
|
+
private activeRowOverflowMenuTriggerElement?;
|
|
1205
|
+
private openingRowActions;
|
|
1144
1206
|
private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
|
|
1145
1207
|
private static readonly AI_SELECTION_ROW_LIMIT;
|
|
1146
1208
|
private static readonly AI_SELECTION_ID_LIMIT;
|
|
@@ -1150,6 +1212,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1150
1212
|
private static readonly ROW_DISCOVERY_CACHE_LIMIT;
|
|
1151
1213
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1152
1214
|
private _resourceDiscovery?;
|
|
1215
|
+
private _resourceActionOpenAdapter?;
|
|
1153
1216
|
private _resourceSurfaceOpenAdapter?;
|
|
1154
1217
|
private _crudOperationResolver?;
|
|
1155
1218
|
private readonly runtimeObservationRegistry;
|
|
@@ -1185,6 +1248,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1185
1248
|
aiAssistantVoiceInputMode: PraxisAssistantVoiceInputMode;
|
|
1186
1249
|
aiAssistantVoiceLanguage: string;
|
|
1187
1250
|
advancedFilterValue: Record<string, any>;
|
|
1251
|
+
activeQuickFilterId: string | null;
|
|
1252
|
+
private quickFilterBaseCriteria;
|
|
1253
|
+
private activeQuickFilterCriteria;
|
|
1188
1254
|
advancedFilterRuntimeVisibleFields: string[];
|
|
1189
1255
|
private advancedFilterAlwaysVisibleCacheKey;
|
|
1190
1256
|
private advancedFilterAlwaysVisibleCache?;
|
|
@@ -1310,6 +1376,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1310
1376
|
shouldShowToolbarBottomPlacement(): boolean;
|
|
1311
1377
|
shouldRenderFooterToolbar(): boolean;
|
|
1312
1378
|
hasTopToolbarStack(): boolean;
|
|
1379
|
+
hasBottomTableStack(): boolean;
|
|
1313
1380
|
shouldShowFooterToolbarMain(): boolean;
|
|
1314
1381
|
shouldShowFooterToolbarEndActions(): boolean;
|
|
1315
1382
|
getToolbarActionsPosition(): 'top' | 'bottom' | 'both';
|
|
@@ -1323,6 +1390,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1323
1390
|
shouldShowToolbarActionsTop(): boolean;
|
|
1324
1391
|
shouldShowToolbarActionsBottom(): boolean;
|
|
1325
1392
|
getToolbarActionsBackgroundColor(): string | null;
|
|
1393
|
+
private hasToolbarUtilityActions;
|
|
1326
1394
|
getToolbarLayoutHeightPx(): number | null;
|
|
1327
1395
|
getToolbarLayoutHeightCssVar(): string | null;
|
|
1328
1396
|
getToolbarLayoutHeightHostStyle(): string | null;
|
|
@@ -1345,6 +1413,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1345
1413
|
private shouldApplyResponsiveHorizontalScrollGlobally;
|
|
1346
1414
|
private isWithinResponsiveMobileBreakpoint;
|
|
1347
1415
|
private refreshResponsiveHorizontalScroll;
|
|
1416
|
+
/**
|
|
1417
|
+
* Materializes the existing responsive contract as a labelled record card on
|
|
1418
|
+
* narrow screens. Virtual rows intentionally keep the scroll-table path:
|
|
1419
|
+
* their fixed item height cannot safely represent a variable-height card.
|
|
1420
|
+
*/
|
|
1421
|
+
isMobileCardModeActive(): boolean;
|
|
1422
|
+
getMobileCardColumnOrder(column: ColumnDefinition): number;
|
|
1423
|
+
getMobileCardActionsOrder(): number;
|
|
1348
1424
|
private scheduleResponsiveHorizontalScrollRefresh;
|
|
1349
1425
|
private cancelResponsiveHorizontalScrollRefresh;
|
|
1350
1426
|
hasBottomPaginator(): boolean;
|
|
@@ -1361,10 +1437,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1361
1437
|
shouldShowEmptyState(): boolean;
|
|
1362
1438
|
shouldShowNoDataState(): boolean;
|
|
1363
1439
|
shouldShowLoadingSurface(): boolean;
|
|
1440
|
+
shouldShowRefreshingState(): boolean;
|
|
1364
1441
|
getLoadingSurfaceMessage(): string;
|
|
1365
1442
|
getNoDataStateTitle(): string;
|
|
1366
1443
|
getNoDataStateDescription(): string | undefined;
|
|
1367
1444
|
getTableSettingsLabel(): string;
|
|
1445
|
+
getScrollViewportAriaLabel(): string;
|
|
1368
1446
|
getTableErrorTitle(): string;
|
|
1369
1447
|
getTableErrorMessage(): string;
|
|
1370
1448
|
getTableErrorRetryLabel(): string;
|
|
@@ -1388,6 +1466,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1388
1466
|
shouldRenderAdvancedFilter(): boolean;
|
|
1389
1467
|
getAdvancedFilterResourcePath(): string;
|
|
1390
1468
|
getAdvancedFilterPersistenceKey(): string;
|
|
1469
|
+
getAdvancedFilterFormId(): string;
|
|
1470
|
+
getAdvancedFilterOpenMode(): 'modal' | 'drawer';
|
|
1391
1471
|
getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
|
|
1392
1472
|
getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
|
|
1393
1473
|
getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
|
|
@@ -1408,7 +1488,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1408
1488
|
private hostDeclaredAppearanceDensity;
|
|
1409
1489
|
private hostDeclaredAppearanceSpacing;
|
|
1410
1490
|
private hostDeclaredAppearanceTypography;
|
|
1411
|
-
|
|
1491
|
+
resolveAppearanceDensity(): 'compact' | 'comfortable' | 'spacious';
|
|
1412
1492
|
get hostDensityCompactClass(): boolean;
|
|
1413
1493
|
get hostDensityComfortableClass(): boolean;
|
|
1414
1494
|
get hostDensitySpaciousClass(): boolean;
|
|
@@ -1518,6 +1598,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1518
1598
|
private updateCollectionLinks;
|
|
1519
1599
|
private resolveCollectionCapabilitiesHref;
|
|
1520
1600
|
private materializeCollectionCreateToolbarAction;
|
|
1601
|
+
private materializeCollectionWorkflowToolbarActions;
|
|
1521
1602
|
private ensureToolbarConfigForRuntime;
|
|
1522
1603
|
private buildCollectionCreateToolbarAction;
|
|
1523
1604
|
private resolveCollectionCreateRuntime;
|
|
@@ -1536,6 +1617,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1536
1617
|
constructor(cdr: ChangeDetectorRef, settingsPanel: SettingsPanelService, crudService: GenericCrudService<any, any>, tableDefaultsProvider: TableDefaultsProvider, filterConfig: FilterConfigService, formattingService: DataFormattingService, pxDialog: PraxisDialog, snackBar: MatSnackBar, asyncConfigStorage: AsyncConfigStorage, connectionStorage: ConnectionStorage, hostRef: ElementRef<HTMLElement>, global: GlobalConfigService, injector: Injector, componentKeys: ComponentKeyService, loadingOrchestrator: LoadingOrchestrator, globalActions: GlobalActionService, enterpriseRuntimeContext?: EnterpriseRuntimeContextService | undefined, loadingRenderer?: PraxisLoadingRenderer | undefined, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined, analyticsStatsApi?: AnalyticsTableStatsApiService | undefined);
|
|
1537
1618
|
private get resourceDiscovery();
|
|
1538
1619
|
private get resourceSurfaceOpenAdapter();
|
|
1620
|
+
private get resourceActionOpenAdapter();
|
|
1539
1621
|
private get crudOperationResolver();
|
|
1540
1622
|
private ensureAiAdapterLoaded;
|
|
1541
1623
|
openAiAssistant(): void;
|
|
@@ -1606,7 +1688,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1606
1688
|
private resolveAiAssistantIcon;
|
|
1607
1689
|
private emitLoadingState;
|
|
1608
1690
|
private hasResolvedRemoteDataLoad;
|
|
1609
|
-
|
|
1691
|
+
isTableDataLoading(): boolean;
|
|
1610
1692
|
private getRenderedRowCount;
|
|
1611
1693
|
private hasActiveDataFilters;
|
|
1612
1694
|
private hasActiveEmptyStateFilters;
|
|
@@ -1828,11 +1910,20 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1828
1910
|
private applyExpansionCollapsePolicy;
|
|
1829
1911
|
onRowDoubleClicked(row: any, index: number): void;
|
|
1830
1912
|
onRowAction(action: string, row: any, event: RowActionTriggerEvent, runtimeOptions?: RowActionRuntimeOptions): void;
|
|
1913
|
+
onOverflowRowAction(action: string, row: any, event: RowActionTriggerEvent, runtimeOptions?: RowActionRuntimeOptions): void;
|
|
1914
|
+
setActiveRowOverflowMenuTrigger(trigger: MatMenuTrigger, origin?: unknown): void;
|
|
1831
1915
|
private resolveRowActionRuntimeOptions;
|
|
1832
1916
|
private emitRowActionEvent;
|
|
1833
1917
|
private showConfirmDialog;
|
|
1918
|
+
isRowActionOpening(action: string | RuntimeRowAction, row: any): boolean;
|
|
1919
|
+
private dispatchRowActionWithOpening;
|
|
1920
|
+
private getOpeningRowActions;
|
|
1834
1921
|
private executeDeleteAction;
|
|
1835
1922
|
private dispatchRowAction;
|
|
1923
|
+
private groundRowActionConfigForDispatch;
|
|
1924
|
+
private isResourceActionCatalogItem;
|
|
1925
|
+
private openResourceWorkflowAction;
|
|
1926
|
+
private applyWorkflowActionRefresh;
|
|
1836
1927
|
private cloneForEmit;
|
|
1837
1928
|
private interpolateActionMessageTemplate;
|
|
1838
1929
|
private buildActionFeedbackContext;
|
|
@@ -1851,11 +1942,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1851
1942
|
private resolveBulkValidationMessage;
|
|
1852
1943
|
private hasValidBulkSelectionCount;
|
|
1853
1944
|
private showBulkConfirmDialog;
|
|
1854
|
-
onToolbarAction(event:
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
}): Promise<void>;
|
|
1945
|
+
onToolbarAction(event: Pick<ToolbarActionEvent<any>, 'action' | 'actionConfig' | 'focusOrigin'>): Promise<void>;
|
|
1946
|
+
getFocusRestoreScope(placement: 'header' | 'footer' | 'row'): string;
|
|
1947
|
+
getRowActionFocusOriginKey(row: any): string;
|
|
1858
1948
|
private hasValidToolbarTargetSelection;
|
|
1949
|
+
private tryHandleCollectionWorkflowToolbarAction;
|
|
1950
|
+
private openCollectionWorkflowAction;
|
|
1951
|
+
private bindWorkflowSurfaceOutcome;
|
|
1952
|
+
private handleWorkflowSurfaceFailure;
|
|
1953
|
+
private applyCollectionWorkflowOutcome;
|
|
1954
|
+
private unwrapCollectionWorkflowResult;
|
|
1955
|
+
private showCollectionWorkflowContractError;
|
|
1859
1956
|
private tryHandleCollectionCreateToolbarAction;
|
|
1860
1957
|
private resolveBulkExportFormat;
|
|
1861
1958
|
private isBulkExportActionKey;
|
|
@@ -1891,6 +1988,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1891
1988
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
1892
1989
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
1893
1990
|
onAdvancedFilterClear(): void;
|
|
1991
|
+
onQuickFilterChange(event: {
|
|
1992
|
+
id: string;
|
|
1993
|
+
filter: Record<string, unknown>;
|
|
1994
|
+
active: boolean;
|
|
1995
|
+
}): void;
|
|
1996
|
+
private clearQuickFilterRuntimeState;
|
|
1997
|
+
private hasEquivalentFilterCriteria;
|
|
1894
1998
|
private applyAdvancedFilterCriteria;
|
|
1895
1999
|
private setAdvancedFilterCriteria;
|
|
1896
2000
|
private syncAdvancedFilterValueFromCriteria;
|
|
@@ -1906,6 +2010,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1906
2010
|
private showResetSuccessFeedback;
|
|
1907
2011
|
readonly toolbarColumnVisibilityController: (field: string, visible: boolean) => void;
|
|
1908
2012
|
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
2013
|
+
onDensityChange(density: TableToolbarAppearanceDensity): void;
|
|
1909
2014
|
isCustomizationAvailable(): boolean;
|
|
1910
2015
|
private isAuthoringAssistantAvailable;
|
|
1911
2016
|
openTableSettings(): void;
|