@praxisui/table 10.0.0-rc.6 → 10.0.0-rc.61
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 +136 -10
- package/ai/component-registry.json +3842 -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 +859 -52
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DANYIQs6.mjs → praxisui-table-filter-form-dialog-host.component-DfOXx5lp.mjs} +61 -11
- package/fesm2022/{praxisui-table-praxisui-table-BIRFv2S8.mjs → praxisui-table-praxisui-table-PvwtPvhN.mjs} +20021 -2297
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DtOwXgFW.mjs → praxisui-table-table-agentic-authoring-turn-flow-DgbfJI3k.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-25xtoiWq.mjs → praxisui-table-table-ai.adapter-DWR_lxPJ.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 +1119 -121
|
@@ -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,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1362
1455
|
private route?;
|
|
1363
1456
|
private logger?;
|
|
1364
1457
|
private analyticsStatsApi?;
|
|
1458
|
+
private readonly destroyRef;
|
|
1459
|
+
private readonly microTooltipOverlay;
|
|
1460
|
+
private readonly microTooltipHostRef;
|
|
1461
|
+
private readonly microTooltipCleanup;
|
|
1365
1462
|
activeRowOverflowMenuTrigger?: MatMenuTrigger;
|
|
1366
1463
|
private activeRowOverflowMenuTriggerElement?;
|
|
1464
|
+
private activeRowOverflowMenuRow?;
|
|
1465
|
+
private activeRowOverflowMenuSignature?;
|
|
1466
|
+
private reattachingRowOverflowMenuTrigger?;
|
|
1367
1467
|
private openingRowActions;
|
|
1368
1468
|
private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
|
|
1369
1469
|
private static readonly AI_SELECTION_ROW_LIMIT;
|
|
@@ -1374,6 +1474,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1374
1474
|
private static readonly ROW_DISCOVERY_REQUEST_TIMEOUT_MS;
|
|
1375
1475
|
private static readonly ROW_DISCOVERY_CACHE_LIMIT;
|
|
1376
1476
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1477
|
+
private static readonly MAX_STABILIZED_PAGE_ROWS;
|
|
1478
|
+
private static readonly SKELETON_ROW_INDICES;
|
|
1377
1479
|
private _resourceDiscovery?;
|
|
1378
1480
|
private _resourceActionOpenAdapter?;
|
|
1379
1481
|
private _resourceSurfaceOpenAdapter?;
|
|
@@ -1381,23 +1483,39 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1381
1483
|
private readonly runtimeObservationRegistry;
|
|
1382
1484
|
private readonly detailInlineRenderers;
|
|
1383
1485
|
private readonly drawerRegistry;
|
|
1486
|
+
private readonly quickViewService;
|
|
1384
1487
|
private collectionLinks;
|
|
1488
|
+
getCollectionSurfacesHref(): string | null;
|
|
1385
1489
|
private collectionCapabilities;
|
|
1386
1490
|
private collectionCapabilitiesRequestHref;
|
|
1387
1491
|
private collectionCapabilitiesResolvedHref;
|
|
1388
1492
|
private collectionCapabilitiesRequestSeq;
|
|
1493
|
+
bulkSyncHandle: TableBulkSyncHandle | null;
|
|
1494
|
+
private readonly bulkClient;
|
|
1495
|
+
private readonly bulkSessions;
|
|
1389
1496
|
private readonly detailInlineNodeResolvers;
|
|
1390
1497
|
private readonly detailResourceResolver;
|
|
1391
1498
|
private runtimeObservationRegistration;
|
|
1392
1499
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1393
1500
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
1394
1501
|
private static readonly ROW_ANIMATION_PRESET_ALIASES;
|
|
1502
|
+
static ngAcceptInputType_config: TableConfigInput;
|
|
1395
1503
|
config: TableConfig;
|
|
1504
|
+
private hostInputConfig?;
|
|
1505
|
+
private baselineHostInputConfig?;
|
|
1506
|
+
private lastSelfEmittedConfigRef?;
|
|
1507
|
+
private lastSelfEmittedConfigJson?;
|
|
1508
|
+
private lastAppliedRuntimeConfig?;
|
|
1509
|
+
private persistedUserConfig?;
|
|
1396
1510
|
resourcePath: string;
|
|
1511
|
+
/** Read-only collection operation materialized from backend discovery. */
|
|
1512
|
+
collectionSurface: ResourceSurfaceCatalogItem | null;
|
|
1397
1513
|
data: any[] | null;
|
|
1398
1514
|
tableId: string;
|
|
1399
1515
|
componentInstanceId?: string;
|
|
1400
|
-
|
|
1516
|
+
private _configPersistenceStrategy;
|
|
1517
|
+
set configPersistenceStrategy(value: TableConfigPersistenceStrategy | 'storage-first');
|
|
1518
|
+
get configPersistenceStrategy(): TableConfigPersistenceStrategy;
|
|
1401
1519
|
title: string;
|
|
1402
1520
|
subtitle: string;
|
|
1403
1521
|
icon: string;
|
|
@@ -1407,12 +1525,28 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1407
1525
|
autoOpenSettingsOnOutdated: boolean;
|
|
1408
1526
|
crudContext: any;
|
|
1409
1527
|
filterCriteria: Record<string, any>;
|
|
1410
|
-
|
|
1528
|
+
readonly filterCriteriaChange: EventEmitter<Record<string, any>>;
|
|
1529
|
+
readonly discoveredQuickFiltersChange: EventEmitter<NormalizedPraxisResourceQuickFilter[]>;
|
|
1530
|
+
readonly discoveredResourceFactsChange: EventEmitter<DomainCatalogResourceFactMetadata[]>;
|
|
1531
|
+
readonly discoveredInlineFilterFieldsChange: EventEmitter<string[]>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Quando `true`, um host (ex.: `praxis-crud` com scope-bar ou `praxis-resource-page`) é o dono do
|
|
1534
|
+
* escopo padrão (`isDefault`) dos filtros rápidos descobertos e o propaga via `[filterCriteria]`.
|
|
1535
|
+
* A tabela então apenas emite `discoveredQuickFiltersChange` sem aplicar o padrão internamente.
|
|
1536
|
+
*/
|
|
1537
|
+
hostOwnsDefaultQuickFilter: boolean;
|
|
1538
|
+
private _filterTeleport;
|
|
1539
|
+
set filterTeleport(value: boolean);
|
|
1540
|
+
get filterTeleport(): boolean;
|
|
1411
1541
|
widgetId?: string;
|
|
1412
|
-
|
|
1542
|
+
readonly filterTemplateSignal: _angular_core.WritableSignal<TemplateRef<unknown> | undefined>;
|
|
1543
|
+
private _filterBarTemplate?;
|
|
1544
|
+
set filterBarTemplate(tpl: TemplateRef<unknown> | undefined);
|
|
1545
|
+
get filterBarTemplate(): TemplateRef<unknown> | undefined;
|
|
1413
1546
|
get filterTemplate(): TemplateRef<unknown> | undefined;
|
|
1414
1547
|
private readonly widgetEventBus;
|
|
1415
1548
|
queryContext: PraxisDataQueryContextBridge | null;
|
|
1549
|
+
lockedFilterFields: readonly string[] | null | undefined;
|
|
1416
1550
|
readonly queryContextClear: EventEmitter<PraxisTableQueryContextClearEvent>;
|
|
1417
1551
|
readonly queryContextChange: EventEmitter<PraxisDataQueryContextBridge | null>;
|
|
1418
1552
|
activeCrossFilters: PraxisTableCrossFilterItem[];
|
|
@@ -1423,6 +1557,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1423
1557
|
activeQuickFilterId: string | null;
|
|
1424
1558
|
private quickFilterBaseCriteria;
|
|
1425
1559
|
private activeQuickFilterCriteria;
|
|
1560
|
+
private hasCompletedInitialDataLoad;
|
|
1561
|
+
private discoveredQuickFiltersSnapshot;
|
|
1426
1562
|
advancedFilterRuntimeVisibleFields: string[];
|
|
1427
1563
|
private advancedFilterAlwaysVisibleCacheKey;
|
|
1428
1564
|
private advancedFilterAlwaysVisibleCache?;
|
|
@@ -1466,6 +1602,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1466
1602
|
sort: MatSort;
|
|
1467
1603
|
materialTable?: MatTable<any>;
|
|
1468
1604
|
virtualScrollViewport?: CdkVirtualScrollViewport;
|
|
1605
|
+
dataSurface?: ElementRef<HTMLElement>;
|
|
1469
1606
|
scrollViewport?: ElementRef<HTMLElement>;
|
|
1470
1607
|
internalFilter?: PraxisFilter;
|
|
1471
1608
|
toolbar: PraxisTableToolbar;
|
|
@@ -1475,6 +1612,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1475
1612
|
selection: SelectionModel<any>;
|
|
1476
1613
|
dataSubject: BehaviorSubject<any[]>;
|
|
1477
1614
|
subscriptions: Subscription[];
|
|
1615
|
+
private surfaceOutcomeOwnerDestroyed;
|
|
1478
1616
|
showToolbar: boolean;
|
|
1479
1617
|
hasInitialized: boolean;
|
|
1480
1618
|
pageIndex: number;
|
|
@@ -1504,6 +1642,27 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1504
1642
|
private columnReorderUndoSubscription;
|
|
1505
1643
|
private columnRuntimeMutationOperationCounter;
|
|
1506
1644
|
private latestColumnRuntimeMutationOperationId;
|
|
1645
|
+
private persistenceContextEpoch;
|
|
1646
|
+
private schemaPrefsContextEpoch;
|
|
1647
|
+
private persistenceContextDestroyed;
|
|
1648
|
+
private committedHasActiveEmptyStateFilters?;
|
|
1649
|
+
private unfilteredBaselineTotal;
|
|
1650
|
+
private maxObservedPageRowCount;
|
|
1651
|
+
private measuredHeaderHeightPx;
|
|
1652
|
+
private measuredDataRowHeightPx;
|
|
1653
|
+
private measuredScrollbarHeightPx;
|
|
1654
|
+
private fullPageIntrinsicHeightByKey?;
|
|
1655
|
+
private inFlightSurfaceMinHeightPx;
|
|
1656
|
+
private dataSurfaceHeightFrameId;
|
|
1657
|
+
private hostDeclaredLoadingCopy;
|
|
1658
|
+
private hostDeclaredSkeletonRows;
|
|
1659
|
+
private measuredHeaderOffsetPx;
|
|
1660
|
+
private lastAppliedGeometrySignature;
|
|
1661
|
+
private pendingPostViewGeometrySync;
|
|
1662
|
+
private observedDataSurfaceEl;
|
|
1663
|
+
private observedScrollViewportEl;
|
|
1664
|
+
/** Fence delayed work; requests already sent are not retroactively canceled. */
|
|
1665
|
+
private persistenceGuard;
|
|
1507
1666
|
private columnRuntimePersistenceInFlight;
|
|
1508
1667
|
private columnRuntimePersistencePending;
|
|
1509
1668
|
private columnResizeTransientWidths;
|
|
@@ -1524,6 +1683,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1524
1683
|
private localFilterFieldMetadataCacheKey;
|
|
1525
1684
|
private remoteSchemaLoadSequence;
|
|
1526
1685
|
private enterpriseContextIdentity;
|
|
1686
|
+
private enterpriseContextReady;
|
|
1527
1687
|
private staleEnterpriseLocalData;
|
|
1528
1688
|
private remoteDataLoadSequence;
|
|
1529
1689
|
private analyticsLoadSequence;
|
|
@@ -1542,7 +1702,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1542
1702
|
private expansionDetailAbortByRowKey;
|
|
1543
1703
|
private expansionDetailActiveTabByRowKey;
|
|
1544
1704
|
private detailRequests?;
|
|
1545
|
-
readonly bottomDetailCollapsed:
|
|
1705
|
+
readonly bottomDetailCollapsed: _angular_core.WritableSignal<boolean>;
|
|
1546
1706
|
private bottomDetailKey;
|
|
1547
1707
|
private getDetailRequests;
|
|
1548
1708
|
private rowCapabilitySnapshotByHref;
|
|
@@ -1559,8 +1719,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1559
1719
|
private rowContextRuntimeByRef;
|
|
1560
1720
|
private rowDiscoveryQueue;
|
|
1561
1721
|
private rowDiscoveryActiveRequests;
|
|
1722
|
+
private rowDiscoveryActivePrefetchRequests;
|
|
1562
1723
|
private rowDiscoveryEpoch;
|
|
1563
1724
|
private rowDiscoveryMarkForCheckScheduled;
|
|
1725
|
+
private pendingRowDiscoveryRefresh?;
|
|
1726
|
+
private pendingMarkForCheckRows;
|
|
1564
1727
|
private lastRowDiscoveryScopeKey;
|
|
1565
1728
|
private readonly i18n;
|
|
1566
1729
|
private readonly sanitizer;
|
|
@@ -1570,6 +1733,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1570
1733
|
private schemaFieldsSnapshot;
|
|
1571
1734
|
private schemaColumnFieldsSnapshot;
|
|
1572
1735
|
private filterSchemaFieldsSnapshot;
|
|
1736
|
+
private lastEmittedDiscoveredInlineFilterFieldsKey;
|
|
1573
1737
|
private runtimeSchemaMeta;
|
|
1574
1738
|
schemaError: boolean;
|
|
1575
1739
|
dataError: boolean;
|
|
@@ -1577,6 +1741,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1577
1741
|
idField: string;
|
|
1578
1742
|
horizontalScroll: 'auto' | 'wrap' | 'none';
|
|
1579
1743
|
private horizontalScrollOverrideSource;
|
|
1744
|
+
private hostHorizontalScrollInput?;
|
|
1580
1745
|
getToolbarPosition(): 'top' | 'bottom' | 'both';
|
|
1581
1746
|
shouldShowToolbarTopPlacement(): boolean;
|
|
1582
1747
|
shouldShowToolbarBottomPlacement(): boolean;
|
|
@@ -1608,6 +1773,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1608
1773
|
protected isActionsStickyStartBoundary(): boolean;
|
|
1609
1774
|
protected isActionsStickyEndBoundary(): boolean;
|
|
1610
1775
|
getColumnTextAlignStyle(column: ColumnDefinition): string | null;
|
|
1776
|
+
isTabularColumn(column: ColumnDefinition): boolean;
|
|
1611
1777
|
getColumnWidthStyle(column: ColumnDefinition): string | null;
|
|
1612
1778
|
getColumnResizeTableWidthStyle(): string | null;
|
|
1613
1779
|
getColumnHeaderAttrStyle(column: ColumnDefinition): string | null;
|
|
@@ -1653,16 +1819,45 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1653
1819
|
shouldRenderDataSurface(): boolean;
|
|
1654
1820
|
shouldShowEmptyState(): boolean;
|
|
1655
1821
|
shouldShowNoDataState(): boolean;
|
|
1822
|
+
/**
|
|
1823
|
+
* Indica se a superfície de estado vazio filtrado/sem registros deve permanecer montada.
|
|
1824
|
+
*
|
|
1825
|
+
* Após a carga inicial concluída, mantém o cartão de estado vazio sob o overlay durante
|
|
1826
|
+
* recargas subsequentes de 0 registros para evitar colapso vertical do viewport da tabela.
|
|
1827
|
+
*/
|
|
1828
|
+
shouldRenderNoDataSurface(): boolean;
|
|
1656
1829
|
shouldShowLoadingSurface(): boolean;
|
|
1657
1830
|
shouldShowRefreshingState(): boolean;
|
|
1831
|
+
/**
|
|
1832
|
+
* Determina se o indicador de carregamento substitui o corpo da tabela.
|
|
1833
|
+
*
|
|
1834
|
+
* Ativo apenas antes da primeira carga concluída quando não há linhas visíveis;
|
|
1835
|
+
* recargas seguintes usam overlay para preservar a estabilidade geométrica.
|
|
1836
|
+
*/
|
|
1658
1837
|
shouldReplaceDataWithLoading(): boolean;
|
|
1838
|
+
/**
|
|
1839
|
+
* Indica se o feedback de carregamento deve ser renderizado como overlay
|
|
1840
|
+
* sobre a superfície de dados já montada (linhas ou estado vazio pós-carga inicial).
|
|
1841
|
+
*/
|
|
1842
|
+
shouldOverlayLoadingSurface(): boolean;
|
|
1843
|
+
/**
|
|
1844
|
+
* Renderiza linhas estruturais de skeleton apenas na carga fria substitutiva (`replace`),
|
|
1845
|
+
* evitando sobrepor barras falsas sobre registros reais ou empty state durante recargas.
|
|
1846
|
+
*/
|
|
1847
|
+
shouldRenderLoadingSkeletonRows(): boolean;
|
|
1659
1848
|
getLoadingIndicatorType(): 'spinner' | 'skeleton' | 'progress';
|
|
1660
1849
|
getLoadingIndicatorPosition(): 'overlay' | 'inline' | 'replace';
|
|
1661
1850
|
getLoadingSurfaceMessage(): string;
|
|
1662
1851
|
getLoadingSkeletonRows(): number[];
|
|
1663
1852
|
isLoadingSkeletonAnimated(): boolean;
|
|
1853
|
+
isLoadingMotionEnabled(): boolean;
|
|
1854
|
+
shouldRenderLoadingImmediately(): boolean;
|
|
1855
|
+
getSetupEmptyStateTitle(): string;
|
|
1856
|
+
getSetupEmptyStateDescription(): string;
|
|
1857
|
+
getSetupEmptyStatePrimaryAction(): EmptyAction | undefined;
|
|
1664
1858
|
getNoDataStateTitle(): string;
|
|
1665
1859
|
getNoDataStateDescription(): string | undefined;
|
|
1860
|
+
getNoDataStateAnnouncement(): string;
|
|
1666
1861
|
getTableSettingsLabel(): string;
|
|
1667
1862
|
getScrollViewportAriaLabel(): string;
|
|
1668
1863
|
getTableAriaLabel(): string;
|
|
@@ -1694,11 +1889,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1694
1889
|
getNoDataStateIconContainer(): 'none' | 'circle' | 'soft';
|
|
1695
1890
|
getNoDataStatePrimaryAction(): any | null;
|
|
1696
1891
|
getNoDataStateSecondaryActions(): any[];
|
|
1892
|
+
private isAdvancedFiltersEffectivelyEnabled;
|
|
1893
|
+
private hasExplicitAdvancedFiltersDisable;
|
|
1894
|
+
private hasDiscoveredCollectionFilterCapability;
|
|
1697
1895
|
shouldRenderAdvancedFilter(): boolean;
|
|
1698
1896
|
getAdvancedFilterResourcePath(): string;
|
|
1699
1897
|
getAdvancedFilterPersistenceKey(): string;
|
|
1700
1898
|
getAdvancedFilterFormId(): string;
|
|
1701
1899
|
getAdvancedFilterOpenMode(): 'modal' | 'drawer';
|
|
1900
|
+
shouldShowAdvancedFilterAddButton(): boolean;
|
|
1901
|
+
shouldShowAdvancedFilterSettings(): boolean;
|
|
1702
1902
|
getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
|
|
1703
1903
|
getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
|
|
1704
1904
|
getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
|
|
@@ -1719,6 +1919,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1719
1919
|
private hostDeclaredAppearanceDensity;
|
|
1720
1920
|
private hostDeclaredAppearanceSpacing;
|
|
1721
1921
|
private hostDeclaredAppearanceTypography;
|
|
1922
|
+
private densityOverrodeAppearance;
|
|
1722
1923
|
resolveAppearanceDensity(): 'compact' | 'comfortable' | 'spacious';
|
|
1723
1924
|
get hostDensityCompactClass(): boolean;
|
|
1724
1925
|
get hostDensityComfortableClass(): boolean;
|
|
@@ -1798,7 +1999,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1798
1999
|
private syncLocalPageSizeFromConfig;
|
|
1799
2000
|
private recomputeLocalView;
|
|
1800
2001
|
private resolveLocalSortField;
|
|
2002
|
+
private resolveColumnSemanticSourceField;
|
|
1801
2003
|
private setSchemaFieldsSnapshot;
|
|
2004
|
+
private getSchemaInlineFilterFields;
|
|
2005
|
+
private emitDiscoveredInlineFilterFieldsIfChanged;
|
|
1802
2006
|
private setFilterSchemaFieldsSnapshot;
|
|
1803
2007
|
private inferFilterSchemaSourceFields;
|
|
1804
2008
|
private resolveFilterSchemaRelatedColumns;
|
|
@@ -1811,15 +2015,23 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1811
2015
|
private storageKey;
|
|
1812
2016
|
private isVolatileConfigPersistence;
|
|
1813
2017
|
private tableConfigKey;
|
|
2018
|
+
private hasRuntimeTableConfigPersistence;
|
|
1814
2019
|
private filterConfigKey;
|
|
1815
2020
|
private ensureConfigDefaults;
|
|
2021
|
+
private recomposeEffectiveTableConfig;
|
|
1816
2022
|
private hasDeclaredAppearanceDensity;
|
|
1817
2023
|
private hasDeclaredAppearanceSection;
|
|
2024
|
+
private hasDeclaredLoadingCopy;
|
|
2025
|
+
private hasDeclaredLoadingSkeletonRows;
|
|
1818
2026
|
private shouldApplyAppearanceDefaultValue;
|
|
1819
2027
|
private mergePersistedTableConfigWithInput;
|
|
2028
|
+
private reconcileTableConfigInputChange;
|
|
1820
2029
|
private reconcileHostDeclaredTableContract;
|
|
2030
|
+
private refreshSchemaColumnsFromSnapshot;
|
|
1821
2031
|
private reconcileHostDeclaredColumns;
|
|
1822
2032
|
private reconcileHostDeclaredRowActions;
|
|
2033
|
+
private reconcileHostDeclaredBulkActions;
|
|
2034
|
+
private reconcileHostDeclaredFiltering;
|
|
1823
2035
|
private reconcileHostDeclaredExport;
|
|
1824
2036
|
private normalizePersistedExportFormats;
|
|
1825
2037
|
private normalizePersistedRowActionIds;
|
|
@@ -1830,9 +2042,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1830
2042
|
private shouldExposeToolbar;
|
|
1831
2043
|
private resolveCollectionDiscoveryOptions;
|
|
1832
2044
|
private updateCollectionLinks;
|
|
2045
|
+
private syncDiscoveredCollectionFilterToolbarState;
|
|
1833
2046
|
private resolveCollectionCapabilitiesHref;
|
|
1834
2047
|
private materializeCollectionCreateToolbarAction;
|
|
1835
2048
|
private materializeCollectionWorkflowToolbarActions;
|
|
2049
|
+
private materializeCollectionBulkSyncToolbarAction;
|
|
2050
|
+
private hasBulkSyncSelection;
|
|
2051
|
+
private tryHandleBulkSyncToolbarAction;
|
|
2052
|
+
private isBulkSyncPending;
|
|
2053
|
+
canShowBulkSyncHandle(): boolean;
|
|
2054
|
+
closeBulkSync(): void;
|
|
2055
|
+
private bulkSyncOperationalIdentity;
|
|
1836
2056
|
private isCollectionActionDiscoveryEnabled;
|
|
1837
2057
|
private ensureToolbarConfigForRuntime;
|
|
1838
2058
|
private buildCollectionCreateToolbarAction;
|
|
@@ -1916,6 +2136,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1916
2136
|
private refreshAiAssistantContextAfterSelectionChange;
|
|
1917
2137
|
private hasAiAssistantSessionState;
|
|
1918
2138
|
private resolveAiAssistantSessionId;
|
|
2139
|
+
protected aiAssistantShellOwnerKey(): string;
|
|
2140
|
+
protected onAiAssistantShellPromptChange(prompt: string, owner: string): void;
|
|
1919
2141
|
private resolveAiAssistantOwnerId;
|
|
1920
2142
|
private runtimeSurfaceInstanceRef;
|
|
1921
2143
|
private safeRuntimeSurfaceRefSegment;
|
|
@@ -1931,9 +2153,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1931
2153
|
private hasActiveOperationalLoad;
|
|
1932
2154
|
private getRenderedRowCount;
|
|
1933
2155
|
private hasActiveDataFilters;
|
|
2156
|
+
private computeLiveHasActiveEmptyStateFilters;
|
|
1934
2157
|
private hasActiveEmptyStateFilters;
|
|
2158
|
+
getEffectiveLockedFilterFields(): string[];
|
|
1935
2159
|
private hasMeaningfulFilterCriteria;
|
|
1936
2160
|
private hasMeaningfulFilterValue;
|
|
2161
|
+
isStructuralQueryContextField(field: string): boolean;
|
|
1937
2162
|
computeActiveCrossFilters(): PraxisTableCrossFilterItem[];
|
|
1938
2163
|
onClearCrossFilter(item: PraxisTableCrossFilterItem): void;
|
|
1939
2164
|
onClearAllCrossFilters(): void;
|
|
@@ -2014,6 +2239,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2014
2239
|
toggleBottomDetail(): void;
|
|
2015
2240
|
private resetDetailRuntimeForConfig;
|
|
2016
2241
|
retryBottomDetail(): void;
|
|
2242
|
+
canRetryBottomDetail(bottom?: {
|
|
2243
|
+
status?: string;
|
|
2244
|
+
} | null): boolean;
|
|
2245
|
+
canRetryExpansionDetail(state?: {
|
|
2246
|
+
status?: string;
|
|
2247
|
+
} | null): boolean;
|
|
2248
|
+
retryRowExpansionDetail(row: any, index: number, event?: Event): void;
|
|
2017
2249
|
private restoreBottomDetailFocus;
|
|
2018
2250
|
getExpansionDetailItems(schema: Record<string, unknown> | null): any[];
|
|
2019
2251
|
private hasExpansionDetailRenderableSchema;
|
|
@@ -2049,6 +2281,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2049
2281
|
private resolveExpansionDetailTimelineExpressionValue;
|
|
2050
2282
|
private getExpansionDetailTimelineObjectValue;
|
|
2051
2283
|
private normalizeExpansionDetailCardGridCardContent;
|
|
2284
|
+
/** `visibleWhen` is canonical Json Logic (object or boolean); string DSL is not a valid rule. */
|
|
2285
|
+
private normalizeExpansionDetailVisibleWhen;
|
|
2286
|
+
/**
|
|
2287
|
+
* Visibility gate for every detail node, including host-mediated ones (cardGrid, list, detailList,
|
|
2288
|
+
* timeline) that are not rendered by PraxisRichContent. Mirrors `PraxisRichContent.evaluateRule`:
|
|
2289
|
+
* same context (`row`, `computed`, `detail`), truthiness of the Json Logic result, fail-closed on error.
|
|
2290
|
+
*/
|
|
2291
|
+
isExpansionDetailNodeVisible(node: any, row: any, index: number): boolean;
|
|
2292
|
+
private withExpansionDetailParentVisibleWhen;
|
|
2052
2293
|
private normalizeExpansionDetailMediaBlockAvatar;
|
|
2053
2294
|
private normalizeExpansionDetailMediaBlockText;
|
|
2054
2295
|
private normalizeExpansionDetailMediaBlockMeta;
|
|
@@ -2114,6 +2355,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2114
2355
|
private mapExpansionDetailNodeToRichContent;
|
|
2115
2356
|
private mapExpansionDetailMediaBlockNodeToRichContent;
|
|
2116
2357
|
private mapExpansionDetailCardNodeToRichContent;
|
|
2358
|
+
private expansionDetailVisibleWhenPatch;
|
|
2117
2359
|
private mapExpansionDetailStackNodeToRichContent;
|
|
2118
2360
|
private mapExpansionDetailValueNodeToRichContent;
|
|
2119
2361
|
private mapExpansionDetailTimelineNodeToRichContent;
|
|
@@ -2128,6 +2370,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2128
2370
|
private getExpansionConfig;
|
|
2129
2371
|
private getDetailConfig;
|
|
2130
2372
|
private ensureExpansionDetailPrepared;
|
|
2373
|
+
private resolveEffectiveExpansionSourceMode;
|
|
2131
2374
|
private resolveExpansionDetailSchemaForRow;
|
|
2132
2375
|
private resolveExpansionDetailByMode;
|
|
2133
2376
|
private resolveExpansionDetailInlineSchema;
|
|
@@ -2227,7 +2470,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2227
2470
|
private showActionFeedbackMessage;
|
|
2228
2471
|
private emitEventWithActionFeedback;
|
|
2229
2472
|
private executeConfiguredGlobalAction;
|
|
2473
|
+
private isWritableConfiguredSurfaceOpen;
|
|
2230
2474
|
private withTableRuntimeContext;
|
|
2475
|
+
private resolveTableSurfaceRuntime;
|
|
2231
2476
|
private executeSurfaceOpen;
|
|
2232
2477
|
private resolveConfiguredGlobalActionRef;
|
|
2233
2478
|
private resolveActionGlobalActionRef;
|
|
@@ -2253,6 +2498,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2253
2498
|
private unwrapCollectionWorkflowResult;
|
|
2254
2499
|
private showCollectionWorkflowContractError;
|
|
2255
2500
|
private tryHandleCollectionCreateToolbarAction;
|
|
2501
|
+
private bindDiscoveredSurfaceOutcome;
|
|
2502
|
+
private applySurfaceActionRefresh;
|
|
2256
2503
|
private resolveBulkExportFormat;
|
|
2257
2504
|
private isBulkExportActionKey;
|
|
2258
2505
|
private normalizeExportFormat;
|
|
@@ -2286,6 +2533,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2286
2533
|
private showExportFeedback;
|
|
2287
2534
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
2288
2535
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
2536
|
+
private isClearingAdvancedFilter;
|
|
2289
2537
|
onAdvancedFilterClear(): void;
|
|
2290
2538
|
clearAdvancedFilter(): void;
|
|
2291
2539
|
onQuickFilterChange(event: {
|
|
@@ -2293,14 +2541,50 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2293
2541
|
filter: Record<string, unknown>;
|
|
2294
2542
|
active: boolean;
|
|
2295
2543
|
}): void;
|
|
2544
|
+
getConfiguredQuickFilters(): Array<{
|
|
2545
|
+
id: string;
|
|
2546
|
+
label: string;
|
|
2547
|
+
filter: Record<string, unknown>;
|
|
2548
|
+
icon?: string;
|
|
2549
|
+
tone?: PraxisQuickFilterTone;
|
|
2550
|
+
isDefault?: boolean;
|
|
2551
|
+
description?: string;
|
|
2552
|
+
tooltip?: string;
|
|
2553
|
+
order?: number;
|
|
2554
|
+
}>;
|
|
2555
|
+
getQuickFilterManagedFields(): string[];
|
|
2556
|
+
private parseQuickFilterDefinition;
|
|
2557
|
+
getEffectiveEditableFilterCriteria(): Record<string, any>;
|
|
2558
|
+
private reconcileEditableQueryContextFilters;
|
|
2559
|
+
private syncQuickFilterStateFromEffectiveCriteria;
|
|
2296
2560
|
private clearQuickFilterRuntimeState;
|
|
2297
2561
|
private hasEquivalentFilterCriteria;
|
|
2562
|
+
private lastAppliedFilterCriteria;
|
|
2563
|
+
private hierarchySnapshot;
|
|
2564
|
+
private hierarchyTitleField;
|
|
2565
|
+
private hierarchyTenant;
|
|
2566
|
+
private clearHierarchySnapshot;
|
|
2567
|
+
getHierarchyCell(row: Record<string, unknown>, column: ColumnDefinition): {
|
|
2568
|
+
indent: number;
|
|
2569
|
+
children: number | null;
|
|
2570
|
+
leaf: boolean | null;
|
|
2571
|
+
focusPath: string | null;
|
|
2572
|
+
} | null;
|
|
2573
|
+
hierarchyText(key: 'focus' | 'root' | 'navigation' | 'children'): string;
|
|
2574
|
+
get focusedSubtree(): string | null;
|
|
2575
|
+
focusSubtree(path: string | null): void;
|
|
2576
|
+
private getSubtreeFilterField;
|
|
2298
2577
|
applyAdvancedFilterCriteria(criteria: Record<string, any> | null | undefined, reason?: string): void;
|
|
2299
2578
|
private setAdvancedFilterCriteria;
|
|
2300
2579
|
private syncAdvancedFilterValueFromCriteria;
|
|
2301
2580
|
private deriveRuntimeVisibleAdvancedFilterFields;
|
|
2302
2581
|
private isEmptyAdvancedFilterCriterionValue;
|
|
2303
2582
|
private mergeAdvancedFilterFieldIds;
|
|
2583
|
+
/**
|
|
2584
|
+
* Identifica os campos cujos critérios ativos coincidem integralmente com um QuickFilter
|
|
2585
|
+
* ou Scope Bar ativo, evitando sua promoção duplicada na linha de filtros inline.
|
|
2586
|
+
*/
|
|
2587
|
+
private getQuickFilterCoveredFields;
|
|
2304
2588
|
private getRuntimePromotedAdvancedFilterFields;
|
|
2305
2589
|
private toPlainRecord;
|
|
2306
2590
|
private saveConfigWithAck;
|
|
@@ -2319,7 +2603,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2319
2603
|
private buildTableEditorRuntimeContext;
|
|
2320
2604
|
private emitWidgetInputPatch;
|
|
2321
2605
|
private cloneInputPatch;
|
|
2606
|
+
/** @internal */
|
|
2607
|
+
emitPortableConfigChange(portableConfig?: TableConfig): void;
|
|
2608
|
+
private isSelfEmittedConfigInput;
|
|
2322
2609
|
private executeTableEditorApplyPlan;
|
|
2610
|
+
private normalizeResourcePathIdentity;
|
|
2611
|
+
private areColumnsDerivedFromPreviousResource;
|
|
2612
|
+
private stripResourceBoundTableConfigState;
|
|
2323
2613
|
private attachRuntimeMetadataToEditorConfig;
|
|
2324
2614
|
private syncInternalFilterSettings;
|
|
2325
2615
|
private resetPreferencesToDefaults;
|
|
@@ -2441,6 +2731,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2441
2731
|
* nunca pode ser substituído pelo consumidor.
|
|
2442
2732
|
*/
|
|
2443
2733
|
private projectSchemaColumns;
|
|
2734
|
+
private toTableEditorConfig;
|
|
2444
2735
|
/**
|
|
2445
2736
|
* Converte a configuração materializada usada pelo renderer de volta ao
|
|
2446
2737
|
* contrato compacto e persistível. O schema continua sendo a fonte
|
|
@@ -2452,6 +2743,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2452
2743
|
private toPortableColumnDefinition;
|
|
2453
2744
|
private arePortableValuesEqual;
|
|
2454
2745
|
private applySchemaFieldPresentationsToExistingColumns;
|
|
2746
|
+
private applySchemaComposeItemsQuickView;
|
|
2455
2747
|
private applySchemaFieldPresentation;
|
|
2456
2748
|
private applySchemaSemanticCellPresentation;
|
|
2457
2749
|
private resolveSemanticPresentationColor;
|
|
@@ -2480,6 +2772,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2480
2772
|
private buildRowDiscoveryScopeKey;
|
|
2481
2773
|
private resetRowContextRuntimeState;
|
|
2482
2774
|
private enqueueRowDiscoveryRequest;
|
|
2775
|
+
private promoteQueuedRowDiscoveryRequest;
|
|
2776
|
+
private prioritizeQueuedPrefetchRowDiscovery;
|
|
2777
|
+
private canDispatchNextRowDiscoveryTask;
|
|
2483
2778
|
private drainRowDiscoveryQueue;
|
|
2484
2779
|
private buildRowDiscoveryOptions;
|
|
2485
2780
|
private getRowLinks;
|
|
@@ -2511,6 +2806,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2511
2806
|
private resolveRowDiscoveryRuntimeStatus;
|
|
2512
2807
|
private resolveRowDiscoveryRuntimeStatusRaw;
|
|
2513
2808
|
private getRowContextRuntimeState;
|
|
2809
|
+
private scheduleExpiredRowDiscovery;
|
|
2514
2810
|
private buildRowContextRuntimeState;
|
|
2515
2811
|
private resolveRowContextRuntimeValidUntil;
|
|
2516
2812
|
private resolveRowDiscoveryRelValidUntil;
|
|
@@ -2547,6 +2843,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2547
2843
|
* 3. format (data formatting like dates, numbers, currency)
|
|
2548
2844
|
*/
|
|
2549
2845
|
getCellValue(rowData: any, column: ColumnDefinition): any;
|
|
2846
|
+
private shouldSuppressIntegerThousandsGrouping;
|
|
2550
2847
|
private applyImplicitRuntimeCellPresentation;
|
|
2551
2848
|
private shouldHumanizeRuntimeEnumCell;
|
|
2552
2849
|
private resolveCellFormattingType;
|
|
@@ -2640,6 +2937,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2640
2937
|
* Safely access nested properties using dot notation
|
|
2641
2938
|
*/
|
|
2642
2939
|
private getNestedPropertyValue;
|
|
2940
|
+
private hasNestedProperty;
|
|
2643
2941
|
/**
|
|
2644
2942
|
* Verifica se a ordenação está habilitada
|
|
2645
2943
|
*/
|
|
@@ -2678,6 +2976,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2678
2976
|
private isColumnFiltersSupported;
|
|
2679
2977
|
private isRowDraggingSupported;
|
|
2680
2978
|
private isRowExpansionSupported;
|
|
2979
|
+
private isSchemaExpansionModeActive;
|
|
2980
|
+
private getVisibleTableFieldNamesSet;
|
|
2981
|
+
private hasCompanionDenormalizedFieldInSchema;
|
|
2982
|
+
private isComplementarySchemaExpansionField;
|
|
2983
|
+
private isPopulatedExpansionRow;
|
|
2984
|
+
private hasNonEmptyExpansionFieldValue;
|
|
2985
|
+
private getComplementarySchemaExpansionFieldsForRow;
|
|
2986
|
+
private getLoadedTableRowsForExpansionCheck;
|
|
2987
|
+
private reconcileExpansionColumnsAfterDataChange;
|
|
2988
|
+
private hasComplementarySchemaExpansionFields;
|
|
2681
2989
|
private enforceAppearanceSchemaGuards;
|
|
2682
2990
|
private enforceUnsupportedFeatureGuards;
|
|
2683
2991
|
getToolbarEvaluationContext(): Record<string, any>;
|
|
@@ -2734,8 +3042,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2734
3042
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2735
3043
|
shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
|
|
2736
3044
|
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
|
|
3045
|
+
private readonly microVisualizationSafeHtmlCache;
|
|
3046
|
+
private readonly microVisualizationPageBoundsCache;
|
|
2737
3047
|
getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
|
|
3048
|
+
private createMicroVisualizationValueFormatter;
|
|
3049
|
+
onMicroTooltipPointerOver(event: Event): void;
|
|
3050
|
+
onMicroTooltipPointerOut(event: Event): void;
|
|
3051
|
+
onMicroTooltipFocusIn(event: Event): void;
|
|
3052
|
+
onMicroTooltipFocusOut(event: Event): void;
|
|
2738
3053
|
private resolveMicroVisualizationForRow;
|
|
3054
|
+
private resolvePageMicroVisualizationBounds;
|
|
2739
3055
|
private applyMicroVisualizationExpression;
|
|
2740
3056
|
private evaluateMicroVisualizationExpression;
|
|
2741
3057
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
@@ -2748,6 +3064,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2748
3064
|
private asComposeValueItemColumn;
|
|
2749
3065
|
asItemColumn(base: ColumnDefinition, item: any): any;
|
|
2750
3066
|
getItemEffectiveType(row: any, column: ColumnDefinition, item: any): any;
|
|
3067
|
+
private hasRowQuickViewSourceIdentity;
|
|
3068
|
+
getEffectiveQuickViewBinding(row: any, column: ColumnDefinition): ResourceQuickViewBinding | null;
|
|
3069
|
+
getComposeValueQuickViewBinding(row: any, column: ColumnDefinition, item: any): ResourceQuickViewBinding | null;
|
|
3070
|
+
getQuickViewEndpointKey(): ApiEndpoint | string | null;
|
|
3071
|
+
getRowActionQuickViewBinding(action: any): ResourceQuickViewBinding | null;
|
|
3072
|
+
getQuickViewTriggerAriaLabel(label: string | null | undefined, column?: ColumnDefinition): string;
|
|
2751
3073
|
private mergeRenderer;
|
|
2752
3074
|
private hasRenderableColumnOverride;
|
|
2753
3075
|
private resolveColumnRuleAnimationCandidate;
|
|
@@ -2854,7 +3176,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2854
3176
|
private emitMetadataChange;
|
|
2855
3177
|
private emitSchemaStatus;
|
|
2856
3178
|
getRowId(row: any): any;
|
|
3179
|
+
private preserveSelectionOnNextDataLoad;
|
|
2857
3180
|
private reconcileSelectionAfterDataChange;
|
|
3181
|
+
private areSelectedRowSnapshotsEquivalent;
|
|
3182
|
+
private serializeSelectedRowSnapshot;
|
|
2858
3183
|
private getComparableRowIdentity;
|
|
2859
3184
|
getIdField(): string;
|
|
2860
3185
|
private getSchemaIdFieldOverride;
|
|
@@ -2864,11 +3189,24 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2864
3189
|
private getEffectiveMetadataSnapshot;
|
|
2865
3190
|
getActionId(action: any): string;
|
|
2866
3191
|
private setupResizeObserver;
|
|
3192
|
+
private observeDynamicDataSurfaceElements;
|
|
2867
3193
|
private setupViewportChangeListeners;
|
|
2868
3194
|
private getVirtualizationSources;
|
|
2869
3195
|
isVirtualized(): boolean;
|
|
2870
3196
|
getVirtItemHeight(): number;
|
|
3197
|
+
private isCoarsePointer;
|
|
2871
3198
|
private getDefaultDensityRowHeight;
|
|
3199
|
+
private getDefaultDensityHeaderHeight;
|
|
3200
|
+
private getFullPageIntrinsicHeightMap;
|
|
3201
|
+
private resetDataSurfaceBaselineState;
|
|
3202
|
+
private captureInFlightDataSurfaceHeight;
|
|
3203
|
+
private commitResolvedDataSurfaceBaseline;
|
|
3204
|
+
/** Resolves the minimum row-slot baseline so filtered/partial pages stay vertically stable. */
|
|
3205
|
+
resolveDataSurfaceTargetBaselineRows(): number;
|
|
3206
|
+
private measureIntrinsicTableGeometry;
|
|
3207
|
+
private computeDataSurfaceMinHeightPx;
|
|
3208
|
+
private syncDataSurfaceMinHeightCssVariable;
|
|
3209
|
+
private scheduleDataSurfaceMinHeightSync;
|
|
2872
3210
|
getVirtBufferSize(): number;
|
|
2873
3211
|
getVirtMinHeightStyle(): string;
|
|
2874
3212
|
getVirtMinHeightHostStyle(): string | null;
|
|
@@ -2886,10 +3224,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2886
3224
|
masterToggle(): void;
|
|
2887
3225
|
isAllSelected(): boolean;
|
|
2888
3226
|
toggleRow(row: any): void;
|
|
3227
|
+
onSingleSelectionClick(event: Event, row: any): void;
|
|
2889
3228
|
onSingleSelectionChanged(row: any): void;
|
|
2890
3229
|
getRowSelectionAriaLabel(row: any, index?: number): string;
|
|
2891
3230
|
getMasterSelectionAriaLabel(): string;
|
|
2892
3231
|
private selectRowFromUserInteraction;
|
|
3232
|
+
clearSelection(emitEvent?: boolean): void;
|
|
2893
3233
|
private emitSelectionChange;
|
|
2894
3234
|
private publishSelectionStatus;
|
|
2895
3235
|
private getAccessibleRowLabel;
|
|
@@ -2926,11 +3266,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2926
3266
|
private estimateInlineActionsLimit;
|
|
2927
3267
|
private parsePixelWidth;
|
|
2928
3268
|
private getViewportWidth;
|
|
2929
|
-
private splitVisibleRowActions;
|
|
2930
3269
|
getInlineRowActions(row: any): any[];
|
|
2931
3270
|
getOverflowRowActions(row: any): any[];
|
|
2932
3271
|
hasOverflowRowActions(row: any): boolean;
|
|
3272
|
+
onRowOverflowMenuTriggerHover(row: any): void;
|
|
2933
3273
|
onRowOverflowMenuOpened(row: any): void;
|
|
3274
|
+
onRowOverflowMenuClosed(trigger?: MatMenuTrigger): void;
|
|
3275
|
+
private buildRowOverflowMenuSignature;
|
|
3276
|
+
private getCanonicalCrudActionOrderIndex;
|
|
2934
3277
|
private prepareRowDiscoveryRetry;
|
|
2935
3278
|
private getVisibleRowActions;
|
|
2936
3279
|
private getResolvedRowActions;
|
|
@@ -2944,6 +3287,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2944
3287
|
private getDiscoveredRowCrudActionsFromSnapshot;
|
|
2945
3288
|
private buildDiscoveredRowCrudAction;
|
|
2946
3289
|
private getDiscoveredRowSurfaceActionsFromSnapshot;
|
|
3290
|
+
private resolveBaselineCrudActionForRowSurface;
|
|
2947
3291
|
private getDiscoveredRowWorkflowActionsFromCatalog;
|
|
2948
3292
|
private getDiscoveredRowWorkflowActionsFromItems;
|
|
2949
3293
|
private resolveRowCrudCapabilityOperation;
|
|
@@ -2983,8 +3327,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2983
3327
|
getRowMenuIcon(): string;
|
|
2984
3328
|
private scheduleRowDiscoveryMarkForCheck;
|
|
2985
3329
|
ngOnDestroy(): void;
|
|
2986
|
-
static ɵfac:
|
|
2987
|
-
static ɵcmp:
|
|
3330
|
+
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; }]>;
|
|
3331
|
+
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>;
|
|
3332
|
+
static ngAcceptInputType_hostOwnsDefaultQuickFilter: unknown;
|
|
2988
3333
|
static ngAcceptInputType_filterTeleport: unknown;
|
|
2989
3334
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
2990
3335
|
}
|
|
@@ -3094,8 +3439,8 @@ declare class JsonConfigEditorComponent implements OnChanges, OnDestroy {
|
|
|
3094
3439
|
hasChanges(): boolean;
|
|
3095
3440
|
private validateJson;
|
|
3096
3441
|
private updateValidationState;
|
|
3097
|
-
static ɵfac:
|
|
3098
|
-
static ɵcmp:
|
|
3442
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JsonConfigEditorComponent, never>;
|
|
3443
|
+
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
3444
|
}
|
|
3100
3445
|
|
|
3101
3446
|
type FormulaType = 'none' | 'concatenation' | 'arithmetic' | 'nested_property' | 'conditional_mapping' | 'default_value';
|
|
@@ -3185,10 +3530,11 @@ interface RendererFieldOption {
|
|
|
3185
3530
|
isVisible: boolean;
|
|
3186
3531
|
isHidden?: boolean;
|
|
3187
3532
|
}
|
|
3188
|
-
type ComposePresetId = 'personAvatar' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
3533
|
+
type ComposePresetId = 'personAvatar' | 'roleDepartment' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
3189
3534
|
declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
3190
3535
|
private cdr;
|
|
3191
3536
|
private readonly i18n;
|
|
3537
|
+
private readonly jsonLogic;
|
|
3192
3538
|
tx(key: string, fallback: string): string;
|
|
3193
3539
|
readonly ratingAriaLabelPlaceholder: string;
|
|
3194
3540
|
readonly ratingRendererHint: string;
|
|
@@ -3199,8 +3545,16 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3199
3545
|
name?: string;
|
|
3200
3546
|
label?: string;
|
|
3201
3547
|
type?: string;
|
|
3548
|
+
numericFormat?: string;
|
|
3202
3549
|
tableHidden?: boolean;
|
|
3203
3550
|
hidden?: boolean;
|
|
3551
|
+
options?: Array<{
|
|
3552
|
+
value?: any;
|
|
3553
|
+
key?: any;
|
|
3554
|
+
label?: string;
|
|
3555
|
+
text?: string;
|
|
3556
|
+
}>;
|
|
3557
|
+
enumValues?: Array<string | number>;
|
|
3204
3558
|
xUi?: Record<string, any>;
|
|
3205
3559
|
ui?: Record<string, any>;
|
|
3206
3560
|
}>;
|
|
@@ -3231,7 +3585,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3231
3585
|
condOverridesSelectedIndex: number;
|
|
3232
3586
|
getConditionalOverrides(): any[];
|
|
3233
3587
|
ensureConditionalOverrides(): any[];
|
|
3588
|
+
getColumnActiveRendererIcon(column: ColumnDefinition | null | undefined): string | null;
|
|
3589
|
+
getColumnActiveRendererTooltip(column: ColumnDefinition | null | undefined): string;
|
|
3590
|
+
getFieldDomainOptions(fieldName: string | undefined): Array<{
|
|
3591
|
+
value: string | number | boolean;
|
|
3592
|
+
label: string;
|
|
3593
|
+
}>;
|
|
3594
|
+
getSelectedColumnDomainOptions(): Array<{
|
|
3595
|
+
value: string | number | boolean;
|
|
3596
|
+
label: string;
|
|
3597
|
+
}>;
|
|
3598
|
+
getFilteredOverrideConditionValueOptions(condition: any): Array<{
|
|
3599
|
+
value: string;
|
|
3600
|
+
label: string;
|
|
3601
|
+
}>;
|
|
3234
3602
|
addConditionalOverride(): void;
|
|
3603
|
+
generateDomainConditionalBadges(): void;
|
|
3235
3604
|
removeConditionalOverride(index: number): void;
|
|
3236
3605
|
duplicateConditionalOverride(index: number): void;
|
|
3237
3606
|
onConditionalOverrideReorder(event: any): void;
|
|
@@ -3240,6 +3609,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3240
3609
|
getJsonLogicSummary(value: JsonLogicExpression | null | undefined): string;
|
|
3241
3610
|
private parseJsonLogicText;
|
|
3242
3611
|
setConditionalOverrideCondition(index: number, raw: string): void;
|
|
3612
|
+
readonly overrideConditionOperators: readonly ["===", "==", "!==", "!=", ">", ">=", "<", "<=", "truthy", "falsy"];
|
|
3613
|
+
private normalizeConditionFieldName;
|
|
3614
|
+
getOverrideConditionField(condition: any): string;
|
|
3615
|
+
getOverrideConditionOperator(condition: any): string;
|
|
3616
|
+
getOverrideConditionValue(condition: any): string;
|
|
3617
|
+
setOverrideGuidedCondition(index: number, patch: {
|
|
3618
|
+
field?: string;
|
|
3619
|
+
operator?: string;
|
|
3620
|
+
value?: string;
|
|
3621
|
+
}): void;
|
|
3622
|
+
private extractGuidedJsonLogicCondition;
|
|
3623
|
+
private coerceGuidedScalar;
|
|
3243
3624
|
getOverrideField(path: string): any;
|
|
3244
3625
|
setOverrideField(path: string, value: any): void;
|
|
3245
3626
|
setOverrideJsonLogicField(path: string, raw: string): void;
|
|
@@ -3248,13 +3629,19 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3248
3629
|
item: any;
|
|
3249
3630
|
index: number;
|
|
3250
3631
|
}>;
|
|
3632
|
+
addOverrideComposeItem(type: 'value' | 'badge' | 'icon' | 'chip' | 'progress' | 'avatar' | 'link' | 'button' | 'rating' | 'html'): void;
|
|
3251
3633
|
addOverrideComposeValueItem(): void;
|
|
3634
|
+
moveOverrideComposeItem(index: number, delta: -1 | 1): void;
|
|
3635
|
+
duplicateOverrideComposeItem(index: number): void;
|
|
3636
|
+
removeOverrideComposeItem(index: number): void;
|
|
3637
|
+
setOverrideComposeItemProp(index: number, path: string, value: any): void;
|
|
3252
3638
|
setOverrideComposeValueItemField(index: number, field: string): void;
|
|
3253
3639
|
setOverrideComposeValueItemEmphasis(index: number, emphasis: string): void;
|
|
3254
3640
|
getOverrideComposeLayoutProp(key: string): any;
|
|
3255
3641
|
setOverrideComposeLayoutProp(key: string, value: any): void;
|
|
3256
3642
|
onOverrideTypeChange(ov: any, val: string): void;
|
|
3257
3643
|
getOverrideMicroVisualizationProp(path: string): any;
|
|
3644
|
+
private ensureOverrideMicroVisualizationObject;
|
|
3258
3645
|
setOverrideMicroVisualizationProp(path: string, value: any): void;
|
|
3259
3646
|
getOverrideMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3260
3647
|
getOverrideMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
@@ -3264,15 +3651,30 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3264
3651
|
isOverrideMicroVisualizationSegmentsKind(): boolean;
|
|
3265
3652
|
isOverrideMicroVisualizationItemsKind(): boolean;
|
|
3266
3653
|
isOverrideMicroVisualizationTotalKind(): boolean;
|
|
3654
|
+
isOverrideMicroVisualizationTargetKind(): boolean;
|
|
3655
|
+
isOverrideMicroVisualizationBaselineKind(): boolean;
|
|
3656
|
+
isOverrideMicroVisualizationSuffixKind(): boolean;
|
|
3657
|
+
isOverrideMicroVisualizationScaleBoundsKind(): boolean;
|
|
3658
|
+
isOverrideMicroVisualizationScaleScopeKind(): boolean;
|
|
3659
|
+
isOverrideMicroVisualizationThresholdsSupported(): boolean;
|
|
3660
|
+
getOverrideMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3661
|
+
addOverrideMicroVisualizationThreshold(): void;
|
|
3662
|
+
applyDefaultOverrideMicroVisualizationThresholds(): void;
|
|
3663
|
+
setOverrideMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
|
|
3664
|
+
setOverrideMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
|
|
3665
|
+
moveOverrideMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3666
|
+
removeOverrideMicroVisualizationThreshold(index: number): void;
|
|
3267
3667
|
getOverrideMicroVisualizationGuidanceText(): string;
|
|
3268
3668
|
exportOverrideJson(index: number): void;
|
|
3269
3669
|
importOverrideJson(index: number): void;
|
|
3270
3670
|
rendererValidationErrors: string[];
|
|
3671
|
+
get validationErrors(): string[];
|
|
3271
3672
|
rendererImportWarnings: string[];
|
|
3272
3673
|
rendererIsValid: boolean;
|
|
3273
3674
|
rendererPreviewEnabled: boolean;
|
|
3274
3675
|
private rendererAppliedSnapshot;
|
|
3275
3676
|
previewRows: any[];
|
|
3677
|
+
microVisualizationSampleValuesText: string;
|
|
3276
3678
|
private refreshRendererFieldOptions;
|
|
3277
3679
|
getRendererFieldOptions(): RendererFieldOption[];
|
|
3278
3680
|
formatRendererFieldOption(option: RendererFieldOption): string;
|
|
@@ -3305,11 +3707,14 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3305
3707
|
isExistingColumn(column: ColumnDefinition): boolean;
|
|
3306
3708
|
isCalculatedColumn(column: ColumnDefinition): boolean;
|
|
3307
3709
|
hasValueGetterError(column: ColumnDefinition): boolean;
|
|
3710
|
+
private hydrateApiColumnFlags;
|
|
3308
3711
|
private generateAvailableDataSchema;
|
|
3309
3712
|
/**
|
|
3310
3713
|
* Map ColumnDataType to FieldSchema type
|
|
3311
3714
|
*/
|
|
3312
3715
|
private mapColumnTypeToFieldType;
|
|
3716
|
+
private _cachedFormulaKey;
|
|
3717
|
+
private _cachedFormulaRef;
|
|
3313
3718
|
getColumnFormula(column: ColumnDefinition | null): FormulaDefinition | undefined;
|
|
3314
3719
|
onFormulaChange(formula: FormulaDefinition): void;
|
|
3315
3720
|
onGeneratedExpressionChange(expression: string): void;
|
|
@@ -3367,7 +3772,23 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3367
3772
|
setRendererJsonLogicProp(kind: string, path: string, raw: string): void;
|
|
3368
3773
|
setRendererProp(kind: string, path: string, value: any): void;
|
|
3369
3774
|
private createDefaultMicroVisualization;
|
|
3775
|
+
private ensureMicroVisualizationObject;
|
|
3370
3776
|
setMicroVisualizationProp(path: string, value: any): void;
|
|
3777
|
+
isMicroVisualizationThresholdsSupported(): boolean;
|
|
3778
|
+
getMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3779
|
+
addMicroVisualizationThreshold(): void;
|
|
3780
|
+
applyDefaultMicroVisualizationThresholds(): void;
|
|
3781
|
+
setMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
|
|
3782
|
+
setMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
|
|
3783
|
+
moveMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3784
|
+
removeMicroVisualizationThreshold(index: number): void;
|
|
3785
|
+
setMicroVisualizationSampleValuesText(raw: string): void;
|
|
3786
|
+
private readonly sanitizer;
|
|
3787
|
+
private readonly microVisualizationPreviewSafeHtmlCache;
|
|
3788
|
+
private memoizeMicroVisualizationSafeHtml;
|
|
3789
|
+
getMicroVisualizationSampleValues(): number[];
|
|
3790
|
+
getPreviewMicroVisualizationSafeHtmlForValue(sampleValue: number): SafeHtml;
|
|
3791
|
+
getPreviewMicroVisualizationHtmlForValue(sampleValue: number): string;
|
|
3371
3792
|
private _deepClone;
|
|
3372
3793
|
hasSelectedRenderer(): boolean;
|
|
3373
3794
|
onApplyRenderer(): void;
|
|
@@ -3387,6 +3808,12 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3387
3808
|
private stripRowPrefixes;
|
|
3388
3809
|
private _coerceExpected;
|
|
3389
3810
|
private getNested;
|
|
3811
|
+
private buildPreviewEvaluationContext;
|
|
3812
|
+
evaluatePreviewOverrideCondition(condition: any, row: any): boolean;
|
|
3813
|
+
private mergePreviewRenderer;
|
|
3814
|
+
private hasRenderablePreviewOverride;
|
|
3815
|
+
getEffectivePreviewRenderer(row: any): any;
|
|
3816
|
+
getPreviewSampleRows(): any[];
|
|
3390
3817
|
getPreviewRendererType(row: any): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'microVisualization' | 'rating' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | null;
|
|
3391
3818
|
getPreviewIconName(row: any): string | null;
|
|
3392
3819
|
getPreviewIconColor(row: any): string | null;
|
|
@@ -3398,16 +3825,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3398
3825
|
getPreviewImageShape(): 'square' | 'rounded' | 'circle' | undefined;
|
|
3399
3826
|
getPreviewImageFit(): 'cover' | 'contain' | undefined;
|
|
3400
3827
|
getPreviewBadgeText(row: any): string | null;
|
|
3401
|
-
getPreviewBadgeIcon(
|
|
3402
|
-
getPreviewBadgeClasses(
|
|
3828
|
+
getPreviewBadgeIcon(row: any): string | null;
|
|
3829
|
+
getPreviewBadgeClasses(row: any): string[];
|
|
3830
|
+
private buildBadgeClassesFromConfig;
|
|
3403
3831
|
getPreviewLinkText(row: any): string;
|
|
3404
3832
|
getPreviewLinkHref(row: any): string | null;
|
|
3405
3833
|
getPreviewButtonLabel(row: any): string;
|
|
3406
|
-
getPreviewButtonIcon(): string | null;
|
|
3834
|
+
getPreviewButtonIcon(row?: any): string | null;
|
|
3407
3835
|
getPreviewChipText(row: any): string | null;
|
|
3408
|
-
|
|
3836
|
+
getPreviewChipIcon(row?: any): string | null;
|
|
3837
|
+
getPreviewChipClasses(row?: any): string[];
|
|
3838
|
+
getComposePreviewButtonLabel(item: any, row: any): string;
|
|
3409
3839
|
getPreviewProgressValue(row: any): number;
|
|
3840
|
+
getPreviewMicroVisualizationSafeHtml(row: any): SafeHtml;
|
|
3410
3841
|
getPreviewMicroVisualizationHtml(row: any): string;
|
|
3842
|
+
private createPreviewMicroVisualizationValueFormatter;
|
|
3843
|
+
private resolvePreviewMicroVisualizationConfig;
|
|
3411
3844
|
getMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
3412
3845
|
getMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3413
3846
|
isMicroVisualizationValueKind(): boolean;
|
|
@@ -3415,6 +3848,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3415
3848
|
isMicroVisualizationSegmentsKind(): boolean;
|
|
3416
3849
|
isMicroVisualizationItemsKind(): boolean;
|
|
3417
3850
|
isMicroVisualizationTotalKind(): boolean;
|
|
3851
|
+
isMicroVisualizationTargetKind(): boolean;
|
|
3852
|
+
isMicroVisualizationBaselineKind(): boolean;
|
|
3853
|
+
isMicroVisualizationSuffixKind(): boolean;
|
|
3854
|
+
isMicroVisualizationScaleBoundsKind(): boolean;
|
|
3855
|
+
isMicroVisualizationScaleScopeKind(): boolean;
|
|
3418
3856
|
getMicroVisualizationGuidanceText(): string;
|
|
3419
3857
|
getMicroVisualizationConstraint(): PraxisTableCellVisualizationConstraint;
|
|
3420
3858
|
getPreviewRatingValue(row: any): number;
|
|
@@ -3423,7 +3861,36 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3423
3861
|
getPreviewRatingOutlineColor(): string | undefined;
|
|
3424
3862
|
getPreviewRatingSize(): 'small' | 'medium' | 'large';
|
|
3425
3863
|
getPreviewRatingAriaLabel(): string | undefined;
|
|
3426
|
-
getComposePreviewItems(
|
|
3864
|
+
getComposePreviewItems(row: any): any[];
|
|
3865
|
+
isComposePreviewMedia(row: any): boolean;
|
|
3866
|
+
getComposePreviewContainerStyle(row: any): Record<string, string>;
|
|
3867
|
+
getComposePreviewValueText(item: any, row: any): string;
|
|
3868
|
+
getComposePreviewValueClasses(item: any): string[];
|
|
3869
|
+
getComposePreviewBadgeText(item: any, row: any): string;
|
|
3870
|
+
getComposePreviewBadgeClasses(item: any): string[];
|
|
3871
|
+
getComposePreviewChipText(item: any, row: any): string;
|
|
3872
|
+
getComposePreviewChipClasses(item: any): string[];
|
|
3873
|
+
getComposePreviewLinkText(item: any, row: any): string;
|
|
3874
|
+
getComposePreviewLinkHref(item: any, row: any): string | null;
|
|
3875
|
+
getComposePreviewIconName(item: any, row: any): string | null;
|
|
3876
|
+
getComposePreviewIconColor(item: any, _row: any): string | null;
|
|
3877
|
+
getComposePreviewIconStyle(item: any, _row: any): Record<string, string> | null;
|
|
3878
|
+
getComposePreviewAvatarStyle(item: any): Record<string, string>;
|
|
3879
|
+
getComposePreviewAvatarInitials(item: any, row: any): string;
|
|
3880
|
+
getComposePreviewAvatarSrc(item: any, row: any): string | null;
|
|
3881
|
+
getComposePreviewAvatarAlt(item: any, row: any): string;
|
|
3882
|
+
getComposePreviewImageSrc(item: any, row: any): string | null;
|
|
3883
|
+
getComposePreviewImageAlt(item: any, row: any): string;
|
|
3884
|
+
getComposePreviewImageStyle(item: any): Record<string, string>;
|
|
3885
|
+
getComposePreviewProgressColor(item: any): string | null;
|
|
3886
|
+
getComposePreviewHtml(item: any, row: any): string;
|
|
3887
|
+
getComposePreviewToggleState(item: any, row: any): boolean;
|
|
3888
|
+
getComposePreviewMenuCount(item: any, row: any): number;
|
|
3889
|
+
private isValidPreviewMediaUrl;
|
|
3890
|
+
private resolvePreviewSafeSrc;
|
|
3891
|
+
/** Mirrors PraxisTable.getSafeHtml token interpolation: `[[field]]` values are HTML-escaped. */
|
|
3892
|
+
private interpolatePreviewHtml;
|
|
3893
|
+
getComposePreviewProgressValue(item: any, row: any): number;
|
|
3427
3894
|
getComposePreviewRatingValue(item: any, row: any): number;
|
|
3428
3895
|
getComposePreviewRatingMax(item: any): number;
|
|
3429
3896
|
getComposePreviewRatingColor(item: any): string | undefined;
|
|
@@ -3439,7 +3906,10 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3439
3906
|
getPreviewToggleState(row: any): boolean;
|
|
3440
3907
|
getPreviewMenuCount(row: any): number;
|
|
3441
3908
|
getPreviewHtml(row: any): string;
|
|
3442
|
-
|
|
3909
|
+
getPreviewProgressColor(row: any): string | null;
|
|
3910
|
+
/** Preview rows are re-cloned on every read; the sample slot index is their stable identity. */
|
|
3911
|
+
trackByIdx: (index: number, _item: unknown) => number;
|
|
3912
|
+
private validateMicroVisualizationThresholds;
|
|
3443
3913
|
private validateRenderer;
|
|
3444
3914
|
private readonly _emptyMappingRef;
|
|
3445
3915
|
composeSelectedIndex: number;
|
|
@@ -3457,10 +3927,13 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3457
3927
|
onComposeReorder(event: any): void;
|
|
3458
3928
|
selectComposeItem(index: number): void;
|
|
3459
3929
|
getComposeLayoutProp(key: string): any;
|
|
3930
|
+
hasComposeMediaLeadingItem(): boolean;
|
|
3460
3931
|
setComposeLayoutProp(key: string, value: any): void;
|
|
3461
3932
|
getSelectedComposeItem(): any;
|
|
3462
3933
|
getSelectedComposeItemProp(path: string): any;
|
|
3463
3934
|
setSelectedComposeItemProp(path: string, value: any): void;
|
|
3935
|
+
getConsolidatedSecondaryColumn(item: any): ExtendedColumnDefinition | null;
|
|
3936
|
+
hideConsolidatedColumn(field: string): void;
|
|
3464
3937
|
private findRendererFieldByCandidates;
|
|
3465
3938
|
private normalizeFieldLookup;
|
|
3466
3939
|
getColumnKeyInputType(column: ColumnDefinition | null): 'text' | 'number' | 'boolean';
|
|
@@ -3469,11 +3942,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3469
3942
|
}): void;
|
|
3470
3943
|
get selectedColumnDataType(): ColumnDataType$1;
|
|
3471
3944
|
set selectedColumnDataType(value: ColumnDataType$1);
|
|
3945
|
+
private findColumnFieldMetadata;
|
|
3946
|
+
private inferColumnDataTypeFromMetadata;
|
|
3472
3947
|
getColumnDataType(column: ColumnDefinition | null): ColumnDataType$1;
|
|
3473
3948
|
/**
|
|
3474
|
-
* Infer column data type from field name patterns (shared logic with PraxisTable)
|
|
3949
|
+
* Infer column data type from field name patterns (shared logic with PraxisTable, supporting pt-BR and en-US)
|
|
3475
3950
|
*/
|
|
3476
3951
|
private inferFieldTypeFromFieldName;
|
|
3952
|
+
inferRecommendedColumnAlignment(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): 'left' | 'center' | 'right';
|
|
3953
|
+
inferRecommendedColumnFormat(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): string;
|
|
3954
|
+
private applySmartCalibrationToColumn;
|
|
3955
|
+
calibrateSelectedColumnFromMetadata(): void;
|
|
3956
|
+
calibrateAllColumnsFromMetadata(): void;
|
|
3477
3957
|
onDataTypeChange(dataType: ColumnDataType$1): void;
|
|
3478
3958
|
showDataFormatter(column: ColumnDefinition | null): boolean;
|
|
3479
3959
|
getFormatterIcon(column: ColumnDefinition | null): string;
|
|
@@ -3498,8 +3978,8 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3498
3978
|
result: any;
|
|
3499
3979
|
}): void;
|
|
3500
3980
|
private updateFieldSchemasForStyleRules;
|
|
3501
|
-
static ɵfac:
|
|
3502
|
-
static ɵcmp:
|
|
3981
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnsConfigEditorComponent, never>;
|
|
3982
|
+
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
3983
|
}
|
|
3504
3984
|
|
|
3505
3985
|
interface BehaviorConfigChange {
|
|
@@ -3555,8 +4035,8 @@ declare class BehaviorConfigEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
3555
4035
|
private resolveNonNegativeNumber;
|
|
3556
4036
|
private resolveExpansionMaxExpandedRows;
|
|
3557
4037
|
private cloneTableConfig;
|
|
3558
|
-
static ɵfac:
|
|
3559
|
-
static ɵcmp:
|
|
4038
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BehaviorConfigEditorComponent, never>;
|
|
4039
|
+
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
4040
|
}
|
|
3561
4041
|
|
|
3562
4042
|
interface ToolbarAction {
|
|
@@ -3777,8 +4257,8 @@ declare class ToolbarActionsEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
3777
4257
|
pickBulkActionIcon(index: number): Promise<void>;
|
|
3778
4258
|
pickRowMenuIcon(): Promise<void>;
|
|
3779
4259
|
pickRowHeaderIcon(): Promise<void>;
|
|
3780
|
-
static ɵfac:
|
|
3781
|
-
static ɵcmp:
|
|
4260
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToolbarActionsEditorComponent, never>;
|
|
4261
|
+
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
4262
|
}
|
|
3783
4263
|
|
|
3784
4264
|
interface MessagesLocalizationChange {
|
|
@@ -3803,8 +4283,8 @@ declare class MessagesLocalizationEditorComponent implements OnInit, OnDestroy {
|
|
|
3803
4283
|
private initializeForm;
|
|
3804
4284
|
private setupFormListeners;
|
|
3805
4285
|
private updateConfig;
|
|
3806
|
-
static ɵfac:
|
|
3807
|
-
static ɵcmp:
|
|
4286
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessagesLocalizationEditorComponent, never>;
|
|
4287
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessagesLocalizationEditorComponent, "messages-localization-editor", never, { "config": { "alias": "config"; "required": false; }; }, { "configChange": "configChange"; "messagesLocalizationChange": "messagesLocalizationChange"; }, never, never, true, never>;
|
|
3808
4288
|
}
|
|
3809
4289
|
|
|
3810
4290
|
declare const ALWAYS_VISIBLE_LAYOUT_LANES: readonly ["actions", "inline", "grid"];
|
|
@@ -3838,6 +4318,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3838
4318
|
presentation: FormControl<FilterConfig['presentation']>;
|
|
3839
4319
|
alwaysVisibleFields: FormControl<string[]>;
|
|
3840
4320
|
showAdvanced: FormControl<boolean>;
|
|
4321
|
+
showAddButton: FormControl<boolean>;
|
|
4322
|
+
showFilterSettings: FormControl<boolean>;
|
|
3841
4323
|
mode: FormControl<'filter'>;
|
|
3842
4324
|
changeDebounceMs: FormControl<number>;
|
|
3843
4325
|
allowSaveTags: FormControl<boolean>;
|
|
@@ -3943,6 +4425,9 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3943
4425
|
isPresetActive(key: string): boolean;
|
|
3944
4426
|
hasBooleanFieldMetadata(): boolean;
|
|
3945
4427
|
getFieldLabel(name: string): string;
|
|
4428
|
+
getFieldTypeBadge(meta?: FieldMetadata | null): string;
|
|
4429
|
+
getFieldDescription(meta?: FieldMetadata | null): string;
|
|
4430
|
+
getSelectedAlwaysVisibleTriggerLabel(): string;
|
|
3946
4431
|
onAlwaysVisibleFieldSearchChange(value: string): void;
|
|
3947
4432
|
clearAlwaysVisibleFieldSearch(): void;
|
|
3948
4433
|
filteredAlwaysVisibleMetadata(): FieldMetadata[];
|
|
@@ -4047,8 +4532,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
4047
4532
|
private normalizeText;
|
|
4048
4533
|
clearPersistedFilters(): void;
|
|
4049
4534
|
forceSchemaReload(): void;
|
|
4050
|
-
static ɵfac:
|
|
4051
|
-
static ɵcmp:
|
|
4535
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
|
|
4536
|
+
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
4537
|
}
|
|
4053
4538
|
|
|
4054
4539
|
type ColumnDataType = 'string' | 'number' | 'date' | 'boolean' | 'currency' | 'percentage' | 'custom';
|
|
@@ -4072,8 +4557,8 @@ declare class OperatorsRegistryService {
|
|
|
4072
4557
|
private readonly arrayOps;
|
|
4073
4558
|
private readonly jsonOps;
|
|
4074
4559
|
private readonly relationalOps;
|
|
4075
|
-
static ɵfac:
|
|
4076
|
-
static ɵprov:
|
|
4560
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OperatorsRegistryService, never>;
|
|
4561
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<OperatorsRegistryService>;
|
|
4077
4562
|
}
|
|
4078
4563
|
|
|
4079
4564
|
type GroupOp = 'AND' | 'OR' | 'NOT';
|
|
@@ -4094,8 +4579,8 @@ declare class RuleCompilerService {
|
|
|
4094
4579
|
compileAtomToJsonLogic(atom: RuleAtom): JsonLogicExpression | null;
|
|
4095
4580
|
private toJsonLogicValue;
|
|
4096
4581
|
private toList;
|
|
4097
|
-
static ɵfac:
|
|
4098
|
-
static ɵprov:
|
|
4582
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RuleCompilerService, never>;
|
|
4583
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<RuleCompilerService>;
|
|
4099
4584
|
}
|
|
4100
4585
|
|
|
4101
4586
|
type RuleItem = Omit<PraxisRuntimeConditionalEffectRule<RuleEffectDefinition>, 'effects'> & {
|
|
@@ -4292,6 +4777,12 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
4292
4777
|
value: any;
|
|
4293
4778
|
label: string;
|
|
4294
4779
|
}>;
|
|
4780
|
+
getDomainRuleTargetField(): string | null;
|
|
4781
|
+
getDomainRuleCandidateOptions(): Array<{
|
|
4782
|
+
value: any;
|
|
4783
|
+
label: string;
|
|
4784
|
+
}>;
|
|
4785
|
+
generateDomainRules(): void;
|
|
4295
4786
|
isNoValueOperator(op: string): boolean;
|
|
4296
4787
|
getValuePlaceholder(): string;
|
|
4297
4788
|
getI18nValuePlaceholder(): string;
|
|
@@ -4321,8 +4812,8 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
4321
4812
|
private parseNumericCsv;
|
|
4322
4813
|
private toFiniteNumber;
|
|
4323
4814
|
private getActiveGroupRef;
|
|
4324
|
-
static ɵfac:
|
|
4325
|
-
static ɵcmp:
|
|
4815
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRulesEditorComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
4816
|
+
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
4817
|
}
|
|
4327
4818
|
|
|
4328
4819
|
type Node = Record<string, any>;
|
|
@@ -4346,7 +4837,7 @@ declare class TableDetailTreeDraft {
|
|
|
4346
4837
|
depth: number;
|
|
4347
4838
|
} | undefined;
|
|
4348
4839
|
move(direction: -1 | 1): void;
|
|
4349
|
-
add(node: Node, nested?: boolean):
|
|
4840
|
+
add(node: Node, nested?: boolean): Node | null;
|
|
4350
4841
|
}
|
|
4351
4842
|
|
|
4352
4843
|
declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
@@ -4363,6 +4854,7 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4363
4854
|
dirty: boolean;
|
|
4364
4855
|
}>;
|
|
4365
4856
|
private readonly i18n;
|
|
4857
|
+
private readonly jsonLogic;
|
|
4366
4858
|
private baseline?;
|
|
4367
4859
|
private emitted?;
|
|
4368
4860
|
private readonly coupledBefore;
|
|
@@ -4374,26 +4866,49 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4374
4866
|
jsonTouched: boolean;
|
|
4375
4867
|
advanced: boolean;
|
|
4376
4868
|
preset: string;
|
|
4869
|
+
/** True when the last "add inside" was refused because the block cannot live inside a card grid card. */
|
|
4870
|
+
addRejected: boolean;
|
|
4377
4871
|
readonly presets: string[];
|
|
4378
4872
|
readonly sourceModes: string[];
|
|
4379
4873
|
readonly resourceKinds: string[];
|
|
4380
4874
|
readonly resourcePathMethods: string[];
|
|
4875
|
+
readonly cardGridColumnOptions: Array<'auto' | 1 | 2 | 3 | 4>;
|
|
4876
|
+
readonly cardVariants: Array<'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent'>;
|
|
4877
|
+
readonly cardSizes: Array<'sm' | 'md' | 'lg'>;
|
|
4878
|
+
readonly cardDensities: Array<'compact' | 'comfortable'>;
|
|
4879
|
+
readonly composeLayouts: Array<'flex' | 'grid'>;
|
|
4880
|
+
readonly composeDirections: Array<'row' | 'column'>;
|
|
4881
|
+
readonly composeGaps: Array<'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
4882
|
+
readonly composeAlignItemsOptions: Array<'' | 'start' | 'center' | 'end' | 'stretch'>;
|
|
4883
|
+
readonly badgePresetOptions: Array<'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'>;
|
|
4884
|
+
readonly iconSurfacePresetOptions: Array<'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'>;
|
|
4885
|
+
readonly semanticTones: Array<'' | 'neutral' | 'info' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger'>;
|
|
4886
|
+
readonly conditionOperators: Array<'===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy'>;
|
|
4381
4887
|
fallbackModes(): string[];
|
|
4382
|
-
sample:
|
|
4888
|
+
sample: 'A' | 'B' | 'C';
|
|
4383
4889
|
get previewContext(): {
|
|
4384
|
-
row:
|
|
4385
|
-
id: string;
|
|
4386
|
-
note: string;
|
|
4387
|
-
status: string;
|
|
4388
|
-
progress: number;
|
|
4389
|
-
};
|
|
4890
|
+
row: Record<string, unknown>;
|
|
4390
4891
|
};
|
|
4892
|
+
private projectDetailNodeToRichBlockNodes;
|
|
4391
4893
|
/** Local presenter projection only; never used as an authoring/save source. */
|
|
4392
4894
|
previewNodes(): RichBlockNode[];
|
|
4895
|
+
/**
|
|
4896
|
+
* Returns structured preview groups so `cardGrid` blocks render with their real
|
|
4897
|
+
* multi-column CSS Grid (`columns` and `minCardWidth`) and headers in the preview canvas.
|
|
4898
|
+
*/
|
|
4899
|
+
previewCardGridGroups(): Array<{
|
|
4900
|
+
isCardGrid: boolean;
|
|
4901
|
+
title?: string;
|
|
4902
|
+
subtitle?: string;
|
|
4903
|
+
gridTemplateColumns?: string;
|
|
4904
|
+
cards?: RichBlockNode[];
|
|
4905
|
+
nodes?: RichBlockNode[];
|
|
4906
|
+
}>;
|
|
4393
4907
|
previewRichContentDocuments(): RichContentDocument[];
|
|
4394
4908
|
richContentEditorInputs(): PraxisRichContentEditorInputs | null;
|
|
4395
4909
|
applyRichContentEditor(): void;
|
|
4396
|
-
addPreset(preset: 'callout' | 'richCard'): void;
|
|
4910
|
+
addPreset(preset: 'callout' | 'richCard' | 'richDetailGrid'): void;
|
|
4911
|
+
effectiveNodeType(node?: Record<string, any> | undefined): string;
|
|
4397
4912
|
nodeLabel(node: Record<string, any>): string;
|
|
4398
4913
|
nodeIcon(node: Record<string, any>): string;
|
|
4399
4914
|
canMove(direction: -1 | 1): boolean;
|
|
@@ -4432,14 +4947,79 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
|
|
|
4432
4947
|
canNest(): boolean;
|
|
4433
4948
|
move(direction: -1 | 1): void;
|
|
4434
4949
|
remove(): void;
|
|
4950
|
+
fieldValue(field: string): string;
|
|
4435
4951
|
edit(field: string, value: string): void;
|
|
4436
4952
|
fields(): string[];
|
|
4437
4953
|
isAdvancedNode(): boolean;
|
|
4954
|
+
availableColumns(): Array<{
|
|
4955
|
+
field: string;
|
|
4956
|
+
label: string;
|
|
4957
|
+
}>;
|
|
4958
|
+
supportsFieldBinding(): boolean;
|
|
4959
|
+
boundColumnField(): string;
|
|
4960
|
+
bindColumnField(fieldName: string): void;
|
|
4961
|
+
cardGridColumnsValue(): 'auto' | 1 | 2 | 3 | 4;
|
|
4962
|
+
setCardGridColumns(value: 'auto' | 1 | 2 | 3 | 4): void;
|
|
4963
|
+
cardGridMinWidthValue(): number;
|
|
4964
|
+
setCardGridMinWidth(value: number | string): void;
|
|
4965
|
+
cardVariantValue(): 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent';
|
|
4966
|
+
setCardVariant(variant: 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent' | 'soft'): void;
|
|
4967
|
+
cardSizeValue(): 'sm' | 'md' | 'lg';
|
|
4968
|
+
setCardSize(size: 'sm' | 'md' | 'lg'): void;
|
|
4969
|
+
cardDensityValue(): 'compact' | 'comfortable';
|
|
4970
|
+
setCardDensity(density: 'compact' | 'comfortable' | 'spacious'): void;
|
|
4971
|
+
composeLayoutValue(): 'flex' | 'grid';
|
|
4972
|
+
setComposeLayout(layout: 'flex' | 'grid'): void;
|
|
4973
|
+
composeDirectionValue(): 'row' | 'column';
|
|
4974
|
+
setComposeDirection(direction: 'row' | 'column'): void;
|
|
4975
|
+
composeGapValue(): 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4976
|
+
setComposeGap(gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl'): void;
|
|
4977
|
+
composeAlignItemsValue(): '' | 'start' | 'center' | 'end' | 'stretch';
|
|
4978
|
+
setComposeAlignItems(align: '' | 'start' | 'center' | 'end' | 'stretch' | 'flex-start' | 'flex-end'): void;
|
|
4979
|
+
composeWrapValue(): boolean;
|
|
4980
|
+
setComposeWrap(wrap: boolean): void;
|
|
4981
|
+
supportsTone(): boolean;
|
|
4982
|
+
toneValue(): string;
|
|
4983
|
+
setTone(tone: string): void;
|
|
4984
|
+
supportsStyleControls(): boolean;
|
|
4985
|
+
nodeStyleValue(key: string): string;
|
|
4986
|
+
setNodeStyleValue(key: string, value: string): void;
|
|
4987
|
+
hasNodeAppearanceOverrides(): boolean;
|
|
4988
|
+
resetNodeAppearance(): void;
|
|
4989
|
+
badgeAppearancePreset(): 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom';
|
|
4990
|
+
applyBadgeAppearancePreset(preset: 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'): void;
|
|
4991
|
+
iconSurfacePreset(): 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom';
|
|
4992
|
+
applyIconSurfacePreset(preset: 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'): void;
|
|
4993
|
+
canConvertSelectedToRichContent(): boolean;
|
|
4994
|
+
private isLosslesslyConvertibleToRichContent;
|
|
4995
|
+
/**
|
|
4996
|
+
* Losslessly converts the selected `cardGrid` or `card` block (or its parent `cardGrid`
|
|
4997
|
+
* when a card inside `cardGrid.cards` is selected) into a canonical `richContent` node
|
|
4998
|
+
* so the user can continue authoring in the full embedded `PraxisRichContentConfigEditor`.
|
|
4999
|
+
*/
|
|
5000
|
+
convertSelectedToRichContent(): void;
|
|
5001
|
+
supportsVisibleWhen(): boolean;
|
|
5002
|
+
visibleWhenMode(): 'always' | 'conditional' | 'custom';
|
|
5003
|
+
setVisibleWhenMode(mode: 'always' | 'conditional' | 'custom'): void;
|
|
5004
|
+
visibleWhenField(): string;
|
|
5005
|
+
visibleWhenOperator(): '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
|
|
5006
|
+
visibleWhenValue(): string;
|
|
5007
|
+
setVisibleWhenRule(patch: {
|
|
5008
|
+
field?: string;
|
|
5009
|
+
operator?: '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
|
|
5010
|
+
value?: string;
|
|
5011
|
+
}): void;
|
|
5012
|
+
private parseConditionScalar;
|
|
5013
|
+
private parseGuidedVisibleWhen;
|
|
5014
|
+
private isPreviewNodeVisible;
|
|
4438
5015
|
private commitTree;
|
|
5016
|
+
/** Offered next to `cardGridContent`/`composeContent` issues: converts legacy fields into canonical presenters. */
|
|
5017
|
+
canNormalizeRichChildren(): boolean;
|
|
5018
|
+
normalizeRichChildren(): void;
|
|
4439
5019
|
editJson(value: string): void;
|
|
4440
5020
|
discard(): void;
|
|
4441
|
-
static ɵfac:
|
|
4442
|
-
static ɵcmp:
|
|
5021
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDetailEditorComponent, never>;
|
|
5022
|
+
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
5023
|
}
|
|
4444
5024
|
|
|
4445
5025
|
type ResourcePathIntent = 'set' | 'clear' | 'unchanged';
|
|
@@ -4510,16 +5090,24 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4510
5090
|
isValid$: BehaviorSubject<boolean>;
|
|
4511
5091
|
isBusy$: BehaviorSubject<boolean>;
|
|
4512
5092
|
columnMetas: FieldMetadata[];
|
|
5093
|
+
filterSchemaFields: FieldDefinition[];
|
|
4513
5094
|
filterDtoMetas: FieldMetadata[];
|
|
4514
5095
|
filterDtoMetasLoading: boolean;
|
|
4515
5096
|
filterDtoMetasErrorMsg: string;
|
|
5097
|
+
resourceSchemaFields: FieldDefinition[];
|
|
5098
|
+
resourceSchemaMetas: FieldMetadata[];
|
|
5099
|
+
resourceSchemaLoading: boolean;
|
|
5100
|
+
selectedCatalogResource: DiscoveredResourceOption | null;
|
|
4516
5101
|
private hasCrudOverridesDirty;
|
|
4517
5102
|
private hasLocalDataInput;
|
|
4518
5103
|
private filterDtoLoadSeq;
|
|
5104
|
+
private resourceSchemaLoadSeq;
|
|
5105
|
+
private loadedSchemaResourcePath;
|
|
4519
5106
|
private lastKnownFilterSettings;
|
|
4520
5107
|
private globalActionValidationIssues;
|
|
4521
5108
|
private readonly panelData;
|
|
4522
5109
|
private readonly crudService;
|
|
5110
|
+
private readonly resourceDiscovery;
|
|
4523
5111
|
private readonly panelRef;
|
|
4524
5112
|
constructor(cdr: ChangeDetectorRef, configService: TableConfigService);
|
|
4525
5113
|
tx(key: string, fallback: string): string;
|
|
@@ -4536,10 +5124,82 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4536
5124
|
onFilterSettingsChange(cfg: FilterConfig): void;
|
|
4537
5125
|
private cloneFilterSettings;
|
|
4538
5126
|
private isEffectivelyEmptyFilterSettings;
|
|
5127
|
+
private enrichFieldMetadataList;
|
|
5128
|
+
/**
|
|
5129
|
+
* Converte o resumo de campos publicado em `/schemas/catalog` (`responseFields` ou `filterFields`)
|
|
5130
|
+
* em `FieldMetadata[]` para alimentar imediatamente os seletores de chave primária, colunas e
|
|
5131
|
+
* filtros rápidos enquanto `/schemas/filtered` ainda está em resolução ou indisponível.
|
|
5132
|
+
*/
|
|
5133
|
+
private extractCatalogFieldMetas;
|
|
4539
5134
|
getFilterSettingsMetas(): FieldMetadata[];
|
|
4540
5135
|
getColumnAuthoringMetas(): FieldMetadata[];
|
|
5136
|
+
getRulesEditorFields(): FieldDefinition[];
|
|
5137
|
+
getFieldTypeBadge(option?: FieldMetadata | null): string;
|
|
5138
|
+
getFieldDescription(option?: FieldMetadata | null): string;
|
|
4541
5139
|
get filteredIdFieldOptions(): FieldMetadata[];
|
|
5140
|
+
getFilteredQuickFilterFieldOptions(currentValue?: string): FieldMetadata[];
|
|
4542
5141
|
isUsingFilterDtoMetas(): boolean;
|
|
5142
|
+
get toolbarFiltersEnabled(): boolean;
|
|
5143
|
+
get toolbarShowQuickFilters(): boolean;
|
|
5144
|
+
get toolbarShowAdvancedButton(): boolean;
|
|
5145
|
+
get advancedFilterShowAddButton(): boolean;
|
|
5146
|
+
get advancedFilterShowFilterSettings(): boolean;
|
|
5147
|
+
get toolbarQuickFilters(): PraxisResourceQuickFilter[];
|
|
5148
|
+
get duplicatedQuickFilterInlineFields(): string[];
|
|
5149
|
+
private inferDefaultStatusFilterField;
|
|
5150
|
+
getQuickFilterValueOptions(fieldName: string, currentValue?: unknown): Array<{
|
|
5151
|
+
value: string;
|
|
5152
|
+
label: string;
|
|
5153
|
+
}>;
|
|
5154
|
+
private updateToolbarFiltersPatch;
|
|
5155
|
+
onToolbarFiltersEnabledChange(enabled: boolean): void;
|
|
5156
|
+
onToolbarShowQuickFiltersChange(show: boolean): void;
|
|
5157
|
+
onToolbarShowAdvancedButtonChange(show: boolean): void;
|
|
5158
|
+
onAdvancedFilterShowAddButtonChange(show: boolean): void;
|
|
5159
|
+
onAdvancedFilterShowFilterSettingsChange(show: boolean): void;
|
|
5160
|
+
applyBooleanQuickFilterPreset(fieldName?: string): void;
|
|
5161
|
+
addQuickFilterScope(): void;
|
|
5162
|
+
removeQuickFilterScope(index: number): void;
|
|
5163
|
+
updateQuickFilterMeta(index: number, patch: {
|
|
5164
|
+
id?: string;
|
|
5165
|
+
label?: string;
|
|
5166
|
+
icon?: string;
|
|
5167
|
+
tone?: PraxisQuickFilterTone | '';
|
|
5168
|
+
isDefault?: boolean;
|
|
5169
|
+
description?: string;
|
|
5170
|
+
order?: number | string | null;
|
|
5171
|
+
}): void;
|
|
5172
|
+
private normalizeEditorQuickFilterObject;
|
|
5173
|
+
private resolveQuickFilterFieldValueKind;
|
|
5174
|
+
private resolveQuickFilterArrayItemKind;
|
|
5175
|
+
private coerceQuickFilterScalarByKind;
|
|
5176
|
+
private inferCriterionMode;
|
|
5177
|
+
getQuickFilterCriteriaEntries(item: {
|
|
5178
|
+
filter?: any;
|
|
5179
|
+
}): Array<{
|
|
5180
|
+
field: string;
|
|
5181
|
+
value: any;
|
|
5182
|
+
mode: 'boolean' | 'equals' | 'in';
|
|
5183
|
+
}>;
|
|
5184
|
+
formatQuickFilterArrayValue(value: unknown): string;
|
|
5185
|
+
getQuickFilterMode(item: {
|
|
5186
|
+
filter?: any;
|
|
5187
|
+
}): 'all' | 'boolean' | 'equals' | 'in';
|
|
5188
|
+
getQuickFilterField(item: {
|
|
5189
|
+
filter?: any;
|
|
5190
|
+
}, criterionIndex?: number): string;
|
|
5191
|
+
getQuickFilterValue(item: {
|
|
5192
|
+
filter?: any;
|
|
5193
|
+
}, criterionIndex?: number): any;
|
|
5194
|
+
addQuickFilterCriterion(qfIndex: number): void;
|
|
5195
|
+
removeQuickFilterCriterion(qfIndex: number, criterionIndex: number): void;
|
|
5196
|
+
onQuickFilterCriterionModeChange(qfIndex: number, criterionIndex: number, mode: 'boolean' | 'equals' | 'in'): void;
|
|
5197
|
+
onQuickFilterModeChange(index: number, mode: 'all' | 'boolean' | 'equals' | 'in'): void;
|
|
5198
|
+
onQuickFilterCriterionFieldChange(qfIndex: number, criterionIndex: number, fieldName: string): void;
|
|
5199
|
+
onQuickFilterFieldChange(index: number, fieldName: string): void;
|
|
5200
|
+
onQuickFilterCriterionValueChange(qfIndex: number, criterionIndex: number, rawValue: any): void;
|
|
5201
|
+
onQuickFilterValueChange(index: number, rawValue: any): void;
|
|
5202
|
+
consolidateDuplicateInlineFilterFields(): void;
|
|
4543
5203
|
getEffectiveDataMode(): EffectiveDataMode;
|
|
4544
5204
|
isEffectiveLocalMode(): boolean;
|
|
4545
5205
|
private resolveLocalDataModeFeatureEnabled;
|
|
@@ -4569,8 +5229,16 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4569
5229
|
private syncFilterSettingsFromEditor;
|
|
4570
5230
|
private hasAdvancedSettingsProperty;
|
|
4571
5231
|
private syncLastKnownFilterSettingsFromEditedConfig;
|
|
5232
|
+
onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
|
|
5233
|
+
private normalizeResourcePathIdentity;
|
|
5234
|
+
private resetEditedConfigForResourceSwitch;
|
|
4572
5235
|
onResourcePathChange(val: string): void;
|
|
5236
|
+
get resourceEndpointKey(): any;
|
|
5237
|
+
get resourceApiUrlEntry(): any;
|
|
5238
|
+
private getResourceDiscoveryOptions;
|
|
5239
|
+
private canUseResourceDiscovery;
|
|
4573
5240
|
private loadFilterDtoMetas;
|
|
5241
|
+
private loadResourceSchemaMetas;
|
|
4574
5242
|
onIdFieldChange(val: string): void;
|
|
4575
5243
|
onIdFieldOptionSelected(value: string): void;
|
|
4576
5244
|
get mobileCardMode(): boolean;
|
|
@@ -4628,13 +5296,15 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4628
5296
|
onMessagesLocalizationConfigChange(newConfig: TableConfig): void;
|
|
4629
5297
|
onMessagesLocalizationChange(change: MessagesLocalizationChange): void;
|
|
4630
5298
|
ngOnDestroy(): void;
|
|
4631
|
-
static ɵfac:
|
|
4632
|
-
static ɵcmp:
|
|
5299
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableConfigEditor, never>;
|
|
5300
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisTableConfigEditor, "praxis-table-config-editor", never, {}, {}, never, never, true, never>;
|
|
4633
5301
|
}
|
|
4634
5302
|
|
|
4635
5303
|
interface PraxisTableWidgetEditorInputs {
|
|
4636
5304
|
config?: TableConfig | null;
|
|
4637
5305
|
resourcePath?: string | null;
|
|
5306
|
+
endpointKey?: ApiEndpoint;
|
|
5307
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4638
5308
|
horizontalScroll?: 'auto' | 'wrap' | 'none';
|
|
4639
5309
|
tableId?: string;
|
|
4640
5310
|
componentInstanceId?: string;
|
|
@@ -4664,14 +5334,19 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4664
5334
|
getSettingsValue(): PraxisTableWidgetEditorValue;
|
|
4665
5335
|
onSave(): PraxisTableWidgetEditorValue;
|
|
4666
5336
|
reset(): void;
|
|
5337
|
+
private normalizeResourcePathIdentity;
|
|
5338
|
+
private stripResourceBoundTableState;
|
|
5339
|
+
private sanitizeEditedConfigForResourceSwitch;
|
|
4667
5340
|
private buildValue;
|
|
4668
|
-
static ɵfac:
|
|
4669
|
-
static ɵcmp:
|
|
5341
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableWidgetConfigEditor, never>;
|
|
5342
|
+
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
5343
|
}
|
|
4671
5344
|
|
|
4672
5345
|
interface PraxisFilterWidgetEditorInputs {
|
|
4673
5346
|
presentation?: FilterConfig['presentation'];
|
|
4674
5347
|
resourcePath?: string | null;
|
|
5348
|
+
endpointKey?: ApiEndpoint;
|
|
5349
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4675
5350
|
fieldMetadata?: FieldMetadata[] | null;
|
|
4676
5351
|
filterId?: string;
|
|
4677
5352
|
formId?: string;
|
|
@@ -4693,6 +5368,10 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4693
5368
|
actionsButtonColor?: 'primary' | 'accent' | 'warn' | 'basic';
|
|
4694
5369
|
actionsVariant?: 'standard' | 'outlined';
|
|
4695
5370
|
useInlineSearchableSelectVariant?: boolean;
|
|
5371
|
+
useInlineSelectVariant?: boolean;
|
|
5372
|
+
useInlineMultiSelectVariant?: boolean;
|
|
5373
|
+
useInlineInputVariant?: boolean;
|
|
5374
|
+
useInlineToggleVariant?: boolean;
|
|
4696
5375
|
useInlineRangeVariant?: boolean;
|
|
4697
5376
|
useInlineDateVariant?: boolean;
|
|
4698
5377
|
useInlineDateRangeVariant?: boolean;
|
|
@@ -4704,6 +5383,7 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4704
5383
|
advancedOpenMode?: 'modal' | 'drawer';
|
|
4705
5384
|
advancedClearButtonsEnabled?: boolean;
|
|
4706
5385
|
persistenceKey?: string;
|
|
5386
|
+
showAddButton?: boolean;
|
|
4707
5387
|
showFilterSettings?: boolean;
|
|
4708
5388
|
enableCustomization?: boolean;
|
|
4709
5389
|
[key: string]: unknown;
|
|
@@ -4715,6 +5395,7 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4715
5395
|
widgetKey?: string;
|
|
4716
5396
|
resourceEditor?: ResourceQuickConnectComponent;
|
|
4717
5397
|
private readonly crud;
|
|
5398
|
+
private readonly resourceDiscovery;
|
|
4718
5399
|
private readonly cdr;
|
|
4719
5400
|
private readonly i18n;
|
|
4720
5401
|
resourceError: boolean;
|
|
@@ -4723,8 +5404,17 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4723
5404
|
private settingsDirty;
|
|
4724
5405
|
private loadingResource;
|
|
4725
5406
|
private fieldRequest;
|
|
5407
|
+
private selectedCatalogResource;
|
|
4726
5408
|
tx(key: string): string;
|
|
4727
5409
|
ngAfterViewInit(): void;
|
|
5410
|
+
/**
|
|
5411
|
+
* Hidrata imediatamente os metadados de filtro a partir do resumo de campos publicado
|
|
5412
|
+
* em `/schemas/catalog` (`filterFields` ou `responseFields`) enquanto o schema completo
|
|
5413
|
+
* (`/schemas/filtered`) ainda está carregando ou indisponível no host.
|
|
5414
|
+
*/
|
|
5415
|
+
onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
|
|
5416
|
+
private extractCatalogFieldMetas;
|
|
5417
|
+
onResourcePathChange(nextPath: string): void;
|
|
4728
5418
|
loadResourceFields(markDirty?: boolean): Promise<void>;
|
|
4729
5419
|
private optionalInject;
|
|
4730
5420
|
set inputs(value: PraxisFilterWidgetEditorInputs | null);
|
|
@@ -4751,8 +5441,8 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4751
5441
|
private normalizeOverlayVariant;
|
|
4752
5442
|
private cloneStringArray;
|
|
4753
5443
|
private cloneRecord;
|
|
4754
|
-
static ɵfac:
|
|
4755
|
-
static ɵcmp:
|
|
5444
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterWidgetConfigEditor, never>;
|
|
5445
|
+
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
5446
|
}
|
|
4757
5447
|
|
|
4758
5448
|
/**
|
|
@@ -4763,7 +5453,8 @@ interface PraxisFilterTeleportHost {
|
|
|
4763
5453
|
filterTeleport?: boolean;
|
|
4764
5454
|
filterTemplate?: TemplateRef<unknown>;
|
|
4765
5455
|
filterBarTemplate?: TemplateRef<unknown>;
|
|
4766
|
-
|
|
5456
|
+
filterTemplateSignal?: () => TemplateRef<unknown> | undefined;
|
|
5457
|
+
internalTable?: PraxisFilterTeleportHost;
|
|
4767
5458
|
}
|
|
4768
5459
|
type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown> | null | undefined;
|
|
4769
5460
|
/**
|
|
@@ -4784,14 +5475,17 @@ type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown>
|
|
|
4784
5475
|
declare class PraxisFilterOutletComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
4785
5476
|
target: PraxisFilterOutletTarget;
|
|
4786
5477
|
private readonly cdr;
|
|
5478
|
+
private readonly targetSignal;
|
|
4787
5479
|
private previousHost?;
|
|
5480
|
+
constructor();
|
|
4788
5481
|
get resolvedTemplate(): TemplateRef<unknown> | null;
|
|
4789
5482
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4790
5483
|
ngAfterViewInit(): void;
|
|
4791
5484
|
ngOnDestroy(): void;
|
|
5485
|
+
private detachPreviousHost;
|
|
4792
5486
|
private attachTeleportTarget;
|
|
4793
|
-
static ɵfac:
|
|
4794
|
-
static ɵcmp:
|
|
5487
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterOutletComponent, never>;
|
|
5488
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisFilterOutletComponent, "praxis-filter-outlet", never, { "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
|
|
4795
5489
|
}
|
|
4796
5490
|
/**
|
|
4797
5491
|
* Praxis UI Platform — Canonical Filter Outlet Directive (Issue #11)
|
|
@@ -4809,13 +5503,17 @@ declare class PraxisFilterOutletDirective implements OnChanges, AfterViewInit, O
|
|
|
4809
5503
|
target: PraxisFilterOutletTarget;
|
|
4810
5504
|
private readonly viewContainer;
|
|
4811
5505
|
private readonly cdr;
|
|
5506
|
+
private readonly targetSignal;
|
|
4812
5507
|
private previousHost?;
|
|
5508
|
+
private renderedTemplate;
|
|
5509
|
+
constructor();
|
|
4813
5510
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4814
5511
|
ngAfterViewInit(): void;
|
|
4815
5512
|
ngOnDestroy(): void;
|
|
5513
|
+
private detachPreviousHost;
|
|
4816
5514
|
private updateView;
|
|
4817
|
-
static ɵfac:
|
|
4818
|
-
static ɵdir:
|
|
5515
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisFilterOutletDirective, never>;
|
|
5516
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PraxisFilterOutletDirective, "[praxisFilterOutlet]", never, { "target": { "alias": "praxisFilterOutlet"; "required": false; }; }, {}, never, never, true, never>;
|
|
4819
5517
|
}
|
|
4820
5518
|
|
|
4821
5519
|
interface PraxisScopeBarItem {
|
|
@@ -4823,10 +5521,18 @@ interface PraxisScopeBarItem {
|
|
|
4823
5521
|
label: string;
|
|
4824
5522
|
filter?: Record<string, unknown> | string;
|
|
4825
5523
|
count?: number | null;
|
|
5524
|
+
badge?: string | number;
|
|
4826
5525
|
icon?: string;
|
|
4827
|
-
tone?:
|
|
5526
|
+
tone?: PraxisQuickFilterTone;
|
|
4828
5527
|
isDefault?: boolean;
|
|
4829
5528
|
tooltip?: string;
|
|
5529
|
+
description?: string;
|
|
5530
|
+
}
|
|
5531
|
+
interface PraxisScopeBarActiveBadge {
|
|
5532
|
+
key: string;
|
|
5533
|
+
label: string;
|
|
5534
|
+
valueText: string;
|
|
5535
|
+
source: 'scope' | 'search' | 'external';
|
|
4830
5536
|
}
|
|
4831
5537
|
interface PraxisScopeBarConfig {
|
|
4832
5538
|
items?: PraxisScopeBarItem[];
|
|
@@ -4838,18 +5544,37 @@ interface PraxisScopeBarConfig {
|
|
|
4838
5544
|
showClearButton?: boolean;
|
|
4839
5545
|
clearLabel?: string;
|
|
4840
5546
|
searchField?: string;
|
|
5547
|
+
targetWidgetId?: string;
|
|
5548
|
+
targetWidgetIds?: string[];
|
|
5549
|
+
showActiveFilterSummary?: boolean;
|
|
5550
|
+
filterLabels?: Record<string, string>;
|
|
4841
5551
|
}
|
|
4842
5552
|
declare class PraxisScopeBarComponent implements OnInit {
|
|
4843
5553
|
private readonly eventBus;
|
|
5554
|
+
private readonly i18n;
|
|
4844
5555
|
private readonly destroyRef;
|
|
5556
|
+
private targetFilterSubscription?;
|
|
5557
|
+
private isApplyingCriteriaToTarget;
|
|
5558
|
+
protected scopeNavigationLabel(): string;
|
|
5559
|
+
protected scopeSearchAriaLabel(): string;
|
|
5560
|
+
protected scopeClearSearchTitle(): string;
|
|
5561
|
+
protected scopeClearSearchAriaLabel(): string;
|
|
5562
|
+
protected scopeFiltersAriaLabel(): string;
|
|
5563
|
+
protected scopeActiveSummaryAriaLabel(): string;
|
|
5564
|
+
protected scopeActiveSummaryLabel(): string;
|
|
5565
|
+
protected scopeRemoveCriterionAriaLabel(label: string): string;
|
|
5566
|
+
protected scopeActiveFilterCountAriaLabel(count: number): string;
|
|
4845
5567
|
chipsTrack?: ElementRef<HTMLElement>;
|
|
5568
|
+
set config(val: PraxisScopeBarConfig | undefined | null);
|
|
4846
5569
|
private readonly itemsSignal;
|
|
4847
5570
|
set items(val: PraxisScopeBarItem[] | undefined);
|
|
4848
5571
|
get items(): PraxisScopeBarItem[] | undefined;
|
|
4849
5572
|
set activeId(val: string | undefined);
|
|
4850
5573
|
get activeId(): string | undefined;
|
|
4851
5574
|
readonly activeIdChange: EventEmitter<string>;
|
|
4852
|
-
|
|
5575
|
+
private readonly showOmniboxSignal;
|
|
5576
|
+
set showOmnibox(val: boolean);
|
|
5577
|
+
get showOmnibox(): boolean;
|
|
4853
5578
|
omniboxPlaceholder: string;
|
|
4854
5579
|
set omniboxValue(val: string | undefined);
|
|
4855
5580
|
get omniboxValue(): string | undefined;
|
|
@@ -4859,10 +5584,21 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
4859
5584
|
leadLabel?: string;
|
|
4860
5585
|
showClearButton: boolean;
|
|
4861
5586
|
clearLabel: string;
|
|
5587
|
+
private readonly showActiveFilterSummarySignal;
|
|
5588
|
+
set showActiveFilterSummary(val: boolean);
|
|
5589
|
+
get showActiveFilterSummary(): boolean;
|
|
5590
|
+
private readonly activeFiltersSignal;
|
|
5591
|
+
set activeFilters(val: Record<string, unknown> | undefined | null);
|
|
5592
|
+
get activeFilters(): Record<string, unknown>;
|
|
5593
|
+
readonly activeFiltersChange: EventEmitter<Record<string, unknown>>;
|
|
5594
|
+
private readonly filterLabelsSignal;
|
|
5595
|
+
set filterLabels(val: Record<string, string> | undefined | null);
|
|
5596
|
+
get filterLabels(): Record<string, string>;
|
|
4862
5597
|
private readonly targetSignal;
|
|
4863
5598
|
set target(val: any);
|
|
4864
5599
|
get target(): any;
|
|
4865
5600
|
targetWidgetId?: string;
|
|
5601
|
+
targetWidgetIds?: string[];
|
|
4866
5602
|
scopeBarId: string;
|
|
4867
5603
|
searchField: string;
|
|
4868
5604
|
readonly scopeChange: EventEmitter<PraxisScopeBarItem>;
|
|
@@ -4870,26 +5606,42 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
4870
5606
|
readonly filterCriteriaChange: EventEmitter<Record<string, unknown>>;
|
|
4871
5607
|
readonly clear: EventEmitter<void>;
|
|
4872
5608
|
private readonly searchSubject$;
|
|
4873
|
-
readonly currentActiveId:
|
|
4874
|
-
readonly currentSearchText:
|
|
4875
|
-
readonly effectiveItems:
|
|
5609
|
+
readonly currentActiveId: _angular_core.WritableSignal<string | null>;
|
|
5610
|
+
readonly currentSearchText: _angular_core.WritableSignal<string>;
|
|
5611
|
+
readonly effectiveItems: _angular_core.Signal<PraxisScopeBarItem[]>;
|
|
5612
|
+
readonly resolvedActiveId: _angular_core.Signal<string | null>;
|
|
5613
|
+
readonly hasMainRow: _angular_core.Signal<boolean>;
|
|
5614
|
+
readonly activeFilterBadges: _angular_core.Signal<PraxisScopeBarActiveBadge[]>;
|
|
5615
|
+
readonly activeFilterCount: _angular_core.Signal<number>;
|
|
4876
5616
|
ngOnInit(): void;
|
|
4877
5617
|
isItemActive(item: PraxisScopeBarItem): boolean;
|
|
5618
|
+
/**
|
|
5619
|
+
* Roving tabindex do radiogroup: o item ativo recebe foco; sem item ativo (ex.: filtro inline
|
|
5620
|
+
* sobrescreveu o escopo) o primeiro item permanece alcançável por Tab.
|
|
5621
|
+
*/
|
|
5622
|
+
isItemFocusable(item: PraxisScopeBarItem, index: number): boolean;
|
|
4878
5623
|
selectScope(item: PraxisScopeBarItem): void;
|
|
4879
5624
|
onSearchInput(event: Event): void;
|
|
4880
5625
|
clearSearch(): void;
|
|
5626
|
+
removeFilterCriterion(key: string): void;
|
|
4881
5627
|
resetFilters(): void;
|
|
4882
5628
|
canClear(): boolean;
|
|
4883
5629
|
onTrackKeydown(event: KeyboardEvent): void;
|
|
5630
|
+
private resolveTargetWidgetIds;
|
|
4884
5631
|
private dispatchFilters;
|
|
4885
5632
|
private applyCriteriaToTarget;
|
|
5633
|
+
private bindTargetFilterCriteria;
|
|
5634
|
+
private getScopeManagedKeys;
|
|
4886
5635
|
private discoverItemsFromTarget;
|
|
5636
|
+
private humanizeKey;
|
|
5637
|
+
private formatCriterionValue;
|
|
4887
5638
|
private normalizeFilter;
|
|
4888
|
-
static ɵfac:
|
|
4889
|
-
static ɵcmp:
|
|
5639
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisScopeBarComponent, never>;
|
|
5640
|
+
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
5641
|
static ngAcceptInputType_showOmnibox: unknown;
|
|
4891
5642
|
static ngAcceptInputType_omniboxDebounceMs: unknown;
|
|
4892
5643
|
static ngAcceptInputType_showClearButton: unknown;
|
|
5644
|
+
static ngAcceptInputType_showActiveFilterSummary: unknown;
|
|
4893
5645
|
}
|
|
4894
5646
|
|
|
4895
5647
|
declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
@@ -4956,25 +5708,29 @@ declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
|
4956
5708
|
*/
|
|
4957
5709
|
private getCurrentFormatString;
|
|
4958
5710
|
private isMaskFormat;
|
|
4959
|
-
static ɵfac:
|
|
4960
|
-
static ɵcmp:
|
|
5711
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataFormatterComponent, never>;
|
|
5712
|
+
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
5713
|
}
|
|
4962
5714
|
|
|
4963
5715
|
interface AnalyticsTableConfigAdapterOptions {
|
|
4964
5716
|
title?: PraxisTextValue;
|
|
4965
5717
|
subtitle?: PraxisTextValue;
|
|
5718
|
+
surfaceMode?: 'standalone' | 'embedded';
|
|
5719
|
+
rowCount?: number;
|
|
4966
5720
|
}
|
|
4967
5721
|
declare class AnalyticsTableConfigAdapterService {
|
|
4968
5722
|
private readonly i18n?;
|
|
5723
|
+
private readonly statsBuilder;
|
|
4969
5724
|
constructor(i18n?: PraxisI18nService | undefined);
|
|
4970
5725
|
toTableConfig(projection: PraxisAnalyticsProjection, options?: AnalyticsTableConfigAdapterOptions): TableConfig;
|
|
4971
5726
|
private buildColumns;
|
|
4972
5727
|
private buildComparisonMetricColumns;
|
|
5728
|
+
private resolveMetricColumnPresentation;
|
|
4973
5729
|
private comparisonValueLabel;
|
|
4974
5730
|
private getDisplayMetrics;
|
|
4975
5731
|
private resolveTextValue;
|
|
4976
|
-
static ɵfac:
|
|
4977
|
-
static ɵprov:
|
|
5732
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableConfigAdapterService, [{ optional: true; }]>;
|
|
5733
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableConfigAdapterService>;
|
|
4978
5734
|
}
|
|
4979
5735
|
|
|
4980
5736
|
declare class AnalyticsTableContractService {
|
|
@@ -4989,8 +5745,8 @@ declare class AnalyticsTableContractService {
|
|
|
4989
5745
|
private buildTableView;
|
|
4990
5746
|
private assertAnalyticTableProjection;
|
|
4991
5747
|
private resolveQueryContext;
|
|
4992
|
-
static ɵfac:
|
|
4993
|
-
static ɵprov:
|
|
5748
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticsTableContractService, never>;
|
|
5749
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticsTableContractService>;
|
|
4994
5750
|
}
|
|
4995
5751
|
|
|
4996
5752
|
type TableRichContentP0Node = RichPresenterNode | RichComposeNode;
|
|
@@ -5032,6 +5788,7 @@ declare const PRAXIS_FILTER_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
|
5032
5788
|
declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
5033
5789
|
private readonly i18n;
|
|
5034
5790
|
config: TableConfig;
|
|
5791
|
+
fieldMetadata: FieldMetadata[];
|
|
5035
5792
|
readonly: boolean;
|
|
5036
5793
|
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
5037
5794
|
workingConfig: TableConfig;
|
|
@@ -5051,11 +5808,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5051
5808
|
pageSize: number;
|
|
5052
5809
|
pageSizeOptionsText: string;
|
|
5053
5810
|
showFirstLastButtons: boolean;
|
|
5054
|
-
paginationStrategy: 'client' | 'server';
|
|
5811
|
+
paginationStrategy: 'client' | 'server' | undefined;
|
|
5055
5812
|
paginationPosition: 'top' | 'bottom' | 'both';
|
|
5056
5813
|
paginationStyle: 'default' | 'simple' | 'advanced' | 'compact';
|
|
5057
5814
|
sortingEnabled: boolean;
|
|
5058
|
-
sortingStrategy: 'client' | 'server';
|
|
5815
|
+
sortingStrategy: 'client' | 'server' | undefined;
|
|
5059
5816
|
allowClearSort: boolean;
|
|
5060
5817
|
defaultSortField: string;
|
|
5061
5818
|
defaultSortDirection: 'asc' | 'desc';
|
|
@@ -5083,11 +5840,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5083
5840
|
setPaginationPageSize(value: number | string): void;
|
|
5084
5841
|
setPaginationPageSizeOptions(value: string): void;
|
|
5085
5842
|
setPaginationShowFirstLastButtons(value: boolean): void;
|
|
5086
|
-
setPaginationStrategy(value: 'client' | 'server'): void;
|
|
5843
|
+
setPaginationStrategy(value: 'client' | 'server' | undefined): void;
|
|
5087
5844
|
setPaginationPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
5088
5845
|
setPaginationStyle(value: 'default' | 'simple' | 'advanced' | 'compact'): void;
|
|
5089
5846
|
setSortingEnabled(value: boolean): void;
|
|
5090
|
-
setSortingStrategy(value: 'client' | 'server'): void;
|
|
5847
|
+
setSortingStrategy(value: 'client' | 'server' | undefined): void;
|
|
5091
5848
|
setSortingAllowClear(value: boolean): void;
|
|
5092
5849
|
setSortingDefaultField(value: string): void;
|
|
5093
5850
|
setSortingDefaultDirection(value: 'asc' | 'desc'): void;
|
|
@@ -5116,8 +5873,8 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5116
5873
|
private buildDefaultSort;
|
|
5117
5874
|
private getDefaultSortField;
|
|
5118
5875
|
private getDefaultSortDirection;
|
|
5119
|
-
static ɵfac:
|
|
5120
|
-
static ɵcmp:
|
|
5876
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
|
|
5877
|
+
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
5878
|
}
|
|
5122
5879
|
|
|
5123
5880
|
interface ValueMappingPair {
|
|
@@ -5137,6 +5894,10 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5137
5894
|
keyInputType: 'text' | 'number' | 'boolean';
|
|
5138
5895
|
labelKey: string;
|
|
5139
5896
|
labelValue: string;
|
|
5897
|
+
domainOptions: Array<{
|
|
5898
|
+
value: string | number | boolean;
|
|
5899
|
+
label: string;
|
|
5900
|
+
}>;
|
|
5140
5901
|
mappingChange: EventEmitter<{
|
|
5141
5902
|
[key: string]: string;
|
|
5142
5903
|
[key: number]: string;
|
|
@@ -5147,6 +5908,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5147
5908
|
showImportDialog: boolean;
|
|
5148
5909
|
importJsonText: string;
|
|
5149
5910
|
importError: string;
|
|
5911
|
+
private readonly i18n;
|
|
5912
|
+
tx(key: string, fallback: string): string;
|
|
5150
5913
|
constructor(cdr: ChangeDetectorRef, dialog: MatDialog, snackBar: MatSnackBar);
|
|
5151
5914
|
ngOnInit(): void;
|
|
5152
5915
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -5156,6 +5919,7 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5156
5919
|
isKeyTruthy(pair: ValueMappingPair): boolean;
|
|
5157
5920
|
getKeyPlaceholder(): string;
|
|
5158
5921
|
addNewPair(): void;
|
|
5922
|
+
generateFromDomainOptions(): void;
|
|
5159
5923
|
removePair(index: number): void;
|
|
5160
5924
|
onKeyChange(index: number, value: string): void;
|
|
5161
5925
|
onBooleanKeyChange(index: number, change: MatCheckboxChange): void;
|
|
@@ -5164,8 +5928,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
|
|
|
5164
5928
|
exportToJson(): void;
|
|
5165
5929
|
importFromJson(): void;
|
|
5166
5930
|
cancelImport(): void;
|
|
5167
|
-
static ɵfac:
|
|
5168
|
-
static ɵcmp:
|
|
5931
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueMappingEditorComponent, never>;
|
|
5932
|
+
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
5933
|
}
|
|
5170
5934
|
|
|
5171
5935
|
declare class FormulaGeneratorService {
|
|
@@ -5218,8 +5982,8 @@ declare class FormulaGeneratorService {
|
|
|
5218
5982
|
private compareValues;
|
|
5219
5983
|
private resolveOperand;
|
|
5220
5984
|
private resolveFieldValue;
|
|
5221
|
-
static ɵfac:
|
|
5222
|
-
static ɵprov:
|
|
5985
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormulaGeneratorService, never>;
|
|
5986
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormulaGeneratorService>;
|
|
5223
5987
|
}
|
|
5224
5988
|
|
|
5225
5989
|
declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
@@ -5258,6 +6022,12 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
|
5258
6022
|
private generateAndEmitExpression;
|
|
5259
6023
|
get generatedExpression(): string;
|
|
5260
6024
|
isMultiSelectField(paramKey: string): boolean;
|
|
6025
|
+
onFieldSelectionChange(paramKey: string, nextValue: unknown): void;
|
|
6026
|
+
getOrderedSelectedFields(paramKey: string): string[];
|
|
6027
|
+
moveSelectedField(paramKey: string, index: number, delta: -1 | 1): void;
|
|
6028
|
+
getShortFieldDisplayLabel(fieldName: string): string;
|
|
6029
|
+
formatSelectedFieldLabel(selection: unknown): string;
|
|
6030
|
+
private resolveFieldDisplayLabel;
|
|
5261
6031
|
getFieldTypeIcon(fieldType: string): string;
|
|
5262
6032
|
testFormula(): void;
|
|
5263
6033
|
formatTestResult(result: any): string;
|
|
@@ -5269,8 +6039,8 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
|
|
|
5269
6039
|
onValueInputBooleanChange(paramKey: string, change: MatCheckboxChange): void;
|
|
5270
6040
|
private updateParameterFromValueInput;
|
|
5271
6041
|
private initializeValueInputStates;
|
|
5272
|
-
static ɵfac:
|
|
5273
|
-
static ɵcmp:
|
|
6042
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VisualFormulaBuilderComponent, never>;
|
|
6043
|
+
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
6044
|
}
|
|
5275
6045
|
|
|
5276
6046
|
/** Metadata for PraxisTable component */
|
|
@@ -5711,72 +6481,246 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
5711
6481
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
5712
6482
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
5713
6483
|
|
|
6484
|
+
interface ResolvedCalculationStepViewModel {
|
|
6485
|
+
role: PraxisAnalyticalDrawerCalculationStepRole;
|
|
6486
|
+
label: string;
|
|
6487
|
+
operator: string;
|
|
6488
|
+
value: string;
|
|
6489
|
+
numericValue?: number;
|
|
6490
|
+
signedNumericValue?: number;
|
|
6491
|
+
hint?: string;
|
|
6492
|
+
legalBasis?: string;
|
|
6493
|
+
icon?: string;
|
|
6494
|
+
tone: string;
|
|
6495
|
+
}
|
|
6496
|
+
interface ResolvedCalculationWaterfallSegment {
|
|
6497
|
+
label: string;
|
|
6498
|
+
formattedValue: string;
|
|
6499
|
+
tone: string;
|
|
6500
|
+
percentWidth: number;
|
|
6501
|
+
}
|
|
6502
|
+
type CalculationBridgeStepKind = 'base' | 'addition' | 'deduction' | 'cap' | 'subtotal' | 'result';
|
|
6503
|
+
interface ResolvedCalculationBridgeStep {
|
|
6504
|
+
id: string;
|
|
6505
|
+
kind: CalculationBridgeStepKind;
|
|
6506
|
+
label: string;
|
|
6507
|
+
hint?: string;
|
|
6508
|
+
signChar: '+' | '-' | '=';
|
|
6509
|
+
icon: string;
|
|
6510
|
+
deltaText: string;
|
|
6511
|
+
runningText: string;
|
|
6512
|
+
startPercent: number;
|
|
6513
|
+
widthPercent: number;
|
|
6514
|
+
connectorPercent: number;
|
|
6515
|
+
ariaLabel: string;
|
|
6516
|
+
}
|
|
6517
|
+
type CalculationMemoryViewMode = 'both' | 'bridge' | 'pipeline';
|
|
6518
|
+
interface ResolvedCalculationTrailViewModel {
|
|
6519
|
+
id: string;
|
|
6520
|
+
title: string;
|
|
6521
|
+
subtitle?: string;
|
|
6522
|
+
icon: string;
|
|
6523
|
+
ruleCode?: string;
|
|
6524
|
+
formula?: string;
|
|
6525
|
+
steps: ResolvedCalculationStepViewModel[];
|
|
6526
|
+
waterfallSegments: ResolvedCalculationWaterfallSegment[];
|
|
6527
|
+
bridgeSteps: ResolvedCalculationBridgeStep[];
|
|
6528
|
+
bridgeZeroPercent: number;
|
|
6529
|
+
legalBasis?: string;
|
|
6530
|
+
legalPurpose?: string;
|
|
6531
|
+
}
|
|
6532
|
+
interface ResolvedCalculationMemorySectionViewModel {
|
|
6533
|
+
title?: string;
|
|
6534
|
+
subtitle?: string;
|
|
6535
|
+
icon: string;
|
|
6536
|
+
legalBasis?: string;
|
|
6537
|
+
emptyText?: string;
|
|
6538
|
+
trails: ResolvedCalculationTrailViewModel[];
|
|
6539
|
+
}
|
|
5714
6540
|
declare function isAnalyticalDrawerSchema(schema: unknown): schema is PraxisAnalyticalDrawerSchema;
|
|
5715
6541
|
declare function interpolateRelationEndpoint(endpoint: string, row: Record<string, unknown> | null | undefined): {
|
|
5716
6542
|
url: string;
|
|
5717
6543
|
hasMissingTokens: boolean;
|
|
5718
6544
|
};
|
|
5719
|
-
declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDestroy {
|
|
6545
|
+
declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
5720
6546
|
private _isOpen;
|
|
5721
6547
|
private previousActiveElement;
|
|
6548
|
+
private hostTokenObserver;
|
|
6549
|
+
private static readonly PORTAL_FORWARDED_TOKENS;
|
|
6550
|
+
private lastMirroredTokens;
|
|
5722
6551
|
handleDocumentEscape(event?: Event): void;
|
|
6552
|
+
handleDocumentSteppingKeydown(event: KeyboardEvent): void;
|
|
5723
6553
|
set isOpen(value: boolean);
|
|
5724
6554
|
get isOpen(): boolean;
|
|
5725
6555
|
private _resourcePath?;
|
|
6556
|
+
private readonly resourcePathSignal;
|
|
5726
6557
|
set resourcePath(value: string | undefined);
|
|
5727
6558
|
get resourcePath(): string | undefined;
|
|
5728
|
-
surfaceName: string;
|
|
5729
6559
|
private _drawerConfig;
|
|
5730
6560
|
set drawerConfig(value: TableDrawerConfig | null);
|
|
5731
6561
|
get drawerConfig(): TableDrawerConfig | null;
|
|
5732
6562
|
private _row;
|
|
5733
6563
|
set row(value: any | null);
|
|
5734
6564
|
get row(): any | null;
|
|
5735
|
-
|
|
6565
|
+
private _relations;
|
|
6566
|
+
set relations(value: Record<string, unknown>);
|
|
6567
|
+
get relations(): Record<string, unknown>;
|
|
6568
|
+
private _rows;
|
|
6569
|
+
set rows(value: readonly any[] | null | undefined);
|
|
6570
|
+
get rows(): readonly any[];
|
|
5736
6571
|
loadingRelations: boolean;
|
|
6572
|
+
surfacesHref?: string | null;
|
|
5737
6573
|
closeDrawer: EventEmitter<void>;
|
|
5738
6574
|
tabChange: EventEmitter<string>;
|
|
5739
6575
|
relationFetch: EventEmitter<{
|
|
5740
6576
|
key: string;
|
|
5741
6577
|
endpoint: string;
|
|
5742
6578
|
}>;
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
6579
|
+
rowChange: EventEmitter<any>;
|
|
6580
|
+
ruleClick: EventEmitter<{
|
|
6581
|
+
ruleCode: string;
|
|
6582
|
+
trailId: string;
|
|
6583
|
+
title: string;
|
|
6584
|
+
legalBasis?: string;
|
|
6585
|
+
}>;
|
|
6586
|
+
protected readonly drawerConfigSignal: _angular_core.WritableSignal<TableDrawerConfig | null>;
|
|
6587
|
+
protected readonly rowSignal: _angular_core.WritableSignal<any>;
|
|
6588
|
+
protected readonly rowsSignal: _angular_core.WritableSignal<readonly any[]>;
|
|
6589
|
+
protected readonly relationsSignal: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
6590
|
+
protected readonly activeTabId: _angular_core.WritableSignal<string>;
|
|
6591
|
+
protected readonly customRelations: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
6592
|
+
protected readonly isFetchingRelations: _angular_core.WritableSignal<boolean>;
|
|
6593
|
+
protected readonly resolvedRemoteConfig: _angular_core.WritableSignal<TableDrawerConfig | null>;
|
|
6594
|
+
protected readonly resolvedFieldLineage: _angular_core.WritableSignal<Record<string, {
|
|
6595
|
+
attributeId?: string;
|
|
6596
|
+
sourceResourceKey?: string;
|
|
6597
|
+
sourcePaths?: string[];
|
|
6598
|
+
transformation?: string;
|
|
6599
|
+
}>>;
|
|
6600
|
+
protected readonly resolvedSchemaFields: _angular_core.WritableSignal<FieldDefinition[]>;
|
|
6601
|
+
protected readonly resolvedResourceIdentity: _angular_core.WritableSignal<ResourceIdentityContract | null>;
|
|
6602
|
+
protected readonly resolvedResourceTitle: _angular_core.WritableSignal<string>;
|
|
6603
|
+
protected readonly resolvedResourceIcon: _angular_core.WritableSignal<string>;
|
|
6604
|
+
protected readonly resolvedSurfaces: _angular_core.WritableSignal<ResourceSurfaceCatalogItem[]>;
|
|
6605
|
+
protected readonly resolvedSurfaceChildrenState: _angular_core.WritableSignal<Record<string, {
|
|
6606
|
+
loading: boolean;
|
|
6607
|
+
error: boolean;
|
|
6608
|
+
rows: Record<string, unknown>[];
|
|
6609
|
+
}>>;
|
|
6610
|
+
protected readonly isResolvingSchema: _angular_core.WritableSignal<boolean>;
|
|
6611
|
+
protected readonly heroIdentity: _angular_core.Signal<MaterializedResourceIdentity | null>;
|
|
6612
|
+
protected readonly resolvedHeroMetadata: _angular_core.Signal<{
|
|
6613
|
+
field: string;
|
|
6614
|
+
label: string;
|
|
6615
|
+
value: string;
|
|
6616
|
+
}[]>;
|
|
5748
6617
|
private readonly evaluator;
|
|
5749
6618
|
private readonly http;
|
|
6619
|
+
private readonly injector;
|
|
5750
6620
|
private readonly drawerRegistry;
|
|
6621
|
+
private readonly schemaNormalizer;
|
|
5751
6622
|
private readonly apiUrl;
|
|
6623
|
+
private readonly runtimeContext;
|
|
5752
6624
|
private readonly sanitizer;
|
|
5753
6625
|
private readonly formattingService;
|
|
6626
|
+
private drawerPortal?;
|
|
6627
|
+
private readonly hostRef;
|
|
6628
|
+
private readonly overlay;
|
|
6629
|
+
private readonly viewContainerRef;
|
|
6630
|
+
private overlayRef;
|
|
6631
|
+
private readonly microTooltipOverlay;
|
|
6632
|
+
private readonly layerScale;
|
|
6633
|
+
private readonly decisionInspector;
|
|
6634
|
+
private readonly assistantLaunch;
|
|
6635
|
+
private readonly i18n;
|
|
6636
|
+
private readonly angularLocale;
|
|
6637
|
+
readonly calcMemoryViewModes: _angular_core.WritableSignal<Record<string, CalculationMemoryViewMode>>;
|
|
6638
|
+
protected readonly canAskAssistant: _angular_core.Signal<boolean>;
|
|
6639
|
+
protected readonly askDrawerAssistantLabel: _angular_core.Signal<string>;
|
|
6640
|
+
protected readonly askCalculationAssistantLabel: _angular_core.Signal<string>;
|
|
5754
6641
|
private relationSubs;
|
|
5755
6642
|
private schemaSub?;
|
|
5756
|
-
private
|
|
5757
|
-
private
|
|
6643
|
+
private surfaceDiscoverySub?;
|
|
6644
|
+
private surfaceDataSubs;
|
|
6645
|
+
private contextSub?;
|
|
6646
|
+
private lastSurfacesKey;
|
|
6647
|
+
private lastEndpointResourceKey;
|
|
6648
|
+
private lastEndpointSurfacesHref;
|
|
6649
|
+
private lastSchemaHasExplicitLayout;
|
|
6650
|
+
private static readonly relationCaches;
|
|
6651
|
+
private readonly relationCache;
|
|
6652
|
+
private relationEpoch;
|
|
6653
|
+
constructor();
|
|
5758
6654
|
private lastFetchedKey;
|
|
5759
6655
|
private lastResolvingKey;
|
|
6656
|
+
private schemaResolutionEpoch;
|
|
6657
|
+
private destroyed;
|
|
5760
6658
|
static clearCache(): void;
|
|
6659
|
+
private getContextScopePrefix;
|
|
5761
6660
|
private resolveUrl;
|
|
5762
6661
|
ngOnInit(): void;
|
|
6662
|
+
ngAfterViewInit(): void;
|
|
5763
6663
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5764
6664
|
ngOnDestroy(): void;
|
|
6665
|
+
private resolveDrawerContainerElement;
|
|
6666
|
+
private syncOverlayState;
|
|
6667
|
+
private disposeOverlay;
|
|
6668
|
+
private hasHigherActiveOverlay;
|
|
6669
|
+
private syncOverlayHostTokens;
|
|
6670
|
+
protected onMicroVizPointerOver(event: Event): void;
|
|
6671
|
+
protected onMicroVizPointerOut(event: Event): void;
|
|
6672
|
+
protected onMicroVizFocusIn(event: Event): void;
|
|
6673
|
+
protected onMicroVizFocusOut(event: Event): void;
|
|
6674
|
+
private dismissOwnedMicroTooltip;
|
|
5765
6675
|
getEffectiveDrawerConfig(): TableDrawerConfig | null;
|
|
5766
6676
|
private mergeTabs;
|
|
5767
6677
|
private resolveRemoteDrawerMetadata;
|
|
5768
|
-
|
|
6678
|
+
private shouldHydrateRemoteCalculationMemory;
|
|
6679
|
+
private hasCalculationMemoryConfigured;
|
|
6680
|
+
private mergeRemoteCalculationMemory;
|
|
6681
|
+
protected onClose(options?: {
|
|
6682
|
+
restoreFocus?: boolean;
|
|
6683
|
+
}): void;
|
|
5769
6684
|
protected onBackdropClick(event: MouseEvent): void;
|
|
6685
|
+
protected readonly totalRowsCount: _angular_core.Signal<number>;
|
|
6686
|
+
protected readonly currentRowIndex: _angular_core.Signal<number>;
|
|
6687
|
+
protected readonly canStepPrevious: _angular_core.Signal<boolean>;
|
|
6688
|
+
protected readonly canStepNext: _angular_core.Signal<boolean>;
|
|
6689
|
+
protected stepToPreviousRow(): void;
|
|
6690
|
+
protected stepToNextRow(): void;
|
|
6691
|
+
protected onRuleBadgeClick(trail: ResolvedCalculationTrailViewModel): void;
|
|
6692
|
+
protected onAskAssistant(): void;
|
|
6693
|
+
protected onAskCalculationMemory(section: ResolvedCalculationMemorySectionViewModel): void;
|
|
5770
6694
|
protected selectTab(tabId: string): void;
|
|
5771
6695
|
private getAnalyticalSchema;
|
|
5772
|
-
protected resolvedTabs:
|
|
6696
|
+
protected resolvedTabs: _angular_core.Signal<PraxisAnalyticalDrawerTab[]>;
|
|
5773
6697
|
private generateAutoOverviewProperties;
|
|
5774
6698
|
private formatPropertyLabel;
|
|
5775
|
-
protected resolvedTitle:
|
|
5776
|
-
protected resolvedSubtitle:
|
|
5777
|
-
protected resolvedClassificationPill:
|
|
5778
|
-
protected resolvedWidth:
|
|
6699
|
+
protected resolvedTitle: _angular_core.Signal<string>;
|
|
6700
|
+
protected resolvedSubtitle: _angular_core.Signal<string>;
|
|
6701
|
+
protected resolvedClassificationPill: _angular_core.Signal<string>;
|
|
6702
|
+
protected resolvedWidth: _angular_core.Signal<string>;
|
|
5779
6703
|
protected getDrawerIcon(): string;
|
|
6704
|
+
protected isAvatarImageUrl(value: unknown): boolean;
|
|
6705
|
+
protected resolveAvatarInitials(value: unknown): string;
|
|
6706
|
+
protected isLazySurfaceContent(content: unknown): boolean;
|
|
6707
|
+
protected asLazySurfaceConfig(content: unknown): ResourceSurfaceCatalogItem;
|
|
6708
|
+
protected getLazySurfaceState(surfaceId: string): {
|
|
6709
|
+
loading: boolean;
|
|
6710
|
+
error: boolean;
|
|
6711
|
+
rows: Record<string, unknown>[];
|
|
6712
|
+
};
|
|
6713
|
+
protected extractSurfaceRowEntries(row: Record<string, unknown>): Array<{
|
|
6714
|
+
key: string;
|
|
6715
|
+
label: string;
|
|
6716
|
+
value: string;
|
|
6717
|
+
}>;
|
|
6718
|
+
private resetLazySurfaceState;
|
|
6719
|
+
private resolveEffectiveSurfacesHref;
|
|
6720
|
+
private triggerLazySurfacesDiscoveryIfNeeded;
|
|
6721
|
+
protected loadLazySurfaceTabData(surface: ResourceSurfaceCatalogItem, force?: boolean): void;
|
|
6722
|
+
private synthesizeZeroConfigDrawerSchema;
|
|
6723
|
+
private inferDrawerMetricFormat;
|
|
5780
6724
|
protected getEvaluationContext(): Record<string, unknown>;
|
|
5781
6725
|
protected isCardGridContent(content: unknown): boolean;
|
|
5782
6726
|
protected asCardGrid(content: unknown): {
|
|
@@ -5789,14 +6733,40 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
5789
6733
|
protected isPropertyGrid(content: unknown): boolean;
|
|
5790
6734
|
protected asPropertyGrid(content: unknown): any[];
|
|
5791
6735
|
protected isArray(val: unknown): boolean;
|
|
6736
|
+
protected isCalculationMemoryContent(content: unknown): boolean;
|
|
6737
|
+
protected hasRootCalculationMemory(): boolean;
|
|
6738
|
+
protected resolveRootCalculationMemorySection(): ResolvedCalculationMemorySectionViewModel | null;
|
|
6739
|
+
protected resolveCalculationMemorySection(raw: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[] | unknown): ResolvedCalculationMemorySectionViewModel | null;
|
|
6740
|
+
private isCalculationTrailVisible;
|
|
6741
|
+
private resolveCalculationTrail;
|
|
6742
|
+
getCalculationViewMode(trailId: string): CalculationMemoryViewMode;
|
|
6743
|
+
setCalculationViewMode(trailId: string, mode: CalculationMemoryViewMode): void;
|
|
6744
|
+
resolveTableText(key: string, fallback: string, params?: PraxisTranslationParams): string;
|
|
6745
|
+
private resolveDrawerLocale;
|
|
6746
|
+
private resolveTrailBridgeSteps;
|
|
6747
|
+
private formatBridgeNumberLike;
|
|
6748
|
+
private resolveTrailWaterfallSegments;
|
|
6749
|
+
private resolveCalculationSteps;
|
|
6750
|
+
private evaluateCalculationValueWithNumeric;
|
|
6751
|
+
private evaluateAndFormatCalculationValue;
|
|
6752
|
+
private parsePrecisionDigits;
|
|
6753
|
+
private evalRawExpression;
|
|
6754
|
+
private evalStringText;
|
|
5792
6755
|
protected evaluateAndFormatMetric(item: any): string;
|
|
5793
6756
|
protected evaluatePropertyValue(item: any): string;
|
|
6757
|
+
protected getItemLineage(item: any): {
|
|
6758
|
+
label: string;
|
|
6759
|
+
tooltip: string;
|
|
6760
|
+
} | null;
|
|
6761
|
+
private readonly microVizSafeHtmlCache;
|
|
5794
6762
|
protected renderMicroViz(viz: PraxisPresentationVisualizationConfig | undefined, item: any): SafeHtml;
|
|
5795
6763
|
private syncActiveTab;
|
|
5796
6764
|
private fetchConfiguredRelations;
|
|
6765
|
+
private invalidateRelations;
|
|
5797
6766
|
private cancelRelationRequests;
|
|
5798
|
-
|
|
5799
|
-
static
|
|
6767
|
+
private postCanonicalFilterRelation;
|
|
6768
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
|
|
6769
|
+
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
6770
|
}
|
|
5801
6771
|
|
|
5802
6772
|
type AnalyticalDrawerSchemaOrConfig = PraxisAnalyticalDrawerSchema | TableDrawerConfig;
|
|
@@ -5815,8 +6785,8 @@ declare class AnalyticalDrawerRegistryService {
|
|
|
5815
6785
|
has(resourcePath: string): boolean;
|
|
5816
6786
|
clear(): void;
|
|
5817
6787
|
normalizeKey(path: string | undefined | null): string;
|
|
5818
|
-
static ɵfac:
|
|
5819
|
-
static ɵprov:
|
|
6788
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnalyticalDrawerRegistryService, never>;
|
|
6789
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AnalyticalDrawerRegistryService>;
|
|
5820
6790
|
}
|
|
5821
6791
|
|
|
5822
6792
|
interface ComputedFieldsEvaluationOptions {
|
|
@@ -5840,5 +6810,33 @@ declare function formatComputedFieldValue(value: unknown, format?: string, type?
|
|
|
5840
6810
|
*/
|
|
5841
6811
|
declare function applyComputedFieldsToRows<T extends Record<string, any> = Record<string, any>>(rows: T[], computedFieldsConfig?: PraxisComputedFieldsConfig | null, options?: ComputedFieldsEvaluationOptions): T[];
|
|
5842
6812
|
|
|
5843
|
-
|
|
5844
|
-
|
|
6813
|
+
/** Raw compact schema authorship only; native normalization remains an editor/runtime projection. */
|
|
6814
|
+
declare function decodeTablePageInputs(value: unknown): {
|
|
6815
|
+
document: TableAuthoringDocument | null;
|
|
6816
|
+
diagnostics: EditorDiagnostic[];
|
|
6817
|
+
};
|
|
6818
|
+
/** Core prefixes these widget-relative JSON Pointers; this callback never resolves a source/latest. */
|
|
6819
|
+
declare function validateTablePageWidget(widget: WidgetInstance): readonly {
|
|
6820
|
+
code: string;
|
|
6821
|
+
path: string;
|
|
6822
|
+
}[];
|
|
6823
|
+
declare function encodeTablePageInputs(value: unknown): {
|
|
6824
|
+
inputs: Record<string, unknown> | null;
|
|
6825
|
+
diagnostics: EditorDiagnostic[];
|
|
6826
|
+
};
|
|
6827
|
+
/** No-change values in a materialized native editor cannot author defaults or erase absent keys. */
|
|
6828
|
+
declare function projectTablePageEditorChanges(authoredInputs: unknown, editorBaseline: unknown, editorValue: unknown): {
|
|
6829
|
+
inputs: Record<string, unknown> | null;
|
|
6830
|
+
diagnostics: EditorDiagnostic[];
|
|
6831
|
+
};
|
|
6832
|
+
/** Derive execution-only identity and disable independent preferences. Never persist this projection. */
|
|
6833
|
+
declare function materializeTablePageRuntimeInputs(value: unknown, pageId: string, widgetKey: string, options?: {
|
|
6834
|
+
preview?: boolean;
|
|
6835
|
+
}): {
|
|
6836
|
+
inputs: Record<string, unknown> | null;
|
|
6837
|
+
diagnostics: EditorDiagnostic[];
|
|
6838
|
+
};
|
|
6839
|
+
declare const TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER: GovernedPagePreviewWidgetAdapter;
|
|
6840
|
+
|
|
6841
|
+
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 };
|
|
6842
|
+
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 };
|