@praxisui/table 10.0.0-rc.45 → 10.0.0-rc.47
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-authoring.mjs +24 -9
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-CnU4K4Q1.mjs → praxisui-table-filter-form-dialog-host.component-CChuuckh.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-ClwibKq-.mjs → praxisui-table-praxisui-table-B937aJK3.mjs} +459 -89
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-CcTWUYj5.mjs → praxisui-table-table-agentic-authoring-turn-flow-D4lQiroz.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-BwDi2QEA.mjs → praxisui-table-table-ai.adapter-6qERqRrl.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +11 -0
|
@@ -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';
|
|
@@ -1237,7 +1237,7 @@ class TableBulkSyncWorkflowComponent {
|
|
|
1237
1237
|
return null;
|
|
1238
1238
|
const changes = [];
|
|
1239
1239
|
for (const field of fields) {
|
|
1240
|
-
if (!Object.
|
|
1240
|
+
if (!Object.prototype.hasOwnProperty.call(raw, field))
|
|
1241
1241
|
return null;
|
|
1242
1242
|
if (raw[field] === null) {
|
|
1243
1243
|
if (!editable.clearableFields.includes(field))
|
|
@@ -1245,7 +1245,7 @@ class TableBulkSyncWorkflowComponent {
|
|
|
1245
1245
|
changes.push({ field, operator: 'CLEAR' });
|
|
1246
1246
|
}
|
|
1247
1247
|
else {
|
|
1248
|
-
if (!Object.
|
|
1248
|
+
if (!Object.prototype.hasOwnProperty.call(values, field) || values[field] === null || values[field] === undefined)
|
|
1249
1249
|
return null;
|
|
1250
1250
|
changes.push({ field, operator: 'SET', value: structuredClone(values[field]) });
|
|
1251
1251
|
}
|
|
@@ -1275,7 +1275,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
1275
1275
|
}], propDecorators: { handle: [{ type: i0.Input, args: [{ isSignal: true, alias: "handle", required: true }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
1276
1276
|
|
|
1277
1277
|
const ORIGIN = '__praxisAuthoredDisabled';
|
|
1278
|
-
const hasOwn = (value, key) => Object.prototype.hasOwnProperty.call(value, key);
|
|
1278
|
+
const hasOwn$1 = (value, key) => Object.prototype.hasOwnProperty.call(value, key);
|
|
1279
1279
|
const isAction = (value) => !!value && typeof value === 'object' && !Array.isArray(value);
|
|
1280
1280
|
const hasRuntimeState = (action) => Object.keys(action).some(key => key.startsWith('__praxis'));
|
|
1281
1281
|
function authoredDisabled(action) {
|
|
@@ -1344,7 +1344,7 @@ function projectTableActionAuthoring(config, authored, report) {
|
|
|
1344
1344
|
if (name.startsWith('__praxis'))
|
|
1345
1345
|
delete result[name];
|
|
1346
1346
|
}
|
|
1347
|
-
if (hasOwn(item, 'children'))
|
|
1347
|
+
if (hasOwn$1(item, 'children'))
|
|
1348
1348
|
result['children'] = actions(item['children'], source?.['children'], `${path}[${index}].children`);
|
|
1349
1349
|
projected.push(result);
|
|
1350
1350
|
});
|
|
@@ -1354,7 +1354,7 @@ function projectTableActionAuthoring(config, authored, report) {
|
|
|
1354
1354
|
if (config?.toolbar)
|
|
1355
1355
|
result.toolbar = {
|
|
1356
1356
|
...config.toolbar,
|
|
1357
|
-
...(hasOwn(config.toolbar, 'actions') ? { actions: actions(config.toolbar.actions, authored?.toolbar?.actions, 'config.toolbar.actions') } : {}),
|
|
1357
|
+
...(hasOwn$1(config.toolbar, 'actions') ? { actions: actions(config.toolbar.actions, authored?.toolbar?.actions, 'config.toolbar.actions') } : {}),
|
|
1358
1358
|
};
|
|
1359
1359
|
if (config?.actions) {
|
|
1360
1360
|
result.actions = { ...config.actions };
|
|
@@ -1363,7 +1363,7 @@ function projectTableActionAuthoring(config, authored, report) {
|
|
|
1363
1363
|
if (group)
|
|
1364
1364
|
result.actions[slot] = {
|
|
1365
1365
|
...group,
|
|
1366
|
-
...(hasOwn(group, 'actions') ? { actions: actions(group.actions, authored?.actions?.[slot]?.actions, `config.actions.${slot}.actions`) } : {}),
|
|
1366
|
+
...(hasOwn$1(group, 'actions') ? { actions: actions(group.actions, authored?.actions?.[slot]?.actions, `config.actions.${slot}.actions`) } : {}),
|
|
1367
1367
|
};
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
@@ -1683,6 +1683,20 @@ class TableSchemaColumnProjector {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
return;
|
|
1685
1685
|
}
|
|
1686
|
+
if (numericFormat === 'percent' ||
|
|
1687
|
+
numericFormat === 'percentage' ||
|
|
1688
|
+
numericFormat === 'fraction' ||
|
|
1689
|
+
valuePresentationType === 'percent' ||
|
|
1690
|
+
valuePresentationType === 'percentage' ||
|
|
1691
|
+
col.type === 'percentage') {
|
|
1692
|
+
col.type = 'percentage';
|
|
1693
|
+
if (!col.format) {
|
|
1694
|
+
col.format =
|
|
1695
|
+
displayFormat ||
|
|
1696
|
+
(numericFormat === 'fraction' ? '1.0-2|x100' : '1.0-2|raw');
|
|
1697
|
+
}
|
|
1698
|
+
return;
|
|
1699
|
+
}
|
|
1686
1700
|
if (col.type === 'boolean' && !col.format) {
|
|
1687
1701
|
col.format = this.resolveSchemaBooleanFormat(field);
|
|
1688
1702
|
}
|
|
@@ -2219,6 +2233,7 @@ class PraxisTableToolbar {
|
|
|
2219
2233
|
tokenPresets;
|
|
2220
2234
|
toolbarRoot;
|
|
2221
2235
|
toolbarIdentity;
|
|
2236
|
+
toolbarScope;
|
|
2222
2237
|
fullActionsGroup;
|
|
2223
2238
|
endActionsGroup;
|
|
2224
2239
|
activeOverflowMenuTrigger;
|
|
@@ -2424,13 +2439,14 @@ class PraxisTableToolbar {
|
|
|
2424
2439
|
: typeof item.description === 'string' && item.description.trim()
|
|
2425
2440
|
? item.description.trim()
|
|
2426
2441
|
: undefined;
|
|
2442
|
+
const normalizedTone = normalizeQuickFilterTone(item.tone);
|
|
2427
2443
|
valid.push({
|
|
2428
2444
|
id: item.id.trim(),
|
|
2429
2445
|
label: item.label,
|
|
2430
2446
|
filter: parsedFilter,
|
|
2431
2447
|
icon: item.icon,
|
|
2432
|
-
tone:
|
|
2433
|
-
tooltip,
|
|
2448
|
+
...(normalizedTone !== undefined ? { tone: normalizedTone } : {}),
|
|
2449
|
+
...(tooltip !== undefined ? { tooltip } : {}),
|
|
2434
2450
|
});
|
|
2435
2451
|
}
|
|
2436
2452
|
}
|
|
@@ -2594,6 +2610,7 @@ class PraxisTableToolbar {
|
|
|
2594
2610
|
const capacityTargets = [
|
|
2595
2611
|
this.toolbarRoot?.nativeElement,
|
|
2596
2612
|
this.toolbarIdentity?.nativeElement,
|
|
2613
|
+
this.toolbarScope?.nativeElement,
|
|
2597
2614
|
this.fullActionsGroup?.nativeElement,
|
|
2598
2615
|
this.endActionsGroup?.nativeElement,
|
|
2599
2616
|
].filter((target) => !!target);
|
|
@@ -2660,16 +2677,20 @@ class PraxisTableToolbar {
|
|
|
2660
2677
|
return;
|
|
2661
2678
|
}
|
|
2662
2679
|
const identityWidth = this.getIdentityRequiredWidth();
|
|
2680
|
+
const scopeWidth = !this.hasToolbarIdentity() && identityWidth === 0
|
|
2681
|
+
? this.getScopeRequiredWidth(toolbar)
|
|
2682
|
+
: 0;
|
|
2683
|
+
const leadingWidth = identityWidth + scopeWidth;
|
|
2663
2684
|
const endActions = this.endActionsGroup?.nativeElement;
|
|
2664
2685
|
const endActionsWidth = endActions && getComputedStyle(endActions).display !== 'none'
|
|
2665
2686
|
? Math.max(endActions.scrollWidth, endActions.getBoundingClientRect().width)
|
|
2666
2687
|
: 0;
|
|
2667
|
-
const columnGap =
|
|
2688
|
+
const columnGap = leadingWidth > 0 ? this.readPixelValue(toolbarStyle.columnGap) : 0;
|
|
2668
2689
|
const actionsHostStyle = getComputedStyle(actions.parentElement ?? toolbar);
|
|
2669
2690
|
const actionsGap = endActionsWidth > 0
|
|
2670
2691
|
? this.readPixelValue(actionsHostStyle.columnGap || actionsHostStyle.gap)
|
|
2671
2692
|
: 0;
|
|
2672
|
-
const availableWidth = Math.max(0, contentWidth -
|
|
2693
|
+
const availableWidth = Math.max(0, contentWidth - leadingWidth - endActionsWidth - columnGap - actionsGap);
|
|
2673
2694
|
const actionsStyle = getComputedStyle(actions);
|
|
2674
2695
|
const actionGroups = Array.from(actions.children).filter((child) => child instanceof HTMLElement &&
|
|
2675
2696
|
getComputedStyle(child).display !== 'none');
|
|
@@ -2694,6 +2715,17 @@ class PraxisTableToolbar {
|
|
|
2694
2715
|
this.readPixelValue(style.paddingInlineStart) +
|
|
2695
2716
|
this.readPixelValue(style.paddingInlineEnd));
|
|
2696
2717
|
}
|
|
2718
|
+
getScopeRequiredWidth(toolbar) {
|
|
2719
|
+
const scope = this.toolbarScope?.nativeElement ??
|
|
2720
|
+
toolbar.querySelector('.praxis-table-quick-filters, [data-toolbar-region="scope"]');
|
|
2721
|
+
if (!scope || getComputedStyle(scope).display === 'none')
|
|
2722
|
+
return 0;
|
|
2723
|
+
const childrenWidth = Array.from(scope.children).reduce((total, child) => child instanceof HTMLElement &&
|
|
2724
|
+
getComputedStyle(child).display !== 'none'
|
|
2725
|
+
? total + Math.max(child.scrollWidth, child.getBoundingClientRect().width)
|
|
2726
|
+
: total, 0);
|
|
2727
|
+
return Math.max(scope.scrollWidth, scope.getBoundingClientRect().width, childrenWidth);
|
|
2728
|
+
}
|
|
2697
2729
|
readPixelValue(value) {
|
|
2698
2730
|
const parsed = Number.parseFloat(value);
|
|
2699
2731
|
return Number.isFinite(parsed) ? parsed : 0;
|
|
@@ -3594,7 +3626,7 @@ class PraxisTableToolbar {
|
|
|
3594
3626
|
}
|
|
3595
3627
|
}
|
|
3596
3628
|
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: `
|
|
3629
|
+
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
3630
|
<mat-toolbar
|
|
3599
3631
|
#toolbarRoot
|
|
3600
3632
|
class="praxis-toolbar"
|
|
@@ -3730,6 +3762,7 @@ class PraxisTableToolbar {
|
|
|
3730
3762
|
@if (showMain) {
|
|
3731
3763
|
@if (shouldShowQuickFilters()) {
|
|
3732
3764
|
<div
|
|
3765
|
+
#toolbarScope
|
|
3733
3766
|
class="praxis-table-quick-filters"
|
|
3734
3767
|
[class.praxis-table-quick-filters--binary]="
|
|
3735
3768
|
getQuickFilters().length === 2
|
|
@@ -4761,7 +4794,7 @@ class PraxisTableToolbar {
|
|
|
4761
4794
|
</div>
|
|
4762
4795
|
</ng-template>
|
|
4763
4796
|
</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"] }] });
|
|
4797
|
+
`, 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
4798
|
}
|
|
4766
4799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisTableToolbar, decorators: [{
|
|
4767
4800
|
type: Component,
|
|
@@ -4910,6 +4943,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
4910
4943
|
@if (showMain) {
|
|
4911
4944
|
@if (shouldShowQuickFilters()) {
|
|
4912
4945
|
<div
|
|
4946
|
+
#toolbarScope
|
|
4913
4947
|
class="praxis-table-quick-filters"
|
|
4914
4948
|
[class.praxis-table-quick-filters--binary]="
|
|
4915
4949
|
getQuickFilters().length === 2
|
|
@@ -5944,7 +5978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
5944
5978
|
`, host: {
|
|
5945
5979
|
'[class.praxis-toolbar-footer]': "placement === 'footer'",
|
|
5946
5980
|
'(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"] }]
|
|
5981
|
+
}, 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
5982
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.LoggerService, decorators: [{
|
|
5949
5983
|
type: Optional
|
|
5950
5984
|
}] }, { type: i1.PraxisI18nService, decorators: [{
|
|
@@ -5965,6 +5999,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
5965
5999
|
}], toolbarIdentity: [{
|
|
5966
6000
|
type: ViewChild,
|
|
5967
6001
|
args: ['toolbarIdentity', { read: ElementRef }]
|
|
6002
|
+
}], toolbarScope: [{
|
|
6003
|
+
type: ViewChild,
|
|
6004
|
+
args: ['toolbarScope', { read: ElementRef }]
|
|
5968
6005
|
}], fullActionsGroup: [{
|
|
5969
6006
|
type: ViewChild,
|
|
5970
6007
|
args: ['fullActionsGroup', { read: ElementRef }]
|
|
@@ -6200,6 +6237,20 @@ class DataFormattingService {
|
|
|
6200
6237
|
});
|
|
6201
6238
|
}
|
|
6202
6239
|
formatPercentage(value, formatString, context) {
|
|
6240
|
+
if (formatString.includes('|raw')) {
|
|
6241
|
+
const format = formatString.replace('|raw', '').trim();
|
|
6242
|
+
const digits = this.parseDigitsInfo(format, context.localization?.number?.defaultPrecision ?? 2);
|
|
6243
|
+
const parts = new Intl.NumberFormat(context.locale, {
|
|
6244
|
+
minimumIntegerDigits: digits.minimumIntegerDigits,
|
|
6245
|
+
minimumFractionDigits: digits.minimumFractionDigits,
|
|
6246
|
+
maximumFractionDigits: digits.maximumFractionDigits,
|
|
6247
|
+
useGrouping: true,
|
|
6248
|
+
}).formatToParts(value);
|
|
6249
|
+
const formatted = this.composeNumericParts(parts, context, {
|
|
6250
|
+
useGrouping: true,
|
|
6251
|
+
});
|
|
6252
|
+
return `${formatted}%`;
|
|
6253
|
+
}
|
|
6203
6254
|
if (formatString.includes('|x100')) {
|
|
6204
6255
|
const format = formatString.replace('|x100', '');
|
|
6205
6256
|
const digits = this.parseDigitsInfo(format, context.localization?.number?.defaultPrecision ?? 2);
|
|
@@ -6402,9 +6453,16 @@ class DataFormattingService {
|
|
|
6402
6453
|
normalized = normalized.slice(0, -candidate.length).trim();
|
|
6403
6454
|
}
|
|
6404
6455
|
}
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
.
|
|
6456
|
+
const isCanonicalDotDecimal = overrides.thousandsSeparator === '.' &&
|
|
6457
|
+
overrides.decimalSeparator !== '.' &&
|
|
6458
|
+
!normalized.includes(overrides.decimalSeparator) &&
|
|
6459
|
+
/^\d+\.\d+$/.test(normalized) &&
|
|
6460
|
+
!/^[1-9]\d{0,2}(?:\.\d{3})+$/.test(normalized);
|
|
6461
|
+
if (!isCanonicalDotDecimal) {
|
|
6462
|
+
normalized = normalized
|
|
6463
|
+
.replace(new RegExp(this.escapeRegExp(overrides.thousandsSeparator), 'g'), '')
|
|
6464
|
+
.replace(overrides.decimalSeparator, '.');
|
|
6465
|
+
}
|
|
6408
6466
|
return negative ? `-${normalized}` : normalized;
|
|
6409
6467
|
}
|
|
6410
6468
|
composeNumericParts(parts, context, options) {
|
|
@@ -7326,13 +7384,15 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7326
7384
|
? '×'
|
|
7327
7385
|
: role === 'cap'
|
|
7328
7386
|
? '≤'
|
|
7329
|
-
: role === '
|
|
7330
|
-
? '
|
|
7331
|
-
: role === '
|
|
7332
|
-
? '
|
|
7333
|
-
: role === '
|
|
7334
|
-
? '
|
|
7335
|
-
: '
|
|
7387
|
+
: role === 'target'
|
|
7388
|
+
? '≥'
|
|
7389
|
+
: role === 'deduction'
|
|
7390
|
+
? '−'
|
|
7391
|
+
: role === 'addition'
|
|
7392
|
+
? '+'
|
|
7393
|
+
: role === 'result'
|
|
7394
|
+
? '='
|
|
7395
|
+
: '→';
|
|
7336
7396
|
return {
|
|
7337
7397
|
role,
|
|
7338
7398
|
label: step.label,
|
|
@@ -7343,7 +7403,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7343
7403
|
tone: step.tone ||
|
|
7344
7404
|
(role === 'result'
|
|
7345
7405
|
? 'primary'
|
|
7346
|
-
: role === 'factor'
|
|
7406
|
+
: role === 'factor' || role === 'target'
|
|
7347
7407
|
? 'info'
|
|
7348
7408
|
: role === 'cap' || role === 'deduction'
|
|
7349
7409
|
? 'warning'
|
|
@@ -7413,12 +7473,25 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7413
7473
|
steps.push({
|
|
7414
7474
|
role: 'cap',
|
|
7415
7475
|
label: trail.capLabel || 'Trava / Teto',
|
|
7416
|
-
operator: '≤',
|
|
7476
|
+
operator: trail.capOperator?.trim() || '≤',
|
|
7417
7477
|
value: this.evaluateAndFormatCalculationValue(trail.capExpr, trail.capValue, trail.capFormat || 'currency:BRL', context),
|
|
7418
7478
|
hint: this.evalStringText(trail.capHintExpr, context) ?? trail.capHint,
|
|
7419
7479
|
tone: 'warning',
|
|
7420
7480
|
});
|
|
7421
7481
|
}
|
|
7482
|
+
const hasTarget = trail.targetExpr !== undefined ||
|
|
7483
|
+
trail.targetValue !== undefined ||
|
|
7484
|
+
trail.targetLabel !== undefined;
|
|
7485
|
+
if (hasTarget) {
|
|
7486
|
+
steps.push({
|
|
7487
|
+
role: 'target',
|
|
7488
|
+
label: trail.targetLabel || 'Meta / Piso Mínimo',
|
|
7489
|
+
operator: '≥',
|
|
7490
|
+
value: this.evaluateAndFormatCalculationValue(trail.targetExpr, trail.targetValue, trail.targetFormat, context),
|
|
7491
|
+
hint: this.evalStringText(trail.targetHintExpr, context) ?? trail.targetHint,
|
|
7492
|
+
tone: 'info',
|
|
7493
|
+
});
|
|
7494
|
+
}
|
|
7422
7495
|
const hasResult = trail.resultExpr !== undefined ||
|
|
7423
7496
|
trail.resultValue !== undefined ||
|
|
7424
7497
|
trail.resultLabel !== undefined;
|
|
@@ -7445,7 +7518,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7445
7518
|
if (rawVal === undefined || rawVal === null || rawVal === '') {
|
|
7446
7519
|
return '—';
|
|
7447
7520
|
}
|
|
7448
|
-
const fmt = String(format || '').trim();
|
|
7521
|
+
const fmt = String(format || '').trim().toLowerCase();
|
|
7449
7522
|
if (!fmt || fmt === 'text') {
|
|
7450
7523
|
return String(rawVal);
|
|
7451
7524
|
}
|
|
@@ -7454,7 +7527,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7454
7527
|
return String(rawVal);
|
|
7455
7528
|
}
|
|
7456
7529
|
if (fmt.startsWith('currency')) {
|
|
7457
|
-
const curr = fmt.includes(':') ? fmt.split(':')[1] : 'BRL';
|
|
7530
|
+
const curr = (fmt.includes(':') ? fmt.split(':')[1] : 'brl').trim().toUpperCase() || 'BRL';
|
|
7458
7531
|
if (this.formattingService) {
|
|
7459
7532
|
try {
|
|
7460
7533
|
return this.formattingService.formatValue(num, 'currency', `${curr}|symbol|2`);
|
|
@@ -7483,14 +7556,25 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7483
7556
|
const rounded = Math.round(num);
|
|
7484
7557
|
return `${rounded.toLocaleString('pt-BR', { maximumFractionDigits: 0 })} ${Math.abs(rounded) === 1 ? 'dia' : 'dias'}`;
|
|
7485
7558
|
}
|
|
7486
|
-
if (fmt === 'decimal') {
|
|
7487
|
-
|
|
7559
|
+
if (fmt === 'decimal' || fmt.startsWith('decimal:')) {
|
|
7560
|
+
const digits = this.parsePrecisionDigits(fmt, 2);
|
|
7561
|
+
return num.toLocaleString('pt-BR', { minimumFractionDigits: digits, maximumFractionDigits: digits });
|
|
7488
7562
|
}
|
|
7489
|
-
if (fmt === 'number') {
|
|
7490
|
-
|
|
7563
|
+
if (fmt === 'number' || fmt.startsWith('number:')) {
|
|
7564
|
+
const digits = this.parsePrecisionDigits(fmt, 2);
|
|
7565
|
+
return num.toLocaleString('pt-BR', { maximumFractionDigits: digits });
|
|
7491
7566
|
}
|
|
7492
7567
|
return String(rawVal);
|
|
7493
7568
|
}
|
|
7569
|
+
parsePrecisionDigits(fmt, fallback) {
|
|
7570
|
+
const colonIdx = fmt.indexOf(':');
|
|
7571
|
+
if (colonIdx === -1)
|
|
7572
|
+
return fallback;
|
|
7573
|
+
const parsed = Number.parseInt(fmt.slice(colonIdx + 1).trim(), 10);
|
|
7574
|
+
if (!Number.isFinite(parsed) || parsed < 0)
|
|
7575
|
+
return fallback;
|
|
7576
|
+
return Math.min(parsed, 20);
|
|
7577
|
+
}
|
|
7494
7578
|
evalRawExpression(expr, context) {
|
|
7495
7579
|
if (!expr || !expr.trim())
|
|
7496
7580
|
return undefined;
|
|
@@ -7546,7 +7630,23 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7546
7630
|
}
|
|
7547
7631
|
}
|
|
7548
7632
|
if (format === 'percent' || format === 'percentage') {
|
|
7549
|
-
|
|
7633
|
+
const numeric = Number(rawVal);
|
|
7634
|
+
if (!Number.isFinite(numeric)) {
|
|
7635
|
+
return String(rawVal);
|
|
7636
|
+
}
|
|
7637
|
+
const locale = this.i18n?.getLocale?.()?.trim() ||
|
|
7638
|
+
this.formattingService?.getHostLocale?.()?.trim() ||
|
|
7639
|
+
this.angularLocale?.trim() ||
|
|
7640
|
+
'pt-BR';
|
|
7641
|
+
try {
|
|
7642
|
+
return `${new Intl.NumberFormat(locale, {
|
|
7643
|
+
minimumFractionDigits: 0,
|
|
7644
|
+
maximumFractionDigits: 2,
|
|
7645
|
+
}).format(numeric)}%`;
|
|
7646
|
+
}
|
|
7647
|
+
catch {
|
|
7648
|
+
return `${Number(numeric.toFixed(2))}%`;
|
|
7649
|
+
}
|
|
7550
7650
|
}
|
|
7551
7651
|
return String(rawVal);
|
|
7552
7652
|
}
|
|
@@ -7712,8 +7812,10 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7712
7812
|
return;
|
|
7713
7813
|
}
|
|
7714
7814
|
this.relationFetch.emit({ key: rel.key, endpoint: url });
|
|
7715
|
-
const
|
|
7815
|
+
const explicitMethod = rel.method?.trim().toUpperCase();
|
|
7716
7816
|
const effectiveUrl = this.resolveUrl(url);
|
|
7817
|
+
const isCanonicalFilterUrl = !explicitMethod && /\/filter(?:\?|$)/i.test(effectiveUrl);
|
|
7818
|
+
const method = isCanonicalFilterUrl ? 'POST' : (explicitMethod || 'GET');
|
|
7717
7819
|
const scopedUrlKey = `${scopePrefix}::${method}::${effectiveUrl}`;
|
|
7718
7820
|
// Tenant-scoped cache check
|
|
7719
7821
|
if (rel.cache !== false && this.relationCache.has(scopedUrlKey)) {
|
|
@@ -7725,15 +7827,23 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7725
7827
|
return;
|
|
7726
7828
|
}
|
|
7727
7829
|
activeRequests++;
|
|
7728
|
-
const req$ =
|
|
7729
|
-
? this.
|
|
7730
|
-
:
|
|
7830
|
+
const req$ = isCanonicalFilterUrl
|
|
7831
|
+
? this.postCanonicalFilterRelation(effectiveUrl)
|
|
7832
|
+
: method === 'POST'
|
|
7833
|
+
? this.http.post(effectiveUrl, {})
|
|
7834
|
+
: this.http.get(effectiveUrl);
|
|
7731
7835
|
const sub = req$
|
|
7732
7836
|
.pipe(map((resp) => {
|
|
7733
7837
|
let resultData = resp;
|
|
7734
7838
|
if (resp && typeof resp === 'object' && 'data' in resp) {
|
|
7735
7839
|
resultData = resp.data;
|
|
7736
7840
|
}
|
|
7841
|
+
if (resultData &&
|
|
7842
|
+
typeof resultData === 'object' &&
|
|
7843
|
+
!Array.isArray(resultData) &&
|
|
7844
|
+
Array.isArray(resultData['content'])) {
|
|
7845
|
+
resultData = resultData['content'];
|
|
7846
|
+
}
|
|
7737
7847
|
if (rel.cardinality === 'single' && Array.isArray(resultData)) {
|
|
7738
7848
|
resultData = resultData.length > 0 ? resultData[0] : null;
|
|
7739
7849
|
}
|
|
@@ -7772,6 +7882,28 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
7772
7882
|
this.relationSubs = [];
|
|
7773
7883
|
this.isFetchingRelations.set(false);
|
|
7774
7884
|
}
|
|
7885
|
+
postCanonicalFilterRelation(effectiveUrl) {
|
|
7886
|
+
const qIdx = effectiveUrl.indexOf('?');
|
|
7887
|
+
const baseFilterUrl = qIdx >= 0 ? effectiveUrl.slice(0, qIdx) : effectiveUrl;
|
|
7888
|
+
const filterBody = {};
|
|
7889
|
+
if (qIdx >= 0) {
|
|
7890
|
+
const params = new URLSearchParams(effectiveUrl.slice(qIdx + 1));
|
|
7891
|
+
params.forEach((rawValue, key) => {
|
|
7892
|
+
const coerced = coerceRelationFilterParam(rawValue);
|
|
7893
|
+
const existing = filterBody[key];
|
|
7894
|
+
if (existing === undefined) {
|
|
7895
|
+
filterBody[key] = coerced;
|
|
7896
|
+
}
|
|
7897
|
+
else if (Array.isArray(existing)) {
|
|
7898
|
+
existing.push(coerced);
|
|
7899
|
+
}
|
|
7900
|
+
else {
|
|
7901
|
+
filterBody[key] = [existing, coerced];
|
|
7902
|
+
}
|
|
7903
|
+
});
|
|
7904
|
+
}
|
|
7905
|
+
return this.http.post(baseFilterUrl, filterBody);
|
|
7906
|
+
}
|
|
7775
7907
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisAnalyticalDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7776
7908
|
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
7909
|
@if (isOpen && row) {
|
|
@@ -8098,7 +8230,7 @@ class PraxisAnalyticalDrawerComponent {
|
|
|
8098
8230
|
</aside>
|
|
8099
8231
|
</div>
|
|
8100
8232
|
}
|
|
8101
|
-
`, isInline: true, styles: [".pfx-drawer-backdrop{position:fixed;inset:0;background:color-mix(in oklab,#000 55%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1200;display:flex;justify-content:flex-end;animation:pfxDrawerFadeIn .2s ease-out}.pfx-analytical-drawer{height:100dvh;background:var(--pfx-drawer-surface, var(--md-sys-color-surface, #13151b));backdrop-filter:var(--pfx-drawer-backdrop-filter, none);-webkit-backdrop-filter:var(--pfx-drawer-backdrop-filter, none);color:var(--md-sys-color-on-surface, #e5e7eb);border-left:1px solid var(--pfx-drawer-border, var(--md-sys-color-outline-variant, #2a2d37));box-shadow:var(--pfx-drawer-shadow, -12px 0 40px rgba(0, 0, 0, .45));display:flex;flex-direction:column;animation:pfxDrawerSlideIn .25s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@media(prefers-reduced-transparency:reduce){.pfx-analytical-drawer{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--pfx-drawer-fallback-surface, var(--md-sys-color-surface, #13151b))}}.tactical-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--md-sys-color-outline-variant, #3b3f4f) transparent}.tactical-scroll::-webkit-scrollbar{width:6px}.tactical-scroll::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline-variant, #3b3f4f);border-radius:4px}.pfx-drawer-top-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24))}.pfx-classification-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:9999px;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 16%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 32%,transparent)}.pfx-classification-pill span.material-symbols-outlined{font-size:15px}.pfx-drawer-close-btn{background:transparent;border:none;color:var(--md-sys-color-on-surface-variant, #9ca3af);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:8px;transition:background .15s ease,color .15s ease}.pfx-drawer-close-btn:hover{background:var(--md-sys-color-surface-container-highest, #2a2e3d);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-hero{padding:20px 24px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var( --pfx-drawer-hero-bg, color-mix(in oklab, var(--md-sys-color-surface-container-low, #161821) 70%, transparent) )}.pfx-drawer-hero__main{display:flex;align-items:center;gap:14px}.pfx-drawer-hero__icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 28%,transparent)}.pfx-drawer-hero__icon span{font-size:24px}.pfx-drawer-hero__text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.pfx-drawer-hero__title{margin:0;font-family:var(--pfx-drawer-title-font, var(--font-display, inherit));font-size:1.25rem;font-weight:var(--pfx-drawer-title-weight, 700);color:var(--md-sys-color-on-surface, #f9fafb);line-height:1.3}.pfx-drawer-hero__subtitle{font-size:.82rem;color:var(--md-sys-color-on-surface-variant, #9ca3af);line-height:1.4}.pfx-drawer-tablist{display:flex;gap:6px;padding:10px 20px;background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24));border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);overflow-x:auto;scrollbar-width:none}.pfx-drawer-tablist::-webkit-scrollbar{display:none}.pfx-drawer-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:8px;font-size:.8rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);background:transparent;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:all .15s ease}.pfx-drawer-tab-btn span.material-symbols-outlined{font-size:16px}.pfx-drawer-tab-btn:hover{background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-tab-btn.is-active{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 20%,transparent);border-color:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-tab-badge{padding:1px 6px;border-radius:6px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-on-primary, #fff)}.pfx-drawer-tab-count{padding:1px 6px;border-radius:10px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-surface-container-highest, #2f3447);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-body{padding:24px;flex:1}.pfx-drawer-loading{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 12%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 24%,transparent);font-size:.82rem;color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-spinner{width:16px;height:16px;border:2px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent);border-top-color:var(--md-sys-color-primary, #818cf8);border-radius:50%;animation:pfxSpin .7s linear infinite}.pfx-drawer-bento-grid{display:grid;gap:16px}.pfx-drawer-bento-card{padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);display:flex;flex-direction:column;gap:10px}.pfx-drawer-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.pfx-drawer-card-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-card-badge{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:4px;background:color-mix(in oklab,#10b981 18%,transparent);color:#34d399}.pfx-drawer-card-subtitle{font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-item{display:flex;flex-direction:column;gap:2px}.pfx-drawer-metric-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-value{font-size:1.4rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-drawer-metric-caption{font-size:.75rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-microviz-wrap{width:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{position:relative;display:grid;gap:6px;width:100%;min-width:0;color:var(--md-sys-color-on-surface, #f3f4f6);font-size:12px;line-height:1.25}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=success],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=success]{--pfx-drawer-micro-tone: var(--p-table-state-success-fg, #22c55e);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=warning],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=warning]{--pfx-drawer-micro-tone: var(--p-table-state-warning-fg, #f59e0b);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=critical],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=critical]{--pfx-drawer-micro-tone: var(--p-table-state-danger-fg, #ef4444);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=info],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=info]{--pfx-drawer-micro-tone: var(--md-sys-color-primary, #3b82f6);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__row{position:relative;display:grid;grid-template-columns:minmax(48px,.7fr) minmax(64px,1fr) auto;align-items:center;gap:6px;min-width:0;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__track{display:flex;width:100%;height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments{display:flex;width:100%;height:var(--prx-micro-track-height, 8px);overflow:hidden;border-radius:var(--prx-micro-track-radius, 999px);background:var(--prx-micro-track-color, color-mix(in srgb, var(--md-sys-color-outline-variant, #374151) 62%, transparent));box-shadow:var(--prx-micro-track-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__bar{display:block;height:100%;border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment{display:block;flex:0 0 auto;min-width:0;height:100%;border-radius:0;background:var(--prx-micro-segment-background, var(--prx-micro-category-color, currentColor));box-shadow:var(--prx-micro-segment-shadow, none);transition:opacity .15s ease,filter .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment[data-zero=true]{width:0!important;box-shadow:none!important}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__title{display:block;font-size:.72rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-item{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:.72rem;line-height:1.25;font-variant-numeric:tabular-nums;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-swatch{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:var(--prx-micro-category-color, currentColor);box-shadow:var(--prx-micro-swatch-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:14ch}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-value{color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:700}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__track{position:relative;display:block;width:100%;height:10px;overflow:visible;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__bands{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{position:absolute}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range{inset-block:0;height:100%;opacity:.24;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual{inset-block-start:2px;inset-inline-start:0;height:calc(100% - 4px);border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{inset-block:-3px;width:2.5px;border-radius:999px;z-index:2;background:var(--md-sys-color-on-surface, #f9fafb);transform:translate(-50%)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz-container{display:flex;align-items:center;gap:8px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col{display:flex;flex-direction:column;justify-content:center;font-size:11px;line-height:1.2;flex-shrink:0;min-width:24px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--start{align-items:flex-end;text-align:right}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--end{align-items:flex-start;text-align:left}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__value{font-weight:700;color:var(--md-sys-color-on-surface, #f3f4f6)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:9px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__line,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__area,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__column{position:relative;display:block;width:100%;height:32px;overflow:visible;flex:1 1 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__svg{display:block;width:100%;height:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__path,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__path{stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__fill:not([fill]),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{fill:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{opacity:.68}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar[data-latest=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar:hover{opacity:1}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__endpoint-halo{fill:currentColor;fill-opacity:.2;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__marker{fill:currentColor;stroke:var(--md-sys-color-surface, #111827);stroke-width:1.5px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__radial,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__harvey{display:inline-flex;align-items:center;gap:8px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg{width:40px;height:40px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bezel,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bezel{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 4%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 32%,transparent);stroke-width:.7}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__track{fill:none;stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:4}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__target-arc{fill:none;stroke:currentColor;stroke-opacity:.24;stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar{fill:none;stroke-width:4;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar[data-zero=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar[data-zero=true]{opacity:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__medallion{fill:var(--md-sys-color-surface-container-low, var(--md-sys-color-surface, transparent));stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 22%,transparent);stroke-width:.45}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text{font-size:8.2px;font-weight:800;text-anchor:middle;fill:var(--md-sys-color-on-surface, currentColor)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"3\"]{font-size:7.1px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"4\"]{font-size:6.2px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__delta{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 12%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__process{display:flex;align-items:flex-start;gap:4px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step{display:flex;align-items:center;flex:1 1 0%;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step:last-child{flex:0 0 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node-wrapper{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:10px;font-weight:700;background:color-mix(in srgb,currentColor 14%,transparent);border:1.5px solid color-mix(in srgb,currentColor 36%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__icon{font-size:13px;width:13px;height:13px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__label{font-size:10px;font-weight:600;text-align:center;color:var(--md-sys-color-on-surface-variant, #9ca3af);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__connector{flex:1 1 auto;height:2px;min-width:10px;margin:0 4px 14px;border-radius:999px;background:color-mix(in srgb,currentColor 28%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__unit{font-size:5.4px;font-weight:700;opacity:.78}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg{width:32px;height:32px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__track{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 8%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:1.5}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar{fill:none;stroke-width:14;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__pin{fill:var(--md-sys-color-surface, #111827);stroke:color-mix(in srgb,currentColor 45%,transparent);stroke-width:.75}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-pct{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 14%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-layer{position:absolute;inset:0;display:flex;align-items:stretch;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice{position:static;flex:1 1 0%;height:100%;cursor:crosshair}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:before{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:var(--pfx-scrub-y, 50%);width:7px;height:7px;border-radius:50%;background:currentColor;border:1.5px solid var(--md-sys-color-surface, #111827);box-shadow:0 1px 4px #00000040;transform:translate(-50%,-50%);pointer-events:none;z-index:3}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:after{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:2px;bottom:2px;width:1px;background:color-mix(in srgb,currentColor 32%,transparent);transform:translate(-50%);pointer-events:none;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__comparison:hover .pfx-micro-viz__row:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments:hover .pfx-micro-viz__segment:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend:hover .pfx-micro-viz__legend-item:not(:hover){opacity:.45}@media(prefers-reduced-motion:reduce),print{:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz *,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{animation:none!important;transition:none!important}}.pfx-drawer-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pfx-drawer-property-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);border-radius:10px}.pfx-drawer-property-item.span-full{grid-column:1 / -1}.pfx-drawer-property-label{display:flex;align-items:center;gap:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-property-label span.material-symbols-outlined{font-size:14px}.pfx-drawer-property-value{font-size:.85rem;color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:500}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.pfx-drawer-calc-memory{display:flex;flex-direction:column;gap:14px;margin-top:8px}.pfx-calc-section-header{display:flex;flex-direction:column;gap:4px}.pfx-calc-section-title-row{display:flex;align-items:center;gap:8px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-section-title-row span.material-symbols-outlined{font-size:18px}.pfx-calc-section-title{margin:0;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-section-subtitle{margin:0;font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trails-list{display:flex;flex-direction:column;gap:14px}.pfx-calc-trail-card{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d)}.pfx-calc-trail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.pfx-calc-trail-heading{display:flex;align-items:center;gap:10px}.pfx-calc-trail-icon{font-size:20px;color:var(--md-sys-color-primary, #818cf8);padding:6px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,transparent)}.pfx-calc-trail-titles{display:flex;flex-direction:column;gap:2px}.pfx-calc-trail-title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb)}.pfx-calc-trail-subtitle{font-size:.76rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trail-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pfx-calc-rule-badge{padding:2px 8px;border-radius:6px;font-size:.7rem;font-weight:700;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #a5b4fc);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent)}.pfx-calc-formula-badge{padding:2px 8px;border-radius:6px;font-size:.72rem;background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface-variant, #d1d5db);border:1px solid var(--md-sys-color-outline-variant, #34394c)}.pfx-calc-steps-pipeline{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.pfx-calc-step-operator{display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface-variant, #9ca3af);padding:0 2px}.pfx-calc-step-box{flex:1 1 110px;min-width:100px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;padding:10px 12px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px solid var(--md-sys-color-outline-variant, #262a38)}.pfx-calc-step-box[data-step-role=result],.pfx-calc-step-box[data-step-tone=primary]{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,var(--md-sys-color-surface-container-low, #151821));border-color:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 42%,transparent)}.pfx-calc-step-box[data-step-tone=info]{border-color:color-mix(in oklab,#38bdf8 42%,transparent)}.pfx-calc-step-box[data-step-tone=success]{border-color:color-mix(in oklab,#10b981 42%,transparent)}.pfx-calc-step-box[data-step-tone=warning]{border-color:color-mix(in oklab,#f59e0b 42%,transparent)}.pfx-calc-step-box[data-step-tone=danger]{border-color:color-mix(in oklab,#ef4444 42%,transparent)}.pfx-calc-empty-state{flex-direction:row;align-items:center;gap:10px;padding:16px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px dashed var(--md-sys-color-outline-variant, #2a2e3d);color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:.82rem}.pfx-calc-empty-state span.material-symbols-outlined{font-size:18px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-step-label{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-step-label span.material-symbols-outlined{font-size:13px}.pfx-calc-step-value{font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-calc-step-hint{font-size:.7rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-legal-footer{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 8%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 22%,transparent);font-size:.76rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, #d1d5db)}.pfx-calc-legal-footer span.material-symbols-outlined{font-size:16px;color:var(--md-sys-color-primary, #818cf8);flex-shrink:0;margin-top:1px}.pfx-calc-legal-text{display:flex;flex-direction:column;gap:2px}.pfx-calc-legal-ref{font-weight:600;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-legal-purpose{color:var(--md-sys-color-on-surface-variant, #9ca3af)}@keyframes pfxDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes pfxDrawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes pfxSpin{to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PraxisRichContent, selector: "praxis-rich-content", inputs: ["document", "nodes", "context", "hostCapabilities", "clientSurfaceCapabilities", "layout", "rootClassName"], outputs: ["nodeAction"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8233
|
+
`, isInline: true, styles: [".pfx-drawer-backdrop{position:fixed;inset:0;background:color-mix(in oklab,#000 55%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1200;display:flex;justify-content:flex-end;animation:pfxDrawerFadeIn .2s ease-out}.pfx-analytical-drawer{height:100dvh;background:var(--pfx-drawer-surface, var(--md-sys-color-surface, #13151b));backdrop-filter:var(--pfx-drawer-backdrop-filter, none);-webkit-backdrop-filter:var(--pfx-drawer-backdrop-filter, none);color:var(--md-sys-color-on-surface, #e5e7eb);border-left:1px solid var(--pfx-drawer-border, var(--md-sys-color-outline-variant, #2a2d37));box-shadow:var(--pfx-drawer-shadow, -12px 0 40px rgba(0, 0, 0, .45));display:flex;flex-direction:column;animation:pfxDrawerSlideIn .25s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@media(prefers-reduced-transparency:reduce){.pfx-analytical-drawer{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--pfx-drawer-fallback-surface, var(--md-sys-color-surface, #13151b))}}.tactical-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--md-sys-color-outline-variant, #3b3f4f) transparent}.tactical-scroll::-webkit-scrollbar{width:6px}.tactical-scroll::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline-variant, #3b3f4f);border-radius:4px}.pfx-drawer-top-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24))}.pfx-classification-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:9999px;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 16%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 32%,transparent)}.pfx-classification-pill span.material-symbols-outlined{font-size:15px}.pfx-drawer-close-btn{background:transparent;border:none;color:var(--md-sys-color-on-surface-variant, #9ca3af);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:8px;transition:background .15s ease,color .15s ease}.pfx-drawer-close-btn:hover{background:var(--md-sys-color-surface-container-highest, #2a2e3d);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-hero{padding:20px 24px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var( --pfx-drawer-hero-bg, color-mix(in oklab, var(--md-sys-color-surface-container-low, #161821) 70%, transparent) )}.pfx-drawer-hero__main{display:flex;align-items:center;gap:14px}.pfx-drawer-hero__icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 28%,transparent)}.pfx-drawer-hero__icon span{font-size:24px}.pfx-drawer-hero__text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.pfx-drawer-hero__title{margin:0;font-family:var(--pfx-drawer-title-font, var(--font-display, inherit));font-size:1.25rem;font-weight:var(--pfx-drawer-title-weight, 700);color:var(--md-sys-color-on-surface, #f9fafb);line-height:1.3}.pfx-drawer-hero__subtitle{font-size:.82rem;color:var(--md-sys-color-on-surface-variant, #9ca3af);line-height:1.4}.pfx-drawer-tablist{display:flex;gap:6px;padding:10px 20px;background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24));border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);overflow-x:auto;scrollbar-width:none}.pfx-drawer-tablist::-webkit-scrollbar{display:none}.pfx-drawer-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:8px;font-size:.8rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);background:transparent;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:all .15s ease}.pfx-drawer-tab-btn span.material-symbols-outlined{font-size:16px}.pfx-drawer-tab-btn:hover{background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-tab-btn.is-active{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 20%,transparent);border-color:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-tab-badge{padding:1px 6px;border-radius:6px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-on-primary, #fff)}.pfx-drawer-tab-count{padding:1px 6px;border-radius:10px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-surface-container-highest, #2f3447);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-body{padding:24px;flex:1}.pfx-drawer-loading{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 12%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 24%,transparent);font-size:.82rem;color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-spinner{width:16px;height:16px;border:2px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent);border-top-color:var(--md-sys-color-primary, #818cf8);border-radius:50%;animation:pfxSpin .7s linear infinite}.pfx-drawer-bento-grid{display:grid;gap:16px}.pfx-drawer-bento-card{padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);display:flex;flex-direction:column;gap:10px}.pfx-drawer-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.pfx-drawer-card-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-card-badge{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:4px;background:color-mix(in oklab,#10b981 18%,transparent);color:#34d399}.pfx-drawer-card-subtitle{font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-item{display:flex;flex-direction:column;gap:2px}.pfx-drawer-metric-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-value{font-size:1.4rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-drawer-metric-caption{font-size:.75rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-microviz-wrap{width:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{position:relative;display:grid;gap:6px;width:100%;min-width:0;color:var(--md-sys-color-on-surface, #f3f4f6);font-size:12px;line-height:1.25}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=success],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=success]{--pfx-drawer-micro-tone: var(--p-table-state-success-fg, #22c55e);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=warning],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=warning]{--pfx-drawer-micro-tone: var(--p-table-state-warning-fg, #f59e0b);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=critical],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=critical]{--pfx-drawer-micro-tone: var(--p-table-state-danger-fg, #ef4444);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=info],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=info]{--pfx-drawer-micro-tone: var(--md-sys-color-primary, #3b82f6);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__row{position:relative;display:grid;grid-template-columns:minmax(48px,.7fr) minmax(64px,1fr) auto;align-items:center;gap:6px;min-width:0;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__track{display:flex;width:100%;height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments{display:flex;width:100%;height:var(--prx-micro-track-height, 8px);overflow:hidden;border-radius:var(--prx-micro-track-radius, 999px);background:var(--prx-micro-track-color, color-mix(in srgb, var(--md-sys-color-outline-variant, #374151) 62%, transparent));box-shadow:var(--prx-micro-track-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__bar{display:block;height:100%;border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment{display:block;flex:0 0 auto;min-width:0;height:100%;border-radius:0;background:var(--prx-micro-segment-background, var(--prx-micro-category-color, currentColor));box-shadow:var(--prx-micro-segment-shadow, none);transition:opacity .15s ease,filter .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment[data-zero=true]{width:0!important;box-shadow:none!important}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__title{display:block;font-size:.72rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-item{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:.72rem;line-height:1.25;font-variant-numeric:tabular-nums;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-swatch{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:var(--prx-micro-category-color, currentColor);box-shadow:var(--prx-micro-swatch-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:14ch}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-value{color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:700}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__track{position:relative;display:block;width:100%;height:10px;overflow:visible;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__bands{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{position:absolute}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range{inset-block:0;height:100%;opacity:.24;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual{inset-block-start:2px;inset-inline-start:0;height:calc(100% - 4px);border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{inset-block:-3px;width:2.5px;border-radius:999px;z-index:2;background:var(--md-sys-color-on-surface, #f9fafb);transform:translate(-50%)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz-container{display:flex;align-items:center;gap:8px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col{display:flex;flex-direction:column;justify-content:center;font-size:11px;line-height:1.2;flex-shrink:0;min-width:24px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--start{align-items:flex-end;text-align:right}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--end{align-items:flex-start;text-align:left}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__value{font-weight:700;color:var(--md-sys-color-on-surface, #f3f4f6)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:9px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__line,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__area,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__column{position:relative;display:block;width:100%;height:32px;overflow:visible;flex:1 1 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__svg{display:block;width:100%;height:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__path,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__path{stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__fill:not([fill]),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{fill:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{opacity:.68}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar[data-latest=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar:hover{opacity:1}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__endpoint-halo{fill:currentColor;fill-opacity:.2;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__marker{fill:currentColor;stroke:var(--md-sys-color-surface, #111827);stroke-width:1.5px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__radial,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__harvey{display:inline-flex;align-items:center;gap:8px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg{width:40px;height:40px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bezel,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bezel{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 4%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 32%,transparent);stroke-width:.7}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__track{fill:none;stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:4}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__target-arc{fill:none;stroke:currentColor;stroke-opacity:.24;stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar{fill:none;stroke-width:4;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar[data-zero=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar[data-zero=true]{opacity:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__medallion{fill:var(--md-sys-color-surface-container-low, var(--md-sys-color-surface, transparent));stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 22%,transparent);stroke-width:.45}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text{font-size:8.2px;font-weight:800;text-anchor:middle;fill:var(--md-sys-color-on-surface, currentColor)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"3\"]{font-size:7.1px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"4\"]{font-size:6.2px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__delta{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 12%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__process{display:flex;align-items:flex-start;gap:4px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step{display:flex;align-items:center;flex:1 1 0%;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step:last-child{flex:0 0 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node-wrapper{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:10px;font-weight:700;background:color-mix(in srgb,currentColor 14%,transparent);border:1.5px solid color-mix(in srgb,currentColor 36%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__icon{font-size:13px;width:13px;height:13px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__label{font-size:10px;font-weight:600;text-align:center;color:var(--md-sys-color-on-surface-variant, #9ca3af);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__connector{flex:1 1 auto;height:2px;min-width:10px;margin:0 4px 14px;border-radius:999px;background:color-mix(in srgb,currentColor 28%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__unit{font-size:5.4px;font-weight:700;opacity:.78}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg{width:32px;height:32px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__track{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 8%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:1.5}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar{fill:none;stroke-width:14;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__pin{fill:var(--md-sys-color-surface, #111827);stroke:color-mix(in srgb,currentColor 45%,transparent);stroke-width:.75}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-pct{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 14%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-layer{position:absolute;inset:0;display:flex;align-items:stretch;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice{position:static;flex:1 1 0%;height:100%;cursor:crosshair}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:before{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:var(--pfx-scrub-y, 50%);width:7px;height:7px;border-radius:50%;background:currentColor;border:1.5px solid var(--md-sys-color-surface, #111827);box-shadow:0 1px 4px #00000040;transform:translate(-50%,-50%);pointer-events:none;z-index:3}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:after{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:2px;bottom:2px;width:1px;background:color-mix(in srgb,currentColor 32%,transparent);transform:translate(-50%);pointer-events:none;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__comparison:hover .pfx-micro-viz__row:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments:hover .pfx-micro-viz__segment:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend:hover .pfx-micro-viz__legend-item:not(:hover){opacity:.45}@media(prefers-reduced-motion:reduce),print{:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz *,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{animation:none!important;transition:none!important}}.pfx-drawer-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pfx-drawer-property-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);border-radius:10px}.pfx-drawer-property-item.span-full{grid-column:1 / -1}.pfx-drawer-property-label{display:flex;align-items:center;gap:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-property-label span.material-symbols-outlined{font-size:14px}.pfx-drawer-property-value{font-size:.85rem;color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:500}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.pfx-drawer-calc-memory{display:flex;flex-direction:column;gap:14px;margin-top:8px}.pfx-calc-section-header{display:flex;flex-direction:column;gap:4px}.pfx-calc-section-title-row{display:flex;align-items:center;gap:8px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-section-title-row span.material-symbols-outlined{font-size:18px}.pfx-calc-section-title{margin:0;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-section-subtitle{margin:0;font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trails-list{display:flex;flex-direction:column;gap:14px}.pfx-calc-trail-card{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d)}.pfx-calc-trail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.pfx-calc-trail-heading{display:flex;align-items:center;gap:10px}.pfx-calc-trail-icon{font-size:20px;color:var(--md-sys-color-primary, #818cf8);padding:6px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,transparent)}.pfx-calc-trail-titles{display:flex;flex-direction:column;gap:2px}.pfx-calc-trail-title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb)}.pfx-calc-trail-subtitle{font-size:.76rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trail-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pfx-calc-rule-badge{padding:2px 8px;border-radius:6px;font-size:.7rem;font-weight:700;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #a5b4fc);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent)}.pfx-calc-formula-badge{padding:2px 8px;border-radius:6px;font-size:.72rem;background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface-variant, #d1d5db);border:1px solid var(--md-sys-color-outline-variant, #34394c)}.pfx-calc-steps-pipeline{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.pfx-calc-step-operator{display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface-variant, #9ca3af);padding:0 2px}.pfx-calc-step-box{flex:1 1 110px;min-width:100px;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:10px 12px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px solid var(--md-sys-color-outline-variant, #262a38)}.pfx-calc-step-box[data-step-role=result],.pfx-calc-step-box[data-step-tone=primary]{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,var(--md-sys-color-surface-container-low, #151821));border-color:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 42%,transparent)}.pfx-calc-step-box[data-step-tone=info]{border-color:color-mix(in oklab,#38bdf8 42%,transparent)}.pfx-calc-step-box[data-step-tone=success]{border-color:color-mix(in oklab,#10b981 42%,transparent)}.pfx-calc-step-box[data-step-tone=warning]{border-color:color-mix(in oklab,#f59e0b 42%,transparent)}.pfx-calc-step-box[data-step-tone=danger]{border-color:color-mix(in oklab,#ef4444 42%,transparent)}.pfx-calc-empty-state{flex-direction:row;align-items:center;gap:10px;padding:16px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px dashed var(--md-sys-color-outline-variant, #2a2e3d);color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:.82rem}.pfx-calc-empty-state span.material-symbols-outlined{font-size:18px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-step-label{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-step-label span.material-symbols-outlined{font-size:13px}.pfx-calc-step-value{font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-calc-step-hint{font-size:.7rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-legal-footer{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 8%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 22%,transparent);font-size:.76rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, #d1d5db)}.pfx-calc-legal-footer span.material-symbols-outlined{font-size:16px;color:var(--md-sys-color-primary, #818cf8);flex-shrink:0;margin-top:1px}.pfx-calc-legal-text{display:flex;flex-direction:column;gap:2px}.pfx-calc-legal-ref{font-weight:600;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-legal-purpose{color:var(--md-sys-color-on-surface-variant, #9ca3af)}@keyframes pfxDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes pfxDrawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes pfxSpin{to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PraxisRichContent, selector: "praxis-rich-content", inputs: ["document", "nodes", "context", "hostCapabilities", "clientSurfaceCapabilities", "layout", "rootClassName"], outputs: ["nodeAction"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8102
8234
|
}
|
|
8103
8235
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisAnalyticalDrawerComponent, decorators: [{
|
|
8104
8236
|
type: Component,
|
|
@@ -8432,7 +8564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8432
8564
|
</aside>
|
|
8433
8565
|
</div>
|
|
8434
8566
|
}
|
|
8435
|
-
`, styles: [".pfx-drawer-backdrop{position:fixed;inset:0;background:color-mix(in oklab,#000 55%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1200;display:flex;justify-content:flex-end;animation:pfxDrawerFadeIn .2s ease-out}.pfx-analytical-drawer{height:100dvh;background:var(--pfx-drawer-surface, var(--md-sys-color-surface, #13151b));backdrop-filter:var(--pfx-drawer-backdrop-filter, none);-webkit-backdrop-filter:var(--pfx-drawer-backdrop-filter, none);color:var(--md-sys-color-on-surface, #e5e7eb);border-left:1px solid var(--pfx-drawer-border, var(--md-sys-color-outline-variant, #2a2d37));box-shadow:var(--pfx-drawer-shadow, -12px 0 40px rgba(0, 0, 0, .45));display:flex;flex-direction:column;animation:pfxDrawerSlideIn .25s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@media(prefers-reduced-transparency:reduce){.pfx-analytical-drawer{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--pfx-drawer-fallback-surface, var(--md-sys-color-surface, #13151b))}}.tactical-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--md-sys-color-outline-variant, #3b3f4f) transparent}.tactical-scroll::-webkit-scrollbar{width:6px}.tactical-scroll::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline-variant, #3b3f4f);border-radius:4px}.pfx-drawer-top-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24))}.pfx-classification-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:9999px;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 16%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 32%,transparent)}.pfx-classification-pill span.material-symbols-outlined{font-size:15px}.pfx-drawer-close-btn{background:transparent;border:none;color:var(--md-sys-color-on-surface-variant, #9ca3af);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:8px;transition:background .15s ease,color .15s ease}.pfx-drawer-close-btn:hover{background:var(--md-sys-color-surface-container-highest, #2a2e3d);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-hero{padding:20px 24px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var( --pfx-drawer-hero-bg, color-mix(in oklab, var(--md-sys-color-surface-container-low, #161821) 70%, transparent) )}.pfx-drawer-hero__main{display:flex;align-items:center;gap:14px}.pfx-drawer-hero__icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 28%,transparent)}.pfx-drawer-hero__icon span{font-size:24px}.pfx-drawer-hero__text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.pfx-drawer-hero__title{margin:0;font-family:var(--pfx-drawer-title-font, var(--font-display, inherit));font-size:1.25rem;font-weight:var(--pfx-drawer-title-weight, 700);color:var(--md-sys-color-on-surface, #f9fafb);line-height:1.3}.pfx-drawer-hero__subtitle{font-size:.82rem;color:var(--md-sys-color-on-surface-variant, #9ca3af);line-height:1.4}.pfx-drawer-tablist{display:flex;gap:6px;padding:10px 20px;background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24));border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);overflow-x:auto;scrollbar-width:none}.pfx-drawer-tablist::-webkit-scrollbar{display:none}.pfx-drawer-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:8px;font-size:.8rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);background:transparent;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:all .15s ease}.pfx-drawer-tab-btn span.material-symbols-outlined{font-size:16px}.pfx-drawer-tab-btn:hover{background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-tab-btn.is-active{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 20%,transparent);border-color:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-tab-badge{padding:1px 6px;border-radius:6px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-on-primary, #fff)}.pfx-drawer-tab-count{padding:1px 6px;border-radius:10px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-surface-container-highest, #2f3447);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-body{padding:24px;flex:1}.pfx-drawer-loading{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 12%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 24%,transparent);font-size:.82rem;color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-spinner{width:16px;height:16px;border:2px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent);border-top-color:var(--md-sys-color-primary, #818cf8);border-radius:50%;animation:pfxSpin .7s linear infinite}.pfx-drawer-bento-grid{display:grid;gap:16px}.pfx-drawer-bento-card{padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);display:flex;flex-direction:column;gap:10px}.pfx-drawer-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.pfx-drawer-card-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-card-badge{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:4px;background:color-mix(in oklab,#10b981 18%,transparent);color:#34d399}.pfx-drawer-card-subtitle{font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-item{display:flex;flex-direction:column;gap:2px}.pfx-drawer-metric-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-value{font-size:1.4rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-drawer-metric-caption{font-size:.75rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-microviz-wrap{width:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{position:relative;display:grid;gap:6px;width:100%;min-width:0;color:var(--md-sys-color-on-surface, #f3f4f6);font-size:12px;line-height:1.25}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=success],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=success]{--pfx-drawer-micro-tone: var(--p-table-state-success-fg, #22c55e);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=warning],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=warning]{--pfx-drawer-micro-tone: var(--p-table-state-warning-fg, #f59e0b);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=critical],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=critical]{--pfx-drawer-micro-tone: var(--p-table-state-danger-fg, #ef4444);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=info],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=info]{--pfx-drawer-micro-tone: var(--md-sys-color-primary, #3b82f6);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__row{position:relative;display:grid;grid-template-columns:minmax(48px,.7fr) minmax(64px,1fr) auto;align-items:center;gap:6px;min-width:0;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__track{display:flex;width:100%;height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments{display:flex;width:100%;height:var(--prx-micro-track-height, 8px);overflow:hidden;border-radius:var(--prx-micro-track-radius, 999px);background:var(--prx-micro-track-color, color-mix(in srgb, var(--md-sys-color-outline-variant, #374151) 62%, transparent));box-shadow:var(--prx-micro-track-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__bar{display:block;height:100%;border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment{display:block;flex:0 0 auto;min-width:0;height:100%;border-radius:0;background:var(--prx-micro-segment-background, var(--prx-micro-category-color, currentColor));box-shadow:var(--prx-micro-segment-shadow, none);transition:opacity .15s ease,filter .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment[data-zero=true]{width:0!important;box-shadow:none!important}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__title{display:block;font-size:.72rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-item{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:.72rem;line-height:1.25;font-variant-numeric:tabular-nums;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-swatch{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:var(--prx-micro-category-color, currentColor);box-shadow:var(--prx-micro-swatch-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:14ch}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-value{color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:700}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__track{position:relative;display:block;width:100%;height:10px;overflow:visible;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__bands{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{position:absolute}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range{inset-block:0;height:100%;opacity:.24;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual{inset-block-start:2px;inset-inline-start:0;height:calc(100% - 4px);border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{inset-block:-3px;width:2.5px;border-radius:999px;z-index:2;background:var(--md-sys-color-on-surface, #f9fafb);transform:translate(-50%)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz-container{display:flex;align-items:center;gap:8px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col{display:flex;flex-direction:column;justify-content:center;font-size:11px;line-height:1.2;flex-shrink:0;min-width:24px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--start{align-items:flex-end;text-align:right}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--end{align-items:flex-start;text-align:left}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__value{font-weight:700;color:var(--md-sys-color-on-surface, #f3f4f6)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:9px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__line,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__area,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__column{position:relative;display:block;width:100%;height:32px;overflow:visible;flex:1 1 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__svg{display:block;width:100%;height:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__path,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__path{stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__fill:not([fill]),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{fill:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{opacity:.68}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar[data-latest=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar:hover{opacity:1}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__endpoint-halo{fill:currentColor;fill-opacity:.2;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__marker{fill:currentColor;stroke:var(--md-sys-color-surface, #111827);stroke-width:1.5px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__radial,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__harvey{display:inline-flex;align-items:center;gap:8px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg{width:40px;height:40px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bezel,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bezel{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 4%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 32%,transparent);stroke-width:.7}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__track{fill:none;stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:4}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__target-arc{fill:none;stroke:currentColor;stroke-opacity:.24;stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar{fill:none;stroke-width:4;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar[data-zero=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar[data-zero=true]{opacity:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__medallion{fill:var(--md-sys-color-surface-container-low, var(--md-sys-color-surface, transparent));stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 22%,transparent);stroke-width:.45}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text{font-size:8.2px;font-weight:800;text-anchor:middle;fill:var(--md-sys-color-on-surface, currentColor)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"3\"]{font-size:7.1px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"4\"]{font-size:6.2px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__delta{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 12%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__process{display:flex;align-items:flex-start;gap:4px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step{display:flex;align-items:center;flex:1 1 0%;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step:last-child{flex:0 0 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node-wrapper{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:10px;font-weight:700;background:color-mix(in srgb,currentColor 14%,transparent);border:1.5px solid color-mix(in srgb,currentColor 36%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__icon{font-size:13px;width:13px;height:13px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__label{font-size:10px;font-weight:600;text-align:center;color:var(--md-sys-color-on-surface-variant, #9ca3af);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__connector{flex:1 1 auto;height:2px;min-width:10px;margin:0 4px 14px;border-radius:999px;background:color-mix(in srgb,currentColor 28%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__unit{font-size:5.4px;font-weight:700;opacity:.78}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg{width:32px;height:32px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__track{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 8%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:1.5}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar{fill:none;stroke-width:14;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__pin{fill:var(--md-sys-color-surface, #111827);stroke:color-mix(in srgb,currentColor 45%,transparent);stroke-width:.75}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-pct{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 14%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-layer{position:absolute;inset:0;display:flex;align-items:stretch;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice{position:static;flex:1 1 0%;height:100%;cursor:crosshair}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:before{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:var(--pfx-scrub-y, 50%);width:7px;height:7px;border-radius:50%;background:currentColor;border:1.5px solid var(--md-sys-color-surface, #111827);box-shadow:0 1px 4px #00000040;transform:translate(-50%,-50%);pointer-events:none;z-index:3}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:after{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:2px;bottom:2px;width:1px;background:color-mix(in srgb,currentColor 32%,transparent);transform:translate(-50%);pointer-events:none;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__comparison:hover .pfx-micro-viz__row:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments:hover .pfx-micro-viz__segment:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend:hover .pfx-micro-viz__legend-item:not(:hover){opacity:.45}@media(prefers-reduced-motion:reduce),print{:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz *,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{animation:none!important;transition:none!important}}.pfx-drawer-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pfx-drawer-property-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);border-radius:10px}.pfx-drawer-property-item.span-full{grid-column:1 / -1}.pfx-drawer-property-label{display:flex;align-items:center;gap:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-property-label span.material-symbols-outlined{font-size:14px}.pfx-drawer-property-value{font-size:.85rem;color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:500}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.pfx-drawer-calc-memory{display:flex;flex-direction:column;gap:14px;margin-top:8px}.pfx-calc-section-header{display:flex;flex-direction:column;gap:4px}.pfx-calc-section-title-row{display:flex;align-items:center;gap:8px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-section-title-row span.material-symbols-outlined{font-size:18px}.pfx-calc-section-title{margin:0;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-section-subtitle{margin:0;font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trails-list{display:flex;flex-direction:column;gap:14px}.pfx-calc-trail-card{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d)}.pfx-calc-trail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.pfx-calc-trail-heading{display:flex;align-items:center;gap:10px}.pfx-calc-trail-icon{font-size:20px;color:var(--md-sys-color-primary, #818cf8);padding:6px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,transparent)}.pfx-calc-trail-titles{display:flex;flex-direction:column;gap:2px}.pfx-calc-trail-title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb)}.pfx-calc-trail-subtitle{font-size:.76rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trail-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pfx-calc-rule-badge{padding:2px 8px;border-radius:6px;font-size:.7rem;font-weight:700;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #a5b4fc);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent)}.pfx-calc-formula-badge{padding:2px 8px;border-radius:6px;font-size:.72rem;background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface-variant, #d1d5db);border:1px solid var(--md-sys-color-outline-variant, #34394c)}.pfx-calc-steps-pipeline{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.pfx-calc-step-operator{display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface-variant, #9ca3af);padding:0 2px}.pfx-calc-step-box{flex:1 1 110px;min-width:100px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;padding:10px 12px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px solid var(--md-sys-color-outline-variant, #262a38)}.pfx-calc-step-box[data-step-role=result],.pfx-calc-step-box[data-step-tone=primary]{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,var(--md-sys-color-surface-container-low, #151821));border-color:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 42%,transparent)}.pfx-calc-step-box[data-step-tone=info]{border-color:color-mix(in oklab,#38bdf8 42%,transparent)}.pfx-calc-step-box[data-step-tone=success]{border-color:color-mix(in oklab,#10b981 42%,transparent)}.pfx-calc-step-box[data-step-tone=warning]{border-color:color-mix(in oklab,#f59e0b 42%,transparent)}.pfx-calc-step-box[data-step-tone=danger]{border-color:color-mix(in oklab,#ef4444 42%,transparent)}.pfx-calc-empty-state{flex-direction:row;align-items:center;gap:10px;padding:16px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px dashed var(--md-sys-color-outline-variant, #2a2e3d);color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:.82rem}.pfx-calc-empty-state span.material-symbols-outlined{font-size:18px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-step-label{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-step-label span.material-symbols-outlined{font-size:13px}.pfx-calc-step-value{font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-calc-step-hint{font-size:.7rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-legal-footer{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 8%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 22%,transparent);font-size:.76rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, #d1d5db)}.pfx-calc-legal-footer span.material-symbols-outlined{font-size:16px;color:var(--md-sys-color-primary, #818cf8);flex-shrink:0;margin-top:1px}.pfx-calc-legal-text{display:flex;flex-direction:column;gap:2px}.pfx-calc-legal-ref{font-weight:600;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-legal-purpose{color:var(--md-sys-color-on-surface-variant, #9ca3af)}@keyframes pfxDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes pfxDrawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes pfxSpin{to{transform:rotate(360deg)}}\n"] }]
|
|
8567
|
+
`, styles: [".pfx-drawer-backdrop{position:fixed;inset:0;background:color-mix(in oklab,#000 55%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1200;display:flex;justify-content:flex-end;animation:pfxDrawerFadeIn .2s ease-out}.pfx-analytical-drawer{height:100dvh;background:var(--pfx-drawer-surface, var(--md-sys-color-surface, #13151b));backdrop-filter:var(--pfx-drawer-backdrop-filter, none);-webkit-backdrop-filter:var(--pfx-drawer-backdrop-filter, none);color:var(--md-sys-color-on-surface, #e5e7eb);border-left:1px solid var(--pfx-drawer-border, var(--md-sys-color-outline-variant, #2a2d37));box-shadow:var(--pfx-drawer-shadow, -12px 0 40px rgba(0, 0, 0, .45));display:flex;flex-direction:column;animation:pfxDrawerSlideIn .25s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@media(prefers-reduced-transparency:reduce){.pfx-analytical-drawer{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--pfx-drawer-fallback-surface, var(--md-sys-color-surface, #13151b))}}.tactical-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--md-sys-color-outline-variant, #3b3f4f) transparent}.tactical-scroll::-webkit-scrollbar{width:6px}.tactical-scroll::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline-variant, #3b3f4f);border-radius:4px}.pfx-drawer-top-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24))}.pfx-classification-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:9999px;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 16%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 32%,transparent)}.pfx-classification-pill span.material-symbols-outlined{font-size:15px}.pfx-drawer-close-btn{background:transparent;border:none;color:var(--md-sys-color-on-surface-variant, #9ca3af);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:8px;transition:background .15s ease,color .15s ease}.pfx-drawer-close-btn:hover{background:var(--md-sys-color-surface-container-highest, #2a2e3d);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-hero{padding:20px 24px;border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);background:var( --pfx-drawer-hero-bg, color-mix(in oklab, var(--md-sys-color-surface-container-low, #161821) 70%, transparent) )}.pfx-drawer-hero__main{display:flex;align-items:center;gap:14px}.pfx-drawer-hero__icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #818cf8);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 28%,transparent)}.pfx-drawer-hero__icon span{font-size:24px}.pfx-drawer-hero__text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.pfx-drawer-hero__title{margin:0;font-family:var(--pfx-drawer-title-font, var(--font-display, inherit));font-size:1.25rem;font-weight:var(--pfx-drawer-title-weight, 700);color:var(--md-sys-color-on-surface, #f9fafb);line-height:1.3}.pfx-drawer-hero__subtitle{font-size:.82rem;color:var(--md-sys-color-on-surface-variant, #9ca3af);line-height:1.4}.pfx-drawer-tablist{display:flex;gap:6px;padding:10px 20px;background:var(--pfx-drawer-header-bg, var(--md-sys-color-surface-container, #191c24));border-bottom:1px solid var(--md-sys-color-outline-variant, #222530);overflow-x:auto;scrollbar-width:none}.pfx-drawer-tablist::-webkit-scrollbar{display:none}.pfx-drawer-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:8px;font-size:.8rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);background:transparent;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:all .15s ease}.pfx-drawer-tab-btn span.material-symbols-outlined{font-size:16px}.pfx-drawer-tab-btn:hover{background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-tab-btn.is-active{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 20%,transparent);border-color:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-tab-badge{padding:1px 6px;border-radius:6px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-primary, #6366f1);color:var(--md-sys-color-on-primary, #fff)}.pfx-drawer-tab-count{padding:1px 6px;border-radius:10px;font-size:.68rem;font-weight:700;background:var(--md-sys-color-surface-container-highest, #2f3447);color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-drawer-body{padding:24px;flex:1}.pfx-drawer-loading{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 12%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 24%,transparent);font-size:.82rem;color:var(--md-sys-color-primary, #818cf8)}.pfx-drawer-spinner{width:16px;height:16px;border:2px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent);border-top-color:var(--md-sys-color-primary, #818cf8);border-radius:50%;animation:pfxSpin .7s linear infinite}.pfx-drawer-bento-grid{display:grid;gap:16px}.pfx-drawer-bento-card{padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);display:flex;flex-direction:column;gap:10px}.pfx-drawer-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.pfx-drawer-card-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface, #e5e7eb)}.pfx-drawer-card-badge{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:4px;background:color-mix(in oklab,#10b981 18%,transparent);color:#34d399}.pfx-drawer-card-subtitle{font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-item{display:flex;flex-direction:column;gap:2px}.pfx-drawer-metric-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-metric-value{font-size:1.4rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-drawer-metric-caption{font-size:.75rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-microviz-wrap{width:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{position:relative;display:grid;gap:6px;width:100%;min-width:0;color:var(--md-sys-color-on-surface, #f3f4f6);font-size:12px;line-height:1.25}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=success],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=success]{--pfx-drawer-micro-tone: var(--p-table-state-success-fg, #22c55e);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=warning],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=warning]{--pfx-drawer-micro-tone: var(--p-table-state-warning-fg, #f59e0b);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=critical],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=danger],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=critical]{--pfx-drawer-micro-tone: var(--p-table-state-danger-fg, #ef4444);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz[data-tone=info],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz [data-tone=info]{--pfx-drawer-micro-tone: var(--md-sys-color-primary, #3b82f6);color:var(--pfx-drawer-micro-tone)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__row{position:relative;display:grid;grid-template-columns:minmax(48px,.7fr) minmax(64px,1fr) auto;align-items:center;gap:6px;min-width:0;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__track{display:flex;width:100%;height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments{display:flex;width:100%;height:var(--prx-micro-track-height, 8px);overflow:hidden;border-radius:var(--prx-micro-track-radius, 999px);background:var(--prx-micro-track-color, color-mix(in srgb, var(--md-sys-color-outline-variant, #374151) 62%, transparent));box-shadow:var(--prx-micro-track-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__bar{display:block;height:100%;border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment{display:block;flex:0 0 auto;min-width:0;height:100%;border-radius:0;background:var(--prx-micro-segment-background, var(--prx-micro-category-color, currentColor));box-shadow:var(--prx-micro-segment-shadow, none);transition:opacity .15s ease,filter .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segment[data-zero=true]{width:0!important;box-shadow:none!important}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__title{display:block;font-size:.72rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, #9ca3af);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-item{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:.72rem;line-height:1.25;font-variant-numeric:tabular-nums;transition:opacity .15s ease}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-swatch{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:var(--prx-micro-category-color, currentColor);box-shadow:var(--prx-micro-swatch-shadow, none)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:14ch}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend-value{color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:700}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__track{position:relative;display:block;width:100%;height:10px;overflow:visible;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__bands{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{position:absolute}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__range{inset-block:0;height:100%;opacity:.24;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__actual{inset-block-start:2px;inset-inline-start:0;height:calc(100% - 4px);border-radius:inherit;background:var(--pfx-drawer-micro-tone, var(--md-sys-color-primary, #3b82f6))}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-bullet__target{inset-block:-3px;width:2.5px;border-radius:999px;z-index:2;background:var(--md-sys-color-on-surface, #f9fafb);transform:translate(-50%)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz-container{display:flex;align-items:center;gap:8px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col{display:flex;flex-direction:column;justify-content:center;font-size:11px;line-height:1.2;flex-shrink:0;min-width:24px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--start{align-items:flex-end;text-align:right}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label-col--end{align-items:flex-start;text-align:left}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__value{font-weight:700;color:var(--md-sys-color-on-surface, #f3f4f6)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__label{color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:9px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__line,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__area,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__column{position:relative;display:block;width:100%;height:32px;overflow:visible;flex:1 1 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__svg,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__svg{display:block;width:100%;height:100%;overflow:visible}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-line__path,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__path{stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-area__fill:not([fill]),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{fill:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar{opacity:.68}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar[data-latest=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-column__bar:hover{opacity:1}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__endpoint-halo{fill:currentColor;fill-opacity:.2;pointer-events:none}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__marker{fill:currentColor;stroke:var(--md-sys-color-surface, #111827);stroke-width:1.5px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__radial,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__harvey{display:inline-flex;align-items:center;gap:8px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg{width:40px;height:40px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bezel,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bezel{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 4%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 32%,transparent);stroke-width:.7}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__track{fill:none;stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:4}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__target-arc{fill:none;stroke:currentColor;stroke-opacity:.24;stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar{fill:none;stroke-width:4;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__bar[data-zero=true],:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar[data-zero=true]{opacity:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__medallion{fill:var(--md-sys-color-surface-container-low, var(--md-sys-color-surface, transparent));stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 22%,transparent);stroke-width:.45}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text{font-size:8.2px;font-weight:800;text-anchor:middle;fill:var(--md-sys-color-on-surface, currentColor)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"3\"]{font-size:7.1px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__text[data-digits=\"4\"]{font-size:6.2px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__delta{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 12%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__process{display:flex;align-items:flex-start;gap:4px;width:100%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step{display:flex;align-items:center;flex:1 1 0%;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step:last-child{flex:0 0 auto}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node-wrapper{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__node{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:10px;font-weight:700;background:color-mix(in srgb,currentColor 14%,transparent);border:1.5px solid color-mix(in srgb,currentColor 36%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__icon{font-size:13px;width:13px;height:13px}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__label{font-size:10px;font-weight:600;text-align:center;color:var(--md-sys-color-on-surface-variant, #9ca3af);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-step__connector{flex:1 1 auto;height:2px;min-width:10px;margin:0 4px 14px;border-radius:999px;background:color-mix(in srgb,currentColor 28%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-radial-svg__unit{font-size:5.4px;font-weight:700;opacity:.78}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg{width:32px;height:32px;overflow:visible;flex-shrink:0}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__track{fill:color-mix(in srgb,var(--md-sys-color-on-surface, currentColor) 8%,transparent);stroke:color-mix(in srgb,var(--md-sys-color-outline-variant, #374151) 62%,transparent);stroke-width:1.5}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar{fill:none;stroke-width:14;transform:rotate(-90deg);transform-origin:50% 50%}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__bar:not([stroke]){stroke:currentColor}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-svg__pin{fill:var(--md-sys-color-surface, #111827);stroke:color-mix(in srgb,currentColor 45%,transparent);stroke-width:.75}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-harvey-pct{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 14%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent)}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-layer{position:absolute;inset:0;display:flex;align-items:stretch;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice{position:static;flex:1 1 0%;height:100%;cursor:crosshair}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:before{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:var(--pfx-scrub-y, 50%);width:7px;height:7px;border-radius:50%;background:currentColor;border:1.5px solid var(--md-sys-color-surface, #111827);box-shadow:0 1px 4px #00000040;transform:translate(-50%,-50%);pointer-events:none;z-index:3}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-trend__scrub-slice:hover:after{content:\"\";position:absolute;left:var(--pfx-scrub-x, 50%);top:2px;bottom:2px;width:1px;background:color-mix(in srgb,currentColor 32%,transparent);transform:translate(-50%);pointer-events:none;z-index:2}:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__comparison:hover .pfx-micro-viz__row:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__segments:hover .pfx-micro-viz__segment:not(:hover),:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz__legend:hover .pfx-micro-viz__legend-item:not(:hover){opacity:.45}@media(prefers-reduced-motion:reduce),print{:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz *,:host ::ng-deep .pfx-drawer-microviz-wrap .pfx-micro-viz{animation:none!important;transition:none!important}}.pfx-drawer-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pfx-drawer-property-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d);border-radius:10px}.pfx-drawer-property-item.span-full{grid-column:1 / -1}.pfx-drawer-property-label{display:flex;align-items:center;gap:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-drawer-property-label span.material-symbols-outlined{font-size:14px}.pfx-drawer-property-value{font-size:.85rem;color:var(--md-sys-color-on-surface, #f3f4f6);font-weight:500}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.pfx-drawer-calc-memory{display:flex;flex-direction:column;gap:14px;margin-top:8px}.pfx-calc-section-header{display:flex;flex-direction:column;gap:4px}.pfx-calc-section-title-row{display:flex;align-items:center;gap:8px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-section-title-row span.material-symbols-outlined{font-size:18px}.pfx-calc-section-title{margin:0;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-section-subtitle{margin:0;font-size:.78rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trails-list{display:flex;flex-direction:column;gap:14px}.pfx-calc-trail-card{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:12px;background:var(--md-sys-color-surface-container, #191c24);border:1px solid var(--md-sys-color-outline-variant, #2a2e3d)}.pfx-calc-trail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.pfx-calc-trail-heading{display:flex;align-items:center;gap:10px}.pfx-calc-trail-icon{font-size:20px;color:var(--md-sys-color-primary, #818cf8);padding:6px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,transparent)}.pfx-calc-trail-titles{display:flex;flex-direction:column;gap:2px}.pfx-calc-trail-title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb)}.pfx-calc-trail-subtitle{font-size:.76rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-trail-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pfx-calc-rule-badge{padding:2px 8px;border-radius:6px;font-size:.7rem;font-weight:700;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 18%,transparent);color:var(--md-sys-color-primary, #a5b4fc);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 30%,transparent)}.pfx-calc-formula-badge{padding:2px 8px;border-radius:6px;font-size:.72rem;background:var(--md-sys-color-surface-container-high, #222634);color:var(--md-sys-color-on-surface-variant, #d1d5db);border:1px solid var(--md-sys-color-outline-variant, #34394c)}.pfx-calc-steps-pipeline{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.pfx-calc-step-operator{display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface-variant, #9ca3af);padding:0 2px}.pfx-calc-step-box{flex:1 1 110px;min-width:100px;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:10px 12px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px solid var(--md-sys-color-outline-variant, #262a38)}.pfx-calc-step-box[data-step-role=result],.pfx-calc-step-box[data-step-tone=primary]{background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 14%,var(--md-sys-color-surface-container-low, #151821));border-color:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 42%,transparent)}.pfx-calc-step-box[data-step-tone=info]{border-color:color-mix(in oklab,#38bdf8 42%,transparent)}.pfx-calc-step-box[data-step-tone=success]{border-color:color-mix(in oklab,#10b981 42%,transparent)}.pfx-calc-step-box[data-step-tone=warning]{border-color:color-mix(in oklab,#f59e0b 42%,transparent)}.pfx-calc-step-box[data-step-tone=danger]{border-color:color-mix(in oklab,#ef4444 42%,transparent)}.pfx-calc-empty-state{flex-direction:row;align-items:center;gap:10px;padding:16px;border-radius:10px;background:var(--md-sys-color-surface-container-low, #151821);border:1px dashed var(--md-sys-color-outline-variant, #2a2e3d);color:var(--md-sys-color-on-surface-variant, #9ca3af);font-size:.82rem}.pfx-calc-empty-state span.material-symbols-outlined{font-size:18px;color:var(--md-sys-color-primary, #818cf8)}.pfx-calc-step-label{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-step-label span.material-symbols-outlined{font-size:13px}.pfx-calc-step-value{font-size:1rem;font-weight:700;color:var(--md-sys-color-on-surface, #f9fafb);font-variant-numeric:tabular-nums}.pfx-calc-step-hint{font-size:.7rem;color:var(--md-sys-color-on-surface-variant, #9ca3af)}.pfx-calc-legal-footer{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 8%,transparent);border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #6366f1) 22%,transparent);font-size:.76rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, #d1d5db)}.pfx-calc-legal-footer span.material-symbols-outlined{font-size:16px;color:var(--md-sys-color-primary, #818cf8);flex-shrink:0;margin-top:1px}.pfx-calc-legal-text{display:flex;flex-direction:column;gap:2px}.pfx-calc-legal-ref{font-weight:600;color:var(--md-sys-color-on-surface, #f3f4f6)}.pfx-calc-legal-purpose{color:var(--md-sys-color-on-surface-variant, #9ca3af)}@keyframes pfxDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes pfxDrawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes pfxSpin{to{transform:rotate(360deg)}}\n"] }]
|
|
8436
8568
|
}], ctorParameters: () => [], propDecorators: { handleDocumentEscape: [{
|
|
8437
8569
|
type: HostListener,
|
|
8438
8570
|
args: ['document:keydown.escape', ['$event']]
|
|
@@ -8455,6 +8587,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8455
8587
|
}], relationFetch: [{
|
|
8456
8588
|
type: Output
|
|
8457
8589
|
}] } });
|
|
8590
|
+
function coerceRelationFilterParam(raw) {
|
|
8591
|
+
if (raw === 'true')
|
|
8592
|
+
return true;
|
|
8593
|
+
if (raw === 'false')
|
|
8594
|
+
return false;
|
|
8595
|
+
if (raw === '0' || /^-?[1-9]\d*$/.test(raw)) {
|
|
8596
|
+
const parsed = Number(raw);
|
|
8597
|
+
if (Number.isSafeInteger(parsed))
|
|
8598
|
+
return parsed;
|
|
8599
|
+
}
|
|
8600
|
+
return raw;
|
|
8601
|
+
}
|
|
8458
8602
|
|
|
8459
8603
|
/** Independent request generations for expanded rows and the selected detail. */
|
|
8460
8604
|
class TableDetailRuntimeState {
|
|
@@ -12433,7 +12577,8 @@ class FilterSettingsComponent {
|
|
|
12433
12577
|
return `${this.schemaMetaScopeKey(configKey)}:index`;
|
|
12434
12578
|
}
|
|
12435
12579
|
schemaMetaKeyForSchemaId(configKey, schemaId) {
|
|
12436
|
-
|
|
12580
|
+
const storageSegment = buildSchemaIdStorageKeySegment(schemaId);
|
|
12581
|
+
return `${this.schemaMetaScopeKey(configKey)}:schema:${storageSegment || schemaId}`;
|
|
12437
12582
|
}
|
|
12438
12583
|
filterSchemaIgnoreKey(configKey, serverHash) {
|
|
12439
12584
|
return `filter-schema-ignore:${configKey}:${serverHash}`;
|
|
@@ -12459,12 +12604,18 @@ class FilterSettingsComponent {
|
|
|
12459
12604
|
hashes.add(legacyHash);
|
|
12460
12605
|
const keysToClear = [];
|
|
12461
12606
|
for (const schemaId of schemaIds) {
|
|
12462
|
-
const
|
|
12463
|
-
const
|
|
12464
|
-
const
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12607
|
+
const compactKey = this.schemaMetaKeyForSchemaId(configKey, schemaId);
|
|
12608
|
+
const legacyRawKey = `${scopeKey}:schema:${schemaId}`;
|
|
12609
|
+
const candidateKeys = legacyRawKey !== compactKey && legacyRawKey.length <= 255
|
|
12610
|
+
? [compactKey, legacyRawKey]
|
|
12611
|
+
: [compactKey];
|
|
12612
|
+
for (const key of candidateKeys) {
|
|
12613
|
+
const meta = await firstValueFrom(this.storage.loadConfig(key).pipe(take$1(1))).catch(() => null);
|
|
12614
|
+
const hash = String(meta?.serverHash || '').trim();
|
|
12615
|
+
if (hash)
|
|
12616
|
+
hashes.add(hash);
|
|
12617
|
+
keysToClear.push(key);
|
|
12618
|
+
}
|
|
12468
12619
|
}
|
|
12469
12620
|
keysToClear.push(indexKey, scopeKey);
|
|
12470
12621
|
hashes.forEach((hash) => {
|
|
@@ -14276,6 +14427,8 @@ class PraxisFilter {
|
|
|
14276
14427
|
componentKeys;
|
|
14277
14428
|
route;
|
|
14278
14429
|
logger;
|
|
14430
|
+
static sharedSchemaMetaCacheByStorage = new WeakMap();
|
|
14431
|
+
static schemaMetaPersistenceQueuesByStorage = new WeakMap();
|
|
14279
14432
|
addManagerOrigin;
|
|
14280
14433
|
addManagerSearch;
|
|
14281
14434
|
resourcePath;
|
|
@@ -14603,7 +14756,8 @@ class PraxisFilter {
|
|
|
14603
14756
|
const id = String(schemaId || '').trim();
|
|
14604
14757
|
if (!scopeKey || !id)
|
|
14605
14758
|
return null;
|
|
14606
|
-
|
|
14759
|
+
const storageSegment = buildSchemaIdStorageKeySegment(id);
|
|
14760
|
+
return storageSegment ? `${scopeKey}:schema:${storageSegment}` : null;
|
|
14607
14761
|
}
|
|
14608
14762
|
filterSchemaIgnoreKey(serverHash) {
|
|
14609
14763
|
const key = this.resolveConfigKey();
|
|
@@ -16047,17 +16201,20 @@ class PraxisFilter {
|
|
|
16047
16201
|
}
|
|
16048
16202
|
clearSchemaMetaPersistence(options) {
|
|
16049
16203
|
try {
|
|
16204
|
+
const sharedCache = this.getSharedSchemaMetaCache();
|
|
16050
16205
|
const keys = new Set();
|
|
16051
16206
|
const legacyScopeKey = this.getSchemaMetaKey();
|
|
16052
16207
|
if (legacyScopeKey) {
|
|
16053
16208
|
keys.add(legacyScopeKey);
|
|
16054
16209
|
this.storedSchemaMetaCache.delete(legacyScopeKey);
|
|
16210
|
+
sharedCache?.delete(legacyScopeKey);
|
|
16055
16211
|
}
|
|
16056
16212
|
if (options?.context) {
|
|
16057
16213
|
const contextualKey = this.getSchemaMetaKeyForContext(options.context);
|
|
16058
16214
|
if (contextualKey) {
|
|
16059
16215
|
keys.add(contextualKey);
|
|
16060
16216
|
this.storedSchemaMetaCache.delete(contextualKey);
|
|
16217
|
+
sharedCache?.delete(contextualKey);
|
|
16061
16218
|
}
|
|
16062
16219
|
}
|
|
16063
16220
|
if (options?.includeAllScoped) {
|
|
@@ -16070,6 +16227,7 @@ class PraxisFilter {
|
|
|
16070
16227
|
const key = this.filterSchemaMetaKeyForSchemaId(schemaId);
|
|
16071
16228
|
if (key) {
|
|
16072
16229
|
this.storedSchemaMetaCache.delete(key);
|
|
16230
|
+
sharedCache?.delete(key);
|
|
16073
16231
|
this.clearConfigStorageKey(key);
|
|
16074
16232
|
}
|
|
16075
16233
|
});
|
|
@@ -16082,16 +16240,44 @@ class PraxisFilter {
|
|
|
16082
16240
|
// no-op: schema metadata cleanup is best effort
|
|
16083
16241
|
}
|
|
16084
16242
|
}
|
|
16243
|
+
getSharedSchemaMetaCache() {
|
|
16244
|
+
const storage = this.configStorage;
|
|
16245
|
+
if (!storage || (typeof storage !== 'object' && typeof storage !== 'function')) {
|
|
16246
|
+
return null;
|
|
16247
|
+
}
|
|
16248
|
+
let map = PraxisFilter.sharedSchemaMetaCacheByStorage.get(storage);
|
|
16249
|
+
if (!map) {
|
|
16250
|
+
map = new Map();
|
|
16251
|
+
PraxisFilter.sharedSchemaMetaCacheByStorage.set(storage, map);
|
|
16252
|
+
}
|
|
16253
|
+
return map;
|
|
16254
|
+
}
|
|
16255
|
+
getSchemaMetaPersistenceQueues() {
|
|
16256
|
+
const storage = this.configStorage;
|
|
16257
|
+
if (!storage || (typeof storage !== 'object' && typeof storage !== 'function')) {
|
|
16258
|
+
return null;
|
|
16259
|
+
}
|
|
16260
|
+
let queues = PraxisFilter.schemaMetaPersistenceQueuesByStorage.get(storage);
|
|
16261
|
+
if (!queues) {
|
|
16262
|
+
queues = new Map();
|
|
16263
|
+
PraxisFilter.schemaMetaPersistenceQueuesByStorage.set(storage, queues);
|
|
16264
|
+
}
|
|
16265
|
+
return queues;
|
|
16266
|
+
}
|
|
16085
16267
|
clearConfigStorageKey(key) {
|
|
16086
16268
|
if (!key)
|
|
16087
16269
|
return;
|
|
16088
16270
|
this.storedSchemaMetaCache.delete(key);
|
|
16271
|
+
this.getSharedSchemaMetaCache()?.delete(key);
|
|
16089
16272
|
if (key === this.filterSchemaMetaIndexKey()) {
|
|
16090
16273
|
this.schemaMetaIndexCache = undefined;
|
|
16091
16274
|
this.schemaMetaIndexLoadPromise = undefined;
|
|
16092
16275
|
}
|
|
16093
16276
|
try {
|
|
16094
|
-
this.configStorage
|
|
16277
|
+
this.configStorage
|
|
16278
|
+
.clearConfig(key)
|
|
16279
|
+
.pipe(take$1(1))
|
|
16280
|
+
.subscribe({ error: () => { } });
|
|
16095
16281
|
}
|
|
16096
16282
|
catch {
|
|
16097
16283
|
// ignore storage clear failures
|
|
@@ -16104,10 +16290,17 @@ class PraxisFilter {
|
|
|
16104
16290
|
const cached = this.storedSchemaMetaCache.get(key);
|
|
16105
16291
|
return Promise.resolve(cached ?? undefined);
|
|
16106
16292
|
}
|
|
16293
|
+
const sharedCache = this.getSharedSchemaMetaCache();
|
|
16294
|
+
if (sharedCache?.has(key)) {
|
|
16295
|
+
const cached = sharedCache.get(key) ?? null;
|
|
16296
|
+
this.storedSchemaMetaCache.set(key, cached);
|
|
16297
|
+
return Promise.resolve(cached ?? undefined);
|
|
16298
|
+
}
|
|
16107
16299
|
return firstValueFrom(this.configStorage.loadConfig(key))
|
|
16108
16300
|
.then((value) => {
|
|
16109
16301
|
const next = value ?? null;
|
|
16110
16302
|
this.storedSchemaMetaCache.set(key, next);
|
|
16303
|
+
sharedCache?.set(key, next);
|
|
16111
16304
|
return next ?? undefined;
|
|
16112
16305
|
})
|
|
16113
16306
|
.catch(() => undefined);
|
|
@@ -16135,17 +16328,86 @@ class PraxisFilter {
|
|
|
16135
16328
|
return this.schemaMetaIndexLoadPromise;
|
|
16136
16329
|
}
|
|
16137
16330
|
saveStoredSchemaMeta(key, next, schemaId) {
|
|
16138
|
-
const
|
|
16139
|
-
if (
|
|
16140
|
-
this.
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16331
|
+
const queues = this.getSchemaMetaPersistenceQueues();
|
|
16332
|
+
if (!queues) {
|
|
16333
|
+
return this.reconcileSchemaMetaSave(key, next, schemaId);
|
|
16334
|
+
}
|
|
16335
|
+
const previous = queues.get(key) ?? Promise.resolve();
|
|
16336
|
+
const pending = previous
|
|
16337
|
+
.catch(() => undefined)
|
|
16338
|
+
.then(() => this.reconcileSchemaMetaSave(key, next, schemaId));
|
|
16339
|
+
queues.set(key, pending);
|
|
16340
|
+
void pending.finally(() => {
|
|
16341
|
+
if (queues.get(key) === pending) {
|
|
16342
|
+
queues.delete(key);
|
|
16343
|
+
}
|
|
16344
|
+
});
|
|
16345
|
+
return pending;
|
|
16346
|
+
}
|
|
16347
|
+
async reconcileSchemaMetaSave(key, next, schemaId) {
|
|
16348
|
+
const sharedCache = this.getSharedSchemaMetaCache();
|
|
16349
|
+
for (let attempt = 0; attempt < 3; attempt += 1) {
|
|
16350
|
+
let stored = null;
|
|
16351
|
+
if (attempt === 0) {
|
|
16352
|
+
if (this.storedSchemaMetaCache.has(key)) {
|
|
16353
|
+
stored = this.storedSchemaMetaCache.get(key) ?? null;
|
|
16354
|
+
}
|
|
16355
|
+
else if (sharedCache?.has(key)) {
|
|
16356
|
+
stored = sharedCache.get(key) ?? null;
|
|
16357
|
+
this.storedSchemaMetaCache.set(key, stored);
|
|
16358
|
+
}
|
|
16359
|
+
else {
|
|
16360
|
+
stored =
|
|
16361
|
+
(await firstValueFrom(this.configStorage.loadConfig(key)).catch(() => null)) ?? null;
|
|
16362
|
+
this.storedSchemaMetaCache.set(key, stored);
|
|
16363
|
+
sharedCache?.set(key, stored);
|
|
16364
|
+
}
|
|
16365
|
+
}
|
|
16366
|
+
else {
|
|
16367
|
+
stored =
|
|
16368
|
+
(await firstValueFrom(this.configStorage.loadConfig(key)).catch(() => null)) ?? null;
|
|
16369
|
+
this.storedSchemaMetaCache.set(key, stored);
|
|
16370
|
+
sharedCache?.set(key, stored);
|
|
16371
|
+
}
|
|
16372
|
+
const base = stored && typeof stored === 'object' && !Array.isArray(stored)
|
|
16373
|
+
? stored
|
|
16374
|
+
: null;
|
|
16375
|
+
const reconciled = {
|
|
16376
|
+
...(base || {}),
|
|
16377
|
+
...next,
|
|
16378
|
+
};
|
|
16379
|
+
if (base !== null &&
|
|
16380
|
+
this.stableSerialize(this.normalizeStoredSchemaMetaForComparison(base)) ===
|
|
16381
|
+
this.stableSerialize(this.normalizeStoredSchemaMetaForComparison(reconciled))) {
|
|
16382
|
+
if (schemaId)
|
|
16383
|
+
this.rememberSchemaMetaContext(schemaId);
|
|
16384
|
+
return;
|
|
16385
|
+
}
|
|
16386
|
+
try {
|
|
16387
|
+
let persisted = false;
|
|
16388
|
+
await firstValueFrom(this.configStorage.saveConfig(key, reconciled).pipe(take$1(1), tap(() => {
|
|
16389
|
+
persisted = true;
|
|
16390
|
+
}), defaultIfEmpty(undefined)));
|
|
16391
|
+
if (persisted) {
|
|
16392
|
+
this.storedSchemaMetaCache.set(key, reconciled);
|
|
16393
|
+
sharedCache?.set(key, reconciled);
|
|
16394
|
+
}
|
|
16395
|
+
if (schemaId)
|
|
16396
|
+
this.rememberSchemaMetaContext(schemaId);
|
|
16397
|
+
return;
|
|
16398
|
+
}
|
|
16399
|
+
catch (error) {
|
|
16400
|
+
const status = Number(error?.status);
|
|
16401
|
+
this.storedSchemaMetaCache.delete(key);
|
|
16402
|
+
sharedCache?.delete(key);
|
|
16403
|
+
if ((status === 409 || status === 412) && attempt < 2) {
|
|
16404
|
+
continue;
|
|
16405
|
+
}
|
|
16406
|
+
if (schemaId)
|
|
16407
|
+
this.rememberSchemaMetaContext(schemaId);
|
|
16408
|
+
return;
|
|
16409
|
+
}
|
|
16144
16410
|
}
|
|
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
16411
|
}
|
|
16150
16412
|
stableSerialize(value) {
|
|
16151
16413
|
try {
|
|
@@ -16216,14 +16478,16 @@ class PraxisFilter {
|
|
|
16216
16478
|
}
|
|
16217
16479
|
return localHash;
|
|
16218
16480
|
}
|
|
16219
|
-
persistSchemaMeta(schemaId, context, serverHash) {
|
|
16481
|
+
async persistSchemaMeta(schemaId, context, serverHash) {
|
|
16220
16482
|
try {
|
|
16221
16483
|
const key = this.filterSchemaMetaKeyForSchemaId(schemaId) ||
|
|
16222
16484
|
this.getSchemaMetaKey();
|
|
16223
16485
|
if (!key)
|
|
16224
16486
|
return;
|
|
16225
16487
|
const nowIso = new Date().toISOString();
|
|
16226
|
-
const prev = this.storedSchemaMetaCache.get(key) ??
|
|
16488
|
+
const prev = this.storedSchemaMetaCache.get(key) ??
|
|
16489
|
+
this.getSharedSchemaMetaCache()?.get(key) ??
|
|
16490
|
+
null;
|
|
16227
16491
|
const next = {
|
|
16228
16492
|
...(prev || {}),
|
|
16229
16493
|
schemaId,
|
|
@@ -16232,18 +16496,18 @@ class PraxisFilter {
|
|
|
16232
16496
|
};
|
|
16233
16497
|
if (serverHash)
|
|
16234
16498
|
next.serverHash = serverHash;
|
|
16235
|
-
this.saveStoredSchemaMeta(key, next, schemaId);
|
|
16499
|
+
await this.saveStoredSchemaMeta(key, next, schemaId);
|
|
16236
16500
|
}
|
|
16237
16501
|
catch {
|
|
16238
16502
|
// no-op: schema metadata persistence is best effort
|
|
16239
16503
|
}
|
|
16240
16504
|
}
|
|
16241
|
-
syncSchemaMeta(ctx, serverHash) {
|
|
16505
|
+
async syncSchemaMeta(ctx, serverHash) {
|
|
16242
16506
|
const context = this.toSchemaIdContext(ctx);
|
|
16243
16507
|
const schemaId = buildSchemaId(context);
|
|
16244
16508
|
this.lastSchemaMeta = { schemaId, serverHash, context };
|
|
16245
16509
|
this.metaChanged.emit({ schemaId, serverHash, context });
|
|
16246
|
-
this.persistSchemaMeta(schemaId, context, serverHash);
|
|
16510
|
+
await this.persistSchemaMeta(schemaId, context, serverHash);
|
|
16247
16511
|
}
|
|
16248
16512
|
resolveFallbackSchemaHash() {
|
|
16249
16513
|
try {
|
|
@@ -16299,7 +16563,7 @@ class PraxisFilter {
|
|
|
16299
16563
|
count: metas.length,
|
|
16300
16564
|
names: metas.map((m) => m.name),
|
|
16301
16565
|
});
|
|
16302
|
-
this.syncSchemaMeta(ctx, entry.schemaHash);
|
|
16566
|
+
await this.syncSchemaMeta(ctx, entry.schemaHash);
|
|
16303
16567
|
return metas;
|
|
16304
16568
|
}
|
|
16305
16569
|
catch (schemaClientError) {
|
|
@@ -16324,7 +16588,7 @@ class PraxisFilter {
|
|
|
16324
16588
|
includeInternalSchemas: ctx.includeInternalSchemas,
|
|
16325
16589
|
}));
|
|
16326
16590
|
const metas = mapFieldDefinitionsToMetadata(filteredDefs);
|
|
16327
|
-
this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16591
|
+
await this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16328
16592
|
this.logFilterWarn('[PFILTER] loadSchemaViaCrudFallback: using getFilteredSchema', {
|
|
16329
16593
|
count: metas.length,
|
|
16330
16594
|
hasSchemaHash: !!this.lastSchemaMeta?.serverHash,
|
|
@@ -16341,7 +16605,7 @@ class PraxisFilter {
|
|
|
16341
16605
|
throw unsafeFallback;
|
|
16342
16606
|
}
|
|
16343
16607
|
const metas = mapFieldDefinitionsToMetadata(safeFallbackDefs);
|
|
16344
|
-
this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16608
|
+
await this.syncSchemaMeta(ctx, this.resolveFallbackSchemaHash());
|
|
16345
16609
|
this.logFilterWarn('[PFILTER] loadSchemaViaCrudFallback: using getSchema', {
|
|
16346
16610
|
count: metas.length,
|
|
16347
16611
|
originalCount: Array.isArray(genericDefs) ? genericDefs.length : 0,
|
|
@@ -16804,7 +17068,8 @@ class PraxisFilter {
|
|
|
16804
17068
|
const shouldUseInlineMultiSelect = isInlineMultiSelectExplicit ||
|
|
16805
17069
|
(this.useInlineMultiSelectVariant &&
|
|
16806
17070
|
(controlType === FieldControlType.MULTI_SELECT ||
|
|
16807
|
-
controlTypeToken === 'multiselect'
|
|
17071
|
+
controlTypeToken === 'multiselect' ||
|
|
17072
|
+
(isSelect && isMultipleSelection && !hasRemoteOptions)));
|
|
16808
17073
|
const shouldUseInlineInput = this.useInlineInputVariant &&
|
|
16809
17074
|
!isMultipleSelection &&
|
|
16810
17075
|
(controlType === FieldControlType.INPUT ||
|
|
@@ -18601,7 +18866,7 @@ class PraxisFilter {
|
|
|
18601
18866
|
}
|
|
18602
18867
|
if (res.status === 304) {
|
|
18603
18868
|
try {
|
|
18604
|
-
this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18869
|
+
await this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18605
18870
|
}
|
|
18606
18871
|
catch { }
|
|
18607
18872
|
this.lastSchemaVerificationByContext.set(verifyContextKey, Date.now());
|
|
@@ -18619,7 +18884,7 @@ class PraxisFilter {
|
|
|
18619
18884
|
const newHash = res.schemaHash;
|
|
18620
18885
|
metaToSave.serverHash = newHash;
|
|
18621
18886
|
try {
|
|
18622
|
-
this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18887
|
+
await this.saveStoredSchemaMeta(scopedMetaKey, metaToSave, currentSchemaId);
|
|
18623
18888
|
}
|
|
18624
18889
|
catch { }
|
|
18625
18890
|
this.lastSchemaVerificationByContext.set(verifyContextKey, Date.now());
|
|
@@ -18869,7 +19134,7 @@ class PraxisFilter {
|
|
|
18869
19134
|
this.advancedOpen = true;
|
|
18870
19135
|
this.saveConfig();
|
|
18871
19136
|
try {
|
|
18872
|
-
const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-
|
|
19137
|
+
const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-CChuuckh.mjs');
|
|
18873
19138
|
const formId = this.formId || this.filterId || 'filter';
|
|
18874
19139
|
const ref = this.dialog.open(FilterFormDialogHostComponent, {
|
|
18875
19140
|
width: '780px',
|
|
@@ -24923,12 +25188,51 @@ class PraxisTable {
|
|
|
24923
25188
|
const withFiltering = this.reconcileHostDeclaredFiltering(withBulkActions, storedConfig, inputConfig);
|
|
24924
25189
|
return this.reconcileHostDeclaredExport(withFiltering, storedConfig, inputConfig);
|
|
24925
25190
|
}
|
|
25191
|
+
refreshSchemaColumnsFromSnapshot() {
|
|
25192
|
+
if (this.schemaColumnFieldsSnapshot.length === 0)
|
|
25193
|
+
return;
|
|
25194
|
+
if (this.usesSchemaColumnProjection()) {
|
|
25195
|
+
this.config.columns = this.projectSchemaColumns(this.schemaColumnFieldsSnapshot, this.config.columnProjection);
|
|
25196
|
+
return;
|
|
25197
|
+
}
|
|
25198
|
+
this.applySchemaFieldPresentationsToExistingColumns(this.schemaColumnFieldsSnapshot);
|
|
25199
|
+
}
|
|
24926
25200
|
reconcileHostDeclaredColumns(mergedConfig, storedConfig, inputConfig) {
|
|
24927
|
-
|
|
25201
|
+
const storedProjection = storedConfig?.columnProjection?.source === 'schema'
|
|
25202
|
+
? this.clonePlainObject(storedConfig.columnProjection)
|
|
25203
|
+
: undefined;
|
|
25204
|
+
const inputProjection = inputConfig?.columnProjection?.source === 'schema'
|
|
25205
|
+
? this.clonePlainObject(inputConfig.columnProjection)
|
|
25206
|
+
: undefined;
|
|
25207
|
+
if (storedProjection || inputProjection) {
|
|
24928
25208
|
const next = this.clonePlainObject(mergedConfig);
|
|
24929
|
-
const projection =
|
|
25209
|
+
const projection = {
|
|
25210
|
+
...(inputProjection ?? {}),
|
|
25211
|
+
...(storedProjection ?? {}),
|
|
25212
|
+
source: 'schema',
|
|
25213
|
+
};
|
|
25214
|
+
const inputOverrides = inputProjection?.overrides ?? {};
|
|
25215
|
+
const storedOverrides = storedProjection?.overrides ?? {};
|
|
25216
|
+
if (Object.keys(inputOverrides).length > 0 || Object.keys(storedOverrides).length > 0) {
|
|
25217
|
+
const mergedOverrides = deepMerge$1(inputOverrides, storedOverrides);
|
|
25218
|
+
for (const [field, override] of Object.entries(inputOverrides)) {
|
|
25219
|
+
if (override?.valueMapping && typeof override.valueMapping === 'object') {
|
|
25220
|
+
mergedOverrides[field] = {
|
|
25221
|
+
...mergedOverrides[field],
|
|
25222
|
+
valueMapping: {
|
|
25223
|
+
...(mergedOverrides[field]?.valueMapping ?? {}),
|
|
25224
|
+
...override.valueMapping,
|
|
25225
|
+
},
|
|
25226
|
+
};
|
|
25227
|
+
}
|
|
25228
|
+
}
|
|
25229
|
+
projection.overrides = mergedOverrides;
|
|
25230
|
+
}
|
|
25231
|
+
if (!projection.additions && inputProjection?.additions) {
|
|
25232
|
+
projection.additions = inputProjection.additions;
|
|
25233
|
+
}
|
|
24930
25234
|
// Older runtime writes recorded visibility only on the materialized columns.
|
|
24931
|
-
for (const column of Array.isArray(storedConfig
|
|
25235
|
+
for (const column of Array.isArray(storedConfig?.columns) ? storedConfig.columns : []) {
|
|
24932
25236
|
const field = column?.field;
|
|
24933
25237
|
if (!field || column.visible !== false || projection.overrides?.[field]?.visible !== undefined)
|
|
24934
25238
|
continue;
|
|
@@ -25838,7 +26142,7 @@ class PraxisTable {
|
|
|
25838
26142
|
if (this.aiAdapter || this.aiAdapterLoadStarted)
|
|
25839
26143
|
return;
|
|
25840
26144
|
this.aiAdapterLoadStarted = true;
|
|
25841
|
-
import('./praxisui-table-table-ai.adapter-
|
|
26145
|
+
import('./praxisui-table-table-ai.adapter-6qERqRrl.mjs')
|
|
25842
26146
|
.then(({ TableAiAdapter }) => {
|
|
25843
26147
|
if (!this.isAiAssistantEnabled()) {
|
|
25844
26148
|
this.aiAssistantOpenAfterAdapterLoad = false;
|
|
@@ -26610,7 +26914,7 @@ class PraxisTable {
|
|
|
26610
26914
|
initializeAiAssistantController() {
|
|
26611
26915
|
if (!this.aiAdapter || this.aiAssistantController)
|
|
26612
26916
|
return;
|
|
26613
|
-
import('./praxisui-table-table-agentic-authoring-turn-flow-
|
|
26917
|
+
import('./praxisui-table-table-agentic-authoring-turn-flow-D4lQiroz.mjs')
|
|
26614
26918
|
.then(({ TableAgenticAuthoringTurnFlow }) => {
|
|
26615
26919
|
if (this.aiAssistantController || !this.aiAdapter)
|
|
26616
26920
|
return;
|
|
@@ -27813,6 +28117,7 @@ class PraxisTable {
|
|
|
27813
28117
|
this.persistedUserConfig = hydratedConfig;
|
|
27814
28118
|
this.recomposeEffectiveTableConfig();
|
|
27815
28119
|
this.enforceUnsupportedFeatureGuards();
|
|
28120
|
+
this.refreshSchemaColumnsFromSnapshot();
|
|
27816
28121
|
this.setupColumns();
|
|
27817
28122
|
this.cdr.markForCheck();
|
|
27818
28123
|
}
|
|
@@ -27844,6 +28149,7 @@ class PraxisTable {
|
|
|
27844
28149
|
// ngOnInit is async and Angular does not await it before ngAfterContentInit.
|
|
27845
28150
|
// Rebuild column runtime state here so hydrated persisted config can replace
|
|
27846
28151
|
// any columns already derived from the initial @Input() config.
|
|
28152
|
+
this.refreshSchemaColumnsFromSnapshot();
|
|
27847
28153
|
this.setupColumns();
|
|
27848
28154
|
this.applyDefaultSortIfNone();
|
|
27849
28155
|
// Re-apply unsupported-feature guards after persisted config hydration.
|
|
@@ -30538,14 +30844,20 @@ class PraxisTable {
|
|
|
30538
30844
|
for (const field of filteredFields) {
|
|
30539
30845
|
const typeLower = (field.type || '').toLowerCase();
|
|
30540
30846
|
const formatLower = (field.format || '').toLowerCase();
|
|
30847
|
+
const numericFormatLower = String(field.numericFormat || '').toLowerCase();
|
|
30541
30848
|
const isNumeric = typeLower === 'number' ||
|
|
30542
30849
|
typeLower === 'integer' ||
|
|
30543
30850
|
typeLower === 'currency' ||
|
|
30544
30851
|
typeLower === 'decimal' ||
|
|
30545
30852
|
typeLower === 'percent' ||
|
|
30853
|
+
typeLower === 'percentage' ||
|
|
30546
30854
|
formatLower.startsWith('currency') ||
|
|
30547
30855
|
formatLower === 'percent' ||
|
|
30548
|
-
formatLower === 'percentage'
|
|
30856
|
+
formatLower === 'percentage' ||
|
|
30857
|
+
formatLower === 'fraction' ||
|
|
30858
|
+
numericFormatLower === 'percent' ||
|
|
30859
|
+
numericFormatLower === 'percentage' ||
|
|
30860
|
+
numericFormatLower === 'fraction';
|
|
30549
30861
|
const isStatusOrDate = typeLower === 'boolean' ||
|
|
30550
30862
|
typeLower === 'date' ||
|
|
30551
30863
|
typeLower === 'datetime' ||
|
|
@@ -30583,6 +30895,7 @@ class PraxisTable {
|
|
|
30583
30895
|
const safeLabel = String(fieldLabel).replace(/'/g, '’');
|
|
30584
30896
|
const typeLower = (field.type || '').toLowerCase();
|
|
30585
30897
|
const formatLower = (field.format || '').toLowerCase();
|
|
30898
|
+
const numericFormatLower = (field.numericFormat || '').toLowerCase();
|
|
30586
30899
|
if (typeLower === 'boolean') {
|
|
30587
30900
|
const hasRowVal = row && typeof row === 'object' && Object.prototype.hasOwnProperty.call(row, fieldName);
|
|
30588
30901
|
const boolVal = hasRowVal ? Boolean(row[fieldName]) : false;
|
|
@@ -30595,14 +30908,24 @@ class PraxisTable {
|
|
|
30595
30908
|
});
|
|
30596
30909
|
}
|
|
30597
30910
|
else if (typeLower === 'percent' ||
|
|
30911
|
+
typeLower === 'percentage' ||
|
|
30598
30912
|
formatLower === 'percent' ||
|
|
30599
30913
|
formatLower === 'percentage' ||
|
|
30600
|
-
formatLower === '
|
|
30914
|
+
formatLower === 'fraction' ||
|
|
30915
|
+
formatLower === 'progress' ||
|
|
30916
|
+
formatLower.endsWith('|raw') ||
|
|
30917
|
+
formatLower.endsWith('|x100') ||
|
|
30918
|
+
numericFormatLower === 'percent' ||
|
|
30919
|
+
numericFormatLower === 'percentage' ||
|
|
30920
|
+
numericFormatLower === 'fraction') {
|
|
30921
|
+
const isFractionScale = numericFormatLower === 'fraction' ||
|
|
30922
|
+
formatLower === 'fraction' ||
|
|
30923
|
+
formatLower.endsWith('|x100');
|
|
30601
30924
|
items.push({
|
|
30602
30925
|
type: 'progress',
|
|
30603
30926
|
label: fieldLabel,
|
|
30604
30927
|
valueExpr: `row.${fieldName}`,
|
|
30605
|
-
max: 100,
|
|
30928
|
+
max: isFractionScale ? 1 : 100,
|
|
30606
30929
|
showPercent: true,
|
|
30607
30930
|
});
|
|
30608
30931
|
}
|
|
@@ -34806,7 +35129,7 @@ class PraxisTable {
|
|
|
34806
35129
|
const hierarchy = this.hierarchySnapshot;
|
|
34807
35130
|
if (!hierarchy || this.hierarchyTitleField !== column.field)
|
|
34808
35131
|
return null;
|
|
34809
|
-
const read = (field) => typeof field === 'string' && Object.
|
|
35132
|
+
const read = (field) => typeof field === 'string' && Object.prototype.hasOwnProperty.call(row, field) ? row[field] : undefined;
|
|
34810
35133
|
const level = read(hierarchy.levelField);
|
|
34811
35134
|
const count = read(hierarchy.childrenCountField);
|
|
34812
35135
|
const leaf = read(hierarchy.leafIndicatorField);
|
|
@@ -37986,6 +38309,20 @@ class PraxisTable {
|
|
|
37986
38309
|
}
|
|
37987
38310
|
return;
|
|
37988
38311
|
}
|
|
38312
|
+
if (numericFormat === 'percent' ||
|
|
38313
|
+
numericFormat === 'percentage' ||
|
|
38314
|
+
numericFormat === 'fraction' ||
|
|
38315
|
+
valuePresentationType === 'percent' ||
|
|
38316
|
+
valuePresentationType === 'percentage' ||
|
|
38317
|
+
col.type === 'percentage') {
|
|
38318
|
+
col.type = 'percentage';
|
|
38319
|
+
if (!col.format) {
|
|
38320
|
+
col.format =
|
|
38321
|
+
displayFormat ||
|
|
38322
|
+
(numericFormat === 'fraction' ? '1.0-2|x100' : '1.0-2|raw');
|
|
38323
|
+
}
|
|
38324
|
+
return;
|
|
38325
|
+
}
|
|
37989
38326
|
if (col.type === 'boolean' && !col.format) {
|
|
37990
38327
|
col.format = this.resolveSchemaBooleanFormat(field);
|
|
37991
38328
|
}
|
|
@@ -41273,6 +41610,7 @@ class PraxisTable {
|
|
|
41273
41610
|
type: f.type,
|
|
41274
41611
|
group: f.group,
|
|
41275
41612
|
format: f.format || f.mask,
|
|
41613
|
+
numericFormat: f.numericFormat,
|
|
41276
41614
|
icon: f.icon,
|
|
41277
41615
|
controlType: f.controlType,
|
|
41278
41616
|
hidden: f.hidden,
|
|
@@ -41288,6 +41626,7 @@ class PraxisTable {
|
|
|
41288
41626
|
label: f.label,
|
|
41289
41627
|
type: f.type,
|
|
41290
41628
|
format: f.format,
|
|
41629
|
+
numericFormat: f.numericFormat,
|
|
41291
41630
|
controlType: f.controlType,
|
|
41292
41631
|
hidden: f.hidden,
|
|
41293
41632
|
tableHidden: f.tableHidden,
|
|
@@ -54382,13 +54721,29 @@ class ColumnsConfigEditorComponent {
|
|
|
54382
54721
|
const format = String(meta.format || meta.xUi?.format || meta.ui?.format || '')
|
|
54383
54722
|
.trim()
|
|
54384
54723
|
.toLowerCase();
|
|
54724
|
+
const numericFormat = String(meta.numericFormat ||
|
|
54725
|
+
meta.xUi?.numericFormat ||
|
|
54726
|
+
meta.ui?.numericFormat ||
|
|
54727
|
+
'')
|
|
54728
|
+
.trim()
|
|
54729
|
+
.toLowerCase();
|
|
54385
54730
|
const rawType = String(meta.type || meta.dataType || '')
|
|
54386
54731
|
.trim()
|
|
54387
54732
|
.toLowerCase();
|
|
54388
|
-
if (controlType === 'currency' ||
|
|
54733
|
+
if (controlType === 'currency' ||
|
|
54734
|
+
format === 'currency' ||
|
|
54735
|
+
numericFormat === 'currency' ||
|
|
54736
|
+
rawType === 'currency') {
|
|
54389
54737
|
return 'currency';
|
|
54390
54738
|
}
|
|
54391
|
-
if (format === 'percent' ||
|
|
54739
|
+
if (format === 'percent' ||
|
|
54740
|
+
format === 'percentage' ||
|
|
54741
|
+
format === 'fraction' ||
|
|
54742
|
+
numericFormat === 'percent' ||
|
|
54743
|
+
numericFormat === 'percentage' ||
|
|
54744
|
+
numericFormat === 'fraction' ||
|
|
54745
|
+
rawType === 'percentage' ||
|
|
54746
|
+
rawType === 'percent') {
|
|
54392
54747
|
return 'percentage';
|
|
54393
54748
|
}
|
|
54394
54749
|
if (rawType === 'date' ||
|
|
@@ -54569,6 +54924,12 @@ class ColumnsConfigEditorComponent {
|
|
|
54569
54924
|
const metaFormat = String(meta?.format || meta?.xUi?.format || meta?.ui?.format || '')
|
|
54570
54925
|
.trim()
|
|
54571
54926
|
.toLowerCase();
|
|
54927
|
+
const metaNumericFormat = String(meta?.numericFormat ||
|
|
54928
|
+
meta?.xUi?.numericFormat ||
|
|
54929
|
+
meta?.ui?.numericFormat ||
|
|
54930
|
+
'')
|
|
54931
|
+
.trim()
|
|
54932
|
+
.toLowerCase();
|
|
54572
54933
|
const metaControl = String(meta?.controlType || meta?.xUi?.controlType || meta?.ui?.controlType || '')
|
|
54573
54934
|
.trim()
|
|
54574
54935
|
.toLowerCase();
|
|
@@ -54579,7 +54940,11 @@ class ColumnsConfigEditorComponent {
|
|
|
54579
54940
|
case 'currency':
|
|
54580
54941
|
return 'BRL|symbol|2';
|
|
54581
54942
|
case 'percentage':
|
|
54582
|
-
return '
|
|
54943
|
+
return metaNumericFormat === 'fraction' ||
|
|
54944
|
+
metaFormat === 'fraction' ||
|
|
54945
|
+
metaFormat.endsWith('|x100')
|
|
54946
|
+
? '1.0-2|x100'
|
|
54947
|
+
: '1.0-2|raw';
|
|
54583
54948
|
case 'date':
|
|
54584
54949
|
return metaFormat === 'date-time' || metaControl === 'datetimepicker'
|
|
54585
54950
|
? 'short'
|
|
@@ -54587,7 +54952,11 @@ class ColumnsConfigEditorComponent {
|
|
|
54587
54952
|
case 'boolean':
|
|
54588
54953
|
return 'yes-no';
|
|
54589
54954
|
case 'number':
|
|
54590
|
-
return
|
|
54955
|
+
return metaNumericFormat === 'integer' ||
|
|
54956
|
+
metaNumericFormat === 'int' ||
|
|
54957
|
+
metaNumericFormat === 'int32' ||
|
|
54958
|
+
metaNumericFormat === 'int64' ||
|
|
54959
|
+
metaType === 'integer' ||
|
|
54591
54960
|
metaFormat.includes('int') ||
|
|
54592
54961
|
/^(id|.*_id|ano|mes|dias|idade|quantidade|qtd.*|count|total)$/i.test(String(column.field || '').trim())
|
|
54593
54962
|
? '1.0-0'
|
|
@@ -63714,6 +64083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
63714
64083
|
type: Output
|
|
63715
64084
|
}] } });
|
|
63716
64085
|
|
|
64086
|
+
const hasOwn = (value, key) => Object.prototype.hasOwnProperty.call(value, key);
|
|
63717
64087
|
/** Preserve authored values; runtime/schema defaults remain transient unless explicitly edited. */
|
|
63718
64088
|
function applyTableAuthoringChanges(authored, baseline, edited) {
|
|
63719
64089
|
return projectChanges(authored, baseline, edited, true);
|
|
@@ -63730,11 +64100,11 @@ function projectChanges(authored, baseline, edited, tableConfigRoot) {
|
|
|
63730
64100
|
for (const key of new Set([...Object.keys(before), ...Object.keys(after)])) {
|
|
63731
64101
|
if (sameAuthoringValue(before[key], after[key]))
|
|
63732
64102
|
continue;
|
|
63733
|
-
if (!
|
|
64103
|
+
if (!hasOwn(after, key))
|
|
63734
64104
|
delete result[key];
|
|
63735
64105
|
else
|
|
63736
64106
|
Object.defineProperty(result, key, {
|
|
63737
|
-
value: projectChanges(
|
|
64107
|
+
value: projectChanges(hasOwn(original, key) ? original[key] : undefined, hasOwn(before, key) ? before[key] : undefined, after[key], false),
|
|
63738
64108
|
enumerable: true, configurable: true, writable: true,
|
|
63739
64109
|
});
|
|
63740
64110
|
}
|
|
@@ -63764,7 +64134,7 @@ function projectSchemaColumnChanges(authored, baseline, edited, baselineProjecti
|
|
|
63764
64134
|
continue;
|
|
63765
64135
|
}
|
|
63766
64136
|
const previousOverride = isRecord(overrides[field]) ? overrides[field] : {};
|
|
63767
|
-
if (
|
|
64137
|
+
if (hasOwn(previousOverride, 'field')) {
|
|
63768
64138
|
throw new Error('Table schema overrides cannot replace canonical field identity.');
|
|
63769
64139
|
}
|
|
63770
64140
|
const projected = projectChanges({ field, ...previousOverride }, before.get(field), column, false);
|
|
@@ -63780,7 +64150,7 @@ function projectSchemaColumnChanges(authored, baseline, edited, baselineProjecti
|
|
|
63780
64150
|
for (const key of new Set([...Object.keys(oldIntent), ...Object.keys(newIntent)])) {
|
|
63781
64151
|
if (!changedNativeValue(oldIntent, newIntent, key))
|
|
63782
64152
|
continue;
|
|
63783
|
-
if (
|
|
64153
|
+
if (hasOwn(previousOverride, key))
|
|
63784
64154
|
override[key] = structuredClone(previousOverride[key]);
|
|
63785
64155
|
else
|
|
63786
64156
|
delete override[key];
|
|
@@ -63820,7 +64190,7 @@ function changedNativeValue(before, after, key) {
|
|
|
63820
64190
|
if (!isRecord(after))
|
|
63821
64191
|
return false;
|
|
63822
64192
|
const previous = isRecord(before) ? before : {};
|
|
63823
|
-
return
|
|
64193
|
+
return hasOwn(previous, key) !== hasOwn(after, key)
|
|
63824
64194
|
|| !sameAuthoringValue(previous[key], after[key]);
|
|
63825
64195
|
}
|
|
63826
64196
|
function orderedFields(columns, additions) {
|