@praxisui/core 10.0.0-rc.75 → 10.0.0-rc.77

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, InjectionToken, APP_INITIALIZER, inject, signal, Injectable, Inject, DestroyRef, computed, Optional, SkipSelf, assertInInjectionContext, Injector, ErrorHandler, makeEnvironmentProviders, CSP_NONCE, ENVIRONMENT_INITIALIZER, isSignal, Input, Directive, input, booleanAttribute, ChangeDetectionStrategy, EventEmitter, Output, SecurityContext, ViewContainerRef, effect, untracked, SimpleChange, ElementRef, ChangeDetectorRef, afterEveryRender, contentChild, viewChild, HostBinding, output, afterNextRender, ViewChild, ViewEncapsulation, createEnvironmentInjector, EnvironmentInjector, reflectComponentType, HostListener, ViewChildren, forwardRef, LOCALE_ID, NgZone, TemplateRef, Renderer2, model } from '@angular/core';
2
+ import { Component, InjectionToken, APP_INITIALIZER, inject, signal, Injectable, Inject, DestroyRef, computed, Optional, SkipSelf, assertInInjectionContext, Injector, ErrorHandler, makeEnvironmentProviders, CSP_NONCE, ENVIRONMENT_INITIALIZER, isSignal, Input, Directive, input, booleanAttribute, ChangeDetectionStrategy, EventEmitter, Output, SecurityContext, LOCALE_ID, ElementRef, output, viewChild, effect, untracked, ViewContainerRef, SimpleChange, ChangeDetectorRef, afterEveryRender, contentChild, HostBinding, afterNextRender, ViewChild, ViewEncapsulation, createEnvironmentInjector, EnvironmentInjector, reflectComponentType, HostListener, ViewChildren, forwardRef, NgZone, TemplateRef, Renderer2, model } from '@angular/core';
3
3
  import * as i1 from '@angular/common/http';
4
4
  import { HttpHeaders, HttpClient, HttpParams, HttpErrorResponse, HttpResponse, HttpEventType, HttpContextToken, HTTP_INTERCEPTORS, withInterceptors, HttpContext } from '@angular/common/http';
5
5
  import { BehaviorSubject, firstValueFrom, EmptyError, of, defer, throwError, from, EMPTY, tap, finalize as finalize$1, shareReplay as shareReplay$1, map as map$1, catchError as catchError$1, switchMap as switchMap$1, Observable, Subject, takeUntil, forkJoin, Subscription, timer, isObservable, combineLatest, merge, defaultIfEmpty, timeout as timeout$1, concat, interval } from 'rxjs';
@@ -23,10 +23,10 @@ import * as i6 from '@angular/material/select';
23
23
  import { MatSelectModule, MAT_SELECT_SCROLL_STRATEGY } from '@angular/material/select';
24
24
  import * as i7 from '@angular/material/slide-toggle';
25
25
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
26
- import * as i6$1 from '@angular/material/tooltip';
26
+ import * as i2$1 from '@angular/material/tooltip';
27
27
  import { MatTooltipModule, MAT_TOOLTIP_DEFAULT_OPTIONS } from '@angular/material/tooltip';
28
28
  import { DomSanitizer } from '@angular/platform-browser';
29
- import * as i6$2 from '@angular/cdk/a11y';
29
+ import * as i6$1 from '@angular/cdk/a11y';
30
30
  import { FocusTrapFactory, InteractivityChecker, A11yModule, CdkTrapFocus } from '@angular/cdk/a11y';
31
31
  import * as i5$2 from '@angular/cdk/overlay';
32
32
  import { Overlay, OverlayModule } from '@angular/cdk/overlay';
@@ -41,7 +41,7 @@ import * as i3$2 from '@angular/material/button-toggle';
41
41
  import { MatButtonToggleModule } from '@angular/material/button-toggle';
42
42
  import * as i1$4 from '@angular/material/dialog';
43
43
  import { MAT_DIALOG_DATA, MatDialogModule, MatDialog } from '@angular/material/dialog';
44
- import * as i2$1 from '@angular/material/card';
44
+ import * as i2$2 from '@angular/material/card';
45
45
  import { MatCardModule } from '@angular/material/card';
46
46
  import * as i1$5 from '@angular/material/tabs';
47
47
  import { MatTabsModule } from '@angular/material/tabs';
@@ -9851,15 +9851,15 @@ const PT_BR_CATALOG = {
9851
9851
  'viewMode.technical': 'Modo Técnico',
9852
9852
  'viewMode.toggleToTechnical': 'Mostrar identificadores e metadados técnicos',
9853
9853
  'viewMode.toggleToBusiness': 'Voltar para a Visão de Negócio simplificada',
9854
- 'lens.ariaLabel': 'Lentes de inspeção semântica do recurso',
9854
+ 'lens.ariaLabel': 'Seções de consulta de regras e governança',
9855
9855
  'lens.business': 'Regras de Negócio',
9856
9856
  'lens.capabilities': 'Ciclo de Vida e Ações',
9857
9857
  'lens.governance': 'Governança e Privacidade',
9858
- 'state.loading': 'Carregando metadados semânticos de decisão…',
9859
- 'state.emptyTitle': 'Nenhuma regra declarativa publicada para este recurso',
9860
- 'state.emptyDescription': 'Este recurso não expõe RuleSets governados em /schemas/domain para o contexto ativo.',
9861
- 'state.errorTitle': 'Não foi possível carregar o plano de decisão',
9862
- 'state.errorDescription': 'Verifique a disponibilidade do catálogo semântico (/schemas/domain) ou tente novamente.',
9858
+ 'state.loading': 'Carregando regras e orientações da operação…',
9859
+ 'state.emptyTitle': 'Nenhuma regra específica cadastrada para esta área',
9860
+ 'state.emptyDescription': 'Esta área não possui regras adicionais publicadas para o contexto atual.',
9861
+ 'state.errorTitle': 'Não foi possível carregar as regras desta área',
9862
+ 'state.errorDescription': 'Verifique a conexão e tente novamente em instantes.',
9863
9863
  'state.retry': 'Tentar novamente',
9864
9864
  'violation.bannerTitle': 'Regra acionada durante a operação',
9865
9865
  'violation.reasonCode': 'Código',
@@ -9877,13 +9877,13 @@ const PT_BR_CATALOG = {
9877
9877
  'operations.op.CANCEL': 'Ao cancelar',
9878
9878
  'operations.op.PATCH': 'Ao atualizar parcialmente',
9879
9879
  'operations.op.SUBMIT': 'Ao enviar',
9880
- 'operations.op.GUARDAS-OPERACIONAIS': 'Guardas operacionais',
9880
+ 'operations.op.GUARDAS-OPERACIONAIS': 'Verificações operacionais',
9881
9881
  'operations.op.DEFAULT': 'Operação padrão',
9882
9882
  'failPolicy.FAIL_CLOSED': 'Bloqueio preventivo ativo',
9883
9883
  'failPolicy.FAIL_OPEN': 'Prossegue com alerta',
9884
9884
  'failPolicy.FAIL_FAST': 'Interrupção imediata',
9885
- 'stages.ariaLabel': 'Cinco estágios canônicos de decisão',
9886
- 'stages.emptyStage': 'Sem slots neste estágio',
9885
+ 'stages.ariaLabel': 'Etapas de verificação das regras',
9886
+ 'stages.emptyStage': 'Sem regras nesta etapa',
9887
9887
  'stages.emptyStagesCollapsed': 'Etapas sem regras ativas neste fluxo:',
9888
9888
  'stages.bindingsCount': '{{count}} regras vinculadas',
9889
9889
  'stages.singleBinding': '1 regra vinculada',
@@ -9895,7 +9895,7 @@ const PT_BR_CATALOG = {
9895
9895
  'slotDetail.overridePolicy': 'Autonomia do Órgão',
9896
9896
  'slotDetail.aggregation': 'Agregação',
9897
9897
  'slotDetail.cardinality': 'Cardinalidade',
9898
- 'slotDetail.templateKey': 'Template Parametrizável',
9898
+ 'slotDetail.templateKey': 'Modelo Parametrizável',
9899
9899
  'slotDetail.noBindings': 'Este ponto de decisão está preparado para receber regras do órgão, mas ainda não possui regras ativas.',
9900
9900
  'ruleDetail.whatItChecks': 'O que verifica',
9901
9901
  'ruleDetail.whenApplies': 'Quando se aplica',
@@ -9909,7 +9909,7 @@ const PT_BR_CATALOG = {
9909
9909
  'ruleDetail.parameterBounds': 'Faixa permitida: {{bounds}}',
9910
9910
  'ruleDetail.parameterInvariants': 'Restrições entre parâmetros',
9911
9911
  'ruleDetail.operatorMessage': 'Mensagem ao operador',
9912
- 'ruleDetail.studioAction': 'Ação contextual para o Studio',
9912
+ 'ruleDetail.studioAction': 'Ação contextual no Estúdio de Regras',
9913
9913
  'ruleDetail.curationFallbackBadge': 'Explicação estrutural automática',
9914
9914
  'ruleDetail.openLegalRef': 'Consultar norma',
9915
9915
  'ruleDetail.noLegalBasis': 'Nenhum amparo legal específico registrado para esta regra.',
@@ -9920,7 +9920,7 @@ const PT_BR_CATALOG = {
9920
9920
  'ruleDetail.fallbackWhenApplies': 'Avaliada automaticamente {{operation}} na etapa "{{stage}}".',
9921
9921
  'ruleDetail.fallbackWhenAppliesGeneric': 'Avaliada automaticamente na etapa "{{stage}}".',
9922
9922
  'ruleDetail.fallbackRationale': 'Assegura conformidade normativa e consistência operacional antes de concluir o registro.',
9923
- 'ruleDetail.openRuleInStudio': 'Abrir este ponto de decisão no Studio',
9923
+ 'ruleDetail.openRuleInStudio': 'Abrir este ponto de decisão no Estúdio de Regras',
9924
9924
  'binding.reasonCode': 'Motivo',
9925
9925
  'binding.targetField': 'Campo Alvo',
9926
9926
  'binding.lineage': 'Linhagem',
@@ -9941,39 +9941,39 @@ const PT_BR_CATALOG = {
9941
9941
  'technical.factPaths': 'Caminhos de fatos',
9942
9942
  'technical.rootsHeading': 'Raízes ontológicas',
9943
9943
  'technical.origin': 'Origem',
9944
- 'capabilities.scopeCollection': 'Escopo de Coleção',
9944
+ 'capabilities.scopeCollection': 'Visão Geral da Lista',
9945
9945
  'capabilities.scopeItem': 'Registro #{{id}}',
9946
- 'capabilities.operationsHeading': 'Capacidades Canônicas do Recurso',
9947
- 'capabilities.actionsHeading': 'Ações de Negócio (@WorkflowAction)',
9948
- 'capabilities.surfacesHeading': 'Superfícies Semânticas (@UiSurface)',
9946
+ 'capabilities.operationsHeading': 'Operações Disponíveis',
9947
+ 'capabilities.actionsHeading': 'Ações de Negócio',
9948
+ 'capabilities.surfacesHeading': 'Consultas e Painéis Complementares',
9949
9949
  'capabilities.allowed': 'Disponível',
9950
9950
  'capabilities.blocked': 'Indisponível',
9951
9951
  'capabilities.supported': 'Habilitada',
9952
9952
  'capabilities.unsupported': 'Desabilitada',
9953
- 'capabilities.noActions': 'Nenhuma ação de workflow declarada para este escopo.',
9954
- 'capabilities.noSurfaces': 'Nenhuma superfície complementar publicada para este recurso.',
9955
- 'capabilities.emptyTitle': 'Capacidades operacionais indisponíveis',
9956
- 'capabilities.emptyDescription': 'Não foi possível obter o snapshot de /capabilities para este recurso no contexto atual.',
9953
+ 'capabilities.noActions': 'Nenhuma ação operacional disponível para este contexto.',
9954
+ 'capabilities.noSurfaces': 'Nenhum painel complementar disponível para este contexto.',
9955
+ 'capabilities.emptyTitle': 'Operações indisponíveis no momento',
9956
+ 'capabilities.emptyDescription': 'Não foi possível consultar as operações disponíveis para este contexto.',
9957
9957
  'capabilities.blockedReasonLabel': 'Motivo de indisponibilidade',
9958
9958
  'capabilities.preconditionIfMatch': 'Concorrência If-Match',
9959
9959
  'capabilities.preconditionIdempotency': 'Chave de Idempotência',
9960
9960
  'capabilities.preconditionConfirmation': 'Confirmação explícita',
9961
- 'capabilities.bulkEnabled': 'Lote governado ({{mode}})',
9962
- 'capabilities.relatedCollectionBadge': 'Coleção vinculada (1:N)',
9961
+ 'capabilities.bulkEnabled': 'Operação em lote ({{mode}})',
9962
+ 'capabilities.relatedCollectionBadge': 'Registros vinculados',
9963
9963
  'capabilities.bulkMode.UNIFORM_UPDATE': 'Atualização uniforme',
9964
9964
  'capabilities.bulkMode.PER_ITEM_UPDATE': 'Edição individual em grade',
9965
9965
  'capabilities.bulkMode.DOMAIN_COMMAND': 'Comando coletivo',
9966
9966
  'capabilities.op.create': 'Criação',
9967
- 'capabilities.op.view': 'Leitura por ID',
9968
- 'capabilities.op.byId': 'Leitura por ID',
9967
+ 'capabilities.op.view': 'Consulta de Registro',
9968
+ 'capabilities.op.byId': 'Consulta de Registro',
9969
9969
  'capabilities.op.edit': 'Atualização',
9970
9970
  'capabilities.op.update': 'Atualização',
9971
9971
  'capabilities.op.delete': 'Exclusão',
9972
9972
  'capabilities.op.filter': 'Pesquisa Filtrada',
9973
- 'capabilities.op.cursor': 'Paginação Cursor',
9973
+ 'capabilities.op.cursor': 'Navegação Contínua',
9974
9974
  'capabilities.op.export': 'Exportação',
9975
9975
  'capabilities.op.duplicate-draft': 'Duplicação Assistida',
9976
- 'capabilities.op.statsGroupBy': 'Analytics Group-By',
9976
+ 'capabilities.op.statsGroupBy': 'Agrupamento Analítico',
9977
9977
  'capabilities.op.statsTimeSeries': 'Séries Temporais',
9978
9978
  'capabilities.op.statsDistribution': 'Distribuição',
9979
9979
  'capabilities.op.statsComparison': 'Comparativo',
@@ -9985,8 +9985,8 @@ const PT_BR_CATALOG = {
9985
9985
  'capabilities.risk.HIGH': 'Risco Alto',
9986
9986
  'capabilities.risk.CRITICAL': 'Risco Crítico',
9987
9987
  'capabilities.surfaceKind.VIEW': 'Visão de Detalhe',
9988
- 'capabilities.surfaceKind.READ_PROJECTION': 'Projeção 360°',
9989
- 'capabilities.surfaceKind.PARTIAL_FORM': 'Manutenção Parcial (Intent)',
9988
+ 'capabilities.surfaceKind.READ_PROJECTION': 'Visão 360°',
9989
+ 'capabilities.surfaceKind.PARTIAL_FORM': 'Edição Parcial',
9990
9990
  'capabilities.surfaceKind.FORM': 'Formulário Completo',
9991
9991
  'capabilities.surfaceKind.HIERARCHY_TREE': 'Árvore Hierárquica',
9992
9992
  'governance.summaryHeading': 'Postura de Governança, LGPD e Acesso por Campo',
@@ -9994,10 +9994,10 @@ const PT_BR_CATALOG = {
9994
9994
  'governance.kpiSensitive': 'Sensíveis / Confidenciais',
9995
9995
  'governance.kpiNonExportable': 'Exportação bloqueada',
9996
9996
  'governance.kpiAiRestricted': 'Restritos para IA',
9997
- 'governance.fieldsHeading': 'Políticas Declaradas (@DomainGovernance & fieldAccess)',
9998
- 'governance.emptyTitle': 'Nenhuma política explícita de governança de campo publicada',
9999
- 'governance.emptyDescription': 'Este recurso não expõe itens em /schemas/domain#governance nem restrições x-ui.fieldAccess no contexto atual.',
10000
- 'governance.antiOracleNotice': 'Políticas confidenciais de escopo de linha (DATA_SCOPE) permanecem protegidas no servidor conforme diretriz anti-oráculo.',
9997
+ 'governance.fieldsHeading': 'Políticas de Proteção por Campo',
9998
+ 'governance.emptyTitle': 'Nenhuma política específica de proteção publicada',
9999
+ 'governance.emptyDescription': 'Esta área não possui políticas específicas de proteção por campo para o contexto atual.',
10000
+ 'governance.antiOracleNotice': 'Políticas confidenciais de restrição de acesso aos registros permanecem protegidas no servidor.',
10001
10001
  'governance.targetResource': 'Recurso',
10002
10002
  'governance.targetField': 'Campo',
10003
10003
  'governance.targetConcept': 'Conceito',
@@ -10040,12 +10040,12 @@ const PT_BR_CATALOG = {
10040
10040
  'governance.complianceTag.LGPD_ART_11': 'LGPD · Art. 11 (Dado Sensível)',
10041
10041
  'governance.complianceTag.LGPD_ART_7': 'LGPD · Art. 7 (Dado Pessoal)',
10042
10042
  'governance.complianceTag.NON_EXPORTABLE': 'Exportação bloqueada',
10043
- 'governance.aiRestriction.NO_RAW_PROMPT': 'Sem envio em prompt aberto',
10043
+ 'governance.aiRestriction.NO_RAW_PROMPT': 'Sem envio de texto livre à IA',
10044
10044
  'governance.aiRestriction.NO_TRAINING': 'Proibido para treinamento',
10045
10045
  'governance.aiRestriction.MASKED_ONLY': 'Somente mascarado',
10046
10046
  'governance.aiRestriction.AUDIT_LOG_REQUIRED': 'Requer auditoria',
10047
- 'studio.handoffHint': 'Parametrização por órgão, simulação e aprovação em 4 olhos ocorrem na estação dedicada.',
10048
- 'studio.openAction': 'Governar no Praxis Rules Studio',
10047
+ 'studio.handoffHint': 'Parametrização por órgão, simulação e aprovação em duas etapas ocorrem na estação dedicada.',
10048
+ 'studio.openAction': 'Configurar no Estúdio de Regras',
10049
10049
  'studio.policyGuidance.FORBIDDEN': 'Regra fixa de segurança e integridade. Não permite alterações ou parametrizações pelo órgão.',
10050
10050
  'studio.policyGuidance.LOCKED': 'Regra protegida pelo produto. Somente consulta; alterações exigem atualização de versão.',
10051
10051
  'studio.policyGuidance.RESTRICT_ONLY': 'O órgão pode tornar esta regra mais restritiva no Studio, mantendo a proteção mínima obrigatória.',
@@ -10071,13 +10071,13 @@ const PT_BR_CATALOG = {
10071
10071
  'policy.REPLACEABLE': 'Substituível',
10072
10072
  'source.SECURITY': 'Segurança / Plataforma',
10073
10073
  'source.PRODUCT': 'Produto Oficial',
10074
- 'source.CUSTOMER': 'Customização do Tenant',
10075
- 'source.GENERATED_INFRASTRUCTURE': 'Infraestrutura Gerada',
10076
- 'source.PRODUCT_GUARD': 'Guarda de Produto',
10077
- 'source.PRODUCT_DEFAULT': 'Padrão de Produto',
10078
- 'source.TENANT_PARAMETER': 'Parâmetro do Tenant',
10079
- 'source.TENANT_EXTENSION': 'Extensão do Tenant',
10080
- 'source.TENANT_OVERRIDE': 'Substituição do Tenant',
10074
+ 'source.CUSTOMER': 'Personalização do Órgão',
10075
+ 'source.GENERATED_INFRASTRUCTURE': 'Regra de Sistema',
10076
+ 'source.PRODUCT_GUARD': 'Regra Obrigatória do Produto',
10077
+ 'source.PRODUCT_DEFAULT': 'Padrão do Produto',
10078
+ 'source.TENANT_PARAMETER': 'Parâmetro do Órgão',
10079
+ 'source.TENANT_EXTENSION': 'Regra Complementar do Órgão',
10080
+ 'source.TENANT_OVERRIDE': 'Regra Substituída pelo Órgão',
10081
10081
  };
10082
10082
  const EN_US_CATALOG = {
10083
10083
  'drawer.title': 'Decision & Governance Inspection',
@@ -10180,39 +10180,39 @@ const EN_US_CATALOG = {
10180
10180
  'technical.factPaths': 'Fact paths',
10181
10181
  'technical.rootsHeading': 'Ontological roots',
10182
10182
  'technical.origin': 'Origin',
10183
- 'capabilities.scopeCollection': 'Collection Scope',
10183
+ 'capabilities.scopeCollection': 'Collection View',
10184
10184
  'capabilities.scopeItem': 'Record #{{id}}',
10185
- 'capabilities.operationsHeading': 'Canonical Resource Capabilities',
10186
- 'capabilities.actionsHeading': 'Workflow Actions (@WorkflowAction)',
10187
- 'capabilities.surfacesHeading': 'Semantic Surfaces (@UiSurface)',
10185
+ 'capabilities.operationsHeading': 'Available Operations',
10186
+ 'capabilities.actionsHeading': 'Business Actions',
10187
+ 'capabilities.surfacesHeading': 'Supplementary Views & Panels',
10188
10188
  'capabilities.allowed': 'Available',
10189
10189
  'capabilities.blocked': 'Blocked',
10190
10190
  'capabilities.supported': 'Enabled',
10191
10191
  'capabilities.unsupported': 'Disabled',
10192
- 'capabilities.noActions': 'No workflow actions declared for this scope.',
10193
- 'capabilities.noSurfaces': 'No supplementary surfaces published for this resource.',
10194
- 'capabilities.emptyTitle': 'Operational capabilities unavailable',
10195
- 'capabilities.emptyDescription': 'Could not resolve the /capabilities snapshot for this resource in the active context.',
10192
+ 'capabilities.noActions': 'No business actions available for this context.',
10193
+ 'capabilities.noSurfaces': 'No supplementary panels available for this context.',
10194
+ 'capabilities.emptyTitle': 'Operations unavailable at this time',
10195
+ 'capabilities.emptyDescription': 'Could not load the available operations for this context.',
10196
10196
  'capabilities.blockedReasonLabel': 'Unavailability reason',
10197
10197
  'capabilities.preconditionIfMatch': 'If-Match Concurrency',
10198
10198
  'capabilities.preconditionIdempotency': 'Idempotency Key',
10199
10199
  'capabilities.preconditionConfirmation': 'Explicit confirmation',
10200
- 'capabilities.bulkEnabled': 'Governed bulk ({{mode}})',
10201
- 'capabilities.relatedCollectionBadge': 'Related collection (1:N)',
10200
+ 'capabilities.bulkEnabled': 'Batch operation ({{mode}})',
10201
+ 'capabilities.relatedCollectionBadge': 'Related records',
10202
10202
  'capabilities.bulkMode.UNIFORM_UPDATE': 'Uniform update',
10203
10203
  'capabilities.bulkMode.PER_ITEM_UPDATE': 'Per-item grid update',
10204
10204
  'capabilities.bulkMode.DOMAIN_COMMAND': 'Collective command',
10205
10205
  'capabilities.op.create': 'Create',
10206
- 'capabilities.op.view': 'Read by ID',
10207
- 'capabilities.op.byId': 'Read by ID',
10206
+ 'capabilities.op.view': 'View Record',
10207
+ 'capabilities.op.byId': 'View Record',
10208
10208
  'capabilities.op.edit': 'Update',
10209
10209
  'capabilities.op.update': 'Update',
10210
10210
  'capabilities.op.delete': 'Delete',
10211
10211
  'capabilities.op.filter': 'Filtered Query',
10212
- 'capabilities.op.cursor': 'Cursor Paging',
10212
+ 'capabilities.op.cursor': 'Continuous Paging',
10213
10213
  'capabilities.op.export': 'Export',
10214
- 'capabilities.op.duplicate-draft': 'Duplicate Draft',
10215
- 'capabilities.op.statsGroupBy': 'Group-By Analytics',
10214
+ 'capabilities.op.duplicate-draft': 'Assisted Duplicate',
10215
+ 'capabilities.op.statsGroupBy': 'Analytical Grouping',
10216
10216
  'capabilities.op.statsTimeSeries': 'Time Series',
10217
10217
  'capabilities.op.statsDistribution': 'Distribution',
10218
10218
  'capabilities.op.statsComparison': 'Comparison',
@@ -10224,8 +10224,8 @@ const EN_US_CATALOG = {
10224
10224
  'capabilities.risk.HIGH': 'High Risk',
10225
10225
  'capabilities.risk.CRITICAL': 'Critical Risk',
10226
10226
  'capabilities.surfaceKind.VIEW': 'Detail View',
10227
- 'capabilities.surfaceKind.READ_PROJECTION': '360° Projection',
10228
- 'capabilities.surfaceKind.PARTIAL_FORM': 'Partial Form (Intent)',
10227
+ 'capabilities.surfaceKind.READ_PROJECTION': '360° View',
10228
+ 'capabilities.surfaceKind.PARTIAL_FORM': 'Partial Edit',
10229
10229
  'capabilities.surfaceKind.FORM': 'Full Form',
10230
10230
  'capabilities.surfaceKind.HIERARCHY_TREE': 'Hierarchy Tree',
10231
10231
  'governance.summaryHeading': 'Governance Posture, Privacy & Field Access',
@@ -10233,10 +10233,10 @@ const EN_US_CATALOG = {
10233
10233
  'governance.kpiSensitive': 'Sensitive / Confidential',
10234
10234
  'governance.kpiNonExportable': 'Export blocked',
10235
10235
  'governance.kpiAiRestricted': 'AI restricted',
10236
- 'governance.fieldsHeading': 'Declared Policies (@DomainGovernance & fieldAccess)',
10237
- 'governance.emptyTitle': 'No explicit field governance policies published',
10238
- 'governance.emptyDescription': 'This resource does not expose /schemas/domain#governance entries or x-ui.fieldAccess policies in the active context.',
10239
- 'governance.antiOracleNotice': 'Confidential row-level scope predicates (DATA_SCOPE) remain enforced server-side per anti-oracle policy.',
10236
+ 'governance.fieldsHeading': 'Field Protection Policies',
10237
+ 'governance.emptyTitle': 'No specific field protection policies published',
10238
+ 'governance.emptyDescription': 'No specific field protection policies are configured for the active context.',
10239
+ 'governance.antiOracleNotice': 'Confidential row-level access restriction policies remain enforced on the server.',
10240
10240
  'governance.targetResource': 'Resource',
10241
10241
  'governance.targetField': 'Field',
10242
10242
  'governance.targetConcept': 'Concept',
@@ -10614,7 +10614,7 @@ const PRAXIS_ICON_PICKER_I18N_CONFIG = {
10614
10614
  },
10615
10615
  },
10616
10616
  };
10617
- const MISSING_TRANSLATION_SENTINEL$2 = '__PRAXIS_ICON_PICKER_MISSING__';
10617
+ const MISSING_TRANSLATION_SENTINEL$3 = '__PRAXIS_ICON_PICKER_MISSING__';
10618
10618
  function providePraxisIconPickerI18n() {
10619
10619
  return providePraxisI18nConfig(PRAXIS_ICON_PICKER_I18N_CONFIG);
10620
10620
  }
@@ -10633,8 +10633,8 @@ function resolveBuiltinIconPickerTemplate(key, locale) {
10633
10633
  }
10634
10634
  function resolvePraxisIconPickerMessage(i18n, key, params, fallback, localeOverride) {
10635
10635
  if (i18n && typeof i18n.t === 'function') {
10636
- const primary = i18n.t(key, params, MISSING_TRANSLATION_SENTINEL$2, PRAXIS_ICON_PICKER_I18N_NAMESPACE);
10637
- if (primary && primary !== MISSING_TRANSLATION_SENTINEL$2 && primary !== key) {
10636
+ const primary = i18n.t(key, params, MISSING_TRANSLATION_SENTINEL$3, PRAXIS_ICON_PICKER_I18N_NAMESPACE);
10637
+ if (primary && primary !== MISSING_TRANSLATION_SENTINEL$3 && primary !== key) {
10638
10638
  return primary;
10639
10639
  }
10640
10640
  }
@@ -10658,8 +10658,17 @@ const PRAXIS_INTELLIGENCE_EN_US = {
10658
10658
  'praxis.intelligence.epistemic.state.DEGRADED': 'Degraded',
10659
10659
  'praxis.intelligence.epistemic.guidance.INSUFFICIENT_SAMPLE': 'Widen the date range or relax restrictive filters to reach the minimum statistical sample size.',
10660
10660
  'praxis.intelligence.epistemic.guidance.K_ANONYMITY_SUPPRESSED': 'Group by a broader dimension so every cohort satisfies the k-anonymity privacy threshold.',
10661
- 'praxis.intelligence.epistemic.guidance.ENGINE_UNAVAILABLE': 'Statistical engine unavailable (fail-closed); no analytical claims are surfaced until recovery.',
10661
+ 'praxis.intelligence.epistemic.guidance.ENGINE_UNAVAILABLE': 'Statistical engine unavailable under automatic safety lock; no analytical claims are surfaced until recovery.',
10662
10662
  'praxis.intelligence.epistemic.guidance.DEGRADED': 'Partial or degraded evidence; inspect sample coverage and provenance before taking action.',
10663
+ 'praxis.intelligence.epistemic.tooltip.kind.DETERMINISTIC_LAW': 'Derived from statutory formulas or exact deterministic rules without statistical extrapolation.',
10664
+ 'praxis.intelligence.epistemic.tooltip.kind.CALIBRATED_PROBABILITY': 'Calibrated risk probability intended for triage and prioritization; verify context before formal action.',
10665
+ 'praxis.intelligence.epistemic.tooltip.kind.STOCHASTIC_SIMULATION': 'Multi-scenario projection measuring uncertainty bands and tail risk, not a point guarantee.',
10666
+ 'praxis.intelligence.epistemic.tooltip.kind.CAUSAL_HYPOTHESIS': 'Associational hypothesis exposed to confounding factors; corroborate with domain evidence.',
10667
+ 'praxis.intelligence.epistemic.tooltip.kind.OPTIMIZATION_RESULT': 'Recommended option computed within explicit statutory and budget constraints.',
10668
+ 'praxis.intelligence.epistemic.tooltip.sampleSize': 'Number of evaluated records in this slice; smaller samples yield wider uncertainty margins.',
10669
+ 'praxis.intelligence.epistemic.tooltip.qValueFdr': 'Expected false-discovery proportion after multiple-testing adjustment (Benjamini-Hochberg): lower values indicate stronger statistical backing.',
10670
+ 'praxis.intelligence.epistemic.tooltip.nigrini': 'Measures how closely leading digits conform to the expected Nigrini-Benford logarithmic distribution.',
10671
+ 'praxis.intelligence.epistemic.tooltip.suppressed': 'Small groups are automatically withheld to protect privacy and prevent individual re-identification.',
10663
10672
  'praxis.intelligence.epistemic.suppressedAlert': 'Privacy (k-anonymity): {{ count }} cell(s) were suppressed due to small group size.',
10664
10673
  'praxis.intelligence.epistemic.sampleSize': 'Sample n={{ count }}',
10665
10674
  'praxis.intelligence.epistemic.qValueFdr': 'q-FDR {{ value }}',
@@ -10716,8 +10725,8 @@ const PRAXIS_INTELLIGENCE_EN_US = {
10716
10725
  };
10717
10726
 
10718
10727
  const PRAXIS_INTELLIGENCE_PT_BR = {
10719
- 'praxis.intelligence.epistemic.regionAria': 'Selo epistêmico e proveniência da análise',
10720
- 'praxis.intelligence.epistemic.defaultTitle': 'Evidência analítica e escopo epistêmico',
10728
+ 'praxis.intelligence.epistemic.regionAria': 'Indicador de confiabilidade e origem da análise',
10729
+ 'praxis.intelligence.epistemic.defaultTitle': 'Confiabilidade e rastreabilidade da análise',
10721
10730
  'praxis.intelligence.epistemic.kind.DETERMINISTIC_LAW': 'Regra Determinística',
10722
10731
  'praxis.intelligence.epistemic.kind.CALIBRATED_PROBABILITY': 'Probabilidade Calibrada',
10723
10732
  'praxis.intelligence.epistemic.kind.STOCHASTIC_SIMULATION': 'Simulação Estocástica',
@@ -10730,18 +10739,27 @@ const PRAXIS_INTELLIGENCE_PT_BR = {
10730
10739
  'praxis.intelligence.epistemic.state.DEGRADED': 'Degradado',
10731
10740
  'praxis.intelligence.epistemic.guidance.INSUFFICIENT_SAMPLE': 'Amplie o recorte temporal ou reduza filtros restritivos para atingir o tamanho mínimo de amostra.',
10732
10741
  'praxis.intelligence.epistemic.guidance.K_ANONYMITY_SUPPRESSED': 'Agrupe em uma dimensão mais ampla para preservar o limiar mínimo de privacidade por k-anonimato.',
10733
- 'praxis.intelligence.epistemic.guidance.ENGINE_UNAVAILABLE': 'Motor estatístico indisponível em modo fail-closed; nenhuma inferência é exibida até o restabelecimento.',
10742
+ 'praxis.intelligence.epistemic.guidance.ENGINE_UNAVAILABLE': 'Serviço estatístico temporariamente indisponível; nenhuma estimativa é exibida até o restabelecimento.',
10734
10743
  'praxis.intelligence.epistemic.guidance.DEGRADED': 'Evidência parcial ou degradada; revise a cobertura amostral e a proveniência antes de decidir.',
10744
+ 'praxis.intelligence.epistemic.tooltip.kind.DETERMINISTIC_LAW': 'Resultado obtido por regra legal, fórmula fechada ou cálculo exato sem inferência probabilística.',
10745
+ 'praxis.intelligence.epistemic.tooltip.kind.CALIBRATED_PROBABILITY': 'Pontuação probabilística calibrada para triagem e priorização; requer análise técnica antes de bloqueios.',
10746
+ 'praxis.intelligence.epistemic.tooltip.kind.STOCHASTIC_SIMULATION': 'Projeção por múltiplos cenários simulados para medir incerteza e extremos de risco, sem garantia pontual.',
10747
+ 'praxis.intelligence.epistemic.tooltip.kind.CAUSAL_HYPOTHESIS': 'Hipótese associativa sujeita a fatores de confusão; deve ser validada com evidência documental.',
10748
+ 'praxis.intelligence.epistemic.tooltip.kind.OPTIMIZATION_RESULT': 'Combinação recomendada sob restrições formais de orçamento e normas aplicáveis.',
10749
+ 'praxis.intelligence.epistemic.tooltip.sampleSize': 'Quantidade de registros avaliados neste recorte; amostras reduzidas aumentam a margem de variação.',
10750
+ 'praxis.intelligence.epistemic.tooltip.qValueFdr': 'Taxa esperada de falsos alarmes ajustada para múltiplos testes (Benjamini-Hochberg): quanto menor, mais robusta a evidência.',
10751
+ 'praxis.intelligence.epistemic.tooltip.nigrini': 'Mede o grau de aderência dos dígitos iniciais dos valores à distribuição esperada (teste Nigrini-Benford).',
10752
+ 'praxis.intelligence.epistemic.tooltip.suppressed': 'Grupos com poucos registros foram ocultados automaticamente para impedir identificação individual.',
10735
10753
  'praxis.intelligence.epistemic.suppressedAlert': 'Privacidade (k-anonimato): {{ count }} célula(s) omitida(s) por conterem poucos registros.',
10736
10754
  'praxis.intelligence.epistemic.sampleSize': 'Amostra n={{ count }}',
10737
- 'praxis.intelligence.epistemic.qValueFdr': 'q-FDR {{ value }}',
10738
- 'praxis.intelligence.epistemic.significantYes': 'Significativo (FDR)',
10739
- 'praxis.intelligence.epistemic.significantNo': 'Não significativo (FDR)',
10755
+ 'praxis.intelligence.epistemic.qValueFdr': 'Índice de confiança {{ value }}',
10756
+ 'praxis.intelligence.epistemic.significantYes': 'Estatisticamente relevante',
10757
+ 'praxis.intelligence.epistemic.significantNo': 'Sem relevância estatística',
10740
10758
  'praxis.intelligence.epistemic.modelCard': 'Modelo {{ id }}',
10741
10759
  'praxis.intelligence.epistemic.datasetKey': 'Conjunto {{ key }}',
10742
- 'praxis.intelligence.epistemic.provenanceHash': 'Proveniência',
10743
- 'praxis.intelligence.epistemic.copyHash': 'Copiar hash de proveniência completo',
10744
- 'praxis.intelligence.epistemic.copiedHash': 'Hash copiado',
10760
+ 'praxis.intelligence.epistemic.provenanceHash': 'Código de verificação',
10761
+ 'praxis.intelligence.epistemic.copyHash': 'Copiar código de verificação completo',
10762
+ 'praxis.intelligence.epistemic.copiedHash': 'Código copiado',
10745
10763
  'praxis.intelligence.epistemic.expandDetails': 'Exibir detalhes de proveniência',
10746
10764
  'praxis.intelligence.epistemic.collapseDetails': 'Ocultar detalhes de proveniência',
10747
10765
  'praxis.intelligence.epistemic.nigriniLabel': 'Nigrini-Benford',
@@ -10796,7 +10814,7 @@ const PRAXIS_INTELLIGENCE_I18N_CONFIG = {
10796
10814
  },
10797
10815
  },
10798
10816
  };
10799
- const MISSING_TRANSLATION_SENTINEL$1 = '__PRAXIS_INTELLIGENCE_MISSING__';
10817
+ const MISSING_TRANSLATION_SENTINEL$2 = '__PRAXIS_INTELLIGENCE_MISSING__';
10800
10818
  function providePraxisIntelligenceI18n() {
10801
10819
  return providePraxisI18nConfig(PRAXIS_INTELLIGENCE_I18N_CONFIG);
10802
10820
  }
@@ -10820,8 +10838,8 @@ function resolveBuiltinIntelligenceTemplate(key, locale) {
10820
10838
  */
10821
10839
  function resolvePraxisIntelligenceMessage(i18n, key, params, fallback, localeOverride) {
10822
10840
  if (i18n && typeof i18n.t === 'function') {
10823
- const primary = i18n.t(key, params, MISSING_TRANSLATION_SENTINEL$1, PRAXIS_INTELLIGENCE_I18N_NAMESPACE);
10824
- if (primary && primary !== MISSING_TRANSLATION_SENTINEL$1 && primary !== key) {
10841
+ const primary = i18n.t(key, params, MISSING_TRANSLATION_SENTINEL$2, PRAXIS_INTELLIGENCE_I18N_NAMESPACE);
10842
+ if (primary && primary !== MISSING_TRANSLATION_SENTINEL$2 && primary !== key) {
10825
10843
  return primary;
10826
10844
  }
10827
10845
  }
@@ -10830,6 +10848,83 @@ function resolvePraxisIntelligenceMessage(i18n, key, params, fallback, localeOve
10830
10848
  return interpolatePraxisTranslation(template, params);
10831
10849
  }
10832
10850
 
10851
+ const PRAXIS_READING_GUIDE_EN_US = {
10852
+ 'praxis.readingGuide.trigger.label': 'How to read this indicator',
10853
+ 'praxis.readingGuide.trigger.shortLabel': 'How to read',
10854
+ 'praxis.readingGuide.trigger.ariaLabel': 'How to read: {{ title }}',
10855
+ 'praxis.readingGuide.popover.defaultTitle': 'How to read this indicator',
10856
+ 'praxis.readingGuide.popover.closeLabel': 'Close reading guide',
10857
+ 'praxis.readingGuide.popover.section.whatItMeasures': 'What it measures',
10858
+ 'praxis.readingGuide.popover.section.formula': 'How it is calculated',
10859
+ 'praxis.readingGuide.popover.section.interpretation': 'How to interpret',
10860
+ 'praxis.readingGuide.popover.section.targetBand': 'Reference target or band',
10861
+ 'praxis.readingGuide.popover.section.legalBasis': 'Legal basis',
10862
+ 'praxis.readingGuide.popover.section.caveat': 'Methodological limits',
10863
+ 'praxis.readingGuide.popover.askAssistant': 'Ask Assistant',
10864
+ 'praxis.readingGuide.popover.askAssistantAria': 'Ask Assistant about {{ title }}',
10865
+ 'praxis.readingGuide.popover.defaultAssistantPrompt': 'Explain in practical terms what "{{ title }}" measures, its formula, methodological limits, and when action is needed.',
10866
+ };
10867
+
10868
+ const PRAXIS_READING_GUIDE_PT_BR = {
10869
+ 'praxis.readingGuide.trigger.label': 'Como ler este indicador',
10870
+ 'praxis.readingGuide.trigger.shortLabel': 'Como ler',
10871
+ 'praxis.readingGuide.trigger.ariaLabel': 'Como ler: {{ title }}',
10872
+ 'praxis.readingGuide.popover.defaultTitle': 'Como ler este indicador',
10873
+ 'praxis.readingGuide.popover.closeLabel': 'Fechar guia de leitura',
10874
+ 'praxis.readingGuide.popover.section.whatItMeasures': 'O que mede',
10875
+ 'praxis.readingGuide.popover.section.formula': 'Como é calculado',
10876
+ 'praxis.readingGuide.popover.section.interpretation': 'Como interpretar',
10877
+ 'praxis.readingGuide.popover.section.targetBand': 'Faixa ou meta de referência',
10878
+ 'praxis.readingGuide.popover.section.legalBasis': 'Fundamentação legal',
10879
+ 'praxis.readingGuide.popover.section.caveat': 'Cuidado metodológico e limites',
10880
+ 'praxis.readingGuide.popover.askAssistant': 'Perguntar ao Assistente',
10881
+ 'praxis.readingGuide.popover.askAssistantAria': 'Perguntar ao Assistente sobre {{ title }}',
10882
+ 'praxis.readingGuide.popover.defaultAssistantPrompt': 'Explique em linguagem prática o indicador "{{ title }}", sua regra de cálculo, limites de interpretação e quando exige ação gerencial.',
10883
+ };
10884
+
10885
+ const PRAXIS_READING_GUIDE_I18N_NAMESPACE = 'praxis.readingGuide';
10886
+ const PRAXIS_READING_GUIDE_I18N_CONFIG = {
10887
+ namespaces: {
10888
+ [PRAXIS_READING_GUIDE_I18N_NAMESPACE]: {
10889
+ 'pt-BR': { ...PRAXIS_READING_GUIDE_PT_BR },
10890
+ 'en-US': { ...PRAXIS_READING_GUIDE_EN_US },
10891
+ },
10892
+ },
10893
+ };
10894
+ const MISSING_TRANSLATION_SENTINEL$1 = '__PRAXIS_READING_GUIDE_MISSING__';
10895
+ function providePraxisReadingGuideI18n() {
10896
+ return providePraxisI18nConfig(PRAXIS_READING_GUIDE_I18N_CONFIG);
10897
+ }
10898
+ function resolveBuiltinReadingGuideTemplate(key, locale) {
10899
+ const normalized = String(locale || '').trim().replace('_', '-').toLowerCase();
10900
+ const dict = normalized.startsWith('en')
10901
+ ? PRAXIS_READING_GUIDE_EN_US
10902
+ : PRAXIS_READING_GUIDE_PT_BR;
10903
+ if (Object.prototype.propertyIsEnumerable.call(dict, key)) {
10904
+ return dict[key];
10905
+ }
10906
+ if (Object.prototype.propertyIsEnumerable.call(PRAXIS_READING_GUIDE_PT_BR, key)) {
10907
+ return PRAXIS_READING_GUIDE_PT_BR[key];
10908
+ }
10909
+ return undefined;
10910
+ }
10911
+ /**
10912
+ * Resolves didactic reading-guide copy in `praxis.readingGuide`, honoring
10913
+ * host overrides in `PraxisI18nService` while keeping deterministic `pt-BR` and
10914
+ * `en-US` fallbacks when the service is not injected.
10915
+ */
10916
+ function resolvePraxisReadingGuideMessage(i18n, key, params, fallback, localeOverride) {
10917
+ if (i18n && typeof i18n.t === 'function') {
10918
+ const primary = i18n.t(key, params, MISSING_TRANSLATION_SENTINEL$1, PRAXIS_READING_GUIDE_I18N_NAMESPACE);
10919
+ if (primary && primary !== MISSING_TRANSLATION_SENTINEL$1 && primary !== key) {
10920
+ return primary;
10921
+ }
10922
+ }
10923
+ const locale = localeOverride || i18n?.getLocale?.() || 'pt-BR';
10924
+ const template = resolveBuiltinReadingGuideTemplate(key, locale) ?? fallback ?? key;
10925
+ return interpolatePraxisTranslation(template, params);
10926
+ }
10927
+
10833
10928
  const PRAXIS_MICRO_VIZ_EN_US = {
10834
10929
  'praxis.microViz.targetLabel': 'Target',
10835
10930
  'praxis.microViz.baseLabel': 'Base',
@@ -10918,12 +11013,12 @@ const PRAXIS_MICRO_VIZ_PT_BR = {
10918
11013
  'praxis.microViz.kpi.provenance.filters': 'Filtros aplicados',
10919
11014
  'praxis.microViz.kpi.provenance.fetchedAt': 'Atualizado em',
10920
11015
  'praxis.microViz.kpi.provenance.noFilters': 'Nenhum (escopo completo)',
10921
- 'praxis.microViz.kpi.provenance.op.groupBy': 'Agrupamento (group-by)',
11016
+ 'praxis.microViz.kpi.provenance.op.groupBy': 'Agrupamento por categoria',
10922
11017
  'praxis.microViz.kpi.provenance.op.timeseries': 'Série temporal',
10923
11018
  'praxis.microViz.kpi.provenance.op.comparison': 'Comparação de períodos',
10924
11019
  'praxis.microViz.kpi.provenance.op.distribution': 'Distribuição estatística',
10925
11020
  'praxis.microViz.kpi.provenance.op.verifiedRecipe': 'Receita analítica verificada',
10926
- 'praxis.microViz.kpi.provenance.op.projection': 'Projeção analítica',
11021
+ 'praxis.microViz.kpi.provenance.op.projection': 'Análise consolidada',
10927
11022
  };
10928
11023
 
10929
11024
  const PRAXIS_MICRO_VIZ_I18N_NAMESPACE = 'praxis.microViz';
@@ -11242,6 +11337,7 @@ class PraxisI18nService {
11242
11337
  this.lookupBuiltinShellI18n(key, candidate) ??
11243
11338
  this.lookupBuiltinMicroVizI18n(key, candidate) ??
11244
11339
  this.lookupBuiltinIntelligenceI18n(key, candidate) ??
11340
+ this.lookupBuiltinReadingGuideI18n(key, candidate) ??
11245
11341
  this.lookupBuiltinIconPickerI18n(key, candidate);
11246
11342
  if (resolved !== undefined)
11247
11343
  break;
@@ -11255,6 +11351,7 @@ class PraxisI18nService {
11255
11351
  this.lookupBuiltinShellI18n(key, candidate) ??
11256
11352
  this.lookupBuiltinMicroVizI18n(key, candidate) ??
11257
11353
  this.lookupBuiltinIntelligenceI18n(key, candidate) ??
11354
+ this.lookupBuiltinReadingGuideI18n(key, candidate) ??
11258
11355
  this.lookupBuiltinIconPickerI18n(key, candidate);
11259
11356
  if (resolved !== undefined)
11260
11357
  break;
@@ -11396,6 +11493,10 @@ class PraxisI18nService {
11396
11493
  const value = PRAXIS_INTELLIGENCE_I18N_CONFIG.namespaces?.[PRAXIS_INTELLIGENCE_I18N_NAMESPACE]?.[locale]?.[key];
11397
11494
  return typeof value === 'string' ? value : undefined;
11398
11495
  }
11496
+ lookupBuiltinReadingGuideI18n(key, locale) {
11497
+ const value = PRAXIS_READING_GUIDE_I18N_CONFIG.namespaces?.[PRAXIS_READING_GUIDE_I18N_NAMESPACE]?.[locale]?.[key];
11498
+ return typeof value === 'string' ? value : undefined;
11499
+ }
11399
11500
  lookupBuiltinIconPickerI18n(key, locale) {
11400
11501
  const value = PRAXIS_ICON_PICKER_I18N_CONFIG.namespaces?.[PRAXIS_ICON_PICKER_I18N_NAMESPACE]?.[locale]?.[key];
11401
11502
  return typeof value === 'string' ? value : undefined;
@@ -11692,9 +11793,18 @@ const RESOURCE_DISCOVERY_I18N_NAMESPACE = 'resourceDiscovery';
11692
11793
  const RESOURCE_AVAILABILITY_REASON_KEY_BY_CODE = {
11693
11794
  'authentication-required': 'availability.reason.authentication-required',
11694
11795
  'resource-state-blocked': 'availability.reason.resource-state-blocked',
11796
+ 'resource-state-unavailable': 'availability.reason.resource-state-unavailable',
11797
+ 'resource-state-not-found': 'availability.reason.resource-state-not-found',
11798
+ 'resource-state-not-applicable': 'availability.reason.resource-state-not-applicable',
11799
+ 'resource-state-not-evaluated': 'availability.reason.resource-state-not-evaluated',
11695
11800
  'missing-authority': 'availability.reason.missing-authority',
11696
11801
  'resource-context-required': 'availability.reason.resource-context-required',
11697
11802
  'resource-not-found': 'availability.reason.resource-not-found',
11803
+ 'operation-not-supported': 'availability.reason.operation-not-supported',
11804
+ 'operation-unavailable': 'availability.reason.operation-unavailable',
11805
+ 'operation-availability-unconfigured': 'availability.reason.operation-availability-unconfigured',
11806
+ 'duplicate-draft-unavailable': 'availability.reason.duplicate-draft-unavailable',
11807
+ forbidden: 'availability.reason.missing-authority',
11698
11808
  };
11699
11809
  const RESOURCE_DISCOVERY_I18N_CONFIG = {
11700
11810
  namespaces: {
@@ -11726,19 +11836,27 @@ const RESOURCE_DISCOVERY_I18N_CONFIG = {
11726
11836
  'rowActions.menu.retry': 'Nenhuma ação contextual carregada. Abra novamente para tentar de novo.',
11727
11837
  'rowActions.menu.empty': 'Nenhuma ação contextual disponível.',
11728
11838
  'availability.reason.resource-state-blocked': 'Dependente do estado atual do registro.',
11839
+ 'availability.reason.resource-state-unavailable': 'Indisponível para a situação atual do registro.',
11840
+ 'availability.reason.resource-state-not-found': 'Selecione um registro específico para verificar esta operação.',
11841
+ 'availability.reason.resource-state-not-applicable': 'Não se aplica ao contexto atual.',
11842
+ 'availability.reason.resource-state-not-evaluated': 'Disponibilidade avaliada ao abrir um registro específico.',
11729
11843
  'availability.reason.missing-authority': 'Voc\u00ea n\u00e3o tem permiss\u00e3o para executar esta a\u00e7\u00e3o.',
11730
11844
  'availability.reason.authentication-required': 'Entre em uma sess\u00e3o autorizada para continuar.',
11731
11845
  'availability.reason.resource-context-required': 'Abra um item espec\u00edfico para continuar.',
11732
11846
  'availability.reason.resource-not-found': 'O registro n\u00e3o est\u00e1 dispon\u00edvel.',
11847
+ 'availability.reason.operation-not-supported': 'Operação não disponível nesta tela.',
11848
+ 'availability.reason.operation-unavailable': 'Operação indisponível no momento.',
11849
+ 'availability.reason.operation-availability-unconfigured': 'Disponibilidade não aplicável neste contexto.',
11850
+ 'availability.reason.duplicate-draft-unavailable': 'Duplicação indisponível para este registro.',
11733
11851
  'availability.reason.unknown': 'O contexto atual n\u00e3o permite esta a\u00e7\u00e3o.',
11734
- 'endpoint.stats.groupBy': 'Agrega\u00e7\u00e3o anal\u00edtica por agrupamento (group-by)',
11735
- 'endpoint.stats.timeseries': 'S\u00e9rie temporal agregada (timeseries)',
11736
- 'endpoint.stats.distribution': 'Distribui\u00e7\u00e3o anal\u00edtica (distribution)',
11737
- 'endpoint.stats.comparison': 'Comparativo anal\u00edtico entre per\u00edodos (comparison)',
11738
- 'endpoint.stats.inference': 'Infer\u00eancia estat\u00edstica e testes de hip\u00f3tese (inference)',
11739
- 'endpoint.stats.anomalies': 'Varredura estat\u00edstica e forense de anomalias (anomalies)',
11852
+ 'endpoint.stats.groupBy': 'Agrega\u00e7\u00e3o anal\u00edtica por agrupamento',
11853
+ 'endpoint.stats.timeseries': 'Evolu\u00e7\u00e3o temporal agregada',
11854
+ 'endpoint.stats.distribution': 'Distribui\u00e7\u00e3o estat\u00edstica',
11855
+ 'endpoint.stats.comparison': 'Comparativo entre per\u00edodos',
11856
+ 'endpoint.stats.inference': 'Infer\u00eancia estat\u00edstica e testes de hip\u00f3tese',
11857
+ 'endpoint.stats.anomalies': 'Detec\u00e7\u00e3o estat\u00edstica de anomalias',
11740
11858
  'endpoint.crud.create': 'Criar {{resource}}',
11741
- 'endpoint.crud.view': 'Consultar {{resource}} por ID',
11859
+ 'endpoint.crud.view': 'Consultar registro de {{resource}}',
11742
11860
  'endpoint.crud.edit': 'Atualizar {{resource}}',
11743
11861
  },
11744
11862
  'en-US': {
@@ -11768,10 +11886,18 @@ const RESOURCE_DISCOVERY_I18N_CONFIG = {
11768
11886
  'rowActions.menu.retry': 'No contextual actions loaded. Reopen to try again.',
11769
11887
  'rowActions.menu.empty': 'No contextual actions available.',
11770
11888
  'availability.reason.resource-state-blocked': 'Blocked by the current resource state.',
11889
+ 'availability.reason.resource-state-unavailable': 'Unavailable for the current record status.',
11890
+ 'availability.reason.resource-state-not-found': 'Select a specific record to verify this operation.',
11891
+ 'availability.reason.resource-state-not-applicable': 'Not applicable in the current context.',
11892
+ 'availability.reason.resource-state-not-evaluated': 'Availability is evaluated when opening a specific record.',
11771
11893
  'availability.reason.missing-authority': 'You do not have permission to perform this action.',
11772
11894
  'availability.reason.authentication-required': 'Sign in to an authorized session to continue.',
11773
11895
  'availability.reason.resource-context-required': 'Open a specific item to continue.',
11774
11896
  'availability.reason.resource-not-found': 'The record is not available.',
11897
+ 'availability.reason.operation-not-supported': 'Operation is not available on this screen.',
11898
+ 'availability.reason.operation-unavailable': 'Operation is currently unavailable.',
11899
+ 'availability.reason.operation-availability-unconfigured': 'Availability is not applicable in this context.',
11900
+ 'availability.reason.duplicate-draft-unavailable': 'Duplication is unavailable for this record.',
11775
11901
  'availability.reason.unknown': 'The current context does not allow this action.',
11776
11902
  'endpoint.stats.groupBy': 'Analytical aggregation by group (group-by)',
11777
11903
  'endpoint.stats.timeseries': 'Aggregated time series (timeseries)',
@@ -11809,18 +11935,22 @@ function translateResourceDiscoveryText(i18n, key, params, fallback) {
11809
11935
  }
11810
11936
  function translateResourceAvailabilityReason(i18n, reason) {
11811
11937
  const key = resolveResourceAvailabilityReasonKey(reason);
11812
- const fallback = key === 'availability.reason.authentication-required'
11813
- ? 'Entre em uma sess\u00e3o autorizada para continuar.'
11814
- : key === 'availability.reason.resource-state-blocked'
11815
- ? 'Dependente do estado atual do registro.'
11816
- : key === 'availability.reason.missing-authority'
11817
- ? 'Voc\u00ea n\u00e3o tem permiss\u00e3o para executar esta a\u00e7\u00e3o.'
11818
- : key === 'availability.reason.resource-context-required'
11819
- ? 'Abra um item espec\u00edfico para continuar.'
11820
- : key === 'availability.reason.resource-not-found'
11821
- ? 'O registro n\u00e3o est\u00e1 dispon\u00edvel.'
11822
- : 'O contexto atual n\u00e3o permite esta a\u00e7\u00e3o.';
11823
- return translateResourceDiscoveryText(i18n, key, undefined, fallback);
11938
+ return translateResourceDiscoveryText(i18n, key);
11939
+ }
11940
+ const TECHNICAL_REASON_CODE_PATTERN = /^(?:resource-state-[a-z0-9-]+|hard-scope-[a-z0-9-]+|AUTHZ_[A-Z0-9_]+|[a-z0-9]+(?:-[a-z0-9]+)+|[A-Z0-9]+(?:_[A-Z0-9]+)+)$/;
11941
+ function formatResourceAvailabilityReasonForDisplay(i18n, reason) {
11942
+ const trimmed = String(reason || '').trim();
11943
+ if (!trimmed) {
11944
+ return null;
11945
+ }
11946
+ const key = resolveResourceAvailabilityReasonKey(trimmed);
11947
+ if (key !== 'availability.reason.unknown') {
11948
+ return translateResourceDiscoveryText(i18n, key);
11949
+ }
11950
+ if (TECHNICAL_REASON_CODE_PATTERN.test(trimmed)) {
11951
+ return translateResourceDiscoveryText(i18n, 'availability.reason.unknown');
11952
+ }
11953
+ return trimmed;
11824
11954
  }
11825
11955
  function translateUnavailableWorkflowMessage(i18n, availability) {
11826
11956
  const reason = normalizeResourceAvailabilityReasonCode(availability?.reason);
@@ -18770,6 +18900,8 @@ function normalizePraxisEpistemicMeta(raw) {
18770
18900
  const rawConformity = toCleanString(raw['nigriniConformity']);
18771
18901
  const normalizedConformity = rawConformity ? normalizePraxisNigriniConformity(rawConformity) : null;
18772
18902
  const nigriniConformity = normalizedConformity ?? rawConformity;
18903
+ const nestedCard = isPlainObject(raw['modelCard']) ? raw['modelCard'] : undefined;
18904
+ const interpretationGuide = normalizePraxisModelCardInterpretationGuide(raw['interpretationGuide'] ?? nestedCard?.['interpretationGuide']);
18773
18905
  const hasAnySignal = toCleanString(rawKind) !== undefined ||
18774
18906
  toCleanString(rawAvailability) !== undefined ||
18775
18907
  rawSignificant !== undefined ||
@@ -18781,7 +18913,8 @@ function normalizePraxisEpistemicMeta(raw) {
18781
18913
  datasetKey !== undefined ||
18782
18914
  methodologyNote !== undefined ||
18783
18915
  rawNigriniMad !== undefined ||
18784
- nigriniConformity !== undefined;
18916
+ nigriniConformity !== undefined ||
18917
+ interpretationGuide !== undefined;
18785
18918
  if (!hasAnySignal) {
18786
18919
  return null;
18787
18920
  }
@@ -18813,6 +18946,66 @@ function normalizePraxisEpistemicMeta(raw) {
18813
18946
  ...(methodologyNote ? { methodologyNote } : {}),
18814
18947
  ...(nigriniMad !== undefined ? { nigriniMad } : {}),
18815
18948
  ...(nigriniConformity ? { nigriniConformity } : {}),
18949
+ ...(interpretationGuide ? { interpretationGuide } : {}),
18950
+ };
18951
+ }
18952
+ function normalizePraxisModelCardInterpretationGuide(raw) {
18953
+ if (!isPlainObject(raw)) {
18954
+ return undefined;
18955
+ }
18956
+ const plainLanguageSummary = sanitizeIntelligenceDetailText(raw['plainLanguageSummary'] ?? raw['businessPurpose']);
18957
+ const businessPurpose = sanitizeIntelligenceDetailText(raw['businessPurpose'] ?? raw['plainLanguageSummary']);
18958
+ const howToReadRaw = raw['howToRead'];
18959
+ const howToRead = Array.isArray(howToReadRaw)
18960
+ ? howToReadRaw
18961
+ .map((step) => sanitizeIntelligenceDetailText(step))
18962
+ .filter((step) => Boolean(step))
18963
+ : typeof howToReadRaw === 'string' && sanitizeIntelligenceDetailText(howToReadRaw)
18964
+ ? [sanitizeIntelligenceDetailText(howToReadRaw)]
18965
+ : [];
18966
+ const limitationsRaw = raw['limitations'] ?? raw['cautionNote'];
18967
+ const limitations = Array.isArray(limitationsRaw)
18968
+ ? limitationsRaw
18969
+ .map((item) => sanitizeIntelligenceDetailText(item))
18970
+ .filter((item) => Boolean(item))
18971
+ : typeof limitationsRaw === 'string' && sanitizeIntelligenceDetailText(limitationsRaw)
18972
+ ? [sanitizeIntelligenceDetailText(limitationsRaw)]
18973
+ : [];
18974
+ const glossarySource = isPlainObject(raw['keyMetricsExplained'])
18975
+ ? raw['keyMetricsExplained']
18976
+ : isPlainObject(raw['glossaryTerms'])
18977
+ ? raw['glossaryTerms']
18978
+ : undefined;
18979
+ const keyMetricsExplained = {};
18980
+ if (glossarySource) {
18981
+ for (const [k, v] of Object.entries(glossarySource)) {
18982
+ const cleanKey = toCleanString(k);
18983
+ const cleanVal = sanitizeIntelligenceDetailText(v);
18984
+ if (cleanKey && cleanVal) {
18985
+ keyMetricsExplained[cleanKey] = cleanVal;
18986
+ }
18987
+ }
18988
+ }
18989
+ const decisionGuidance = sanitizeIntelligenceDetailText(raw['decisionGuidance'] ?? raw['decisionBoundary']);
18990
+ const cautionNote = sanitizeIntelligenceDetailText(raw['cautionNote']);
18991
+ const locale = toCleanString(raw['locale']);
18992
+ if (!plainLanguageSummary &&
18993
+ howToRead.length === 0 &&
18994
+ Object.keys(keyMetricsExplained).length === 0 &&
18995
+ limitations.length === 0 &&
18996
+ !decisionGuidance &&
18997
+ !cautionNote) {
18998
+ return undefined;
18999
+ }
19000
+ return {
19001
+ ...(plainLanguageSummary ? { plainLanguageSummary } : {}),
19002
+ ...(businessPurpose ? { businessPurpose } : {}),
19003
+ ...(howToRead.length > 0 ? { howToRead } : {}),
19004
+ ...(Object.keys(keyMetricsExplained).length > 0 ? { keyMetricsExplained } : {}),
19005
+ ...(limitations.length > 0 ? { limitations } : {}),
19006
+ ...(decisionGuidance ? { decisionGuidance, decisionBoundary: decisionGuidance } : {}),
19007
+ ...(cautionNote ? { cautionNote } : {}),
19008
+ ...(locale ? { locale } : {}),
18816
19009
  };
18817
19010
  }
18818
19011
  function formatTruncatedProvenanceHash(hash) {
@@ -18969,6 +19162,9 @@ function extractAnalyticsEpistemicMetadata(source) {
18969
19162
  const nigriniConformity = toCleanString(summary?.['nigriniConformity'] ?? source['nigriniConformity']) ??
18970
19163
  directNested?.nigriniConformity ??
18971
19164
  directFlat?.nigriniConformity;
19165
+ const interpretationGuide = normalizePraxisModelCardInterpretationGuide(modelCard?.['interpretationGuide'] ?? source['interpretationGuide']) ??
19166
+ directNested?.interpretationGuide ??
19167
+ directFlat?.interpretationGuide;
18972
19168
  return normalizePraxisEpistemicMeta({
18973
19169
  ...(kind !== undefined ? { kind } : {}),
18974
19170
  ...(resolvedAvailability !== undefined ? { availabilityState: resolvedAvailability } : {}),
@@ -18982,6 +19178,7 @@ function extractAnalyticsEpistemicMetadata(source) {
18982
19178
  ...(methodologyNote !== undefined ? { methodologyNote } : {}),
18983
19179
  ...(nigriniMad !== undefined ? { nigriniMad } : {}),
18984
19180
  ...(nigriniConformity !== undefined ? { nigriniConformity } : {}),
19181
+ ...(interpretationGuide !== undefined ? { interpretationGuide } : {}),
18985
19182
  });
18986
19183
  }
18987
19184
  /** Attaches normalized epistemic metadata non-enumerably to projected chart/table rows. */
@@ -21309,7 +21506,7 @@ const SURFACE_NAVIGATION_I18N_CONFIG = {
21309
21506
  [SURFACE_NAVIGATION_I18N_NAMESPACE]: {
21310
21507
  'pt-BR': {
21311
21508
  'session.navigationRejected': 'Não foi possível abrir esta etapa agora. Revise a etapa em andamento e tente novamente.',
21312
- 'surface.openFailed': 'Não foi possível abrir esta superfície agora. Tente novamente ou confirme se ela continua disponível.',
21509
+ 'surface.openFailed': 'Não foi possível abrir esta consulta agora. Tente novamente ou confirme se ela continua disponível.',
21313
21510
  },
21314
21511
  'en-US': {
21315
21512
  'session.navigationRejected': 'This step could not be opened right now. Review the current step and try again.',
@@ -22487,18 +22684,18 @@ const RELATED_RESOURCE_OUTLET_I18N_CONFIG = {
22487
22684
  'pt-BR': {
22488
22685
  'state.idle.title': 'Selecione um registro',
22489
22686
  'state.idle.description': 'Escolha um registro principal para carregar os dados relacionados.',
22490
- 'state.resolving.title': 'Resolvendo recurso relacionado',
22491
- 'state.resolving.description': 'Validando metadados e permissões da relação.',
22492
- 'state.loading.title': 'Carregando recurso relacionado',
22493
- 'state.loading.description': 'Aguarde enquanto a coleção relacionada é carregada.',
22494
- 'state.empty.title': 'Nenhuma operação de leitura publicada',
22687
+ 'state.resolving.title': 'Carregando informações relacionadas',
22688
+ 'state.resolving.description': 'Verificando permissões e dados relacionados.',
22689
+ 'state.loading.title': 'Carregando informações relacionadas',
22690
+ 'state.loading.description': 'Aguarde enquanto os registros relacionados são carregados.',
22691
+ 'state.empty.title': 'Nenhuma operação de leitura disponível',
22495
22692
  'state.empty.description': 'A relação existe, mas não há operação de lista ou filtro disponível.',
22496
22693
  'state.permission-limited.title': 'Acesso limitado',
22497
- 'state.permission-limited.description': 'O contexto atual não permite abrir este recurso relacionado.',
22694
+ 'state.permission-limited.description': 'O contexto atual não permite abrir estas informações.',
22498
22695
  'state.not-found.title': 'Relação indisponível',
22499
- 'state.not-found.description': 'Não foi possível resolver a relação ou o identificador do registro pai.',
22500
- 'state.error.title': 'Falha ao preparar recurso relacionado',
22501
- 'state.error.description': 'Ocorreu um erro ao preparar a superfície relacionada.',
22696
+ 'state.not-found.description': 'Não foi possível localizar a relação ou o identificador do registro pai.',
22697
+ 'state.error.title': 'Falha ao preparar informações relacionadas',
22698
+ 'state.error.description': 'Não foi possível carregar os dados relacionados.',
22502
22699
  'emptyState.related.title': 'Sem registros em {label}',
22503
22700
  'emptyState.related.description': 'Esta coleção relacionada não possui registros para o contexto selecionado.',
22504
22701
  'action.open': 'Abrir relacionado',
@@ -36129,6 +36326,180 @@ function assertSerializableValue(value, path, seen) {
36129
36326
  });
36130
36327
  seen.delete(value);
36131
36328
  }
36329
+ const MAX_OBSERVATION_BUCKETS = 8;
36330
+ const SUPPRESSED_BUCKET_NUMERIC_KEYS = new Set([
36331
+ 'value',
36332
+ 'count',
36333
+ 'total',
36334
+ 'sum',
36335
+ 'avg',
36336
+ 'mean',
36337
+ 'median',
36338
+ 'amount',
36339
+ 'percentage',
36340
+ 'ratio',
36341
+ 'min',
36342
+ 'max',
36343
+ 'values',
36344
+ 'points',
36345
+ 'y',
36346
+ 'delta',
36347
+ ]);
36348
+ const RAW_ROW_CONTAINER_KEYS = new Set([
36349
+ 'rows',
36350
+ 'records',
36351
+ 'items',
36352
+ 'rawData',
36353
+ 'rawRows',
36354
+ 'rowValues',
36355
+ 'employeeNames',
36356
+ 'individuals',
36357
+ 'persons',
36358
+ 'documents',
36359
+ ]);
36360
+ function sanitizeBucketList(rawList, minBucketCount) {
36361
+ if (!Array.isArray(rawList) || rawList.length === 0) {
36362
+ return [];
36363
+ }
36364
+ const threshold = typeof minBucketCount === 'number' && Number.isFinite(minBucketCount) && minBucketCount > 0
36365
+ ? minBucketCount
36366
+ : null;
36367
+ return rawList.slice(0, MAX_OBSERVATION_BUCKETS).map((bucket) => {
36368
+ const rawCount = typeof bucket['count'] === 'number' ? bucket['count'] : undefined;
36369
+ const isSuppressed = bucket['suppressed'] === true ||
36370
+ bucket['kSuppressed'] === true ||
36371
+ (threshold !== null && rawCount !== undefined && rawCount < threshold);
36372
+ if (isSuppressed) {
36373
+ const label = typeof bucket['label'] === 'string' && bucket['label'].trim()
36374
+ ? bucket['label'].trim()
36375
+ : typeof bucket['bucket'] === 'string' && bucket['bucket'].trim()
36376
+ ? bucket['bucket'].trim()
36377
+ : undefined;
36378
+ return {
36379
+ ...(label ? { label } : {}),
36380
+ suppressed: true,
36381
+ };
36382
+ }
36383
+ const sanitized = {};
36384
+ for (const [k, v] of Object.entries(bucket)) {
36385
+ if (!RAW_ROW_CONTAINER_KEYS.has(k) && v !== undefined) {
36386
+ sanitized[k] = v;
36387
+ }
36388
+ }
36389
+ return sanitized;
36390
+ });
36391
+ }
36392
+ function stripRawRowsFromRecord(record) {
36393
+ if (!record || typeof record !== 'object') {
36394
+ return undefined;
36395
+ }
36396
+ const out = {};
36397
+ for (const [k, v] of Object.entries(record)) {
36398
+ if (!RAW_ROW_CONTAINER_KEYS.has(k) && v !== undefined) {
36399
+ out[k] = v;
36400
+ }
36401
+ }
36402
+ return Object.keys(out).length > 0 ? out : undefined;
36403
+ }
36404
+ /**
36405
+ * Builds a canonical `praxis-runtime-component-observation.v1` envelope for analytical
36406
+ * widgets, KPI strips, and charts while strictly enforcing k-anonymity and zero raw row export.
36407
+ */
36408
+ function buildAnalyticalWidgetObservationEnvelope(input) {
36409
+ const cleanEpistemic = input.epistemic ?? input.stateDigest?.epistemic ?? null;
36410
+ const rawSuppressed = input.dataProfileDigest?.suppressedCellCount ?? cleanEpistemic?.suppressedCellCount ?? 0;
36411
+ const suppressedCellCount = typeof rawSuppressed === 'number' && Number.isFinite(rawSuppressed) && rawSuppressed > 0
36412
+ ? Math.trunc(rawSuppressed)
36413
+ : 0;
36414
+ const kAnonymitySatisfied = input.dataProfileDigest?.kAnonymitySatisfied ??
36415
+ (cleanEpistemic?.availabilityState === 'K_ANONYMITY_SUPPRESSED' || suppressedCellCount > 0
36416
+ ? false
36417
+ : true);
36418
+ const sanitizedBuckets = sanitizeBucketList(input.dataProfileDigest?.buckets, input.dataProfileDigest?.minBucketCount);
36419
+ const sanitizedSeries = sanitizeBucketList(input.dataProfileDigest?.series, input.dataProfileDigest?.minBucketCount);
36420
+ const summaryMetrics = stripRawRowsFromRecord(input.dataProfileDigest?.summaryMetrics);
36421
+ if (summaryMetrics && suppressedCellCount > 0 && kAnonymitySatisfied === false) {
36422
+ for (const key of Object.keys(summaryMetrics)) {
36423
+ if (SUPPRESSED_BUCKET_NUMERIC_KEYS.has(key)) {
36424
+ delete summaryMetrics[key];
36425
+ }
36426
+ }
36427
+ }
36428
+ const stateDigest = {};
36429
+ const sd = input.stateDigest;
36430
+ if (sd?.title)
36431
+ stateDigest['title'] = sd.title;
36432
+ if (sd?.subtitle)
36433
+ stateDigest['subtitle'] = sd.subtitle;
36434
+ if (sd?.chartType)
36435
+ stateDigest['chartType'] = sd.chartType;
36436
+ if (sd?.activeTab)
36437
+ stateDigest['activeTab'] = sd.activeTab;
36438
+ if (sd?.recipeId)
36439
+ stateDigest['recipeId'] = sd.recipeId;
36440
+ if (sd?.projectionId)
36441
+ stateDigest['projectionId'] = sd.projectionId;
36442
+ if (sd?.activeFilters && Object.keys(sd.activeFilters).length > 0) {
36443
+ stateDigest['activeFilters'] = sd.activeFilters;
36444
+ }
36445
+ if (sd?.referenceLines && sd.referenceLines.length > 0) {
36446
+ stateDigest['referenceLines'] = sd.referenceLines.slice(0, MAX_OBSERVATION_BUCKETS);
36447
+ }
36448
+ if (sd?.selectedContext && Object.keys(sd.selectedContext).length > 0) {
36449
+ stateDigest['selectedContext'] = sd.selectedContext;
36450
+ }
36451
+ if (cleanEpistemic) {
36452
+ stateDigest['epistemic'] = cleanEpistemic;
36453
+ }
36454
+ const dataProfileDigest = {
36455
+ kAnonymitySatisfied,
36456
+ ...(suppressedCellCount > 0 ? { suppressedCellCount } : {}),
36457
+ ...(input.dataProfileDigest?.minBucketCount != null
36458
+ ? { minBucketCount: input.dataProfileDigest.minBucketCount }
36459
+ : {}),
36460
+ ...(input.dataProfileDigest?.visibleBucketCount != null
36461
+ ? { visibleBucketCount: input.dataProfileDigest.visibleBucketCount }
36462
+ : {}),
36463
+ ...(sanitizedBuckets.length > 0 ? { buckets: sanitizedBuckets } : {}),
36464
+ ...(sanitizedSeries.length > 0 ? { series: sanitizedSeries } : {}),
36465
+ ...(summaryMetrics && Object.keys(summaryMetrics).length > 0 ? { summaryMetrics } : {}),
36466
+ };
36467
+ return {
36468
+ schemaVersion: 'praxis-runtime-component-observation.v1',
36469
+ identity: {
36470
+ instanceId: input.instanceId,
36471
+ componentId: input.componentId,
36472
+ ...(input.componentType ? { componentType: input.componentType } : {}),
36473
+ ...(input.widgetKey ? { widgetKey: input.widgetKey } : {}),
36474
+ ...(input.ownerPackage ? { ownerPackage: input.ownerPackage } : {}),
36475
+ ...(input.routeKey ? { routeKey: input.routeKey } : {}),
36476
+ },
36477
+ ...(input.resourcePath || input.resourceKey || input.pageId
36478
+ ? {
36479
+ refs: {
36480
+ ...(input.resourcePath ? { resourcePath: input.resourcePath } : {}),
36481
+ ...(input.resourceKey ? { resourceKey: input.resourceKey } : {}),
36482
+ ...(input.pageId ? { pageId: input.pageId } : {}),
36483
+ },
36484
+ }
36485
+ : {}),
36486
+ lifecycle: {
36487
+ active: input.active ?? true,
36488
+ visible: input.visible ?? true,
36489
+ ...(input.focused !== undefined ? { focused: input.focused } : {}),
36490
+ capturedAt: input.capturedAt ?? new Date().toISOString(),
36491
+ ...(input.ttlMs !== undefined ? { ttlMs: input.ttlMs } : {}),
36492
+ },
36493
+ snapshot: {
36494
+ stateDigest,
36495
+ dataProfileDigest,
36496
+ },
36497
+ diagnostics: {
36498
+ redactionApplied: true,
36499
+ omittedFields: ['rawRows', 'suppressedBucketValues'],
36500
+ },
36501
+ };
36502
+ }
36132
36503
 
36133
36504
  class PraxisRuntimeComponentObservationRegistryService {
36134
36505
  entriesSignal = signal([], ...(ngDevMode ? [{ debugName: "entriesSignal" }] : /* istanbul ignore next */ []));
@@ -36156,6 +36527,26 @@ class PraxisRuntimeComponentObservationRegistryService {
36156
36527
  .filter((result) => result.status === 'fulfilled' && this.isActiveObservation(result.value))
36157
36528
  .map((result) => result.value);
36158
36529
  }
36530
+ listActiveSync() {
36531
+ const active = [];
36532
+ for (const entry of this.entriesSignal()) {
36533
+ try {
36534
+ const observation = entry.provider.getObservation();
36535
+ if (!observation ||
36536
+ typeof observation.then === 'function') {
36537
+ continue;
36538
+ }
36539
+ const cloned = clonePraxisRuntimeComponentObservation(observation);
36540
+ if (this.isActiveObservation(cloned)) {
36541
+ active.push(cloned);
36542
+ }
36543
+ }
36544
+ catch {
36545
+ // Ignore failing synchronous observation provider
36546
+ }
36547
+ }
36548
+ return active;
36549
+ }
36159
36550
  async getByInstance(instanceId) {
36160
36551
  const normalizedInstanceId = instanceId.trim();
36161
36552
  if (!normalizedInstanceId) {
@@ -44387,11 +44778,11 @@ function reasonMessageForNonOverwritable(reason) {
44387
44778
  case 'hidden':
44388
44779
  return 'Campo oculto não pode ser sobrescrito.';
44389
44780
  case 'restricted-by-field-access':
44390
- return 'Campo restrito pela política de acesso (x-ui.fieldAccess).';
44781
+ return 'Campo protegido pela política de acesso.';
44391
44782
  case 'restricted-by-ai-policy':
44392
- return 'Campo restrito pela governança de IA (@DomainGovernance / AiUsagePolicy).';
44783
+ return 'Campo protegido pelas regras de uso de IA.';
44393
44784
  case 'reactive-determination-target':
44394
- return 'Campo calculado por determinação reativa (ReactiveDetermination) não pode ser sobrescrito diretamente.';
44785
+ return 'Campo calculado automaticamente não pode ser alterado diretamente.';
44395
44786
  default:
44396
44787
  return 'Campo não elegível para sobrescrita automática.';
44397
44788
  }
@@ -52165,7 +52556,7 @@ class SurfaceOpenActionEditorComponent {
52165
52556
  </mat-form-field>
52166
52557
  </div>
52167
52558
  </div>
52168
- `, isInline: true, styles: [".surface-editor{display:grid;gap:14px;min-width:0}.surface-section{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;background:var(--md-sys-color-surface-container-low)}.surface-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0}.surface-section-title{font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant);margin-bottom:0}.surface-section-header .surface-section-title{margin-bottom:0}.surface-more-inputs summary{cursor:pointer;color:var(--md-sys-color-primary);font-weight:600}.surface-more-inputs summary:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.surface-grid{display:grid;align-items:start;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px 16px;min-width:0}.surface-preset-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.surface-span-2{grid-column:span 2}.surface-span-all{width:100%;min-width:0}.surface-component-meta{display:grid;gap:4px;padding:10px 12px;border-radius:8px;background:var(--md-sys-color-surface-container)}.surface-component-title{font-weight:600;color:var(--md-sys-color-on-surface)}.surface-component-description,.surface-empty{color:var(--md-sys-color-on-surface-variant);font-size:12px;line-height:1.45}.surface-bindings{display:grid;gap:10px;min-width:0}.surface-binding-row{display:grid;grid-template-columns:minmax(min(220px,100%),1.15fr) minmax(min(240px,100%),1.25fr) minmax(128px,.55fr) auto;gap:10px;align-items:start;min-width:0;padding:10px;border-radius:8px;background:var(--md-sys-color-surface-container)}.surface-binding-row mat-form-field:nth-child(4){grid-column:1 / -2}.surface-binding-remove{color:var(--md-sys-color-error)}.surface-guidance{display:grid;gap:4px;padding:10px 12px;border-radius:8px;background:color-mix(in srgb,var(--md-sys-color-primary-container) 18%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:12px;line-height:1.45}.surface-guidance__item{overflow-wrap:anywhere}.surface-guidance__item--primary{color:var(--md-sys-color-on-surface)}mat-form-field{width:100%;min-width:0}@media(max-width:960px){.surface-section{padding:12px}.surface-span-2{grid-column:1 / -1}.surface-binding-row{grid-template-columns:minmax(0,1fr)}.surface-binding-row mat-form-field:nth-child(4){grid-column:auto}}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }] });
52559
+ `, isInline: true, styles: [".surface-editor{display:grid;gap:14px;min-width:0}.surface-section{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;background:var(--md-sys-color-surface-container-low)}.surface-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0}.surface-section-title{font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant);margin-bottom:0}.surface-section-header .surface-section-title{margin-bottom:0}.surface-more-inputs summary{cursor:pointer;color:var(--md-sys-color-primary);font-weight:600}.surface-more-inputs summary:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.surface-grid{display:grid;align-items:start;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px 16px;min-width:0}.surface-preset-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.surface-span-2{grid-column:span 2}.surface-span-all{width:100%;min-width:0}.surface-component-meta{display:grid;gap:4px;padding:10px 12px;border-radius:8px;background:var(--md-sys-color-surface-container)}.surface-component-title{font-weight:600;color:var(--md-sys-color-on-surface)}.surface-component-description,.surface-empty{color:var(--md-sys-color-on-surface-variant);font-size:12px;line-height:1.45}.surface-bindings{display:grid;gap:10px;min-width:0}.surface-binding-row{display:grid;grid-template-columns:minmax(min(220px,100%),1.15fr) minmax(min(240px,100%),1.25fr) minmax(128px,.55fr) auto;gap:10px;align-items:start;min-width:0;padding:10px;border-radius:8px;background:var(--md-sys-color-surface-container)}.surface-binding-row mat-form-field:nth-child(4){grid-column:1 / -2}.surface-binding-remove{color:var(--md-sys-color-error)}.surface-guidance{display:grid;gap:4px;padding:10px 12px;border-radius:8px;background:color-mix(in srgb,var(--md-sys-color-primary-container) 18%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:12px;line-height:1.45}.surface-guidance__item{overflow-wrap:anywhere}.surface-guidance__item--primary{color:var(--md-sys-color-on-surface)}mat-form-field{width:100%;min-width:0}@media(max-width:960px){.surface-section{padding:12px}.surface-span-2{grid-column:1 / -1}.surface-binding-row{grid-template-columns:minmax(0,1fr)}.surface-binding-row mat-form-field:nth-child(4){grid-column:auto}}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }] });
52169
52560
  }
52170
52561
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SurfaceOpenActionEditorComponent, decorators: [{
52171
52562
  type: Component,
@@ -57244,6 +57635,22 @@ function providePraxisUserContextSummaryMetadata() {
57244
57635
  * `DynamicWidgetLoaderDirective`.
57245
57636
  */
57246
57637
  const PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR = new InjectionToken('PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR');
57638
+ /**
57639
+ * Canonical injection token publishing `<praxis-widget-shell>` viewport state
57640
+ * to hosted widgets regardless of projection or DynamicWidgetLoader wrapping.
57641
+ */
57642
+ const PRAXIS_WIDGET_SHELL_VIEWPORT = new InjectionToken('PRAXIS_WIDGET_SHELL_VIEWPORT');
57643
+ /**
57644
+ * Detached baseline viewport context used by composite widgets as a view-tree
57645
+ * barrier so internal sub-widgets (banners, inline rich-content, nested helpers)
57646
+ * do not inherit an enclosing shell's fill/overlay viewport state.
57647
+ */
57648
+ const PRAXIS_DETACHED_WIDGET_SHELL_VIEWPORT = Object.freeze({
57649
+ windowState: signal('inline').asReadonly(),
57650
+ bodyLayout: signal('content').asReadonly(),
57651
+ fillAvailable: signal(false).asReadonly(),
57652
+ isOverlayWindow: signal(false).asReadonly(),
57653
+ });
57247
57654
  /** Validates an authored action identity, excluding platform-owned shell controls.
57248
57655
  * Pass sibling identities without the current action. No runtime contributions are persisted.
57249
57656
  */
@@ -57874,6 +58281,792 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
57874
58281
  `, styles: [":host{display:inline-flex;flex:0 0 auto}.avatar{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--p-space-9, 36px);block-size:var(--p-space-9, 36px);border-radius:50%;overflow:hidden;font-weight:600;background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}img{inline-size:100%;block-size:100%;object-fit:cover}\n"] }]
57875
58282
  }], propDecorators: { avatar: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatar", required: false }] }] } });
57876
58283
 
58284
+ function hasTextValue(value) {
58285
+ if (typeof value === 'string') {
58286
+ return value.trim().length > 0;
58287
+ }
58288
+ if (!value || typeof value !== 'object') {
58289
+ return false;
58290
+ }
58291
+ return Boolean(value.key?.trim() || value.text?.trim());
58292
+ }
58293
+ /** Returns true when a reading guide carries at least a non-empty summary. */
58294
+ function hasPraxisIndicatorReadingGuideContent(guide) {
58295
+ return Boolean(guide && hasTextValue(guide.summary));
58296
+ }
58297
+ function nonEmptyTrimmed(value) {
58298
+ const trimmed = value?.trim();
58299
+ return trimmed ? trimmed : undefined;
58300
+ }
58301
+ function buildInterpretationFromGuide(guide) {
58302
+ if (!guide) {
58303
+ return undefined;
58304
+ }
58305
+ const steps = (guide.howToRead ?? []).map((item) => item.trim()).filter(Boolean);
58306
+ const decision = nonEmptyTrimmed(guide.decisionGuidance) ?? nonEmptyTrimmed(guide.decisionBoundary);
58307
+ const parts = [...steps, ...(decision ? [decision] : [])];
58308
+ return parts.length > 0 ? parts.join(' ') : undefined;
58309
+ }
58310
+ function buildCaveatFromGuide(guide) {
58311
+ if (!guide) {
58312
+ return undefined;
58313
+ }
58314
+ const limitations = (guide.limitations ?? []).map((item) => item.trim()).filter(Boolean);
58315
+ if (limitations.length > 0) {
58316
+ return limitations.join(' ');
58317
+ }
58318
+ return nonEmptyTrimmed(guide.cautionNote);
58319
+ }
58320
+ /**
58321
+ * Builds a canonical `PraxisIndicatorReadingGuide` from a model-card or
58322
+ * epistemic metadata source, returning `null` if no descriptive summary exists.
58323
+ */
58324
+ function buildReadingGuideFromModelCard(source, fallbackSummary) {
58325
+ if (!source) {
58326
+ return hasTextValue(fallbackSummary) ? { summary: fallbackSummary } : null;
58327
+ }
58328
+ const guide = source.interpretationGuide;
58329
+ const guideSummary = nonEmptyTrimmed(guide?.plainLanguageSummary) ?? nonEmptyTrimmed(guide?.businessPurpose);
58330
+ const guideInterpretation = buildInterpretationFromGuide(guide);
58331
+ const guideCaveat = buildCaveatFromGuide(guide);
58332
+ const summary = hasTextValue(source.summary)
58333
+ ? source.summary
58334
+ : guideSummary
58335
+ ? guideSummary
58336
+ : source.methodologyNote?.trim()
58337
+ ? source.methodologyNote.trim()
58338
+ : fallbackSummary;
58339
+ if (!hasTextValue(summary)) {
58340
+ return null;
58341
+ }
58342
+ const interpretation = hasTextValue(source.interpretation)
58343
+ ? source.interpretation
58344
+ : guideInterpretation;
58345
+ const caveat = hasTextValue(source.caveat) ? source.caveat : guideCaveat;
58346
+ const trimmedModelId = source.modelCardId?.trim();
58347
+ const topicKey = source.assistantTopicKey?.trim() || (trimmedModelId ? `model:${trimmedModelId}` : undefined);
58348
+ return {
58349
+ ...(hasTextValue(source.title) ? { title: source.title } : {}),
58350
+ ...(hasTextValue(source.tooltip) ? { tooltip: source.tooltip } : {}),
58351
+ summary,
58352
+ ...(hasTextValue(source.formula) ? { formula: source.formula } : {}),
58353
+ ...(hasTextValue(interpretation) ? { interpretation } : {}),
58354
+ ...(hasTextValue(source.targetBand) ? { targetBand: source.targetBand } : {}),
58355
+ ...(hasTextValue(source.legalBasis) ? { legalBasis: source.legalBasis } : {}),
58356
+ ...(hasTextValue(caveat) ? { caveat } : {}),
58357
+ ...(source.epistemicKind ? { epistemicKind: source.epistemicKind } : {}),
58358
+ ...(hasTextValue(source.assistantPrompt) ? { assistantPrompt: source.assistantPrompt } : {}),
58359
+ ...(topicKey ? { assistantTopicKey: topicKey } : {}),
58360
+ ...(source.resourcePath !== undefined ? { resourcePath: source.resourcePath } : {}),
58361
+ ...(source.resourceKey !== undefined ? { resourceKey: source.resourceKey } : {}),
58362
+ ...(source.surfaceId?.trim() ? { surfaceId: source.surfaceId.trim() } : {}),
58363
+ ...(source.entityKey !== undefined
58364
+ ? { entityKey: source.entityKey }
58365
+ : trimmedModelId
58366
+ ? { entityKey: trimmedModelId }
58367
+ : {}),
58368
+ };
58369
+ }
58370
+ /**
58371
+ * Builds a didactic `PraxisIndicatorReadingGuide` directly from `PraxisEpistemicMeta`,
58372
+ * using `interpretationGuide` and statistical quality signals when present.
58373
+ */
58374
+ function buildReadingGuideFromEpistemicMeta(meta, options) {
58375
+ if (!meta) {
58376
+ return null;
58377
+ }
58378
+ const fallbackSummary = meta.kind
58379
+ ? { key: `praxis.intelligence.epistemic.tooltip.kind.${meta.kind}` }
58380
+ : undefined;
58381
+ const fallbackInterpretation = meta.qValueFdr !== undefined && meta.qValueFdr !== null
58382
+ ? { key: 'praxis.intelligence.epistemic.tooltip.qValueFdr' }
58383
+ : meta.sampleSize !== undefined && meta.sampleSize !== null
58384
+ ? { key: 'praxis.intelligence.epistemic.tooltip.sampleSize' }
58385
+ : undefined;
58386
+ const fallbackCaveat = (meta.suppressedCellCount ?? 0) > 0
58387
+ ? { key: 'praxis.intelligence.epistemic.tooltip.suppressed' }
58388
+ : meta.nigriniConformity
58389
+ ? { key: 'praxis.intelligence.epistemic.tooltip.nigrini' }
58390
+ : undefined;
58391
+ const derived = buildReadingGuideFromModelCard({
58392
+ modelCardId: meta.modelCardId,
58393
+ epistemicKind: meta.kind,
58394
+ interpretationGuide: meta.interpretationGuide,
58395
+ methodologyNote: meta.methodologyNote,
58396
+ title: options?.title ?? { key: 'praxis.intelligence.epistemic.defaultTitle' },
58397
+ assistantPrompt: options?.assistantPrompt,
58398
+ assistantTopicKey: options?.assistantTopicKey,
58399
+ resourcePath: options?.resourcePath,
58400
+ resourceKey: options?.resourceKey,
58401
+ surfaceId: options?.surfaceId,
58402
+ entityKey: options?.entityKey,
58403
+ }, fallbackSummary);
58404
+ if (!derived) {
58405
+ return null;
58406
+ }
58407
+ return {
58408
+ ...derived,
58409
+ ...(!hasTextValue(derived.interpretation) && fallbackInterpretation
58410
+ ? { interpretation: fallbackInterpretation }
58411
+ : {}),
58412
+ ...(!hasTextValue(derived.caveat) && fallbackCaveat ? { caveat: fallbackCaveat } : {}),
58413
+ };
58414
+ }
58415
+ function stripUndefinedGuideFields(guide) {
58416
+ const cleaned = {};
58417
+ for (const [key, value] of Object.entries(guide)) {
58418
+ if (value !== undefined) {
58419
+ cleaned[key] = value;
58420
+ }
58421
+ }
58422
+ return cleaned;
58423
+ }
58424
+ /** Merges ordered reading guides, preserving later explicit defined fields over defaults. */
58425
+ function mergePraxisIndicatorReadingGuides(...guides) {
58426
+ let merged = null;
58427
+ for (const guide of guides) {
58428
+ if (!guide) {
58429
+ continue;
58430
+ }
58431
+ const cleanGuide = stripUndefinedGuideFields(guide);
58432
+ if (!merged) {
58433
+ merged = cleanGuide;
58434
+ continue;
58435
+ }
58436
+ merged = {
58437
+ ...merged,
58438
+ ...cleanGuide,
58439
+ summary: hasTextValue(guide.summary) ? guide.summary : merged.summary,
58440
+ };
58441
+ }
58442
+ return hasPraxisIndicatorReadingGuideContent(merged) ? merged : null;
58443
+ }
58444
+
58445
+ let nextIndicatorGuidePopoverSeq = 0;
58446
+ let activeOpenPopoverInstance = null;
58447
+ /**
58448
+ * Neutral, accessible Top-Layer ("Como ler este indicador") popover trigger and
58449
+ * card. Designed to sit beside KPI titles, chart headers, epistemic badges, and
58450
+ * analytical drawer metrics without nesting inside another `<button>`.
58451
+ */
58452
+ class PraxisIndicatorGuidePopoverComponent {
58453
+ i18n = inject(PraxisI18nService, { optional: true });
58454
+ localeId = inject(LOCALE_ID, { optional: true });
58455
+ assistantLaunch = inject(PraxisOperationalAssistantLaunchService, {
58456
+ optional: true,
58457
+ });
58458
+ hostElement = inject(ElementRef);
58459
+ destroyRef = inject(DestroyRef);
58460
+ guide = input(null, ...(ngDevMode ? [{ debugName: "guide" }] : /* istanbul ignore next */ []));
58461
+ subjectTitle = input(null, ...(ngDevMode ? [{ debugName: "subjectTitle" }] : /* istanbul ignore next */ []));
58462
+ variant = input('icon', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
58463
+ size = input('sm', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
58464
+ icon = input('help_outline', ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
58465
+ placement = input('bottom-end', ...(ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []));
58466
+ showAssistantButton = input(true, ...(ngDevMode ? [{ debugName: "showAssistantButton" }] : /* istanbul ignore next */ []));
58467
+ /** Forces rendering the Assistant CTA even if `PraxisOperationalAssistantLaunchService` is absent (for hosts handling `(assistantAsk)`). */
58468
+ forceAssistantButton = input(false, ...(ngDevMode ? [{ debugName: "forceAssistantButton" }] : /* istanbul ignore next */ []));
58469
+ testIdPrefix = input('indicator-guide', ...(ngDevMode ? [{ debugName: "testIdPrefix" }] : /* istanbul ignore next */ []));
58470
+ opened = output();
58471
+ closed = output();
58472
+ assistantAsk = output();
58473
+ popoverId = `praxis-indicator-guide-${++nextIndicatorGuidePopoverSeq}`;
58474
+ headingId = `${this.popoverId}-heading`;
58475
+ triggerBtn = viewChild('triggerBtn', ...(ngDevMode ? [{ debugName: "triggerBtn" }] : /* istanbul ignore next */ []));
58476
+ popoverPanel = viewChild('popoverPanel', ...(ngDevMode ? [{ debugName: "popoverPanel" }] : /* istanbul ignore next */ []));
58477
+ openSignal = signal(false, ...(ngDevMode ? [{ debugName: "openSignal" }] : /* istanbul ignore next */ []));
58478
+ open = this.openSignal.asReadonly();
58479
+ popoverPosition = signal(null, ...(ngDevMode ? [{ debugName: "popoverPosition" }] : /* istanbul ignore next */ []));
58480
+ resolvedGuide = computed(() => {
58481
+ const raw = this.guide();
58482
+ if (!hasPraxisIndicatorReadingGuideContent(raw)) {
58483
+ return null;
58484
+ }
58485
+ return this.resolveText(raw.summary).length > 0 ? raw : null;
58486
+ }, ...(ngDevMode ? [{ debugName: "resolvedGuide" }] : /* istanbul ignore next */ []));
58487
+ resolvedSummary = computed(() => this.resolveText(this.resolvedGuide()?.summary), ...(ngDevMode ? [{ debugName: "resolvedSummary" }] : /* istanbul ignore next */ []));
58488
+ resolvedFormula = computed(() => this.resolveText(this.resolvedGuide()?.formula), ...(ngDevMode ? [{ debugName: "resolvedFormula" }] : /* istanbul ignore next */ []));
58489
+ resolvedInterpretation = computed(() => this.resolveText(this.resolvedGuide()?.interpretation), ...(ngDevMode ? [{ debugName: "resolvedInterpretation" }] : /* istanbul ignore next */ []));
58490
+ resolvedTargetBand = computed(() => this.resolveText(this.resolvedGuide()?.targetBand), ...(ngDevMode ? [{ debugName: "resolvedTargetBand" }] : /* istanbul ignore next */ []));
58491
+ resolvedLegalBasis = computed(() => this.resolveText(this.resolvedGuide()?.legalBasis), ...(ngDevMode ? [{ debugName: "resolvedLegalBasis" }] : /* istanbul ignore next */ []));
58492
+ resolvedCaveat = computed(() => this.resolveText(this.resolvedGuide()?.caveat), ...(ngDevMode ? [{ debugName: "resolvedCaveat" }] : /* istanbul ignore next */ []));
58493
+ popoverHeading = computed(() => {
58494
+ const g = this.resolvedGuide();
58495
+ return (this.resolveText(g?.title) ||
58496
+ this.resolveText(this.subjectTitle()) ||
58497
+ this.t('praxis.readingGuide.popover.defaultTitle', undefined, 'Como ler este indicador'));
58498
+ }, ...(ngDevMode ? [{ debugName: "popoverHeading" }] : /* istanbul ignore next */ []));
58499
+ triggerButtonText = computed(() => this.t('praxis.readingGuide.trigger.shortLabel', undefined, 'Como ler'), ...(ngDevMode ? [{ debugName: "triggerButtonText" }] : /* istanbul ignore next */ []));
58500
+ triggerAriaLabel = computed(() => this.t('praxis.readingGuide.trigger.ariaLabel', { title: this.popoverHeading() }, `Como ler: ${this.popoverHeading()}`), ...(ngDevMode ? [{ debugName: "triggerAriaLabel" }] : /* istanbul ignore next */ []));
58501
+ shortTooltip = computed(() => {
58502
+ const explicitTooltip = this.resolveText(this.resolvedGuide()?.tooltip);
58503
+ return (explicitTooltip ||
58504
+ this.t('praxis.readingGuide.trigger.label', undefined, 'Como ler este indicador'));
58505
+ }, ...(ngDevMode ? [{ debugName: "shortTooltip" }] : /* istanbul ignore next */ []));
58506
+ closeButtonLabel = computed(() => this.t('praxis.readingGuide.popover.closeLabel', undefined, 'Fechar guia de leitura'), ...(ngDevMode ? [{ debugName: "closeButtonLabel" }] : /* istanbul ignore next */ []));
58507
+ labelWhatItMeasures = computed(() => this.t('praxis.readingGuide.popover.section.whatItMeasures', undefined, 'O que mede'), ...(ngDevMode ? [{ debugName: "labelWhatItMeasures" }] : /* istanbul ignore next */ []));
58508
+ labelFormula = computed(() => this.t('praxis.readingGuide.popover.section.formula', undefined, 'Como é calculado'), ...(ngDevMode ? [{ debugName: "labelFormula" }] : /* istanbul ignore next */ []));
58509
+ labelInterpretation = computed(() => this.t('praxis.readingGuide.popover.section.interpretation', undefined, 'Como interpretar'), ...(ngDevMode ? [{ debugName: "labelInterpretation" }] : /* istanbul ignore next */ []));
58510
+ labelTargetBand = computed(() => this.t('praxis.readingGuide.popover.section.targetBand', undefined, 'Faixa ou meta de referência'), ...(ngDevMode ? [{ debugName: "labelTargetBand" }] : /* istanbul ignore next */ []));
58511
+ labelLegalBasis = computed(() => this.t('praxis.readingGuide.popover.section.legalBasis', undefined, 'Fundamentação legal'), ...(ngDevMode ? [{ debugName: "labelLegalBasis" }] : /* istanbul ignore next */ []));
58512
+ labelCaveat = computed(() => this.t('praxis.readingGuide.popover.section.caveat', undefined, 'Cuidado metodológico e limites'), ...(ngDevMode ? [{ debugName: "labelCaveat" }] : /* istanbul ignore next */ []));
58513
+ askAssistantLabel = computed(() => this.t('praxis.readingGuide.popover.askAssistant', undefined, 'Perguntar ao Assistente'), ...(ngDevMode ? [{ debugName: "askAssistantLabel" }] : /* istanbul ignore next */ []));
58514
+ askAssistantAriaLabel = computed(() => this.t('praxis.readingGuide.popover.askAssistantAria', { title: this.popoverHeading() }, `Perguntar ao Assistente sobre ${this.popoverHeading()}`), ...(ngDevMode ? [{ debugName: "askAssistantAriaLabel" }] : /* istanbul ignore next */ []));
58515
+ epistemicKindIcon = computed(() => {
58516
+ const kind = this.resolvedGuide()?.epistemicKind;
58517
+ return kind ? getPraxisEpistemicKindIcon(kind) : 'analytics';
58518
+ }, ...(ngDevMode ? [{ debugName: "epistemicKindIcon" }] : /* istanbul ignore next */ []));
58519
+ epistemicKindLabel = computed(() => {
58520
+ const kind = this.resolvedGuide()?.epistemicKind;
58521
+ if (!kind) {
58522
+ return '';
58523
+ }
58524
+ return resolvePraxisIntelligenceMessage(this.i18n, `praxis.intelligence.epistemic.kind.${kind}`, undefined, kind, this.resolveLocale());
58525
+ }, ...(ngDevMode ? [{ debugName: "epistemicKindLabel" }] : /* istanbul ignore next */ []));
58526
+ canShowAssistantAction = computed(() => this.showAssistantButton() &&
58527
+ Boolean(this.resolvedGuide()) &&
58528
+ (this.assistantLaunch?.isAvailable() === true || this.forceAssistantButton()), ...(ngDevMode ? [{ debugName: "canShowAssistantAction" }] : /* istanbul ignore next */ []));
58529
+ constructor() {
58530
+ effect(() => {
58531
+ if (!this.resolvedGuide() && untracked(() => this.openSignal())) {
58532
+ untracked(() => this.close(false));
58533
+ }
58534
+ });
58535
+ effect((onCleanup) => {
58536
+ const panel = this.popoverPanel();
58537
+ const isOpen = this.openSignal();
58538
+ const panelEl = panel?.nativeElement;
58539
+ if (!isOpen || !panelEl?.isConnected) {
58540
+ this.popoverPosition.set(null);
58541
+ return;
58542
+ }
58543
+ const topLayerEl = panelEl;
58544
+ try {
58545
+ if (typeof topLayerEl.showPopover === 'function' && !panelEl.matches(':popover-open')) {
58546
+ topLayerEl.showPopover();
58547
+ }
58548
+ }
58549
+ catch {
58550
+ // Environments without top-layer Popover API still render fixed-positioned panel.
58551
+ }
58552
+ this.updatePosition(panelEl);
58553
+ panelEl.focus({ preventScroll: true });
58554
+ const reposition = () => {
58555
+ if (!panelEl.isConnected || !this.openSignal()) {
58556
+ return;
58557
+ }
58558
+ const anchorEl = this.triggerBtn()?.nativeElement ?? this.hostElement.nativeElement;
58559
+ const anchorRect = anchorEl.getBoundingClientRect();
58560
+ const viewportW = typeof window !== 'undefined' ? window.innerWidth || 1024 : 1024;
58561
+ const viewportH = typeof window !== 'undefined' ? window.innerHeight || 768 : 768;
58562
+ if ((anchorRect.width > 0 || anchorRect.height > 0) &&
58563
+ (anchorRect.bottom < 0 ||
58564
+ anchorRect.top > viewportH ||
58565
+ anchorRect.right < 0 ||
58566
+ anchorRect.left > viewportW)) {
58567
+ this.close(false);
58568
+ return;
58569
+ }
58570
+ this.updatePosition(panelEl);
58571
+ };
58572
+ const onPointerDown = (event) => {
58573
+ const target = event.target;
58574
+ if (!target || panelEl.contains(target)) {
58575
+ return;
58576
+ }
58577
+ const triggerEl = this.triggerBtn()?.nativeElement;
58578
+ if (triggerEl?.contains(target)) {
58579
+ return;
58580
+ }
58581
+ this.close(false);
58582
+ };
58583
+ const onFocusIn = (event) => {
58584
+ const target = event.target;
58585
+ if (!target || panelEl.contains(target)) {
58586
+ return;
58587
+ }
58588
+ const triggerEl = this.triggerBtn()?.nativeElement;
58589
+ if (triggerEl?.contains(target)) {
58590
+ return;
58591
+ }
58592
+ this.close(false);
58593
+ };
58594
+ const onDocumentKeydown = (event) => {
58595
+ if (event.key === 'Escape') {
58596
+ event.preventDefault();
58597
+ event.stopPropagation();
58598
+ this.close(true);
58599
+ }
58600
+ };
58601
+ window.addEventListener('resize', reposition, { passive: true });
58602
+ window.addEventListener('scroll', reposition, { capture: true, passive: true });
58603
+ document.addEventListener('pointerdown', onPointerDown, { capture: true });
58604
+ document.addEventListener('focusin', onFocusIn, { capture: true });
58605
+ document.addEventListener('keydown', onDocumentKeydown, { capture: true });
58606
+ onCleanup(() => {
58607
+ window.removeEventListener('resize', reposition);
58608
+ window.removeEventListener('scroll', reposition, { capture: true });
58609
+ document.removeEventListener('pointerdown', onPointerDown, { capture: true });
58610
+ document.removeEventListener('focusin', onFocusIn, { capture: true });
58611
+ document.removeEventListener('keydown', onDocumentKeydown, { capture: true });
58612
+ try {
58613
+ if (typeof topLayerEl.hidePopover === 'function' && panelEl.matches(':popover-open')) {
58614
+ topLayerEl.hidePopover();
58615
+ }
58616
+ }
58617
+ catch {
58618
+ // Ignore teardown errors when DOM node is already detached.
58619
+ }
58620
+ });
58621
+ });
58622
+ this.destroyRef.onDestroy(() => {
58623
+ if (activeOpenPopoverInstance === this) {
58624
+ activeOpenPopoverInstance = null;
58625
+ }
58626
+ this.openSignal.set(false);
58627
+ });
58628
+ }
58629
+ toggle(event) {
58630
+ event?.stopPropagation();
58631
+ if (this.openSignal()) {
58632
+ this.close(true);
58633
+ }
58634
+ else {
58635
+ this.openPopover();
58636
+ }
58637
+ }
58638
+ openPopover() {
58639
+ if (!this.resolvedGuide() || this.openSignal()) {
58640
+ return;
58641
+ }
58642
+ if (activeOpenPopoverInstance && activeOpenPopoverInstance !== this) {
58643
+ activeOpenPopoverInstance.close(false);
58644
+ }
58645
+ activeOpenPopoverInstance = this;
58646
+ this.openSignal.set(true);
58647
+ this.opened.emit();
58648
+ }
58649
+ close(restoreFocus = true) {
58650
+ if (activeOpenPopoverInstance === this) {
58651
+ activeOpenPopoverInstance = null;
58652
+ }
58653
+ if (!this.openSignal()) {
58654
+ return;
58655
+ }
58656
+ this.openSignal.set(false);
58657
+ this.popoverPosition.set(null);
58658
+ this.closed.emit();
58659
+ if (restoreFocus) {
58660
+ const trigger = this.triggerBtn()?.nativeElement;
58661
+ if (trigger?.isConnected) {
58662
+ trigger.focus({ preventScroll: true });
58663
+ }
58664
+ }
58665
+ }
58666
+ onPanelKeydown(event) {
58667
+ if (event.key === 'Escape') {
58668
+ event.preventDefault();
58669
+ event.stopPropagation();
58670
+ this.close(true);
58671
+ return;
58672
+ }
58673
+ if (event.key === 'Enter' ||
58674
+ event.key === ' ' ||
58675
+ event.key === 'ArrowUp' ||
58676
+ event.key === 'ArrowDown' ||
58677
+ event.key === 'ArrowLeft' ||
58678
+ event.key === 'ArrowRight' ||
58679
+ event.key === 'Home' ||
58680
+ event.key === 'End') {
58681
+ event.stopPropagation();
58682
+ }
58683
+ }
58684
+ onAskAssistant() {
58685
+ const g = this.resolvedGuide();
58686
+ if (!g) {
58687
+ return;
58688
+ }
58689
+ const title = this.popoverHeading();
58690
+ const explicitPrompt = this.resolveText(g.assistantPrompt);
58691
+ const prompt = explicitPrompt ||
58692
+ this.t('praxis.readingGuide.popover.defaultAssistantPrompt', { title }, `Explique em linguagem prática o indicador "${title}", sua regra de cálculo, limites de interpretação e quando exige ação gerencial.`);
58693
+ const request = {
58694
+ prompt,
58695
+ ...(g.surfaceId ? { surfaceId: g.surfaceId } : {}),
58696
+ ...(g.resourcePath !== undefined ? { resourcePath: g.resourcePath } : {}),
58697
+ ...(g.resourceKey !== undefined ? { resourceKey: g.resourceKey } : {}),
58698
+ ...(g.assistantTopicKey ? { topicKey: g.assistantTopicKey } : {}),
58699
+ ...(g.entityKey !== undefined ? { entityKey: g.entityKey } : {}),
58700
+ recordTitle: title,
58701
+ metadata: {
58702
+ source: 'indicator-reading-guide',
58703
+ ...(g.epistemicKind ? { epistemicKind: g.epistemicKind } : {}),
58704
+ ...(g.legalBasis ? { legalBasis: this.resolveText(g.legalBasis) } : {}),
58705
+ },
58706
+ };
58707
+ this.assistantLaunch?.ask(request);
58708
+ this.assistantAsk.emit(request);
58709
+ this.close(false);
58710
+ }
58711
+ updatePosition(panelEl) {
58712
+ const anchorEl = this.triggerBtn()?.nativeElement ?? this.hostElement.nativeElement;
58713
+ const anchorRect = anchorEl.getBoundingClientRect();
58714
+ const viewportW = typeof window !== 'undefined' ? window.innerWidth || 1024 : 1024;
58715
+ const viewportH = typeof window !== 'undefined' ? window.innerHeight || 768 : 768;
58716
+ const margin = 8;
58717
+ const gap = 8;
58718
+ const panelRect = panelEl.getBoundingClientRect();
58719
+ const panelW = Math.min(panelRect.width || 360, viewportW - margin * 2);
58720
+ const panelH = Math.min(panelRect.height || 260, viewportH - margin * 2);
58721
+ const prefersTop = this.placement().startsWith('top');
58722
+ const prefersEnd = this.placement().endsWith('end');
58723
+ let top = prefersTop ? anchorRect.top - gap - panelH : anchorRect.bottom + gap;
58724
+ if (!prefersTop && top + panelH > viewportH - margin && anchorRect.top - gap - panelH >= margin) {
58725
+ top = anchorRect.top - gap - panelH;
58726
+ }
58727
+ else if (prefersTop && top < margin && anchorRect.bottom + gap + panelH <= viewportH - margin) {
58728
+ top = anchorRect.bottom + gap;
58729
+ }
58730
+ top = Math.max(margin, Math.min(top, Math.max(margin, viewportH - panelH - margin)));
58731
+ let left = prefersEnd ? anchorRect.right - panelW : anchorRect.left;
58732
+ left = Math.max(margin, Math.min(left, Math.max(margin, viewportW - panelW - margin)));
58733
+ const nextPos = {
58734
+ top: Math.round(top),
58735
+ left: Math.round(left),
58736
+ };
58737
+ panelEl.style.top = `${nextPos.top}px`;
58738
+ panelEl.style.left = `${nextPos.left}px`;
58739
+ this.popoverPosition.set(nextPos);
58740
+ }
58741
+ resolveText(value) {
58742
+ if (value === null || value === undefined) {
58743
+ return '';
58744
+ }
58745
+ if (typeof value === 'string') {
58746
+ return value.trim();
58747
+ }
58748
+ if (value.key) {
58749
+ if (this.i18n && typeof this.i18n.resolve === 'function') {
58750
+ const resolved = this.i18n.resolve(value, '').trim();
58751
+ if (resolved && resolved !== value.key) {
58752
+ return resolved;
58753
+ }
58754
+ }
58755
+ if (value.key.startsWith('praxis.intelligence.')) {
58756
+ const intelMsg = resolvePraxisIntelligenceMessage(this.i18n, value.key, value.params, value.text ?? '', this.resolveLocale()).trim();
58757
+ if (intelMsg && intelMsg !== value.key) {
58758
+ return intelMsg;
58759
+ }
58760
+ }
58761
+ const guideMsg = this.t(value.key, value.params, value.text ?? '').trim();
58762
+ if (guideMsg && guideMsg !== value.key) {
58763
+ return guideMsg;
58764
+ }
58765
+ }
58766
+ if (value.text) {
58767
+ return value.params
58768
+ ? interpolatePraxisTranslation(value.text, value.params).trim()
58769
+ : value.text.trim();
58770
+ }
58771
+ return '';
58772
+ }
58773
+ resolveLocale() {
58774
+ const serviceLocale = this.i18n?.getLocale?.()?.trim();
58775
+ if (serviceLocale) {
58776
+ return serviceLocale;
58777
+ }
58778
+ const tokenLocale = typeof this.localeId === 'string' ? this.localeId.trim() : '';
58779
+ return tokenLocale || 'pt-BR';
58780
+ }
58781
+ t(key, params, fallback) {
58782
+ return resolvePraxisReadingGuideMessage(this.i18n, key, params, fallback, this.resolveLocale());
58783
+ }
58784
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIndicatorGuidePopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
58785
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisIndicatorGuidePopoverComponent, isStandalone: true, selector: "praxis-indicator-guide-popover", inputs: { guide: { classPropertyName: "guide", publicName: "guide", isSignal: true, isRequired: false, transformFunction: null }, subjectTitle: { classPropertyName: "subjectTitle", publicName: "subjectTitle", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, showAssistantButton: { classPropertyName: "showAssistantButton", publicName: "showAssistantButton", isSignal: true, isRequired: false, transformFunction: null }, forceAssistantButton: { classPropertyName: "forceAssistantButton", publicName: "forceAssistantButton", isSignal: true, isRequired: false, transformFunction: null }, testIdPrefix: { classPropertyName: "testIdPrefix", publicName: "testIdPrefix", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened", closed: "closed", assistantAsk: "assistantAsk" }, host: { properties: { "attr.data-variant": "variant()", "attr.data-open": "open() ? \"true\" : \"false\"" }, classAttribute: "prx-guide-popover-host" }, viewQueries: [{ propertyName: "triggerBtn", first: true, predicate: ["triggerBtn"], descendants: true, isSignal: true }, { propertyName: "popoverPanel", first: true, predicate: ["popoverPanel"], descendants: true, isSignal: true }], ngImport: i0, template: `
58786
+ @if (resolvedGuide(); as g) {
58787
+ <button
58788
+ #triggerBtn
58789
+ type="button"
58790
+ class="prx-guide-trigger"
58791
+ [class.prx-guide-trigger--icon]="variant() === 'icon'"
58792
+ [class.prx-guide-trigger--chip]="variant() === 'chip'"
58793
+ [class.prx-guide-trigger--text]="variant() === 'text'"
58794
+ [class.prx-guide-trigger--md]="size() === 'md'"
58795
+ [attr.aria-controls]="open() ? popoverId : null"
58796
+ aria-haspopup="dialog"
58797
+ [attr.aria-expanded]="open() ? 'true' : 'false'"
58798
+ [attr.aria-label]="triggerAriaLabel()"
58799
+ [matTooltip]="shortTooltip()"
58800
+ [matTooltipDisabled]="open()"
58801
+ matTooltipPosition="above"
58802
+ [attr.data-testid]="testIdPrefix() + '-trigger'"
58803
+ (click)="toggle($event)"
58804
+ (keydown.enter)="$event.stopPropagation()"
58805
+ (keydown.space)="$event.stopPropagation()"
58806
+ >
58807
+ <mat-icon aria-hidden="true">{{ icon() }}</mat-icon>
58808
+ @if (variant() !== 'icon') {
58809
+ <span class="prx-guide-trigger__label">{{ triggerButtonText() }}</span>
58810
+ }
58811
+ </button>
58812
+
58813
+ @if (open()) {
58814
+ <aside
58815
+ #popoverPanel
58816
+ [id]="popoverId"
58817
+ class="prx-guide-popover"
58818
+ popover="manual"
58819
+ role="dialog"
58820
+ [attr.aria-labelledby]="headingId"
58821
+ [style.top.px]="popoverPosition()?.top ?? null"
58822
+ [style.left.px]="popoverPosition()?.left ?? null"
58823
+ tabindex="-1"
58824
+ [attr.data-testid]="testIdPrefix() + '-panel'"
58825
+ (pointerdown)="$event.stopPropagation()"
58826
+ (click)="$event.stopPropagation()"
58827
+ (keydown)="onPanelKeydown($event)"
58828
+ >
58829
+ <header class="prx-guide-popover__header">
58830
+ <div class="prx-guide-popover__title-group">
58831
+ <mat-icon class="prx-guide-popover__header-icon" aria-hidden="true">menu_book</mat-icon>
58832
+ <h4 [id]="headingId" class="prx-guide-popover__title">{{ popoverHeading() }}</h4>
58833
+ </div>
58834
+ <button
58835
+ type="button"
58836
+ class="prx-guide-popover__close"
58837
+ [attr.aria-label]="closeButtonLabel()"
58838
+ [attr.data-testid]="testIdPrefix() + '-close'"
58839
+ (click)="close(true)"
58840
+ >
58841
+ <mat-icon aria-hidden="true">close</mat-icon>
58842
+ </button>
58843
+ </header>
58844
+
58845
+ @if (epistemicKindLabel(); as kindText) {
58846
+ <div class="prx-guide-popover__kind-row">
58847
+ <span class="prx-guide-popover__kind-chip" [attr.data-epistemic-kind]="g.epistemicKind">
58848
+ <mat-icon aria-hidden="true">{{ epistemicKindIcon() }}</mat-icon>
58849
+ <span>{{ kindText }}</span>
58850
+ </span>
58851
+ </div>
58852
+ }
58853
+
58854
+ <dl class="prx-guide-popover__sections">
58855
+ <div class="prx-guide-popover__section">
58856
+ <dt>{{ labelWhatItMeasures() }}</dt>
58857
+ <dd [attr.data-testid]="testIdPrefix() + '-summary'">{{ resolvedSummary() }}</dd>
58858
+ </div>
58859
+
58860
+ @if (resolvedFormula(); as formulaText) {
58861
+ <div class="prx-guide-popover__section">
58862
+ <dt>{{ labelFormula() }}</dt>
58863
+ <dd [attr.data-testid]="testIdPrefix() + '-formula'">{{ formulaText }}</dd>
58864
+ </div>
58865
+ }
58866
+
58867
+ @if (resolvedInterpretation(); as interpText) {
58868
+ <div class="prx-guide-popover__section">
58869
+ <dt>{{ labelInterpretation() }}</dt>
58870
+ <dd [attr.data-testid]="testIdPrefix() + '-interpretation'">{{ interpText }}</dd>
58871
+ </div>
58872
+ }
58873
+
58874
+ @if (resolvedTargetBand(); as bandText) {
58875
+ <div class="prx-guide-popover__section">
58876
+ <dt>{{ labelTargetBand() }}</dt>
58877
+ <dd class="prx-guide-popover__band" [attr.data-testid]="testIdPrefix() + '-target-band'">
58878
+ {{ bandText }}
58879
+ </dd>
58880
+ </div>
58881
+ }
58882
+
58883
+ @if (resolvedLegalBasis(); as legalText) {
58884
+ <div class="prx-guide-popover__section">
58885
+ <dt>{{ labelLegalBasis() }}</dt>
58886
+ <dd [attr.data-testid]="testIdPrefix() + '-legal-basis'">{{ legalText }}</dd>
58887
+ </div>
58888
+ }
58889
+ </dl>
58890
+
58891
+ @if (resolvedCaveat(); as caveatText) {
58892
+ <div
58893
+ class="prx-guide-popover__caveat"
58894
+ role="note"
58895
+ [attr.data-testid]="testIdPrefix() + '-caveat'"
58896
+ >
58897
+ <div class="prx-guide-popover__caveat-title">
58898
+ <mat-icon aria-hidden="true">info_outline</mat-icon>
58899
+ <span>{{ labelCaveat() }}</span>
58900
+ </div>
58901
+ <p class="prx-guide-popover__caveat-body">{{ caveatText }}</p>
58902
+ </div>
58903
+ }
58904
+
58905
+ @if (canShowAssistantAction()) {
58906
+ <footer class="prx-guide-popover__footer">
58907
+ <button
58908
+ type="button"
58909
+ class="prx-guide-popover__assistant-btn"
58910
+ [attr.aria-label]="askAssistantAriaLabel()"
58911
+ [attr.data-testid]="testIdPrefix() + '-ask-assistant'"
58912
+ (click)="onAskAssistant()"
58913
+ >
58914
+ <mat-icon aria-hidden="true">auto_awesome</mat-icon>
58915
+ <span>{{ askAssistantLabel() }}</span>
58916
+ </button>
58917
+ </footer>
58918
+ }
58919
+ </aside>
58920
+ }
58921
+ }
58922
+ `, isInline: true, styles: [":host{display:inline-flex;align-items:center;vertical-align:middle;flex:0 0 auto}.prx-guide-trigger{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--md-sys-color-outline-variant, rgba(15, 23, 42, .2)) 78%,transparent);background:color-mix(in oklab,var(--md-sys-color-surface-container-low, #f8fafc) 82%,transparent);color:var(--md-sys-color-on-surface-variant, #475569);font-family:inherit;font-size:.72rem;font-weight:600;letter-spacing:normal;line-height:1;text-transform:none;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.prx-guide-trigger--icon{width:1.5rem;height:1.5rem;padding:0}.prx-guide-trigger--icon.prx-guide-trigger--md{width:1.75rem;height:1.75rem}.prx-guide-trigger--chip{padding:.22rem .55rem;min-height:1.5rem}.prx-guide-trigger--text{border-color:transparent;background:transparent;padding:.18rem .35rem}.prx-guide-trigger mat-icon{width:.92rem;height:.92rem;font-size:.92rem;line-height:.92rem;flex:0 0 auto}.prx-guide-trigger--md mat-icon{width:1.05rem;height:1.05rem;font-size:1.05rem;line-height:1.05rem}.prx-guide-trigger:hover{background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 10%,transparent);border-color:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 35%,transparent);color:var(--md-sys-color-primary, #006a6a)}.prx-guide-trigger:focus-visible{outline:2px solid var(--md-sys-color-primary, #006a6a);outline-offset:2px}.prx-guide-popover{position:fixed;inset:auto;margin:0;z-index:1400;box-sizing:border-box;width:min(380px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow-y:auto;padding:.9rem 1rem;border-radius:14px;border:1px solid var(--md-sys-color-outline-variant, rgba(15, 23, 42, .16));background:var(--md-sys-color-surface-container-high, var(--md-sys-color-surface, #f8fafc));color:var(--md-sys-color-on-surface, #0f172a);box-shadow:0 18px 42px -12px #0f172a47;font-size:.78rem;font-weight:400;font-style:normal;letter-spacing:normal;line-height:1.45;text-transform:none;text-align:left;white-space:normal}.prx-guide-popover:focus{outline:none}.prx-guide-popover__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;margin-bottom:.65rem}.prx-guide-popover__title-group{display:flex;align-items:center;gap:.4rem;min-width:0}.prx-guide-popover__header-icon{width:1.05rem;height:1.05rem;font-size:1.05rem;line-height:1.05rem;color:var(--md-sys-color-primary, #006a6a);flex:0 0 auto}.prx-guide-popover__title{margin:0;font-size:.86rem;font-weight:700;line-height:1.25;color:var(--md-sys-color-on-surface, inherit)}.prx-guide-popover__close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:1.6rem;height:1.6rem;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--md-sys-color-on-surface-variant, #475569);cursor:pointer}.prx-guide-popover__close:hover{background:color-mix(in oklab,var(--md-sys-color-on-surface, #0f172a) 8%,transparent)}.prx-guide-popover__close:focus-visible{outline:2px solid var(--md-sys-color-primary, #006a6a);outline-offset:2px}.prx-guide-popover__close mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem}.prx-guide-popover__kind-row{margin-bottom:.55rem}.prx-guide-popover__kind-chip{display:inline-flex;align-items:center;gap:.3rem;padding:.16rem .5rem;border-radius:999px;font-size:.69rem;font-weight:600;background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 11%,transparent);color:var(--md-sys-color-primary, #006a6a)}.prx-guide-popover__kind-chip mat-icon{width:.85rem;height:.85rem;font-size:.85rem;line-height:.85rem}.prx-guide-popover__sections{display:grid;gap:.55rem;margin:0}.prx-guide-popover__section dt{margin:0 0 .14rem;font-size:.69rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant, #475569)}.prx-guide-popover__section dd{margin:0;color:var(--md-sys-color-on-surface, inherit)}.prx-guide-popover__band{padding:.32rem .55rem;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-surface-container-low, #f1f5f9) 88%,transparent);border:1px solid var(--md-sys-color-outline-variant, rgba(15, 23, 42, .12));font-weight:600}.prx-guide-popover__caveat{margin-top:.65rem;padding:.5rem .65rem;border-radius:10px;border:1px solid color-mix(in oklab,var(--praxis-warning, #b45309) 28%,transparent);background:color-mix(in oklab,var(--praxis-warning, #b45309) 9%,transparent);color:var(--md-sys-color-on-surface, inherit)}.prx-guide-popover__caveat-title{display:flex;align-items:center;gap:.32rem;font-size:.71rem;font-weight:700;color:var( --praxis-warning, var( --warning, color-mix(in oklab, #b45309 45%, var(--md-sys-color-on-surface, currentColor)) ) );margin-bottom:.18rem}.prx-guide-popover__caveat-title mat-icon{width:.9rem;height:.9rem;font-size:.9rem;line-height:.9rem}.prx-guide-popover__caveat-body{margin:0;font-size:.75rem;line-height:1.4}.prx-guide-popover__footer{display:flex;justify-content:flex-end;margin-top:.75rem;padding-top:.6rem;border-top:1px solid var(--md-sys-color-outline-variant, rgba(15, 23, 42, .12))}.prx-guide-popover__assistant-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.36rem .72rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 36%,transparent);background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 12%,transparent);color:var(--md-sys-color-primary, #006a6a);font-family:inherit;font-size:.73rem;font-weight:600;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}.prx-guide-popover__assistant-btn:hover{background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 20%,transparent)}.prx-guide-popover__assistant-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, #006a6a);outline-offset:2px}.prx-guide-popover__assistant-btn mat-icon{width:.95rem;height:.95rem;font-size:.95rem;line-height:.95rem}@media(prefers-reduced-motion:reduce){.prx-guide-trigger,.prx-guide-popover__assistant-btn{transition:none}}@media(forced-colors:active){.prx-guide-trigger,.prx-guide-popover,.prx-guide-popover__band,.prx-guide-popover__caveat,.prx-guide-popover__assistant-btn{border:1px solid CanvasText;background:Canvas;color:CanvasText}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
58923
+ }
58924
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIndicatorGuidePopoverComponent, decorators: [{
58925
+ type: Component,
58926
+ args: [{ selector: 'praxis-indicator-guide-popover', standalone: true, imports: [MatIconModule, MatTooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, host: {
58927
+ class: 'prx-guide-popover-host',
58928
+ '[attr.data-variant]': 'variant()',
58929
+ '[attr.data-open]': 'open() ? "true" : "false"',
58930
+ }, template: `
58931
+ @if (resolvedGuide(); as g) {
58932
+ <button
58933
+ #triggerBtn
58934
+ type="button"
58935
+ class="prx-guide-trigger"
58936
+ [class.prx-guide-trigger--icon]="variant() === 'icon'"
58937
+ [class.prx-guide-trigger--chip]="variant() === 'chip'"
58938
+ [class.prx-guide-trigger--text]="variant() === 'text'"
58939
+ [class.prx-guide-trigger--md]="size() === 'md'"
58940
+ [attr.aria-controls]="open() ? popoverId : null"
58941
+ aria-haspopup="dialog"
58942
+ [attr.aria-expanded]="open() ? 'true' : 'false'"
58943
+ [attr.aria-label]="triggerAriaLabel()"
58944
+ [matTooltip]="shortTooltip()"
58945
+ [matTooltipDisabled]="open()"
58946
+ matTooltipPosition="above"
58947
+ [attr.data-testid]="testIdPrefix() + '-trigger'"
58948
+ (click)="toggle($event)"
58949
+ (keydown.enter)="$event.stopPropagation()"
58950
+ (keydown.space)="$event.stopPropagation()"
58951
+ >
58952
+ <mat-icon aria-hidden="true">{{ icon() }}</mat-icon>
58953
+ @if (variant() !== 'icon') {
58954
+ <span class="prx-guide-trigger__label">{{ triggerButtonText() }}</span>
58955
+ }
58956
+ </button>
58957
+
58958
+ @if (open()) {
58959
+ <aside
58960
+ #popoverPanel
58961
+ [id]="popoverId"
58962
+ class="prx-guide-popover"
58963
+ popover="manual"
58964
+ role="dialog"
58965
+ [attr.aria-labelledby]="headingId"
58966
+ [style.top.px]="popoverPosition()?.top ?? null"
58967
+ [style.left.px]="popoverPosition()?.left ?? null"
58968
+ tabindex="-1"
58969
+ [attr.data-testid]="testIdPrefix() + '-panel'"
58970
+ (pointerdown)="$event.stopPropagation()"
58971
+ (click)="$event.stopPropagation()"
58972
+ (keydown)="onPanelKeydown($event)"
58973
+ >
58974
+ <header class="prx-guide-popover__header">
58975
+ <div class="prx-guide-popover__title-group">
58976
+ <mat-icon class="prx-guide-popover__header-icon" aria-hidden="true">menu_book</mat-icon>
58977
+ <h4 [id]="headingId" class="prx-guide-popover__title">{{ popoverHeading() }}</h4>
58978
+ </div>
58979
+ <button
58980
+ type="button"
58981
+ class="prx-guide-popover__close"
58982
+ [attr.aria-label]="closeButtonLabel()"
58983
+ [attr.data-testid]="testIdPrefix() + '-close'"
58984
+ (click)="close(true)"
58985
+ >
58986
+ <mat-icon aria-hidden="true">close</mat-icon>
58987
+ </button>
58988
+ </header>
58989
+
58990
+ @if (epistemicKindLabel(); as kindText) {
58991
+ <div class="prx-guide-popover__kind-row">
58992
+ <span class="prx-guide-popover__kind-chip" [attr.data-epistemic-kind]="g.epistemicKind">
58993
+ <mat-icon aria-hidden="true">{{ epistemicKindIcon() }}</mat-icon>
58994
+ <span>{{ kindText }}</span>
58995
+ </span>
58996
+ </div>
58997
+ }
58998
+
58999
+ <dl class="prx-guide-popover__sections">
59000
+ <div class="prx-guide-popover__section">
59001
+ <dt>{{ labelWhatItMeasures() }}</dt>
59002
+ <dd [attr.data-testid]="testIdPrefix() + '-summary'">{{ resolvedSummary() }}</dd>
59003
+ </div>
59004
+
59005
+ @if (resolvedFormula(); as formulaText) {
59006
+ <div class="prx-guide-popover__section">
59007
+ <dt>{{ labelFormula() }}</dt>
59008
+ <dd [attr.data-testid]="testIdPrefix() + '-formula'">{{ formulaText }}</dd>
59009
+ </div>
59010
+ }
59011
+
59012
+ @if (resolvedInterpretation(); as interpText) {
59013
+ <div class="prx-guide-popover__section">
59014
+ <dt>{{ labelInterpretation() }}</dt>
59015
+ <dd [attr.data-testid]="testIdPrefix() + '-interpretation'">{{ interpText }}</dd>
59016
+ </div>
59017
+ }
59018
+
59019
+ @if (resolvedTargetBand(); as bandText) {
59020
+ <div class="prx-guide-popover__section">
59021
+ <dt>{{ labelTargetBand() }}</dt>
59022
+ <dd class="prx-guide-popover__band" [attr.data-testid]="testIdPrefix() + '-target-band'">
59023
+ {{ bandText }}
59024
+ </dd>
59025
+ </div>
59026
+ }
59027
+
59028
+ @if (resolvedLegalBasis(); as legalText) {
59029
+ <div class="prx-guide-popover__section">
59030
+ <dt>{{ labelLegalBasis() }}</dt>
59031
+ <dd [attr.data-testid]="testIdPrefix() + '-legal-basis'">{{ legalText }}</dd>
59032
+ </div>
59033
+ }
59034
+ </dl>
59035
+
59036
+ @if (resolvedCaveat(); as caveatText) {
59037
+ <div
59038
+ class="prx-guide-popover__caveat"
59039
+ role="note"
59040
+ [attr.data-testid]="testIdPrefix() + '-caveat'"
59041
+ >
59042
+ <div class="prx-guide-popover__caveat-title">
59043
+ <mat-icon aria-hidden="true">info_outline</mat-icon>
59044
+ <span>{{ labelCaveat() }}</span>
59045
+ </div>
59046
+ <p class="prx-guide-popover__caveat-body">{{ caveatText }}</p>
59047
+ </div>
59048
+ }
59049
+
59050
+ @if (canShowAssistantAction()) {
59051
+ <footer class="prx-guide-popover__footer">
59052
+ <button
59053
+ type="button"
59054
+ class="prx-guide-popover__assistant-btn"
59055
+ [attr.aria-label]="askAssistantAriaLabel()"
59056
+ [attr.data-testid]="testIdPrefix() + '-ask-assistant'"
59057
+ (click)="onAskAssistant()"
59058
+ >
59059
+ <mat-icon aria-hidden="true">auto_awesome</mat-icon>
59060
+ <span>{{ askAssistantLabel() }}</span>
59061
+ </button>
59062
+ </footer>
59063
+ }
59064
+ </aside>
59065
+ }
59066
+ }
59067
+ `, styles: [":host{display:inline-flex;align-items:center;vertical-align:middle;flex:0 0 auto}.prx-guide-trigger{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--md-sys-color-outline-variant, rgba(15, 23, 42, .2)) 78%,transparent);background:color-mix(in oklab,var(--md-sys-color-surface-container-low, #f8fafc) 82%,transparent);color:var(--md-sys-color-on-surface-variant, #475569);font-family:inherit;font-size:.72rem;font-weight:600;letter-spacing:normal;line-height:1;text-transform:none;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.prx-guide-trigger--icon{width:1.5rem;height:1.5rem;padding:0}.prx-guide-trigger--icon.prx-guide-trigger--md{width:1.75rem;height:1.75rem}.prx-guide-trigger--chip{padding:.22rem .55rem;min-height:1.5rem}.prx-guide-trigger--text{border-color:transparent;background:transparent;padding:.18rem .35rem}.prx-guide-trigger mat-icon{width:.92rem;height:.92rem;font-size:.92rem;line-height:.92rem;flex:0 0 auto}.prx-guide-trigger--md mat-icon{width:1.05rem;height:1.05rem;font-size:1.05rem;line-height:1.05rem}.prx-guide-trigger:hover{background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 10%,transparent);border-color:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 35%,transparent);color:var(--md-sys-color-primary, #006a6a)}.prx-guide-trigger:focus-visible{outline:2px solid var(--md-sys-color-primary, #006a6a);outline-offset:2px}.prx-guide-popover{position:fixed;inset:auto;margin:0;z-index:1400;box-sizing:border-box;width:min(380px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow-y:auto;padding:.9rem 1rem;border-radius:14px;border:1px solid var(--md-sys-color-outline-variant, rgba(15, 23, 42, .16));background:var(--md-sys-color-surface-container-high, var(--md-sys-color-surface, #f8fafc));color:var(--md-sys-color-on-surface, #0f172a);box-shadow:0 18px 42px -12px #0f172a47;font-size:.78rem;font-weight:400;font-style:normal;letter-spacing:normal;line-height:1.45;text-transform:none;text-align:left;white-space:normal}.prx-guide-popover:focus{outline:none}.prx-guide-popover__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;margin-bottom:.65rem}.prx-guide-popover__title-group{display:flex;align-items:center;gap:.4rem;min-width:0}.prx-guide-popover__header-icon{width:1.05rem;height:1.05rem;font-size:1.05rem;line-height:1.05rem;color:var(--md-sys-color-primary, #006a6a);flex:0 0 auto}.prx-guide-popover__title{margin:0;font-size:.86rem;font-weight:700;line-height:1.25;color:var(--md-sys-color-on-surface, inherit)}.prx-guide-popover__close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:1.6rem;height:1.6rem;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--md-sys-color-on-surface-variant, #475569);cursor:pointer}.prx-guide-popover__close:hover{background:color-mix(in oklab,var(--md-sys-color-on-surface, #0f172a) 8%,transparent)}.prx-guide-popover__close:focus-visible{outline:2px solid var(--md-sys-color-primary, #006a6a);outline-offset:2px}.prx-guide-popover__close mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem}.prx-guide-popover__kind-row{margin-bottom:.55rem}.prx-guide-popover__kind-chip{display:inline-flex;align-items:center;gap:.3rem;padding:.16rem .5rem;border-radius:999px;font-size:.69rem;font-weight:600;background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 11%,transparent);color:var(--md-sys-color-primary, #006a6a)}.prx-guide-popover__kind-chip mat-icon{width:.85rem;height:.85rem;font-size:.85rem;line-height:.85rem}.prx-guide-popover__sections{display:grid;gap:.55rem;margin:0}.prx-guide-popover__section dt{margin:0 0 .14rem;font-size:.69rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant, #475569)}.prx-guide-popover__section dd{margin:0;color:var(--md-sys-color-on-surface, inherit)}.prx-guide-popover__band{padding:.32rem .55rem;border-radius:8px;background:color-mix(in oklab,var(--md-sys-color-surface-container-low, #f1f5f9) 88%,transparent);border:1px solid var(--md-sys-color-outline-variant, rgba(15, 23, 42, .12));font-weight:600}.prx-guide-popover__caveat{margin-top:.65rem;padding:.5rem .65rem;border-radius:10px;border:1px solid color-mix(in oklab,var(--praxis-warning, #b45309) 28%,transparent);background:color-mix(in oklab,var(--praxis-warning, #b45309) 9%,transparent);color:var(--md-sys-color-on-surface, inherit)}.prx-guide-popover__caveat-title{display:flex;align-items:center;gap:.32rem;font-size:.71rem;font-weight:700;color:var( --praxis-warning, var( --warning, color-mix(in oklab, #b45309 45%, var(--md-sys-color-on-surface, currentColor)) ) );margin-bottom:.18rem}.prx-guide-popover__caveat-title mat-icon{width:.9rem;height:.9rem;font-size:.9rem;line-height:.9rem}.prx-guide-popover__caveat-body{margin:0;font-size:.75rem;line-height:1.4}.prx-guide-popover__footer{display:flex;justify-content:flex-end;margin-top:.75rem;padding-top:.6rem;border-top:1px solid var(--md-sys-color-outline-variant, rgba(15, 23, 42, .12))}.prx-guide-popover__assistant-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.36rem .72rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 36%,transparent);background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 12%,transparent);color:var(--md-sys-color-primary, #006a6a);font-family:inherit;font-size:.73rem;font-weight:600;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}.prx-guide-popover__assistant-btn:hover{background:color-mix(in oklab,var(--md-sys-color-primary, #006a6a) 20%,transparent)}.prx-guide-popover__assistant-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, #006a6a);outline-offset:2px}.prx-guide-popover__assistant-btn mat-icon{width:.95rem;height:.95rem;font-size:.95rem;line-height:.95rem}@media(prefers-reduced-motion:reduce){.prx-guide-trigger,.prx-guide-popover__assistant-btn{transition:none}}@media(forced-colors:active){.prx-guide-trigger,.prx-guide-popover,.prx-guide-popover__band,.prx-guide-popover__caveat,.prx-guide-popover__assistant-btn{border:1px solid CanvasText;background:Canvas;color:CanvasText}}\n"] }]
59068
+ }], ctorParameters: () => [], propDecorators: { guide: [{ type: i0.Input, args: [{ isSignal: true, alias: "guide", required: false }] }], subjectTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subjectTitle", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], showAssistantButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAssistantButton", required: false }] }], forceAssistantButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceAssistantButton", required: false }] }], testIdPrefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "testIdPrefix", required: false }] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], assistantAsk: [{ type: i0.Output, args: ["assistantAsk"] }], triggerBtn: [{ type: i0.ViewChild, args: ['triggerBtn', { isSignal: true }] }], popoverPanel: [{ type: i0.ViewChild, args: ['popoverPanel', { isSignal: true }] }] } });
59069
+
57877
59070
  const MATERIALIZATION_METADATA_INPUTS = [
57878
59071
  'schemaVerification',
57879
59072
  'schemaEvidenceSource',
@@ -57905,6 +59098,8 @@ class DynamicWidgetLoaderDirective {
57905
59098
  widgetDiagnostic = new EventEmitter();
57906
59099
  /** Transient actions contributed by the live child component to its shell. */
57907
59100
  contributedShellActions = signal([], ...(ngDevMode ? [{ debugName: "contributedShellActions" }] : /* istanbul ignore next */ []));
59101
+ /** Transient reading guide contributed by the live child component when hosted inside a shell. */
59102
+ contributedShellReadingGuide = signal(null, ...(ngDevMode ? [{ debugName: "contributedShellReadingGuide" }] : /* istanbul ignore next */ []));
57908
59103
  compRef;
57909
59104
  currentId;
57910
59105
  currentUsesInitialBindings = false;
@@ -58226,6 +59421,7 @@ class DynamicWidgetLoaderDirective {
58226
59421
  const candidate = instance;
58227
59422
  if (!candidate || typeof candidate.widgetShellActions !== 'function') {
58228
59423
  this.contributedShellActions.set([]);
59424
+ this.contributedShellReadingGuide.set(null);
58229
59425
  return;
58230
59426
  }
58231
59427
  const contributor = candidate;
@@ -58234,6 +59430,10 @@ class DynamicWidgetLoaderDirective {
58234
59430
  this.shellActionContributionEffect = effect(() => {
58235
59431
  const actions = contributor.widgetShellActions();
58236
59432
  this.contributedShellActions.set(Array.isArray(actions) ? actions.map((action) => ({ ...action })) : []);
59433
+ const guide = typeof contributor.widgetShellReadingGuide === 'function'
59434
+ ? contributor.widgetShellReadingGuide() ?? null
59435
+ : null;
59436
+ this.contributedShellReadingGuide.set(guide ? { ...guide } : null);
58237
59437
  }, { ...(ngDevMode ? { debugName: "shellActionContributionEffect" } : /* istanbul ignore next */ {}), injector: this.injector });
58238
59438
  }
58239
59439
  releaseShellActionContributor() {
@@ -58242,6 +59442,7 @@ class DynamicWidgetLoaderDirective {
58242
59442
  this.shellActionContributor?.setWidgetShellActionHostActive?.(false);
58243
59443
  this.shellActionContributor = undefined;
58244
59444
  this.contributedShellActions.set([]);
59445
+ this.contributedShellReadingGuide.set(null);
58245
59446
  }
58246
59447
  cloneValue(value) {
58247
59448
  if (value == null || typeof value !== 'object') {
@@ -59647,6 +60848,7 @@ class WidgetShellComponent {
59647
60848
  collapsedState = signal(false, ...(ngDevMode ? [{ debugName: "collapsedState" }] : /* istanbul ignore next */ []));
59648
60849
  expandedState = signal(false, ...(ngDevMode ? [{ debugName: "expandedState" }] : /* istanbul ignore next */ []));
59649
60850
  fullscreenState = signal(false, ...(ngDevMode ? [{ debugName: "fullscreenState" }] : /* istanbul ignore next */ []));
60851
+ constrainedHeightState = signal(false, ...(ngDevMode ? [{ debugName: "constrainedHeightState" }] : /* istanbul ignore next */ []));
59650
60852
  rootFontScale = signal(1, ...(ngDevMode ? [{ debugName: "rootFontScale" }] : /* istanbul ignore next */ []));
59651
60853
  headerWidthObserver;
59652
60854
  headerWidthFrame;
@@ -59660,9 +60862,20 @@ class WidgetShellComponent {
59660
60862
  const direct = this.directContributor();
59661
60863
  return direct ? direct.widgetShellActions() : [];
59662
60864
  }, ...(ngDevMode ? [{ debugName: "activeContributedActions" }] : /* istanbul ignore next */ []));
60865
+ activeContributedReadingGuide = computed(() => {
60866
+ const loader = this.loader();
60867
+ if (loader) {
60868
+ return loader.contributedShellReadingGuide();
60869
+ }
60870
+ const direct = this.directContributor();
60871
+ return typeof direct?.widgetShellReadingGuide === 'function'
60872
+ ? direct.widgetShellReadingGuide() ?? null
60873
+ : null;
60874
+ }, ...(ngDevMode ? [{ debugName: "activeContributedReadingGuide" }] : /* istanbul ignore next */ []));
59663
60875
  resolvedHeaderLayoutSnapshot = computed(() => {
59664
60876
  const shell = this.shellInput();
59665
60877
  const contributed = this.activeContributedActions();
60878
+ this.activeContributedReadingGuide();
59666
60879
  const width = this.headerWidth();
59667
60880
  const compact = this.compactHeader();
59668
60881
  const fontScale = this.rootFontScale();
@@ -60031,7 +61244,12 @@ class WidgetShellComponent {
60031
61244
  this.scrollObservedBody = body;
60032
61245
  }
60033
61246
  const measure = measureWidgetShellHeight(shell);
60034
- const recovery = !!measure && measure.minimum > Math.ceil(measure.available);
61247
+ const bodyFitsWithoutOverflow = !this.scrollRecovery()
61248
+ && body.clientHeight > 0
61249
+ && body.scrollHeight <= body.clientHeight;
61250
+ const recovery = !bodyFitsWithoutOverflow
61251
+ && !!measure
61252
+ && measure.minimum > Math.ceil(measure.available);
60035
61253
  if (this.scrollRecovery() !== recovery) {
60036
61254
  this.scrollRecovery.set(recovery);
60037
61255
  // A scroll position in the outer shell must not hide its header after recovery.
@@ -60057,9 +61275,36 @@ class WidgetShellComponent {
60057
61275
  context = null;
60058
61276
  dragSurfaceEnabled = false;
60059
61277
  dragSurfaceLabel = null;
61278
+ get constrainedHeight() {
61279
+ return this.constrainedHeightState();
61280
+ }
61281
+ set constrainedHeight(value) {
61282
+ this.constrainedHeightState.set(!!value);
61283
+ }
60060
61284
  action = new EventEmitter();
60061
61285
  dragSurfacePointerDown = new EventEmitter();
60062
61286
  dragSurfaceKeydown = new EventEmitter();
61287
+ windowState = computed(() => this.fullscreenState()
61288
+ ? 'fullscreen'
61289
+ : this.expandedState()
61290
+ ? 'expanded'
61291
+ : this.collapsedState()
61292
+ ? 'collapsed'
61293
+ : 'inline', ...(ngDevMode ? [{ debugName: "windowState" }] : /* istanbul ignore next */ []));
61294
+ resolvedBodyLayout = computed(() => this.shellInput()?.bodyLayout ?? 'content', ...(ngDevMode ? [{ debugName: "resolvedBodyLayout" }] : /* istanbul ignore next */ []));
61295
+ isOverlayWindow = computed(() => this.expandedState() || this.fullscreenState(), ...(ngDevMode ? [{ debugName: "isOverlayWindow" }] : /* istanbul ignore next */ []));
61296
+ fillAvailable = computed(() => {
61297
+ if (this.collapsedState() && !this.isOverlayWindow()) {
61298
+ return false;
61299
+ }
61300
+ if (this.isOverlayWindow()) {
61301
+ return true;
61302
+ }
61303
+ if (this.scrollRecovery()) {
61304
+ return false;
61305
+ }
61306
+ return this.resolvedBodyLayout() === 'fill' || this.constrainedHeightState();
61307
+ }, ...(ngDevMode ? [{ debugName: "fillAvailable" }] : /* istanbul ignore next */ []));
60063
61308
  loader = contentChild(DynamicWidgetLoaderDirective, ...(ngDevMode ? [{ debugName: "loader" }] : /* istanbul ignore next */ []));
60064
61309
  directContributor = contentChild(PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, { ...(ngDevMode ? { debugName: "directContributor" } : /* istanbul ignore next */ {}), descendants: false });
60065
61310
  shellText(value, fallback = '') {
@@ -60123,6 +61368,13 @@ class WidgetShellComponent {
60123
61368
  this.initializedWindowState = true;
60124
61369
  this.lastWindowStateInputs = next;
60125
61370
  }
61371
+ get effectiveHeaderReadingGuide() {
61372
+ const shellGuide = this.shellInput()?.readingGuide ?? this.shell?.readingGuide;
61373
+ return mergePraxisIndicatorReadingGuides(this.activeContributedReadingGuide(), shellGuide);
61374
+ }
61375
+ get hasHeaderReadingGuide() {
61376
+ return hasPraxisIndicatorReadingGuideContent(this.effectiveHeaderReadingGuide);
61377
+ }
60126
61378
  get shellEnabled() {
60127
61379
  return !!this.shell && this.shell.kind !== 'none';
60128
61380
  }
@@ -60139,6 +61391,7 @@ class WidgetShellComponent {
60139
61391
  this.shell?.subtitle ||
60140
61392
  this.shell?.avatar ||
60141
61393
  this.shell?.icon ||
61394
+ this.hasHeaderReadingGuide ||
60142
61395
  this.shell?.tabs?.length ||
60143
61396
  layout.visibleActions.length ||
60144
61397
  layout.overflowActions.length ||
@@ -60823,6 +62076,44 @@ class WidgetShellComponent {
60823
62076
  this.restoreOverlayFocus();
60824
62077
  this.changeDetector.markForCheck();
60825
62078
  }
62079
+ /** Transitions window state programmatically from hosted child widgets via `PRAXIS_WIDGET_SHELL_VIEWPORT`. */
62080
+ setWindowState(nextState, trigger) {
62081
+ if (!this.shellEnabled)
62082
+ return false;
62083
+ const wasOverlay = this.expanded || this.fullscreen;
62084
+ if (nextState === 'fullscreen' || nextState === 'expanded') {
62085
+ if (!wasOverlay) {
62086
+ this.windowInlineHeight = this.element.nativeElement.getBoundingClientRect().height;
62087
+ const activeEl = this.element.nativeElement.ownerDocument?.activeElement;
62088
+ this.overlayReturnFocus =
62089
+ trigger ?? (activeEl instanceof HTMLElement ? activeEl : null);
62090
+ }
62091
+ this.fullscreen = nextState === 'fullscreen';
62092
+ this.expanded = true;
62093
+ this.collapsed = false;
62094
+ this.changeDetector.markForCheck();
62095
+ return true;
62096
+ }
62097
+ if (nextState === 'inline') {
62098
+ if (wasOverlay) {
62099
+ this.closeOverlay();
62100
+ }
62101
+ else {
62102
+ this.collapsed = false;
62103
+ this.changeDetector.markForCheck();
62104
+ }
62105
+ return true;
62106
+ }
62107
+ if (nextState === 'collapsed') {
62108
+ if (wasOverlay) {
62109
+ this.closeOverlay();
62110
+ }
62111
+ this.collapsed = true;
62112
+ this.changeDetector.markForCheck();
62113
+ return true;
62114
+ }
62115
+ return false;
62116
+ }
60826
62117
  onOverlayEscape(event) {
60827
62118
  if (event.defaultPrevented || (!this.expanded && !this.fullscreen))
60828
62119
  return;
@@ -60999,14 +62290,30 @@ class WidgetShellComponent {
60999
62290
  }
61000
62291
  isInteractiveHeaderTarget(target) {
61001
62292
  return target instanceof HTMLElement
61002
- ? !!target.closest('button, a, input, select, textarea, [role="button"], [role="tab"], [mat-menu-trigger-for]')
62293
+ ? !!target.closest('button, a, input, select, textarea, [role="button"], [role="tab"], [role="dialog"], [popover], [mat-menu-trigger-for]')
61003
62294
  : false;
61004
62295
  }
61005
62296
  t(key, fallback) {
61006
62297
  return this.i18n.t(key, undefined, fallback, WIDGET_SHELL_I18N_NAMESPACE);
61007
62298
  }
61008
62299
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: WidgetShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
61009
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: WidgetShellComponent, isStandalone: true, selector: "praxis-widget-shell", inputs: { shell: "shell", context: "context", dragSurfaceEnabled: "dragSurfaceEnabled", dragSurfaceLabel: "dragSurfaceLabel" }, outputs: { action: "action", dragSurfacePointerDown: "dragSurfacePointerDown", dragSurfaceKeydown: "dragSurfaceKeydown" }, host: { listeners: { "keydown.escape": "onOverlayEscape($event)", "focusin": "revealStickyHeaderFocus($event)" }, properties: { "attr.data-interaction-highlight": "appearance?.card?.interactionHighlight === 'gradient' ? 'gradient' : 'standard'", "style.--pdx-widget-highlight-radius": "shellEnabled ? (appearance?.card?.borderRadius || '12px') : '0px'", "class.pdx-widget-shell-overlay": "expanded || fullscreen", "class.pdx-widget-shell-collapsed": "this.hostCollapsed" } }, providers: [providePraxisI18nConfig(WIDGET_SHELL_I18N_CONFIG), ...provideWidgetTransientOverlays()], queries: [{ propertyName: "loader", first: true, predicate: DynamicWidgetLoaderDirective, descendants: true, isSignal: true }, { propertyName: "directContributor", first: true, predicate: PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, isSignal: true }], viewQueries: [{ propertyName: "overflowTrigger", first: true, predicate: MatMenuTrigger, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: `
62300
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: WidgetShellComponent, isStandalone: true, selector: "praxis-widget-shell", inputs: { shell: "shell", context: "context", dragSurfaceEnabled: "dragSurfaceEnabled", dragSurfaceLabel: "dragSurfaceLabel", constrainedHeight: "constrainedHeight" }, outputs: { action: "action", dragSurfacePointerDown: "dragSurfacePointerDown", dragSurfaceKeydown: "dragSurfaceKeydown" }, host: { listeners: { "keydown.escape": "onOverlayEscape($event)", "focusin": "revealStickyHeaderFocus($event)" }, properties: { "attr.data-interaction-highlight": "appearance?.card?.interactionHighlight === 'gradient' ? 'gradient' : 'standard'", "style.--pdx-widget-highlight-radius": "shellEnabled ? (appearance?.card?.borderRadius || '12px') : '0px'", "class.pdx-widget-shell-overlay": "expanded || fullscreen", "class.pdx-widget-shell-collapsed": "this.hostCollapsed" } }, providers: [
62301
+ providePraxisI18nConfig(WIDGET_SHELL_I18N_CONFIG),
62302
+ ...provideWidgetTransientOverlays(),
62303
+ {
62304
+ provide: PRAXIS_WIDGET_SHELL_VIEWPORT,
62305
+ useFactory: () => {
62306
+ const shell = inject(WidgetShellComponent);
62307
+ return {
62308
+ windowState: shell.windowState,
62309
+ bodyLayout: shell.resolvedBodyLayout,
62310
+ fillAvailable: shell.fillAvailable,
62311
+ isOverlayWindow: shell.isOverlayWindow,
62312
+ setWindowState: (state, trigger) => shell.setWindowState(state, trigger),
62313
+ };
62314
+ },
62315
+ },
62316
+ ], queries: [{ propertyName: "loader", first: true, predicate: DynamicWidgetLoaderDirective, descendants: true, isSignal: true }, { propertyName: "directContributor", first: true, predicate: PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, isSignal: true }], viewQueries: [{ propertyName: "overflowTrigger", first: true, predicate: MatMenuTrigger, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: `
61010
62317
  @if (expanded || fullscreen) {
61011
62318
  <div
61012
62319
  class="pdx-shell-overlay-surface"
@@ -61031,6 +62338,9 @@ class WidgetShellComponent {
61031
62338
  [class.body-scroll]="shell?.bodyLayout === 'scroll'"
61032
62339
  [class.pdx-shell--sticky-header]="stickyHeaderActive"
61033
62340
  [class.pdx-shell--scroll-recovery]="scrollRecovery() && !collapsed && !expanded && !fullscreen"
62341
+ [attr.data-shell-window-state]="windowState()"
62342
+ [attr.data-shell-body-layout]="resolvedBodyLayout()"
62343
+ [attr.data-shell-fill-available]="fillAvailable() ? 'true' : null"
61034
62344
  [style.--pdx-shell-card-bg]="appearance?.card?.background || null"
61035
62345
  [style.--pdx-shell-card-border]="appearance?.card?.borderColor || null"
61036
62346
  [style.--pdx-shell-card-border-width]="appearance?.card?.borderWidth || null"
@@ -61209,6 +62519,16 @@ class WidgetShellComponent {
61209
62519
  </div>
61210
62520
  }
61211
62521
  }
62522
+ @if (hasHeaderReadingGuide) {
62523
+ <praxis-indicator-guide-popover
62524
+ [guide]="effectiveHeaderReadingGuide"
62525
+ [subjectTitle]="shell?.title ?? null"
62526
+ variant="icon"
62527
+ size="sm"
62528
+ placement="bottom-end"
62529
+ testIdPrefix="widget-shell-guide"
62530
+ />
62531
+ }
61212
62532
  @if (overflowHeaderActions.length) {
61213
62533
  <button
61214
62534
  praxisIconButton="ms:more_horiz"
@@ -61351,7 +62671,7 @@ class WidgetShellComponent {
61351
62671
  @if (expanded || fullscreen) {
61352
62672
  <div class="pdx-shell-backdrop" (click)="closeOverlay()"></div>
61353
62673
  }
61354
- `, isInline: true, styles: [":host{display:block;width:100%;min-width:0;max-width:100%;height:100%;position:relative}:host:after{content:\"\";position:absolute;inset:0;border:1px dashed color-mix(in srgb,var(--md-sys-color-primary) 34%,transparent);border-radius:var(--pdx-widget-highlight-radius, 12px);opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;box-shadow:0 0 0 1px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent),0 8px 20px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent)}:host([data-interaction-highlight=\"gradient\"]):after{content:\"\";position:absolute;inset:0;padding:2px;border:0;box-shadow:none;border-radius:var(--pdx-widget-highlight-radius, 12px);background:linear-gradient(135deg,var(--md-sys-color-primary),var(--md-sys-color-tertiary),var(--md-sys-color-secondary));opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}:host(.pdx-widget-shell-overlay):after{display:none}@media(forced-colors:active){:host:after,:host([data-interaction-highlight=\"gradient\"]):after{box-shadow:none;background:none;mask:none;-webkit-mask:none;padding:0;border:2px solid Highlight}}:host(.pdx-widget-shell-collapsed){height:auto}.pdx-shell{--pdx-shell-card-border-width: initial;--pdx-shell-card-border-style: initial;--pdx-shell-header-border-width: initial;--pdx-shell-header-border-style: initial;--pdx-shell-card-filter: initial;--pdx-shell-card-fallback-bg: initial;box-sizing:border-box;position:relative;width:100%;min-width:0;max-width:100%;height:100%;display:flex;flex-direction:column}.pdx-shell .pdx-shell{--pdx-shell-card-backdrop-filter: none;--pdx-shell-theme-backdrop-filter: none}.pdx-shell.no-shell{background:transparent;border:none;border-radius:0;box-shadow:none}.pdx-shell.dashboard{background:var( --pdx-shell-card-bg, var( --pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low) ) );border-width:var(--pdx-shell-card-border-width, 1px);border-style:var(--pdx-shell-card-border-style, solid);border-color:var( --pdx-shell-card-border, var( --pdx-dashboard-card-border, var(--md-sys-color-outline-variant) ) );border-radius:var(--pdx-shell-card-radius, 12px);box-shadow:var( --pdx-shell-card-shadow, 0 4px 12px rgba(15, 23, 42, .06) );-webkit-backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );overflow:hidden}.pdx-shell.dashboard:not(.expanded):not(.fullscreen){contain:layout paint style;isolation:isolate}@media(forced-colors:active){.pdx-shell.dashboard,.pdx-shell.dashboard.pdx-shell--backdrop,.pdx-shell-backdrop{background:Canvas;color:CanvasText;border-color:ButtonBorder;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface))}}@media(prefers-reduced-transparency:reduce){.pdx-shell.dashboard{background:var( --pdx-shell-theme-fallback-bg, var( --pdx-shell-card-bg, var(--pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low)) ) );-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell.dashboard.expanded,.pdx-shell.dashboard.fullscreen{-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop.expanded,.pdx-shell.dashboard.pdx-shell--backdrop.fullscreen{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell-header{container-type:inline-size;flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:12px;border-bottom:var(--pdx-shell-header-border-width, 1px) var(--pdx-shell-header-border-style, solid) var(--pdx-shell-header-border, var(--md-sys-color-outline-variant));background:var( --pdx-shell-header-bg, var(--md-sys-color-surface-container) )}.pdx-shell-header-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;width:100%}.pdx-shell-header--drag-enabled{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.pdx-shell-header--drag-enabled:active{cursor:grabbing}.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary) 72%,white 28%);outline-offset:-2px}.pdx-shell-authoring-drag{flex:0 0 auto;align-self:flex-start;margin:4px 6px 0;z-index:2;cursor:grab;touch-action:none}.pdx-shell-authoring-drag:active{cursor:grabbing}.pdx-shell-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 var(--pdx-shell-title-basis, min(14rem, 50%));max-width:100%;color:var(--pdx-shell-title-color, inherit)}@container (min-width: 380px){.pdx-shell-title{flex:1 1 var(--pdx-shell-title-basis, min(9.5rem, 35%))}}.pdx-shell-title mat-icon{flex:0 0 auto;color:var(--pdx-shell-icon-color, currentColor)}.pdx-shell-text{min-width:0;flex:1}.pdx-shell-title-text{font-family:var(--pdx-shell-title-font, inherit);font-weight:var(--pdx-shell-title-weight, var(--mat-sys-title-medium-weight, 500));font-size:var(--pdx-shell-title-size, 13px);letter-spacing:var(--pdx-shell-title-tracking, normal);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-subtitle{font-size:var(--pdx-shell-subtitle-size, 11px);color:var( --pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, currentColor) );white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-actions,.pdx-shell-window-actions{display:flex;align-items:center;gap:var(--pdx-shell-actions-gap, 2px);max-width:100%}.pdx-shell-actions{flex-wrap:wrap;margin-left:auto;min-width:0}.pdx-shell-actions button.praxis-icon-button:not(:disabled):not(.praxis-icon-button--pressed){color:var(--pdx-shell-icon-color, var(--md-sys-color-on-surface-variant))}.pdx-shell-actions>button{max-width:100%}.pdx-shell-window-actions{flex-wrap:nowrap;flex:0 0 auto;margin-left:auto}.pdx-shell-text{display:grid;gap:2px}.pdx-shell-title-text,.pdx-shell-subtitle{display:-webkit-box;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pdx-action-outlined{border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;padding:0 10px;white-space:nowrap;flex:0 0 auto}.pdx-action-text{padding:0 8px;white-space:nowrap;flex:0 0 auto}.pdx-shell-action--pressed:not(.praxis-icon-button){color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent)}.pdx-action-label{font-size:12px;font-weight:500}.pdx-shell-tabs{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--pdx-shell-header-border, var(--md-sys-color-outline-variant)) 55%,transparent)}.pdx-shell-tab{appearance:none;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .45)));background:transparent;color:var(--pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)));font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pdx-shell-tab:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:2px}.pdx-shell-tab:hover:not(:disabled){border-color:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-shell-tab--active{border-color:var(--md-sys-color-primary, var(--mat-sys-primary));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-shell-tab:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-tab mat-icon{width:15px;height:15px;font-size:15px}.pdx-shell-tab__badge{font-size:11px;font-weight:500;opacity:.78}.pdx-shell.dashboard.pdx-shell--sticky-header{overflow:clip}.pdx-shell--sticky-header>.pdx-shell-header{position:sticky;top:var(--pdx-shell-sticky-header-offset, 0px);z-index:2;isolation:isolate;background:var(--md-sys-color-surface-container)}.pdx-shell--backdrop.pdx-shell--sticky-header>.pdx-shell-header{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface-container))}.pdx-shell--sticky-header>.pdx-shell-header:before{content:\"\";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--pdx-shell-header-bg, transparent)}.pdx-shell--sticky-header>.pdx-shell-body{isolation:isolate}.pdx-shell-body{flex:1;min-width:0;max-width:100%;min-height:0;padding:var(--pdx-shell-body-padding, 12px);background:var(--pdx-shell-body-bg, transparent);color:var(--pdx-shell-body-color, inherit)}.pdx-shell.no-shell>.pdx-shell-body{padding:0}.pdx-shell-body.hidden{display:none}.pdx-shell.collapsed{height:auto}.pdx-shell.collapsed>.pdx-shell-header{border-bottom-color:transparent}.pdx-shell.body-fill>.pdx-shell-body,.pdx-shell.body-scroll>.pdx-shell-body,.pdx-shell.expanded>.pdx-shell-body,.pdx-shell.fullscreen>.pdx-shell-body{overflow:auto;display:flex;flex-direction:column;min-height:0}.pdx-shell.collapsed>.pdx-shell-body{display:none}.pdx-shell.body-fill>.pdx-shell-body{overflow:hidden}.pdx-shell.body-scroll>.pdx-shell-body{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery>.pdx-shell-body{flex:0 0 auto;overflow:visible}.pdx-shell.body-fill>.pdx-shell-body>*,.pdx-shell.body-scroll>.pdx-shell-body>*,.pdx-shell.expanded>.pdx-shell-body>*,.pdx-shell.fullscreen>.pdx-shell-body>*{flex:1 1 auto;min-height:0;width:100%}.pdx-shell.expanded,.pdx-shell-overlay-surface.expanded{position:fixed;top:10vh;left:50%;width:min(920px,92vw);height:min(640px,82vh);transform:translate(-50%);z-index:var(--praxis-layer-widget-shell-expanded, 1290);box-shadow:var(--mat-elevation-level8)}.pdx-shell.fullscreen,.pdx-shell-overlay-surface.fullscreen{position:fixed;inset:0;width:auto;height:auto;transform:none;border-radius:0;z-index:var(--praxis-layer-widget-shell-fullscreen, 1291);box-shadow:var(--mat-elevation-level8)}.pdx-shell.expanded,.pdx-shell.fullscreen{background:var(--pdx-shell-overlay-bg, var(--md-sys-color-surface, var(--mat-sys-surface)));color:var(--md-sys-color-on-surface)}.pdx-shell.fullscreen>.pdx-shell-body{padding:var(--pdx-shell-fullscreen-body-padding, 24px)}.pdx-shell-overlay-surface{background:var(--md-sys-color-surface);border-radius:var(--pdx-dashboard-card-radius, 16px);pointer-events:none}.pdx-shell-backdrop{position:fixed;inset:0;z-index:var(--praxis-z-widget-shell, var(--praxis-layer-widget-shell-backdrop, 1280));background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);contain:layout style;isolation:isolate}@media(prefers-reduced-transparency:reduce){.pdx-shell-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell-action-group--segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, #c4c7c5));border-radius:10px;background:var(--md-sys-color-surface-container-low, var(--mat-sys-surface-container-low, #f3f5f8))}.pdx-shell-segmented-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:26px;padding:0 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #44474e));font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:28px;width:28px;padding:0}.pdx-shell-segmented-btn mat-icon{width:15px;height:15px;font-size:15px;line-height:15px;flex-shrink:0}.pdx-shell-segmented-btn:hover:not(:disabled):not(.pdx-shell-segmented-btn--active){color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e));background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e)) 6%,transparent)}.pdx-shell-segmented-btn--active{background:var(--md-sys-color-primary-container, var(--mat-sys-primary-container, #d7e3ff));color:var(--md-sys-color-on-primary-container, var(--mat-sys-on-primary-container, #001b3e));font-weight:600}.pdx-shell-segmented-btn:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-segmented-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:1px}.pdx-shell-menu-divider{height:1px;margin:4px 0;background:var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .32)))}.pdx-shell-menu-section-label{padding:6px 16px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #64748b));-webkit-user-select:none;user-select:none}.pdx-shell-menu-item-row{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.pdx-shell-menu-check.mat-icon{width:16px;height:16px;font-size:16px;line-height:16px;margin-left:auto;margin-right:0;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4))}.pdx-shell-menu-item--active{font-weight:600;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 8%,transparent)}@media(forced-colors:active){.pdx-shell-segmented-btn--active,.pdx-shell-menu-item--active,.pdx-shell-tab--active{forced-color-adjust:auto;border:1px solid Highlight;outline:2px solid Highlight;outline-offset:-2px}.pdx-shell-tab:focus-visible,.pdx-shell-segmented-btn:focus-visible,.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid Highlight;outline-offset:2px}}@media(pointer:coarse){.pdx-shell-segmented-btn{min-height:36px;padding:0 10px}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:36px;width:36px}}@media print{.pdx-shell-actions,.pdx-shell-window-actions{display:none!important}}\n"], dependencies: [{ kind: "component", type: WidgetShellAvatarComponent, selector: "praxis-widget-shell-avatar", inputs: ["avatar"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4.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: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.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: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
62674
+ `, isInline: true, styles: [":host{display:block;width:100%;min-width:0;max-width:100%;height:100%;position:relative}:host:after{content:\"\";position:absolute;inset:0;border:1px dashed color-mix(in srgb,var(--md-sys-color-primary) 34%,transparent);border-radius:var(--pdx-widget-highlight-radius, 12px);opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;box-shadow:0 0 0 1px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent),0 8px 20px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent)}:host([data-interaction-highlight=\"gradient\"]):after{content:\"\";position:absolute;inset:0;padding:2px;border:0;box-shadow:none;border-radius:var(--pdx-widget-highlight-radius, 12px);background:linear-gradient(135deg,var(--md-sys-color-primary),var(--md-sys-color-tertiary),var(--md-sys-color-secondary));opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}:host(.pdx-widget-shell-overlay):after{display:none}@media(forced-colors:active){:host:after,:host([data-interaction-highlight=\"gradient\"]):after{box-shadow:none;background:none;mask:none;-webkit-mask:none;padding:0;border:2px solid Highlight}}:host(.pdx-widget-shell-collapsed){height:auto}.pdx-shell{--pdx-shell-card-border-width: initial;--pdx-shell-card-border-style: initial;--pdx-shell-header-border-width: initial;--pdx-shell-header-border-style: initial;--pdx-shell-card-filter: initial;--pdx-shell-card-fallback-bg: initial;box-sizing:border-box;position:relative;width:100%;min-width:0;max-width:100%;height:100%;display:flex;flex-direction:column}.pdx-shell .pdx-shell{--pdx-shell-card-backdrop-filter: none;--pdx-shell-theme-backdrop-filter: none}.pdx-shell.no-shell{background:transparent;border:none;border-radius:0;box-shadow:none}.pdx-shell.dashboard{background:var( --pdx-shell-card-bg, var( --pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low) ) );border-width:var(--pdx-shell-card-border-width, 1px);border-style:var(--pdx-shell-card-border-style, solid);border-color:var( --pdx-shell-card-border, var( --pdx-dashboard-card-border, var(--md-sys-color-outline-variant) ) );border-radius:var(--pdx-shell-card-radius, 12px);box-shadow:var( --pdx-shell-card-shadow, 0 4px 12px rgba(15, 23, 42, .06) );-webkit-backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );overflow:hidden}.pdx-shell.dashboard:not(.expanded):not(.fullscreen){contain:layout paint style;isolation:isolate}@media(forced-colors:active){.pdx-shell.dashboard,.pdx-shell.dashboard.pdx-shell--backdrop,.pdx-shell-backdrop{background:Canvas;color:CanvasText;border-color:ButtonBorder;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface))}}@media(prefers-reduced-transparency:reduce){.pdx-shell.dashboard{background:var( --pdx-shell-theme-fallback-bg, var( --pdx-shell-card-bg, var(--pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low)) ) );-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell.dashboard.expanded,.pdx-shell.dashboard.fullscreen{-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop.expanded,.pdx-shell.dashboard.pdx-shell--backdrop.fullscreen{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell-header{container-type:inline-size;flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:12px;border-bottom:var(--pdx-shell-header-border-width, 1px) var(--pdx-shell-header-border-style, solid) var(--pdx-shell-header-border, var(--md-sys-color-outline-variant));background:var( --pdx-shell-header-bg, var(--md-sys-color-surface-container) )}.pdx-shell-header-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;width:100%}.pdx-shell-header--drag-enabled{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.pdx-shell-header--drag-enabled:active{cursor:grabbing}.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary) 72%,white 28%);outline-offset:-2px}.pdx-shell-authoring-drag{flex:0 0 auto;align-self:flex-start;margin:4px 6px 0;z-index:2;cursor:grab;touch-action:none}.pdx-shell-authoring-drag:active{cursor:grabbing}.pdx-shell-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 var(--pdx-shell-title-basis, min(14rem, 50%));max-width:100%;color:var(--pdx-shell-title-color, inherit)}@container (min-width: 380px){.pdx-shell-title{flex:1 1 var(--pdx-shell-title-basis, min(9.5rem, 35%))}}.pdx-shell-title mat-icon{flex:0 0 auto;color:var(--pdx-shell-icon-color, currentColor)}.pdx-shell-text{min-width:0;flex:1}.pdx-shell-title-text{font-family:var(--pdx-shell-title-font, inherit);font-weight:var(--pdx-shell-title-weight, var(--mat-sys-title-medium-weight, 500));font-size:var(--pdx-shell-title-size, 13px);letter-spacing:var(--pdx-shell-title-tracking, normal);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-subtitle{font-size:var(--pdx-shell-subtitle-size, 11px);color:var( --pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, currentColor) );white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-actions,.pdx-shell-window-actions{display:flex;align-items:center;gap:var(--pdx-shell-actions-gap, 2px);max-width:100%}.pdx-shell-actions{flex-wrap:wrap;margin-left:auto;min-width:0}.pdx-shell-actions button.praxis-icon-button:not(:disabled):not(.praxis-icon-button--pressed){color:var(--pdx-shell-icon-color, var(--md-sys-color-on-surface-variant))}.pdx-shell-actions>button{max-width:100%}.pdx-shell-window-actions{flex-wrap:nowrap;flex:0 0 auto;margin-left:auto}.pdx-shell-text{display:grid;gap:2px}.pdx-shell-title-text,.pdx-shell-subtitle{display:-webkit-box;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pdx-action-outlined{border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;padding:0 10px;white-space:nowrap;flex:0 0 auto}.pdx-action-text{padding:0 8px;white-space:nowrap;flex:0 0 auto}.pdx-shell-action--pressed:not(.praxis-icon-button){color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent)}.pdx-action-label{font-size:12px;font-weight:500}.pdx-shell-tabs{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--pdx-shell-header-border, var(--md-sys-color-outline-variant)) 55%,transparent)}.pdx-shell-tab{appearance:none;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .45)));background:transparent;color:var(--pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)));font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pdx-shell-tab:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:2px}.pdx-shell-tab:hover:not(:disabled){border-color:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-shell-tab--active{border-color:var(--md-sys-color-primary, var(--mat-sys-primary));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-shell-tab:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-tab mat-icon{width:15px;height:15px;font-size:15px}.pdx-shell-tab__badge{font-size:11px;font-weight:500;opacity:.78}.pdx-shell.dashboard.pdx-shell--sticky-header{overflow:clip}.pdx-shell--sticky-header>.pdx-shell-header{position:sticky;top:var(--pdx-shell-sticky-header-offset, 0px);z-index:2;isolation:isolate;background:var(--md-sys-color-surface-container)}.pdx-shell--backdrop.pdx-shell--sticky-header>.pdx-shell-header{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface-container))}.pdx-shell--sticky-header>.pdx-shell-header:before{content:\"\";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--pdx-shell-header-bg, transparent)}.pdx-shell--sticky-header>.pdx-shell-body{isolation:isolate}.pdx-shell-body{flex:1;min-width:0;max-width:100%;min-height:0;padding:var(--pdx-shell-body-padding, 12px);background:var(--pdx-shell-body-bg, transparent);color:var(--pdx-shell-body-color, inherit)}.pdx-shell.no-shell>.pdx-shell-body{padding:0}.pdx-shell-body.hidden{display:none}.pdx-shell.collapsed{height:auto}.pdx-shell.collapsed>.pdx-shell-header{border-bottom-color:transparent}.pdx-shell.body-fill>.pdx-shell-body,.pdx-shell.body-scroll>.pdx-shell-body,.pdx-shell.expanded>.pdx-shell-body,.pdx-shell.fullscreen>.pdx-shell-body,.pdx-shell[data-shell-fill-available=true]>.pdx-shell-body{overflow:auto;display:flex;flex-direction:column;min-height:0}.pdx-shell.collapsed>.pdx-shell-body{display:none}.pdx-shell.body-fill>.pdx-shell-body{overflow:hidden}.pdx-shell.body-scroll>.pdx-shell-body{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery>.pdx-shell-body{flex:0 0 auto;overflow:visible}:host ::ng-deep>.pdx-shell[data-shell-fill-available=true]>.pdx-shell-body>*{flex:1 0 auto;width:100%}:host ::ng-deep>.pdx-shell[data-shell-fill-available=true]>.pdx-shell-body>[data-pdx-viewport-mode=fill],:host ::ng-deep>.pdx-shell.body-fill[data-shell-fill-available=true]>.pdx-shell-body>*{flex:1 1 0%;height:100%;min-height:0;width:100%}.pdx-shell.expanded,.pdx-shell-overlay-surface.expanded{position:fixed;top:10vh;left:50%;width:min(920px,92vw);height:min(640px,82vh);transform:translate(-50%);z-index:var(--praxis-layer-widget-shell-expanded, 1290);box-shadow:var(--mat-elevation-level8)}.pdx-shell.fullscreen,.pdx-shell-overlay-surface.fullscreen{position:fixed;inset:0;width:auto;height:auto;transform:none;border-radius:0;z-index:var(--praxis-layer-widget-shell-fullscreen, 1291);box-shadow:var(--mat-elevation-level8)}.pdx-shell.expanded,.pdx-shell.fullscreen{background:var(--pdx-shell-overlay-bg, var(--md-sys-color-surface, var(--mat-sys-surface)));color:var(--md-sys-color-on-surface)}.pdx-shell.fullscreen>.pdx-shell-body{padding:var(--pdx-shell-fullscreen-body-padding, 24px)}.pdx-shell-overlay-surface{background:var(--md-sys-color-surface);border-radius:var(--pdx-dashboard-card-radius, 16px);pointer-events:none}.pdx-shell-backdrop{position:fixed;inset:0;z-index:var(--praxis-z-widget-shell, var(--praxis-layer-widget-shell-backdrop, 1280));background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);contain:layout style;isolation:isolate}@media(prefers-reduced-transparency:reduce){.pdx-shell-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell-action-group--segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, #c4c7c5));border-radius:10px;background:var(--md-sys-color-surface-container-low, var(--mat-sys-surface-container-low, #f3f5f8))}.pdx-shell-segmented-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:26px;padding:0 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #44474e));font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:28px;width:28px;padding:0}.pdx-shell-segmented-btn mat-icon{width:15px;height:15px;font-size:15px;line-height:15px;flex-shrink:0}.pdx-shell-segmented-btn:hover:not(:disabled):not(.pdx-shell-segmented-btn--active){color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e));background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e)) 6%,transparent)}.pdx-shell-segmented-btn--active{background:var(--md-sys-color-primary-container, var(--mat-sys-primary-container, #d7e3ff));color:var(--md-sys-color-on-primary-container, var(--mat-sys-on-primary-container, #001b3e));font-weight:600}.pdx-shell-segmented-btn:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-segmented-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:1px}.pdx-shell-menu-divider{height:1px;margin:4px 0;background:var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .32)))}.pdx-shell-menu-section-label{padding:6px 16px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #64748b));-webkit-user-select:none;user-select:none}.pdx-shell-menu-item-row{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.pdx-shell-menu-check.mat-icon{width:16px;height:16px;font-size:16px;line-height:16px;margin-left:auto;margin-right:0;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4))}.pdx-shell-menu-item--active{font-weight:600;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 8%,transparent)}@media(forced-colors:active){.pdx-shell-segmented-btn--active,.pdx-shell-menu-item--active,.pdx-shell-tab--active{forced-color-adjust:auto;border:1px solid Highlight;outline:2px solid Highlight;outline-offset:-2px}.pdx-shell-tab:focus-visible,.pdx-shell-segmented-btn:focus-visible,.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid Highlight;outline-offset:2px}}@media(pointer:coarse){.pdx-shell-segmented-btn{min-height:36px;padding:0 10px}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:36px;width:36px}}@media print{.pdx-shell-actions,.pdx-shell-window-actions{display:none!important}}\n"], dependencies: [{ kind: "component", type: WidgetShellAvatarComponent, selector: "praxis-widget-shell-avatar", inputs: ["avatar"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4.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: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.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: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisIndicatorGuidePopoverComponent, selector: "praxis-indicator-guide-popover", inputs: ["guide", "subjectTitle", "variant", "size", "icon", "placement", "showAssistantButton", "forceAssistantButton", "testIdPrefix"], outputs: ["opened", "closed", "assistantAsk"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
61355
62675
  }
61356
62676
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: WidgetShellComponent, decorators: [{
61357
62677
  type: Component,
@@ -61363,7 +62683,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61363
62683
  MatTooltipModule,
61364
62684
  PraxisIconButtonComponent,
61365
62685
  PraxisIconDirective,
61366
- ], providers: [providePraxisI18nConfig(WIDGET_SHELL_I18N_CONFIG), ...provideWidgetTransientOverlays()], host: {
62686
+ PraxisIndicatorGuidePopoverComponent,
62687
+ ], providers: [
62688
+ providePraxisI18nConfig(WIDGET_SHELL_I18N_CONFIG),
62689
+ ...provideWidgetTransientOverlays(),
62690
+ {
62691
+ provide: PRAXIS_WIDGET_SHELL_VIEWPORT,
62692
+ useFactory: () => {
62693
+ const shell = inject(WidgetShellComponent);
62694
+ return {
62695
+ windowState: shell.windowState,
62696
+ bodyLayout: shell.resolvedBodyLayout,
62697
+ fillAvailable: shell.fillAvailable,
62698
+ isOverlayWindow: shell.isOverlayWindow,
62699
+ setWindowState: (state, trigger) => shell.setWindowState(state, trigger),
62700
+ };
62701
+ },
62702
+ },
62703
+ ], host: {
61367
62704
  '[attr.data-interaction-highlight]': "appearance?.card?.interactionHighlight === 'gradient' ? 'gradient' : 'standard'",
61368
62705
  '[style.--pdx-widget-highlight-radius]': "shellEnabled ? (appearance?.card?.borderRadius || '12px') : '0px'",
61369
62706
  '[class.pdx-widget-shell-overlay]': 'expanded || fullscreen',
@@ -61394,6 +62731,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61394
62731
  [class.body-scroll]="shell?.bodyLayout === 'scroll'"
61395
62732
  [class.pdx-shell--sticky-header]="stickyHeaderActive"
61396
62733
  [class.pdx-shell--scroll-recovery]="scrollRecovery() && !collapsed && !expanded && !fullscreen"
62734
+ [attr.data-shell-window-state]="windowState()"
62735
+ [attr.data-shell-body-layout]="resolvedBodyLayout()"
62736
+ [attr.data-shell-fill-available]="fillAvailable() ? 'true' : null"
61397
62737
  [style.--pdx-shell-card-bg]="appearance?.card?.background || null"
61398
62738
  [style.--pdx-shell-card-border]="appearance?.card?.borderColor || null"
61399
62739
  [style.--pdx-shell-card-border-width]="appearance?.card?.borderWidth || null"
@@ -61572,6 +62912,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61572
62912
  </div>
61573
62913
  }
61574
62914
  }
62915
+ @if (hasHeaderReadingGuide) {
62916
+ <praxis-indicator-guide-popover
62917
+ [guide]="effectiveHeaderReadingGuide"
62918
+ [subjectTitle]="shell?.title ?? null"
62919
+ variant="icon"
62920
+ size="sm"
62921
+ placement="bottom-end"
62922
+ testIdPrefix="widget-shell-guide"
62923
+ />
62924
+ }
61575
62925
  @if (overflowHeaderActions.length) {
61576
62926
  <button
61577
62927
  praxisIconButton="ms:more_horiz"
@@ -61714,7 +63064,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61714
63064
  @if (expanded || fullscreen) {
61715
63065
  <div class="pdx-shell-backdrop" (click)="closeOverlay()"></div>
61716
63066
  }
61717
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%;min-width:0;max-width:100%;height:100%;position:relative}:host:after{content:\"\";position:absolute;inset:0;border:1px dashed color-mix(in srgb,var(--md-sys-color-primary) 34%,transparent);border-radius:var(--pdx-widget-highlight-radius, 12px);opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;box-shadow:0 0 0 1px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent),0 8px 20px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent)}:host([data-interaction-highlight=\"gradient\"]):after{content:\"\";position:absolute;inset:0;padding:2px;border:0;box-shadow:none;border-radius:var(--pdx-widget-highlight-radius, 12px);background:linear-gradient(135deg,var(--md-sys-color-primary),var(--md-sys-color-tertiary),var(--md-sys-color-secondary));opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}:host(.pdx-widget-shell-overlay):after{display:none}@media(forced-colors:active){:host:after,:host([data-interaction-highlight=\"gradient\"]):after{box-shadow:none;background:none;mask:none;-webkit-mask:none;padding:0;border:2px solid Highlight}}:host(.pdx-widget-shell-collapsed){height:auto}.pdx-shell{--pdx-shell-card-border-width: initial;--pdx-shell-card-border-style: initial;--pdx-shell-header-border-width: initial;--pdx-shell-header-border-style: initial;--pdx-shell-card-filter: initial;--pdx-shell-card-fallback-bg: initial;box-sizing:border-box;position:relative;width:100%;min-width:0;max-width:100%;height:100%;display:flex;flex-direction:column}.pdx-shell .pdx-shell{--pdx-shell-card-backdrop-filter: none;--pdx-shell-theme-backdrop-filter: none}.pdx-shell.no-shell{background:transparent;border:none;border-radius:0;box-shadow:none}.pdx-shell.dashboard{background:var( --pdx-shell-card-bg, var( --pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low) ) );border-width:var(--pdx-shell-card-border-width, 1px);border-style:var(--pdx-shell-card-border-style, solid);border-color:var( --pdx-shell-card-border, var( --pdx-dashboard-card-border, var(--md-sys-color-outline-variant) ) );border-radius:var(--pdx-shell-card-radius, 12px);box-shadow:var( --pdx-shell-card-shadow, 0 4px 12px rgba(15, 23, 42, .06) );-webkit-backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );overflow:hidden}.pdx-shell.dashboard:not(.expanded):not(.fullscreen){contain:layout paint style;isolation:isolate}@media(forced-colors:active){.pdx-shell.dashboard,.pdx-shell.dashboard.pdx-shell--backdrop,.pdx-shell-backdrop{background:Canvas;color:CanvasText;border-color:ButtonBorder;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface))}}@media(prefers-reduced-transparency:reduce){.pdx-shell.dashboard{background:var( --pdx-shell-theme-fallback-bg, var( --pdx-shell-card-bg, var(--pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low)) ) );-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell.dashboard.expanded,.pdx-shell.dashboard.fullscreen{-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop.expanded,.pdx-shell.dashboard.pdx-shell--backdrop.fullscreen{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell-header{container-type:inline-size;flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:12px;border-bottom:var(--pdx-shell-header-border-width, 1px) var(--pdx-shell-header-border-style, solid) var(--pdx-shell-header-border, var(--md-sys-color-outline-variant));background:var( --pdx-shell-header-bg, var(--md-sys-color-surface-container) )}.pdx-shell-header-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;width:100%}.pdx-shell-header--drag-enabled{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.pdx-shell-header--drag-enabled:active{cursor:grabbing}.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary) 72%,white 28%);outline-offset:-2px}.pdx-shell-authoring-drag{flex:0 0 auto;align-self:flex-start;margin:4px 6px 0;z-index:2;cursor:grab;touch-action:none}.pdx-shell-authoring-drag:active{cursor:grabbing}.pdx-shell-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 var(--pdx-shell-title-basis, min(14rem, 50%));max-width:100%;color:var(--pdx-shell-title-color, inherit)}@container (min-width: 380px){.pdx-shell-title{flex:1 1 var(--pdx-shell-title-basis, min(9.5rem, 35%))}}.pdx-shell-title mat-icon{flex:0 0 auto;color:var(--pdx-shell-icon-color, currentColor)}.pdx-shell-text{min-width:0;flex:1}.pdx-shell-title-text{font-family:var(--pdx-shell-title-font, inherit);font-weight:var(--pdx-shell-title-weight, var(--mat-sys-title-medium-weight, 500));font-size:var(--pdx-shell-title-size, 13px);letter-spacing:var(--pdx-shell-title-tracking, normal);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-subtitle{font-size:var(--pdx-shell-subtitle-size, 11px);color:var( --pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, currentColor) );white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-actions,.pdx-shell-window-actions{display:flex;align-items:center;gap:var(--pdx-shell-actions-gap, 2px);max-width:100%}.pdx-shell-actions{flex-wrap:wrap;margin-left:auto;min-width:0}.pdx-shell-actions button.praxis-icon-button:not(:disabled):not(.praxis-icon-button--pressed){color:var(--pdx-shell-icon-color, var(--md-sys-color-on-surface-variant))}.pdx-shell-actions>button{max-width:100%}.pdx-shell-window-actions{flex-wrap:nowrap;flex:0 0 auto;margin-left:auto}.pdx-shell-text{display:grid;gap:2px}.pdx-shell-title-text,.pdx-shell-subtitle{display:-webkit-box;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pdx-action-outlined{border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;padding:0 10px;white-space:nowrap;flex:0 0 auto}.pdx-action-text{padding:0 8px;white-space:nowrap;flex:0 0 auto}.pdx-shell-action--pressed:not(.praxis-icon-button){color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent)}.pdx-action-label{font-size:12px;font-weight:500}.pdx-shell-tabs{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--pdx-shell-header-border, var(--md-sys-color-outline-variant)) 55%,transparent)}.pdx-shell-tab{appearance:none;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .45)));background:transparent;color:var(--pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)));font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pdx-shell-tab:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:2px}.pdx-shell-tab:hover:not(:disabled){border-color:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-shell-tab--active{border-color:var(--md-sys-color-primary, var(--mat-sys-primary));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-shell-tab:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-tab mat-icon{width:15px;height:15px;font-size:15px}.pdx-shell-tab__badge{font-size:11px;font-weight:500;opacity:.78}.pdx-shell.dashboard.pdx-shell--sticky-header{overflow:clip}.pdx-shell--sticky-header>.pdx-shell-header{position:sticky;top:var(--pdx-shell-sticky-header-offset, 0px);z-index:2;isolation:isolate;background:var(--md-sys-color-surface-container)}.pdx-shell--backdrop.pdx-shell--sticky-header>.pdx-shell-header{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface-container))}.pdx-shell--sticky-header>.pdx-shell-header:before{content:\"\";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--pdx-shell-header-bg, transparent)}.pdx-shell--sticky-header>.pdx-shell-body{isolation:isolate}.pdx-shell-body{flex:1;min-width:0;max-width:100%;min-height:0;padding:var(--pdx-shell-body-padding, 12px);background:var(--pdx-shell-body-bg, transparent);color:var(--pdx-shell-body-color, inherit)}.pdx-shell.no-shell>.pdx-shell-body{padding:0}.pdx-shell-body.hidden{display:none}.pdx-shell.collapsed{height:auto}.pdx-shell.collapsed>.pdx-shell-header{border-bottom-color:transparent}.pdx-shell.body-fill>.pdx-shell-body,.pdx-shell.body-scroll>.pdx-shell-body,.pdx-shell.expanded>.pdx-shell-body,.pdx-shell.fullscreen>.pdx-shell-body{overflow:auto;display:flex;flex-direction:column;min-height:0}.pdx-shell.collapsed>.pdx-shell-body{display:none}.pdx-shell.body-fill>.pdx-shell-body{overflow:hidden}.pdx-shell.body-scroll>.pdx-shell-body{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery>.pdx-shell-body{flex:0 0 auto;overflow:visible}.pdx-shell.body-fill>.pdx-shell-body>*,.pdx-shell.body-scroll>.pdx-shell-body>*,.pdx-shell.expanded>.pdx-shell-body>*,.pdx-shell.fullscreen>.pdx-shell-body>*{flex:1 1 auto;min-height:0;width:100%}.pdx-shell.expanded,.pdx-shell-overlay-surface.expanded{position:fixed;top:10vh;left:50%;width:min(920px,92vw);height:min(640px,82vh);transform:translate(-50%);z-index:var(--praxis-layer-widget-shell-expanded, 1290);box-shadow:var(--mat-elevation-level8)}.pdx-shell.fullscreen,.pdx-shell-overlay-surface.fullscreen{position:fixed;inset:0;width:auto;height:auto;transform:none;border-radius:0;z-index:var(--praxis-layer-widget-shell-fullscreen, 1291);box-shadow:var(--mat-elevation-level8)}.pdx-shell.expanded,.pdx-shell.fullscreen{background:var(--pdx-shell-overlay-bg, var(--md-sys-color-surface, var(--mat-sys-surface)));color:var(--md-sys-color-on-surface)}.pdx-shell.fullscreen>.pdx-shell-body{padding:var(--pdx-shell-fullscreen-body-padding, 24px)}.pdx-shell-overlay-surface{background:var(--md-sys-color-surface);border-radius:var(--pdx-dashboard-card-radius, 16px);pointer-events:none}.pdx-shell-backdrop{position:fixed;inset:0;z-index:var(--praxis-z-widget-shell, var(--praxis-layer-widget-shell-backdrop, 1280));background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);contain:layout style;isolation:isolate}@media(prefers-reduced-transparency:reduce){.pdx-shell-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell-action-group--segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, #c4c7c5));border-radius:10px;background:var(--md-sys-color-surface-container-low, var(--mat-sys-surface-container-low, #f3f5f8))}.pdx-shell-segmented-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:26px;padding:0 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #44474e));font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:28px;width:28px;padding:0}.pdx-shell-segmented-btn mat-icon{width:15px;height:15px;font-size:15px;line-height:15px;flex-shrink:0}.pdx-shell-segmented-btn:hover:not(:disabled):not(.pdx-shell-segmented-btn--active){color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e));background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e)) 6%,transparent)}.pdx-shell-segmented-btn--active{background:var(--md-sys-color-primary-container, var(--mat-sys-primary-container, #d7e3ff));color:var(--md-sys-color-on-primary-container, var(--mat-sys-on-primary-container, #001b3e));font-weight:600}.pdx-shell-segmented-btn:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-segmented-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:1px}.pdx-shell-menu-divider{height:1px;margin:4px 0;background:var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .32)))}.pdx-shell-menu-section-label{padding:6px 16px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #64748b));-webkit-user-select:none;user-select:none}.pdx-shell-menu-item-row{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.pdx-shell-menu-check.mat-icon{width:16px;height:16px;font-size:16px;line-height:16px;margin-left:auto;margin-right:0;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4))}.pdx-shell-menu-item--active{font-weight:600;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 8%,transparent)}@media(forced-colors:active){.pdx-shell-segmented-btn--active,.pdx-shell-menu-item--active,.pdx-shell-tab--active{forced-color-adjust:auto;border:1px solid Highlight;outline:2px solid Highlight;outline-offset:-2px}.pdx-shell-tab:focus-visible,.pdx-shell-segmented-btn:focus-visible,.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid Highlight;outline-offset:2px}}@media(pointer:coarse){.pdx-shell-segmented-btn{min-height:36px;padding:0 10px}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:36px;width:36px}}@media print{.pdx-shell-actions,.pdx-shell-window-actions{display:none!important}}\n"] }]
63067
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%;min-width:0;max-width:100%;height:100%;position:relative}:host:after{content:\"\";position:absolute;inset:0;border:1px dashed color-mix(in srgb,var(--md-sys-color-primary) 34%,transparent);border-radius:var(--pdx-widget-highlight-radius, 12px);opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;box-shadow:0 0 0 1px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent),0 8px 20px color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent)}:host([data-interaction-highlight=\"gradient\"]):after{content:\"\";position:absolute;inset:0;padding:2px;border:0;box-shadow:none;border-radius:var(--pdx-widget-highlight-radius, 12px);background:linear-gradient(135deg,var(--md-sys-color-primary),var(--md-sys-color-tertiary),var(--md-sys-color-secondary));opacity:var(--pdx-widget-highlight-active, 0);pointer-events:none;z-index:1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}:host(.pdx-widget-shell-overlay):after{display:none}@media(forced-colors:active){:host:after,:host([data-interaction-highlight=\"gradient\"]):after{box-shadow:none;background:none;mask:none;-webkit-mask:none;padding:0;border:2px solid Highlight}}:host(.pdx-widget-shell-collapsed){height:auto}.pdx-shell{--pdx-shell-card-border-width: initial;--pdx-shell-card-border-style: initial;--pdx-shell-header-border-width: initial;--pdx-shell-header-border-style: initial;--pdx-shell-card-filter: initial;--pdx-shell-card-fallback-bg: initial;box-sizing:border-box;position:relative;width:100%;min-width:0;max-width:100%;height:100%;display:flex;flex-direction:column}.pdx-shell .pdx-shell{--pdx-shell-card-backdrop-filter: none;--pdx-shell-theme-backdrop-filter: none}.pdx-shell.no-shell{background:transparent;border:none;border-radius:0;box-shadow:none}.pdx-shell.dashboard{background:var( --pdx-shell-card-bg, var( --pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low) ) );border-width:var(--pdx-shell-card-border-width, 1px);border-style:var(--pdx-shell-card-border-style, solid);border-color:var( --pdx-shell-card-border, var( --pdx-dashboard-card-border, var(--md-sys-color-outline-variant) ) );border-radius:var(--pdx-shell-card-radius, 12px);box-shadow:var( --pdx-shell-card-shadow, 0 4px 12px rgba(15, 23, 42, .06) );-webkit-backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );backdrop-filter:var( --pdx-shell-card-filter, var(--pdx-shell-card-backdrop-filter, var(--pdx-shell-theme-backdrop-filter, none)) );overflow:hidden}.pdx-shell.dashboard:not(.expanded):not(.fullscreen){contain:layout paint style;isolation:isolate}@media(forced-colors:active){.pdx-shell.dashboard,.pdx-shell.dashboard.pdx-shell--backdrop,.pdx-shell-backdrop{background:Canvas;color:CanvasText;border-color:ButtonBorder;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface))}}@media(prefers-reduced-transparency:reduce){.pdx-shell.dashboard{background:var( --pdx-shell-theme-fallback-bg, var( --pdx-shell-card-bg, var(--pdx-dashboard-card-bg, var(--md-sys-color-surface-container-low)) ) );-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell.dashboard.expanded,.pdx-shell.dashboard.fullscreen{-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell.dashboard.pdx-shell--backdrop.expanded,.pdx-shell.dashboard.pdx-shell--backdrop.fullscreen{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface));-webkit-backdrop-filter:none;backdrop-filter:none}.pdx-shell-header{container-type:inline-size;flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:12px;border-bottom:var(--pdx-shell-header-border-width, 1px) var(--pdx-shell-header-border-style, solid) var(--pdx-shell-header-border, var(--md-sys-color-outline-variant));background:var( --pdx-shell-header-bg, var(--md-sys-color-surface-container) )}.pdx-shell-header-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;width:100%}.pdx-shell-header--drag-enabled{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.pdx-shell-header--drag-enabled:active{cursor:grabbing}.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary) 72%,white 28%);outline-offset:-2px}.pdx-shell-authoring-drag{flex:0 0 auto;align-self:flex-start;margin:4px 6px 0;z-index:2;cursor:grab;touch-action:none}.pdx-shell-authoring-drag:active{cursor:grabbing}.pdx-shell-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 var(--pdx-shell-title-basis, min(14rem, 50%));max-width:100%;color:var(--pdx-shell-title-color, inherit)}@container (min-width: 380px){.pdx-shell-title{flex:1 1 var(--pdx-shell-title-basis, min(9.5rem, 35%))}}.pdx-shell-title mat-icon{flex:0 0 auto;color:var(--pdx-shell-icon-color, currentColor)}.pdx-shell-text{min-width:0;flex:1}.pdx-shell-title-text{font-family:var(--pdx-shell-title-font, inherit);font-weight:var(--pdx-shell-title-weight, var(--mat-sys-title-medium-weight, 500));font-size:var(--pdx-shell-title-size, 13px);letter-spacing:var(--pdx-shell-title-tracking, normal);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-subtitle{font-size:var(--pdx-shell-subtitle-size, 11px);color:var( --pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, currentColor) );white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-shell-actions,.pdx-shell-window-actions{display:flex;align-items:center;gap:var(--pdx-shell-actions-gap, 2px);max-width:100%}.pdx-shell-actions{flex-wrap:wrap;margin-left:auto;min-width:0}.pdx-shell-actions button.praxis-icon-button:not(:disabled):not(.praxis-icon-button--pressed){color:var(--pdx-shell-icon-color, var(--md-sys-color-on-surface-variant))}.pdx-shell-actions>button{max-width:100%}.pdx-shell-window-actions{flex-wrap:nowrap;flex:0 0 auto;margin-left:auto}.pdx-shell-text{display:grid;gap:2px}.pdx-shell-title-text,.pdx-shell-subtitle{display:-webkit-box;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pdx-action-outlined{border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;padding:0 10px;white-space:nowrap;flex:0 0 auto}.pdx-action-text{padding:0 8px;white-space:nowrap;flex:0 0 auto}.pdx-shell-action--pressed:not(.praxis-icon-button){color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent)}.pdx-action-label{font-size:12px;font-weight:500}.pdx-shell-tabs{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--pdx-shell-header-border, var(--md-sys-color-outline-variant)) 55%,transparent)}.pdx-shell-tab{appearance:none;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .45)));background:transparent;color:var(--pdx-shell-subtitle-color, var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)));font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pdx-shell-tab:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:2px}.pdx-shell-tab:hover:not(:disabled){border-color:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-shell-tab--active{border-color:var(--md-sys-color-primary, var(--mat-sys-primary));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-shell-tab:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-tab mat-icon{width:15px;height:15px;font-size:15px}.pdx-shell-tab__badge{font-size:11px;font-weight:500;opacity:.78}.pdx-shell.dashboard.pdx-shell--sticky-header{overflow:clip}.pdx-shell--sticky-header>.pdx-shell-header{position:sticky;top:var(--pdx-shell-sticky-header-offset, 0px);z-index:2;isolation:isolate;background:var(--md-sys-color-surface-container)}.pdx-shell--backdrop.pdx-shell--sticky-header>.pdx-shell-header{background:var(--pdx-shell-card-fallback-bg, var(--md-sys-color-surface-container))}.pdx-shell--sticky-header>.pdx-shell-header:before{content:\"\";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--pdx-shell-header-bg, transparent)}.pdx-shell--sticky-header>.pdx-shell-body{isolation:isolate}.pdx-shell-body{flex:1;min-width:0;max-width:100%;min-height:0;padding:var(--pdx-shell-body-padding, 12px);background:var(--pdx-shell-body-bg, transparent);color:var(--pdx-shell-body-color, inherit)}.pdx-shell.no-shell>.pdx-shell-body{padding:0}.pdx-shell-body.hidden{display:none}.pdx-shell.collapsed{height:auto}.pdx-shell.collapsed>.pdx-shell-header{border-bottom-color:transparent}.pdx-shell.body-fill>.pdx-shell-body,.pdx-shell.body-scroll>.pdx-shell-body,.pdx-shell.expanded>.pdx-shell-body,.pdx-shell.fullscreen>.pdx-shell-body,.pdx-shell[data-shell-fill-available=true]>.pdx-shell-body{overflow:auto;display:flex;flex-direction:column;min-height:0}.pdx-shell.collapsed>.pdx-shell-body{display:none}.pdx-shell.body-fill>.pdx-shell-body{overflow:hidden}.pdx-shell.body-scroll>.pdx-shell-body{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery{overflow:auto}.pdx-shell.body-scroll.pdx-shell--scroll-recovery>.pdx-shell-body{flex:0 0 auto;overflow:visible}:host ::ng-deep>.pdx-shell[data-shell-fill-available=true]>.pdx-shell-body>*{flex:1 0 auto;width:100%}:host ::ng-deep>.pdx-shell[data-shell-fill-available=true]>.pdx-shell-body>[data-pdx-viewport-mode=fill],:host ::ng-deep>.pdx-shell.body-fill[data-shell-fill-available=true]>.pdx-shell-body>*{flex:1 1 0%;height:100%;min-height:0;width:100%}.pdx-shell.expanded,.pdx-shell-overlay-surface.expanded{position:fixed;top:10vh;left:50%;width:min(920px,92vw);height:min(640px,82vh);transform:translate(-50%);z-index:var(--praxis-layer-widget-shell-expanded, 1290);box-shadow:var(--mat-elevation-level8)}.pdx-shell.fullscreen,.pdx-shell-overlay-surface.fullscreen{position:fixed;inset:0;width:auto;height:auto;transform:none;border-radius:0;z-index:var(--praxis-layer-widget-shell-fullscreen, 1291);box-shadow:var(--mat-elevation-level8)}.pdx-shell.expanded,.pdx-shell.fullscreen{background:var(--pdx-shell-overlay-bg, var(--md-sys-color-surface, var(--mat-sys-surface)));color:var(--md-sys-color-on-surface)}.pdx-shell.fullscreen>.pdx-shell-body{padding:var(--pdx-shell-fullscreen-body-padding, 24px)}.pdx-shell-overlay-surface{background:var(--md-sys-color-surface);border-radius:var(--pdx-dashboard-card-radius, 16px);pointer-events:none}.pdx-shell-backdrop{position:fixed;inset:0;z-index:var(--praxis-z-widget-shell, var(--praxis-layer-widget-shell-backdrop, 1280));background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);contain:layout style;isolation:isolate}@media(prefers-reduced-transparency:reduce){.pdx-shell-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.pdx-shell-action-group--segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, #c4c7c5));border-radius:10px;background:var(--md-sys-color-surface-container-low, var(--mat-sys-surface-container-low, #f3f5f8))}.pdx-shell-segmented-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:26px;padding:0 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #44474e));font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:28px;width:28px;padding:0}.pdx-shell-segmented-btn mat-icon{width:15px;height:15px;font-size:15px;line-height:15px;flex-shrink:0}.pdx-shell-segmented-btn:hover:not(:disabled):not(.pdx-shell-segmented-btn--active){color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e));background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface, #1a1c1e)) 6%,transparent)}.pdx-shell-segmented-btn--active{background:var(--md-sys-color-primary-container, var(--mat-sys-primary-container, #d7e3ff));color:var(--md-sys-color-on-primary-container, var(--mat-sys-on-primary-container, #001b3e));font-weight:600}.pdx-shell-segmented-btn:disabled{opacity:.5;cursor:not-allowed}.pdx-shell-segmented-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 55%,transparent);outline-offset:1px}.pdx-shell-menu-divider{height:1px;margin:4px 0;background:var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant, rgba(148, 163, 184, .32)))}.pdx-shell-menu-section-label{padding:6px 16px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant, #64748b));-webkit-user-select:none;user-select:none}.pdx-shell-menu-item-row{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.pdx-shell-menu-check.mat-icon{width:16px;height:16px;font-size:16px;line-height:16px;margin-left:auto;margin-right:0;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4))}.pdx-shell-menu-item--active{font-weight:600;color:var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4));background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary, #1263b4)) 8%,transparent)}@media(forced-colors:active){.pdx-shell-segmented-btn--active,.pdx-shell-menu-item--active,.pdx-shell-tab--active{forced-color-adjust:auto;border:1px solid Highlight;outline:2px solid Highlight;outline-offset:-2px}.pdx-shell-tab:focus-visible,.pdx-shell-segmented-btn:focus-visible,.pdx-shell-header--drag-enabled:focus-visible{outline:2px solid Highlight;outline-offset:2px}}@media(pointer:coarse){.pdx-shell-segmented-btn{min-height:36px;padding:0 10px}.pdx-shell-action-group--icon-only .pdx-shell-segmented-btn{min-width:36px;width:36px}}@media print{.pdx-shell-actions,.pdx-shell-window-actions{display:none!important}}\n"] }]
61718
63068
  }], ctorParameters: () => [], propDecorators: { hostCollapsed: [{
61719
63069
  type: HostBinding,
61720
63070
  args: ['class.pdx-widget-shell-collapsed']
@@ -61726,6 +63076,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61726
63076
  type: Input
61727
63077
  }], dragSurfaceLabel: [{
61728
63078
  type: Input
63079
+ }], constrainedHeight: [{
63080
+ type: Input
61729
63081
  }], action: [{
61730
63082
  type: Output
61731
63083
  }], dragSurfacePointerDown: [{
@@ -61737,6 +63089,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61737
63089
  }, isSignal: true }] }], overflowTrigger: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MatMenuTrigger), { isSignal: true }] }] } });
61738
63090
 
61739
63091
  class PraxisResourceIdentityComponent {
63092
+ i18n = inject(PraxisI18nService, { optional: true });
61740
63093
  identity = null;
61741
63094
  emptyTitle = '';
61742
63095
  density = 'comfortable';
@@ -61751,7 +63104,22 @@ class PraxisResourceIdentityComponent {
61751
63104
  return String(this.displayValue(this.identity.title) ?? this.identity.displayLabel ?? '').trim();
61752
63105
  }
61753
63106
  displayValue(part) {
61754
- return isMaskedPresentationToken(part?.value) ? part?.value : part?.formattedValue ?? part?.value;
63107
+ if (!part)
63108
+ return undefined;
63109
+ if (isMaskedPresentationToken(part.value)) {
63110
+ return part.value;
63111
+ }
63112
+ if (part.formattedValue !== undefined) {
63113
+ return part.formattedValue;
63114
+ }
63115
+ if (typeof part.value === 'boolean') {
63116
+ const locale = String(this.i18n?.activeLocale?.() ?? 'pt-BR').toLowerCase();
63117
+ if (locale.startsWith('en')) {
63118
+ return part.value ? 'Yes' : 'No';
63119
+ }
63120
+ return part.value ? 'Sim' : 'Não';
63121
+ }
63122
+ return part.value;
61755
63123
  }
61756
63124
  prefix(item) {
61757
63125
  return item.presentation?.prefix ?? '';
@@ -67971,7 +69339,7 @@ class CanvasSizeEditorComponent {
67971
69339
  </div>
67972
69340
  }
67973
69341
  </section>
67974
- `, isInline: true, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface)}.size-editor{display:grid;gap:var(--pdx-editor-gap, 20px)}.context{display:grid;gap:4px;overflow-wrap:anywhere}.context span,.hint,.preset-unit{color:var(--md-sys-color-on-surface-variant);font-size:12px}p,h3{margin:0}h3,.section-label{font-size:14px;font-weight:500}.dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}mat-form-field{min-width:0}mat-hint{color:var(--md-sys-color-on-surface-variant)}.presets{display:flex;flex-wrap:wrap;gap:8px}.presets button{min-height:44px}.preset-unit{margin-inline-start:8px}.preset-section .presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.preset-section .presets button{height:auto;min-height:60px;padding:8px}.preset-section .presets strong,.preset-section .preset-unit{display:block;margin:0}.preset-copy{display:grid;gap:4px;text-align:center;white-space:normal}.preset-section,.fill-section{display:grid;gap:10px}.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(44px,72px));gap:6px;justify-content:center}.direction-cell{display:block}.direction-cell button{width:100%;min-width:44px;height:44px;padding:0;font-size:24px}.direction-cell button.selected{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border-color:var(--md-sys-color-primary)}.direction-cell button:disabled{background:transparent;color:var(--md-sys-color-on-surface);opacity:.38}.direction-center{display:grid;place-items:center;font-size:12px;color:var(--md-sys-color-on-surface-variant)}.selection-summary{text-align:center;font-size:14px;font-weight:500}.hint{line-height:1.5}.hint.preview-calculating{font-weight:550;color:var(--pdx-text-shimmer-base, var(--md-sys-color-on-surface-variant))}@supports ((-webkit-background-clip: text) or (background-clip: text)){.hint.preview-calculating{background-image:var( --pdx-text-shimmer-gradient, linear-gradient( 105deg, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 0%, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 26%, color-mix(in oklab, var(--md-sys-color-tertiary, #6366f1) 74%, #a855f7 26%) 40%, var(--pdx-text-shimmer-peak, var(--md-sys-color-on-surface, #ffffff)) 50%, color-mix(in oklab, var(--md-sys-color-primary, #006a6a) 74%, #ec4899 26%) 60%, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 74%, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 100% ) );background-size:300% 100%;background-position:100% 50%;background-repeat:no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:pdxCanvasSizeShimmer var(--pdx-text-shimmer-duration, 2.6s) linear infinite;will-change:background-position}}@media(prefers-reduced-motion:reduce),(forced-colors:active),print{.hint.preview-calculating{animation:none!important;background-image:none!important;-webkit-text-fill-color:currentColor!important;color:var(--md-sys-color-primary)!important;will-change:auto}}@media(forced-colors:active){.hint.preview-calculating{color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}}@keyframes pdxCanvasSizeShimmer{0%{background-position:100% 50%}to{background-position:0% 50%}}summary{cursor:pointer;padding-block:8px;font-weight:500}.advanced-content{display:grid;gap:16px;padding-block:8px}mat-radio-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.recovery{display:grid;gap:4px;justify-items:start}.error{color:var(--md-sys-color-error);font-size:12px}.layout-preview{display:grid;gap:8px}.layout-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.layout-map{position:relative;height:112px;margin-block-start:6px;background:var(--md-sys-color-surface-container)}.layout-block{position:absolute;box-sizing:border-box;border:2px solid var(--md-sys-color-surface-container);padding:4px;background:var(--md-sys-color-surface-container-highest);color:var(--md-sys-color-on-surface-variant);font-size:11px;overflow:hidden}.layout-block.target{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);font-weight:600}.layout-block.changed{outline:1px dashed var(--md-sys-color-primary);outline-offset:-3px}.changed-neighbors{margin:0;padding-inline-start:20px;font-size:12px}.direction-reasons{margin:0;padding-inline-start:20px;color:var(--md-sys-color-on-surface-variant);font-size:12px;line-height:1.5}.direction-reasons li+li{margin-block-start:8px}@media(max-width:480px){.dimensions{grid-template-columns:minmax(0,1fr)}.preset-section .presets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){mat-radio-group{grid-template-columns:minmax(0,1fr)}}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1$2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i5$1.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i5$1.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
69342
+ `, isInline: true, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface)}.size-editor{display:grid;gap:var(--pdx-editor-gap, 20px)}.context{display:grid;gap:4px;overflow-wrap:anywhere}.context span,.hint,.preset-unit{color:var(--md-sys-color-on-surface-variant);font-size:12px}p,h3{margin:0}h3,.section-label{font-size:14px;font-weight:500}.dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}mat-form-field{min-width:0}mat-hint{color:var(--md-sys-color-on-surface-variant)}.presets{display:flex;flex-wrap:wrap;gap:8px}.presets button{min-height:44px}.preset-unit{margin-inline-start:8px}.preset-section .presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.preset-section .presets button{height:auto;min-height:60px;padding:8px}.preset-section .presets strong,.preset-section .preset-unit{display:block;margin:0}.preset-copy{display:grid;gap:4px;text-align:center;white-space:normal}.preset-section,.fill-section{display:grid;gap:10px}.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(44px,72px));gap:6px;justify-content:center}.direction-cell{display:block}.direction-cell button{width:100%;min-width:44px;height:44px;padding:0;font-size:24px}.direction-cell button.selected{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border-color:var(--md-sys-color-primary)}.direction-cell button:disabled{background:transparent;color:var(--md-sys-color-on-surface);opacity:.38}.direction-center{display:grid;place-items:center;font-size:12px;color:var(--md-sys-color-on-surface-variant)}.selection-summary{text-align:center;font-size:14px;font-weight:500}.hint{line-height:1.5}.hint.preview-calculating{font-weight:550;color:var(--pdx-text-shimmer-base, var(--md-sys-color-on-surface-variant))}@supports ((-webkit-background-clip: text) or (background-clip: text)){.hint.preview-calculating{background-image:var( --pdx-text-shimmer-gradient, linear-gradient( 105deg, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 0%, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 26%, color-mix(in oklab, var(--md-sys-color-tertiary, #6366f1) 74%, #a855f7 26%) 40%, var(--pdx-text-shimmer-peak, var(--md-sys-color-on-surface, #ffffff)) 50%, color-mix(in oklab, var(--md-sys-color-primary, #006a6a) 74%, #ec4899 26%) 60%, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 74%, color-mix(in oklab, var(--md-sys-color-on-surface-variant, #64748b) 82%, var(--md-sys-color-on-surface, #0f172a) 18%) 100% ) );background-size:300% 100%;background-position:100% 50%;background-repeat:no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:pdxCanvasSizeShimmer var(--pdx-text-shimmer-duration, 2.6s) linear infinite;will-change:background-position}}@media(prefers-reduced-motion:reduce),(forced-colors:active),print{.hint.preview-calculating{animation:none!important;background-image:none!important;-webkit-text-fill-color:currentColor!important;color:var(--md-sys-color-primary)!important;will-change:auto}}@media(forced-colors:active){.hint.preview-calculating{color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}}@keyframes pdxCanvasSizeShimmer{0%{background-position:100% 50%}to{background-position:0% 50%}}summary{cursor:pointer;padding-block:8px;font-weight:500}.advanced-content{display:grid;gap:16px;padding-block:8px}mat-radio-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.recovery{display:grid;gap:4px;justify-items:start}.error{color:var(--md-sys-color-error);font-size:12px}.layout-preview{display:grid;gap:8px}.layout-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.layout-map{position:relative;height:112px;margin-block-start:6px;background:var(--md-sys-color-surface-container)}.layout-block{position:absolute;box-sizing:border-box;border:2px solid var(--md-sys-color-surface-container);padding:4px;background:var(--md-sys-color-surface-container-highest);color:var(--md-sys-color-on-surface-variant);font-size:11px;overflow:hidden}.layout-block.target{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);font-weight:600}.layout-block.changed{outline:1px dashed var(--md-sys-color-primary);outline-offset:-3px}.changed-neighbors{margin:0;padding-inline-start:20px;font-size:12px}.direction-reasons{margin:0;padding-inline-start:20px;color:var(--md-sys-color-on-surface-variant);font-size:12px;line-height:1.5}.direction-reasons li+li{margin-block-start:8px}@media(max-width:480px){.dimensions{grid-template-columns:minmax(0,1fr)}.preset-section .presets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){mat-radio-group{grid-template-columns:minmax(0,1fr)}}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1$2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i5$1.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i5$1.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
67975
69343
  }
67976
69344
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: CanvasSizeEditorComponent, decorators: [{
67977
69345
  type: Component,
@@ -68412,7 +69780,7 @@ class DynamicWidgetContextToolbarComponent {
68412
69780
  </mat-menu>
68413
69781
  }
68414
69782
  </div>
68415
- `, isInline: true, styles: [".pdx-widget-context-toolbar{position:absolute;top:-19px;right:12px;z-index:4;display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:1px 4px;border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 28%,var(--md-sys-color-outline-variant));border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 88%,transparent);box-shadow:0 10px 28px #0f172a38,0 0 0 1px color-mix(in srgb,var(--md-sys-color-primary) 10%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.pdx-widget-context-toolbar--with-context{border-radius:18px}:host(.pdx-canvas-context-toolbar) .pdx-widget-context-toolbar{top:auto;bottom:calc(100% + 8px)}.pdx-widget-context-toolbar__context{display:inline-flex;align-items:center;align-self:stretch;max-width:180px;padding:0 8px 0 10px;border-right:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 64%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:11px;font-weight:700;letter-spacing:.01em;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4.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: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.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: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
69783
+ `, isInline: true, styles: [".pdx-widget-context-toolbar{position:absolute;top:-19px;right:12px;z-index:4;display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:1px 4px;border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 28%,var(--md-sys-color-outline-variant));border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-surface-container-high) 88%,transparent);box-shadow:0 10px 28px #0f172a38,0 0 0 1px color-mix(in srgb,var(--md-sys-color-primary) 10%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.pdx-widget-context-toolbar--with-context{border-radius:18px}:host(.pdx-canvas-context-toolbar) .pdx-widget-context-toolbar{top:auto;bottom:calc(100% + 8px)}.pdx-widget-context-toolbar__context{display:inline-flex;align-items:center;align-self:stretch;max-width:180px;padding:0 8px 0 10px;border-right:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 64%,transparent);color:var(--md-sys-color-on-surface-variant);font-size:11px;font-weight:700;letter-spacing:.01em;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4.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: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.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: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
68416
69784
  }
68417
69785
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DynamicWidgetContextToolbarComponent, decorators: [{
68418
69786
  type: Component,
@@ -73045,7 +74413,7 @@ class DynamicWidgetPageComponent {
73045
74413
  if (!shell) {
73046
74414
  return DynamicWidgetPageComponent.CONTENT_SCROLL_FALLBACK_SHELL;
73047
74415
  }
73048
- if (shell.bodyLayout === 'scroll') {
74416
+ if (shell.bodyLayout === 'scroll' || shell.bodyLayout === 'fill') {
73049
74417
  return shell;
73050
74418
  }
73051
74419
  const cachedScroll = this.contentScrollShellCache.get(shell);
@@ -78179,6 +79547,15 @@ class DynamicWidgetPageComponent {
78179
79547
  const visualSpan = Math.max(1, spanRows - removedInside);
78180
79548
  return `${visualRow} / span ${visualSpan}`;
78181
79549
  }
79550
+ hasControlledWidgetHeight(widget) {
79551
+ if (!this.isCanvasMode()) {
79552
+ return false;
79553
+ }
79554
+ if (this.widgetContentSize(widget)) {
79555
+ return true;
79556
+ }
79557
+ return this.canvas?.autoRows === 'fixed';
79558
+ }
78182
79559
  widgetContentSize(widget) {
78183
79560
  if (this.canvas?.autoRows !== 'content')
78184
79561
  return null;
@@ -79268,6 +80645,7 @@ class DynamicWidgetPageComponent {
79268
80645
  #canvasShell
79269
80646
  [shell]="widgetShellForRender(w)"
79270
80647
  [context]="widgetShellSettingsContext()"
80648
+ [constrainedHeight]="!canvasShell.collapsed && hasControlledWidgetHeight(w)"
79271
80649
  [dragSurfaceEnabled]="canCustomizeCanvas() && isCanvasMode()"
79272
80650
  [dragSurfaceLabel]="dragWidgetLabel()"
79273
80651
  (action)="onWidgetShellAction(w.key, $event)"
@@ -79650,7 +81028,7 @@ class DynamicWidgetPageComponent {
79650
81028
  </div>
79651
81029
  }
79652
81030
  </div>
79653
- `, isInline: true, styles: [":host{display:block;min-width:0;max-width:100%}.pdx-page-wrapper{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding-inline:var(--pdx-page-padding-inline, 0px);position:relative;display:block;background:var(--pdx-page-bg, var(--_pdx-preset-page-bg, transparent));color:var(--pdx-page-color, inherit)}.pdx-page{display:grid;width:100%;min-width:0;max-width:100%;gap:var(--pdx-page-gap, 12px);grid-template-columns:minmax(0,1fr)}.pdx-page--canvas{align-items:start;grid-auto-flow:dense}.pdx-page-wrapper.editing .pdx-page--canvas{padding-block-start:var(--pdx-canvas-context-toolbar-safe-area, 60px);padding-block-end:22px;padding-inline:22px;row-gap:max(var(--pdx-page-gap, 16px),var(--pdx-canvas-editing-row-gap, 56px));box-sizing:border-box}.pdx-page-settings{position:sticky;top:8px;z-index:2;color:inherit;margin-bottom:6px}.pdx-widget{--pdx-widget-highlight-active: 0;--pdx-resize-highlight-background: var(--md-sys-color-primary-container);position:relative;background:var(--pfx-surface, transparent);border-radius:6px;min-width:0;max-width:100%;min-height:0}.pdx-widget--interactive{cursor:pointer}.pdx-widget--selected:not(.pdx-widget--canvas-blocked):not([data-resize-feedback]),.pdx-widget--interactive:not(.pdx-widget--canvas-blocked):not([data-resize-feedback]):has(:focus-visible):not(:has(.pdx-widget :focus-visible)){--pdx-widget-highlight-active: 1}.pdx-widget--canvas-blocked,.pdx-widget--canvas[data-resize-feedback]{--pdx-widget-highlight-active: 0}.pdx-widget--canvas{align-self:stretch}.pdx-widget--canvas[data-resize-feedback]:after{content:\"\";position:absolute;inset:0;padding:2px;border-radius:14px;background:var(--pdx-resize-feedback-color);opacity:0;pointer-events:none;transition:opacity .14s ease,filter .14s ease;filter:saturate(1.02) drop-shadow(0 0 5px color-mix(in srgb,var(--md-sys-color-primary) 10%,transparent));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}.pdx-widget--canvas-blocked:before{content:\"\";position:absolute;inset:0;border-radius:14px;pointer-events:none;z-index:1;transition:opacity .14s ease,box-shadow .14s ease,border-color .14s ease}.pdx-widget--canvas-blocked:before{border:1px solid color-mix(in srgb,var(--md-sys-color-error) 74%,transparent);box-shadow:0 0 0 1px color-mix(in srgb,var(--md-sys-color-error) 20%,transparent),0 10px 24px color-mix(in srgb,var(--md-sys-color-error) 12%,transparent)}[data-resize-feedback=valid]{--pdx-resize-feedback-color: #27864b}[data-resize-feedback=minimum]{--pdx-resize-feedback-color: #bc8a00}[data-resize-feedback=blocked]{--pdx-resize-feedback-color: var(--md-sys-color-error)}.pdx-widget--canvas[data-resize-feedback]:after{background:var(--pdx-resize-feedback-color);opacity:1;z-index:2}.pdx-resize-feedback{position:absolute;inset-inline:8px;bottom:8px;width:fit-content;max-width:calc(100% - 16px);box-sizing:border-box;display:flex;align-items:center;gap:6px;padding:4px 8px;border:2px solid var(--pdx-resize-feedback-color);border-radius:8px;color:var(--md-sys-color-on-surface);background:var(--md-sys-color-surface);font-size:12px;line-height:18px;pointer-events:none;z-index:3}.pdx-standalone-size-editor{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--md-sys-color-outline-variant);border-radius:16px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);box-shadow:var(--mat-sys-level3, 0 8px 24px rgba(0, 0, 0, .24))}.pdx-standalone-size-editor__footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--md-sys-color-outline-variant)}.pdx-resize-feedback mat-icon{flex:0 0 18px;width:18px;height:18px;font-size:18px}.pdx-resize-feedback--floating{position:static;max-width:min(320px,calc(100vw - 24px));overflow-wrap:anywhere}.pdx-resize-feedback--floating strong{display:block}.pdx-canvas-edges{position:absolute;inset:0;pointer-events:none;z-index:5}.pdx-canvas-edge{position:absolute;display:grid;place-items:center;box-sizing:border-box;width:min(24px,50%);height:min(24px,50%);padding:0;border:0;background:transparent;color:var(--md-sys-color-primary);pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}.pdx-canvas-edge:after{content:\"\";box-sizing:border-box;width:min(12px,100%);height:min(12px,100%);pointer-events:none;border:2px solid currentColor;border-radius:2px;background:var(--md-sys-color-surface)}.pdx-widget--canvas:has(>praxis-widget-shell[data-interaction-highlight=gradient]){--pdx-resize-highlight-background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-tertiary), var(--md-sys-color-secondary))}.pdx-canvas-edge:hover:after,.pdx-canvas-edge:focus-visible:after{background:var(--pdx-resize-highlight-background)}.pdx-canvas-edge[data-canvas-edge=north-west]{left:0;top:0;cursor:nwse-resize}.pdx-canvas-edge[data-canvas-edge=north]{left:50%;top:0;cursor:ns-resize}.pdx-canvas-edge[data-canvas-edge=north-east]{left:100%;top:0;cursor:nesw-resize}.pdx-canvas-edge[data-canvas-edge=east]{left:100%;top:50%;width:min(24px,100%);cursor:ew-resize}.pdx-canvas-edge[data-canvas-edge=south-east]{left:100%;top:100%;cursor:nwse-resize}.pdx-canvas-edge[data-canvas-edge=south]{left:50%;top:100%;cursor:ns-resize}.pdx-canvas-edge[data-canvas-edge=south-west]{left:0;top:100%;cursor:nesw-resize}.pdx-canvas-edge[data-canvas-edge=west]{left:0;top:50%;width:min(24px,100%);cursor:ew-resize}.pdx-page-wrapper:has(>.pdx-page>.pdx-widget>praxis-widget-shell>.pdx-shell.expanded)>.pdx-page>.pdx-widget>.pdx-canvas-edges,.pdx-page-wrapper:has(>.pdx-page>.pdx-widget>praxis-widget-shell>.pdx-shell.fullscreen)>.pdx-page>.pdx-widget>.pdx-canvas-edges{display:none}.pdx-widget--canvas:focus-visible,.pdx-canvas-edge:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pdx-canvas-snap-preview{position:relative;display:flex;align-items:center;justify-content:center;align-self:stretch;border-radius:12px;pointer-events:none;z-index:2;background:color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--md-sys-color-primary) 45%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--md-sys-color-surface) 60%,transparent);animation:pdx-snap-preview-pulse .48s ease-out infinite alternate}.pdx-canvas-snap-preview:before,.pdx-canvas-snap-preview:after{content:\"\";position:absolute;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary) 82%,var(--md-sys-color-tertiary) 18%);opacity:.72}.pdx-canvas-snap-preview:before{inset:0 auto 0 0;width:3px}.pdx-canvas-snap-preview:after{inset:0 0 auto;height:3px}.pdx-canvas-snap-preview--invalid{background:color-mix(in srgb,var(--md-sys-color-error) 4%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--md-sys-color-error) 65%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--md-sys-color-surface) 60%,transparent)}.pdx-canvas-snap-preview--invalid:before,.pdx-canvas-snap-preview--invalid:after{background:color-mix(in srgb,var(--md-sys-color-error) 86%,var(--md-sys-color-error-container) 14%)}.pdx-canvas-snap-preview--swap{background:color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--md-sys-color-primary) 65%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--md-sys-color-surface) 60%,transparent)}.pdx-canvas-snap-preview--swap:before,.pdx-canvas-snap-preview--swap:after{background:color-mix(in srgb,var(--md-sys-color-primary) 86%,var(--md-sys-color-tertiary) 14%)}.pdx-canvas-snap-preview__badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:.02em;white-space:nowrap;background:var(--md-sys-color-surface-container-highest, var(--mat-sys-surface-container-highest));color:var(--md-sys-color-on-surface, #1e293b);box-shadow:0 4px 16px color-mix(in srgb,var(--mat-sys-shadow, #000) 20%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 40%,transparent);pointer-events:none}.pdx-canvas-snap-preview__badge-icon{font-size:16px;width:16px;height:16px;line-height:16px}.pdx-canvas-snap-preview__badge--invalid{color:var(--md-sys-color-error, #ba1a1a);border-color:color-mix(in srgb,var(--md-sys-color-error) 30%,transparent)}.pdx-canvas-snap-preview__badge--swap{color:var(--md-sys-color-primary, #0061a4);border-color:color-mix(in srgb,var(--md-sys-color-primary) 30%,transparent)}@media(prefers-reduced-motion:reduce){.pdx-canvas-snap-preview{animation:none}.pdx-widget--canvas[data-resize-feedback]:after,.pdx-widget--canvas-blocked:before{transition:none}}@media(forced-colors:active){.pdx-widget--canvas-blocked:before{border:2px solid Highlight}.pdx-widget--canvas:focus-visible,.pdx-canvas-edge:focus-visible{outline-color:Highlight}.pdx-canvas-edge:hover:after,.pdx-canvas-edge:focus-visible:after{background:Highlight}.pdx-widget--canvas[data-resize-feedback]:after{background:Highlight}}@keyframes pdx-snap-preview-pulse{0%{opacity:.72;transform:scale(.996)}to{opacity:1;transform:scale(1)}}.pdx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pdx-group{display:grid;gap:12px;grid-column:1 / -1;padding:12px;border-radius:16px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 76%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 72%,transparent)}.pdx-group--hero{padding:16px;background:linear-gradient(180deg,color-mix(in srgb,var(--md-sys-color-primary-container) 42%,transparent),color-mix(in srgb,var(--md-sys-color-surface-container-low) 86%,transparent))}.pdx-group--rail{align-self:start}.pdx-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.pdx-group-title{font-size:.95rem;font-weight:600;color:var(--md-sys-color-on-surface)}.pdx-group-content{display:grid;gap:12px}.pdx-group-content--stack{grid-template-columns:minmax(0,1fr)}.pdx-group-content--row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.pdx-group-content--grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.pdx-group-tabs{display:grid;gap:12px}.pdx-tabs-header{display:flex;flex-wrap:wrap;gap:8px}.pdx-tab-chip{appearance:none;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface);border-radius:999px;padding:8px 12px;font:inherit;cursor:pointer}.pdx-tab-chip.active{border-color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary-container) 78%,transparent);color:var(--md-sys-color-on-primary-container)}.pdx-page-wrapper.editing .pdx-widget-settings{opacity:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i5$2.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i6$2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: CanvasSizeEditorComponent, selector: "praxis-canvas-size-editor", inputs: ["layoutItems", "resetRevision", "restoredValue", "columns", "freeSpaceWidths", "northFreeSpaceHeight", "northUnavailable", "southFreeSpaceHeight", "southUnavailable", "cornerFreeSpaceSizes", "cornerUnavailable", "expandWidths", "notice", "hasUndo", "canUndo", "width", "height", "contentRows", "rowSpan", "widgetLabel", "scopeLabel", "previewPending", "error"], outputs: ["state", "undo", "preview", "apply", "cancel"] }, { kind: "component", type: DynamicWidgetContextToolbarComponent, selector: "praxis-dynamic-widget-context-toolbar", inputs: ["showSize", "sizeDisabled", "sizeLabel", "toolbarLabel", "contextLabel", "contextTooltip", "showAssistant", "assistantLabel", "assistantTooltip", "showComponentSettings", "componentSettingsBusy", "componentSettingsLabel", "componentSettingsTooltip", "showShellSettings", "shellSettingsLabel", "shellSettingsTooltip", "showDuplicate", "duplicateLabel", "showRemove", "moreActionsLabel", "removeLabel"], outputs: ["size", "assistant", "componentSettings", "shellSettings", "duplicate", "remove"] }, { kind: "directive", type: DynamicWidgetLoaderDirective, selector: "[dynamicWidgetLoader]", inputs: ["dynamicWidgetLoader", "ownerWidgetKey", "context", "strictValidation", "autoWireOutputs"], outputs: ["widgetEvent", "widgetDiagnostic"], exportAs: ["dynamicWidgetLoader"] }, { kind: "component", type: WidgetShellComponent, selector: "praxis-widget-shell", inputs: ["shell", "context", "dragSurfaceEnabled", "dragSurfaceLabel"], outputs: ["action", "dragSurfacePointerDown", "dragSurfaceKeydown"] }] });
81031
+ `, isInline: true, styles: [":host{display:block;min-width:0;max-width:100%}.pdx-page-wrapper{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding-inline:var(--pdx-page-padding-inline, 0px);position:relative;display:block;background:var(--pdx-page-bg, var(--_pdx-preset-page-bg, transparent));color:var(--pdx-page-color, inherit)}.pdx-page{display:grid;width:100%;min-width:0;max-width:100%;gap:var(--pdx-page-gap, 12px);grid-template-columns:minmax(0,1fr)}.pdx-page--canvas{align-items:start;grid-auto-flow:dense}.pdx-page-wrapper.editing .pdx-page--canvas{padding-block-start:var(--pdx-canvas-context-toolbar-safe-area, 60px);padding-block-end:22px;padding-inline:22px;row-gap:max(var(--pdx-page-gap, 16px),var(--pdx-canvas-editing-row-gap, 56px));box-sizing:border-box}.pdx-page-settings{position:sticky;top:8px;z-index:2;color:inherit;margin-bottom:6px}.pdx-widget{--pdx-widget-highlight-active: 0;--pdx-resize-highlight-background: var(--md-sys-color-primary-container);position:relative;background:var(--pfx-surface, transparent);border-radius:6px;min-width:0;max-width:100%;min-height:0}.pdx-widget--interactive{cursor:pointer}.pdx-widget--selected:not(.pdx-widget--canvas-blocked):not([data-resize-feedback]),.pdx-widget--interactive:not(.pdx-widget--canvas-blocked):not([data-resize-feedback]):has(:focus-visible):not(:has(.pdx-widget :focus-visible)){--pdx-widget-highlight-active: 1}.pdx-widget--canvas-blocked,.pdx-widget--canvas[data-resize-feedback]{--pdx-widget-highlight-active: 0}.pdx-widget--canvas{align-self:stretch}.pdx-widget--canvas[data-resize-feedback]:after{content:\"\";position:absolute;inset:0;padding:2px;border-radius:14px;background:var(--pdx-resize-feedback-color);opacity:0;pointer-events:none;transition:opacity .14s ease,filter .14s ease;filter:saturate(1.02) drop-shadow(0 0 5px color-mix(in srgb,var(--md-sys-color-primary) 10%,transparent));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}.pdx-widget--canvas-blocked:before{content:\"\";position:absolute;inset:0;border-radius:14px;pointer-events:none;z-index:1;transition:opacity .14s ease,box-shadow .14s ease,border-color .14s ease}.pdx-widget--canvas-blocked:before{border:1px solid color-mix(in srgb,var(--md-sys-color-error) 74%,transparent);box-shadow:0 0 0 1px color-mix(in srgb,var(--md-sys-color-error) 20%,transparent),0 10px 24px color-mix(in srgb,var(--md-sys-color-error) 12%,transparent)}[data-resize-feedback=valid]{--pdx-resize-feedback-color: #27864b}[data-resize-feedback=minimum]{--pdx-resize-feedback-color: #bc8a00}[data-resize-feedback=blocked]{--pdx-resize-feedback-color: var(--md-sys-color-error)}.pdx-widget--canvas[data-resize-feedback]:after{background:var(--pdx-resize-feedback-color);opacity:1;z-index:2}.pdx-resize-feedback{position:absolute;inset-inline:8px;bottom:8px;width:fit-content;max-width:calc(100% - 16px);box-sizing:border-box;display:flex;align-items:center;gap:6px;padding:4px 8px;border:2px solid var(--pdx-resize-feedback-color);border-radius:8px;color:var(--md-sys-color-on-surface);background:var(--md-sys-color-surface);font-size:12px;line-height:18px;pointer-events:none;z-index:3}.pdx-standalone-size-editor{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--md-sys-color-outline-variant);border-radius:16px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);box-shadow:var(--mat-sys-level3, 0 8px 24px rgba(0, 0, 0, .24))}.pdx-standalone-size-editor__footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--md-sys-color-outline-variant)}.pdx-resize-feedback mat-icon{flex:0 0 18px;width:18px;height:18px;font-size:18px}.pdx-resize-feedback--floating{position:static;max-width:min(320px,calc(100vw - 24px));overflow-wrap:anywhere}.pdx-resize-feedback--floating strong{display:block}.pdx-canvas-edges{position:absolute;inset:0;pointer-events:none;z-index:5}.pdx-canvas-edge{position:absolute;display:grid;place-items:center;box-sizing:border-box;width:min(24px,50%);height:min(24px,50%);padding:0;border:0;background:transparent;color:var(--md-sys-color-primary);pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}.pdx-canvas-edge:after{content:\"\";box-sizing:border-box;width:min(12px,100%);height:min(12px,100%);pointer-events:none;border:2px solid currentColor;border-radius:2px;background:var(--md-sys-color-surface)}.pdx-widget--canvas:has(>praxis-widget-shell[data-interaction-highlight=gradient]){--pdx-resize-highlight-background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-tertiary), var(--md-sys-color-secondary))}.pdx-canvas-edge:hover:after,.pdx-canvas-edge:focus-visible:after{background:var(--pdx-resize-highlight-background)}.pdx-canvas-edge[data-canvas-edge=north-west]{left:0;top:0;cursor:nwse-resize}.pdx-canvas-edge[data-canvas-edge=north]{left:50%;top:0;cursor:ns-resize}.pdx-canvas-edge[data-canvas-edge=north-east]{left:100%;top:0;cursor:nesw-resize}.pdx-canvas-edge[data-canvas-edge=east]{left:100%;top:50%;width:min(24px,100%);cursor:ew-resize}.pdx-canvas-edge[data-canvas-edge=south-east]{left:100%;top:100%;cursor:nwse-resize}.pdx-canvas-edge[data-canvas-edge=south]{left:50%;top:100%;cursor:ns-resize}.pdx-canvas-edge[data-canvas-edge=south-west]{left:0;top:100%;cursor:nesw-resize}.pdx-canvas-edge[data-canvas-edge=west]{left:0;top:50%;width:min(24px,100%);cursor:ew-resize}.pdx-page-wrapper:has(>.pdx-page>.pdx-widget>praxis-widget-shell>.pdx-shell.expanded)>.pdx-page>.pdx-widget>.pdx-canvas-edges,.pdx-page-wrapper:has(>.pdx-page>.pdx-widget>praxis-widget-shell>.pdx-shell.fullscreen)>.pdx-page>.pdx-widget>.pdx-canvas-edges{display:none}.pdx-widget--canvas:focus-visible,.pdx-canvas-edge:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pdx-canvas-snap-preview{position:relative;display:flex;align-items:center;justify-content:center;align-self:stretch;border-radius:12px;pointer-events:none;z-index:2;background:color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--md-sys-color-primary) 45%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--md-sys-color-surface) 60%,transparent);animation:pdx-snap-preview-pulse .48s ease-out infinite alternate}.pdx-canvas-snap-preview:before,.pdx-canvas-snap-preview:after{content:\"\";position:absolute;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary) 82%,var(--md-sys-color-tertiary) 18%);opacity:.72}.pdx-canvas-snap-preview:before{inset:0 auto 0 0;width:3px}.pdx-canvas-snap-preview:after{inset:0 0 auto;height:3px}.pdx-canvas-snap-preview--invalid{background:color-mix(in srgb,var(--md-sys-color-error) 4%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--md-sys-color-error) 65%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--md-sys-color-surface) 60%,transparent)}.pdx-canvas-snap-preview--invalid:before,.pdx-canvas-snap-preview--invalid:after{background:color-mix(in srgb,var(--md-sys-color-error) 86%,var(--md-sys-color-error-container) 14%)}.pdx-canvas-snap-preview--swap{background:color-mix(in srgb,var(--md-sys-color-primary) 6%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--md-sys-color-primary) 65%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--md-sys-color-surface) 60%,transparent)}.pdx-canvas-snap-preview--swap:before,.pdx-canvas-snap-preview--swap:after{background:color-mix(in srgb,var(--md-sys-color-primary) 86%,var(--md-sys-color-tertiary) 14%)}.pdx-canvas-snap-preview__badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:.02em;white-space:nowrap;background:var(--md-sys-color-surface-container-highest, var(--mat-sys-surface-container-highest));color:var(--md-sys-color-on-surface, #1e293b);box-shadow:0 4px 16px color-mix(in srgb,var(--mat-sys-shadow, #000) 20%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 40%,transparent);pointer-events:none}.pdx-canvas-snap-preview__badge-icon{font-size:16px;width:16px;height:16px;line-height:16px}.pdx-canvas-snap-preview__badge--invalid{color:var(--md-sys-color-error, #ba1a1a);border-color:color-mix(in srgb,var(--md-sys-color-error) 30%,transparent)}.pdx-canvas-snap-preview__badge--swap{color:var(--md-sys-color-primary, #0061a4);border-color:color-mix(in srgb,var(--md-sys-color-primary) 30%,transparent)}@media(prefers-reduced-motion:reduce){.pdx-canvas-snap-preview{animation:none}.pdx-widget--canvas[data-resize-feedback]:after,.pdx-widget--canvas-blocked:before{transition:none}}@media(forced-colors:active){.pdx-widget--canvas-blocked:before{border:2px solid Highlight}.pdx-widget--canvas:focus-visible,.pdx-canvas-edge:focus-visible{outline-color:Highlight}.pdx-canvas-edge:hover:after,.pdx-canvas-edge:focus-visible:after{background:Highlight}.pdx-widget--canvas[data-resize-feedback]:after{background:Highlight}}@keyframes pdx-snap-preview-pulse{0%{opacity:.72;transform:scale(.996)}to{opacity:1;transform:scale(1)}}.pdx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pdx-group{display:grid;gap:12px;grid-column:1 / -1;padding:12px;border-radius:16px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 76%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 72%,transparent)}.pdx-group--hero{padding:16px;background:linear-gradient(180deg,color-mix(in srgb,var(--md-sys-color-primary-container) 42%,transparent),color-mix(in srgb,var(--md-sys-color-surface-container-low) 86%,transparent))}.pdx-group--rail{align-self:start}.pdx-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.pdx-group-title{font-size:.95rem;font-weight:600;color:var(--md-sys-color-on-surface)}.pdx-group-content{display:grid;gap:12px}.pdx-group-content--stack{grid-template-columns:minmax(0,1fr)}.pdx-group-content--row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.pdx-group-content--grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.pdx-group-tabs{display:grid;gap:12px}.pdx-tabs-header{display:flex;flex-wrap:wrap;gap:8px}.pdx-tab-chip{appearance:none;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface);border-radius:999px;padding:8px 12px;font:inherit;cursor:pointer}.pdx-tab-chip.active{border-color:var(--md-sys-color-primary);background:color-mix(in srgb,var(--md-sys-color-primary-container) 78%,transparent);color:var(--md-sys-color-on-primary-container)}.pdx-page-wrapper.editing .pdx-widget-settings{opacity:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i5$2.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i6$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: CanvasSizeEditorComponent, selector: "praxis-canvas-size-editor", inputs: ["layoutItems", "resetRevision", "restoredValue", "columns", "freeSpaceWidths", "northFreeSpaceHeight", "northUnavailable", "southFreeSpaceHeight", "southUnavailable", "cornerFreeSpaceSizes", "cornerUnavailable", "expandWidths", "notice", "hasUndo", "canUndo", "width", "height", "contentRows", "rowSpan", "widgetLabel", "scopeLabel", "previewPending", "error"], outputs: ["state", "undo", "preview", "apply", "cancel"] }, { kind: "component", type: DynamicWidgetContextToolbarComponent, selector: "praxis-dynamic-widget-context-toolbar", inputs: ["showSize", "sizeDisabled", "sizeLabel", "toolbarLabel", "contextLabel", "contextTooltip", "showAssistant", "assistantLabel", "assistantTooltip", "showComponentSettings", "componentSettingsBusy", "componentSettingsLabel", "componentSettingsTooltip", "showShellSettings", "shellSettingsLabel", "shellSettingsTooltip", "showDuplicate", "duplicateLabel", "showRemove", "moreActionsLabel", "removeLabel"], outputs: ["size", "assistant", "componentSettings", "shellSettings", "duplicate", "remove"] }, { kind: "directive", type: DynamicWidgetLoaderDirective, selector: "[dynamicWidgetLoader]", inputs: ["dynamicWidgetLoader", "ownerWidgetKey", "context", "strictValidation", "autoWireOutputs"], outputs: ["widgetEvent", "widgetDiagnostic"], exportAs: ["dynamicWidgetLoader"] }, { kind: "component", type: WidgetShellComponent, selector: "praxis-widget-shell", inputs: ["shell", "context", "dragSurfaceEnabled", "dragSurfaceLabel", "constrainedHeight"], outputs: ["action", "dragSurfacePointerDown", "dragSurfaceKeydown"] }] });
79654
81032
  }
79655
81033
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DynamicWidgetPageComponent, decorators: [{
79656
81034
  type: Component,
@@ -79796,6 +81174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
79796
81174
  #canvasShell
79797
81175
  [shell]="widgetShellForRender(w)"
79798
81176
  [context]="widgetShellSettingsContext()"
81177
+ [constrainedHeight]="!canvasShell.collapsed && hasControlledWidgetHeight(w)"
79799
81178
  [dragSurfaceEnabled]="canCustomizeCanvas() && isCanvasMode()"
79800
81179
  [dragSurfaceLabel]="dragWidgetLabel()"
79801
81180
  (action)="onWidgetShellAction(w.key, $event)"
@@ -84096,7 +85475,7 @@ class PraxisIconPickerComponent {
84096
85475
  }
84097
85476
  }
84098
85477
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIconPickerComponent, deps: [{ token: MAT_DIALOG_DATA, optional: true }, { token: i1$4.MatDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Component });
84099
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisIconPickerComponent, isStandalone: true, selector: "praxis-icon-picker", inputs: { value: "value", icons: "icons", recommendedIcons: "recommendedIcons", title: "title", subtitle: "subtitle", previewTitle: "previewTitle", previewSubtitle: "previewSubtitle", allowFamilySelection: "allowFamilySelection", allowClear: "allowClear", allowCustomName: "allowCustomName" }, outputs: { selected: "selected", cancel: "cancel" }, host: { listeners: { "keydown.escape": "onEsc($event)", "document:keydown": "onGlobalKey($event)" } }, viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "categoriesEl", first: true, predicate: ["categoriesEl"], descendants: true }, { propertyName: "galleryEl", first: true, predicate: ["galleryEl"], descendants: true }], ngImport: i0, template: "<div class=\"pip-root\" [attr.data-dialog]=\"dialogRef ? 'true' : 'false'\">\n <!-- Zone 1: Framed Studio Header -->\n <header class=\"pip-header\">\n <div class=\"pip-header__identity\">\n <div class=\"pip-header__medallion\" aria-hidden=\"true\">\n <mat-icon [ngClass]=\"iconClassForFamily(selectedFamily)\">\n {{ effectivePreviewIcon() || 'apps' }}\n </mat-icon>\n </div>\n <div class=\"pip-header__titles\">\n <div class=\"pip-header__title-row\">\n <h2 class=\"pip-header__title\">{{ resolvedTitle() }}</h2>\n <span class=\"pip-count-pill\" aria-live=\"polite\" data-testid=\"icon-picker-count\">\n {{ resultsSummaryLabel() }}\n @if (isGlobalSearchActive()) {\n <span class=\"pip-count-pill__scope\">\u00B7 {{ tx('results.globalHint', undefined, 'em todo o cat\u00E1logo') }}</span>\n }\n </span>\n </div>\n <p class=\"pip-header__subtitle\">{{ resolvedSubtitle() }}</p>\n </div>\n </div>\n\n @if (dialogRef) {\n <button\n type=\"button\"\n class=\"pip-close-btn\"\n data-testid=\"icon-picker-close\"\n [attr.aria-label]=\"tx('closeAria', undefined, 'Fechar seletor de \u00EDcones')\"\n [matTooltip]=\"tx('closeAria', undefined, 'Fechar seletor de \u00EDcones')\"\n (click)=\"onCancel()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">close</mat-icon>\n </button>\n }\n </header>\n\n <!-- Zone 2: Command Search Bar, Optional Style Switcher & Category Rail -->\n <div class=\"pip-controls\">\n <div class=\"pip-search-row\">\n <label class=\"pip-sr-only\" for=\"pip-search-input\">\n {{ tx('searchLabel', undefined, 'Buscar \u00EDcone') }}\n </label>\n <div class=\"pip-search-bar\">\n <mat-icon class=\"pip-chrome-icon pip-search-bar__icon\" aria-hidden=\"true\">search</mat-icon>\n <input\n #searchInput\n id=\"pip-search-input\"\n class=\"pip-search-bar__input\"\n type=\"search\"\n role=\"searchbox\"\n autocomplete=\"off\"\n data-testid=\"icon-picker-search\"\n [ngModel]=\"query\"\n (ngModelChange)=\"onQueryChange($event)\"\n (keydown.enter)=\"onSearchEnter($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n [placeholder]=\"tx('searchPlaceholder', undefined, 'Buscar por nome, categoria ou palavra-chave\u2026')\"\n />\n @if (query.trim()) {\n <button\n type=\"button\"\n class=\"pip-search-bar__clear\"\n data-testid=\"icon-picker-clear-search\"\n [attr.aria-label]=\"tx('clearSearchAria', undefined, 'Limpar busca')\"\n [matTooltip]=\"tx('clearSearchAria', undefined, 'Limpar busca')\"\n (click)=\"clearQuery()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">close</mat-icon>\n </button>\n } @else {\n <kbd\n class=\"pip-search-bar__kbd\"\n aria-hidden=\"true\"\n [matTooltip]=\"tx('searchShortcutTooltip', undefined, 'Atalho: pressione / para buscar')\"\n >/</kbd>\n }\n </div>\n\n @if (allowFamilySelection) {\n <div\n class=\"pip-family-segmented\"\n role=\"radiogroup\"\n [attr.aria-label]=\"tx('family.aria', undefined, 'Estilo do \u00EDcone')\"\n data-testid=\"icon-picker-family-group\"\n >\n @for (fam of familyOptions(); track fam.id) {\n <button\n type=\"button\"\n class=\"pip-family-btn\"\n role=\"radio\"\n [class.is-active]=\"selectedFamily === fam.id || (fam.id === 'mso' && selectedFamily === 'ms')\"\n [attr.aria-checked]=\"selectedFamily === fam.id || (fam.id === 'mso' && selectedFamily === 'ms')\"\n [attr.data-testid]=\"'icon-picker-family-' + fam.id\"\n (click)=\"onFamilyChange(fam.id)\"\n >\n {{ fam.label }}\n </button>\n }\n </div>\n }\n </div>\n\n @if (categoryOptions().length > 0) {\n <div\n class=\"pip-categories-shell\"\n [class.can-scroll-left]=\"canScrollCategoriesLeft()\"\n [class.can-scroll-right]=\"canScrollCategoriesRight()\"\n >\n @if (canScrollCategoriesLeft()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"pip-cat-scroll-btn pip-cat-scroll-btn--left\"\n data-testid=\"icon-picker-cat-scroll-left\"\n [attr.aria-label]=\"tx('categories.scrollLeft', undefined, 'Categorias anteriores')\"\n (click)=\"scrollCategories(-1)\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">chevron_left</mat-icon>\n </button>\n }\n\n <div\n #categoriesEl\n class=\"pip-categories\"\n role=\"group\"\n [attr.aria-label]=\"tx('categories.aria', undefined, 'Filtrar por categoria')\"\n data-testid=\"icon-picker-categories\"\n (scroll)=\"onCategoriesScroll()\"\n (wheel)=\"onCategoriesWheel($event)\"\n >\n @for (cat of categoryOptions(); track cat.id) {\n <button\n type=\"button\"\n class=\"pip-cat-pill\"\n [class.is-active]=\"activeCategory() === cat.id\"\n [attr.aria-pressed]=\"activeCategory() === cat.id\"\n [attr.data-testid]=\"'icon-picker-cat-' + cat.id\"\n (click)=\"selectCategory(cat.id)\"\n >\n <mat-icon class=\"pip-chrome-icon pip-cat-pill__icon\" aria-hidden=\"true\">{{ cat.icon }}</mat-icon>\n <span>{{ cat.label }}</span>\n </button>\n }\n </div>\n\n @if (canScrollCategoriesRight()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"pip-cat-scroll-btn pip-cat-scroll-btn--right\"\n data-testid=\"icon-picker-cat-scroll-right\"\n [attr.aria-label]=\"tx('categories.scrollRight', undefined, 'Mais categorias')\"\n (click)=\"scrollCategories(1)\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">chevron_right</mat-icon>\n </button>\n }\n </div>\n }\n </div>\n\n <!-- Zone 3: Visual Icon Gallery Viewport -->\n <div class=\"pip-gallery-wrap\">\n @if (filtered.length > 0) {\n <div\n #galleryEl\n class=\"pip-gallery\"\n role=\"listbox\"\n [attr.aria-label]=\"tx('grid.aria', undefined, 'Galeria de \u00EDcones dispon\u00EDveis')\"\n data-testid=\"icon-picker-grid\"\n >\n @for (ic of filtered; track ic; let idx = $index) {\n <button\n type=\"button\"\n role=\"option\"\n class=\"pip-tile\"\n [class.selected]=\"isSelectedIcon(ic)\"\n [class.is-current]=\"isInitialIcon(ic)\"\n [attr.aria-label]=\"iconAriaLabel(ic)\"\n [attr.aria-selected]=\"isSelectedIcon(ic)\"\n [attr.data-icon]=\"ic\"\n [matTooltip]=\"iconTooltip(ic)\"\n matTooltipShowDelay=\"350\"\n (click)=\"selectTile(ic)\"\n (dblclick)=\"choose(ic)\"\n (keydown)=\"onTileKeydown($event, idx)\"\n >\n @if (isSelectedIcon(ic)) {\n <span class=\"pip-tile__badge\" aria-hidden=\"true\">\n <mat-icon class=\"pip-chrome-icon\">check_circle</mat-icon>\n </span>\n } @else if (isInitialIcon(ic)) {\n <span class=\"pip-tile__current-dot\" [title]=\"tx('grid.currentBadge', undefined, 'Atual')\" aria-hidden=\"true\"></span>\n }\n <mat-icon class=\"pip-tile__glyph\" [ngClass]=\"iconClassForFamily(selectedFamily)\" aria-hidden=\"true\">{{ ic }}</mat-icon>\n <span class=\"pip-tile__label\">{{ iconDisplayLabel(ic) }}</span>\n </button>\n }\n </div>\n } @else if (customLigatureCandidate(); as customName) {\n <div class=\"pip-custom-card\" data-testid=\"icon-picker-custom-card\">\n <div class=\"pip-custom-card__preview\" aria-hidden=\"true\">\n <mat-icon [ngClass]=\"iconClassForFamily(selectedFamily)\">{{ customName }}</mat-icon>\n </div>\n <div class=\"pip-custom-card__body\">\n <strong class=\"pip-custom-card__title\">\n {{ tx('custom.title', { name: customName }, 'Usar ligadura personalizada \"' + customName + '\"') }}\n </strong>\n <p class=\"pip-custom-card__desc\">\n {{ tx('custom.description', undefined, 'Pr\u00E9via em tempo real do Material Symbols. Confirme se o tra\u00E7o apareceu corretamente ao lado.') }}\n </p>\n <div class=\"pip-custom-card__actions\">\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n data-testid=\"icon-picker-use-typed\"\n (click)=\"confirmTyped()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">check</mat-icon>\n <span>{{ tx('custom.useAction', { name: customName }, 'Usar \"' + customName + '\"') }}</span>\n </button>\n <button\n mat-stroked-button\n type=\"button\"\n (click)=\"clearQuery()\"\n >\n <span>{{ tx('empty.clearSearch', undefined, 'Limpar busca') }}</span>\n </button>\n <a\n mat-button\n href=\"https://fonts.google.com/icons\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">open_in_new</mat-icon>\n <span>{{ tx('empty.browseCatalog', undefined, 'Explorar no Google Icons') }}</span>\n </a>\n </div>\n </div>\n </div>\n } @else {\n <div class=\"pip-empty-card\" data-testid=\"icon-picker-empty\">\n <div class=\"pip-empty-card__icon\" aria-hidden=\"true\">\n <mat-icon class=\"pip-chrome-icon\">search_off</mat-icon>\n </div>\n <strong class=\"pip-empty-card__title\">\n {{ tx('empty.title', { query: query.trim() }, 'Nenhum \u00EDcone encontrado') }}\n </strong>\n <p class=\"pip-empty-card__desc\">\n {{ tx('empty.description', undefined, 'Tente buscar por outra fun\u00E7\u00E3o, limpe o filtro ou consulte o cat\u00E1logo oficial.') }}\n </p>\n <div class=\"pip-empty-card__actions\">\n @if (query.trim()) {\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n (click)=\"clearQuery()\"\n >\n <span>{{ tx('empty.clearSearch', undefined, 'Limpar busca') }}</span>\n </button>\n }\n @if (allowCustomName) {\n <a\n mat-stroked-button\n href=\"https://fonts.google.com/icons\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">open_in_new</mat-icon>\n <span>{{ tx('empty.browseCatalog', undefined, 'Explorar no Google Icons') }}</span>\n </a>\n }\n </div>\n </div>\n }\n </div>\n\n <!-- Zone 4: Anchored Studio Footer with Live Context Preview -->\n <footer class=\"pip-footer\">\n <div class=\"pip-preview\" data-testid=\"icon-picker-live-preview\">\n <div class=\"pip-preview__medallion\" [class.is-empty]=\"!effectivePreviewIcon()\" aria-hidden=\"true\">\n <mat-icon [ngClass]=\"iconClassForFamily(selectedFamily)\">\n {{ effectivePreviewIcon() || 'apps' }}\n </mat-icon>\n </div>\n <div class=\"pip-preview__copy\">\n <span class=\"pip-preview__eyebrow\">{{ previewResolvedSubtitle() }}</span>\n <div class=\"pip-preview__title-row\">\n <strong class=\"pip-preview__title\">{{ previewResolvedTitle() }}</strong>\n @if (previewValue(); as token) {\n <code class=\"pip-preview__code\">{{ token }}</code>\n }\n </div>\n </div>\n </div>\n\n <div class=\"pip-footer__actions\">\n @if (allowClear && (stagedIcon || value)) {\n <button\n mat-button\n type=\"button\"\n class=\"pip-remove-btn\"\n data-testid=\"icon-picker-clear-value\"\n (click)=\"clear()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">backspace</mat-icon>\n <span>{{ tx('actions.remove', undefined, 'Remover \u00EDcone') }}</span>\n </button>\n }\n @if (dialogRef) {\n <button\n mat-stroked-button\n type=\"button\"\n data-testid=\"icon-picker-cancel\"\n (click)=\"onCancel()\"\n >\n {{ tx('actions.cancel', undefined, 'Cancelar') }}\n </button>\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n data-testid=\"icon-picker-apply\"\n [disabled]=\"!hasStagedDifferentOrValid()\"\n (click)=\"confirmSelection()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">check</mat-icon>\n <span>{{ tx('actions.apply', undefined, 'Aplicar \u00EDcone') }}</span>\n </button>\n }\n </div>\n </footer>\n</div>\n", styles: [":host{display:block;color:var(--md-sys-color-on-surface);font-family:var(--font-sans, inherit)}.pip-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.pip-root{display:flex;flex-direction:column;width:100%;max-height:min(86vh,86dvh);overflow:hidden;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface)}.pip-root[data-dialog=false]{max-height:540px;border-radius:var(--radius-lg, 14px);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 85%,transparent)}.pip-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px 14px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 65%,var(--md-sys-color-surface));border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 75%,transparent)}.pip-header__identity{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.pip-header__medallion{width:40px;height:40px;border-radius:11px;flex-shrink:0;display:grid;place-items:center;background:color-mix(in srgb,var(--md-sys-color-primary-container) 68%,var(--md-sys-color-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 26%,transparent);color:var(--md-sys-color-primary)}.pip-header__medallion mat-icon{width:22px;height:22px;font-size:22px}.pip-header__titles{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.pip-header__title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pip-header__title{margin:0;font-family:var(--font-display, var(--font-sans, inherit));font-size:1.05rem;font-weight:700;line-height:1.25;letter-spacing:-.015em;color:var(--md-sys-color-on-surface)}.pip-count-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:.72rem;font-weight:600;line-height:1.3;color:var(--md-sys-color-on-secondary-container);background:color-mix(in srgb,var(--md-sys-color-secondary-container) 78%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 60%,transparent);font-variant-numeric:tabular-nums}.pip-count-pill__scope{font-weight:500;color:var(--md-sys-color-on-surface-variant)}.pip-header__subtitle{margin:0;font-size:.78rem;line-height:1.35;color:var(--md-sys-color-on-surface-variant)}.pip-close-btn{appearance:none;width:34px;height:34px;border-radius:9px;border:1px solid transparent;background:transparent;color:var(--md-sys-color-on-surface-variant);display:grid;place-items:center;flex-shrink:0;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pip-close-btn:hover{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);border-color:color-mix(in srgb,var(--md-sys-color-outline-variant) 75%,transparent)}.pip-close-btn:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pip-close-btn mat-icon{width:18px;height:18px;font-size:18px}.pip-controls{display:flex;flex-direction:column;gap:10px;padding:12px 20px 10px;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 55%,transparent);background:var(--md-sys-color-surface)}.pip-search-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.pip-search-bar{flex:1 1 260px;min-width:0;min-height:40px;padding:0 10px 0 12px;border-radius:11px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 90%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 78%,var(--md-sys-color-surface));display:flex;align-items:center;gap:8px;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.pip-search-bar:hover{border-color:color-mix(in srgb,var(--md-sys-color-on-surface) 28%,var(--md-sys-color-outline-variant))}.pip-search-bar:focus-within{background:var(--md-sys-color-surface);border-color:var(--md-sys-color-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--md-sys-color-primary) 15%,transparent)}.pip-search-bar__icon{width:18px;height:18px;font-size:18px;flex-shrink:0;color:var(--md-sys-color-on-surface-variant);transition:color .15s ease}.pip-search-bar:focus-within .pip-search-bar__icon{color:var(--md-sys-color-primary)}.pip-search-bar__input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--md-sys-color-on-surface);font:inherit;font-size:.875rem;line-height:1.4;padding:6px 0}.pip-search-bar__input::placeholder{color:color-mix(in srgb,var(--md-sys-color-on-surface-variant) 82%,transparent)}.pip-search-bar__input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.pip-search-bar__clear{appearance:none;width:24px;height:24px;border-radius:6px;border:0;padding:0;background:transparent;color:var(--md-sys-color-on-surface-variant);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background-color .14s ease,color .14s ease}.pip-search-bar__clear:hover,.pip-search-bar__clear:focus-visible{background:var(--md-sys-color-surface-container-highest);color:var(--md-sys-color-on-surface);outline:none}.pip-search-bar__clear mat-icon{width:15px;height:15px;font-size:15px}.pip-search-bar__kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;font-weight:600;color:var(--md-sys-color-on-surface-variant);background:var(--md-sys-color-surface-container-high);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 80%,transparent);flex-shrink:0}.pip-family-segmented{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:10px;background:var(--md-sys-color-surface-container);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 72%,transparent);flex-shrink:0}.pip-family-btn{appearance:none;border:0;min-height:28px;padding:0 10px;border-radius:7px;background:transparent;color:var(--md-sys-color-on-surface-variant);font-family:inherit;font-size:.73rem;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}.pip-family-btn:hover{color:var(--md-sys-color-on-surface)}.pip-family-btn:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:1px}.pip-family-btn.is-active{background:var(--md-sys-color-surface);color:var(--md-sys-color-primary);box-shadow:0 1px 3px color-mix(in srgb,var(--md-sys-color-on-surface) 12%,transparent)}.pip-categories-shell{position:relative;display:flex;align-items:center;min-width:0}.pip-categories{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:5px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-user-select:none;user-select:none;padding:2px 0}.pip-categories-shell.can-scroll-right:not(.can-scroll-left) .pip-categories{padding-inline-end:32px;-webkit-mask-image:linear-gradient(to right,rgb(0,0,0) 0,rgb(0,0,0) calc(100% - 36px),transparent 100%);mask-image:linear-gradient(to right,rgb(0,0,0) 0,rgb(0,0,0) calc(100% - 36px),transparent 100%)}.pip-categories-shell.can-scroll-left:not(.can-scroll-right) .pip-categories{padding-inline-start:32px;-webkit-mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) 100%);mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) 100%)}.pip-categories-shell.can-scroll-left.can-scroll-right .pip-categories{padding-inline:32px;-webkit-mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) calc(100% - 36px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) calc(100% - 36px),transparent 100%)}.pip-categories::-webkit-scrollbar{display:none}.pip-cat-scroll-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;appearance:none;width:26px;height:26px;padding:0;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 82%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 88%,var(--md-sys-color-surface));color:var(--md-sys-color-on-surface);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 6px color-mix(in srgb,var(--md-sys-color-on-surface) 14%,transparent);transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pip-cat-scroll-btn--left{left:0}.pip-cat-scroll-btn--right{right:0}.pip-cat-scroll-btn:hover{border-color:var(--md-sys-color-primary);color:var(--md-sys-color-primary);background:var(--md-sys-color-surface)}.pip-cat-scroll-btn mat-icon{width:17px;height:17px;font-size:17px}.pip-cat-pill{appearance:none;flex-shrink:0;display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 78%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 70%,var(--md-sys-color-surface));color:var(--md-sys-color-on-surface-variant);font-family:inherit;font-size:.72rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pip-cat-pill__icon{width:15px;height:15px;font-size:15px}.pip-cat-pill:hover{color:var(--md-sys-color-on-surface);border-color:color-mix(in srgb,var(--md-sys-color-primary) 36%,var(--md-sys-color-outline-variant))}.pip-cat-pill:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pip-cat-pill.is-active{background:color-mix(in srgb,var(--md-sys-color-primary-container) 78%,var(--md-sys-color-surface));border-color:color-mix(in srgb,var(--md-sys-color-primary) 42%,transparent);color:var(--md-sys-color-primary)}.pip-gallery-wrap{flex:1 1 auto;min-height:210px;max-height:min(44vh,360px);overflow-y:auto;overflow-x:hidden;padding:14px 20px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 35%,var(--md-sys-color-surface));scrollbar-width:thin}.pip-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.pip-tile{position:relative;appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:78px;padding:12px 8px 10px;border-radius:11px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 78%,transparent);background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font-family:inherit;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease}.pip-tile:hover{background:color-mix(in srgb,var(--md-sys-color-primary-container) 34%,var(--md-sys-color-surface));border-color:color-mix(in srgb,var(--md-sys-color-primary) 42%,var(--md-sys-color-outline-variant));transform:translateY(-1px)}.pip-tile:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pip-tile.selected{background:color-mix(in srgb,var(--md-sys-color-primary-container) 72%,var(--md-sys-color-surface));border-color:var(--md-sys-color-primary);box-shadow:0 0 0 1px var(--md-sys-color-primary)}.pip-tile__badge{position:absolute;top:5px;right:5px;display:inline-flex;color:var(--md-sys-color-primary)}.pip-tile__badge mat-icon{width:15px;height:15px;font-size:15px}.pip-tile__current-dot{position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:999px;background:var(--md-sys-color-primary);opacity:.72}.pip-tile__glyph{width:24px;height:24px;font-size:24px;line-height:1;color:var(--md-sys-color-on-surface);transition:color .14s ease,transform .14s ease}.pip-tile:hover .pip-tile__glyph,.pip-tile.selected .pip-tile__glyph{color:var(--md-sys-color-primary)}.pip-tile__label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font-size:.7rem;font-weight:500;line-height:1.25;color:var(--md-sys-color-on-surface-variant);overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}.pip-tile.selected .pip-tile__label{color:var(--md-sys-color-on-surface);font-weight:600}.pip-custom-card{display:flex;align-items:flex-start;gap:16px;padding:18px;border-radius:14px;border:1px dashed color-mix(in srgb,var(--md-sys-color-primary) 42%,var(--md-sys-color-outline-variant));background:var(--md-sys-color-surface)}.pip-custom-card__preview{width:56px;height:56px;border-radius:14px;flex-shrink:0;display:grid;place-items:center;background:color-mix(in srgb,var(--md-sys-color-primary-container) 62%,var(--md-sys-color-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 26%,transparent);color:var(--md-sys-color-primary)}.pip-custom-card__preview mat-icon{width:28px;height:28px;font-size:28px}.pip-custom-card__body{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.pip-custom-card__title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface)}.pip-custom-card__desc{margin:0;font-size:.78rem;line-height:1.45;color:var(--md-sys-color-on-surface-variant)}.pip-custom-card__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}.pip-empty-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;min-height:170px;padding:22px 18px;border-radius:14px;border:1px dashed color-mix(in srgb,var(--md-sys-color-outline-variant) 85%,transparent);background:var(--md-sys-color-surface)}.pip-empty-card__icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.pip-empty-card__title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface)}.pip-empty-card__desc{margin:0;max-width:46ch;font-size:.78rem;line-height:1.45;color:var(--md-sys-color-on-surface-variant)}.pip-empty-card__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px}.pip-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;padding:12px 20px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 75%,var(--md-sys-color-surface));border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 78%,transparent)}.pip-preview{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 220px}.pip-preview__medallion{width:38px;height:38px;border-radius:10px;flex-shrink:0;display:grid;place-items:center;background:color-mix(in srgb,var(--md-sys-color-primary-container) 72%,var(--md-sys-color-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 28%,transparent);color:var(--md-sys-color-primary)}.pip-preview__medallion.is-empty{background:var(--md-sys-color-surface-container-high);border-color:color-mix(in srgb,var(--md-sys-color-outline-variant) 80%,transparent);color:var(--md-sys-color-on-surface-variant)}.pip-preview__medallion mat-icon{width:20px;height:20px;font-size:20px}.pip-preview__copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}.pip-preview__eyebrow{font-size:.7rem;font-weight:600;color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pip-preview__title-row{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0}.pip-preview__title{font-size:.84rem;font-weight:700;color:var(--md-sys-color-on-surface);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.pip-preview__code{flex-shrink:0;padding:1px 7px;border-radius:6px;background:var(--md-sys-color-surface-container-high);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 70%,transparent);color:var(--md-sys-color-on-surface-variant);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;font-weight:600}.pip-footer__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pip-remove-btn{color:var(--md-sys-color-on-surface-variant)}.pip-footer__actions button mat-icon,.pip-custom-card__actions button mat-icon,.pip-custom-card__actions a mat-icon,.pip-empty-card__actions a mat-icon{width:17px;height:17px;font-size:17px}.pip-chrome-icon{font-family:Material Symbols Outlined,Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:\"liga\";font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased;font-variation-settings:\"FILL\" 0,\"wght\" 400,\"GRAD\" 0,\"opsz\" 24}.pip-glyph--mi,.pip-glyph--mso,.pip-glyph--msr,.pip-glyph--mss{font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:\"liga\";font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased;font-variation-settings:\"FILL\" 0,\"wght\" 400,\"GRAD\" 0,\"opsz\" 24;color:currentColor}.pip-glyph--mi{font-family:Material Icons,Material Symbols Outlined}.pip-glyph--mso{font-family:Material Symbols Outlined,Material Icons}.pip-glyph--msr{font-family:Material Symbols Rounded,Material Symbols Outlined,Material Icons}.pip-glyph--mss{font-family:Material Symbols Sharp,Material Symbols Outlined,Material Icons}@media(max-width:640px){.pip-header,.pip-controls,.pip-gallery-wrap,.pip-footer{padding-inline:14px}.pip-gallery-wrap{max-height:min(42vh,300px)}.pip-gallery{grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:6px}.pip-tile{min-height:70px;padding:10px 6px 8px}.pip-preview__title-row{flex-wrap:wrap}.pip-custom-card{flex-direction:column;align-items:stretch}.pip-footer__actions{width:100%;justify-content:flex-end}}@media(max-width:520px){.pip-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}}@media(prefers-reduced-motion:reduce){.pip-close-btn,.pip-search-bar,.pip-search-bar__icon,.pip-search-bar__clear,.pip-family-btn,.pip-cat-pill,.pip-cat-scroll-btn,.pip-tile,.pip-tile__glyph{transition:none}.pip-tile:hover{transform:none}}@media(forced-colors:active){.pip-root,.pip-tile,.pip-search-bar,.pip-cat-pill,.pip-cat-scroll-btn,.pip-custom-card,.pip-empty-card{border-color:ButtonBorder}.pip-tile.selected,.pip-cat-pill.is-active,.pip-family-btn.is-active{outline:2px solid Highlight}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
85478
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisIconPickerComponent, isStandalone: true, selector: "praxis-icon-picker", inputs: { value: "value", icons: "icons", recommendedIcons: "recommendedIcons", title: "title", subtitle: "subtitle", previewTitle: "previewTitle", previewSubtitle: "previewSubtitle", allowFamilySelection: "allowFamilySelection", allowClear: "allowClear", allowCustomName: "allowCustomName" }, outputs: { selected: "selected", cancel: "cancel" }, host: { listeners: { "keydown.escape": "onEsc($event)", "document:keydown": "onGlobalKey($event)" } }, viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "categoriesEl", first: true, predicate: ["categoriesEl"], descendants: true }, { propertyName: "galleryEl", first: true, predicate: ["galleryEl"], descendants: true }], ngImport: i0, template: "<div class=\"pip-root\" [attr.data-dialog]=\"dialogRef ? 'true' : 'false'\">\n <!-- Zone 1: Framed Studio Header -->\n <header class=\"pip-header\">\n <div class=\"pip-header__identity\">\n <div class=\"pip-header__medallion\" aria-hidden=\"true\">\n <mat-icon [ngClass]=\"iconClassForFamily(selectedFamily)\">\n {{ effectivePreviewIcon() || 'apps' }}\n </mat-icon>\n </div>\n <div class=\"pip-header__titles\">\n <div class=\"pip-header__title-row\">\n <h2 class=\"pip-header__title\">{{ resolvedTitle() }}</h2>\n <span class=\"pip-count-pill\" aria-live=\"polite\" data-testid=\"icon-picker-count\">\n {{ resultsSummaryLabel() }}\n @if (isGlobalSearchActive()) {\n <span class=\"pip-count-pill__scope\">\u00B7 {{ tx('results.globalHint', undefined, 'em todo o cat\u00E1logo') }}</span>\n }\n </span>\n </div>\n <p class=\"pip-header__subtitle\">{{ resolvedSubtitle() }}</p>\n </div>\n </div>\n\n @if (dialogRef) {\n <button\n type=\"button\"\n class=\"pip-close-btn\"\n data-testid=\"icon-picker-close\"\n [attr.aria-label]=\"tx('closeAria', undefined, 'Fechar seletor de \u00EDcones')\"\n [matTooltip]=\"tx('closeAria', undefined, 'Fechar seletor de \u00EDcones')\"\n (click)=\"onCancel()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">close</mat-icon>\n </button>\n }\n </header>\n\n <!-- Zone 2: Command Search Bar, Optional Style Switcher & Category Rail -->\n <div class=\"pip-controls\">\n <div class=\"pip-search-row\">\n <label class=\"pip-sr-only\" for=\"pip-search-input\">\n {{ tx('searchLabel', undefined, 'Buscar \u00EDcone') }}\n </label>\n <div class=\"pip-search-bar\">\n <mat-icon class=\"pip-chrome-icon pip-search-bar__icon\" aria-hidden=\"true\">search</mat-icon>\n <input\n #searchInput\n id=\"pip-search-input\"\n class=\"pip-search-bar__input\"\n type=\"search\"\n role=\"searchbox\"\n autocomplete=\"off\"\n data-testid=\"icon-picker-search\"\n [ngModel]=\"query\"\n (ngModelChange)=\"onQueryChange($event)\"\n (keydown.enter)=\"onSearchEnter($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n [placeholder]=\"tx('searchPlaceholder', undefined, 'Buscar por nome, categoria ou palavra-chave\u2026')\"\n />\n @if (query.trim()) {\n <button\n type=\"button\"\n class=\"pip-search-bar__clear\"\n data-testid=\"icon-picker-clear-search\"\n [attr.aria-label]=\"tx('clearSearchAria', undefined, 'Limpar busca')\"\n [matTooltip]=\"tx('clearSearchAria', undefined, 'Limpar busca')\"\n (click)=\"clearQuery()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">close</mat-icon>\n </button>\n } @else {\n <kbd\n class=\"pip-search-bar__kbd\"\n aria-hidden=\"true\"\n [matTooltip]=\"tx('searchShortcutTooltip', undefined, 'Atalho: pressione / para buscar')\"\n >/</kbd>\n }\n </div>\n\n @if (allowFamilySelection) {\n <div\n class=\"pip-family-segmented\"\n role=\"radiogroup\"\n [attr.aria-label]=\"tx('family.aria', undefined, 'Estilo do \u00EDcone')\"\n data-testid=\"icon-picker-family-group\"\n >\n @for (fam of familyOptions(); track fam.id) {\n <button\n type=\"button\"\n class=\"pip-family-btn\"\n role=\"radio\"\n [class.is-active]=\"selectedFamily === fam.id || (fam.id === 'mso' && selectedFamily === 'ms')\"\n [attr.aria-checked]=\"selectedFamily === fam.id || (fam.id === 'mso' && selectedFamily === 'ms')\"\n [attr.data-testid]=\"'icon-picker-family-' + fam.id\"\n (click)=\"onFamilyChange(fam.id)\"\n >\n {{ fam.label }}\n </button>\n }\n </div>\n }\n </div>\n\n @if (categoryOptions().length > 0) {\n <div\n class=\"pip-categories-shell\"\n [class.can-scroll-left]=\"canScrollCategoriesLeft()\"\n [class.can-scroll-right]=\"canScrollCategoriesRight()\"\n >\n @if (canScrollCategoriesLeft()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"pip-cat-scroll-btn pip-cat-scroll-btn--left\"\n data-testid=\"icon-picker-cat-scroll-left\"\n [attr.aria-label]=\"tx('categories.scrollLeft', undefined, 'Categorias anteriores')\"\n (click)=\"scrollCategories(-1)\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">chevron_left</mat-icon>\n </button>\n }\n\n <div\n #categoriesEl\n class=\"pip-categories\"\n role=\"group\"\n [attr.aria-label]=\"tx('categories.aria', undefined, 'Filtrar por categoria')\"\n data-testid=\"icon-picker-categories\"\n (scroll)=\"onCategoriesScroll()\"\n (wheel)=\"onCategoriesWheel($event)\"\n >\n @for (cat of categoryOptions(); track cat.id) {\n <button\n type=\"button\"\n class=\"pip-cat-pill\"\n [class.is-active]=\"activeCategory() === cat.id\"\n [attr.aria-pressed]=\"activeCategory() === cat.id\"\n [attr.data-testid]=\"'icon-picker-cat-' + cat.id\"\n (click)=\"selectCategory(cat.id)\"\n >\n <mat-icon class=\"pip-chrome-icon pip-cat-pill__icon\" aria-hidden=\"true\">{{ cat.icon }}</mat-icon>\n <span>{{ cat.label }}</span>\n </button>\n }\n </div>\n\n @if (canScrollCategoriesRight()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"pip-cat-scroll-btn pip-cat-scroll-btn--right\"\n data-testid=\"icon-picker-cat-scroll-right\"\n [attr.aria-label]=\"tx('categories.scrollRight', undefined, 'Mais categorias')\"\n (click)=\"scrollCategories(1)\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">chevron_right</mat-icon>\n </button>\n }\n </div>\n }\n </div>\n\n <!-- Zone 3: Visual Icon Gallery Viewport -->\n <div class=\"pip-gallery-wrap\">\n @if (filtered.length > 0) {\n <div\n #galleryEl\n class=\"pip-gallery\"\n role=\"listbox\"\n [attr.aria-label]=\"tx('grid.aria', undefined, 'Galeria de \u00EDcones dispon\u00EDveis')\"\n data-testid=\"icon-picker-grid\"\n >\n @for (ic of filtered; track ic; let idx = $index) {\n <button\n type=\"button\"\n role=\"option\"\n class=\"pip-tile\"\n [class.selected]=\"isSelectedIcon(ic)\"\n [class.is-current]=\"isInitialIcon(ic)\"\n [attr.aria-label]=\"iconAriaLabel(ic)\"\n [attr.aria-selected]=\"isSelectedIcon(ic)\"\n [attr.data-icon]=\"ic\"\n [matTooltip]=\"iconTooltip(ic)\"\n matTooltipShowDelay=\"350\"\n (click)=\"selectTile(ic)\"\n (dblclick)=\"choose(ic)\"\n (keydown)=\"onTileKeydown($event, idx)\"\n >\n @if (isSelectedIcon(ic)) {\n <span class=\"pip-tile__badge\" aria-hidden=\"true\">\n <mat-icon class=\"pip-chrome-icon\">check_circle</mat-icon>\n </span>\n } @else if (isInitialIcon(ic)) {\n <span class=\"pip-tile__current-dot\" [title]=\"tx('grid.currentBadge', undefined, 'Atual')\" aria-hidden=\"true\"></span>\n }\n <mat-icon class=\"pip-tile__glyph\" [ngClass]=\"iconClassForFamily(selectedFamily)\" aria-hidden=\"true\">{{ ic }}</mat-icon>\n <span class=\"pip-tile__label\">{{ iconDisplayLabel(ic) }}</span>\n </button>\n }\n </div>\n } @else if (customLigatureCandidate(); as customName) {\n <div class=\"pip-custom-card\" data-testid=\"icon-picker-custom-card\">\n <div class=\"pip-custom-card__preview\" aria-hidden=\"true\">\n <mat-icon [ngClass]=\"iconClassForFamily(selectedFamily)\">{{ customName }}</mat-icon>\n </div>\n <div class=\"pip-custom-card__body\">\n <strong class=\"pip-custom-card__title\">\n {{ tx('custom.title', { name: customName }, 'Usar ligadura personalizada \"' + customName + '\"') }}\n </strong>\n <p class=\"pip-custom-card__desc\">\n {{ tx('custom.description', undefined, 'Pr\u00E9via em tempo real do Material Symbols. Confirme se o tra\u00E7o apareceu corretamente ao lado.') }}\n </p>\n <div class=\"pip-custom-card__actions\">\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n data-testid=\"icon-picker-use-typed\"\n (click)=\"confirmTyped()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">check</mat-icon>\n <span>{{ tx('custom.useAction', { name: customName }, 'Usar \"' + customName + '\"') }}</span>\n </button>\n <button\n mat-stroked-button\n type=\"button\"\n (click)=\"clearQuery()\"\n >\n <span>{{ tx('empty.clearSearch', undefined, 'Limpar busca') }}</span>\n </button>\n <a\n mat-button\n href=\"https://fonts.google.com/icons\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">open_in_new</mat-icon>\n <span>{{ tx('empty.browseCatalog', undefined, 'Explorar no Google Icons') }}</span>\n </a>\n </div>\n </div>\n </div>\n } @else {\n <div class=\"pip-empty-card\" data-testid=\"icon-picker-empty\">\n <div class=\"pip-empty-card__icon\" aria-hidden=\"true\">\n <mat-icon class=\"pip-chrome-icon\">search_off</mat-icon>\n </div>\n <strong class=\"pip-empty-card__title\">\n {{ tx('empty.title', { query: query.trim() }, 'Nenhum \u00EDcone encontrado') }}\n </strong>\n <p class=\"pip-empty-card__desc\">\n {{ tx('empty.description', undefined, 'Tente buscar por outra fun\u00E7\u00E3o, limpe o filtro ou consulte o cat\u00E1logo oficial.') }}\n </p>\n <div class=\"pip-empty-card__actions\">\n @if (query.trim()) {\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n (click)=\"clearQuery()\"\n >\n <span>{{ tx('empty.clearSearch', undefined, 'Limpar busca') }}</span>\n </button>\n }\n @if (allowCustomName) {\n <a\n mat-stroked-button\n href=\"https://fonts.google.com/icons\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">open_in_new</mat-icon>\n <span>{{ tx('empty.browseCatalog', undefined, 'Explorar no Google Icons') }}</span>\n </a>\n }\n </div>\n </div>\n }\n </div>\n\n <!-- Zone 4: Anchored Studio Footer with Live Context Preview -->\n <footer class=\"pip-footer\">\n <div class=\"pip-preview\" data-testid=\"icon-picker-live-preview\">\n <div class=\"pip-preview__medallion\" [class.is-empty]=\"!effectivePreviewIcon()\" aria-hidden=\"true\">\n <mat-icon [ngClass]=\"iconClassForFamily(selectedFamily)\">\n {{ effectivePreviewIcon() || 'apps' }}\n </mat-icon>\n </div>\n <div class=\"pip-preview__copy\">\n <span class=\"pip-preview__eyebrow\">{{ previewResolvedSubtitle() }}</span>\n <div class=\"pip-preview__title-row\">\n <strong class=\"pip-preview__title\">{{ previewResolvedTitle() }}</strong>\n @if (previewValue(); as token) {\n <code class=\"pip-preview__code\">{{ token }}</code>\n }\n </div>\n </div>\n </div>\n\n <div class=\"pip-footer__actions\">\n @if (allowClear && (stagedIcon || value)) {\n <button\n mat-button\n type=\"button\"\n class=\"pip-remove-btn\"\n data-testid=\"icon-picker-clear-value\"\n (click)=\"clear()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">backspace</mat-icon>\n <span>{{ tx('actions.remove', undefined, 'Remover \u00EDcone') }}</span>\n </button>\n }\n @if (dialogRef) {\n <button\n mat-stroked-button\n type=\"button\"\n data-testid=\"icon-picker-cancel\"\n (click)=\"onCancel()\"\n >\n {{ tx('actions.cancel', undefined, 'Cancelar') }}\n </button>\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n data-testid=\"icon-picker-apply\"\n [disabled]=\"!hasStagedDifferentOrValid()\"\n (click)=\"confirmSelection()\"\n >\n <mat-icon class=\"pip-chrome-icon\" aria-hidden=\"true\">check</mat-icon>\n <span>{{ tx('actions.apply', undefined, 'Aplicar \u00EDcone') }}</span>\n </button>\n }\n </div>\n </footer>\n</div>\n", styles: [":host{display:block;color:var(--md-sys-color-on-surface);font-family:var(--font-sans, inherit)}.pip-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.pip-root{display:flex;flex-direction:column;width:100%;max-height:min(86vh,86dvh);overflow:hidden;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface)}.pip-root[data-dialog=false]{max-height:540px;border-radius:var(--radius-lg, 14px);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 85%,transparent)}.pip-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px 14px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 65%,var(--md-sys-color-surface));border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 75%,transparent)}.pip-header__identity{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.pip-header__medallion{width:40px;height:40px;border-radius:11px;flex-shrink:0;display:grid;place-items:center;background:color-mix(in srgb,var(--md-sys-color-primary-container) 68%,var(--md-sys-color-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 26%,transparent);color:var(--md-sys-color-primary)}.pip-header__medallion mat-icon{width:22px;height:22px;font-size:22px}.pip-header__titles{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.pip-header__title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pip-header__title{margin:0;font-family:var(--font-display, var(--font-sans, inherit));font-size:1.05rem;font-weight:700;line-height:1.25;letter-spacing:-.015em;color:var(--md-sys-color-on-surface)}.pip-count-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:.72rem;font-weight:600;line-height:1.3;color:var(--md-sys-color-on-secondary-container);background:color-mix(in srgb,var(--md-sys-color-secondary-container) 78%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 60%,transparent);font-variant-numeric:tabular-nums}.pip-count-pill__scope{font-weight:500;color:var(--md-sys-color-on-surface-variant)}.pip-header__subtitle{margin:0;font-size:.78rem;line-height:1.35;color:var(--md-sys-color-on-surface-variant)}.pip-close-btn{appearance:none;width:34px;height:34px;border-radius:9px;border:1px solid transparent;background:transparent;color:var(--md-sys-color-on-surface-variant);display:grid;place-items:center;flex-shrink:0;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pip-close-btn:hover{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);border-color:color-mix(in srgb,var(--md-sys-color-outline-variant) 75%,transparent)}.pip-close-btn:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pip-close-btn mat-icon{width:18px;height:18px;font-size:18px}.pip-controls{display:flex;flex-direction:column;gap:10px;padding:12px 20px 10px;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 55%,transparent);background:var(--md-sys-color-surface)}.pip-search-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.pip-search-bar{flex:1 1 260px;min-width:0;min-height:40px;padding:0 10px 0 12px;border-radius:11px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 90%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 78%,var(--md-sys-color-surface));display:flex;align-items:center;gap:8px;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.pip-search-bar:hover{border-color:color-mix(in srgb,var(--md-sys-color-on-surface) 28%,var(--md-sys-color-outline-variant))}.pip-search-bar:focus-within{background:var(--md-sys-color-surface);border-color:var(--md-sys-color-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--md-sys-color-primary) 15%,transparent)}.pip-search-bar__icon{width:18px;height:18px;font-size:18px;flex-shrink:0;color:var(--md-sys-color-on-surface-variant);transition:color .15s ease}.pip-search-bar:focus-within .pip-search-bar__icon{color:var(--md-sys-color-primary)}.pip-search-bar__input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--md-sys-color-on-surface);font:inherit;font-size:.875rem;line-height:1.4;padding:6px 0}.pip-search-bar__input::placeholder{color:color-mix(in srgb,var(--md-sys-color-on-surface-variant) 82%,transparent)}.pip-search-bar__input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.pip-search-bar__clear{appearance:none;width:24px;height:24px;border-radius:6px;border:0;padding:0;background:transparent;color:var(--md-sys-color-on-surface-variant);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background-color .14s ease,color .14s ease}.pip-search-bar__clear:hover,.pip-search-bar__clear:focus-visible{background:var(--md-sys-color-surface-container-highest);color:var(--md-sys-color-on-surface);outline:none}.pip-search-bar__clear mat-icon{width:15px;height:15px;font-size:15px}.pip-search-bar__kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;font-weight:600;color:var(--md-sys-color-on-surface-variant);background:var(--md-sys-color-surface-container-high);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 80%,transparent);flex-shrink:0}.pip-family-segmented{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:10px;background:var(--md-sys-color-surface-container);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 72%,transparent);flex-shrink:0}.pip-family-btn{appearance:none;border:0;min-height:28px;padding:0 10px;border-radius:7px;background:transparent;color:var(--md-sys-color-on-surface-variant);font-family:inherit;font-size:.73rem;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}.pip-family-btn:hover{color:var(--md-sys-color-on-surface)}.pip-family-btn:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:1px}.pip-family-btn.is-active{background:var(--md-sys-color-surface);color:var(--md-sys-color-primary);box-shadow:0 1px 3px color-mix(in srgb,var(--md-sys-color-on-surface) 12%,transparent)}.pip-categories-shell{position:relative;display:flex;align-items:center;min-width:0}.pip-categories{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:5px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-user-select:none;user-select:none;padding:2px 0}.pip-categories-shell.can-scroll-right:not(.can-scroll-left) .pip-categories{padding-inline-end:32px;-webkit-mask-image:linear-gradient(to right,rgb(0,0,0) 0,rgb(0,0,0) calc(100% - 36px),transparent 100%);mask-image:linear-gradient(to right,rgb(0,0,0) 0,rgb(0,0,0) calc(100% - 36px),transparent 100%)}.pip-categories-shell.can-scroll-left:not(.can-scroll-right) .pip-categories{padding-inline-start:32px;-webkit-mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) 100%);mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) 100%)}.pip-categories-shell.can-scroll-left.can-scroll-right .pip-categories{padding-inline:32px;-webkit-mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) calc(100% - 36px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,rgb(0,0,0) 36px,rgb(0,0,0) calc(100% - 36px),transparent 100%)}.pip-categories::-webkit-scrollbar{display:none}.pip-cat-scroll-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;appearance:none;width:26px;height:26px;padding:0;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 82%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 88%,var(--md-sys-color-surface));color:var(--md-sys-color-on-surface);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 6px color-mix(in srgb,var(--md-sys-color-on-surface) 14%,transparent);transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pip-cat-scroll-btn--left{left:0}.pip-cat-scroll-btn--right{right:0}.pip-cat-scroll-btn:hover{border-color:var(--md-sys-color-primary);color:var(--md-sys-color-primary);background:var(--md-sys-color-surface)}.pip-cat-scroll-btn mat-icon{width:17px;height:17px;font-size:17px}.pip-cat-pill{appearance:none;flex-shrink:0;display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 78%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 70%,var(--md-sys-color-surface));color:var(--md-sys-color-on-surface-variant);font-family:inherit;font-size:.72rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.pip-cat-pill__icon{width:15px;height:15px;font-size:15px}.pip-cat-pill:hover{color:var(--md-sys-color-on-surface);border-color:color-mix(in srgb,var(--md-sys-color-primary) 36%,var(--md-sys-color-outline-variant))}.pip-cat-pill:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pip-cat-pill.is-active{background:color-mix(in srgb,var(--md-sys-color-primary-container) 78%,var(--md-sys-color-surface));border-color:color-mix(in srgb,var(--md-sys-color-primary) 42%,transparent);color:var(--md-sys-color-primary)}.pip-gallery-wrap{flex:1 1 auto;min-height:210px;max-height:min(44vh,360px);overflow-y:auto;overflow-x:hidden;padding:14px 20px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 35%,var(--md-sys-color-surface));scrollbar-width:thin}.pip-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.pip-tile{position:relative;appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:78px;padding:12px 8px 10px;border-radius:11px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 78%,transparent);background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font-family:inherit;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease}.pip-tile:hover{background:color-mix(in srgb,var(--md-sys-color-primary-container) 34%,var(--md-sys-color-surface));border-color:color-mix(in srgb,var(--md-sys-color-primary) 42%,var(--md-sys-color-outline-variant));transform:translateY(-1px)}.pip-tile:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.pip-tile.selected{background:color-mix(in srgb,var(--md-sys-color-primary-container) 72%,var(--md-sys-color-surface));border-color:var(--md-sys-color-primary);box-shadow:0 0 0 1px var(--md-sys-color-primary)}.pip-tile__badge{position:absolute;top:5px;right:5px;display:inline-flex;color:var(--md-sys-color-primary)}.pip-tile__badge mat-icon{width:15px;height:15px;font-size:15px}.pip-tile__current-dot{position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:999px;background:var(--md-sys-color-primary);opacity:.72}.pip-tile__glyph{width:24px;height:24px;font-size:24px;line-height:1;color:var(--md-sys-color-on-surface);transition:color .14s ease,transform .14s ease}.pip-tile:hover .pip-tile__glyph,.pip-tile.selected .pip-tile__glyph{color:var(--md-sys-color-primary)}.pip-tile__label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font-size:.7rem;font-weight:500;line-height:1.25;color:var(--md-sys-color-on-surface-variant);overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}.pip-tile.selected .pip-tile__label{color:var(--md-sys-color-on-surface);font-weight:600}.pip-custom-card{display:flex;align-items:flex-start;gap:16px;padding:18px;border-radius:14px;border:1px dashed color-mix(in srgb,var(--md-sys-color-primary) 42%,var(--md-sys-color-outline-variant));background:var(--md-sys-color-surface)}.pip-custom-card__preview{width:56px;height:56px;border-radius:14px;flex-shrink:0;display:grid;place-items:center;background:color-mix(in srgb,var(--md-sys-color-primary-container) 62%,var(--md-sys-color-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 26%,transparent);color:var(--md-sys-color-primary)}.pip-custom-card__preview mat-icon{width:28px;height:28px;font-size:28px}.pip-custom-card__body{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.pip-custom-card__title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface)}.pip-custom-card__desc{margin:0;font-size:.78rem;line-height:1.45;color:var(--md-sys-color-on-surface-variant)}.pip-custom-card__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}.pip-empty-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;min-height:170px;padding:22px 18px;border-radius:14px;border:1px dashed color-mix(in srgb,var(--md-sys-color-outline-variant) 85%,transparent);background:var(--md-sys-color-surface)}.pip-empty-card__icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.pip-empty-card__title{font-size:.9rem;font-weight:700;color:var(--md-sys-color-on-surface)}.pip-empty-card__desc{margin:0;max-width:46ch;font-size:.78rem;line-height:1.45;color:var(--md-sys-color-on-surface-variant)}.pip-empty-card__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px}.pip-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;padding:12px 20px;background:color-mix(in srgb,var(--md-sys-color-surface-container-low) 75%,var(--md-sys-color-surface));border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 78%,transparent)}.pip-preview{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 220px}.pip-preview__medallion{width:38px;height:38px;border-radius:10px;flex-shrink:0;display:grid;place-items:center;background:color-mix(in srgb,var(--md-sys-color-primary-container) 72%,var(--md-sys-color-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-primary) 28%,transparent);color:var(--md-sys-color-primary)}.pip-preview__medallion.is-empty{background:var(--md-sys-color-surface-container-high);border-color:color-mix(in srgb,var(--md-sys-color-outline-variant) 80%,transparent);color:var(--md-sys-color-on-surface-variant)}.pip-preview__medallion mat-icon{width:20px;height:20px;font-size:20px}.pip-preview__copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}.pip-preview__eyebrow{font-size:.7rem;font-weight:600;color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pip-preview__title-row{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0}.pip-preview__title{font-size:.84rem;font-weight:700;color:var(--md-sys-color-on-surface);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.pip-preview__code{flex-shrink:0;padding:1px 7px;border-radius:6px;background:var(--md-sys-color-surface-container-high);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 70%,transparent);color:var(--md-sys-color-on-surface-variant);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;font-weight:600}.pip-footer__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pip-remove-btn{color:var(--md-sys-color-on-surface-variant)}.pip-footer__actions button mat-icon,.pip-custom-card__actions button mat-icon,.pip-custom-card__actions a mat-icon,.pip-empty-card__actions a mat-icon{width:17px;height:17px;font-size:17px}.pip-chrome-icon{font-family:Material Symbols Outlined,Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:\"liga\";font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased;font-variation-settings:\"FILL\" 0,\"wght\" 400,\"GRAD\" 0,\"opsz\" 24}.pip-glyph--mi,.pip-glyph--mso,.pip-glyph--msr,.pip-glyph--mss{font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:\"liga\";font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased;font-variation-settings:\"FILL\" 0,\"wght\" 400,\"GRAD\" 0,\"opsz\" 24;color:currentColor}.pip-glyph--mi{font-family:Material Icons,Material Symbols Outlined}.pip-glyph--mso{font-family:Material Symbols Outlined,Material Icons}.pip-glyph--msr{font-family:Material Symbols Rounded,Material Symbols Outlined,Material Icons}.pip-glyph--mss{font-family:Material Symbols Sharp,Material Symbols Outlined,Material Icons}@media(max-width:640px){.pip-header,.pip-controls,.pip-gallery-wrap,.pip-footer{padding-inline:14px}.pip-gallery-wrap{max-height:min(42vh,300px)}.pip-gallery{grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:6px}.pip-tile{min-height:70px;padding:10px 6px 8px}.pip-preview__title-row{flex-wrap:wrap}.pip-custom-card{flex-direction:column;align-items:stretch}.pip-footer__actions{width:100%;justify-content:flex-end}}@media(max-width:520px){.pip-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}}@media(prefers-reduced-motion:reduce){.pip-close-btn,.pip-search-bar,.pip-search-bar__icon,.pip-search-bar__clear,.pip-family-btn,.pip-cat-pill,.pip-cat-scroll-btn,.pip-tile,.pip-tile__glyph{transition:none}.pip-tile:hover{transform:none}}@media(forced-colors:active){.pip-root,.pip-tile,.pip-search-bar,.pip-cat-pill,.pip-cat-scroll-btn,.pip-custom-card,.pip-empty-card{border-color:ButtonBorder}.pip-tile.selected,.pip-cat-pill.is-active,.pip-family-btn.is-active{outline:2px solid Highlight}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
84100
85479
  }
84101
85480
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIconPickerComponent, decorators: [{
84102
85481
  type: Component,
@@ -85575,7 +86954,7 @@ class EmptyStateCardComponent {
85575
86954
  </div>
85576
86955
  </mat-card-content>
85577
86956
  </mat-card>
85578
- `, isInline: true, styles: [".empty-card{display:block;margin:var(--pdx-empty-state-margin, 12px);border-color:var(--pdx-empty-state-border-color, var(--md-sys-color-outline-variant));border-radius:var(--pdx-empty-state-radius, 8px);background:var(--pdx-empty-state-bg, var(--md-sys-color-surface));color:var(--pdx-empty-state-fg, var(--md-sys-color-on-surface));--empty-icon-color: var(--pdx-empty-state-icon-color, var(--md-sys-color-on-surface-variant))}.empty-card.empty-inline,.empty-card.variant-inline{margin:var(--pdx-empty-state-inline-margin, 8px 0)}.empty-card.variant-panel{margin:var(--pdx-empty-state-panel-margin, 0)}.empty-card.variant-transparent{margin:var(--pdx-empty-state-transparent-margin, 0);border-color:transparent;background:transparent;--mat-card-elevated-container-elevation: none;--mat-card-outlined-container-elevation: none;box-shadow:none!important}.content{display:flex;align-items:center;gap:var(--pdx-empty-state-gap, 12px)}.align-center .content{flex-direction:column;justify-content:center;text-align:center}.icon{display:inline-grid;place-items:center;flex:0 0 auto;font-size:var(--pdx-empty-state-icon-size, 32px);width:var(--pdx-empty-state-icon-box-size, 32px);height:var(--pdx-empty-state-icon-box-size, 32px);color:var(--empty-icon-color)}.icon-circle .icon,.icon-soft .icon{width:var(--pdx-empty-state-icon-container-size, 44px);height:var(--pdx-empty-state-icon-container-size, 44px);border-radius:var(--pdx-empty-state-icon-container-radius, 999px);font-size:var(--pdx-empty-state-icon-container-icon-size, 22px)}.icon-circle .icon{border:1px solid var(--pdx-empty-state-icon-container-border-color, color-mix(in srgb, var(--empty-icon-color) 24%, transparent));background:var(--pdx-empty-state-icon-container-bg, color-mix(in srgb, var(--empty-icon-color) 10%, transparent))}.icon-soft .icon{background:var(--pdx-empty-state-icon-container-bg, color-mix(in srgb, var(--empty-icon-color) 10%, transparent))}.texts{display:grid;gap:var(--pdx-empty-state-text-gap, 4px)}.align-center .texts{justify-items:center}.title{margin:0;font-family:var(--pdx-empty-state-title-font-family, var(--md-sys-typescale-title-small-font-family, inherit));font-size:var(--pdx-empty-state-title-font-size, 16px);font-weight:var(--pdx-empty-state-title-font-weight, 600);line-height:var(--pdx-empty-state-title-line-height, 1.3);color:var(--pdx-empty-state-title-color, var(--md-sys-color-on-surface))}.desc{margin:0;max-width:var(--pdx-empty-state-description-max-width, none);font-family:var(--pdx-empty-state-description-font-family, var(--md-sys-typescale-body-medium-font-family, inherit));font-size:var(--pdx-empty-state-description-font-size, inherit);line-height:var(--pdx-empty-state-description-line-height, 1.4);color:var(--pdx-empty-state-description-color, var(--md-sys-color-on-surface-variant))}.actions{display:flex;justify-content:var(--pdx-empty-state-actions-justify, flex-start);gap:var(--pdx-empty-state-actions-gap, 8px);margin-top:var(--pdx-empty-state-actions-margin-top, 12px);flex-wrap:wrap}.actions .mat-mdc-button-base{width:fit-content;max-width:100%;height:var(--pdx-empty-state-action-height, var(--praxis-action-control-height, 40px));min-height:var(--pdx-empty-state-action-height, var(--praxis-action-control-height, 40px));padding-inline:var(--pdx-empty-state-action-padding-inline, var(--praxis-action-control-padding-inline, 12px));border-radius:var(--pdx-empty-state-action-radius, var(--praxis-action-control-radius, 8px));gap:var(--pdx-empty-state-action-gap, var(--praxis-action-control-gap, 8px));font-size:var(--pdx-empty-state-action-font-size, var(--praxis-action-control-font-size, .875rem));font-weight:var(--pdx-empty-state-action-font-weight, var(--praxis-action-control-font-weight, 500));line-height:var(--pdx-empty-state-action-line-height, var(--praxis-action-control-line-height, 1.25rem));white-space:nowrap}.actions .mat-mdc-button-base mat-icon{width:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px));height:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px));margin:0;font-size:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px));line-height:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px))}.actions .mat-mdc-button-base:focus-visible{outline:2px solid var(--pdx-empty-state-action-focus-ring, var(--praxis-action-control-focus-ring, var(--md-sys-color-primary)));outline-offset:2px}.actions .mat-mdc-button-base:disabled{opacity:var(--pdx-empty-state-action-disabled-opacity, var(--praxis-action-control-disabled-opacity, .62))}.align-center .actions{justify-content:var(--pdx-empty-state-actions-justify, center)}.density-compact .content{gap:var(--pdx-empty-state-compact-gap, 8px)}.density-compact .actions .mat-mdc-button-base{height:var(--pdx-empty-state-action-height, var(--praxis-action-control-compact-height, 36px));min-height:var(--pdx-empty-state-action-height, var(--praxis-action-control-compact-height, 36px))}.density-compact .icon{font-size:var(--pdx-empty-state-compact-icon-size, 24px);width:var(--pdx-empty-state-compact-icon-box-size, 24px);height:var(--pdx-empty-state-compact-icon-box-size, 24px)}.density-compact.icon-circle .icon,.density-compact.icon-soft .icon{width:var(--pdx-empty-state-compact-icon-container-size, 36px);height:var(--pdx-empty-state-compact-icon-container-size, 36px);font-size:var(--pdx-empty-state-compact-icon-container-icon-size, 20px)}.empty-card.tone-primary{--empty-icon-color: var(--md-sys-color-primary)}.empty-card.tone-secondary{--empty-icon-color: var(--md-sys-color-secondary)}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i2$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$1.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
86957
+ `, isInline: true, styles: [".empty-card{display:block;margin:var(--pdx-empty-state-margin, 12px);border-color:var(--pdx-empty-state-border-color, var(--md-sys-color-outline-variant));border-radius:var(--pdx-empty-state-radius, 8px);background:var(--pdx-empty-state-bg, var(--md-sys-color-surface));color:var(--pdx-empty-state-fg, var(--md-sys-color-on-surface));--empty-icon-color: var(--pdx-empty-state-icon-color, var(--md-sys-color-on-surface-variant))}.empty-card.empty-inline,.empty-card.variant-inline{margin:var(--pdx-empty-state-inline-margin, 8px 0)}.empty-card.variant-panel{margin:var(--pdx-empty-state-panel-margin, 0)}.empty-card.variant-transparent{margin:var(--pdx-empty-state-transparent-margin, 0);border-color:transparent;background:transparent;--mat-card-elevated-container-elevation: none;--mat-card-outlined-container-elevation: none;box-shadow:none!important}.content{display:flex;align-items:center;gap:var(--pdx-empty-state-gap, 12px)}.align-center .content{flex-direction:column;justify-content:center;text-align:center}.icon{display:inline-grid;place-items:center;flex:0 0 auto;font-size:var(--pdx-empty-state-icon-size, 32px);width:var(--pdx-empty-state-icon-box-size, 32px);height:var(--pdx-empty-state-icon-box-size, 32px);color:var(--empty-icon-color)}.icon-circle .icon,.icon-soft .icon{width:var(--pdx-empty-state-icon-container-size, 44px);height:var(--pdx-empty-state-icon-container-size, 44px);border-radius:var(--pdx-empty-state-icon-container-radius, 999px);font-size:var(--pdx-empty-state-icon-container-icon-size, 22px)}.icon-circle .icon{border:1px solid var(--pdx-empty-state-icon-container-border-color, color-mix(in srgb, var(--empty-icon-color) 24%, transparent));background:var(--pdx-empty-state-icon-container-bg, color-mix(in srgb, var(--empty-icon-color) 10%, transparent))}.icon-soft .icon{background:var(--pdx-empty-state-icon-container-bg, color-mix(in srgb, var(--empty-icon-color) 10%, transparent))}.texts{display:grid;gap:var(--pdx-empty-state-text-gap, 4px)}.align-center .texts{justify-items:center}.title{margin:0;font-family:var(--pdx-empty-state-title-font-family, var(--md-sys-typescale-title-small-font-family, inherit));font-size:var(--pdx-empty-state-title-font-size, 16px);font-weight:var(--pdx-empty-state-title-font-weight, 600);line-height:var(--pdx-empty-state-title-line-height, 1.3);color:var(--pdx-empty-state-title-color, var(--md-sys-color-on-surface))}.desc{margin:0;max-width:var(--pdx-empty-state-description-max-width, none);font-family:var(--pdx-empty-state-description-font-family, var(--md-sys-typescale-body-medium-font-family, inherit));font-size:var(--pdx-empty-state-description-font-size, inherit);line-height:var(--pdx-empty-state-description-line-height, 1.4);color:var(--pdx-empty-state-description-color, var(--md-sys-color-on-surface-variant))}.actions{display:flex;justify-content:var(--pdx-empty-state-actions-justify, flex-start);gap:var(--pdx-empty-state-actions-gap, 8px);margin-top:var(--pdx-empty-state-actions-margin-top, 12px);flex-wrap:wrap}.actions .mat-mdc-button-base{width:fit-content;max-width:100%;height:var(--pdx-empty-state-action-height, var(--praxis-action-control-height, 40px));min-height:var(--pdx-empty-state-action-height, var(--praxis-action-control-height, 40px));padding-inline:var(--pdx-empty-state-action-padding-inline, var(--praxis-action-control-padding-inline, 12px));border-radius:var(--pdx-empty-state-action-radius, var(--praxis-action-control-radius, 8px));gap:var(--pdx-empty-state-action-gap, var(--praxis-action-control-gap, 8px));font-size:var(--pdx-empty-state-action-font-size, var(--praxis-action-control-font-size, .875rem));font-weight:var(--pdx-empty-state-action-font-weight, var(--praxis-action-control-font-weight, 500));line-height:var(--pdx-empty-state-action-line-height, var(--praxis-action-control-line-height, 1.25rem));white-space:nowrap}.actions .mat-mdc-button-base mat-icon{width:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px));height:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px));margin:0;font-size:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px));line-height:var(--pdx-empty-state-action-icon-size, var(--praxis-action-control-icon-size, 18px))}.actions .mat-mdc-button-base:focus-visible{outline:2px solid var(--pdx-empty-state-action-focus-ring, var(--praxis-action-control-focus-ring, var(--md-sys-color-primary)));outline-offset:2px}.actions .mat-mdc-button-base:disabled{opacity:var(--pdx-empty-state-action-disabled-opacity, var(--praxis-action-control-disabled-opacity, .62))}.align-center .actions{justify-content:var(--pdx-empty-state-actions-justify, center)}.density-compact .content{gap:var(--pdx-empty-state-compact-gap, 8px)}.density-compact .actions .mat-mdc-button-base{height:var(--pdx-empty-state-action-height, var(--praxis-action-control-compact-height, 36px));min-height:var(--pdx-empty-state-action-height, var(--praxis-action-control-compact-height, 36px))}.density-compact .icon{font-size:var(--pdx-empty-state-compact-icon-size, 24px);width:var(--pdx-empty-state-compact-icon-box-size, 24px);height:var(--pdx-empty-state-compact-icon-box-size, 24px)}.density-compact.icon-circle .icon,.density-compact.icon-soft .icon{width:var(--pdx-empty-state-compact-icon-container-size, 36px);height:var(--pdx-empty-state-compact-icon-container-size, 36px);font-size:var(--pdx-empty-state-compact-icon-container-icon-size, 20px)}.empty-card.tone-primary{--empty-icon-color: var(--md-sys-color-primary)}.empty-card.tone-secondary{--empty-icon-color: var(--md-sys-color-secondary)}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i2$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$2.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
85579
86958
  }
85580
86959
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: EmptyStateCardComponent, decorators: [{
85581
86960
  type: Component,
@@ -89955,7 +91334,7 @@ class SchemaViewerComponent {
89955
91334
  </mat-tab-group>
89956
91335
  </mat-card-content>
89957
91336
  </mat-card>
89958
- `, isInline: true, styles: [".schema-viewer{display:block;border-color:var(--md-sys-color-outline-variant)}.header{display:flex;align-items:center;justify-content:space-between;gap:8px}.title{display:flex;align-items:center;gap:8px}.title h3{margin:0;font-weight:600;color:var(--md-sys-color-on-surface)}.notes{margin-top:6px;color:var(--md-sys-color-on-surface-variant);font-size:12px}.copy-status{margin-top:6px;font-size:12px;color:var(--md-sys-color-primary)}.section{padding:12px}.section-actions{display:flex;justify-content:flex-end;margin-bottom:8px}.sub{font-weight:600;margin:12px 0 4px;color:var(--md-sys-color-on-surface)}.pretty{background:var(--md-sys-color-surface-container);padding:10px;border-radius:8px;overflow:auto;border:1px solid var(--md-sys-color-outline-variant)}.kv{display:grid;grid-template-columns:140px 1fr;align-items:baseline;gap:8px;margin:2px 0}.kv>span{color:var(--md-sys-color-on-surface-variant)}.kv>code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.muted{color:var(--md-sys-color-on-surface-variant)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$5.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$5.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i2$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2$1.MatCardHeader, selector: "mat-card-header" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1$3.JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
91337
+ `, isInline: true, styles: [".schema-viewer{display:block;border-color:var(--md-sys-color-outline-variant)}.header{display:flex;align-items:center;justify-content:space-between;gap:8px}.title{display:flex;align-items:center;gap:8px}.title h3{margin:0;font-weight:600;color:var(--md-sys-color-on-surface)}.notes{margin-top:6px;color:var(--md-sys-color-on-surface-variant);font-size:12px}.copy-status{margin-top:6px;font-size:12px;color:var(--md-sys-color-primary)}.section{padding:12px}.section-actions{display:flex;justify-content:flex-end;margin-bottom:8px}.sub{font-weight:600;margin:12px 0 4px;color:var(--md-sys-color-on-surface)}.pretty{background:var(--md-sys-color-surface-container);padding:10px;border-radius:8px;overflow:auto;border:1px solid var(--md-sys-color-outline-variant)}.kv{display:grid;grid-template-columns:140px 1fr;align-items:baseline;gap:8px;margin:2px 0}.kv>span{color:var(--md-sys-color-on-surface-variant)}.kv>code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.muted{color:var(--md-sys-color-on-surface-variant)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$5.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$5.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i2$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$2.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2$2.MatCardHeader, selector: "mat-card-header" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1$3.JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
89959
91338
  }
89960
91339
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SchemaViewerComponent, decorators: [{
89961
91340
  type: Component,
@@ -92347,10 +93726,15 @@ class PraxisAppShellComponent {
92347
93726
  router = inject(Router);
92348
93727
  currentRouterUrl = toSignal(this.router.events.pipe(filter((ev) => ev instanceof NavigationEnd), map((ev) => ev.urlAfterRedirects || ev.url)), { initialValue: this.router.url || '' });
92349
93728
  activeNavGroup = computed(() => {
92350
- const url = (this.currentRouterUrl() || this.router.url || '').split('?')[0].split('#')[0];
93729
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
92351
93730
  this.router.lastSuccessfulNavigation();
92352
93731
  for (const group of this.navigationGroups()) {
92353
- const matched = group.items.some((item) => this.matchesNavItem(item, url));
93732
+ if (group.items.some((item) => item.path.includes('?') && this.matchesNavItem(item, fullUrl))) {
93733
+ return group;
93734
+ }
93735
+ }
93736
+ for (const group of this.navigationGroups()) {
93737
+ const matched = group.items.some((item) => this.matchesNavItem(item, fullUrl));
92354
93738
  if (matched) {
92355
93739
  return group;
92356
93740
  }
@@ -92361,9 +93745,11 @@ class PraxisAppShellComponent {
92361
93745
  const group = this.activeNavGroup();
92362
93746
  if (!group)
92363
93747
  return null;
92364
- const url = (this.currentRouterUrl() || this.router.url || '').split('?')[0].split('#')[0];
93748
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
92365
93749
  this.router.lastSuccessfulNavigation();
92366
- return group.items.find((item) => this.matchesNavItem(item, url)) ?? null;
93750
+ return (group.items.find((item) => item.path.includes('?') && this.matchesNavItem(item, fullUrl)) ??
93751
+ group.items.find((item) => this.matchesNavItem(item, fullUrl)) ??
93752
+ null);
92367
93753
  }, ...(ngDevMode ? [{ debugName: "activeNavItem" }] : /* istanbul ignore next */ []));
92368
93754
  resolvedBreadcrumbs = computed(() => {
92369
93755
  const explicit = this.breadcrumbs();
@@ -92463,8 +93849,9 @@ class PraxisAppShellComponent {
92463
93849
  return this.mobileOpen() ? [primary, ...this.overflowGroups()] : [primary];
92464
93850
  }, ...(ngDevMode ? [{ debugName: "sidebarGroups" }] : /* istanbul ignore next */ []));
92465
93851
  overflowRouteActive = computed(() => {
93852
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
92466
93853
  this.router.lastSuccessfulNavigation();
92467
- return this.overflowGroups().some(group => group.items.some(item => !item.disabled && this.router.isActive(item.path, item.exact ?? (item.path === '/'))));
93854
+ return this.overflowGroups().some(group => group.items.some(item => this.matchesNavItem(item, fullUrl)));
92468
93855
  }, ...(ngDevMode ? [{ debugName: "overflowRouteActive" }] : /* istanbul ignore next */ []));
92469
93856
  moreOpenButton = viewChild('moreOpenButton', ...(ngDevMode ? [{ debugName: "moreOpenButton" }] : /* istanbul ignore next */ []));
92470
93857
  moreCloseButton = viewChild('moreCloseButton', ...(ngDevMode ? [{ debugName: "moreCloseButton" }] : /* istanbul ignore next */ []));
@@ -92618,21 +94005,180 @@ class PraxisAppShellComponent {
92618
94005
  this._subTabsPinnedOverride.set(next);
92619
94006
  this.subTabsPinChange.emit(next);
92620
94007
  }
94008
+ routeQueryParamsCache = new Map();
94009
+ routePathOf(path) {
94010
+ const raw = (path ?? '').split('#')[0];
94011
+ const qIndex = raw.indexOf('?');
94012
+ return qIndex >= 0 ? raw.slice(0, qIndex) : raw;
94013
+ }
94014
+ routeQueryParamsOf(path) {
94015
+ const raw = path ?? '';
94016
+ if (this.routeQueryParamsCache.has(raw)) {
94017
+ return this.routeQueryParamsCache.get(raw) ?? null;
94018
+ }
94019
+ const qIndex = raw.indexOf('?');
94020
+ if (qIndex < 0) {
94021
+ this.routeQueryParamsCache.set(raw, null);
94022
+ return null;
94023
+ }
94024
+ const rawQuery = raw.slice(qIndex + 1).split('#')[0];
94025
+ if (!rawQuery) {
94026
+ this.routeQueryParamsCache.set(raw, null);
94027
+ return null;
94028
+ }
94029
+ const params = {};
94030
+ new URLSearchParams(rawQuery).forEach((value, key) => {
94031
+ params[key] = value;
94032
+ });
94033
+ const result = Object.keys(params).length > 0 ? params : null;
94034
+ this.routeQueryParamsCache.set(raw, result);
94035
+ return result;
94036
+ }
94037
+ navItemRoutePath(item) {
94038
+ return this.routePathOf(item.path);
94039
+ }
94040
+ navItemQueryParams(item) {
94041
+ return this.routeQueryParamsOf(item.path);
94042
+ }
94043
+ activeQuerySiblingBasePaths = computed(() => {
94044
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
94045
+ this.router.lastSuccessfulNavigation();
94046
+ const result = new Set();
94047
+ const [rawPath, rawQuery = ''] = fullUrl.split('?');
94048
+ const normalizedCurrentPath = this.normalizeNavigationPath(rawPath);
94049
+ const currentSearch = new URLSearchParams(rawQuery);
94050
+ for (const group of this.navigationGroups()) {
94051
+ for (const item of group.items) {
94052
+ if (item.disabled)
94053
+ continue;
94054
+ const expectedQuery = this.navItemQueryParams(item);
94055
+ if (!expectedQuery)
94056
+ continue;
94057
+ const normalizedItemPath = this.normalizeNavigationPath(this.navItemRoutePath(item));
94058
+ if (normalizedItemPath !== normalizedCurrentPath)
94059
+ continue;
94060
+ if (Object.entries(expectedQuery).every(([key, value]) => currentSearch.get(key) === value)) {
94061
+ result.add(normalizedItemPath);
94062
+ }
94063
+ }
94064
+ }
94065
+ return result;
94066
+ }, ...(ngDevMode ? [{ debugName: "activeQuerySiblingBasePaths" }] : /* istanbul ignore next */ []));
94067
+ static ROUTER_LINK_OPTIONS_EXACT_SUBSET = {
94068
+ paths: 'exact',
94069
+ queryParams: 'subset',
94070
+ fragment: 'ignored',
94071
+ matrixParams: 'ignored',
94072
+ };
94073
+ static ROUTER_LINK_OPTIONS_EXACT_EXACT = {
94074
+ paths: 'exact',
94075
+ queryParams: 'exact',
94076
+ fragment: 'ignored',
94077
+ matrixParams: 'ignored',
94078
+ };
94079
+ static ROUTER_LINK_OPTIONS_EXACT_IGNORED = {
94080
+ paths: 'exact',
94081
+ queryParams: 'ignored',
94082
+ fragment: 'ignored',
94083
+ matrixParams: 'ignored',
94084
+ };
94085
+ static ROUTER_LINK_OPTIONS_SUBSET_SUBSET = {
94086
+ paths: 'subset',
94087
+ queryParams: 'subset',
94088
+ fragment: 'ignored',
94089
+ matrixParams: 'ignored',
94090
+ };
94091
+ static ROUTER_LINK_OPTIONS_SUBSET_EXACT = {
94092
+ paths: 'subset',
94093
+ queryParams: 'exact',
94094
+ fragment: 'ignored',
94095
+ matrixParams: 'ignored',
94096
+ };
94097
+ static ROUTER_LINK_OPTIONS_SUBSET_IGNORED = {
94098
+ paths: 'subset',
94099
+ queryParams: 'ignored',
94100
+ fragment: 'ignored',
94101
+ matrixParams: 'ignored',
94102
+ };
94103
+ navItemRouterLinkActiveOptions(item) {
94104
+ const exactPath = item.exact ?? (this.navItemRoutePath(item) === '/');
94105
+ const hasQuery = this.navItemQueryParams(item) !== null;
94106
+ if (hasQuery) {
94107
+ return item.exact !== false
94108
+ ? PraxisAppShellComponent.ROUTER_LINK_OPTIONS_EXACT_SUBSET
94109
+ : PraxisAppShellComponent.ROUTER_LINK_OPTIONS_SUBSET_SUBSET;
94110
+ }
94111
+ const basePathSupersededBySiblingQuery = this.activeQuerySiblingBasePaths().has(this.normalizeNavigationPath(this.navItemRoutePath(item)));
94112
+ if (exactPath) {
94113
+ return basePathSupersededBySiblingQuery
94114
+ ? PraxisAppShellComponent.ROUTER_LINK_OPTIONS_EXACT_EXACT
94115
+ : PraxisAppShellComponent.ROUTER_LINK_OPTIONS_EXACT_IGNORED;
94116
+ }
94117
+ return basePathSupersededBySiblingQuery
94118
+ ? PraxisAppShellComponent.ROUTER_LINK_OPTIONS_SUBSET_EXACT
94119
+ : PraxisAppShellComponent.ROUTER_LINK_OPTIONS_SUBSET_IGNORED;
94120
+ }
94121
+ hasMatchingQuerySibling(normalizedItemPath, currentUrl) {
94122
+ if (!currentUrl)
94123
+ return false;
94124
+ const [rawPath, rawQuery = ''] = currentUrl.split('#')[0].split('?');
94125
+ const normalizedCurrentPath = this.normalizeNavigationPath(rawPath);
94126
+ if (normalizedCurrentPath !== normalizedItemPath) {
94127
+ return false;
94128
+ }
94129
+ const currentSearch = new URLSearchParams(rawQuery);
94130
+ for (const group of this.navigationGroups()) {
94131
+ for (const candidate of group.items) {
94132
+ if (candidate.disabled)
94133
+ continue;
94134
+ const expectedQuery = this.navItemQueryParams(candidate);
94135
+ if (!expectedQuery)
94136
+ continue;
94137
+ const candidatePath = this.normalizeNavigationPath(this.navItemRoutePath(candidate));
94138
+ if (candidatePath !== normalizedItemPath)
94139
+ continue;
94140
+ if (Object.entries(expectedQuery).every(([key, value]) => currentSearch.get(key) === value)) {
94141
+ return true;
94142
+ }
94143
+ }
94144
+ }
94145
+ return false;
94146
+ }
92621
94147
  matchesNavItem(item, currentUrl) {
92622
94148
  if (item.disabled)
92623
94149
  return false;
94150
+ const itemPath = this.navItemRoutePath(item);
94151
+ const expectedQuery = this.navItemQueryParams(item);
94152
+ const normalizedItemPath = this.normalizeNavigationPath(itemPath);
94153
+ if (!expectedQuery && this.hasMatchingQuerySibling(normalizedItemPath, currentUrl)) {
94154
+ return false;
94155
+ }
92624
94156
  try {
92625
- if (this.router.isActive(item.path, item.exact ?? (item.path === '/'))) {
94157
+ if (this.router.isActive(item.path, this.navItemRouterLinkActiveOptions(item))) {
92626
94158
  return true;
92627
94159
  }
92628
94160
  }
92629
94161
  catch { }
92630
94162
  if (!currentUrl)
92631
94163
  return false;
92632
- if (item.exact || item.path === '/') {
92633
- return currentUrl === item.path;
94164
+ const [rawPath, rawQuery = ''] = currentUrl.split('#')[0].split('?');
94165
+ const normalizedCurrentPath = this.normalizeNavigationPath(rawPath);
94166
+ if (expectedQuery) {
94167
+ const pathMatches = item.exact !== false
94168
+ ? normalizedCurrentPath === normalizedItemPath
94169
+ : normalizedCurrentPath === normalizedItemPath ||
94170
+ normalizedCurrentPath.startsWith(`${normalizedItemPath}/`);
94171
+ if (!pathMatches) {
94172
+ return false;
94173
+ }
94174
+ const currentSearch = new URLSearchParams(rawQuery);
94175
+ return Object.entries(expectedQuery).every(([key, value]) => currentSearch.get(key) === value);
94176
+ }
94177
+ if (item.exact || normalizedItemPath === '/') {
94178
+ return normalizedCurrentPath === normalizedItemPath;
92634
94179
  }
92635
- return currentUrl === item.path || currentUrl.startsWith(`${item.path}/`);
94180
+ return (normalizedCurrentPath === normalizedItemPath ||
94181
+ normalizedCurrentPath.startsWith(`${normalizedItemPath}/`));
92636
94182
  }
92637
94183
  toggleCollapse() {
92638
94184
  this.collapsed = !this.collapsed;
@@ -93079,8 +94625,10 @@ class PraxisAppShellComponent {
93079
94625
  @for (item of pinnedNavItems(); track item.path) {
93080
94626
  <div class="praxis-shell__quick-chip">
93081
94627
  <a
93082
- [routerLink]="item.path"
94628
+ [routerLink]="navItemRoutePath(item)"
94629
+ [queryParams]="navItemQueryParams(item)"
93083
94630
  routerLinkActive="active"
94631
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93084
94632
  (click)="onItemClick(item)"
93085
94633
  class="praxis-shell__quick-chip-link"
93086
94634
  >
@@ -93114,8 +94662,10 @@ class PraxisAppShellComponent {
93114
94662
  @for (item of recentNavItems(); track item.path) {
93115
94663
  <div class="praxis-shell__quick-chip">
93116
94664
  <a
93117
- [routerLink]="item.path"
94665
+ [routerLink]="navItemRoutePath(item)"
94666
+ [queryParams]="navItemQueryParams(item)"
93118
94667
  routerLinkActive="active"
94668
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93119
94669
  (click)="onItemClick(item)"
93120
94670
  class="praxis-shell__quick-chip-link"
93121
94671
  >
@@ -93158,10 +94708,11 @@ class PraxisAppShellComponent {
93158
94708
  @for (item of group.items; track item.path) {
93159
94709
  <li class="praxis-shell__nav-item" [class.praxis-shell__nav-item--pinnable]="allowPin">
93160
94710
  <a
93161
- [routerLink]="item.path"
94711
+ [routerLink]="navItemRoutePath(item)"
94712
+ [queryParams]="navItemQueryParams(item)"
93162
94713
  routerLinkActive="active"
93163
94714
  ariaCurrentWhenActive="page"
93164
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
94715
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93165
94716
  (click)="onItemClick(item)"
93166
94717
  class="praxis-shell__nav-link"
93167
94718
  [class.disabled]="item.disabled"
@@ -93327,7 +94878,8 @@ class PraxisAppShellComponent {
93327
94878
  }
93328
94879
  @if (crumb.path && !isLast) {
93329
94880
  <a
93330
- [routerLink]="crumb.path"
94881
+ [routerLink]="routePathOf(crumb.path)"
94882
+ [queryParams]="routeQueryParamsOf(crumb.path)"
93331
94883
  class="praxis-shell__breadcrumb-link"
93332
94884
  (click)="breadcrumbClick.emit(crumb)"
93333
94885
  >
@@ -93550,9 +95102,10 @@ class PraxisAppShellComponent {
93550
95102
  @if (!item.disabled) {
93551
95103
  <a
93552
95104
  class="praxis-shell__subtab"
93553
- [routerLink]="item.path"
95105
+ [routerLink]="navItemRoutePath(item)"
95106
+ [queryParams]="navItemQueryParams(item)"
93554
95107
  routerLinkActive="praxis-shell__subtab--active"
93555
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
95108
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93556
95109
  (click)="onItemClick(item)"
93557
95110
  >
93558
95111
  @if (item.icon) {
@@ -93895,8 +95448,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
93895
95448
  @for (item of pinnedNavItems(); track item.path) {
93896
95449
  <div class="praxis-shell__quick-chip">
93897
95450
  <a
93898
- [routerLink]="item.path"
95451
+ [routerLink]="navItemRoutePath(item)"
95452
+ [queryParams]="navItemQueryParams(item)"
93899
95453
  routerLinkActive="active"
95454
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93900
95455
  (click)="onItemClick(item)"
93901
95456
  class="praxis-shell__quick-chip-link"
93902
95457
  >
@@ -93930,8 +95485,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
93930
95485
  @for (item of recentNavItems(); track item.path) {
93931
95486
  <div class="praxis-shell__quick-chip">
93932
95487
  <a
93933
- [routerLink]="item.path"
95488
+ [routerLink]="navItemRoutePath(item)"
95489
+ [queryParams]="navItemQueryParams(item)"
93934
95490
  routerLinkActive="active"
95491
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93935
95492
  (click)="onItemClick(item)"
93936
95493
  class="praxis-shell__quick-chip-link"
93937
95494
  >
@@ -93974,10 +95531,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
93974
95531
  @for (item of group.items; track item.path) {
93975
95532
  <li class="praxis-shell__nav-item" [class.praxis-shell__nav-item--pinnable]="allowPin">
93976
95533
  <a
93977
- [routerLink]="item.path"
95534
+ [routerLink]="navItemRoutePath(item)"
95535
+ [queryParams]="navItemQueryParams(item)"
93978
95536
  routerLinkActive="active"
93979
95537
  ariaCurrentWhenActive="page"
93980
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
95538
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93981
95539
  (click)="onItemClick(item)"
93982
95540
  class="praxis-shell__nav-link"
93983
95541
  [class.disabled]="item.disabled"
@@ -94143,7 +95701,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94143
95701
  }
94144
95702
  @if (crumb.path && !isLast) {
94145
95703
  <a
94146
- [routerLink]="crumb.path"
95704
+ [routerLink]="routePathOf(crumb.path)"
95705
+ [queryParams]="routeQueryParamsOf(crumb.path)"
94147
95706
  class="praxis-shell__breadcrumb-link"
94148
95707
  (click)="breadcrumbClick.emit(crumb)"
94149
95708
  >
@@ -94366,9 +95925,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94366
95925
  @if (!item.disabled) {
94367
95926
  <a
94368
95927
  class="praxis-shell__subtab"
94369
- [routerLink]="item.path"
95928
+ [routerLink]="navItemRoutePath(item)"
95929
+ [queryParams]="navItemQueryParams(item)"
94370
95930
  routerLinkActive="praxis-shell__subtab--active"
94371
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
95931
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
94372
95932
  (click)="onItemClick(item)"
94373
95933
  >
94374
95934
  @if (item.icon) {
@@ -94760,8 +96320,8 @@ const MAX_DISTINCT_KPI_QUERIES_PER_PAGE = 24;
94760
96320
  const FORM_INPUTS = ['config', 'mode', 'emptyState', 'presentationModeGlobal', 'backConfig',
94761
96321
  'presentation', 'notifyIfOutdated', 'snoozeMs', 'autoOpenSettingsOnOutdated'];
94762
96322
  const TABLE_INPUTS = ['config', 'resourcePath', 'horizontalScroll'];
94763
- const CHART_INPUTS = ['config', 'chartDocument', 'resourceKey', 'resourcePath', 'projectionKey', 'queryContext', 'epistemicBadgeVariant'];
94764
- const KPI_STRIP_INPUTS = ['config', 'queryContext', 'density'];
96323
+ const CHART_INPUTS = ['config', 'chartDocument', 'resourceKey', 'resourcePath', 'projectionKey', 'queryContext', 'epistemicBadgeVariant', 'showExplainWithAiAction', 'readingGuide'];
96324
+ const KPI_STRIP_INPUTS = ['config', 'queryContext', 'density', 'showExplainWithAiAction'];
94765
96325
  const KPI_CARD_INPUTS = ['config', 'queryContext', 'density'];
94766
96326
  const LIST_INPUTS = ['config', 'resourcePath', 'queryContext'];
94767
96327
  const RICH_CONTENT_INPUTS = ['config', 'document', 'presetId', 'context'];
@@ -94836,6 +96396,7 @@ const ANALYTICS_PRESENTATION_INPUTS = [
94836
96396
  'controlsPlacement',
94837
96397
  'controlsDisplay',
94838
96398
  'chartDocumentOverrides',
96399
+ 'showExplainWithAiAction',
94839
96400
  ];
94840
96401
  const GOVERNED_PAGE_ADMITTED_WIDGET_IDS = [
94841
96402
  'praxis-dynamic-form',
@@ -95202,6 +96763,14 @@ class ProfileCheck {
95202
96763
  if (input !== null && typeof input !== 'boolean')
95203
96764
  this.fail(at);
95204
96765
  break;
96766
+ case 'showExplainWithAiAction':
96767
+ if (typeof input !== 'boolean')
96768
+ this.fail(at);
96769
+ break;
96770
+ case 'readingGuide':
96771
+ if (input !== null)
96772
+ this.readingGuide(input, at);
96773
+ break;
95205
96774
  case 'topology':
95206
96775
  this.oneOf(input, at, ['orthogonal-compact', 'pillars', 'curved-hub', 'radial-360']);
95207
96776
  break;
@@ -95283,8 +96852,11 @@ class ProfileCheck {
95283
96852
  return canonical;
95284
96853
  }
95285
96854
  kpiTextValue(value, path) {
96855
+ this.textValue(value, path, 160);
96856
+ }
96857
+ textValue(value, path, maxLength = 160) {
95286
96858
  if (typeof value === 'string') {
95287
- this.text(value, path, 160);
96859
+ this.text(value, path, maxLength);
95288
96860
  return;
95289
96861
  }
95290
96862
  if (!this.object(value, path, ['key', 'text', 'params']))
@@ -95297,7 +96869,7 @@ class ProfileCheck {
95297
96869
  if (hasKey)
95298
96870
  this.text(value['key'], `${path}/key`, 160);
95299
96871
  if (hasText)
95300
- this.text(value['text'], `${path}/text`, 160);
96872
+ this.text(value['text'], `${path}/text`, maxLength);
95301
96873
  if (Object.prototype.hasOwnProperty.call(value, 'params')) {
95302
96874
  const params = value['params'];
95303
96875
  if (!isRecord$1(params) || Object.keys(params).length > 16) {
@@ -95316,6 +96888,56 @@ class ProfileCheck {
95316
96888
  }
95317
96889
  }
95318
96890
  }
96891
+ readingGuide(value, path) {
96892
+ if (!this.object(value, path, [
96893
+ 'title',
96894
+ 'tooltip',
96895
+ 'summary',
96896
+ 'formula',
96897
+ 'interpretation',
96898
+ 'targetBand',
96899
+ 'legalBasis',
96900
+ 'caveat',
96901
+ 'epistemicKind',
96902
+ 'assistantPrompt',
96903
+ 'assistantTopicKey',
96904
+ 'resourcePath',
96905
+ 'resourceKey',
96906
+ 'surfaceId',
96907
+ 'entityKey',
96908
+ ], ['summary'])) {
96909
+ return;
96910
+ }
96911
+ this.textValue(value['summary'], `${path}/summary`, 1000);
96912
+ for (const [field, maxLen] of [
96913
+ ['title', 200],
96914
+ ['tooltip', 300],
96915
+ ['formula', 600],
96916
+ ['interpretation', 1000],
96917
+ ['targetBand', 400],
96918
+ ['legalBasis', 400],
96919
+ ['caveat', 1000],
96920
+ ['assistantPrompt', 600],
96921
+ ]) {
96922
+ if (Object.prototype.hasOwnProperty.call(value, field)) {
96923
+ this.textValue(value[field], `${path}/${field}`, maxLen);
96924
+ }
96925
+ }
96926
+ if (Object.prototype.hasOwnProperty.call(value, 'epistemicKind')) {
96927
+ this.oneOf(value['epistemicKind'], `${path}/epistemicKind`, PRAXIS_EPISTEMIC_KINDS);
96928
+ }
96929
+ for (const idField of ['assistantTopicKey', 'surfaceId']) {
96930
+ if (Object.prototype.hasOwnProperty.call(value, idField)) {
96931
+ this.text(value[idField], `${path}/${idField}`, 240);
96932
+ }
96933
+ }
96934
+ for (const nullableIdField of ['resourcePath', 'resourceKey', 'entityKey']) {
96935
+ if (Object.prototype.hasOwnProperty.call(value, nullableIdField) &&
96936
+ value[nullableIdField] !== null) {
96937
+ this.text(value[nullableIdField], `${path}/${nullableIdField}`, 255);
96938
+ }
96939
+ }
96940
+ }
95319
96941
  kpiStripConfig(value, path, distinctKpiQueries) {
95320
96942
  if (!this.object(value, path, ['schemaVersion', 'title', 'columns', 'minCardWidthPx', 'density', 'cards'], ['schemaVersion', 'cards'])) {
95321
96943
  return;
@@ -95362,7 +96984,7 @@ class ProfileCheck {
95362
96984
  }
95363
96985
  }
95364
96986
  kpiPresentation(value, path) {
95365
- if (!this.object(value, path, ['label', 'icon', 'tone', 'format', 'currencyCode', 'decimals', 'unitLabel', 'polarity', 'badgeTemplate', 'badgeContextLabel'], ['label', 'format'])) {
96987
+ if (!this.object(value, path, ['label', 'icon', 'tone', 'format', 'currencyCode', 'decimals', 'unitLabel', 'polarity', 'badgeTemplate', 'badgeContextLabel', 'readingGuide'], ['label', 'format'])) {
95366
96988
  return;
95367
96989
  }
95368
96990
  this.kpiTextValue(value['label'], `${path}/label`);
@@ -95406,6 +97028,9 @@ class ProfileCheck {
95406
97028
  if (Object.prototype.hasOwnProperty.call(value, 'badgeContextLabel')) {
95407
97029
  this.kpiTextValue(value['badgeContextLabel'], `${path}/badgeContextLabel`);
95408
97030
  }
97031
+ if (Object.prototype.hasOwnProperty.call(value, 'readingGuide')) {
97032
+ this.readingGuide(value['readingGuide'], `${path}/readingGuide`);
97033
+ }
95409
97034
  }
95410
97035
  kpiMetricRequest(value, path) {
95411
97036
  if (!this.object(value, path, ['operation', 'field', 'alias'], ['operation']))
@@ -95841,7 +97466,7 @@ class ProfileCheck {
95841
97466
  }
95842
97467
  }
95843
97468
  shell(value, path) {
95844
- if (!this.object(value, path, ['kind', 'title', 'subtitle', 'icon', 'showHeader']))
97469
+ if (!this.object(value, path, ['kind', 'title', 'subtitle', 'icon', 'showHeader', 'readingGuide']))
95845
97470
  return;
95846
97471
  if (Object.prototype.hasOwnProperty.call(value, 'kind'))
95847
97472
  this.oneOf(value['kind'], `${path}/kind`, ['dashboard-card', 'none']);
@@ -95854,6 +97479,9 @@ class ProfileCheck {
95854
97479
  if (Object.prototype.hasOwnProperty.call(value, 'showHeader') && typeof value['showHeader'] !== 'boolean') {
95855
97480
  this.fail(`${path}/showHeader`);
95856
97481
  }
97482
+ if (Object.prototype.hasOwnProperty.call(value, 'readingGuide')) {
97483
+ this.readingGuide(value['readingGuide'], `${path}/readingGuide`);
97484
+ }
95857
97485
  }
95858
97486
  canvas(value, path, widgets) {
95859
97487
  if (!this.object(value, path, ['mode', 'columns', 'rowUnit', 'gap', 'autoRows', 'collisionPolicy', 'items'], ['mode', 'columns', 'items']))
@@ -96595,6 +98223,7 @@ function evaluatePraxisKpiDerivation(spec, envelope, context = {}) {
96595
98223
  ariaLabel: composeAriaLabel(label, headlineValue, undefined, statusHint, false, tMicro),
96596
98224
  visualization: null,
96597
98225
  ...(includeProvenance ? { provenance: buildProvenance(status === 'suppressed' ? statusHint : undefined) } : {}),
98226
+ ...(spec.presentation.readingGuide ? { readingGuide: spec.presentation.readingGuide } : {}),
96598
98227
  });
96599
98228
  if (!envelope) {
96600
98229
  return buildTerminalViewModel('loading', '', tMicro('praxis.microViz.kpi.status.loading', undefined, 'Carregando indicador…'), baseTone, false);
@@ -96638,6 +98267,7 @@ function evaluatePraxisKpiDerivation(spec, envelope, context = {}) {
96638
98267
  ariaLabel: composeAriaLabel(label, params.headlineValue, params.badgeText, params.statusHint, active, tMicro),
96639
98268
  visualization: params.visualization,
96640
98269
  provenance: buildProvenance(suppressionNote),
98270
+ ...(spec.presentation.readingGuide ? { readingGuide: spec.presentation.readingGuide } : {}),
96641
98271
  };
96642
98272
  };
96643
98273
  if (derivation.kind === 'timeseries-summary') {
@@ -98191,7 +99821,13 @@ class PraxisEpistemicBadgeComponent {
98191
99821
  variant = input('compact', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
98192
99822
  showCopyHash = input(true, { ...(ngDevMode ? { debugName: "showCopyHash" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
98193
99823
  showMethodologyNote = input(true, { ...(ngDevMode ? { debugName: "showMethodologyNote" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
99824
+ showReadingGuide = input(true, { ...(ngDevMode ? { debugName: "showReadingGuide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
98194
99825
  testIdPrefix = input('praxis-epistemic', ...(ngDevMode ? [{ debugName: "testIdPrefix" }] : /* istanbul ignore next */ []));
99826
+ readingGuide = input(null, ...(ngDevMode ? [{ debugName: "readingGuide" }] : /* istanbul ignore next */ []));
99827
+ assistantTopicKey = input(null, ...(ngDevMode ? [{ debugName: "assistantTopicKey" }] : /* istanbul ignore next */ []));
99828
+ resourcePath = input(null, ...(ngDevMode ? [{ debugName: "resourcePath" }] : /* istanbul ignore next */ []));
99829
+ resourceKey = input(null, ...(ngDevMode ? [{ debugName: "resourceKey" }] : /* istanbul ignore next */ []));
99830
+ surfaceId = input(null, ...(ngDevMode ? [{ debugName: "surfaceId" }] : /* istanbul ignore next */ []));
98195
99831
  provenanceCopied = output();
98196
99832
  compactDetailsId = `prx-epistemic-details-${++epistemicBadgeDetailsSeq}`;
98197
99833
  copiedHash = signal(false, ...(ngDevMode ? [{ debugName: "copiedHash" }] : /* istanbul ignore next */ []));
@@ -98232,6 +99868,17 @@ class PraxisEpistemicBadgeComponent {
98232
99868
  return active || this.i18n?.getLocale?.() || 'pt-BR';
98233
99869
  }, ...(ngDevMode ? [{ debugName: "activeLocale" }] : /* istanbul ignore next */ []));
98234
99870
  normalizedMeta = computed(() => normalizePraxisEpistemicMeta(this.meta()), ...(ngDevMode ? [{ debugName: "normalizedMeta" }] : /* istanbul ignore next */ []));
99871
+ resolvedReadingGuide = computed(() => {
99872
+ const derived = buildReadingGuideFromEpistemicMeta(this.normalizedMeta(), {
99873
+ assistantTopicKey: this.assistantTopicKey(),
99874
+ resourcePath: this.resourcePath(),
99875
+ resourceKey: this.resourceKey(),
99876
+ surfaceId: this.surfaceId(),
99877
+ });
99878
+ return mergePraxisIndicatorReadingGuides(derived, this.readingGuide());
99879
+ }, ...(ngDevMode ? [{ debugName: "resolvedReadingGuide" }] : /* istanbul ignore next */ []));
99880
+ hasReadingGuide = computed(() => this.showReadingGuide() &&
99881
+ hasPraxisIndicatorReadingGuideContent(this.resolvedReadingGuide()), ...(ngDevMode ? [{ debugName: "hasReadingGuide" }] : /* istanbul ignore next */ []));
98235
99882
  epistemicKind = computed(() => normalizePraxisEpistemicKind(this.normalizedMeta()?.kind), ...(ngDevMode ? [{ debugName: "epistemicKind" }] : /* istanbul ignore next */ []));
98236
99883
  availabilityState = computed(() => normalizePraxisEpistemicAvailabilityState(this.normalizedMeta()?.availabilityState), ...(ngDevMode ? [{ debugName: "availabilityState" }] : /* istanbul ignore next */ []));
98237
99884
  isAvailable = computed(() => this.availabilityState() === 'AVAILABLE', ...(ngDevMode ? [{ debugName: "isAvailable" }] : /* istanbul ignore next */ []));
@@ -98271,6 +99918,31 @@ class PraxisEpistemicBadgeComponent {
98271
99918
  }
98272
99919
  return `${this.t('praxis.intelligence.epistemic.nigriniLabel')}: ${parts.join(' · ')}`;
98273
99920
  }, ...(ngDevMode ? [{ debugName: "nigriniDisplay" }] : /* istanbul ignore next */ []));
99921
+ guideSummary = computed(() => {
99922
+ const g = this.normalizedMeta()?.interpretationGuide;
99923
+ return g?.plainLanguageSummary?.trim() || g?.businessPurpose?.trim() || null;
99924
+ }, ...(ngDevMode ? [{ debugName: "guideSummary" }] : /* istanbul ignore next */ []));
99925
+ guideHowToRead = computed(() => {
99926
+ const steps = this.normalizedMeta()?.interpretationGuide?.howToRead ?? [];
99927
+ return steps.slice(0, 3);
99928
+ }, ...(ngDevMode ? [{ debugName: "guideHowToRead" }] : /* istanbul ignore next */ []));
99929
+ guideDecisionGuidance = computed(() => {
99930
+ const g = this.normalizedMeta()?.interpretationGuide;
99931
+ return g?.decisionGuidance?.trim() || g?.decisionBoundary?.trim() || null;
99932
+ }, ...(ngDevMode ? [{ debugName: "guideDecisionGuidance" }] : /* istanbul ignore next */ []));
99933
+ guideLimitations = computed(() => {
99934
+ const g = this.normalizedMeta()?.interpretationGuide;
99935
+ const list = g?.limitations ?? [];
99936
+ if (list.length > 0) {
99937
+ return list.slice(0, 2);
99938
+ }
99939
+ return g?.cautionNote?.trim() ? [g.cautionNote.trim()] : [];
99940
+ }, ...(ngDevMode ? [{ debugName: "guideLimitations" }] : /* istanbul ignore next */ []));
99941
+ showInlineGuide = computed(() => !this.hasReadingGuide() &&
99942
+ Boolean(this.guideSummary() ||
99943
+ this.guideHowToRead().length ||
99944
+ this.guideDecisionGuidance() ||
99945
+ this.guideLimitations().length), ...(ngDevMode ? [{ debugName: "showInlineGuide" }] : /* istanbul ignore next */ []));
98274
99946
  hasCompactDetails = computed(() => {
98275
99947
  const m = this.normalizedMeta();
98276
99948
  if (!m) {
@@ -98281,7 +99953,8 @@ class PraxisEpistemicBadgeComponent {
98281
99953
  Boolean(m.modelCardId) ||
98282
99954
  Boolean(m.datasetKey) ||
98283
99955
  Boolean(m.provenanceHash) ||
98284
- (this.showMethodologyNote() && Boolean(m.methodologyNote)));
99956
+ (this.showMethodologyNote() && Boolean(m.methodologyNote)) ||
99957
+ this.showInlineGuide());
98285
99958
  }, ...(ngDevMode ? [{ debugName: "hasCompactDetails" }] : /* istanbul ignore next */ []));
98286
99959
  hasDetailedMetrics = computed(() => {
98287
99960
  const m = this.normalizedMeta();
@@ -98327,6 +100000,26 @@ class PraxisEpistemicBadgeComponent {
98327
100000
  this.i18n?.activeLocale?.();
98328
100001
  return this.t(`praxis.intelligence.epistemic.kind.${kind}`);
98329
100002
  }
100003
+ kindTooltip(kind) {
100004
+ this.i18n?.activeLocale?.();
100005
+ return this.t(`praxis.intelligence.epistemic.tooltip.kind.${kind}`);
100006
+ }
100007
+ qValueTooltip() {
100008
+ this.i18n?.activeLocale?.();
100009
+ return this.t('praxis.intelligence.epistemic.tooltip.qValueFdr');
100010
+ }
100011
+ sampleSizeTooltip() {
100012
+ this.i18n?.activeLocale?.();
100013
+ return this.t('praxis.intelligence.epistemic.tooltip.sampleSize');
100014
+ }
100015
+ nigriniTooltip() {
100016
+ this.i18n?.activeLocale?.();
100017
+ return this.t('praxis.intelligence.epistemic.tooltip.nigrini');
100018
+ }
100019
+ suppressedTooltip() {
100020
+ this.i18n?.activeLocale?.();
100021
+ return this.t('praxis.intelligence.epistemic.tooltip.suppressed');
100022
+ }
98330
100023
  stateLabel(state) {
98331
100024
  this.i18n?.activeLocale?.();
98332
100025
  return this.t(`praxis.intelligence.epistemic.state.${state}`);
@@ -98452,7 +100145,7 @@ class PraxisEpistemicBadgeComponent {
98452
100145
  return resolvePraxisIntelligenceMessage(this.i18n, key, params);
98453
100146
  }
98454
100147
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisEpistemicBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
98455
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisEpistemicBadgeComponent, isStandalone: true, selector: "praxis-epistemic-badge", inputs: { meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, showCopyHash: { classPropertyName: "showCopyHash", publicName: "showCopyHash", isSignal: true, isRequired: false, transformFunction: null }, showMethodologyNote: { classPropertyName: "showMethodologyNote", publicName: "showMethodologyNote", isSignal: true, isRequired: false, transformFunction: null }, testIdPrefix: { classPropertyName: "testIdPrefix", publicName: "testIdPrefix", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { provenanceCopied: "provenanceCopied" }, host: { classAttribute: "praxis-epistemic-badge-host" }, ngImport: i0, template: `
100148
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisEpistemicBadgeComponent, isStandalone: true, selector: "praxis-epistemic-badge", inputs: { meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, showCopyHash: { classPropertyName: "showCopyHash", publicName: "showCopyHash", isSignal: true, isRequired: false, transformFunction: null }, showMethodologyNote: { classPropertyName: "showMethodologyNote", publicName: "showMethodologyNote", isSignal: true, isRequired: false, transformFunction: null }, showReadingGuide: { classPropertyName: "showReadingGuide", publicName: "showReadingGuide", isSignal: true, isRequired: false, transformFunction: null }, testIdPrefix: { classPropertyName: "testIdPrefix", publicName: "testIdPrefix", isSignal: true, isRequired: false, transformFunction: null }, readingGuide: { classPropertyName: "readingGuide", publicName: "readingGuide", isSignal: true, isRequired: false, transformFunction: null }, assistantTopicKey: { classPropertyName: "assistantTopicKey", publicName: "assistantTopicKey", isSignal: true, isRequired: false, transformFunction: null }, resourcePath: { classPropertyName: "resourcePath", publicName: "resourcePath", isSignal: true, isRequired: false, transformFunction: null }, resourceKey: { classPropertyName: "resourceKey", publicName: "resourceKey", isSignal: true, isRequired: false, transformFunction: null }, surfaceId: { classPropertyName: "surfaceId", publicName: "surfaceId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { provenanceCopied: "provenanceCopied" }, host: { classAttribute: "praxis-epistemic-badge-host" }, ngImport: i0, template: `
98456
100149
  @if (normalizedMeta(); as m) {
98457
100150
  @let kind = epistemicKind();
98458
100151
  @let state = availabilityState();
@@ -98471,6 +100164,7 @@ class PraxisEpistemicBadgeComponent {
98471
100164
  <span
98472
100165
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98473
100166
  [attr.data-kind]="kind"
100167
+ [matTooltip]="kindTooltip(kind)"
98474
100168
  [attr.data-testid]="testIdPrefix() + '-kind'"
98475
100169
  >
98476
100170
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98492,6 +100186,7 @@ class PraxisEpistemicBadgeComponent {
98492
100186
  @if (suppressedCount() > 0) {
98493
100187
  <span
98494
100188
  class="prx-epistemic-pill prx-epistemic-pill--warn"
100189
+ [matTooltip]="suppressedTooltip()"
98495
100190
  [attr.data-testid]="testIdPrefix() + '-suppressed-chip'"
98496
100191
  >
98497
100192
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98502,6 +100197,7 @@ class PraxisEpistemicBadgeComponent {
98502
100197
  @if (!blocked && qValueDisplay(); as qText) {
98503
100198
  <span
98504
100199
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100200
+ [matTooltip]="qValueTooltip()"
98505
100201
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98506
100202
  >
98507
100203
  {{ qValueLabel(qText) }}
@@ -98511,12 +100207,22 @@ class PraxisEpistemicBadgeComponent {
98511
100207
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98512
100208
  <span
98513
100209
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100210
+ [matTooltip]="sampleSizeTooltip()"
98514
100211
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98515
100212
  >
98516
100213
  {{ sampleSizeLabel(m.sampleSize) }}
98517
100214
  </span>
98518
100215
  }
98519
100216
 
100217
+ @if (hasReadingGuide()) {
100218
+ <praxis-indicator-guide-popover
100219
+ [guide]="resolvedReadingGuide()"
100220
+ size="sm"
100221
+ [testIdPrefix]="testIdPrefix() + '-reading-guide'"
100222
+ [attr.data-testid]="testIdPrefix() + '-reading-guide'"
100223
+ />
100224
+ }
100225
+
98520
100226
  @if (hasCompactDetails()) {
98521
100227
  <button
98522
100228
  type="button"
@@ -98547,6 +100253,7 @@ class PraxisEpistemicBadgeComponent {
98547
100253
  @if (nigriniDisplay(); as nigriniText) {
98548
100254
  <span
98549
100255
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100256
+ [matTooltip]="nigriniTooltip()"
98550
100257
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
98551
100258
  >
98552
100259
  {{ nigriniText }}
@@ -98600,6 +100307,26 @@ class PraxisEpistemicBadgeComponent {
98600
100307
  {{ m.methodologyNote }}
98601
100308
  </p>
98602
100309
  }
100310
+ @if (showInlineGuide()) {
100311
+ <div class="prx-epistemic__guide" [attr.data-testid]="testIdPrefix() + '-interpretation-guide'">
100312
+ @if (guideSummary(); as summaryText) {
100313
+ <p class="prx-epistemic__guide-summary">{{ summaryText }}</p>
100314
+ }
100315
+ @if (guideHowToRead().length) {
100316
+ <ul class="prx-epistemic__guide-list">
100317
+ @for (step of guideHowToRead(); track $index) {
100318
+ <li>{{ step }}</li>
100319
+ }
100320
+ </ul>
100321
+ }
100322
+ @if (guideDecisionGuidance(); as guidanceText) {
100323
+ <p class="prx-epistemic__guide-decision">{{ guidanceText }}</p>
100324
+ }
100325
+ @if (guideLimitations().length) {
100326
+ <p class="prx-epistemic__guide-caution">{{ guideLimitations().join(' ') }}</p>
100327
+ }
100328
+ </div>
100329
+ }
98603
100330
  </div>
98604
100331
  }
98605
100332
  </div>
@@ -98618,6 +100345,7 @@ class PraxisEpistemicBadgeComponent {
98618
100345
  <span
98619
100346
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98620
100347
  [attr.data-kind]="kind"
100348
+ [matTooltip]="kindTooltip(kind)"
98621
100349
  [attr.data-testid]="testIdPrefix() + '-kind'"
98622
100350
  >
98623
100351
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98642,6 +100370,15 @@ class PraxisEpistemicBadgeComponent {
98642
100370
  </span>
98643
100371
  }
98644
100372
  </div>
100373
+
100374
+ @if (hasReadingGuide()) {
100375
+ <praxis-indicator-guide-popover
100376
+ [guide]="resolvedReadingGuide()"
100377
+ size="sm"
100378
+ [testIdPrefix]="testIdPrefix() + '-reading-guide'"
100379
+ [attr.data-testid]="testIdPrefix() + '-reading-guide'"
100380
+ />
100381
+ }
98645
100382
  </div>
98646
100383
 
98647
100384
  @if (blocked) {
@@ -98660,6 +100397,7 @@ class PraxisEpistemicBadgeComponent {
98660
100397
  <div
98661
100398
  class="prx-epistemic__alert prx-epistemic__alert--warn"
98662
100399
  role="alert"
100400
+ [matTooltip]="suppressedTooltip()"
98663
100401
  [attr.data-testid]="testIdPrefix() + '-suppressed-alert'"
98664
100402
  >
98665
100403
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98672,6 +100410,7 @@ class PraxisEpistemicBadgeComponent {
98672
100410
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98673
100411
  <span
98674
100412
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100413
+ [matTooltip]="sampleSizeTooltip()"
98675
100414
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98676
100415
  >
98677
100416
  {{ sampleSizeLabel(m.sampleSize) }}
@@ -98681,6 +100420,7 @@ class PraxisEpistemicBadgeComponent {
98681
100420
  @if (!blocked && qValueDisplay(); as qText) {
98682
100421
  <span
98683
100422
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100423
+ [matTooltip]="qValueTooltip()"
98684
100424
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98685
100425
  >
98686
100426
  {{ qValueLabel(qText) }}
@@ -98700,6 +100440,7 @@ class PraxisEpistemicBadgeComponent {
98700
100440
  @if (nigriniDisplay(); as nigriniText) {
98701
100441
  <span
98702
100442
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100443
+ [matTooltip]="nigriniTooltip()"
98703
100444
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
98704
100445
  >
98705
100446
  {{ nigriniText }}
@@ -98749,14 +100490,35 @@ class PraxisEpistemicBadgeComponent {
98749
100490
  {{ m.methodologyNote }}
98750
100491
  </p>
98751
100492
  }
100493
+
100494
+ @if (showInlineGuide()) {
100495
+ <div class="prx-epistemic__guide" [attr.data-testid]="testIdPrefix() + '-interpretation-guide'">
100496
+ @if (guideSummary(); as summaryText) {
100497
+ <p class="prx-epistemic__guide-summary">{{ summaryText }}</p>
100498
+ }
100499
+ @if (guideHowToRead().length) {
100500
+ <ul class="prx-epistemic__guide-list">
100501
+ @for (step of guideHowToRead(); track $index) {
100502
+ <li>{{ step }}</li>
100503
+ }
100504
+ </ul>
100505
+ }
100506
+ @if (guideDecisionGuidance(); as guidanceText) {
100507
+ <p class="prx-epistemic__guide-decision">{{ guidanceText }}</p>
100508
+ }
100509
+ @if (guideLimitations().length) {
100510
+ <p class="prx-epistemic__guide-caution">{{ guideLimitations().join(' ') }}</p>
100511
+ }
100512
+ </div>
100513
+ }
98752
100514
  </section>
98753
100515
  }
98754
100516
  }
98755
- `, isInline: true, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface, #1a1b20)}.prx-epistemic{min-width:0;color:inherit}.prx-epistemic--compact{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.375rem}.prx-epistemic--detailed{display:grid;gap:.5rem;padding:var(--praxis-epistemic-detailed-padding, .5rem .625rem);border-radius:var(--praxis-epistemic-radius, .5rem);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 55%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic--blocked.prx-epistemic--detailed{border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 48%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 35%,transparent)}.prx-epistemic__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.prx-epistemic__pills,.prx-epistemic__metrics{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0}.prx-epistemic-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;line-height:1.3;font-weight:600;max-width:100%}.prx-epistemic-pill mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem;flex:0 0 auto}.prx-epistemic-pill--kind{background:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 12%,transparent);border-color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 34%,transparent);color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--kind[data-kind=DETERMINISTIC_LAW]{--_kind-accent: var(--praxis-epistemic-kind-deterministic, var(--praxis-color-success, #1b5e20))}.prx-epistemic-pill--kind[data-kind=CALIBRATED_PROBABILITY]{--_kind-accent: var(--praxis-epistemic-kind-probabilistic, var(--md-sys-color-primary, #0b57d0))}.prx-epistemic-pill--kind[data-kind=STOCHASTIC_SIMULATION]{--_kind-accent: var(--praxis-epistemic-kind-stochastic, var(--md-sys-color-tertiary, #6750a4))}.prx-epistemic-pill--kind[data-kind=CAUSAL_HYPOTHESIS]{--_kind-accent: var(--praxis-epistemic-kind-causal, var(--praxis-color-warning, #9a4700))}.prx-epistemic-pill--kind[data-kind=OPTIMIZATION_RESULT]{--_kind-accent: var(--praxis-epistemic-kind-optimization, var(--praxis-color-info, #006a6a))}.prx-epistemic-pill--state[data-state=AVAILABLE]{background:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 12%,transparent);border-color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 32%,transparent);color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--state[data-state=INSUFFICIENT_SAMPLE],.prx-epistemic-pill--state[data-state=DEGRADED],.prx-epistemic-pill--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic-pill--state[data-state=K_ANONYMITY_SUPPRESSED],.prx-epistemic-pill--state[data-state=ENGINE_UNAVAILABLE]{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic-metric{display:inline-flex;align-items:center;padding:.125rem .4375rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-high, currentColor) 6%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor);font-size:.75rem;line-height:1.3;font-weight:500;overflow-wrap:anywhere}.prx-epistemic-metric--mono{font-family:var(--praxis-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-variant-numeric:tabular-nums}.prx-epistemic-metric--significant{border-color:color-mix(in srgb,var(--md-sys-color-primary, #1b5e20) 38%,transparent);color:var(--md-sys-color-primary, #1b5e20);font-weight:600}.prx-epistemic__alert{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid transparent;font-size:.78125rem;line-height:1.38}.prx-epistemic__alert mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-epistemic__alert--danger{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 40%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic__alert--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic__hash-group{display:inline-flex;align-items:center;gap:.25rem;min-width:0}.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline, #74777f) 40%,transparent);background:transparent;color:var(--md-sys-color-on-surface-variant, currentColor);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.prx-epistemic__copy-btn mat-icon,.prx-epistemic__toggle-btn mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem}.prx-epistemic__copy-btn:hover,.prx-epistemic__toggle-btn:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.prx-epistemic__copy-btn:focus-visible,.prx-epistemic__toggle-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:2px}.prx-epistemic__compact-drawer{flex-basis:100%;display:grid;gap:.375rem;padding:.4375rem .5rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic__note{margin:0;font-size:.78125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, currentColor);overflow-wrap:anywhere}.prx-epistemic__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{transition:none}}@media(forced-colors:active){.prx-epistemic--detailed,.prx-epistemic-pill,.prx-epistemic-metric,.prx-epistemic__alert,.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn,.prx-epistemic__compact-drawer{border:1px solid CanvasText;background:Canvas;color:CanvasText}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
100517
+ `, isInline: true, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface, #1a1b20)}.prx-epistemic{min-width:0;color:inherit}.prx-epistemic--compact{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.375rem}.prx-epistemic--detailed{display:grid;gap:.5rem;padding:var(--praxis-epistemic-detailed-padding, .5rem .625rem);border-radius:var(--praxis-epistemic-radius, .5rem);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 55%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic--blocked.prx-epistemic--detailed{border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 48%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 35%,transparent)}.prx-epistemic__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.prx-epistemic__pills,.prx-epistemic__metrics{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0}.prx-epistemic-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;line-height:1.3;font-weight:600;max-width:100%}.prx-epistemic-pill mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem;flex:0 0 auto}.prx-epistemic-pill--kind{background:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 12%,transparent);border-color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 34%,transparent);color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--kind[data-kind=DETERMINISTIC_LAW]{--_kind-accent: var(--praxis-epistemic-kind-deterministic, var(--praxis-color-success, #1b5e20))}.prx-epistemic-pill--kind[data-kind=CALIBRATED_PROBABILITY]{--_kind-accent: var(--praxis-epistemic-kind-probabilistic, var(--md-sys-color-primary, #0b57d0))}.prx-epistemic-pill--kind[data-kind=STOCHASTIC_SIMULATION]{--_kind-accent: var(--praxis-epistemic-kind-stochastic, var(--md-sys-color-tertiary, #6750a4))}.prx-epistemic-pill--kind[data-kind=CAUSAL_HYPOTHESIS]{--_kind-accent: var(--praxis-epistemic-kind-causal, var(--praxis-color-warning, #9a4700))}.prx-epistemic-pill--kind[data-kind=OPTIMIZATION_RESULT]{--_kind-accent: var(--praxis-epistemic-kind-optimization, var(--praxis-color-info, #006a6a))}.prx-epistemic-pill--state[data-state=AVAILABLE]{background:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 12%,transparent);border-color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 32%,transparent);color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--state[data-state=INSUFFICIENT_SAMPLE],.prx-epistemic-pill--state[data-state=DEGRADED],.prx-epistemic-pill--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic-pill--state[data-state=K_ANONYMITY_SUPPRESSED],.prx-epistemic-pill--state[data-state=ENGINE_UNAVAILABLE]{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic-metric{display:inline-flex;align-items:center;padding:.125rem .4375rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-high, currentColor) 6%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor);font-size:.75rem;line-height:1.3;font-weight:500;overflow-wrap:anywhere}.prx-epistemic-metric--mono{font-family:var(--praxis-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-variant-numeric:tabular-nums}.prx-epistemic-metric--significant{border-color:color-mix(in srgb,var(--md-sys-color-primary, #1b5e20) 38%,transparent);color:var(--md-sys-color-primary, #1b5e20);font-weight:600}.prx-epistemic__alert{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid transparent;font-size:.78125rem;line-height:1.38}.prx-epistemic__alert mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-epistemic__alert--danger{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 40%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic__alert--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic__hash-group{display:inline-flex;align-items:center;gap:.25rem;min-width:0}.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline, #74777f) 40%,transparent);background:transparent;color:var(--md-sys-color-on-surface-variant, currentColor);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.prx-epistemic__copy-btn mat-icon,.prx-epistemic__toggle-btn mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem}.prx-epistemic__copy-btn:hover,.prx-epistemic__toggle-btn:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.prx-epistemic__copy-btn:focus-visible,.prx-epistemic__toggle-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:2px}.prx-epistemic__compact-drawer{flex-basis:100%;display:grid;gap:.375rem;padding:.4375rem .5rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic__note{margin:0;font-size:.78125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, currentColor);overflow-wrap:anywhere}.prx-epistemic__guide{display:grid;gap:.25rem;padding-top:.35rem;border-top:1px dashed color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 36%,transparent);font-size:.76rem;line-height:1.4}.prx-epistemic__guide-summary,.prx-epistemic__guide-decision,.prx-epistemic__guide-caution{margin:0;overflow-wrap:anywhere}.prx-epistemic__guide-summary{color:var(--md-sys-color-on-surface, currentColor);font-weight:500}.prx-epistemic__guide-list{margin:0;padding-left:1.05rem;display:grid;gap:.15rem;color:var(--md-sys-color-on-surface-variant, currentColor)}.prx-epistemic__guide-decision{color:var(--md-sys-color-primary, #1263b4)}.prx-epistemic__guide-caution{color:var(--md-sys-color-on-surface-variant, currentColor);font-style:italic}.prx-epistemic__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{transition:none}}@media(forced-colors:active){.prx-epistemic--detailed,.prx-epistemic-pill,.prx-epistemic-metric,.prx-epistemic__alert,.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn,.prx-epistemic__compact-drawer{border:1px solid CanvasText;background:Canvas;color:CanvasText}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisIndicatorGuidePopoverComponent, selector: "praxis-indicator-guide-popover", inputs: ["guide", "subjectTitle", "variant", "size", "icon", "placement", "showAssistantButton", "forceAssistantButton", "testIdPrefix"], outputs: ["opened", "closed", "assistantAsk"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
98756
100518
  }
98757
100519
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisEpistemicBadgeComponent, decorators: [{
98758
100520
  type: Component,
98759
- args: [{ selector: 'praxis-epistemic-badge', imports: [MatIconModule, MatTooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, host: {
100521
+ args: [{ selector: 'praxis-epistemic-badge', imports: [MatIconModule, MatTooltipModule, PraxisIndicatorGuidePopoverComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: {
98760
100522
  class: 'praxis-epistemic-badge-host',
98761
100523
  }, template: `
98762
100524
  @if (normalizedMeta(); as m) {
@@ -98777,6 +100539,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98777
100539
  <span
98778
100540
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98779
100541
  [attr.data-kind]="kind"
100542
+ [matTooltip]="kindTooltip(kind)"
98780
100543
  [attr.data-testid]="testIdPrefix() + '-kind'"
98781
100544
  >
98782
100545
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98798,6 +100561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98798
100561
  @if (suppressedCount() > 0) {
98799
100562
  <span
98800
100563
  class="prx-epistemic-pill prx-epistemic-pill--warn"
100564
+ [matTooltip]="suppressedTooltip()"
98801
100565
  [attr.data-testid]="testIdPrefix() + '-suppressed-chip'"
98802
100566
  >
98803
100567
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98808,6 +100572,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98808
100572
  @if (!blocked && qValueDisplay(); as qText) {
98809
100573
  <span
98810
100574
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100575
+ [matTooltip]="qValueTooltip()"
98811
100576
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98812
100577
  >
98813
100578
  {{ qValueLabel(qText) }}
@@ -98817,12 +100582,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98817
100582
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98818
100583
  <span
98819
100584
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100585
+ [matTooltip]="sampleSizeTooltip()"
98820
100586
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98821
100587
  >
98822
100588
  {{ sampleSizeLabel(m.sampleSize) }}
98823
100589
  </span>
98824
100590
  }
98825
100591
 
100592
+ @if (hasReadingGuide()) {
100593
+ <praxis-indicator-guide-popover
100594
+ [guide]="resolvedReadingGuide()"
100595
+ size="sm"
100596
+ [testIdPrefix]="testIdPrefix() + '-reading-guide'"
100597
+ [attr.data-testid]="testIdPrefix() + '-reading-guide'"
100598
+ />
100599
+ }
100600
+
98826
100601
  @if (hasCompactDetails()) {
98827
100602
  <button
98828
100603
  type="button"
@@ -98853,6 +100628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98853
100628
  @if (nigriniDisplay(); as nigriniText) {
98854
100629
  <span
98855
100630
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100631
+ [matTooltip]="nigriniTooltip()"
98856
100632
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
98857
100633
  >
98858
100634
  {{ nigriniText }}
@@ -98906,6 +100682,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98906
100682
  {{ m.methodologyNote }}
98907
100683
  </p>
98908
100684
  }
100685
+ @if (showInlineGuide()) {
100686
+ <div class="prx-epistemic__guide" [attr.data-testid]="testIdPrefix() + '-interpretation-guide'">
100687
+ @if (guideSummary(); as summaryText) {
100688
+ <p class="prx-epistemic__guide-summary">{{ summaryText }}</p>
100689
+ }
100690
+ @if (guideHowToRead().length) {
100691
+ <ul class="prx-epistemic__guide-list">
100692
+ @for (step of guideHowToRead(); track $index) {
100693
+ <li>{{ step }}</li>
100694
+ }
100695
+ </ul>
100696
+ }
100697
+ @if (guideDecisionGuidance(); as guidanceText) {
100698
+ <p class="prx-epistemic__guide-decision">{{ guidanceText }}</p>
100699
+ }
100700
+ @if (guideLimitations().length) {
100701
+ <p class="prx-epistemic__guide-caution">{{ guideLimitations().join(' ') }}</p>
100702
+ }
100703
+ </div>
100704
+ }
98909
100705
  </div>
98910
100706
  }
98911
100707
  </div>
@@ -98924,6 +100720,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98924
100720
  <span
98925
100721
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98926
100722
  [attr.data-kind]="kind"
100723
+ [matTooltip]="kindTooltip(kind)"
98927
100724
  [attr.data-testid]="testIdPrefix() + '-kind'"
98928
100725
  >
98929
100726
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98948,6 +100745,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98948
100745
  </span>
98949
100746
  }
98950
100747
  </div>
100748
+
100749
+ @if (hasReadingGuide()) {
100750
+ <praxis-indicator-guide-popover
100751
+ [guide]="resolvedReadingGuide()"
100752
+ size="sm"
100753
+ [testIdPrefix]="testIdPrefix() + '-reading-guide'"
100754
+ [attr.data-testid]="testIdPrefix() + '-reading-guide'"
100755
+ />
100756
+ }
98951
100757
  </div>
98952
100758
 
98953
100759
  @if (blocked) {
@@ -98966,6 +100772,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98966
100772
  <div
98967
100773
  class="prx-epistemic__alert prx-epistemic__alert--warn"
98968
100774
  role="alert"
100775
+ [matTooltip]="suppressedTooltip()"
98969
100776
  [attr.data-testid]="testIdPrefix() + '-suppressed-alert'"
98970
100777
  >
98971
100778
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98978,6 +100785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98978
100785
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98979
100786
  <span
98980
100787
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100788
+ [matTooltip]="sampleSizeTooltip()"
98981
100789
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98982
100790
  >
98983
100791
  {{ sampleSizeLabel(m.sampleSize) }}
@@ -98987,6 +100795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98987
100795
  @if (!blocked && qValueDisplay(); as qText) {
98988
100796
  <span
98989
100797
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100798
+ [matTooltip]="qValueTooltip()"
98990
100799
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98991
100800
  >
98992
100801
  {{ qValueLabel(qText) }}
@@ -99006,6 +100815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99006
100815
  @if (nigriniDisplay(); as nigriniText) {
99007
100816
  <span
99008
100817
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100818
+ [matTooltip]="nigriniTooltip()"
99009
100819
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
99010
100820
  >
99011
100821
  {{ nigriniText }}
@@ -99055,11 +100865,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99055
100865
  {{ m.methodologyNote }}
99056
100866
  </p>
99057
100867
  }
100868
+
100869
+ @if (showInlineGuide()) {
100870
+ <div class="prx-epistemic__guide" [attr.data-testid]="testIdPrefix() + '-interpretation-guide'">
100871
+ @if (guideSummary(); as summaryText) {
100872
+ <p class="prx-epistemic__guide-summary">{{ summaryText }}</p>
100873
+ }
100874
+ @if (guideHowToRead().length) {
100875
+ <ul class="prx-epistemic__guide-list">
100876
+ @for (step of guideHowToRead(); track $index) {
100877
+ <li>{{ step }}</li>
100878
+ }
100879
+ </ul>
100880
+ }
100881
+ @if (guideDecisionGuidance(); as guidanceText) {
100882
+ <p class="prx-epistemic__guide-decision">{{ guidanceText }}</p>
100883
+ }
100884
+ @if (guideLimitations().length) {
100885
+ <p class="prx-epistemic__guide-caution">{{ guideLimitations().join(' ') }}</p>
100886
+ }
100887
+ </div>
100888
+ }
99058
100889
  </section>
99059
100890
  }
99060
100891
  }
99061
- `, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface, #1a1b20)}.prx-epistemic{min-width:0;color:inherit}.prx-epistemic--compact{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.375rem}.prx-epistemic--detailed{display:grid;gap:.5rem;padding:var(--praxis-epistemic-detailed-padding, .5rem .625rem);border-radius:var(--praxis-epistemic-radius, .5rem);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 55%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic--blocked.prx-epistemic--detailed{border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 48%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 35%,transparent)}.prx-epistemic__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.prx-epistemic__pills,.prx-epistemic__metrics{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0}.prx-epistemic-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;line-height:1.3;font-weight:600;max-width:100%}.prx-epistemic-pill mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem;flex:0 0 auto}.prx-epistemic-pill--kind{background:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 12%,transparent);border-color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 34%,transparent);color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--kind[data-kind=DETERMINISTIC_LAW]{--_kind-accent: var(--praxis-epistemic-kind-deterministic, var(--praxis-color-success, #1b5e20))}.prx-epistemic-pill--kind[data-kind=CALIBRATED_PROBABILITY]{--_kind-accent: var(--praxis-epistemic-kind-probabilistic, var(--md-sys-color-primary, #0b57d0))}.prx-epistemic-pill--kind[data-kind=STOCHASTIC_SIMULATION]{--_kind-accent: var(--praxis-epistemic-kind-stochastic, var(--md-sys-color-tertiary, #6750a4))}.prx-epistemic-pill--kind[data-kind=CAUSAL_HYPOTHESIS]{--_kind-accent: var(--praxis-epistemic-kind-causal, var(--praxis-color-warning, #9a4700))}.prx-epistemic-pill--kind[data-kind=OPTIMIZATION_RESULT]{--_kind-accent: var(--praxis-epistemic-kind-optimization, var(--praxis-color-info, #006a6a))}.prx-epistemic-pill--state[data-state=AVAILABLE]{background:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 12%,transparent);border-color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 32%,transparent);color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--state[data-state=INSUFFICIENT_SAMPLE],.prx-epistemic-pill--state[data-state=DEGRADED],.prx-epistemic-pill--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic-pill--state[data-state=K_ANONYMITY_SUPPRESSED],.prx-epistemic-pill--state[data-state=ENGINE_UNAVAILABLE]{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic-metric{display:inline-flex;align-items:center;padding:.125rem .4375rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-high, currentColor) 6%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor);font-size:.75rem;line-height:1.3;font-weight:500;overflow-wrap:anywhere}.prx-epistemic-metric--mono{font-family:var(--praxis-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-variant-numeric:tabular-nums}.prx-epistemic-metric--significant{border-color:color-mix(in srgb,var(--md-sys-color-primary, #1b5e20) 38%,transparent);color:var(--md-sys-color-primary, #1b5e20);font-weight:600}.prx-epistemic__alert{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid transparent;font-size:.78125rem;line-height:1.38}.prx-epistemic__alert mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-epistemic__alert--danger{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 40%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic__alert--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic__hash-group{display:inline-flex;align-items:center;gap:.25rem;min-width:0}.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline, #74777f) 40%,transparent);background:transparent;color:var(--md-sys-color-on-surface-variant, currentColor);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.prx-epistemic__copy-btn mat-icon,.prx-epistemic__toggle-btn mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem}.prx-epistemic__copy-btn:hover,.prx-epistemic__toggle-btn:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.prx-epistemic__copy-btn:focus-visible,.prx-epistemic__toggle-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:2px}.prx-epistemic__compact-drawer{flex-basis:100%;display:grid;gap:.375rem;padding:.4375rem .5rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic__note{margin:0;font-size:.78125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, currentColor);overflow-wrap:anywhere}.prx-epistemic__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{transition:none}}@media(forced-colors:active){.prx-epistemic--detailed,.prx-epistemic-pill,.prx-epistemic-metric,.prx-epistemic__alert,.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn,.prx-epistemic__compact-drawer{border:1px solid CanvasText;background:Canvas;color:CanvasText}}\n"] }]
99062
- }], ctorParameters: () => [], propDecorators: { meta: [{ type: i0.Input, args: [{ isSignal: true, alias: "meta", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], showCopyHash: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCopyHash", required: false }] }], showMethodologyNote: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMethodologyNote", required: false }] }], testIdPrefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "testIdPrefix", required: false }] }], provenanceCopied: [{ type: i0.Output, args: ["provenanceCopied"] }] } });
100892
+ `, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface, #1a1b20)}.prx-epistemic{min-width:0;color:inherit}.prx-epistemic--compact{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.375rem}.prx-epistemic--detailed{display:grid;gap:.5rem;padding:var(--praxis-epistemic-detailed-padding, .5rem .625rem);border-radius:var(--praxis-epistemic-radius, .5rem);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 55%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic--blocked.prx-epistemic--detailed{border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 48%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 35%,transparent)}.prx-epistemic__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.prx-epistemic__pills,.prx-epistemic__metrics{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0}.prx-epistemic-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;line-height:1.3;font-weight:600;max-width:100%}.prx-epistemic-pill mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem;flex:0 0 auto}.prx-epistemic-pill--kind{background:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 12%,transparent);border-color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 34%,transparent);color:color-mix(in srgb,var(--_kind-accent, var(--md-sys-color-primary, #0b57d0)) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--kind[data-kind=DETERMINISTIC_LAW]{--_kind-accent: var(--praxis-epistemic-kind-deterministic, var(--praxis-color-success, #1b5e20))}.prx-epistemic-pill--kind[data-kind=CALIBRATED_PROBABILITY]{--_kind-accent: var(--praxis-epistemic-kind-probabilistic, var(--md-sys-color-primary, #0b57d0))}.prx-epistemic-pill--kind[data-kind=STOCHASTIC_SIMULATION]{--_kind-accent: var(--praxis-epistemic-kind-stochastic, var(--md-sys-color-tertiary, #6750a4))}.prx-epistemic-pill--kind[data-kind=CAUSAL_HYPOTHESIS]{--_kind-accent: var(--praxis-epistemic-kind-causal, var(--praxis-color-warning, #9a4700))}.prx-epistemic-pill--kind[data-kind=OPTIMIZATION_RESULT]{--_kind-accent: var(--praxis-epistemic-kind-optimization, var(--praxis-color-info, #006a6a))}.prx-epistemic-pill--state[data-state=AVAILABLE]{background:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 12%,transparent);border-color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 32%,transparent);color:color-mix(in srgb,var(--praxis-color-success, #1b5e20) 82%,var(--md-sys-color-on-surface, currentColor))}.prx-epistemic-pill--state[data-state=INSUFFICIENT_SAMPLE],.prx-epistemic-pill--state[data-state=DEGRADED],.prx-epistemic-pill--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic-pill--state[data-state=K_ANONYMITY_SUPPRESSED],.prx-epistemic-pill--state[data-state=ENGINE_UNAVAILABLE]{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic-metric{display:inline-flex;align-items:center;padding:.125rem .4375rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-high, currentColor) 6%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor);font-size:.75rem;line-height:1.3;font-weight:500;overflow-wrap:anywhere}.prx-epistemic-metric--mono{font-family:var(--praxis-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-variant-numeric:tabular-nums}.prx-epistemic-metric--significant{border-color:color-mix(in srgb,var(--md-sys-color-primary, #1b5e20) 38%,transparent);color:var(--md-sys-color-primary, #1b5e20);font-weight:600}.prx-epistemic__alert{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid transparent;font-size:.78125rem;line-height:1.38}.prx-epistemic__alert mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-epistemic__alert--danger{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 40%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-epistemic__alert--warn{background:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-epistemic-warn-accent, #d97706) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-epistemic__hash-group{display:inline-flex;align-items:center;gap:.25rem;min-width:0}.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline, #74777f) 40%,transparent);background:transparent;color:var(--md-sys-color-on-surface-variant, currentColor);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.prx-epistemic__copy-btn mat-icon,.prx-epistemic__toggle-btn mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem}.prx-epistemic__copy-btn:hover,.prx-epistemic__toggle-btn:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.prx-epistemic__copy-btn:focus-visible,.prx-epistemic__toggle-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, currentColor);outline-offset:2px}.prx-epistemic__compact-drawer{flex-basis:100%;display:grid;gap:.375rem;padding:.4375rem .5rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-epistemic__note{margin:0;font-size:.78125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, currentColor);overflow-wrap:anywhere}.prx-epistemic__guide{display:grid;gap:.25rem;padding-top:.35rem;border-top:1px dashed color-mix(in srgb,var(--md-sys-color-outline-variant, currentColor) 36%,transparent);font-size:.76rem;line-height:1.4}.prx-epistemic__guide-summary,.prx-epistemic__guide-decision,.prx-epistemic__guide-caution{margin:0;overflow-wrap:anywhere}.prx-epistemic__guide-summary{color:var(--md-sys-color-on-surface, currentColor);font-weight:500}.prx-epistemic__guide-list{margin:0;padding-left:1.05rem;display:grid;gap:.15rem;color:var(--md-sys-color-on-surface-variant, currentColor)}.prx-epistemic__guide-decision{color:var(--md-sys-color-primary, #1263b4)}.prx-epistemic__guide-caution{color:var(--md-sys-color-on-surface-variant, currentColor);font-style:italic}.prx-epistemic__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn{transition:none}}@media(forced-colors:active){.prx-epistemic--detailed,.prx-epistemic-pill,.prx-epistemic-metric,.prx-epistemic__alert,.prx-epistemic__copy-btn,.prx-epistemic__toggle-btn,.prx-epistemic__compact-drawer{border:1px solid CanvasText;background:Canvas;color:CanvasText}}\n"] }]
100893
+ }], ctorParameters: () => [], propDecorators: { meta: [{ type: i0.Input, args: [{ isSignal: true, alias: "meta", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], showCopyHash: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCopyHash", required: false }] }], showMethodologyNote: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMethodologyNote", required: false }] }], showReadingGuide: [{ type: i0.Input, args: [{ isSignal: true, alias: "showReadingGuide", required: false }] }], testIdPrefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "testIdPrefix", required: false }] }], readingGuide: [{ type: i0.Input, args: [{ isSignal: true, alias: "readingGuide", required: false }] }], assistantTopicKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "assistantTopicKey", required: false }] }], resourcePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "resourcePath", required: false }] }], resourceKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "resourceKey", required: false }] }], surfaceId: [{ type: i0.Input, args: [{ isSignal: true, alias: "surfaceId", required: false }] }], provenanceCopied: [{ type: i0.Output, args: ["provenanceCopied"] }] } });
99063
100894
 
99064
100895
  const PRAXIS_EPISTEMIC_BADGE_METADATA = {
99065
100896
  id: 'widget:epistemic-badge',
@@ -99096,6 +100927,48 @@ const PRAXIS_EPISTEMIC_BADGE_METADATA = {
99096
100927
  description: 'Exibe a nota metodológica sanitizada quando presente.',
99097
100928
  default: true,
99098
100929
  },
100930
+ {
100931
+ name: 'showReadingGuide',
100932
+ type: 'boolean',
100933
+ label: 'Exibir guia de leitura',
100934
+ description: 'Exibe o popover didático "Como ler este indicador" a partir de readingGuide ou do Model Card.',
100935
+ default: true,
100936
+ },
100937
+ {
100938
+ name: 'readingGuide',
100939
+ type: 'PraxisIndicatorReadingGuide | null | undefined',
100940
+ label: 'Guia de leitura',
100941
+ description: 'Guia didático explícito mesclado ao guia derivado dos metadados epistêmicos.',
100942
+ default: null,
100943
+ },
100944
+ {
100945
+ name: 'assistantTopicKey',
100946
+ type: 'string | null | undefined',
100947
+ label: 'Tópico do assistente',
100948
+ description: 'Tópico semântico encaminhado ao assistente operacional pelo guia de leitura.',
100949
+ default: null,
100950
+ },
100951
+ {
100952
+ name: 'resourcePath',
100953
+ type: 'string | null | undefined',
100954
+ label: 'Caminho do recurso',
100955
+ description: 'Caminho do recurso encaminhado ao assistente operacional pelo guia de leitura.',
100956
+ default: null,
100957
+ },
100958
+ {
100959
+ name: 'resourceKey',
100960
+ type: 'string | null | undefined',
100961
+ label: 'Chave do recurso',
100962
+ description: 'Chave canônica do recurso encaminhada ao assistente operacional.',
100963
+ default: null,
100964
+ },
100965
+ {
100966
+ name: 'surfaceId',
100967
+ type: 'string | null | undefined',
100968
+ label: 'Identificador da superfície',
100969
+ description: 'Identificador da superfície visual encaminhado ao assistente operacional.',
100970
+ default: null,
100971
+ },
99099
100972
  {
99100
100973
  name: 'testIdPrefix',
99101
100974
  type: 'string',
@@ -99806,7 +101679,7 @@ class PraxisIntelligenceJobStatusComponent {
99806
101679
  </span>
99807
101680
  </section>
99808
101681
  }
99809
- `, isInline: true, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface, #1a1b20)}.prx-job{display:grid;gap:.5rem;min-width:0;padding:var(--praxis-intelligence-job-padding, .5625rem .75rem);border-radius:var(--praxis-intelligence-job-radius, .5rem);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 55%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-job--compact{padding:.4375rem .5625rem;gap:.375rem}.prx-job[data-job-status=FAILED],.prx-job[data-job-status=EXPIRED]{border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 48%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 26%,transparent)}.prx-job__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;min-width:0}.prx-job__title-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;min-width:0}.prx-job__status-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;line-height:1.3;font-weight:600}.prx-job__status-pill mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem;flex:0 0 auto}.prx-job__status-pill[data-status=QUEUED]{background:color-mix(in srgb,var(--md-sys-color-secondary-container, #dbeafe) 70%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-secondary, #475569) 35%,transparent);color:var(--md-sys-color-on-secondary-container, #1e293b)}.prx-job__status-pill[data-status=RUNNING]{background:color-mix(in srgb,var(--md-sys-color-primary, #0b57d0) 14%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-primary, #0b57d0) 38%,transparent);color:var(--md-sys-color-primary, #0b57d0)}.prx-job__status-pill[data-status=SUCCEEDED]{background:color-mix(in srgb,var(--praxis-intelligence-success-accent, #16a34a) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-intelligence-success-accent, #16a34a) 42%,transparent);color:var( --praxis-intelligence-success-text, color-mix(in srgb, #15803d 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-job__status-pill[data-status=CANCELLED]{background:color-mix(in srgb,var(--md-sys-color-outline, #74777f) 14%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-outline, #74777f) 42%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor)}.prx-job__status-pill[data-status=FAILED],.prx-job__status-pill[data-status=EXPIRED]{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-job__status-pill[data-status=INTERRUPTED]{background:color-mix(in srgb,var(--praxis-warning, #f59e0b) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-warning, #f59e0b) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-job__operation{font-size:.8125rem;font-weight:600;color:var(--md-sys-color-on-surface, currentColor);overflow-wrap:anywhere}.prx-job__cancel-btn{appearance:none;display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);background:transparent;color:var(--md-sys-color-error, #b3261e);font:inherit;font-size:.75rem;font-weight:600;cursor:pointer;transition:background-color .15s ease}.prx-job__cancel-btn mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem}.prx-job__cancel-btn:hover:not(:disabled){background:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 10%,transparent)}.prx-job__cancel-btn:focus-visible{outline:2px solid var(--md-sys-color-error, currentColor);outline-offset:2px}.prx-job__cancel-btn:disabled{opacity:.56;cursor:not-allowed}.prx-job__progress-wrap{display:flex;align-items:center;gap:.5rem;min-width:0}.prx-job__progressbar{flex:1 1 auto;min-width:0;height:.375rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest, currentColor) 14%,transparent)}.prx-job__progress-fill{height:100%;border-radius:inherit;background:var(--md-sys-color-primary, #0b57d0);transition:width .2s ease}.prx-job__progress-fill[data-status=SUCCEEDED]{background:var(--praxis-intelligence-success-accent, #16a34a)}.prx-job__progress-value{flex:0 0 auto;font-size:.75rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, currentColor)}.prx-job__error{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-error, #b3261e) 40%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-job__error mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-job__notice{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--praxis-warning, #f59e0b) 44%,transparent);background:color-mix(in srgb,var(--praxis-warning, #f59e0b) 14%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-job__notice mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-job__error-body{display:grid;gap:.25rem;min-width:0}.prx-job__error-message{margin:0;font-size:.78125rem;line-height:1.38;font-weight:500;overflow-wrap:anywhere}.prx-job__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0}.prx-job__tag{display:inline-flex;align-items:center;padding:.125rem .4375rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-high, currentColor) 6%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor);font-size:.71875rem;line-height:1.3;max-width:100%;overflow-wrap:anywhere}.prx-job--mono{font-family:var(--praxis-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-variant-numeric:tabular-nums}.prx-job__spin{animation:prxJobSpin 1.2s linear infinite}.prx-job__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes prxJobSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.prx-job__spin{animation:none}.prx-job__progress-fill,.prx-job__cancel-btn{transition:none}}@media(forced-colors:active){.prx-job,.prx-job__status-pill,.prx-job__cancel-btn,.prx-job__error,.prx-job__notice,.prx-job__tag{border:1px solid CanvasText;background:Canvas;color:CanvasText}.prx-job__progressbar{border:1px solid CanvasText;background:Canvas}.prx-job__progress-fill{background:Highlight}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
101682
+ `, isInline: true, styles: [":host{display:block;min-width:0;color:var(--md-sys-color-on-surface, #1a1b20)}.prx-job{display:grid;gap:.5rem;min-width:0;padding:var(--praxis-intelligence-job-padding, .5625rem .75rem);border-radius:var(--praxis-intelligence-job-radius, .5rem);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 55%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-low, currentColor) 4%,transparent)}.prx-job--compact{padding:.4375rem .5625rem;gap:.375rem}.prx-job[data-job-status=FAILED],.prx-job[data-job-status=EXPIRED]{border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 48%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 26%,transparent)}.prx-job__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;min-width:0}.prx-job__title-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;min-width:0}.prx-job__status-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:999px;border:1px solid transparent;font-size:.75rem;line-height:1.3;font-weight:600}.prx-job__status-pill mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem;flex:0 0 auto}.prx-job__status-pill[data-status=QUEUED]{background:color-mix(in srgb,var(--md-sys-color-secondary-container, #dbeafe) 70%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-secondary, #475569) 35%,transparent);color:var(--md-sys-color-on-secondary-container, #1e293b)}.prx-job__status-pill[data-status=RUNNING]{background:color-mix(in srgb,var(--md-sys-color-primary, #0b57d0) 14%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-primary, #0b57d0) 38%,transparent);color:var(--md-sys-color-primary, #0b57d0)}.prx-job__status-pill[data-status=SUCCEEDED]{background:color-mix(in srgb,var(--praxis-intelligence-success-accent, #16a34a) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-intelligence-success-accent, #16a34a) 42%,transparent);color:var( --praxis-intelligence-success-text, color-mix(in srgb, #15803d 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-job__status-pill[data-status=CANCELLED]{background:color-mix(in srgb,var(--md-sys-color-outline, #74777f) 14%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-outline, #74777f) 42%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor)}.prx-job__status-pill[data-status=FAILED],.prx-job__status-pill[data-status=EXPIRED]{background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);border-color:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-job__status-pill[data-status=INTERRUPTED]{background:color-mix(in srgb,var(--praxis-warning, #f59e0b) 16%,transparent);border-color:color-mix(in srgb,var(--praxis-warning, #f59e0b) 44%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-job__operation{font-size:.8125rem;font-weight:600;color:var(--md-sys-color-on-surface, currentColor);overflow-wrap:anywhere}.prx-job__cancel-btn{appearance:none;display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-error, #b3261e) 42%,transparent);background:transparent;color:var(--md-sys-color-error, #b3261e);font:inherit;font-size:.75rem;font-weight:600;cursor:pointer;transition:background-color .15s ease}.prx-job__cancel-btn mat-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:.875rem}.prx-job__cancel-btn:hover:not(:disabled){background:color-mix(in srgb,var(--md-sys-color-error, #b3261e) 10%,transparent)}.prx-job__cancel-btn:focus-visible{outline:2px solid var(--md-sys-color-error, currentColor);outline-offset:2px}.prx-job__cancel-btn:disabled{opacity:.56;cursor:not-allowed}.prx-job__progress-wrap{display:flex;align-items:center;gap:.5rem;min-width:0}.prx-job__progressbar{flex:1 1 auto;min-width:0;height:.375rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest, currentColor) 14%,transparent)}.prx-job__progress-fill{height:100%;border-radius:inherit;background:var(--md-sys-color-primary, #0b57d0);transition:width .2s ease}.prx-job__progress-fill[data-status=SUCCEEDED]{background:var(--praxis-intelligence-success-accent, #16a34a)}.prx-job__progress-value{flex:0 0 auto;font-size:.75rem;font-weight:600;color:var(--md-sys-color-on-surface-variant, currentColor)}.prx-job__error{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-error, #b3261e) 40%,transparent);background:color-mix(in srgb,var(--md-sys-color-error-container, #f9dedc) 72%,transparent);color:var(--md-sys-color-on-error-container, #410e0b)}.prx-job__error mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-job__notice{display:flex;align-items:flex-start;gap:.4375rem;padding:.4375rem .5625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--praxis-warning, #f59e0b) 44%,transparent);background:color-mix(in srgb,var(--praxis-warning, #f59e0b) 14%,transparent);color:var( --praxis-epistemic-warn-text, color-mix(in srgb, #b45309 42%, var(--md-sys-color-on-surface, currentColor)) )}.prx-job__notice mat-icon{width:1rem;height:1rem;font-size:1rem;line-height:1rem;margin-top:.0625rem;flex:0 0 auto}.prx-job__error-body{display:grid;gap:.25rem;min-width:0}.prx-job__error-message{margin:0;font-size:.78125rem;line-height:1.38;font-weight:500;overflow-wrap:anywhere}.prx-job__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0}.prx-job__tag{display:inline-flex;align-items:center;padding:.125rem .4375rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--md-sys-color-outline, #74777f)) 45%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container-high, currentColor) 6%,transparent);color:var(--md-sys-color-on-surface-variant, currentColor);font-size:.71875rem;line-height:1.3;max-width:100%;overflow-wrap:anywhere}.prx-job--mono{font-family:var(--praxis-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-variant-numeric:tabular-nums}.prx-job__spin{animation:prxJobSpin 1.2s linear infinite}.prx-job__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes prxJobSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.prx-job__spin{animation:none}.prx-job__progress-fill,.prx-job__cancel-btn{transition:none}}@media(forced-colors:active){.prx-job,.prx-job__status-pill,.prx-job__cancel-btn,.prx-job__error,.prx-job__notice,.prx-job__tag{border:1px solid CanvasText;background:Canvas;color:CanvasText}.prx-job__progressbar{border:1px solid CanvasText;background:Canvas}.prx-job__progress-fill{background:Highlight}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
99810
101683
  }
99811
101684
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIntelligenceJobStatusComponent, decorators: [{
99812
101685
  type: Component,
@@ -100099,4 +101972,4 @@ function providePraxisIntelligenceJobStatusMetadata() {
100099
101972
  * Generated bundle index. Do not edit.
100100
101973
  */
100101
101974
 
100102
- export { API_CONFIG_STORAGE_OPTIONS, API_URL, ASYNC_CONFIG_STORAGE, AllowedFileTypes, AnalyticsPresentationResolver, AnalyticsSchemaContractService, AnalyticsStatsRequestBuilderService, ApiConfigStorage, ApiEndpoint, BUILTIN_PAGE_LAYOUT_PRESETS, BUILTIN_PAGE_THEME_PRESETS, BUILTIN_SHELL_PRESETS, BUILTIN_WIDGET_SHELL_PRESETS, BulkOperationClientService, BulkSyncSession, BulkSyncStateService, CANONICAL_DECISION_INSPECTOR_LENSES, CANONICAL_DECISION_STAGES, COMPONENT_METADATA_REGISTRY_I18N_CONFIG, COMPONENT_METADATA_REGISTRY_I18N_NAMESPACE, CONFIG_STORAGE, CONNECTION_STORAGE, ComponentAuthoringManifestProjectionError, ComponentKeyService, ComponentMetadataRegistry, ComponentRuntimeProfileService, CompositionRuntimeFacade, CompositionValidatorService, ConsoleLoggerSink, CrudOperationResolutionService, DECISION_INSPECTOR_I18N_CONFIG, DECISION_INSPECTOR_I18N_NAMESPACE, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_MAX_ENTRIES, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_TTL_MS, DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP, DEFAULT_JSON_LOGIC_OPERATORS, DEFAULT_PRAXIS_STATS_EXECUTION_CONFIG, DEFAULT_SCHEMA_REQUEST_TIMEOUT_MS, DEFAULT_TABLE_CONFIG, DOMAIN_CATALOG_COMPONENT_CONTEXT_PACK, DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION, DOMAIN_RULE_DOCUMENTATION_KEY, DYNAMIC_PAGE_AI_CAPABILITIES, DYNAMIC_PAGE_COMPONENT_CONTEXT_PACK, DYNAMIC_PAGE_CONFIG_EDITOR, DYNAMIC_PAGE_SHELL_EDITOR, DefaultLoadingRenderer, DeferredAsyncConfigStorage, DomainCatalogService, DomainKnowledgeService, DomainRuleService, DynamicFormService, DynamicWidgetLoaderDirective, DynamicWidgetPageComponent, EDITORIAL_ALLOWED_CONTENT_FORMATS, EDITORIAL_COMPLIANCE_PRESETS, EDITORIAL_EXTERNAL_LINK_REL, EDITORIAL_FORM_TEMPLATE_CATALOG, EDITORIAL_HTML_ENABLED, EDITORIAL_MARKDOWN_IMAGES_ENABLED, EDITORIAL_SOLUTION_CATALOG, EDITORIAL_SOLUTION_PRESETS, EDITORIAL_THEME_PRESETS, EDITORIAL_WIDGET_CONVENTION_INPUTS, EDITORIAL_WIDGET_TAG, EFFECTIVE_UI_LAYOUT_COMPOSITION_SCHEMA_VERSION, EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_EDITORIAL_TEMPLATE, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_TEMPLATE, EVENT_REGISTRATION_EDITORIAL_SOLUTION, EVENT_REGISTRATION_EDITORIAL_TEMPLATE, EffectiveUiLayoutContractError, EffectiveUiLayoutHttpError, EffectiveUiLayoutService, EmptyStateCardComponent, EnterpriseRuntimeContextObsoleteError, EnterpriseRuntimeContextService, ErrorMessageService, FIELD_METADATA_CAPABILITIES, FIELD_SELECTOR_REGISTRY_BASE, FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS, FIELD_SELECTOR_REGISTRY_OVERRIDES, FORM_HOOKS, FORM_HOOKS_PRESETS, FORM_HOOKS_WHITELIST, FORM_HOOK_RESOLVERS, FieldControlType, FieldDataType, FieldSelectorRegistry, FormHooksRegistry, GLOBAL_ACTION_CATALOG, GLOBAL_ACTION_HANDLERS, GLOBAL_ACTION_UI_SCHEMAS, GLOBAL_ANALYTICS_SERVICE, GLOBAL_API_CLIENT, GLOBAL_CONFIG, GLOBAL_DIALOG_SERVICE, GLOBAL_ROUTE_GUARD_RESOLVER, GLOBAL_SURFACE_SERVICE, GLOBAL_TOAST_SERVICE, GOVERNED_COLOR_PALETTE_OPTIONS, GOVERNED_PAGE_ADMITTED_WIDGET_IDS, GOVERNED_PAGE_DEFAULT_ALLOWED_ICONS, GenericCrudService, GlobalActionService, GlobalConfigService, GovernedColorPaletteService, INLINE_FILTER_ALIAS_TOKENS, INLINE_FILTER_CONTROL_TYPES, INLINE_FILTER_CONTROL_TYPE_SET, INLINE_FILTER_CONTROL_TYPE_VALUES, INLINE_FILTER_TOKEN_TO_BASE_CONTROL_TYPE, INLINE_FILTER_TOKEN_TO_CONTROL_TYPE, IconPickerService, IconPosition, IconSize, InMemoryAsyncConfigStorage, InMemoryConfigStorage, InMemoryConfigStore, InMemoryEnterpriseRuntimeContextService, LOGGER_LEVEL_BY_ENV, LOGGER_LEVEL_PRIORITY, LoadingOrchestrator, LocalConnectionStorage, LocalStorageAsyncAdapter, LocalStorageCacheAdapter, LocalStorageConfigService, LoggerService, LoggerThrottleTracker, LoggerWarnOnceTracker, MemoryCacheAdapter, NestedPortCatalogService, NestedWidgetConfigAccessor, NumericFormat, OVERLAY_DECIDER_DEBUG, OVERLAY_DECISION_MATRIX, ObservabilityDashboardService, OverlayDeciderService, PRAXIS_ACTION_CONTROL_DEFAULTS, PRAXIS_ACTION_CONTROL_VARS, PRAXIS_BULK_PROPOSAL_BRIDGE, PRAXIS_COLLECTION_EXPORT_HTTP_OPTIONS, PRAXIS_COLLECTION_EXPORT_PROVIDER, PRAXIS_COLLECTION_SEARCH_DEFAULTS, PRAXIS_COLLECTION_SEARCH_VARS, PRAXIS_CONTEXTUAL_HEADER_NAMES, PRAXIS_CONTEXT_DIMENSIONS, PRAXIS_CORPORATE_SENSITIVE_KEYS, PRAXIS_DECISION_INSPECTOR_CONFIG, PRAXIS_DECISION_INSPECTOR_SURFACE, PRAXIS_DEFAULT_EXPORT_SECURITY_POLICY, PRAXIS_DEFAULT_OBSERVABILITY_ALERT_RULES, PRAXIS_DYNAMIC_PAGE_COMPONENT_METADATA, PRAXIS_EFFECTIVE_UI_LAYOUT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_READY, PRAXIS_EPISTEMIC_AVAILABILITY_STATES, PRAXIS_EPISTEMIC_BADGE_METADATA, PRAXIS_EPISTEMIC_KINDS, PRAXIS_EXPORT_FORMULA_PREFIXES, PRAXIS_EXPORT_SECURITY_POLICY, PRAXIS_FILE_UPLOAD_PORT, PRAXIS_FOOTER_LINKS_METADATA, PRAXIS_GLOBAL_ACTION_CATALOG, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_OPTIONS, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_READY, PRAXIS_GLOBAL_CONFIG_TENANT_RESOLVER, PRAXIS_HERO_BANNER_METADATA, PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS, PRAXIS_I18N_CONFIG, PRAXIS_I18N_TRANSLATOR, PRAXIS_ICON_PICKER_EN_US, PRAXIS_ICON_PICKER_I18N_CONFIG, PRAXIS_ICON_PICKER_I18N_NAMESPACE, PRAXIS_ICON_PICKER_PT_BR, PRAXIS_INTELLIGENCE_EN_US, PRAXIS_INTELLIGENCE_ERROR_CATALOG, PRAXIS_INTELLIGENCE_ERROR_CODES, PRAXIS_INTELLIGENCE_I18N_CONFIG, PRAXIS_INTELLIGENCE_I18N_NAMESPACE, PRAXIS_INTELLIGENCE_JOBS_BASE_PATH, PRAXIS_INTELLIGENCE_JOB_STATUSES, PRAXIS_INTELLIGENCE_JOB_STATUS_METADATA, PRAXIS_INTELLIGENCE_PT_BR, PRAXIS_JSON_LOGIC_OPERATORS, PRAXIS_LAYER_SCALE_DEFAULTS, PRAXIS_LAYER_SCALE_VARS, PRAXIS_LEGAL_NOTICE_METADATA, PRAXIS_LOADING_CTX, PRAXIS_LOADING_RENDERER, PRAXIS_LOGGER_CONFIG, PRAXIS_LOGGER_SINKS, PRAXIS_MICRO_CHART_ENGINE, PRAXIS_MICRO_CHART_ENGINE_DISABLED, PRAXIS_MICRO_VIZ_EN_US, PRAXIS_MICRO_VIZ_I18N_CONFIG, PRAXIS_MICRO_VIZ_I18N_NAMESPACE, PRAXIS_MICRO_VIZ_LEGACY_CHARTS_NAMESPACE, PRAXIS_MICRO_VIZ_PT_BR, PRAXIS_OBSERVABILITY_DASHBOARD_OPTIONS, PRAXIS_OPERATIONAL_ASSISTANT_LAUNCHER, PRAXIS_QUERY_FILTER_EXPRESSION_SCHEMA_VERSION, PRAXIS_QUICK_VIEW_BODY_RENDERER, PRAXIS_QUICK_VIEW_PRESENTER, PRAXIS_RELATED_RESOURCE_OUTLET_AUTHORING_MANIFEST, PRAXIS_RELATED_RESOURCE_OUTLET_COMPONENT_METADATA, PRAXIS_RELATED_RESOURCE_OUTLET_PORTS, PRAXIS_RICH_TEXT_BLOCK_METADATA, PRAXIS_RUNTIME_FORM_VALUE_PROPOSAL_SCHEMA_VERSION, PRAXIS_RUNTIME_FORM_VALUE_RECEIPT_SCHEMA_VERSION, PRAXIS_SESSION_TRANSPORT_OPTIONS, PRAXIS_SHELL_EN_US, PRAXIS_SHELL_I18N_CONFIG, PRAXIS_SHELL_I18N_NAMESPACE, PRAXIS_SHELL_PT_BR, PRAXIS_STATS_EXECUTION_CONFIG, PRAXIS_SUPPRESSION_STATUSES, PRAXIS_TABLE_DETAIL_INLINE_NODE_RESOLVERS, PRAXIS_TABLE_DETAIL_INLINE_RENDERERS, PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER, PRAXIS_TELEMETRY_TRANSPORT, PRAXIS_TENANT_REALM, PRAXIS_TENANT_REALM_HEADER, PRAXIS_THEME_OPTIONS, PRAXIS_THEME_SURFACE_DEFAULTS, PRAXIS_THEME_SURFACE_VARS, PRAXIS_USER_CONTEXT_SUMMARY_METADATA, PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, PRAXIS_WORKSPACE_THEME_IDS, PRIVACY_CONSENT_EDITORIAL_SOLUTION, PRIVACY_CONSENT_EDITORIAL_TEMPLATE, PageIntegrityError, PraxisAppShellComponent, PraxisBulkClientService, PraxisCacheInvalidatorService, PraxisCollectionExportService, PraxisCommandPaletteComponent, PraxisContextFilterProjectorService, PraxisContextSwitchGuard, PraxisCore, PraxisCustomizationModeService, PraxisDecisionInspectorService, PraxisEpistemicBadgeComponent, PraxisFooterLinksComponent, PraxisGlobalErrorHandler, PraxisHeroBannerComponent, PraxisHttpCollectionExportProvider, PraxisHttpFileUploadPort, PraxisI18nService, PraxisIconButtonComponent, PraxisIconDirective, PraxisIconPickerComponent, PraxisIntelligenceJobError, PraxisIntelligenceJobStatusComponent, PraxisIntelligenceJobsService, PraxisJsonLogicError, PraxisJsonLogicService, PraxisKeepAliveTabDirective, PraxisLayerScaleStyleService, PraxisLegalNoticeComponent, PraxisLoadingInterceptor, PraxisMicroTooltipOverlayService, PraxisMicroVizHostComponent, PraxisMicroVizIdSequenceService, PraxisOperationalAssistantLaunchService, PraxisPageReconcilerService, PraxisQuickViewTriggerDirective, PraxisRelatedResourceOutletComponent, PraxisRelatedResourceOutletConfigEditorComponent, PraxisResourceIdentityComponent, PraxisRichTextBlockComponent, PraxisRuntimeComponentObservationRegistryService, PraxisRuntimeFormValueSessionJournal, PraxisSafeBlobPreviewService, PraxisSessionTransportService, PraxisStatsExecutionService, PraxisSurfaceHostComponent, PraxisThemeService, PraxisUserContextSummaryComponent, PraxisWidgetEventBus, PraxisWorkspaceQueryContextService, QUICK_VIEW_EMPLOYEE_BINDING_FIXTURE, QUICK_VIEW_EMPLOYEE_RECORD_FIXTURE, QUICK_VIEW_EMPLOYEE_SCHEMA_FIXTURE, QUICK_VIEW_EMPLOYEE_SURFACES_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_BINDING_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_RECORD_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SCHEMA_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SURFACES_FIXTURE, RESOURCE_DISCOVERY_I18N_CONFIG, RESOURCE_DISCOVERY_I18N_NAMESPACE, RULE_PROPERTY_SCHEMA, RelatedResourceSurfaceResolverService, RemoteConfigStorage, ResourceActionOpenAdapterService, ResourceDiscoveryService, ResourceQuickConnectComponent, ResourceQuickViewService, ResourceRecordOpenError, ResourceRecordOpenService, ResourceSurfaceOpenAdapterService, SAFE_INLINE_PREVIEW_MIME_TYPES, SCHEMA_METADATA_CLIENT_OPTIONS, SCHEMA_VIEWER_CONTEXT, SETTINGS_EDITOR_SECTIONS_HOSTED, SETTINGS_PANEL_BRIDGE, SETTINGS_PANEL_DATA, SIDE_PANEL_PRESET_WIDTHS, STEPPER_CONFIG_EDITOR, SURFACE_DRAWER_BRIDGE, SURFACE_DRAWER_CONTENT_DATA, SURFACE_DRAWER_REF, SURFACE_NAVIGATION_I18N_CONFIG, SURFACE_NAVIGATION_I18N_NAMESPACE, SURFACE_OPEN_I18N_CONFIG, SURFACE_OPEN_I18N_NAMESPACE, SURFACE_OPEN_PRESETS, SafeExpressionEvaluator, SchemaMetadataClient, SchemaNormalizerService, SchemaViewerComponent, SettingsSectionTabsComponent, SurfaceBindingRuntimeService, SurfaceNavigationError, SurfaceOpenActionEditorComponent, SurfaceOpenMaterializerService, SurfaceOutletRegistryService, TABLE_CONFIG_EDITOR, TableConfigService, TelemetryLoggerSink, TelemetryService, UiLayoutLifecycleContractError, UiLayoutLifecycleHttpError, UiLayoutLifecycleService, ValidationPattern, WidgetPageCompositionFactory, WidgetPageDataSourceRuntimeService, WidgetPageStateRuntimeService, WidgetShellComponent, applyDeclarativeValuePipe, applyLocalCustomizations$2 as applyLocalCustomizations, applyLocalCustomizations$1 as applyLocalFormCustomizations, applyRuntimeFormValueProposal, areParameterValuesEqual, areRuntimeValuesEqual, assertPraxisCollectionExportArtifact, assertPraxisRuntimeComponentObservationSerializable, attachAnalyticsEpistemicMetadata, attachAnalyticsSuppressionMetadata, buildAngularValidators, buildApiUrl, buildBaseColumnFromDef, buildBaseFormField, buildFormConfigFromEditorialTemplate, buildGovernedPageTarget, buildHeaders, buildPageKey, buildPraxisActionControlCss, buildPraxisCollectionSearchCss, buildPraxisEffectDistinctKey, buildPraxisLayerScaleCss, buildPraxisTenantRealmHeaders, buildPraxisThemeSurfaceCss, buildPublishedPageIdentity, buildRulesStudioDeepLink, buildSchemaId, buildSchemaIdStorageKeySegment, buildSchemaSemanticColumnRenderer, buildSidePanelStorageKey, buildValidatorsFromValidatorOptions, calibrateFieldMetadataFromSemantics, canExpandSidePanel, canOrganizeFormLayoutBySemantics, cancelIfCpfInvalidHook, canonicalJsonSha256, canonicalJsonStringify, clampRange, clampSidePanelWidthPx, classifyEntityLookupResult, cloneBoundedUiLayoutJsonDocument, cloneInputsPreservingLiveReferences, clonePraxisRuntimeComponentObservation, cloneRuntimeValue, cloneTableConfig, cloneUiLayoutJsonDocument, cnpjAlphaValidator, coerceBulkTargetsWireIds, coerceBulkWireId, collapseWhitespace, composeHeadersWithVersion, computePraxisMicroVizSignature, computePraxisStackedBarSegmentWidthPct, conditionalAsyncValidator, containsEphemeralQuickViewRuntimeValue, convertFormLayoutToConfig, copyPageAuthoringDocument, createCorporateLoggerConfig, createCorporateObservabilityOptions, createCpfCnpjValidator, createDefaultFormConfig, createDefaultTableConfig, createDynamicRecord, createEmptyFormConfig, createEmptyNavigationGroupsAuthoringDocument, createEmptyRichContentDocument, createFieldLayoutItem, createPersistedPage, createPraxisTestingNoopHttpInterceptor, createSilentPraxisLoadingContext, customAsyncValidatorFn, customValidatorFn, debounceAsyncValidator, decodeNavigationGroupsAuthoringDocument, decodePageAuthoringDocument, deepMerge, deriveFailClosedEpistemicMetaFromError, derivePageChildRuntimeId, domainKnowledgeTimelineToRichContentDocument, domainRuleTimelineToRichContentDocument, encodeNavigationGroupsAuthoringDocument, encodePageAuthoringDocument, enrichGovernanceItemsWithFieldSchemas, enrichRuleSetsWithFieldSchemas, ensureIds, ensureNoConflictsHookFactory, ensurePageIds, escapePraxisExportCell, evaluateFieldAccess, evaluateGovernanceItemsFieldAccess, evaluatePraxisKpiDerivation, extractAnalyticsEpistemicMetadata, extractAnalyticsSuppressionMetadata, extractDomainCatalogRuleCatalog, extractDomainRuleDocumentation, extractExplicitPraxisIntelligenceErrorCode, extractNormalizedError, extractPraxisApiPathPrefix, extractRecordId, extractRuleViolationDiagnostics, fetchWithETag, fileTypeValidator, fillUndefined, findBuiltinWidgetShellPreset, formIdentityIssues, formatAffixedPresentationText, formatPraxisEpistemicNumber, formatPraxisQValueFdr, formatPraxisStackedBarPercentage, formatPraxisWaterfallSignedValue, formatTruncatedProvenanceHash, generateBulkIdempotencyKey, generateId, getDefaultFormHints, getEditorialCompliancePresetById, getEditorialFormTemplateById, getEditorialFormTemplateCatalog, getEditorialSolutionById, getEditorialSolutionCatalog, getEditorialSolutionPresetById, getEditorialThemePresetById, getEssentialConfig, getFieldMetadataCapabilities, getFormColumnFieldNames, getFormLayoutFieldNames, getGlobalActionCatalog, getGlobalActionPayloadActualType, getGlobalActionPayloadTypeIssue, getGlobalActionProviderEvidence, getGlobalActionUiSchema, getMissingGlobalActionPayloadKeys, getPraxisEpistemicKindIcon, getPraxisMicroToneGradientStops, getPraxisStackedBarPaintStyle, getPraxisTableCellVisualizationConstraint, getPraxisTableCellVisualizationGuidance, getReferencedFieldMetadata, getRequiredGlobalActionPayloadKeys, getTextTransformer, getWidgetShellActionIdError, hasMeaningfulGlobalActionPayloadValue, hasPraxisCollectionExportArtifact, hasSemanticFieldCalibrationDiff, humanizeCatalogFieldName, inferDomainSemanticHexColor, inferDomainSemanticIcon, inferDomainSemanticTone, inferSemanticFieldControlType, inferSemanticFieldGroup, inferSemanticFieldWidth, instanceKeyFor, interpolatePraxisTranslation, isAllowedEditorialContentFormat, isAllowedEditorialHref, isBulkExecutionTerminal, isCanonicalDecisionStage, isCssTextTransform, isDecisionInspectorLensId, isDomainRuleSnapshotProblemResponse, isDynamicDataRecord, isEditorialComponentMeta, isEmptyRuntimeFormFieldValue, isEnterpriseRuntimeSnapshotReady, isEntityLookupMultiplePayloadMode, isEntityLookupPayloadMode, isEntityLookupPayloadModeCompatible, isEntityLookupResultSelectable, isEntityLookupSinglePayloadMode, isFormLayoutItem, isGlobalActionProviderOperational, isGlobalActionRef, isGovernedPageUuid, isInlineFilterControlType, isLookupDialogSize, isLookupFilterFieldType, isLookupFilterOperator, isMaskedOrRedactedRuntimeValue, isMaskedPresentationToken, isPraxisContextualHeaderName, isPraxisEpistemicAvailabilityState, isPraxisEpistemicKind, isPraxisI18nMessageDescriptor, isPraxisIntelligenceErrorCode, isPraxisIntelligenceJobStatus, isPraxisIntelligenceJobTerminal, isPraxisMicroVisualizationRenderable, isPraxisPresentationVisualizationTableSafe, isPraxisRuntimeGlobalActionEffect, isPraxisSuppressionStatusSuppressed, isPraxisWorkspaceThemeId, isProgrammaticDateRangePreset, isRangeValidForFilter, isRequiredGlobalActionParamPayloadMissing, isRequiredGlobalActionPayloadMissing, isResourceQuickViewAnchorValid, isSafeBlobImageUrl, isSafeInlinePreviewMimeType, isSafeLegalBasisUrl, isSafeMicroSvgMarkup, isSafePraxisFileId, isSidePanelPixelWidth, isStaticDateRangePreset, isSurfaceNavigationError, isTableConfigV2, isUnresolvedTemplateToken, isValidFormConfig, isValidTableConfig, legacyCnpjValidator, legacyCpfValidator, logOnErrorHook, mapCatalogFieldsToMetadata, mapFieldDefinitionToMetadata, mapFieldDefinitionsToMetadata, markGlobalActionProviderOperational, matchFieldValidator, materializeFormLayoutFromMetadata, materializeGovernedPagePreview, materializeGovernedPaletteColors, materializeGovernedPaletteEntries, materializeResourceIdentity, maxFileSizeValidator, mergeDomainRuleDocumentation, mergeFieldMetadata, mergePraxisI18nConfigs, mergeTableConfigs, migrateFormLayoutRule, migrateLegacyCompositionLink, migrateLegacyCompositionLinks, minWordsValidator, nestedPortPathIdentity, normalizeCardMediaAspectRatio, normalizeColumnRendererQuickView, normalizeConfigPersistenceStrategy, normalizeControlTypeKey, normalizeControlTypeToken, normalizeEditorialLink, normalizeEnd, normalizeFieldAccessMetadata, normalizeFieldConstraints, normalizeFieldPresentation, normalizeFieldPresentationRules, normalizeFormConfig, normalizeFormLayoutItems, normalizeFormMetadata, normalizeGlobalActionRef$1 as normalizeGlobalActionRef, normalizeLayoutPolicy, normalizeLookupFilterRequest, normalizePath, normalizePraxisDataQueryContext, normalizePraxisEffectPolicy, normalizePraxisEpistemicAvailabilityState, normalizePraxisEpistemicKind, normalizePraxisEpistemicMeta, normalizePraxisHexColor, normalizePraxisIconLigature, normalizePraxisIntelligenceErrorCode, normalizePraxisNigriniConformity, normalizePraxisPresentationVisualization, normalizePraxisQueryFilterExpression, normalizePraxisQueryFilterNode, normalizePraxisResourcePath, normalizePraxisStoredFileMetadata, normalizePresentationAffix, normalizePreviewMimeType, normalizeQuickFilterCriteria, normalizeQuickFilterExpression, normalizeQuickFilterTone, normalizeReactiveDeterminations, normalizeResourceAvailabilityReasonCode, normalizeResourceIdentityContract, normalizeResourceQuickFilterItem, normalizeResourceQuickFilterList, normalizeResourceQuickViewBinding, normalizeResourceRecordOpenReference, normalizeResourceScopeId, normalizeRuleDocumentation, normalizeRuleLegalBasisList, normalizeScalarArrayValue, normalizeStart, normalizeStringMap, normalizeSurfaceOperationContext, normalizeUnknownError, normalizeWidgetEventPath, notifySuccessHook, organizeFormLayoutBySemantics, parseConfigPersistenceError, parseJsonResponseOrEmpty, parseSidePanelWidthPx, praxisLoadingInterceptorFn, praxisSessionCredentialsInterceptor, prefillFromContextHook, prepareCanvasArrangement, previewRuntimeFormValueProposal, projectComponentAuthoringManifest, projectGroupedCommandPartialRows, provideDefaultFormHooks, provideFieldSelectorRegistryBase, provideFieldSelectorRegistryOverride, provideFieldSelectorRegistryRuntime, provideFormHookPresets, provideFormHooks, provideGlobalActionCatalog, provideGlobalActionHandler, provideGlobalConfig, provideGlobalConfigReady, provideGlobalConfigSeed, provideGlobalConfigTenant, provideHookResolvers, provideHookWhitelist, provideOverlayDecisionMatrix, providePraxisAnalyticsGlobalActions, providePraxisCollectionExportProvider, providePraxisDynamicPageMetadata, providePraxisEnterpriseRuntimeContext, providePraxisEpistemicBadgeMetadata, providePraxisFileUploadPort, providePraxisFooterLinksMetadata, providePraxisGlobalActionCatalog, providePraxisGlobalActions, providePraxisGlobalConfigBootstrap, providePraxisHeroBannerMetadata, providePraxisHttpCollectionExportProvider, providePraxisHttpFileUploadPort, providePraxisHttpLoading, providePraxisI18n, providePraxisI18nConfig, providePraxisI18nTranslator, providePraxisIconDefaults, providePraxisIconPickerI18n, providePraxisIntelligenceI18n, providePraxisIntelligenceJobStatusMetadata, providePraxisJsonLogicOperator, providePraxisJsonLogicOperatorOverride, providePraxisLegalNoticeMetadata, providePraxisLoadingDefaults, providePraxisLogging, providePraxisMicroVizI18n, providePraxisRelatedResourceOutletMetadata, providePraxisRichTextBlockMetadata, providePraxisSessionTransport, providePraxisShellI18n, providePraxisTelemetry, providePraxisTenantRealm, providePraxisTestingDefaults, providePraxisTheme, providePraxisToastGlobalActions, providePraxisUserContextSummaryMetadata, provideRemoteGlobalConfig, readAnalyticsEpistemicMetadata, readAnalyticsSuppressionMetadata, readPersistedSidePanelWidth, readPraxisExportValue, readStrongResourceEtag, reconcileFieldQuickViewBinding, reconcileFilterConfig, reconcileFormConfig, reconcileTableConfig, registerPraxisRuntimeComponentObservation, removeDiacritics, reportTelemetryHookFactory, requiredCheckedValidator, requiredPresenceValidator, resolveAffixedPresentationParts, resolveBuiltinPresets, resolveBuiltinWidgetShellAppearance, resolveBulkWireIdKindFromSchema, resolveColumnTypeFromFieldDefinition, resolveControlTypeAlias, resolveDataField, resolveDateRangeShortcutPreset, resolveDateRangeShortcutPresets, resolveDefaultValuePresentationFormat, resolveEntityLookupPayloadMode, resolveExpandedSidePanelWidthPx, resolveFieldPresentation, resolveFieldQuickViewBinding, resolveGroupedCommandPartialRowSpans, resolveHidden, resolveHumanFieldLabel, resolveIconPickerLabel, resolveInlineFilterControlType, resolveInlineFilterControlTypeToBaseControlType, resolveLoggerConfig, resolveObservabilityOptions, resolveOffset, resolveOrder, resolvePraxisCollectionExportItems, resolvePraxisExportFields, resolvePraxisExportScope, resolvePraxisFileOperationOptions, resolvePraxisFilterCriteria, resolvePraxisI18nDocument, resolvePraxisIconPickerMessage, resolvePraxisIntelligenceErrorCodeFromPayload, resolvePraxisIntelligenceErrorCodeFromStatus, resolvePraxisIntelligenceMessage, resolvePraxisMicroVisualizationTone, resolvePraxisMicroVizMessage, resolvePraxisMicroWaterfallSteps, resolvePraxisSchemasFilteredUrl, resolvePraxisStackedBarAriaLabel, resolvePraxisStackedBarSegments, resolvePraxisStackedBarTotal, resolvePraxisTenantRealmFromLocation, resolveQuickViewAnchorKey, resolveResourceAvailabilityReasonKey, resolveResourceIdentityContract, resolveResourceQuickViewTarget, resolveSchemaConditionalRenderers, resolveSidePanelPresetWidth, resolveSidePanelPresetWidthPx, resolveSidePanelViewportWidth, resolveSpan, resolveTextMaskFormat, resolveTextMaskFormatFromFieldDefinition, resolveValuePresentation, resolveValuePresentationLocale, resolveWidgetPageLayoutPreset, samePageSourceReference, sanitizeIntelligenceDetailText, scopeKeyByTenantRealm, serializeEntityLookupValueForPayload, serializeOptionSourceFilterRequest, serializePraxisCollectionToCsv, serializePraxisCollectionToExcel, serializePraxisCollectionToJson, shouldShowPraxisEpistemicSignificance, slugify, staticDateRangePresetToPreset, stripDraftClearedValues, stripMasksHook, supportsConfigDocuments, supportsImplicitValuePresentation, syncWithServerMetadata, synthesizeScopeBarQuickFilterItems, textSha256, toCamel, toCapitalize, toKebab, toPascal, toSentenceCase, toSnake, toTitleCase, translateDecisionInspector, translateResourceAvailabilityReason, translateResourceDiscoveryText, translateSurfaceNavigationRejected, translateSurfaceOpenFailed, translateUnavailableWorkflowMessage, trim, uiLayoutJsonIdentity, undoRuntimeFormValueApply, uniqueAsyncValidator, upsertNavigationGroupEntry, upsertPageNavigationBinding, urlValidator, validateCanvasArrangement, validateGlobalActionRef, validateGlobalActionRefs, validatePageAuthoringDocument, validatePageSourceReference, validateResourceQuickViewBinding, validateRuntimeFormValueTargetIdentity, validateRuntimeNavigationMenuNodes, withFormConfigSections, withMessage, withPraxisHttpLoading, writePersistedSidePanelWidth };
101975
+ export { API_CONFIG_STORAGE_OPTIONS, API_URL, ASYNC_CONFIG_STORAGE, AllowedFileTypes, AnalyticsPresentationResolver, AnalyticsSchemaContractService, AnalyticsStatsRequestBuilderService, ApiConfigStorage, ApiEndpoint, BUILTIN_PAGE_LAYOUT_PRESETS, BUILTIN_PAGE_THEME_PRESETS, BUILTIN_SHELL_PRESETS, BUILTIN_WIDGET_SHELL_PRESETS, BulkOperationClientService, BulkSyncSession, BulkSyncStateService, CANONICAL_DECISION_INSPECTOR_LENSES, CANONICAL_DECISION_STAGES, COMPONENT_METADATA_REGISTRY_I18N_CONFIG, COMPONENT_METADATA_REGISTRY_I18N_NAMESPACE, CONFIG_STORAGE, CONNECTION_STORAGE, ComponentAuthoringManifestProjectionError, ComponentKeyService, ComponentMetadataRegistry, ComponentRuntimeProfileService, CompositionRuntimeFacade, CompositionValidatorService, ConsoleLoggerSink, CrudOperationResolutionService, DECISION_INSPECTOR_I18N_CONFIG, DECISION_INSPECTOR_I18N_NAMESPACE, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_MAX_ENTRIES, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_TTL_MS, DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP, DEFAULT_JSON_LOGIC_OPERATORS, DEFAULT_PRAXIS_STATS_EXECUTION_CONFIG, DEFAULT_SCHEMA_REQUEST_TIMEOUT_MS, DEFAULT_TABLE_CONFIG, DOMAIN_CATALOG_COMPONENT_CONTEXT_PACK, DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION, DOMAIN_RULE_DOCUMENTATION_KEY, DYNAMIC_PAGE_AI_CAPABILITIES, DYNAMIC_PAGE_COMPONENT_CONTEXT_PACK, DYNAMIC_PAGE_CONFIG_EDITOR, DYNAMIC_PAGE_SHELL_EDITOR, DefaultLoadingRenderer, DeferredAsyncConfigStorage, DomainCatalogService, DomainKnowledgeService, DomainRuleService, DynamicFormService, DynamicWidgetLoaderDirective, DynamicWidgetPageComponent, EDITORIAL_ALLOWED_CONTENT_FORMATS, EDITORIAL_COMPLIANCE_PRESETS, EDITORIAL_EXTERNAL_LINK_REL, EDITORIAL_FORM_TEMPLATE_CATALOG, EDITORIAL_HTML_ENABLED, EDITORIAL_MARKDOWN_IMAGES_ENABLED, EDITORIAL_SOLUTION_CATALOG, EDITORIAL_SOLUTION_PRESETS, EDITORIAL_THEME_PRESETS, EDITORIAL_WIDGET_CONVENTION_INPUTS, EDITORIAL_WIDGET_TAG, EFFECTIVE_UI_LAYOUT_COMPOSITION_SCHEMA_VERSION, EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_EDITORIAL_TEMPLATE, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_TEMPLATE, EVENT_REGISTRATION_EDITORIAL_SOLUTION, EVENT_REGISTRATION_EDITORIAL_TEMPLATE, EffectiveUiLayoutContractError, EffectiveUiLayoutHttpError, EffectiveUiLayoutService, EmptyStateCardComponent, EnterpriseRuntimeContextObsoleteError, EnterpriseRuntimeContextService, ErrorMessageService, FIELD_METADATA_CAPABILITIES, FIELD_SELECTOR_REGISTRY_BASE, FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS, FIELD_SELECTOR_REGISTRY_OVERRIDES, FORM_HOOKS, FORM_HOOKS_PRESETS, FORM_HOOKS_WHITELIST, FORM_HOOK_RESOLVERS, FieldControlType, FieldDataType, FieldSelectorRegistry, FormHooksRegistry, GLOBAL_ACTION_CATALOG, GLOBAL_ACTION_HANDLERS, GLOBAL_ACTION_UI_SCHEMAS, GLOBAL_ANALYTICS_SERVICE, GLOBAL_API_CLIENT, GLOBAL_CONFIG, GLOBAL_DIALOG_SERVICE, GLOBAL_ROUTE_GUARD_RESOLVER, GLOBAL_SURFACE_SERVICE, GLOBAL_TOAST_SERVICE, GOVERNED_COLOR_PALETTE_OPTIONS, GOVERNED_PAGE_ADMITTED_WIDGET_IDS, GOVERNED_PAGE_DEFAULT_ALLOWED_ICONS, GenericCrudService, GlobalActionService, GlobalConfigService, GovernedColorPaletteService, INLINE_FILTER_ALIAS_TOKENS, INLINE_FILTER_CONTROL_TYPES, INLINE_FILTER_CONTROL_TYPE_SET, INLINE_FILTER_CONTROL_TYPE_VALUES, INLINE_FILTER_TOKEN_TO_BASE_CONTROL_TYPE, INLINE_FILTER_TOKEN_TO_CONTROL_TYPE, IconPickerService, IconPosition, IconSize, InMemoryAsyncConfigStorage, InMemoryConfigStorage, InMemoryConfigStore, InMemoryEnterpriseRuntimeContextService, LOGGER_LEVEL_BY_ENV, LOGGER_LEVEL_PRIORITY, LoadingOrchestrator, LocalConnectionStorage, LocalStorageAsyncAdapter, LocalStorageCacheAdapter, LocalStorageConfigService, LoggerService, LoggerThrottleTracker, LoggerWarnOnceTracker, MemoryCacheAdapter, NestedPortCatalogService, NestedWidgetConfigAccessor, NumericFormat, OVERLAY_DECIDER_DEBUG, OVERLAY_DECISION_MATRIX, ObservabilityDashboardService, OverlayDeciderService, PRAXIS_ACTION_CONTROL_DEFAULTS, PRAXIS_ACTION_CONTROL_VARS, PRAXIS_BULK_PROPOSAL_BRIDGE, PRAXIS_COLLECTION_EXPORT_HTTP_OPTIONS, PRAXIS_COLLECTION_EXPORT_PROVIDER, PRAXIS_COLLECTION_SEARCH_DEFAULTS, PRAXIS_COLLECTION_SEARCH_VARS, PRAXIS_CONTEXTUAL_HEADER_NAMES, PRAXIS_CONTEXT_DIMENSIONS, PRAXIS_CORPORATE_SENSITIVE_KEYS, PRAXIS_DECISION_INSPECTOR_CONFIG, PRAXIS_DECISION_INSPECTOR_SURFACE, PRAXIS_DEFAULT_EXPORT_SECURITY_POLICY, PRAXIS_DEFAULT_OBSERVABILITY_ALERT_RULES, PRAXIS_DETACHED_WIDGET_SHELL_VIEWPORT, PRAXIS_DYNAMIC_PAGE_COMPONENT_METADATA, PRAXIS_EFFECTIVE_UI_LAYOUT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_READY, PRAXIS_EPISTEMIC_AVAILABILITY_STATES, PRAXIS_EPISTEMIC_BADGE_METADATA, PRAXIS_EPISTEMIC_KINDS, PRAXIS_EXPORT_FORMULA_PREFIXES, PRAXIS_EXPORT_SECURITY_POLICY, PRAXIS_FILE_UPLOAD_PORT, PRAXIS_FOOTER_LINKS_METADATA, PRAXIS_GLOBAL_ACTION_CATALOG, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_OPTIONS, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_READY, PRAXIS_GLOBAL_CONFIG_TENANT_RESOLVER, PRAXIS_HERO_BANNER_METADATA, PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS, PRAXIS_I18N_CONFIG, PRAXIS_I18N_TRANSLATOR, PRAXIS_ICON_PICKER_EN_US, PRAXIS_ICON_PICKER_I18N_CONFIG, PRAXIS_ICON_PICKER_I18N_NAMESPACE, PRAXIS_ICON_PICKER_PT_BR, PRAXIS_INTELLIGENCE_EN_US, PRAXIS_INTELLIGENCE_ERROR_CATALOG, PRAXIS_INTELLIGENCE_ERROR_CODES, PRAXIS_INTELLIGENCE_I18N_CONFIG, PRAXIS_INTELLIGENCE_I18N_NAMESPACE, PRAXIS_INTELLIGENCE_JOBS_BASE_PATH, PRAXIS_INTELLIGENCE_JOB_STATUSES, PRAXIS_INTELLIGENCE_JOB_STATUS_METADATA, PRAXIS_INTELLIGENCE_PT_BR, PRAXIS_JSON_LOGIC_OPERATORS, PRAXIS_LAYER_SCALE_DEFAULTS, PRAXIS_LAYER_SCALE_VARS, PRAXIS_LEGAL_NOTICE_METADATA, PRAXIS_LOADING_CTX, PRAXIS_LOADING_RENDERER, PRAXIS_LOGGER_CONFIG, PRAXIS_LOGGER_SINKS, PRAXIS_MICRO_CHART_ENGINE, PRAXIS_MICRO_CHART_ENGINE_DISABLED, PRAXIS_MICRO_VIZ_EN_US, PRAXIS_MICRO_VIZ_I18N_CONFIG, PRAXIS_MICRO_VIZ_I18N_NAMESPACE, PRAXIS_MICRO_VIZ_LEGACY_CHARTS_NAMESPACE, PRAXIS_MICRO_VIZ_PT_BR, PRAXIS_OBSERVABILITY_DASHBOARD_OPTIONS, PRAXIS_OPERATIONAL_ASSISTANT_LAUNCHER, PRAXIS_QUERY_FILTER_EXPRESSION_SCHEMA_VERSION, PRAXIS_QUICK_VIEW_BODY_RENDERER, PRAXIS_QUICK_VIEW_PRESENTER, PRAXIS_READING_GUIDE_EN_US, PRAXIS_READING_GUIDE_I18N_CONFIG, PRAXIS_READING_GUIDE_I18N_NAMESPACE, PRAXIS_READING_GUIDE_PT_BR, PRAXIS_RELATED_RESOURCE_OUTLET_AUTHORING_MANIFEST, PRAXIS_RELATED_RESOURCE_OUTLET_COMPONENT_METADATA, PRAXIS_RELATED_RESOURCE_OUTLET_PORTS, PRAXIS_RICH_TEXT_BLOCK_METADATA, PRAXIS_RUNTIME_FORM_VALUE_PROPOSAL_SCHEMA_VERSION, PRAXIS_RUNTIME_FORM_VALUE_RECEIPT_SCHEMA_VERSION, PRAXIS_SESSION_TRANSPORT_OPTIONS, PRAXIS_SHELL_EN_US, PRAXIS_SHELL_I18N_CONFIG, PRAXIS_SHELL_I18N_NAMESPACE, PRAXIS_SHELL_PT_BR, PRAXIS_STATS_EXECUTION_CONFIG, PRAXIS_SUPPRESSION_STATUSES, PRAXIS_TABLE_DETAIL_INLINE_NODE_RESOLVERS, PRAXIS_TABLE_DETAIL_INLINE_RENDERERS, PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER, PRAXIS_TELEMETRY_TRANSPORT, PRAXIS_TENANT_REALM, PRAXIS_TENANT_REALM_HEADER, PRAXIS_THEME_OPTIONS, PRAXIS_THEME_SURFACE_DEFAULTS, PRAXIS_THEME_SURFACE_VARS, PRAXIS_USER_CONTEXT_SUMMARY_METADATA, PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, PRAXIS_WIDGET_SHELL_VIEWPORT, PRAXIS_WORKSPACE_THEME_IDS, PRIVACY_CONSENT_EDITORIAL_SOLUTION, PRIVACY_CONSENT_EDITORIAL_TEMPLATE, PageIntegrityError, PraxisAppShellComponent, PraxisBulkClientService, PraxisCacheInvalidatorService, PraxisCollectionExportService, PraxisCommandPaletteComponent, PraxisContextFilterProjectorService, PraxisContextSwitchGuard, PraxisCore, PraxisCustomizationModeService, PraxisDecisionInspectorService, PraxisEpistemicBadgeComponent, PraxisFooterLinksComponent, PraxisGlobalErrorHandler, PraxisHeroBannerComponent, PraxisHttpCollectionExportProvider, PraxisHttpFileUploadPort, PraxisI18nService, PraxisIconButtonComponent, PraxisIconDirective, PraxisIconPickerComponent, PraxisIndicatorGuidePopoverComponent, PraxisIntelligenceJobError, PraxisIntelligenceJobStatusComponent, PraxisIntelligenceJobsService, PraxisJsonLogicError, PraxisJsonLogicService, PraxisKeepAliveTabDirective, PraxisLayerScaleStyleService, PraxisLegalNoticeComponent, PraxisLoadingInterceptor, PraxisMicroTooltipOverlayService, PraxisMicroVizHostComponent, PraxisMicroVizIdSequenceService, PraxisOperationalAssistantLaunchService, PraxisPageReconcilerService, PraxisQuickViewTriggerDirective, PraxisRelatedResourceOutletComponent, PraxisRelatedResourceOutletConfigEditorComponent, PraxisResourceIdentityComponent, PraxisRichTextBlockComponent, PraxisRuntimeComponentObservationRegistryService, PraxisRuntimeFormValueSessionJournal, PraxisSafeBlobPreviewService, PraxisSessionTransportService, PraxisStatsExecutionService, PraxisSurfaceHostComponent, PraxisThemeService, PraxisUserContextSummaryComponent, PraxisWidgetEventBus, PraxisWorkspaceQueryContextService, QUICK_VIEW_EMPLOYEE_BINDING_FIXTURE, QUICK_VIEW_EMPLOYEE_RECORD_FIXTURE, QUICK_VIEW_EMPLOYEE_SCHEMA_FIXTURE, QUICK_VIEW_EMPLOYEE_SURFACES_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_BINDING_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_RECORD_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SCHEMA_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SURFACES_FIXTURE, RESOURCE_DISCOVERY_I18N_CONFIG, RESOURCE_DISCOVERY_I18N_NAMESPACE, RULE_PROPERTY_SCHEMA, RelatedResourceSurfaceResolverService, RemoteConfigStorage, ResourceActionOpenAdapterService, ResourceDiscoveryService, ResourceQuickConnectComponent, ResourceQuickViewService, ResourceRecordOpenError, ResourceRecordOpenService, ResourceSurfaceOpenAdapterService, SAFE_INLINE_PREVIEW_MIME_TYPES, SCHEMA_METADATA_CLIENT_OPTIONS, SCHEMA_VIEWER_CONTEXT, SETTINGS_EDITOR_SECTIONS_HOSTED, SETTINGS_PANEL_BRIDGE, SETTINGS_PANEL_DATA, SIDE_PANEL_PRESET_WIDTHS, STEPPER_CONFIG_EDITOR, SURFACE_DRAWER_BRIDGE, SURFACE_DRAWER_CONTENT_DATA, SURFACE_DRAWER_REF, SURFACE_NAVIGATION_I18N_CONFIG, SURFACE_NAVIGATION_I18N_NAMESPACE, SURFACE_OPEN_I18N_CONFIG, SURFACE_OPEN_I18N_NAMESPACE, SURFACE_OPEN_PRESETS, SafeExpressionEvaluator, SchemaMetadataClient, SchemaNormalizerService, SchemaViewerComponent, SettingsSectionTabsComponent, SurfaceBindingRuntimeService, SurfaceNavigationError, SurfaceOpenActionEditorComponent, SurfaceOpenMaterializerService, SurfaceOutletRegistryService, TABLE_CONFIG_EDITOR, TableConfigService, TelemetryLoggerSink, TelemetryService, UiLayoutLifecycleContractError, UiLayoutLifecycleHttpError, UiLayoutLifecycleService, ValidationPattern, WidgetPageCompositionFactory, WidgetPageDataSourceRuntimeService, WidgetPageStateRuntimeService, WidgetShellComponent, applyDeclarativeValuePipe, applyLocalCustomizations$2 as applyLocalCustomizations, applyLocalCustomizations$1 as applyLocalFormCustomizations, applyRuntimeFormValueProposal, areParameterValuesEqual, areRuntimeValuesEqual, assertPraxisCollectionExportArtifact, assertPraxisRuntimeComponentObservationSerializable, attachAnalyticsEpistemicMetadata, attachAnalyticsSuppressionMetadata, buildAnalyticalWidgetObservationEnvelope, buildAngularValidators, buildApiUrl, buildBaseColumnFromDef, buildBaseFormField, buildFormConfigFromEditorialTemplate, buildGovernedPageTarget, buildHeaders, buildPageKey, buildPraxisActionControlCss, buildPraxisCollectionSearchCss, buildPraxisEffectDistinctKey, buildPraxisLayerScaleCss, buildPraxisTenantRealmHeaders, buildPraxisThemeSurfaceCss, buildPublishedPageIdentity, buildReadingGuideFromEpistemicMeta, buildReadingGuideFromModelCard, buildRulesStudioDeepLink, buildSchemaId, buildSchemaIdStorageKeySegment, buildSchemaSemanticColumnRenderer, buildSidePanelStorageKey, buildValidatorsFromValidatorOptions, calibrateFieldMetadataFromSemantics, canExpandSidePanel, canOrganizeFormLayoutBySemantics, cancelIfCpfInvalidHook, canonicalJsonSha256, canonicalJsonStringify, clampRange, clampSidePanelWidthPx, classifyEntityLookupResult, cloneBoundedUiLayoutJsonDocument, cloneInputsPreservingLiveReferences, clonePraxisRuntimeComponentObservation, cloneRuntimeValue, cloneTableConfig, cloneUiLayoutJsonDocument, cnpjAlphaValidator, coerceBulkTargetsWireIds, coerceBulkWireId, collapseWhitespace, composeHeadersWithVersion, computePraxisMicroVizSignature, computePraxisStackedBarSegmentWidthPct, conditionalAsyncValidator, containsEphemeralQuickViewRuntimeValue, convertFormLayoutToConfig, copyPageAuthoringDocument, createCorporateLoggerConfig, createCorporateObservabilityOptions, createCpfCnpjValidator, createDefaultFormConfig, createDefaultTableConfig, createDynamicRecord, createEmptyFormConfig, createEmptyNavigationGroupsAuthoringDocument, createEmptyRichContentDocument, createFieldLayoutItem, createPersistedPage, createPraxisTestingNoopHttpInterceptor, createSilentPraxisLoadingContext, customAsyncValidatorFn, customValidatorFn, debounceAsyncValidator, decodeNavigationGroupsAuthoringDocument, decodePageAuthoringDocument, deepMerge, deriveFailClosedEpistemicMetaFromError, derivePageChildRuntimeId, domainKnowledgeTimelineToRichContentDocument, domainRuleTimelineToRichContentDocument, encodeNavigationGroupsAuthoringDocument, encodePageAuthoringDocument, enrichGovernanceItemsWithFieldSchemas, enrichRuleSetsWithFieldSchemas, ensureIds, ensureNoConflictsHookFactory, ensurePageIds, escapePraxisExportCell, evaluateFieldAccess, evaluateGovernanceItemsFieldAccess, evaluatePraxisKpiDerivation, extractAnalyticsEpistemicMetadata, extractAnalyticsSuppressionMetadata, extractDomainCatalogRuleCatalog, extractDomainRuleDocumentation, extractExplicitPraxisIntelligenceErrorCode, extractNormalizedError, extractPraxisApiPathPrefix, extractRecordId, extractRuleViolationDiagnostics, fetchWithETag, fileTypeValidator, fillUndefined, findBuiltinWidgetShellPreset, formIdentityIssues, formatAffixedPresentationText, formatPraxisEpistemicNumber, formatPraxisQValueFdr, formatPraxisStackedBarPercentage, formatPraxisWaterfallSignedValue, formatResourceAvailabilityReasonForDisplay, formatTruncatedProvenanceHash, generateBulkIdempotencyKey, generateId, getDefaultFormHints, getEditorialCompliancePresetById, getEditorialFormTemplateById, getEditorialFormTemplateCatalog, getEditorialSolutionById, getEditorialSolutionCatalog, getEditorialSolutionPresetById, getEditorialThemePresetById, getEssentialConfig, getFieldMetadataCapabilities, getFormColumnFieldNames, getFormLayoutFieldNames, getGlobalActionCatalog, getGlobalActionPayloadActualType, getGlobalActionPayloadTypeIssue, getGlobalActionProviderEvidence, getGlobalActionUiSchema, getMissingGlobalActionPayloadKeys, getPraxisEpistemicKindIcon, getPraxisMicroToneGradientStops, getPraxisStackedBarPaintStyle, getPraxisTableCellVisualizationConstraint, getPraxisTableCellVisualizationGuidance, getReferencedFieldMetadata, getRequiredGlobalActionPayloadKeys, getTextTransformer, getWidgetShellActionIdError, hasMeaningfulGlobalActionPayloadValue, hasPraxisCollectionExportArtifact, hasPraxisIndicatorReadingGuideContent, hasSemanticFieldCalibrationDiff, humanizeCatalogFieldName, inferDomainSemanticHexColor, inferDomainSemanticIcon, inferDomainSemanticTone, inferSemanticFieldControlType, inferSemanticFieldGroup, inferSemanticFieldWidth, instanceKeyFor, interpolatePraxisTranslation, isAllowedEditorialContentFormat, isAllowedEditorialHref, isBulkExecutionTerminal, isCanonicalDecisionStage, isCssTextTransform, isDecisionInspectorLensId, isDomainRuleSnapshotProblemResponse, isDynamicDataRecord, isEditorialComponentMeta, isEmptyRuntimeFormFieldValue, isEnterpriseRuntimeSnapshotReady, isEntityLookupMultiplePayloadMode, isEntityLookupPayloadMode, isEntityLookupPayloadModeCompatible, isEntityLookupResultSelectable, isEntityLookupSinglePayloadMode, isFormLayoutItem, isGlobalActionProviderOperational, isGlobalActionRef, isGovernedPageUuid, isInlineFilterControlType, isLookupDialogSize, isLookupFilterFieldType, isLookupFilterOperator, isMaskedOrRedactedRuntimeValue, isMaskedPresentationToken, isPraxisContextualHeaderName, isPraxisEpistemicAvailabilityState, isPraxisEpistemicKind, isPraxisI18nMessageDescriptor, isPraxisIntelligenceErrorCode, isPraxisIntelligenceJobStatus, isPraxisIntelligenceJobTerminal, isPraxisMicroVisualizationRenderable, isPraxisPresentationVisualizationTableSafe, isPraxisRuntimeGlobalActionEffect, isPraxisSuppressionStatusSuppressed, isPraxisWorkspaceThemeId, isProgrammaticDateRangePreset, isRangeValidForFilter, isRequiredGlobalActionParamPayloadMissing, isRequiredGlobalActionPayloadMissing, isResourceQuickViewAnchorValid, isSafeBlobImageUrl, isSafeInlinePreviewMimeType, isSafeLegalBasisUrl, isSafeMicroSvgMarkup, isSafePraxisFileId, isSidePanelPixelWidth, isStaticDateRangePreset, isSurfaceNavigationError, isTableConfigV2, isUnresolvedTemplateToken, isValidFormConfig, isValidTableConfig, legacyCnpjValidator, legacyCpfValidator, logOnErrorHook, mapCatalogFieldsToMetadata, mapFieldDefinitionToMetadata, mapFieldDefinitionsToMetadata, markGlobalActionProviderOperational, matchFieldValidator, materializeFormLayoutFromMetadata, materializeGovernedPagePreview, materializeGovernedPaletteColors, materializeGovernedPaletteEntries, materializeResourceIdentity, maxFileSizeValidator, mergeDomainRuleDocumentation, mergeFieldMetadata, mergePraxisI18nConfigs, mergePraxisIndicatorReadingGuides, mergeTableConfigs, migrateFormLayoutRule, migrateLegacyCompositionLink, migrateLegacyCompositionLinks, minWordsValidator, nestedPortPathIdentity, normalizeCardMediaAspectRatio, normalizeColumnRendererQuickView, normalizeConfigPersistenceStrategy, normalizeControlTypeKey, normalizeControlTypeToken, normalizeEditorialLink, normalizeEnd, normalizeFieldAccessMetadata, normalizeFieldConstraints, normalizeFieldPresentation, normalizeFieldPresentationRules, normalizeFormConfig, normalizeFormLayoutItems, normalizeFormMetadata, normalizeGlobalActionRef$1 as normalizeGlobalActionRef, normalizeLayoutPolicy, normalizeLookupFilterRequest, normalizePath, normalizePraxisDataQueryContext, normalizePraxisEffectPolicy, normalizePraxisEpistemicAvailabilityState, normalizePraxisEpistemicKind, normalizePraxisEpistemicMeta, normalizePraxisHexColor, normalizePraxisIconLigature, normalizePraxisIntelligenceErrorCode, normalizePraxisModelCardInterpretationGuide, normalizePraxisNigriniConformity, normalizePraxisPresentationVisualization, normalizePraxisQueryFilterExpression, normalizePraxisQueryFilterNode, normalizePraxisResourcePath, normalizePraxisStoredFileMetadata, normalizePresentationAffix, normalizePreviewMimeType, normalizeQuickFilterCriteria, normalizeQuickFilterExpression, normalizeQuickFilterTone, normalizeReactiveDeterminations, normalizeResourceAvailabilityReasonCode, normalizeResourceIdentityContract, normalizeResourceQuickFilterItem, normalizeResourceQuickFilterList, normalizeResourceQuickViewBinding, normalizeResourceRecordOpenReference, normalizeResourceScopeId, normalizeRuleDocumentation, normalizeRuleLegalBasisList, normalizeScalarArrayValue, normalizeStart, normalizeStringMap, normalizeSurfaceOperationContext, normalizeUnknownError, normalizeWidgetEventPath, notifySuccessHook, organizeFormLayoutBySemantics, parseConfigPersistenceError, parseJsonResponseOrEmpty, parseSidePanelWidthPx, praxisLoadingInterceptorFn, praxisSessionCredentialsInterceptor, prefillFromContextHook, prepareCanvasArrangement, previewRuntimeFormValueProposal, projectComponentAuthoringManifest, projectGroupedCommandPartialRows, provideDefaultFormHooks, provideFieldSelectorRegistryBase, provideFieldSelectorRegistryOverride, provideFieldSelectorRegistryRuntime, provideFormHookPresets, provideFormHooks, provideGlobalActionCatalog, provideGlobalActionHandler, provideGlobalConfig, provideGlobalConfigReady, provideGlobalConfigSeed, provideGlobalConfigTenant, provideHookResolvers, provideHookWhitelist, provideOverlayDecisionMatrix, providePraxisAnalyticsGlobalActions, providePraxisCollectionExportProvider, providePraxisDynamicPageMetadata, providePraxisEnterpriseRuntimeContext, providePraxisEpistemicBadgeMetadata, providePraxisFileUploadPort, providePraxisFooterLinksMetadata, providePraxisGlobalActionCatalog, providePraxisGlobalActions, providePraxisGlobalConfigBootstrap, providePraxisHeroBannerMetadata, providePraxisHttpCollectionExportProvider, providePraxisHttpFileUploadPort, providePraxisHttpLoading, providePraxisI18n, providePraxisI18nConfig, providePraxisI18nTranslator, providePraxisIconDefaults, providePraxisIconPickerI18n, providePraxisIntelligenceI18n, providePraxisIntelligenceJobStatusMetadata, providePraxisJsonLogicOperator, providePraxisJsonLogicOperatorOverride, providePraxisLegalNoticeMetadata, providePraxisLoadingDefaults, providePraxisLogging, providePraxisMicroVizI18n, providePraxisReadingGuideI18n, providePraxisRelatedResourceOutletMetadata, providePraxisRichTextBlockMetadata, providePraxisSessionTransport, providePraxisShellI18n, providePraxisTelemetry, providePraxisTenantRealm, providePraxisTestingDefaults, providePraxisTheme, providePraxisToastGlobalActions, providePraxisUserContextSummaryMetadata, provideRemoteGlobalConfig, readAnalyticsEpistemicMetadata, readAnalyticsSuppressionMetadata, readPersistedSidePanelWidth, readPraxisExportValue, readStrongResourceEtag, reconcileFieldQuickViewBinding, reconcileFilterConfig, reconcileFormConfig, reconcileTableConfig, registerPraxisRuntimeComponentObservation, removeDiacritics, reportTelemetryHookFactory, requiredCheckedValidator, requiredPresenceValidator, resolveAffixedPresentationParts, resolveBuiltinPresets, resolveBuiltinWidgetShellAppearance, resolveBulkWireIdKindFromSchema, resolveColumnTypeFromFieldDefinition, resolveControlTypeAlias, resolveDataField, resolveDateRangeShortcutPreset, resolveDateRangeShortcutPresets, resolveDefaultValuePresentationFormat, resolveEntityLookupPayloadMode, resolveExpandedSidePanelWidthPx, resolveFieldPresentation, resolveFieldQuickViewBinding, resolveGroupedCommandPartialRowSpans, resolveHidden, resolveHumanFieldLabel, resolveIconPickerLabel, resolveInlineFilterControlType, resolveInlineFilterControlTypeToBaseControlType, resolveLoggerConfig, resolveObservabilityOptions, resolveOffset, resolveOrder, resolvePraxisCollectionExportItems, resolvePraxisExportFields, resolvePraxisExportScope, resolvePraxisFileOperationOptions, resolvePraxisFilterCriteria, resolvePraxisI18nDocument, resolvePraxisIconPickerMessage, resolvePraxisIntelligenceErrorCodeFromPayload, resolvePraxisIntelligenceErrorCodeFromStatus, resolvePraxisIntelligenceMessage, resolvePraxisMicroVisualizationTone, resolvePraxisMicroVizMessage, resolvePraxisMicroWaterfallSteps, resolvePraxisReadingGuideMessage, resolvePraxisSchemasFilteredUrl, resolvePraxisStackedBarAriaLabel, resolvePraxisStackedBarSegments, resolvePraxisStackedBarTotal, resolvePraxisTenantRealmFromLocation, resolveQuickViewAnchorKey, resolveResourceAvailabilityReasonKey, resolveResourceIdentityContract, resolveResourceQuickViewTarget, resolveSchemaConditionalRenderers, resolveSidePanelPresetWidth, resolveSidePanelPresetWidthPx, resolveSidePanelViewportWidth, resolveSpan, resolveTextMaskFormat, resolveTextMaskFormatFromFieldDefinition, resolveValuePresentation, resolveValuePresentationLocale, resolveWidgetPageLayoutPreset, samePageSourceReference, sanitizeIntelligenceDetailText, scopeKeyByTenantRealm, serializeEntityLookupValueForPayload, serializeOptionSourceFilterRequest, serializePraxisCollectionToCsv, serializePraxisCollectionToExcel, serializePraxisCollectionToJson, shouldShowPraxisEpistemicSignificance, slugify, staticDateRangePresetToPreset, stripDraftClearedValues, stripMasksHook, supportsConfigDocuments, supportsImplicitValuePresentation, syncWithServerMetadata, synthesizeScopeBarQuickFilterItems, textSha256, toCamel, toCapitalize, toKebab, toPascal, toSentenceCase, toSnake, toTitleCase, translateDecisionInspector, translateResourceAvailabilityReason, translateResourceDiscoveryText, translateSurfaceNavigationRejected, translateSurfaceOpenFailed, translateUnavailableWorkflowMessage, trim, uiLayoutJsonIdentity, undoRuntimeFormValueApply, uniqueAsyncValidator, upsertNavigationGroupEntry, upsertPageNavigationBinding, urlValidator, validateCanvasArrangement, validateGlobalActionRef, validateGlobalActionRefs, validatePageAuthoringDocument, validatePageSourceReference, validateResourceQuickViewBinding, validateRuntimeFormValueTargetIdentity, validateRuntimeNavigationMenuNodes, withFormConfigSections, withMessage, withPraxisHttpLoading, writePersistedSidePanelWidth };