@praxisui/table 10.0.0-rc.45 → 10.0.0-rc.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/component-registry.json +2 -2
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-CnU4K4Q1.mjs → praxisui-table-filter-form-dialog-host.component-MGBfA3P2.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-ClwibKq-.mjs → praxisui-table-praxisui-table-ByVngbFP.mjs} +273 -60
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-CcTWUYj5.mjs → praxisui-table-table-agentic-authoring-turn-flow-BsJfydOk.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-BwDi2QEA.mjs → praxisui-table-table-ai.adapter-4AXY2zhX.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +9 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-15T00:03:48.148Z",
|
|
4
4
|
"packageName": "@praxisui/table",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.46",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 3,
|
|
@@ -12,7 +12,7 @@ import * as i14 from '@angular/material/tooltip';
|
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import { PraxisFilterForm } from '@praxisui/dynamic-form';
|
|
14
14
|
import { PraxisIconButtonComponent } from '@praxisui/core';
|
|
15
|
-
import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-
|
|
15
|
+
import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
16
16
|
|
|
17
17
|
class FilterFormDialogHostComponent {
|
|
18
18
|
data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i1 from '@praxisui/core';
|
|
2
|
-
import { PraxisI18nService, BulkOperationClientService, isBulkExecutionTerminal, LoggerService, createCorporateLoggerConfig, ConsoleLoggerSink, PraxisJsonLogicService, normalizeQuickFilterExpression, normalizeQuickFilterTone, resolveResourceAvailabilityReasonKey, RESOURCE_DISCOVERY_I18N_CONFIG, RESOURCE_DISCOVERY_I18N_NAMESPACE, PraxisIconDirective, PraxisIconButtonComponent, SafeExpressionEvaluator, API_URL, EnterpriseRuntimeContextService, PraxisMicroTooltipOverlayService, buildApiUrl, ResourceDiscoveryService, renderPraxisPresentationVisualizationHtml, createDefaultTableConfig, deepMerge as deepMerge$1, ASYNC_CONFIG_STORAGE, providePraxisI18nConfig, INLINE_FILTER_CONTROL_TYPES, INLINE_FILTER_CONTROL_TYPE_VALUES, FieldControlType, normalizeControlTypeToken, resolveControlTypeAlias, normalizeScalarArrayValue, INLINE_FILTER_ALIAS_TOKENS, SCHEMA_METADATA_CLIENT_OPTIONS, GlobalConfigService, buildSchemaId, MemoryCacheAdapter, LocalStorageCacheAdapter, SchemaMetadataClient, mapFieldDefinitionsToMetadata, resolveInlineFilterControlType, fetchWithETag, serializeEntityLookupValueForPayload, GenericCrudService, SchemaNormalizerService, mapCatalogFieldsToMetadata, ResourceQuickConnectComponent, ComponentMetadataRegistry, AnalyticsStatsRequestBuilderService, normalizePraxisDataQueryContext, normalizeUnknownError, PraxisRuntimeComponentObservationRegistryService, PRAXIS_TABLE_DETAIL_INLINE_RENDERERS, ResourceQuickViewService, BulkSyncStateService, PRAXIS_TABLE_DETAIL_INLINE_NODE_RESOLVERS, PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER, PraxisWidgetEventBus, PraxisCollectionExportService, fillUndefined, translateResourceAvailabilityReason, ResourceSurfaceOpenAdapterService, ResourceActionOpenAdapterService, CrudOperationResolutionService, normalizeResourceQuickViewBinding, SURFACE_OPEN_PRESETS, SURFACE_DRAWER_REF, assertPraxisCollectionExportArtifact, PRAXIS_LOADING_CTX, resolveColumnTypeFromFieldDefinition as resolveColumnTypeFromFieldDefinition$1, isPraxisPresentationVisualizationTableSafe as isPraxisPresentationVisualizationTableSafe$1, resolveTextMaskFormatFromFieldDefinition as resolveTextMaskFormatFromFieldDefinition$1, translateResourceDiscoveryText, supportsImplicitValuePresentation, resolveValuePresentation, resolvePraxisMicroVisualizationTone, resolveResourceIdentityContract, materializeResourceIdentity, translateUnavailableWorkflowMessage, CONNECTION_STORAGE, PRAXIS_LOADING_RENDERER, PraxisQuickViewTriggerDirective, EmptyStateCardComponent, humanizeCatalogFieldName, inferDomainSemanticTone, inferDomainSemanticIcon, getPraxisTableCellVisualizationGuidance, getPraxisTableCellVisualizationConstraint, isTableConfigV2, normalizePraxisPresentationVisualization, uiLayoutJsonIdentity, PRAXIS_GLOBAL_ACTION_CATALOG, SURFACE_OPEN_I18N_NAMESPACE, isRequiredGlobalActionPayloadMissing, getGlobalActionUiSchema, getRequiredGlobalActionPayloadKeys, hasMeaningfulGlobalActionPayloadValue, SurfaceOpenActionEditorComponent, SURFACE_OPEN_I18N_CONFIG, PraxisJsonLogicError, GLOBAL_ACTION_CATALOG, validateGlobalActionRefs, getGlobalActionCatalog, TableConfigService, normalizeQuickFilterCriteria, cloneBoundedUiLayoutJsonDocument, derivePageChildRuntimeId } from '@praxisui/core';
|
|
2
|
+
import { PraxisI18nService, BulkOperationClientService, isBulkExecutionTerminal, LoggerService, createCorporateLoggerConfig, ConsoleLoggerSink, PraxisJsonLogicService, normalizeQuickFilterExpression, normalizeQuickFilterTone, resolveResourceAvailabilityReasonKey, RESOURCE_DISCOVERY_I18N_CONFIG, RESOURCE_DISCOVERY_I18N_NAMESPACE, PraxisIconDirective, PraxisIconButtonComponent, SafeExpressionEvaluator, API_URL, EnterpriseRuntimeContextService, PraxisMicroTooltipOverlayService, buildApiUrl, ResourceDiscoveryService, renderPraxisPresentationVisualizationHtml, createDefaultTableConfig, deepMerge as deepMerge$1, ASYNC_CONFIG_STORAGE, providePraxisI18nConfig, INLINE_FILTER_CONTROL_TYPES, INLINE_FILTER_CONTROL_TYPE_VALUES, FieldControlType, normalizeControlTypeToken, buildSchemaIdStorageKeySegment, resolveControlTypeAlias, normalizeScalarArrayValue, INLINE_FILTER_ALIAS_TOKENS, SCHEMA_METADATA_CLIENT_OPTIONS, GlobalConfigService, buildSchemaId, MemoryCacheAdapter, LocalStorageCacheAdapter, SchemaMetadataClient, mapFieldDefinitionsToMetadata, resolveInlineFilterControlType, fetchWithETag, serializeEntityLookupValueForPayload, GenericCrudService, SchemaNormalizerService, mapCatalogFieldsToMetadata, ResourceQuickConnectComponent, ComponentMetadataRegistry, AnalyticsStatsRequestBuilderService, normalizePraxisDataQueryContext, normalizeUnknownError, PraxisRuntimeComponentObservationRegistryService, PRAXIS_TABLE_DETAIL_INLINE_RENDERERS, ResourceQuickViewService, BulkSyncStateService, PRAXIS_TABLE_DETAIL_INLINE_NODE_RESOLVERS, PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER, PraxisWidgetEventBus, PraxisCollectionExportService, fillUndefined, translateResourceAvailabilityReason, ResourceSurfaceOpenAdapterService, ResourceActionOpenAdapterService, CrudOperationResolutionService, normalizeResourceQuickViewBinding, SURFACE_OPEN_PRESETS, SURFACE_DRAWER_REF, assertPraxisCollectionExportArtifact, PRAXIS_LOADING_CTX, resolveColumnTypeFromFieldDefinition as resolveColumnTypeFromFieldDefinition$1, isPraxisPresentationVisualizationTableSafe as isPraxisPresentationVisualizationTableSafe$1, resolveTextMaskFormatFromFieldDefinition as resolveTextMaskFormatFromFieldDefinition$1, translateResourceDiscoveryText, supportsImplicitValuePresentation, resolveValuePresentation, resolvePraxisMicroVisualizationTone, resolveResourceIdentityContract, materializeResourceIdentity, translateUnavailableWorkflowMessage, CONNECTION_STORAGE, PRAXIS_LOADING_RENDERER, PraxisQuickViewTriggerDirective, EmptyStateCardComponent, humanizeCatalogFieldName, inferDomainSemanticTone, inferDomainSemanticIcon, getPraxisTableCellVisualizationGuidance, getPraxisTableCellVisualizationConstraint, isTableConfigV2, normalizePraxisPresentationVisualization, uiLayoutJsonIdentity, PRAXIS_GLOBAL_ACTION_CATALOG, SURFACE_OPEN_I18N_NAMESPACE, isRequiredGlobalActionPayloadMissing, getGlobalActionUiSchema, getRequiredGlobalActionPayloadKeys, hasMeaningfulGlobalActionPayloadValue, SurfaceOpenActionEditorComponent, SURFACE_OPEN_I18N_CONFIG, PraxisJsonLogicError, GLOBAL_ACTION_CATALOG, validateGlobalActionRefs, getGlobalActionCatalog, TableConfigService, normalizeQuickFilterCriteria, cloneBoundedUiLayoutJsonDocument, derivePageChildRuntimeId } from '@praxisui/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { input, inject, computed, ChangeDetectionStrategy, Component, output, signal, InjectionToken, EventEmitter, ElementRef, Output, Input, ViewChild, Optional, Inject, LOCALE_ID, Injectable, Injector, HostListener, Directive, ChangeDetectorRef, DestroyRef, ENVIRONMENT_INITIALIZER, effect, booleanAttribute, HostBinding, ContentChild, TemplateRef, ViewContainerRef, numberAttribute } from '@angular/core';
|
|
5
5
|
import * as i1$4 from '@angular/common/http';
|
|
@@ -44,7 +44,7 @@ import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
|
44
44
|
import { PraxisRichContent, validateRichContentDocument, isSafeRichContentClassName, PraxisRichContentConfigEditor } from '@praxisui/rich-content';
|
|
45
45
|
import * as i2 from '@angular/material/toolbar';
|
|
46
46
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
47
|
-
import { switchMap, map, catchError, finalize, take as take$1, startWith, takeUntil as takeUntil$1, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
47
|
+
import { switchMap, map, catchError, finalize, take as take$1, startWith, tap, defaultIfEmpty, takeUntil as takeUntil$1, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
48
48
|
import * as i3$1 from '@angular/material/input';
|
|
49
49
|
import { MatInputModule } from '@angular/material/input';
|
|
50
50
|
import * as i15 from '@angular/material/chips';
|
|
@@ -2219,6 +2219,7 @@ class PraxisTableToolbar {
|
|
|
2219
2219
|
tokenPresets;
|
|
2220
2220
|
toolbarRoot;
|
|
2221
2221
|
toolbarIdentity;
|
|
2222
|
+
toolbarScope;
|
|
2222
2223
|
fullActionsGroup;
|
|
2223
2224
|
endActionsGroup;
|
|
2224
2225
|
activeOverflowMenuTrigger;
|
|
@@ -2424,13 +2425,14 @@ class PraxisTableToolbar {
|
|
|
2424
2425
|
: typeof item.description === 'string' && item.description.trim()
|
|
2425
2426
|
? item.description.trim()
|
|
2426
2427
|
: undefined;
|
|
2428
|
+
const normalizedTone = normalizeQuickFilterTone(item.tone);
|
|
2427
2429
|
valid.push({
|
|
2428
2430
|
id: item.id.trim(),
|
|
2429
2431
|
label: item.label,
|
|
2430
2432
|
filter: parsedFilter,
|
|
2431
2433
|
icon: item.icon,
|
|
2432
|
-
tone:
|
|
2433
|
-
tooltip,
|
|
2434
|
+
...(normalizedTone !== undefined ? { tone: normalizedTone } : {}),
|
|
2435
|
+
...(tooltip !== undefined ? { tooltip } : {}),
|
|
2434
2436
|
});
|
|
2435
2437
|
}
|
|
2436
2438
|
}
|
|
@@ -2594,6 +2596,7 @@ class PraxisTableToolbar {
|
|
|
2594
2596
|
const capacityTargets = [
|
|
2595
2597
|
this.toolbarRoot?.nativeElement,
|
|
2596
2598
|
this.toolbarIdentity?.nativeElement,
|
|
2599
|
+
this.toolbarScope?.nativeElement,
|
|
2597
2600
|
this.fullActionsGroup?.nativeElement,
|
|
2598
2601
|
this.endActionsGroup?.nativeElement,
|
|
2599
2602
|
].filter((target) => !!target);
|
|
@@ -2660,16 +2663,20 @@ class PraxisTableToolbar {
|
|
|
2660
2663
|
return;
|
|
2661
2664
|
}
|
|
2662
2665
|
const identityWidth = this.getIdentityRequiredWidth();
|
|
2666
|
+
const scopeWidth = !this.hasToolbarIdentity() && identityWidth === 0
|
|
2667
|
+
? this.getScopeRequiredWidth(toolbar)
|
|
2668
|
+
: 0;
|
|
2669
|
+
const leadingWidth = identityWidth + scopeWidth;
|
|
2663
2670
|
const endActions = this.endActionsGroup?.nativeElement;
|
|
2664
2671
|
const endActionsWidth = endActions && getComputedStyle(endActions).display !== 'none'
|
|
2665
2672
|
? Math.max(endActions.scrollWidth, endActions.getBoundingClientRect().width)
|
|
2666
2673
|
: 0;
|
|
2667
|
-
const columnGap =
|
|
2674
|
+
const columnGap = leadingWidth > 0 ? this.readPixelValue(toolbarStyle.columnGap) : 0;
|
|
2668
2675
|
const actionsHostStyle = getComputedStyle(actions.parentElement ?? toolbar);
|
|
2669
2676
|
const actionsGap = endActionsWidth > 0
|
|
2670
2677
|
? this.readPixelValue(actionsHostStyle.columnGap || actionsHostStyle.gap)
|
|
2671
2678
|
: 0;
|
|
2672
|
-
const availableWidth = Math.max(0, contentWidth -
|
|
2679
|
+
const availableWidth = Math.max(0, contentWidth - leadingWidth - endActionsWidth - columnGap - actionsGap);
|
|
2673
2680
|
const actionsStyle = getComputedStyle(actions);
|
|
2674
2681
|
const actionGroups = Array.from(actions.children).filter((child) => child instanceof HTMLElement &&
|
|
2675
2682
|
getComputedStyle(child).display !== 'none');
|
|
@@ -2694,6 +2701,17 @@ class PraxisTableToolbar {
|
|
|
2694
2701
|
this.readPixelValue(style.paddingInlineStart) +
|
|
2695
2702
|
this.readPixelValue(style.paddingInlineEnd));
|
|
2696
2703
|
}
|
|
2704
|
+
getScopeRequiredWidth(toolbar) {
|
|
2705
|
+
const scope = this.toolbarScope?.nativeElement ??
|
|
2706
|
+
toolbar.querySelector('.praxis-table-quick-filters, [data-toolbar-region="scope"]');
|
|
2707
|
+
if (!scope || getComputedStyle(scope).display === 'none')
|
|
2708
|
+
return 0;
|
|
2709
|
+
const childrenWidth = Array.from(scope.children).reduce((total, child) => child instanceof HTMLElement &&
|
|
2710
|
+
getComputedStyle(child).display !== 'none'
|
|
2711
|
+
? total + Math.max(child.scrollWidth, child.getBoundingClientRect().width)
|
|
2712
|
+
: total, 0);
|
|
2713
|
+
return Math.max(scope.scrollWidth, scope.getBoundingClientRect().width, childrenWidth);
|
|
2714
|
+
}
|
|
2697
2715
|
readPixelValue(value) {
|
|
2698
2716
|
const parsed = Number.parseFloat(value);
|
|
2699
2717
|
return Number.isFinite(parsed) ? parsed : 0;
|
|
@@ -3594,7 +3612,7 @@ class PraxisTableToolbar {
|
|
|
3594
3612
|
}
|
|
3595
3613
|
}
|
|
3596
3614
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisTableToolbar, deps: [{ token: i0.ElementRef }, { token: i1.LoggerService, optional: true }, { token: i1.PraxisI18nService, optional: true }, { token: PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, optional: true }, { token: PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3597
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisTableToolbar, isStandalone: true, selector: "praxis-table-toolbar", inputs: { config: "config", appearance: "appearance", backgroundColor: "backgroundColor", placement: "placement", focusScope: "focusScope", showMain: "showMain", showActionsGroup: "showActionsGroup", showEndActions: "showEndActions", showMobileActions: "showMobileActions", exportBusy: "exportBusy", exportStatusMessage: "exportStatusMessage", evaluationContext: "evaluationContext", activeQuickFilterId: "activeQuickFilterId", activeDensity: "activeDensity", activeCrossFilters: "activeCrossFilters", columnVisibilityController: "columnVisibilityController" }, outputs: { clearCrossFilter: "clearCrossFilter", clearAllCrossFilters: "clearAllCrossFilters", toolbarAction: "toolbarAction", exportAction: "exportAction", columnVisibilityToggle: "columnVisibilityToggle", quickFilterChange: "quickFilterChange", densityChange: "densityChange" }, host: { listeners: { "document:keydown": "onDocumentKeydown($event)" }, properties: { "class.praxis-toolbar-footer": "placement === 'footer'" } }, viewQueries: [{ propertyName: "toolbarRoot", first: true, predicate: ["toolbarRoot"], descendants: true, read: ElementRef }, { propertyName: "toolbarIdentity", first: true, predicate: ["toolbarIdentity"], descendants: true, read: ElementRef }, { propertyName: "fullActionsGroup", first: true, predicate: ["fullActionsGroup"], descendants: true, read: ElementRef }, { propertyName: "endActionsGroup", first: true, predicate: ["endActionsGroup"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
3615
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisTableToolbar, isStandalone: true, selector: "praxis-table-toolbar", inputs: { config: "config", appearance: "appearance", backgroundColor: "backgroundColor", placement: "placement", focusScope: "focusScope", showMain: "showMain", showActionsGroup: "showActionsGroup", showEndActions: "showEndActions", showMobileActions: "showMobileActions", exportBusy: "exportBusy", exportStatusMessage: "exportStatusMessage", evaluationContext: "evaluationContext", activeQuickFilterId: "activeQuickFilterId", activeDensity: "activeDensity", activeCrossFilters: "activeCrossFilters", columnVisibilityController: "columnVisibilityController" }, outputs: { clearCrossFilter: "clearCrossFilter", clearAllCrossFilters: "clearAllCrossFilters", toolbarAction: "toolbarAction", exportAction: "exportAction", columnVisibilityToggle: "columnVisibilityToggle", quickFilterChange: "quickFilterChange", densityChange: "densityChange" }, host: { listeners: { "document:keydown": "onDocumentKeydown($event)" }, properties: { "class.praxis-toolbar-footer": "placement === 'footer'" } }, viewQueries: [{ propertyName: "toolbarRoot", first: true, predicate: ["toolbarRoot"], descendants: true, read: ElementRef }, { propertyName: "toolbarIdentity", first: true, predicate: ["toolbarIdentity"], descendants: true, read: ElementRef }, { propertyName: "toolbarScope", first: true, predicate: ["toolbarScope"], descendants: true, read: ElementRef }, { propertyName: "fullActionsGroup", first: true, predicate: ["fullActionsGroup"], descendants: true, read: ElementRef }, { propertyName: "endActionsGroup", first: true, predicate: ["endActionsGroup"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
3598
3616
|
<mat-toolbar
|
|
3599
3617
|
#toolbarRoot
|
|
3600
3618
|
class="praxis-toolbar"
|
|
@@ -3730,6 +3748,7 @@ class PraxisTableToolbar {
|
|
|
3730
3748
|
@if (showMain) {
|
|
3731
3749
|
@if (shouldShowQuickFilters()) {
|
|
3732
3750
|
<div
|
|
3751
|
+
#toolbarScope
|
|
3733
3752
|
class="praxis-table-quick-filters"
|
|
3734
3753
|
[class.praxis-table-quick-filters--binary]="
|
|
3735
3754
|
getQuickFilters().length === 2
|
|
@@ -4761,7 +4780,7 @@ class PraxisTableToolbar {
|
|
|
4761
4780
|
</div>
|
|
4762
4781
|
</ng-template>
|
|
4763
4782
|
</mat-toolbar>
|
|
4764
|
-
`, isInline: true, styles: [":host{display:block;container-name:praxis-table-toolbar;container-type:inline-size}.praxis-toolbar{--p-table-toolbar-bg-default: linear-gradient( 180deg, color-mix( in srgb, var(--md-sys-color-surface, #fff) 96%, transparent ), color-mix( in srgb, var(--md-sys-color-surface-container-low, #f6f8fc) 100%, transparent ) );--p-table-toolbar-fg-default: var( --md-sys-color-on-surface, currentColor );--p-table-toolbar-border-color-default: color-mix( in srgb, var(--md-sys-color-outline-variant, #d7dbe5) 78%, transparent );--p-table-toolbar-divider-color-default: color-mix( in srgb, var(--md-sys-color-outline) 42%, transparent );--p-table-toolbar-action-hover-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 10%, transparent );--p-table-toolbar-action-active-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 16%, transparent );--p-table-toolbar-action-focus-ring-default: color-mix( in srgb, var(--md-sys-color-primary) 52%, transparent );--p-table-toolbar-ai-accent-color-default: var( --md-sys-color-primary, #0b72d9 );--p-table-toolbar-status-fg-default: var( --md-sys-color-on-surface-variant, currentColor );background:var( --p-table-toolbar-bg, var(--p-table-toolbar-bg-default) );color:var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default));box-shadow:var(--p-table-toolbar-shadow, none);padding:var( --p-table-toolbar-layout-padding, var(--p-table-toolbar-padding-block, var(--pfx-toolbar-pad-y, 6px)) var( --p-table-toolbar-padding-inline, var(--pfx-toolbar-pad-x, 12px) ) );min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );display:grid;grid-template-areas:\"actions actions actions\";grid-template-columns:max-content minmax(0,1fr) auto;align-items:center;column-gap:max(var(--p-table-toolbar-gap, 8px),12px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px);border:var(--p-table-toolbar-border-width, 1px) solid var( --p-table-toolbar-border-color, var(--p-table-toolbar-border-color-default) );border-radius:var(--p-table-toolbar-radius, 10px)}.praxis-toolbar.p-table-toolbar--flat{--p-table-toolbar-border-width: 0;--p-table-toolbar-shadow: none}.praxis-toolbar.p-table-toolbar--elevated{--p-table-toolbar-shadow: 0 12px 28px color-mix(in srgb, var(--md-sys-color-shadow, #000) 12%, transparent)}.praxis-toolbar.p-table-toolbar--integrated{--p-table-toolbar-bg: transparent;--p-table-toolbar-border-width: 0;--p-table-toolbar-radius: 0}.praxis-toolbar.p-table-toolbar--layout-separator{border-block-end-width:1px;border-block-end-style:solid;border-block-end-color:var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--compact{--p-table-toolbar-min-height: 36px;--p-table-toolbar-padding-block: 4px;--p-table-toolbar-padding-inline: 10px;--p-table-toolbar-gap: 4px;--p-table-toolbar-actions-gap: 4px;--p-table-toolbar-action-size: var( --praxis-action-control-compact-height, 36px );--p-table-toolbar-action-radius: var( --praxis-action-control-radius, 8px )}.praxis-toolbar.p-table-toolbar--comfortable{--p-table-toolbar-min-height: 44px;--p-table-toolbar-action-size: var( --praxis-action-control-height, 40px )}.praxis-toolbar.p-table-toolbar--spacious{--p-table-toolbar-min-height: 52px;--p-table-toolbar-padding-block: 8px;--p-table-toolbar-padding-inline: 16px;--p-table-toolbar-gap: 8px;--p-table-toolbar-actions-gap: 8px;--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.praxis-toolbar.p-table-toolbar--square{--p-table-toolbar-radius: 0;--p-table-toolbar-action-radius: 4px}.praxis-toolbar.p-table-toolbar--pill{--p-table-toolbar-radius: 999px;--p-table-toolbar-action-radius: 999px}:host(.praxis-toolbar-stack-top) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.praxis-toolbar-footer) .praxis-toolbar{border-top-left-radius:0;border-top-right-radius:0}:host(.praxis-toolbar-footer.footer-flat) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}.praxis-toolbar.mat-toolbar-single-row,.praxis-toolbar .mat-toolbar-row{height:auto}.praxis-toolbar.mat-toolbar-multiple-rows{min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) )}.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope query actions\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope query query\"}.toolbar-query{box-sizing:border-box;grid-area:query;display:flex;flex-wrap:wrap;align-items:start;min-width:0;column-gap:var(--p-table-toolbar-gap, 8px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px)}.toolbar-query>*{min-width:0}.toolbar-query>:is(praxis-filter,[advancedFilter]){flex:1 1 620px}.toolbar-shortcuts{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--p-table-toolbar-gap, 8px);min-width:0;max-width:100%;margin-inline-start:auto}.toolbar-shortcuts ::ng-deep>[toolbar]{min-width:0;max-width:100%}.toolbar-shortcuts ::ng-deep>[toolbar].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-query-control-height, 40px );--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.toolbar-shortcuts:not(:has(*)){display:none}.toolbar-identity{grid-area:identity;display:flex;align-items:center;gap:var(--p-table-toolbar-identity-gap, 8px);min-width:0;max-width:100%;min-height:var(--p-table-toolbar-identity-min-height, 30px);margin-block-end:var(--p-table-toolbar-identity-margin-bottom, 0);padding-inline:2px;color:var( --p-table-toolbar-title-fg, var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default)) )}.toolbar-identity--center{text-align:center;justify-content:center}.toolbar-identity--end{text-align:end;justify-content:flex-end}.toolbar-identity--center .toolbar-identity__copy{align-items:center}.toolbar-identity--end .toolbar-identity__copy{align-items:flex-end}.toolbar-identity__icon{width:var(--p-table-toolbar-identity-icon-size, 28px);height:var(--p-table-toolbar-identity-icon-size, 28px);border-radius:var(--p-table-toolbar-identity-icon-radius, 8px);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) );background:color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 8%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 18%,transparent)}.toolbar-identity__icon .mat-icon{font-size:18px;width:18px;height:18px;line-height:18px}.toolbar-identity__copy{display:flex;flex-direction:column;min-width:0;max-width:100%;gap:1px}.toolbar-identity__title,.toolbar-identity__subtitle{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-identity__title{font-size:var(--p-table-toolbar-title-font-size, 14px);font-weight:var(--p-table-toolbar-title-font-weight, 700);line-height:1.2;letter-spacing:0;color:var(--p-table-toolbar-title-fg, currentColor)}.toolbar-identity__subtitle{font-size:var(--p-table-toolbar-subtitle-font-size, 11.5px);line-height:1.25;color:var( --p-table-toolbar-subtitle-fg, var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) ) )}.toolbar-actions{grid-area:actions;display:flex;align-items:center;align-self:start;justify-self:end;justify-content:flex-end;gap:var(--p-table-toolbar-gap, 6px);min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );min-width:0}.praxis-toolbar.p-table-toolbar--align-start .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-start .toolbar-actions{justify-self:start}.praxis-toolbar.p-table-toolbar--align-center .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-center .toolbar-actions{justify-self:center}.praxis-toolbar.p-table-toolbar--align-end .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-end .toolbar-actions{justify-self:end}.actions-group{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.praxis-toolbar--compact-actions .actions-group{position:fixed;inset-block-start:-10000px;inset-inline-start:0;inline-size:max-content;max-inline-size:none;visibility:hidden;pointer-events:none}.praxis-toolbar--compact-actions .mobile-actions{display:flex}.praxis-toolbar--compact-actions .toolbar-query{flex-direction:column}.praxis-toolbar--compact-actions .toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.business-actions,.utility-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);min-width:0}.business-actions:empty,.utility-actions:empty{display:none}.action-btn:not(.praxis-icon-button){width:fit-content;max-width:100%;height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );padding-inline:var(--praxis-action-control-padding-inline, 12px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );gap:var(--praxis-action-control-gap, 8px);font-size:var(--praxis-action-control-font-size, .875rem);font-weight:var(--praxis-action-control-font-weight, 500);line-height:var(--praxis-action-control-line-height, 1.25rem);color:var(--p-table-toolbar-action-fg, inherit);background:var(--p-table-toolbar-action-bg, transparent)}.action-btn:not(.praxis-icon-button):hover:not(:disabled):not([aria-disabled=true]){background:var( --p-table-toolbar-action-hover-bg, var(--p-table-toolbar-action-hover-bg-default) )}.action-btn:not(.praxis-icon-button):focus-visible{outline:2px solid var( --p-table-toolbar-action-focus-ring, var( --praxis-action-control-focus-ring, var(--p-table-toolbar-action-focus-ring-default) ) );outline-offset:2px}.toolbar-icon-btn{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 9%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}.toolbar-icon-btn:hover:not(:disabled){color:var(--md-sys-color-on-primary-container);background:color-mix(in srgb,var(--md-sys-color-primary) 16%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-primary) 36%,transparent)}.action-btn--fab{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );box-shadow:none}.pfx-tonal{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.pfx-tonal:hover{background:var(--md-sys-color-secondary-container)}.mobile-actions{display:none;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.overflow-trigger{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.action-btn .mat-icon,.action-btn--fab .mat-icon,.overflow-trigger .mat-icon{margin:0;font-size:var(--praxis-action-control-icon-size, 18px);width:var(--praxis-action-control-icon-size, 18px);height:var(--praxis-action-control-icon-size, 18px);line-height:var(--praxis-action-control-icon-size, 18px)}.praxis-table-export-status{max-width:13rem;overflow:hidden;color:var(--p-table-toolbar-status-fg, currentColor);font-size:.75rem;font-weight:600;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.praxis-table-export-progress-icon{animation:praxis-table-export-spin .9s linear infinite}@keyframes praxis-table-export-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.praxis-table-export-progress-icon{animation:none}}.praxis-table-column-menu-item.mat-mdc-menu-item{min-height:40px}.praxis-table-export-menu-item.mat-mdc-menu-item{min-width:280px;white-space:nowrap}.praxis-table-column-menu-content{align-items:center;display:flex;gap:10px;min-height:40px;width:100%}.praxis-table-column-menu-check.mat-icon{color:var(--md-sys-color-primary, currentColor);flex:0 0 20px;font-size:20px;height:20px;line-height:20px;margin-inline-end:0;width:20px}.praxis-table-quick-filters{grid-area:scope;align-self:start;align-items:center;display:flex;flex-wrap:nowrap;gap:0;min-height:var(--p-table-toolbar-min-height, 44px)}.praxis-table-quick-filter.mat-mdc-outlined-button{--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);padding-inline:14px;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );position:relative;z-index:0;white-space:nowrap}.praxis-table-quick-filter+.praxis-table-quick-filter{margin-inline-start:-1px}.praxis-table-quick-filter:first-child:not(:only-child){border-start-end-radius:0;border-end-end-radius:0}.praxis-table-quick-filter:not(:first-child):not(:last-child){border-radius:0}.praxis-table-quick-filter:last-child:not(:only-child){border-start-start-radius:0;border-end-start-radius:0}.praxis-table-quick-filter:only-child{border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.praxis-table-quick-filter--active.mat-mdc-outlined-button{--praxis-quick-filter-tone: var(--md-sys-color-primary);background:color-mix(in srgb,var(--praxis-quick-filter-tone) 12%,transparent);border-color:var(--praxis-quick-filter-tone);color:var(--praxis-quick-filter-tone);z-index:1}.praxis-table-quick-filter[data-tone=info]{--praxis-quick-filter-tone: var(--praxis-info, var(--md-sys-color-tertiary, #0284c7))}.praxis-table-quick-filter[data-tone=success],.praxis-table-quick-filter[data-tone=ready]{--praxis-quick-filter-tone: var(--praxis-success, #047857)}.praxis-table-quick-filter[data-tone=warning]{--praxis-quick-filter-tone: var(--praxis-warning, #b45309)}.praxis-table-quick-filter[data-tone=danger]{--praxis-quick-filter-tone: var(--praxis-error, var(--md-sys-color-error, #b91c1c))}.praxis-table-quick-filter[data-tone]:not([data-tone=default]):not([data-tone=primary]) mat-icon{color:var(--praxis-quick-filter-tone)}.praxis-table-quick-filter:focus-visible{z-index:2}.praxis-table-active-cross-filters{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%}.praxis-table-active-cross-filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding-inline:8px 4px;border-radius:16px;background:var(--md-sys-color-secondary-container, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 12%, transparent));color:var(--md-sys-color-on-secondary-container, var(--md-sys-color-primary, #005ac1));border:1px solid var(--md-sys-color-outline-variant, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 24%, transparent));font-size:.8125rem;line-height:1.2;font-weight:400;box-sizing:border-box}.praxis-table-active-cross-filter-chip__icon{font-size:16px;width:16px;height:16px;color:var(--md-sys-color-primary, currentColor);flex-shrink:0}.praxis-table-active-cross-filter-chip__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.praxis-table-active-cross-filter-chip__label strong{font-weight:600}.praxis-table-active-cross-filter-chip__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin:0;border:none;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.7;transition:opacity .12s ease,background-color .12s ease}.praxis-table-active-cross-filter-chip__clear:hover{opacity:1;background:color-mix(in srgb,currentColor 14%,transparent)}.praxis-table-active-cross-filter-chip__clear:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:1px;opacity:1}.praxis-table-active-cross-filter-chip__clear mat-icon{font-size:14px;width:14px;height:14px;line-height:14px}.praxis-table-clear-all-cross-filters-btn{display:inline-flex;align-items:center;min-height:24px;padding-inline:6px;border-radius:4px;border:none;background:transparent;color:var(--md-sys-color-primary, #005ac1);font-size:.75rem;font-weight:500;cursor:pointer;text-decoration:underline;opacity:.85;transition:opacity .12s ease}.praxis-table-clear-all-cross-filters-btn:hover{opacity:1}.action-btn.mat-mdc-button-base,.action-btn--fab.mat-mdc-button-base,.overflow-trigger.mat-mdc-button-base,.toolbar-icon-btn.mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, 36px )}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]),.action-btn.mat-mdc-outlined-button:not(:disabled):not([aria-disabled=true]),.action-btn.pfx-tonal:not(:disabled):not([aria-disabled=true]){border-color:color-mix(in srgb,var(--md-sys-color-outline-variant, #d7dbe5) 82%,transparent)}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]){box-shadow:none}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]),.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]){--praxis-toolbar-primary: var( --mat-sys-primary, var(--md-sys-color-primary) );--praxis-toolbar-on-primary: var( --mat-sys-on-primary, var(--md-sys-color-on-primary) );--praxis-toolbar-primary-action-container: var( --p-table-toolbar-primary-action-container, color-mix( in srgb, var(--praxis-toolbar-primary) 70%, var(--mat-sys-shadow, #000) 30% ) );--mdc-filled-button-container-color: var( --praxis-toolbar-primary-action-container );--mdc-filled-button-label-text-color: var(--praxis-toolbar-on-primary);--mat-filled-button-state-layer-color: var(--praxis-toolbar-on-primary);background:var(--praxis-toolbar-primary-action-container)!important;border-color:transparent;color:var(--praxis-toolbar-on-primary)!important;box-shadow:0 2px 6px color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 22%,transparent)}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]):hover,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]):hover{background:color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 88%,var(--praxis-toolbar-on-primary) 12%)!important}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]) .mat-icon,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]) .mat-icon{color:var(--praxis-toolbar-on-primary)!important}.action-btn.mat-mdc-button-base{padding-inline:var(--praxis-action-control-padding-inline, 12px);overflow:hidden!important;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )!important}.action-btn.mat-mdc-button-base .mat-mdc-button-persistent-ripple,.action-btn.mat-mdc-button-base .mat-mdc-button-ripple{border-radius:inherit!important;overflow:hidden!important}.action-btn[aria-disabled=true],.action-btn--fab[aria-disabled=true]{--mdc-text-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-filled-button-container-color: color-mix( in srgb, var(--md-sys-color-surface-container-high) 78%, transparent );--mdc-filled-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-outlined-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-protected-button-label-text-color: var( --md-sys-color-on-surface-variant );background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important;color:var(--md-sys-color-on-surface-variant)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--md-sys-color-outline) 62%,transparent)!important;cursor:not-allowed;filter:saturate(.55);opacity:var(--praxis-action-control-disabled-opacity, .75)}.action-btn[aria-disabled=true]:hover,.action-btn--fab[aria-disabled=true]:hover{background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important}.action-btn[aria-disabled=true] .mat-icon,.action-btn--fab[aria-disabled=true] .mat-icon{opacity:.85!important;color:currentColor!important}.action-btn[aria-disabled=true]:focus-visible,.action-btn--fab[aria-disabled=true]:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.mat-mdc-menu-item[aria-disabled=true],.mat-mdc-menu-item.mat-mdc-menu-item-disabled{color:var(--md-sys-color-on-surface-variant)!important;cursor:not-allowed;opacity:1!important}.praxis-toolbar-menu-action__label,.praxis-toolbar-menu-action__reason{display:block}.praxis-toolbar-menu-action__reason{max-width:280px;color:var(--md-sys-color-on-surface-variant)!important;font-size:12px;font-weight:400;line-height:1.35;white-space:normal}.praxis-table-compact-command-group{box-sizing:border-box;margin:6px 12px 2px;padding:8px 4px 4px;border-block-start:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 74%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.04em;text-transform:uppercase}.praxis-table-compact-command-group:first-child{margin-block-start:2px;padding-block-start:4px;border-block-start:0}.praxis-table-compact-command-group__hint{max-width:280px;margin:0 16px 6px;color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:400;line-height:1.35;white-space:normal}.mat-mdc-menu-item[aria-disabled=true] .praxis-toolbar-menu-action__reason,.mat-mdc-menu-item.mat-mdc-menu-item-disabled .praxis-toolbar-menu-action__reason{opacity:1!important}.end-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.end-actions ::ng-deep>[end-actions]{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.end-actions ::ng-deep>[end-actions].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.end-actions:empty,.end-actions:not(:has(*)){display:none;gap:0;margin-inline-start:0;padding-inline-start:0;border-inline-start:0}.praxis-toolbar-icon-action--primary{color:var(--md-sys-color-primary)}.praxis-toolbar-icon-action--accent{color:var(--md-sys-color-tertiary)}.praxis-toolbar-icon-action--warn{color:var(--md-sys-color-error)}.praxis-toolbar.p-table-toolbar--divider-between-groups .actions-group--has-business .utility-actions:not(:empty){margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:12px;border-inline-end:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity):not(:has(.toolbar-actions button,.toolbar-actions [role=button],.toolbar-actions [mat-button],.toolbar-actions [mat-icon-button],.toolbar-actions [praxisIconButton])) .toolbar-query{padding-inline-end:0;border-inline-end:0}.end-actions ::ng-deep .praxis-table-toolbar-action--ai,.end-actions ::ng-deep .praxis-table-ai-trigger{color:var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) );background:color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 10%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 24%,transparent)}.end-actions ::ng-deep [data-role=table-settings]{color:var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) )}@container praxis-table-toolbar (max-width: 1200px){.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.p-table-toolbar--divider-start.praxis-toolbar--has-query.praxis-toolbar--has-scope:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{width:100%}}@container praxis-table-toolbar (max-width: 960px){.actions-group{display:none}.mobile-actions{display:flex}.toolbar-actions{justify-content:flex-end}}@container praxis-table-toolbar (max-width: 720px){.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope scope\" \"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{flex-direction:column}.toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.praxis-table-quick-filters{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}}@container praxis-table-toolbar (max-width: 540px){.praxis-toolbar{--p-table-toolbar-query-control-height: 44px}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"identity actions\" \"query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-columns:max-content minmax(0,1fr) auto;grid-template-areas:\"identity identity identity\" \"actions actions actions\" \"scope scope scope\" \"query query query\"}.toolbar-actions{justify-self:stretch;justify-content:flex-end}.toolbar-actions,.toolbar-query{--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.toolbar-identity__subtitle{display:none}.praxis-table-quick-filter.mat-mdc-outlined-button{min-height:44px}.praxis-table-quick-filters--binary{width:100%;min-width:0}.praxis-table-quick-filters--binary .praxis-table-quick-filter.mat-mdc-outlined-button{flex:1 1 0;min-width:0}}\n"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i14.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
4783
|
+
`, isInline: true, styles: [":host{display:block;container-name:praxis-table-toolbar;container-type:inline-size}.praxis-toolbar{--p-table-toolbar-bg-default: linear-gradient( 180deg, color-mix( in srgb, var(--md-sys-color-surface, #fff) 96%, transparent ), color-mix( in srgb, var(--md-sys-color-surface-container-low, #f6f8fc) 100%, transparent ) );--p-table-toolbar-fg-default: var( --md-sys-color-on-surface, currentColor );--p-table-toolbar-border-color-default: color-mix( in srgb, var(--md-sys-color-outline-variant, #d7dbe5) 78%, transparent );--p-table-toolbar-divider-color-default: color-mix( in srgb, var(--md-sys-color-outline) 42%, transparent );--p-table-toolbar-action-hover-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 10%, transparent );--p-table-toolbar-action-active-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 16%, transparent );--p-table-toolbar-action-focus-ring-default: color-mix( in srgb, var(--md-sys-color-primary) 52%, transparent );--p-table-toolbar-ai-accent-color-default: var( --md-sys-color-primary, #0b72d9 );--p-table-toolbar-status-fg-default: var( --md-sys-color-on-surface-variant, currentColor );background:var( --p-table-toolbar-bg, var(--p-table-toolbar-bg-default) );color:var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default));box-shadow:var(--p-table-toolbar-shadow, none);padding:var( --p-table-toolbar-layout-padding, var(--p-table-toolbar-padding-block, var(--pfx-toolbar-pad-y, 6px)) var( --p-table-toolbar-padding-inline, var(--pfx-toolbar-pad-x, 12px) ) );min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );display:grid;grid-template-areas:\"actions actions actions\";grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;align-items:center;column-gap:max(var(--p-table-toolbar-gap, 8px),12px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px);border:var(--p-table-toolbar-border-width, 1px) solid var( --p-table-toolbar-border-color, var(--p-table-toolbar-border-color-default) );border-radius:var(--p-table-toolbar-radius, 10px)}.praxis-toolbar.p-table-toolbar--flat{--p-table-toolbar-border-width: 0;--p-table-toolbar-shadow: none}.praxis-toolbar.p-table-toolbar--elevated{--p-table-toolbar-shadow: 0 12px 28px color-mix(in srgb, var(--md-sys-color-shadow, #000) 12%, transparent)}.praxis-toolbar.p-table-toolbar--integrated{--p-table-toolbar-bg: transparent;--p-table-toolbar-border-width: 0;--p-table-toolbar-radius: 0}.praxis-toolbar.p-table-toolbar--layout-separator{border-block-end-width:1px;border-block-end-style:solid;border-block-end-color:var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--compact{--p-table-toolbar-min-height: 36px;--p-table-toolbar-padding-block: 4px;--p-table-toolbar-padding-inline: 10px;--p-table-toolbar-gap: 4px;--p-table-toolbar-actions-gap: 4px;--p-table-toolbar-action-size: var( --praxis-action-control-compact-height, 36px );--p-table-toolbar-action-radius: var( --praxis-action-control-radius, 8px )}.praxis-toolbar.p-table-toolbar--comfortable{--p-table-toolbar-min-height: 44px;--p-table-toolbar-action-size: var( --praxis-action-control-height, 40px )}.praxis-toolbar.p-table-toolbar--spacious{--p-table-toolbar-min-height: 52px;--p-table-toolbar-padding-block: 8px;--p-table-toolbar-padding-inline: 16px;--p-table-toolbar-gap: 8px;--p-table-toolbar-actions-gap: 8px;--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.praxis-toolbar.p-table-toolbar--square{--p-table-toolbar-radius: 0;--p-table-toolbar-action-radius: 4px}.praxis-toolbar.p-table-toolbar--pill{--p-table-toolbar-radius: 999px;--p-table-toolbar-action-radius: 999px}:host(.praxis-toolbar-stack-top) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.praxis-toolbar-footer) .praxis-toolbar{border-top-left-radius:0;border-top-right-radius:0}:host(.praxis-toolbar-footer.footer-flat) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}.praxis-toolbar.mat-toolbar-single-row,.praxis-toolbar .mat-toolbar-row{height:auto}.praxis-toolbar.mat-toolbar-multiple-rows{min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) )}.praxis-toolbar.praxis-toolbar--has-cross-filters{grid-template-areas:\"actions actions actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-cross-filters{grid-template-areas:\"query query actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope query actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"scope query actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"scope query query\" \"cross-filters cross-filters cross-filters\"}.toolbar-query{box-sizing:border-box;grid-area:query;display:flex;flex-wrap:wrap;align-items:start;min-width:0;column-gap:var(--p-table-toolbar-gap, 8px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px)}.toolbar-query>*{min-width:0}.toolbar-query>:is(praxis-filter,[advancedFilter]){flex:1 1 620px}.toolbar-shortcuts{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--p-table-toolbar-gap, 8px);min-width:0;max-width:100%;margin-inline-start:auto}.toolbar-shortcuts ::ng-deep>[toolbar]{min-width:0;max-width:100%}.toolbar-shortcuts ::ng-deep>[toolbar].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-query-control-height, 40px );--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.toolbar-shortcuts:not(:has(*)){display:none}.toolbar-identity{grid-area:identity;display:flex;align-items:center;gap:var(--p-table-toolbar-identity-gap, 8px);min-width:0;max-width:100%;min-height:var(--p-table-toolbar-identity-min-height, 30px);margin-block-end:var(--p-table-toolbar-identity-margin-bottom, 0);padding-inline:2px;color:var( --p-table-toolbar-title-fg, var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default)) )}.toolbar-identity--center{text-align:center;justify-content:center}.toolbar-identity--end{text-align:end;justify-content:flex-end}.toolbar-identity--center .toolbar-identity__copy{align-items:center}.toolbar-identity--end .toolbar-identity__copy{align-items:flex-end}.toolbar-identity__icon{width:var(--p-table-toolbar-identity-icon-size, 28px);height:var(--p-table-toolbar-identity-icon-size, 28px);border-radius:var(--p-table-toolbar-identity-icon-radius, 8px);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) );background:color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 8%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 18%,transparent)}.toolbar-identity__icon .mat-icon{font-size:18px;width:18px;height:18px;line-height:18px}.toolbar-identity__copy{display:flex;flex-direction:column;min-width:0;max-width:100%;gap:1px}.toolbar-identity__title,.toolbar-identity__subtitle{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-identity__title{font-size:var(--p-table-toolbar-title-font-size, 14px);font-weight:var(--p-table-toolbar-title-font-weight, 700);line-height:1.2;letter-spacing:0;color:var(--p-table-toolbar-title-fg, currentColor)}.toolbar-identity__subtitle{font-size:var(--p-table-toolbar-subtitle-font-size, 11.5px);line-height:1.25;color:var( --p-table-toolbar-subtitle-fg, var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) ) )}.toolbar-actions{grid-area:actions;display:flex;align-items:center;align-self:start;justify-self:end;justify-content:flex-end;gap:var(--p-table-toolbar-gap, 6px);min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );min-width:0}.praxis-toolbar.p-table-toolbar--align-start .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-start .toolbar-actions{justify-self:start}.praxis-toolbar.p-table-toolbar--align-center .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-center .toolbar-actions{justify-self:center}.praxis-toolbar.p-table-toolbar--align-end .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-end .toolbar-actions{justify-self:end}.actions-group{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.praxis-toolbar--compact-actions .actions-group{position:fixed;inset-block-start:-10000px;inset-inline-start:0;inline-size:max-content;max-inline-size:none;visibility:hidden;pointer-events:none}.praxis-toolbar--compact-actions .mobile-actions{display:flex}.praxis-toolbar--compact-actions .toolbar-query{flex-direction:column}.praxis-toolbar--compact-actions .toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.business-actions,.utility-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);min-width:0}.business-actions:empty,.utility-actions:empty{display:none}.action-btn:not(.praxis-icon-button){width:fit-content;max-width:100%;height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );padding-inline:var(--praxis-action-control-padding-inline, 12px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );gap:var(--praxis-action-control-gap, 8px);font-size:var(--praxis-action-control-font-size, .875rem);font-weight:var(--praxis-action-control-font-weight, 500);line-height:var(--praxis-action-control-line-height, 1.25rem);color:var(--p-table-toolbar-action-fg, inherit);background:var(--p-table-toolbar-action-bg, transparent)}.action-btn:not(.praxis-icon-button):hover:not(:disabled):not([aria-disabled=true]){background:var( --p-table-toolbar-action-hover-bg, var(--p-table-toolbar-action-hover-bg-default) )}.action-btn:not(.praxis-icon-button):focus-visible{outline:2px solid var( --p-table-toolbar-action-focus-ring, var( --praxis-action-control-focus-ring, var(--p-table-toolbar-action-focus-ring-default) ) );outline-offset:2px}.toolbar-icon-btn{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 9%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}.toolbar-icon-btn:hover:not(:disabled){color:var(--md-sys-color-on-primary-container);background:color-mix(in srgb,var(--md-sys-color-primary) 16%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-primary) 36%,transparent)}.action-btn--fab{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );box-shadow:none}.pfx-tonal{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.pfx-tonal:hover{background:var(--md-sys-color-secondary-container)}.mobile-actions{display:none;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.overflow-trigger{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.action-btn .mat-icon,.action-btn--fab .mat-icon,.overflow-trigger .mat-icon{margin:0;font-size:var(--praxis-action-control-icon-size, 18px);width:var(--praxis-action-control-icon-size, 18px);height:var(--praxis-action-control-icon-size, 18px);line-height:var(--praxis-action-control-icon-size, 18px)}.praxis-table-export-status{max-width:13rem;overflow:hidden;color:var(--p-table-toolbar-status-fg, currentColor);font-size:.75rem;font-weight:600;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.praxis-table-export-progress-icon{animation:praxis-table-export-spin .9s linear infinite}@keyframes praxis-table-export-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.praxis-table-export-progress-icon{animation:none}}.praxis-table-column-menu-item.mat-mdc-menu-item{min-height:40px}.praxis-table-export-menu-item.mat-mdc-menu-item{min-width:280px;white-space:nowrap}.praxis-table-column-menu-content{align-items:center;display:flex;gap:10px;min-height:40px;width:100%}.praxis-table-column-menu-check.mat-icon{color:var(--md-sys-color-primary, currentColor);flex:0 0 20px;font-size:20px;height:20px;line-height:20px;margin-inline-end:0;width:20px}.praxis-table-quick-filters{grid-area:scope;align-self:start;align-items:center;display:flex;flex-wrap:nowrap;gap:0;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;min-height:var(--p-table-toolbar-min-height, 44px)}.praxis-table-quick-filter.mat-mdc-outlined-button{flex:0 0 auto;--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);padding-inline:14px;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );position:relative;z-index:0;white-space:nowrap}.praxis-table-quick-filter+.praxis-table-quick-filter{margin-inline-start:-1px}.praxis-table-quick-filter:first-child:not(:only-child){border-start-end-radius:0;border-end-end-radius:0}.praxis-table-quick-filter:not(:first-child):not(:last-child){border-radius:0}.praxis-table-quick-filter:last-child:not(:only-child){border-start-start-radius:0;border-end-start-radius:0}.praxis-table-quick-filter:only-child{border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.praxis-table-quick-filter--active.mat-mdc-outlined-button{--praxis-quick-filter-tone: var(--md-sys-color-primary);background:color-mix(in srgb,var(--praxis-quick-filter-tone) 12%,transparent);border-color:var(--praxis-quick-filter-tone);color:var(--praxis-quick-filter-tone);z-index:1}.praxis-table-quick-filter[data-tone=info]{--praxis-quick-filter-tone: var(--praxis-info, var(--md-sys-color-tertiary, #0284c7))}.praxis-table-quick-filter[data-tone=success],.praxis-table-quick-filter[data-tone=ready]{--praxis-quick-filter-tone: var(--praxis-success, #047857)}.praxis-table-quick-filter[data-tone=warning]{--praxis-quick-filter-tone: var(--praxis-warning, #b45309)}.praxis-table-quick-filter[data-tone=danger]{--praxis-quick-filter-tone: var(--praxis-error, var(--md-sys-color-error, #b91c1c))}.praxis-table-quick-filter[data-tone]:not([data-tone=default]):not([data-tone=primary]) mat-icon{color:var(--praxis-quick-filter-tone)}.praxis-table-quick-filter:focus-visible{z-index:2}.praxis-table-active-cross-filters{grid-area:cross-filters;grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:100%;min-width:0;max-width:100%}.praxis-table-active-cross-filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding-inline:8px 4px;border-radius:16px;background:var(--md-sys-color-secondary-container, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 12%, transparent));color:var(--md-sys-color-on-secondary-container, var(--md-sys-color-primary, #005ac1));border:1px solid var(--md-sys-color-outline-variant, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 24%, transparent));font-size:.8125rem;line-height:1.2;font-weight:400;box-sizing:border-box}.praxis-table-active-cross-filter-chip__icon{font-size:16px;width:16px;height:16px;color:var(--md-sys-color-primary, currentColor);flex-shrink:0}.praxis-table-active-cross-filter-chip__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.praxis-table-active-cross-filter-chip__label strong{font-weight:600}.praxis-table-active-cross-filter-chip__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin:0;border:none;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.7;transition:opacity .12s ease,background-color .12s ease}.praxis-table-active-cross-filter-chip__clear:hover{opacity:1;background:color-mix(in srgb,currentColor 14%,transparent)}.praxis-table-active-cross-filter-chip__clear:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:1px;opacity:1}.praxis-table-active-cross-filter-chip__clear mat-icon{font-size:14px;width:14px;height:14px;line-height:14px}.praxis-table-clear-all-cross-filters-btn{display:inline-flex;align-items:center;min-height:24px;padding-inline:6px;border-radius:4px;border:none;background:transparent;color:var(--md-sys-color-primary, #005ac1);font-size:.75rem;font-weight:500;cursor:pointer;text-decoration:underline;opacity:.85;transition:opacity .12s ease}.praxis-table-clear-all-cross-filters-btn:hover{opacity:1}.action-btn.mat-mdc-button-base,.action-btn--fab.mat-mdc-button-base,.overflow-trigger.mat-mdc-button-base,.toolbar-icon-btn.mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, 36px )}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]),.action-btn.mat-mdc-outlined-button:not(:disabled):not([aria-disabled=true]),.action-btn.pfx-tonal:not(:disabled):not([aria-disabled=true]){border-color:color-mix(in srgb,var(--md-sys-color-outline-variant, #d7dbe5) 82%,transparent)}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]){box-shadow:none}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]),.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]){--praxis-toolbar-primary: var( --mat-sys-primary, var(--md-sys-color-primary) );--praxis-toolbar-on-primary: var( --mat-sys-on-primary, var(--md-sys-color-on-primary) );--praxis-toolbar-primary-action-container: var( --p-table-toolbar-primary-action-container, color-mix( in srgb, var(--praxis-toolbar-primary) 70%, var(--mat-sys-shadow, #000) 30% ) );--mdc-filled-button-container-color: var( --praxis-toolbar-primary-action-container );--mdc-filled-button-label-text-color: var(--praxis-toolbar-on-primary);--mat-filled-button-state-layer-color: var(--praxis-toolbar-on-primary);background:var(--praxis-toolbar-primary-action-container)!important;border-color:transparent;color:var(--praxis-toolbar-on-primary)!important;box-shadow:0 2px 6px color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 22%,transparent)}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]):hover,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]):hover{background:color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 88%,var(--praxis-toolbar-on-primary) 12%)!important}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]) .mat-icon,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]) .mat-icon{color:var(--praxis-toolbar-on-primary)!important}.action-btn.mat-mdc-button-base{padding-inline:var(--praxis-action-control-padding-inline, 12px);overflow:hidden!important;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )!important}.action-btn.mat-mdc-button-base .mat-mdc-button-persistent-ripple,.action-btn.mat-mdc-button-base .mat-mdc-button-ripple{border-radius:inherit!important;overflow:hidden!important}.action-btn[aria-disabled=true],.action-btn--fab[aria-disabled=true]{--mdc-text-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-filled-button-container-color: color-mix( in srgb, var(--md-sys-color-surface-container-high) 78%, transparent );--mdc-filled-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-outlined-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-protected-button-label-text-color: var( --md-sys-color-on-surface-variant );background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important;color:var(--md-sys-color-on-surface-variant)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--md-sys-color-outline) 62%,transparent)!important;cursor:not-allowed;filter:saturate(.55);opacity:var(--praxis-action-control-disabled-opacity, .75)}.action-btn[aria-disabled=true]:hover,.action-btn--fab[aria-disabled=true]:hover{background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important}.action-btn[aria-disabled=true] .mat-icon,.action-btn--fab[aria-disabled=true] .mat-icon{opacity:.85!important;color:currentColor!important}.action-btn[aria-disabled=true]:focus-visible,.action-btn--fab[aria-disabled=true]:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.mat-mdc-menu-item[aria-disabled=true],.mat-mdc-menu-item.mat-mdc-menu-item-disabled{color:var(--md-sys-color-on-surface-variant)!important;cursor:not-allowed;opacity:1!important}.praxis-toolbar-menu-action__label,.praxis-toolbar-menu-action__reason{display:block}.praxis-toolbar-menu-action__reason{max-width:280px;color:var(--md-sys-color-on-surface-variant)!important;font-size:12px;font-weight:400;line-height:1.35;white-space:normal}.praxis-table-compact-command-group{box-sizing:border-box;margin:6px 12px 2px;padding:8px 4px 4px;border-block-start:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 74%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.04em;text-transform:uppercase}.praxis-table-compact-command-group:first-child{margin-block-start:2px;padding-block-start:4px;border-block-start:0}.praxis-table-compact-command-group__hint{max-width:280px;margin:0 16px 6px;color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:400;line-height:1.35;white-space:normal}.mat-mdc-menu-item[aria-disabled=true] .praxis-toolbar-menu-action__reason,.mat-mdc-menu-item.mat-mdc-menu-item-disabled .praxis-toolbar-menu-action__reason{opacity:1!important}.end-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.end-actions ::ng-deep>[end-actions]{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.end-actions ::ng-deep>[end-actions].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.end-actions:empty,.end-actions:not(:has(*)){display:none;gap:0;margin-inline-start:0;padding-inline-start:0;border-inline-start:0}.praxis-toolbar-icon-action--primary{color:var(--md-sys-color-primary)}.praxis-toolbar-icon-action--accent{color:var(--md-sys-color-tertiary)}.praxis-toolbar-icon-action--warn{color:var(--md-sys-color-error)}.praxis-toolbar.p-table-toolbar--divider-between-groups .actions-group--has-business .utility-actions:not(:empty){margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:12px;border-inline-end:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity):not(:has(.toolbar-actions button,.toolbar-actions [role=button],.toolbar-actions [mat-button],.toolbar-actions [mat-icon-button],.toolbar-actions [praxisIconButton])) .toolbar-query{padding-inline-end:0;border-inline-end:0}.end-actions ::ng-deep .praxis-table-toolbar-action--ai,.end-actions ::ng-deep .praxis-table-ai-trigger{color:var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) );background:color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 10%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 24%,transparent)}.end-actions ::ng-deep [data-role=table-settings]{color:var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) )}@container praxis-table-toolbar (max-width: 1200px){.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"scope scope actions\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.p-table-toolbar--divider-start.praxis-toolbar--has-query.praxis-toolbar--has-scope:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{width:100%}}@container praxis-table-toolbar (max-width: 960px){.actions-group{display:none}.mobile-actions{display:flex}.toolbar-actions{justify-content:flex-end}}@container praxis-table-toolbar (max-width: 720px){.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-cross-filters{grid-template-areas:\"query query query\" \"actions actions actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope scope\" \"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"scope scope scope\" \"query query query\" \"actions actions actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{flex-direction:column}.toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.praxis-table-quick-filters{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}}@container praxis-table-toolbar (max-width: 540px){.praxis-toolbar{--p-table-toolbar-query-control-height: 44px}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"identity actions\" \"query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-cross-filters{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"identity actions\" \"query query\" \"cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;grid-template-areas:\"identity identity identity\" \"actions actions actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;grid-template-areas:\"identity identity identity\" \"actions actions actions\" \"scope scope scope\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.toolbar-actions{justify-self:stretch;justify-content:flex-end}.toolbar-actions,.toolbar-query{--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.toolbar-identity__subtitle{display:none}.praxis-table-quick-filter.mat-mdc-outlined-button{min-height:44px}.praxis-table-quick-filters--binary{width:100%;min-width:0}.praxis-table-quick-filters--binary .praxis-table-quick-filter.mat-mdc-outlined-button{flex:1 1 0;min-width:0}}\n"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i14.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
4765
4784
|
}
|
|
4766
4785
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisTableToolbar, decorators: [{
|
|
4767
4786
|
type: Component,
|
|
@@ -4910,6 +4929,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
4910
4929
|
@if (showMain) {
|
|
4911
4930
|
@if (shouldShowQuickFilters()) {
|
|
4912
4931
|
<div
|
|
4932
|
+
#toolbarScope
|
|
4913
4933
|
class="praxis-table-quick-filters"
|
|
4914
4934
|
[class.praxis-table-quick-filters--binary]="
|
|
4915
4935
|
getQuickFilters().length === 2
|
|
@@ -5944,7 +5964,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
5944
5964
|
`, host: {
|
|
5945
5965
|
'[class.praxis-toolbar-footer]': "placement === 'footer'",
|
|
5946
5966
|
'(document:keydown)': 'onDocumentKeydown($event)',
|
|
5947
|
-
}, styles: [":host{display:block;container-name:praxis-table-toolbar;container-type:inline-size}.praxis-toolbar{--p-table-toolbar-bg-default: linear-gradient( 180deg, color-mix( in srgb, var(--md-sys-color-surface, #fff) 96%, transparent ), color-mix( in srgb, var(--md-sys-color-surface-container-low, #f6f8fc) 100%, transparent ) );--p-table-toolbar-fg-default: var( --md-sys-color-on-surface, currentColor );--p-table-toolbar-border-color-default: color-mix( in srgb, var(--md-sys-color-outline-variant, #d7dbe5) 78%, transparent );--p-table-toolbar-divider-color-default: color-mix( in srgb, var(--md-sys-color-outline) 42%, transparent );--p-table-toolbar-action-hover-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 10%, transparent );--p-table-toolbar-action-active-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 16%, transparent );--p-table-toolbar-action-focus-ring-default: color-mix( in srgb, var(--md-sys-color-primary) 52%, transparent );--p-table-toolbar-ai-accent-color-default: var( --md-sys-color-primary, #0b72d9 );--p-table-toolbar-status-fg-default: var( --md-sys-color-on-surface-variant, currentColor );background:var( --p-table-toolbar-bg, var(--p-table-toolbar-bg-default) );color:var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default));box-shadow:var(--p-table-toolbar-shadow, none);padding:var( --p-table-toolbar-layout-padding, var(--p-table-toolbar-padding-block, var(--pfx-toolbar-pad-y, 6px)) var( --p-table-toolbar-padding-inline, var(--pfx-toolbar-pad-x, 12px) ) );min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );display:grid;grid-template-areas:\"actions actions actions\";grid-template-columns:max-content minmax(0,1fr) auto;align-items:center;column-gap:max(var(--p-table-toolbar-gap, 8px),12px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px);border:var(--p-table-toolbar-border-width, 1px) solid var( --p-table-toolbar-border-color, var(--p-table-toolbar-border-color-default) );border-radius:var(--p-table-toolbar-radius, 10px)}.praxis-toolbar.p-table-toolbar--flat{--p-table-toolbar-border-width: 0;--p-table-toolbar-shadow: none}.praxis-toolbar.p-table-toolbar--elevated{--p-table-toolbar-shadow: 0 12px 28px color-mix(in srgb, var(--md-sys-color-shadow, #000) 12%, transparent)}.praxis-toolbar.p-table-toolbar--integrated{--p-table-toolbar-bg: transparent;--p-table-toolbar-border-width: 0;--p-table-toolbar-radius: 0}.praxis-toolbar.p-table-toolbar--layout-separator{border-block-end-width:1px;border-block-end-style:solid;border-block-end-color:var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--compact{--p-table-toolbar-min-height: 36px;--p-table-toolbar-padding-block: 4px;--p-table-toolbar-padding-inline: 10px;--p-table-toolbar-gap: 4px;--p-table-toolbar-actions-gap: 4px;--p-table-toolbar-action-size: var( --praxis-action-control-compact-height, 36px );--p-table-toolbar-action-radius: var( --praxis-action-control-radius, 8px )}.praxis-toolbar.p-table-toolbar--comfortable{--p-table-toolbar-min-height: 44px;--p-table-toolbar-action-size: var( --praxis-action-control-height, 40px )}.praxis-toolbar.p-table-toolbar--spacious{--p-table-toolbar-min-height: 52px;--p-table-toolbar-padding-block: 8px;--p-table-toolbar-padding-inline: 16px;--p-table-toolbar-gap: 8px;--p-table-toolbar-actions-gap: 8px;--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.praxis-toolbar.p-table-toolbar--square{--p-table-toolbar-radius: 0;--p-table-toolbar-action-radius: 4px}.praxis-toolbar.p-table-toolbar--pill{--p-table-toolbar-radius: 999px;--p-table-toolbar-action-radius: 999px}:host(.praxis-toolbar-stack-top) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.praxis-toolbar-footer) .praxis-toolbar{border-top-left-radius:0;border-top-right-radius:0}:host(.praxis-toolbar-footer.footer-flat) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}.praxis-toolbar.mat-toolbar-single-row,.praxis-toolbar .mat-toolbar-row{height:auto}.praxis-toolbar.mat-toolbar-multiple-rows{min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) )}.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope query actions\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope query query\"}.toolbar-query{box-sizing:border-box;grid-area:query;display:flex;flex-wrap:wrap;align-items:start;min-width:0;column-gap:var(--p-table-toolbar-gap, 8px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px)}.toolbar-query>*{min-width:0}.toolbar-query>:is(praxis-filter,[advancedFilter]){flex:1 1 620px}.toolbar-shortcuts{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--p-table-toolbar-gap, 8px);min-width:0;max-width:100%;margin-inline-start:auto}.toolbar-shortcuts ::ng-deep>[toolbar]{min-width:0;max-width:100%}.toolbar-shortcuts ::ng-deep>[toolbar].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-query-control-height, 40px );--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.toolbar-shortcuts:not(:has(*)){display:none}.toolbar-identity{grid-area:identity;display:flex;align-items:center;gap:var(--p-table-toolbar-identity-gap, 8px);min-width:0;max-width:100%;min-height:var(--p-table-toolbar-identity-min-height, 30px);margin-block-end:var(--p-table-toolbar-identity-margin-bottom, 0);padding-inline:2px;color:var( --p-table-toolbar-title-fg, var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default)) )}.toolbar-identity--center{text-align:center;justify-content:center}.toolbar-identity--end{text-align:end;justify-content:flex-end}.toolbar-identity--center .toolbar-identity__copy{align-items:center}.toolbar-identity--end .toolbar-identity__copy{align-items:flex-end}.toolbar-identity__icon{width:var(--p-table-toolbar-identity-icon-size, 28px);height:var(--p-table-toolbar-identity-icon-size, 28px);border-radius:var(--p-table-toolbar-identity-icon-radius, 8px);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) );background:color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 8%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 18%,transparent)}.toolbar-identity__icon .mat-icon{font-size:18px;width:18px;height:18px;line-height:18px}.toolbar-identity__copy{display:flex;flex-direction:column;min-width:0;max-width:100%;gap:1px}.toolbar-identity__title,.toolbar-identity__subtitle{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-identity__title{font-size:var(--p-table-toolbar-title-font-size, 14px);font-weight:var(--p-table-toolbar-title-font-weight, 700);line-height:1.2;letter-spacing:0;color:var(--p-table-toolbar-title-fg, currentColor)}.toolbar-identity__subtitle{font-size:var(--p-table-toolbar-subtitle-font-size, 11.5px);line-height:1.25;color:var( --p-table-toolbar-subtitle-fg, var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) ) )}.toolbar-actions{grid-area:actions;display:flex;align-items:center;align-self:start;justify-self:end;justify-content:flex-end;gap:var(--p-table-toolbar-gap, 6px);min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );min-width:0}.praxis-toolbar.p-table-toolbar--align-start .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-start .toolbar-actions{justify-self:start}.praxis-toolbar.p-table-toolbar--align-center .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-center .toolbar-actions{justify-self:center}.praxis-toolbar.p-table-toolbar--align-end .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-end .toolbar-actions{justify-self:end}.actions-group{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.praxis-toolbar--compact-actions .actions-group{position:fixed;inset-block-start:-10000px;inset-inline-start:0;inline-size:max-content;max-inline-size:none;visibility:hidden;pointer-events:none}.praxis-toolbar--compact-actions .mobile-actions{display:flex}.praxis-toolbar--compact-actions .toolbar-query{flex-direction:column}.praxis-toolbar--compact-actions .toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.business-actions,.utility-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);min-width:0}.business-actions:empty,.utility-actions:empty{display:none}.action-btn:not(.praxis-icon-button){width:fit-content;max-width:100%;height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );padding-inline:var(--praxis-action-control-padding-inline, 12px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );gap:var(--praxis-action-control-gap, 8px);font-size:var(--praxis-action-control-font-size, .875rem);font-weight:var(--praxis-action-control-font-weight, 500);line-height:var(--praxis-action-control-line-height, 1.25rem);color:var(--p-table-toolbar-action-fg, inherit);background:var(--p-table-toolbar-action-bg, transparent)}.action-btn:not(.praxis-icon-button):hover:not(:disabled):not([aria-disabled=true]){background:var( --p-table-toolbar-action-hover-bg, var(--p-table-toolbar-action-hover-bg-default) )}.action-btn:not(.praxis-icon-button):focus-visible{outline:2px solid var( --p-table-toolbar-action-focus-ring, var( --praxis-action-control-focus-ring, var(--p-table-toolbar-action-focus-ring-default) ) );outline-offset:2px}.toolbar-icon-btn{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 9%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}.toolbar-icon-btn:hover:not(:disabled){color:var(--md-sys-color-on-primary-container);background:color-mix(in srgb,var(--md-sys-color-primary) 16%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-primary) 36%,transparent)}.action-btn--fab{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );box-shadow:none}.pfx-tonal{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.pfx-tonal:hover{background:var(--md-sys-color-secondary-container)}.mobile-actions{display:none;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.overflow-trigger{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.action-btn .mat-icon,.action-btn--fab .mat-icon,.overflow-trigger .mat-icon{margin:0;font-size:var(--praxis-action-control-icon-size, 18px);width:var(--praxis-action-control-icon-size, 18px);height:var(--praxis-action-control-icon-size, 18px);line-height:var(--praxis-action-control-icon-size, 18px)}.praxis-table-export-status{max-width:13rem;overflow:hidden;color:var(--p-table-toolbar-status-fg, currentColor);font-size:.75rem;font-weight:600;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.praxis-table-export-progress-icon{animation:praxis-table-export-spin .9s linear infinite}@keyframes praxis-table-export-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.praxis-table-export-progress-icon{animation:none}}.praxis-table-column-menu-item.mat-mdc-menu-item{min-height:40px}.praxis-table-export-menu-item.mat-mdc-menu-item{min-width:280px;white-space:nowrap}.praxis-table-column-menu-content{align-items:center;display:flex;gap:10px;min-height:40px;width:100%}.praxis-table-column-menu-check.mat-icon{color:var(--md-sys-color-primary, currentColor);flex:0 0 20px;font-size:20px;height:20px;line-height:20px;margin-inline-end:0;width:20px}.praxis-table-quick-filters{grid-area:scope;align-self:start;align-items:center;display:flex;flex-wrap:nowrap;gap:0;min-height:var(--p-table-toolbar-min-height, 44px)}.praxis-table-quick-filter.mat-mdc-outlined-button{--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);padding-inline:14px;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );position:relative;z-index:0;white-space:nowrap}.praxis-table-quick-filter+.praxis-table-quick-filter{margin-inline-start:-1px}.praxis-table-quick-filter:first-child:not(:only-child){border-start-end-radius:0;border-end-end-radius:0}.praxis-table-quick-filter:not(:first-child):not(:last-child){border-radius:0}.praxis-table-quick-filter:last-child:not(:only-child){border-start-start-radius:0;border-end-start-radius:0}.praxis-table-quick-filter:only-child{border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.praxis-table-quick-filter--active.mat-mdc-outlined-button{--praxis-quick-filter-tone: var(--md-sys-color-primary);background:color-mix(in srgb,var(--praxis-quick-filter-tone) 12%,transparent);border-color:var(--praxis-quick-filter-tone);color:var(--praxis-quick-filter-tone);z-index:1}.praxis-table-quick-filter[data-tone=info]{--praxis-quick-filter-tone: var(--praxis-info, var(--md-sys-color-tertiary, #0284c7))}.praxis-table-quick-filter[data-tone=success],.praxis-table-quick-filter[data-tone=ready]{--praxis-quick-filter-tone: var(--praxis-success, #047857)}.praxis-table-quick-filter[data-tone=warning]{--praxis-quick-filter-tone: var(--praxis-warning, #b45309)}.praxis-table-quick-filter[data-tone=danger]{--praxis-quick-filter-tone: var(--praxis-error, var(--md-sys-color-error, #b91c1c))}.praxis-table-quick-filter[data-tone]:not([data-tone=default]):not([data-tone=primary]) mat-icon{color:var(--praxis-quick-filter-tone)}.praxis-table-quick-filter:focus-visible{z-index:2}.praxis-table-active-cross-filters{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%}.praxis-table-active-cross-filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding-inline:8px 4px;border-radius:16px;background:var(--md-sys-color-secondary-container, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 12%, transparent));color:var(--md-sys-color-on-secondary-container, var(--md-sys-color-primary, #005ac1));border:1px solid var(--md-sys-color-outline-variant, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 24%, transparent));font-size:.8125rem;line-height:1.2;font-weight:400;box-sizing:border-box}.praxis-table-active-cross-filter-chip__icon{font-size:16px;width:16px;height:16px;color:var(--md-sys-color-primary, currentColor);flex-shrink:0}.praxis-table-active-cross-filter-chip__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.praxis-table-active-cross-filter-chip__label strong{font-weight:600}.praxis-table-active-cross-filter-chip__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin:0;border:none;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.7;transition:opacity .12s ease,background-color .12s ease}.praxis-table-active-cross-filter-chip__clear:hover{opacity:1;background:color-mix(in srgb,currentColor 14%,transparent)}.praxis-table-active-cross-filter-chip__clear:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:1px;opacity:1}.praxis-table-active-cross-filter-chip__clear mat-icon{font-size:14px;width:14px;height:14px;line-height:14px}.praxis-table-clear-all-cross-filters-btn{display:inline-flex;align-items:center;min-height:24px;padding-inline:6px;border-radius:4px;border:none;background:transparent;color:var(--md-sys-color-primary, #005ac1);font-size:.75rem;font-weight:500;cursor:pointer;text-decoration:underline;opacity:.85;transition:opacity .12s ease}.praxis-table-clear-all-cross-filters-btn:hover{opacity:1}.action-btn.mat-mdc-button-base,.action-btn--fab.mat-mdc-button-base,.overflow-trigger.mat-mdc-button-base,.toolbar-icon-btn.mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, 36px )}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]),.action-btn.mat-mdc-outlined-button:not(:disabled):not([aria-disabled=true]),.action-btn.pfx-tonal:not(:disabled):not([aria-disabled=true]){border-color:color-mix(in srgb,var(--md-sys-color-outline-variant, #d7dbe5) 82%,transparent)}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]){box-shadow:none}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]),.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]){--praxis-toolbar-primary: var( --mat-sys-primary, var(--md-sys-color-primary) );--praxis-toolbar-on-primary: var( --mat-sys-on-primary, var(--md-sys-color-on-primary) );--praxis-toolbar-primary-action-container: var( --p-table-toolbar-primary-action-container, color-mix( in srgb, var(--praxis-toolbar-primary) 70%, var(--mat-sys-shadow, #000) 30% ) );--mdc-filled-button-container-color: var( --praxis-toolbar-primary-action-container );--mdc-filled-button-label-text-color: var(--praxis-toolbar-on-primary);--mat-filled-button-state-layer-color: var(--praxis-toolbar-on-primary);background:var(--praxis-toolbar-primary-action-container)!important;border-color:transparent;color:var(--praxis-toolbar-on-primary)!important;box-shadow:0 2px 6px color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 22%,transparent)}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]):hover,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]):hover{background:color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 88%,var(--praxis-toolbar-on-primary) 12%)!important}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]) .mat-icon,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]) .mat-icon{color:var(--praxis-toolbar-on-primary)!important}.action-btn.mat-mdc-button-base{padding-inline:var(--praxis-action-control-padding-inline, 12px);overflow:hidden!important;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )!important}.action-btn.mat-mdc-button-base .mat-mdc-button-persistent-ripple,.action-btn.mat-mdc-button-base .mat-mdc-button-ripple{border-radius:inherit!important;overflow:hidden!important}.action-btn[aria-disabled=true],.action-btn--fab[aria-disabled=true]{--mdc-text-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-filled-button-container-color: color-mix( in srgb, var(--md-sys-color-surface-container-high) 78%, transparent );--mdc-filled-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-outlined-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-protected-button-label-text-color: var( --md-sys-color-on-surface-variant );background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important;color:var(--md-sys-color-on-surface-variant)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--md-sys-color-outline) 62%,transparent)!important;cursor:not-allowed;filter:saturate(.55);opacity:var(--praxis-action-control-disabled-opacity, .75)}.action-btn[aria-disabled=true]:hover,.action-btn--fab[aria-disabled=true]:hover{background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important}.action-btn[aria-disabled=true] .mat-icon,.action-btn--fab[aria-disabled=true] .mat-icon{opacity:.85!important;color:currentColor!important}.action-btn[aria-disabled=true]:focus-visible,.action-btn--fab[aria-disabled=true]:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.mat-mdc-menu-item[aria-disabled=true],.mat-mdc-menu-item.mat-mdc-menu-item-disabled{color:var(--md-sys-color-on-surface-variant)!important;cursor:not-allowed;opacity:1!important}.praxis-toolbar-menu-action__label,.praxis-toolbar-menu-action__reason{display:block}.praxis-toolbar-menu-action__reason{max-width:280px;color:var(--md-sys-color-on-surface-variant)!important;font-size:12px;font-weight:400;line-height:1.35;white-space:normal}.praxis-table-compact-command-group{box-sizing:border-box;margin:6px 12px 2px;padding:8px 4px 4px;border-block-start:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 74%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.04em;text-transform:uppercase}.praxis-table-compact-command-group:first-child{margin-block-start:2px;padding-block-start:4px;border-block-start:0}.praxis-table-compact-command-group__hint{max-width:280px;margin:0 16px 6px;color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:400;line-height:1.35;white-space:normal}.mat-mdc-menu-item[aria-disabled=true] .praxis-toolbar-menu-action__reason,.mat-mdc-menu-item.mat-mdc-menu-item-disabled .praxis-toolbar-menu-action__reason{opacity:1!important}.end-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.end-actions ::ng-deep>[end-actions]{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.end-actions ::ng-deep>[end-actions].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.end-actions:empty,.end-actions:not(:has(*)){display:none;gap:0;margin-inline-start:0;padding-inline-start:0;border-inline-start:0}.praxis-toolbar-icon-action--primary{color:var(--md-sys-color-primary)}.praxis-toolbar-icon-action--accent{color:var(--md-sys-color-tertiary)}.praxis-toolbar-icon-action--warn{color:var(--md-sys-color-error)}.praxis-toolbar.p-table-toolbar--divider-between-groups .actions-group--has-business .utility-actions:not(:empty){margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:12px;border-inline-end:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity):not(:has(.toolbar-actions button,.toolbar-actions [role=button],.toolbar-actions [mat-button],.toolbar-actions [mat-icon-button],.toolbar-actions [praxisIconButton])) .toolbar-query{padding-inline-end:0;border-inline-end:0}.end-actions ::ng-deep .praxis-table-toolbar-action--ai,.end-actions ::ng-deep .praxis-table-ai-trigger{color:var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) );background:color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 10%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 24%,transparent)}.end-actions ::ng-deep [data-role=table-settings]{color:var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) )}@container praxis-table-toolbar (max-width: 1200px){.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.p-table-toolbar--divider-start.praxis-toolbar--has-query.praxis-toolbar--has-scope:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{width:100%}}@container praxis-table-toolbar (max-width: 960px){.actions-group{display:none}.mobile-actions{display:flex}.toolbar-actions{justify-content:flex-end}}@container praxis-table-toolbar (max-width: 720px){.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope scope\" \"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{flex-direction:column}.toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.praxis-table-quick-filters{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}}@container praxis-table-toolbar (max-width: 540px){.praxis-toolbar{--p-table-toolbar-query-control-height: 44px}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"identity actions\" \"query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-columns:max-content minmax(0,1fr) auto;grid-template-areas:\"identity identity identity\" \"actions actions actions\" \"scope scope scope\" \"query query query\"}.toolbar-actions{justify-self:stretch;justify-content:flex-end}.toolbar-actions,.toolbar-query{--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.toolbar-identity__subtitle{display:none}.praxis-table-quick-filter.mat-mdc-outlined-button{min-height:44px}.praxis-table-quick-filters--binary{width:100%;min-width:0}.praxis-table-quick-filters--binary .praxis-table-quick-filter.mat-mdc-outlined-button{flex:1 1 0;min-width:0}}\n"] }]
|
|
5967
|
+
}, styles: [":host{display:block;container-name:praxis-table-toolbar;container-type:inline-size}.praxis-toolbar{--p-table-toolbar-bg-default: linear-gradient( 180deg, color-mix( in srgb, var(--md-sys-color-surface, #fff) 96%, transparent ), color-mix( in srgb, var(--md-sys-color-surface-container-low, #f6f8fc) 100%, transparent ) );--p-table-toolbar-fg-default: var( --md-sys-color-on-surface, currentColor );--p-table-toolbar-border-color-default: color-mix( in srgb, var(--md-sys-color-outline-variant, #d7dbe5) 78%, transparent );--p-table-toolbar-divider-color-default: color-mix( in srgb, var(--md-sys-color-outline) 42%, transparent );--p-table-toolbar-action-hover-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 10%, transparent );--p-table-toolbar-action-active-bg-default: color-mix( in srgb, var(--md-sys-color-primary) 16%, transparent );--p-table-toolbar-action-focus-ring-default: color-mix( in srgb, var(--md-sys-color-primary) 52%, transparent );--p-table-toolbar-ai-accent-color-default: var( --md-sys-color-primary, #0b72d9 );--p-table-toolbar-status-fg-default: var( --md-sys-color-on-surface-variant, currentColor );background:var( --p-table-toolbar-bg, var(--p-table-toolbar-bg-default) );color:var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default));box-shadow:var(--p-table-toolbar-shadow, none);padding:var( --p-table-toolbar-layout-padding, var(--p-table-toolbar-padding-block, var(--pfx-toolbar-pad-y, 6px)) var( --p-table-toolbar-padding-inline, var(--pfx-toolbar-pad-x, 12px) ) );min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );display:grid;grid-template-areas:\"actions actions actions\";grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;align-items:center;column-gap:max(var(--p-table-toolbar-gap, 8px),12px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px);border:var(--p-table-toolbar-border-width, 1px) solid var( --p-table-toolbar-border-color, var(--p-table-toolbar-border-color-default) );border-radius:var(--p-table-toolbar-radius, 10px)}.praxis-toolbar.p-table-toolbar--flat{--p-table-toolbar-border-width: 0;--p-table-toolbar-shadow: none}.praxis-toolbar.p-table-toolbar--elevated{--p-table-toolbar-shadow: 0 12px 28px color-mix(in srgb, var(--md-sys-color-shadow, #000) 12%, transparent)}.praxis-toolbar.p-table-toolbar--integrated{--p-table-toolbar-bg: transparent;--p-table-toolbar-border-width: 0;--p-table-toolbar-radius: 0}.praxis-toolbar.p-table-toolbar--layout-separator{border-block-end-width:1px;border-block-end-style:solid;border-block-end-color:var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--compact{--p-table-toolbar-min-height: 36px;--p-table-toolbar-padding-block: 4px;--p-table-toolbar-padding-inline: 10px;--p-table-toolbar-gap: 4px;--p-table-toolbar-actions-gap: 4px;--p-table-toolbar-action-size: var( --praxis-action-control-compact-height, 36px );--p-table-toolbar-action-radius: var( --praxis-action-control-radius, 8px )}.praxis-toolbar.p-table-toolbar--comfortable{--p-table-toolbar-min-height: 44px;--p-table-toolbar-action-size: var( --praxis-action-control-height, 40px )}.praxis-toolbar.p-table-toolbar--spacious{--p-table-toolbar-min-height: 52px;--p-table-toolbar-padding-block: 8px;--p-table-toolbar-padding-inline: 16px;--p-table-toolbar-gap: 8px;--p-table-toolbar-actions-gap: 8px;--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.praxis-toolbar.p-table-toolbar--square{--p-table-toolbar-radius: 0;--p-table-toolbar-action-radius: 4px}.praxis-toolbar.p-table-toolbar--pill{--p-table-toolbar-radius: 999px;--p-table-toolbar-action-radius: 999px}:host(.praxis-toolbar-stack-top) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.praxis-toolbar-footer) .praxis-toolbar{border-top-left-radius:0;border-top-right-radius:0}:host(.praxis-toolbar-footer.footer-flat) .praxis-toolbar{border-bottom-left-radius:0;border-bottom-right-radius:0}.praxis-toolbar.mat-toolbar-single-row,.praxis-toolbar .mat-toolbar-row{height:auto}.praxis-toolbar.mat-toolbar-multiple-rows{min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) )}.praxis-toolbar.praxis-toolbar--has-cross-filters{grid-template-areas:\"actions actions actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-cross-filters{grid-template-areas:\"query query actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope query actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"scope query actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"scope query query\" \"cross-filters cross-filters cross-filters\"}.toolbar-query{box-sizing:border-box;grid-area:query;display:flex;flex-wrap:wrap;align-items:start;min-width:0;column-gap:var(--p-table-toolbar-gap, 8px);row-gap:var(--p-table-toolbar-identity-filter-gap, 8px)}.toolbar-query>*{min-width:0}.toolbar-query>:is(praxis-filter,[advancedFilter]){flex:1 1 620px}.toolbar-shortcuts{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--p-table-toolbar-gap, 8px);min-width:0;max-width:100%;margin-inline-start:auto}.toolbar-shortcuts ::ng-deep>[toolbar]{min-width:0;max-width:100%}.toolbar-shortcuts ::ng-deep>[toolbar].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-query-control-height, 40px );--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.toolbar-shortcuts:not(:has(*)){display:none}.toolbar-identity{grid-area:identity;display:flex;align-items:center;gap:var(--p-table-toolbar-identity-gap, 8px);min-width:0;max-width:100%;min-height:var(--p-table-toolbar-identity-min-height, 30px);margin-block-end:var(--p-table-toolbar-identity-margin-bottom, 0);padding-inline:2px;color:var( --p-table-toolbar-title-fg, var(--p-table-toolbar-fg, var(--p-table-toolbar-fg-default)) )}.toolbar-identity--center{text-align:center;justify-content:center}.toolbar-identity--end{text-align:end;justify-content:flex-end}.toolbar-identity--center .toolbar-identity__copy{align-items:center}.toolbar-identity--end .toolbar-identity__copy{align-items:flex-end}.toolbar-identity__icon{width:var(--p-table-toolbar-identity-icon-size, 28px);height:var(--p-table-toolbar-identity-icon-size, 28px);border-radius:var(--p-table-toolbar-identity-icon-radius, 8px);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) );background:color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 8%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-icon-fg, var(--md-sys-color-primary, currentColor) ) 18%,transparent)}.toolbar-identity__icon .mat-icon{font-size:18px;width:18px;height:18px;line-height:18px}.toolbar-identity__copy{display:flex;flex-direction:column;min-width:0;max-width:100%;gap:1px}.toolbar-identity__title,.toolbar-identity__subtitle{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-identity__title{font-size:var(--p-table-toolbar-title-font-size, 14px);font-weight:var(--p-table-toolbar-title-font-weight, 700);line-height:1.2;letter-spacing:0;color:var(--p-table-toolbar-title-fg, currentColor)}.toolbar-identity__subtitle{font-size:var(--p-table-toolbar-subtitle-font-size, 11.5px);line-height:1.25;color:var( --p-table-toolbar-subtitle-fg, var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) ) )}.toolbar-actions{grid-area:actions;display:flex;align-items:center;align-self:start;justify-self:end;justify-content:flex-end;gap:var(--p-table-toolbar-gap, 6px);min-height:var( --p-table-toolbar-min-height, var(--pfx-filter-h, 44px) );min-width:0}.praxis-toolbar.p-table-toolbar--align-start .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-start .toolbar-actions{justify-self:start}.praxis-toolbar.p-table-toolbar--align-center .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-center .toolbar-actions{justify-self:center}.praxis-toolbar.p-table-toolbar--align-end .toolbar-identity,.praxis-toolbar.p-table-toolbar--align-end .toolbar-actions{justify-self:end}.actions-group{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.praxis-toolbar--compact-actions .actions-group{position:fixed;inset-block-start:-10000px;inset-inline-start:0;inline-size:max-content;max-inline-size:none;visibility:hidden;pointer-events:none}.praxis-toolbar--compact-actions .mobile-actions{display:flex}.praxis-toolbar--compact-actions .toolbar-query{flex-direction:column}.praxis-toolbar--compact-actions .toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.business-actions,.utility-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);min-width:0}.business-actions:empty,.utility-actions:empty{display:none}.action-btn:not(.praxis-icon-button){width:fit-content;max-width:100%;height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );padding-inline:var(--praxis-action-control-padding-inline, 12px);border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );gap:var(--praxis-action-control-gap, 8px);font-size:var(--praxis-action-control-font-size, .875rem);font-weight:var(--praxis-action-control-font-weight, 500);line-height:var(--praxis-action-control-line-height, 1.25rem);color:var(--p-table-toolbar-action-fg, inherit);background:var(--p-table-toolbar-action-bg, transparent)}.action-btn:not(.praxis-icon-button):hover:not(:disabled):not([aria-disabled=true]){background:var( --p-table-toolbar-action-hover-bg, var(--p-table-toolbar-action-hover-bg-default) )}.action-btn:not(.praxis-icon-button):focus-visible{outline:2px solid var( --p-table-toolbar-action-focus-ring, var( --praxis-action-control-focus-ring, var(--p-table-toolbar-action-focus-ring-default) ) );outline-offset:2px}.toolbar-icon-btn{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 9%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}.toolbar-icon-btn:hover:not(:disabled){color:var(--md-sys-color-on-primary-container);background:color-mix(in srgb,var(--md-sys-color-primary) 16%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-primary) 36%,transparent)}.action-btn--fab{width:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );box-shadow:none}.pfx-tonal{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.pfx-tonal:hover{background:var(--md-sys-color-secondary-container)}.mobile-actions{display:none;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px)}.overflow-trigger{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.action-btn .mat-icon,.action-btn--fab .mat-icon,.overflow-trigger .mat-icon{margin:0;font-size:var(--praxis-action-control-icon-size, 18px);width:var(--praxis-action-control-icon-size, 18px);height:var(--praxis-action-control-icon-size, 18px);line-height:var(--praxis-action-control-icon-size, 18px)}.praxis-table-export-status{max-width:13rem;overflow:hidden;color:var(--p-table-toolbar-status-fg, currentColor);font-size:.75rem;font-weight:600;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.praxis-table-export-progress-icon{animation:praxis-table-export-spin .9s linear infinite}@keyframes praxis-table-export-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.praxis-table-export-progress-icon{animation:none}}.praxis-table-column-menu-item.mat-mdc-menu-item{min-height:40px}.praxis-table-export-menu-item.mat-mdc-menu-item{min-width:280px;white-space:nowrap}.praxis-table-column-menu-content{align-items:center;display:flex;gap:10px;min-height:40px;width:100%}.praxis-table-column-menu-check.mat-icon{color:var(--md-sys-color-primary, currentColor);flex:0 0 20px;font-size:20px;height:20px;line-height:20px;margin-inline-end:0;width:20px}.praxis-table-quick-filters{grid-area:scope;align-self:start;align-items:center;display:flex;flex-wrap:nowrap;gap:0;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;min-height:var(--p-table-toolbar-min-height, 44px)}.praxis-table-quick-filter.mat-mdc-outlined-button{flex:0 0 auto;--mdc-outlined-button-container-height: var( --p-table-toolbar-query-control-height, 40px );min-height:var(--p-table-toolbar-query-control-height, 40px);padding-inline:14px;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) );position:relative;z-index:0;white-space:nowrap}.praxis-table-quick-filter+.praxis-table-quick-filter{margin-inline-start:-1px}.praxis-table-quick-filter:first-child:not(:only-child){border-start-end-radius:0;border-end-end-radius:0}.praxis-table-quick-filter:not(:first-child):not(:last-child){border-radius:0}.praxis-table-quick-filter:last-child:not(:only-child){border-start-start-radius:0;border-end-start-radius:0}.praxis-table-quick-filter:only-child{border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.praxis-table-quick-filter--active.mat-mdc-outlined-button{--praxis-quick-filter-tone: var(--md-sys-color-primary);background:color-mix(in srgb,var(--praxis-quick-filter-tone) 12%,transparent);border-color:var(--praxis-quick-filter-tone);color:var(--praxis-quick-filter-tone);z-index:1}.praxis-table-quick-filter[data-tone=info]{--praxis-quick-filter-tone: var(--praxis-info, var(--md-sys-color-tertiary, #0284c7))}.praxis-table-quick-filter[data-tone=success],.praxis-table-quick-filter[data-tone=ready]{--praxis-quick-filter-tone: var(--praxis-success, #047857)}.praxis-table-quick-filter[data-tone=warning]{--praxis-quick-filter-tone: var(--praxis-warning, #b45309)}.praxis-table-quick-filter[data-tone=danger]{--praxis-quick-filter-tone: var(--praxis-error, var(--md-sys-color-error, #b91c1c))}.praxis-table-quick-filter[data-tone]:not([data-tone=default]):not([data-tone=primary]) mat-icon{color:var(--praxis-quick-filter-tone)}.praxis-table-quick-filter:focus-visible{z-index:2}.praxis-table-active-cross-filters{grid-area:cross-filters;grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:100%;min-width:0;max-width:100%}.praxis-table-active-cross-filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding-inline:8px 4px;border-radius:16px;background:var(--md-sys-color-secondary-container, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 12%, transparent));color:var(--md-sys-color-on-secondary-container, var(--md-sys-color-primary, #005ac1));border:1px solid var(--md-sys-color-outline-variant, color-mix(in srgb, var(--md-sys-color-primary, #005ac1) 24%, transparent));font-size:.8125rem;line-height:1.2;font-weight:400;box-sizing:border-box}.praxis-table-active-cross-filter-chip__icon{font-size:16px;width:16px;height:16px;color:var(--md-sys-color-primary, currentColor);flex-shrink:0}.praxis-table-active-cross-filter-chip__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.praxis-table-active-cross-filter-chip__label strong{font-weight:600}.praxis-table-active-cross-filter-chip__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin:0;border:none;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.7;transition:opacity .12s ease,background-color .12s ease}.praxis-table-active-cross-filter-chip__clear:hover{opacity:1;background:color-mix(in srgb,currentColor 14%,transparent)}.praxis-table-active-cross-filter-chip__clear:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:1px;opacity:1}.praxis-table-active-cross-filter-chip__clear mat-icon{font-size:14px;width:14px;height:14px;line-height:14px}.praxis-table-clear-all-cross-filters-btn{display:inline-flex;align-items:center;min-height:24px;padding-inline:6px;border-radius:4px;border:none;background:transparent;color:var(--md-sys-color-primary, #005ac1);font-size:.75rem;font-weight:500;cursor:pointer;text-decoration:underline;opacity:.85;transition:opacity .12s ease}.praxis-table-clear-all-cross-filters-btn:hover{opacity:1}.action-btn.mat-mdc-button-base,.action-btn--fab.mat-mdc-button-base,.overflow-trigger.mat-mdc-button-base,.toolbar-icon-btn.mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, 36px );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, 36px )}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]),.action-btn.mat-mdc-outlined-button:not(:disabled):not([aria-disabled=true]),.action-btn.pfx-tonal:not(:disabled):not([aria-disabled=true]){border-color:color-mix(in srgb,var(--md-sys-color-outline-variant, #d7dbe5) 82%,transparent)}.action-btn.mat-mdc-unelevated-button:not(:disabled):not([aria-disabled=true]){box-shadow:none}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]),.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]){--praxis-toolbar-primary: var( --mat-sys-primary, var(--md-sys-color-primary) );--praxis-toolbar-on-primary: var( --mat-sys-on-primary, var(--md-sys-color-on-primary) );--praxis-toolbar-primary-action-container: var( --p-table-toolbar-primary-action-container, color-mix( in srgb, var(--praxis-toolbar-primary) 70%, var(--mat-sys-shadow, #000) 30% ) );--mdc-filled-button-container-color: var( --praxis-toolbar-primary-action-container );--mdc-filled-button-label-text-color: var(--praxis-toolbar-on-primary);--mat-filled-button-state-layer-color: var(--praxis-toolbar-on-primary);background:var(--praxis-toolbar-primary-action-container)!important;border-color:transparent;color:var(--praxis-toolbar-on-primary)!important;box-shadow:0 2px 6px color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 22%,transparent)}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]):hover,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]):hover{background:color-mix(in srgb,var(--praxis-toolbar-primary-action-container) 88%,var(--praxis-toolbar-on-primary) 12%)!important}.action-btn.mat-mdc-unelevated-button.mat-primary:not(:disabled):not([aria-disabled=true]) .mat-icon,.action-btn.praxis-toolbar-action--filled-primary:not(:disabled):not([aria-disabled=true]) .mat-icon{color:var(--praxis-toolbar-on-primary)!important}.action-btn.mat-mdc-button-base{padding-inline:var(--praxis-action-control-padding-inline, 12px);overflow:hidden!important;border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )!important}.action-btn.mat-mdc-button-base .mat-mdc-button-persistent-ripple,.action-btn.mat-mdc-button-base .mat-mdc-button-ripple{border-radius:inherit!important;overflow:hidden!important}.action-btn[aria-disabled=true],.action-btn--fab[aria-disabled=true]{--mdc-text-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-filled-button-container-color: color-mix( in srgb, var(--md-sys-color-surface-container-high) 78%, transparent );--mdc-filled-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-outlined-button-label-text-color: var( --md-sys-color-on-surface-variant );--mdc-protected-button-label-text-color: var( --md-sys-color-on-surface-variant );background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important;color:var(--md-sys-color-on-surface-variant)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--md-sys-color-outline) 62%,transparent)!important;cursor:not-allowed;filter:saturate(.55);opacity:var(--praxis-action-control-disabled-opacity, .75)}.action-btn[aria-disabled=true]:hover,.action-btn--fab[aria-disabled=true]:hover{background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 78%,transparent)!important}.action-btn[aria-disabled=true] .mat-icon,.action-btn--fab[aria-disabled=true] .mat-icon{opacity:.85!important;color:currentColor!important}.action-btn[aria-disabled=true]:focus-visible,.action-btn--fab[aria-disabled=true]:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.mat-mdc-menu-item[aria-disabled=true],.mat-mdc-menu-item.mat-mdc-menu-item-disabled{color:var(--md-sys-color-on-surface-variant)!important;cursor:not-allowed;opacity:1!important}.praxis-toolbar-menu-action__label,.praxis-toolbar-menu-action__reason{display:block}.praxis-toolbar-menu-action__reason{max-width:280px;color:var(--md-sys-color-on-surface-variant)!important;font-size:12px;font-weight:400;line-height:1.35;white-space:normal}.praxis-table-compact-command-group{box-sizing:border-box;margin:6px 12px 2px;padding:8px 4px 4px;border-block-start:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 74%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.04em;text-transform:uppercase}.praxis-table-compact-command-group:first-child{margin-block-start:2px;padding-block-start:4px;border-block-start:0}.praxis-table-compact-command-group__hint{max-width:280px;margin:0 16px 6px;color:var(--md-sys-color-on-surface-variant);font-size:.75rem;font-weight:400;line-height:1.35;white-space:normal}.mat-mdc-menu-item[aria-disabled=true] .praxis-toolbar-menu-action__reason,.mat-mdc-menu-item.mat-mdc-menu-item-disabled .praxis-toolbar-menu-action__reason{opacity:1!important}.end-actions{display:flex;align-items:center;gap:var(--p-table-toolbar-actions-gap, 8px);margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.end-actions ::ng-deep>[end-actions]{height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );min-height:var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );border-radius:var( --p-table-toolbar-action-radius, var(--praxis-action-control-radius, 8px) )}.end-actions ::ng-deep>[end-actions].mat-mdc-button-base{--mdc-text-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-filled-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-protected-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) );--mdc-outlined-button-container-height: var( --p-table-toolbar-action-size, var(--praxis-action-control-height, 40px) )}.end-actions:empty,.end-actions:not(:has(*)){display:none;gap:0;margin-inline-start:0;padding-inline-start:0;border-inline-start:0}.praxis-toolbar-icon-action--primary{color:var(--md-sys-color-primary)}.praxis-toolbar-icon-action--accent{color:var(--md-sys-color-tertiary)}.praxis-toolbar-icon-action--warn{color:var(--md-sys-color-error)}.praxis-toolbar.p-table-toolbar--divider-between-groups .actions-group--has-business .utility-actions:not(:empty){margin-inline-start:4px;padding-inline-start:12px;border-inline-start:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:12px;border-inline-end:1px solid var( --p-table-toolbar-divider-color, var(--p-table-toolbar-divider-color-default) )}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity):not(:has(.toolbar-actions button,.toolbar-actions [role=button],.toolbar-actions [mat-button],.toolbar-actions [mat-icon-button],.toolbar-actions [praxisIconButton])) .toolbar-query{padding-inline-end:0;border-inline-end:0}.end-actions ::ng-deep .praxis-table-toolbar-action--ai,.end-actions ::ng-deep .praxis-table-ai-trigger{color:var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) );background:color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 10%,transparent);border:1px solid color-mix(in srgb,var( --p-table-toolbar-ai-accent-color, var(--p-table-toolbar-ai-accent-color-default) ) 24%,transparent)}.end-actions ::ng-deep [data-role=table-settings]{color:var( --p-table-toolbar-status-fg, var(--p-table-toolbar-status-fg-default) )}@container praxis-table-toolbar (max-width: 1200px){.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"scope scope actions\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.p-table-toolbar--divider-start.praxis-toolbar--has-query.praxis-toolbar--has-scope:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{width:100%}}@container praxis-table-toolbar (max-width: 960px){.actions-group{display:none}.mobile-actions{display:flex}.toolbar-actions{justify-content:flex-end}}@container praxis-table-toolbar (max-width: 720px){.praxis-toolbar.praxis-toolbar--has-query{grid-template-areas:\"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-cross-filters{grid-template-areas:\"query query query\" \"actions actions actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope{grid-template-areas:\"scope scope scope\" \"query query query\" \"actions actions actions\"}.praxis-toolbar.praxis-toolbar--has-query.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"scope scope scope\" \"query query query\" \"actions actions actions\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-areas:\"identity identity actions\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-areas:\"identity identity actions\" \"scope scope scope\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.praxis-toolbar.p-table-toolbar--divider-start:not(.praxis-toolbar--has-identity) .toolbar-query{padding-inline-end:0;border-inline-end:0}.toolbar-query{flex-direction:column}.toolbar-shortcuts{justify-content:flex-start;margin-inline-start:0}.praxis-table-quick-filters{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}}@container praxis-table-toolbar (max-width: 540px){.praxis-toolbar{--p-table-toolbar-query-control-height: 44px}.praxis-toolbar.praxis-toolbar--has-identity{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"identity actions\" \"query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-cross-filters{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"identity actions\" \"query query\" \"cross-filters cross-filters\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope{grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;grid-template-areas:\"identity identity identity\" \"actions actions actions\" \"scope scope scope\" \"query query query\"}.praxis-toolbar.praxis-toolbar--has-identity.praxis-toolbar--has-scope.praxis-toolbar--has-cross-filters{grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;grid-template-areas:\"identity identity identity\" \"actions actions actions\" \"scope scope scope\" \"query query query\" \"cross-filters cross-filters cross-filters\"}.toolbar-actions{justify-self:stretch;justify-content:flex-end}.toolbar-actions,.toolbar-query{--p-table-toolbar-action-size: var( --praxis-action-control-spacious-height, 44px )}.toolbar-identity__subtitle{display:none}.praxis-table-quick-filter.mat-mdc-outlined-button{min-height:44px}.praxis-table-quick-filters--binary{width:100%;min-width:0}.praxis-table-quick-filters--binary .praxis-table-quick-filter.mat-mdc-outlined-button{flex:1 1 0;min-width:0}}\n"] }]
|
|
5948
5968
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.LoggerService, decorators: [{
|
|
5949
5969
|
type: Optional
|
|
5950
5970
|
}] }, { type: i1.PraxisI18nService, decorators: [{
|
|
@@ -5965,6 +5985,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
5965
5985
|
}], toolbarIdentity: [{
|
|
5966
5986
|
type: ViewChild,
|
|
5967
5987
|
args: ['toolbarIdentity', { read: ElementRef }]
|
|
5988
|
+
}], toolbarScope: [{
|
|
5989
|
+
type: ViewChild,
|
|
5990
|
+
args: ['toolbarScope', { read: ElementRef }]
|
|
5968
5991
|
}], fullActionsGroup: [{
|
|
5969
5992
|
type: ViewChild,
|
|
5970
5993
|
args: ['fullActionsGroup', { read: ElementRef }]
|
|
@@ -7326,13 +7349,15 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7326
7349
|
? '×'
|
|
7327
7350
|
: role === 'cap'
|
|
7328
7351
|
? '≤'
|
|
7329
|
-
: role === '
|
|
7330
|
-
? '
|
|
7331
|
-
: role === '
|
|
7332
|
-
? '
|
|
7333
|
-
: role === '
|
|
7334
|
-
? '
|
|
7335
|
-
: '
|
|
7352
|
+
: role === 'target'
|
|
7353
|
+
? '≥'
|
|
7354
|
+
: role === 'deduction'
|
|
7355
|
+
? '−'
|
|
7356
|
+
: role === 'addition'
|
|
7357
|
+
? '+'
|
|
7358
|
+
: role === 'result'
|
|
7359
|
+
? '='
|
|
7360
|
+
: '→';
|
|
7336
7361
|
return {
|
|
7337
7362
|
role,
|
|
7338
7363
|
label: step.label,
|
|
@@ -7343,7 +7368,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7343
7368
|
tone: step.tone ||
|
|
7344
7369
|
(role === 'result'
|
|
7345
7370
|
? 'primary'
|
|
7346
|
-
: role === 'factor'
|
|
7371
|
+
: role === 'factor' || role === 'target'
|
|
7347
7372
|
? 'info'
|
|
7348
7373
|
: role === 'cap' || role === 'deduction'
|
|
7349
7374
|
? 'warning'
|
|
@@ -7413,12 +7438,25 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7413
7438
|
steps.push({
|
|
7414
7439
|
role: 'cap',
|
|
7415
7440
|
label: trail.capLabel || 'Trava / Teto',
|
|
7416
|
-
operator: '≤',
|
|
7441
|
+
operator: trail.capOperator?.trim() || '≤',
|
|
7417
7442
|
value: this.evaluateAndFormatCalculationValue(trail.capExpr, trail.capValue, trail.capFormat || 'currency:BRL', context),
|
|
7418
7443
|
hint: this.evalStringText(trail.capHintExpr, context) ?? trail.capHint,
|
|
7419
7444
|
tone: 'warning',
|
|
7420
7445
|
});
|
|
7421
7446
|
}
|
|
7447
|
+
const hasTarget = trail.targetExpr !== undefined ||
|
|
7448
|
+
trail.targetValue !== undefined ||
|
|
7449
|
+
trail.targetLabel !== undefined;
|
|
7450
|
+
if (hasTarget) {
|
|
7451
|
+
steps.push({
|
|
7452
|
+
role: 'target',
|
|
7453
|
+
label: trail.targetLabel || 'Meta / Piso Mínimo',
|
|
7454
|
+
operator: '≥',
|
|
7455
|
+
value: this.evaluateAndFormatCalculationValue(trail.targetExpr, trail.targetValue, trail.targetFormat, context),
|
|
7456
|
+
hint: this.evalStringText(trail.targetHintExpr, context) ?? trail.targetHint,
|
|
7457
|
+
tone: 'info',
|
|
7458
|
+
});
|
|
7459
|
+
}
|
|
7422
7460
|
const hasResult = trail.resultExpr !== undefined ||
|
|
7423
7461
|
trail.resultValue !== undefined ||
|
|
7424
7462
|
trail.resultLabel !== undefined;
|
|
@@ -7445,7 +7483,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7445
7483
|
if (rawVal === undefined || rawVal === null || rawVal === '') {
|
|
7446
7484
|
return '—';
|
|
7447
7485
|
}
|
|
7448
|
-
const fmt = String(format || '').trim();
|
|
7486
|
+
const fmt = String(format || '').trim().toLowerCase();
|
|
7449
7487
|
if (!fmt || fmt === 'text') {
|
|
7450
7488
|
return String(rawVal);
|
|
7451
7489
|
}
|
|
@@ -7454,7 +7492,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7454
7492
|
return String(rawVal);
|
|
7455
7493
|
}
|
|
7456
7494
|
if (fmt.startsWith('currency')) {
|
|
7457
|
-
const curr = fmt.includes(':') ? fmt.split(':')[1] : 'BRL';
|
|
7495
|
+
const curr = (fmt.includes(':') ? fmt.split(':')[1] : 'brl').trim().toUpperCase() || 'BRL';
|
|
7458
7496
|
if (this.formattingService) {
|
|
7459
7497
|
try {
|
|
7460
7498
|
return this.formattingService.formatValue(num, 'currency', `${curr}|symbol|2`);
|
|
@@ -7483,14 +7521,25 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7483
7521
|
const rounded = Math.round(num);
|
|
7484
7522
|
return `${rounded.toLocaleString('pt-BR', { maximumFractionDigits: 0 })} ${Math.abs(rounded) === 1 ? 'dia' : 'dias'}`;
|
|
7485
7523
|
}
|
|
7486
|
-
if (fmt === 'decimal') {
|
|
7487
|
-
|
|
7524
|
+
if (fmt === 'decimal' || fmt.startsWith('decimal:')) {
|
|
7525
|
+
const digits = this.parsePrecisionDigits(fmt, 2);
|
|
7526
|
+
return num.toLocaleString('pt-BR', { minimumFractionDigits: digits, maximumFractionDigits: digits });
|
|
7488
7527
|
}
|
|
7489
|
-
if (fmt === 'number') {
|
|
7490
|
-
|
|
7528
|
+
if (fmt === 'number' || fmt.startsWith('number:')) {
|
|
7529
|
+
const digits = this.parsePrecisionDigits(fmt, 2);
|
|
7530
|
+
return num.toLocaleString('pt-BR', { maximumFractionDigits: digits });
|
|
7491
7531
|
}
|
|
7492
7532
|
return String(rawVal);
|
|
7493
7533
|
}
|
|
7534
|
+
parsePrecisionDigits(fmt, fallback) {
|
|
7535
|
+
const colonIdx = fmt.indexOf(':');
|
|
7536
|
+
if (colonIdx === -1)
|
|
7537
|
+
return fallback;
|
|
7538
|
+
const parsed = Number.parseInt(fmt.slice(colonIdx + 1).trim(), 10);
|
|
7539
|
+
if (!Number.isFinite(parsed) || parsed < 0)
|
|
7540
|
+
return fallback;
|
|
7541
|
+
return Math.min(parsed, 20);
|
|
7542
|
+
}
|
|
7494
7543
|
evalRawExpression(expr, context) {
|
|
7495
7544
|
if (!expr || !expr.trim())
|
|
7496
7545
|
return undefined;
|
|
@@ -7712,8 +7761,10 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7712
7761
|
return;
|
|
7713
7762
|
}
|
|
7714
7763
|
this.relationFetch.emit({ key: rel.key, endpoint: url });
|
|
7715
|
-
const
|
|
7764
|
+
const explicitMethod = rel.method?.trim().toUpperCase();
|
|
7716
7765
|
const effectiveUrl = this.resolveUrl(url);
|
|
7766
|
+
const isCanonicalFilterUrl = !explicitMethod && /\/filter(?:\?|$)/i.test(effectiveUrl);
|
|
7767
|
+
const method = isCanonicalFilterUrl ? 'POST' : (explicitMethod || 'GET');
|
|
7717
7768
|
const scopedUrlKey = `${scopePrefix}::${method}::${effectiveUrl}`;
|
|
7718
7769
|
// Tenant-scoped cache check
|
|
7719
7770
|
if (rel.cache !== false && this.relationCache.has(scopedUrlKey)) {
|
|
@@ -7725,15 +7776,23 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7725
7776
|
return;
|
|
7726
7777
|
}
|
|
7727
7778
|
activeRequests++;
|
|
7728
|
-
const req$ =
|
|
7729
|
-
? this.
|
|
7730
|
-
:
|
|
7779
|
+
const req$ = isCanonicalFilterUrl
|
|
7780
|
+
? this.postCanonicalFilterRelation(effectiveUrl)
|
|
7781
|
+
: method === 'POST'
|
|
7782
|
+
? this.http.post(effectiveUrl, {})
|
|
7783
|
+
: this.http.get(effectiveUrl);
|
|
7731
7784
|
const sub = req$
|
|
7732
7785
|
.pipe(map((resp) => {
|
|
7733
7786
|
let resultData = resp;
|
|
7734
7787
|
if (resp && typeof resp === 'object' && 'data' in resp) {
|
|
7735
7788
|
resultData = resp.data;
|
|
7736
7789
|
}
|
|
7790
|
+
if (resultData &&
|
|
7791
|
+
typeof resultData === 'object' &&
|
|
7792
|
+
!Array.isArray(resultData) &&
|
|
7793
|
+
Array.isArray(resultData['content'])) {
|
|
7794
|
+
resultData = resultData['content'];
|
|
7795
|
+
}
|
|
7737
7796
|
if (rel.cardinality === 'single' && Array.isArray(resultData)) {
|
|
7738
7797
|
resultData = resultData.length > 0 ? resultData[0] : null;
|
|
7739
7798
|
}
|
|
@@ -7772,6 +7831,28 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7772
7831
|
this.relationSubs = [];
|
|
7773
7832
|
this.isFetchingRelations.set(false);
|
|
7774
7833
|
}
|
|
7834
|
+
postCanonicalFilterRelation(effectiveUrl) {
|
|
7835
|
+
const qIdx = effectiveUrl.indexOf('?');
|
|
7836
|
+
const baseFilterUrl = qIdx >= 0 ? effectiveUrl.slice(0, qIdx) : effectiveUrl;
|
|
7837
|
+
const filterBody = {};
|
|
7838
|
+
if (qIdx >= 0) {
|
|
7839
|
+
const params = new URLSearchParams(effectiveUrl.slice(qIdx + 1));
|
|
7840
|
+
params.forEach((rawValue, key) => {
|
|
7841
|
+
const coerced = coerceRelationFilterParam(rawValue);
|
|
7842
|
+
const existing = filterBody[key];
|
|
7843
|
+
if (existing === undefined) {
|
|
7844
|
+
filterBody[key] = coerced;
|
|
7845
|
+
}
|
|
7846
|
+
else if (Array.isArray(existing)) {
|
|
7847
|
+
existing.push(coerced);
|
|
7848
|
+
}
|
|
7849
|
+
else {
|
|
7850
|
+
filterBody[key] = [existing, coerced];
|
|
7851
|
+
}
|
|
7852
|
+
});
|
|
7853
|
+
}
|
|
7854
|
+
return this.http.post(baseFilterUrl, filterBody);
|
|
7855
|
+
}
|
|
7775
7856
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisAnalyticalDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7776
7857
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisAnalyticalDrawerComponent, isStandalone: true, selector: "praxis-analytical-drawer", inputs: { isOpen: "isOpen", resourcePath: "resourcePath", drawerConfig: "drawerConfig", row: "row", relations: "relations", loadingRelations: "loadingRelations" }, outputs: { closeDrawer: "closeDrawer", tabChange: "tabChange", relationFetch: "relationFetch" }, host: { listeners: { "pointerover": "onMicroVizPointerOver($event)", "pointerout": "onMicroVizPointerOut($event)", "focusin": "onMicroVizFocusIn($event)", "focusout": "onMicroVizFocusOut($event)", "document:keydown.escape": "handleDocumentEscape($event)" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
7777
7858
|
@if (isOpen && row) {
|
|
@@ -8455,6 +8536,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8455
8536
|
}], relationFetch: [{
|
|
8456
8537
|
type: Output
|
|
8457
8538
|
}] } });
|
|
8539
|
+
function coerceRelationFilterParam(raw) {
|
|
8540
|
+
if (raw === 'true')
|
|
8541
|
+
return true;
|
|
8542
|
+
if (raw === 'false')
|
|
8543
|
+
return false;
|
|
8544
|
+
if (raw === '0' || /^-?[1-9]\d*$/.test(raw)) {
|
|
8545
|
+
const parsed = Number(raw);
|
|
8546
|
+
if (Number.isSafeInteger(parsed))
|
|
8547
|
+
return parsed;
|
|
8548
|
+
}
|
|
8549
|
+
return raw;
|
|
8550
|
+
}
|
|
8458
8551
|
|
|
8459
8552
|
/** Independent request generations for expanded rows and the selected detail. */
|
|
8460
8553
|
class TableDetailRuntimeState {
|
|
@@ -12433,7 +12526,8 @@ class FilterSettingsComponent {
|
|
|
12433
12526
|
return `${this.schemaMetaScopeKey(configKey)}:index`;
|
|
12434
12527
|
}
|
|
12435
12528
|
schemaMetaKeyForSchemaId(configKey, schemaId) {
|
|
12436
|
-
|
|
12529
|
+
const storageSegment = buildSchemaIdStorageKeySegment(schemaId);
|
|
12530
|
+
return `${this.schemaMetaScopeKey(configKey)}:schema:${storageSegment || schemaId}`;
|
|
12437
12531
|
}
|
|
12438
12532
|
filterSchemaIgnoreKey(configKey, serverHash) {
|
|
12439
12533
|
return `filter-schema-ignore:${configKey}:${serverHash}`;
|
|
@@ -12459,12 +12553,18 @@ class FilterSettingsComponent {
|
|
|
12459
12553
|
hashes.add(legacyHash);
|
|
12460
12554
|
const keysToClear = [];
|
|
12461
12555
|
for (const schemaId of schemaIds) {
|
|
12462
|
-
const
|
|
12463
|
-
const
|
|
12464
|
-
const
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12556
|
+
const compactKey = this.schemaMetaKeyForSchemaId(configKey, schemaId);
|
|
12557
|
+
const legacyRawKey = `${scopeKey}:schema:${schemaId}`;
|
|
12558
|
+
const candidateKeys = legacyRawKey !== compactKey && legacyRawKey.length <= 255
|
|
12559
|
+
? [compactKey, legacyRawKey]
|
|
12560
|
+
: [compactKey];
|
|
12561
|
+
for (const key of candidateKeys) {
|
|
12562
|
+
const meta = await firstValueFrom(this.storage.loadConfig(key).pipe(take$1(1))).catch(() => null);
|
|
12563
|
+
const hash = String(meta?.serverHash || '').trim();
|
|
12564
|
+
if (hash)
|
|
12565
|
+
hashes.add(hash);
|
|
12566
|
+
keysToClear.push(key);
|
|
12567
|
+
}
|
|
12468
12568
|
}
|
|
12469
12569
|
keysToClear.push(indexKey, scopeKey);
|
|
12470
12570
|
hashes.forEach((hash) => {
|
|
@@ -14276,6 +14376,8 @@ class PraxisFilter {
|
|
|
14276
14376
|
componentKeys;
|
|
14277
14377
|
route;
|
|
14278
14378
|
logger;
|
|
14379
|
+
static sharedSchemaMetaCacheByStorage = new WeakMap();
|
|
14380
|
+
static schemaMetaPersistenceQueuesByStorage = new WeakMap();
|
|
14279
14381
|
addManagerOrigin;
|
|
14280
14382
|
addManagerSearch;
|
|
14281
14383
|
resourcePath;
|
|
@@ -14603,7 +14705,8 @@ class PraxisFilter {
|
|
|
14603
14705
|
const id = String(schemaId || '').trim();
|
|
14604
14706
|
if (!scopeKey || !id)
|
|
14605
14707
|
return null;
|
|
14606
|
-
|
|
14708
|
+
const storageSegment = buildSchemaIdStorageKeySegment(id);
|
|
14709
|
+
return storageSegment ? `${scopeKey}:schema:${storageSegment}` : null;
|
|
14607
14710
|
}
|
|
14608
14711
|
filterSchemaIgnoreKey(serverHash) {
|
|
14609
14712
|
const key = this.resolveConfigKey();
|
|
@@ -16047,17 +16150,20 @@ class PraxisFilter {
|
|
|
16047
16150
|
}
|
|
16048
16151
|
clearSchemaMetaPersistence(options) {
|
|
16049
16152
|
try {
|
|
16153
|
+
const sharedCache = this.getSharedSchemaMetaCache();
|
|
16050
16154
|
const keys = new Set();
|
|
16051
16155
|
const legacyScopeKey = this.getSchemaMetaKey();
|
|
16052
16156
|
if (legacyScopeKey) {
|
|
16053
16157
|
keys.add(legacyScopeKey);
|
|
16054
16158
|
this.storedSchemaMetaCache.delete(legacyScopeKey);
|
|
16159
|
+
sharedCache?.delete(legacyScopeKey);
|
|
16055
16160
|
}
|
|
16056
16161
|
if (options?.context) {
|
|
16057
16162
|
const contextualKey = this.getSchemaMetaKeyForContext(options.context);
|
|
16058
16163
|
if (contextualKey) {
|
|
16059
16164
|
keys.add(contextualKey);
|
|
16060
16165
|
this.storedSchemaMetaCache.delete(contextualKey);
|
|
16166
|
+
sharedCache?.delete(contextualKey);
|
|
16061
16167
|
}
|
|
16062
16168
|
}
|
|
16063
16169
|
if (options?.includeAllScoped) {
|
|
@@ -16070,6 +16176,7 @@ class PraxisFilter {
|
|
|
16070
16176
|
const key = this.filterSchemaMetaKeyForSchemaId(schemaId);
|
|
16071
16177
|
if (key) {
|
|
16072
16178
|
this.storedSchemaMetaCache.delete(key);
|
|
16179
|
+
sharedCache?.delete(key);
|
|
16073
16180
|
this.clearConfigStorageKey(key);
|
|
16074
16181
|
}
|
|
16075
16182
|
});
|
|
@@ -16082,16 +16189,44 @@ class PraxisFilter {
|
|
|
16082
16189
|
// no-op: schema metadata cleanup is best effort
|
|
16083
16190
|
}
|
|
16084
16191
|
}
|
|
16192
|
+
getSharedSchemaMetaCache() {
|
|
16193
|
+
const storage = this.configStorage;
|
|
16194
|
+
if (!storage || (typeof storage !== 'object' && typeof storage !== 'function')) {
|
|
16195
|
+
return null;
|
|
16196
|
+
}
|
|
16197
|
+
let map = PraxisFilter.sharedSchemaMetaCacheByStorage.get(storage);
|
|
16198
|
+
if (!map) {
|
|
16199
|
+
map = new Map();
|
|
16200
|
+
PraxisFilter.sharedSchemaMetaCacheByStorage.set(storage, map);
|
|
16201
|
+
}
|
|
16202
|
+
return map;
|
|
16203
|
+
}
|
|
16204
|
+
getSchemaMetaPersistenceQueues() {
|
|
16205
|
+
const storage = this.configStorage;
|
|
16206
|
+
if (!storage || (typeof storage !== 'object' && typeof storage !== 'function')) {
|
|
16207
|
+
return null;
|
|
16208
|
+
}
|
|
16209
|
+
let queues = PraxisFilter.schemaMetaPersistenceQueuesByStorage.get(storage);
|
|
16210
|
+
if (!queues) {
|
|
16211
|
+
queues = new Map();
|
|
16212
|
+
PraxisFilter.schemaMetaPersistenceQueuesByStorage.set(storage, queues);
|
|
16213
|
+
}
|
|
16214
|
+
return queues;
|
|
16215
|
+
}
|
|
16085
16216
|
clearConfigStorageKey(key) {
|
|
16086
16217
|
if (!key)
|
|
16087
16218
|
return;
|
|
16088
16219
|
this.storedSchemaMetaCache.delete(key);
|
|
16220
|
+
this.getSharedSchemaMetaCache()?.delete(key);
|
|
16089
16221
|
if (key === this.filterSchemaMetaIndexKey()) {
|
|
16090
16222
|
this.schemaMetaIndexCache = undefined;
|
|
16091
16223
|
this.schemaMetaIndexLoadPromise = undefined;
|
|
16092
16224
|
}
|
|
16093
16225
|
try {
|
|
16094
|
-
this.configStorage
|
|
16226
|
+
this.configStorage
|
|
16227
|
+
.clearConfig(key)
|
|
16228
|
+
.pipe(take$1(1))
|
|
16229
|
+
.subscribe({ error: () => { } });
|
|
16095
16230
|
}
|
|
16096
16231
|
catch {
|
|
16097
16232
|
// ignore storage clear failures
|
|
@@ -16104,10 +16239,17 @@ class PraxisFilter {
|
|
|
16104
16239
|
const cached = this.storedSchemaMetaCache.get(key);
|
|
16105
16240
|
return Promise.resolve(cached ?? undefined);
|
|
16106
16241
|
}
|
|
16242
|
+
const sharedCache = this.getSharedSchemaMetaCache();
|
|
16243
|
+
if (sharedCache?.has(key)) {
|
|
16244
|
+
const cached = sharedCache.get(key) ?? null;
|
|
16245
|
+
this.storedSchemaMetaCache.set(key, cached);
|
|
16246
|
+
return Promise.resolve(cached ?? undefined);
|
|
16247
|
+
}
|
|
16107
16248
|
return firstValueFrom(this.configStorage.loadConfig(key))
|
|
16108
16249
|
.then((value) => {
|
|
16109
16250
|
const next = value ?? null;
|
|
16110
16251
|
this.storedSchemaMetaCache.set(key, next);
|
|
16252
|
+
sharedCache?.set(key, next);
|
|
16111
16253
|
return next ?? undefined;
|
|
16112
16254
|
})
|
|
16113
16255
|
.catch(() => undefined);
|
|
@@ -16135,17 +16277,86 @@ class PraxisFilter {
|
|
|
16135
16277
|
return this.schemaMetaIndexLoadPromise;
|
|
16136
16278
|
}
|
|
16137
16279
|
saveStoredSchemaMeta(key, next, schemaId) {
|
|
16138
|
-
const
|
|
16139
|
-
if (
|
|
16140
|
-
this.
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16280
|
+
const queues = this.getSchemaMetaPersistenceQueues();
|
|
16281
|
+
if (!queues) {
|
|
16282
|
+
return this.reconcileSchemaMetaSave(key, next, schemaId);
|
|
16283
|
+
}
|
|
16284
|
+
const previous = queues.get(key) ?? Promise.resolve();
|
|
16285
|
+
const pending = previous
|
|
16286
|
+
.catch(() => undefined)
|
|
16287
|
+
.then(() => this.reconcileSchemaMetaSave(key, next, schemaId));
|
|
16288
|
+
queues.set(key, pending);
|
|
16289
|
+
void pending.finally(() => {
|
|
16290
|
+
if (queues.get(key) === pending) {
|
|
16291
|
+
queues.delete(key);
|
|
16292
|
+
}
|
|
16293
|
+
});
|
|
16294
|
+
return pending;
|
|
16295
|
+
}
|
|
16296
|
+
async reconcileSchemaMetaSave(key, next, schemaId) {
|
|
16297
|
+
const sharedCache = this.getSharedSchemaMetaCache();
|
|
16298
|
+
for (let attempt = 0; attempt < 3; attempt += 1) {
|
|
16299
|
+
let stored = null;
|
|
16300
|
+
if (attempt === 0) {
|
|
16301
|
+
if (this.storedSchemaMetaCache.has(key)) {
|
|
16302
|
+
stored = this.storedSchemaMetaCache.get(key) ?? null;
|
|
16303
|
+
}
|
|
16304
|
+
else if (sharedCache?.has(key)) {
|
|
16305
|
+
stored = sharedCache.get(key) ?? null;
|
|
16306
|
+
this.storedSchemaMetaCache.set(key, stored);
|
|
16307
|
+
}
|
|
16308
|
+
else {
|
|
16309
|
+
stored =
|
|
16310
|
+
(await firstValueFrom(this.configStorage.loadConfig(key)).catch(() => null)) ?? null;
|
|
16311
|
+
this.storedSchemaMetaCache.set(key, stored);
|
|
16312
|
+
sharedCache?.set(key, stored);
|
|
16313
|
+
}
|
|
16314
|
+
}
|
|
16315
|
+
else {
|
|
16316
|
+
stored =
|
|
16317
|
+
(await firstValueFrom(this.configStorage.loadConfig(key)).catch(() => null)) ?? null;
|
|
16318
|
+
this.storedSchemaMetaCache.set(key, stored);
|
|
16319
|
+
sharedCache?.set(key, stored);
|
|
16320
|
+
}
|
|
16321
|
+
const base = stored && typeof stored === 'object' && !Array.isArray(stored)
|
|
16322
|
+
? stored
|
|
16323
|
+
: null;
|
|
16324
|
+
const reconciled = {
|
|
16325
|
+
...(base || {}),
|
|
16326
|
+
...next,
|
|
16327
|
+
};
|
|
16328
|
+
if (base !== null &&
|
|
16329
|
+
this.stableSerialize(this.normalizeStoredSchemaMetaForComparison(base)) ===
|
|
16330
|
+
this.stableSerialize(this.normalizeStoredSchemaMetaForComparison(reconciled))) {
|
|
16331
|
+
if (schemaId)
|
|
16332
|
+
this.rememberSchemaMetaContext(schemaId);
|
|
16333
|
+
return;
|
|
16334
|
+
}
|
|
16335
|
+
try {
|
|
16336
|
+
let persisted = false;
|
|
16337
|
+
await firstValueFrom(this.configStorage.saveConfig(key, reconciled).pipe(take$1(1), tap(() => {
|
|
16338
|
+
persisted = true;
|
|
16339
|
+
}), defaultIfEmpty(undefined)));
|
|
16340
|
+
if (persisted) {
|
|
16341
|
+
this.storedSchemaMetaCache.set(key, reconciled);
|
|
16342
|
+
sharedCache?.set(key, reconciled);
|
|
16343
|
+
}
|
|
16344
|
+
if (schemaId)
|
|
16345
|
+
this.rememberSchemaMetaContext(schemaId);
|
|
16346
|
+
return;
|
|
16347
|
+
}
|
|
16348
|
+
catch (error) {
|
|
16349
|
+
const status = Number(error?.status);
|
|
16350
|
+
this.storedSchemaMetaCache.delete(key);
|
|
16351
|
+
sharedCache?.delete(key);
|
|
16352
|
+
if ((status === 409 || status === 412) && attempt < 2) {
|
|
16353
|
+
continue;
|
|
16354
|
+
}
|
|
16355
|
+
if (schemaId)
|
|
16356
|
+
this.rememberSchemaMetaContext(schemaId);
|
|
16357
|
+
return;
|
|
16358
|
+
}
|
|
16144
16359
|
}
|
|
16145
|
-
this.storedSchemaMetaCache.set(key, next);
|
|
16146
|
-
this.configStorage.saveConfig(key, next).pipe(take$1(1)).subscribe();
|
|
16147
|
-
if (schemaId)
|
|
16148
|
-
this.rememberSchemaMetaContext(schemaId);
|
|
16149
16360
|
}
|
|
16150
16361
|
stableSerialize(value) {
|
|
16151
16362
|
try {
|
|
@@ -16216,14 +16427,16 @@ class PraxisFilter {
|
|
|
16216
16427
|
}
|
|
16217
16428
|
return localHash;
|
|
16218
16429
|
}
|
|
16219
|
-
persistSchemaMeta(schemaId, context, serverHash) {
|
|
16430
|
+
async persistSchemaMeta(schemaId, context, serverHash) {
|
|
16220
16431
|
try {
|
|
16221
16432
|
const key = this.filterSchemaMetaKeyForSchemaId(schemaId) ||
|
|
16222
16433
|
this.getSchemaMetaKey();
|
|
16223
16434
|
if (!key)
|
|
16224
16435
|
return;
|
|
16225
16436
|
const nowIso = new Date().toISOString();
|
|
16226
|
-
const prev = this.storedSchemaMetaCache.get(key) ??
|
|
16437
|
+
const prev = this.storedSchemaMetaCache.get(key) ??
|
|
16438
|
+
this.getSharedSchemaMetaCache()?.get(key) ??
|
|
16439
|
+
null;
|
|
16227
16440
|
const next = {
|
|
16228
16441
|
...(prev || {}),
|
|
16229
16442
|
schemaId,
|
|
@@ -16232,18 +16445,18 @@ class PraxisFilter {
|
|
|
16232
16445
|
};
|
|
16233
16446
|
if (serverHash)
|
|
16234
16447
|
next.serverHash = serverHash;
|
|
16235
|
-
this.saveStoredSchemaMeta(key, next, schemaId);
|
|
16448
|
+
await this.saveStoredSchemaMeta(key, next, schemaId);
|
|
16236
16449
|
}
|
|
16237
16450
|
catch {
|
|
16238
16451
|
// no-op: schema metadata persistence is best effort
|
|
16239
16452
|
}
|
|
16240
16453
|
}
|
|
16241
|
-
syncSchemaMeta(ctx, serverHash) {
|
|
16454
|
+
async syncSchemaMeta(ctx, serverHash) {
|
|
16242
16455
|
const context = this.toSchemaIdContext(ctx);
|
|
16243
16456
|
const schemaId = buildSchemaId(context);
|
|
16244
16457
|
this.lastSchemaMeta = { schemaId, serverHash, context };
|
|
16245
16458
|
this.metaChanged.emit({ schemaId, serverHash, context });
|
|
16246
|
-
this.persistSchemaMeta(schemaId, context, serverHash);
|
|
16459
|
+
await this.persistSchemaMeta(schemaId, context, serverHash);
|
|
16247
16460
|
}
|
|
16248
16461
|
resolveFallbackSchemaHash() {
|
|
16249
16462
|
try {
|
|
@@ -16299,7 +16512,7 @@ class PraxisFilter {
|
|
|
16299
16512
|
count: metas.length,
|
|
16300
16513
|
names: metas.map((m) => m.name),
|
|
16301
16514
|
});
|
|
16302
|
-
this.syncSchemaMeta(ctx, entry.schemaHash);
|
|
16515
|
+
await this.syncSchemaMeta(ctx, entry.schemaHash);
|
|
16303
16516
|
return metas;
|
|
16304
16517
|
}
|
|
16305
16518
|
catch (schemaClientError) {
|
|
@@ -16324,7 +16537,7 @@ class PraxisFilter {
|
|
|
16324
16537
|
includeInternalSchemas: ctx.includeInternalSchemas,
|
|
16325
16538
|
}));
|
|
16326
16539
|
const metas = mapFieldDefinitionsToMetadata(filteredDefs);
|
|
16327
|
-
this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16540
|
+
await this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16328
16541
|
this.logFilterWarn('[PFILTER] loadSchemaViaCrudFallback: using getFilteredSchema', {
|
|
16329
16542
|
count: metas.length,
|
|
16330
16543
|
hasSchemaHash: !!this.lastSchemaMeta?.serverHash,
|
|
@@ -16341,7 +16554,7 @@ class PraxisFilter {
|
|
|
16341
16554
|
throw unsafeFallback;
|
|
16342
16555
|
}
|
|
16343
16556
|
const metas = mapFieldDefinitionsToMetadata(safeFallbackDefs);
|
|
16344
|
-
this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16557
|
+
await this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16345
16558
|
this.logFilterWarn('[PFILTER] loadSchemaViaCrudFallback: using getSchema', {
|
|
16346
16559
|
count: metas.length,
|
|
16347
16560
|
originalCount: Array.isArray(genericDefs) ? genericDefs.length : 0,
|
|
@@ -18601,7 +18814,7 @@ class PraxisFilter {
|
|
|
18601
18814
|
}
|
|
18602
18815
|
if (res.status === 304) {
|
|
18603
18816
|
try {
|
|
18604
|
-
this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18817
|
+
await this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18605
18818
|
}
|
|
18606
18819
|
catch { }
|
|
18607
18820
|
this.lastSchemaVerificationByContext.set(verifyContextKey, Date.now());
|
|
@@ -18619,7 +18832,7 @@ class PraxisFilter {
|
|
|
18619
18832
|
const newHash = res.schemaHash;
|
|
18620
18833
|
metaToSave.serverHash = newHash;
|
|
18621
18834
|
try {
|
|
18622
|
-
this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18835
|
+
await this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18623
18836
|
}
|
|
18624
18837
|
catch { }
|
|
18625
18838
|
this.lastSchemaVerificationByContext.set(verifyContextKey, Date.now());
|
|
@@ -18869,7 +19082,7 @@ class PraxisFilter {
|
|
|
18869
19082
|
this.advancedOpen = true;
|
|
18870
19083
|
this.saveConfig();
|
|
18871
19084
|
try {
|
|
18872
|
-
const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-
|
|
19085
|
+
const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-MGBfA3P2.mjs');
|
|
18873
19086
|
const formId = this.formId || this.filterId || 'filter';
|
|
18874
19087
|
const ref = this.dialog.open(FilterFormDialogHostComponent, {
|
|
18875
19088
|
width: '780px',
|
|
@@ -25838,7 +26051,7 @@ class PraxisTable {
|
|
|
25838
26051
|
if (this.aiAdapter || this.aiAdapterLoadStarted)
|
|
25839
26052
|
return;
|
|
25840
26053
|
this.aiAdapterLoadStarted = true;
|
|
25841
|
-
import('./praxisui-table-table-ai.adapter-
|
|
26054
|
+
import('./praxisui-table-table-ai.adapter-4AXY2zhX.mjs')
|
|
25842
26055
|
.then(({ TableAiAdapter }) => {
|
|
25843
26056
|
if (!this.isAiAssistantEnabled()) {
|
|
25844
26057
|
this.aiAssistantOpenAfterAdapterLoad = false;
|
|
@@ -26610,7 +26823,7 @@ class PraxisTable {
|
|
|
26610
26823
|
initializeAiAssistantController() {
|
|
26611
26824
|
if (!this.aiAdapter || this.aiAssistantController)
|
|
26612
26825
|
return;
|
|
26613
|
-
import('./praxisui-table-table-agentic-authoring-turn-flow-
|
|
26826
|
+
import('./praxisui-table-table-agentic-authoring-turn-flow-BsJfydOk.mjs')
|
|
26614
26827
|
.then(({ TableAgenticAuthoringTurnFlow }) => {
|
|
26615
26828
|
if (this.aiAssistantController || !this.aiAdapter)
|
|
26616
26829
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-
|
|
3
|
+
import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
4
4
|
|
|
5
5
|
class TableAgenticAuthoringTurnFlow {
|
|
6
6
|
adapter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { firstValueFrom } from 'rxjs';
|
|
2
2
|
import { BaseAiAdapter, sanitizePraxisAssistantText, createComponentAuthoringContext } from '@praxisui/ai';
|
|
3
3
|
import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
|
|
4
|
-
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-
|
|
4
|
+
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-
|
|
1
|
+
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-ByVngbFP.mjs';
|
|
2
2
|
export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.46",
|
|
4
4
|
"description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/platform-browser": "^21.0.0",
|
|
9
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/ai": "^10.0.0-rc.46",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.46",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.46",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.46",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.46",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.46",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.46",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.46",
|
|
17
17
|
"@angular/cdk": "^21.0.0",
|
|
18
18
|
"@angular/forms": "^21.0.0",
|
|
19
19
|
"@angular/material": "^21.0.0",
|
|
20
20
|
"@angular/router": "^21.0.0",
|
|
21
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
21
|
+
"@praxisui/dialog": "^10.0.0-rc.46",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -107,6 +107,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
107
107
|
private tokenPresets?;
|
|
108
108
|
private toolbarRoot?;
|
|
109
109
|
private toolbarIdentity?;
|
|
110
|
+
private toolbarScope?;
|
|
110
111
|
private fullActionsGroup?;
|
|
111
112
|
private endActionsGroup?;
|
|
112
113
|
activeOverflowMenuTrigger?: MatMenuTrigger;
|
|
@@ -243,6 +244,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
|
|
|
243
244
|
private scheduleActionCapacityCheck;
|
|
244
245
|
private updateActionCapacity;
|
|
245
246
|
private getIdentityRequiredWidth;
|
|
247
|
+
private getScopeRequiredWidth;
|
|
246
248
|
private readPixelValue;
|
|
247
249
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
248
250
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -673,6 +675,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
673
675
|
private componentKeys;
|
|
674
676
|
private route?;
|
|
675
677
|
private logger?;
|
|
678
|
+
private static readonly sharedSchemaMetaCacheByStorage;
|
|
679
|
+
private static readonly schemaMetaPersistenceQueuesByStorage;
|
|
676
680
|
addManagerOrigin?: ElementRef<HTMLButtonElement>;
|
|
677
681
|
addManagerSearch?: PdxCollectionSearchComponent;
|
|
678
682
|
resourcePath: string;
|
|
@@ -957,11 +961,14 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
957
961
|
private toSchemaIdContext;
|
|
958
962
|
private resetSchemaStateForContextChange;
|
|
959
963
|
private clearSchemaMetaPersistence;
|
|
964
|
+
private getSharedSchemaMetaCache;
|
|
965
|
+
private getSchemaMetaPersistenceQueues;
|
|
960
966
|
private clearConfigStorageKey;
|
|
961
967
|
private loadStoredSchemaMeta;
|
|
962
968
|
private rememberSchemaMetaContext;
|
|
963
969
|
private ensureSchemaMetaIndexLoaded;
|
|
964
970
|
private saveStoredSchemaMeta;
|
|
971
|
+
private reconcileSchemaMetaSave;
|
|
965
972
|
private stableSerialize;
|
|
966
973
|
private normalizeStoredSchemaMetaForComparison;
|
|
967
974
|
private schemaVerificationContextKey;
|
|
@@ -6474,6 +6481,7 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6474
6481
|
private resolveCalculationTrail;
|
|
6475
6482
|
private resolveCalculationSteps;
|
|
6476
6483
|
private evaluateAndFormatCalculationValue;
|
|
6484
|
+
private parsePrecisionDigits;
|
|
6477
6485
|
private evalRawExpression;
|
|
6478
6486
|
private evalStringText;
|
|
6479
6487
|
protected evaluateAndFormatMetric(item: any): string;
|
|
@@ -6484,6 +6492,7 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6484
6492
|
private fetchConfiguredRelations;
|
|
6485
6493
|
private invalidateRelations;
|
|
6486
6494
|
private cancelRelationRequests;
|
|
6495
|
+
private postCanonicalFilterRelation;
|
|
6487
6496
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
|
|
6488
6497
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisAnalyticalDrawerComponent, "praxis-analytical-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "drawerConfig": { "alias": "drawerConfig"; "required": false; }; "row": { "alias": "row"; "required": false; }; "relations": { "alias": "relations"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; }, never, never, true, never>;
|
|
6489
6498
|
}
|