@eric-emg/symphiq-components 1.3.70 → 1.3.71

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.
@@ -26416,7 +26416,7 @@ class ConfidenceLevelCardComponent {
26416
26416
  i0.ɵɵconditional(ctx.confidenceData().nextDashboardAction && ctx.confidenceData().nextDashboardGrade ? 31 : -1);
26417
26417
  i0.ɵɵadvance();
26418
26418
  i0.ɵɵconditional(!ctx.confidenceData().currentStepAction && ctx.confidenceData().nextStepAction && ctx.confidenceData().potentialGrade ? 32 : -1);
26419
- } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["@keyframes _ngcontent-%COMP%_confidence-fade-in-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_pulse-glow{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes _ngcontent-%COMP%_grade-change{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.9}to{transform:scale(1);opacity:1}}.confidence-card-animate[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_confidence-fade-in-up .6s ease-out forwards}.animate-pulse-glow[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow 2s ease-in-out infinite}.grade-change-animate[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_grade-change .8s ease-out}@media(prefers-reduced-motion:reduce){.confidence-card-animate[_ngcontent-%COMP%], .animate-pulse-glow[_ngcontent-%COMP%], .grade-change-animate[_ngcontent-%COMP%]{animation:none;opacity:1}}"], changeDetection: 0 }); }
26419
+ } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["@keyframes _ngcontent-%COMP%_confidence-fade-in-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_pulse-glow{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 20px #10b9814d}50%{opacity:1;transform:scale(1.08);box-shadow:0 0 40px #10b98199}}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes _ngcontent-%COMP%_grade-change{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.9}to{transform:scale(1);opacity:1}}.confidence-card-animate[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_confidence-fade-in-up .6s ease-out forwards}.animate-pulse-glow[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow 2s ease-in-out infinite}.grade-change-animate[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_grade-change .8s ease-out}@media(prefers-reduced-motion:reduce){.confidence-card-animate[_ngcontent-%COMP%], .animate-pulse-glow[_ngcontent-%COMP%], .grade-change-animate[_ngcontent-%COMP%]{animation:none;opacity:1}}"], changeDetection: 0 }); }
26420
26420
  }
26421
26421
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfidenceLevelCardComponent, [{
26422
26422
  type: Component,
@@ -26537,9 +26537,9 @@ class ConfidenceLevelCardComponent {
26537
26537
  </div>
26538
26538
  </div>
26539
26539
  </div>
26540
- `, styles: ["@keyframes confidence-fade-in-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse-glow{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}@keyframes shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes grade-change{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.9}to{transform:scale(1);opacity:1}}.confidence-card-animate{animation:confidence-fade-in-up .6s ease-out forwards}.animate-pulse-glow{animation:pulse-glow 2s ease-in-out infinite}.grade-change-animate{animation:grade-change .8s ease-out}@media(prefers-reduced-motion:reduce){.confidence-card-animate,.animate-pulse-glow,.grade-change-animate{animation:none;opacity:1}}\n"] }]
26540
+ `, styles: ["@keyframes confidence-fade-in-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse-glow{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 20px #10b9814d}50%{opacity:1;transform:scale(1.08);box-shadow:0 0 40px #10b98199}}@keyframes shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes grade-change{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.9}to{transform:scale(1);opacity:1}}.confidence-card-animate{animation:confidence-fade-in-up .6s ease-out forwards}.animate-pulse-glow{animation:pulse-glow 2s ease-in-out infinite}.grade-change-animate{animation:grade-change .8s ease-out}@media(prefers-reduced-motion:reduce){.confidence-card-animate,.animate-pulse-glow,.grade-change-animate{animation:none;opacity:1}}\n"] }]
26541
26541
  }], () => [], { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], currentStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentStepId", required: false }] }], focusAreaDetails: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaDetails", required: false }] }], currentFocusAreaDomain: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentFocusAreaDomain", required: false }] }], currentMetric: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentMetric", required: false }] }], targets: [{ type: i0.Input, args: [{ isSignal: true, alias: "targets", required: false }] }], isCurrentStepComplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCurrentStepComplete", required: false }] }] }); })();
26542
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfidenceLevelCardComponent, { className: "ConfidenceLevelCardComponent", filePath: "lib/components/shared/confidence-level-card.component.ts", lineNumber: 214 }); })();
26542
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfidenceLevelCardComponent, { className: "ConfidenceLevelCardComponent", filePath: "lib/components/shared/confidence-level-card.component.ts", lineNumber: 216 }); })();
26543
26543
 
26544
26544
  function ContinueYourJourneyComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
26545
26545
  i0.ɵɵnamespaceSVG();
@@ -104374,20 +104374,20 @@ function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Condit
104374
104374
  function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
104375
104375
  const _r4 = i0.ɵɵgetCurrentView();
104376
104376
  i0.ɵɵelementStart(0, "button", 31);
104377
- i0.ɵɵlistener("click", function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Template_button_click_0_listener() { const $index_r5 = i0.ɵɵrestoreView(_r4).$index; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.navigateToBreadcrumb($index_r5)); });
104377
+ i0.ɵɵlistener("click", function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Template_button_click_0_listener() { const item_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.navigateToBreadcrumb(item_r5)); });
104378
104378
  i0.ɵɵtext(1);
104379
104379
  i0.ɵɵelementEnd();
104380
104380
  i0.ɵɵconditionalCreate(2, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Conditional_2_Template, 2, 1, ":svg:svg", 32);
104381
104381
  } if (rf & 2) {
104382
- const item_r6 = ctx.$implicit;
104383
- const ɵ$index_26_r7 = ctx.$index;
104384
- const ɵ$count_26_r8 = ctx.$count;
104382
+ const item_r5 = ctx.$implicit;
104383
+ const ɵ$index_26_r6 = ctx.$index;
104384
+ const ɵ$count_26_r7 = ctx.$count;
104385
104385
  const ctx_r1 = i0.ɵɵnextContext(3);
104386
104386
  i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbButtonClasses());
104387
104387
  i0.ɵɵadvance();
104388
- i0.ɵɵtextInterpolate1(" ", ctx_r1.getBreadcrumbLabel(item_r6), " ");
104388
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.getBreadcrumbLabel(item_r5), " ");
104389
104389
  i0.ɵɵadvance();
104390
- i0.ɵɵconditional(!(ɵ$index_26_r7 === ɵ$count_26_r8 - 1) || ctx_r1.modalType() !== null ? 2 : -1);
104390
+ i0.ɵɵconditional(!(ɵ$index_26_r6 === ɵ$count_26_r7 - 1) || ctx_r1.modalType() !== null ? 2 : -1);
104391
104391
  } }
104392
104392
  function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
104393
104393
  i0.ɵɵelementStart(0, "span", 30);
@@ -104477,9 +104477,9 @@ function UnifiedDashboardModalComponent_Conditional_0_Conditional_15_Template(rf
104477
104477
  i0.ɵɵproperty("timeframe", ctx_r1.currentGoal().timeframe)("viewMode", ctx_r1.viewMode());
104478
104478
  } }
104479
104479
  function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template(rf, ctx) { if (rf & 1) {
104480
- const _r9 = i0.ɵɵgetCurrentView();
104480
+ const _r8 = i0.ɵɵgetCurrentView();
104481
104481
  i0.ɵɵelementStart(0, "symphiq-unified-goal-detail-modal-content", 35);
104482
- i0.ɵɵlistener("sourceAnalysisClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_sourceAnalysisClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onSourceAnalysisClick($event)); })("metricClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_metricClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onMetricClick($event)); })("contributingMetricsClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_contributingMetricsClick_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onContributingMetricsClick()); })("showObjectives", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_showObjectives_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowObjectives()); })("close", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_close_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeModal()); });
104482
+ i0.ɵɵlistener("sourceAnalysisClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_sourceAnalysisClick_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onSourceAnalysisClick($event)); })("metricClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_metricClick_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onMetricClick($event)); })("contributingMetricsClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_contributingMetricsClick_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onContributingMetricsClick()); })("showObjectives", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_showObjectives_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowObjectives()); })("close", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_close_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeModal()); });
104483
104483
  i0.ɵɵelementEnd();
104484
104484
  } if (rf & 2) {
104485
104485
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -104492,9 +104492,9 @@ function UnifiedDashboardModalComponent_Conditional_0_Conditional_22_Template(rf
104492
104492
  i0.ɵɵproperty("objectives", ctx_r1.objectivesData().goal.objectives ?? i0.ɵɵpureFunction0(3, _c2$2))("goalTitle", ctx_r1.objectivesData().goal.title ?? "")("viewMode", ctx_r1.viewMode());
104493
104493
  } }
104494
104494
  function UnifiedDashboardModalComponent_Conditional_0_Conditional_23_Template(rf, ctx) { if (rf & 1) {
104495
- const _r10 = i0.ɵɵgetCurrentView();
104495
+ const _r9 = i0.ɵɵgetCurrentView();
104496
104496
  i0.ɵɵelementStart(0, "symphiq-unified-goal-related-metrics-modal-content", 36);
104497
- i0.ɵɵlistener("metricClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_23_Template_symphiq_unified_goal_related_metrics_modal_content_metricClick_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onRelatedMetricClick($event)); });
104497
+ i0.ɵɵlistener("metricClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_23_Template_symphiq_unified_goal_related_metrics_modal_content_metricClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onRelatedMetricClick($event)); });
104498
104498
  i0.ɵɵelementEnd();
104499
104499
  } if (rf & 2) {
104500
104500
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -104513,9 +104513,9 @@ function UnifiedDashboardModalComponent_Conditional_0_Conditional_25_Template(rf
104513
104513
  i0.ɵɵproperty("strategy", ctx_r1.recommendationsData().strategy)("viewMode", ctx_r1.viewMode())("allMetrics", ctx_r1.allMetricsFromStack())("allCharts", ctx_r1.allChartsFromStack())("allInsights", ctx_r1.allInsightsFromStack())("goalTitle", ctx_r1.recommendationsData().goalTitle)("objectiveTitle", ctx_r1.recommendationsData().objectiveTitle)("currentModalState", ctx_r1.currentModalState());
104514
104514
  } }
104515
104515
  function UnifiedDashboardModalComponent_Conditional_0_Conditional_26_Template(rf, ctx) { if (rf & 1) {
104516
- const _r11 = i0.ɵɵgetCurrentView();
104516
+ const _r10 = i0.ɵɵgetCurrentView();
104517
104517
  i0.ɵɵelementStart(0, "symphiq-priority-actions-modal-content", 37);
104518
- i0.ɵɵlistener("goalClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_26_Template_symphiq_priority_actions_modal_content_goalClick_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPriorityActionGoalClick($event)); })("recommendationClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_26_Template_symphiq_priority_actions_modal_content_recommendationClick_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPriorityActionRecommendationClick($event)); });
104518
+ i0.ɵɵlistener("goalClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_26_Template_symphiq_priority_actions_modal_content_goalClick_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPriorityActionGoalClick($event)); })("recommendationClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_26_Template_symphiq_priority_actions_modal_content_recommendationClick_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPriorityActionRecommendationClick($event)); });
104519
104519
  i0.ɵɵelementEnd();
104520
104520
  } if (rf & 2) {
104521
104521
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -104667,8 +104667,17 @@ class UnifiedDashboardModalComponent {
104667
104667
  const relatedMetricsData = this.relatedMetricsData();
104668
104668
  return goalData?.goal || objData?.goal || relatedMetricsData?.goal || null;
104669
104669
  }, ...(ngDevMode ? [{ debugName: "currentGoal" }] : []));
104670
+ this.supportedModalTypes = new Set([
104671
+ 'unified-goal-detail',
104672
+ 'unified-goal-objectives',
104673
+ 'unified-goal-related-metrics',
104674
+ 'objective-strategies',
104675
+ 'strategy-recommendations',
104676
+ 'priority-actions-list'
104677
+ ]);
104670
104678
  this.navigationStack = computed(() => {
104671
- return this.currentModalState()?.navigationStack || [];
104679
+ const stack = this.currentModalState()?.navigationStack || [];
104680
+ return stack.filter(item => this.supportedModalTypes.has(item.type));
104672
104681
  }, ...(ngDevMode ? [{ debugName: "navigationStack" }] : []));
104673
104682
  this.allMetricsFromStack = computed(() => {
104674
104683
  const goalData = this.unifiedGoalData();
@@ -104939,13 +104948,22 @@ class UnifiedDashboardModalComponent {
104939
104948
  }
104940
104949
  return matchingCharts;
104941
104950
  }
104942
- navigateToBreadcrumb(index) {
104943
- this.modalService.navigateToStackIndex(index);
104951
+ navigateToBreadcrumb(state) {
104952
+ const fullStack = this.currentModalState()?.navigationStack || [];
104953
+ const originalIndex = fullStack.indexOf(state);
104954
+ if (originalIndex >= 0) {
104955
+ this.modalService.navigateToStackIndex(originalIndex);
104956
+ }
104944
104957
  }
104945
104958
  onBackClick() {
104946
- const stack = this.navigationStack();
104947
- if (stack.length > 0) {
104948
- this.modalService.navigateToStackIndex(stack.length - 1);
104959
+ const filteredStack = this.navigationStack();
104960
+ if (filteredStack.length > 0) {
104961
+ const lastState = filteredStack[filteredStack.length - 1];
104962
+ const fullStack = this.currentModalState()?.navigationStack || [];
104963
+ const originalIndex = fullStack.indexOf(lastState);
104964
+ if (originalIndex >= 0) {
104965
+ this.modalService.navigateToStackIndex(originalIndex);
104966
+ }
104949
104967
  }
104950
104968
  }
104951
104969
  getBreadcrumbLabel(state) {
@@ -105107,7 +105125,7 @@ class UnifiedDashboardModalComponent {
105107
105125
  @for (item of navigationStack(); track $index; let last = $last) {
105108
105126
  <button
105109
105127
  type="button"
105110
- (click)="navigateToBreadcrumb($index)"
105128
+ (click)="navigateToBreadcrumb(item)"
105111
105129
  [ngClass]="breadcrumbButtonClasses()"
105112
105130
  class="hover:underline cursor-pointer transition-colors">
105113
105131
  {{ getBreadcrumbLabel(item) }}
@@ -105974,6 +105992,13 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
105974
105992
  }
105975
105993
  }
105976
105994
  }, ...(ngDevMode ? [{ debugName: "embeddedScrollEffect" }] : []));
105995
+ this.sourceProfileAnalysesWatcher = effect(() => {
105996
+ const analyses = this.sourceProfileAnalyses();
105997
+ console.log('[SourceAnalysis] sourceProfileAnalyses input changed', {
105998
+ count: analyses?.length ?? 0,
105999
+ ids: analyses?.map(a => a.id) ?? []
106000
+ });
106001
+ }, ...(ngDevMode ? [{ debugName: "sourceProfileAnalysesWatcher" }] : []));
105977
106002
  this.pendingSourceRequestEffect = effect(() => {
105978
106003
  const pending = this.pendingSourceRequest();
105979
106004
  const sourceAnalysesMapKeys = Array.from(this.sourceAnalysesMap().keys());