@praxisui/table 10.0.0-rc.7 → 10.0.0-rc.70
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 +151 -12
- package/ai/component-registry.json +4420 -354
- package/docs/adr/2026-07-table-rich-cells-governance.md +5 -4
- package/docs/column-resize-reorder-implementation-plan.md +3 -3
- package/docs/column-resize-reorder-review-prompt.md +1 -1
- package/docs/dynamic-filter-host-integration-guide.md +49 -2
- package/docs/dynamic-filter-payload-contract.md +29 -6
- package/docs/dynamic-filter-range-filters-guide.md +125 -13
- package/docs/governed-page-widget-adapter.md +55 -0
- package/docs/local-data-mode-precedence.md +21 -0
- package/docs/performance-hardening-v2-implementation-plan.md +20 -20
- package/docs/table-bottom-detail-progress.md +2 -2
- package/fesm2022/praxisui-table-authoring.mjs +848 -161
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DANYIQs6.mjs → praxisui-table-filter-form-dialog-host.component-Bma0HFxL.mjs} +61 -11
- package/fesm2022/{praxisui-table-praxisui-table-BIRFv2S8.mjs → praxisui-table-praxisui-table-RMFD8fVf.mjs} +22142 -2773
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DtOwXgFW.mjs → praxisui-table-table-agentic-authoring-turn-flow-CD0LWYed.mjs} +2 -2
- package/fesm2022/{praxisui-table-table-ai.adapter-25xtoiWq.mjs → praxisui-table-table-ai.adapter-CoaQ1lzG.mjs} +13 -7
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +58 -18
- package/types/praxisui-table-authoring.d.ts +30 -2
- package/types/praxisui-table.d.ts +1223 -129
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
|
|
3
1
|
import * as _praxisui_core from '@praxisui/core';
|
|
4
|
-
import { 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, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState,
|
|
2
|
+
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisAnalyticsSuppressionMetadata, PraxisAnalyticsStatsResultEnvelope, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, DomainCatalogResourceFactMetadata, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, PraxisPresentationVisualizationConfig, 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, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisEpistemicMeta, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisTranslationParams, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
|
|
5
3
|
export { DynamicDataCollection, DynamicDataRecord, DynamicRecordMeta, ResourceLinkItem, ResourceLinks, createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
|
|
6
6
|
import { ActivatedRoute } from '@angular/router';
|
|
7
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
8
7
|
import { MatTable, MatTableDataSource } from '@angular/material/table';
|
|
9
8
|
import * as _angular_material_paginator from '@angular/material/paginator';
|
|
10
9
|
import { MatPaginatorSelectConfig, MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
@@ -40,6 +39,32 @@ interface TableCollectionOutcome {
|
|
|
40
39
|
}>;
|
|
41
40
|
}
|
|
42
41
|
|
|
42
|
+
interface TableBulkSyncSelection {
|
|
43
|
+
id: BulkWireId;
|
|
44
|
+
links: RestApiLinks;
|
|
45
|
+
}
|
|
46
|
+
/** Detached, one-invocation context owned by the table. */
|
|
47
|
+
interface TableBulkSyncContext {
|
|
48
|
+
resourcePath: string;
|
|
49
|
+
resourceKey: string;
|
|
50
|
+
tableId: string;
|
|
51
|
+
identityPath: string;
|
|
52
|
+
contract: BulkExecutionContract;
|
|
53
|
+
options?: ResourceDiscoveryRequestOptions;
|
|
54
|
+
selection: readonly TableBulkSyncSelection[];
|
|
55
|
+
}
|
|
56
|
+
/** Private, table-owned custody for one evaluated intent in this component instance. */
|
|
57
|
+
interface TableBulkSyncHandle {
|
|
58
|
+
context: TableBulkSyncContext;
|
|
59
|
+
session: BulkSyncSession;
|
|
60
|
+
confirmationKey: string | null;
|
|
61
|
+
/** Await an already dispatched session request before a remount authorizes projections. */
|
|
62
|
+
pendingSessionWork?: Promise<unknown> | null;
|
|
63
|
+
requestedChanges: readonly BulkFieldChange[] | null;
|
|
64
|
+
enterpriseIdentity: string | undefined;
|
|
65
|
+
operationalIdentity: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
43
68
|
interface ActionLike {
|
|
44
69
|
action?: string;
|
|
45
70
|
id?: string;
|
|
@@ -67,7 +92,7 @@ interface PraxisTableQueryContextClearEvent {
|
|
|
67
92
|
remainingFilters?: Record<string, unknown>;
|
|
68
93
|
remainingFilterCount?: number;
|
|
69
94
|
tableId?: string;
|
|
70
|
-
source?: 'toolbar-chip';
|
|
95
|
+
source?: 'toolbar-chip' | 'quick-filter' | 'advanced-filter';
|
|
71
96
|
}
|
|
72
97
|
declare const PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS: Record<string, TableToolbarAppearanceConfig>;
|
|
73
98
|
declare const PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE: InjectionToken<TableToolbarAppearanceConfig>;
|
|
@@ -81,11 +106,12 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
81
106
|
private tokenPresets?;
|
|
82
107
|
private toolbarRoot?;
|
|
83
108
|
private toolbarIdentity?;
|
|
109
|
+
private toolbarScope?;
|
|
84
110
|
private fullActionsGroup?;
|
|
85
111
|
private endActionsGroup?;
|
|
86
112
|
activeOverflowMenuTrigger?: MatMenuTrigger;
|
|
87
113
|
private activeOverflowMenuTriggerElement?;
|
|
88
|
-
readonly actionsCompacted:
|
|
114
|
+
readonly actionsCompacted: _angular_core.WritableSignal<boolean>;
|
|
89
115
|
private actionCapacityObserver?;
|
|
90
116
|
private actionCapacityMutationObserver?;
|
|
91
117
|
private actionCapacityFrame;
|
|
@@ -105,6 +131,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
105
131
|
activeQuickFilterId: string | null;
|
|
106
132
|
activeDensity: TableToolbarAppearanceDensity | null;
|
|
107
133
|
activeCrossFilters: PraxisTableCrossFilterItem[];
|
|
134
|
+
lockedFilterFields: readonly string[] | null | undefined;
|
|
108
135
|
/** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
|
|
109
136
|
columnVisibilityController?: (field: string, visible: boolean) => void;
|
|
110
137
|
readonly clearCrossFilter: EventEmitter<PraxisTableCrossFilterItem>;
|
|
@@ -172,8 +199,9 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
172
199
|
label: string;
|
|
173
200
|
filter: Record<string, unknown>;
|
|
174
201
|
icon?: string;
|
|
202
|
+
tone?: PraxisQuickFilterTone;
|
|
203
|
+
tooltip?: string;
|
|
175
204
|
}>;
|
|
176
|
-
private normalizeQuickFilterExpression;
|
|
177
205
|
shouldShowQuickFilters(): boolean;
|
|
178
206
|
getQuickFiltersLabel(): string;
|
|
179
207
|
getQuickFilterLabel(filter: {
|
|
@@ -216,6 +244,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
216
244
|
private scheduleActionCapacityCheck;
|
|
217
245
|
private updateActionCapacity;
|
|
218
246
|
private getIdentityRequiredWidth;
|
|
247
|
+
private getScopeRequiredWidth;
|
|
219
248
|
private readPixelValue;
|
|
220
249
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
221
250
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -224,6 +253,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
224
253
|
getToolbarLayoutAlignment(): 'start' | 'center' | 'end' | 'space-between';
|
|
225
254
|
getToolbarLayoutPadding(): string | null;
|
|
226
255
|
shouldShowLayoutSeparator(): boolean;
|
|
256
|
+
hasExplicitToolbarFrameToken(): boolean;
|
|
227
257
|
getToolbarToken(name: TableToolbarTokenName): string | null;
|
|
228
258
|
private resolveToolbarAppearance;
|
|
229
259
|
private resolveToolbarAppearancePreset;
|
|
@@ -292,8 +322,8 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
292
322
|
private warnShortcutConflict;
|
|
293
323
|
private sortActions;
|
|
294
324
|
getExportIcon(format: string): string;
|
|
295
|
-
static ɵfac:
|
|
296
|
-
static ɵcmp:
|
|
325
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableToolbar, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
326
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "focusScope": { "alias": "focusScope"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "exportStatusMessage": { "alias": "exportStatusMessage"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; "activeQuickFilterId": { "alias": "activeQuickFilterId"; "required": false; }; "activeDensity": { "alias": "activeDensity"; "required": false; }; "activeCrossFilters": { "alias": "activeCrossFilters"; "required": false; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "required": false; }; "columnVisibilityController": { "alias": "columnVisibilityController"; "required": false; }; }, { "clearCrossFilter": "clearCrossFilter"; "clearAllCrossFilters": "clearAllCrossFilters"; "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; "columnVisibilityToggle": "columnVisibilityToggle"; "quickFilterChange": "quickFilterChange"; "densityChange": "densityChange"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
297
327
|
}
|
|
298
328
|
|
|
299
329
|
type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
|
|
@@ -397,6 +427,7 @@ declare class DataFormattingService {
|
|
|
397
427
|
private parseDateOnlyString;
|
|
398
428
|
private normalizeNumericDateInput;
|
|
399
429
|
private formatDate;
|
|
430
|
+
private stripNumericFormatFlags;
|
|
400
431
|
private formatNumber;
|
|
401
432
|
private formatCurrency;
|
|
402
433
|
private formatPercentage;
|
|
@@ -415,8 +446,8 @@ declare class DataFormattingService {
|
|
|
415
446
|
private normalizeNumericInput;
|
|
416
447
|
private composeNumericParts;
|
|
417
448
|
private escapeRegExp;
|
|
418
|
-
static ɵfac:
|
|
419
|
-
static ɵprov:
|
|
449
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataFormattingService, never>;
|
|
450
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DataFormattingService>;
|
|
420
451
|
}
|
|
421
452
|
|
|
422
453
|
/**
|
|
@@ -428,11 +459,14 @@ declare class TableDefaultsProvider {
|
|
|
428
459
|
constructor(global: GlobalConfigService);
|
|
429
460
|
/**
|
|
430
461
|
* Returns default configuration for a given table identifier.
|
|
462
|
+
* Precedence inside defaults: GlobalConfig.table > createDefaultTableConfig().
|
|
431
463
|
* @param tableId Table identifier
|
|
432
464
|
*/
|
|
433
|
-
getDefaults(_tableId: string
|
|
434
|
-
|
|
435
|
-
|
|
465
|
+
getDefaults(_tableId: string, options?: {
|
|
466
|
+
includeGlobal?: boolean;
|
|
467
|
+
}): TableConfig;
|
|
468
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDefaultsProvider, never>;
|
|
469
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableDefaultsProvider>;
|
|
436
470
|
}
|
|
437
471
|
|
|
438
472
|
type FilterConfig = {
|
|
@@ -453,6 +487,8 @@ type FilterConfig = {
|
|
|
453
487
|
/** User-selected extra field ids to show before pinned always-visible */
|
|
454
488
|
selectedFieldIds?: string[];
|
|
455
489
|
showAdvanced?: boolean;
|
|
490
|
+
showAddButton?: boolean;
|
|
491
|
+
showFilterSettings?: boolean;
|
|
456
492
|
mode?: 'filter';
|
|
457
493
|
changeDebounceMs?: number;
|
|
458
494
|
allowSaveTags?: boolean;
|
|
@@ -491,6 +527,14 @@ type FilterConfig = {
|
|
|
491
527
|
useInlineTimeRangeVariant?: boolean;
|
|
492
528
|
/** Opt-out para mapear treeSelect/multiSelectTree na variante compacta inline. */
|
|
493
529
|
useInlineTreeSelectVariant?: boolean;
|
|
530
|
+
/** Opt-out para mapear select simples na variante compacta inline. */
|
|
531
|
+
useInlineSelectVariant?: boolean;
|
|
532
|
+
/** Opt-out para mapear multiSelect/chipInput na variante compacta inline. */
|
|
533
|
+
useInlineMultiSelectVariant?: boolean;
|
|
534
|
+
/** Opt-out para mapear input/searchInput na variante compacta inline. */
|
|
535
|
+
useInlineInputVariant?: boolean;
|
|
536
|
+
/** Opt-out para mapear toggle/checkbox/switch na variante compacta inline. */
|
|
537
|
+
useInlineToggleVariant?: boolean;
|
|
494
538
|
overlayVariant?: 'card' | 'frosted';
|
|
495
539
|
overlayBackdrop?: boolean;
|
|
496
540
|
advancedOpenMode?: 'overlay' | 'modal' | 'drawer';
|
|
@@ -517,8 +561,8 @@ declare class FilterConfigService {
|
|
|
517
561
|
* local fallback cache so reset/reopen cannot revive stale preferences.
|
|
518
562
|
*/
|
|
519
563
|
clear(key: string): Promise<void>;
|
|
520
|
-
static ɵfac:
|
|
521
|
-
static ɵprov:
|
|
564
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterConfigService, never>;
|
|
565
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FilterConfigService>;
|
|
522
566
|
}
|
|
523
567
|
|
|
524
568
|
declare const PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION: "praxis.filter-view-context.v1";
|
|
@@ -633,6 +677,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
633
677
|
private componentKeys;
|
|
634
678
|
private route?;
|
|
635
679
|
private logger?;
|
|
680
|
+
private static readonly sharedSchemaMetaCacheByStorage;
|
|
681
|
+
private static readonly schemaMetaPersistenceQueuesByStorage;
|
|
636
682
|
addManagerOrigin?: ElementRef<HTMLButtonElement>;
|
|
637
683
|
addManagerSearch?: PdxCollectionSearchComponent;
|
|
638
684
|
resourcePath: string;
|
|
@@ -656,6 +702,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
656
702
|
/** Enable edit mode (gates notifications) */
|
|
657
703
|
enableCustomization: boolean;
|
|
658
704
|
value?: Record<string, any>;
|
|
705
|
+
lockedFilterFields?: readonly string[] | null;
|
|
659
706
|
alwaysVisibleFields?: string[];
|
|
660
707
|
/**
|
|
661
708
|
* Optional metadata overrides for always-visible fields.
|
|
@@ -675,6 +722,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
675
722
|
changeDebounceMs: number;
|
|
676
723
|
/** Controla a exibição do botão de preferências dentro do filtro */
|
|
677
724
|
showFilterSettings: boolean;
|
|
725
|
+
private hostShowFilterSettings?;
|
|
678
726
|
/** Controla a exibição do botão de filtro avançado */
|
|
679
727
|
showAdvancedButton: boolean;
|
|
680
728
|
/** Projection of FilterConfig.presentation for standalone and embedded hosts. */
|
|
@@ -686,6 +734,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
686
734
|
get advancedActionDisplay(): string;
|
|
687
735
|
/** Controla a exibição do botão de adicionar campos */
|
|
688
736
|
showAddButton: boolean;
|
|
737
|
+
private hostShowAddButton?;
|
|
689
738
|
/** Controla a exibição do botão de limpar filtros */
|
|
690
739
|
showClearButton: boolean;
|
|
691
740
|
/** Controla a exibição do botão de pesquisar/aplicar filtros em fluxos manuais. */
|
|
@@ -869,8 +918,12 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
869
918
|
private logFilterWarn;
|
|
870
919
|
private readonly filterDrawerAdapter;
|
|
871
920
|
private lastSavedConfigJson;
|
|
921
|
+
private hasExplicitEmptyAlwaysVisibleInput;
|
|
872
922
|
private setSchemaLoading;
|
|
873
923
|
private setActiveFiltersCount;
|
|
924
|
+
private getLockedFilterFieldsSet;
|
|
925
|
+
isLockedFilterField(fieldName: string): boolean;
|
|
926
|
+
private countActiveUnlockedFilters;
|
|
874
927
|
private loadSavedTagsFromStorage;
|
|
875
928
|
private resolveInputDto;
|
|
876
929
|
private emitSubmitDto;
|
|
@@ -897,6 +950,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
897
950
|
private areMetadataOverrideMapsEqual;
|
|
898
951
|
/** Force-sync settings coming from parent table config updates. */
|
|
899
952
|
applyExternalSettings(cfg?: Partial<FilterConfig>): void;
|
|
953
|
+
private activeFilterSettingsRef?;
|
|
954
|
+
private activeFieldEditorRef?;
|
|
900
955
|
openSettings(): void;
|
|
901
956
|
createTag(label?: string): void;
|
|
902
957
|
renameTag(tag: FilterTag, label?: string): void;
|
|
@@ -913,11 +968,14 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
913
968
|
private toSchemaIdContext;
|
|
914
969
|
private resetSchemaStateForContextChange;
|
|
915
970
|
private clearSchemaMetaPersistence;
|
|
971
|
+
private getSharedSchemaMetaCache;
|
|
972
|
+
private getSchemaMetaPersistenceQueues;
|
|
916
973
|
private clearConfigStorageKey;
|
|
917
974
|
private loadStoredSchemaMeta;
|
|
918
975
|
private rememberSchemaMetaContext;
|
|
919
976
|
private ensureSchemaMetaIndexLoaded;
|
|
920
977
|
private saveStoredSchemaMeta;
|
|
978
|
+
private reconcileSchemaMetaSave;
|
|
921
979
|
private stableSerialize;
|
|
922
980
|
private normalizeStoredSchemaMetaForComparison;
|
|
923
981
|
private schemaVerificationContextKey;
|
|
@@ -941,10 +999,15 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
941
999
|
*/
|
|
942
1000
|
private restartSchemaLoadForCurrentContext;
|
|
943
1001
|
retrySchemaLoad(): void;
|
|
1002
|
+
/** Clears cached filter schema state and reloads metadata from the server. */
|
|
1003
|
+
reloadSchema(): void;
|
|
1004
|
+
private shouldAutoPopulateStandaloneFilterFields;
|
|
1005
|
+
private pickDefaultStandaloneFilterMetas;
|
|
944
1006
|
private applySchemaMetas;
|
|
945
1007
|
private applySchemaMetasNow;
|
|
946
1008
|
private withFilterMaterialDesignPolicy;
|
|
947
1009
|
private withAdvancedDatePickerTouchPolicy;
|
|
1010
|
+
private withAdvancedEntityLookupPresentationPolicy;
|
|
948
1011
|
private isAdvancedDatePickerControl;
|
|
949
1012
|
private buildAdvancedFilterColumn;
|
|
950
1013
|
private isLongTextFilterField;
|
|
@@ -1093,7 +1156,10 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
1093
1156
|
private normalizeFilterFieldValue;
|
|
1094
1157
|
private getFilterFieldMetaByName;
|
|
1095
1158
|
private isEntityLookupFilterField;
|
|
1159
|
+
private isIncompleteInlineDateRangeValue;
|
|
1096
1160
|
private isEffectivelyEmptyFilterValue;
|
|
1161
|
+
private areControlValuesEquivalent;
|
|
1162
|
+
private projectQueryPayload;
|
|
1097
1163
|
private syncFormsToDto;
|
|
1098
1164
|
private updateDisplayedTags;
|
|
1099
1165
|
private normalizeMode;
|
|
@@ -1101,8 +1167,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
1101
1167
|
onGlobalKeydown(event: KeyboardEvent): void;
|
|
1102
1168
|
private isEditableElement;
|
|
1103
1169
|
private focusQuick;
|
|
1104
|
-
static ɵfac:
|
|
1105
|
-
static ɵcmp:
|
|
1170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
1171
|
+
static ɵcmp: _angular_core.ɵɵ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; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "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; }; "presentation": { "alias": "presentation"; "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"; "contextChange": "contextChange"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
|
|
1106
1172
|
}
|
|
1107
1173
|
|
|
1108
1174
|
declare const PRAXIS_FILTER_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -1115,6 +1181,18 @@ type AnalyticsTableContractSource = 'remote' | 'fallback';
|
|
|
1115
1181
|
* It is intentionally not materialized as a visible table column.
|
|
1116
1182
|
*/
|
|
1117
1183
|
declare const ANALYTICS_TABLE_ROW_KEY_FIELD = "__praxisAnalyticsKey";
|
|
1184
|
+
interface AnalyticsTableRowMetadata {
|
|
1185
|
+
primaryKey?: string | number | boolean | null;
|
|
1186
|
+
secondaryKey?: string | number | boolean | null;
|
|
1187
|
+
keys?: ReadonlyArray<string | number | boolean | null>;
|
|
1188
|
+
from?: number | string | null;
|
|
1189
|
+
to?: number | string | null;
|
|
1190
|
+
suppressed?: boolean;
|
|
1191
|
+
state?: string | null;
|
|
1192
|
+
count?: number | null;
|
|
1193
|
+
}
|
|
1194
|
+
declare function attachAnalyticsTableRowMetadata<T extends AnalyticsTableRow>(row: T, metadata: AnalyticsTableRowMetadata | null | undefined): T;
|
|
1195
|
+
declare function readAnalyticsTableRowMetadata(row: unknown): AnalyticsTableRowMetadata | null;
|
|
1118
1196
|
type AnalyticsComparisonMetricValueKind = 'current' | 'previous' | 'delta' | 'deltaPercent' | 'baselineMissing';
|
|
1119
1197
|
/** Returns the deterministic local-data field for one comparison metric value. */
|
|
1120
1198
|
declare function analyticsComparisonMetricField(metricField: string, valueKind: AnalyticsComparisonMetricValueKind): string;
|
|
@@ -1144,13 +1222,25 @@ interface AnalyticsTableContractLoadResult<TKey extends string = string> {
|
|
|
1144
1222
|
errors: Partial<Record<TKey, string>>;
|
|
1145
1223
|
}
|
|
1146
1224
|
|
|
1225
|
+
type AnalyticsTableRawStatsResponse = object;
|
|
1226
|
+
interface AnalyticsTableRawStatsResult {
|
|
1227
|
+
operation: PraxisAnalyticsProjection['source']['operation'];
|
|
1228
|
+
data: AnalyticsTableRawStatsResponse | null | undefined;
|
|
1229
|
+
suppressionMetadata?: PraxisAnalyticsSuppressionMetadata | null;
|
|
1230
|
+
}
|
|
1147
1231
|
declare class AnalyticsTableStatsApiService {
|
|
1148
1232
|
private readonly http;
|
|
1149
1233
|
private readonly apiUrl;
|
|
1150
1234
|
private readonly statsBuilder;
|
|
1151
1235
|
constructor(http: HttpClient, apiUrl: ApiUrlConfig);
|
|
1236
|
+
executeRaw(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRawStatsResult>;
|
|
1237
|
+
mapRawResponseToRows(projection: PraxisAnalyticsProjection, raw: AnalyticsTableRawStatsResult | null | undefined): AnalyticsTableRow[];
|
|
1152
1238
|
execute(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRow[]>;
|
|
1239
|
+
/** Executes a stats projection returning rows alongside LGPD suppression metadata across all 4 operations. */
|
|
1240
|
+
executeWithMetadata(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<PraxisAnalyticsStatsResultEnvelope<AnalyticsTableRow>>;
|
|
1153
1241
|
private toTableRows;
|
|
1242
|
+
private projectDimensionValues;
|
|
1243
|
+
private resolveDimensionBucketLabel;
|
|
1154
1244
|
private resolveTimeSeriesCategory;
|
|
1155
1245
|
private resolveBucketCategory;
|
|
1156
1246
|
private resolveBucketKey;
|
|
@@ -1161,8 +1251,8 @@ declare class AnalyticsTableStatsApiService {
|
|
|
1161
1251
|
private buildStatsUrl;
|
|
1162
1252
|
private applyQueryContext;
|
|
1163
1253
|
private normalizeError;
|
|
1164
|
-
static ɵfac:
|
|
1165
|
-
static ɵprov:
|
|
1254
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableStatsApiService, never>;
|
|
1255
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableStatsApiService>;
|
|
1166
1256
|
}
|
|
1167
1257
|
|
|
1168
1258
|
/**
|
|
@@ -1234,6 +1324,8 @@ type SchemaFieldHint = {
|
|
|
1234
1324
|
type FilterSchemaFieldHint = SchemaFieldHint & {
|
|
1235
1325
|
relatedColumnFields?: string[];
|
|
1236
1326
|
relatedColumnLabels?: string[];
|
|
1327
|
+
inlineFilter?: boolean;
|
|
1328
|
+
inline?: boolean;
|
|
1237
1329
|
};
|
|
1238
1330
|
type PraxisDataQueryContextBridge = {
|
|
1239
1331
|
filters?: Record<string, unknown> | null;
|
|
@@ -1362,8 +1454,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1362
1454
|
private route?;
|
|
1363
1455
|
private logger?;
|
|
1364
1456
|
private analyticsStatsApi?;
|
|
1457
|
+
private readonly parentWidgetShell;
|
|
1458
|
+
private readonly destroyRef;
|
|
1365
1459
|
activeRowOverflowMenuTrigger?: MatMenuTrigger;
|
|
1366
1460
|
private activeRowOverflowMenuTriggerElement?;
|
|
1461
|
+
private activeRowOverflowMenuRow?;
|
|
1462
|
+
private activeRowOverflowMenuSignature?;
|
|
1463
|
+
private reattachingRowOverflowMenuTrigger?;
|
|
1367
1464
|
private openingRowActions;
|
|
1368
1465
|
private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
|
|
1369
1466
|
private static readonly AI_SELECTION_ROW_LIMIT;
|
|
@@ -1374,6 +1471,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1374
1471
|
private static readonly ROW_DISCOVERY_REQUEST_TIMEOUT_MS;
|
|
1375
1472
|
private static readonly ROW_DISCOVERY_CACHE_LIMIT;
|
|
1376
1473
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1474
|
+
private static readonly MAX_STABILIZED_PAGE_ROWS;
|
|
1475
|
+
private static readonly SKELETON_ROW_INDICES;
|
|
1377
1476
|
private _resourceDiscovery?;
|
|
1378
1477
|
private _resourceActionOpenAdapter?;
|
|
1379
1478
|
private _resourceSurfaceOpenAdapter?;
|
|
@@ -1381,23 +1480,39 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1381
1480
|
private readonly runtimeObservationRegistry;
|
|
1382
1481
|
private readonly detailInlineRenderers;
|
|
1383
1482
|
private readonly drawerRegistry;
|
|
1483
|
+
private readonly quickViewService;
|
|
1384
1484
|
private collectionLinks;
|
|
1485
|
+
getCollectionSurfacesHref(): string | null;
|
|
1385
1486
|
private collectionCapabilities;
|
|
1386
1487
|
private collectionCapabilitiesRequestHref;
|
|
1387
1488
|
private collectionCapabilitiesResolvedHref;
|
|
1388
1489
|
private collectionCapabilitiesRequestSeq;
|
|
1490
|
+
bulkSyncHandle: TableBulkSyncHandle | null;
|
|
1491
|
+
private readonly bulkClient;
|
|
1492
|
+
private readonly bulkSessions;
|
|
1389
1493
|
private readonly detailInlineNodeResolvers;
|
|
1390
1494
|
private readonly detailResourceResolver;
|
|
1391
1495
|
private runtimeObservationRegistration;
|
|
1392
1496
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1393
1497
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
1394
1498
|
private static readonly ROW_ANIMATION_PRESET_ALIASES;
|
|
1499
|
+
static ngAcceptInputType_config: TableConfigInput;
|
|
1395
1500
|
config: TableConfig;
|
|
1501
|
+
private hostInputConfig?;
|
|
1502
|
+
private baselineHostInputConfig?;
|
|
1503
|
+
private lastSelfEmittedConfigRef?;
|
|
1504
|
+
private lastSelfEmittedConfigJson?;
|
|
1505
|
+
private lastAppliedRuntimeConfig?;
|
|
1506
|
+
private persistedUserConfig?;
|
|
1396
1507
|
resourcePath: string;
|
|
1508
|
+
/** Read-only collection operation materialized from backend discovery. */
|
|
1509
|
+
collectionSurface: ResourceSurfaceCatalogItem | null;
|
|
1397
1510
|
data: any[] | null;
|
|
1398
1511
|
tableId: string;
|
|
1399
1512
|
componentInstanceId?: string;
|
|
1400
|
-
|
|
1513
|
+
private _configPersistenceStrategy;
|
|
1514
|
+
set configPersistenceStrategy(value: TableConfigPersistenceStrategy | 'storage-first');
|
|
1515
|
+
get configPersistenceStrategy(): TableConfigPersistenceStrategy;
|
|
1401
1516
|
title: string;
|
|
1402
1517
|
subtitle: string;
|
|
1403
1518
|
icon: string;
|
|
@@ -1407,12 +1522,28 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1407
1522
|
autoOpenSettingsOnOutdated: boolean;
|
|
1408
1523
|
crudContext: any;
|
|
1409
1524
|
filterCriteria: Record<string, any>;
|
|
1410
|
-
|
|
1525
|
+
readonly filterCriteriaChange: EventEmitter<Record<string, any>>;
|
|
1526
|
+
readonly discoveredQuickFiltersChange: EventEmitter<NormalizedPraxisResourceQuickFilter[]>;
|
|
1527
|
+
readonly discoveredResourceFactsChange: EventEmitter<DomainCatalogResourceFactMetadata[]>;
|
|
1528
|
+
readonly discoveredInlineFilterFieldsChange: EventEmitter<string[]>;
|
|
1529
|
+
/**
|
|
1530
|
+
* Quando `true`, um host (ex.: `praxis-crud` com scope-bar ou `praxis-resource-page`) é o dono do
|
|
1531
|
+
* escopo padrão (`isDefault`) dos filtros rápidos descobertos e o propaga via `[filterCriteria]`.
|
|
1532
|
+
* A tabela então apenas emite `discoveredQuickFiltersChange` sem aplicar o padrão internamente.
|
|
1533
|
+
*/
|
|
1534
|
+
hostOwnsDefaultQuickFilter: boolean;
|
|
1535
|
+
private _filterTeleport;
|
|
1536
|
+
set filterTeleport(value: boolean);
|
|
1537
|
+
get filterTeleport(): boolean;
|
|
1411
1538
|
widgetId?: string;
|
|
1412
|
-
|
|
1539
|
+
readonly filterTemplateSignal: _angular_core.WritableSignal<TemplateRef<unknown> | undefined>;
|
|
1540
|
+
private _filterBarTemplate?;
|
|
1541
|
+
set filterBarTemplate(tpl: TemplateRef<unknown> | undefined);
|
|
1542
|
+
get filterBarTemplate(): TemplateRef<unknown> | undefined;
|
|
1413
1543
|
get filterTemplate(): TemplateRef<unknown> | undefined;
|
|
1414
1544
|
private readonly widgetEventBus;
|
|
1415
1545
|
queryContext: PraxisDataQueryContextBridge | null;
|
|
1546
|
+
lockedFilterFields: readonly string[] | null | undefined;
|
|
1416
1547
|
readonly queryContextClear: EventEmitter<PraxisTableQueryContextClearEvent>;
|
|
1417
1548
|
readonly queryContextChange: EventEmitter<PraxisDataQueryContextBridge | null>;
|
|
1418
1549
|
activeCrossFilters: PraxisTableCrossFilterItem[];
|
|
@@ -1423,6 +1554,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1423
1554
|
activeQuickFilterId: string | null;
|
|
1424
1555
|
private quickFilterBaseCriteria;
|
|
1425
1556
|
private activeQuickFilterCriteria;
|
|
1557
|
+
private hasCompletedInitialDataLoad;
|
|
1558
|
+
private discoveredQuickFiltersSnapshot;
|
|
1426
1559
|
advancedFilterRuntimeVisibleFields: string[];
|
|
1427
1560
|
private advancedFilterAlwaysVisibleCacheKey;
|
|
1428
1561
|
private advancedFilterAlwaysVisibleCache?;
|
|
@@ -1466,6 +1599,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1466
1599
|
sort: MatSort;
|
|
1467
1600
|
materialTable?: MatTable<any>;
|
|
1468
1601
|
virtualScrollViewport?: CdkVirtualScrollViewport;
|
|
1602
|
+
dataSurface?: ElementRef<HTMLElement>;
|
|
1469
1603
|
scrollViewport?: ElementRef<HTMLElement>;
|
|
1470
1604
|
internalFilter?: PraxisFilter;
|
|
1471
1605
|
toolbar: PraxisTableToolbar;
|
|
@@ -1475,6 +1609,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1475
1609
|
selection: SelectionModel<any>;
|
|
1476
1610
|
dataSubject: BehaviorSubject<any[]>;
|
|
1477
1611
|
subscriptions: Subscription[];
|
|
1612
|
+
private surfaceOutcomeOwnerDestroyed;
|
|
1478
1613
|
showToolbar: boolean;
|
|
1479
1614
|
hasInitialized: boolean;
|
|
1480
1615
|
pageIndex: number;
|
|
@@ -1504,6 +1639,27 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1504
1639
|
private columnReorderUndoSubscription;
|
|
1505
1640
|
private columnRuntimeMutationOperationCounter;
|
|
1506
1641
|
private latestColumnRuntimeMutationOperationId;
|
|
1642
|
+
private persistenceContextEpoch;
|
|
1643
|
+
private schemaPrefsContextEpoch;
|
|
1644
|
+
private persistenceContextDestroyed;
|
|
1645
|
+
private committedHasActiveEmptyStateFilters?;
|
|
1646
|
+
private unfilteredBaselineTotal;
|
|
1647
|
+
private maxObservedPageRowCount;
|
|
1648
|
+
private measuredHeaderHeightPx;
|
|
1649
|
+
private measuredDataRowHeightPx;
|
|
1650
|
+
private measuredScrollbarHeightPx;
|
|
1651
|
+
private fullPageIntrinsicHeightByKey?;
|
|
1652
|
+
private inFlightSurfaceMinHeightPx;
|
|
1653
|
+
private dataSurfaceHeightFrameId;
|
|
1654
|
+
private hostDeclaredLoadingCopy;
|
|
1655
|
+
private hostDeclaredSkeletonRows;
|
|
1656
|
+
private measuredHeaderOffsetPx;
|
|
1657
|
+
private lastAppliedGeometrySignature;
|
|
1658
|
+
private pendingPostViewGeometrySync;
|
|
1659
|
+
private observedDataSurfaceEl;
|
|
1660
|
+
private observedScrollViewportEl;
|
|
1661
|
+
/** Fence delayed work; requests already sent are not retroactively canceled. */
|
|
1662
|
+
private persistenceGuard;
|
|
1507
1663
|
private columnRuntimePersistenceInFlight;
|
|
1508
1664
|
private columnRuntimePersistencePending;
|
|
1509
1665
|
private columnResizeTransientWidths;
|
|
@@ -1524,6 +1680,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1524
1680
|
private localFilterFieldMetadataCacheKey;
|
|
1525
1681
|
private remoteSchemaLoadSequence;
|
|
1526
1682
|
private enterpriseContextIdentity;
|
|
1683
|
+
private enterpriseContextReady;
|
|
1527
1684
|
private staleEnterpriseLocalData;
|
|
1528
1685
|
private remoteDataLoadSequence;
|
|
1529
1686
|
private analyticsLoadSequence;
|
|
@@ -1542,7 +1699,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1542
1699
|
private expansionDetailAbortByRowKey;
|
|
1543
1700
|
private expansionDetailActiveTabByRowKey;
|
|
1544
1701
|
private detailRequests?;
|
|
1545
|
-
readonly bottomDetailCollapsed:
|
|
1702
|
+
readonly bottomDetailCollapsed: _angular_core.WritableSignal<boolean>;
|
|
1546
1703
|
private bottomDetailKey;
|
|
1547
1704
|
private getDetailRequests;
|
|
1548
1705
|
private rowCapabilitySnapshotByHref;
|
|
@@ -1559,8 +1716,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1559
1716
|
private rowContextRuntimeByRef;
|
|
1560
1717
|
private rowDiscoveryQueue;
|
|
1561
1718
|
private rowDiscoveryActiveRequests;
|
|
1719
|
+
private rowDiscoveryActivePrefetchRequests;
|
|
1562
1720
|
private rowDiscoveryEpoch;
|
|
1563
1721
|
private rowDiscoveryMarkForCheckScheduled;
|
|
1722
|
+
private pendingRowDiscoveryRefresh?;
|
|
1723
|
+
private pendingMarkForCheckRows;
|
|
1564
1724
|
private lastRowDiscoveryScopeKey;
|
|
1565
1725
|
private readonly i18n;
|
|
1566
1726
|
private readonly sanitizer;
|
|
@@ -1570,6 +1730,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1570
1730
|
private schemaFieldsSnapshot;
|
|
1571
1731
|
private schemaColumnFieldsSnapshot;
|
|
1572
1732
|
private filterSchemaFieldsSnapshot;
|
|
1733
|
+
private lastEmittedDiscoveredInlineFilterFieldsKey;
|
|
1573
1734
|
private runtimeSchemaMeta;
|
|
1574
1735
|
schemaError: boolean;
|
|
1575
1736
|
dataError: boolean;
|
|
@@ -1577,6 +1738,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1577
1738
|
idField: string;
|
|
1578
1739
|
horizontalScroll: 'auto' | 'wrap' | 'none';
|
|
1579
1740
|
private horizontalScrollOverrideSource;
|
|
1741
|
+
private hostHorizontalScrollInput?;
|
|
1580
1742
|
getToolbarPosition(): 'top' | 'bottom' | 'both';
|
|
1581
1743
|
shouldShowToolbarTopPlacement(): boolean;
|
|
1582
1744
|
shouldShowToolbarBottomPlacement(): boolean;
|
|
@@ -1608,6 +1770,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1608
1770
|
protected isActionsStickyStartBoundary(): boolean;
|
|
1609
1771
|
protected isActionsStickyEndBoundary(): boolean;
|
|
1610
1772
|
getColumnTextAlignStyle(column: ColumnDefinition): string | null;
|
|
1773
|
+
isTabularColumn(column: ColumnDefinition): boolean;
|
|
1611
1774
|
getColumnWidthStyle(column: ColumnDefinition): string | null;
|
|
1612
1775
|
getColumnResizeTableWidthStyle(): string | null;
|
|
1613
1776
|
getColumnHeaderAttrStyle(column: ColumnDefinition): string | null;
|
|
@@ -1653,16 +1816,45 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1653
1816
|
shouldRenderDataSurface(): boolean;
|
|
1654
1817
|
shouldShowEmptyState(): boolean;
|
|
1655
1818
|
shouldShowNoDataState(): boolean;
|
|
1819
|
+
/**
|
|
1820
|
+
* Indica se a superfície de estado vazio filtrado/sem registros deve permanecer montada.
|
|
1821
|
+
*
|
|
1822
|
+
* Após a carga inicial concluída, mantém o cartão de estado vazio sob o overlay durante
|
|
1823
|
+
* recargas subsequentes de 0 registros para evitar colapso vertical do viewport da tabela.
|
|
1824
|
+
*/
|
|
1825
|
+
shouldRenderNoDataSurface(): boolean;
|
|
1656
1826
|
shouldShowLoadingSurface(): boolean;
|
|
1657
1827
|
shouldShowRefreshingState(): boolean;
|
|
1828
|
+
/**
|
|
1829
|
+
* Determina se o indicador de carregamento substitui o corpo da tabela.
|
|
1830
|
+
*
|
|
1831
|
+
* Ativo apenas antes da primeira carga concluída quando não há linhas visíveis;
|
|
1832
|
+
* recargas seguintes usam overlay para preservar a estabilidade geométrica.
|
|
1833
|
+
*/
|
|
1658
1834
|
shouldReplaceDataWithLoading(): boolean;
|
|
1835
|
+
/**
|
|
1836
|
+
* Indica se o feedback de carregamento deve ser renderizado como overlay
|
|
1837
|
+
* sobre a superfície de dados já montada (linhas ou estado vazio pós-carga inicial).
|
|
1838
|
+
*/
|
|
1839
|
+
shouldOverlayLoadingSurface(): boolean;
|
|
1840
|
+
/**
|
|
1841
|
+
* Renderiza linhas estruturais de skeleton apenas na carga fria substitutiva (`replace`),
|
|
1842
|
+
* evitando sobrepor barras falsas sobre registros reais ou empty state durante recargas.
|
|
1843
|
+
*/
|
|
1844
|
+
shouldRenderLoadingSkeletonRows(): boolean;
|
|
1659
1845
|
getLoadingIndicatorType(): 'spinner' | 'skeleton' | 'progress';
|
|
1660
1846
|
getLoadingIndicatorPosition(): 'overlay' | 'inline' | 'replace';
|
|
1661
1847
|
getLoadingSurfaceMessage(): string;
|
|
1662
1848
|
getLoadingSkeletonRows(): number[];
|
|
1663
1849
|
isLoadingSkeletonAnimated(): boolean;
|
|
1850
|
+
isLoadingMotionEnabled(): boolean;
|
|
1851
|
+
shouldRenderLoadingImmediately(): boolean;
|
|
1852
|
+
getSetupEmptyStateTitle(): string;
|
|
1853
|
+
getSetupEmptyStateDescription(): string;
|
|
1854
|
+
getSetupEmptyStatePrimaryAction(): EmptyAction | undefined;
|
|
1664
1855
|
getNoDataStateTitle(): string;
|
|
1665
1856
|
getNoDataStateDescription(): string | undefined;
|
|
1857
|
+
getNoDataStateAnnouncement(): string;
|
|
1666
1858
|
getTableSettingsLabel(): string;
|
|
1667
1859
|
getScrollViewportAriaLabel(): string;
|
|
1668
1860
|
getTableAriaLabel(): string;
|
|
@@ -1694,11 +1886,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1694
1886
|
getNoDataStateIconContainer(): 'none' | 'circle' | 'soft';
|
|
1695
1887
|
getNoDataStatePrimaryAction(): any | null;
|
|
1696
1888
|
getNoDataStateSecondaryActions(): any[];
|
|
1889
|
+
private isAdvancedFiltersEffectivelyEnabled;
|
|
1890
|
+
private hasExplicitAdvancedFiltersDisable;
|
|
1891
|
+
private hasDiscoveredCollectionFilterCapability;
|
|
1697
1892
|
shouldRenderAdvancedFilter(): boolean;
|
|
1698
1893
|
getAdvancedFilterResourcePath(): string;
|
|
1699
1894
|
getAdvancedFilterPersistenceKey(): string;
|
|
1700
1895
|
getAdvancedFilterFormId(): string;
|
|
1701
1896
|
getAdvancedFilterOpenMode(): 'modal' | 'drawer';
|
|
1897
|
+
shouldShowAdvancedFilterAddButton(): boolean;
|
|
1898
|
+
shouldShowAdvancedFilterSettings(): boolean;
|
|
1702
1899
|
getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
|
|
1703
1900
|
getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
|
|
1704
1901
|
getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
|
|
@@ -1719,6 +1916,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1719
1916
|
private hostDeclaredAppearanceDensity;
|
|
1720
1917
|
private hostDeclaredAppearanceSpacing;
|
|
1721
1918
|
private hostDeclaredAppearanceTypography;
|
|
1919
|
+
private densityOverrodeAppearance;
|
|
1722
1920
|
resolveAppearanceDensity(): 'compact' | 'comfortable' | 'spacious';
|
|
1723
1921
|
get hostDensityCompactClass(): boolean;
|
|
1724
1922
|
get hostDensityComfortableClass(): boolean;
|
|
@@ -1798,7 +1996,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1798
1996
|
private syncLocalPageSizeFromConfig;
|
|
1799
1997
|
private recomputeLocalView;
|
|
1800
1998
|
private resolveLocalSortField;
|
|
1999
|
+
private resolveColumnSemanticSourceField;
|
|
1801
2000
|
private setSchemaFieldsSnapshot;
|
|
2001
|
+
private getSchemaInlineFilterFields;
|
|
2002
|
+
private emitDiscoveredInlineFilterFieldsIfChanged;
|
|
1802
2003
|
private setFilterSchemaFieldsSnapshot;
|
|
1803
2004
|
private inferFilterSchemaSourceFields;
|
|
1804
2005
|
private resolveFilterSchemaRelatedColumns;
|
|
@@ -1811,15 +2012,23 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1811
2012
|
private storageKey;
|
|
1812
2013
|
private isVolatileConfigPersistence;
|
|
1813
2014
|
private tableConfigKey;
|
|
2015
|
+
private hasRuntimeTableConfigPersistence;
|
|
1814
2016
|
private filterConfigKey;
|
|
1815
2017
|
private ensureConfigDefaults;
|
|
2018
|
+
private recomposeEffectiveTableConfig;
|
|
1816
2019
|
private hasDeclaredAppearanceDensity;
|
|
1817
2020
|
private hasDeclaredAppearanceSection;
|
|
2021
|
+
private hasDeclaredLoadingCopy;
|
|
2022
|
+
private hasDeclaredLoadingSkeletonRows;
|
|
1818
2023
|
private shouldApplyAppearanceDefaultValue;
|
|
1819
2024
|
private mergePersistedTableConfigWithInput;
|
|
2025
|
+
private reconcileTableConfigInputChange;
|
|
1820
2026
|
private reconcileHostDeclaredTableContract;
|
|
2027
|
+
private refreshSchemaColumnsFromSnapshot;
|
|
1821
2028
|
private reconcileHostDeclaredColumns;
|
|
1822
2029
|
private reconcileHostDeclaredRowActions;
|
|
2030
|
+
private reconcileHostDeclaredBulkActions;
|
|
2031
|
+
private reconcileHostDeclaredFiltering;
|
|
1823
2032
|
private reconcileHostDeclaredExport;
|
|
1824
2033
|
private normalizePersistedExportFormats;
|
|
1825
2034
|
private normalizePersistedRowActionIds;
|
|
@@ -1830,9 +2039,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1830
2039
|
private shouldExposeToolbar;
|
|
1831
2040
|
private resolveCollectionDiscoveryOptions;
|
|
1832
2041
|
private updateCollectionLinks;
|
|
2042
|
+
private syncDiscoveredCollectionFilterToolbarState;
|
|
1833
2043
|
private resolveCollectionCapabilitiesHref;
|
|
1834
2044
|
private materializeCollectionCreateToolbarAction;
|
|
1835
2045
|
private materializeCollectionWorkflowToolbarActions;
|
|
2046
|
+
private materializeCollectionBulkSyncToolbarAction;
|
|
2047
|
+
private hasBulkSyncSelection;
|
|
2048
|
+
private tryHandleBulkSyncToolbarAction;
|
|
2049
|
+
private isBulkSyncPending;
|
|
2050
|
+
canShowBulkSyncHandle(): boolean;
|
|
2051
|
+
closeBulkSync(): void;
|
|
2052
|
+
private bulkSyncOperationalIdentity;
|
|
1836
2053
|
private isCollectionActionDiscoveryEnabled;
|
|
1837
2054
|
private ensureToolbarConfigForRuntime;
|
|
1838
2055
|
private buildCollectionCreateToolbarAction;
|
|
@@ -1916,6 +2133,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1916
2133
|
private refreshAiAssistantContextAfterSelectionChange;
|
|
1917
2134
|
private hasAiAssistantSessionState;
|
|
1918
2135
|
private resolveAiAssistantSessionId;
|
|
2136
|
+
protected aiAssistantShellOwnerKey(): string;
|
|
2137
|
+
protected onAiAssistantShellPromptChange(prompt: string, owner: string): void;
|
|
1919
2138
|
private resolveAiAssistantOwnerId;
|
|
1920
2139
|
private runtimeSurfaceInstanceRef;
|
|
1921
2140
|
private safeRuntimeSurfaceRefSegment;
|
|
@@ -1931,9 +2150,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1931
2150
|
private hasActiveOperationalLoad;
|
|
1932
2151
|
private getRenderedRowCount;
|
|
1933
2152
|
private hasActiveDataFilters;
|
|
2153
|
+
private computeLiveHasActiveEmptyStateFilters;
|
|
1934
2154
|
private hasActiveEmptyStateFilters;
|
|
2155
|
+
getEffectiveLockedFilterFields(): string[];
|
|
1935
2156
|
private hasMeaningfulFilterCriteria;
|
|
1936
2157
|
private hasMeaningfulFilterValue;
|
|
2158
|
+
isStructuralQueryContextField(field: string): boolean;
|
|
1937
2159
|
computeActiveCrossFilters(): PraxisTableCrossFilterItem[];
|
|
1938
2160
|
onClearCrossFilter(item: PraxisTableCrossFilterItem): void;
|
|
1939
2161
|
onClearAllCrossFilters(): void;
|
|
@@ -2014,6 +2236,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2014
2236
|
toggleBottomDetail(): void;
|
|
2015
2237
|
private resetDetailRuntimeForConfig;
|
|
2016
2238
|
retryBottomDetail(): void;
|
|
2239
|
+
canRetryBottomDetail(bottom?: {
|
|
2240
|
+
status?: string;
|
|
2241
|
+
} | null): boolean;
|
|
2242
|
+
canRetryExpansionDetail(state?: {
|
|
2243
|
+
status?: string;
|
|
2244
|
+
} | null): boolean;
|
|
2245
|
+
retryRowExpansionDetail(row: any, index: number, event?: Event): void;
|
|
2017
2246
|
private restoreBottomDetailFocus;
|
|
2018
2247
|
getExpansionDetailItems(schema: Record<string, unknown> | null): any[];
|
|
2019
2248
|
private hasExpansionDetailRenderableSchema;
|
|
@@ -2049,6 +2278,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2049
2278
|
private resolveExpansionDetailTimelineExpressionValue;
|
|
2050
2279
|
private getExpansionDetailTimelineObjectValue;
|
|
2051
2280
|
private normalizeExpansionDetailCardGridCardContent;
|
|
2281
|
+
/** `visibleWhen` is canonical Json Logic (object or boolean); string DSL is not a valid rule. */
|
|
2282
|
+
private normalizeExpansionDetailVisibleWhen;
|
|
2283
|
+
/**
|
|
2284
|
+
* Visibility gate for every detail node, including host-mediated ones (cardGrid, list, detailList,
|
|
2285
|
+
* timeline) that are not rendered by PraxisRichContent. Mirrors `PraxisRichContent.evaluateRule`:
|
|
2286
|
+
* same context (`row`, `computed`, `detail`), truthiness of the Json Logic result, fail-closed on error.
|
|
2287
|
+
*/
|
|
2288
|
+
isExpansionDetailNodeVisible(node: any, row: any, index: number): boolean;
|
|
2289
|
+
private withExpansionDetailParentVisibleWhen;
|
|
2052
2290
|
private normalizeExpansionDetailMediaBlockAvatar;
|
|
2053
2291
|
private normalizeExpansionDetailMediaBlockText;
|
|
2054
2292
|
private normalizeExpansionDetailMediaBlockMeta;
|
|
@@ -2114,6 +2352,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2114
2352
|
private mapExpansionDetailNodeToRichContent;
|
|
2115
2353
|
private mapExpansionDetailMediaBlockNodeToRichContent;
|
|
2116
2354
|
private mapExpansionDetailCardNodeToRichContent;
|
|
2355
|
+
private expansionDetailVisibleWhenPatch;
|
|
2117
2356
|
private mapExpansionDetailStackNodeToRichContent;
|
|
2118
2357
|
private mapExpansionDetailValueNodeToRichContent;
|
|
2119
2358
|
private mapExpansionDetailTimelineNodeToRichContent;
|
|
@@ -2128,6 +2367,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2128
2367
|
private getExpansionConfig;
|
|
2129
2368
|
private getDetailConfig;
|
|
2130
2369
|
private ensureExpansionDetailPrepared;
|
|
2370
|
+
private resolveEffectiveExpansionSourceMode;
|
|
2131
2371
|
private resolveExpansionDetailSchemaForRow;
|
|
2132
2372
|
private resolveExpansionDetailByMode;
|
|
2133
2373
|
private resolveExpansionDetailInlineSchema;
|
|
@@ -2227,7 +2467,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2227
2467
|
private showActionFeedbackMessage;
|
|
2228
2468
|
private emitEventWithActionFeedback;
|
|
2229
2469
|
private executeConfiguredGlobalAction;
|
|
2470
|
+
private isWritableConfiguredSurfaceOpen;
|
|
2230
2471
|
private withTableRuntimeContext;
|
|
2472
|
+
private resolveTableSurfaceRuntime;
|
|
2231
2473
|
private executeSurfaceOpen;
|
|
2232
2474
|
private resolveConfiguredGlobalActionRef;
|
|
2233
2475
|
private resolveActionGlobalActionRef;
|
|
@@ -2253,6 +2495,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2253
2495
|
private unwrapCollectionWorkflowResult;
|
|
2254
2496
|
private showCollectionWorkflowContractError;
|
|
2255
2497
|
private tryHandleCollectionCreateToolbarAction;
|
|
2498
|
+
private bindDiscoveredSurfaceOutcome;
|
|
2499
|
+
private matchesQuickViewBindingResourceKey;
|
|
2500
|
+
private shouldRefreshForQuickViewMutation;
|
|
2501
|
+
private applySurfaceActionRefresh;
|
|
2256
2502
|
private resolveBulkExportFormat;
|
|
2257
2503
|
private isBulkExportActionKey;
|
|
2258
2504
|
private normalizeExportFormat;
|
|
@@ -2286,6 +2532,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2286
2532
|
private showExportFeedback;
|
|
2287
2533
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
2288
2534
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
2535
|
+
private isClearingAdvancedFilter;
|
|
2289
2536
|
onAdvancedFilterClear(): void;
|
|
2290
2537
|
clearAdvancedFilter(): void;
|
|
2291
2538
|
onQuickFilterChange(event: {
|
|
@@ -2293,14 +2540,50 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2293
2540
|
filter: Record<string, unknown>;
|
|
2294
2541
|
active: boolean;
|
|
2295
2542
|
}): void;
|
|
2543
|
+
getConfiguredQuickFilters(): Array<{
|
|
2544
|
+
id: string;
|
|
2545
|
+
label: string;
|
|
2546
|
+
filter: Record<string, unknown>;
|
|
2547
|
+
icon?: string;
|
|
2548
|
+
tone?: PraxisQuickFilterTone;
|
|
2549
|
+
isDefault?: boolean;
|
|
2550
|
+
description?: string;
|
|
2551
|
+
tooltip?: string;
|
|
2552
|
+
order?: number;
|
|
2553
|
+
}>;
|
|
2554
|
+
getQuickFilterManagedFields(): string[];
|
|
2555
|
+
private parseQuickFilterDefinition;
|
|
2556
|
+
getEffectiveEditableFilterCriteria(): Record<string, any>;
|
|
2557
|
+
private reconcileEditableQueryContextFilters;
|
|
2558
|
+
private syncQuickFilterStateFromEffectiveCriteria;
|
|
2296
2559
|
private clearQuickFilterRuntimeState;
|
|
2297
2560
|
private hasEquivalentFilterCriteria;
|
|
2561
|
+
private lastAppliedFilterCriteria;
|
|
2562
|
+
private hierarchySnapshot;
|
|
2563
|
+
private hierarchyTitleField;
|
|
2564
|
+
private hierarchyTenant;
|
|
2565
|
+
private clearHierarchySnapshot;
|
|
2566
|
+
getHierarchyCell(row: Record<string, unknown>, column: ColumnDefinition): {
|
|
2567
|
+
indent: number;
|
|
2568
|
+
children: number | null;
|
|
2569
|
+
leaf: boolean | null;
|
|
2570
|
+
focusPath: string | null;
|
|
2571
|
+
} | null;
|
|
2572
|
+
hierarchyText(key: 'focus' | 'root' | 'navigation' | 'children'): string;
|
|
2573
|
+
get focusedSubtree(): string | null;
|
|
2574
|
+
focusSubtree(path: string | null): void;
|
|
2575
|
+
private getSubtreeFilterField;
|
|
2298
2576
|
applyAdvancedFilterCriteria(criteria: Record<string, any> | null | undefined, reason?: string): void;
|
|
2299
2577
|
private setAdvancedFilterCriteria;
|
|
2300
2578
|
private syncAdvancedFilterValueFromCriteria;
|
|
2301
2579
|
private deriveRuntimeVisibleAdvancedFilterFields;
|
|
2302
2580
|
private isEmptyAdvancedFilterCriterionValue;
|
|
2303
2581
|
private mergeAdvancedFilterFieldIds;
|
|
2582
|
+
/**
|
|
2583
|
+
* Identifica os campos cujos critérios ativos coincidem integralmente com um QuickFilter
|
|
2584
|
+
* ou Scope Bar ativo, evitando sua promoção duplicada na linha de filtros inline.
|
|
2585
|
+
*/
|
|
2586
|
+
private getQuickFilterCoveredFields;
|
|
2304
2587
|
private getRuntimePromotedAdvancedFilterFields;
|
|
2305
2588
|
private toPlainRecord;
|
|
2306
2589
|
private saveConfigWithAck;
|
|
@@ -2319,7 +2602,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2319
2602
|
private buildTableEditorRuntimeContext;
|
|
2320
2603
|
private emitWidgetInputPatch;
|
|
2321
2604
|
private cloneInputPatch;
|
|
2605
|
+
/** @internal */
|
|
2606
|
+
emitPortableConfigChange(portableConfig?: TableConfig): void;
|
|
2607
|
+
private isSelfEmittedConfigInput;
|
|
2322
2608
|
private executeTableEditorApplyPlan;
|
|
2609
|
+
private normalizeResourcePathIdentity;
|
|
2610
|
+
private areColumnsDerivedFromPreviousResource;
|
|
2611
|
+
private stripResourceBoundTableConfigState;
|
|
2323
2612
|
private attachRuntimeMetadataToEditorConfig;
|
|
2324
2613
|
private syncInternalFilterSettings;
|
|
2325
2614
|
private resetPreferencesToDefaults;
|
|
@@ -2441,6 +2730,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2441
2730
|
* nunca pode ser substituído pelo consumidor.
|
|
2442
2731
|
*/
|
|
2443
2732
|
private projectSchemaColumns;
|
|
2733
|
+
private toTableEditorConfig;
|
|
2444
2734
|
/**
|
|
2445
2735
|
* Converte a configuração materializada usada pelo renderer de volta ao
|
|
2446
2736
|
* contrato compacto e persistível. O schema continua sendo a fonte
|
|
@@ -2452,11 +2742,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2452
2742
|
private toPortableColumnDefinition;
|
|
2453
2743
|
private arePortableValuesEqual;
|
|
2454
2744
|
private applySchemaFieldPresentationsToExistingColumns;
|
|
2745
|
+
private applySchemaComposeItemsQuickView;
|
|
2455
2746
|
private applySchemaFieldPresentation;
|
|
2456
2747
|
private applySchemaSemanticCellPresentation;
|
|
2457
|
-
private resolveSemanticPresentationColor;
|
|
2458
|
-
private resolveSemanticPresentationVariant;
|
|
2459
|
-
private resolveSemanticPresentationAffixes;
|
|
2460
2748
|
private resolveSchemaCurrencyFormat;
|
|
2461
2749
|
private resolveSchemaBooleanFormat;
|
|
2462
2750
|
private resolveSchemaValueMapping;
|
|
@@ -2480,6 +2768,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2480
2768
|
private buildRowDiscoveryScopeKey;
|
|
2481
2769
|
private resetRowContextRuntimeState;
|
|
2482
2770
|
private enqueueRowDiscoveryRequest;
|
|
2771
|
+
private promoteQueuedRowDiscoveryRequest;
|
|
2772
|
+
private prioritizeQueuedPrefetchRowDiscovery;
|
|
2773
|
+
private canDispatchNextRowDiscoveryTask;
|
|
2483
2774
|
private drainRowDiscoveryQueue;
|
|
2484
2775
|
private buildRowDiscoveryOptions;
|
|
2485
2776
|
private getRowLinks;
|
|
@@ -2511,6 +2802,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2511
2802
|
private resolveRowDiscoveryRuntimeStatus;
|
|
2512
2803
|
private resolveRowDiscoveryRuntimeStatusRaw;
|
|
2513
2804
|
private getRowContextRuntimeState;
|
|
2805
|
+
private scheduleExpiredRowDiscovery;
|
|
2514
2806
|
private buildRowContextRuntimeState;
|
|
2515
2807
|
private resolveRowContextRuntimeValidUntil;
|
|
2516
2808
|
private resolveRowDiscoveryRelValidUntil;
|
|
@@ -2547,6 +2839,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2547
2839
|
* 3. format (data formatting like dates, numbers, currency)
|
|
2548
2840
|
*/
|
|
2549
2841
|
getCellValue(rowData: any, column: ColumnDefinition): any;
|
|
2842
|
+
private shouldSuppressIntegerThousandsGrouping;
|
|
2550
2843
|
private applyImplicitRuntimeCellPresentation;
|
|
2551
2844
|
private shouldHumanizeRuntimeEnumCell;
|
|
2552
2845
|
private resolveCellFormattingType;
|
|
@@ -2640,6 +2933,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2640
2933
|
* Safely access nested properties using dot notation
|
|
2641
2934
|
*/
|
|
2642
2935
|
private getNestedPropertyValue;
|
|
2936
|
+
private hasNestedProperty;
|
|
2643
2937
|
/**
|
|
2644
2938
|
* Verifica se a ordenação está habilitada
|
|
2645
2939
|
*/
|
|
@@ -2678,10 +2972,24 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2678
2972
|
private isColumnFiltersSupported;
|
|
2679
2973
|
private isRowDraggingSupported;
|
|
2680
2974
|
private isRowExpansionSupported;
|
|
2975
|
+
private isSchemaExpansionModeActive;
|
|
2976
|
+
private getVisibleTableFieldNamesSet;
|
|
2977
|
+
private hasCompanionDenormalizedFieldInSchema;
|
|
2978
|
+
private isComplementarySchemaExpansionField;
|
|
2979
|
+
private isPopulatedExpansionRow;
|
|
2980
|
+
private hasNonEmptyExpansionFieldValue;
|
|
2981
|
+
private getComplementarySchemaExpansionFieldsForRow;
|
|
2982
|
+
private getLoadedTableRowsForExpansionCheck;
|
|
2983
|
+
private reconcileExpansionColumnsAfterDataChange;
|
|
2984
|
+
private hasComplementarySchemaExpansionFields;
|
|
2681
2985
|
private enforceAppearanceSchemaGuards;
|
|
2682
2986
|
private enforceUnsupportedFeatureGuards;
|
|
2683
2987
|
getToolbarEvaluationContext(): Record<string, any>;
|
|
2684
2988
|
getIconName(row: any, column: ColumnDefinition): string | null;
|
|
2989
|
+
private resolveRawIconColorValue;
|
|
2990
|
+
private resolveSemanticIconTone;
|
|
2991
|
+
getIconClasses(_row: any, column: ColumnDefinition): string[];
|
|
2992
|
+
getIconInlineColor(_row: any, column: ColumnDefinition): string | null;
|
|
2685
2993
|
getIconColor(_row: any, column: ColumnDefinition): string | null;
|
|
2686
2994
|
getIconStyle(_row: any, column: ColumnDefinition): Record<string, string> | null;
|
|
2687
2995
|
getIconAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
@@ -2734,8 +3042,24 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2734
3042
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2735
3043
|
shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
|
|
2736
3044
|
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
|
|
2737
|
-
|
|
3045
|
+
private readonly microVisualizationPageBoundsCache;
|
|
3046
|
+
private readonly microVisualizationBindingRowCache;
|
|
3047
|
+
private readonly microVisualizationBindingKeyCache;
|
|
3048
|
+
private readonly microVizRawConfigIds;
|
|
3049
|
+
private readonly microVizActiveExprCache;
|
|
3050
|
+
private nextMicroVizRawConfigId;
|
|
3051
|
+
private readonly microVizFormatterIds;
|
|
3052
|
+
private nextMicroVizFormatterId;
|
|
3053
|
+
getMicroVisualizationBinding(row: any, column: ColumnDefinition): {
|
|
3054
|
+
visualization: PraxisPresentationVisualizationConfig | null;
|
|
3055
|
+
fallbackText: string;
|
|
3056
|
+
formatValue?: (value: number, compactValue?: boolean) => string;
|
|
3057
|
+
locale?: string;
|
|
3058
|
+
idPrefix?: string;
|
|
3059
|
+
} | null;
|
|
3060
|
+
private createMicroVisualizationValueFormatter;
|
|
2738
3061
|
private resolveMicroVisualizationForRow;
|
|
3062
|
+
private resolvePageMicroVisualizationBounds;
|
|
2739
3063
|
private applyMicroVisualizationExpression;
|
|
2740
3064
|
private evaluateMicroVisualizationExpression;
|
|
2741
3065
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
@@ -2748,9 +3072,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2748
3072
|
private asComposeValueItemColumn;
|
|
2749
3073
|
asItemColumn(base: ColumnDefinition, item: any): any;
|
|
2750
3074
|
getItemEffectiveType(row: any, column: ColumnDefinition, item: any): any;
|
|
3075
|
+
private hasRowQuickViewSourceIdentity;
|
|
3076
|
+
getEffectiveQuickViewBinding(row: any, column: ColumnDefinition): ResourceQuickViewBinding | null;
|
|
3077
|
+
getComposeValueQuickViewBinding(row: any, column: ColumnDefinition, item: any): ResourceQuickViewBinding | null;
|
|
3078
|
+
getQuickViewEndpointKey(): ApiEndpoint | string | null;
|
|
3079
|
+
getRowActionQuickViewBinding(action: any): ResourceQuickViewBinding | null;
|
|
3080
|
+
getQuickViewTriggerAriaLabel(label: string | null | undefined, column?: ColumnDefinition): string;
|
|
2751
3081
|
private mergeRenderer;
|
|
2752
3082
|
private hasRenderableColumnOverride;
|
|
2753
3083
|
private resolveColumnRuleAnimationCandidate;
|
|
3084
|
+
private readonly conditionalRendererVarPathsCache;
|
|
3085
|
+
private extractConditionalRendererVarPaths;
|
|
2754
3086
|
private buildEffectiveCellRenderCacheKey;
|
|
2755
3087
|
private getEffectiveCellRenderResult;
|
|
2756
3088
|
private getEffectiveRenderer;
|
|
@@ -2854,7 +3186,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2854
3186
|
private emitMetadataChange;
|
|
2855
3187
|
private emitSchemaStatus;
|
|
2856
3188
|
getRowId(row: any): any;
|
|
3189
|
+
private preserveSelectionOnNextDataLoad;
|
|
2857
3190
|
private reconcileSelectionAfterDataChange;
|
|
3191
|
+
private areSelectedRowSnapshotsEquivalent;
|
|
3192
|
+
private serializeSelectedRowSnapshot;
|
|
2858
3193
|
private getComparableRowIdentity;
|
|
2859
3194
|
getIdField(): string;
|
|
2860
3195
|
private getSchemaIdFieldOverride;
|
|
@@ -2864,11 +3199,24 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2864
3199
|
private getEffectiveMetadataSnapshot;
|
|
2865
3200
|
getActionId(action: any): string;
|
|
2866
3201
|
private setupResizeObserver;
|
|
3202
|
+
private observeDynamicDataSurfaceElements;
|
|
2867
3203
|
private setupViewportChangeListeners;
|
|
2868
3204
|
private getVirtualizationSources;
|
|
2869
3205
|
isVirtualized(): boolean;
|
|
2870
3206
|
getVirtItemHeight(): number;
|
|
3207
|
+
private isCoarsePointer;
|
|
2871
3208
|
private getDefaultDensityRowHeight;
|
|
3209
|
+
private getDefaultDensityHeaderHeight;
|
|
3210
|
+
private getFullPageIntrinsicHeightMap;
|
|
3211
|
+
private resetDataSurfaceBaselineState;
|
|
3212
|
+
private captureInFlightDataSurfaceHeight;
|
|
3213
|
+
private commitResolvedDataSurfaceBaseline;
|
|
3214
|
+
/** Resolves the minimum row-slot baseline so filtered/partial pages stay vertically stable. */
|
|
3215
|
+
resolveDataSurfaceTargetBaselineRows(): number;
|
|
3216
|
+
private measureIntrinsicTableGeometry;
|
|
3217
|
+
private computeDataSurfaceMinHeightPx;
|
|
3218
|
+
private syncDataSurfaceMinHeightCssVariable;
|
|
3219
|
+
private scheduleDataSurfaceMinHeightSync;
|
|
2872
3220
|
getVirtBufferSize(): number;
|
|
2873
3221
|
getVirtMinHeightStyle(): string;
|
|
2874
3222
|
getVirtMinHeightHostStyle(): string | null;
|
|
@@ -2886,10 +3234,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2886
3234
|
masterToggle(): void;
|
|
2887
3235
|
isAllSelected(): boolean;
|
|
2888
3236
|
toggleRow(row: any): void;
|
|
3237
|
+
onSingleSelectionClick(event: Event, row: any): void;
|
|
2889
3238
|
onSingleSelectionChanged(row: any): void;
|
|
2890
3239
|
getRowSelectionAriaLabel(row: any, index?: number): string;
|
|
2891
3240
|
getMasterSelectionAriaLabel(): string;
|
|
2892
3241
|
private selectRowFromUserInteraction;
|
|
3242
|
+
clearSelection(emitEvent?: boolean): void;
|
|
2893
3243
|
private emitSelectionChange;
|
|
2894
3244
|
private publishSelectionStatus;
|
|
2895
3245
|
private getAccessibleRowLabel;
|
|
@@ -2926,11 +3276,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2926
3276
|
private estimateInlineActionsLimit;
|
|
2927
3277
|
private parsePixelWidth;
|
|
2928
3278
|
private getViewportWidth;
|
|
2929
|
-
private splitVisibleRowActions;
|
|
2930
3279
|
getInlineRowActions(row: any): any[];
|
|
2931
3280
|
getOverflowRowActions(row: any): any[];
|
|
2932
3281
|
hasOverflowRowActions(row: any): boolean;
|
|
3282
|
+
onRowOverflowMenuTriggerHover(row: any): void;
|
|
2933
3283
|
onRowOverflowMenuOpened(row: any): void;
|
|
3284
|
+
onRowOverflowMenuClosed(trigger?: MatMenuTrigger): void;
|
|
3285
|
+
private buildRowOverflowMenuSignature;
|
|
3286
|
+
private getCanonicalCrudActionOrderIndex;
|
|
2934
3287
|
private prepareRowDiscoveryRetry;
|
|
2935
3288
|
private getVisibleRowActions;
|
|
2936
3289
|
private getResolvedRowActions;
|
|
@@ -2944,6 +3297,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2944
3297
|
private getDiscoveredRowCrudActionsFromSnapshot;
|
|
2945
3298
|
private buildDiscoveredRowCrudAction;
|
|
2946
3299
|
private getDiscoveredRowSurfaceActionsFromSnapshot;
|
|
3300
|
+
private resolveBaselineCrudActionForRowSurface;
|
|
2947
3301
|
private getDiscoveredRowWorkflowActionsFromCatalog;
|
|
2948
3302
|
private getDiscoveredRowWorkflowActionsFromItems;
|
|
2949
3303
|
private resolveRowCrudCapabilityOperation;
|
|
@@ -2983,8 +3337,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2983
3337
|
getRowMenuIcon(): string;
|
|
2984
3338
|
private scheduleRowDiscoveryMarkForCheck;
|
|
2985
3339
|
ngOnDestroy(): void;
|
|
2986
|
-
static ɵfac:
|
|
2987
|
-
static ɵcmp:
|
|
3340
|
+
static ɵfac: _angular_core.ɵɵ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; }]>;
|
|
3341
|
+
static ɵcmp: _angular_core.ɵɵ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; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "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"; "discoveredResourceFactsChange": "discoveredResourceFactsChange"; "discoveredInlineFilterFieldsChange": "discoveredInlineFilterFieldsChange"; "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>;
|
|
3342
|
+
static ngAcceptInputType_hostOwnsDefaultQuickFilter: unknown;
|
|
2988
3343
|
static ngAcceptInputType_filterTeleport: unknown;
|
|
2989
3344
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
2990
3345
|
}
|
|
@@ -3094,8 +3449,8 @@ declare class JsonConfigEditorComponent implements OnChanges, OnDestroy {
|
|
|
3094
3449
|
hasChanges(): boolean;
|
|
3095
3450
|
private validateJson;
|
|
3096
3451
|
private updateValidationState;
|
|
3097
|
-
static ɵfac:
|
|
3098
|
-
static ɵcmp:
|
|
3452
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JsonConfigEditorComponent, never>;
|
|
3453
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JsonConfigEditorComponent, "json-config-editor", never, { "document": { "alias": "document"; "required": false; }; }, { "documentChange": "documentChange"; "validationChange": "validationChange"; "editorEvent": "editorEvent"; }, never, never, true, never>;
|
|
3099
3454
|
}
|
|
3100
3455
|
|
|
3101
3456
|
type FormulaType = 'none' | 'concatenation' | 'arithmetic' | 'nested_property' | 'conditional_mapping' | 'default_value';
|
|
@@ -3185,10 +3540,11 @@ interface RendererFieldOption {
|
|
|
3185
3540
|
isVisible: boolean;
|
|
3186
3541
|
isHidden?: boolean;
|
|
3187
3542
|
}
|
|
3188
|
-
type ComposePresetId = 'personAvatar' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
3543
|
+
type ComposePresetId = 'personAvatar' | 'roleDepartment' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
3189
3544
|
declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
3190
3545
|
private cdr;
|
|
3191
3546
|
private readonly i18n;
|
|
3547
|
+
private readonly jsonLogic;
|
|
3192
3548
|
tx(key: string, fallback: string): string;
|
|
3193
3549
|
readonly ratingAriaLabelPlaceholder: string;
|
|
3194
3550
|
readonly ratingRendererHint: string;
|
|
@@ -3199,8 +3555,16 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3199
3555
|
name?: string;
|
|
3200
3556
|
label?: string;
|
|
3201
3557
|
type?: string;
|
|
3558
|
+
numericFormat?: string;
|
|
3202
3559
|
tableHidden?: boolean;
|
|
3203
3560
|
hidden?: boolean;
|
|
3561
|
+
options?: Array<{
|
|
3562
|
+
value?: any;
|
|
3563
|
+
key?: any;
|
|
3564
|
+
label?: string;
|
|
3565
|
+
text?: string;
|
|
3566
|
+
}>;
|
|
3567
|
+
enumValues?: Array<string | number>;
|
|
3204
3568
|
xUi?: Record<string, any>;
|
|
3205
3569
|
ui?: Record<string, any>;
|
|
3206
3570
|
}>;
|
|
@@ -3231,7 +3595,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3231
3595
|
condOverridesSelectedIndex: number;
|
|
3232
3596
|
getConditionalOverrides(): any[];
|
|
3233
3597
|
ensureConditionalOverrides(): any[];
|
|
3598
|
+
getColumnActiveRendererIcon(column: ColumnDefinition | null | undefined): string | null;
|
|
3599
|
+
getColumnActiveRendererTooltip(column: ColumnDefinition | null | undefined): string;
|
|
3600
|
+
getFieldDomainOptions(fieldName: string | undefined): Array<{
|
|
3601
|
+
value: string | number | boolean;
|
|
3602
|
+
label: string;
|
|
3603
|
+
}>;
|
|
3604
|
+
getSelectedColumnDomainOptions(): Array<{
|
|
3605
|
+
value: string | number | boolean;
|
|
3606
|
+
label: string;
|
|
3607
|
+
}>;
|
|
3608
|
+
getFilteredOverrideConditionValueOptions(condition: any): Array<{
|
|
3609
|
+
value: string;
|
|
3610
|
+
label: string;
|
|
3611
|
+
}>;
|
|
3234
3612
|
addConditionalOverride(): void;
|
|
3613
|
+
generateDomainConditionalBadges(): void;
|
|
3235
3614
|
removeConditionalOverride(index: number): void;
|
|
3236
3615
|
duplicateConditionalOverride(index: number): void;
|
|
3237
3616
|
onConditionalOverrideReorder(event: any): void;
|
|
@@ -3240,6 +3619,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3240
3619
|
getJsonLogicSummary(value: JsonLogicExpression | null | undefined): string;
|
|
3241
3620
|
private parseJsonLogicText;
|
|
3242
3621
|
setConditionalOverrideCondition(index: number, raw: string): void;
|
|
3622
|
+
readonly overrideConditionOperators: readonly ["===", "==", "!==", "!=", ">", ">=", "<", "<=", "truthy", "falsy"];
|
|
3623
|
+
private normalizeConditionFieldName;
|
|
3624
|
+
getOverrideConditionField(condition: any): string;
|
|
3625
|
+
getOverrideConditionOperator(condition: any): string;
|
|
3626
|
+
getOverrideConditionValue(condition: any): string;
|
|
3627
|
+
setOverrideGuidedCondition(index: number, patch: {
|
|
3628
|
+
field?: string;
|
|
3629
|
+
operator?: string;
|
|
3630
|
+
value?: string;
|
|
3631
|
+
}): void;
|
|
3632
|
+
private extractGuidedJsonLogicCondition;
|
|
3633
|
+
private coerceGuidedScalar;
|
|
3243
3634
|
getOverrideField(path: string): any;
|
|
3244
3635
|
setOverrideField(path: string, value: any): void;
|
|
3245
3636
|
setOverrideJsonLogicField(path: string, raw: string): void;
|
|
@@ -3248,13 +3639,19 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3248
3639
|
item: any;
|
|
3249
3640
|
index: number;
|
|
3250
3641
|
}>;
|
|
3642
|
+
addOverrideComposeItem(type: 'value' | 'badge' | 'icon' | 'chip' | 'progress' | 'avatar' | 'link' | 'button' | 'rating' | 'html'): void;
|
|
3251
3643
|
addOverrideComposeValueItem(): void;
|
|
3644
|
+
moveOverrideComposeItem(index: number, delta: -1 | 1): void;
|
|
3645
|
+
duplicateOverrideComposeItem(index: number): void;
|
|
3646
|
+
removeOverrideComposeItem(index: number): void;
|
|
3647
|
+
setOverrideComposeItemProp(index: number, path: string, value: any): void;
|
|
3252
3648
|
setOverrideComposeValueItemField(index: number, field: string): void;
|
|
3253
3649
|
setOverrideComposeValueItemEmphasis(index: number, emphasis: string): void;
|
|
3254
3650
|
getOverrideComposeLayoutProp(key: string): any;
|
|
3255
3651
|
setOverrideComposeLayoutProp(key: string, value: any): void;
|
|
3256
3652
|
onOverrideTypeChange(ov: any, val: string): void;
|
|
3257
3653
|
getOverrideMicroVisualizationProp(path: string): any;
|
|
3654
|
+
private ensureOverrideMicroVisualizationObject;
|
|
3258
3655
|
setOverrideMicroVisualizationProp(path: string, value: any): void;
|
|
3259
3656
|
getOverrideMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3260
3657
|
getOverrideMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
@@ -3264,15 +3661,30 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3264
3661
|
isOverrideMicroVisualizationSegmentsKind(): boolean;
|
|
3265
3662
|
isOverrideMicroVisualizationItemsKind(): boolean;
|
|
3266
3663
|
isOverrideMicroVisualizationTotalKind(): boolean;
|
|
3664
|
+
isOverrideMicroVisualizationTargetKind(): boolean;
|
|
3665
|
+
isOverrideMicroVisualizationBaselineKind(): boolean;
|
|
3666
|
+
isOverrideMicroVisualizationSuffixKind(): boolean;
|
|
3667
|
+
isOverrideMicroVisualizationScaleBoundsKind(): boolean;
|
|
3668
|
+
isOverrideMicroVisualizationScaleScopeKind(): boolean;
|
|
3669
|
+
isOverrideMicroVisualizationThresholdsSupported(): boolean;
|
|
3670
|
+
getOverrideMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3671
|
+
addOverrideMicroVisualizationThreshold(): void;
|
|
3672
|
+
applyDefaultOverrideMicroVisualizationThresholds(): void;
|
|
3673
|
+
setOverrideMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
|
|
3674
|
+
setOverrideMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
|
|
3675
|
+
moveOverrideMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3676
|
+
removeOverrideMicroVisualizationThreshold(index: number): void;
|
|
3267
3677
|
getOverrideMicroVisualizationGuidanceText(): string;
|
|
3268
3678
|
exportOverrideJson(index: number): void;
|
|
3269
3679
|
importOverrideJson(index: number): void;
|
|
3270
3680
|
rendererValidationErrors: string[];
|
|
3681
|
+
get validationErrors(): string[];
|
|
3271
3682
|
rendererImportWarnings: string[];
|
|
3272
3683
|
rendererIsValid: boolean;
|
|
3273
3684
|
rendererPreviewEnabled: boolean;
|
|
3274
3685
|
private rendererAppliedSnapshot;
|
|
3275
3686
|
previewRows: any[];
|
|
3687
|
+
microVisualizationSampleValuesText: string;
|
|
3276
3688
|
private refreshRendererFieldOptions;
|
|
3277
3689
|
getRendererFieldOptions(): RendererFieldOption[];
|
|
3278
3690
|
formatRendererFieldOption(option: RendererFieldOption): string;
|
|
@@ -3305,11 +3717,14 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3305
3717
|
isExistingColumn(column: ColumnDefinition): boolean;
|
|
3306
3718
|
isCalculatedColumn(column: ColumnDefinition): boolean;
|
|
3307
3719
|
hasValueGetterError(column: ColumnDefinition): boolean;
|
|
3720
|
+
private hydrateApiColumnFlags;
|
|
3308
3721
|
private generateAvailableDataSchema;
|
|
3309
3722
|
/**
|
|
3310
3723
|
* Map ColumnDataType to FieldSchema type
|
|
3311
3724
|
*/
|
|
3312
3725
|
private mapColumnTypeToFieldType;
|
|
3726
|
+
private _cachedFormulaKey;
|
|
3727
|
+
private _cachedFormulaRef;
|
|
3313
3728
|
getColumnFormula(column: ColumnDefinition | null): FormulaDefinition | undefined;
|
|
3314
3729
|
onFormulaChange(formula: FormulaDefinition): void;
|
|
3315
3730
|
onGeneratedExpressionChange(expression: string): void;
|
|
@@ -3329,10 +3744,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3329
3744
|
setRendererIconName(v: string): void;
|
|
3330
3745
|
getRendererIconNameField(): string;
|
|
3331
3746
|
setRendererIconNameField(v: string): void;
|
|
3747
|
+
getRendererIconTextField(): string;
|
|
3748
|
+
setRendererIconTextField(v: string): void;
|
|
3332
3749
|
getRendererIconColor(): string;
|
|
3333
3750
|
setRendererIconColor(v: string): void;
|
|
3334
3751
|
getRendererIconSize(): number | null;
|
|
3335
3752
|
setRendererIconSize(v: number): void;
|
|
3753
|
+
getRendererIconPrefix(): string;
|
|
3754
|
+
setRendererIconPrefix(v: string): void;
|
|
3755
|
+
getRendererIconSuffix(): string;
|
|
3756
|
+
setRendererIconSuffix(v: string): void;
|
|
3757
|
+
getRendererIconTooltipText(): string;
|
|
3758
|
+
setRendererIconTooltipText(v: string): void;
|
|
3336
3759
|
getRendererImageSrc(): string;
|
|
3337
3760
|
setRendererImageSrc(v: string): void;
|
|
3338
3761
|
getRendererImageSrcField(): string;
|
|
@@ -3361,13 +3784,37 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3361
3784
|
setRendererBadgeVariant(v: string): void;
|
|
3362
3785
|
getRendererBadgeIcon(): string;
|
|
3363
3786
|
setRendererBadgeIcon(v: string): void;
|
|
3787
|
+
getRendererBadgePrefix(): string;
|
|
3788
|
+
setRendererBadgePrefix(v: string): void;
|
|
3789
|
+
getRendererBadgeSuffix(): string;
|
|
3790
|
+
setRendererBadgeSuffix(v: string): void;
|
|
3791
|
+
setRendererChipPrefix(v: string): void;
|
|
3792
|
+
setRendererChipSuffix(v: string): void;
|
|
3364
3793
|
private ensureRenderer;
|
|
3365
3794
|
private _ensureKind;
|
|
3366
3795
|
getRendererProp(kind: string, path: string): any;
|
|
3367
3796
|
setRendererJsonLogicProp(kind: string, path: string, raw: string): void;
|
|
3368
3797
|
setRendererProp(kind: string, path: string, value: any): void;
|
|
3369
3798
|
private createDefaultMicroVisualization;
|
|
3799
|
+
private ensureMicroVisualizationObject;
|
|
3370
3800
|
setMicroVisualizationProp(path: string, value: any): void;
|
|
3801
|
+
isMicroVisualizationThresholdsSupported(): boolean;
|
|
3802
|
+
getMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3803
|
+
addMicroVisualizationThreshold(): void;
|
|
3804
|
+
applyDefaultMicroVisualizationThresholds(): void;
|
|
3805
|
+
setMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
|
|
3806
|
+
setMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
|
|
3807
|
+
moveMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3808
|
+
removeMicroVisualizationThreshold(index: number): void;
|
|
3809
|
+
setMicroVisualizationSampleValuesText(raw: string): void;
|
|
3810
|
+
getMicroVisualizationSampleValues(): number[];
|
|
3811
|
+
private readonly previewMicroVizValueBindingCache;
|
|
3812
|
+
getPreviewMicroVisualizationBindingForValue(sampleValue: number): {
|
|
3813
|
+
visualization: PraxisPresentationVisualizationConfig;
|
|
3814
|
+
locale: string;
|
|
3815
|
+
idPrefix: string;
|
|
3816
|
+
} | null;
|
|
3817
|
+
private resolvePreviewMicroVisualizationConfigForValue;
|
|
3371
3818
|
private _deepClone;
|
|
3372
3819
|
hasSelectedRenderer(): boolean;
|
|
3373
3820
|
onApplyRenderer(): void;
|
|
@@ -3375,6 +3822,7 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3375
3822
|
onExportRendererJson(): Promise<void>;
|
|
3376
3823
|
onImportRendererJson(): void;
|
|
3377
3824
|
private collectRendererImportWarnings;
|
|
3825
|
+
private sanitizeTooltipObject;
|
|
3378
3826
|
private sanitizeRenderer;
|
|
3379
3827
|
private sanitizeComposeItem;
|
|
3380
3828
|
private ensurePreviewRows;
|
|
@@ -3387,6 +3835,12 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3387
3835
|
private stripRowPrefixes;
|
|
3388
3836
|
private _coerceExpected;
|
|
3389
3837
|
private getNested;
|
|
3838
|
+
private buildPreviewEvaluationContext;
|
|
3839
|
+
evaluatePreviewOverrideCondition(condition: any, row: any): boolean;
|
|
3840
|
+
private mergePreviewRenderer;
|
|
3841
|
+
private hasRenderablePreviewOverride;
|
|
3842
|
+
getEffectivePreviewRenderer(row: any): any;
|
|
3843
|
+
getPreviewSampleRows(): any[];
|
|
3390
3844
|
getPreviewRendererType(row: any): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'microVisualization' | 'rating' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | null;
|
|
3391
3845
|
getPreviewIconName(row: any): string | null;
|
|
3392
3846
|
getPreviewIconColor(row: any): string | null;
|
|
@@ -3398,16 +3852,27 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3398
3852
|
getPreviewImageShape(): 'square' | 'rounded' | 'circle' | undefined;
|
|
3399
3853
|
getPreviewImageFit(): 'cover' | 'contain' | undefined;
|
|
3400
3854
|
getPreviewBadgeText(row: any): string | null;
|
|
3401
|
-
getPreviewBadgeIcon(
|
|
3402
|
-
getPreviewBadgeClasses(
|
|
3855
|
+
getPreviewBadgeIcon(row: any): string | null;
|
|
3856
|
+
getPreviewBadgeClasses(row: any): string[];
|
|
3857
|
+
private buildBadgeClassesFromConfig;
|
|
3403
3858
|
getPreviewLinkText(row: any): string;
|
|
3404
3859
|
getPreviewLinkHref(row: any): string | null;
|
|
3405
3860
|
getPreviewButtonLabel(row: any): string;
|
|
3406
|
-
getPreviewButtonIcon(): string | null;
|
|
3861
|
+
getPreviewButtonIcon(row?: any): string | null;
|
|
3407
3862
|
getPreviewChipText(row: any): string | null;
|
|
3408
|
-
|
|
3863
|
+
getPreviewChipIcon(row?: any): string | null;
|
|
3864
|
+
getPreviewChipClasses(row?: any): string[];
|
|
3865
|
+
getComposePreviewButtonLabel(item: any, row: any): string;
|
|
3409
3866
|
getPreviewProgressValue(row: any): number;
|
|
3410
|
-
|
|
3867
|
+
private readonly previewMicroVizRowBindingCache;
|
|
3868
|
+
getPreviewMicroVisualizationBinding(row: any): {
|
|
3869
|
+
visualization: PraxisPresentationVisualizationConfig;
|
|
3870
|
+
formatValue?: (value: number, compactValue?: boolean) => string;
|
|
3871
|
+
locale: string;
|
|
3872
|
+
idPrefix: string;
|
|
3873
|
+
} | null;
|
|
3874
|
+
private createPreviewMicroVisualizationValueFormatter;
|
|
3875
|
+
private resolvePreviewMicroVisualizationConfig;
|
|
3411
3876
|
getMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
3412
3877
|
getMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3413
3878
|
isMicroVisualizationValueKind(): boolean;
|
|
@@ -3415,6 +3880,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3415
3880
|
isMicroVisualizationSegmentsKind(): boolean;
|
|
3416
3881
|
isMicroVisualizationItemsKind(): boolean;
|
|
3417
3882
|
isMicroVisualizationTotalKind(): boolean;
|
|
3883
|
+
isMicroVisualizationTargetKind(): boolean;
|
|
3884
|
+
isMicroVisualizationBaselineKind(): boolean;
|
|
3885
|
+
isMicroVisualizationSuffixKind(): boolean;
|
|
3886
|
+
isMicroVisualizationScaleBoundsKind(): boolean;
|
|
3887
|
+
isMicroVisualizationScaleScopeKind(): boolean;
|
|
3418
3888
|
getMicroVisualizationGuidanceText(): string;
|
|
3419
3889
|
getMicroVisualizationConstraint(): PraxisTableCellVisualizationConstraint;
|
|
3420
3890
|
getPreviewRatingValue(row: any): number;
|
|
@@ -3423,7 +3893,36 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3423
3893
|
getPreviewRatingOutlineColor(): string | undefined;
|
|
3424
3894
|
getPreviewRatingSize(): 'small' | 'medium' | 'large';
|
|
3425
3895
|
getPreviewRatingAriaLabel(): string | undefined;
|
|
3426
|
-
getComposePreviewItems(
|
|
3896
|
+
getComposePreviewItems(row: any): any[];
|
|
3897
|
+
isComposePreviewMedia(row: any): boolean;
|
|
3898
|
+
getComposePreviewContainerStyle(row: any): Record<string, string>;
|
|
3899
|
+
getComposePreviewValueText(item: any, row: any): string;
|
|
3900
|
+
getComposePreviewValueClasses(item: any): string[];
|
|
3901
|
+
getComposePreviewBadgeText(item: any, row: any): string;
|
|
3902
|
+
getComposePreviewBadgeClasses(item: any): string[];
|
|
3903
|
+
getComposePreviewChipText(item: any, row: any): string;
|
|
3904
|
+
getComposePreviewChipClasses(item: any): string[];
|
|
3905
|
+
getComposePreviewLinkText(item: any, row: any): string;
|
|
3906
|
+
getComposePreviewLinkHref(item: any, row: any): string | null;
|
|
3907
|
+
getComposePreviewIconName(item: any, row: any): string | null;
|
|
3908
|
+
getComposePreviewIconColor(item: any, _row: any): string | null;
|
|
3909
|
+
getComposePreviewIconStyle(item: any, _row: any): Record<string, string> | null;
|
|
3910
|
+
getComposePreviewAvatarStyle(item: any): Record<string, string>;
|
|
3911
|
+
getComposePreviewAvatarInitials(item: any, row: any): string;
|
|
3912
|
+
getComposePreviewAvatarSrc(item: any, row: any): string | null;
|
|
3913
|
+
getComposePreviewAvatarAlt(item: any, row: any): string;
|
|
3914
|
+
getComposePreviewImageSrc(item: any, row: any): string | null;
|
|
3915
|
+
getComposePreviewImageAlt(item: any, row: any): string;
|
|
3916
|
+
getComposePreviewImageStyle(item: any): Record<string, string>;
|
|
3917
|
+
getComposePreviewProgressColor(item: any): string | null;
|
|
3918
|
+
getComposePreviewHtml(item: any, row: any): string;
|
|
3919
|
+
getComposePreviewToggleState(item: any, row: any): boolean;
|
|
3920
|
+
getComposePreviewMenuCount(item: any, row: any): number;
|
|
3921
|
+
private isValidPreviewMediaUrl;
|
|
3922
|
+
private resolvePreviewSafeSrc;
|
|
3923
|
+
/** Mirrors PraxisTable.getSafeHtml token interpolation: `[[field]]` values are HTML-escaped. */
|
|
3924
|
+
private interpolatePreviewHtml;
|
|
3925
|
+
getComposePreviewProgressValue(item: any, row: any): number;
|
|
3427
3926
|
getComposePreviewRatingValue(item: any, row: any): number;
|
|
3428
3927
|
getComposePreviewRatingMax(item: any): number;
|
|
3429
3928
|
getComposePreviewRatingColor(item: any): string | undefined;
|
|
@@ -3439,7 +3938,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3439
3938
|
getPreviewToggleState(row: any): boolean;
|
|
3440
3939
|
getPreviewMenuCount(row: any): number;
|
|
3441
3940
|
getPreviewHtml(row: any): string;
|
|
3442
|
-
|
|
3941
|
+
getPreviewProgressColor(row: any): string | null;
|
|
3942
|
+
/** Preview rows are re-cloned on every read; the sample slot index is their stable identity. */
|
|
3943
|
+
trackByIdx: (index: number, _item: unknown) => number;
|
|
3944
|
+
private validateMicroVisualizationThresholds;
|
|
3945
|
+
private validateMicroVisualizationConfig;
|
|
3443
3946
|
private validateRenderer;
|
|
3444
3947
|
private readonly _emptyMappingRef;
|
|
3445
3948
|
composeSelectedIndex: number;
|
|
@@ -3457,10 +3960,13 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3457
3960
|
onComposeReorder(event: any): void;
|
|
3458
3961
|
selectComposeItem(index: number): void;
|
|
3459
3962
|
getComposeLayoutProp(key: string): any;
|
|
3963
|
+
hasComposeMediaLeadingItem(): boolean;
|
|
3460
3964
|
setComposeLayoutProp(key: string, value: any): void;
|
|
3461
3965
|
getSelectedComposeItem(): any;
|
|
3462
3966
|
getSelectedComposeItemProp(path: string): any;
|
|
3463
3967
|
setSelectedComposeItemProp(path: string, value: any): void;
|
|
3968
|
+
getConsolidatedSecondaryColumn(item: any): ExtendedColumnDefinition | null;
|
|
3969
|
+
hideConsolidatedColumn(field: string): void;
|
|
3464
3970
|
private findRendererFieldByCandidates;
|
|
3465
3971
|
private normalizeFieldLookup;
|
|
3466
3972
|
getColumnKeyInputType(column: ColumnDefinition | null): 'text' | 'number' | 'boolean';
|
|
@@ -3469,11 +3975,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3469
3975
|
}): void;
|
|
3470
3976
|
get selectedColumnDataType(): ColumnDataType$1;
|
|
3471
3977
|
set selectedColumnDataType(value: ColumnDataType$1);
|
|
3978
|
+
private findColumnFieldMetadata;
|
|
3979
|
+
private inferColumnDataTypeFromMetadata;
|
|
3472
3980
|
getColumnDataType(column: ColumnDefinition | null): ColumnDataType$1;
|
|
3473
3981
|
/**
|
|
3474
|
-
* Infer column data type from field name patterns (shared logic with PraxisTable)
|
|
3982
|
+
* Infer column data type from field name patterns (shared logic with PraxisTable, supporting pt-BR and en-US)
|
|
3475
3983
|
*/
|
|
3476
3984
|
private inferFieldTypeFromFieldName;
|
|
3985
|
+
inferRecommendedColumnAlignment(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): 'left' | 'center' | 'right';
|
|
3986
|
+
inferRecommendedColumnFormat(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): string;
|
|
3987
|
+
private applySmartCalibrationToColumn;
|
|
3988
|
+
calibrateSelectedColumnFromMetadata(): void;
|
|
3989
|
+
calibrateAllColumnsFromMetadata(): void;
|
|
3477
3990
|
onDataTypeChange(dataType: ColumnDataType$1): void;
|
|
3478
3991
|
showDataFormatter(column: ColumnDefinition | null): boolean;
|
|
3479
3992
|
getFormatterIcon(column: ColumnDefinition | null): string;
|
|
@@ -3498,8 +4011,8 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3498
4011
|
result: any;
|
|
3499
4012
|
}): void;
|
|
3500
4013
|
private updateFieldSchemasForStyleRules;
|
|
3501
|
-
static ɵfac:
|
|
3502
|
-
static ɵcmp:
|
|
4014
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnsConfigEditorComponent, never>;
|
|
4015
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnsConfigEditorComponent, "columns-config-editor", never, { "config": { "alias": "config"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; }, { "configChange": "configChange"; "columnChange": "columnChange"; }, never, never, true, never>;
|
|
3503
4016
|
}
|
|
3504
4017
|
|
|
3505
4018
|
interface BehaviorConfigChange {
|
|
@@ -3555,8 +4068,8 @@ declare class BehaviorConfigEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
3555
4068
|
private resolveNonNegativeNumber;
|
|
3556
4069
|
private resolveExpansionMaxExpandedRows;
|
|
3557
4070
|
private cloneTableConfig;
|
|
3558
|
-
static ɵfac:
|
|
3559
|
-
static ɵcmp:
|
|
4071
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BehaviorConfigEditorComponent, never>;
|
|
4072
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BehaviorConfigEditorComponent, "behavior-config-editor", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "forceClientStrategies": { "alias": "forceClientStrategies"; "required": false; }; }, { "configChange": "configChange"; "behaviorChange": "behaviorChange"; }, never, never, true, never>;
|
|
3560
4073
|
}
|
|
3561
4074
|
|
|
3562
4075
|
interface ToolbarAction {
|
|
@@ -3777,8 +4290,8 @@ declare class ToolbarActionsEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
3777
4290
|
pickBulkActionIcon(index: number): Promise<void>;
|
|
3778
4291
|
pickRowMenuIcon(): Promise<void>;
|
|
3779
4292
|
pickRowHeaderIcon(): Promise<void>;
|
|
3780
|
-
static ɵfac:
|
|
3781
|
-
static ɵcmp:
|
|
4293
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToolbarActionsEditorComponent, never>;
|
|
4294
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToolbarActionsEditorComponent, "toolbar-actions-editor", never, { "config": { "alias": "config"; "required": false; }; }, { "configChange": "configChange"; "validationChange": "validationChange"; "toolbarActionsChange": "toolbarActionsChange"; }, never, never, true, never>;
|
|
3782
4295
|
}
|
|
3783
4296
|
|
|
3784
4297
|
interface MessagesLocalizationChange {
|
|
@@ -3803,8 +4316,8 @@ declare class MessagesLocalizationEditorComponent implements OnInit, OnDestroy {
|
|
|
3803
4316
|
private initializeForm;
|
|
3804
4317
|
private setupFormListeners;
|
|
3805
4318
|
private updateConfig;
|
|
3806
|
-
static ɵfac:
|
|
3807
|
-
static ɵcmp:
|
|
4319
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessagesLocalizationEditorComponent, never>;
|
|
4320
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessagesLocalizationEditorComponent, "messages-localization-editor", never, { "config": { "alias": "config"; "required": false; }; }, { "configChange": "configChange"; "messagesLocalizationChange": "messagesLocalizationChange"; }, never, never, true, never>;
|
|
3808
4321
|
}
|
|
3809
4322
|
|
|
3810
4323
|
declare const ALWAYS_VISIBLE_LAYOUT_LANES: readonly ["actions", "inline", "grid"];
|
|
@@ -3838,6 +4351,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3838
4351
|
presentation: FormControl<FilterConfig['presentation']>;
|
|
3839
4352
|
alwaysVisibleFields: FormControl<string[]>;
|
|
3840
4353
|
showAdvanced: FormControl<boolean>;
|
|
4354
|
+
showAddButton: FormControl<boolean>;
|
|
4355
|
+
showFilterSettings: FormControl<boolean>;
|
|
3841
4356
|
mode: FormControl<'filter'>;
|
|
3842
4357
|
changeDebounceMs: FormControl<number>;
|
|
3843
4358
|
allowSaveTags: FormControl<boolean>;
|
|
@@ -3943,6 +4458,9 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3943
4458
|
isPresetActive(key: string): boolean;
|
|
3944
4459
|
hasBooleanFieldMetadata(): boolean;
|
|
3945
4460
|
getFieldLabel(name: string): string;
|
|
4461
|
+
getFieldTypeBadge(meta?: FieldMetadata | null): string;
|
|
4462
|
+
getFieldDescription(meta?: FieldMetadata | null): string;
|
|
4463
|
+
getSelectedAlwaysVisibleTriggerLabel(): string;
|
|
3946
4464
|
onAlwaysVisibleFieldSearchChange(value: string): void;
|
|
3947
4465
|
clearAlwaysVisibleFieldSearch(): void;
|
|
3948
4466
|
filteredAlwaysVisibleMetadata(): FieldMetadata[];
|
|
@@ -4047,8 +4565,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
4047
4565
|
private normalizeText;
|
|
4048
4566
|
clearPersistedFilters(): void;
|
|
4049
4567
|
forceSchemaReload(): void;
|
|
4050
|
-
static ɵfac:
|
|
4051
|
-
static ɵcmp:
|
|
4568
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
|
|
4569
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterSettingsComponent, "filter-settings", never, { "metadata": { "alias": "metadata"; "required": false; }; "metadataSource": { "alias": "metadataSource"; "required": false; }; "metadataLoading": { "alias": "metadataLoading"; "required": false; }; "metadataErrorMsg": { "alias": "metadataErrorMsg"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "configKey": { "alias": "configKey"; "required": false; }; }, { "settingsChange": "settingsChange"; }, never, never, true, never>;
|
|
4052
4570
|
}
|
|
4053
4571
|
|
|
4054
4572
|
type ColumnDataType = 'string' | 'number' | 'date' | 'boolean' | 'currency' | 'percentage' | 'custom';
|
|
@@ -4072,8 +4590,8 @@ declare class OperatorsRegistryService {
|
|
|
4072
4590
|
private readonly arrayOps;
|
|
4073
4591
|
private readonly jsonOps;
|
|
4074
4592
|
private readonly relationalOps;
|
|
4075
|
-
static ɵfac:
|
|
4076
|
-
static ɵprov:
|
|
4593
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OperatorsRegistryService, never>;
|
|
4594
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<OperatorsRegistryService>;
|
|
4077
4595
|
}
|
|
4078
4596
|
|
|
4079
4597
|
type GroupOp = 'AND' | 'OR' | 'NOT';
|
|
@@ -4094,8 +4612,8 @@ declare class RuleCompilerService {
|
|
|
4094
4612
|
compileAtomToJsonLogic(atom: RuleAtom): JsonLogicExpression | null;
|
|
4095
4613
|
private toJsonLogicValue;
|
|
4096
4614
|
private toList;
|
|
4097
|
-
static ɵfac:
|
|
4098
|
-
static ɵprov:
|
|
4615
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RuleCompilerService, never>;
|
|
4616
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<RuleCompilerService>;
|
|
4099
4617
|
}
|
|
4100
4618
|
|
|
4101
4619
|
type RuleItem = Omit<PraxisRuntimeConditionalEffectRule<RuleEffectDefinition>, 'effects'> & {
|
|
@@ -4292,6 +4810,12 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
4292
4810
|
value: any;
|
|
4293
4811
|
label: string;
|
|
4294
4812
|
}>;
|
|
4813
|
+
getDomainRuleTargetField(): string | null;
|
|
4814
|
+
getDomainRuleCandidateOptions(): Array<{
|
|
4815
|
+
value: any;
|
|
4816
|
+
label: string;
|
|
4817
|
+
}>;
|
|
4818
|
+
generateDomainRules(): void;
|
|
4295
4819
|
isNoValueOperator(op: string): boolean;
|
|
4296
4820
|
getValuePlaceholder(): string;
|
|
4297
4821
|
getI18nValuePlaceholder(): string;
|
|
@@ -4321,8 +4845,8 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
4321
4845
|
private parseNumericCsv;
|
|
4322
4846
|
private toFiniteNumber;
|
|
4323
4847
|
private getActiveGroupRef;
|
|
4324
|
-
static ɵfac:
|
|
4325
|
-
static ɵcmp:
|
|
4848
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRulesEditorComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
4849
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableRulesEditorComponent, "table-rules-editor", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "i18nRules": { "alias": "i18nRules"; "required": false; }; "debugLogs": { "alias": "debugLogs"; "required": false; }; "debugLevel": { "alias": "debugLevel"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
|
|
4326
4850
|
}
|
|
4327
4851
|
|
|
4328
4852
|
type Node = Record<string, any>;
|
|
@@ -4346,7 +4870,7 @@ declare class TableDetailTreeDraft {
|
|
|
4346
4870
|
depth: number;
|
|
4347
4871
|
} | undefined;
|
|
4348
4872
|
move(direction: -1 | 1): void;
|
|
4349
|
-
add(node: Node, nested?: boolean):
|
|
4873
|
+
add(node: Node, nested?: boolean): Node | null;
|
|
4350
4874
|
}
|
|
4351
4875
|
|
|
4352
4876
|
declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
@@ -4363,6 +4887,7 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4363
4887
|
dirty: boolean;
|
|
4364
4888
|
}>;
|
|
4365
4889
|
private readonly i18n;
|
|
4890
|
+
private readonly jsonLogic;
|
|
4366
4891
|
private baseline?;
|
|
4367
4892
|
private emitted?;
|
|
4368
4893
|
private readonly coupledBefore;
|
|
@@ -4374,26 +4899,49 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4374
4899
|
jsonTouched: boolean;
|
|
4375
4900
|
advanced: boolean;
|
|
4376
4901
|
preset: string;
|
|
4902
|
+
/** True when the last "add inside" was refused because the block cannot live inside a card grid card. */
|
|
4903
|
+
addRejected: boolean;
|
|
4377
4904
|
readonly presets: string[];
|
|
4378
4905
|
readonly sourceModes: string[];
|
|
4379
4906
|
readonly resourceKinds: string[];
|
|
4380
4907
|
readonly resourcePathMethods: string[];
|
|
4908
|
+
readonly cardGridColumnOptions: Array<'auto' | 1 | 2 | 3 | 4>;
|
|
4909
|
+
readonly cardVariants: Array<'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent'>;
|
|
4910
|
+
readonly cardSizes: Array<'sm' | 'md' | 'lg'>;
|
|
4911
|
+
readonly cardDensities: Array<'compact' | 'comfortable'>;
|
|
4912
|
+
readonly composeLayouts: Array<'flex' | 'grid'>;
|
|
4913
|
+
readonly composeDirections: Array<'row' | 'column'>;
|
|
4914
|
+
readonly composeGaps: Array<'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
4915
|
+
readonly composeAlignItemsOptions: Array<'' | 'start' | 'center' | 'end' | 'stretch'>;
|
|
4916
|
+
readonly badgePresetOptions: Array<'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'>;
|
|
4917
|
+
readonly iconSurfacePresetOptions: Array<'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'>;
|
|
4918
|
+
readonly semanticTones: Array<'' | 'neutral' | 'info' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger'>;
|
|
4919
|
+
readonly conditionOperators: Array<'===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy'>;
|
|
4381
4920
|
fallbackModes(): string[];
|
|
4382
|
-
sample:
|
|
4921
|
+
sample: 'A' | 'B' | 'C';
|
|
4383
4922
|
get previewContext(): {
|
|
4384
|
-
row:
|
|
4385
|
-
id: string;
|
|
4386
|
-
note: string;
|
|
4387
|
-
status: string;
|
|
4388
|
-
progress: number;
|
|
4389
|
-
};
|
|
4923
|
+
row: Record<string, unknown>;
|
|
4390
4924
|
};
|
|
4925
|
+
private projectDetailNodeToRichBlockNodes;
|
|
4391
4926
|
/** Local presenter projection only; never used as an authoring/save source. */
|
|
4392
4927
|
previewNodes(): RichBlockNode[];
|
|
4928
|
+
/**
|
|
4929
|
+
* Returns structured preview groups so `cardGrid` blocks render with their real
|
|
4930
|
+
* multi-column CSS Grid (`columns` and `minCardWidth`) and headers in the preview canvas.
|
|
4931
|
+
*/
|
|
4932
|
+
previewCardGridGroups(): Array<{
|
|
4933
|
+
isCardGrid: boolean;
|
|
4934
|
+
title?: string;
|
|
4935
|
+
subtitle?: string;
|
|
4936
|
+
gridTemplateColumns?: string;
|
|
4937
|
+
cards?: RichBlockNode[];
|
|
4938
|
+
nodes?: RichBlockNode[];
|
|
4939
|
+
}>;
|
|
4393
4940
|
previewRichContentDocuments(): RichContentDocument[];
|
|
4394
4941
|
richContentEditorInputs(): PraxisRichContentEditorInputs | null;
|
|
4395
4942
|
applyRichContentEditor(): void;
|
|
4396
|
-
addPreset(preset: 'callout' | 'richCard'): void;
|
|
4943
|
+
addPreset(preset: 'callout' | 'richCard' | 'richDetailGrid'): void;
|
|
4944
|
+
effectiveNodeType(node?: Record<string, any> | undefined): string;
|
|
4397
4945
|
nodeLabel(node: Record<string, any>): string;
|
|
4398
4946
|
nodeIcon(node: Record<string, any>): string;
|
|
4399
4947
|
canMove(direction: -1 | 1): boolean;
|
|
@@ -4432,14 +4980,79 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4432
4980
|
canNest(): boolean;
|
|
4433
4981
|
move(direction: -1 | 1): void;
|
|
4434
4982
|
remove(): void;
|
|
4983
|
+
fieldValue(field: string): string;
|
|
4435
4984
|
edit(field: string, value: string): void;
|
|
4436
4985
|
fields(): string[];
|
|
4437
4986
|
isAdvancedNode(): boolean;
|
|
4987
|
+
availableColumns(): Array<{
|
|
4988
|
+
field: string;
|
|
4989
|
+
label: string;
|
|
4990
|
+
}>;
|
|
4991
|
+
supportsFieldBinding(): boolean;
|
|
4992
|
+
boundColumnField(): string;
|
|
4993
|
+
bindColumnField(fieldName: string): void;
|
|
4994
|
+
cardGridColumnsValue(): 'auto' | 1 | 2 | 3 | 4;
|
|
4995
|
+
setCardGridColumns(value: 'auto' | 1 | 2 | 3 | 4): void;
|
|
4996
|
+
cardGridMinWidthValue(): number;
|
|
4997
|
+
setCardGridMinWidth(value: number | string): void;
|
|
4998
|
+
cardVariantValue(): 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent';
|
|
4999
|
+
setCardVariant(variant: 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent' | 'soft'): void;
|
|
5000
|
+
cardSizeValue(): 'sm' | 'md' | 'lg';
|
|
5001
|
+
setCardSize(size: 'sm' | 'md' | 'lg'): void;
|
|
5002
|
+
cardDensityValue(): 'compact' | 'comfortable';
|
|
5003
|
+
setCardDensity(density: 'compact' | 'comfortable' | 'spacious'): void;
|
|
5004
|
+
composeLayoutValue(): 'flex' | 'grid';
|
|
5005
|
+
setComposeLayout(layout: 'flex' | 'grid'): void;
|
|
5006
|
+
composeDirectionValue(): 'row' | 'column';
|
|
5007
|
+
setComposeDirection(direction: 'row' | 'column'): void;
|
|
5008
|
+
composeGapValue(): 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5009
|
+
setComposeGap(gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl'): void;
|
|
5010
|
+
composeAlignItemsValue(): '' | 'start' | 'center' | 'end' | 'stretch';
|
|
5011
|
+
setComposeAlignItems(align: '' | 'start' | 'center' | 'end' | 'stretch' | 'flex-start' | 'flex-end'): void;
|
|
5012
|
+
composeWrapValue(): boolean;
|
|
5013
|
+
setComposeWrap(wrap: boolean): void;
|
|
5014
|
+
supportsTone(): boolean;
|
|
5015
|
+
toneValue(): string;
|
|
5016
|
+
setTone(tone: string): void;
|
|
5017
|
+
supportsStyleControls(): boolean;
|
|
5018
|
+
nodeStyleValue(key: string): string;
|
|
5019
|
+
setNodeStyleValue(key: string, value: string): void;
|
|
5020
|
+
hasNodeAppearanceOverrides(): boolean;
|
|
5021
|
+
resetNodeAppearance(): void;
|
|
5022
|
+
badgeAppearancePreset(): 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom';
|
|
5023
|
+
applyBadgeAppearancePreset(preset: 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'): void;
|
|
5024
|
+
iconSurfacePreset(): 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom';
|
|
5025
|
+
applyIconSurfacePreset(preset: 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'): void;
|
|
5026
|
+
canConvertSelectedToRichContent(): boolean;
|
|
5027
|
+
private isLosslesslyConvertibleToRichContent;
|
|
5028
|
+
/**
|
|
5029
|
+
* Losslessly converts the selected `cardGrid` or `card` block (or its parent `cardGrid`
|
|
5030
|
+
* when a card inside `cardGrid.cards` is selected) into a canonical `richContent` node
|
|
5031
|
+
* so the user can continue authoring in the full embedded `PraxisRichContentConfigEditor`.
|
|
5032
|
+
*/
|
|
5033
|
+
convertSelectedToRichContent(): void;
|
|
5034
|
+
supportsVisibleWhen(): boolean;
|
|
5035
|
+
visibleWhenMode(): 'always' | 'conditional' | 'custom';
|
|
5036
|
+
setVisibleWhenMode(mode: 'always' | 'conditional' | 'custom'): void;
|
|
5037
|
+
visibleWhenField(): string;
|
|
5038
|
+
visibleWhenOperator(): '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
|
|
5039
|
+
visibleWhenValue(): string;
|
|
5040
|
+
setVisibleWhenRule(patch: {
|
|
5041
|
+
field?: string;
|
|
5042
|
+
operator?: '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
|
|
5043
|
+
value?: string;
|
|
5044
|
+
}): void;
|
|
5045
|
+
private parseConditionScalar;
|
|
5046
|
+
private parseGuidedVisibleWhen;
|
|
5047
|
+
private isPreviewNodeVisible;
|
|
4438
5048
|
private commitTree;
|
|
5049
|
+
/** Offered next to `cardGridContent`/`composeContent` issues: converts legacy fields into canonical presenters. */
|
|
5050
|
+
canNormalizeRichChildren(): boolean;
|
|
5051
|
+
normalizeRichChildren(): void;
|
|
4439
5052
|
editJson(value: string): void;
|
|
4440
5053
|
discard(): void;
|
|
4441
|
-
static ɵfac:
|
|
4442
|
-
static ɵcmp:
|
|
5054
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDetailEditorComponent, never>;
|
|
5055
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableDetailEditorComponent, "praxis-table-detail-editor", never, { "config": { "alias": "config"; "required": true; }; }, { "configChange": "configChange"; "draftStateChange": "draftStateChange"; }, never, never, true, never>;
|
|
4443
5056
|
}
|
|
4444
5057
|
|
|
4445
5058
|
type ResourcePathIntent = 'set' | 'clear' | 'unchanged';
|
|
@@ -4510,16 +5123,24 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4510
5123
|
isValid$: BehaviorSubject<boolean>;
|
|
4511
5124
|
isBusy$: BehaviorSubject<boolean>;
|
|
4512
5125
|
columnMetas: FieldMetadata[];
|
|
5126
|
+
filterSchemaFields: FieldDefinition[];
|
|
4513
5127
|
filterDtoMetas: FieldMetadata[];
|
|
4514
5128
|
filterDtoMetasLoading: boolean;
|
|
4515
5129
|
filterDtoMetasErrorMsg: string;
|
|
5130
|
+
resourceSchemaFields: FieldDefinition[];
|
|
5131
|
+
resourceSchemaMetas: FieldMetadata[];
|
|
5132
|
+
resourceSchemaLoading: boolean;
|
|
5133
|
+
selectedCatalogResource: DiscoveredResourceOption | null;
|
|
4516
5134
|
private hasCrudOverridesDirty;
|
|
4517
5135
|
private hasLocalDataInput;
|
|
4518
5136
|
private filterDtoLoadSeq;
|
|
5137
|
+
private resourceSchemaLoadSeq;
|
|
5138
|
+
private loadedSchemaResourcePath;
|
|
4519
5139
|
private lastKnownFilterSettings;
|
|
4520
5140
|
private globalActionValidationIssues;
|
|
4521
5141
|
private readonly panelData;
|
|
4522
5142
|
private readonly crudService;
|
|
5143
|
+
private readonly resourceDiscovery;
|
|
4523
5144
|
private readonly panelRef;
|
|
4524
5145
|
constructor(cdr: ChangeDetectorRef, configService: TableConfigService);
|
|
4525
5146
|
tx(key: string, fallback: string): string;
|
|
@@ -4536,10 +5157,82 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4536
5157
|
onFilterSettingsChange(cfg: FilterConfig): void;
|
|
4537
5158
|
private cloneFilterSettings;
|
|
4538
5159
|
private isEffectivelyEmptyFilterSettings;
|
|
5160
|
+
private enrichFieldMetadataList;
|
|
5161
|
+
/**
|
|
5162
|
+
* Converte o resumo de campos publicado em `/schemas/catalog` (`responseFields` ou `filterFields`)
|
|
5163
|
+
* em `FieldMetadata[]` para alimentar imediatamente os seletores de chave primária, colunas e
|
|
5164
|
+
* filtros rápidos enquanto `/schemas/filtered` ainda está em resolução ou indisponível.
|
|
5165
|
+
*/
|
|
5166
|
+
private extractCatalogFieldMetas;
|
|
4539
5167
|
getFilterSettingsMetas(): FieldMetadata[];
|
|
4540
5168
|
getColumnAuthoringMetas(): FieldMetadata[];
|
|
5169
|
+
getRulesEditorFields(): FieldDefinition[];
|
|
5170
|
+
getFieldTypeBadge(option?: FieldMetadata | null): string;
|
|
5171
|
+
getFieldDescription(option?: FieldMetadata | null): string;
|
|
4541
5172
|
get filteredIdFieldOptions(): FieldMetadata[];
|
|
5173
|
+
getFilteredQuickFilterFieldOptions(currentValue?: string): FieldMetadata[];
|
|
4542
5174
|
isUsingFilterDtoMetas(): boolean;
|
|
5175
|
+
get toolbarFiltersEnabled(): boolean;
|
|
5176
|
+
get toolbarShowQuickFilters(): boolean;
|
|
5177
|
+
get toolbarShowAdvancedButton(): boolean;
|
|
5178
|
+
get advancedFilterShowAddButton(): boolean;
|
|
5179
|
+
get advancedFilterShowFilterSettings(): boolean;
|
|
5180
|
+
get toolbarQuickFilters(): PraxisResourceQuickFilter[];
|
|
5181
|
+
get duplicatedQuickFilterInlineFields(): string[];
|
|
5182
|
+
private inferDefaultStatusFilterField;
|
|
5183
|
+
getQuickFilterValueOptions(fieldName: string, currentValue?: unknown): Array<{
|
|
5184
|
+
value: string;
|
|
5185
|
+
label: string;
|
|
5186
|
+
}>;
|
|
5187
|
+
private updateToolbarFiltersPatch;
|
|
5188
|
+
onToolbarFiltersEnabledChange(enabled: boolean): void;
|
|
5189
|
+
onToolbarShowQuickFiltersChange(show: boolean): void;
|
|
5190
|
+
onToolbarShowAdvancedButtonChange(show: boolean): void;
|
|
5191
|
+
onAdvancedFilterShowAddButtonChange(show: boolean): void;
|
|
5192
|
+
onAdvancedFilterShowFilterSettingsChange(show: boolean): void;
|
|
5193
|
+
applyBooleanQuickFilterPreset(fieldName?: string): void;
|
|
5194
|
+
addQuickFilterScope(): void;
|
|
5195
|
+
removeQuickFilterScope(index: number): void;
|
|
5196
|
+
updateQuickFilterMeta(index: number, patch: {
|
|
5197
|
+
id?: string;
|
|
5198
|
+
label?: string;
|
|
5199
|
+
icon?: string;
|
|
5200
|
+
tone?: PraxisQuickFilterTone | '';
|
|
5201
|
+
isDefault?: boolean;
|
|
5202
|
+
description?: string;
|
|
5203
|
+
order?: number | string | null;
|
|
5204
|
+
}): void;
|
|
5205
|
+
private normalizeEditorQuickFilterObject;
|
|
5206
|
+
private resolveQuickFilterFieldValueKind;
|
|
5207
|
+
private resolveQuickFilterArrayItemKind;
|
|
5208
|
+
private coerceQuickFilterScalarByKind;
|
|
5209
|
+
private inferCriterionMode;
|
|
5210
|
+
getQuickFilterCriteriaEntries(item: {
|
|
5211
|
+
filter?: any;
|
|
5212
|
+
}): Array<{
|
|
5213
|
+
field: string;
|
|
5214
|
+
value: any;
|
|
5215
|
+
mode: 'boolean' | 'equals' | 'in';
|
|
5216
|
+
}>;
|
|
5217
|
+
formatQuickFilterArrayValue(value: unknown): string;
|
|
5218
|
+
getQuickFilterMode(item: {
|
|
5219
|
+
filter?: any;
|
|
5220
|
+
}): 'all' | 'boolean' | 'equals' | 'in';
|
|
5221
|
+
getQuickFilterField(item: {
|
|
5222
|
+
filter?: any;
|
|
5223
|
+
}, criterionIndex?: number): string;
|
|
5224
|
+
getQuickFilterValue(item: {
|
|
5225
|
+
filter?: any;
|
|
5226
|
+
}, criterionIndex?: number): any;
|
|
5227
|
+
addQuickFilterCriterion(qfIndex: number): void;
|
|
5228
|
+
removeQuickFilterCriterion(qfIndex: number, criterionIndex: number): void;
|
|
5229
|
+
onQuickFilterCriterionModeChange(qfIndex: number, criterionIndex: number, mode: 'boolean' | 'equals' | 'in'): void;
|
|
5230
|
+
onQuickFilterModeChange(index: number, mode: 'all' | 'boolean' | 'equals' | 'in'): void;
|
|
5231
|
+
onQuickFilterCriterionFieldChange(qfIndex: number, criterionIndex: number, fieldName: string): void;
|
|
5232
|
+
onQuickFilterFieldChange(index: number, fieldName: string): void;
|
|
5233
|
+
onQuickFilterCriterionValueChange(qfIndex: number, criterionIndex: number, rawValue: any): void;
|
|
5234
|
+
onQuickFilterValueChange(index: number, rawValue: any): void;
|
|
5235
|
+
consolidateDuplicateInlineFilterFields(): void;
|
|
4543
5236
|
getEffectiveDataMode(): EffectiveDataMode;
|
|
4544
5237
|
isEffectiveLocalMode(): boolean;
|
|
4545
5238
|
private resolveLocalDataModeFeatureEnabled;
|
|
@@ -4569,8 +5262,16 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4569
5262
|
private syncFilterSettingsFromEditor;
|
|
4570
5263
|
private hasAdvancedSettingsProperty;
|
|
4571
5264
|
private syncLastKnownFilterSettingsFromEditedConfig;
|
|
5265
|
+
onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
|
|
5266
|
+
private normalizeResourcePathIdentity;
|
|
5267
|
+
private resetEditedConfigForResourceSwitch;
|
|
4572
5268
|
onResourcePathChange(val: string): void;
|
|
5269
|
+
get resourceEndpointKey(): any;
|
|
5270
|
+
get resourceApiUrlEntry(): any;
|
|
5271
|
+
private getResourceDiscoveryOptions;
|
|
5272
|
+
private canUseResourceDiscovery;
|
|
4573
5273
|
private loadFilterDtoMetas;
|
|
5274
|
+
private loadResourceSchemaMetas;
|
|
4574
5275
|
onIdFieldChange(val: string): void;
|
|
4575
5276
|
onIdFieldOptionSelected(value: string): void;
|
|
4576
5277
|
get mobileCardMode(): boolean;
|
|
@@ -4628,13 +5329,15 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4628
5329
|
onMessagesLocalizationConfigChange(newConfig: TableConfig): void;
|
|
4629
5330
|
onMessagesLocalizationChange(change: MessagesLocalizationChange): void;
|
|
4630
5331
|
ngOnDestroy(): void;
|
|
4631
|
-
static ɵfac:
|
|
4632
|
-
static ɵcmp:
|
|
5332
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableConfigEditor, never>;
|
|
5333
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisTableConfigEditor, "praxis-table-config-editor", never, {}, {}, never, never, true, never>;
|
|
4633
5334
|
}
|
|
4634
5335
|
|
|
4635
5336
|
interface PraxisTableWidgetEditorInputs {
|
|
4636
5337
|
config?: TableConfig | null;
|
|
4637
5338
|
resourcePath?: string | null;
|
|
5339
|
+
endpointKey?: ApiEndpoint;
|
|
5340
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4638
5341
|
horizontalScroll?: 'auto' | 'wrap' | 'none';
|
|
4639
5342
|
tableId?: string;
|
|
4640
5343
|
componentInstanceId?: string;
|
|
@@ -4664,14 +5367,19 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4664
5367
|
getSettingsValue(): PraxisTableWidgetEditorValue;
|
|
4665
5368
|
onSave(): PraxisTableWidgetEditorValue;
|
|
4666
5369
|
reset(): void;
|
|
5370
|
+
private normalizeResourcePathIdentity;
|
|
5371
|
+
private stripResourceBoundTableState;
|
|
5372
|
+
private sanitizeEditedConfigForResourceSwitch;
|
|
4667
5373
|
private buildValue;
|
|
4668
|
-
static ɵfac:
|
|
4669
|
-
static ɵcmp:
|
|
5374
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableWidgetConfigEditor, never>;
|
|
5375
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisTableWidgetConfigEditor, "praxis-table-widget-config-editor", never, { "inputs": { "alias": "inputs"; "required": false; }; "widgetKey": { "alias": "widgetKey"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
|
|
4670
5376
|
}
|
|
4671
5377
|
|
|
4672
5378
|
interface PraxisFilterWidgetEditorInputs {
|
|
4673
5379
|
presentation?: FilterConfig['presentation'];
|
|
4674
5380
|
resourcePath?: string | null;
|
|
5381
|
+
endpointKey?: ApiEndpoint;
|
|
5382
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4675
5383
|
fieldMetadata?: FieldMetadata[] | null;
|
|
4676
5384
|
filterId?: string;
|
|
4677
5385
|
formId?: string;
|
|
@@ -4693,6 +5401,10 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4693
5401
|
actionsButtonColor?: 'primary' | 'accent' | 'warn' | 'basic';
|
|
4694
5402
|
actionsVariant?: 'standard' | 'outlined';
|
|
4695
5403
|
useInlineSearchableSelectVariant?: boolean;
|
|
5404
|
+
useInlineSelectVariant?: boolean;
|
|
5405
|
+
useInlineMultiSelectVariant?: boolean;
|
|
5406
|
+
useInlineInputVariant?: boolean;
|
|
5407
|
+
useInlineToggleVariant?: boolean;
|
|
4696
5408
|
useInlineRangeVariant?: boolean;
|
|
4697
5409
|
useInlineDateVariant?: boolean;
|
|
4698
5410
|
useInlineDateRangeVariant?: boolean;
|
|
@@ -4704,6 +5416,7 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4704
5416
|
advancedOpenMode?: 'modal' | 'drawer';
|
|
4705
5417
|
advancedClearButtonsEnabled?: boolean;
|
|
4706
5418
|
persistenceKey?: string;
|
|
5419
|
+
showAddButton?: boolean;
|
|
4707
5420
|
showFilterSettings?: boolean;
|
|
4708
5421
|
enableCustomization?: boolean;
|
|
4709
5422
|
[key: string]: unknown;
|
|
@@ -4715,6 +5428,7 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4715
5428
|
widgetKey?: string;
|
|
4716
5429
|
resourceEditor?: ResourceQuickConnectComponent;
|
|
4717
5430
|
private readonly crud;
|
|
5431
|
+
private readonly resourceDiscovery;
|
|
4718
5432
|
private readonly cdr;
|
|
4719
5433
|
private readonly i18n;
|
|
4720
5434
|
resourceError: boolean;
|
|
@@ -4723,8 +5437,17 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4723
5437
|
private settingsDirty;
|
|
4724
5438
|
private loadingResource;
|
|
4725
5439
|
private fieldRequest;
|
|
5440
|
+
private selectedCatalogResource;
|
|
4726
5441
|
tx(key: string): string;
|
|
4727
5442
|
ngAfterViewInit(): void;
|
|
5443
|
+
/**
|
|
5444
|
+
* Hidrata imediatamente os metadados de filtro a partir do resumo de campos publicado
|
|
5445
|
+
* em `/schemas/catalog` (`filterFields` ou `responseFields`) enquanto o schema completo
|
|
5446
|
+
* (`/schemas/filtered`) ainda está carregando ou indisponível no host.
|
|
5447
|
+
*/
|
|
5448
|
+
onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
|
|
5449
|
+
private extractCatalogFieldMetas;
|
|
5450
|
+
onResourcePathChange(nextPath: string): void;
|
|
4728
5451
|
loadResourceFields(markDirty?: boolean): Promise<void>;
|
|
4729
5452
|
private optionalInject;
|
|
4730
5453
|
set inputs(value: PraxisFilterWidgetEditorInputs | null);
|
|
@@ -4751,8 +5474,8 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4751
5474
|
private normalizeOverlayVariant;
|
|
4752
5475
|
private cloneStringArray;
|
|
4753
5476
|
private cloneRecord;
|
|
4754
|
-
static ɵfac:
|
|
4755
|
-
static ɵcmp:
|
|
5477
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterWidgetConfigEditor, never>;
|
|
5478
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisFilterWidgetConfigEditor, "praxis-filter-widget-config-editor", never, { "widgetKey": { "alias": "widgetKey"; "required": false; }; "inputs": { "alias": "inputs"; "required": false; }; }, {}, never, never, true, never>;
|
|
4756
5479
|
}
|
|
4757
5480
|
|
|
4758
5481
|
/**
|
|
@@ -4763,7 +5486,8 @@ interface PraxisFilterTeleportHost {
|
|
|
4763
5486
|
filterTeleport?: boolean;
|
|
4764
5487
|
filterTemplate?: TemplateRef<unknown>;
|
|
4765
5488
|
filterBarTemplate?: TemplateRef<unknown>;
|
|
4766
|
-
|
|
5489
|
+
filterTemplateSignal?: () => TemplateRef<unknown> | undefined;
|
|
5490
|
+
internalTable?: PraxisFilterTeleportHost;
|
|
4767
5491
|
}
|
|
4768
5492
|
type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown> | null | undefined;
|
|
4769
5493
|
/**
|
|
@@ -4784,14 +5508,17 @@ type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown>
|
|
|
4784
5508
|
declare class PraxisFilterOutletComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
4785
5509
|
target: PraxisFilterOutletTarget;
|
|
4786
5510
|
private readonly cdr;
|
|
5511
|
+
private readonly targetSignal;
|
|
4787
5512
|
private previousHost?;
|
|
5513
|
+
constructor();
|
|
4788
5514
|
get resolvedTemplate(): TemplateRef<unknown> | null;
|
|
4789
5515
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4790
5516
|
ngAfterViewInit(): void;
|
|
4791
5517
|
ngOnDestroy(): void;
|
|
5518
|
+
private detachPreviousHost;
|
|
4792
5519
|
private attachTeleportTarget;
|
|
4793
|
-
static ɵfac:
|
|
4794
|
-
static ɵcmp:
|
|
5520
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterOutletComponent, never>;
|
|
5521
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisFilterOutletComponent, "praxis-filter-outlet", never, { "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
|
|
4795
5522
|
}
|
|
4796
5523
|
/**
|
|
4797
5524
|
* Praxis UI Platform — Canonical Filter Outlet Directive (Issue #11)
|
|
@@ -4809,13 +5536,17 @@ declare class PraxisFilterOutletDirective implements OnChanges, AfterViewInit, O
|
|
|
4809
5536
|
target: PraxisFilterOutletTarget;
|
|
4810
5537
|
private readonly viewContainer;
|
|
4811
5538
|
private readonly cdr;
|
|
5539
|
+
private readonly targetSignal;
|
|
4812
5540
|
private previousHost?;
|
|
5541
|
+
private renderedTemplate;
|
|
5542
|
+
constructor();
|
|
4813
5543
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4814
5544
|
ngAfterViewInit(): void;
|
|
4815
5545
|
ngOnDestroy(): void;
|
|
5546
|
+
private detachPreviousHost;
|
|
4816
5547
|
private updateView;
|
|
4817
|
-
static ɵfac:
|
|
4818
|
-
static ɵdir:
|
|
5548
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterOutletDirective, never>;
|
|
5549
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PraxisFilterOutletDirective, "[praxisFilterOutlet]", never, { "target": { "alias": "praxisFilterOutlet"; "required": false; }; }, {}, never, never, true, never>;
|
|
4819
5550
|
}
|
|
4820
5551
|
|
|
4821
5552
|
interface PraxisScopeBarItem {
|
|
@@ -4823,10 +5554,18 @@ interface PraxisScopeBarItem {
|
|
|
4823
5554
|
label: string;
|
|
4824
5555
|
filter?: Record<string, unknown> | string;
|
|
4825
5556
|
count?: number | null;
|
|
5557
|
+
badge?: string | number;
|
|
4826
5558
|
icon?: string;
|
|
4827
|
-
tone?:
|
|
5559
|
+
tone?: PraxisQuickFilterTone;
|
|
4828
5560
|
isDefault?: boolean;
|
|
4829
5561
|
tooltip?: string;
|
|
5562
|
+
description?: string;
|
|
5563
|
+
}
|
|
5564
|
+
interface PraxisScopeBarActiveBadge {
|
|
5565
|
+
key: string;
|
|
5566
|
+
label: string;
|
|
5567
|
+
valueText: string;
|
|
5568
|
+
source: 'scope' | 'search' | 'external';
|
|
4830
5569
|
}
|
|
4831
5570
|
interface PraxisScopeBarConfig {
|
|
4832
5571
|
items?: PraxisScopeBarItem[];
|
|
@@ -4838,18 +5577,37 @@ interface PraxisScopeBarConfig {
|
|
|
4838
5577
|
showClearButton?: boolean;
|
|
4839
5578
|
clearLabel?: string;
|
|
4840
5579
|
searchField?: string;
|
|
5580
|
+
targetWidgetId?: string;
|
|
5581
|
+
targetWidgetIds?: string[];
|
|
5582
|
+
showActiveFilterSummary?: boolean;
|
|
5583
|
+
filterLabels?: Record<string, string>;
|
|
4841
5584
|
}
|
|
4842
5585
|
declare class PraxisScopeBarComponent implements OnInit {
|
|
4843
5586
|
private readonly eventBus;
|
|
5587
|
+
private readonly i18n;
|
|
4844
5588
|
private readonly destroyRef;
|
|
5589
|
+
private targetFilterSubscription?;
|
|
5590
|
+
private isApplyingCriteriaToTarget;
|
|
5591
|
+
protected scopeNavigationLabel(): string;
|
|
5592
|
+
protected scopeSearchAriaLabel(): string;
|
|
5593
|
+
protected scopeClearSearchTitle(): string;
|
|
5594
|
+
protected scopeClearSearchAriaLabel(): string;
|
|
5595
|
+
protected scopeFiltersAriaLabel(): string;
|
|
5596
|
+
protected scopeActiveSummaryAriaLabel(): string;
|
|
5597
|
+
protected scopeActiveSummaryLabel(): string;
|
|
5598
|
+
protected scopeRemoveCriterionAriaLabel(label: string): string;
|
|
5599
|
+
protected scopeActiveFilterCountAriaLabel(count: number): string;
|
|
4845
5600
|
chipsTrack?: ElementRef<HTMLElement>;
|
|
5601
|
+
set config(val: PraxisScopeBarConfig | undefined | null);
|
|
4846
5602
|
private readonly itemsSignal;
|
|
4847
5603
|
set items(val: PraxisScopeBarItem[] | undefined);
|
|
4848
5604
|
get items(): PraxisScopeBarItem[] | undefined;
|
|
4849
5605
|
set activeId(val: string | undefined);
|
|
4850
5606
|
get activeId(): string | undefined;
|
|
4851
5607
|
readonly activeIdChange: EventEmitter<string>;
|
|
4852
|
-
|
|
5608
|
+
private readonly showOmniboxSignal;
|
|
5609
|
+
set showOmnibox(val: boolean);
|
|
5610
|
+
get showOmnibox(): boolean;
|
|
4853
5611
|
omniboxPlaceholder: string;
|
|
4854
5612
|
set omniboxValue(val: string | undefined);
|
|
4855
5613
|
get omniboxValue(): string | undefined;
|
|
@@ -4859,10 +5617,21 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
4859
5617
|
leadLabel?: string;
|
|
4860
5618
|
showClearButton: boolean;
|
|
4861
5619
|
clearLabel: string;
|
|
5620
|
+
private readonly showActiveFilterSummarySignal;
|
|
5621
|
+
set showActiveFilterSummary(val: boolean);
|
|
5622
|
+
get showActiveFilterSummary(): boolean;
|
|
5623
|
+
private readonly activeFiltersSignal;
|
|
5624
|
+
set activeFilters(val: Record<string, unknown> | undefined | null);
|
|
5625
|
+
get activeFilters(): Record<string, unknown>;
|
|
5626
|
+
readonly activeFiltersChange: EventEmitter<Record<string, unknown>>;
|
|
5627
|
+
private readonly filterLabelsSignal;
|
|
5628
|
+
set filterLabels(val: Record<string, string> | undefined | null);
|
|
5629
|
+
get filterLabels(): Record<string, string>;
|
|
4862
5630
|
private readonly targetSignal;
|
|
4863
5631
|
set target(val: any);
|
|
4864
5632
|
get target(): any;
|
|
4865
5633
|
targetWidgetId?: string;
|
|
5634
|
+
targetWidgetIds?: string[];
|
|
4866
5635
|
scopeBarId: string;
|
|
4867
5636
|
searchField: string;
|
|
4868
5637
|
readonly scopeChange: EventEmitter<PraxisScopeBarItem>;
|
|
@@ -4870,26 +5639,42 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
4870
5639
|
readonly filterCriteriaChange: EventEmitter<Record<string, unknown>>;
|
|
4871
5640
|
readonly clear: EventEmitter<void>;
|
|
4872
5641
|
private readonly searchSubject$;
|
|
4873
|
-
readonly currentActiveId:
|
|
4874
|
-
readonly currentSearchText:
|
|
4875
|
-
readonly effectiveItems:
|
|
5642
|
+
readonly currentActiveId: _angular_core.WritableSignal<string | null>;
|
|
5643
|
+
readonly currentSearchText: _angular_core.WritableSignal<string>;
|
|
5644
|
+
readonly effectiveItems: _angular_core.Signal<PraxisScopeBarItem[]>;
|
|
5645
|
+
readonly resolvedActiveId: _angular_core.Signal<string | null>;
|
|
5646
|
+
readonly hasMainRow: _angular_core.Signal<boolean>;
|
|
5647
|
+
readonly activeFilterBadges: _angular_core.Signal<PraxisScopeBarActiveBadge[]>;
|
|
5648
|
+
readonly activeFilterCount: _angular_core.Signal<number>;
|
|
4876
5649
|
ngOnInit(): void;
|
|
4877
5650
|
isItemActive(item: PraxisScopeBarItem): boolean;
|
|
5651
|
+
/**
|
|
5652
|
+
* Roving tabindex do radiogroup: o item ativo recebe foco; sem item ativo (ex.: filtro inline
|
|
5653
|
+
* sobrescreveu o escopo) o primeiro item permanece alcançável por Tab.
|
|
5654
|
+
*/
|
|
5655
|
+
isItemFocusable(item: PraxisScopeBarItem, index: number): boolean;
|
|
4878
5656
|
selectScope(item: PraxisScopeBarItem): void;
|
|
4879
5657
|
onSearchInput(event: Event): void;
|
|
4880
5658
|
clearSearch(): void;
|
|
5659
|
+
removeFilterCriterion(key: string): void;
|
|
4881
5660
|
resetFilters(): void;
|
|
4882
5661
|
canClear(): boolean;
|
|
4883
5662
|
onTrackKeydown(event: KeyboardEvent): void;
|
|
5663
|
+
private resolveTargetWidgetIds;
|
|
4884
5664
|
private dispatchFilters;
|
|
4885
5665
|
private applyCriteriaToTarget;
|
|
5666
|
+
private bindTargetFilterCriteria;
|
|
5667
|
+
private getScopeManagedKeys;
|
|
4886
5668
|
private discoverItemsFromTarget;
|
|
5669
|
+
private humanizeKey;
|
|
5670
|
+
private formatCriterionValue;
|
|
4887
5671
|
private normalizeFilter;
|
|
4888
|
-
static ɵfac:
|
|
4889
|
-
static ɵcmp:
|
|
5672
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisScopeBarComponent, never>;
|
|
5673
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisScopeBarComponent, "praxis-scope-bar", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "activeId": { "alias": "activeId"; "required": false; }; "showOmnibox": { "alias": "showOmnibox"; "required": false; }; "omniboxPlaceholder": { "alias": "omniboxPlaceholder"; "required": false; }; "omniboxValue": { "alias": "omniboxValue"; "required": false; }; "omniboxDebounceMs": { "alias": "omniboxDebounceMs"; "required": false; }; "leadIcon": { "alias": "leadIcon"; "required": false; }; "leadLabel": { "alias": "leadLabel"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "showActiveFilterSummary": { "alias": "showActiveFilterSummary"; "required": false; }; "activeFilters": { "alias": "activeFilters"; "required": false; }; "filterLabels": { "alias": "filterLabels"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetWidgetId": { "alias": "targetWidgetId"; "required": false; }; "targetWidgetIds": { "alias": "targetWidgetIds"; "required": false; }; "scopeBarId": { "alias": "scopeBarId"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; }, { "activeIdChange": "activeIdChange"; "omniboxValueChange": "omniboxValueChange"; "activeFiltersChange": "activeFiltersChange"; "scopeChange": "scopeChange"; "searchChange": "searchChange"; "filterCriteriaChange": "filterCriteriaChange"; "clear": "clear"; }, never, ["[scope-bar-filters], praxis-filter-outlet"], true, never>;
|
|
4890
5674
|
static ngAcceptInputType_showOmnibox: unknown;
|
|
4891
5675
|
static ngAcceptInputType_omniboxDebounceMs: unknown;
|
|
4892
5676
|
static ngAcceptInputType_showClearButton: unknown;
|
|
5677
|
+
static ngAcceptInputType_showActiveFilterSummary: unknown;
|
|
4893
5678
|
}
|
|
4894
5679
|
|
|
4895
5680
|
declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
@@ -4956,25 +5741,29 @@ declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
|
4956
5741
|
*/
|
|
4957
5742
|
private getCurrentFormatString;
|
|
4958
5743
|
private isMaskFormat;
|
|
4959
|
-
static ɵfac:
|
|
4960
|
-
static ɵcmp:
|
|
5744
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataFormatterComponent, never>;
|
|
5745
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataFormatterComponent, "data-formatter", never, { "columnType": { "alias": "columnType"; "required": false; }; "currentFormat": { "alias": "currentFormat"; "required": false; }; }, { "formatChange": "formatChange"; }, never, never, true, never>;
|
|
4961
5746
|
}
|
|
4962
5747
|
|
|
4963
5748
|
interface AnalyticsTableConfigAdapterOptions {
|
|
4964
5749
|
title?: PraxisTextValue;
|
|
4965
5750
|
subtitle?: PraxisTextValue;
|
|
5751
|
+
surfaceMode?: 'standalone' | 'embedded';
|
|
5752
|
+
rowCount?: number;
|
|
4966
5753
|
}
|
|
4967
5754
|
declare class AnalyticsTableConfigAdapterService {
|
|
4968
5755
|
private readonly i18n?;
|
|
5756
|
+
private readonly statsBuilder;
|
|
4969
5757
|
constructor(i18n?: PraxisI18nService | undefined);
|
|
4970
5758
|
toTableConfig(projection: PraxisAnalyticsProjection, options?: AnalyticsTableConfigAdapterOptions): TableConfig;
|
|
4971
5759
|
private buildColumns;
|
|
4972
5760
|
private buildComparisonMetricColumns;
|
|
5761
|
+
private resolveMetricColumnPresentation;
|
|
4973
5762
|
private comparisonValueLabel;
|
|
4974
5763
|
private getDisplayMetrics;
|
|
4975
5764
|
private resolveTextValue;
|
|
4976
|
-
static ɵfac:
|
|
4977
|
-
static ɵprov:
|
|
5765
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableConfigAdapterService, [{ optional: true; }]>;
|
|
5766
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableConfigAdapterService>;
|
|
4978
5767
|
}
|
|
4979
5768
|
|
|
4980
5769
|
declare class AnalyticsTableContractService {
|
|
@@ -4989,8 +5778,8 @@ declare class AnalyticsTableContractService {
|
|
|
4989
5778
|
private buildTableView;
|
|
4990
5779
|
private assertAnalyticTableProjection;
|
|
4991
5780
|
private resolveQueryContext;
|
|
4992
|
-
static ɵfac:
|
|
4993
|
-
static ɵprov:
|
|
5781
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableContractService, never>;
|
|
5782
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableContractService>;
|
|
4994
5783
|
}
|
|
4995
5784
|
|
|
4996
5785
|
type TableRichContentP0Node = RichPresenterNode | RichComposeNode;
|
|
@@ -5032,6 +5821,7 @@ declare const PRAXIS_FILTER_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
|
5032
5821
|
declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
5033
5822
|
private readonly i18n;
|
|
5034
5823
|
config: TableConfig;
|
|
5824
|
+
fieldMetadata: FieldMetadata[];
|
|
5035
5825
|
readonly: boolean;
|
|
5036
5826
|
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
5037
5827
|
workingConfig: TableConfig;
|
|
@@ -5051,11 +5841,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5051
5841
|
pageSize: number;
|
|
5052
5842
|
pageSizeOptionsText: string;
|
|
5053
5843
|
showFirstLastButtons: boolean;
|
|
5054
|
-
paginationStrategy: 'client' | 'server';
|
|
5844
|
+
paginationStrategy: 'client' | 'server' | undefined;
|
|
5055
5845
|
paginationPosition: 'top' | 'bottom' | 'both';
|
|
5056
5846
|
paginationStyle: 'default' | 'simple' | 'advanced' | 'compact';
|
|
5057
5847
|
sortingEnabled: boolean;
|
|
5058
|
-
sortingStrategy: 'client' | 'server';
|
|
5848
|
+
sortingStrategy: 'client' | 'server' | undefined;
|
|
5059
5849
|
allowClearSort: boolean;
|
|
5060
5850
|
defaultSortField: string;
|
|
5061
5851
|
defaultSortDirection: 'asc' | 'desc';
|
|
@@ -5083,11 +5873,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5083
5873
|
setPaginationPageSize(value: number | string): void;
|
|
5084
5874
|
setPaginationPageSizeOptions(value: string): void;
|
|
5085
5875
|
setPaginationShowFirstLastButtons(value: boolean): void;
|
|
5086
|
-
setPaginationStrategy(value: 'client' | 'server'): void;
|
|
5876
|
+
setPaginationStrategy(value: 'client' | 'server' | undefined): void;
|
|
5087
5877
|
setPaginationPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
5088
5878
|
setPaginationStyle(value: 'default' | 'simple' | 'advanced' | 'compact'): void;
|
|
5089
5879
|
setSortingEnabled(value: boolean): void;
|
|
5090
|
-
setSortingStrategy(value: 'client' | 'server'): void;
|
|
5880
|
+
setSortingStrategy(value: 'client' | 'server' | undefined): void;
|
|
5091
5881
|
setSortingAllowClear(value: boolean): void;
|
|
5092
5882
|
setSortingDefaultField(value: string): void;
|
|
5093
5883
|
setSortingDefaultDirection(value: 'asc' | 'desc'): void;
|
|
@@ -5116,8 +5906,8 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5116
5906
|
private buildDefaultSort;
|
|
5117
5907
|
private getDefaultSortField;
|
|
5118
5908
|
private getDefaultSortDirection;
|
|
5119
|
-
static ɵfac:
|
|
5120
|
-
static ɵcmp:
|
|
5909
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
|
|
5910
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisTableInlineAuthoringEditorComponent, "praxis-table-inline-authoring-editor", never, { "config": { "alias": "config"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
|
|
5121
5911
|
}
|
|
5122
5912
|
|
|
5123
5913
|
interface ValueMappingPair {
|
|
@@ -5137,6 +5927,10 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5137
5927
|
keyInputType: 'text' | 'number' | 'boolean';
|
|
5138
5928
|
labelKey: string;
|
|
5139
5929
|
labelValue: string;
|
|
5930
|
+
domainOptions: Array<{
|
|
5931
|
+
value: string | number | boolean;
|
|
5932
|
+
label: string;
|
|
5933
|
+
}>;
|
|
5140
5934
|
mappingChange: EventEmitter<{
|
|
5141
5935
|
[key: string]: string;
|
|
5142
5936
|
[key: number]: string;
|
|
@@ -5147,6 +5941,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5147
5941
|
showImportDialog: boolean;
|
|
5148
5942
|
importJsonText: string;
|
|
5149
5943
|
importError: string;
|
|
5944
|
+
private readonly i18n;
|
|
5945
|
+
tx(key: string, fallback: string): string;
|
|
5150
5946
|
constructor(cdr: ChangeDetectorRef, dialog: MatDialog, snackBar: MatSnackBar);
|
|
5151
5947
|
ngOnInit(): void;
|
|
5152
5948
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -5156,6 +5952,7 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5156
5952
|
isKeyTruthy(pair: ValueMappingPair): boolean;
|
|
5157
5953
|
getKeyPlaceholder(): string;
|
|
5158
5954
|
addNewPair(): void;
|
|
5955
|
+
generateFromDomainOptions(): void;
|
|
5159
5956
|
removePair(index: number): void;
|
|
5160
5957
|
onKeyChange(index: number, value: string): void;
|
|
5161
5958
|
onBooleanKeyChange(index: number, change: MatCheckboxChange): void;
|
|
@@ -5164,8 +5961,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5164
5961
|
exportToJson(): void;
|
|
5165
5962
|
importFromJson(): void;
|
|
5166
5963
|
cancelImport(): void;
|
|
5167
|
-
static ɵfac:
|
|
5168
|
-
static ɵcmp:
|
|
5964
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueMappingEditorComponent, never>;
|
|
5965
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueMappingEditorComponent, "value-mapping-editor", never, { "currentMapping": { "alias": "currentMapping"; "required": false; }; "keyInputType": { "alias": "keyInputType"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "domainOptions": { "alias": "domainOptions"; "required": false; }; }, { "mappingChange": "mappingChange"; }, never, never, true, never>;
|
|
5169
5966
|
}
|
|
5170
5967
|
|
|
5171
5968
|
declare class FormulaGeneratorService {
|
|
@@ -5218,8 +6015,8 @@ declare class FormulaGeneratorService {
|
|
|
5218
6015
|
private compareValues;
|
|
5219
6016
|
private resolveOperand;
|
|
5220
6017
|
private resolveFieldValue;
|
|
5221
|
-
static ɵfac:
|
|
5222
|
-
static ɵprov:
|
|
6018
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormulaGeneratorService, never>;
|
|
6019
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormulaGeneratorService>;
|
|
5223
6020
|
}
|
|
5224
6021
|
|
|
5225
6022
|
declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
@@ -5258,6 +6055,12 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
|
5258
6055
|
private generateAndEmitExpression;
|
|
5259
6056
|
get generatedExpression(): string;
|
|
5260
6057
|
isMultiSelectField(paramKey: string): boolean;
|
|
6058
|
+
onFieldSelectionChange(paramKey: string, nextValue: unknown): void;
|
|
6059
|
+
getOrderedSelectedFields(paramKey: string): string[];
|
|
6060
|
+
moveSelectedField(paramKey: string, index: number, delta: -1 | 1): void;
|
|
6061
|
+
getShortFieldDisplayLabel(fieldName: string): string;
|
|
6062
|
+
formatSelectedFieldLabel(selection: unknown): string;
|
|
6063
|
+
private resolveFieldDisplayLabel;
|
|
5261
6064
|
getFieldTypeIcon(fieldType: string): string;
|
|
5262
6065
|
testFormula(): void;
|
|
5263
6066
|
formatTestResult(result: any): string;
|
|
@@ -5269,8 +6072,8 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
|
5269
6072
|
onValueInputBooleanChange(paramKey: string, change: MatCheckboxChange): void;
|
|
5270
6073
|
private updateParameterFromValueInput;
|
|
5271
6074
|
private initializeValueInputStates;
|
|
5272
|
-
static ɵfac:
|
|
5273
|
-
static ɵcmp:
|
|
6075
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VisualFormulaBuilderComponent, never>;
|
|
6076
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VisualFormulaBuilderComponent, "visual-formula-builder", never, { "availableDataSchema": { "alias": "availableDataSchema"; "required": false; }; "currentFormula": { "alias": "currentFormula"; "required": false; }; }, { "formulaChange": "formulaChange"; "generatedExpressionChange": "generatedExpressionChange"; }, never, never, true, never>;
|
|
5274
6077
|
}
|
|
5275
6078
|
|
|
5276
6079
|
/** Metadata for PraxisTable component */
|
|
@@ -5711,72 +6514,301 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
5711
6514
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
5712
6515
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
5713
6516
|
|
|
6517
|
+
interface ResolvedCalculationStepViewModel {
|
|
6518
|
+
role: PraxisAnalyticalDrawerCalculationStepRole;
|
|
6519
|
+
label: string;
|
|
6520
|
+
operator: string;
|
|
6521
|
+
value: string;
|
|
6522
|
+
numericValue?: number;
|
|
6523
|
+
signedNumericValue?: number;
|
|
6524
|
+
hint?: string;
|
|
6525
|
+
legalBasis?: string;
|
|
6526
|
+
icon?: string;
|
|
6527
|
+
tone: string;
|
|
6528
|
+
}
|
|
6529
|
+
interface ResolvedCalculationWaterfallSegment {
|
|
6530
|
+
label: string;
|
|
6531
|
+
formattedValue: string;
|
|
6532
|
+
tone: string;
|
|
6533
|
+
percentWidth: number;
|
|
6534
|
+
}
|
|
6535
|
+
type CalculationBridgeStepKind = 'base' | 'addition' | 'deduction' | 'cap' | 'subtotal' | 'result';
|
|
6536
|
+
interface ResolvedCalculationBridgeStep {
|
|
6537
|
+
id: string;
|
|
6538
|
+
kind: CalculationBridgeStepKind;
|
|
6539
|
+
label: string;
|
|
6540
|
+
hint?: string;
|
|
6541
|
+
signChar: '+' | '-' | '=';
|
|
6542
|
+
icon: string;
|
|
6543
|
+
deltaText: string;
|
|
6544
|
+
runningText: string;
|
|
6545
|
+
startPercent: number;
|
|
6546
|
+
widthPercent: number;
|
|
6547
|
+
connectorPercent: number;
|
|
6548
|
+
ariaLabel: string;
|
|
6549
|
+
}
|
|
6550
|
+
type CalculationMemoryViewMode = 'both' | 'bridge' | 'pipeline';
|
|
6551
|
+
interface ResolvedCalculationTrailViewModel {
|
|
6552
|
+
id: string;
|
|
6553
|
+
title: string;
|
|
6554
|
+
subtitle?: string;
|
|
6555
|
+
icon: string;
|
|
6556
|
+
ruleCode?: string;
|
|
6557
|
+
formula?: string;
|
|
6558
|
+
steps: ResolvedCalculationStepViewModel[];
|
|
6559
|
+
waterfallSegments: ResolvedCalculationWaterfallSegment[];
|
|
6560
|
+
bridgeSteps: ResolvedCalculationBridgeStep[];
|
|
6561
|
+
bridgeZeroPercent: number;
|
|
6562
|
+
legalBasis?: string;
|
|
6563
|
+
legalPurpose?: string;
|
|
6564
|
+
epistemicMeta?: PraxisEpistemicMeta;
|
|
6565
|
+
}
|
|
6566
|
+
interface ResolvedCalculationMemorySectionViewModel {
|
|
6567
|
+
title?: string;
|
|
6568
|
+
subtitle?: string;
|
|
6569
|
+
icon: string;
|
|
6570
|
+
legalBasis?: string;
|
|
6571
|
+
emptyText?: string;
|
|
6572
|
+
trails: ResolvedCalculationTrailViewModel[];
|
|
6573
|
+
}
|
|
5714
6574
|
declare function isAnalyticalDrawerSchema(schema: unknown): schema is PraxisAnalyticalDrawerSchema;
|
|
5715
6575
|
declare function interpolateRelationEndpoint(endpoint: string, row: Record<string, unknown> | null | undefined): {
|
|
5716
6576
|
url: string;
|
|
5717
6577
|
hasMissingTokens: boolean;
|
|
5718
6578
|
};
|
|
5719
|
-
declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDestroy {
|
|
6579
|
+
declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
5720
6580
|
private _isOpen;
|
|
5721
6581
|
private previousActiveElement;
|
|
6582
|
+
private hostTokenObserver;
|
|
6583
|
+
private static readonly PORTAL_FORWARDED_TOKENS;
|
|
6584
|
+
private lastMirroredTokens;
|
|
5722
6585
|
handleDocumentEscape(event?: Event): void;
|
|
6586
|
+
handleDocumentSteppingKeydown(event: KeyboardEvent): void;
|
|
5723
6587
|
set isOpen(value: boolean);
|
|
5724
6588
|
get isOpen(): boolean;
|
|
5725
6589
|
private _resourcePath?;
|
|
6590
|
+
private readonly resourcePathSignal;
|
|
5726
6591
|
set resourcePath(value: string | undefined);
|
|
5727
6592
|
get resourcePath(): string | undefined;
|
|
5728
|
-
surfaceName: string;
|
|
5729
6593
|
private _drawerConfig;
|
|
5730
6594
|
set drawerConfig(value: TableDrawerConfig | null);
|
|
5731
6595
|
get drawerConfig(): TableDrawerConfig | null;
|
|
5732
6596
|
private _row;
|
|
5733
6597
|
set row(value: any | null);
|
|
5734
6598
|
get row(): any | null;
|
|
5735
|
-
|
|
6599
|
+
private _relations;
|
|
6600
|
+
set relations(value: Record<string, unknown>);
|
|
6601
|
+
get relations(): Record<string, unknown>;
|
|
6602
|
+
private _rows;
|
|
6603
|
+
set rows(value: readonly any[] | null | undefined);
|
|
6604
|
+
get rows(): readonly any[];
|
|
5736
6605
|
loadingRelations: boolean;
|
|
6606
|
+
surfacesHref?: string | null;
|
|
6607
|
+
private readonly resizableSignal;
|
|
6608
|
+
set resizable(value: boolean);
|
|
6609
|
+
get resizable(): boolean;
|
|
6610
|
+
private readonly expandableSignal;
|
|
6611
|
+
set expandable(value: boolean);
|
|
6612
|
+
get expandable(): boolean;
|
|
6613
|
+
private readonly persistSizeKeySignal;
|
|
6614
|
+
set persistSizeKey(value: string | null);
|
|
6615
|
+
get persistSizeKey(): string | null;
|
|
6616
|
+
private readonly minWidthSignal;
|
|
6617
|
+
set minWidth(value: string | undefined);
|
|
6618
|
+
get minWidth(): string | undefined;
|
|
6619
|
+
private readonly maxWidthSignal;
|
|
6620
|
+
set maxWidth(value: string | undefined);
|
|
6621
|
+
get maxWidth(): string | undefined;
|
|
6622
|
+
protected readonly viewportWidthSignal: _angular_core.WritableSignal<number>;
|
|
5737
6623
|
closeDrawer: EventEmitter<void>;
|
|
5738
6624
|
tabChange: EventEmitter<string>;
|
|
5739
6625
|
relationFetch: EventEmitter<{
|
|
5740
6626
|
key: string;
|
|
5741
6627
|
endpoint: string;
|
|
5742
6628
|
}>;
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
6629
|
+
rowChange: EventEmitter<any>;
|
|
6630
|
+
ruleClick: EventEmitter<{
|
|
6631
|
+
ruleCode: string;
|
|
6632
|
+
trailId: string;
|
|
6633
|
+
title: string;
|
|
6634
|
+
legalBasis?: string;
|
|
6635
|
+
}>;
|
|
6636
|
+
protected readonly drawerTabsHasOverflow: _angular_core.WritableSignal<boolean>;
|
|
6637
|
+
protected readonly drawerTabsCanScrollPrev: _angular_core.WritableSignal<boolean>;
|
|
6638
|
+
protected readonly drawerTabsCanScrollNext: _angular_core.WritableSignal<boolean>;
|
|
6639
|
+
protected readonly drawerTabIndexOpen: _angular_core.WritableSignal<boolean>;
|
|
6640
|
+
protected readonly drawerTabIndexFilter: _angular_core.WritableSignal<string>;
|
|
6641
|
+
protected readonly isExpanded: _angular_core.WritableSignal<boolean>;
|
|
6642
|
+
protected readonly isResizing: _angular_core.WritableSignal<boolean>;
|
|
6643
|
+
protected readonly userWidthOverride: _angular_core.WritableSignal<string | null>;
|
|
6644
|
+
private collapsedWidthBeforeExpand;
|
|
6645
|
+
private activeResizePointerId;
|
|
6646
|
+
private resizeStartX;
|
|
6647
|
+
private resizeStartWidth;
|
|
6648
|
+
private suppressNextBackdropClick;
|
|
6649
|
+
private backdropSuppressTimer;
|
|
6650
|
+
protected readonly showDrawerTabIndex: _angular_core.Signal<boolean>;
|
|
6651
|
+
protected readonly filteredDrawerIndexTabs: _angular_core.Signal<PraxisAnalyticalDrawerTab[]>;
|
|
6652
|
+
protected readonly drawerConfigSignal: _angular_core.WritableSignal<TableDrawerConfig | null>;
|
|
6653
|
+
protected readonly rowSignal: _angular_core.WritableSignal<any>;
|
|
6654
|
+
protected readonly rowsSignal: _angular_core.WritableSignal<readonly any[]>;
|
|
6655
|
+
protected readonly relationsSignal: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
6656
|
+
protected readonly activeTabId: _angular_core.WritableSignal<string>;
|
|
6657
|
+
protected readonly customRelations: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
6658
|
+
protected readonly isFetchingRelations: _angular_core.WritableSignal<boolean>;
|
|
6659
|
+
protected readonly resolvedRemoteConfig: _angular_core.WritableSignal<TableDrawerConfig | null>;
|
|
6660
|
+
protected readonly resolvedFieldLineage: _angular_core.WritableSignal<Record<string, {
|
|
6661
|
+
attributeId?: string;
|
|
6662
|
+
sourceResourceKey?: string;
|
|
6663
|
+
sourcePaths?: string[];
|
|
6664
|
+
transformation?: string;
|
|
6665
|
+
}>>;
|
|
6666
|
+
protected readonly resolvedSchemaFields: _angular_core.WritableSignal<FieldDefinition[]>;
|
|
6667
|
+
protected readonly resolvedResourceIdentity: _angular_core.WritableSignal<ResourceIdentityContract | null>;
|
|
6668
|
+
protected readonly resolvedResourceTitle: _angular_core.WritableSignal<string>;
|
|
6669
|
+
protected readonly resolvedResourceIcon: _angular_core.WritableSignal<string>;
|
|
6670
|
+
protected readonly resolvedSurfaces: _angular_core.WritableSignal<ResourceSurfaceCatalogItem[]>;
|
|
6671
|
+
protected readonly resolvedSurfaceChildrenState: _angular_core.WritableSignal<Record<string, {
|
|
6672
|
+
loading: boolean;
|
|
6673
|
+
error: boolean;
|
|
6674
|
+
rows: Record<string, unknown>[];
|
|
6675
|
+
}>>;
|
|
6676
|
+
protected readonly isResolvingSchema: _angular_core.WritableSignal<boolean>;
|
|
6677
|
+
protected readonly heroIdentity: _angular_core.Signal<MaterializedResourceIdentity | null>;
|
|
6678
|
+
protected readonly resolvedHeroMetadata: _angular_core.Signal<{
|
|
6679
|
+
field: string;
|
|
6680
|
+
label: string;
|
|
6681
|
+
value: string;
|
|
6682
|
+
}[]>;
|
|
5748
6683
|
private readonly evaluator;
|
|
5749
6684
|
private readonly http;
|
|
6685
|
+
private readonly injector;
|
|
5750
6686
|
private readonly drawerRegistry;
|
|
6687
|
+
private readonly schemaNormalizer;
|
|
5751
6688
|
private readonly apiUrl;
|
|
5752
|
-
private readonly
|
|
6689
|
+
private readonly runtimeContext;
|
|
5753
6690
|
private readonly formattingService;
|
|
6691
|
+
private drawerPortal?;
|
|
6692
|
+
private readonly hostRef;
|
|
6693
|
+
private readonly overlay;
|
|
6694
|
+
private readonly viewContainerRef;
|
|
6695
|
+
private overlayRef;
|
|
6696
|
+
private readonly layerScale;
|
|
6697
|
+
private readonly decisionInspector;
|
|
6698
|
+
private readonly assistantLaunch;
|
|
6699
|
+
private readonly i18n;
|
|
6700
|
+
private readonly angularLocale;
|
|
6701
|
+
readonly calcMemoryViewModes: _angular_core.WritableSignal<Record<string, CalculationMemoryViewMode>>;
|
|
6702
|
+
protected readonly canAskAssistant: _angular_core.Signal<boolean>;
|
|
6703
|
+
protected readonly askDrawerAssistantLabel: _angular_core.Signal<string>;
|
|
6704
|
+
protected readonly askCalculationAssistantLabel: _angular_core.Signal<string>;
|
|
5754
6705
|
private relationSubs;
|
|
5755
6706
|
private schemaSub?;
|
|
5756
|
-
private
|
|
5757
|
-
private
|
|
6707
|
+
private surfaceDiscoverySub?;
|
|
6708
|
+
private surfaceDataSubs;
|
|
6709
|
+
private contextSub?;
|
|
6710
|
+
private lastSurfacesKey;
|
|
6711
|
+
private lastEndpointResourceKey;
|
|
6712
|
+
private lastEndpointSurfacesHref;
|
|
6713
|
+
private lastSchemaHasExplicitLayout;
|
|
6714
|
+
private static readonly relationCaches;
|
|
6715
|
+
private readonly relationCache;
|
|
6716
|
+
private relationEpoch;
|
|
6717
|
+
private drawerTabsObserver;
|
|
6718
|
+
private observedDrawerTablist;
|
|
6719
|
+
constructor();
|
|
5758
6720
|
private lastFetchedKey;
|
|
5759
6721
|
private lastResolvingKey;
|
|
6722
|
+
private schemaResolutionEpoch;
|
|
6723
|
+
private destroyed;
|
|
5760
6724
|
static clearCache(): void;
|
|
6725
|
+
private getContextScopePrefix;
|
|
5761
6726
|
private resolveUrl;
|
|
5762
6727
|
ngOnInit(): void;
|
|
6728
|
+
ngAfterViewInit(): void;
|
|
5763
6729
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5764
6730
|
ngOnDestroy(): void;
|
|
6731
|
+
private syncOverlayState;
|
|
6732
|
+
private disposeOverlay;
|
|
6733
|
+
private hasHigherActiveOverlay;
|
|
6734
|
+
private syncOverlayHostTokens;
|
|
5765
6735
|
getEffectiveDrawerConfig(): TableDrawerConfig | null;
|
|
5766
6736
|
private mergeTabs;
|
|
5767
6737
|
private resolveRemoteDrawerMetadata;
|
|
5768
|
-
|
|
6738
|
+
private shouldHydrateRemoteCalculationMemory;
|
|
6739
|
+
private hasCalculationMemoryConfigured;
|
|
6740
|
+
private mergeRemoteCalculationMemory;
|
|
6741
|
+
protected onClose(options?: {
|
|
6742
|
+
restoreFocus?: boolean;
|
|
6743
|
+
}): void;
|
|
5769
6744
|
protected onBackdropClick(event: MouseEvent): void;
|
|
6745
|
+
protected readonly totalRowsCount: _angular_core.Signal<number>;
|
|
6746
|
+
protected readonly currentRowIndex: _angular_core.Signal<number>;
|
|
6747
|
+
protected readonly canStepPrevious: _angular_core.Signal<boolean>;
|
|
6748
|
+
protected readonly canStepNext: _angular_core.Signal<boolean>;
|
|
6749
|
+
protected stepToPreviousRow(): void;
|
|
6750
|
+
protected stepToNextRow(): void;
|
|
6751
|
+
protected onRuleBadgeClick(trail: ResolvedCalculationTrailViewModel): void;
|
|
6752
|
+
protected onAskAssistant(): void;
|
|
6753
|
+
protected onAskCalculationMemory(section: ResolvedCalculationMemorySectionViewModel): void;
|
|
6754
|
+
protected onDrawerPanelClick(event: Event): void;
|
|
6755
|
+
protected scrollDrawerTabs(deltaPx: number): void;
|
|
6756
|
+
protected toggleDrawerTabIndex(event: Event): void;
|
|
6757
|
+
protected closeDrawerTabIndex(restoreFocus?: boolean): void;
|
|
6758
|
+
protected onDrawerTabIndexFilterInput(event: Event): void;
|
|
6759
|
+
protected onDrawerTabIndexSearchKeydown(event: KeyboardEvent): void;
|
|
6760
|
+
protected selectTabFromIndex(tabId: string): void;
|
|
6761
|
+
protected updateDrawerTabsScrollState(): void;
|
|
6762
|
+
private scheduleDrawerTabsMeasurement;
|
|
5770
6763
|
protected selectTab(tabId: string): void;
|
|
5771
6764
|
private getAnalyticalSchema;
|
|
5772
|
-
protected resolvedTabs:
|
|
6765
|
+
protected resolvedTabs: _angular_core.Signal<PraxisAnalyticalDrawerTab[]>;
|
|
5773
6766
|
private generateAutoOverviewProperties;
|
|
5774
6767
|
private formatPropertyLabel;
|
|
5775
|
-
protected resolvedTitle:
|
|
5776
|
-
protected resolvedSubtitle:
|
|
5777
|
-
protected resolvedClassificationPill:
|
|
5778
|
-
protected
|
|
6768
|
+
protected resolvedTitle: _angular_core.Signal<string>;
|
|
6769
|
+
protected resolvedSubtitle: _angular_core.Signal<string>;
|
|
6770
|
+
protected resolvedClassificationPill: _angular_core.Signal<string>;
|
|
6771
|
+
protected showResizeHandle: _angular_core.Signal<boolean>;
|
|
6772
|
+
protected showExpandButton: _angular_core.Signal<boolean>;
|
|
6773
|
+
protected resizeMinWidthPx: _angular_core.Signal<number>;
|
|
6774
|
+
protected resizeMaxWidthPx: _angular_core.Signal<number>;
|
|
6775
|
+
protected resizeCurrentWidthPx: _angular_core.Signal<number>;
|
|
6776
|
+
protected resolvedWidth: _angular_core.Signal<string>;
|
|
6777
|
+
onDrawerWindowResize(): void;
|
|
6778
|
+
protected toggleExpand(): void;
|
|
6779
|
+
protected onResizeHandlePointerDown(event: PointerEvent): void;
|
|
6780
|
+
protected onResizeHandleDoubleClick(event: MouseEvent): void;
|
|
6781
|
+
protected onResizeHandleKeydown(event: KeyboardEvent): void;
|
|
6782
|
+
onDrawerDocumentPointerMove(event: PointerEvent): void;
|
|
6783
|
+
onDrawerDocumentPointerEnd(event: PointerEvent): void;
|
|
6784
|
+
private promoteExpandedBeforeManualResize;
|
|
6785
|
+
private getCurrentDrawerWidthPx;
|
|
6786
|
+
private applyManualWidthPx;
|
|
6787
|
+
private stopResizeSession;
|
|
6788
|
+
private getEffectivePersistKey;
|
|
6789
|
+
private getEffectiveMinWidth;
|
|
6790
|
+
private getEffectiveMaxWidth;
|
|
5779
6791
|
protected getDrawerIcon(): string;
|
|
6792
|
+
protected isAvatarImageUrl(value: unknown): boolean;
|
|
6793
|
+
protected resolveAvatarInitials(value: unknown): string;
|
|
6794
|
+
protected isLazySurfaceContent(content: unknown): boolean;
|
|
6795
|
+
protected asLazySurfaceConfig(content: unknown): ResourceSurfaceCatalogItem;
|
|
6796
|
+
protected getLazySurfaceState(surfaceId: string): {
|
|
6797
|
+
loading: boolean;
|
|
6798
|
+
error: boolean;
|
|
6799
|
+
rows: Record<string, unknown>[];
|
|
6800
|
+
};
|
|
6801
|
+
protected extractSurfaceRowEntries(row: Record<string, unknown>): Array<{
|
|
6802
|
+
key: string;
|
|
6803
|
+
label: string;
|
|
6804
|
+
value: string;
|
|
6805
|
+
}>;
|
|
6806
|
+
private resetLazySurfaceState;
|
|
6807
|
+
private resolveEffectiveSurfacesHref;
|
|
6808
|
+
private triggerLazySurfacesDiscoveryIfNeeded;
|
|
6809
|
+
protected loadLazySurfaceTabData(surface: ResourceSurfaceCatalogItem, force?: boolean): void;
|
|
6810
|
+
private synthesizeZeroConfigDrawerSchema;
|
|
6811
|
+
private inferDrawerMetricFormat;
|
|
5780
6812
|
protected getEvaluationContext(): Record<string, unknown>;
|
|
5781
6813
|
protected isCardGridContent(content: unknown): boolean;
|
|
5782
6814
|
protected asCardGrid(content: unknown): {
|
|
@@ -5789,14 +6821,48 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
5789
6821
|
protected isPropertyGrid(content: unknown): boolean;
|
|
5790
6822
|
protected asPropertyGrid(content: unknown): any[];
|
|
5791
6823
|
protected isArray(val: unknown): boolean;
|
|
6824
|
+
protected isCalculationMemoryContent(content: unknown): boolean;
|
|
6825
|
+
protected hasRootCalculationMemory(): boolean;
|
|
6826
|
+
protected resolveRootCalculationMemorySection(): ResolvedCalculationMemorySectionViewModel | null;
|
|
6827
|
+
protected resolveCalculationMemorySection(raw: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[] | unknown): ResolvedCalculationMemorySectionViewModel | null;
|
|
6828
|
+
private isCalculationTrailVisible;
|
|
6829
|
+
private resolveCalculationTrail;
|
|
6830
|
+
protected calculationTrailEpistemicVariant(meta: PraxisEpistemicMeta | null | undefined): 'compact' | 'detailed';
|
|
6831
|
+
private resolveCalculationTrailEpistemicMeta;
|
|
6832
|
+
getCalculationViewMode(trailId: string): CalculationMemoryViewMode;
|
|
6833
|
+
setCalculationViewMode(trailId: string, mode: CalculationMemoryViewMode): void;
|
|
6834
|
+
resolveTableText(key: string, fallback: string, params?: PraxisTranslationParams): string;
|
|
6835
|
+
private resolveDrawerLocale;
|
|
6836
|
+
private resolveTrailBridgeSteps;
|
|
6837
|
+
private formatBridgeNumberLike;
|
|
6838
|
+
private resolveTrailWaterfallSegments;
|
|
6839
|
+
private resolveCalculationSteps;
|
|
6840
|
+
private evaluateCalculationValueWithNumeric;
|
|
6841
|
+
private evaluateAndFormatCalculationValue;
|
|
6842
|
+
private parsePrecisionDigits;
|
|
6843
|
+
private evalRawExpression;
|
|
6844
|
+
private evalStringText;
|
|
5792
6845
|
protected evaluateAndFormatMetric(item: any): string;
|
|
5793
6846
|
protected evaluatePropertyValue(item: any): string;
|
|
5794
|
-
protected
|
|
6847
|
+
protected getItemLineage(item: any): {
|
|
6848
|
+
label: string;
|
|
6849
|
+
tooltip: string;
|
|
6850
|
+
} | null;
|
|
6851
|
+
private readonly microVizBindingItemCache;
|
|
6852
|
+
protected resolveMicroVizBinding(viz: PraxisPresentationVisualizationConfig | undefined, item: any): {
|
|
6853
|
+
visualization: PraxisPresentationVisualizationConfig;
|
|
6854
|
+
fallbackText: string;
|
|
6855
|
+
locale: string;
|
|
6856
|
+
idPrefix: string;
|
|
6857
|
+
} | null;
|
|
6858
|
+
private resolveMicroVizConfig;
|
|
5795
6859
|
private syncActiveTab;
|
|
5796
6860
|
private fetchConfiguredRelations;
|
|
6861
|
+
private invalidateRelations;
|
|
5797
6862
|
private cancelRelationRequests;
|
|
5798
|
-
|
|
5799
|
-
static
|
|
6863
|
+
private postCanonicalFilterRelation;
|
|
6864
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
|
|
6865
|
+
static ɵcmp: _angular_core.ɵɵ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; }; "rows": { "alias": "rows"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; "surfacesHref": { "alias": "surfacesHref"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "persistSizeKey": { "alias": "persistSizeKey"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; "rowChange": "rowChange"; "ruleClick": "ruleClick"; }, never, never, true, never>;
|
|
5800
6866
|
}
|
|
5801
6867
|
|
|
5802
6868
|
type AnalyticalDrawerSchemaOrConfig = PraxisAnalyticalDrawerSchema | TableDrawerConfig;
|
|
@@ -5815,8 +6881,8 @@ declare class AnalyticalDrawerRegistryService {
|
|
|
5815
6881
|
has(resourcePath: string): boolean;
|
|
5816
6882
|
clear(): void;
|
|
5817
6883
|
normalizeKey(path: string | undefined | null): string;
|
|
5818
|
-
static ɵfac:
|
|
5819
|
-
static ɵprov:
|
|
6884
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticalDrawerRegistryService, never>;
|
|
6885
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticalDrawerRegistryService>;
|
|
5820
6886
|
}
|
|
5821
6887
|
|
|
5822
6888
|
interface ComputedFieldsEvaluationOptions {
|
|
@@ -5840,5 +6906,33 @@ declare function formatComputedFieldValue(value: unknown, format?: string, type?
|
|
|
5840
6906
|
*/
|
|
5841
6907
|
declare function applyComputedFieldsToRows<T extends Record<string, any> = Record<string, any>>(rows: T[], computedFieldsConfig?: PraxisComputedFieldsConfig | null, options?: ComputedFieldsEvaluationOptions): T[];
|
|
5842
6908
|
|
|
5843
|
-
|
|
5844
|
-
|
|
6909
|
+
/** Raw compact schema authorship only; native normalization remains an editor/runtime projection. */
|
|
6910
|
+
declare function decodeTablePageInputs(value: unknown): {
|
|
6911
|
+
document: TableAuthoringDocument | null;
|
|
6912
|
+
diagnostics: EditorDiagnostic[];
|
|
6913
|
+
};
|
|
6914
|
+
/** Core prefixes these widget-relative JSON Pointers; this callback never resolves a source/latest. */
|
|
6915
|
+
declare function validateTablePageWidget(widget: WidgetInstance): readonly {
|
|
6916
|
+
code: string;
|
|
6917
|
+
path: string;
|
|
6918
|
+
}[];
|
|
6919
|
+
declare function encodeTablePageInputs(value: unknown): {
|
|
6920
|
+
inputs: Record<string, unknown> | null;
|
|
6921
|
+
diagnostics: EditorDiagnostic[];
|
|
6922
|
+
};
|
|
6923
|
+
/** No-change values in a materialized native editor cannot author defaults or erase absent keys. */
|
|
6924
|
+
declare function projectTablePageEditorChanges(authoredInputs: unknown, editorBaseline: unknown, editorValue: unknown): {
|
|
6925
|
+
inputs: Record<string, unknown> | null;
|
|
6926
|
+
diagnostics: EditorDiagnostic[];
|
|
6927
|
+
};
|
|
6928
|
+
/** Derive execution-only identity and disable independent preferences. Never persist this projection. */
|
|
6929
|
+
declare function materializeTablePageRuntimeInputs(value: unknown, pageId: string, widgetKey: string, options?: {
|
|
6930
|
+
preview?: boolean;
|
|
6931
|
+
}): {
|
|
6932
|
+
inputs: Record<string, unknown> | null;
|
|
6933
|
+
diagnostics: EditorDiagnostic[];
|
|
6934
|
+
};
|
|
6935
|
+
declare const TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER: GovernedPagePreviewWidgetAdapter;
|
|
6936
|
+
|
|
6937
|
+
export { ANALYTICS_TABLE_ROW_KEY_FIELD, AnalyticalDrawerRegistryService, AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, PRAXIS_FILTER_AUTHORING_MANIFEST, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisAnalyticalDrawerComponent, PraxisFilter, PraxisFilterOutletComponent, PraxisFilterOutletDirective, PraxisFilterWidgetConfigEditor, PraxisScopeBarComponent, PraxisTable, PraxisTableConfigEditor, PraxisTableInlineAuthoringEditorComponent, PraxisTableToolbar, PraxisTableWidgetConfigEditor, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, TABLE_COMPONENT_EDIT_PLAN_KIND, TABLE_COMPONENT_EDIT_PLAN_VERSION, TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, analyticsComparisonMetricField, applyComputedFieldsToRows, attachAnalyticsTableRowMetadata, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, decodeTablePageInputs, encodeTablePageInputs, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, materializeTablePageRuntimeInputs, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, projectTablePageEditorChanges, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, readAnalyticsTableRowMetadata, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument, validateTablePageWidget };
|
|
6938
|
+
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRawStatsResponse, AnalyticsTableRawStatsResult, AnalyticsTableRow, AnalyticsTableRowMetadata, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, CalculationBridgeStepKind, CalculationMemoryViewMode, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResolvedCalculationBridgeStep, ResolvedCalculationMemorySectionViewModel, ResolvedCalculationStepViewModel, ResolvedCalculationTrailViewModel, ResolvedCalculationWaterfallSegment, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|