@eric-emg/symphiq-components 1.2.533 → 1.2.535

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.
@@ -858,16 +858,18 @@ class ModalService {
858
858
  const data = { priorities, viewMode, focusAreaName };
859
859
  this.modalState.next({ type: 'top-priorities-list', data, charts: [], previousState: null, navigationStack: [] });
860
860
  }
861
- navigateToTopPriorityDetail(priority, index, viewMode, focusAreaName) {
861
+ navigateToTopPriorityDetail(priority, index, viewMode, focusAreaName, providedTotalCount) {
862
862
  const currentState = this.modalState.value;
863
- let totalCount = 1;
864
- if (currentState.type === 'top-priorities-list' && currentState.data) {
865
- const listData = currentState.data;
866
- totalCount = listData.priorities.length;
867
- }
868
- else if (currentState.type === 'top-priority-detail' && currentState.data) {
869
- const detailData = currentState.data;
870
- totalCount = detailData.totalCount;
863
+ let totalCount = providedTotalCount ?? 1;
864
+ if (!providedTotalCount) {
865
+ if (currentState.type === 'top-priorities-list' && currentState.data) {
866
+ const listData = currentState.data;
867
+ totalCount = listData.priorities.length;
868
+ }
869
+ else if (currentState.type === 'top-priority-detail' && currentState.data) {
870
+ const detailData = currentState.data;
871
+ totalCount = detailData.totalCount;
872
+ }
871
873
  }
872
874
  const data = { priority, index, totalCount, viewMode, focusAreaName };
873
875
  const currentStack = currentState.navigationStack || [];
@@ -24580,13 +24582,13 @@ class JourneyProgressIndicatorComponent {
24580
24582
  },
24581
24583
  {
24582
24584
  id: JourneyStepIdEnum.FOCUS_AREA_ANALYSIS,
24583
- title: 'Focus Area Analysis',
24585
+ title: 'Focus Area Analyses',
24584
24586
  description: 'Dive deep into specific marketing channels and strategies',
24585
24587
  icon: 'target'
24586
24588
  },
24587
24589
  {
24588
24590
  id: JourneyStepIdEnum.METRIC_ANALYSIS,
24589
- title: 'Metric Analysis',
24591
+ title: 'Metric Analyses',
24590
24592
  description: 'Provide context for funnel stage metrics and performance',
24591
24593
  icon: 'chart-line'
24592
24594
  },
@@ -51557,13 +51559,13 @@ class SymphiqWelcomeDashboardComponent {
51557
51559
  {
51558
51560
  id: 'focus-area-analysis',
51559
51561
  number: 8,
51560
- title: 'Focus Area Analysis',
51562
+ title: 'Focus Area Analyses',
51561
51563
  description: 'Deep-dive into marketing channels and operational focus areas'
51562
51564
  },
51563
51565
  {
51564
51566
  id: 'metric-analysis',
51565
51567
  number: 9,
51566
- title: 'Metric Analysis',
51568
+ title: 'Metric Analyses',
51567
51569
  description: 'Provide detailed context for each funnel metric and stage'
51568
51570
  },
51569
51571
  {
@@ -68700,7 +68702,7 @@ class GradeBadgeComponent {
68700
68702
  this.formattedGrade = computed(() => this.formatGrade(this.grade()), ...(ngDevMode ? [{ debugName: "formattedGrade" }] : []));
68701
68703
  this.shouldPulse = computed(() => {
68702
68704
  const baseGrade = this.grade().replace(/_PLUS|_MINUS/g, '');
68703
- return baseGrade === 'C';
68705
+ return baseGrade === 'D' || baseGrade === 'F';
68704
68706
  }, ...(ngDevMode ? [{ debugName: "shouldPulse" }] : []));
68705
68707
  this.tooltip = computed(() => ({
68706
68708
  title: 'Performance Grade',
@@ -68791,17 +68793,17 @@ class GradeBadgeComponent {
68791
68793
  standalone: true,
68792
68794
  imports: [CommonModule, TooltipDirective],
68793
68795
  changeDetection: ChangeDetectionStrategy.OnPush,
68794
- template: `
68795
- <div
68796
- [class]="gradeBadgeClass()"
68797
- [class.animate-pulse]="shouldPulse()"
68798
- class="transition-all duration-300 hover:scale-110"
68799
- [libSymphiqTooltip]="tooltip()"
68800
- tooltipType="badge"
68801
- [tooltipPosition]="tooltipPosition()">
68802
- <div [class]="badgeLabelClass()" class="text-xs font-semibold uppercase tracking-wider mb-1">{{ label() }}</div>
68803
- <div class="text-3xl sm:text-4xl font-bold">{{ formattedGrade() }}</div>
68804
- </div>
68796
+ template: `
68797
+ <div
68798
+ [class]="gradeBadgeClass()"
68799
+ [class.animate-pulse]="shouldPulse()"
68800
+ class="transition-all duration-300 hover:scale-110"
68801
+ [libSymphiqTooltip]="tooltip()"
68802
+ tooltipType="badge"
68803
+ [tooltipPosition]="tooltipPosition()">
68804
+ <div [class]="badgeLabelClass()" class="text-xs font-semibold uppercase tracking-wider mb-1">{{ label() }}</div>
68805
+ <div class="text-3xl sm:text-4xl font-bold">{{ formattedGrade() }}</div>
68806
+ </div>
68805
68807
  `
68806
68808
  }]
68807
68809
  }], null, { grade: [{ type: i0.Input, args: [{ isSignal: true, alias: "grade", required: false }] }], gradeRationale: [{ type: i0.Input, args: [{ isSignal: true, alias: "gradeRationale", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], tooltipPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipPosition", required: false }] }] }); })();
@@ -69590,62 +69592,53 @@ class RelatedGoalChipsComponent {
69590
69592
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RelatedGoalChipsComponent, { className: "RelatedGoalChipsComponent", filePath: "lib/components/profile-analysis-shop-dashboard/shared/related-goal-chips.component.ts", lineNumber: 31 }); })();
69591
69593
 
69592
69594
  const _c0$u = a0 => ({ name: "chart-bar", source: a0 });
69593
- const _c1$d = a0 => ({ name: "signal", source: a0 });
69594
- const _c2$b = (a0, a1) => ({ name: a0, source: a1 });
69595
- const _c3$7 = a0 => ({ name: "flag", source: a0 });
69596
- const _c4$3 = a0 => ({ name: "arrow-trending-up", source: a0 });
69597
- const _c5$2 = a0 => ({ name: "heart", source: a0 });
69598
- const _c6$1 = a0 => ({ name: "light-bulb", source: a0 });
69599
- const _c7 = a0 => ({ name: "clock", source: a0 });
69600
- const _c8 = a0 => [a0];
69601
- const _c9 = () => [];
69602
- function MetricExecutiveSummaryComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
69603
- i0.ɵɵelementStart(0, "span", 9);
69604
- i0.ɵɵtext(1);
69605
- i0.ɵɵelementEnd();
69606
- } if (rf & 2) {
69607
- const ctx_r0 = i0.ɵɵnextContext();
69608
- i0.ɵɵproperty("ngClass", ctx_r0.pacingBadgeClasses());
69609
- i0.ɵɵadvance();
69610
- i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().pacingStatus, " ");
69611
- } }
69612
- function MetricExecutiveSummaryComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
69613
- i0.ɵɵelement(0, "symphiq-grade-badge", 11);
69595
+ const _c1$d = a0 => ({ name: "arrow-right", source: a0 });
69596
+ const _c2$b = a0 => ({ name: "signal", source: a0 });
69597
+ const _c3$7 = (a0, a1) => ({ name: a0, source: a1 });
69598
+ const _c4$3 = a0 => ({ name: "flag", source: a0 });
69599
+ const _c5$2 = a0 => ({ name: "arrow-trending-up", source: a0 });
69600
+ const _c6$1 = a0 => ({ name: "heart", source: a0 });
69601
+ const _c7 = a0 => ({ name: "light-bulb", source: a0 });
69602
+ const _c8 = a0 => ({ name: "clock", source: a0 });
69603
+ const _c9 = a0 => [a0];
69604
+ const _c10 = () => [];
69605
+ function MetricExecutiveSummaryComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
69606
+ i0.ɵɵelement(0, "symphiq-grade-badge", 9);
69614
69607
  } if (rf & 2) {
69615
69608
  const ctx_r0 = i0.ɵɵnextContext();
69616
69609
  i0.ɵɵproperty("grade", ctx_r0.summary().overallGrade)("gradeRationale", ctx_r0.summary().gradeRationale || "")("viewMode", ctx_r0.viewMode());
69617
69610
  } }
69618
- function MetricExecutiveSummaryComponent_Conditional_17_Conditional_7_Template(rf, ctx) { if (rf & 1) {
69619
- i0.ɵɵelementStart(0, "div", 21);
69620
- i0.ɵɵelement(1, "symphiq-icon", 18);
69621
- i0.ɵɵelementStart(2, "span", 22);
69611
+ function MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template(rf, ctx) { if (rf & 1) {
69612
+ i0.ɵɵelementStart(0, "div", 22);
69613
+ i0.ɵɵelement(1, "symphiq-icon", 15);
69614
+ i0.ɵɵelementStart(2, "span", 14);
69622
69615
  i0.ɵɵtext(3);
69623
69616
  i0.ɵɵelementEnd()();
69624
69617
  } if (rf & 2) {
69625
69618
  const ctx_r0 = i0.ɵɵnextContext(2);
69626
69619
  i0.ɵɵadvance();
69627
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction2(4, _c2$b, ctx_r0.getYoyIcon(), ctx_r0.iconSource))("ngClass", ctx_r0.yoyChangeClasses());
69620
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction2(4, _c3$7, ctx_r0.getYoyIcon(), ctx_r0.iconSource))("ngClass", ctx_r0.yoyChangeClasses());
69628
69621
  i0.ɵɵadvance();
69629
69622
  i0.ɵɵproperty("ngClass", ctx_r0.yoyChangeClasses());
69630
69623
  i0.ɵɵadvance();
69631
69624
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().yoyChange, " YoY ");
69632
69625
  } }
69633
- function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
69634
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 17);
69635
- i0.ɵɵelement(2, "symphiq-icon", 18);
69636
- i0.ɵɵelementStart(3, "span", 19);
69626
+ function MetricExecutiveSummaryComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
69627
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69628
+ i0.ɵɵelement(2, "symphiq-icon", 15);
69629
+ i0.ɵɵelementStart(3, "span", 20);
69637
69630
  i0.ɵɵtext(4, " Current Value ");
69638
69631
  i0.ɵɵelementEnd()();
69639
- i0.ɵɵelementStart(5, "div", 20);
69632
+ i0.ɵɵelementStart(5, "div", 21);
69640
69633
  i0.ɵɵtext(6);
69641
69634
  i0.ɵɵelementEnd();
69642
- i0.ɵɵconditionalCreate(7, MetricExecutiveSummaryComponent_Conditional_17_Conditional_7_Template, 4, 7, "div", 21);
69635
+ i0.ɵɵconditionalCreate(7, MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template, 4, 7, "div", 22);
69643
69636
  i0.ɵɵelementEnd();
69644
69637
  } if (rf & 2) {
69645
69638
  const ctx_r0 = i0.ɵɵnextContext();
69646
69639
  i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
69647
69640
  i0.ɵɵadvance(2);
69648
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(7, _c1$d, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69641
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(7, _c2$b, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69649
69642
  i0.ɵɵadvance();
69650
69643
  i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
69651
69644
  i0.ɵɵadvance(2);
@@ -69655,20 +69648,20 @@ function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (
69655
69648
  i0.ɵɵadvance();
69656
69649
  i0.ɵɵconditional(ctx_r0.summary().yoyChange ? 7 : -1);
69657
69650
  } }
69658
- function MetricExecutiveSummaryComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
69659
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 17);
69660
- i0.ɵɵelement(2, "symphiq-icon", 18);
69661
- i0.ɵɵelementStart(3, "span", 19);
69651
+ function MetricExecutiveSummaryComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
69652
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69653
+ i0.ɵɵelement(2, "symphiq-icon", 15);
69654
+ i0.ɵɵelementStart(3, "span", 20);
69662
69655
  i0.ɵɵtext(4, " Target ");
69663
69656
  i0.ɵɵelementEnd()();
69664
- i0.ɵɵelementStart(5, "div", 20);
69657
+ i0.ɵɵelementStart(5, "div", 21);
69665
69658
  i0.ɵɵtext(6);
69666
69659
  i0.ɵɵelementEnd()();
69667
69660
  } if (rf & 2) {
69668
69661
  const ctx_r0 = i0.ɵɵnextContext();
69669
69662
  i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
69670
69663
  i0.ɵɵadvance(2);
69671
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c3$7, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69664
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c4$3, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69672
69665
  i0.ɵɵadvance();
69673
69666
  i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
69674
69667
  i0.ɵɵadvance(2);
@@ -69676,10 +69669,10 @@ function MetricExecutiveSummaryComponent_Conditional_18_Template(rf, ctx) { if (
69676
69669
  i0.ɵɵadvance();
69677
69670
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().targetValue, " ");
69678
69671
  } }
69679
- function MetricExecutiveSummaryComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
69680
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 17);
69681
- i0.ɵɵelement(2, "symphiq-icon", 18);
69682
- i0.ɵɵelementStart(3, "span", 19);
69672
+ function MetricExecutiveSummaryComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
69673
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69674
+ i0.ɵɵelement(2, "symphiq-icon", 15);
69675
+ i0.ɵɵelementStart(3, "span", 20);
69683
69676
  i0.ɵɵtext(4, " Pacing ");
69684
69677
  i0.ɵɵelementEnd()();
69685
69678
  i0.ɵɵelementStart(5, "div", 23);
@@ -69689,7 +69682,7 @@ function MetricExecutiveSummaryComponent_Conditional_19_Template(rf, ctx) { if (
69689
69682
  const ctx_r0 = i0.ɵɵnextContext();
69690
69683
  i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
69691
69684
  i0.ɵɵadvance(2);
69692
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c4$3, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69685
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c5$2, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69693
69686
  i0.ɵɵadvance();
69694
69687
  i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
69695
69688
  i0.ɵɵadvance(2);
@@ -69697,10 +69690,10 @@ function MetricExecutiveSummaryComponent_Conditional_19_Template(rf, ctx) { if (
69697
69690
  i0.ɵɵadvance();
69698
69691
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().pacingStatus, " ");
69699
69692
  } }
69700
- function MetricExecutiveSummaryComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
69701
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 17);
69702
- i0.ɵɵelement(2, "symphiq-icon", 18);
69703
- i0.ɵɵelementStart(3, "span", 19);
69693
+ function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
69694
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69695
+ i0.ɵɵelement(2, "symphiq-icon", 15);
69696
+ i0.ɵɵelementStart(3, "span", 20);
69704
69697
  i0.ɵɵtext(4, " Health ");
69705
69698
  i0.ɵɵelementEnd()();
69706
69699
  i0.ɵɵelementStart(5, "div", 23);
@@ -69711,7 +69704,7 @@ function MetricExecutiveSummaryComponent_Conditional_20_Template(rf, ctx) { if (
69711
69704
  const ctx_r0 = i0.ɵɵnextContext();
69712
69705
  i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
69713
69706
  i0.ɵɵadvance(2);
69714
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c5$2, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69707
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c6$1, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69715
69708
  i0.ɵɵadvance();
69716
69709
  i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
69717
69710
  i0.ɵɵadvance(2);
@@ -69719,7 +69712,7 @@ function MetricExecutiveSummaryComponent_Conditional_20_Template(rf, ctx) { if (
69719
69712
  i0.ɵɵadvance();
69720
69713
  i0.ɵɵtextInterpolate1(" ", (tmp_6_0 = ctx_r0.summary().metricHealth) == null ? null : tmp_6_0.replace("_", " "), " ");
69721
69714
  } }
69722
- function MetricExecutiveSummaryComponent_Conditional_21_Conditional_4_Template(rf, ctx) { if (rf & 1) {
69715
+ function MetricExecutiveSummaryComponent_Conditional_22_Conditional_4_Template(rf, ctx) { if (rf & 1) {
69723
69716
  i0.ɵɵelementStart(0, "div", 26);
69724
69717
  i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 29);
69725
69718
  i0.ɵɵelementEnd();
@@ -69728,12 +69721,12 @@ function MetricExecutiveSummaryComponent_Conditional_21_Conditional_4_Template(r
69728
69721
  i0.ɵɵadvance();
69729
69722
  i0.ɵɵproperty("visual", ctx_r0.summary().napkinVisual)("viewMode", ctx_r0.viewMode());
69730
69723
  } }
69731
- function MetricExecutiveSummaryComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
69732
- i0.ɵɵelementStart(0, "div", 14)(1, "h3", 24);
69724
+ function MetricExecutiveSummaryComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
69725
+ i0.ɵɵelementStart(0, "div", 16)(1, "h3", 24);
69733
69726
  i0.ɵɵtext(2, " Analysis Narrative ");
69734
69727
  i0.ɵɵelementEnd();
69735
69728
  i0.ɵɵelementStart(3, "div", 25);
69736
- i0.ɵɵconditionalCreate(4, MetricExecutiveSummaryComponent_Conditional_21_Conditional_4_Template, 2, 2, "div", 26);
69729
+ i0.ɵɵconditionalCreate(4, MetricExecutiveSummaryComponent_Conditional_22_Conditional_4_Template, 2, 2, "div", 26);
69737
69730
  i0.ɵɵelementStart(5, "p", 27);
69738
69731
  i0.ɵɵtext(6);
69739
69732
  i0.ɵɵelementEnd();
@@ -69752,7 +69745,7 @@ function MetricExecutiveSummaryComponent_Conditional_21_Template(rf, ctx) { if (
69752
69745
  i0.ɵɵadvance();
69753
69746
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().narrative, " ");
69754
69747
  } }
69755
- function MetricExecutiveSummaryComponent_Conditional_22_For_5_Conditional_8_Template(rf, ctx) { if (rf & 1) {
69748
+ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_8_Template(rf, ctx) { if (rf & 1) {
69756
69749
  i0.ɵɵelementStart(0, "div", 38)(1, "div", 39);
69757
69750
  i0.ɵɵelement(2, "symphiq-icon", 40);
69758
69751
  i0.ɵɵelementStart(3, "div")(4, "span", 41);
@@ -69766,7 +69759,7 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Conditional_8_Temp
69766
69759
  const ctx_r0 = i0.ɵɵnextContext(2);
69767
69760
  i0.ɵɵproperty("ngClass", ctx_r0.impactBoxClasses());
69768
69761
  i0.ɵɵadvance(2);
69769
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c6$1, ctx_r0.iconSource))("ngClass", ctx_r0.impactLabelClasses());
69762
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c7, ctx_r0.iconSource))("ngClass", ctx_r0.impactLabelClasses());
69770
69763
  i0.ɵɵadvance(2);
69771
69764
  i0.ɵɵproperty("ngClass", ctx_r0.impactLabelClasses());
69772
69765
  i0.ɵɵadvance(2);
@@ -69774,10 +69767,10 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Conditional_8_Temp
69774
69767
  i0.ɵɵadvance();
69775
69768
  i0.ɵɵtextInterpolate1(" ", priority_r3.expectedImpact, " ");
69776
69769
  } }
69777
- function MetricExecutiveSummaryComponent_Conditional_22_For_5_Template(rf, ctx) { if (rf & 1) {
69770
+ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx) { if (rf & 1) {
69778
69771
  const _r2 = i0.ɵɵgetCurrentView();
69779
69772
  i0.ɵɵelementStart(0, "button", 33);
69780
- i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Conditional_22_For_5_Template_button_click_0_listener() { const priority_r3 = i0.ɵɵrestoreView(_r2).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.priorityDetailClick.emit(priority_r3)); });
69773
+ i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template_button_click_0_listener() { const priority_r3 = i0.ɵɵrestoreView(_r2).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.priorityDetailClick.emit(priority_r3)); });
69781
69774
  i0.ɵɵelementStart(1, "div", 34)(2, "span", 35);
69782
69775
  i0.ɵɵtext(3);
69783
69776
  i0.ɵɵelementEnd();
@@ -69787,7 +69780,7 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Template(rf, ctx)
69787
69780
  i0.ɵɵelementStart(6, "p", 37);
69788
69781
  i0.ɵɵtext(7);
69789
69782
  i0.ɵɵelementEnd();
69790
- i0.ɵɵconditionalCreate(8, MetricExecutiveSummaryComponent_Conditional_22_For_5_Conditional_8_Template, 8, 8, "div", 38);
69783
+ i0.ɵɵconditionalCreate(8, MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_8_Template, 8, 8, "div", 38);
69791
69784
  i0.ɵɵelementEnd();
69792
69785
  } if (rf & 2) {
69793
69786
  const priority_r3 = ctx.$implicit;
@@ -69809,12 +69802,12 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Template(rf, ctx)
69809
69802
  i0.ɵɵadvance();
69810
69803
  i0.ɵɵconditional(priority_r3.expectedImpact ? 8 : -1);
69811
69804
  } }
69812
- function MetricExecutiveSummaryComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
69813
- i0.ɵɵelementStart(0, "div", 15)(1, "h3", 30);
69805
+ function MetricExecutiveSummaryComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
69806
+ i0.ɵɵelementStart(0, "div", 17)(1, "h3", 30);
69814
69807
  i0.ɵɵtext(2, "Top Priorities");
69815
69808
  i0.ɵɵelementEnd();
69816
69809
  i0.ɵɵelementStart(3, "div", 31);
69817
- i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_22_For_5_Template, 9, 8, "button", 32, i0.ɵɵrepeaterTrackByIndex);
69810
+ i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_23_For_5_Template, 9, 8, "button", 32, i0.ɵɵrepeaterTrackByIndex);
69818
69811
  i0.ɵɵelementEnd()();
69819
69812
  } if (rf & 2) {
69820
69813
  const ctx_r0 = i0.ɵɵnextContext();
@@ -69823,7 +69816,7 @@ function MetricExecutiveSummaryComponent_Conditional_22_Template(rf, ctx) { if (
69823
69816
  i0.ɵɵadvance(3);
69824
69817
  i0.ɵɵrepeater(ctx_r0.summary().topPriorities);
69825
69818
  } }
69826
- function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_12_Template(rf, ctx) { if (rf & 1) {
69819
+ function MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_12_Template(rf, ctx) { if (rf & 1) {
69827
69820
  i0.ɵɵelementStart(0, "div", 51);
69828
69821
  i0.ɵɵelement(1, "symphiq-icon", 53);
69829
69822
  i0.ɵɵelementStart(2, "span");
@@ -69834,12 +69827,12 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_12_Tem
69834
69827
  const ctx_r0 = i0.ɵɵnextContext(2);
69835
69828
  i0.ɵɵproperty("ngClass", ctx_r0.metaTextClasses());
69836
69829
  i0.ɵɵadvance();
69837
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(3, _c7, ctx_r0.iconSource));
69830
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(3, _c8, ctx_r0.iconSource));
69838
69831
  i0.ɵɵadvance(2);
69839
69832
  i0.ɵɵtextInterpolate(win_r5.estimatedTimeframe);
69840
69833
  } }
69841
- function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_13_Template(rf, ctx) { if (rf & 1) {
69842
- i0.ɵɵelementStart(0, "div", 52)(1, "h4", 19);
69834
+ function MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_13_Template(rf, ctx) { if (rf & 1) {
69835
+ i0.ɵɵelementStart(0, "div", 52)(1, "h4", 20);
69843
69836
  i0.ɵɵtext(2, " Related Goal ");
69844
69837
  i0.ɵɵelementEnd();
69845
69838
  i0.ɵɵelement(3, "symphiq-related-goal-chips", 54);
@@ -69850,9 +69843,9 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_13_Tem
69850
69843
  i0.ɵɵadvance();
69851
69844
  i0.ɵɵproperty("ngClass", ctx_r0.metaTextClasses());
69852
69845
  i0.ɵɵadvance(2);
69853
- i0.ɵɵproperty("relatedGoalIds", i0.ɵɵpureFunction1(4, _c8, win_r5.relatedGoalId))("allGoals", ctx_r0.allGoals() || i0.ɵɵpureFunction0(6, _c9))("viewMode", ctx_r0.viewMode());
69846
+ i0.ɵɵproperty("relatedGoalIds", i0.ɵɵpureFunction1(4, _c9, win_r5.relatedGoalId))("allGoals", ctx_r0.allGoals() || i0.ɵɵpureFunction0(6, _c10))("viewMode", ctx_r0.viewMode());
69854
69847
  } }
69855
- function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx) { if (rf & 1) {
69848
+ function MetricExecutiveSummaryComponent_Conditional_24_For_5_Template(rf, ctx) { if (rf & 1) {
69856
69849
  i0.ɵɵelementStart(0, "div", 45)(1, "div", 46)(2, "div", 47)(3, "span", 35);
69857
69850
  i0.ɵɵtext(4);
69858
69851
  i0.ɵɵelementEnd();
@@ -69865,8 +69858,8 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx)
69865
69858
  i0.ɵɵelementStart(10, "span", 50);
69866
69859
  i0.ɵɵtext(11);
69867
69860
  i0.ɵɵelementEnd()();
69868
- i0.ɵɵconditionalCreate(12, MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_12_Template, 4, 5, "div", 51);
69869
- i0.ɵɵconditionalCreate(13, MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_13_Template, 4, 7, "div", 52);
69861
+ i0.ɵɵconditionalCreate(12, MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_12_Template, 4, 5, "div", 51);
69862
+ i0.ɵɵconditionalCreate(13, MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_13_Template, 4, 7, "div", 52);
69870
69863
  i0.ɵɵelementEnd()();
69871
69864
  } if (rf & 2) {
69872
69865
  const win_r5 = ctx.$implicit;
@@ -69894,12 +69887,12 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx)
69894
69887
  i0.ɵɵadvance();
69895
69888
  i0.ɵɵconditional(win_r5.relatedGoalId && ctx_r0.allGoals() ? 13 : -1);
69896
69889
  } }
69897
- function MetricExecutiveSummaryComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
69898
- i0.ɵɵelementStart(0, "div", 16)(1, "h3", 43);
69890
+ function MetricExecutiveSummaryComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
69891
+ i0.ɵɵelementStart(0, "div", 18)(1, "h3", 43);
69899
69892
  i0.ɵɵtext(2, "Quick Wins");
69900
69893
  i0.ɵɵelementEnd();
69901
69894
  i0.ɵɵelementStart(3, "div", 44);
69902
- i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_23_For_5_Template, 14, 11, "div", 45, i0.ɵɵrepeaterTrackByIndex);
69895
+ i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_24_For_5_Template, 14, 11, "div", 45, i0.ɵɵrepeaterTrackByIndex);
69903
69896
  i0.ɵɵelementEnd()();
69904
69897
  } if (rf & 2) {
69905
69898
  const ctx_r0 = i0.ɵɵnextContext();
@@ -69916,6 +69909,7 @@ class MetricExecutiveSummaryComponent {
69916
69909
  this.allGoals = input(...(ngDevMode ? [undefined, { debugName: "allGoals" }] : []));
69917
69910
  this.topPrioritiesClick = output();
69918
69911
  this.priorityDetailClick = output();
69912
+ this.viewMetricDetailsClick = output();
69919
69913
  this.iconSource = IconSourceEnum.HEROICONS;
69920
69914
  this.isDark = computed(() => this.viewMode() === ViewModeEnum.DARK, ...(ngDevMode ? [{ debugName: "isDark" }] : []));
69921
69915
  this.bannerClasses = computed(() => this.isDark()
@@ -69959,6 +69953,7 @@ class MetricExecutiveSummaryComponent {
69959
69953
  this.metricCardClasses = computed(() => this.isDark()
69960
69954
  ? 'bg-slate-800/50 border border-slate-700/50'
69961
69955
  : 'bg-white border border-slate-200', ...(ngDevMode ? [{ debugName: "metricCardClasses" }] : []));
69956
+ this.viewDetailsTextClasses = computed(() => this.isDark() ? 'text-blue-400' : 'text-blue-600', ...(ngDevMode ? [{ debugName: "viewDetailsTextClasses" }] : []));
69962
69957
  this.metricLabelClasses = computed(() => this.isDark() ? 'text-slate-400' : 'text-slate-600', ...(ngDevMode ? [{ debugName: "metricLabelClasses" }] : []));
69963
69958
  this.metricValueClasses = computed(() => this.isDark() ? 'text-slate-100' : 'text-slate-900', ...(ngDevMode ? [{ debugName: "metricValueClasses" }] : []));
69964
69959
  this.yoyChangeClasses = computed(() => {
@@ -70092,34 +70087,35 @@ class MetricExecutiveSummaryComponent {
70092
70087
  return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
70093
70088
  }
70094
70089
  static { this.ɵfac = function MetricExecutiveSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MetricExecutiveSummaryComponent)(); }; }
70095
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricExecutiveSummaryComponent, selectors: [["symphiq-metric-executive-summary"]], inputs: { viewMode: [1, "viewMode"], summary: [1, "summary"], metricName: [1, "metricName"], allGoals: [1, "allGoals"] }, outputs: { topPrioritiesClick: "topPrioritiesClick", priorityDetailClick: "priorityDetailClick" }, decls: 24, vars: 21, consts: [["id", "section-metric-executive-summary", 1, "space-y-6", "scroll-mt-24"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "flex", "items-center", "gap-3", "mb-3"], [3, "icon", "size", "ngClass"], [1, "text-3xl", "font-bold", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "mb-4"], [1, "px-4", "py-2", "rounded-full", "text-sm", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-4", "gap-4"], [1, "rounded-xl", "p-4", 3, "ngClass"], [1, "rounded-xl", "p-6", "mt-6", 3, "ngClass"], [1, "mt-6"], ["id", "quick-wins-section", 1, "mt-8", "scroll-mt-24"], [1, "flex", "items-center", "gap-2", "mb-2"], ["size", "w-4 h-4", 3, "icon", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "flex", "items-center", "gap-1", "mt-2"], [1, "text-sm", "font-medium", 3, "ngClass"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-4"], ["type", "button", 1, "rounded-xl", "p-6", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "ngClass"], ["type", "button", 1, "rounded-xl", "p-6", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "click", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "text-lg", "font-semibold", "flex-1", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mb-3", 3, "ngClass"], [1, "rounded-lg", "p-3", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["size", "w-4 h-4", 1, "mt-0.5", 3, "icon", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "block", "mb-1", 3, "ngClass"], [1, "text-xs", "leading-relaxed", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["size", "w-4 h-4", 3, "icon"], [3, "relatedGoalIds", "allGoals", "viewMode"]], template: function MetricExecutiveSummaryComponent_Template(rf, ctx) { if (rf & 1) {
70090
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricExecutiveSummaryComponent, selectors: [["symphiq-metric-executive-summary"]], inputs: { viewMode: [1, "viewMode"], summary: [1, "summary"], metricName: [1, "metricName"], allGoals: [1, "allGoals"] }, outputs: { topPrioritiesClick: "topPrioritiesClick", priorityDetailClick: "priorityDetailClick", viewMetricDetailsClick: "viewMetricDetailsClick" }, decls: 25, vars: 23, consts: [["id", "section-metric-executive-summary", 1, "space-y-6", "scroll-mt-24"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "flex", "items-center", "gap-3", "mb-3"], [3, "icon", "size", "ngClass"], [1, "text-3xl", "font-bold", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], ["type", "button", 1, "w-full", "text-left", "cursor-pointer", "group", 3, "click"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-4", "gap-4"], [1, "rounded-xl", "p-4", "transition-all", "duration-200", "group-hover:scale-[1.02]", "group-hover:shadow-lg", 3, "ngClass"], [1, "flex", "items-center", "justify-center", "gap-2", "mt-3", "opacity-0", "group-hover:opacity-100", "transition-opacity", "duration-200"], [1, "text-sm", "font-medium", 3, "ngClass"], ["size", "w-4 h-4", 3, "icon", "ngClass"], [1, "rounded-xl", "p-6", "mt-6", 3, "ngClass"], [1, "mt-6"], ["id", "quick-wins-section", 1, "mt-8", "scroll-mt-24"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "flex", "items-center", "gap-1", "mt-2"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-4"], ["type", "button", 1, "rounded-xl", "p-6", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "ngClass"], ["type", "button", 1, "rounded-xl", "p-6", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "click", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "text-lg", "font-semibold", "flex-1", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mb-3", 3, "ngClass"], [1, "rounded-lg", "p-3", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["size", "w-4 h-4", 1, "mt-0.5", 3, "icon", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "block", "mb-1", 3, "ngClass"], [1, "text-xs", "leading-relaxed", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["size", "w-4 h-4", 3, "icon"], [3, "relatedGoalIds", "allGoals", "viewMode"]], template: function MetricExecutiveSummaryComponent_Template(rf, ctx) { if (rf & 1) {
70096
70091
  i0.ɵɵelementStart(0, "section", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5);
70097
70092
  i0.ɵɵelement(6, "symphiq-icon", 6);
70098
70093
  i0.ɵɵelementStart(7, "h2", 7);
70099
70094
  i0.ɵɵtext(8);
70100
70095
  i0.ɵɵelementEnd()();
70101
- i0.ɵɵelementStart(9, "div", 8)(10, "span", 9);
70102
- i0.ɵɵtext(11);
70096
+ i0.ɵɵelementStart(9, "p", 8);
70097
+ i0.ɵɵtext(10);
70098
+ i0.ɵɵelementEnd()();
70099
+ i0.ɵɵconditionalCreate(11, MetricExecutiveSummaryComponent_Conditional_11_Template, 1, 3, "symphiq-grade-badge", 9);
70103
70100
  i0.ɵɵelementEnd();
70104
- i0.ɵɵconditionalCreate(12, MetricExecutiveSummaryComponent_Conditional_12_Template, 2, 2, "span", 9);
70101
+ i0.ɵɵelementStart(12, "button", 10);
70102
+ i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Template_button_click_12_listener() { return ctx.viewMetricDetailsClick.emit(); });
70103
+ i0.ɵɵelementStart(13, "div", 11);
70104
+ i0.ɵɵconditionalCreate(14, MetricExecutiveSummaryComponent_Conditional_14_Template, 8, 9, "div", 12);
70105
+ i0.ɵɵconditionalCreate(15, MetricExecutiveSummaryComponent_Conditional_15_Template, 7, 8, "div", 12);
70106
+ i0.ɵɵconditionalCreate(16, MetricExecutiveSummaryComponent_Conditional_16_Template, 7, 8, "div", 12);
70107
+ i0.ɵɵconditionalCreate(17, MetricExecutiveSummaryComponent_Conditional_17_Template, 7, 8, "div", 12);
70105
70108
  i0.ɵɵelementEnd();
70106
- i0.ɵɵelementStart(13, "p", 10);
70107
- i0.ɵɵtext(14);
70108
- i0.ɵɵelementEnd()();
70109
- i0.ɵɵconditionalCreate(15, MetricExecutiveSummaryComponent_Conditional_15_Template, 1, 3, "symphiq-grade-badge", 11);
70109
+ i0.ɵɵelementStart(18, "div", 13)(19, "span", 14);
70110
+ i0.ɵɵtext(20, " View Metric Details ");
70110
70111
  i0.ɵɵelementEnd();
70111
- i0.ɵɵelementStart(16, "div", 12);
70112
- i0.ɵɵconditionalCreate(17, MetricExecutiveSummaryComponent_Conditional_17_Template, 8, 9, "div", 13);
70113
- i0.ɵɵconditionalCreate(18, MetricExecutiveSummaryComponent_Conditional_18_Template, 7, 8, "div", 13);
70114
- i0.ɵɵconditionalCreate(19, MetricExecutiveSummaryComponent_Conditional_19_Template, 7, 8, "div", 13);
70115
- i0.ɵɵconditionalCreate(20, MetricExecutiveSummaryComponent_Conditional_20_Template, 7, 8, "div", 13);
70116
- i0.ɵɵelementEnd();
70117
- i0.ɵɵconditionalCreate(21, MetricExecutiveSummaryComponent_Conditional_21_Template, 8, 5, "div", 14);
70118
- i0.ɵɵconditionalCreate(22, MetricExecutiveSummaryComponent_Conditional_22_Template, 6, 1, "div", 15);
70119
- i0.ɵɵconditionalCreate(23, MetricExecutiveSummaryComponent_Conditional_23_Template, 6, 1, "div", 16);
70112
+ i0.ɵɵelement(21, "symphiq-icon", 15);
70113
+ i0.ɵɵelementEnd()();
70114
+ i0.ɵɵconditionalCreate(22, MetricExecutiveSummaryComponent_Conditional_22_Template, 8, 5, "div", 16);
70115
+ i0.ɵɵconditionalCreate(23, MetricExecutiveSummaryComponent_Conditional_23_Template, 6, 1, "div", 17);
70116
+ i0.ɵɵconditionalCreate(24, MetricExecutiveSummaryComponent_Conditional_24_Template, 6, 1, "div", 18);
70120
70117
  i0.ɵɵelementEnd()()();
70121
70118
  } if (rf & 2) {
70122
- let tmp_7_0;
70123
70119
  let tmp_17_0;
70124
70120
  let tmp_18_0;
70125
70121
  i0.ɵɵadvance();
@@ -70130,32 +70126,30 @@ class MetricExecutiveSummaryComponent {
70130
70126
  i0.ɵɵproperty("ngClass", ctx.titleClasses());
70131
70127
  i0.ɵɵadvance();
70132
70128
  i0.ɵɵtextInterpolate1(" ", ctx.formatMetricName(ctx.metricName()), " ");
70133
- i0.ɵɵadvance(2);
70134
- i0.ɵɵproperty("ngClass", ctx.healthBadgeClasses());
70135
- i0.ɵɵadvance();
70136
- i0.ɵɵtextInterpolate1(" ", (tmp_7_0 = ctx.summary().metricHealth) == null ? null : tmp_7_0.replace("_", " "), " ");
70137
- i0.ɵɵadvance();
70138
- i0.ɵɵconditional(ctx.summary().pacingStatus ? 12 : -1);
70139
70129
  i0.ɵɵadvance();
70140
70130
  i0.ɵɵproperty("ngClass", ctx.textClasses());
70141
70131
  i0.ɵɵadvance();
70142
70132
  i0.ɵɵtextInterpolate1(" ", ctx.summary().gradeRationale, " ");
70143
70133
  i0.ɵɵadvance();
70144
- i0.ɵɵconditional(ctx.summary().overallGrade ? 15 : -1);
70145
- i0.ɵɵadvance(2);
70146
- i0.ɵɵconditional(ctx.summary().currentValue ? 17 : -1);
70134
+ i0.ɵɵconditional(ctx.summary().overallGrade ? 11 : -1);
70135
+ i0.ɵɵadvance(3);
70136
+ i0.ɵɵconditional(ctx.summary().currentValue ? 14 : -1);
70147
70137
  i0.ɵɵadvance();
70148
- i0.ɵɵconditional(ctx.summary().targetValue ? 18 : -1);
70138
+ i0.ɵɵconditional(ctx.summary().targetValue ? 15 : -1);
70149
70139
  i0.ɵɵadvance();
70150
- i0.ɵɵconditional(ctx.summary().pacingStatus ? 19 : -1);
70140
+ i0.ɵɵconditional(ctx.summary().pacingStatus ? 16 : -1);
70151
70141
  i0.ɵɵadvance();
70152
- i0.ɵɵconditional(ctx.summary().metricHealth ? 20 : -1);
70142
+ i0.ɵɵconditional(ctx.summary().metricHealth ? 17 : -1);
70143
+ i0.ɵɵadvance(2);
70144
+ i0.ɵɵproperty("ngClass", ctx.viewDetailsTextClasses());
70145
+ i0.ɵɵadvance(2);
70146
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(21, _c1$d, ctx.iconSource))("ngClass", ctx.viewDetailsTextClasses());
70153
70147
  i0.ɵɵadvance();
70154
- i0.ɵɵconditional(ctx.summary().narrative ? 21 : -1);
70148
+ i0.ɵɵconditional(ctx.summary().narrative ? 22 : -1);
70155
70149
  i0.ɵɵadvance();
70156
- i0.ɵɵconditional(ctx.summary().topPriorities && (((tmp_17_0 = ctx.summary().topPriorities) == null ? null : tmp_17_0.length) ?? 0) > 0 ? 22 : -1);
70150
+ i0.ɵɵconditional(ctx.summary().topPriorities && (((tmp_17_0 = ctx.summary().topPriorities) == null ? null : tmp_17_0.length) ?? 0) > 0 ? 23 : -1);
70157
70151
  i0.ɵɵadvance();
70158
- i0.ɵɵconditional(ctx.summary().quickWins && (((tmp_18_0 = ctx.summary().quickWins) == null ? null : tmp_18_0.length) ?? 0) > 0 ? 23 : -1);
70152
+ i0.ɵɵconditional(ctx.summary().quickWins && (((tmp_18_0 = ctx.summary().quickWins) == null ? null : tmp_18_0.length) ?? 0) > 0 ? 24 : -1);
70159
70153
  } }, dependencies: [CommonModule, i1$1.NgClass, GradeBadgeComponent,
70160
70154
  SymphiqIconComponent,
70161
70155
  NapkinVisualPlaceholderComponent,
@@ -70192,16 +70186,7 @@ class MetricExecutiveSummaryComponent {
70192
70186
  {{ formatMetricName(metricName()) }}
70193
70187
  </h2>
70194
70188
  </div>
70195
- <div class="flex items-center gap-3 mb-4">
70196
- <span [ngClass]="healthBadgeClasses()" class="px-4 py-2 rounded-full text-sm font-semibold uppercase tracking-wider">
70197
- {{ summary().metricHealth?.replace('_', ' ') }}
70198
- </span>
70199
- @if (summary().pacingStatus) {
70200
- <span [ngClass]="pacingBadgeClasses()" class="px-4 py-2 rounded-full text-sm font-semibold uppercase tracking-wider">
70201
- {{ summary().pacingStatus }}
70202
- </span>
70203
- }
70204
- </div>
70189
+
70205
70190
  <p [ngClass]="textClasses()" class="text-lg leading-relaxed">
70206
70191
  {{ summary().gradeRationale }}
70207
70192
  </p>
@@ -70216,10 +70201,15 @@ class MetricExecutiveSummaryComponent {
70216
70201
  </div>
70217
70202
 
70218
70203
  <!-- Metric Performance Cards -->
70219
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
70204
+ <button
70205
+ type="button"
70206
+ (click)="viewMetricDetailsClick.emit()"
70207
+ class="w-full text-left cursor-pointer group"
70208
+ >
70209
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
70220
70210
  <!-- Current Value -->
70221
70211
  @if (summary().currentValue) {
70222
- <div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
70212
+ <div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
70223
70213
  <div class="flex items-center gap-2 mb-2">
70224
70214
  <symphiq-icon
70225
70215
  [icon]="{ name: 'signal', source: iconSource }"
@@ -70250,7 +70240,7 @@ class MetricExecutiveSummaryComponent {
70250
70240
 
70251
70241
  <!-- Target Value -->
70252
70242
  @if (summary().targetValue) {
70253
- <div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
70243
+ <div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
70254
70244
  <div class="flex items-center gap-2 mb-2">
70255
70245
  <symphiq-icon
70256
70246
  [icon]="{ name: 'flag', source: iconSource }"
@@ -70269,7 +70259,7 @@ class MetricExecutiveSummaryComponent {
70269
70259
 
70270
70260
  <!-- Pacing Status -->
70271
70261
  @if (summary().pacingStatus) {
70272
- <div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
70262
+ <div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
70273
70263
  <div class="flex items-center gap-2 mb-2">
70274
70264
  <symphiq-icon
70275
70265
  [icon]="{ name: 'arrow-trending-up', source: iconSource }"
@@ -70288,7 +70278,7 @@ class MetricExecutiveSummaryComponent {
70288
70278
 
70289
70279
  <!-- Health Status -->
70290
70280
  @if (summary().metricHealth) {
70291
- <div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
70281
+ <div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
70292
70282
  <div class="flex items-center gap-2 mb-2">
70293
70283
  <symphiq-icon
70294
70284
  [icon]="{ name: 'heart', source: iconSource }"
@@ -70306,6 +70296,19 @@ class MetricExecutiveSummaryComponent {
70306
70296
  }
70307
70297
  </div>
70308
70298
 
70299
+ <!-- View Details Indicator -->
70300
+ <div class="flex items-center justify-center gap-2 mt-3 opacity-0 group-hover:opacity-100 transition-opacity duration-200">
70301
+ <span [ngClass]="viewDetailsTextClasses()" class="text-sm font-medium">
70302
+ View Metric Details
70303
+ </span>
70304
+ <symphiq-icon
70305
+ [icon]="{ name: 'arrow-right', source: iconSource }"
70306
+ size="w-4 h-4"
70307
+ [ngClass]="viewDetailsTextClasses()"
70308
+ />
70309
+ </div>
70310
+ </button>
70311
+
70309
70312
  <!-- Narrative with Napkin Visual -->
70310
70313
  @if (summary().narrative) {
70311
70314
  <div [ngClass]="narrativeClasses()" class="rounded-xl p-6 mt-6">
@@ -70441,8 +70444,8 @@ class MetricExecutiveSummaryComponent {
70441
70444
  </section>
70442
70445
  `
70443
70446
  }]
70444
- }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: true }] }], metricName: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricName", required: false }] }], allGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "allGoals", required: false }] }], topPrioritiesClick: [{ type: i0.Output, args: ["topPrioritiesClick"] }], priorityDetailClick: [{ type: i0.Output, args: ["priorityDetailClick"] }] }); })();
70445
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricExecutiveSummaryComponent, { className: "MetricExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-shop-dashboard/metric-executive-summary.component.ts", lineNumber: 287 }); })();
70447
+ }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: true }] }], metricName: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricName", required: false }] }], allGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "allGoals", required: false }] }], topPrioritiesClick: [{ type: i0.Output, args: ["topPrioritiesClick"] }], priorityDetailClick: [{ type: i0.Output, args: ["priorityDetailClick"] }], viewMetricDetailsClick: [{ type: i0.Output, args: ["viewMetricDetailsClick"] }] }); })();
70448
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricExecutiveSummaryComponent, { className: "MetricExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-shop-dashboard/metric-executive-summary.component.ts", lineNumber: 296 }); })();
70446
70449
 
70447
70450
  const _c0$t = a0 => ({ name: "chevron-right", source: a0 });
70448
70451
  function GoalCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
@@ -81135,17 +81138,35 @@ class StrategyRecommendationsModalContentComponent {
81135
81138
  }
81136
81139
  }
81137
81140
  }
81138
- // Map MetricEnum values to PerformanceMetricInterface objects
81139
- return uniqueMetricEnums
81140
- .map(metricEnum => this.allMetrics().find(m => m.metric === metricEnum))
81141
- .filter(m => m !== undefined);
81141
+ // Map MetricEnum values to PerformanceMetricInterface objects, creating placeholders for missing ones
81142
+ return uniqueMetricEnums.map(metricEnum => {
81143
+ const existingMetric = this.allMetrics().find(m => m.metric === metricEnum);
81144
+ if (existingMetric) {
81145
+ return existingMetric;
81146
+ }
81147
+ // Create placeholder for metrics not in allMetrics()
81148
+ return {
81149
+ metric: metricEnum,
81150
+ title: MetricEnumUtil.title(metricEnum),
81151
+ description: `${MetricEnumUtil.title(metricEnum)} metric data not available in current analysis.`
81152
+ };
81153
+ });
81142
81154
  }
81143
81155
  hasRelatedMetrics(recommendation) {
81144
81156
  return !!(recommendation.directlyAffectedMetric ||
81145
81157
  (recommendation.indirectlyAffectedMetrics && recommendation.indirectlyAffectedMetrics.length > 0));
81146
81158
  }
81147
81159
  getRelatedMetricsCount(recommendation) {
81148
- return this.getRelatedMetrics(recommendation).length;
81160
+ const seenMetricEnums = new Set();
81161
+ if (recommendation.directlyAffectedMetric) {
81162
+ seenMetricEnums.add(recommendation.directlyAffectedMetric);
81163
+ }
81164
+ if (recommendation.indirectlyAffectedMetrics) {
81165
+ for (const metricEnum of recommendation.indirectlyAffectedMetrics) {
81166
+ seenMetricEnums.add(metricEnum);
81167
+ }
81168
+ }
81169
+ return seenMetricEnums.size;
81149
81170
  }
81150
81171
  openRelatedMetricsModal(recommendation) {
81151
81172
  const metrics = this.getRelatedMetrics(recommendation);
@@ -97297,12 +97318,12 @@ class FocusAreaWelcomeBannerComponent {
97297
97318
  const _c0$7 = ["funnelModalComponent"];
97298
97319
  const _forTrack0$6 = ($index, $item) => $item.id;
97299
97320
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
97300
- i0.ɵɵelementStart(0, "div", 22)(1, "div", 23);
97301
- i0.ɵɵelement(2, "symphiq-indeterminate-spinner", 24);
97302
- i0.ɵɵelementStart(3, "div", 25)(4, "h3", 26);
97321
+ i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
97322
+ i0.ɵɵelement(2, "symphiq-indeterminate-spinner", 25);
97323
+ i0.ɵɵelementStart(3, "div", 26)(4, "h3", 27);
97303
97324
  i0.ɵɵtext(5, " Loading Your Focus Area Analysis ");
97304
97325
  i0.ɵɵelementEnd();
97305
- i0.ɵɵelementStart(6, "p", 27);
97326
+ i0.ɵɵelementStart(6, "p", 28);
97306
97327
  i0.ɵɵtext(7, " Please wait while we prepare your personalized insights... ");
97307
97328
  i0.ɵɵelementEnd()()()();
97308
97329
  } if (rf & 2) {
@@ -97316,10 +97337,10 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_7_Conditi
97316
97337
  i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600" : "text-slate-400");
97317
97338
  } }
97318
97339
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
97319
- i0.ɵɵelementStart(0, "div", 20);
97320
- i0.ɵɵelement(1, "symphiq-focus-area-welcome-banner", 21);
97340
+ i0.ɵɵelementStart(0, "div", 21);
97341
+ i0.ɵɵelement(1, "symphiq-focus-area-welcome-banner", 22);
97321
97342
  i0.ɵɵelementEnd();
97322
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 22);
97343
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 23);
97323
97344
  } if (rf & 2) {
97324
97345
  const ctx_r1 = i0.ɵɵnextContext();
97325
97346
  i0.ɵɵadvance();
@@ -97328,8 +97349,8 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_7_Templat
97328
97349
  i0.ɵɵconditional(ctx_r1.isLoading() ? 2 : -1);
97329
97350
  } }
97330
97351
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
97331
- i0.ɵɵelementStart(0, "div", 29);
97332
- i0.ɵɵelement(1, "symphiq-content-generation-progress", 31);
97352
+ i0.ɵɵelementStart(0, "div", 30);
97353
+ i0.ɵɵelement(1, "symphiq-content-generation-progress", 32);
97333
97354
  i0.ɵɵelementEnd();
97334
97355
  } if (rf & 2) {
97335
97356
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -97339,7 +97360,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditi
97339
97360
  } }
97340
97361
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
97341
97362
  const _r3 = i0.ɵɵgetCurrentView();
97342
- i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 32);
97363
+ i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 33);
97343
97364
  i0.ɵɵlistener("viewMoreClick", function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template_symphiq_strategic_goals_tiled_grid_viewMoreClick_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.openGoalModal($event)); });
97344
97365
  i0.ɵɵelementEnd();
97345
97366
  } if (rf & 2) {
@@ -97347,8 +97368,8 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditi
97347
97368
  i0.ɵɵproperty("goals", ctx_r1.strategicRoadmapGoals())("viewMode", ctx_r1.viewMode());
97348
97369
  } }
97349
97370
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
97350
- i0.ɵɵelementStart(0, "div", 28);
97351
- i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template, 2, 3, "div", 29)(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 30);
97371
+ i0.ɵɵelementStart(0, "div", 29);
97372
+ i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template, 2, 3, "div", 30)(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 31);
97352
97373
  i0.ɵɵelementEnd();
97353
97374
  } if (rf & 2) {
97354
97375
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -97357,7 +97378,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditi
97357
97378
  } }
97358
97379
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
97359
97380
  i0.ɵɵelementStart(0, "div");
97360
- i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 33);
97381
+ i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 34);
97361
97382
  i0.ɵɵelementEnd();
97362
97383
  } if (rf & 2) {
97363
97384
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -97365,7 +97386,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditi
97365
97386
  i0.ɵɵproperty("sections", ctx_r1.nonStrategicSections())("viewMode", ctx_r1.viewMode())("focusAreaExecutiveSummary", ctx_r1.focusAreaExecutiveSummary())("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
97366
97387
  } }
97367
97388
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
97368
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 28);
97389
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 29);
97369
97390
  i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Conditional_1_Template, 2, 8, "div");
97370
97391
  } if (rf & 2) {
97371
97392
  const ctx_r1 = i0.ɵɵnextContext();
@@ -97375,7 +97396,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_8_Templat
97375
97396
  } }
97376
97397
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_0_Template(rf, ctx) { if (rf & 1) {
97377
97398
  const _r4 = i0.ɵɵgetCurrentView();
97378
- i0.ɵɵelementStart(0, "symphiq-focus-area-executive-summary", 36);
97399
+ i0.ɵɵelementStart(0, "symphiq-focus-area-executive-summary", 37);
97379
97400
  i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_focus_area_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_focus_area_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handlePriorityDetailClick($event)); });
97380
97401
  i0.ɵɵelementEnd();
97381
97402
  } if (rf & 2) {
@@ -97383,21 +97404,21 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97383
97404
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("summary", ctx)("allGoals", ctx_r1.allGoals());
97384
97405
  } }
97385
97406
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
97386
- i0.ɵɵelement(0, "symphiq-section-divider", 37);
97407
+ i0.ɵɵelement(0, "symphiq-section-divider", 38);
97387
97408
  } if (rf & 2) {
97388
97409
  const sectionList_r5 = i0.ɵɵnextContext();
97389
97410
  const ctx_r1 = i0.ɵɵnextContext(2);
97390
97411
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r5[0].icon);
97391
97412
  } }
97392
97413
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
97393
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 37);
97414
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 38);
97394
97415
  } if (rf & 2) {
97395
97416
  const sectionList_r5 = ctx;
97396
97417
  i0.ɵɵconditional(sectionList_r5.length > 0 && sectionList_r5[0].icon ? 0 : -1);
97397
97418
  } }
97398
97419
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
97399
- i0.ɵɵelementStart(0, "div", 40);
97400
- i0.ɵɵelement(1, "symphiq-icon", 45);
97420
+ i0.ɵɵelementStart(0, "div", 41);
97421
+ i0.ɵɵelement(1, "symphiq-icon", 46);
97401
97422
  i0.ɵɵelementEnd();
97402
97423
  } if (rf & 2) {
97403
97424
  const section_r6 = i0.ɵɵnextContext().$implicit;
@@ -97407,8 +97428,8 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97407
97428
  i0.ɵɵproperty("icon", section_r6.icon);
97408
97429
  } }
97409
97430
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
97410
- i0.ɵɵelementStart(0, "div", 47);
97411
- i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 49);
97431
+ i0.ɵɵelementStart(0, "div", 48);
97432
+ i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 50);
97412
97433
  i0.ɵɵelementEnd();
97413
97434
  } if (rf & 2) {
97414
97435
  const section_r6 = i0.ɵɵnextContext(2).$implicit;
@@ -97417,7 +97438,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97417
97438
  i0.ɵɵproperty("visual", section_r6.visual)("viewMode", ctx_r1.viewMode());
97418
97439
  } }
97419
97440
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
97420
- i0.ɵɵelementStart(0, "div", 50)(1, "p", 51);
97441
+ i0.ɵɵelementStart(0, "div", 51)(1, "p", 52);
97421
97442
  i0.ɵɵtext(2);
97422
97443
  i0.ɵɵelementEnd()();
97423
97444
  } if (rf & 2) {
@@ -97430,9 +97451,9 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97430
97451
  i0.ɵɵtextInterpolate1(" ", section_r6.description, " ");
97431
97452
  } }
97432
97453
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
97433
- i0.ɵɵelementStart(0, "div", 46);
97434
- i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 47);
97435
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 48);
97454
+ i0.ɵɵelementStart(0, "div", 47);
97455
+ i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 48);
97456
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 49);
97436
97457
  i0.ɵɵelementEnd();
97437
97458
  } if (rf & 2) {
97438
97459
  const ctx_r6 = i0.ɵɵnextContext();
@@ -97445,7 +97466,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97445
97466
  i0.ɵɵconditional(section_r6.description ? 2 : -1);
97446
97467
  } }
97447
97468
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
97448
- i0.ɵɵelement(0, "symphiq-section-divider", 37);
97469
+ i0.ɵɵelement(0, "symphiq-section-divider", 38);
97449
97470
  } if (rf & 2) {
97450
97471
  const ɵ$index_63_r8 = i0.ɵɵnextContext().$index;
97451
97472
  const sectionList_r9 = i0.ɵɵnextContext();
@@ -97453,15 +97474,15 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97453
97474
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r9[ɵ$index_63_r8 + 1].icon);
97454
97475
  } }
97455
97476
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
97456
- i0.ɵɵelementStart(0, "div", 38)(1, "div", 39);
97457
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div", 40);
97458
- i0.ɵɵelementStart(3, "div", 41)(4, "h3", 42);
97477
+ i0.ɵɵelementStart(0, "div", 39)(1, "div", 40);
97478
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div", 41);
97479
+ i0.ɵɵelementStart(3, "div", 42)(4, "h3", 43);
97459
97480
  i0.ɵɵtext(5);
97460
97481
  i0.ɵɵelementEnd()()();
97461
- i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div", 43);
97462
- i0.ɵɵelement(7, "symphiq-profile-section-content", 44);
97482
+ i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div", 44);
97483
+ i0.ɵɵelement(7, "symphiq-profile-section-content", 45);
97463
97484
  i0.ɵɵelementEnd();
97464
- i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 37);
97485
+ i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 38);
97465
97486
  } if (rf & 2) {
97466
97487
  const section_r6 = ctx.$implicit;
97467
97488
  const ɵ$index_63_r8 = ctx.$index;
@@ -97482,7 +97503,7 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97482
97503
  i0.ɵɵconditional(!(ɵ$index_63_r8 === ɵ$count_63_r10 - 1) ? 8 : -1);
97483
97504
  } }
97484
97505
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
97485
- i0.ɵɵelementStart(0, "section", 35);
97506
+ i0.ɵɵelementStart(0, "section", 36);
97486
97507
  i0.ɵɵrepeaterCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_For_2_Template, 9, 15, null, null, _forTrack0$6);
97487
97508
  i0.ɵɵelementEnd();
97488
97509
  } if (rf & 2) {
@@ -97490,9 +97511,9 @@ function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditi
97490
97511
  i0.ɵɵrepeater(ctx);
97491
97512
  } }
97492
97513
  function SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
97493
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_0_Template, 1, 3, "symphiq-focus-area-executive-summary", 34);
97514
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_0_Template, 1, 3, "symphiq-focus-area-executive-summary", 35);
97494
97515
  i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_1_Template, 1, 1);
97495
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 35);
97516
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 36);
97496
97517
  } if (rf & 2) {
97497
97518
  let tmp_2_0;
97498
97519
  let tmp_3_0;
@@ -97899,7 +97920,8 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
97899
97920
  const summary = this.focusAreaExecutiveSummary();
97900
97921
  if (summary?.topPriorities) {
97901
97922
  const focusAreaName = this.focusAreaName();
97902
- this.modalService.navigateToTopPriorityDetail(event.priority, event.index, this.viewMode(), focusAreaName);
97923
+ const totalCount = summary.topPriorities.length;
97924
+ this.modalService.navigateToTopPriorityDetail(event.priority, event.index, this.viewMode(), focusAreaName, totalCount);
97903
97925
  }
97904
97926
  }
97905
97927
  getCurrentModalState() {
@@ -98020,7 +98042,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98020
98042
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
98021
98043
  } }, hostBindings: function SymphiqProfileAnalysisFocusAreaDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
98022
98044
  i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisFocusAreaDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
98023
- } }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], focusAreaDetails: [1, "focusAreaDetails"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars: 48, consts: [["funnelModalComponent", ""], [1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "focusAreaDomain", "focusAreaName"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Focus Area Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "focusAreaExecutiveSummary", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisFocusAreaDashboardComponent_Template(rf, ctx) { if (rf & 1) {
98045
+ } }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], focusAreaDetails: [1, "focusAreaDetails"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 28, vars: 49, consts: [["funnelModalComponent", ""], [1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "focusAreaDomain", "focusAreaName"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Focus Area Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "focusAreaExecutiveSummary", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisFocusAreaDashboardComponent_Template(rf, ctx) { if (rf & 1) {
98024
98046
  const _r1 = i0.ɵɵgetCurrentView();
98025
98047
  i0.ɵɵelementStart(0, "div", 1);
98026
98048
  i0.ɵɵelement(1, "div", 2);
@@ -98053,11 +98075,11 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98053
98075
  i0.ɵɵconditionalCreate(21, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_21_Template, 1, 5, "symphiq-gap-detail-modal-content", 17);
98054
98076
  i0.ɵɵconditionalCreate(22, SymphiqProfileAnalysisFocusAreaDashboardComponent_Conditional_22_Template, 1, 4, "symphiq-opportunity-detail-modal-content", 18);
98055
98077
  i0.ɵɵelementEnd();
98056
- i0.ɵɵelement(23, "symphiq-funnel-analysis-modal", null, 0);
98057
- i0.ɵɵelementStart(25, "symphiq-mark-as-reviewed-footer", 19);
98058
- i0.ɵɵlistener("markAsReviewedClick", function SymphiqProfileAnalysisFocusAreaDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_25_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMarkAsReviewedClick()); });
98078
+ i0.ɵɵelement(23, "symphiq-funnel-analysis-modal", null, 0)(25, "symphiq-business-analysis-modal", 19);
98079
+ i0.ɵɵelementStart(26, "symphiq-mark-as-reviewed-footer", 20);
98080
+ i0.ɵɵlistener("markAsReviewedClick", function SymphiqProfileAnalysisFocusAreaDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMarkAsReviewedClick()); });
98059
98081
  i0.ɵɵelementEnd();
98060
- i0.ɵɵelement(26, "symphiq-tooltip-container");
98082
+ i0.ɵɵelement(27, "symphiq-tooltip-container");
98061
98083
  i0.ɵɵelementEnd()();
98062
98084
  } if (rf & 2) {
98063
98085
  let tmp_14_0;
@@ -98069,8 +98091,8 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98069
98091
  let tmp_37_0;
98070
98092
  let tmp_38_0;
98071
98093
  let tmp_39_0;
98072
- let tmp_41_0;
98073
98094
  let tmp_42_0;
98095
+ let tmp_43_0;
98074
98096
  i0.ɵɵclassProp("min-h-screen", !ctx.embedded());
98075
98097
  i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
98076
98098
  i0.ɵɵadvance();
@@ -98087,7 +98109,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98087
98109
  i0.ɵɵadvance();
98088
98110
  i0.ɵɵconditional(ctx.isSimplifiedView() ? 7 : -1);
98089
98111
  i0.ɵɵadvance();
98090
- i0.ɵɵconditional(ctx.isSimplifiedView() ? 8 : -1);
98112
+ i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isLoading() ? 8 : -1);
98091
98113
  i0.ɵɵadvance();
98092
98114
  i0.ɵɵconditional(!ctx.isSimplifiedView() ? 9 : -1);
98093
98115
  i0.ɵɵadvance();
@@ -98117,7 +98139,9 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98117
98139
  i0.ɵɵadvance();
98118
98140
  i0.ɵɵconditional((tmp_39_0 = ctx.modalType() === "opportunity-detail" && ctx.getOpportunityDetailData()) ? 22 : -1, tmp_39_0);
98119
98141
  i0.ɵɵadvance(3);
98120
- i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_41_0 = ctx.profileAnalysis()) == null ? null : tmp_41_0.reviewStatus)("selfContentStatus", (tmp_42_0 = ctx.profileAnalysis()) == null ? null : tmp_42_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
98142
+ i0.ɵɵproperty("isLightMode", ctx.isLightMode());
98143
+ i0.ɵɵadvance();
98144
+ i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_42_0 = ctx.profileAnalysis()) == null ? null : tmp_42_0.reviewStatus)("selfContentStatus", (tmp_43_0 = ctx.profileAnalysis()) == null ? null : tmp_43_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
98121
98145
  } }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent,
98122
98146
  SearchModalComponent,
98123
98147
  ViewModeSwitcherModalComponent,
@@ -98130,6 +98154,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98130
98154
  ProfileSectionContentComponent,
98131
98155
  ProfileAnalysisModalComponent,
98132
98156
  ModalComponent,
98157
+ BusinessAnalysisModalComponent,
98133
98158
  GoalCardComponent,
98134
98159
  GoalObjectivesModalContentComponent,
98135
98160
  ObjectiveStrategiesModalContentComponent,
@@ -98165,6 +98190,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98165
98190
  ProfileSectionContentComponent,
98166
98191
  ProfileAnalysisModalComponent,
98167
98192
  ModalComponent,
98193
+ BusinessAnalysisModalComponent,
98168
98194
  GoalCardComponent,
98169
98195
  GoalObjectivesModalContentComponent,
98170
98196
  ObjectiveStrategiesModalContentComponent,
@@ -98182,341 +98208,346 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98182
98208
  MarkAsReviewedFooterComponent
98183
98209
  ],
98184
98210
  changeDetection: ChangeDetectionStrategy.OnPush,
98185
- template: `
98186
- <div [ngClass]="getContainerClasses()" [class.min-h-screen]="!embedded()" class="relative">
98187
- <div class="animated-bubbles" [class.light-mode]="isLightMode()"
98188
- style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
98189
-
98190
- <!-- Scroll Progress Bar -->
98191
- <div
98192
- [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
98193
- <div
98194
- [style.width.%]="scrollProgress()"
98195
- [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
98196
- class="h-full transition-all duration-200 ease-out">
98197
- </div>
98198
- </div>
98199
-
98200
- <div class="relative z-[51]">
98201
- <!-- Dashboard Header -->
98202
- <symphiq-dashboard-header
98203
- [title]="getAnalysisSubtitle()"
98204
- [subtitle]="''"
98205
- [currentSection]="'Focus Area'"
98206
- [viewMode]="viewMode()"
98207
- [viewModeLabel]="displayModeLabel()"
98208
- [isLoading]="isLoading()"
98209
- [requestedByUser]="requestedByUser()"
98210
- [createdDate]="profileAnalysis()?.selfContentCompletedDate"
98211
- [showControls]="shouldShowHeaderControls()"
98212
- (searchClick)="openSearch()"
98213
- (viewModeClick)="openViewModeSwitcher()"
98214
- />
98215
-
98216
- <!-- Main Content -->
98217
- <main class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-12"
98218
- [class.pb-32]="shouldShowReviewFooter()">
98219
-
98220
- <!-- Welcome Banner (Simplified View Only) -->
98221
- @if (isSimplifiedView()) {
98222
- <div class="mb-12">
98223
- <symphiq-focus-area-welcome-banner
98224
- [viewMode]="viewMode()"
98225
- [focusAreaDomain]="focusAreaDomain()"
98226
- [focusAreaName]="focusAreaName()"
98227
- />
98228
- </div>
98229
-
98230
- <!-- Loading Card -->
98231
- @if (isLoading()) {
98232
- <div [ngClass]="isLightMode() ? 'bg-white/80 border-slate-200' : 'bg-slate-800/80 border-slate-700'"
98233
- class="rounded-2xl border shadow-lg p-8 backdrop-blur-sm">
98234
- <div class="flex flex-col items-center justify-center space-y-4">
98235
- <symphiq-indeterminate-spinner [viewMode]="viewMode()" size="large" />
98236
- <div class="text-center">
98237
- <h3 [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-lg font-semibold mb-1">
98238
- Loading Your Focus Area Analysis
98239
- </h3>
98240
- <p [ngClass]="isLightMode() ? 'text-slate-600' : 'text-slate-400'" class="text-sm">
98241
- Please wait while we prepare your personalized insights...
98242
- </p>
98243
- </div>
98244
- </div>
98245
- </div>
98246
- }
98247
- }
98248
-
98249
- <!-- Simplified View Content -->
98250
- @if (isSimplifiedView()) {
98251
- <!-- Strategic Insights & Goals -->
98252
- @if (profileAnalysis()) {
98253
- <div class="mb-8">
98254
- @if (isProfileAnalysisGenerating()) {
98255
- <div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
98256
- <symphiq-content-generation-progress
98257
- [itemStatus]="itemStatusProfileAnalysis()"
98258
- [viewMode]="viewMode()"
98259
- title="Generating Your Focus Area Analysis"
98260
- subtitle="We're analyzing your data to create your personalized analysis. It will appear when ready."
98261
- />
98262
- </div>
98263
- } @else {
98264
- <symphiq-strategic-goals-tiled-grid
98265
- [goals]="strategicRoadmapGoals()"
98266
- [viewMode]="viewMode()"
98267
- (viewMoreClick)="openGoalModal($event)"
98268
- />
98269
- }
98270
- </div>
98271
- }
98272
-
98273
- <!-- Supporting Business Context -->
98274
- @if (nonStrategicSections().length > 0) {
98275
- <div>
98276
- <symphiq-collapsible-analysis-section-group
98277
- [sections]="nonStrategicSections()"
98278
- [viewMode]="viewMode()"
98279
- [focusAreaExecutiveSummary]="focusAreaExecutiveSummary()"
98280
- [allGoals]="allGoals()"
98281
- [allMetrics]="allMetrics()"
98282
- [allCharts]="allCharts()"
98283
- [allInsights]="allInsights()"
98284
- [businessProfile]="profile()"
98285
- />
98286
- </div>
98287
- }
98288
- }
98289
-
98290
- <!-- Compact & Expanded View Content -->
98291
- @if (!isSimplifiedView()) {
98292
- <!-- Focus Area Executive Summary -->
98293
- @if (focusAreaExecutiveSummary(); as summary) {
98294
- <symphiq-focus-area-executive-summary
98295
- [viewMode]="viewMode()"
98296
- [summary]="summary"
98297
- [allGoals]="allGoals()"
98298
- (topPrioritiesClick)="handleTopPrioritiesClick()"
98299
- (priorityDetailClick)="handlePriorityDetailClick($event)"
98300
- />
98301
- }
98302
-
98303
- <!-- Divider Before First Section -->
98304
- @if (sections(); as sectionList) {
98305
- @if (sectionList.length > 0 && sectionList[0].icon) {
98306
- <symphiq-section-divider
98307
- [viewMode]="viewMode()"
98308
- [sectionIcon]="sectionList[0].icon"
98309
- />
98310
- }
98311
- }
98312
-
98313
- <!-- Profile Analysis Sections -->
98314
- @if (sections(); as sectionList) {
98315
- <section class="space-y-8">
98316
- @for (section of sectionList; track section.id; let idx = $index; let last = $last) {
98317
- <div [id]="'section-' + section.id" [ngClass]="getSectionCardClasses()"
98318
- class="rounded-xl p-8 scroll-mt-24">
98319
- <!-- Icon and Title -->
98320
- <div class="flex items-start gap-3 mb-6">
98321
- @if (section.icon) {
98322
- <div [ngClass]="getSectionIconClasses()"
98323
- class="flex-shrink-0 w-12 h-12 rounded-xl flex items-center justify-center">
98324
- <symphiq-icon [icon]="section.icon" size="w-6 h-6"></symphiq-icon>
98325
- </div>
98326
- }
98327
- <div class="flex-1">
98328
- <h3 [ngClass]="getSectionTitleClasses()" class="text-2xl font-bold">
98329
- {{ section.title }}
98330
- </h3>
98331
- </div>
98332
- </div>
98333
-
98334
- <!-- Description and Visual Side-by-Side -->
98335
- @if (section.description || (section.visual && section.visual.enabled)) {
98336
- <div class="mb-6 flex flex-col lg:flex-row gap-6 items-start"
98337
- [class.lg:flex-row-reverse]="idx % 2 === 0">
98338
- @if (section.visual && section.visual.enabled) {
98339
- <div class="w-full lg:w-2/3">
98340
- <symphiq-napkin-visual-placeholder
98341
- [visual]="section.visual"
98342
- [viewMode]="viewMode()"
98343
- />
98344
- </div>
98345
- }
98346
- @if (section.description) {
98347
- <div class="w-full"
98348
- [class.lg:w-1/3]="section.visual && section.visual.enabled" [class.lg:w-full]="!section.visual || !section.visual.enabled">
98349
- <p [ngClass]="getSectionDescriptionClasses()"
98350
- class="text-sm leading-relaxed whitespace-pre-line">
98351
- {{ section.description }}
98352
- </p>
98353
- </div>
98354
- }
98355
- </div>
98356
- }
98357
-
98358
- <!-- Section Content -->
98359
- <symphiq-profile-section-content
98360
- [section]="section"
98361
- [viewMode]="viewMode()"
98362
- [sectionIndex]="idx"
98363
- [allGoals]="allGoals()"
98364
- [allMetrics]="allMetrics()"
98365
- [allCharts]="allCharts()"
98366
- [allInsights]="allInsights()"
98367
- [businessProfile]="profile()"
98368
- />
98369
- </div>
98370
-
98371
- <!-- Section Divider (between sections) -->
98372
- @if (!last) {
98373
- <symphiq-section-divider
98374
- [viewMode]="viewMode()"
98375
- [sectionIcon]="sectionList[idx + 1].icon"
98376
- />
98377
- }
98378
- }
98379
- </section>
98380
- }
98381
- }
98382
-
98383
- </main>
98384
-
98385
- <!-- Table of Contents (Compact & Expanded Views) -->
98386
- @if (!isSimplifiedView() && sections()) {
98387
- <symphiq-floating-toc
98388
- [sections]="tocSections()"
98389
- [viewMode]="viewMode()"
98390
- [embedded]="embedded()"
98391
- [scrollElement]="scrollElement() ?? undefined"
98392
- />
98393
- }
98394
-
98395
- <!-- Section Navigation Dots (Compact & Expanded Views) -->
98396
- @if (!isSimplifiedView() && sections()) {
98397
- <symphiq-section-navigation
98398
- [sections]="tocSections()"
98399
- [viewMode]="viewMode()"
98400
- [embedded]="embedded()"
98401
- [scrollElement]="scrollElement() ?? undefined"
98402
- />
98403
- }
98404
-
98405
- <!-- Search Modal -->
98406
- <symphiq-search-modal
98407
- [isOpen]="isSearchOpen()"
98408
- [isLightMode]="isLightMode()"
98409
- (close)="closeSearch()"
98410
- />
98411
-
98412
- <!-- View Mode Switcher Modal -->
98413
- <symphiq-view-mode-switcher-modal
98414
- [isOpen]="isViewModeSwitcherOpen()"
98415
- [currentMode]="currentDisplayMode()"
98416
- [viewMode]="viewMode()"
98417
- (close)="closeViewModeSwitcher()"
98418
- (modeSelected)="handleDisplayModeChange($event)"
98419
- />
98420
-
98421
- <!-- Profile Analysis Modal -->
98422
- <symphiq-profile-analysis-modal
98423
- [isLightMode]="isLightMode()"
98424
- [allMetrics]="allMetrics()"
98425
- [allInsights]="allInsights()"
98426
- [allBusinessInsights]="allBusinessInsights()"
98427
- [allCharts]="allCharts()"
98428
- >
98429
- @if (modalType() === 'goal-detail' && getGoalDetailData(); as data) {
98430
- <symphiq-goal-card
98431
- [goal]="data.goal"
98432
- [viewMode]="data.viewMode"
98433
- [isInModal]="true"
98434
- [allMetrics]="allMetrics()"
98435
- [allCharts]="allCharts()"
98436
- [allInsights]="allInsights()"
98437
- [currentModalState]="getCurrentModalState()"
98438
- [businessProfile]="profile()"
98439
- />
98440
- }
98441
- @if (modalType() === 'goal-objectives' && getGoalDetailData(); as data) {
98442
- <symphiq-goal-objectives-modal-content
98443
- [goal]="data.goal"
98444
- [viewMode]="data.viewMode"
98445
- />
98446
- }
98447
- @if (modalType() === 'objective-strategies' && getObjectiveStrategiesData(); as data) {
98448
- <symphiq-objective-strategies-modal-content
98449
- [objective]="data.objective"
98450
- [goalTitle]="data.goalTitle"
98451
- [viewMode]="data.viewMode"
98452
- />
98453
- }
98454
- @if (modalType() === 'strategy-recommendations' && getStrategyRecommendationsData(); as data) {
98455
- <symphiq-strategy-recommendations-modal-content
98456
- [strategy]="data.strategy"
98457
- [objectiveTitle]="data.objectiveTitle"
98458
- [goalTitle]="data.goalTitle"
98459
- [viewMode]="data.viewMode"
98460
- [expandedRecommendationId]="data.expandedRecommendationId"
98461
- [allMetrics]="allMetrics()"
98462
- [allCharts]="allCharts()"
98463
- [allInsights]="allInsights()"
98464
- [allBusinessInsights]="allBusinessInsights()"
98465
- [currentModalState]="getCurrentModalState()"
98466
- />
98467
- }
98468
- @if (modalType() === 'category-detail' && getCategoryDetailData(); as data) {
98469
- <symphiq-category-detail-modal-content
98470
- [category]="data.category"
98471
- [viewMode]="data.viewMode"
98472
- [scrollToSection]="data.scrollToSection"
98473
- />
98474
- }
98475
- @if (modalType() === 'strength-detail' && getStrengthDetailData(); as data) {
98476
- <symphiq-strength-detail-modal-content
98477
- [strength]="data.strength"
98478
- [viewMode]="data.viewMode"
98479
- [allFunnelStrengths]="funnelStrengths()"
98480
- [currentModalState]="getCurrentModalState()"
98481
- />
98482
- }
98483
- @if (modalType() === 'gap-detail' && getGapDetailData(); as data) {
98484
- <symphiq-gap-detail-modal-content
98485
- [gap]="data.gap"
98486
- [viewMode]="data.viewMode"
98487
- [allGoals]="allGoals()"
98488
- [allWeaknesses]="funnelWeaknesses()"
98489
- [currentModalState]="getCurrentModalState()"
98490
- />
98491
- }
98492
- @if (modalType() === 'opportunity-detail' && getOpportunityDetailData(); as data) {
98493
- <symphiq-opportunity-detail-modal-content
98494
- [opportunity]="data.opportunity"
98495
- [viewMode]="data.viewMode"
98496
- [allStrengths]="funnelStrengths()"
98497
- [currentModalState]="getCurrentModalState()"
98498
- />
98499
- }
98500
- </symphiq-profile-analysis-modal>
98501
-
98502
- <!-- Funnel Analysis Modal -->
98503
- <symphiq-funnel-analysis-modal
98504
- #funnelModalComponent
98505
- />
98506
-
98507
- <!-- Mark as Reviewed Sticky Footer -->
98508
- <symphiq-mark-as-reviewed-footer
98509
- [viewMode]="viewMode()"
98510
- [reviewStatus]="profileAnalysis()?.reviewStatus"
98511
- [selfContentStatus]="profileAnalysis()?.selfContentStatus"
98512
- [isMarkingAsReviewed]="isMarkingAsReviewed()"
98513
- (markAsReviewedClick)="handleMarkAsReviewedClick()"
98514
- />
98515
-
98516
- <!-- Tooltip Container -->
98517
- <symphiq-tooltip-container />
98518
- </div>
98519
- </div>
98211
+ template: `
98212
+ <div [ngClass]="getContainerClasses()" [class.min-h-screen]="!embedded()" class="relative">
98213
+ <div class="animated-bubbles" [class.light-mode]="isLightMode()"
98214
+ style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
98215
+
98216
+ <!-- Scroll Progress Bar -->
98217
+ <div
98218
+ [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
98219
+ <div
98220
+ [style.width.%]="scrollProgress()"
98221
+ [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
98222
+ class="h-full transition-all duration-200 ease-out">
98223
+ </div>
98224
+ </div>
98225
+
98226
+ <div class="relative z-[51]">
98227
+ <!-- Dashboard Header -->
98228
+ <symphiq-dashboard-header
98229
+ [title]="getAnalysisSubtitle()"
98230
+ [subtitle]="''"
98231
+ [currentSection]="'Focus Area'"
98232
+ [viewMode]="viewMode()"
98233
+ [viewModeLabel]="displayModeLabel()"
98234
+ [isLoading]="isLoading()"
98235
+ [requestedByUser]="requestedByUser()"
98236
+ [createdDate]="profileAnalysis()?.selfContentCompletedDate"
98237
+ [showControls]="shouldShowHeaderControls()"
98238
+ (searchClick)="openSearch()"
98239
+ (viewModeClick)="openViewModeSwitcher()"
98240
+ />
98241
+
98242
+ <!-- Main Content -->
98243
+ <main class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-12"
98244
+ [class.pb-32]="shouldShowReviewFooter()">
98245
+
98246
+ <!-- Welcome Banner (Simplified View Only) -->
98247
+ @if (isSimplifiedView()) {
98248
+ <div class="mb-12">
98249
+ <symphiq-focus-area-welcome-banner
98250
+ [viewMode]="viewMode()"
98251
+ [focusAreaDomain]="focusAreaDomain()"
98252
+ [focusAreaName]="focusAreaName()"
98253
+ />
98254
+ </div>
98255
+
98256
+ <!-- Loading Card -->
98257
+ @if (isLoading()) {
98258
+ <div [ngClass]="isLightMode() ? 'bg-white/80 border-slate-200' : 'bg-slate-800/80 border-slate-700'"
98259
+ class="rounded-2xl border shadow-lg p-8 backdrop-blur-sm">
98260
+ <div class="flex flex-col items-center justify-center space-y-4">
98261
+ <symphiq-indeterminate-spinner [viewMode]="viewMode()" size="large" />
98262
+ <div class="text-center">
98263
+ <h3 [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-lg font-semibold mb-1">
98264
+ Loading Your Focus Area Analysis
98265
+ </h3>
98266
+ <p [ngClass]="isLightMode() ? 'text-slate-600' : 'text-slate-400'" class="text-sm">
98267
+ Please wait while we prepare your personalized insights...
98268
+ </p>
98269
+ </div>
98270
+ </div>
98271
+ </div>
98272
+ }
98273
+ }
98274
+
98275
+ <!-- Simplified View Content -->
98276
+ @if (isSimplifiedView() && !isLoading()) {
98277
+ <!-- Strategic Insights & Goals -->
98278
+ @if (profileAnalysis()) {
98279
+ <div class="mb-8">
98280
+ @if (isProfileAnalysisGenerating()) {
98281
+ <div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
98282
+ <symphiq-content-generation-progress
98283
+ [itemStatus]="itemStatusProfileAnalysis()"
98284
+ [viewMode]="viewMode()"
98285
+ title="Generating Your Focus Area Analysis"
98286
+ subtitle="We're analyzing your data to create your personalized analysis. It will appear when ready."
98287
+ />
98288
+ </div>
98289
+ } @else {
98290
+ <symphiq-strategic-goals-tiled-grid
98291
+ [goals]="strategicRoadmapGoals()"
98292
+ [viewMode]="viewMode()"
98293
+ (viewMoreClick)="openGoalModal($event)"
98294
+ />
98295
+ }
98296
+ </div>
98297
+ }
98298
+
98299
+ <!-- Supporting Business Context -->
98300
+ @if (nonStrategicSections().length > 0) {
98301
+ <div>
98302
+ <symphiq-collapsible-analysis-section-group
98303
+ [sections]="nonStrategicSections()"
98304
+ [viewMode]="viewMode()"
98305
+ [focusAreaExecutiveSummary]="focusAreaExecutiveSummary()"
98306
+ [allGoals]="allGoals()"
98307
+ [allMetrics]="allMetrics()"
98308
+ [allCharts]="allCharts()"
98309
+ [allInsights]="allInsights()"
98310
+ [businessProfile]="profile()"
98311
+ />
98312
+ </div>
98313
+ }
98314
+ }
98315
+
98316
+ <!-- Compact & Expanded View Content -->
98317
+ @if (!isSimplifiedView()) {
98318
+ <!-- Focus Area Executive Summary -->
98319
+ @if (focusAreaExecutiveSummary(); as summary) {
98320
+ <symphiq-focus-area-executive-summary
98321
+ [viewMode]="viewMode()"
98322
+ [summary]="summary"
98323
+ [allGoals]="allGoals()"
98324
+ (topPrioritiesClick)="handleTopPrioritiesClick()"
98325
+ (priorityDetailClick)="handlePriorityDetailClick($event)"
98326
+ />
98327
+ }
98328
+
98329
+ <!-- Divider Before First Section -->
98330
+ @if (sections(); as sectionList) {
98331
+ @if (sectionList.length > 0 && sectionList[0].icon) {
98332
+ <symphiq-section-divider
98333
+ [viewMode]="viewMode()"
98334
+ [sectionIcon]="sectionList[0].icon"
98335
+ />
98336
+ }
98337
+ }
98338
+
98339
+ <!-- Profile Analysis Sections -->
98340
+ @if (sections(); as sectionList) {
98341
+ <section class="space-y-8">
98342
+ @for (section of sectionList; track section.id; let idx = $index; let last = $last) {
98343
+ <div [id]="'section-' + section.id" [ngClass]="getSectionCardClasses()"
98344
+ class="rounded-xl p-8 scroll-mt-24">
98345
+ <!-- Icon and Title -->
98346
+ <div class="flex items-start gap-3 mb-6">
98347
+ @if (section.icon) {
98348
+ <div [ngClass]="getSectionIconClasses()"
98349
+ class="flex-shrink-0 w-12 h-12 rounded-xl flex items-center justify-center">
98350
+ <symphiq-icon [icon]="section.icon" size="w-6 h-6"></symphiq-icon>
98351
+ </div>
98352
+ }
98353
+ <div class="flex-1">
98354
+ <h3 [ngClass]="getSectionTitleClasses()" class="text-2xl font-bold">
98355
+ {{ section.title }}
98356
+ </h3>
98357
+ </div>
98358
+ </div>
98359
+
98360
+ <!-- Description and Visual Side-by-Side -->
98361
+ @if (section.description || (section.visual && section.visual.enabled)) {
98362
+ <div class="mb-6 flex flex-col lg:flex-row gap-6 items-start"
98363
+ [class.lg:flex-row-reverse]="idx % 2 === 0">
98364
+ @if (section.visual && section.visual.enabled) {
98365
+ <div class="w-full lg:w-2/3">
98366
+ <symphiq-napkin-visual-placeholder
98367
+ [visual]="section.visual"
98368
+ [viewMode]="viewMode()"
98369
+ />
98370
+ </div>
98371
+ }
98372
+ @if (section.description) {
98373
+ <div class="w-full"
98374
+ [class.lg:w-1/3]="section.visual && section.visual.enabled" [class.lg:w-full]="!section.visual || !section.visual.enabled">
98375
+ <p [ngClass]="getSectionDescriptionClasses()"
98376
+ class="text-sm leading-relaxed whitespace-pre-line">
98377
+ {{ section.description }}
98378
+ </p>
98379
+ </div>
98380
+ }
98381
+ </div>
98382
+ }
98383
+
98384
+ <!-- Section Content -->
98385
+ <symphiq-profile-section-content
98386
+ [section]="section"
98387
+ [viewMode]="viewMode()"
98388
+ [sectionIndex]="idx"
98389
+ [allGoals]="allGoals()"
98390
+ [allMetrics]="allMetrics()"
98391
+ [allCharts]="allCharts()"
98392
+ [allInsights]="allInsights()"
98393
+ [businessProfile]="profile()"
98394
+ />
98395
+ </div>
98396
+
98397
+ <!-- Section Divider (between sections) -->
98398
+ @if (!last) {
98399
+ <symphiq-section-divider
98400
+ [viewMode]="viewMode()"
98401
+ [sectionIcon]="sectionList[idx + 1].icon"
98402
+ />
98403
+ }
98404
+ }
98405
+ </section>
98406
+ }
98407
+ }
98408
+
98409
+ </main>
98410
+
98411
+ <!-- Table of Contents (Compact & Expanded Views) -->
98412
+ @if (!isSimplifiedView() && sections()) {
98413
+ <symphiq-floating-toc
98414
+ [sections]="tocSections()"
98415
+ [viewMode]="viewMode()"
98416
+ [embedded]="embedded()"
98417
+ [scrollElement]="scrollElement() ?? undefined"
98418
+ />
98419
+ }
98420
+
98421
+ <!-- Section Navigation Dots (Compact & Expanded Views) -->
98422
+ @if (!isSimplifiedView() && sections()) {
98423
+ <symphiq-section-navigation
98424
+ [sections]="tocSections()"
98425
+ [viewMode]="viewMode()"
98426
+ [embedded]="embedded()"
98427
+ [scrollElement]="scrollElement() ?? undefined"
98428
+ />
98429
+ }
98430
+
98431
+ <!-- Search Modal -->
98432
+ <symphiq-search-modal
98433
+ [isOpen]="isSearchOpen()"
98434
+ [isLightMode]="isLightMode()"
98435
+ (close)="closeSearch()"
98436
+ />
98437
+
98438
+ <!-- View Mode Switcher Modal -->
98439
+ <symphiq-view-mode-switcher-modal
98440
+ [isOpen]="isViewModeSwitcherOpen()"
98441
+ [currentMode]="currentDisplayMode()"
98442
+ [viewMode]="viewMode()"
98443
+ (close)="closeViewModeSwitcher()"
98444
+ (modeSelected)="handleDisplayModeChange($event)"
98445
+ />
98446
+
98447
+ <!-- Profile Analysis Modal -->
98448
+ <symphiq-profile-analysis-modal
98449
+ [isLightMode]="isLightMode()"
98450
+ [allMetrics]="allMetrics()"
98451
+ [allInsights]="allInsights()"
98452
+ [allBusinessInsights]="allBusinessInsights()"
98453
+ [allCharts]="allCharts()"
98454
+ >
98455
+ @if (modalType() === 'goal-detail' && getGoalDetailData(); as data) {
98456
+ <symphiq-goal-card
98457
+ [goal]="data.goal"
98458
+ [viewMode]="data.viewMode"
98459
+ [isInModal]="true"
98460
+ [allMetrics]="allMetrics()"
98461
+ [allCharts]="allCharts()"
98462
+ [allInsights]="allInsights()"
98463
+ [currentModalState]="getCurrentModalState()"
98464
+ [businessProfile]="profile()"
98465
+ />
98466
+ }
98467
+ @if (modalType() === 'goal-objectives' && getGoalDetailData(); as data) {
98468
+ <symphiq-goal-objectives-modal-content
98469
+ [goal]="data.goal"
98470
+ [viewMode]="data.viewMode"
98471
+ />
98472
+ }
98473
+ @if (modalType() === 'objective-strategies' && getObjectiveStrategiesData(); as data) {
98474
+ <symphiq-objective-strategies-modal-content
98475
+ [objective]="data.objective"
98476
+ [goalTitle]="data.goalTitle"
98477
+ [viewMode]="data.viewMode"
98478
+ />
98479
+ }
98480
+ @if (modalType() === 'strategy-recommendations' && getStrategyRecommendationsData(); as data) {
98481
+ <symphiq-strategy-recommendations-modal-content
98482
+ [strategy]="data.strategy"
98483
+ [objectiveTitle]="data.objectiveTitle"
98484
+ [goalTitle]="data.goalTitle"
98485
+ [viewMode]="data.viewMode"
98486
+ [expandedRecommendationId]="data.expandedRecommendationId"
98487
+ [allMetrics]="allMetrics()"
98488
+ [allCharts]="allCharts()"
98489
+ [allInsights]="allInsights()"
98490
+ [allBusinessInsights]="allBusinessInsights()"
98491
+ [currentModalState]="getCurrentModalState()"
98492
+ />
98493
+ }
98494
+ @if (modalType() === 'category-detail' && getCategoryDetailData(); as data) {
98495
+ <symphiq-category-detail-modal-content
98496
+ [category]="data.category"
98497
+ [viewMode]="data.viewMode"
98498
+ [scrollToSection]="data.scrollToSection"
98499
+ />
98500
+ }
98501
+ @if (modalType() === 'strength-detail' && getStrengthDetailData(); as data) {
98502
+ <symphiq-strength-detail-modal-content
98503
+ [strength]="data.strength"
98504
+ [viewMode]="data.viewMode"
98505
+ [allFunnelStrengths]="funnelStrengths()"
98506
+ [currentModalState]="getCurrentModalState()"
98507
+ />
98508
+ }
98509
+ @if (modalType() === 'gap-detail' && getGapDetailData(); as data) {
98510
+ <symphiq-gap-detail-modal-content
98511
+ [gap]="data.gap"
98512
+ [viewMode]="data.viewMode"
98513
+ [allGoals]="allGoals()"
98514
+ [allWeaknesses]="funnelWeaknesses()"
98515
+ [currentModalState]="getCurrentModalState()"
98516
+ />
98517
+ }
98518
+ @if (modalType() === 'opportunity-detail' && getOpportunityDetailData(); as data) {
98519
+ <symphiq-opportunity-detail-modal-content
98520
+ [opportunity]="data.opportunity"
98521
+ [viewMode]="data.viewMode"
98522
+ [allStrengths]="funnelStrengths()"
98523
+ [currentModalState]="getCurrentModalState()"
98524
+ />
98525
+ }
98526
+ </symphiq-profile-analysis-modal>
98527
+
98528
+ <!-- Funnel Analysis Modal -->
98529
+ <symphiq-funnel-analysis-modal
98530
+ #funnelModalComponent
98531
+ />
98532
+
98533
+ <!-- Business Analysis Modal (for visualization) -->
98534
+ <symphiq-business-analysis-modal
98535
+ [isLightMode]="isLightMode()"
98536
+ />
98537
+
98538
+ <!-- Mark as Reviewed Sticky Footer -->
98539
+ <symphiq-mark-as-reviewed-footer
98540
+ [viewMode]="viewMode()"
98541
+ [reviewStatus]="profileAnalysis()?.reviewStatus"
98542
+ [selfContentStatus]="profileAnalysis()?.selfContentStatus"
98543
+ [isMarkingAsReviewed]="isMarkingAsReviewed()"
98544
+ (markAsReviewedClick)="handleMarkAsReviewedClick()"
98545
+ />
98546
+
98547
+ <!-- Tooltip Container -->
98548
+ <symphiq-tooltip-container />
98549
+ </div>
98550
+ </div>
98520
98551
  `
98521
98552
  }]
98522
98553
  }], null, { funnelModalComponent: [{
@@ -98526,7 +98557,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
98526
98557
  type: HostListener,
98527
98558
  args: ['window:scroll', ['$event']]
98528
98559
  }] }); })();
98529
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisFocusAreaDashboardComponent, { className: "SymphiqProfileAnalysisFocusAreaDashboardComponent", filePath: "lib/components/profile-analysis-focus-area-dashboard/symphiq-profile-analysis-focus-area-dashboard.component.ts", lineNumber: 481 }); })();
98560
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisFocusAreaDashboardComponent, { className: "SymphiqProfileAnalysisFocusAreaDashboardComponent", filePath: "lib/components/profile-analysis-focus-area-dashboard/symphiq-profile-analysis-focus-area-dashboard.component.ts", lineNumber: 488 }); })();
98530
98561
 
98531
98562
  function SymphiqProfileMetricsAnalysesDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
98532
98563
  const _r1 = i0.ɵɵgetCurrentView();
@@ -99631,12 +99662,12 @@ class SymphiqProfileMetricDashboardComponent {
99631
99662
  const _c0$5 = ["funnelModalComponent"];
99632
99663
  const _forTrack0$5 = ($index, $item) => $item.id;
99633
99664
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99634
- i0.ɵɵelementStart(0, "div", 22)(1, "div", 23);
99635
- i0.ɵɵelement(2, "symphiq-indeterminate-spinner", 24);
99636
- i0.ɵɵelementStart(3, "div", 25)(4, "h3", 26);
99665
+ i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
99666
+ i0.ɵɵelement(2, "symphiq-indeterminate-spinner", 25);
99667
+ i0.ɵɵelementStart(3, "div", 26)(4, "h3", 27);
99637
99668
  i0.ɵɵtext(5, " Loading Your Metric Analysis ");
99638
99669
  i0.ɵɵelementEnd();
99639
- i0.ɵɵelementStart(6, "p", 27);
99670
+ i0.ɵɵelementStart(6, "p", 28);
99640
99671
  i0.ɵɵtext(7, " Please wait while we prepare your personalized insights... ");
99641
99672
  i0.ɵɵelementEnd()()()();
99642
99673
  } if (rf & 2) {
@@ -99650,10 +99681,10 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditiona
99650
99681
  i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600" : "text-slate-400");
99651
99682
  } }
99652
99683
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
99653
- i0.ɵɵelementStart(0, "div", 20);
99654
- i0.ɵɵelement(1, "symphiq-metric-welcome-banner", 21);
99684
+ i0.ɵɵelementStart(0, "div", 21);
99685
+ i0.ɵɵelement(1, "symphiq-metric-welcome-banner", 22);
99655
99686
  i0.ɵɵelementEnd();
99656
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 22);
99687
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 23);
99657
99688
  } if (rf & 2) {
99658
99689
  const ctx_r1 = i0.ɵɵnextContext();
99659
99690
  i0.ɵɵadvance();
@@ -99662,8 +99693,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Template(r
99662
99693
  i0.ɵɵconditional(ctx_r1.isLoading() ? 2 : -1);
99663
99694
  } }
99664
99695
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
99665
- i0.ɵɵelementStart(0, "div", 29);
99666
- i0.ɵɵelement(1, "symphiq-content-generation-progress", 31);
99696
+ i0.ɵɵelementStart(0, "div", 30);
99697
+ i0.ɵɵelement(1, "symphiq-content-generation-progress", 32);
99667
99698
  i0.ɵɵelementEnd();
99668
99699
  } if (rf & 2) {
99669
99700
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -99673,7 +99704,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99673
99704
  } }
99674
99705
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99675
99706
  const _r3 = i0.ɵɵgetCurrentView();
99676
- i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 32);
99707
+ i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 33);
99677
99708
  i0.ɵɵlistener("viewMoreClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template_symphiq_strategic_goals_tiled_grid_viewMoreClick_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.openGoalModal($event)); });
99678
99709
  i0.ɵɵelementEnd();
99679
99710
  } if (rf & 2) {
@@ -99681,8 +99712,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99681
99712
  i0.ɵɵproperty("goals", ctx_r1.strategicRoadmapGoals())("viewMode", ctx_r1.viewMode());
99682
99713
  } }
99683
99714
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
99684
- i0.ɵɵelementStart(0, "div", 28);
99685
- i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template, 2, 3, "div", 29)(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 30);
99715
+ i0.ɵɵelementStart(0, "div", 29);
99716
+ i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template, 2, 3, "div", 30)(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 31);
99686
99717
  i0.ɵɵelementEnd();
99687
99718
  } if (rf & 2) {
99688
99719
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -99691,7 +99722,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99691
99722
  } }
99692
99723
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
99693
99724
  i0.ɵɵelementStart(0, "div");
99694
- i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 33);
99725
+ i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 34);
99695
99726
  i0.ɵɵelementEnd();
99696
99727
  } if (rf & 2) {
99697
99728
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -99699,7 +99730,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99699
99730
  i0.ɵɵproperty("sections", ctx_r1.nonStrategicSections())("viewMode", ctx_r1.viewMode())("metricExecutiveSummary", ctx_r1.metricExecutiveSummary())("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
99700
99731
  } }
99701
99732
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
99702
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 28);
99733
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 29);
99703
99734
  i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template, 2, 9, "div");
99704
99735
  } if (rf & 2) {
99705
99736
  const ctx_r1 = i0.ɵɵnextContext();
@@ -99709,29 +99740,29 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(r
99709
99740
  } }
99710
99741
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template(rf, ctx) { if (rf & 1) {
99711
99742
  const _r4 = i0.ɵɵgetCurrentView();
99712
- i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 36);
99713
- i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handlePriorityDetailClick($event)); });
99743
+ i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 37);
99744
+ i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handlePriorityDetailClick($event)); })("viewMetricDetailsClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_viewMetricDetailsClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleViewMetricDetailsClick()); });
99714
99745
  i0.ɵɵelementEnd();
99715
99746
  } if (rf & 2) {
99716
99747
  const ctx_r1 = i0.ɵɵnextContext(2);
99717
99748
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("summary", ctx)("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals());
99718
99749
  } }
99719
99750
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
99720
- i0.ɵɵelement(0, "symphiq-section-divider", 37);
99751
+ i0.ɵɵelement(0, "symphiq-section-divider", 38);
99721
99752
  } if (rf & 2) {
99722
99753
  const sectionList_r5 = i0.ɵɵnextContext();
99723
99754
  const ctx_r1 = i0.ɵɵnextContext(2);
99724
99755
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r5[0].icon);
99725
99756
  } }
99726
99757
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
99727
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 37);
99758
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 38);
99728
99759
  } if (rf & 2) {
99729
99760
  const sectionList_r5 = ctx;
99730
99761
  i0.ɵɵconditional(sectionList_r5.length > 0 && sectionList_r5[0].icon ? 0 : -1);
99731
99762
  } }
99732
99763
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99733
- i0.ɵɵelementStart(0, "div", 40);
99734
- i0.ɵɵelement(1, "symphiq-icon", 45);
99764
+ i0.ɵɵelementStart(0, "div", 41);
99765
+ i0.ɵɵelement(1, "symphiq-icon", 46);
99735
99766
  i0.ɵɵelementEnd();
99736
99767
  } if (rf & 2) {
99737
99768
  const section_r6 = i0.ɵɵnextContext().$implicit;
@@ -99741,8 +99772,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99741
99772
  i0.ɵɵproperty("icon", section_r6.icon);
99742
99773
  } }
99743
99774
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
99744
- i0.ɵɵelementStart(0, "div", 47);
99745
- i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 49);
99775
+ i0.ɵɵelementStart(0, "div", 48);
99776
+ i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 50);
99746
99777
  i0.ɵɵelementEnd();
99747
99778
  } if (rf & 2) {
99748
99779
  const section_r6 = i0.ɵɵnextContext(2).$implicit;
@@ -99751,7 +99782,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99751
99782
  i0.ɵɵproperty("visual", section_r6.visual)("viewMode", ctx_r1.viewMode());
99752
99783
  } }
99753
99784
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99754
- i0.ɵɵelementStart(0, "div", 50)(1, "p", 51);
99785
+ i0.ɵɵelementStart(0, "div", 51)(1, "p", 52);
99755
99786
  i0.ɵɵtext(2);
99756
99787
  i0.ɵɵelementEnd()();
99757
99788
  } if (rf & 2) {
@@ -99764,9 +99795,9 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99764
99795
  i0.ɵɵtextInterpolate1(" ", section_r6.description, " ");
99765
99796
  } }
99766
99797
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
99767
- i0.ɵɵelementStart(0, "div", 46);
99768
- i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 47);
99769
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 48);
99798
+ i0.ɵɵelementStart(0, "div", 47);
99799
+ i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 48);
99800
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 49);
99770
99801
  i0.ɵɵelementEnd();
99771
99802
  } if (rf & 2) {
99772
99803
  const ctx_r6 = i0.ɵɵnextContext();
@@ -99779,7 +99810,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99779
99810
  i0.ɵɵconditional(section_r6.description ? 2 : -1);
99780
99811
  } }
99781
99812
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
99782
- i0.ɵɵelement(0, "symphiq-section-divider", 37);
99813
+ i0.ɵɵelement(0, "symphiq-section-divider", 38);
99783
99814
  } if (rf & 2) {
99784
99815
  const ɵ$index_63_r8 = i0.ɵɵnextContext().$index;
99785
99816
  const sectionList_r9 = i0.ɵɵnextContext();
@@ -99787,15 +99818,15 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99787
99818
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r9[ɵ$index_63_r8 + 1].icon);
99788
99819
  } }
99789
99820
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
99790
- i0.ɵɵelementStart(0, "div", 38)(1, "div", 39);
99791
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div", 40);
99792
- i0.ɵɵelementStart(3, "div", 41)(4, "h3", 42);
99821
+ i0.ɵɵelementStart(0, "div", 39)(1, "div", 40);
99822
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div", 41);
99823
+ i0.ɵɵelementStart(3, "div", 42)(4, "h3", 43);
99793
99824
  i0.ɵɵtext(5);
99794
99825
  i0.ɵɵelementEnd()()();
99795
- i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div", 43);
99796
- i0.ɵɵelement(7, "symphiq-profile-section-content", 44);
99826
+ i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div", 44);
99827
+ i0.ɵɵelement(7, "symphiq-profile-section-content", 45);
99797
99828
  i0.ɵɵelementEnd();
99798
- i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 37);
99829
+ i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 38);
99799
99830
  } if (rf & 2) {
99800
99831
  const section_r6 = ctx.$implicit;
99801
99832
  const ɵ$index_63_r8 = ctx.$index;
@@ -99816,7 +99847,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99816
99847
  i0.ɵɵconditional(!(ɵ$index_63_r8 === ɵ$count_63_r10 - 1) ? 8 : -1);
99817
99848
  } }
99818
99849
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99819
- i0.ɵɵelementStart(0, "section", 35);
99850
+ i0.ɵɵelementStart(0, "section", 36);
99820
99851
  i0.ɵɵrepeaterCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Template, 9, 15, null, null, _forTrack0$5);
99821
99852
  i0.ɵɵelementEnd();
99822
99853
  } if (rf & 2) {
@@ -99824,9 +99855,9 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
99824
99855
  i0.ɵɵrepeater(ctx);
99825
99856
  } }
99826
99857
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
99827
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template, 1, 4, "symphiq-metric-executive-summary", 34);
99858
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template, 1, 4, "symphiq-metric-executive-summary", 35);
99828
99859
  i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Template, 1, 1);
99829
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 35);
99860
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 36);
99830
99861
  } if (rf & 2) {
99831
99862
  let tmp_2_0;
99832
99863
  let tmp_3_0;
@@ -100242,7 +100273,18 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100242
100273
  if (summary?.topPriorities) {
100243
100274
  const metricName = this.metricName();
100244
100275
  const index = summary.topPriorities.indexOf(priority);
100245
- this.modalService.navigateToTopPriorityDetail(priority, index, this.viewMode(), metricName);
100276
+ const totalCount = summary.topPriorities.length;
100277
+ this.modalService.navigateToTopPriorityDetail(priority, index, this.viewMode(), metricName, totalCount);
100278
+ }
100279
+ }
100280
+ handleViewMetricDetailsClick() {
100281
+ const funnelMetric = this.funnelMetric();
100282
+ const relatedMetricEnum = funnelMetric?.relatedMetric;
100283
+ if (!relatedMetricEnum)
100284
+ return;
100285
+ const metric = this.allMetrics().find(m => m.metric === relatedMetricEnum);
100286
+ if (metric) {
100287
+ this.modalService.openMetricModal(metric, this.allCharts());
100246
100288
  }
100247
100289
  }
100248
100290
  getCurrentModalState() {
@@ -100363,7 +100405,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100363
100405
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
100364
100406
  } }, hostBindings: function SymphiqProfileAnalysisMetricDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
100365
100407
  i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisMetricDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
100366
- } }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], funnelMetric: [1, "funnelMetric"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars: 48, consts: [["funnelModalComponent", ""], [1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "metricName", "isOnboarded"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Metric Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisMetricDashboardComponent_Template(rf, ctx) { if (rf & 1) {
100408
+ } }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], funnelMetric: [1, "funnelMetric"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 28, vars: 49, consts: [["funnelModalComponent", ""], [1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "metricName", "isOnboarded"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Metric Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMetricDetailsClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisMetricDashboardComponent_Template(rf, ctx) { if (rf & 1) {
100367
100409
  const _r1 = i0.ɵɵgetCurrentView();
100368
100410
  i0.ɵɵelementStart(0, "div", 1);
100369
100411
  i0.ɵɵelement(1, "div", 2);
@@ -100396,11 +100438,11 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100396
100438
  i0.ɵɵconditionalCreate(21, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_21_Template, 1, 5, "symphiq-gap-detail-modal-content", 17);
100397
100439
  i0.ɵɵconditionalCreate(22, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_22_Template, 1, 4, "symphiq-opportunity-detail-modal-content", 18);
100398
100440
  i0.ɵɵelementEnd();
100399
- i0.ɵɵelement(23, "symphiq-funnel-analysis-modal", null, 0);
100400
- i0.ɵɵelementStart(25, "symphiq-mark-as-reviewed-footer", 19);
100401
- i0.ɵɵlistener("markAsReviewedClick", function SymphiqProfileAnalysisMetricDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_25_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMarkAsReviewedClick()); });
100441
+ i0.ɵɵelement(23, "symphiq-funnel-analysis-modal", null, 0)(25, "symphiq-business-analysis-modal", 19);
100442
+ i0.ɵɵelementStart(26, "symphiq-mark-as-reviewed-footer", 20);
100443
+ i0.ɵɵlistener("markAsReviewedClick", function SymphiqProfileAnalysisMetricDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMarkAsReviewedClick()); });
100402
100444
  i0.ɵɵelementEnd();
100403
- i0.ɵɵelement(26, "symphiq-tooltip-container");
100445
+ i0.ɵɵelement(27, "symphiq-tooltip-container");
100404
100446
  i0.ɵɵelementEnd()();
100405
100447
  } if (rf & 2) {
100406
100448
  let tmp_14_0;
@@ -100412,8 +100454,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100412
100454
  let tmp_37_0;
100413
100455
  let tmp_38_0;
100414
100456
  let tmp_39_0;
100415
- let tmp_41_0;
100416
100457
  let tmp_42_0;
100458
+ let tmp_43_0;
100417
100459
  i0.ɵɵclassProp("min-h-screen", !ctx.embedded());
100418
100460
  i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
100419
100461
  i0.ɵɵadvance();
@@ -100430,7 +100472,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100430
100472
  i0.ɵɵadvance();
100431
100473
  i0.ɵɵconditional(ctx.isSimplifiedView() ? 7 : -1);
100432
100474
  i0.ɵɵadvance();
100433
- i0.ɵɵconditional(ctx.isSimplifiedView() ? 8 : -1);
100475
+ i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isLoading() ? 8 : -1);
100434
100476
  i0.ɵɵadvance();
100435
100477
  i0.ɵɵconditional(!ctx.isSimplifiedView() ? 9 : -1);
100436
100478
  i0.ɵɵadvance();
@@ -100460,7 +100502,9 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100460
100502
  i0.ɵɵadvance();
100461
100503
  i0.ɵɵconditional((tmp_39_0 = ctx.modalType() === "opportunity-detail" && ctx.getOpportunityDetailData()) ? 22 : -1, tmp_39_0);
100462
100504
  i0.ɵɵadvance(3);
100463
- i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_41_0 = ctx.profileAnalysis()) == null ? null : tmp_41_0.reviewStatus)("selfContentStatus", (tmp_42_0 = ctx.profileAnalysis()) == null ? null : tmp_42_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
100505
+ i0.ɵɵproperty("isLightMode", ctx.isLightMode());
100506
+ i0.ɵɵadvance();
100507
+ i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_42_0 = ctx.profileAnalysis()) == null ? null : tmp_42_0.reviewStatus)("selfContentStatus", (tmp_43_0 = ctx.profileAnalysis()) == null ? null : tmp_43_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
100464
100508
  } }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent,
100465
100509
  SearchModalComponent,
100466
100510
  ViewModeSwitcherModalComponent,
@@ -100473,6 +100517,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100473
100517
  ProfileSectionContentComponent,
100474
100518
  ProfileAnalysisModalComponent,
100475
100519
  ModalComponent,
100520
+ BusinessAnalysisModalComponent,
100476
100521
  GoalCardComponent,
100477
100522
  GoalObjectivesModalContentComponent,
100478
100523
  ObjectiveStrategiesModalContentComponent,
@@ -100508,6 +100553,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100508
100553
  ProfileSectionContentComponent,
100509
100554
  ProfileAnalysisModalComponent,
100510
100555
  ModalComponent,
100556
+ BusinessAnalysisModalComponent,
100511
100557
  GoalCardComponent,
100512
100558
  GoalObjectivesModalContentComponent,
100513
100559
  ObjectiveStrategiesModalContentComponent,
@@ -100590,7 +100636,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100590
100636
  }
100591
100637
 
100592
100638
  <!-- Simplified View Content -->
100593
- @if (isSimplifiedView()) {
100639
+ @if (isSimplifiedView() && !isLoading()) {
100594
100640
  <!-- Strategic Insights & Goals -->
100595
100641
  @if (profileAnalysis()) {
100596
100642
  <div class="mb-8">
@@ -100642,6 +100688,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100642
100688
  [allGoals]="allGoals()"
100643
100689
  (topPrioritiesClick)="handleTopPrioritiesClick()"
100644
100690
  (priorityDetailClick)="handlePriorityDetailClick($event)"
100691
+ (viewMetricDetailsClick)="handleViewMetricDetailsClick()"
100645
100692
  />
100646
100693
  }
100647
100694
 
@@ -100849,6 +100896,11 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100849
100896
  #funnelModalComponent
100850
100897
  />
100851
100898
 
100899
+ <!-- Business Analysis Modal (for visualization) -->
100900
+ <symphiq-business-analysis-modal
100901
+ [isLightMode]="isLightMode()"
100902
+ />
100903
+
100852
100904
  <!-- Mark as Reviewed Sticky Footer -->
100853
100905
  <symphiq-mark-as-reviewed-footer
100854
100906
  [viewMode]="viewMode()"
@@ -100871,7 +100923,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100871
100923
  type: HostListener,
100872
100924
  args: ['window:scroll', ['$event']]
100873
100925
  }] }); })();
100874
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber: 481 }); })();
100926
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber: 489 }); })();
100875
100927
 
100876
100928
  const _forTrack0$4 = ($index, $item) => $item.id;
100877
100929
  function ShopProfileCategoryListComponent_For_2_Template(rf, ctx) { if (rf & 1) {