@praxisui/table 10.0.0-rc.6 → 10.0.0-rc.60
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 +841 -722
- package/ai/component-registry.json +3820 -382
- 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 +851 -50
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DANYIQs6.mjs → praxisui-table-filter-form-dialog-host.component-DPaKsMcg.mjs} +61 -11
- package/fesm2022/{praxisui-table-praxisui-table-BIRFv2S8.mjs → praxisui-table-praxisui-table-CHacLhR0.mjs} +19558 -2215
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DtOwXgFW.mjs → praxisui-table-table-agentic-authoring-turn-flow-sc4M8KE9.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-25xtoiWq.mjs → praxisui-table-table-ai.adapter-lUYWL7AN.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 +1097 -118
|
@@ -1,8 +1,8 @@
|
|
|
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, 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, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisTranslationParams, PraxisPresentationVisualizationConfig, 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
7
|
import { SafeHtml } from '@angular/platform-browser';
|
|
8
8
|
import { MatTable, MatTableDataSource } from '@angular/material/table';
|
|
@@ -40,6 +40,32 @@ interface TableCollectionOutcome {
|
|
|
40
40
|
}>;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
interface TableBulkSyncSelection {
|
|
44
|
+
id: BulkWireId;
|
|
45
|
+
links: RestApiLinks;
|
|
46
|
+
}
|
|
47
|
+
/** Detached, one-invocation context owned by the table. */
|
|
48
|
+
interface TableBulkSyncContext {
|
|
49
|
+
resourcePath: string;
|
|
50
|
+
resourceKey: string;
|
|
51
|
+
tableId: string;
|
|
52
|
+
identityPath: string;
|
|
53
|
+
contract: BulkExecutionContract;
|
|
54
|
+
options?: ResourceDiscoveryRequestOptions;
|
|
55
|
+
selection: readonly TableBulkSyncSelection[];
|
|
56
|
+
}
|
|
57
|
+
/** Private, table-owned custody for one evaluated intent in this component instance. */
|
|
58
|
+
interface TableBulkSyncHandle {
|
|
59
|
+
context: TableBulkSyncContext;
|
|
60
|
+
session: BulkSyncSession;
|
|
61
|
+
confirmationKey: string | null;
|
|
62
|
+
/** Await an already dispatched session request before a remount authorizes projections. */
|
|
63
|
+
pendingSessionWork?: Promise<unknown> | null;
|
|
64
|
+
requestedChanges: readonly BulkFieldChange[] | null;
|
|
65
|
+
enterpriseIdentity: string | undefined;
|
|
66
|
+
operationalIdentity: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
43
69
|
interface ActionLike {
|
|
44
70
|
action?: string;
|
|
45
71
|
id?: string;
|
|
@@ -67,7 +93,7 @@ interface PraxisTableQueryContextClearEvent {
|
|
|
67
93
|
remainingFilters?: Record<string, unknown>;
|
|
68
94
|
remainingFilterCount?: number;
|
|
69
95
|
tableId?: string;
|
|
70
|
-
source?: 'toolbar-chip';
|
|
96
|
+
source?: 'toolbar-chip' | 'quick-filter' | 'advanced-filter';
|
|
71
97
|
}
|
|
72
98
|
declare const PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS: Record<string, TableToolbarAppearanceConfig>;
|
|
73
99
|
declare const PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE: InjectionToken<TableToolbarAppearanceConfig>;
|
|
@@ -81,11 +107,12 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
81
107
|
private tokenPresets?;
|
|
82
108
|
private toolbarRoot?;
|
|
83
109
|
private toolbarIdentity?;
|
|
110
|
+
private toolbarScope?;
|
|
84
111
|
private fullActionsGroup?;
|
|
85
112
|
private endActionsGroup?;
|
|
86
113
|
activeOverflowMenuTrigger?: MatMenuTrigger;
|
|
87
114
|
private activeOverflowMenuTriggerElement?;
|
|
88
|
-
readonly actionsCompacted:
|
|
115
|
+
readonly actionsCompacted: _angular_core.WritableSignal<boolean>;
|
|
89
116
|
private actionCapacityObserver?;
|
|
90
117
|
private actionCapacityMutationObserver?;
|
|
91
118
|
private actionCapacityFrame;
|
|
@@ -105,6 +132,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
105
132
|
activeQuickFilterId: string | null;
|
|
106
133
|
activeDensity: TableToolbarAppearanceDensity | null;
|
|
107
134
|
activeCrossFilters: PraxisTableCrossFilterItem[];
|
|
135
|
+
lockedFilterFields: readonly string[] | null | undefined;
|
|
108
136
|
/** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
|
|
109
137
|
columnVisibilityController?: (field: string, visible: boolean) => void;
|
|
110
138
|
readonly clearCrossFilter: EventEmitter<PraxisTableCrossFilterItem>;
|
|
@@ -172,8 +200,9 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
172
200
|
label: string;
|
|
173
201
|
filter: Record<string, unknown>;
|
|
174
202
|
icon?: string;
|
|
203
|
+
tone?: PraxisQuickFilterTone;
|
|
204
|
+
tooltip?: string;
|
|
175
205
|
}>;
|
|
176
|
-
private normalizeQuickFilterExpression;
|
|
177
206
|
shouldShowQuickFilters(): boolean;
|
|
178
207
|
getQuickFiltersLabel(): string;
|
|
179
208
|
getQuickFilterLabel(filter: {
|
|
@@ -216,6 +245,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
216
245
|
private scheduleActionCapacityCheck;
|
|
217
246
|
private updateActionCapacity;
|
|
218
247
|
private getIdentityRequiredWidth;
|
|
248
|
+
private getScopeRequiredWidth;
|
|
219
249
|
private readPixelValue;
|
|
220
250
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
221
251
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -224,6 +254,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
224
254
|
getToolbarLayoutAlignment(): 'start' | 'center' | 'end' | 'space-between';
|
|
225
255
|
getToolbarLayoutPadding(): string | null;
|
|
226
256
|
shouldShowLayoutSeparator(): boolean;
|
|
257
|
+
hasExplicitToolbarFrameToken(): boolean;
|
|
227
258
|
getToolbarToken(name: TableToolbarTokenName): string | null;
|
|
228
259
|
private resolveToolbarAppearance;
|
|
229
260
|
private resolveToolbarAppearancePreset;
|
|
@@ -292,8 +323,8 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
292
323
|
private warnShortcutConflict;
|
|
293
324
|
private sortActions;
|
|
294
325
|
getExportIcon(format: string): string;
|
|
295
|
-
static ɵfac:
|
|
296
|
-
static ɵcmp:
|
|
326
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableToolbar, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
327
|
+
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
328
|
}
|
|
298
329
|
|
|
299
330
|
type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
|
|
@@ -397,6 +428,7 @@ declare class DataFormattingService {
|
|
|
397
428
|
private parseDateOnlyString;
|
|
398
429
|
private normalizeNumericDateInput;
|
|
399
430
|
private formatDate;
|
|
431
|
+
private stripNumericFormatFlags;
|
|
400
432
|
private formatNumber;
|
|
401
433
|
private formatCurrency;
|
|
402
434
|
private formatPercentage;
|
|
@@ -415,8 +447,8 @@ declare class DataFormattingService {
|
|
|
415
447
|
private normalizeNumericInput;
|
|
416
448
|
private composeNumericParts;
|
|
417
449
|
private escapeRegExp;
|
|
418
|
-
static ɵfac:
|
|
419
|
-
static ɵprov:
|
|
450
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataFormattingService, never>;
|
|
451
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DataFormattingService>;
|
|
420
452
|
}
|
|
421
453
|
|
|
422
454
|
/**
|
|
@@ -428,11 +460,14 @@ declare class TableDefaultsProvider {
|
|
|
428
460
|
constructor(global: GlobalConfigService);
|
|
429
461
|
/**
|
|
430
462
|
* Returns default configuration for a given table identifier.
|
|
463
|
+
* Precedence inside defaults: GlobalConfig.table > createDefaultTableConfig().
|
|
431
464
|
* @param tableId Table identifier
|
|
432
465
|
*/
|
|
433
|
-
getDefaults(_tableId: string
|
|
434
|
-
|
|
435
|
-
|
|
466
|
+
getDefaults(_tableId: string, options?: {
|
|
467
|
+
includeGlobal?: boolean;
|
|
468
|
+
}): TableConfig;
|
|
469
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDefaultsProvider, never>;
|
|
470
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableDefaultsProvider>;
|
|
436
471
|
}
|
|
437
472
|
|
|
438
473
|
type FilterConfig = {
|
|
@@ -453,6 +488,8 @@ type FilterConfig = {
|
|
|
453
488
|
/** User-selected extra field ids to show before pinned always-visible */
|
|
454
489
|
selectedFieldIds?: string[];
|
|
455
490
|
showAdvanced?: boolean;
|
|
491
|
+
showAddButton?: boolean;
|
|
492
|
+
showFilterSettings?: boolean;
|
|
456
493
|
mode?: 'filter';
|
|
457
494
|
changeDebounceMs?: number;
|
|
458
495
|
allowSaveTags?: boolean;
|
|
@@ -491,6 +528,14 @@ type FilterConfig = {
|
|
|
491
528
|
useInlineTimeRangeVariant?: boolean;
|
|
492
529
|
/** Opt-out para mapear treeSelect/multiSelectTree na variante compacta inline. */
|
|
493
530
|
useInlineTreeSelectVariant?: boolean;
|
|
531
|
+
/** Opt-out para mapear select simples na variante compacta inline. */
|
|
532
|
+
useInlineSelectVariant?: boolean;
|
|
533
|
+
/** Opt-out para mapear multiSelect/chipInput na variante compacta inline. */
|
|
534
|
+
useInlineMultiSelectVariant?: boolean;
|
|
535
|
+
/** Opt-out para mapear input/searchInput na variante compacta inline. */
|
|
536
|
+
useInlineInputVariant?: boolean;
|
|
537
|
+
/** Opt-out para mapear toggle/checkbox/switch na variante compacta inline. */
|
|
538
|
+
useInlineToggleVariant?: boolean;
|
|
494
539
|
overlayVariant?: 'card' | 'frosted';
|
|
495
540
|
overlayBackdrop?: boolean;
|
|
496
541
|
advancedOpenMode?: 'overlay' | 'modal' | 'drawer';
|
|
@@ -517,8 +562,8 @@ declare class FilterConfigService {
|
|
|
517
562
|
* local fallback cache so reset/reopen cannot revive stale preferences.
|
|
518
563
|
*/
|
|
519
564
|
clear(key: string): Promise<void>;
|
|
520
|
-
static ɵfac:
|
|
521
|
-
static ɵprov:
|
|
565
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterConfigService, never>;
|
|
566
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FilterConfigService>;
|
|
522
567
|
}
|
|
523
568
|
|
|
524
569
|
declare const PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION: "praxis.filter-view-context.v1";
|
|
@@ -633,6 +678,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
633
678
|
private componentKeys;
|
|
634
679
|
private route?;
|
|
635
680
|
private logger?;
|
|
681
|
+
private static readonly sharedSchemaMetaCacheByStorage;
|
|
682
|
+
private static readonly schemaMetaPersistenceQueuesByStorage;
|
|
636
683
|
addManagerOrigin?: ElementRef<HTMLButtonElement>;
|
|
637
684
|
addManagerSearch?: PdxCollectionSearchComponent;
|
|
638
685
|
resourcePath: string;
|
|
@@ -656,6 +703,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
656
703
|
/** Enable edit mode (gates notifications) */
|
|
657
704
|
enableCustomization: boolean;
|
|
658
705
|
value?: Record<string, any>;
|
|
706
|
+
lockedFilterFields?: readonly string[] | null;
|
|
659
707
|
alwaysVisibleFields?: string[];
|
|
660
708
|
/**
|
|
661
709
|
* Optional metadata overrides for always-visible fields.
|
|
@@ -675,6 +723,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
675
723
|
changeDebounceMs: number;
|
|
676
724
|
/** Controla a exibição do botão de preferências dentro do filtro */
|
|
677
725
|
showFilterSettings: boolean;
|
|
726
|
+
private hostShowFilterSettings?;
|
|
678
727
|
/** Controla a exibição do botão de filtro avançado */
|
|
679
728
|
showAdvancedButton: boolean;
|
|
680
729
|
/** Projection of FilterConfig.presentation for standalone and embedded hosts. */
|
|
@@ -686,6 +735,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
686
735
|
get advancedActionDisplay(): string;
|
|
687
736
|
/** Controla a exibição do botão de adicionar campos */
|
|
688
737
|
showAddButton: boolean;
|
|
738
|
+
private hostShowAddButton?;
|
|
689
739
|
/** Controla a exibição do botão de limpar filtros */
|
|
690
740
|
showClearButton: boolean;
|
|
691
741
|
/** Controla a exibição do botão de pesquisar/aplicar filtros em fluxos manuais. */
|
|
@@ -869,8 +919,12 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
869
919
|
private logFilterWarn;
|
|
870
920
|
private readonly filterDrawerAdapter;
|
|
871
921
|
private lastSavedConfigJson;
|
|
922
|
+
private hasExplicitEmptyAlwaysVisibleInput;
|
|
872
923
|
private setSchemaLoading;
|
|
873
924
|
private setActiveFiltersCount;
|
|
925
|
+
private getLockedFilterFieldsSet;
|
|
926
|
+
isLockedFilterField(fieldName: string): boolean;
|
|
927
|
+
private countActiveUnlockedFilters;
|
|
874
928
|
private loadSavedTagsFromStorage;
|
|
875
929
|
private resolveInputDto;
|
|
876
930
|
private emitSubmitDto;
|
|
@@ -897,6 +951,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
897
951
|
private areMetadataOverrideMapsEqual;
|
|
898
952
|
/** Force-sync settings coming from parent table config updates. */
|
|
899
953
|
applyExternalSettings(cfg?: Partial<FilterConfig>): void;
|
|
954
|
+
private activeFilterSettingsRef?;
|
|
955
|
+
private activeFieldEditorRef?;
|
|
900
956
|
openSettings(): void;
|
|
901
957
|
createTag(label?: string): void;
|
|
902
958
|
renameTag(tag: FilterTag, label?: string): void;
|
|
@@ -913,11 +969,14 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
913
969
|
private toSchemaIdContext;
|
|
914
970
|
private resetSchemaStateForContextChange;
|
|
915
971
|
private clearSchemaMetaPersistence;
|
|
972
|
+
private getSharedSchemaMetaCache;
|
|
973
|
+
private getSchemaMetaPersistenceQueues;
|
|
916
974
|
private clearConfigStorageKey;
|
|
917
975
|
private loadStoredSchemaMeta;
|
|
918
976
|
private rememberSchemaMetaContext;
|
|
919
977
|
private ensureSchemaMetaIndexLoaded;
|
|
920
978
|
private saveStoredSchemaMeta;
|
|
979
|
+
private reconcileSchemaMetaSave;
|
|
921
980
|
private stableSerialize;
|
|
922
981
|
private normalizeStoredSchemaMetaForComparison;
|
|
923
982
|
private schemaVerificationContextKey;
|
|
@@ -941,10 +1000,15 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
941
1000
|
*/
|
|
942
1001
|
private restartSchemaLoadForCurrentContext;
|
|
943
1002
|
retrySchemaLoad(): void;
|
|
1003
|
+
/** Clears cached filter schema state and reloads metadata from the server. */
|
|
1004
|
+
reloadSchema(): void;
|
|
1005
|
+
private shouldAutoPopulateStandaloneFilterFields;
|
|
1006
|
+
private pickDefaultStandaloneFilterMetas;
|
|
944
1007
|
private applySchemaMetas;
|
|
945
1008
|
private applySchemaMetasNow;
|
|
946
1009
|
private withFilterMaterialDesignPolicy;
|
|
947
1010
|
private withAdvancedDatePickerTouchPolicy;
|
|
1011
|
+
private withAdvancedEntityLookupPresentationPolicy;
|
|
948
1012
|
private isAdvancedDatePickerControl;
|
|
949
1013
|
private buildAdvancedFilterColumn;
|
|
950
1014
|
private isLongTextFilterField;
|
|
@@ -1093,7 +1157,10 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
1093
1157
|
private normalizeFilterFieldValue;
|
|
1094
1158
|
private getFilterFieldMetaByName;
|
|
1095
1159
|
private isEntityLookupFilterField;
|
|
1160
|
+
private isIncompleteInlineDateRangeValue;
|
|
1096
1161
|
private isEffectivelyEmptyFilterValue;
|
|
1162
|
+
private areControlValuesEquivalent;
|
|
1163
|
+
private projectQueryPayload;
|
|
1097
1164
|
private syncFormsToDto;
|
|
1098
1165
|
private updateDisplayedTags;
|
|
1099
1166
|
private normalizeMode;
|
|
@@ -1101,8 +1168,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
1101
1168
|
onGlobalKeydown(event: KeyboardEvent): void;
|
|
1102
1169
|
private isEditableElement;
|
|
1103
1170
|
private focusQuick;
|
|
1104
|
-
static ɵfac:
|
|
1105
|
-
static ɵcmp:
|
|
1171
|
+
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; }]>;
|
|
1172
|
+
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
1173
|
}
|
|
1107
1174
|
|
|
1108
1175
|
declare const PRAXIS_FILTER_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -1115,6 +1182,18 @@ type AnalyticsTableContractSource = 'remote' | 'fallback';
|
|
|
1115
1182
|
* It is intentionally not materialized as a visible table column.
|
|
1116
1183
|
*/
|
|
1117
1184
|
declare const ANALYTICS_TABLE_ROW_KEY_FIELD = "__praxisAnalyticsKey";
|
|
1185
|
+
interface AnalyticsTableRowMetadata {
|
|
1186
|
+
primaryKey?: string | number | boolean | null;
|
|
1187
|
+
secondaryKey?: string | number | boolean | null;
|
|
1188
|
+
keys?: ReadonlyArray<string | number | boolean | null>;
|
|
1189
|
+
from?: number | string | null;
|
|
1190
|
+
to?: number | string | null;
|
|
1191
|
+
suppressed?: boolean;
|
|
1192
|
+
state?: string | null;
|
|
1193
|
+
count?: number | null;
|
|
1194
|
+
}
|
|
1195
|
+
declare function attachAnalyticsTableRowMetadata<T extends AnalyticsTableRow>(row: T, metadata: AnalyticsTableRowMetadata | null | undefined): T;
|
|
1196
|
+
declare function readAnalyticsTableRowMetadata(row: unknown): AnalyticsTableRowMetadata | null;
|
|
1118
1197
|
type AnalyticsComparisonMetricValueKind = 'current' | 'previous' | 'delta' | 'deltaPercent' | 'baselineMissing';
|
|
1119
1198
|
/** Returns the deterministic local-data field for one comparison metric value. */
|
|
1120
1199
|
declare function analyticsComparisonMetricField(metricField: string, valueKind: AnalyticsComparisonMetricValueKind): string;
|
|
@@ -1144,13 +1223,25 @@ interface AnalyticsTableContractLoadResult<TKey extends string = string> {
|
|
|
1144
1223
|
errors: Partial<Record<TKey, string>>;
|
|
1145
1224
|
}
|
|
1146
1225
|
|
|
1226
|
+
type AnalyticsTableRawStatsResponse = object;
|
|
1227
|
+
interface AnalyticsTableRawStatsResult {
|
|
1228
|
+
operation: PraxisAnalyticsProjection['source']['operation'];
|
|
1229
|
+
data: AnalyticsTableRawStatsResponse | null | undefined;
|
|
1230
|
+
suppressionMetadata?: PraxisAnalyticsSuppressionMetadata | null;
|
|
1231
|
+
}
|
|
1147
1232
|
declare class AnalyticsTableStatsApiService {
|
|
1148
1233
|
private readonly http;
|
|
1149
1234
|
private readonly apiUrl;
|
|
1150
1235
|
private readonly statsBuilder;
|
|
1151
1236
|
constructor(http: HttpClient, apiUrl: ApiUrlConfig);
|
|
1237
|
+
executeRaw(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRawStatsResult>;
|
|
1238
|
+
mapRawResponseToRows(projection: PraxisAnalyticsProjection, raw: AnalyticsTableRawStatsResult | null | undefined): AnalyticsTableRow[];
|
|
1152
1239
|
execute(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRow[]>;
|
|
1240
|
+
/** Executes a stats projection returning rows alongside LGPD suppression metadata across all 4 operations. */
|
|
1241
|
+
executeWithMetadata(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<PraxisAnalyticsStatsResultEnvelope<AnalyticsTableRow>>;
|
|
1153
1242
|
private toTableRows;
|
|
1243
|
+
private projectDimensionValues;
|
|
1244
|
+
private resolveDimensionBucketLabel;
|
|
1154
1245
|
private resolveTimeSeriesCategory;
|
|
1155
1246
|
private resolveBucketCategory;
|
|
1156
1247
|
private resolveBucketKey;
|
|
@@ -1161,8 +1252,8 @@ declare class AnalyticsTableStatsApiService {
|
|
|
1161
1252
|
private buildStatsUrl;
|
|
1162
1253
|
private applyQueryContext;
|
|
1163
1254
|
private normalizeError;
|
|
1164
|
-
static ɵfac:
|
|
1165
|
-
static ɵprov:
|
|
1255
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableStatsApiService, never>;
|
|
1256
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableStatsApiService>;
|
|
1166
1257
|
}
|
|
1167
1258
|
|
|
1168
1259
|
/**
|
|
@@ -1234,6 +1325,8 @@ type SchemaFieldHint = {
|
|
|
1234
1325
|
type FilterSchemaFieldHint = SchemaFieldHint & {
|
|
1235
1326
|
relatedColumnFields?: string[];
|
|
1236
1327
|
relatedColumnLabels?: string[];
|
|
1328
|
+
inlineFilter?: boolean;
|
|
1329
|
+
inline?: boolean;
|
|
1237
1330
|
};
|
|
1238
1331
|
type PraxisDataQueryContextBridge = {
|
|
1239
1332
|
filters?: Record<string, unknown> | null;
|
|
@@ -1362,8 +1455,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1362
1455
|
private route?;
|
|
1363
1456
|
private logger?;
|
|
1364
1457
|
private analyticsStatsApi?;
|
|
1458
|
+
private readonly microTooltipOverlay;
|
|
1459
|
+
private readonly microTooltipHostRef;
|
|
1460
|
+
private readonly microTooltipCleanup;
|
|
1365
1461
|
activeRowOverflowMenuTrigger?: MatMenuTrigger;
|
|
1366
1462
|
private activeRowOverflowMenuTriggerElement?;
|
|
1463
|
+
private activeRowOverflowMenuRow?;
|
|
1464
|
+
private activeRowOverflowMenuSignature?;
|
|
1465
|
+
private reattachingRowOverflowMenuTrigger?;
|
|
1367
1466
|
private openingRowActions;
|
|
1368
1467
|
private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
|
|
1369
1468
|
private static readonly AI_SELECTION_ROW_LIMIT;
|
|
@@ -1374,6 +1473,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1374
1473
|
private static readonly ROW_DISCOVERY_REQUEST_TIMEOUT_MS;
|
|
1375
1474
|
private static readonly ROW_DISCOVERY_CACHE_LIMIT;
|
|
1376
1475
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1476
|
+
private static readonly MAX_STABILIZED_PAGE_ROWS;
|
|
1477
|
+
private static readonly SKELETON_ROW_INDICES;
|
|
1377
1478
|
private _resourceDiscovery?;
|
|
1378
1479
|
private _resourceActionOpenAdapter?;
|
|
1379
1480
|
private _resourceSurfaceOpenAdapter?;
|
|
@@ -1381,19 +1482,33 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1381
1482
|
private readonly runtimeObservationRegistry;
|
|
1382
1483
|
private readonly detailInlineRenderers;
|
|
1383
1484
|
private readonly drawerRegistry;
|
|
1485
|
+
private readonly quickViewService;
|
|
1384
1486
|
private collectionLinks;
|
|
1487
|
+
getCollectionSurfacesHref(): string | null;
|
|
1385
1488
|
private collectionCapabilities;
|
|
1386
1489
|
private collectionCapabilitiesRequestHref;
|
|
1387
1490
|
private collectionCapabilitiesResolvedHref;
|
|
1388
1491
|
private collectionCapabilitiesRequestSeq;
|
|
1492
|
+
bulkSyncHandle: TableBulkSyncHandle | null;
|
|
1493
|
+
private readonly bulkClient;
|
|
1494
|
+
private readonly bulkSessions;
|
|
1389
1495
|
private readonly detailInlineNodeResolvers;
|
|
1390
1496
|
private readonly detailResourceResolver;
|
|
1391
1497
|
private runtimeObservationRegistration;
|
|
1392
1498
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1393
1499
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
1394
1500
|
private static readonly ROW_ANIMATION_PRESET_ALIASES;
|
|
1501
|
+
static ngAcceptInputType_config: TableConfigInput;
|
|
1395
1502
|
config: TableConfig;
|
|
1503
|
+
private hostInputConfig?;
|
|
1504
|
+
private baselineHostInputConfig?;
|
|
1505
|
+
private lastSelfEmittedConfigRef?;
|
|
1506
|
+
private lastSelfEmittedConfigJson?;
|
|
1507
|
+
private lastAppliedRuntimeConfig?;
|
|
1508
|
+
private persistedUserConfig?;
|
|
1396
1509
|
resourcePath: string;
|
|
1510
|
+
/** Read-only collection operation materialized from backend discovery. */
|
|
1511
|
+
collectionSurface: ResourceSurfaceCatalogItem | null;
|
|
1397
1512
|
data: any[] | null;
|
|
1398
1513
|
tableId: string;
|
|
1399
1514
|
componentInstanceId?: 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,8 @@ 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 applySurfaceActionRefresh;
|
|
2256
2500
|
private resolveBulkExportFormat;
|
|
2257
2501
|
private isBulkExportActionKey;
|
|
2258
2502
|
private normalizeExportFormat;
|
|
@@ -2286,6 +2530,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2286
2530
|
private showExportFeedback;
|
|
2287
2531
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
2288
2532
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
2533
|
+
private isClearingAdvancedFilter;
|
|
2289
2534
|
onAdvancedFilterClear(): void;
|
|
2290
2535
|
clearAdvancedFilter(): void;
|
|
2291
2536
|
onQuickFilterChange(event: {
|
|
@@ -2293,14 +2538,50 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2293
2538
|
filter: Record<string, unknown>;
|
|
2294
2539
|
active: boolean;
|
|
2295
2540
|
}): void;
|
|
2541
|
+
getConfiguredQuickFilters(): Array<{
|
|
2542
|
+
id: string;
|
|
2543
|
+
label: string;
|
|
2544
|
+
filter: Record<string, unknown>;
|
|
2545
|
+
icon?: string;
|
|
2546
|
+
tone?: PraxisQuickFilterTone;
|
|
2547
|
+
isDefault?: boolean;
|
|
2548
|
+
description?: string;
|
|
2549
|
+
tooltip?: string;
|
|
2550
|
+
order?: number;
|
|
2551
|
+
}>;
|
|
2552
|
+
getQuickFilterManagedFields(): string[];
|
|
2553
|
+
private parseQuickFilterDefinition;
|
|
2554
|
+
getEffectiveEditableFilterCriteria(): Record<string, any>;
|
|
2555
|
+
private reconcileEditableQueryContextFilters;
|
|
2556
|
+
private syncQuickFilterStateFromEffectiveCriteria;
|
|
2296
2557
|
private clearQuickFilterRuntimeState;
|
|
2297
2558
|
private hasEquivalentFilterCriteria;
|
|
2559
|
+
private lastAppliedFilterCriteria;
|
|
2560
|
+
private hierarchySnapshot;
|
|
2561
|
+
private hierarchyTitleField;
|
|
2562
|
+
private hierarchyTenant;
|
|
2563
|
+
private clearHierarchySnapshot;
|
|
2564
|
+
getHierarchyCell(row: Record<string, unknown>, column: ColumnDefinition): {
|
|
2565
|
+
indent: number;
|
|
2566
|
+
children: number | null;
|
|
2567
|
+
leaf: boolean | null;
|
|
2568
|
+
focusPath: string | null;
|
|
2569
|
+
} | null;
|
|
2570
|
+
hierarchyText(key: 'focus' | 'root' | 'navigation' | 'children'): string;
|
|
2571
|
+
get focusedSubtree(): string | null;
|
|
2572
|
+
focusSubtree(path: string | null): void;
|
|
2573
|
+
private getSubtreeFilterField;
|
|
2298
2574
|
applyAdvancedFilterCriteria(criteria: Record<string, any> | null | undefined, reason?: string): void;
|
|
2299
2575
|
private setAdvancedFilterCriteria;
|
|
2300
2576
|
private syncAdvancedFilterValueFromCriteria;
|
|
2301
2577
|
private deriveRuntimeVisibleAdvancedFilterFields;
|
|
2302
2578
|
private isEmptyAdvancedFilterCriterionValue;
|
|
2303
2579
|
private mergeAdvancedFilterFieldIds;
|
|
2580
|
+
/**
|
|
2581
|
+
* Identifica os campos cujos critérios ativos coincidem integralmente com um QuickFilter
|
|
2582
|
+
* ou Scope Bar ativo, evitando sua promoção duplicada na linha de filtros inline.
|
|
2583
|
+
*/
|
|
2584
|
+
private getQuickFilterCoveredFields;
|
|
2304
2585
|
private getRuntimePromotedAdvancedFilterFields;
|
|
2305
2586
|
private toPlainRecord;
|
|
2306
2587
|
private saveConfigWithAck;
|
|
@@ -2319,7 +2600,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2319
2600
|
private buildTableEditorRuntimeContext;
|
|
2320
2601
|
private emitWidgetInputPatch;
|
|
2321
2602
|
private cloneInputPatch;
|
|
2603
|
+
/** @internal */
|
|
2604
|
+
emitPortableConfigChange(portableConfig?: TableConfig): void;
|
|
2605
|
+
private isSelfEmittedConfigInput;
|
|
2322
2606
|
private executeTableEditorApplyPlan;
|
|
2607
|
+
private normalizeResourcePathIdentity;
|
|
2608
|
+
private areColumnsDerivedFromPreviousResource;
|
|
2609
|
+
private stripResourceBoundTableConfigState;
|
|
2323
2610
|
private attachRuntimeMetadataToEditorConfig;
|
|
2324
2611
|
private syncInternalFilterSettings;
|
|
2325
2612
|
private resetPreferencesToDefaults;
|
|
@@ -2441,6 +2728,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2441
2728
|
* nunca pode ser substituído pelo consumidor.
|
|
2442
2729
|
*/
|
|
2443
2730
|
private projectSchemaColumns;
|
|
2731
|
+
private toTableEditorConfig;
|
|
2444
2732
|
/**
|
|
2445
2733
|
* Converte a configuração materializada usada pelo renderer de volta ao
|
|
2446
2734
|
* contrato compacto e persistível. O schema continua sendo a fonte
|
|
@@ -2452,6 +2740,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2452
2740
|
private toPortableColumnDefinition;
|
|
2453
2741
|
private arePortableValuesEqual;
|
|
2454
2742
|
private applySchemaFieldPresentationsToExistingColumns;
|
|
2743
|
+
private applySchemaComposeItemsQuickView;
|
|
2455
2744
|
private applySchemaFieldPresentation;
|
|
2456
2745
|
private applySchemaSemanticCellPresentation;
|
|
2457
2746
|
private resolveSemanticPresentationColor;
|
|
@@ -2480,6 +2769,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2480
2769
|
private buildRowDiscoveryScopeKey;
|
|
2481
2770
|
private resetRowContextRuntimeState;
|
|
2482
2771
|
private enqueueRowDiscoveryRequest;
|
|
2772
|
+
private promoteQueuedRowDiscoveryRequest;
|
|
2773
|
+
private prioritizeQueuedPrefetchRowDiscovery;
|
|
2774
|
+
private canDispatchNextRowDiscoveryTask;
|
|
2483
2775
|
private drainRowDiscoveryQueue;
|
|
2484
2776
|
private buildRowDiscoveryOptions;
|
|
2485
2777
|
private getRowLinks;
|
|
@@ -2511,6 +2803,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2511
2803
|
private resolveRowDiscoveryRuntimeStatus;
|
|
2512
2804
|
private resolveRowDiscoveryRuntimeStatusRaw;
|
|
2513
2805
|
private getRowContextRuntimeState;
|
|
2806
|
+
private scheduleExpiredRowDiscovery;
|
|
2514
2807
|
private buildRowContextRuntimeState;
|
|
2515
2808
|
private resolveRowContextRuntimeValidUntil;
|
|
2516
2809
|
private resolveRowDiscoveryRelValidUntil;
|
|
@@ -2547,6 +2840,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2547
2840
|
* 3. format (data formatting like dates, numbers, currency)
|
|
2548
2841
|
*/
|
|
2549
2842
|
getCellValue(rowData: any, column: ColumnDefinition): any;
|
|
2843
|
+
private shouldSuppressIntegerThousandsGrouping;
|
|
2550
2844
|
private applyImplicitRuntimeCellPresentation;
|
|
2551
2845
|
private shouldHumanizeRuntimeEnumCell;
|
|
2552
2846
|
private resolveCellFormattingType;
|
|
@@ -2640,6 +2934,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2640
2934
|
* Safely access nested properties using dot notation
|
|
2641
2935
|
*/
|
|
2642
2936
|
private getNestedPropertyValue;
|
|
2937
|
+
private hasNestedProperty;
|
|
2643
2938
|
/**
|
|
2644
2939
|
* Verifica se a ordenação está habilitada
|
|
2645
2940
|
*/
|
|
@@ -2678,6 +2973,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2678
2973
|
private isColumnFiltersSupported;
|
|
2679
2974
|
private isRowDraggingSupported;
|
|
2680
2975
|
private isRowExpansionSupported;
|
|
2976
|
+
private isSchemaExpansionModeActive;
|
|
2977
|
+
private getVisibleTableFieldNamesSet;
|
|
2978
|
+
private hasCompanionDenormalizedFieldInSchema;
|
|
2979
|
+
private isComplementarySchemaExpansionField;
|
|
2980
|
+
private isPopulatedExpansionRow;
|
|
2981
|
+
private hasNonEmptyExpansionFieldValue;
|
|
2982
|
+
private getComplementarySchemaExpansionFieldsForRow;
|
|
2983
|
+
private getLoadedTableRowsForExpansionCheck;
|
|
2984
|
+
private reconcileExpansionColumnsAfterDataChange;
|
|
2985
|
+
private hasComplementarySchemaExpansionFields;
|
|
2681
2986
|
private enforceAppearanceSchemaGuards;
|
|
2682
2987
|
private enforceUnsupportedFeatureGuards;
|
|
2683
2988
|
getToolbarEvaluationContext(): Record<string, any>;
|
|
@@ -2734,8 +3039,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2734
3039
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2735
3040
|
shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
|
|
2736
3041
|
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
|
|
3042
|
+
private readonly microVisualizationSafeHtmlCache;
|
|
3043
|
+
private readonly microVisualizationPageBoundsCache;
|
|
2737
3044
|
getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
|
|
3045
|
+
private createMicroVisualizationValueFormatter;
|
|
3046
|
+
onMicroTooltipPointerOver(event: Event): void;
|
|
3047
|
+
onMicroTooltipPointerOut(event: Event): void;
|
|
3048
|
+
onMicroTooltipFocusIn(event: Event): void;
|
|
3049
|
+
onMicroTooltipFocusOut(event: Event): void;
|
|
2738
3050
|
private resolveMicroVisualizationForRow;
|
|
3051
|
+
private resolvePageMicroVisualizationBounds;
|
|
2739
3052
|
private applyMicroVisualizationExpression;
|
|
2740
3053
|
private evaluateMicroVisualizationExpression;
|
|
2741
3054
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
@@ -2748,6 +3061,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2748
3061
|
private asComposeValueItemColumn;
|
|
2749
3062
|
asItemColumn(base: ColumnDefinition, item: any): any;
|
|
2750
3063
|
getItemEffectiveType(row: any, column: ColumnDefinition, item: any): any;
|
|
3064
|
+
private hasRowQuickViewSourceIdentity;
|
|
3065
|
+
getEffectiveQuickViewBinding(row: any, column: ColumnDefinition): ResourceQuickViewBinding | null;
|
|
3066
|
+
getComposeValueQuickViewBinding(row: any, column: ColumnDefinition, item: any): ResourceQuickViewBinding | null;
|
|
3067
|
+
getQuickViewEndpointKey(): ApiEndpoint | string | null;
|
|
3068
|
+
getRowActionQuickViewBinding(action: any): ResourceQuickViewBinding | null;
|
|
3069
|
+
getQuickViewTriggerAriaLabel(label: string | null | undefined, column?: ColumnDefinition): string;
|
|
2751
3070
|
private mergeRenderer;
|
|
2752
3071
|
private hasRenderableColumnOverride;
|
|
2753
3072
|
private resolveColumnRuleAnimationCandidate;
|
|
@@ -2854,7 +3173,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2854
3173
|
private emitMetadataChange;
|
|
2855
3174
|
private emitSchemaStatus;
|
|
2856
3175
|
getRowId(row: any): any;
|
|
3176
|
+
private preserveSelectionOnNextDataLoad;
|
|
2857
3177
|
private reconcileSelectionAfterDataChange;
|
|
3178
|
+
private areSelectedRowSnapshotsEquivalent;
|
|
3179
|
+
private serializeSelectedRowSnapshot;
|
|
2858
3180
|
private getComparableRowIdentity;
|
|
2859
3181
|
getIdField(): string;
|
|
2860
3182
|
private getSchemaIdFieldOverride;
|
|
@@ -2864,11 +3186,24 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2864
3186
|
private getEffectiveMetadataSnapshot;
|
|
2865
3187
|
getActionId(action: any): string;
|
|
2866
3188
|
private setupResizeObserver;
|
|
3189
|
+
private observeDynamicDataSurfaceElements;
|
|
2867
3190
|
private setupViewportChangeListeners;
|
|
2868
3191
|
private getVirtualizationSources;
|
|
2869
3192
|
isVirtualized(): boolean;
|
|
2870
3193
|
getVirtItemHeight(): number;
|
|
3194
|
+
private isCoarsePointer;
|
|
2871
3195
|
private getDefaultDensityRowHeight;
|
|
3196
|
+
private getDefaultDensityHeaderHeight;
|
|
3197
|
+
private getFullPageIntrinsicHeightMap;
|
|
3198
|
+
private resetDataSurfaceBaselineState;
|
|
3199
|
+
private captureInFlightDataSurfaceHeight;
|
|
3200
|
+
private commitResolvedDataSurfaceBaseline;
|
|
3201
|
+
/** Resolves the minimum row-slot baseline so filtered/partial pages stay vertically stable. */
|
|
3202
|
+
resolveDataSurfaceTargetBaselineRows(): number;
|
|
3203
|
+
private measureIntrinsicTableGeometry;
|
|
3204
|
+
private computeDataSurfaceMinHeightPx;
|
|
3205
|
+
private syncDataSurfaceMinHeightCssVariable;
|
|
3206
|
+
private scheduleDataSurfaceMinHeightSync;
|
|
2872
3207
|
getVirtBufferSize(): number;
|
|
2873
3208
|
getVirtMinHeightStyle(): string;
|
|
2874
3209
|
getVirtMinHeightHostStyle(): string | null;
|
|
@@ -2886,10 +3221,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2886
3221
|
masterToggle(): void;
|
|
2887
3222
|
isAllSelected(): boolean;
|
|
2888
3223
|
toggleRow(row: any): void;
|
|
3224
|
+
onSingleSelectionClick(event: Event, row: any): void;
|
|
2889
3225
|
onSingleSelectionChanged(row: any): void;
|
|
2890
3226
|
getRowSelectionAriaLabel(row: any, index?: number): string;
|
|
2891
3227
|
getMasterSelectionAriaLabel(): string;
|
|
2892
3228
|
private selectRowFromUserInteraction;
|
|
3229
|
+
clearSelection(emitEvent?: boolean): void;
|
|
2893
3230
|
private emitSelectionChange;
|
|
2894
3231
|
private publishSelectionStatus;
|
|
2895
3232
|
private getAccessibleRowLabel;
|
|
@@ -2926,11 +3263,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2926
3263
|
private estimateInlineActionsLimit;
|
|
2927
3264
|
private parsePixelWidth;
|
|
2928
3265
|
private getViewportWidth;
|
|
2929
|
-
private splitVisibleRowActions;
|
|
2930
3266
|
getInlineRowActions(row: any): any[];
|
|
2931
3267
|
getOverflowRowActions(row: any): any[];
|
|
2932
3268
|
hasOverflowRowActions(row: any): boolean;
|
|
3269
|
+
onRowOverflowMenuTriggerHover(row: any): void;
|
|
2933
3270
|
onRowOverflowMenuOpened(row: any): void;
|
|
3271
|
+
onRowOverflowMenuClosed(trigger?: MatMenuTrigger): void;
|
|
3272
|
+
private buildRowOverflowMenuSignature;
|
|
3273
|
+
private getCanonicalCrudActionOrderIndex;
|
|
2934
3274
|
private prepareRowDiscoveryRetry;
|
|
2935
3275
|
private getVisibleRowActions;
|
|
2936
3276
|
private getResolvedRowActions;
|
|
@@ -2944,6 +3284,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2944
3284
|
private getDiscoveredRowCrudActionsFromSnapshot;
|
|
2945
3285
|
private buildDiscoveredRowCrudAction;
|
|
2946
3286
|
private getDiscoveredRowSurfaceActionsFromSnapshot;
|
|
3287
|
+
private resolveBaselineCrudActionForRowSurface;
|
|
2947
3288
|
private getDiscoveredRowWorkflowActionsFromCatalog;
|
|
2948
3289
|
private getDiscoveredRowWorkflowActionsFromItems;
|
|
2949
3290
|
private resolveRowCrudCapabilityOperation;
|
|
@@ -2983,8 +3324,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2983
3324
|
getRowMenuIcon(): string;
|
|
2984
3325
|
private scheduleRowDiscoveryMarkForCheck;
|
|
2985
3326
|
ngOnDestroy(): void;
|
|
2986
|
-
static ɵfac:
|
|
2987
|
-
static ɵcmp:
|
|
3327
|
+
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; }]>;
|
|
3328
|
+
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>;
|
|
3329
|
+
static ngAcceptInputType_hostOwnsDefaultQuickFilter: unknown;
|
|
2988
3330
|
static ngAcceptInputType_filterTeleport: unknown;
|
|
2989
3331
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
2990
3332
|
}
|
|
@@ -3094,8 +3436,8 @@ declare class JsonConfigEditorComponent implements OnChanges, OnDestroy {
|
|
|
3094
3436
|
hasChanges(): boolean;
|
|
3095
3437
|
private validateJson;
|
|
3096
3438
|
private updateValidationState;
|
|
3097
|
-
static ɵfac:
|
|
3098
|
-
static ɵcmp:
|
|
3439
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JsonConfigEditorComponent, never>;
|
|
3440
|
+
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
3441
|
}
|
|
3100
3442
|
|
|
3101
3443
|
type FormulaType = 'none' | 'concatenation' | 'arithmetic' | 'nested_property' | 'conditional_mapping' | 'default_value';
|
|
@@ -3185,10 +3527,11 @@ interface RendererFieldOption {
|
|
|
3185
3527
|
isVisible: boolean;
|
|
3186
3528
|
isHidden?: boolean;
|
|
3187
3529
|
}
|
|
3188
|
-
type ComposePresetId = 'personAvatar' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
3530
|
+
type ComposePresetId = 'personAvatar' | 'roleDepartment' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
3189
3531
|
declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
3190
3532
|
private cdr;
|
|
3191
3533
|
private readonly i18n;
|
|
3534
|
+
private readonly jsonLogic;
|
|
3192
3535
|
tx(key: string, fallback: string): string;
|
|
3193
3536
|
readonly ratingAriaLabelPlaceholder: string;
|
|
3194
3537
|
readonly ratingRendererHint: string;
|
|
@@ -3199,8 +3542,16 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3199
3542
|
name?: string;
|
|
3200
3543
|
label?: string;
|
|
3201
3544
|
type?: string;
|
|
3545
|
+
numericFormat?: string;
|
|
3202
3546
|
tableHidden?: boolean;
|
|
3203
3547
|
hidden?: boolean;
|
|
3548
|
+
options?: Array<{
|
|
3549
|
+
value?: any;
|
|
3550
|
+
key?: any;
|
|
3551
|
+
label?: string;
|
|
3552
|
+
text?: string;
|
|
3553
|
+
}>;
|
|
3554
|
+
enumValues?: Array<string | number>;
|
|
3204
3555
|
xUi?: Record<string, any>;
|
|
3205
3556
|
ui?: Record<string, any>;
|
|
3206
3557
|
}>;
|
|
@@ -3231,7 +3582,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3231
3582
|
condOverridesSelectedIndex: number;
|
|
3232
3583
|
getConditionalOverrides(): any[];
|
|
3233
3584
|
ensureConditionalOverrides(): any[];
|
|
3585
|
+
getColumnActiveRendererIcon(column: ColumnDefinition | null | undefined): string | null;
|
|
3586
|
+
getColumnActiveRendererTooltip(column: ColumnDefinition | null | undefined): string;
|
|
3587
|
+
getFieldDomainOptions(fieldName: string | undefined): Array<{
|
|
3588
|
+
value: string | number | boolean;
|
|
3589
|
+
label: string;
|
|
3590
|
+
}>;
|
|
3591
|
+
getSelectedColumnDomainOptions(): Array<{
|
|
3592
|
+
value: string | number | boolean;
|
|
3593
|
+
label: string;
|
|
3594
|
+
}>;
|
|
3595
|
+
getFilteredOverrideConditionValueOptions(condition: any): Array<{
|
|
3596
|
+
value: string;
|
|
3597
|
+
label: string;
|
|
3598
|
+
}>;
|
|
3234
3599
|
addConditionalOverride(): void;
|
|
3600
|
+
generateDomainConditionalBadges(): void;
|
|
3235
3601
|
removeConditionalOverride(index: number): void;
|
|
3236
3602
|
duplicateConditionalOverride(index: number): void;
|
|
3237
3603
|
onConditionalOverrideReorder(event: any): void;
|
|
@@ -3240,6 +3606,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3240
3606
|
getJsonLogicSummary(value: JsonLogicExpression | null | undefined): string;
|
|
3241
3607
|
private parseJsonLogicText;
|
|
3242
3608
|
setConditionalOverrideCondition(index: number, raw: string): void;
|
|
3609
|
+
readonly overrideConditionOperators: readonly ["===", "==", "!==", "!=", ">", ">=", "<", "<=", "truthy", "falsy"];
|
|
3610
|
+
private normalizeConditionFieldName;
|
|
3611
|
+
getOverrideConditionField(condition: any): string;
|
|
3612
|
+
getOverrideConditionOperator(condition: any): string;
|
|
3613
|
+
getOverrideConditionValue(condition: any): string;
|
|
3614
|
+
setOverrideGuidedCondition(index: number, patch: {
|
|
3615
|
+
field?: string;
|
|
3616
|
+
operator?: string;
|
|
3617
|
+
value?: string;
|
|
3618
|
+
}): void;
|
|
3619
|
+
private extractGuidedJsonLogicCondition;
|
|
3620
|
+
private coerceGuidedScalar;
|
|
3243
3621
|
getOverrideField(path: string): any;
|
|
3244
3622
|
setOverrideField(path: string, value: any): void;
|
|
3245
3623
|
setOverrideJsonLogicField(path: string, raw: string): void;
|
|
@@ -3248,13 +3626,19 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3248
3626
|
item: any;
|
|
3249
3627
|
index: number;
|
|
3250
3628
|
}>;
|
|
3629
|
+
addOverrideComposeItem(type: 'value' | 'badge' | 'icon' | 'chip' | 'progress' | 'avatar' | 'link' | 'button' | 'rating' | 'html'): void;
|
|
3251
3630
|
addOverrideComposeValueItem(): void;
|
|
3631
|
+
moveOverrideComposeItem(index: number, delta: -1 | 1): void;
|
|
3632
|
+
duplicateOverrideComposeItem(index: number): void;
|
|
3633
|
+
removeOverrideComposeItem(index: number): void;
|
|
3634
|
+
setOverrideComposeItemProp(index: number, path: string, value: any): void;
|
|
3252
3635
|
setOverrideComposeValueItemField(index: number, field: string): void;
|
|
3253
3636
|
setOverrideComposeValueItemEmphasis(index: number, emphasis: string): void;
|
|
3254
3637
|
getOverrideComposeLayoutProp(key: string): any;
|
|
3255
3638
|
setOverrideComposeLayoutProp(key: string, value: any): void;
|
|
3256
3639
|
onOverrideTypeChange(ov: any, val: string): void;
|
|
3257
3640
|
getOverrideMicroVisualizationProp(path: string): any;
|
|
3641
|
+
private ensureOverrideMicroVisualizationObject;
|
|
3258
3642
|
setOverrideMicroVisualizationProp(path: string, value: any): void;
|
|
3259
3643
|
getOverrideMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3260
3644
|
getOverrideMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
@@ -3264,15 +3648,30 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3264
3648
|
isOverrideMicroVisualizationSegmentsKind(): boolean;
|
|
3265
3649
|
isOverrideMicroVisualizationItemsKind(): boolean;
|
|
3266
3650
|
isOverrideMicroVisualizationTotalKind(): boolean;
|
|
3651
|
+
isOverrideMicroVisualizationTargetKind(): boolean;
|
|
3652
|
+
isOverrideMicroVisualizationBaselineKind(): boolean;
|
|
3653
|
+
isOverrideMicroVisualizationSuffixKind(): boolean;
|
|
3654
|
+
isOverrideMicroVisualizationScaleBoundsKind(): boolean;
|
|
3655
|
+
isOverrideMicroVisualizationScaleScopeKind(): boolean;
|
|
3656
|
+
isOverrideMicroVisualizationThresholdsSupported(): boolean;
|
|
3657
|
+
getOverrideMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3658
|
+
addOverrideMicroVisualizationThreshold(): void;
|
|
3659
|
+
applyDefaultOverrideMicroVisualizationThresholds(): void;
|
|
3660
|
+
setOverrideMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
|
|
3661
|
+
setOverrideMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
|
|
3662
|
+
moveOverrideMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3663
|
+
removeOverrideMicroVisualizationThreshold(index: number): void;
|
|
3267
3664
|
getOverrideMicroVisualizationGuidanceText(): string;
|
|
3268
3665
|
exportOverrideJson(index: number): void;
|
|
3269
3666
|
importOverrideJson(index: number): void;
|
|
3270
3667
|
rendererValidationErrors: string[];
|
|
3668
|
+
get validationErrors(): string[];
|
|
3271
3669
|
rendererImportWarnings: string[];
|
|
3272
3670
|
rendererIsValid: boolean;
|
|
3273
3671
|
rendererPreviewEnabled: boolean;
|
|
3274
3672
|
private rendererAppliedSnapshot;
|
|
3275
3673
|
previewRows: any[];
|
|
3674
|
+
microVisualizationSampleValuesText: string;
|
|
3276
3675
|
private refreshRendererFieldOptions;
|
|
3277
3676
|
getRendererFieldOptions(): RendererFieldOption[];
|
|
3278
3677
|
formatRendererFieldOption(option: RendererFieldOption): string;
|
|
@@ -3305,11 +3704,14 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3305
3704
|
isExistingColumn(column: ColumnDefinition): boolean;
|
|
3306
3705
|
isCalculatedColumn(column: ColumnDefinition): boolean;
|
|
3307
3706
|
hasValueGetterError(column: ColumnDefinition): boolean;
|
|
3707
|
+
private hydrateApiColumnFlags;
|
|
3308
3708
|
private generateAvailableDataSchema;
|
|
3309
3709
|
/**
|
|
3310
3710
|
* Map ColumnDataType to FieldSchema type
|
|
3311
3711
|
*/
|
|
3312
3712
|
private mapColumnTypeToFieldType;
|
|
3713
|
+
private _cachedFormulaKey;
|
|
3714
|
+
private _cachedFormulaRef;
|
|
3313
3715
|
getColumnFormula(column: ColumnDefinition | null): FormulaDefinition | undefined;
|
|
3314
3716
|
onFormulaChange(formula: FormulaDefinition): void;
|
|
3315
3717
|
onGeneratedExpressionChange(expression: string): void;
|
|
@@ -3367,7 +3769,23 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3367
3769
|
setRendererJsonLogicProp(kind: string, path: string, raw: string): void;
|
|
3368
3770
|
setRendererProp(kind: string, path: string, value: any): void;
|
|
3369
3771
|
private createDefaultMicroVisualization;
|
|
3772
|
+
private ensureMicroVisualizationObject;
|
|
3370
3773
|
setMicroVisualizationProp(path: string, value: any): void;
|
|
3774
|
+
isMicroVisualizationThresholdsSupported(): boolean;
|
|
3775
|
+
getMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3776
|
+
addMicroVisualizationThreshold(): void;
|
|
3777
|
+
applyDefaultMicroVisualizationThresholds(): void;
|
|
3778
|
+
setMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
|
|
3779
|
+
setMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
|
|
3780
|
+
moveMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3781
|
+
removeMicroVisualizationThreshold(index: number): void;
|
|
3782
|
+
setMicroVisualizationSampleValuesText(raw: string): void;
|
|
3783
|
+
private readonly sanitizer;
|
|
3784
|
+
private readonly microVisualizationPreviewSafeHtmlCache;
|
|
3785
|
+
private memoizeMicroVisualizationSafeHtml;
|
|
3786
|
+
getMicroVisualizationSampleValues(): number[];
|
|
3787
|
+
getPreviewMicroVisualizationSafeHtmlForValue(sampleValue: number): SafeHtml;
|
|
3788
|
+
getPreviewMicroVisualizationHtmlForValue(sampleValue: number): string;
|
|
3371
3789
|
private _deepClone;
|
|
3372
3790
|
hasSelectedRenderer(): boolean;
|
|
3373
3791
|
onApplyRenderer(): void;
|
|
@@ -3387,6 +3805,12 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3387
3805
|
private stripRowPrefixes;
|
|
3388
3806
|
private _coerceExpected;
|
|
3389
3807
|
private getNested;
|
|
3808
|
+
private buildPreviewEvaluationContext;
|
|
3809
|
+
evaluatePreviewOverrideCondition(condition: any, row: any): boolean;
|
|
3810
|
+
private mergePreviewRenderer;
|
|
3811
|
+
private hasRenderablePreviewOverride;
|
|
3812
|
+
getEffectivePreviewRenderer(row: any): any;
|
|
3813
|
+
getPreviewSampleRows(): any[];
|
|
3390
3814
|
getPreviewRendererType(row: any): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'microVisualization' | 'rating' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | null;
|
|
3391
3815
|
getPreviewIconName(row: any): string | null;
|
|
3392
3816
|
getPreviewIconColor(row: any): string | null;
|
|
@@ -3398,16 +3822,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3398
3822
|
getPreviewImageShape(): 'square' | 'rounded' | 'circle' | undefined;
|
|
3399
3823
|
getPreviewImageFit(): 'cover' | 'contain' | undefined;
|
|
3400
3824
|
getPreviewBadgeText(row: any): string | null;
|
|
3401
|
-
getPreviewBadgeIcon(
|
|
3402
|
-
getPreviewBadgeClasses(
|
|
3825
|
+
getPreviewBadgeIcon(row: any): string | null;
|
|
3826
|
+
getPreviewBadgeClasses(row: any): string[];
|
|
3827
|
+
private buildBadgeClassesFromConfig;
|
|
3403
3828
|
getPreviewLinkText(row: any): string;
|
|
3404
3829
|
getPreviewLinkHref(row: any): string | null;
|
|
3405
3830
|
getPreviewButtonLabel(row: any): string;
|
|
3406
|
-
getPreviewButtonIcon(): string | null;
|
|
3831
|
+
getPreviewButtonIcon(row?: any): string | null;
|
|
3407
3832
|
getPreviewChipText(row: any): string | null;
|
|
3408
|
-
|
|
3833
|
+
getPreviewChipIcon(row?: any): string | null;
|
|
3834
|
+
getPreviewChipClasses(row?: any): string[];
|
|
3835
|
+
getComposePreviewButtonLabel(item: any, row: any): string;
|
|
3409
3836
|
getPreviewProgressValue(row: any): number;
|
|
3837
|
+
getPreviewMicroVisualizationSafeHtml(row: any): SafeHtml;
|
|
3410
3838
|
getPreviewMicroVisualizationHtml(row: any): string;
|
|
3839
|
+
private createPreviewMicroVisualizationValueFormatter;
|
|
3840
|
+
private resolvePreviewMicroVisualizationConfig;
|
|
3411
3841
|
getMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
3412
3842
|
getMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3413
3843
|
isMicroVisualizationValueKind(): boolean;
|
|
@@ -3415,6 +3845,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3415
3845
|
isMicroVisualizationSegmentsKind(): boolean;
|
|
3416
3846
|
isMicroVisualizationItemsKind(): boolean;
|
|
3417
3847
|
isMicroVisualizationTotalKind(): boolean;
|
|
3848
|
+
isMicroVisualizationTargetKind(): boolean;
|
|
3849
|
+
isMicroVisualizationBaselineKind(): boolean;
|
|
3850
|
+
isMicroVisualizationSuffixKind(): boolean;
|
|
3851
|
+
isMicroVisualizationScaleBoundsKind(): boolean;
|
|
3852
|
+
isMicroVisualizationScaleScopeKind(): boolean;
|
|
3418
3853
|
getMicroVisualizationGuidanceText(): string;
|
|
3419
3854
|
getMicroVisualizationConstraint(): PraxisTableCellVisualizationConstraint;
|
|
3420
3855
|
getPreviewRatingValue(row: any): number;
|
|
@@ -3423,7 +3858,36 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3423
3858
|
getPreviewRatingOutlineColor(): string | undefined;
|
|
3424
3859
|
getPreviewRatingSize(): 'small' | 'medium' | 'large';
|
|
3425
3860
|
getPreviewRatingAriaLabel(): string | undefined;
|
|
3426
|
-
getComposePreviewItems(
|
|
3861
|
+
getComposePreviewItems(row: any): any[];
|
|
3862
|
+
isComposePreviewMedia(row: any): boolean;
|
|
3863
|
+
getComposePreviewContainerStyle(row: any): Record<string, string>;
|
|
3864
|
+
getComposePreviewValueText(item: any, row: any): string;
|
|
3865
|
+
getComposePreviewValueClasses(item: any): string[];
|
|
3866
|
+
getComposePreviewBadgeText(item: any, row: any): string;
|
|
3867
|
+
getComposePreviewBadgeClasses(item: any): string[];
|
|
3868
|
+
getComposePreviewChipText(item: any, row: any): string;
|
|
3869
|
+
getComposePreviewChipClasses(item: any): string[];
|
|
3870
|
+
getComposePreviewLinkText(item: any, row: any): string;
|
|
3871
|
+
getComposePreviewLinkHref(item: any, row: any): string | null;
|
|
3872
|
+
getComposePreviewIconName(item: any, row: any): string | null;
|
|
3873
|
+
getComposePreviewIconColor(item: any, _row: any): string | null;
|
|
3874
|
+
getComposePreviewIconStyle(item: any, _row: any): Record<string, string> | null;
|
|
3875
|
+
getComposePreviewAvatarStyle(item: any): Record<string, string>;
|
|
3876
|
+
getComposePreviewAvatarInitials(item: any, row: any): string;
|
|
3877
|
+
getComposePreviewAvatarSrc(item: any, row: any): string | null;
|
|
3878
|
+
getComposePreviewAvatarAlt(item: any, row: any): string;
|
|
3879
|
+
getComposePreviewImageSrc(item: any, row: any): string | null;
|
|
3880
|
+
getComposePreviewImageAlt(item: any, row: any): string;
|
|
3881
|
+
getComposePreviewImageStyle(item: any): Record<string, string>;
|
|
3882
|
+
getComposePreviewProgressColor(item: any): string | null;
|
|
3883
|
+
getComposePreviewHtml(item: any, row: any): string;
|
|
3884
|
+
getComposePreviewToggleState(item: any, row: any): boolean;
|
|
3885
|
+
getComposePreviewMenuCount(item: any, row: any): number;
|
|
3886
|
+
private isValidPreviewMediaUrl;
|
|
3887
|
+
private resolvePreviewSafeSrc;
|
|
3888
|
+
/** Mirrors PraxisTable.getSafeHtml token interpolation: `[[field]]` values are HTML-escaped. */
|
|
3889
|
+
private interpolatePreviewHtml;
|
|
3890
|
+
getComposePreviewProgressValue(item: any, row: any): number;
|
|
3427
3891
|
getComposePreviewRatingValue(item: any, row: any): number;
|
|
3428
3892
|
getComposePreviewRatingMax(item: any): number;
|
|
3429
3893
|
getComposePreviewRatingColor(item: any): string | undefined;
|
|
@@ -3439,7 +3903,10 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3439
3903
|
getPreviewToggleState(row: any): boolean;
|
|
3440
3904
|
getPreviewMenuCount(row: any): number;
|
|
3441
3905
|
getPreviewHtml(row: any): string;
|
|
3442
|
-
|
|
3906
|
+
getPreviewProgressColor(row: any): string | null;
|
|
3907
|
+
/** Preview rows are re-cloned on every read; the sample slot index is their stable identity. */
|
|
3908
|
+
trackByIdx: (index: number, _item: unknown) => number;
|
|
3909
|
+
private validateMicroVisualizationThresholds;
|
|
3443
3910
|
private validateRenderer;
|
|
3444
3911
|
private readonly _emptyMappingRef;
|
|
3445
3912
|
composeSelectedIndex: number;
|
|
@@ -3457,10 +3924,13 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3457
3924
|
onComposeReorder(event: any): void;
|
|
3458
3925
|
selectComposeItem(index: number): void;
|
|
3459
3926
|
getComposeLayoutProp(key: string): any;
|
|
3927
|
+
hasComposeMediaLeadingItem(): boolean;
|
|
3460
3928
|
setComposeLayoutProp(key: string, value: any): void;
|
|
3461
3929
|
getSelectedComposeItem(): any;
|
|
3462
3930
|
getSelectedComposeItemProp(path: string): any;
|
|
3463
3931
|
setSelectedComposeItemProp(path: string, value: any): void;
|
|
3932
|
+
getConsolidatedSecondaryColumn(item: any): ExtendedColumnDefinition | null;
|
|
3933
|
+
hideConsolidatedColumn(field: string): void;
|
|
3464
3934
|
private findRendererFieldByCandidates;
|
|
3465
3935
|
private normalizeFieldLookup;
|
|
3466
3936
|
getColumnKeyInputType(column: ColumnDefinition | null): 'text' | 'number' | 'boolean';
|
|
@@ -3469,11 +3939,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3469
3939
|
}): void;
|
|
3470
3940
|
get selectedColumnDataType(): ColumnDataType$1;
|
|
3471
3941
|
set selectedColumnDataType(value: ColumnDataType$1);
|
|
3942
|
+
private findColumnFieldMetadata;
|
|
3943
|
+
private inferColumnDataTypeFromMetadata;
|
|
3472
3944
|
getColumnDataType(column: ColumnDefinition | null): ColumnDataType$1;
|
|
3473
3945
|
/**
|
|
3474
|
-
* Infer column data type from field name patterns (shared logic with PraxisTable)
|
|
3946
|
+
* Infer column data type from field name patterns (shared logic with PraxisTable, supporting pt-BR and en-US)
|
|
3475
3947
|
*/
|
|
3476
3948
|
private inferFieldTypeFromFieldName;
|
|
3949
|
+
inferRecommendedColumnAlignment(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): 'left' | 'center' | 'right';
|
|
3950
|
+
inferRecommendedColumnFormat(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): string;
|
|
3951
|
+
private applySmartCalibrationToColumn;
|
|
3952
|
+
calibrateSelectedColumnFromMetadata(): void;
|
|
3953
|
+
calibrateAllColumnsFromMetadata(): void;
|
|
3477
3954
|
onDataTypeChange(dataType: ColumnDataType$1): void;
|
|
3478
3955
|
showDataFormatter(column: ColumnDefinition | null): boolean;
|
|
3479
3956
|
getFormatterIcon(column: ColumnDefinition | null): string;
|
|
@@ -3498,8 +3975,8 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3498
3975
|
result: any;
|
|
3499
3976
|
}): void;
|
|
3500
3977
|
private updateFieldSchemasForStyleRules;
|
|
3501
|
-
static ɵfac:
|
|
3502
|
-
static ɵcmp:
|
|
3978
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnsConfigEditorComponent, never>;
|
|
3979
|
+
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
3980
|
}
|
|
3504
3981
|
|
|
3505
3982
|
interface BehaviorConfigChange {
|
|
@@ -3555,8 +4032,8 @@ declare class BehaviorConfigEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
3555
4032
|
private resolveNonNegativeNumber;
|
|
3556
4033
|
private resolveExpansionMaxExpandedRows;
|
|
3557
4034
|
private cloneTableConfig;
|
|
3558
|
-
static ɵfac:
|
|
3559
|
-
static ɵcmp:
|
|
4035
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BehaviorConfigEditorComponent, never>;
|
|
4036
|
+
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
4037
|
}
|
|
3561
4038
|
|
|
3562
4039
|
interface ToolbarAction {
|
|
@@ -3777,8 +4254,8 @@ declare class ToolbarActionsEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
3777
4254
|
pickBulkActionIcon(index: number): Promise<void>;
|
|
3778
4255
|
pickRowMenuIcon(): Promise<void>;
|
|
3779
4256
|
pickRowHeaderIcon(): Promise<void>;
|
|
3780
|
-
static ɵfac:
|
|
3781
|
-
static ɵcmp:
|
|
4257
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToolbarActionsEditorComponent, never>;
|
|
4258
|
+
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
4259
|
}
|
|
3783
4260
|
|
|
3784
4261
|
interface MessagesLocalizationChange {
|
|
@@ -3803,8 +4280,8 @@ declare class MessagesLocalizationEditorComponent implements OnInit, OnDestroy {
|
|
|
3803
4280
|
private initializeForm;
|
|
3804
4281
|
private setupFormListeners;
|
|
3805
4282
|
private updateConfig;
|
|
3806
|
-
static ɵfac:
|
|
3807
|
-
static ɵcmp:
|
|
4283
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessagesLocalizationEditorComponent, never>;
|
|
4284
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessagesLocalizationEditorComponent, "messages-localization-editor", never, { "config": { "alias": "config"; "required": false; }; }, { "configChange": "configChange"; "messagesLocalizationChange": "messagesLocalizationChange"; }, never, never, true, never>;
|
|
3808
4285
|
}
|
|
3809
4286
|
|
|
3810
4287
|
declare const ALWAYS_VISIBLE_LAYOUT_LANES: readonly ["actions", "inline", "grid"];
|
|
@@ -3838,6 +4315,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3838
4315
|
presentation: FormControl<FilterConfig['presentation']>;
|
|
3839
4316
|
alwaysVisibleFields: FormControl<string[]>;
|
|
3840
4317
|
showAdvanced: FormControl<boolean>;
|
|
4318
|
+
showAddButton: FormControl<boolean>;
|
|
4319
|
+
showFilterSettings: FormControl<boolean>;
|
|
3841
4320
|
mode: FormControl<'filter'>;
|
|
3842
4321
|
changeDebounceMs: FormControl<number>;
|
|
3843
4322
|
allowSaveTags: FormControl<boolean>;
|
|
@@ -3943,6 +4422,9 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3943
4422
|
isPresetActive(key: string): boolean;
|
|
3944
4423
|
hasBooleanFieldMetadata(): boolean;
|
|
3945
4424
|
getFieldLabel(name: string): string;
|
|
4425
|
+
getFieldTypeBadge(meta?: FieldMetadata | null): string;
|
|
4426
|
+
getFieldDescription(meta?: FieldMetadata | null): string;
|
|
4427
|
+
getSelectedAlwaysVisibleTriggerLabel(): string;
|
|
3946
4428
|
onAlwaysVisibleFieldSearchChange(value: string): void;
|
|
3947
4429
|
clearAlwaysVisibleFieldSearch(): void;
|
|
3948
4430
|
filteredAlwaysVisibleMetadata(): FieldMetadata[];
|
|
@@ -4047,8 +4529,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
4047
4529
|
private normalizeText;
|
|
4048
4530
|
clearPersistedFilters(): void;
|
|
4049
4531
|
forceSchemaReload(): void;
|
|
4050
|
-
static ɵfac:
|
|
4051
|
-
static ɵcmp:
|
|
4532
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
|
|
4533
|
+
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
4534
|
}
|
|
4053
4535
|
|
|
4054
4536
|
type ColumnDataType = 'string' | 'number' | 'date' | 'boolean' | 'currency' | 'percentage' | 'custom';
|
|
@@ -4072,8 +4554,8 @@ declare class OperatorsRegistryService {
|
|
|
4072
4554
|
private readonly arrayOps;
|
|
4073
4555
|
private readonly jsonOps;
|
|
4074
4556
|
private readonly relationalOps;
|
|
4075
|
-
static ɵfac:
|
|
4076
|
-
static ɵprov:
|
|
4557
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OperatorsRegistryService, never>;
|
|
4558
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<OperatorsRegistryService>;
|
|
4077
4559
|
}
|
|
4078
4560
|
|
|
4079
4561
|
type GroupOp = 'AND' | 'OR' | 'NOT';
|
|
@@ -4094,8 +4576,8 @@ declare class RuleCompilerService {
|
|
|
4094
4576
|
compileAtomToJsonLogic(atom: RuleAtom): JsonLogicExpression | null;
|
|
4095
4577
|
private toJsonLogicValue;
|
|
4096
4578
|
private toList;
|
|
4097
|
-
static ɵfac:
|
|
4098
|
-
static ɵprov:
|
|
4579
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RuleCompilerService, never>;
|
|
4580
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<RuleCompilerService>;
|
|
4099
4581
|
}
|
|
4100
4582
|
|
|
4101
4583
|
type RuleItem = Omit<PraxisRuntimeConditionalEffectRule<RuleEffectDefinition>, 'effects'> & {
|
|
@@ -4292,6 +4774,12 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
4292
4774
|
value: any;
|
|
4293
4775
|
label: string;
|
|
4294
4776
|
}>;
|
|
4777
|
+
getDomainRuleTargetField(): string | null;
|
|
4778
|
+
getDomainRuleCandidateOptions(): Array<{
|
|
4779
|
+
value: any;
|
|
4780
|
+
label: string;
|
|
4781
|
+
}>;
|
|
4782
|
+
generateDomainRules(): void;
|
|
4295
4783
|
isNoValueOperator(op: string): boolean;
|
|
4296
4784
|
getValuePlaceholder(): string;
|
|
4297
4785
|
getI18nValuePlaceholder(): string;
|
|
@@ -4321,8 +4809,8 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
4321
4809
|
private parseNumericCsv;
|
|
4322
4810
|
private toFiniteNumber;
|
|
4323
4811
|
private getActiveGroupRef;
|
|
4324
|
-
static ɵfac:
|
|
4325
|
-
static ɵcmp:
|
|
4812
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRulesEditorComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
4813
|
+
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
4814
|
}
|
|
4327
4815
|
|
|
4328
4816
|
type Node = Record<string, any>;
|
|
@@ -4346,7 +4834,7 @@ declare class TableDetailTreeDraft {
|
|
|
4346
4834
|
depth: number;
|
|
4347
4835
|
} | undefined;
|
|
4348
4836
|
move(direction: -1 | 1): void;
|
|
4349
|
-
add(node: Node, nested?: boolean):
|
|
4837
|
+
add(node: Node, nested?: boolean): Node | null;
|
|
4350
4838
|
}
|
|
4351
4839
|
|
|
4352
4840
|
declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
@@ -4363,6 +4851,7 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4363
4851
|
dirty: boolean;
|
|
4364
4852
|
}>;
|
|
4365
4853
|
private readonly i18n;
|
|
4854
|
+
private readonly jsonLogic;
|
|
4366
4855
|
private baseline?;
|
|
4367
4856
|
private emitted?;
|
|
4368
4857
|
private readonly coupledBefore;
|
|
@@ -4374,26 +4863,49 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4374
4863
|
jsonTouched: boolean;
|
|
4375
4864
|
advanced: boolean;
|
|
4376
4865
|
preset: string;
|
|
4866
|
+
/** True when the last "add inside" was refused because the block cannot live inside a card grid card. */
|
|
4867
|
+
addRejected: boolean;
|
|
4377
4868
|
readonly presets: string[];
|
|
4378
4869
|
readonly sourceModes: string[];
|
|
4379
4870
|
readonly resourceKinds: string[];
|
|
4380
4871
|
readonly resourcePathMethods: string[];
|
|
4872
|
+
readonly cardGridColumnOptions: Array<'auto' | 1 | 2 | 3 | 4>;
|
|
4873
|
+
readonly cardVariants: Array<'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent'>;
|
|
4874
|
+
readonly cardSizes: Array<'sm' | 'md' | 'lg'>;
|
|
4875
|
+
readonly cardDensities: Array<'compact' | 'comfortable'>;
|
|
4876
|
+
readonly composeLayouts: Array<'flex' | 'grid'>;
|
|
4877
|
+
readonly composeDirections: Array<'row' | 'column'>;
|
|
4878
|
+
readonly composeGaps: Array<'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
4879
|
+
readonly composeAlignItemsOptions: Array<'' | 'start' | 'center' | 'end' | 'stretch'>;
|
|
4880
|
+
readonly badgePresetOptions: Array<'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'>;
|
|
4881
|
+
readonly iconSurfacePresetOptions: Array<'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'>;
|
|
4882
|
+
readonly semanticTones: Array<'' | 'neutral' | 'info' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger'>;
|
|
4883
|
+
readonly conditionOperators: Array<'===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy'>;
|
|
4381
4884
|
fallbackModes(): string[];
|
|
4382
|
-
sample:
|
|
4885
|
+
sample: 'A' | 'B' | 'C';
|
|
4383
4886
|
get previewContext(): {
|
|
4384
|
-
row:
|
|
4385
|
-
id: string;
|
|
4386
|
-
note: string;
|
|
4387
|
-
status: string;
|
|
4388
|
-
progress: number;
|
|
4389
|
-
};
|
|
4887
|
+
row: Record<string, unknown>;
|
|
4390
4888
|
};
|
|
4889
|
+
private projectDetailNodeToRichBlockNodes;
|
|
4391
4890
|
/** Local presenter projection only; never used as an authoring/save source. */
|
|
4392
4891
|
previewNodes(): RichBlockNode[];
|
|
4892
|
+
/**
|
|
4893
|
+
* Returns structured preview groups so `cardGrid` blocks render with their real
|
|
4894
|
+
* multi-column CSS Grid (`columns` and `minCardWidth`) and headers in the preview canvas.
|
|
4895
|
+
*/
|
|
4896
|
+
previewCardGridGroups(): Array<{
|
|
4897
|
+
isCardGrid: boolean;
|
|
4898
|
+
title?: string;
|
|
4899
|
+
subtitle?: string;
|
|
4900
|
+
gridTemplateColumns?: string;
|
|
4901
|
+
cards?: RichBlockNode[];
|
|
4902
|
+
nodes?: RichBlockNode[];
|
|
4903
|
+
}>;
|
|
4393
4904
|
previewRichContentDocuments(): RichContentDocument[];
|
|
4394
4905
|
richContentEditorInputs(): PraxisRichContentEditorInputs | null;
|
|
4395
4906
|
applyRichContentEditor(): void;
|
|
4396
|
-
addPreset(preset: 'callout' | 'richCard'): void;
|
|
4907
|
+
addPreset(preset: 'callout' | 'richCard' | 'richDetailGrid'): void;
|
|
4908
|
+
effectiveNodeType(node?: Record<string, any> | undefined): string;
|
|
4397
4909
|
nodeLabel(node: Record<string, any>): string;
|
|
4398
4910
|
nodeIcon(node: Record<string, any>): string;
|
|
4399
4911
|
canMove(direction: -1 | 1): boolean;
|
|
@@ -4432,14 +4944,79 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4432
4944
|
canNest(): boolean;
|
|
4433
4945
|
move(direction: -1 | 1): void;
|
|
4434
4946
|
remove(): void;
|
|
4947
|
+
fieldValue(field: string): string;
|
|
4435
4948
|
edit(field: string, value: string): void;
|
|
4436
4949
|
fields(): string[];
|
|
4437
4950
|
isAdvancedNode(): boolean;
|
|
4951
|
+
availableColumns(): Array<{
|
|
4952
|
+
field: string;
|
|
4953
|
+
label: string;
|
|
4954
|
+
}>;
|
|
4955
|
+
supportsFieldBinding(): boolean;
|
|
4956
|
+
boundColumnField(): string;
|
|
4957
|
+
bindColumnField(fieldName: string): void;
|
|
4958
|
+
cardGridColumnsValue(): 'auto' | 1 | 2 | 3 | 4;
|
|
4959
|
+
setCardGridColumns(value: 'auto' | 1 | 2 | 3 | 4): void;
|
|
4960
|
+
cardGridMinWidthValue(): number;
|
|
4961
|
+
setCardGridMinWidth(value: number | string): void;
|
|
4962
|
+
cardVariantValue(): 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent';
|
|
4963
|
+
setCardVariant(variant: 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent' | 'soft'): void;
|
|
4964
|
+
cardSizeValue(): 'sm' | 'md' | 'lg';
|
|
4965
|
+
setCardSize(size: 'sm' | 'md' | 'lg'): void;
|
|
4966
|
+
cardDensityValue(): 'compact' | 'comfortable';
|
|
4967
|
+
setCardDensity(density: 'compact' | 'comfortable' | 'spacious'): void;
|
|
4968
|
+
composeLayoutValue(): 'flex' | 'grid';
|
|
4969
|
+
setComposeLayout(layout: 'flex' | 'grid'): void;
|
|
4970
|
+
composeDirectionValue(): 'row' | 'column';
|
|
4971
|
+
setComposeDirection(direction: 'row' | 'column'): void;
|
|
4972
|
+
composeGapValue(): 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4973
|
+
setComposeGap(gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl'): void;
|
|
4974
|
+
composeAlignItemsValue(): '' | 'start' | 'center' | 'end' | 'stretch';
|
|
4975
|
+
setComposeAlignItems(align: '' | 'start' | 'center' | 'end' | 'stretch' | 'flex-start' | 'flex-end'): void;
|
|
4976
|
+
composeWrapValue(): boolean;
|
|
4977
|
+
setComposeWrap(wrap: boolean): void;
|
|
4978
|
+
supportsTone(): boolean;
|
|
4979
|
+
toneValue(): string;
|
|
4980
|
+
setTone(tone: string): void;
|
|
4981
|
+
supportsStyleControls(): boolean;
|
|
4982
|
+
nodeStyleValue(key: string): string;
|
|
4983
|
+
setNodeStyleValue(key: string, value: string): void;
|
|
4984
|
+
hasNodeAppearanceOverrides(): boolean;
|
|
4985
|
+
resetNodeAppearance(): void;
|
|
4986
|
+
badgeAppearancePreset(): 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom';
|
|
4987
|
+
applyBadgeAppearancePreset(preset: 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'): void;
|
|
4988
|
+
iconSurfacePreset(): 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom';
|
|
4989
|
+
applyIconSurfacePreset(preset: 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'): void;
|
|
4990
|
+
canConvertSelectedToRichContent(): boolean;
|
|
4991
|
+
private isLosslesslyConvertibleToRichContent;
|
|
4992
|
+
/**
|
|
4993
|
+
* Losslessly converts the selected `cardGrid` or `card` block (or its parent `cardGrid`
|
|
4994
|
+
* when a card inside `cardGrid.cards` is selected) into a canonical `richContent` node
|
|
4995
|
+
* so the user can continue authoring in the full embedded `PraxisRichContentConfigEditor`.
|
|
4996
|
+
*/
|
|
4997
|
+
convertSelectedToRichContent(): void;
|
|
4998
|
+
supportsVisibleWhen(): boolean;
|
|
4999
|
+
visibleWhenMode(): 'always' | 'conditional' | 'custom';
|
|
5000
|
+
setVisibleWhenMode(mode: 'always' | 'conditional' | 'custom'): void;
|
|
5001
|
+
visibleWhenField(): string;
|
|
5002
|
+
visibleWhenOperator(): '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
|
|
5003
|
+
visibleWhenValue(): string;
|
|
5004
|
+
setVisibleWhenRule(patch: {
|
|
5005
|
+
field?: string;
|
|
5006
|
+
operator?: '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
|
|
5007
|
+
value?: string;
|
|
5008
|
+
}): void;
|
|
5009
|
+
private parseConditionScalar;
|
|
5010
|
+
private parseGuidedVisibleWhen;
|
|
5011
|
+
private isPreviewNodeVisible;
|
|
4438
5012
|
private commitTree;
|
|
5013
|
+
/** Offered next to `cardGridContent`/`composeContent` issues: converts legacy fields into canonical presenters. */
|
|
5014
|
+
canNormalizeRichChildren(): boolean;
|
|
5015
|
+
normalizeRichChildren(): void;
|
|
4439
5016
|
editJson(value: string): void;
|
|
4440
5017
|
discard(): void;
|
|
4441
|
-
static ɵfac:
|
|
4442
|
-
static ɵcmp:
|
|
5018
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDetailEditorComponent, never>;
|
|
5019
|
+
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
5020
|
}
|
|
4444
5021
|
|
|
4445
5022
|
type ResourcePathIntent = 'set' | 'clear' | 'unchanged';
|
|
@@ -4510,16 +5087,24 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4510
5087
|
isValid$: BehaviorSubject<boolean>;
|
|
4511
5088
|
isBusy$: BehaviorSubject<boolean>;
|
|
4512
5089
|
columnMetas: FieldMetadata[];
|
|
5090
|
+
filterSchemaFields: FieldDefinition[];
|
|
4513
5091
|
filterDtoMetas: FieldMetadata[];
|
|
4514
5092
|
filterDtoMetasLoading: boolean;
|
|
4515
5093
|
filterDtoMetasErrorMsg: string;
|
|
5094
|
+
resourceSchemaFields: FieldDefinition[];
|
|
5095
|
+
resourceSchemaMetas: FieldMetadata[];
|
|
5096
|
+
resourceSchemaLoading: boolean;
|
|
5097
|
+
selectedCatalogResource: DiscoveredResourceOption | null;
|
|
4516
5098
|
private hasCrudOverridesDirty;
|
|
4517
5099
|
private hasLocalDataInput;
|
|
4518
5100
|
private filterDtoLoadSeq;
|
|
5101
|
+
private resourceSchemaLoadSeq;
|
|
5102
|
+
private loadedSchemaResourcePath;
|
|
4519
5103
|
private lastKnownFilterSettings;
|
|
4520
5104
|
private globalActionValidationIssues;
|
|
4521
5105
|
private readonly panelData;
|
|
4522
5106
|
private readonly crudService;
|
|
5107
|
+
private readonly resourceDiscovery;
|
|
4523
5108
|
private readonly panelRef;
|
|
4524
5109
|
constructor(cdr: ChangeDetectorRef, configService: TableConfigService);
|
|
4525
5110
|
tx(key: string, fallback: string): string;
|
|
@@ -4536,10 +5121,82 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4536
5121
|
onFilterSettingsChange(cfg: FilterConfig): void;
|
|
4537
5122
|
private cloneFilterSettings;
|
|
4538
5123
|
private isEffectivelyEmptyFilterSettings;
|
|
5124
|
+
private enrichFieldMetadataList;
|
|
5125
|
+
/**
|
|
5126
|
+
* Converte o resumo de campos publicado em `/schemas/catalog` (`responseFields` ou `filterFields`)
|
|
5127
|
+
* em `FieldMetadata[]` para alimentar imediatamente os seletores de chave primária, colunas e
|
|
5128
|
+
* filtros rápidos enquanto `/schemas/filtered` ainda está em resolução ou indisponível.
|
|
5129
|
+
*/
|
|
5130
|
+
private extractCatalogFieldMetas;
|
|
4539
5131
|
getFilterSettingsMetas(): FieldMetadata[];
|
|
4540
5132
|
getColumnAuthoringMetas(): FieldMetadata[];
|
|
5133
|
+
getRulesEditorFields(): FieldDefinition[];
|
|
5134
|
+
getFieldTypeBadge(option?: FieldMetadata | null): string;
|
|
5135
|
+
getFieldDescription(option?: FieldMetadata | null): string;
|
|
4541
5136
|
get filteredIdFieldOptions(): FieldMetadata[];
|
|
5137
|
+
getFilteredQuickFilterFieldOptions(currentValue?: string): FieldMetadata[];
|
|
4542
5138
|
isUsingFilterDtoMetas(): boolean;
|
|
5139
|
+
get toolbarFiltersEnabled(): boolean;
|
|
5140
|
+
get toolbarShowQuickFilters(): boolean;
|
|
5141
|
+
get toolbarShowAdvancedButton(): boolean;
|
|
5142
|
+
get advancedFilterShowAddButton(): boolean;
|
|
5143
|
+
get advancedFilterShowFilterSettings(): boolean;
|
|
5144
|
+
get toolbarQuickFilters(): PraxisResourceQuickFilter[];
|
|
5145
|
+
get duplicatedQuickFilterInlineFields(): string[];
|
|
5146
|
+
private inferDefaultStatusFilterField;
|
|
5147
|
+
getQuickFilterValueOptions(fieldName: string, currentValue?: unknown): Array<{
|
|
5148
|
+
value: string;
|
|
5149
|
+
label: string;
|
|
5150
|
+
}>;
|
|
5151
|
+
private updateToolbarFiltersPatch;
|
|
5152
|
+
onToolbarFiltersEnabledChange(enabled: boolean): void;
|
|
5153
|
+
onToolbarShowQuickFiltersChange(show: boolean): void;
|
|
5154
|
+
onToolbarShowAdvancedButtonChange(show: boolean): void;
|
|
5155
|
+
onAdvancedFilterShowAddButtonChange(show: boolean): void;
|
|
5156
|
+
onAdvancedFilterShowFilterSettingsChange(show: boolean): void;
|
|
5157
|
+
applyBooleanQuickFilterPreset(fieldName?: string): void;
|
|
5158
|
+
addQuickFilterScope(): void;
|
|
5159
|
+
removeQuickFilterScope(index: number): void;
|
|
5160
|
+
updateQuickFilterMeta(index: number, patch: {
|
|
5161
|
+
id?: string;
|
|
5162
|
+
label?: string;
|
|
5163
|
+
icon?: string;
|
|
5164
|
+
tone?: PraxisQuickFilterTone | '';
|
|
5165
|
+
isDefault?: boolean;
|
|
5166
|
+
description?: string;
|
|
5167
|
+
order?: number | string | null;
|
|
5168
|
+
}): void;
|
|
5169
|
+
private normalizeEditorQuickFilterObject;
|
|
5170
|
+
private resolveQuickFilterFieldValueKind;
|
|
5171
|
+
private resolveQuickFilterArrayItemKind;
|
|
5172
|
+
private coerceQuickFilterScalarByKind;
|
|
5173
|
+
private inferCriterionMode;
|
|
5174
|
+
getQuickFilterCriteriaEntries(item: {
|
|
5175
|
+
filter?: any;
|
|
5176
|
+
}): Array<{
|
|
5177
|
+
field: string;
|
|
5178
|
+
value: any;
|
|
5179
|
+
mode: 'boolean' | 'equals' | 'in';
|
|
5180
|
+
}>;
|
|
5181
|
+
formatQuickFilterArrayValue(value: unknown): string;
|
|
5182
|
+
getQuickFilterMode(item: {
|
|
5183
|
+
filter?: any;
|
|
5184
|
+
}): 'all' | 'boolean' | 'equals' | 'in';
|
|
5185
|
+
getQuickFilterField(item: {
|
|
5186
|
+
filter?: any;
|
|
5187
|
+
}, criterionIndex?: number): string;
|
|
5188
|
+
getQuickFilterValue(item: {
|
|
5189
|
+
filter?: any;
|
|
5190
|
+
}, criterionIndex?: number): any;
|
|
5191
|
+
addQuickFilterCriterion(qfIndex: number): void;
|
|
5192
|
+
removeQuickFilterCriterion(qfIndex: number, criterionIndex: number): void;
|
|
5193
|
+
onQuickFilterCriterionModeChange(qfIndex: number, criterionIndex: number, mode: 'boolean' | 'equals' | 'in'): void;
|
|
5194
|
+
onQuickFilterModeChange(index: number, mode: 'all' | 'boolean' | 'equals' | 'in'): void;
|
|
5195
|
+
onQuickFilterCriterionFieldChange(qfIndex: number, criterionIndex: number, fieldName: string): void;
|
|
5196
|
+
onQuickFilterFieldChange(index: number, fieldName: string): void;
|
|
5197
|
+
onQuickFilterCriterionValueChange(qfIndex: number, criterionIndex: number, rawValue: any): void;
|
|
5198
|
+
onQuickFilterValueChange(index: number, rawValue: any): void;
|
|
5199
|
+
consolidateDuplicateInlineFilterFields(): void;
|
|
4543
5200
|
getEffectiveDataMode(): EffectiveDataMode;
|
|
4544
5201
|
isEffectiveLocalMode(): boolean;
|
|
4545
5202
|
private resolveLocalDataModeFeatureEnabled;
|
|
@@ -4569,8 +5226,16 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4569
5226
|
private syncFilterSettingsFromEditor;
|
|
4570
5227
|
private hasAdvancedSettingsProperty;
|
|
4571
5228
|
private syncLastKnownFilterSettingsFromEditedConfig;
|
|
5229
|
+
onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
|
|
5230
|
+
private normalizeResourcePathIdentity;
|
|
5231
|
+
private resetEditedConfigForResourceSwitch;
|
|
4572
5232
|
onResourcePathChange(val: string): void;
|
|
5233
|
+
get resourceEndpointKey(): any;
|
|
5234
|
+
get resourceApiUrlEntry(): any;
|
|
5235
|
+
private getResourceDiscoveryOptions;
|
|
5236
|
+
private canUseResourceDiscovery;
|
|
4573
5237
|
private loadFilterDtoMetas;
|
|
5238
|
+
private loadResourceSchemaMetas;
|
|
4574
5239
|
onIdFieldChange(val: string): void;
|
|
4575
5240
|
onIdFieldOptionSelected(value: string): void;
|
|
4576
5241
|
get mobileCardMode(): boolean;
|
|
@@ -4628,13 +5293,15 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4628
5293
|
onMessagesLocalizationConfigChange(newConfig: TableConfig): void;
|
|
4629
5294
|
onMessagesLocalizationChange(change: MessagesLocalizationChange): void;
|
|
4630
5295
|
ngOnDestroy(): void;
|
|
4631
|
-
static ɵfac:
|
|
4632
|
-
static ɵcmp:
|
|
5296
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableConfigEditor, never>;
|
|
5297
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisTableConfigEditor, "praxis-table-config-editor", never, {}, {}, never, never, true, never>;
|
|
4633
5298
|
}
|
|
4634
5299
|
|
|
4635
5300
|
interface PraxisTableWidgetEditorInputs {
|
|
4636
5301
|
config?: TableConfig | null;
|
|
4637
5302
|
resourcePath?: string | null;
|
|
5303
|
+
endpointKey?: ApiEndpoint;
|
|
5304
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4638
5305
|
horizontalScroll?: 'auto' | 'wrap' | 'none';
|
|
4639
5306
|
tableId?: string;
|
|
4640
5307
|
componentInstanceId?: string;
|
|
@@ -4664,14 +5331,19 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4664
5331
|
getSettingsValue(): PraxisTableWidgetEditorValue;
|
|
4665
5332
|
onSave(): PraxisTableWidgetEditorValue;
|
|
4666
5333
|
reset(): void;
|
|
5334
|
+
private normalizeResourcePathIdentity;
|
|
5335
|
+
private stripResourceBoundTableState;
|
|
5336
|
+
private sanitizeEditedConfigForResourceSwitch;
|
|
4667
5337
|
private buildValue;
|
|
4668
|
-
static ɵfac:
|
|
4669
|
-
static ɵcmp:
|
|
5338
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableWidgetConfigEditor, never>;
|
|
5339
|
+
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
5340
|
}
|
|
4671
5341
|
|
|
4672
5342
|
interface PraxisFilterWidgetEditorInputs {
|
|
4673
5343
|
presentation?: FilterConfig['presentation'];
|
|
4674
5344
|
resourcePath?: string | null;
|
|
5345
|
+
endpointKey?: ApiEndpoint;
|
|
5346
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4675
5347
|
fieldMetadata?: FieldMetadata[] | null;
|
|
4676
5348
|
filterId?: string;
|
|
4677
5349
|
formId?: string;
|
|
@@ -4693,6 +5365,10 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4693
5365
|
actionsButtonColor?: 'primary' | 'accent' | 'warn' | 'basic';
|
|
4694
5366
|
actionsVariant?: 'standard' | 'outlined';
|
|
4695
5367
|
useInlineSearchableSelectVariant?: boolean;
|
|
5368
|
+
useInlineSelectVariant?: boolean;
|
|
5369
|
+
useInlineMultiSelectVariant?: boolean;
|
|
5370
|
+
useInlineInputVariant?: boolean;
|
|
5371
|
+
useInlineToggleVariant?: boolean;
|
|
4696
5372
|
useInlineRangeVariant?: boolean;
|
|
4697
5373
|
useInlineDateVariant?: boolean;
|
|
4698
5374
|
useInlineDateRangeVariant?: boolean;
|
|
@@ -4704,6 +5380,7 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4704
5380
|
advancedOpenMode?: 'modal' | 'drawer';
|
|
4705
5381
|
advancedClearButtonsEnabled?: boolean;
|
|
4706
5382
|
persistenceKey?: string;
|
|
5383
|
+
showAddButton?: boolean;
|
|
4707
5384
|
showFilterSettings?: boolean;
|
|
4708
5385
|
enableCustomization?: boolean;
|
|
4709
5386
|
[key: string]: unknown;
|
|
@@ -4715,6 +5392,7 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4715
5392
|
widgetKey?: string;
|
|
4716
5393
|
resourceEditor?: ResourceQuickConnectComponent;
|
|
4717
5394
|
private readonly crud;
|
|
5395
|
+
private readonly resourceDiscovery;
|
|
4718
5396
|
private readonly cdr;
|
|
4719
5397
|
private readonly i18n;
|
|
4720
5398
|
resourceError: boolean;
|
|
@@ -4723,8 +5401,17 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4723
5401
|
private settingsDirty;
|
|
4724
5402
|
private loadingResource;
|
|
4725
5403
|
private fieldRequest;
|
|
5404
|
+
private selectedCatalogResource;
|
|
4726
5405
|
tx(key: string): string;
|
|
4727
5406
|
ngAfterViewInit(): void;
|
|
5407
|
+
/**
|
|
5408
|
+
* Hidrata imediatamente os metadados de filtro a partir do resumo de campos publicado
|
|
5409
|
+
* em `/schemas/catalog` (`filterFields` ou `responseFields`) enquanto o schema completo
|
|
5410
|
+
* (`/schemas/filtered`) ainda está carregando ou indisponível no host.
|
|
5411
|
+
*/
|
|
5412
|
+
onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
|
|
5413
|
+
private extractCatalogFieldMetas;
|
|
5414
|
+
onResourcePathChange(nextPath: string): void;
|
|
4728
5415
|
loadResourceFields(markDirty?: boolean): Promise<void>;
|
|
4729
5416
|
private optionalInject;
|
|
4730
5417
|
set inputs(value: PraxisFilterWidgetEditorInputs | null);
|
|
@@ -4751,8 +5438,8 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4751
5438
|
private normalizeOverlayVariant;
|
|
4752
5439
|
private cloneStringArray;
|
|
4753
5440
|
private cloneRecord;
|
|
4754
|
-
static ɵfac:
|
|
4755
|
-
static ɵcmp:
|
|
5441
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterWidgetConfigEditor, never>;
|
|
5442
|
+
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
5443
|
}
|
|
4757
5444
|
|
|
4758
5445
|
/**
|
|
@@ -4763,7 +5450,8 @@ interface PraxisFilterTeleportHost {
|
|
|
4763
5450
|
filterTeleport?: boolean;
|
|
4764
5451
|
filterTemplate?: TemplateRef<unknown>;
|
|
4765
5452
|
filterBarTemplate?: TemplateRef<unknown>;
|
|
4766
|
-
|
|
5453
|
+
filterTemplateSignal?: () => TemplateRef<unknown> | undefined;
|
|
5454
|
+
internalTable?: PraxisFilterTeleportHost;
|
|
4767
5455
|
}
|
|
4768
5456
|
type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown> | null | undefined;
|
|
4769
5457
|
/**
|
|
@@ -4784,14 +5472,17 @@ type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown>
|
|
|
4784
5472
|
declare class PraxisFilterOutletComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
4785
5473
|
target: PraxisFilterOutletTarget;
|
|
4786
5474
|
private readonly cdr;
|
|
5475
|
+
private readonly targetSignal;
|
|
4787
5476
|
private previousHost?;
|
|
5477
|
+
constructor();
|
|
4788
5478
|
get resolvedTemplate(): TemplateRef<unknown> | null;
|
|
4789
5479
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4790
5480
|
ngAfterViewInit(): void;
|
|
4791
5481
|
ngOnDestroy(): void;
|
|
5482
|
+
private detachPreviousHost;
|
|
4792
5483
|
private attachTeleportTarget;
|
|
4793
|
-
static ɵfac:
|
|
4794
|
-
static ɵcmp:
|
|
5484
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterOutletComponent, never>;
|
|
5485
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisFilterOutletComponent, "praxis-filter-outlet", never, { "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
|
|
4795
5486
|
}
|
|
4796
5487
|
/**
|
|
4797
5488
|
* Praxis UI Platform — Canonical Filter Outlet Directive (Issue #11)
|
|
@@ -4809,13 +5500,17 @@ declare class PraxisFilterOutletDirective implements OnChanges, AfterViewInit, O
|
|
|
4809
5500
|
target: PraxisFilterOutletTarget;
|
|
4810
5501
|
private readonly viewContainer;
|
|
4811
5502
|
private readonly cdr;
|
|
5503
|
+
private readonly targetSignal;
|
|
4812
5504
|
private previousHost?;
|
|
5505
|
+
private renderedTemplate;
|
|
5506
|
+
constructor();
|
|
4813
5507
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4814
5508
|
ngAfterViewInit(): void;
|
|
4815
5509
|
ngOnDestroy(): void;
|
|
5510
|
+
private detachPreviousHost;
|
|
4816
5511
|
private updateView;
|
|
4817
|
-
static ɵfac:
|
|
4818
|
-
static ɵdir:
|
|
5512
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterOutletDirective, never>;
|
|
5513
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PraxisFilterOutletDirective, "[praxisFilterOutlet]", never, { "target": { "alias": "praxisFilterOutlet"; "required": false; }; }, {}, never, never, true, never>;
|
|
4819
5514
|
}
|
|
4820
5515
|
|
|
4821
5516
|
interface PraxisScopeBarItem {
|
|
@@ -4823,10 +5518,18 @@ interface PraxisScopeBarItem {
|
|
|
4823
5518
|
label: string;
|
|
4824
5519
|
filter?: Record<string, unknown> | string;
|
|
4825
5520
|
count?: number | null;
|
|
5521
|
+
badge?: string | number;
|
|
4826
5522
|
icon?: string;
|
|
4827
|
-
tone?:
|
|
5523
|
+
tone?: PraxisQuickFilterTone;
|
|
4828
5524
|
isDefault?: boolean;
|
|
4829
5525
|
tooltip?: string;
|
|
5526
|
+
description?: string;
|
|
5527
|
+
}
|
|
5528
|
+
interface PraxisScopeBarActiveBadge {
|
|
5529
|
+
key: string;
|
|
5530
|
+
label: string;
|
|
5531
|
+
valueText: string;
|
|
5532
|
+
source: 'scope' | 'search' | 'external';
|
|
4830
5533
|
}
|
|
4831
5534
|
interface PraxisScopeBarConfig {
|
|
4832
5535
|
items?: PraxisScopeBarItem[];
|
|
@@ -4838,18 +5541,37 @@ interface PraxisScopeBarConfig {
|
|
|
4838
5541
|
showClearButton?: boolean;
|
|
4839
5542
|
clearLabel?: string;
|
|
4840
5543
|
searchField?: string;
|
|
5544
|
+
targetWidgetId?: string;
|
|
5545
|
+
targetWidgetIds?: string[];
|
|
5546
|
+
showActiveFilterSummary?: boolean;
|
|
5547
|
+
filterLabels?: Record<string, string>;
|
|
4841
5548
|
}
|
|
4842
5549
|
declare class PraxisScopeBarComponent implements OnInit {
|
|
4843
5550
|
private readonly eventBus;
|
|
5551
|
+
private readonly i18n;
|
|
4844
5552
|
private readonly destroyRef;
|
|
5553
|
+
private targetFilterSubscription?;
|
|
5554
|
+
private isApplyingCriteriaToTarget;
|
|
5555
|
+
protected scopeNavigationLabel(): string;
|
|
5556
|
+
protected scopeSearchAriaLabel(): string;
|
|
5557
|
+
protected scopeClearSearchTitle(): string;
|
|
5558
|
+
protected scopeClearSearchAriaLabel(): string;
|
|
5559
|
+
protected scopeFiltersAriaLabel(): string;
|
|
5560
|
+
protected scopeActiveSummaryAriaLabel(): string;
|
|
5561
|
+
protected scopeActiveSummaryLabel(): string;
|
|
5562
|
+
protected scopeRemoveCriterionAriaLabel(label: string): string;
|
|
5563
|
+
protected scopeActiveFilterCountAriaLabel(count: number): string;
|
|
4845
5564
|
chipsTrack?: ElementRef<HTMLElement>;
|
|
5565
|
+
set config(val: PraxisScopeBarConfig | undefined | null);
|
|
4846
5566
|
private readonly itemsSignal;
|
|
4847
5567
|
set items(val: PraxisScopeBarItem[] | undefined);
|
|
4848
5568
|
get items(): PraxisScopeBarItem[] | undefined;
|
|
4849
5569
|
set activeId(val: string | undefined);
|
|
4850
5570
|
get activeId(): string | undefined;
|
|
4851
5571
|
readonly activeIdChange: EventEmitter<string>;
|
|
4852
|
-
|
|
5572
|
+
private readonly showOmniboxSignal;
|
|
5573
|
+
set showOmnibox(val: boolean);
|
|
5574
|
+
get showOmnibox(): boolean;
|
|
4853
5575
|
omniboxPlaceholder: string;
|
|
4854
5576
|
set omniboxValue(val: string | undefined);
|
|
4855
5577
|
get omniboxValue(): string | undefined;
|
|
@@ -4859,10 +5581,21 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
4859
5581
|
leadLabel?: string;
|
|
4860
5582
|
showClearButton: boolean;
|
|
4861
5583
|
clearLabel: string;
|
|
5584
|
+
private readonly showActiveFilterSummarySignal;
|
|
5585
|
+
set showActiveFilterSummary(val: boolean);
|
|
5586
|
+
get showActiveFilterSummary(): boolean;
|
|
5587
|
+
private readonly activeFiltersSignal;
|
|
5588
|
+
set activeFilters(val: Record<string, unknown> | undefined | null);
|
|
5589
|
+
get activeFilters(): Record<string, unknown>;
|
|
5590
|
+
readonly activeFiltersChange: EventEmitter<Record<string, unknown>>;
|
|
5591
|
+
private readonly filterLabelsSignal;
|
|
5592
|
+
set filterLabels(val: Record<string, string> | undefined | null);
|
|
5593
|
+
get filterLabels(): Record<string, string>;
|
|
4862
5594
|
private readonly targetSignal;
|
|
4863
5595
|
set target(val: any);
|
|
4864
5596
|
get target(): any;
|
|
4865
5597
|
targetWidgetId?: string;
|
|
5598
|
+
targetWidgetIds?: string[];
|
|
4866
5599
|
scopeBarId: string;
|
|
4867
5600
|
searchField: string;
|
|
4868
5601
|
readonly scopeChange: EventEmitter<PraxisScopeBarItem>;
|
|
@@ -4870,26 +5603,42 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
4870
5603
|
readonly filterCriteriaChange: EventEmitter<Record<string, unknown>>;
|
|
4871
5604
|
readonly clear: EventEmitter<void>;
|
|
4872
5605
|
private readonly searchSubject$;
|
|
4873
|
-
readonly currentActiveId:
|
|
4874
|
-
readonly currentSearchText:
|
|
4875
|
-
readonly effectiveItems:
|
|
5606
|
+
readonly currentActiveId: _angular_core.WritableSignal<string | null>;
|
|
5607
|
+
readonly currentSearchText: _angular_core.WritableSignal<string>;
|
|
5608
|
+
readonly effectiveItems: _angular_core.Signal<PraxisScopeBarItem[]>;
|
|
5609
|
+
readonly resolvedActiveId: _angular_core.Signal<string | null>;
|
|
5610
|
+
readonly hasMainRow: _angular_core.Signal<boolean>;
|
|
5611
|
+
readonly activeFilterBadges: _angular_core.Signal<PraxisScopeBarActiveBadge[]>;
|
|
5612
|
+
readonly activeFilterCount: _angular_core.Signal<number>;
|
|
4876
5613
|
ngOnInit(): void;
|
|
4877
5614
|
isItemActive(item: PraxisScopeBarItem): boolean;
|
|
5615
|
+
/**
|
|
5616
|
+
* Roving tabindex do radiogroup: o item ativo recebe foco; sem item ativo (ex.: filtro inline
|
|
5617
|
+
* sobrescreveu o escopo) o primeiro item permanece alcançável por Tab.
|
|
5618
|
+
*/
|
|
5619
|
+
isItemFocusable(item: PraxisScopeBarItem, index: number): boolean;
|
|
4878
5620
|
selectScope(item: PraxisScopeBarItem): void;
|
|
4879
5621
|
onSearchInput(event: Event): void;
|
|
4880
5622
|
clearSearch(): void;
|
|
5623
|
+
removeFilterCriterion(key: string): void;
|
|
4881
5624
|
resetFilters(): void;
|
|
4882
5625
|
canClear(): boolean;
|
|
4883
5626
|
onTrackKeydown(event: KeyboardEvent): void;
|
|
5627
|
+
private resolveTargetWidgetIds;
|
|
4884
5628
|
private dispatchFilters;
|
|
4885
5629
|
private applyCriteriaToTarget;
|
|
5630
|
+
private bindTargetFilterCriteria;
|
|
5631
|
+
private getScopeManagedKeys;
|
|
4886
5632
|
private discoverItemsFromTarget;
|
|
5633
|
+
private humanizeKey;
|
|
5634
|
+
private formatCriterionValue;
|
|
4887
5635
|
private normalizeFilter;
|
|
4888
|
-
static ɵfac:
|
|
4889
|
-
static ɵcmp:
|
|
5636
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisScopeBarComponent, never>;
|
|
5637
|
+
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
5638
|
static ngAcceptInputType_showOmnibox: unknown;
|
|
4891
5639
|
static ngAcceptInputType_omniboxDebounceMs: unknown;
|
|
4892
5640
|
static ngAcceptInputType_showClearButton: unknown;
|
|
5641
|
+
static ngAcceptInputType_showActiveFilterSummary: unknown;
|
|
4893
5642
|
}
|
|
4894
5643
|
|
|
4895
5644
|
declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
@@ -4956,25 +5705,29 @@ declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
|
4956
5705
|
*/
|
|
4957
5706
|
private getCurrentFormatString;
|
|
4958
5707
|
private isMaskFormat;
|
|
4959
|
-
static ɵfac:
|
|
4960
|
-
static ɵcmp:
|
|
5708
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataFormatterComponent, never>;
|
|
5709
|
+
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
5710
|
}
|
|
4962
5711
|
|
|
4963
5712
|
interface AnalyticsTableConfigAdapterOptions {
|
|
4964
5713
|
title?: PraxisTextValue;
|
|
4965
5714
|
subtitle?: PraxisTextValue;
|
|
5715
|
+
surfaceMode?: 'standalone' | 'embedded';
|
|
5716
|
+
rowCount?: number;
|
|
4966
5717
|
}
|
|
4967
5718
|
declare class AnalyticsTableConfigAdapterService {
|
|
4968
5719
|
private readonly i18n?;
|
|
5720
|
+
private readonly statsBuilder;
|
|
4969
5721
|
constructor(i18n?: PraxisI18nService | undefined);
|
|
4970
5722
|
toTableConfig(projection: PraxisAnalyticsProjection, options?: AnalyticsTableConfigAdapterOptions): TableConfig;
|
|
4971
5723
|
private buildColumns;
|
|
4972
5724
|
private buildComparisonMetricColumns;
|
|
5725
|
+
private resolveMetricColumnPresentation;
|
|
4973
5726
|
private comparisonValueLabel;
|
|
4974
5727
|
private getDisplayMetrics;
|
|
4975
5728
|
private resolveTextValue;
|
|
4976
|
-
static ɵfac:
|
|
4977
|
-
static ɵprov:
|
|
5729
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableConfigAdapterService, [{ optional: true; }]>;
|
|
5730
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableConfigAdapterService>;
|
|
4978
5731
|
}
|
|
4979
5732
|
|
|
4980
5733
|
declare class AnalyticsTableContractService {
|
|
@@ -4989,8 +5742,8 @@ declare class AnalyticsTableContractService {
|
|
|
4989
5742
|
private buildTableView;
|
|
4990
5743
|
private assertAnalyticTableProjection;
|
|
4991
5744
|
private resolveQueryContext;
|
|
4992
|
-
static ɵfac:
|
|
4993
|
-
static ɵprov:
|
|
5745
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableContractService, never>;
|
|
5746
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableContractService>;
|
|
4994
5747
|
}
|
|
4995
5748
|
|
|
4996
5749
|
type TableRichContentP0Node = RichPresenterNode | RichComposeNode;
|
|
@@ -5032,6 +5785,7 @@ declare const PRAXIS_FILTER_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
|
5032
5785
|
declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
5033
5786
|
private readonly i18n;
|
|
5034
5787
|
config: TableConfig;
|
|
5788
|
+
fieldMetadata: FieldMetadata[];
|
|
5035
5789
|
readonly: boolean;
|
|
5036
5790
|
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
5037
5791
|
workingConfig: TableConfig;
|
|
@@ -5051,11 +5805,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5051
5805
|
pageSize: number;
|
|
5052
5806
|
pageSizeOptionsText: string;
|
|
5053
5807
|
showFirstLastButtons: boolean;
|
|
5054
|
-
paginationStrategy: 'client' | 'server';
|
|
5808
|
+
paginationStrategy: 'client' | 'server' | undefined;
|
|
5055
5809
|
paginationPosition: 'top' | 'bottom' | 'both';
|
|
5056
5810
|
paginationStyle: 'default' | 'simple' | 'advanced' | 'compact';
|
|
5057
5811
|
sortingEnabled: boolean;
|
|
5058
|
-
sortingStrategy: 'client' | 'server';
|
|
5812
|
+
sortingStrategy: 'client' | 'server' | undefined;
|
|
5059
5813
|
allowClearSort: boolean;
|
|
5060
5814
|
defaultSortField: string;
|
|
5061
5815
|
defaultSortDirection: 'asc' | 'desc';
|
|
@@ -5083,11 +5837,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5083
5837
|
setPaginationPageSize(value: number | string): void;
|
|
5084
5838
|
setPaginationPageSizeOptions(value: string): void;
|
|
5085
5839
|
setPaginationShowFirstLastButtons(value: boolean): void;
|
|
5086
|
-
setPaginationStrategy(value: 'client' | 'server'): void;
|
|
5840
|
+
setPaginationStrategy(value: 'client' | 'server' | undefined): void;
|
|
5087
5841
|
setPaginationPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
5088
5842
|
setPaginationStyle(value: 'default' | 'simple' | 'advanced' | 'compact'): void;
|
|
5089
5843
|
setSortingEnabled(value: boolean): void;
|
|
5090
|
-
setSortingStrategy(value: 'client' | 'server'): void;
|
|
5844
|
+
setSortingStrategy(value: 'client' | 'server' | undefined): void;
|
|
5091
5845
|
setSortingAllowClear(value: boolean): void;
|
|
5092
5846
|
setSortingDefaultField(value: string): void;
|
|
5093
5847
|
setSortingDefaultDirection(value: 'asc' | 'desc'): void;
|
|
@@ -5116,8 +5870,8 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5116
5870
|
private buildDefaultSort;
|
|
5117
5871
|
private getDefaultSortField;
|
|
5118
5872
|
private getDefaultSortDirection;
|
|
5119
|
-
static ɵfac:
|
|
5120
|
-
static ɵcmp:
|
|
5873
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
|
|
5874
|
+
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
5875
|
}
|
|
5122
5876
|
|
|
5123
5877
|
interface ValueMappingPair {
|
|
@@ -5137,6 +5891,10 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5137
5891
|
keyInputType: 'text' | 'number' | 'boolean';
|
|
5138
5892
|
labelKey: string;
|
|
5139
5893
|
labelValue: string;
|
|
5894
|
+
domainOptions: Array<{
|
|
5895
|
+
value: string | number | boolean;
|
|
5896
|
+
label: string;
|
|
5897
|
+
}>;
|
|
5140
5898
|
mappingChange: EventEmitter<{
|
|
5141
5899
|
[key: string]: string;
|
|
5142
5900
|
[key: number]: string;
|
|
@@ -5147,6 +5905,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5147
5905
|
showImportDialog: boolean;
|
|
5148
5906
|
importJsonText: string;
|
|
5149
5907
|
importError: string;
|
|
5908
|
+
private readonly i18n;
|
|
5909
|
+
tx(key: string, fallback: string): string;
|
|
5150
5910
|
constructor(cdr: ChangeDetectorRef, dialog: MatDialog, snackBar: MatSnackBar);
|
|
5151
5911
|
ngOnInit(): void;
|
|
5152
5912
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -5156,6 +5916,7 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5156
5916
|
isKeyTruthy(pair: ValueMappingPair): boolean;
|
|
5157
5917
|
getKeyPlaceholder(): string;
|
|
5158
5918
|
addNewPair(): void;
|
|
5919
|
+
generateFromDomainOptions(): void;
|
|
5159
5920
|
removePair(index: number): void;
|
|
5160
5921
|
onKeyChange(index: number, value: string): void;
|
|
5161
5922
|
onBooleanKeyChange(index: number, change: MatCheckboxChange): void;
|
|
@@ -5164,8 +5925,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5164
5925
|
exportToJson(): void;
|
|
5165
5926
|
importFromJson(): void;
|
|
5166
5927
|
cancelImport(): void;
|
|
5167
|
-
static ɵfac:
|
|
5168
|
-
static ɵcmp:
|
|
5928
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueMappingEditorComponent, never>;
|
|
5929
|
+
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
5930
|
}
|
|
5170
5931
|
|
|
5171
5932
|
declare class FormulaGeneratorService {
|
|
@@ -5218,8 +5979,8 @@ declare class FormulaGeneratorService {
|
|
|
5218
5979
|
private compareValues;
|
|
5219
5980
|
private resolveOperand;
|
|
5220
5981
|
private resolveFieldValue;
|
|
5221
|
-
static ɵfac:
|
|
5222
|
-
static ɵprov:
|
|
5982
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormulaGeneratorService, never>;
|
|
5983
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormulaGeneratorService>;
|
|
5223
5984
|
}
|
|
5224
5985
|
|
|
5225
5986
|
declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
@@ -5258,6 +6019,12 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
|
5258
6019
|
private generateAndEmitExpression;
|
|
5259
6020
|
get generatedExpression(): string;
|
|
5260
6021
|
isMultiSelectField(paramKey: string): boolean;
|
|
6022
|
+
onFieldSelectionChange(paramKey: string, nextValue: unknown): void;
|
|
6023
|
+
getOrderedSelectedFields(paramKey: string): string[];
|
|
6024
|
+
moveSelectedField(paramKey: string, index: number, delta: -1 | 1): void;
|
|
6025
|
+
getShortFieldDisplayLabel(fieldName: string): string;
|
|
6026
|
+
formatSelectedFieldLabel(selection: unknown): string;
|
|
6027
|
+
private resolveFieldDisplayLabel;
|
|
5261
6028
|
getFieldTypeIcon(fieldType: string): string;
|
|
5262
6029
|
testFormula(): void;
|
|
5263
6030
|
formatTestResult(result: any): string;
|
|
@@ -5269,8 +6036,8 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
|
5269
6036
|
onValueInputBooleanChange(paramKey: string, change: MatCheckboxChange): void;
|
|
5270
6037
|
private updateParameterFromValueInput;
|
|
5271
6038
|
private initializeValueInputStates;
|
|
5272
|
-
static ɵfac:
|
|
5273
|
-
static ɵcmp:
|
|
6039
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VisualFormulaBuilderComponent, never>;
|
|
6040
|
+
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
6041
|
}
|
|
5275
6042
|
|
|
5276
6043
|
/** Metadata for PraxisTable component */
|
|
@@ -5711,6 +6478,62 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
5711
6478
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
5712
6479
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
5713
6480
|
|
|
6481
|
+
interface ResolvedCalculationStepViewModel {
|
|
6482
|
+
role: PraxisAnalyticalDrawerCalculationStepRole;
|
|
6483
|
+
label: string;
|
|
6484
|
+
operator: string;
|
|
6485
|
+
value: string;
|
|
6486
|
+
numericValue?: number;
|
|
6487
|
+
signedNumericValue?: number;
|
|
6488
|
+
hint?: string;
|
|
6489
|
+
legalBasis?: string;
|
|
6490
|
+
icon?: string;
|
|
6491
|
+
tone: string;
|
|
6492
|
+
}
|
|
6493
|
+
interface ResolvedCalculationWaterfallSegment {
|
|
6494
|
+
label: string;
|
|
6495
|
+
formattedValue: string;
|
|
6496
|
+
tone: string;
|
|
6497
|
+
percentWidth: number;
|
|
6498
|
+
}
|
|
6499
|
+
type CalculationBridgeStepKind = 'base' | 'addition' | 'deduction' | 'cap' | 'subtotal' | 'result';
|
|
6500
|
+
interface ResolvedCalculationBridgeStep {
|
|
6501
|
+
id: string;
|
|
6502
|
+
kind: CalculationBridgeStepKind;
|
|
6503
|
+
label: string;
|
|
6504
|
+
hint?: string;
|
|
6505
|
+
signChar: '+' | '-' | '=';
|
|
6506
|
+
icon: string;
|
|
6507
|
+
deltaText: string;
|
|
6508
|
+
runningText: string;
|
|
6509
|
+
startPercent: number;
|
|
6510
|
+
widthPercent: number;
|
|
6511
|
+
connectorPercent: number;
|
|
6512
|
+
ariaLabel: string;
|
|
6513
|
+
}
|
|
6514
|
+
type CalculationMemoryViewMode = 'both' | 'bridge' | 'pipeline';
|
|
6515
|
+
interface ResolvedCalculationTrailViewModel {
|
|
6516
|
+
id: string;
|
|
6517
|
+
title: string;
|
|
6518
|
+
subtitle?: string;
|
|
6519
|
+
icon: string;
|
|
6520
|
+
ruleCode?: string;
|
|
6521
|
+
formula?: string;
|
|
6522
|
+
steps: ResolvedCalculationStepViewModel[];
|
|
6523
|
+
waterfallSegments: ResolvedCalculationWaterfallSegment[];
|
|
6524
|
+
bridgeSteps: ResolvedCalculationBridgeStep[];
|
|
6525
|
+
bridgeZeroPercent: number;
|
|
6526
|
+
legalBasis?: string;
|
|
6527
|
+
legalPurpose?: string;
|
|
6528
|
+
}
|
|
6529
|
+
interface ResolvedCalculationMemorySectionViewModel {
|
|
6530
|
+
title?: string;
|
|
6531
|
+
subtitle?: string;
|
|
6532
|
+
icon: string;
|
|
6533
|
+
legalBasis?: string;
|
|
6534
|
+
emptyText?: string;
|
|
6535
|
+
trails: ResolvedCalculationTrailViewModel[];
|
|
6536
|
+
}
|
|
5714
6537
|
declare function isAnalyticalDrawerSchema(schema: unknown): schema is PraxisAnalyticalDrawerSchema;
|
|
5715
6538
|
declare function interpolateRelationEndpoint(endpoint: string, row: Record<string, unknown> | null | undefined): {
|
|
5716
6539
|
url: string;
|
|
@@ -5720,63 +6543,165 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
5720
6543
|
private _isOpen;
|
|
5721
6544
|
private previousActiveElement;
|
|
5722
6545
|
handleDocumentEscape(event?: Event): void;
|
|
6546
|
+
handleDocumentSteppingKeydown(event: KeyboardEvent): void;
|
|
5723
6547
|
set isOpen(value: boolean);
|
|
5724
6548
|
get isOpen(): boolean;
|
|
5725
6549
|
private _resourcePath?;
|
|
6550
|
+
private readonly resourcePathSignal;
|
|
5726
6551
|
set resourcePath(value: string | undefined);
|
|
5727
6552
|
get resourcePath(): string | undefined;
|
|
5728
|
-
surfaceName: string;
|
|
5729
6553
|
private _drawerConfig;
|
|
5730
6554
|
set drawerConfig(value: TableDrawerConfig | null);
|
|
5731
6555
|
get drawerConfig(): TableDrawerConfig | null;
|
|
5732
6556
|
private _row;
|
|
5733
6557
|
set row(value: any | null);
|
|
5734
6558
|
get row(): any | null;
|
|
5735
|
-
|
|
6559
|
+
private _relations;
|
|
6560
|
+
set relations(value: Record<string, unknown>);
|
|
6561
|
+
get relations(): Record<string, unknown>;
|
|
6562
|
+
private _rows;
|
|
6563
|
+
set rows(value: readonly any[] | null | undefined);
|
|
6564
|
+
get rows(): readonly any[];
|
|
5736
6565
|
loadingRelations: boolean;
|
|
6566
|
+
surfacesHref?: string | null;
|
|
5737
6567
|
closeDrawer: EventEmitter<void>;
|
|
5738
6568
|
tabChange: EventEmitter<string>;
|
|
5739
6569
|
relationFetch: EventEmitter<{
|
|
5740
6570
|
key: string;
|
|
5741
6571
|
endpoint: string;
|
|
5742
6572
|
}>;
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
6573
|
+
rowChange: EventEmitter<any>;
|
|
6574
|
+
ruleClick: EventEmitter<{
|
|
6575
|
+
ruleCode: string;
|
|
6576
|
+
trailId: string;
|
|
6577
|
+
title: string;
|
|
6578
|
+
legalBasis?: string;
|
|
6579
|
+
}>;
|
|
6580
|
+
protected readonly drawerConfigSignal: _angular_core.WritableSignal<TableDrawerConfig | null>;
|
|
6581
|
+
protected readonly rowSignal: _angular_core.WritableSignal<any>;
|
|
6582
|
+
protected readonly rowsSignal: _angular_core.WritableSignal<readonly any[]>;
|
|
6583
|
+
protected readonly relationsSignal: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
6584
|
+
protected readonly activeTabId: _angular_core.WritableSignal<string>;
|
|
6585
|
+
protected readonly customRelations: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
6586
|
+
protected readonly isFetchingRelations: _angular_core.WritableSignal<boolean>;
|
|
6587
|
+
protected readonly resolvedRemoteConfig: _angular_core.WritableSignal<TableDrawerConfig | null>;
|
|
6588
|
+
protected readonly resolvedFieldLineage: _angular_core.WritableSignal<Record<string, {
|
|
6589
|
+
attributeId?: string;
|
|
6590
|
+
sourceResourceKey?: string;
|
|
6591
|
+
sourcePaths?: string[];
|
|
6592
|
+
transformation?: string;
|
|
6593
|
+
}>>;
|
|
6594
|
+
protected readonly resolvedSchemaFields: _angular_core.WritableSignal<FieldDefinition[]>;
|
|
6595
|
+
protected readonly resolvedResourceIdentity: _angular_core.WritableSignal<ResourceIdentityContract | null>;
|
|
6596
|
+
protected readonly resolvedResourceTitle: _angular_core.WritableSignal<string>;
|
|
6597
|
+
protected readonly resolvedResourceIcon: _angular_core.WritableSignal<string>;
|
|
6598
|
+
protected readonly resolvedSurfaces: _angular_core.WritableSignal<ResourceSurfaceCatalogItem[]>;
|
|
6599
|
+
protected readonly resolvedSurfaceChildrenState: _angular_core.WritableSignal<Record<string, {
|
|
6600
|
+
loading: boolean;
|
|
6601
|
+
error: boolean;
|
|
6602
|
+
rows: Record<string, unknown>[];
|
|
6603
|
+
}>>;
|
|
6604
|
+
protected readonly isResolvingSchema: _angular_core.WritableSignal<boolean>;
|
|
6605
|
+
protected readonly heroIdentity: _angular_core.Signal<MaterializedResourceIdentity | null>;
|
|
6606
|
+
protected readonly resolvedHeroMetadata: _angular_core.Signal<{
|
|
6607
|
+
field: string;
|
|
6608
|
+
label: string;
|
|
6609
|
+
value: string;
|
|
6610
|
+
}[]>;
|
|
5748
6611
|
private readonly evaluator;
|
|
5749
6612
|
private readonly http;
|
|
6613
|
+
private readonly injector;
|
|
5750
6614
|
private readonly drawerRegistry;
|
|
6615
|
+
private readonly schemaNormalizer;
|
|
5751
6616
|
private readonly apiUrl;
|
|
6617
|
+
private readonly runtimeContext;
|
|
5752
6618
|
private readonly sanitizer;
|
|
5753
6619
|
private readonly formattingService;
|
|
6620
|
+
private readonly hostRef;
|
|
6621
|
+
private readonly microTooltipOverlay;
|
|
6622
|
+
private readonly decisionInspector;
|
|
6623
|
+
private readonly assistantLaunch;
|
|
6624
|
+
private readonly i18n;
|
|
6625
|
+
private readonly angularLocale;
|
|
6626
|
+
readonly calcMemoryViewModes: _angular_core.WritableSignal<Record<string, CalculationMemoryViewMode>>;
|
|
6627
|
+
protected readonly canAskAssistant: _angular_core.Signal<boolean>;
|
|
6628
|
+
protected readonly askDrawerAssistantLabel: _angular_core.Signal<string>;
|
|
6629
|
+
protected readonly askCalculationAssistantLabel: _angular_core.Signal<string>;
|
|
5754
6630
|
private relationSubs;
|
|
5755
6631
|
private schemaSub?;
|
|
5756
|
-
private
|
|
5757
|
-
private
|
|
6632
|
+
private surfaceDiscoverySub?;
|
|
6633
|
+
private surfaceDataSubs;
|
|
6634
|
+
private contextSub?;
|
|
6635
|
+
private lastSurfacesKey;
|
|
6636
|
+
private lastEndpointResourceKey;
|
|
6637
|
+
private lastEndpointSurfacesHref;
|
|
6638
|
+
private lastSchemaHasExplicitLayout;
|
|
6639
|
+
private static readonly relationCaches;
|
|
6640
|
+
private readonly relationCache;
|
|
6641
|
+
private relationEpoch;
|
|
6642
|
+
constructor();
|
|
5758
6643
|
private lastFetchedKey;
|
|
5759
6644
|
private lastResolvingKey;
|
|
6645
|
+
private schemaResolutionEpoch;
|
|
6646
|
+
private destroyed;
|
|
5760
6647
|
static clearCache(): void;
|
|
6648
|
+
private getContextScopePrefix;
|
|
5761
6649
|
private resolveUrl;
|
|
5762
6650
|
ngOnInit(): void;
|
|
5763
6651
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5764
6652
|
ngOnDestroy(): void;
|
|
6653
|
+
protected onMicroVizPointerOver(event: Event): void;
|
|
6654
|
+
protected onMicroVizPointerOut(event: Event): void;
|
|
6655
|
+
protected onMicroVizFocusIn(event: Event): void;
|
|
6656
|
+
protected onMicroVizFocusOut(event: Event): void;
|
|
6657
|
+
private dismissOwnedMicroTooltip;
|
|
5765
6658
|
getEffectiveDrawerConfig(): TableDrawerConfig | null;
|
|
5766
6659
|
private mergeTabs;
|
|
5767
6660
|
private resolveRemoteDrawerMetadata;
|
|
6661
|
+
private shouldHydrateRemoteCalculationMemory;
|
|
6662
|
+
private hasCalculationMemoryConfigured;
|
|
6663
|
+
private mergeRemoteCalculationMemory;
|
|
5768
6664
|
protected onClose(): void;
|
|
5769
6665
|
protected onBackdropClick(event: MouseEvent): void;
|
|
6666
|
+
protected readonly totalRowsCount: _angular_core.Signal<number>;
|
|
6667
|
+
protected readonly currentRowIndex: _angular_core.Signal<number>;
|
|
6668
|
+
protected readonly canStepPrevious: _angular_core.Signal<boolean>;
|
|
6669
|
+
protected readonly canStepNext: _angular_core.Signal<boolean>;
|
|
6670
|
+
protected stepToPreviousRow(): void;
|
|
6671
|
+
protected stepToNextRow(): void;
|
|
6672
|
+
protected onRuleBadgeClick(trail: ResolvedCalculationTrailViewModel): void;
|
|
6673
|
+
protected onAskAssistant(): void;
|
|
6674
|
+
protected onAskCalculationMemory(section: ResolvedCalculationMemorySectionViewModel): void;
|
|
5770
6675
|
protected selectTab(tabId: string): void;
|
|
5771
6676
|
private getAnalyticalSchema;
|
|
5772
|
-
protected resolvedTabs:
|
|
6677
|
+
protected resolvedTabs: _angular_core.Signal<PraxisAnalyticalDrawerTab[]>;
|
|
5773
6678
|
private generateAutoOverviewProperties;
|
|
5774
6679
|
private formatPropertyLabel;
|
|
5775
|
-
protected resolvedTitle:
|
|
5776
|
-
protected resolvedSubtitle:
|
|
5777
|
-
protected resolvedClassificationPill:
|
|
5778
|
-
protected resolvedWidth:
|
|
6680
|
+
protected resolvedTitle: _angular_core.Signal<string>;
|
|
6681
|
+
protected resolvedSubtitle: _angular_core.Signal<string>;
|
|
6682
|
+
protected resolvedClassificationPill: _angular_core.Signal<string>;
|
|
6683
|
+
protected resolvedWidth: _angular_core.Signal<string>;
|
|
5779
6684
|
protected getDrawerIcon(): string;
|
|
6685
|
+
protected isAvatarImageUrl(value: unknown): boolean;
|
|
6686
|
+
protected resolveAvatarInitials(value: unknown): string;
|
|
6687
|
+
protected isLazySurfaceContent(content: unknown): boolean;
|
|
6688
|
+
protected asLazySurfaceConfig(content: unknown): ResourceSurfaceCatalogItem;
|
|
6689
|
+
protected getLazySurfaceState(surfaceId: string): {
|
|
6690
|
+
loading: boolean;
|
|
6691
|
+
error: boolean;
|
|
6692
|
+
rows: Record<string, unknown>[];
|
|
6693
|
+
};
|
|
6694
|
+
protected extractSurfaceRowEntries(row: Record<string, unknown>): Array<{
|
|
6695
|
+
key: string;
|
|
6696
|
+
label: string;
|
|
6697
|
+
value: string;
|
|
6698
|
+
}>;
|
|
6699
|
+
private resetLazySurfaceState;
|
|
6700
|
+
private resolveEffectiveSurfacesHref;
|
|
6701
|
+
private triggerLazySurfacesDiscoveryIfNeeded;
|
|
6702
|
+
protected loadLazySurfaceTabData(surface: ResourceSurfaceCatalogItem, force?: boolean): void;
|
|
6703
|
+
private synthesizeZeroConfigDrawerSchema;
|
|
6704
|
+
private inferDrawerMetricFormat;
|
|
5780
6705
|
protected getEvaluationContext(): Record<string, unknown>;
|
|
5781
6706
|
protected isCardGridContent(content: unknown): boolean;
|
|
5782
6707
|
protected asCardGrid(content: unknown): {
|
|
@@ -5789,14 +6714,40 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
5789
6714
|
protected isPropertyGrid(content: unknown): boolean;
|
|
5790
6715
|
protected asPropertyGrid(content: unknown): any[];
|
|
5791
6716
|
protected isArray(val: unknown): boolean;
|
|
6717
|
+
protected isCalculationMemoryContent(content: unknown): boolean;
|
|
6718
|
+
protected hasRootCalculationMemory(): boolean;
|
|
6719
|
+
protected resolveRootCalculationMemorySection(): ResolvedCalculationMemorySectionViewModel | null;
|
|
6720
|
+
protected resolveCalculationMemorySection(raw: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[] | unknown): ResolvedCalculationMemorySectionViewModel | null;
|
|
6721
|
+
private isCalculationTrailVisible;
|
|
6722
|
+
private resolveCalculationTrail;
|
|
6723
|
+
getCalculationViewMode(trailId: string): CalculationMemoryViewMode;
|
|
6724
|
+
setCalculationViewMode(trailId: string, mode: CalculationMemoryViewMode): void;
|
|
6725
|
+
resolveTableText(key: string, fallback: string, params?: PraxisTranslationParams): string;
|
|
6726
|
+
private resolveDrawerLocale;
|
|
6727
|
+
private resolveTrailBridgeSteps;
|
|
6728
|
+
private formatBridgeNumberLike;
|
|
6729
|
+
private resolveTrailWaterfallSegments;
|
|
6730
|
+
private resolveCalculationSteps;
|
|
6731
|
+
private evaluateCalculationValueWithNumeric;
|
|
6732
|
+
private evaluateAndFormatCalculationValue;
|
|
6733
|
+
private parsePrecisionDigits;
|
|
6734
|
+
private evalRawExpression;
|
|
6735
|
+
private evalStringText;
|
|
5792
6736
|
protected evaluateAndFormatMetric(item: any): string;
|
|
5793
6737
|
protected evaluatePropertyValue(item: any): string;
|
|
6738
|
+
protected getItemLineage(item: any): {
|
|
6739
|
+
label: string;
|
|
6740
|
+
tooltip: string;
|
|
6741
|
+
} | null;
|
|
6742
|
+
private readonly microVizSafeHtmlCache;
|
|
5794
6743
|
protected renderMicroViz(viz: PraxisPresentationVisualizationConfig | undefined, item: any): SafeHtml;
|
|
5795
6744
|
private syncActiveTab;
|
|
5796
6745
|
private fetchConfiguredRelations;
|
|
6746
|
+
private invalidateRelations;
|
|
5797
6747
|
private cancelRelationRequests;
|
|
5798
|
-
|
|
5799
|
-
static
|
|
6748
|
+
private postCanonicalFilterRelation;
|
|
6749
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
|
|
6750
|
+
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; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; "rowChange": "rowChange"; "ruleClick": "ruleClick"; }, never, never, true, never>;
|
|
5800
6751
|
}
|
|
5801
6752
|
|
|
5802
6753
|
type AnalyticalDrawerSchemaOrConfig = PraxisAnalyticalDrawerSchema | TableDrawerConfig;
|
|
@@ -5815,8 +6766,8 @@ declare class AnalyticalDrawerRegistryService {
|
|
|
5815
6766
|
has(resourcePath: string): boolean;
|
|
5816
6767
|
clear(): void;
|
|
5817
6768
|
normalizeKey(path: string | undefined | null): string;
|
|
5818
|
-
static ɵfac:
|
|
5819
|
-
static ɵprov:
|
|
6769
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticalDrawerRegistryService, never>;
|
|
6770
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticalDrawerRegistryService>;
|
|
5820
6771
|
}
|
|
5821
6772
|
|
|
5822
6773
|
interface ComputedFieldsEvaluationOptions {
|
|
@@ -5840,5 +6791,33 @@ declare function formatComputedFieldValue(value: unknown, format?: string, type?
|
|
|
5840
6791
|
*/
|
|
5841
6792
|
declare function applyComputedFieldsToRows<T extends Record<string, any> = Record<string, any>>(rows: T[], computedFieldsConfig?: PraxisComputedFieldsConfig | null, options?: ComputedFieldsEvaluationOptions): T[];
|
|
5842
6793
|
|
|
5843
|
-
|
|
5844
|
-
|
|
6794
|
+
/** Raw compact schema authorship only; native normalization remains an editor/runtime projection. */
|
|
6795
|
+
declare function decodeTablePageInputs(value: unknown): {
|
|
6796
|
+
document: TableAuthoringDocument | null;
|
|
6797
|
+
diagnostics: EditorDiagnostic[];
|
|
6798
|
+
};
|
|
6799
|
+
/** Core prefixes these widget-relative JSON Pointers; this callback never resolves a source/latest. */
|
|
6800
|
+
declare function validateTablePageWidget(widget: WidgetInstance): readonly {
|
|
6801
|
+
code: string;
|
|
6802
|
+
path: string;
|
|
6803
|
+
}[];
|
|
6804
|
+
declare function encodeTablePageInputs(value: unknown): {
|
|
6805
|
+
inputs: Record<string, unknown> | null;
|
|
6806
|
+
diagnostics: EditorDiagnostic[];
|
|
6807
|
+
};
|
|
6808
|
+
/** No-change values in a materialized native editor cannot author defaults or erase absent keys. */
|
|
6809
|
+
declare function projectTablePageEditorChanges(authoredInputs: unknown, editorBaseline: unknown, editorValue: unknown): {
|
|
6810
|
+
inputs: Record<string, unknown> | null;
|
|
6811
|
+
diagnostics: EditorDiagnostic[];
|
|
6812
|
+
};
|
|
6813
|
+
/** Derive execution-only identity and disable independent preferences. Never persist this projection. */
|
|
6814
|
+
declare function materializeTablePageRuntimeInputs(value: unknown, pageId: string, widgetKey: string, options?: {
|
|
6815
|
+
preview?: boolean;
|
|
6816
|
+
}): {
|
|
6817
|
+
inputs: Record<string, unknown> | null;
|
|
6818
|
+
diagnostics: EditorDiagnostic[];
|
|
6819
|
+
};
|
|
6820
|
+
declare const TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER: GovernedPagePreviewWidgetAdapter;
|
|
6821
|
+
|
|
6822
|
+
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 };
|
|
6823
|
+
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 };
|