@praxisui/core 10.0.0-rc.76 → 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';
@@ -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 }}',
@@ -10732,6 +10741,15 @@ const PRAXIS_INTELLIGENCE_PT_BR = {
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
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
10755
  'praxis.intelligence.epistemic.qValueFdr': 'Índice de confiança {{ value }}',
@@ -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',
@@ -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;
@@ -18799,6 +18900,8 @@ function normalizePraxisEpistemicMeta(raw) {
18799
18900
  const rawConformity = toCleanString(raw['nigriniConformity']);
18800
18901
  const normalizedConformity = rawConformity ? normalizePraxisNigriniConformity(rawConformity) : null;
18801
18902
  const nigriniConformity = normalizedConformity ?? rawConformity;
18903
+ const nestedCard = isPlainObject(raw['modelCard']) ? raw['modelCard'] : undefined;
18904
+ const interpretationGuide = normalizePraxisModelCardInterpretationGuide(raw['interpretationGuide'] ?? nestedCard?.['interpretationGuide']);
18802
18905
  const hasAnySignal = toCleanString(rawKind) !== undefined ||
18803
18906
  toCleanString(rawAvailability) !== undefined ||
18804
18907
  rawSignificant !== undefined ||
@@ -18810,7 +18913,8 @@ function normalizePraxisEpistemicMeta(raw) {
18810
18913
  datasetKey !== undefined ||
18811
18914
  methodologyNote !== undefined ||
18812
18915
  rawNigriniMad !== undefined ||
18813
- nigriniConformity !== undefined;
18916
+ nigriniConformity !== undefined ||
18917
+ interpretationGuide !== undefined;
18814
18918
  if (!hasAnySignal) {
18815
18919
  return null;
18816
18920
  }
@@ -18842,6 +18946,66 @@ function normalizePraxisEpistemicMeta(raw) {
18842
18946
  ...(methodologyNote ? { methodologyNote } : {}),
18843
18947
  ...(nigriniMad !== undefined ? { nigriniMad } : {}),
18844
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 } : {}),
18845
19009
  };
18846
19010
  }
18847
19011
  function formatTruncatedProvenanceHash(hash) {
@@ -18998,6 +19162,9 @@ function extractAnalyticsEpistemicMetadata(source) {
18998
19162
  const nigriniConformity = toCleanString(summary?.['nigriniConformity'] ?? source['nigriniConformity']) ??
18999
19163
  directNested?.nigriniConformity ??
19000
19164
  directFlat?.nigriniConformity;
19165
+ const interpretationGuide = normalizePraxisModelCardInterpretationGuide(modelCard?.['interpretationGuide'] ?? source['interpretationGuide']) ??
19166
+ directNested?.interpretationGuide ??
19167
+ directFlat?.interpretationGuide;
19001
19168
  return normalizePraxisEpistemicMeta({
19002
19169
  ...(kind !== undefined ? { kind } : {}),
19003
19170
  ...(resolvedAvailability !== undefined ? { availabilityState: resolvedAvailability } : {}),
@@ -19011,6 +19178,7 @@ function extractAnalyticsEpistemicMetadata(source) {
19011
19178
  ...(methodologyNote !== undefined ? { methodologyNote } : {}),
19012
19179
  ...(nigriniMad !== undefined ? { nigriniMad } : {}),
19013
19180
  ...(nigriniConformity !== undefined ? { nigriniConformity } : {}),
19181
+ ...(interpretationGuide !== undefined ? { interpretationGuide } : {}),
19014
19182
  });
19015
19183
  }
19016
19184
  /** Attaches normalized epistemic metadata non-enumerably to projected chart/table rows. */
@@ -36158,6 +36326,180 @@ function assertSerializableValue(value, path, seen) {
36158
36326
  });
36159
36327
  seen.delete(value);
36160
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
+ }
36161
36503
 
36162
36504
  class PraxisRuntimeComponentObservationRegistryService {
36163
36505
  entriesSignal = signal([], ...(ngDevMode ? [{ debugName: "entriesSignal" }] : /* istanbul ignore next */ []));
@@ -36185,6 +36527,26 @@ class PraxisRuntimeComponentObservationRegistryService {
36185
36527
  .filter((result) => result.status === 'fulfilled' && this.isActiveObservation(result.value))
36186
36528
  .map((result) => result.value);
36187
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
+ }
36188
36550
  async getByInstance(instanceId) {
36189
36551
  const normalizedInstanceId = instanceId.trim();
36190
36552
  if (!normalizedInstanceId) {
@@ -52194,7 +52556,7 @@ class SurfaceOpenActionEditorComponent {
52194
52556
  </mat-form-field>
52195
52557
  </div>
52196
52558
  </div>
52197
- `, 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"] }] });
52198
52560
  }
52199
52561
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SurfaceOpenActionEditorComponent, decorators: [{
52200
52562
  type: Component,
@@ -57919,6 +58281,792 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
57919
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"] }]
57920
58282
  }], propDecorators: { avatar: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatar", required: false }] }] } });
57921
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
+
57922
59070
  const MATERIALIZATION_METADATA_INPUTS = [
57923
59071
  'schemaVerification',
57924
59072
  'schemaEvidenceSource',
@@ -57950,6 +59098,8 @@ class DynamicWidgetLoaderDirective {
57950
59098
  widgetDiagnostic = new EventEmitter();
57951
59099
  /** Transient actions contributed by the live child component to its shell. */
57952
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 */ []));
57953
59103
  compRef;
57954
59104
  currentId;
57955
59105
  currentUsesInitialBindings = false;
@@ -58271,6 +59421,7 @@ class DynamicWidgetLoaderDirective {
58271
59421
  const candidate = instance;
58272
59422
  if (!candidate || typeof candidate.widgetShellActions !== 'function') {
58273
59423
  this.contributedShellActions.set([]);
59424
+ this.contributedShellReadingGuide.set(null);
58274
59425
  return;
58275
59426
  }
58276
59427
  const contributor = candidate;
@@ -58279,6 +59430,10 @@ class DynamicWidgetLoaderDirective {
58279
59430
  this.shellActionContributionEffect = effect(() => {
58280
59431
  const actions = contributor.widgetShellActions();
58281
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);
58282
59437
  }, { ...(ngDevMode ? { debugName: "shellActionContributionEffect" } : /* istanbul ignore next */ {}), injector: this.injector });
58283
59438
  }
58284
59439
  releaseShellActionContributor() {
@@ -58287,6 +59442,7 @@ class DynamicWidgetLoaderDirective {
58287
59442
  this.shellActionContributor?.setWidgetShellActionHostActive?.(false);
58288
59443
  this.shellActionContributor = undefined;
58289
59444
  this.contributedShellActions.set([]);
59445
+ this.contributedShellReadingGuide.set(null);
58290
59446
  }
58291
59447
  cloneValue(value) {
58292
59448
  if (value == null || typeof value !== 'object') {
@@ -59706,9 +60862,20 @@ class WidgetShellComponent {
59706
60862
  const direct = this.directContributor();
59707
60863
  return direct ? direct.widgetShellActions() : [];
59708
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 */ []));
59709
60875
  resolvedHeaderLayoutSnapshot = computed(() => {
59710
60876
  const shell = this.shellInput();
59711
60877
  const contributed = this.activeContributedActions();
60878
+ this.activeContributedReadingGuide();
59712
60879
  const width = this.headerWidth();
59713
60880
  const compact = this.compactHeader();
59714
60881
  const fontScale = this.rootFontScale();
@@ -60077,7 +61244,12 @@ class WidgetShellComponent {
60077
61244
  this.scrollObservedBody = body;
60078
61245
  }
60079
61246
  const measure = measureWidgetShellHeight(shell);
60080
- 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);
60081
61253
  if (this.scrollRecovery() !== recovery) {
60082
61254
  this.scrollRecovery.set(recovery);
60083
61255
  // A scroll position in the outer shell must not hide its header after recovery.
@@ -60196,6 +61368,13 @@ class WidgetShellComponent {
60196
61368
  this.initializedWindowState = true;
60197
61369
  this.lastWindowStateInputs = next;
60198
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
+ }
60199
61378
  get shellEnabled() {
60200
61379
  return !!this.shell && this.shell.kind !== 'none';
60201
61380
  }
@@ -60212,6 +61391,7 @@ class WidgetShellComponent {
60212
61391
  this.shell?.subtitle ||
60213
61392
  this.shell?.avatar ||
60214
61393
  this.shell?.icon ||
61394
+ this.hasHeaderReadingGuide ||
60215
61395
  this.shell?.tabs?.length ||
60216
61396
  layout.visibleActions.length ||
60217
61397
  layout.overflowActions.length ||
@@ -60896,6 +62076,44 @@ class WidgetShellComponent {
60896
62076
  this.restoreOverlayFocus();
60897
62077
  this.changeDetector.markForCheck();
60898
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
+ }
60899
62117
  onOverlayEscape(event) {
60900
62118
  if (event.defaultPrevented || (!this.expanded && !this.fullscreen))
60901
62119
  return;
@@ -61072,7 +62290,7 @@ class WidgetShellComponent {
61072
62290
  }
61073
62291
  isInteractiveHeaderTarget(target) {
61074
62292
  return target instanceof HTMLElement
61075
- ? !!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]')
61076
62294
  : false;
61077
62295
  }
61078
62296
  t(key, fallback) {
@@ -61091,6 +62309,7 @@ class WidgetShellComponent {
61091
62309
  bodyLayout: shell.resolvedBodyLayout,
61092
62310
  fillAvailable: shell.fillAvailable,
61093
62311
  isOverlayWindow: shell.isOverlayWindow,
62312
+ setWindowState: (state, trigger) => shell.setWindowState(state, trigger),
61094
62313
  };
61095
62314
  },
61096
62315
  },
@@ -61300,6 +62519,16 @@ class WidgetShellComponent {
61300
62519
  </div>
61301
62520
  }
61302
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
+ }
61303
62532
  @if (overflowHeaderActions.length) {
61304
62533
  <button
61305
62534
  praxisIconButton="ms:more_horiz"
@@ -61442,7 +62671,7 @@ class WidgetShellComponent {
61442
62671
  @if (expanded || fullscreen) {
61443
62672
  <div class="pdx-shell-backdrop" (click)="closeOverlay()"></div>
61444
62673
  }
61445
- `, 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;min-height:100%;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: 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 });
61446
62675
  }
61447
62676
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: WidgetShellComponent, decorators: [{
61448
62677
  type: Component,
@@ -61454,6 +62683,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61454
62683
  MatTooltipModule,
61455
62684
  PraxisIconButtonComponent,
61456
62685
  PraxisIconDirective,
62686
+ PraxisIndicatorGuidePopoverComponent,
61457
62687
  ], providers: [
61458
62688
  providePraxisI18nConfig(WIDGET_SHELL_I18N_CONFIG),
61459
62689
  ...provideWidgetTransientOverlays(),
@@ -61466,6 +62696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61466
62696
  bodyLayout: shell.resolvedBodyLayout,
61467
62697
  fillAvailable: shell.fillAvailable,
61468
62698
  isOverlayWindow: shell.isOverlayWindow,
62699
+ setWindowState: (state, trigger) => shell.setWindowState(state, trigger),
61469
62700
  };
61470
62701
  },
61471
62702
  },
@@ -61681,6 +62912,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61681
62912
  </div>
61682
62913
  }
61683
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
+ }
61684
62925
  @if (overflowHeaderActions.length) {
61685
62926
  <button
61686
62927
  praxisIconButton="ms:more_horiz"
@@ -61823,7 +63064,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
61823
63064
  @if (expanded || fullscreen) {
61824
63065
  <div class="pdx-shell-backdrop" (click)="closeOverlay()"></div>
61825
63066
  }
61826
- `, 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;min-height:100%;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"] }]
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"] }]
61827
63068
  }], ctorParameters: () => [], propDecorators: { hostCollapsed: [{
61828
63069
  type: HostBinding,
61829
63070
  args: ['class.pdx-widget-shell-collapsed']
@@ -68098,7 +69339,7 @@ class CanvasSizeEditorComponent {
68098
69339
  </div>
68099
69340
  }
68100
69341
  </section>
68101
- `, 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 });
68102
69343
  }
68103
69344
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: CanvasSizeEditorComponent, decorators: [{
68104
69345
  type: Component,
@@ -68539,7 +69780,7 @@ class DynamicWidgetContextToolbarComponent {
68539
69780
  </mat-menu>
68540
69781
  }
68541
69782
  </div>
68542
- `, 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 });
68543
69784
  }
68544
69785
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DynamicWidgetContextToolbarComponent, decorators: [{
68545
69786
  type: Component,
@@ -79787,7 +81028,7 @@ class DynamicWidgetPageComponent {
79787
81028
  </div>
79788
81029
  }
79789
81030
  </div>
79790
- `, 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", "constrainedHeight"], 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"] }] });
79791
81032
  }
79792
81033
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DynamicWidgetPageComponent, decorators: [{
79793
81034
  type: Component,
@@ -84234,7 +85475,7 @@ class PraxisIconPickerComponent {
84234
85475
  }
84235
85476
  }
84236
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 });
84237
- 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 });
84238
85479
  }
84239
85480
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIconPickerComponent, decorators: [{
84240
85481
  type: Component,
@@ -85713,7 +86954,7 @@ class EmptyStateCardComponent {
85713
86954
  </div>
85714
86955
  </mat-card-content>
85715
86956
  </mat-card>
85716
- `, 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"] }] });
85717
86958
  }
85718
86959
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: EmptyStateCardComponent, decorators: [{
85719
86960
  type: Component,
@@ -90093,7 +91334,7 @@ class SchemaViewerComponent {
90093
91334
  </mat-tab-group>
90094
91335
  </mat-card-content>
90095
91336
  </mat-card>
90096
- `, 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 });
90097
91338
  }
90098
91339
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SchemaViewerComponent, decorators: [{
90099
91340
  type: Component,
@@ -92485,10 +93726,15 @@ class PraxisAppShellComponent {
92485
93726
  router = inject(Router);
92486
93727
  currentRouterUrl = toSignal(this.router.events.pipe(filter((ev) => ev instanceof NavigationEnd), map((ev) => ev.urlAfterRedirects || ev.url)), { initialValue: this.router.url || '' });
92487
93728
  activeNavGroup = computed(() => {
92488
- const url = (this.currentRouterUrl() || this.router.url || '').split('?')[0].split('#')[0];
93729
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
92489
93730
  this.router.lastSuccessfulNavigation();
92490
93731
  for (const group of this.navigationGroups()) {
92491
- 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));
92492
93738
  if (matched) {
92493
93739
  return group;
92494
93740
  }
@@ -92499,9 +93745,11 @@ class PraxisAppShellComponent {
92499
93745
  const group = this.activeNavGroup();
92500
93746
  if (!group)
92501
93747
  return null;
92502
- const url = (this.currentRouterUrl() || this.router.url || '').split('?')[0].split('#')[0];
93748
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
92503
93749
  this.router.lastSuccessfulNavigation();
92504
- 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);
92505
93753
  }, ...(ngDevMode ? [{ debugName: "activeNavItem" }] : /* istanbul ignore next */ []));
92506
93754
  resolvedBreadcrumbs = computed(() => {
92507
93755
  const explicit = this.breadcrumbs();
@@ -92601,8 +93849,9 @@ class PraxisAppShellComponent {
92601
93849
  return this.mobileOpen() ? [primary, ...this.overflowGroups()] : [primary];
92602
93850
  }, ...(ngDevMode ? [{ debugName: "sidebarGroups" }] : /* istanbul ignore next */ []));
92603
93851
  overflowRouteActive = computed(() => {
93852
+ const fullUrl = (this.currentRouterUrl() || this.router.url || '').split('#')[0];
92604
93853
  this.router.lastSuccessfulNavigation();
92605
- 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)));
92606
93855
  }, ...(ngDevMode ? [{ debugName: "overflowRouteActive" }] : /* istanbul ignore next */ []));
92607
93856
  moreOpenButton = viewChild('moreOpenButton', ...(ngDevMode ? [{ debugName: "moreOpenButton" }] : /* istanbul ignore next */ []));
92608
93857
  moreCloseButton = viewChild('moreCloseButton', ...(ngDevMode ? [{ debugName: "moreCloseButton" }] : /* istanbul ignore next */ []));
@@ -92756,21 +94005,180 @@ class PraxisAppShellComponent {
92756
94005
  this._subTabsPinnedOverride.set(next);
92757
94006
  this.subTabsPinChange.emit(next);
92758
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
+ }
92759
94147
  matchesNavItem(item, currentUrl) {
92760
94148
  if (item.disabled)
92761
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
+ }
92762
94156
  try {
92763
- if (this.router.isActive(item.path, item.exact ?? (item.path === '/'))) {
94157
+ if (this.router.isActive(item.path, this.navItemRouterLinkActiveOptions(item))) {
92764
94158
  return true;
92765
94159
  }
92766
94160
  }
92767
94161
  catch { }
92768
94162
  if (!currentUrl)
92769
94163
  return false;
92770
- if (item.exact || item.path === '/') {
92771
- 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;
92772
94179
  }
92773
- return currentUrl === item.path || currentUrl.startsWith(`${item.path}/`);
94180
+ return (normalizedCurrentPath === normalizedItemPath ||
94181
+ normalizedCurrentPath.startsWith(`${normalizedItemPath}/`));
92774
94182
  }
92775
94183
  toggleCollapse() {
92776
94184
  this.collapsed = !this.collapsed;
@@ -93217,8 +94625,10 @@ class PraxisAppShellComponent {
93217
94625
  @for (item of pinnedNavItems(); track item.path) {
93218
94626
  <div class="praxis-shell__quick-chip">
93219
94627
  <a
93220
- [routerLink]="item.path"
94628
+ [routerLink]="navItemRoutePath(item)"
94629
+ [queryParams]="navItemQueryParams(item)"
93221
94630
  routerLinkActive="active"
94631
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93222
94632
  (click)="onItemClick(item)"
93223
94633
  class="praxis-shell__quick-chip-link"
93224
94634
  >
@@ -93252,8 +94662,10 @@ class PraxisAppShellComponent {
93252
94662
  @for (item of recentNavItems(); track item.path) {
93253
94663
  <div class="praxis-shell__quick-chip">
93254
94664
  <a
93255
- [routerLink]="item.path"
94665
+ [routerLink]="navItemRoutePath(item)"
94666
+ [queryParams]="navItemQueryParams(item)"
93256
94667
  routerLinkActive="active"
94668
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93257
94669
  (click)="onItemClick(item)"
93258
94670
  class="praxis-shell__quick-chip-link"
93259
94671
  >
@@ -93296,10 +94708,11 @@ class PraxisAppShellComponent {
93296
94708
  @for (item of group.items; track item.path) {
93297
94709
  <li class="praxis-shell__nav-item" [class.praxis-shell__nav-item--pinnable]="allowPin">
93298
94710
  <a
93299
- [routerLink]="item.path"
94711
+ [routerLink]="navItemRoutePath(item)"
94712
+ [queryParams]="navItemQueryParams(item)"
93300
94713
  routerLinkActive="active"
93301
94714
  ariaCurrentWhenActive="page"
93302
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
94715
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93303
94716
  (click)="onItemClick(item)"
93304
94717
  class="praxis-shell__nav-link"
93305
94718
  [class.disabled]="item.disabled"
@@ -93465,7 +94878,8 @@ class PraxisAppShellComponent {
93465
94878
  }
93466
94879
  @if (crumb.path && !isLast) {
93467
94880
  <a
93468
- [routerLink]="crumb.path"
94881
+ [routerLink]="routePathOf(crumb.path)"
94882
+ [queryParams]="routeQueryParamsOf(crumb.path)"
93469
94883
  class="praxis-shell__breadcrumb-link"
93470
94884
  (click)="breadcrumbClick.emit(crumb)"
93471
94885
  >
@@ -93688,9 +95102,10 @@ class PraxisAppShellComponent {
93688
95102
  @if (!item.disabled) {
93689
95103
  <a
93690
95104
  class="praxis-shell__subtab"
93691
- [routerLink]="item.path"
95105
+ [routerLink]="navItemRoutePath(item)"
95106
+ [queryParams]="navItemQueryParams(item)"
93692
95107
  routerLinkActive="praxis-shell__subtab--active"
93693
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
95108
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
93694
95109
  (click)="onItemClick(item)"
93695
95110
  >
93696
95111
  @if (item.icon) {
@@ -94033,8 +95448,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94033
95448
  @for (item of pinnedNavItems(); track item.path) {
94034
95449
  <div class="praxis-shell__quick-chip">
94035
95450
  <a
94036
- [routerLink]="item.path"
95451
+ [routerLink]="navItemRoutePath(item)"
95452
+ [queryParams]="navItemQueryParams(item)"
94037
95453
  routerLinkActive="active"
95454
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
94038
95455
  (click)="onItemClick(item)"
94039
95456
  class="praxis-shell__quick-chip-link"
94040
95457
  >
@@ -94068,8 +95485,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94068
95485
  @for (item of recentNavItems(); track item.path) {
94069
95486
  <div class="praxis-shell__quick-chip">
94070
95487
  <a
94071
- [routerLink]="item.path"
95488
+ [routerLink]="navItemRoutePath(item)"
95489
+ [queryParams]="navItemQueryParams(item)"
94072
95490
  routerLinkActive="active"
95491
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
94073
95492
  (click)="onItemClick(item)"
94074
95493
  class="praxis-shell__quick-chip-link"
94075
95494
  >
@@ -94112,10 +95531,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94112
95531
  @for (item of group.items; track item.path) {
94113
95532
  <li class="praxis-shell__nav-item" [class.praxis-shell__nav-item--pinnable]="allowPin">
94114
95533
  <a
94115
- [routerLink]="item.path"
95534
+ [routerLink]="navItemRoutePath(item)"
95535
+ [queryParams]="navItemQueryParams(item)"
94116
95536
  routerLinkActive="active"
94117
95537
  ariaCurrentWhenActive="page"
94118
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
95538
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
94119
95539
  (click)="onItemClick(item)"
94120
95540
  class="praxis-shell__nav-link"
94121
95541
  [class.disabled]="item.disabled"
@@ -94281,7 +95701,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94281
95701
  }
94282
95702
  @if (crumb.path && !isLast) {
94283
95703
  <a
94284
- [routerLink]="crumb.path"
95704
+ [routerLink]="routePathOf(crumb.path)"
95705
+ [queryParams]="routeQueryParamsOf(crumb.path)"
94285
95706
  class="praxis-shell__breadcrumb-link"
94286
95707
  (click)="breadcrumbClick.emit(crumb)"
94287
95708
  >
@@ -94504,9 +95925,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
94504
95925
  @if (!item.disabled) {
94505
95926
  <a
94506
95927
  class="praxis-shell__subtab"
94507
- [routerLink]="item.path"
95928
+ [routerLink]="navItemRoutePath(item)"
95929
+ [queryParams]="navItemQueryParams(item)"
94508
95930
  routerLinkActive="praxis-shell__subtab--active"
94509
- [routerLinkActiveOptions]="{ exact: item.exact ?? (item.path === '/') }"
95931
+ [routerLinkActiveOptions]="navItemRouterLinkActiveOptions(item)"
94510
95932
  (click)="onItemClick(item)"
94511
95933
  >
94512
95934
  @if (item.icon) {
@@ -94898,8 +96320,8 @@ const MAX_DISTINCT_KPI_QUERIES_PER_PAGE = 24;
94898
96320
  const FORM_INPUTS = ['config', 'mode', 'emptyState', 'presentationModeGlobal', 'backConfig',
94899
96321
  'presentation', 'notifyIfOutdated', 'snoozeMs', 'autoOpenSettingsOnOutdated'];
94900
96322
  const TABLE_INPUTS = ['config', 'resourcePath', 'horizontalScroll'];
94901
- const CHART_INPUTS = ['config', 'chartDocument', 'resourceKey', 'resourcePath', 'projectionKey', 'queryContext', 'epistemicBadgeVariant'];
94902
- 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'];
94903
96325
  const KPI_CARD_INPUTS = ['config', 'queryContext', 'density'];
94904
96326
  const LIST_INPUTS = ['config', 'resourcePath', 'queryContext'];
94905
96327
  const RICH_CONTENT_INPUTS = ['config', 'document', 'presetId', 'context'];
@@ -94974,6 +96396,7 @@ const ANALYTICS_PRESENTATION_INPUTS = [
94974
96396
  'controlsPlacement',
94975
96397
  'controlsDisplay',
94976
96398
  'chartDocumentOverrides',
96399
+ 'showExplainWithAiAction',
94977
96400
  ];
94978
96401
  const GOVERNED_PAGE_ADMITTED_WIDGET_IDS = [
94979
96402
  'praxis-dynamic-form',
@@ -95340,6 +96763,14 @@ class ProfileCheck {
95340
96763
  if (input !== null && typeof input !== 'boolean')
95341
96764
  this.fail(at);
95342
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;
95343
96774
  case 'topology':
95344
96775
  this.oneOf(input, at, ['orthogonal-compact', 'pillars', 'curved-hub', 'radial-360']);
95345
96776
  break;
@@ -95421,8 +96852,11 @@ class ProfileCheck {
95421
96852
  return canonical;
95422
96853
  }
95423
96854
  kpiTextValue(value, path) {
96855
+ this.textValue(value, path, 160);
96856
+ }
96857
+ textValue(value, path, maxLength = 160) {
95424
96858
  if (typeof value === 'string') {
95425
- this.text(value, path, 160);
96859
+ this.text(value, path, maxLength);
95426
96860
  return;
95427
96861
  }
95428
96862
  if (!this.object(value, path, ['key', 'text', 'params']))
@@ -95435,7 +96869,7 @@ class ProfileCheck {
95435
96869
  if (hasKey)
95436
96870
  this.text(value['key'], `${path}/key`, 160);
95437
96871
  if (hasText)
95438
- this.text(value['text'], `${path}/text`, 160);
96872
+ this.text(value['text'], `${path}/text`, maxLength);
95439
96873
  if (Object.prototype.hasOwnProperty.call(value, 'params')) {
95440
96874
  const params = value['params'];
95441
96875
  if (!isRecord$1(params) || Object.keys(params).length > 16) {
@@ -95454,6 +96888,56 @@ class ProfileCheck {
95454
96888
  }
95455
96889
  }
95456
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
+ }
95457
96941
  kpiStripConfig(value, path, distinctKpiQueries) {
95458
96942
  if (!this.object(value, path, ['schemaVersion', 'title', 'columns', 'minCardWidthPx', 'density', 'cards'], ['schemaVersion', 'cards'])) {
95459
96943
  return;
@@ -95500,7 +96984,7 @@ class ProfileCheck {
95500
96984
  }
95501
96985
  }
95502
96986
  kpiPresentation(value, path) {
95503
- 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'])) {
95504
96988
  return;
95505
96989
  }
95506
96990
  this.kpiTextValue(value['label'], `${path}/label`);
@@ -95544,6 +97028,9 @@ class ProfileCheck {
95544
97028
  if (Object.prototype.hasOwnProperty.call(value, 'badgeContextLabel')) {
95545
97029
  this.kpiTextValue(value['badgeContextLabel'], `${path}/badgeContextLabel`);
95546
97030
  }
97031
+ if (Object.prototype.hasOwnProperty.call(value, 'readingGuide')) {
97032
+ this.readingGuide(value['readingGuide'], `${path}/readingGuide`);
97033
+ }
95547
97034
  }
95548
97035
  kpiMetricRequest(value, path) {
95549
97036
  if (!this.object(value, path, ['operation', 'field', 'alias'], ['operation']))
@@ -95979,7 +97466,7 @@ class ProfileCheck {
95979
97466
  }
95980
97467
  }
95981
97468
  shell(value, path) {
95982
- if (!this.object(value, path, ['kind', 'title', 'subtitle', 'icon', 'showHeader']))
97469
+ if (!this.object(value, path, ['kind', 'title', 'subtitle', 'icon', 'showHeader', 'readingGuide']))
95983
97470
  return;
95984
97471
  if (Object.prototype.hasOwnProperty.call(value, 'kind'))
95985
97472
  this.oneOf(value['kind'], `${path}/kind`, ['dashboard-card', 'none']);
@@ -95992,6 +97479,9 @@ class ProfileCheck {
95992
97479
  if (Object.prototype.hasOwnProperty.call(value, 'showHeader') && typeof value['showHeader'] !== 'boolean') {
95993
97480
  this.fail(`${path}/showHeader`);
95994
97481
  }
97482
+ if (Object.prototype.hasOwnProperty.call(value, 'readingGuide')) {
97483
+ this.readingGuide(value['readingGuide'], `${path}/readingGuide`);
97484
+ }
95995
97485
  }
95996
97486
  canvas(value, path, widgets) {
95997
97487
  if (!this.object(value, path, ['mode', 'columns', 'rowUnit', 'gap', 'autoRows', 'collisionPolicy', 'items'], ['mode', 'columns', 'items']))
@@ -96733,6 +98223,7 @@ function evaluatePraxisKpiDerivation(spec, envelope, context = {}) {
96733
98223
  ariaLabel: composeAriaLabel(label, headlineValue, undefined, statusHint, false, tMicro),
96734
98224
  visualization: null,
96735
98225
  ...(includeProvenance ? { provenance: buildProvenance(status === 'suppressed' ? statusHint : undefined) } : {}),
98226
+ ...(spec.presentation.readingGuide ? { readingGuide: spec.presentation.readingGuide } : {}),
96736
98227
  });
96737
98228
  if (!envelope) {
96738
98229
  return buildTerminalViewModel('loading', '', tMicro('praxis.microViz.kpi.status.loading', undefined, 'Carregando indicador…'), baseTone, false);
@@ -96776,6 +98267,7 @@ function evaluatePraxisKpiDerivation(spec, envelope, context = {}) {
96776
98267
  ariaLabel: composeAriaLabel(label, params.headlineValue, params.badgeText, params.statusHint, active, tMicro),
96777
98268
  visualization: params.visualization,
96778
98269
  provenance: buildProvenance(suppressionNote),
98270
+ ...(spec.presentation.readingGuide ? { readingGuide: spec.presentation.readingGuide } : {}),
96779
98271
  };
96780
98272
  };
96781
98273
  if (derivation.kind === 'timeseries-summary') {
@@ -98329,7 +99821,13 @@ class PraxisEpistemicBadgeComponent {
98329
99821
  variant = input('compact', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
98330
99822
  showCopyHash = input(true, { ...(ngDevMode ? { debugName: "showCopyHash" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
98331
99823
  showMethodologyNote = input(true, { ...(ngDevMode ? { debugName: "showMethodologyNote" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
99824
+ showReadingGuide = input(true, { ...(ngDevMode ? { debugName: "showReadingGuide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
98332
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 */ []));
98333
99831
  provenanceCopied = output();
98334
99832
  compactDetailsId = `prx-epistemic-details-${++epistemicBadgeDetailsSeq}`;
98335
99833
  copiedHash = signal(false, ...(ngDevMode ? [{ debugName: "copiedHash" }] : /* istanbul ignore next */ []));
@@ -98370,6 +99868,17 @@ class PraxisEpistemicBadgeComponent {
98370
99868
  return active || this.i18n?.getLocale?.() || 'pt-BR';
98371
99869
  }, ...(ngDevMode ? [{ debugName: "activeLocale" }] : /* istanbul ignore next */ []));
98372
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 */ []));
98373
99882
  epistemicKind = computed(() => normalizePraxisEpistemicKind(this.normalizedMeta()?.kind), ...(ngDevMode ? [{ debugName: "epistemicKind" }] : /* istanbul ignore next */ []));
98374
99883
  availabilityState = computed(() => normalizePraxisEpistemicAvailabilityState(this.normalizedMeta()?.availabilityState), ...(ngDevMode ? [{ debugName: "availabilityState" }] : /* istanbul ignore next */ []));
98375
99884
  isAvailable = computed(() => this.availabilityState() === 'AVAILABLE', ...(ngDevMode ? [{ debugName: "isAvailable" }] : /* istanbul ignore next */ []));
@@ -98409,6 +99918,31 @@ class PraxisEpistemicBadgeComponent {
98409
99918
  }
98410
99919
  return `${this.t('praxis.intelligence.epistemic.nigriniLabel')}: ${parts.join(' · ')}`;
98411
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 */ []));
98412
99946
  hasCompactDetails = computed(() => {
98413
99947
  const m = this.normalizedMeta();
98414
99948
  if (!m) {
@@ -98419,7 +99953,8 @@ class PraxisEpistemicBadgeComponent {
98419
99953
  Boolean(m.modelCardId) ||
98420
99954
  Boolean(m.datasetKey) ||
98421
99955
  Boolean(m.provenanceHash) ||
98422
- (this.showMethodologyNote() && Boolean(m.methodologyNote)));
99956
+ (this.showMethodologyNote() && Boolean(m.methodologyNote)) ||
99957
+ this.showInlineGuide());
98423
99958
  }, ...(ngDevMode ? [{ debugName: "hasCompactDetails" }] : /* istanbul ignore next */ []));
98424
99959
  hasDetailedMetrics = computed(() => {
98425
99960
  const m = this.normalizedMeta();
@@ -98465,6 +100000,26 @@ class PraxisEpistemicBadgeComponent {
98465
100000
  this.i18n?.activeLocale?.();
98466
100001
  return this.t(`praxis.intelligence.epistemic.kind.${kind}`);
98467
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
+ }
98468
100023
  stateLabel(state) {
98469
100024
  this.i18n?.activeLocale?.();
98470
100025
  return this.t(`praxis.intelligence.epistemic.state.${state}`);
@@ -98590,7 +100145,7 @@ class PraxisEpistemicBadgeComponent {
98590
100145
  return resolvePraxisIntelligenceMessage(this.i18n, key, params);
98591
100146
  }
98592
100147
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisEpistemicBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
98593
- 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: `
98594
100149
  @if (normalizedMeta(); as m) {
98595
100150
  @let kind = epistemicKind();
98596
100151
  @let state = availabilityState();
@@ -98609,6 +100164,7 @@ class PraxisEpistemicBadgeComponent {
98609
100164
  <span
98610
100165
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98611
100166
  [attr.data-kind]="kind"
100167
+ [matTooltip]="kindTooltip(kind)"
98612
100168
  [attr.data-testid]="testIdPrefix() + '-kind'"
98613
100169
  >
98614
100170
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98630,6 +100186,7 @@ class PraxisEpistemicBadgeComponent {
98630
100186
  @if (suppressedCount() > 0) {
98631
100187
  <span
98632
100188
  class="prx-epistemic-pill prx-epistemic-pill--warn"
100189
+ [matTooltip]="suppressedTooltip()"
98633
100190
  [attr.data-testid]="testIdPrefix() + '-suppressed-chip'"
98634
100191
  >
98635
100192
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98640,6 +100197,7 @@ class PraxisEpistemicBadgeComponent {
98640
100197
  @if (!blocked && qValueDisplay(); as qText) {
98641
100198
  <span
98642
100199
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100200
+ [matTooltip]="qValueTooltip()"
98643
100201
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98644
100202
  >
98645
100203
  {{ qValueLabel(qText) }}
@@ -98649,12 +100207,22 @@ class PraxisEpistemicBadgeComponent {
98649
100207
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98650
100208
  <span
98651
100209
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100210
+ [matTooltip]="sampleSizeTooltip()"
98652
100211
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98653
100212
  >
98654
100213
  {{ sampleSizeLabel(m.sampleSize) }}
98655
100214
  </span>
98656
100215
  }
98657
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
+
98658
100226
  @if (hasCompactDetails()) {
98659
100227
  <button
98660
100228
  type="button"
@@ -98685,6 +100253,7 @@ class PraxisEpistemicBadgeComponent {
98685
100253
  @if (nigriniDisplay(); as nigriniText) {
98686
100254
  <span
98687
100255
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100256
+ [matTooltip]="nigriniTooltip()"
98688
100257
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
98689
100258
  >
98690
100259
  {{ nigriniText }}
@@ -98738,6 +100307,26 @@ class PraxisEpistemicBadgeComponent {
98738
100307
  {{ m.methodologyNote }}
98739
100308
  </p>
98740
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
+ }
98741
100330
  </div>
98742
100331
  }
98743
100332
  </div>
@@ -98756,6 +100345,7 @@ class PraxisEpistemicBadgeComponent {
98756
100345
  <span
98757
100346
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98758
100347
  [attr.data-kind]="kind"
100348
+ [matTooltip]="kindTooltip(kind)"
98759
100349
  [attr.data-testid]="testIdPrefix() + '-kind'"
98760
100350
  >
98761
100351
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98780,6 +100370,15 @@ class PraxisEpistemicBadgeComponent {
98780
100370
  </span>
98781
100371
  }
98782
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
+ }
98783
100382
  </div>
98784
100383
 
98785
100384
  @if (blocked) {
@@ -98798,6 +100397,7 @@ class PraxisEpistemicBadgeComponent {
98798
100397
  <div
98799
100398
  class="prx-epistemic__alert prx-epistemic__alert--warn"
98800
100399
  role="alert"
100400
+ [matTooltip]="suppressedTooltip()"
98801
100401
  [attr.data-testid]="testIdPrefix() + '-suppressed-alert'"
98802
100402
  >
98803
100403
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98810,6 +100410,7 @@ class PraxisEpistemicBadgeComponent {
98810
100410
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98811
100411
  <span
98812
100412
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100413
+ [matTooltip]="sampleSizeTooltip()"
98813
100414
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98814
100415
  >
98815
100416
  {{ sampleSizeLabel(m.sampleSize) }}
@@ -98819,6 +100420,7 @@ class PraxisEpistemicBadgeComponent {
98819
100420
  @if (!blocked && qValueDisplay(); as qText) {
98820
100421
  <span
98821
100422
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100423
+ [matTooltip]="qValueTooltip()"
98822
100424
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98823
100425
  >
98824
100426
  {{ qValueLabel(qText) }}
@@ -98838,6 +100440,7 @@ class PraxisEpistemicBadgeComponent {
98838
100440
  @if (nigriniDisplay(); as nigriniText) {
98839
100441
  <span
98840
100442
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100443
+ [matTooltip]="nigriniTooltip()"
98841
100444
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
98842
100445
  >
98843
100446
  {{ nigriniText }}
@@ -98887,14 +100490,35 @@ class PraxisEpistemicBadgeComponent {
98887
100490
  {{ m.methodologyNote }}
98888
100491
  </p>
98889
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
+ }
98890
100514
  </section>
98891
100515
  }
98892
100516
  }
98893
- `, 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 });
98894
100518
  }
98895
100519
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisEpistemicBadgeComponent, decorators: [{
98896
100520
  type: Component,
98897
- 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: {
98898
100522
  class: 'praxis-epistemic-badge-host',
98899
100523
  }, template: `
98900
100524
  @if (normalizedMeta(); as m) {
@@ -98915,6 +100539,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98915
100539
  <span
98916
100540
  class="prx-epistemic-pill prx-epistemic-pill--kind"
98917
100541
  [attr.data-kind]="kind"
100542
+ [matTooltip]="kindTooltip(kind)"
98918
100543
  [attr.data-testid]="testIdPrefix() + '-kind'"
98919
100544
  >
98920
100545
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -98936,6 +100561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98936
100561
  @if (suppressedCount() > 0) {
98937
100562
  <span
98938
100563
  class="prx-epistemic-pill prx-epistemic-pill--warn"
100564
+ [matTooltip]="suppressedTooltip()"
98939
100565
  [attr.data-testid]="testIdPrefix() + '-suppressed-chip'"
98940
100566
  >
98941
100567
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -98946,6 +100572,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98946
100572
  @if (!blocked && qValueDisplay(); as qText) {
98947
100573
  <span
98948
100574
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100575
+ [matTooltip]="qValueTooltip()"
98949
100576
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
98950
100577
  >
98951
100578
  {{ qValueLabel(qText) }}
@@ -98955,12 +100582,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98955
100582
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
98956
100583
  <span
98957
100584
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100585
+ [matTooltip]="sampleSizeTooltip()"
98958
100586
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
98959
100587
  >
98960
100588
  {{ sampleSizeLabel(m.sampleSize) }}
98961
100589
  </span>
98962
100590
  }
98963
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
+
98964
100601
  @if (hasCompactDetails()) {
98965
100602
  <button
98966
100603
  type="button"
@@ -98991,6 +100628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
98991
100628
  @if (nigriniDisplay(); as nigriniText) {
98992
100629
  <span
98993
100630
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100631
+ [matTooltip]="nigriniTooltip()"
98994
100632
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
98995
100633
  >
98996
100634
  {{ nigriniText }}
@@ -99044,6 +100682,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99044
100682
  {{ m.methodologyNote }}
99045
100683
  </p>
99046
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
+ }
99047
100705
  </div>
99048
100706
  }
99049
100707
  </div>
@@ -99062,6 +100720,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99062
100720
  <span
99063
100721
  class="prx-epistemic-pill prx-epistemic-pill--kind"
99064
100722
  [attr.data-kind]="kind"
100723
+ [matTooltip]="kindTooltip(kind)"
99065
100724
  [attr.data-testid]="testIdPrefix() + '-kind'"
99066
100725
  >
99067
100726
  <mat-icon aria-hidden="true">{{ kindIcon(kind) }}</mat-icon>
@@ -99086,6 +100745,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99086
100745
  </span>
99087
100746
  }
99088
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
+ }
99089
100757
  </div>
99090
100758
 
99091
100759
  @if (blocked) {
@@ -99104,6 +100772,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99104
100772
  <div
99105
100773
  class="prx-epistemic__alert prx-epistemic__alert--warn"
99106
100774
  role="alert"
100775
+ [matTooltip]="suppressedTooltip()"
99107
100776
  [attr.data-testid]="testIdPrefix() + '-suppressed-alert'"
99108
100777
  >
99109
100778
  <mat-icon aria-hidden="true">visibility_off</mat-icon>
@@ -99116,6 +100785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99116
100785
  @if (m.sampleSize !== undefined && m.sampleSize !== null) {
99117
100786
  <span
99118
100787
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100788
+ [matTooltip]="sampleSizeTooltip()"
99119
100789
  [attr.data-testid]="testIdPrefix() + '-sample-size'"
99120
100790
  >
99121
100791
  {{ sampleSizeLabel(m.sampleSize) }}
@@ -99125,6 +100795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99125
100795
  @if (!blocked && qValueDisplay(); as qText) {
99126
100796
  <span
99127
100797
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100798
+ [matTooltip]="qValueTooltip()"
99128
100799
  [attr.data-testid]="testIdPrefix() + '-qvalue'"
99129
100800
  >
99130
100801
  {{ qValueLabel(qText) }}
@@ -99144,6 +100815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99144
100815
  @if (nigriniDisplay(); as nigriniText) {
99145
100816
  <span
99146
100817
  class="prx-epistemic-metric prx-epistemic-metric--mono"
100818
+ [matTooltip]="nigriniTooltip()"
99147
100819
  [attr.data-testid]="testIdPrefix() + '-nigrini'"
99148
100820
  >
99149
100821
  {{ nigriniText }}
@@ -99193,11 +100865,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
99193
100865
  {{ m.methodologyNote }}
99194
100866
  </p>
99195
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
+ }
99196
100889
  </section>
99197
100890
  }
99198
100891
  }
99199
- `, 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"] }]
99200
- }], 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"] }] } });
99201
100894
 
99202
100895
  const PRAXIS_EPISTEMIC_BADGE_METADATA = {
99203
100896
  id: 'widget:epistemic-badge',
@@ -99234,6 +100927,48 @@ const PRAXIS_EPISTEMIC_BADGE_METADATA = {
99234
100927
  description: 'Exibe a nota metodológica sanitizada quando presente.',
99235
100928
  default: true,
99236
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
+ },
99237
100972
  {
99238
100973
  name: 'testIdPrefix',
99239
100974
  type: 'string',
@@ -99944,7 +101679,7 @@ class PraxisIntelligenceJobStatusComponent {
99944
101679
  </span>
99945
101680
  </section>
99946
101681
  }
99947
- `, 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 });
99948
101683
  }
99949
101684
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisIntelligenceJobStatusComponent, decorators: [{
99950
101685
  type: Component,
@@ -100237,4 +101972,4 @@ function providePraxisIntelligenceJobStatusMetadata() {
100237
101972
  * Generated bundle index. Do not edit.
100238
101973
  */
100239
101974
 
100240
- 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_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, 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, 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, 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 };