@praxisui/table 10.0.0-rc.44 → 10.0.0-rc.46
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 +836 -827
- package/ai/component-registry.json +2621 -340
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-CdNRpa3B.mjs → praxisui-table-filter-form-dialog-host.component-MGBfA3P2.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-bFsWARFS.mjs → praxisui-table-praxisui-table-ByVngbFP.mjs} +2198 -470
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-Bx6OipjE.mjs → praxisui-table-table-agentic-authoring-turn-flow-BsJfydOk.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-a-4HZl6R.mjs → praxisui-table-table-ai.adapter-4AXY2zhX.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +138 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-
|
|
3
|
+
import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
4
4
|
|
|
5
5
|
class TableAgenticAuthoringTurnFlow {
|
|
6
6
|
adapter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { firstValueFrom } from 'rxjs';
|
|
2
2
|
import { BaseAiAdapter, sanitizePraxisAssistantText, createComponentAuthoringContext } from '@praxisui/ai';
|
|
3
3
|
import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
|
|
4
|
-
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-
|
|
4
|
+
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-
|
|
1
|
+
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
2
2
|
export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.46",
|
|
4
4
|
"description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/platform-browser": "^21.0.0",
|
|
9
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/ai": "^10.0.0-rc.46",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.46",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.46",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.46",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.46",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.46",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.46",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.46",
|
|
17
17
|
"@angular/cdk": "^21.0.0",
|
|
18
18
|
"@angular/forms": "^21.0.0",
|
|
19
19
|
"@angular/material": "^21.0.0",
|
|
20
20
|
"@angular/router": "^21.0.0",
|
|
21
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
21
|
+
"@praxisui/dialog": "^10.0.0-rc.46",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _praxisui_core from '@praxisui/core';
|
|
2
|
-
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem,
|
|
2
|
+
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, ResourceQuickViewBinding, ApiEndpoint, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, DiscoveredResourceOption, TableConfigService, PraxisResourceQuickFilter, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
|
|
3
3
|
export { DynamicDataCollection, DynamicDataRecord, DynamicRecordMeta, ResourceLinkItem, ResourceLinks, createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
|
|
@@ -107,6 +107,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
107
107
|
private tokenPresets?;
|
|
108
108
|
private toolbarRoot?;
|
|
109
109
|
private toolbarIdentity?;
|
|
110
|
+
private toolbarScope?;
|
|
110
111
|
private fullActionsGroup?;
|
|
111
112
|
private endActionsGroup?;
|
|
112
113
|
activeOverflowMenuTrigger?: MatMenuTrigger;
|
|
@@ -198,8 +199,9 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
198
199
|
label: string;
|
|
199
200
|
filter: Record<string, unknown>;
|
|
200
201
|
icon?: string;
|
|
202
|
+
tone?: PraxisQuickFilterTone;
|
|
203
|
+
tooltip?: string;
|
|
201
204
|
}>;
|
|
202
|
-
private normalizeQuickFilterExpression;
|
|
203
205
|
shouldShowQuickFilters(): boolean;
|
|
204
206
|
getQuickFiltersLabel(): string;
|
|
205
207
|
getQuickFilterLabel(filter: {
|
|
@@ -242,6 +244,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
242
244
|
private scheduleActionCapacityCheck;
|
|
243
245
|
private updateActionCapacity;
|
|
244
246
|
private getIdentityRequiredWidth;
|
|
247
|
+
private getScopeRequiredWidth;
|
|
245
248
|
private readPixelValue;
|
|
246
249
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
247
250
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -672,6 +675,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
672
675
|
private componentKeys;
|
|
673
676
|
private route?;
|
|
674
677
|
private logger?;
|
|
678
|
+
private static readonly sharedSchemaMetaCacheByStorage;
|
|
679
|
+
private static readonly schemaMetaPersistenceQueuesByStorage;
|
|
675
680
|
addManagerOrigin?: ElementRef<HTMLButtonElement>;
|
|
676
681
|
addManagerSearch?: PdxCollectionSearchComponent;
|
|
677
682
|
resourcePath: string;
|
|
@@ -956,11 +961,14 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
956
961
|
private toSchemaIdContext;
|
|
957
962
|
private resetSchemaStateForContextChange;
|
|
958
963
|
private clearSchemaMetaPersistence;
|
|
964
|
+
private getSharedSchemaMetaCache;
|
|
965
|
+
private getSchemaMetaPersistenceQueues;
|
|
959
966
|
private clearConfigStorageKey;
|
|
960
967
|
private loadStoredSchemaMeta;
|
|
961
968
|
private rememberSchemaMetaContext;
|
|
962
969
|
private ensureSchemaMetaIndexLoaded;
|
|
963
970
|
private saveStoredSchemaMeta;
|
|
971
|
+
private reconcileSchemaMetaSave;
|
|
964
972
|
private stableSerialize;
|
|
965
973
|
private normalizeStoredSchemaMetaForComparison;
|
|
966
974
|
private schemaVerificationContextKey;
|
|
@@ -1412,6 +1420,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1412
1420
|
private route?;
|
|
1413
1421
|
private logger?;
|
|
1414
1422
|
private analyticsStatsApi?;
|
|
1423
|
+
private readonly microTooltipOverlay;
|
|
1424
|
+
private readonly microTooltipHostRef;
|
|
1425
|
+
private readonly microTooltipCleanup;
|
|
1415
1426
|
activeRowOverflowMenuTrigger?: MatMenuTrigger;
|
|
1416
1427
|
private activeRowOverflowMenuTriggerElement?;
|
|
1417
1428
|
private activeRowOverflowMenuRow?;
|
|
@@ -1454,6 +1465,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1454
1465
|
private hostInputConfig?;
|
|
1455
1466
|
private persistedUserConfig?;
|
|
1456
1467
|
resourcePath: string;
|
|
1468
|
+
/** Read-only collection operation materialized from backend discovery. */
|
|
1469
|
+
collectionSurface: ResourceSurfaceCatalogItem | null;
|
|
1457
1470
|
data: any[] | null;
|
|
1458
1471
|
tableId: string;
|
|
1459
1472
|
componentInstanceId?: string;
|
|
@@ -1468,6 +1481,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1468
1481
|
crudContext: any;
|
|
1469
1482
|
filterCriteria: Record<string, any>;
|
|
1470
1483
|
readonly filterCriteriaChange: EventEmitter<Record<string, any>>;
|
|
1484
|
+
readonly discoveredQuickFiltersChange: EventEmitter<NormalizedPraxisResourceQuickFilter[]>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Quando `true`, um host (ex.: `praxis-crud` com scope-bar ou `praxis-resource-page`) é o dono do
|
|
1487
|
+
* escopo padrão (`isDefault`) dos filtros rápidos descobertos e o propaga via `[filterCriteria]`.
|
|
1488
|
+
* A tabela então apenas emite `discoveredQuickFiltersChange` sem aplicar o padrão internamente.
|
|
1489
|
+
*/
|
|
1490
|
+
hostOwnsDefaultQuickFilter: boolean;
|
|
1471
1491
|
private _filterTeleport;
|
|
1472
1492
|
set filterTeleport(value: boolean);
|
|
1473
1493
|
get filterTeleport(): boolean;
|
|
@@ -1635,6 +1655,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1635
1655
|
private rowDiscoveryActivePrefetchRequests;
|
|
1636
1656
|
private rowDiscoveryEpoch;
|
|
1637
1657
|
private rowDiscoveryMarkForCheckScheduled;
|
|
1658
|
+
private pendingRowDiscoveryRefresh?;
|
|
1638
1659
|
private pendingMarkForCheckRows;
|
|
1639
1660
|
private lastRowDiscoveryScopeKey;
|
|
1640
1661
|
private readonly i18n;
|
|
@@ -2413,6 +2434,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2413
2434
|
label: string;
|
|
2414
2435
|
filter: Record<string, unknown>;
|
|
2415
2436
|
icon?: string;
|
|
2437
|
+
tone?: PraxisQuickFilterTone;
|
|
2438
|
+
isDefault?: boolean;
|
|
2439
|
+
description?: string;
|
|
2440
|
+
tooltip?: string;
|
|
2441
|
+
order?: number;
|
|
2416
2442
|
}>;
|
|
2417
2443
|
getQuickFilterManagedFields(): string[];
|
|
2418
2444
|
private parseQuickFilterDefinition;
|
|
@@ -2422,6 +2448,20 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2422
2448
|
private clearQuickFilterRuntimeState;
|
|
2423
2449
|
private hasEquivalentFilterCriteria;
|
|
2424
2450
|
private lastAppliedFilterCriteria;
|
|
2451
|
+
private hierarchySnapshot;
|
|
2452
|
+
private hierarchyTitleField;
|
|
2453
|
+
private hierarchyTenant;
|
|
2454
|
+
private clearHierarchySnapshot;
|
|
2455
|
+
getHierarchyCell(row: Record<string, unknown>, column: ColumnDefinition): {
|
|
2456
|
+
indent: number;
|
|
2457
|
+
children: number | null;
|
|
2458
|
+
leaf: boolean | null;
|
|
2459
|
+
focusPath: string | null;
|
|
2460
|
+
} | null;
|
|
2461
|
+
hierarchyText(key: 'focus' | 'root' | 'navigation' | 'children'): string;
|
|
2462
|
+
get focusedSubtree(): string | null;
|
|
2463
|
+
focusSubtree(path: string | null): void;
|
|
2464
|
+
private getSubtreeFilterField;
|
|
2425
2465
|
applyAdvancedFilterCriteria(criteria: Record<string, any> | null | undefined, reason?: string): void;
|
|
2426
2466
|
private setAdvancedFilterCriteria;
|
|
2427
2467
|
private syncAdvancedFilterValueFromCriteria;
|
|
@@ -2571,6 +2611,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2571
2611
|
* nunca pode ser substituído pelo consumidor.
|
|
2572
2612
|
*/
|
|
2573
2613
|
private projectSchemaColumns;
|
|
2614
|
+
private toTableEditorConfig;
|
|
2574
2615
|
/**
|
|
2575
2616
|
* Converte a configuração materializada usada pelo renderer de volta ao
|
|
2576
2617
|
* contrato compacto e persistível. O schema continua sendo a fonte
|
|
@@ -2645,6 +2686,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2645
2686
|
private resolveRowDiscoveryRuntimeStatus;
|
|
2646
2687
|
private resolveRowDiscoveryRuntimeStatusRaw;
|
|
2647
2688
|
private getRowContextRuntimeState;
|
|
2689
|
+
private scheduleExpiredRowDiscovery;
|
|
2648
2690
|
private buildRowContextRuntimeState;
|
|
2649
2691
|
private resolveRowContextRuntimeValidUntil;
|
|
2650
2692
|
private resolveRowDiscoveryRelValidUntil;
|
|
@@ -2884,6 +2926,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2884
2926
|
private readonly microVisualizationPageBoundsCache;
|
|
2885
2927
|
getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
|
|
2886
2928
|
private createMicroVisualizationValueFormatter;
|
|
2929
|
+
onMicroTooltipPointerOver(event: Event): void;
|
|
2930
|
+
onMicroTooltipPointerOut(event: Event): void;
|
|
2931
|
+
onMicroTooltipFocusIn(event: Event): void;
|
|
2932
|
+
onMicroTooltipFocusOut(event: Event): void;
|
|
2887
2933
|
private resolveMicroVisualizationForRow;
|
|
2888
2934
|
private resolvePageMicroVisualizationBounds;
|
|
2889
2935
|
private applyMicroVisualizationExpression;
|
|
@@ -3086,7 +3132,6 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
3086
3132
|
private estimateInlineActionsLimit;
|
|
3087
3133
|
private parsePixelWidth;
|
|
3088
3134
|
private getViewportWidth;
|
|
3089
|
-
private splitVisibleRowActions;
|
|
3090
3135
|
getInlineRowActions(row: any): any[];
|
|
3091
3136
|
getOverflowRowActions(row: any): any[];
|
|
3092
3137
|
hasOverflowRowActions(row: any): boolean;
|
|
@@ -3149,7 +3194,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
3149
3194
|
private scheduleRowDiscoveryMarkForCheck;
|
|
3150
3195
|
ngOnDestroy(): void;
|
|
3151
3196
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTable, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3152
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "authoringCapability": { "alias": "authoringCapability"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "filterCriteriaChange": "filterCriteriaChange"; "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "resourceEvent": "resourceEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "columnResize": "columnResize"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
3197
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "collectionSurface": { "alias": "collectionSurface"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "hostOwnsDefaultQuickFilter": { "alias": "hostOwnsDefaultQuickFilter"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "authoringCapability": { "alias": "authoringCapability"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "filterCriteriaChange": "filterCriteriaChange"; "discoveredQuickFiltersChange": "discoveredQuickFiltersChange"; "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "resourceEvent": "resourceEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "columnResize": "columnResize"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
3198
|
+
static ngAcceptInputType_hostOwnsDefaultQuickFilter: unknown;
|
|
3153
3199
|
static ngAcceptInputType_filterTeleport: unknown;
|
|
3154
3200
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
3155
3201
|
}
|
|
@@ -4963,12 +5009,7 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4963
5009
|
get toolbarShowAdvancedButton(): boolean;
|
|
4964
5010
|
get advancedFilterShowAddButton(): boolean;
|
|
4965
5011
|
get advancedFilterShowFilterSettings(): boolean;
|
|
4966
|
-
get toolbarQuickFilters():
|
|
4967
|
-
id: string;
|
|
4968
|
-
label: string;
|
|
4969
|
-
icon?: string;
|
|
4970
|
-
filter: any;
|
|
4971
|
-
}>;
|
|
5012
|
+
get toolbarQuickFilters(): PraxisResourceQuickFilter[];
|
|
4972
5013
|
get duplicatedQuickFilterInlineFields(): string[];
|
|
4973
5014
|
private inferDefaultStatusFilterField;
|
|
4974
5015
|
getQuickFilterValueOptions(fieldName: string, currentValue?: unknown): Array<{
|
|
@@ -4988,18 +5029,40 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4988
5029
|
id?: string;
|
|
4989
5030
|
label?: string;
|
|
4990
5031
|
icon?: string;
|
|
5032
|
+
tone?: PraxisQuickFilterTone | '';
|
|
5033
|
+
isDefault?: boolean;
|
|
5034
|
+
description?: string;
|
|
5035
|
+
order?: number | string | null;
|
|
4991
5036
|
}): void;
|
|
5037
|
+
private normalizeEditorQuickFilterObject;
|
|
5038
|
+
private resolveQuickFilterFieldValueKind;
|
|
5039
|
+
private resolveQuickFilterArrayItemKind;
|
|
5040
|
+
private coerceQuickFilterScalarByKind;
|
|
5041
|
+
private inferCriterionMode;
|
|
5042
|
+
getQuickFilterCriteriaEntries(item: {
|
|
5043
|
+
filter?: any;
|
|
5044
|
+
}): Array<{
|
|
5045
|
+
field: string;
|
|
5046
|
+
value: any;
|
|
5047
|
+
mode: 'boolean' | 'equals' | 'in';
|
|
5048
|
+
}>;
|
|
5049
|
+
formatQuickFilterArrayValue(value: unknown): string;
|
|
4992
5050
|
getQuickFilterMode(item: {
|
|
4993
5051
|
filter?: any;
|
|
4994
|
-
}): 'all' | 'boolean' | 'equals';
|
|
5052
|
+
}): 'all' | 'boolean' | 'equals' | 'in';
|
|
4995
5053
|
getQuickFilterField(item: {
|
|
4996
5054
|
filter?: any;
|
|
4997
|
-
}): string;
|
|
5055
|
+
}, criterionIndex?: number): string;
|
|
4998
5056
|
getQuickFilterValue(item: {
|
|
4999
5057
|
filter?: any;
|
|
5000
|
-
}): any;
|
|
5001
|
-
|
|
5058
|
+
}, criterionIndex?: number): any;
|
|
5059
|
+
addQuickFilterCriterion(qfIndex: number): void;
|
|
5060
|
+
removeQuickFilterCriterion(qfIndex: number, criterionIndex: number): void;
|
|
5061
|
+
onQuickFilterCriterionModeChange(qfIndex: number, criterionIndex: number, mode: 'boolean' | 'equals' | 'in'): void;
|
|
5062
|
+
onQuickFilterModeChange(index: number, mode: 'all' | 'boolean' | 'equals' | 'in'): void;
|
|
5063
|
+
onQuickFilterCriterionFieldChange(qfIndex: number, criterionIndex: number, fieldName: string): void;
|
|
5002
5064
|
onQuickFilterFieldChange(index: number, fieldName: string): void;
|
|
5065
|
+
onQuickFilterCriterionValueChange(qfIndex: number, criterionIndex: number, rawValue: any): void;
|
|
5003
5066
|
onQuickFilterValueChange(index: number, rawValue: any): void;
|
|
5004
5067
|
consolidateDuplicateInlineFilterFields(): void;
|
|
5005
5068
|
getEffectiveDataMode(): EffectiveDataMode;
|
|
@@ -5323,10 +5386,12 @@ interface PraxisScopeBarItem {
|
|
|
5323
5386
|
label: string;
|
|
5324
5387
|
filter?: Record<string, unknown> | string;
|
|
5325
5388
|
count?: number | null;
|
|
5389
|
+
badge?: string | number;
|
|
5326
5390
|
icon?: string;
|
|
5327
|
-
tone?:
|
|
5391
|
+
tone?: PraxisQuickFilterTone;
|
|
5328
5392
|
isDefault?: boolean;
|
|
5329
5393
|
tooltip?: string;
|
|
5394
|
+
description?: string;
|
|
5330
5395
|
}
|
|
5331
5396
|
interface PraxisScopeBarActiveBadge {
|
|
5332
5397
|
key: string;
|
|
@@ -5415,6 +5480,11 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
5415
5480
|
readonly activeFilterCount: i0.Signal<number>;
|
|
5416
5481
|
ngOnInit(): void;
|
|
5417
5482
|
isItemActive(item: PraxisScopeBarItem): boolean;
|
|
5483
|
+
/**
|
|
5484
|
+
* Roving tabindex do radiogroup: o item ativo recebe foco; sem item ativo (ex.: filtro inline
|
|
5485
|
+
* sobrescreveu o escopo) o primeiro item permanece alcançável por Tab.
|
|
5486
|
+
*/
|
|
5487
|
+
isItemFocusable(item: PraxisScopeBarItem, index: number): boolean;
|
|
5418
5488
|
selectScope(item: PraxisScopeBarItem): void;
|
|
5419
5489
|
onSearchInput(event: Event): void;
|
|
5420
5490
|
clearSearch(): void;
|
|
@@ -6273,6 +6343,34 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
6273
6343
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
6274
6344
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
6275
6345
|
|
|
6346
|
+
interface ResolvedCalculationStepViewModel {
|
|
6347
|
+
role: PraxisAnalyticalDrawerCalculationStepRole;
|
|
6348
|
+
label: string;
|
|
6349
|
+
operator: string;
|
|
6350
|
+
value: string;
|
|
6351
|
+
hint?: string;
|
|
6352
|
+
icon?: string;
|
|
6353
|
+
tone: string;
|
|
6354
|
+
}
|
|
6355
|
+
interface ResolvedCalculationTrailViewModel {
|
|
6356
|
+
id: string;
|
|
6357
|
+
title: string;
|
|
6358
|
+
subtitle?: string;
|
|
6359
|
+
icon: string;
|
|
6360
|
+
ruleCode?: string;
|
|
6361
|
+
formula?: string;
|
|
6362
|
+
steps: ResolvedCalculationStepViewModel[];
|
|
6363
|
+
legalBasis?: string;
|
|
6364
|
+
legalPurpose?: string;
|
|
6365
|
+
}
|
|
6366
|
+
interface ResolvedCalculationMemorySectionViewModel {
|
|
6367
|
+
title?: string;
|
|
6368
|
+
subtitle?: string;
|
|
6369
|
+
icon: string;
|
|
6370
|
+
legalBasis?: string;
|
|
6371
|
+
emptyText?: string;
|
|
6372
|
+
trails: ResolvedCalculationTrailViewModel[];
|
|
6373
|
+
}
|
|
6276
6374
|
declare function isAnalyticalDrawerSchema(schema: unknown): schema is PraxisAnalyticalDrawerSchema;
|
|
6277
6375
|
declare function interpolateRelationEndpoint(endpoint: string, row: Record<string, unknown> | null | undefined): {
|
|
6278
6376
|
url: string;
|
|
@@ -6319,6 +6417,10 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6319
6417
|
private readonly runtimeContext;
|
|
6320
6418
|
private readonly sanitizer;
|
|
6321
6419
|
private readonly formattingService;
|
|
6420
|
+
private readonly hostRef;
|
|
6421
|
+
private readonly microTooltipOverlay;
|
|
6422
|
+
private readonly i18n;
|
|
6423
|
+
private readonly angularLocale;
|
|
6322
6424
|
private relationSubs;
|
|
6323
6425
|
private schemaSub?;
|
|
6324
6426
|
private contextSub?;
|
|
@@ -6336,9 +6438,17 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6336
6438
|
ngOnInit(): void;
|
|
6337
6439
|
ngOnChanges(changes: SimpleChanges): void;
|
|
6338
6440
|
ngOnDestroy(): void;
|
|
6441
|
+
protected onMicroVizPointerOver(event: Event): void;
|
|
6442
|
+
protected onMicroVizPointerOut(event: Event): void;
|
|
6443
|
+
protected onMicroVizFocusIn(event: Event): void;
|
|
6444
|
+
protected onMicroVizFocusOut(event: Event): void;
|
|
6445
|
+
private dismissOwnedMicroTooltip;
|
|
6339
6446
|
getEffectiveDrawerConfig(): TableDrawerConfig | null;
|
|
6340
6447
|
private mergeTabs;
|
|
6341
6448
|
private resolveRemoteDrawerMetadata;
|
|
6449
|
+
private shouldHydrateRemoteCalculationMemory;
|
|
6450
|
+
private hasCalculationMemoryConfigured;
|
|
6451
|
+
private mergeRemoteCalculationMemory;
|
|
6342
6452
|
protected onClose(): void;
|
|
6343
6453
|
protected onBackdropClick(event: MouseEvent): void;
|
|
6344
6454
|
protected selectTab(tabId: string): void;
|
|
@@ -6363,6 +6473,17 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6363
6473
|
protected isPropertyGrid(content: unknown): boolean;
|
|
6364
6474
|
protected asPropertyGrid(content: unknown): any[];
|
|
6365
6475
|
protected isArray(val: unknown): boolean;
|
|
6476
|
+
protected isCalculationMemoryContent(content: unknown): boolean;
|
|
6477
|
+
protected hasRootCalculationMemory(): boolean;
|
|
6478
|
+
protected resolveRootCalculationMemorySection(): ResolvedCalculationMemorySectionViewModel | null;
|
|
6479
|
+
protected resolveCalculationMemorySection(raw: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[] | unknown): ResolvedCalculationMemorySectionViewModel | null;
|
|
6480
|
+
private isCalculationTrailVisible;
|
|
6481
|
+
private resolveCalculationTrail;
|
|
6482
|
+
private resolveCalculationSteps;
|
|
6483
|
+
private evaluateAndFormatCalculationValue;
|
|
6484
|
+
private parsePrecisionDigits;
|
|
6485
|
+
private evalRawExpression;
|
|
6486
|
+
private evalStringText;
|
|
6366
6487
|
protected evaluateAndFormatMetric(item: any): string;
|
|
6367
6488
|
protected evaluatePropertyValue(item: any): string;
|
|
6368
6489
|
private readonly microVizSafeHtmlCache;
|
|
@@ -6371,6 +6492,7 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6371
6492
|
private fetchConfiguredRelations;
|
|
6372
6493
|
private invalidateRelations;
|
|
6373
6494
|
private cancelRelationRequests;
|
|
6495
|
+
private postCanonicalFilterRelation;
|
|
6374
6496
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
|
|
6375
6497
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisAnalyticalDrawerComponent, "praxis-analytical-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "drawerConfig": { "alias": "drawerConfig"; "required": false; }; "row": { "alias": "row"; "required": false; }; "relations": { "alias": "relations"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; }, never, never, true, never>;
|
|
6376
6498
|
}
|
|
@@ -6445,4 +6567,4 @@ declare function materializeTablePageRuntimeInputs(value: unknown, pageId: strin
|
|
|
6445
6567
|
declare const TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER: GovernedPagePreviewWidgetAdapter;
|
|
6446
6568
|
|
|
6447
6569
|
export { ANALYTICS_TABLE_ROW_KEY_FIELD, AnalyticalDrawerRegistryService, AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, PRAXIS_FILTER_AUTHORING_MANIFEST, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisAnalyticalDrawerComponent, PraxisFilter, PraxisFilterOutletComponent, PraxisFilterOutletDirective, PraxisFilterWidgetConfigEditor, PraxisScopeBarComponent, PraxisTable, PraxisTableConfigEditor, PraxisTableInlineAuthoringEditorComponent, PraxisTableToolbar, PraxisTableWidgetConfigEditor, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, TABLE_COMPONENT_EDIT_PLAN_KIND, TABLE_COMPONENT_EDIT_PLAN_VERSION, TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, analyticsComparisonMetricField, applyComputedFieldsToRows, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, decodeTablePageInputs, encodeTablePageInputs, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, materializeTablePageRuntimeInputs, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, projectTablePageEditorChanges, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument, validateTablePageWidget };
|
|
6448
|
-
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, 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, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|
|
6570
|
+
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, 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, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResolvedCalculationMemorySectionViewModel, ResolvedCalculationStepViewModel, ResolvedCalculationTrailViewModel, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|