@praxisui/table 9.0.4-rc.4 → 9.0.4-rc.40
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 +129 -33
- 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-BK713t5-.mjs} +1026 -137
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-BkVzVLPD.mjs → praxisui-table-table-agentic-authoring-turn-flow-CfL4P3lo.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-CbOLZHVg.mjs → praxisui-table-table-ai.adapter-Dx1lVSGd.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 +110 -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-BK713t5-.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-BK713t5-.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-BK713t5-.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.40",
|
|
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.40",
|
|
10
|
+
"@praxisui/core": "^9.0.4-rc.40",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.4-rc.40",
|
|
12
|
+
"@praxisui/dynamic-form": "^9.0.4-rc.40",
|
|
13
|
+
"@praxisui/metadata-editor": "^9.0.4-rc.40",
|
|
14
|
+
"@praxisui/rich-content": "^9.0.4-rc.40",
|
|
15
|
+
"@praxisui/settings-panel": "^9.0.4-rc.40",
|
|
16
|
+
"@praxisui/table-rule-builder": "^9.0.4-rc.40",
|
|
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.40",
|
|
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,25 @@ 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;
|
|
58
63
|
evaluationContext: Record<string, any> | null;
|
|
64
|
+
activeQuickFilterId: string | null;
|
|
65
|
+
activeDensity: TableToolbarAppearanceDensity | null;
|
|
59
66
|
/** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
|
|
60
67
|
columnVisibilityController?: (field: string, visible: boolean) => void;
|
|
61
|
-
toolbarAction: EventEmitter<Pick<ToolbarActionEvent<Record<string, unknown>>, "action" | "actionConfig">>;
|
|
68
|
+
toolbarAction: EventEmitter<Pick<ToolbarActionEvent<Record<string, unknown>>, "action" | "actionConfig" | "focusOrigin">>;
|
|
62
69
|
exportAction: EventEmitter<{
|
|
63
70
|
format: string;
|
|
64
71
|
scope?: PraxisExportScope;
|
|
@@ -68,6 +75,12 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
68
75
|
field: string;
|
|
69
76
|
visible: boolean;
|
|
70
77
|
}>;
|
|
78
|
+
quickFilterChange: EventEmitter<{
|
|
79
|
+
id: string;
|
|
80
|
+
filter: Record<string, unknown>;
|
|
81
|
+
active: boolean;
|
|
82
|
+
}>;
|
|
83
|
+
densityChange: EventEmitter<TableToolbarAppearanceDensity>;
|
|
71
84
|
readonly getActionId: typeof getActionId;
|
|
72
85
|
private readonly jsonLogic;
|
|
73
86
|
private readonly validToolbarActionTypes;
|
|
@@ -100,12 +113,37 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
100
113
|
getExportFormatTooltip(format: unknown): string;
|
|
101
114
|
getExportFormatAriaLabel(format: unknown): string;
|
|
102
115
|
getMoreActionsLabel(): string;
|
|
116
|
+
getFocusOriginKey(part: string): string;
|
|
103
117
|
emitExportAction(event: Event, format: string): void;
|
|
104
118
|
emitVisibleExcelExportAction(event: Event): void;
|
|
105
119
|
isExcelExportFormat(format: unknown): boolean;
|
|
106
120
|
isVisibleExcelExportEnabled(format: unknown): boolean;
|
|
107
121
|
private normalizeExportFormat;
|
|
108
122
|
getColumnsVisibilityLabel(): string;
|
|
123
|
+
getQuickFilters(): Array<{
|
|
124
|
+
id: string;
|
|
125
|
+
label: string;
|
|
126
|
+
filter: Record<string, unknown>;
|
|
127
|
+
icon?: string;
|
|
128
|
+
}>;
|
|
129
|
+
shouldShowQuickFilters(): boolean;
|
|
130
|
+
getQuickFiltersLabel(): string;
|
|
131
|
+
getQuickFilterLabel(filter: {
|
|
132
|
+
label: unknown;
|
|
133
|
+
id: string;
|
|
134
|
+
}): string;
|
|
135
|
+
isQuickFilterActive(id: string): boolean;
|
|
136
|
+
emitQuickFilterChange(event: Event, filter: {
|
|
137
|
+
id: string;
|
|
138
|
+
filter: Record<string, unknown>;
|
|
139
|
+
}): void;
|
|
140
|
+
isDensityToggleEnabled(): boolean;
|
|
141
|
+
getDensityToggleLabel(): string;
|
|
142
|
+
getDensityOptions(): TableToolbarAppearanceDensity[];
|
|
143
|
+
isDensityActive(density: TableToolbarAppearanceDensity): boolean;
|
|
144
|
+
getDensityLabel(density: TableToolbarAppearanceDensity): string;
|
|
145
|
+
getDensityIcon(density: TableToolbarAppearanceDensity): string;
|
|
146
|
+
emitDensityChange(event: Event, density: TableToolbarAppearanceDensity): void;
|
|
109
147
|
getColumnsVisibilityIcon(): string;
|
|
110
148
|
isColumnsVisibilityEnabled(): boolean;
|
|
111
149
|
getVisibleColumnsCount(): number;
|
|
@@ -130,7 +168,9 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
130
168
|
private cloneForEmit;
|
|
131
169
|
private getLogger;
|
|
132
170
|
private warnLog;
|
|
133
|
-
emitToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
|
|
171
|
+
emitToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1, focusOrigin?: HTMLElement): void;
|
|
172
|
+
setActiveOverflowMenuTrigger(trigger: MatMenuTrigger, origin?: unknown): void;
|
|
173
|
+
emitOverflowToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
|
|
134
174
|
getStartActions(): any[];
|
|
135
175
|
getNonStartActions(): any[];
|
|
136
176
|
getOverflowActions(): any[];
|
|
@@ -182,7 +222,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
182
222
|
private sortActions;
|
|
183
223
|
getExportIcon(format: string): string;
|
|
184
224
|
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>;
|
|
225
|
+
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; }; "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
226
|
}
|
|
187
227
|
|
|
188
228
|
type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
|
|
@@ -480,6 +520,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
480
520
|
private settingsPanel;
|
|
481
521
|
private snackBar;
|
|
482
522
|
private dialog;
|
|
523
|
+
private praxisDialog;
|
|
483
524
|
private cdr;
|
|
484
525
|
private ngZone;
|
|
485
526
|
private dynamicForm;
|
|
@@ -663,6 +704,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
663
704
|
readonly addManagerDescriptionId: string;
|
|
664
705
|
readonly addOverlayPositions: ConnectedPosition[];
|
|
665
706
|
private applySchemaQueued;
|
|
707
|
+
private shortcutPromptOpen;
|
|
666
708
|
private fallbackLogger?;
|
|
667
709
|
private fallbackLoggerEnvironment;
|
|
668
710
|
private isViewInitialized;
|
|
@@ -696,7 +738,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
696
738
|
private filterSchemaIgnoreKey;
|
|
697
739
|
private filterSchemaSnoozeKey;
|
|
698
740
|
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);
|
|
741
|
+
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
742
|
private readonly global;
|
|
701
743
|
private resolveRuntimeEnvironment;
|
|
702
744
|
private getLogger;
|
|
@@ -768,6 +810,13 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
768
810
|
private loadSchemaViaClient;
|
|
769
811
|
private loadSchemaViaCrudFallback;
|
|
770
812
|
loadSchema(): void;
|
|
813
|
+
/**
|
|
814
|
+
* A Dynamic Page may finish binding resource identity while an earlier schema
|
|
815
|
+
* request is still in flight. Discarding that response must also release the
|
|
816
|
+
* loading state and start a request for the effective context; otherwise the
|
|
817
|
+
* advanced-filter affordance remains permanently busy.
|
|
818
|
+
*/
|
|
819
|
+
private restartSchemaLoadForCurrentContext;
|
|
771
820
|
retrySchemaLoad(): void;
|
|
772
821
|
private applySchemaMetas;
|
|
773
822
|
private applySchemaMetasNow;
|
|
@@ -864,6 +913,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
864
913
|
saveCurrentAsTag(): void;
|
|
865
914
|
/** Persistência centralizada de atalho a partir de um DTO explícito */
|
|
866
915
|
private saveAsShortcutFromDto;
|
|
916
|
+
private requestShortcutLabel;
|
|
867
917
|
getAdvancedAriaLabel(): string;
|
|
868
918
|
getAdvancedTooltip(): string;
|
|
869
919
|
getSettingsAriaLabel(): string;
|
|
@@ -921,7 +971,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
921
971
|
onGlobalKeydown(event: KeyboardEvent): void;
|
|
922
972
|
private isEditableElement;
|
|
923
973
|
private focusQuick;
|
|
924
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
974
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
925
975
|
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
976
|
}
|
|
927
977
|
|
|
@@ -1086,6 +1136,8 @@ type RowExpansionChangeEvent = (RowExpansionChangeBase & {
|
|
|
1086
1136
|
type RowActionRuntimeOptions = {
|
|
1087
1137
|
payload?: any;
|
|
1088
1138
|
actionConfig?: any;
|
|
1139
|
+
/** Runtime-only focus origin. It must never be persisted or sent to an API. */
|
|
1140
|
+
focusOrigin?: HTMLElement;
|
|
1089
1141
|
};
|
|
1090
1142
|
type RowActionTriggerEvent = {
|
|
1091
1143
|
target?: EventTarget | null;
|
|
@@ -1141,6 +1193,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1141
1193
|
private route?;
|
|
1142
1194
|
private logger?;
|
|
1143
1195
|
private analyticsStatsApi?;
|
|
1196
|
+
activeRowOverflowMenuTrigger?: MatMenuTrigger;
|
|
1197
|
+
private activeRowOverflowMenuTriggerElement?;
|
|
1198
|
+
private openingRowActions;
|
|
1144
1199
|
private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
|
|
1145
1200
|
private static readonly AI_SELECTION_ROW_LIMIT;
|
|
1146
1201
|
private static readonly AI_SELECTION_ID_LIMIT;
|
|
@@ -1150,6 +1205,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1150
1205
|
private static readonly ROW_DISCOVERY_CACHE_LIMIT;
|
|
1151
1206
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1152
1207
|
private _resourceDiscovery?;
|
|
1208
|
+
private _resourceActionOpenAdapter?;
|
|
1153
1209
|
private _resourceSurfaceOpenAdapter?;
|
|
1154
1210
|
private _crudOperationResolver?;
|
|
1155
1211
|
private readonly runtimeObservationRegistry;
|
|
@@ -1185,6 +1241,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1185
1241
|
aiAssistantVoiceInputMode: PraxisAssistantVoiceInputMode;
|
|
1186
1242
|
aiAssistantVoiceLanguage: string;
|
|
1187
1243
|
advancedFilterValue: Record<string, any>;
|
|
1244
|
+
activeQuickFilterId: string | null;
|
|
1245
|
+
private quickFilterBaseCriteria;
|
|
1246
|
+
private activeQuickFilterCriteria;
|
|
1188
1247
|
advancedFilterRuntimeVisibleFields: string[];
|
|
1189
1248
|
private advancedFilterAlwaysVisibleCacheKey;
|
|
1190
1249
|
private advancedFilterAlwaysVisibleCache?;
|
|
@@ -1310,6 +1369,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1310
1369
|
shouldShowToolbarBottomPlacement(): boolean;
|
|
1311
1370
|
shouldRenderFooterToolbar(): boolean;
|
|
1312
1371
|
hasTopToolbarStack(): boolean;
|
|
1372
|
+
hasBottomTableStack(): boolean;
|
|
1313
1373
|
shouldShowFooterToolbarMain(): boolean;
|
|
1314
1374
|
shouldShowFooterToolbarEndActions(): boolean;
|
|
1315
1375
|
getToolbarActionsPosition(): 'top' | 'bottom' | 'both';
|
|
@@ -1323,6 +1383,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1323
1383
|
shouldShowToolbarActionsTop(): boolean;
|
|
1324
1384
|
shouldShowToolbarActionsBottom(): boolean;
|
|
1325
1385
|
getToolbarActionsBackgroundColor(): string | null;
|
|
1386
|
+
private hasToolbarUtilityActions;
|
|
1326
1387
|
getToolbarLayoutHeightPx(): number | null;
|
|
1327
1388
|
getToolbarLayoutHeightCssVar(): string | null;
|
|
1328
1389
|
getToolbarLayoutHeightHostStyle(): string | null;
|
|
@@ -1345,6 +1406,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1345
1406
|
private shouldApplyResponsiveHorizontalScrollGlobally;
|
|
1346
1407
|
private isWithinResponsiveMobileBreakpoint;
|
|
1347
1408
|
private refreshResponsiveHorizontalScroll;
|
|
1409
|
+
/**
|
|
1410
|
+
* Materializes the existing responsive contract as a labelled record card on
|
|
1411
|
+
* narrow screens. Virtual rows intentionally keep the scroll-table path:
|
|
1412
|
+
* their fixed item height cannot safely represent a variable-height card.
|
|
1413
|
+
*/
|
|
1414
|
+
isMobileCardModeActive(): boolean;
|
|
1415
|
+
getMobileCardColumnOrder(column: ColumnDefinition): number;
|
|
1416
|
+
getMobileCardActionsOrder(): number;
|
|
1348
1417
|
private scheduleResponsiveHorizontalScrollRefresh;
|
|
1349
1418
|
private cancelResponsiveHorizontalScrollRefresh;
|
|
1350
1419
|
hasBottomPaginator(): boolean;
|
|
@@ -1361,10 +1430,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1361
1430
|
shouldShowEmptyState(): boolean;
|
|
1362
1431
|
shouldShowNoDataState(): boolean;
|
|
1363
1432
|
shouldShowLoadingSurface(): boolean;
|
|
1433
|
+
shouldShowRefreshingState(): boolean;
|
|
1364
1434
|
getLoadingSurfaceMessage(): string;
|
|
1365
1435
|
getNoDataStateTitle(): string;
|
|
1366
1436
|
getNoDataStateDescription(): string | undefined;
|
|
1367
1437
|
getTableSettingsLabel(): string;
|
|
1438
|
+
getScrollViewportAriaLabel(): string;
|
|
1368
1439
|
getTableErrorTitle(): string;
|
|
1369
1440
|
getTableErrorMessage(): string;
|
|
1370
1441
|
getTableErrorRetryLabel(): string;
|
|
@@ -1388,6 +1459,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1388
1459
|
shouldRenderAdvancedFilter(): boolean;
|
|
1389
1460
|
getAdvancedFilterResourcePath(): string;
|
|
1390
1461
|
getAdvancedFilterPersistenceKey(): string;
|
|
1462
|
+
getAdvancedFilterFormId(): string;
|
|
1463
|
+
getAdvancedFilterOpenMode(): 'modal' | 'drawer';
|
|
1391
1464
|
getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
|
|
1392
1465
|
getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
|
|
1393
1466
|
getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
|
|
@@ -1408,7 +1481,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1408
1481
|
private hostDeclaredAppearanceDensity;
|
|
1409
1482
|
private hostDeclaredAppearanceSpacing;
|
|
1410
1483
|
private hostDeclaredAppearanceTypography;
|
|
1411
|
-
|
|
1484
|
+
resolveAppearanceDensity(): 'compact' | 'comfortable' | 'spacious';
|
|
1412
1485
|
get hostDensityCompactClass(): boolean;
|
|
1413
1486
|
get hostDensityComfortableClass(): boolean;
|
|
1414
1487
|
get hostDensitySpaciousClass(): boolean;
|
|
@@ -1518,6 +1591,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1518
1591
|
private updateCollectionLinks;
|
|
1519
1592
|
private resolveCollectionCapabilitiesHref;
|
|
1520
1593
|
private materializeCollectionCreateToolbarAction;
|
|
1594
|
+
private materializeCollectionWorkflowToolbarActions;
|
|
1521
1595
|
private ensureToolbarConfigForRuntime;
|
|
1522
1596
|
private buildCollectionCreateToolbarAction;
|
|
1523
1597
|
private resolveCollectionCreateRuntime;
|
|
@@ -1536,6 +1610,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1536
1610
|
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
1611
|
private get resourceDiscovery();
|
|
1538
1612
|
private get resourceSurfaceOpenAdapter();
|
|
1613
|
+
private get resourceActionOpenAdapter();
|
|
1539
1614
|
private get crudOperationResolver();
|
|
1540
1615
|
private ensureAiAdapterLoaded;
|
|
1541
1616
|
openAiAssistant(): void;
|
|
@@ -1606,7 +1681,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1606
1681
|
private resolveAiAssistantIcon;
|
|
1607
1682
|
private emitLoadingState;
|
|
1608
1683
|
private hasResolvedRemoteDataLoad;
|
|
1609
|
-
|
|
1684
|
+
isTableDataLoading(): boolean;
|
|
1610
1685
|
private getRenderedRowCount;
|
|
1611
1686
|
private hasActiveDataFilters;
|
|
1612
1687
|
private hasActiveEmptyStateFilters;
|
|
@@ -1828,11 +1903,20 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1828
1903
|
private applyExpansionCollapsePolicy;
|
|
1829
1904
|
onRowDoubleClicked(row: any, index: number): void;
|
|
1830
1905
|
onRowAction(action: string, row: any, event: RowActionTriggerEvent, runtimeOptions?: RowActionRuntimeOptions): void;
|
|
1906
|
+
onOverflowRowAction(action: string, row: any, event: RowActionTriggerEvent, runtimeOptions?: RowActionRuntimeOptions): void;
|
|
1907
|
+
setActiveRowOverflowMenuTrigger(trigger: MatMenuTrigger, origin?: unknown): void;
|
|
1831
1908
|
private resolveRowActionRuntimeOptions;
|
|
1832
1909
|
private emitRowActionEvent;
|
|
1833
1910
|
private showConfirmDialog;
|
|
1911
|
+
isRowActionOpening(action: string | RuntimeRowAction, row: any): boolean;
|
|
1912
|
+
private dispatchRowActionWithOpening;
|
|
1913
|
+
private getOpeningRowActions;
|
|
1834
1914
|
private executeDeleteAction;
|
|
1835
1915
|
private dispatchRowAction;
|
|
1916
|
+
private groundRowActionConfigForDispatch;
|
|
1917
|
+
private isResourceActionCatalogItem;
|
|
1918
|
+
private openResourceWorkflowAction;
|
|
1919
|
+
private applyWorkflowActionRefresh;
|
|
1836
1920
|
private cloneForEmit;
|
|
1837
1921
|
private interpolateActionMessageTemplate;
|
|
1838
1922
|
private buildActionFeedbackContext;
|
|
@@ -1851,11 +1935,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1851
1935
|
private resolveBulkValidationMessage;
|
|
1852
1936
|
private hasValidBulkSelectionCount;
|
|
1853
1937
|
private showBulkConfirmDialog;
|
|
1854
|
-
onToolbarAction(event:
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
}): Promise<void>;
|
|
1938
|
+
onToolbarAction(event: Pick<ToolbarActionEvent<any>, 'action' | 'actionConfig' | 'focusOrigin'>): Promise<void>;
|
|
1939
|
+
getFocusRestoreScope(placement: 'header' | 'footer' | 'row'): string;
|
|
1940
|
+
getRowActionFocusOriginKey(row: any): string;
|
|
1858
1941
|
private hasValidToolbarTargetSelection;
|
|
1942
|
+
private tryHandleCollectionWorkflowToolbarAction;
|
|
1943
|
+
private openCollectionWorkflowAction;
|
|
1944
|
+
private bindWorkflowSurfaceOutcome;
|
|
1945
|
+
private handleWorkflowSurfaceFailure;
|
|
1946
|
+
private applyCollectionWorkflowOutcome;
|
|
1947
|
+
private unwrapCollectionWorkflowResult;
|
|
1948
|
+
private showCollectionWorkflowContractError;
|
|
1859
1949
|
private tryHandleCollectionCreateToolbarAction;
|
|
1860
1950
|
private resolveBulkExportFormat;
|
|
1861
1951
|
private isBulkExportActionKey;
|
|
@@ -1891,6 +1981,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1891
1981
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
1892
1982
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
1893
1983
|
onAdvancedFilterClear(): void;
|
|
1984
|
+
onQuickFilterChange(event: {
|
|
1985
|
+
id: string;
|
|
1986
|
+
filter: Record<string, unknown>;
|
|
1987
|
+
active: boolean;
|
|
1988
|
+
}): void;
|
|
1989
|
+
private clearQuickFilterRuntimeState;
|
|
1990
|
+
private hasEquivalentFilterCriteria;
|
|
1894
1991
|
private applyAdvancedFilterCriteria;
|
|
1895
1992
|
private setAdvancedFilterCriteria;
|
|
1896
1993
|
private syncAdvancedFilterValueFromCriteria;
|
|
@@ -1906,6 +2003,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1906
2003
|
private showResetSuccessFeedback;
|
|
1907
2004
|
readonly toolbarColumnVisibilityController: (field: string, visible: boolean) => void;
|
|
1908
2005
|
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
2006
|
+
onDensityChange(density: TableToolbarAppearanceDensity): void;
|
|
1909
2007
|
isCustomizationAvailable(): boolean;
|
|
1910
2008
|
private isAuthoringAssistantAvailable;
|
|
1911
2009
|
openTableSettings(): void;
|