@praxisui/table 9.0.0-beta.32 → 9.0.0-beta.34
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 +21 -1
- package/ai/component-registry.json +163 -23
- package/fesm2022/{praxisui-table-praxisui-table-DWQN-OpC.mjs → praxisui-table-praxisui-table-DUEQRJTo.mjs} +626 -29
- package/fesm2022/{praxisui-table-table-ai.adapter-xC7GtksD.mjs → praxisui-table-table-ai.adapter-CXzxP88Y.mjs} +30 -3
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +3 -2
- package/types/praxisui-table.d.ts +36 -2
|
@@ -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 {
|
|
4
|
+
import { H as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, X as coerceTableComponentEditPlans, Z as compileTableComponentEditPlans, K as TASK_PRESETS, a2 as getTableComponentEditPlanCapabilities, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, G as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-DUEQRJTo.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -395,6 +395,7 @@ const TABLE_COMPONENT_CONTEXT_PACK = {
|
|
|
395
395
|
{ value: 'filled', label: 'Filled' },
|
|
396
396
|
{ value: 'outlined', label: 'Outlined' },
|
|
397
397
|
{ value: 'soft', label: 'Soft' },
|
|
398
|
+
{ value: 'plain', label: 'Plain' },
|
|
398
399
|
],
|
|
399
400
|
},
|
|
400
401
|
'columns[].renderer.chip.variant': {
|
|
@@ -403,6 +404,7 @@ const TABLE_COMPONENT_CONTEXT_PACK = {
|
|
|
403
404
|
{ value: 'filled', label: 'Filled' },
|
|
404
405
|
{ value: 'outlined', label: 'Outlined' },
|
|
405
406
|
{ value: 'soft', label: 'Soft' },
|
|
407
|
+
{ value: 'plain', label: 'Plain' },
|
|
406
408
|
],
|
|
407
409
|
},
|
|
408
410
|
'columns[].renderer.rating.size': {
|
|
@@ -871,7 +873,7 @@ const TABLE_COMPONENT_CONTEXT_PACK = {
|
|
|
871
873
|
{
|
|
872
874
|
name: 'variant',
|
|
873
875
|
type: 'ENUM',
|
|
874
|
-
options: ['filled', 'outlined', 'soft'],
|
|
876
|
+
options: ['filled', 'outlined', 'soft', 'plain'],
|
|
875
877
|
description: 'Estilo visual do badge'
|
|
876
878
|
},
|
|
877
879
|
{
|
|
@@ -891,7 +893,7 @@ const TABLE_COMPONENT_CONTEXT_PACK = {
|
|
|
891
893
|
text: '{{target}}', // Default to field value if text not generic
|
|
892
894
|
textField: '{{target}}', // Bind to field
|
|
893
895
|
color: '{{params.color}}', // primary, accent, warn, success, info
|
|
894
|
-
variant: '{{params.variant}}', // filled, outlined, soft
|
|
896
|
+
variant: '{{params.variant}}', // filled, outlined, soft, plain
|
|
895
897
|
},
|
|
896
898
|
},
|
|
897
899
|
},
|
|
@@ -4052,15 +4054,40 @@ Columns Analysis:
|
|
|
4052
4054
|
iconObj.name = renderer.icon;
|
|
4053
4055
|
if (renderer.icon?.name)
|
|
4054
4056
|
iconObj.name = renderer.icon.name;
|
|
4057
|
+
if (renderer.icon?.text)
|
|
4058
|
+
iconObj.text = renderer.icon.text;
|
|
4059
|
+
if (renderer.icon?.textField)
|
|
4060
|
+
iconObj.textField = renderer.icon.textField;
|
|
4061
|
+
if (renderer.icon?.prefix)
|
|
4062
|
+
iconObj.prefix = renderer.icon.prefix;
|
|
4063
|
+
if (renderer.icon?.suffix)
|
|
4064
|
+
iconObj.suffix = renderer.icon.suffix;
|
|
4055
4065
|
if (renderer.icon?.color)
|
|
4056
4066
|
iconObj.color = renderer.icon.color;
|
|
4057
4067
|
if (renderer.icon?.size)
|
|
4058
4068
|
iconObj.size = renderer.icon.size;
|
|
4069
|
+
if (renderer.icon?.ariaLabel)
|
|
4070
|
+
iconObj.ariaLabel = renderer.icon.ariaLabel;
|
|
4071
|
+
if (renderer.text && !iconObj.text)
|
|
4072
|
+
iconObj.text = renderer.text;
|
|
4073
|
+
if (renderer.textField && !iconObj.textField)
|
|
4074
|
+
iconObj.textField = renderer.textField;
|
|
4075
|
+
if (renderer.prefix && !iconObj.prefix)
|
|
4076
|
+
iconObj.prefix = renderer.prefix;
|
|
4077
|
+
if (renderer.suffix && !iconObj.suffix)
|
|
4078
|
+
iconObj.suffix = renderer.suffix;
|
|
4079
|
+
if (renderer.ariaLabel && !iconObj.ariaLabel)
|
|
4080
|
+
iconObj.ariaLabel = renderer.ariaLabel;
|
|
4059
4081
|
if (renderer.color && !iconObj.color)
|
|
4060
4082
|
iconObj.color = renderer.color;
|
|
4061
4083
|
if (renderer.size && !iconObj.size)
|
|
4062
4084
|
iconObj.size = renderer.size;
|
|
4063
4085
|
out.icon = iconObj;
|
|
4086
|
+
delete out.text;
|
|
4087
|
+
delete out.textField;
|
|
4088
|
+
delete out.prefix;
|
|
4089
|
+
delete out.suffix;
|
|
4090
|
+
delete out.ariaLabel;
|
|
4064
4091
|
delete out.color;
|
|
4065
4092
|
delete out.size;
|
|
4066
4093
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as AnalyticsTableConfigAdapterService, a as AnalyticsTableContractService, b as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, c as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, d as ColumnsConfigEditorComponent, D as DATE_PRESETS, e as DataFormatterComponent, f as DataFormattingService, F as FORMULA_TEMPLATES, g as FilterConfigService, h as FilterSettingsComponent, i as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, j as PRAXIS_FILTER_COMPONENT_METADATA, k as PRAXIS_TABLE_AUTHORING_MANIFEST, l as PRAXIS_TABLE_COMPONENT_METADATA, m as
|
|
1
|
+
export { A as AnalyticsTableConfigAdapterService, a as AnalyticsTableContractService, b as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, c as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, d as ColumnsConfigEditorComponent, D as DATE_PRESETS, e as DataFormatterComponent, f as DataFormattingService, F as FORMULA_TEMPLATES, g as FilterConfigService, h as FilterSettingsComponent, i as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, j as PRAXIS_FILTER_COMPONENT_METADATA, k as PRAXIS_TABLE_AUTHORING_MANIFEST, l as PRAXIS_TABLE_COMPONENT_METADATA, m as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, n as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, o as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, p as PraxisFilter, q as PraxisFilterWidgetConfigEditor, r as PraxisTable, s as PraxisTableConfigEditor, t as PraxisTableInlineAuthoringEditorComponent, u as PraxisTableToolbar, v as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, w as TABLE_COMPONENT_AI_CAPABILITIES, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, G as TABLE_COMPONENT_EDIT_PLAN_KIND, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, K as TASK_PRESETS, L as TableDefaultsProvider, O as TableRulesEditorComponent, Q as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, R as VisualFormulaBuilderComponent, U as buildTableApplyPlan, W as coerceTableComponentEditPlan, X as coerceTableComponentEditPlans, Y as compileTableComponentEditPlan, Z as compileTableComponentEditPlans, _ as createTableAuthoringDocument, $ as getActionId, a0 as getEnum, a1 as getTableCapabilities, a2 as getTableComponentEditPlanCapabilities, a3 as isTableRendererSupportedByRichContentP0, a4 as mapTableRendererToRichContentP0, a5 as normalizeTableAuthoringDocument, a6 as parseLegacyOrTableDocument, a7 as providePraxisFilterMetadata, a8 as providePraxisTableMetadata, a9 as providePraxisTableToolbarAppearance, aa as serializeTableAuthoringDocument, ab as toCanonicalTableConfig, ac as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-DUEQRJTo.mjs';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.34",
|
|
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.0-beta.
|
|
10
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.0-beta.
|
|
12
|
-
"@praxisui/dynamic-form": "^9.0.0-beta.
|
|
13
|
-
"@praxisui/metadata-editor": "^9.0.0-beta.
|
|
14
|
-
"@praxisui/rich-content": "^9.0.0-beta.
|
|
15
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
16
|
-
"@praxisui/table-rule-builder": "^9.0.0-beta.
|
|
9
|
+
"@praxisui/ai": "^9.0.0-beta.34",
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.34",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.34",
|
|
12
|
+
"@praxisui/dynamic-form": "^9.0.0-beta.34",
|
|
13
|
+
"@praxisui/metadata-editor": "^9.0.0-beta.34",
|
|
14
|
+
"@praxisui/rich-content": "^9.0.0-beta.34",
|
|
15
|
+
"@praxisui/settings-panel": "^9.0.0-beta.34",
|
|
16
|
+
"@praxisui/table-rule-builder": "^9.0.0-beta.34",
|
|
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.0-beta.
|
|
21
|
+
"@praxisui/dialog": "^9.0.0-beta.34",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -333,7 +333,7 @@ Este arquivo foi adaptado para o padrao canonico atual sem remover conteudo tecn
|
|
|
333
333
|
| `behavior.expansion.interaction.motion` | object | No | runtime-defaults | preset-driven | Presets controlados (`none`, `subtle-slide`, `accordion`, `fade-scale`) com respeito a `prefers-reduced-motion`; `durationMs` aceita `0` para desabilitar motion temporal. |
|
|
334
334
|
| `appearance.responsive` | object | No | component-defaults | numeric-breakpoint | Breakpoint móvel inválido é normalizado para `768`. |
|
|
335
335
|
| `toolbar.actions[]` | array | No | `[]` | action-contract | Ações de toolbar com roteamento para `toolbarAction`/`bulkAction`. |
|
|
336
|
-
| `toolbar.appearance` | object | No | Material 3 fallback | token-contract | Governa variante, densidade, forma, divisores e tokens públicos da toolbar sem alterar a semântica das ações. |
|
|
336
|
+
| `toolbar.appearance` | object | No | Material 3 fallback | token-contract | Governa preset, variante, densidade, forma, divisores e tokens públicos da toolbar sem alterar a semântica das ações. |
|
|
337
337
|
| `actions.row.actions[].recordSurface` | object | No | none | `ResourceSurfaceCatalogItem` | Preserva a identidade canônica da superfície relacionada aberta por uma ação de linha, mantendo `actions.row.actions[].id` como identidade do botão. |
|
|
338
338
|
| `actions.row.discovery.enabled` | boolean | No | `true` | row-action-discovery | Controla se row actions podem ser enriquecidas por HATEOAS/capabilities. Configure `false` para manter somente ações declaradas em `actions.row.actions[]`. |
|
|
339
339
|
| `columns[].renderer` | object | No | field-type-driven | renderer-contract | Renderers condicionais, payload expr e ações interativas. |
|
|
@@ -363,6 +363,7 @@ Renderer defaults:
|
|
|
363
363
|
- O bloco `toolbar` continua parte do contrato público principal.
|
|
364
364
|
- Use `toolbar.actions[]` para quick actions e `toolbar.search` para busca quando o host não injeta shell própria.
|
|
365
365
|
- Use `toolbar.appearance` para personalizar o chrome da toolbar por contrato governado. O runtime materializa `variant`, `density`, `shape`, `divider` e `tokens` como classes e CSS custom properties públicas; o host pode trocar aparência sem redefinir intenção, capability ou roteamento.
|
|
366
|
+
- Use `toolbar.appearance.preset = "table-integrated"` para compor toolbar e tabela como um unico bloco visual com tokens públicos estáveis, evitando CSS do host sobre classes internas como `praxis-toolbar-stack-top` ou `table-stack-top`.
|
|
366
367
|
- Tokens públicos suportados em `toolbar.appearance.tokens`: `bg`, `fg`, `borderColor`, `borderWidth`, `radius`, `shadow`, `paddingBlock`, `paddingInline`, `minHeight`, `gap`, `actionsGap`, `dividerColor`, `actionSize`, `actionRadius`, `actionBg`, `actionFg`, `actionHoverBg`, `actionActiveBg`, `actionFocusRing`, `aiAccentColor`, `statusFg`, `titleFg`, `subtitleFg`, `iconFg`, `titleFontSize`, `subtitleFontSize`, `titleFontWeight`, `identityGap`, `identityFilterGap`, `identityMinHeight`, `identityMarginBottom`, `identityIconSize` e `identityIconRadius`.
|
|
367
368
|
- Para localizar paths específicos de toolbar, complemente a leitura com o `Appendix: JSON path index`.
|
|
368
369
|
|
|
@@ -436,7 +437,7 @@ degraded filter.
|
|
|
436
437
|
| `rowDoubleClick` | `{ action, row }` | Duplo clique quando habilitado. | Partial | Preservado da documentação anterior. |
|
|
437
438
|
| `rowExpansionChange` | `RowExpansionChangeEvent` | Evento canônico para expand/collapse de detail row no runtime P0A (caminho não virtualizado), com payload discriminado por política de exposição (`allowRawExposure` + `eventExposureDefault`). | Partial | Preservado da documentação anterior. |
|
|
438
439
|
| `rowAction` | `{ action, row, payload?, actionConfig?, localMode?, preventedHttp? }` | Acao de linha (coluna `_actions`, renderer interativo ou CRUD capability sintetizada). `payload` e emitido quando houver `payloadExpr` em renderer interativo. Quando `actionConfig.globalAction` aponta para `navigation.openRoute`, o runtime resolve templates como `${row.id}` antes de executar a navegação interna. Para actions como `surface.open`, `payload.*` continua sendo o envelope canônico do evento entregue ao destino. Para `view/edit/delete/duplicate-draft` vindos de capabilities, `actionConfig` carrega a operacao canonica e o host composto deve encaminhar ao contexto CRUD apropriado. | Partial | Preservado da documentação anterior. |
|
|
439
|
-
| `toolbarAction` | `{ action, actionConfig? }` | Acao clicada em `toolbar.actions[]` que nao foi roteada para fluxo bulk; `actionConfig` carrega o objeto da acao quando disponivel. | Partial | Preservado da documentação anterior. |
|
|
440
|
+
| `toolbarAction` | `{ action, actionConfig? }` | Acao clicada em `toolbar.actions[]` que nao foi roteada para fluxo bulk; `actionConfig` carrega o objeto da acao quando disponivel. A acao `create` de colecao pode ser materializada automaticamente a partir de `_links.create`, rel `capabilities`, surfaces e `CrudOperationResolutionService`; quando `surface.open` esta disponivel, o runtime abre a surface de criacao antes de emitir fallback. | Partial | Preservado da documentação anterior com materializacao CRUD de colecao. |
|
|
440
441
|
| `exportAction` | `{ format, request?, result?, error?, tableId? }` | Acao de exportacao acionada pelo menu `export.formats[]`; `request` segue `PraxisCollectionExportRequest`. | Active | Usa o contrato canonico de Collection Export em `@praxisui/core`. |
|
|
441
442
|
| `exportAction` | `{ format, request?, result?, error?, tableId? }` | Acao de exportacao acionada pelo menu `export.formats[]`; `request` segue `PraxisCollectionExportRequest`. | Active | Usa o contrato canonico de Collection Export em `@praxisui/core`. |
|
|
442
443
|
| `bulkAction` | `{ action, rows, actionConfig? }` | Acao em lote; `actionConfig` carrega a configuracao da acao quando disponivel. | Partial | Preservado da documentação anterior. |
|
|
@@ -37,6 +37,7 @@ interface ActionLike {
|
|
|
37
37
|
}
|
|
38
38
|
declare function getActionId(action: ActionLike): string;
|
|
39
39
|
|
|
40
|
+
declare const PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS: Record<string, TableToolbarAppearanceConfig>;
|
|
40
41
|
declare const PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE: InjectionToken<TableToolbarAppearanceConfig>;
|
|
41
42
|
declare const PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS: InjectionToken<Record<string, TableToolbarAppearanceConfig>>;
|
|
42
43
|
declare function providePraxisTableToolbarAppearance(appearance: TableToolbarAppearanceConfig, presets?: Record<string, TableToolbarAppearanceConfig>): Provider[];
|
|
@@ -1049,8 +1050,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1049
1050
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1050
1051
|
private _resourceDiscovery?;
|
|
1051
1052
|
private _resourceSurfaceOpenAdapter?;
|
|
1053
|
+
private _crudOperationResolver?;
|
|
1052
1054
|
private readonly runtimeObservationRegistry;
|
|
1053
1055
|
private readonly detailInlineRenderers;
|
|
1056
|
+
private collectionLinks;
|
|
1057
|
+
private collectionCapabilities;
|
|
1058
|
+
private collectionCapabilitiesRequestHref;
|
|
1059
|
+
private collectionCapabilitiesResolvedHref;
|
|
1060
|
+
private collectionCapabilitiesRequestSeq;
|
|
1054
1061
|
private readonly detailInlineNodeResolvers;
|
|
1055
1062
|
private runtimeObservationRegistration;
|
|
1056
1063
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
@@ -1185,6 +1192,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1185
1192
|
private readonly sanitizer;
|
|
1186
1193
|
private readonly collectionExport;
|
|
1187
1194
|
private readonly paginatorIntl;
|
|
1195
|
+
private readonly schemaNormalizer;
|
|
1188
1196
|
private schemaFieldsSnapshot;
|
|
1189
1197
|
private filterSchemaFieldsSnapshot;
|
|
1190
1198
|
private runtimeSchemaMeta;
|
|
@@ -1386,9 +1394,29 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1386
1394
|
private clonePlainObject;
|
|
1387
1395
|
private setShowToolbar;
|
|
1388
1396
|
private shouldExposeToolbar;
|
|
1397
|
+
private resolveCollectionDiscoveryOptions;
|
|
1398
|
+
private updateCollectionLinks;
|
|
1399
|
+
private resolveCollectionCapabilitiesHref;
|
|
1400
|
+
private materializeCollectionCreateToolbarAction;
|
|
1401
|
+
private ensureToolbarConfigForRuntime;
|
|
1402
|
+
private buildCollectionCreateToolbarAction;
|
|
1403
|
+
private resolveCollectionCreateRuntime;
|
|
1404
|
+
private resolveCollectionResourcePath;
|
|
1405
|
+
private hasCollectionCreateLink;
|
|
1406
|
+
private resolveCollectionCreateCapabilityOperation;
|
|
1407
|
+
private createSyntheticCollectionCrudOperation;
|
|
1408
|
+
private resolveCollectionCreateSurface;
|
|
1409
|
+
private isWritableCrudSurface;
|
|
1410
|
+
private isCollectionCreateSurface;
|
|
1411
|
+
private getCollectionCreateActionLabel;
|
|
1412
|
+
private getCollectionCreateActionTooltip;
|
|
1413
|
+
private getCollectionCreateUnavailableTooltip;
|
|
1414
|
+
private resolveCollectionCreateDisabled;
|
|
1415
|
+
private isCreateToolbarAction;
|
|
1389
1416
|
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, loadingRenderer?: PraxisLoadingRenderer | undefined, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined, analyticsStatsApi?: AnalyticsTableStatsApiService | undefined);
|
|
1390
1417
|
private get resourceDiscovery();
|
|
1391
1418
|
private get resourceSurfaceOpenAdapter();
|
|
1419
|
+
private get crudOperationResolver();
|
|
1392
1420
|
private ensureAiAdapterLoaded;
|
|
1393
1421
|
openAiAssistant(): void;
|
|
1394
1422
|
aiAssistantTriggerTestId(position: string): string;
|
|
@@ -1700,6 +1728,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1700
1728
|
action: string;
|
|
1701
1729
|
actionConfig?: any;
|
|
1702
1730
|
}): Promise<void>;
|
|
1731
|
+
private tryHandleCollectionCreateToolbarAction;
|
|
1703
1732
|
private resolveBulkExportFormat;
|
|
1704
1733
|
private isBulkExportActionKey;
|
|
1705
1734
|
private normalizeExportFormat;
|
|
@@ -1851,7 +1880,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1851
1880
|
private loadSchema;
|
|
1852
1881
|
private loadFilterSchemaSnapshot;
|
|
1853
1882
|
private convertFieldToColumn;
|
|
1883
|
+
private applySchemaFieldPresentationsToExistingColumns;
|
|
1854
1884
|
private applySchemaFieldPresentation;
|
|
1885
|
+
private applySchemaSemanticCellPresentation;
|
|
1886
|
+
private resolveSemanticPresentationColor;
|
|
1887
|
+
private resolveSemanticPresentationVariant;
|
|
1888
|
+
private resolveSemanticPresentationAffixes;
|
|
1855
1889
|
private resolveSchemaCurrencyFormat;
|
|
1856
1890
|
private resolveSchemaBooleanFormat;
|
|
1857
1891
|
private resolveSchemaValueMapping;
|
|
@@ -4439,7 +4473,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
|
|
|
4439
4473
|
};
|
|
4440
4474
|
readonly variant: {
|
|
4441
4475
|
readonly type: "string";
|
|
4442
|
-
readonly enum: readonly ["filled", "outlined", "soft"];
|
|
4476
|
+
readonly enum: readonly ["filled", "outlined", "soft", "plain"];
|
|
4443
4477
|
};
|
|
4444
4478
|
readonly icon: {
|
|
4445
4479
|
readonly type: "string";
|
|
@@ -4686,5 +4720,5 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
4686
4720
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4687
4721
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4688
4722
|
|
|
4689
|
-
export { 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_FILTER_COMPONENT_METADATA, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisFilter, PraxisFilterWidgetConfigEditor, 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, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
4723
|
+
export { 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_FILTER_COMPONENT_METADATA, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisFilter, PraxisFilterWidgetConfigEditor, 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, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
4690
4724
|
export type { ActionLike, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, 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 };
|