@praxisui/table 10.0.0-rc.31 → 10.0.0-rc.33
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 +1 -1
- package/ai/component-registry.json +958 -224
- package/docs/dynamic-filter-host-integration-guide.md +21 -0
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DANYIQs6.mjs → praxisui-table-filter-form-dialog-host.component-CN4pADPh.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-CPAjJGGd.mjs → praxisui-table-praxisui-table-J6jBxItd.mjs} +2061 -362
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-CITekGF7.mjs → praxisui-table-table-agentic-authoring-turn-flow-rii72oJn.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-CBRNHKvA.mjs → praxisui-table-table-ai.adapter-CBpOO8mr.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +127 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import { ar as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-
|
|
3
|
+
import { ar as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-J6jBxItd.mjs';
|
|
4
4
|
|
|
5
5
|
class TableAgenticAuthoringTurnFlow {
|
|
6
6
|
adapter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { firstValueFrom } from 'rxjs';
|
|
2
2
|
import { BaseAiAdapter, sanitizePraxisAssistantText, createComponentAuthoringContext } from '@praxisui/ai';
|
|
3
3
|
import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
|
|
4
|
-
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a6 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlans, Y as TASK_PRESETS, ae as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-
|
|
4
|
+
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a6 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlans, Y as TASK_PRESETS, ae as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-J6jBxItd.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TASK_PRESETS, Z as TableDefaultsProvider, _ as TableRulesEditorComponent, $ as ToolbarActionsEditorComponent, a0 as ValueMappingEditorComponent, a1 as VisualFormulaBuilderComponent, a2 as analyticsComparisonMetricField, a3 as applyComputedFieldsToRows, a4 as buildTableApplyPlan, a5 as coerceTableComponentEditPlan, a6 as coerceTableComponentEditPlans, a7 as compileTableComponentEditPlan, a8 as compileTableComponentEditPlans, a9 as createTableAuthoringDocument, aa as formatComputedFieldValue, ab as getActionId, ac as getEnum, ad as getTableCapabilities, ae as getTableComponentEditPlanCapabilities, af as interpolateRelationEndpoint, ag as isAnalyticalDrawerSchema, ah as isTableRendererSupportedByRichContentP0, ai as mapTableRendererToRichContentP0, aj as normalizeComputedFieldDefinition, ak as normalizeTableAuthoringDocument, al as parseLegacyOrTableDocument, am as providePraxisAnalyticalDrawerSchemas, an as providePraxisFilterMetadata, ao as providePraxisTableMetadata, ap as providePraxisTableToolbarAppearance, aq as serializeTableAuthoringDocument, as as toCanonicalTableConfig, at as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-
|
|
1
|
+
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TASK_PRESETS, Z as TableDefaultsProvider, _ as TableRulesEditorComponent, $ as ToolbarActionsEditorComponent, a0 as ValueMappingEditorComponent, a1 as VisualFormulaBuilderComponent, a2 as analyticsComparisonMetricField, a3 as applyComputedFieldsToRows, a4 as buildTableApplyPlan, a5 as coerceTableComponentEditPlan, a6 as coerceTableComponentEditPlans, a7 as compileTableComponentEditPlan, a8 as compileTableComponentEditPlans, a9 as createTableAuthoringDocument, aa as formatComputedFieldValue, ab as getActionId, ac as getEnum, ad as getTableCapabilities, ae as getTableComponentEditPlanCapabilities, af as interpolateRelationEndpoint, ag as isAnalyticalDrawerSchema, ah as isTableRendererSupportedByRichContentP0, ai as mapTableRendererToRichContentP0, aj as normalizeComputedFieldDefinition, ak as normalizeTableAuthoringDocument, al as parseLegacyOrTableDocument, am as providePraxisAnalyticalDrawerSchemas, an as providePraxisFilterMetadata, ao as providePraxisTableMetadata, ap as providePraxisTableToolbarAppearance, aq as serializeTableAuthoringDocument, as as toCanonicalTableConfig, at as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-J6jBxItd.mjs';
|
|
2
2
|
export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.33",
|
|
4
4
|
"description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/platform-browser": "^21.0.0",
|
|
9
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/ai": "^10.0.0-rc.33",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.33",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.33",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.33",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.33",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.33",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.33",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.33",
|
|
17
17
|
"@angular/cdk": "^21.0.0",
|
|
18
18
|
"@angular/forms": "^21.0.0",
|
|
19
19
|
"@angular/material": "^21.0.0",
|
|
20
20
|
"@angular/router": "^21.0.0",
|
|
21
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
21
|
+
"@praxisui/dialog": "^10.0.0-rc.33",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -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 { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, 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, ResourceSurfaceCatalogItem, ResourceCapabilityOperation, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, TableConfigService, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, PraxisAnalyticalDrawerTab, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition } from '@praxisui/core';
|
|
2
|
+
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, 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, ResourceSurfaceCatalogItem, ResourceCapabilityOperation, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, TableConfigService, SettingsValueProvider as SettingsValueProvider$1, ApiEndpoint, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, PraxisAnalyticalDrawerTab, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition } from '@praxisui/core';
|
|
5
3
|
export { DynamicDataCollection, DynamicDataRecord, DynamicRecordMeta, ResourceLinkItem, ResourceLinks, createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
|
4
|
+
import * as i0 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';
|
|
@@ -454,6 +454,7 @@ declare class TableDefaultsProvider {
|
|
|
454
454
|
constructor(global: GlobalConfigService);
|
|
455
455
|
/**
|
|
456
456
|
* Returns default configuration for a given table identifier.
|
|
457
|
+
* Precedence inside defaults: GlobalConfig.table > createDefaultTableConfig().
|
|
457
458
|
* @param tableId Table identifier
|
|
458
459
|
*/
|
|
459
460
|
getDefaults(_tableId: string): TableConfig;
|
|
@@ -519,6 +520,14 @@ type FilterConfig = {
|
|
|
519
520
|
useInlineTimeRangeVariant?: boolean;
|
|
520
521
|
/** Opt-out para mapear treeSelect/multiSelectTree na variante compacta inline. */
|
|
521
522
|
useInlineTreeSelectVariant?: boolean;
|
|
523
|
+
/** Opt-out para mapear select simples na variante compacta inline. */
|
|
524
|
+
useInlineSelectVariant?: boolean;
|
|
525
|
+
/** Opt-out para mapear multiSelect/chipInput na variante compacta inline. */
|
|
526
|
+
useInlineMultiSelectVariant?: boolean;
|
|
527
|
+
/** Opt-out para mapear input/searchInput na variante compacta inline. */
|
|
528
|
+
useInlineInputVariant?: boolean;
|
|
529
|
+
/** Opt-out para mapear toggle/checkbox/switch na variante compacta inline. */
|
|
530
|
+
useInlineToggleVariant?: boolean;
|
|
522
531
|
overlayVariant?: 'card' | 'frosted';
|
|
523
532
|
overlayBackdrop?: boolean;
|
|
524
533
|
advancedOpenMode?: 'overlay' | 'modal' | 'drawer';
|
|
@@ -1428,7 +1437,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1428
1437
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1429
1438
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
1430
1439
|
private static readonly ROW_ANIMATION_PRESET_ALIASES;
|
|
1440
|
+
static ngAcceptInputType_config: TableConfigInput;
|
|
1431
1441
|
config: TableConfig;
|
|
1442
|
+
private hostInputConfig?;
|
|
1443
|
+
private persistedUserConfig?;
|
|
1432
1444
|
resourcePath: string;
|
|
1433
1445
|
data: any[] | null;
|
|
1434
1446
|
tableId: string;
|
|
@@ -1443,9 +1455,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1443
1455
|
autoOpenSettingsOnOutdated: boolean;
|
|
1444
1456
|
crudContext: any;
|
|
1445
1457
|
filterCriteria: Record<string, any>;
|
|
1446
|
-
|
|
1458
|
+
readonly filterCriteriaChange: EventEmitter<Record<string, any>>;
|
|
1459
|
+
private _filterTeleport;
|
|
1460
|
+
set filterTeleport(value: boolean);
|
|
1461
|
+
get filterTeleport(): boolean;
|
|
1447
1462
|
widgetId?: string;
|
|
1448
|
-
|
|
1463
|
+
readonly filterTemplateSignal: i0.WritableSignal<TemplateRef<unknown> | undefined>;
|
|
1464
|
+
private _filterBarTemplate?;
|
|
1465
|
+
set filterBarTemplate(tpl: TemplateRef<unknown> | undefined);
|
|
1466
|
+
get filterBarTemplate(): TemplateRef<unknown> | undefined;
|
|
1449
1467
|
get filterTemplate(): TemplateRef<unknown> | undefined;
|
|
1450
1468
|
private readonly widgetEventBus;
|
|
1451
1469
|
queryContext: PraxisDataQueryContextBridge | null;
|
|
@@ -1854,6 +1872,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1854
1872
|
private tableConfigKey;
|
|
1855
1873
|
private filterConfigKey;
|
|
1856
1874
|
private ensureConfigDefaults;
|
|
1875
|
+
private recomposeEffectiveTableConfig;
|
|
1857
1876
|
private hasDeclaredAppearanceDensity;
|
|
1858
1877
|
private hasDeclaredAppearanceSection;
|
|
1859
1878
|
private shouldApplyAppearanceDefaultValue;
|
|
@@ -2372,6 +2391,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2372
2391
|
private syncQuickFilterStateFromEffectiveCriteria;
|
|
2373
2392
|
private clearQuickFilterRuntimeState;
|
|
2374
2393
|
private hasEquivalentFilterCriteria;
|
|
2394
|
+
private lastAppliedFilterCriteria;
|
|
2375
2395
|
applyAdvancedFilterCriteria(criteria: Record<string, any> | null | undefined, reason?: string): void;
|
|
2376
2396
|
private setAdvancedFilterCriteria;
|
|
2377
2397
|
private syncAdvancedFilterValueFromCriteria;
|
|
@@ -2755,6 +2775,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2755
2775
|
private isColumnFiltersSupported;
|
|
2756
2776
|
private isRowDraggingSupported;
|
|
2757
2777
|
private isRowExpansionSupported;
|
|
2778
|
+
private hasComplementarySchemaExpansionFields;
|
|
2758
2779
|
private enforceAppearanceSchemaGuards;
|
|
2759
2780
|
private enforceUnsupportedFeatureGuards;
|
|
2760
2781
|
getToolbarEvaluationContext(): Record<string, any>;
|
|
@@ -2811,8 +2832,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2811
2832
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2812
2833
|
shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
|
|
2813
2834
|
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
|
|
2835
|
+
private readonly microVisualizationSafeHtmlCache;
|
|
2836
|
+
private readonly microVisualizationPageBoundsCache;
|
|
2814
2837
|
getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
|
|
2815
2838
|
private resolveMicroVisualizationForRow;
|
|
2839
|
+
private resolvePageMicroVisualizationBounds;
|
|
2816
2840
|
private applyMicroVisualizationExpression;
|
|
2817
2841
|
private evaluateMicroVisualizationExpression;
|
|
2818
2842
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
@@ -3065,7 +3089,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
3065
3089
|
private scheduleRowDiscoveryMarkForCheck;
|
|
3066
3090
|
ngOnDestroy(): void;
|
|
3067
3091
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTable, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3068
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "authoringCapability": { "alias": "authoringCapability"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "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>;
|
|
3092
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "authoringCapability": { "alias": "authoringCapability"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "filterCriteriaChange": "filterCriteriaChange"; "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "resourceEvent": "resourceEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "columnResize": "columnResize"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
3069
3093
|
static ngAcceptInputType_filterTeleport: unknown;
|
|
3070
3094
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
3071
3095
|
}
|
|
@@ -3364,6 +3388,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3364
3388
|
isOverrideMicroVisualizationSegmentsKind(): boolean;
|
|
3365
3389
|
isOverrideMicroVisualizationItemsKind(): boolean;
|
|
3366
3390
|
isOverrideMicroVisualizationTotalKind(): boolean;
|
|
3391
|
+
isOverrideMicroVisualizationTargetKind(): boolean;
|
|
3392
|
+
isOverrideMicroVisualizationBaselineKind(): boolean;
|
|
3393
|
+
isOverrideMicroVisualizationSuffixKind(): boolean;
|
|
3394
|
+
isOverrideMicroVisualizationScaleBoundsKind(): boolean;
|
|
3395
|
+
isOverrideMicroVisualizationScaleScopeKind(): boolean;
|
|
3367
3396
|
isOverrideMicroVisualizationThresholdsSupported(): boolean;
|
|
3368
3397
|
getOverrideMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
|
|
3369
3398
|
addOverrideMicroVisualizationThreshold(): void;
|
|
@@ -3488,7 +3517,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3488
3517
|
moveMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
|
|
3489
3518
|
removeMicroVisualizationThreshold(index: number): void;
|
|
3490
3519
|
setMicroVisualizationSampleValuesText(raw: string): void;
|
|
3520
|
+
private readonly sanitizer;
|
|
3521
|
+
private readonly microVisualizationPreviewSafeHtmlCache;
|
|
3522
|
+
private memoizeMicroVisualizationSafeHtml;
|
|
3491
3523
|
getMicroVisualizationSampleValues(): number[];
|
|
3524
|
+
getPreviewMicroVisualizationSafeHtmlForValue(sampleValue: number): SafeHtml;
|
|
3492
3525
|
getPreviewMicroVisualizationHtmlForValue(sampleValue: number): string;
|
|
3493
3526
|
private _deepClone;
|
|
3494
3527
|
hasSelectedRenderer(): boolean;
|
|
@@ -3538,7 +3571,9 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3538
3571
|
getPreviewChipClasses(row?: any): string[];
|
|
3539
3572
|
getComposePreviewButtonLabel(item: any, row: any): string;
|
|
3540
3573
|
getPreviewProgressValue(row: any): number;
|
|
3574
|
+
getPreviewMicroVisualizationSafeHtml(row: any): SafeHtml;
|
|
3541
3575
|
getPreviewMicroVisualizationHtml(row: any): string;
|
|
3576
|
+
private resolvePreviewMicroVisualizationConfig;
|
|
3542
3577
|
getMicroVisualizationGuidance(): 'recommended' | 'conditional';
|
|
3543
3578
|
getMicroVisualizationKind(): PraxisPresentationVisualizationKind;
|
|
3544
3579
|
isMicroVisualizationValueKind(): boolean;
|
|
@@ -3546,6 +3581,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3546
3581
|
isMicroVisualizationSegmentsKind(): boolean;
|
|
3547
3582
|
isMicroVisualizationItemsKind(): boolean;
|
|
3548
3583
|
isMicroVisualizationTotalKind(): boolean;
|
|
3584
|
+
isMicroVisualizationTargetKind(): boolean;
|
|
3585
|
+
isMicroVisualizationBaselineKind(): boolean;
|
|
3586
|
+
isMicroVisualizationSuffixKind(): boolean;
|
|
3587
|
+
isMicroVisualizationScaleBoundsKind(): boolean;
|
|
3588
|
+
isMicroVisualizationScaleScopeKind(): boolean;
|
|
3549
3589
|
getMicroVisualizationGuidanceText(): string;
|
|
3550
3590
|
getMicroVisualizationConstraint(): PraxisTableCellVisualizationConstraint;
|
|
3551
3591
|
getPreviewRatingValue(row: any): number;
|
|
@@ -4765,13 +4805,18 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4765
4805
|
filterDtoMetas: FieldMetadata[];
|
|
4766
4806
|
filterDtoMetasLoading: boolean;
|
|
4767
4807
|
filterDtoMetasErrorMsg: string;
|
|
4808
|
+
resourceSchemaFields: FieldDefinition[];
|
|
4809
|
+
resourceSchemaMetas: FieldMetadata[];
|
|
4810
|
+
resourceSchemaLoading: boolean;
|
|
4768
4811
|
private hasCrudOverridesDirty;
|
|
4769
4812
|
private hasLocalDataInput;
|
|
4770
4813
|
private filterDtoLoadSeq;
|
|
4814
|
+
private resourceSchemaLoadSeq;
|
|
4771
4815
|
private lastKnownFilterSettings;
|
|
4772
4816
|
private globalActionValidationIssues;
|
|
4773
4817
|
private readonly panelData;
|
|
4774
4818
|
private readonly crudService;
|
|
4819
|
+
private readonly resourceDiscovery;
|
|
4775
4820
|
private readonly panelRef;
|
|
4776
4821
|
constructor(cdr: ChangeDetectorRef, configService: TableConfigService);
|
|
4777
4822
|
tx(key: string, fallback: string): string;
|
|
@@ -4791,6 +4836,7 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4791
4836
|
getFilterSettingsMetas(): FieldMetadata[];
|
|
4792
4837
|
getColumnAuthoringMetas(): FieldMetadata[];
|
|
4793
4838
|
get filteredIdFieldOptions(): FieldMetadata[];
|
|
4839
|
+
getFilteredQuickFilterFieldOptions(currentValue?: string): FieldMetadata[];
|
|
4794
4840
|
isUsingFilterDtoMetas(): boolean;
|
|
4795
4841
|
get toolbarFiltersEnabled(): boolean;
|
|
4796
4842
|
get toolbarShowQuickFilters(): boolean;
|
|
@@ -4862,7 +4908,12 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4862
4908
|
private hasAdvancedSettingsProperty;
|
|
4863
4909
|
private syncLastKnownFilterSettingsFromEditedConfig;
|
|
4864
4910
|
onResourcePathChange(val: string): void;
|
|
4911
|
+
get resourceEndpointKey(): any;
|
|
4912
|
+
get resourceApiUrlEntry(): any;
|
|
4913
|
+
private getResourceDiscoveryOptions;
|
|
4914
|
+
private canUseResourceDiscovery;
|
|
4865
4915
|
private loadFilterDtoMetas;
|
|
4916
|
+
private loadResourceSchemaMetas;
|
|
4866
4917
|
onIdFieldChange(val: string): void;
|
|
4867
4918
|
onIdFieldOptionSelected(value: string): void;
|
|
4868
4919
|
get mobileCardMode(): boolean;
|
|
@@ -4927,6 +4978,8 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4927
4978
|
interface PraxisTableWidgetEditorInputs {
|
|
4928
4979
|
config?: TableConfig | null;
|
|
4929
4980
|
resourcePath?: string | null;
|
|
4981
|
+
endpointKey?: ApiEndpoint;
|
|
4982
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4930
4983
|
horizontalScroll?: 'auto' | 'wrap' | 'none';
|
|
4931
4984
|
tableId?: string;
|
|
4932
4985
|
componentInstanceId?: string;
|
|
@@ -4964,6 +5017,8 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
4964
5017
|
interface PraxisFilterWidgetEditorInputs {
|
|
4965
5018
|
presentation?: FilterConfig['presentation'];
|
|
4966
5019
|
resourcePath?: string | null;
|
|
5020
|
+
endpointKey?: ApiEndpoint;
|
|
5021
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
4967
5022
|
fieldMetadata?: FieldMetadata[] | null;
|
|
4968
5023
|
filterId?: string;
|
|
4969
5024
|
formId?: string;
|
|
@@ -4985,6 +5040,10 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4985
5040
|
actionsButtonColor?: 'primary' | 'accent' | 'warn' | 'basic';
|
|
4986
5041
|
actionsVariant?: 'standard' | 'outlined';
|
|
4987
5042
|
useInlineSearchableSelectVariant?: boolean;
|
|
5043
|
+
useInlineSelectVariant?: boolean;
|
|
5044
|
+
useInlineMultiSelectVariant?: boolean;
|
|
5045
|
+
useInlineInputVariant?: boolean;
|
|
5046
|
+
useInlineToggleVariant?: boolean;
|
|
4988
5047
|
useInlineRangeVariant?: boolean;
|
|
4989
5048
|
useInlineDateVariant?: boolean;
|
|
4990
5049
|
useInlineDateRangeVariant?: boolean;
|
|
@@ -5008,6 +5067,7 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
5008
5067
|
widgetKey?: string;
|
|
5009
5068
|
resourceEditor?: ResourceQuickConnectComponent;
|
|
5010
5069
|
private readonly crud;
|
|
5070
|
+
private readonly resourceDiscovery;
|
|
5011
5071
|
private readonly cdr;
|
|
5012
5072
|
private readonly i18n;
|
|
5013
5073
|
resourceError: boolean;
|
|
@@ -5018,6 +5078,7 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
5018
5078
|
private fieldRequest;
|
|
5019
5079
|
tx(key: string): string;
|
|
5020
5080
|
ngAfterViewInit(): void;
|
|
5081
|
+
onResourcePathChange(nextPath: string): void;
|
|
5021
5082
|
loadResourceFields(markDirty?: boolean): Promise<void>;
|
|
5022
5083
|
private optionalInject;
|
|
5023
5084
|
set inputs(value: PraxisFilterWidgetEditorInputs | null);
|
|
@@ -5056,7 +5117,8 @@ interface PraxisFilterTeleportHost {
|
|
|
5056
5117
|
filterTeleport?: boolean;
|
|
5057
5118
|
filterTemplate?: TemplateRef<unknown>;
|
|
5058
5119
|
filterBarTemplate?: TemplateRef<unknown>;
|
|
5059
|
-
|
|
5120
|
+
filterTemplateSignal?: () => TemplateRef<unknown> | undefined;
|
|
5121
|
+
internalTable?: PraxisFilterTeleportHost;
|
|
5060
5122
|
}
|
|
5061
5123
|
type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown> | null | undefined;
|
|
5062
5124
|
/**
|
|
@@ -5077,11 +5139,14 @@ type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown>
|
|
|
5077
5139
|
declare class PraxisFilterOutletComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
5078
5140
|
target: PraxisFilterOutletTarget;
|
|
5079
5141
|
private readonly cdr;
|
|
5142
|
+
private readonly targetSignal;
|
|
5080
5143
|
private previousHost?;
|
|
5144
|
+
constructor();
|
|
5081
5145
|
get resolvedTemplate(): TemplateRef<unknown> | null;
|
|
5082
5146
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5083
5147
|
ngAfterViewInit(): void;
|
|
5084
5148
|
ngOnDestroy(): void;
|
|
5149
|
+
private detachPreviousHost;
|
|
5085
5150
|
private attachTeleportTarget;
|
|
5086
5151
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilterOutletComponent, never>;
|
|
5087
5152
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilterOutletComponent, "praxis-filter-outlet", never, { "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -5102,10 +5167,14 @@ declare class PraxisFilterOutletDirective implements OnChanges, AfterViewInit, O
|
|
|
5102
5167
|
target: PraxisFilterOutletTarget;
|
|
5103
5168
|
private readonly viewContainer;
|
|
5104
5169
|
private readonly cdr;
|
|
5170
|
+
private readonly targetSignal;
|
|
5105
5171
|
private previousHost?;
|
|
5172
|
+
private renderedTemplate;
|
|
5173
|
+
constructor();
|
|
5106
5174
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5107
5175
|
ngAfterViewInit(): void;
|
|
5108
5176
|
ngOnDestroy(): void;
|
|
5177
|
+
private detachPreviousHost;
|
|
5109
5178
|
private updateView;
|
|
5110
5179
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilterOutletDirective, never>;
|
|
5111
5180
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PraxisFilterOutletDirective, "[praxisFilterOutlet]", never, { "target": { "alias": "praxisFilterOutlet"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -5121,6 +5190,12 @@ interface PraxisScopeBarItem {
|
|
|
5121
5190
|
isDefault?: boolean;
|
|
5122
5191
|
tooltip?: string;
|
|
5123
5192
|
}
|
|
5193
|
+
interface PraxisScopeBarActiveBadge {
|
|
5194
|
+
key: string;
|
|
5195
|
+
label: string;
|
|
5196
|
+
valueText: string;
|
|
5197
|
+
source: 'scope' | 'search' | 'external';
|
|
5198
|
+
}
|
|
5124
5199
|
interface PraxisScopeBarConfig {
|
|
5125
5200
|
items?: PraxisScopeBarItem[];
|
|
5126
5201
|
activeId?: string;
|
|
@@ -5131,20 +5206,37 @@ interface PraxisScopeBarConfig {
|
|
|
5131
5206
|
showClearButton?: boolean;
|
|
5132
5207
|
clearLabel?: string;
|
|
5133
5208
|
searchField?: string;
|
|
5209
|
+
targetWidgetId?: string;
|
|
5210
|
+
targetWidgetIds?: string[];
|
|
5211
|
+
showActiveFilterSummary?: boolean;
|
|
5212
|
+
filterLabels?: Record<string, string>;
|
|
5134
5213
|
}
|
|
5135
5214
|
declare class PraxisScopeBarComponent implements OnInit {
|
|
5136
5215
|
private readonly eventBus;
|
|
5137
5216
|
private readonly i18n;
|
|
5138
5217
|
private readonly destroyRef;
|
|
5218
|
+
private targetFilterSubscription?;
|
|
5219
|
+
private isApplyingCriteriaToTarget;
|
|
5139
5220
|
protected scopeNavigationLabel(): string;
|
|
5221
|
+
protected scopeSearchAriaLabel(): string;
|
|
5222
|
+
protected scopeClearSearchTitle(): string;
|
|
5223
|
+
protected scopeClearSearchAriaLabel(): string;
|
|
5224
|
+
protected scopeFiltersAriaLabel(): string;
|
|
5225
|
+
protected scopeActiveSummaryAriaLabel(): string;
|
|
5226
|
+
protected scopeActiveSummaryLabel(): string;
|
|
5227
|
+
protected scopeRemoveCriterionAriaLabel(label: string): string;
|
|
5228
|
+
protected scopeActiveFilterCountAriaLabel(count: number): string;
|
|
5140
5229
|
chipsTrack?: ElementRef<HTMLElement>;
|
|
5230
|
+
set config(val: PraxisScopeBarConfig | undefined | null);
|
|
5141
5231
|
private readonly itemsSignal;
|
|
5142
5232
|
set items(val: PraxisScopeBarItem[] | undefined);
|
|
5143
5233
|
get items(): PraxisScopeBarItem[] | undefined;
|
|
5144
5234
|
set activeId(val: string | undefined);
|
|
5145
5235
|
get activeId(): string | undefined;
|
|
5146
5236
|
readonly activeIdChange: EventEmitter<string>;
|
|
5147
|
-
|
|
5237
|
+
private readonly showOmniboxSignal;
|
|
5238
|
+
set showOmnibox(val: boolean);
|
|
5239
|
+
get showOmnibox(): boolean;
|
|
5148
5240
|
omniboxPlaceholder: string;
|
|
5149
5241
|
set omniboxValue(val: string | undefined);
|
|
5150
5242
|
get omniboxValue(): string | undefined;
|
|
@@ -5154,10 +5246,21 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
5154
5246
|
leadLabel?: string;
|
|
5155
5247
|
showClearButton: boolean;
|
|
5156
5248
|
clearLabel: string;
|
|
5249
|
+
private readonly showActiveFilterSummarySignal;
|
|
5250
|
+
set showActiveFilterSummary(val: boolean);
|
|
5251
|
+
get showActiveFilterSummary(): boolean;
|
|
5252
|
+
private readonly activeFiltersSignal;
|
|
5253
|
+
set activeFilters(val: Record<string, unknown> | undefined | null);
|
|
5254
|
+
get activeFilters(): Record<string, unknown>;
|
|
5255
|
+
readonly activeFiltersChange: EventEmitter<Record<string, unknown>>;
|
|
5256
|
+
private readonly filterLabelsSignal;
|
|
5257
|
+
set filterLabels(val: Record<string, string> | undefined | null);
|
|
5258
|
+
get filterLabels(): Record<string, string>;
|
|
5157
5259
|
private readonly targetSignal;
|
|
5158
5260
|
set target(val: any);
|
|
5159
5261
|
get target(): any;
|
|
5160
5262
|
targetWidgetId?: string;
|
|
5263
|
+
targetWidgetIds?: string[];
|
|
5161
5264
|
scopeBarId: string;
|
|
5162
5265
|
searchField: string;
|
|
5163
5266
|
readonly scopeChange: EventEmitter<PraxisScopeBarItem>;
|
|
@@ -5168,23 +5271,34 @@ declare class PraxisScopeBarComponent implements OnInit {
|
|
|
5168
5271
|
readonly currentActiveId: i0.WritableSignal<string | null>;
|
|
5169
5272
|
readonly currentSearchText: i0.WritableSignal<string>;
|
|
5170
5273
|
readonly effectiveItems: i0.Signal<PraxisScopeBarItem[]>;
|
|
5274
|
+
readonly resolvedActiveId: i0.Signal<string | null>;
|
|
5275
|
+
readonly hasMainRow: i0.Signal<boolean>;
|
|
5276
|
+
readonly activeFilterBadges: i0.Signal<PraxisScopeBarActiveBadge[]>;
|
|
5277
|
+
readonly activeFilterCount: i0.Signal<number>;
|
|
5171
5278
|
ngOnInit(): void;
|
|
5172
5279
|
isItemActive(item: PraxisScopeBarItem): boolean;
|
|
5173
5280
|
selectScope(item: PraxisScopeBarItem): void;
|
|
5174
5281
|
onSearchInput(event: Event): void;
|
|
5175
5282
|
clearSearch(): void;
|
|
5283
|
+
removeFilterCriterion(key: string): void;
|
|
5176
5284
|
resetFilters(): void;
|
|
5177
5285
|
canClear(): boolean;
|
|
5178
5286
|
onTrackKeydown(event: KeyboardEvent): void;
|
|
5287
|
+
private resolveTargetWidgetIds;
|
|
5179
5288
|
private dispatchFilters;
|
|
5180
5289
|
private applyCriteriaToTarget;
|
|
5290
|
+
private bindTargetFilterCriteria;
|
|
5291
|
+
private getScopeManagedKeys;
|
|
5181
5292
|
private discoverItemsFromTarget;
|
|
5293
|
+
private humanizeKey;
|
|
5294
|
+
private formatCriterionValue;
|
|
5182
5295
|
private normalizeFilter;
|
|
5183
5296
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisScopeBarComponent, never>;
|
|
5184
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisScopeBarComponent, "praxis-scope-bar", never, { "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; }; "target": { "alias": "target"; "required": false; }; "targetWidgetId": { "alias": "targetWidgetId"; "required": false; }; "scopeBarId": { "alias": "scopeBarId"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; }, { "activeIdChange": "activeIdChange"; "omniboxValueChange": "omniboxValueChange"; "scopeChange": "scopeChange"; "searchChange": "searchChange"; "filterCriteriaChange": "filterCriteriaChange"; "clear": "clear"; }, never,
|
|
5297
|
+
static ɵcmp: i0.ɵɵ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>;
|
|
5185
5298
|
static ngAcceptInputType_showOmnibox: unknown;
|
|
5186
5299
|
static ngAcceptInputType_omniboxDebounceMs: unknown;
|
|
5187
5300
|
static ngAcceptInputType_showClearButton: unknown;
|
|
5301
|
+
static ngAcceptInputType_showActiveFilterSummary: unknown;
|
|
5188
5302
|
}
|
|
5189
5303
|
|
|
5190
5304
|
declare class DataFormatterComponent implements OnInit, OnChanges {
|
|
@@ -5327,6 +5441,7 @@ declare const PRAXIS_FILTER_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
|
5327
5441
|
declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
5328
5442
|
private readonly i18n;
|
|
5329
5443
|
config: TableConfig;
|
|
5444
|
+
fieldMetadata: FieldMetadata[];
|
|
5330
5445
|
readonly: boolean;
|
|
5331
5446
|
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
5332
5447
|
workingConfig: TableConfig;
|
|
@@ -5412,7 +5527,7 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
5412
5527
|
private getDefaultSortField;
|
|
5413
5528
|
private getDefaultSortDirection;
|
|
5414
5529
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
|
|
5415
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableInlineAuthoringEditorComponent, "praxis-table-inline-authoring-editor", never, { "config": { "alias": "config"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
|
|
5530
|
+
static ɵcmp: i0.ɵɵ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>;
|
|
5416
5531
|
}
|
|
5417
5532
|
|
|
5418
5533
|
interface ValueMappingPair {
|
|
@@ -6098,6 +6213,7 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6098
6213
|
protected isArray(val: unknown): boolean;
|
|
6099
6214
|
protected evaluateAndFormatMetric(item: any): string;
|
|
6100
6215
|
protected evaluatePropertyValue(item: any): string;
|
|
6216
|
+
private readonly microVizSafeHtmlCache;
|
|
6101
6217
|
protected renderMicroViz(viz: PraxisPresentationVisualizationConfig | undefined, item: any): SafeHtml;
|
|
6102
6218
|
private syncActiveTab;
|
|
6103
6219
|
private fetchConfiguredRelations;
|
|
@@ -6149,4 +6265,4 @@ declare function formatComputedFieldValue(value: unknown, format?: string, type?
|
|
|
6149
6265
|
declare function applyComputedFieldsToRows<T extends Record<string, any> = Record<string, any>>(rows: T[], computedFieldsConfig?: PraxisComputedFieldsConfig | null, options?: ComputedFieldsEvaluationOptions): T[];
|
|
6150
6266
|
|
|
6151
6267
|
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, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, analyticsComparisonMetricField, applyComputedFieldsToRows, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
6152
|
-
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|
|
6268
|
+
export type { ActionLike, AnalyticalDrawerSchemaOrConfig, AnalyticsComparisonMetricValueKind, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|