@eric-emg/symphiq-components 1.2.544 → 1.2.546

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.
@@ -69688,9 +69688,9 @@ function MetricExecutiveSummaryComponent_Conditional_11_Template(rf, ctx) { if (
69688
69688
  i0.ɵɵproperty("grade", ctx_r0.summary().overallGrade)("gradeRationale", ctx_r0.summary().gradeRationale || "")("viewMode", ctx_r0.viewMode());
69689
69689
  } }
69690
69690
  function MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template(rf, ctx) { if (rf & 1) {
69691
- i0.ɵɵelementStart(0, "div", 23);
69692
- i0.ɵɵelement(1, "symphiq-icon", 20);
69693
- i0.ɵɵelementStart(2, "span", 24);
69691
+ i0.ɵɵelementStart(0, "div", 26);
69692
+ i0.ɵɵelement(1, "symphiq-icon", 23);
69693
+ i0.ɵɵelementStart(2, "span", 27);
69694
69694
  i0.ɵɵtext(3);
69695
69695
  i0.ɵɵelementEnd()();
69696
69696
  } if (rf & 2) {
@@ -69703,15 +69703,15 @@ function MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template(r
69703
69703
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().yoyChange, " YoY ");
69704
69704
  } }
69705
69705
  function MetricExecutiveSummaryComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
69706
- i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69707
- i0.ɵɵelement(2, "symphiq-icon", 20);
69708
- i0.ɵɵelementStart(3, "span", 21);
69706
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 22);
69707
+ i0.ɵɵelement(2, "symphiq-icon", 23);
69708
+ i0.ɵɵelementStart(3, "span", 24);
69709
69709
  i0.ɵɵtext(4, " Current Value ");
69710
69710
  i0.ɵɵelementEnd()();
69711
- i0.ɵɵelementStart(5, "div", 22);
69711
+ i0.ɵɵelementStart(5, "div", 25);
69712
69712
  i0.ɵɵtext(6);
69713
69713
  i0.ɵɵelementEnd();
69714
- i0.ɵɵconditionalCreate(7, MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template, 4, 7, "div", 23);
69714
+ i0.ɵɵconditionalCreate(7, MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template, 4, 7, "div", 26);
69715
69715
  i0.ɵɵelementEnd();
69716
69716
  } if (rf & 2) {
69717
69717
  const ctx_r0 = i0.ɵɵnextContext();
@@ -69728,12 +69728,12 @@ function MetricExecutiveSummaryComponent_Conditional_14_Template(rf, ctx) { if (
69728
69728
  i0.ɵɵconditional(ctx_r0.summary().yoyChange ? 7 : -1);
69729
69729
  } }
69730
69730
  function MetricExecutiveSummaryComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
69731
- i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69732
- i0.ɵɵelement(2, "symphiq-icon", 20);
69733
- i0.ɵɵelementStart(3, "span", 21);
69731
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 22);
69732
+ i0.ɵɵelement(2, "symphiq-icon", 23);
69733
+ i0.ɵɵelementStart(3, "span", 24);
69734
69734
  i0.ɵɵtext(4, " Target ");
69735
69735
  i0.ɵɵelementEnd()();
69736
- i0.ɵɵelementStart(5, "div", 22);
69736
+ i0.ɵɵelementStart(5, "div", 25);
69737
69737
  i0.ɵɵtext(6);
69738
69738
  i0.ɵɵelementEnd()();
69739
69739
  } if (rf & 2) {
@@ -69749,12 +69749,12 @@ function MetricExecutiveSummaryComponent_Conditional_15_Template(rf, ctx) { if (
69749
69749
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().targetValue, " ");
69750
69750
  } }
69751
69751
  function MetricExecutiveSummaryComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
69752
- i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69753
- i0.ɵɵelement(2, "symphiq-icon", 20);
69754
- i0.ɵɵelementStart(3, "span", 21);
69752
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 22);
69753
+ i0.ɵɵelement(2, "symphiq-icon", 23);
69754
+ i0.ɵɵelementStart(3, "span", 24);
69755
69755
  i0.ɵɵtext(4, " Projected ");
69756
69756
  i0.ɵɵelementEnd()();
69757
- i0.ɵɵelementStart(5, "div", 22);
69757
+ i0.ɵɵelementStart(5, "div", 25);
69758
69758
  i0.ɵɵtext(6);
69759
69759
  i0.ɵɵelementEnd()();
69760
69760
  } if (rf & 2) {
@@ -69770,12 +69770,12 @@ function MetricExecutiveSummaryComponent_Conditional_16_Template(rf, ctx) { if (
69770
69770
  i0.ɵɵtextInterpolate1(" ", ctx_r0.projectedValue(), " ");
69771
69771
  } }
69772
69772
  function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
69773
- i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69774
- i0.ɵɵelement(2, "symphiq-icon", 20);
69775
- i0.ɵɵelementStart(3, "span", 21);
69773
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 22);
69774
+ i0.ɵɵelement(2, "symphiq-icon", 23);
69775
+ i0.ɵɵelementStart(3, "span", 24);
69776
69776
  i0.ɵɵtext(4, " Pacing ");
69777
69777
  i0.ɵɵelementEnd()();
69778
- i0.ɵɵelementStart(5, "div", 25);
69778
+ i0.ɵɵelementStart(5, "div", 28);
69779
69779
  i0.ɵɵtext(6);
69780
69780
  i0.ɵɵelementEnd()();
69781
69781
  } if (rf & 2) {
@@ -69790,47 +69790,61 @@ function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (
69790
69790
  i0.ɵɵadvance();
69791
69791
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().pacingStatus, " ");
69792
69792
  } }
69793
+ function MetricExecutiveSummaryComponent_Conditional_18_Conditional_7_Template(rf, ctx) { if (rf & 1) {
69794
+ i0.ɵɵelementStart(0, "div", 29);
69795
+ i0.ɵɵtext(1);
69796
+ i0.ɵɵelementEnd();
69797
+ } if (rf & 2) {
69798
+ const ctx_r0 = i0.ɵɵnextContext(2);
69799
+ i0.ɵɵproperty("libSymphiqTooltip", ctx_r0.summary().metricHealthDescription)("tooltipPosition", "top")("ngClass", ctx_r0.healthDescriptionClasses());
69800
+ i0.ɵɵadvance();
69801
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().metricHealthDescription, " ");
69802
+ } }
69793
69803
  function MetricExecutiveSummaryComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
69794
- i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
69795
- i0.ɵɵelement(2, "symphiq-icon", 20);
69796
- i0.ɵɵelementStart(3, "span", 21);
69804
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 22);
69805
+ i0.ɵɵelement(2, "symphiq-icon", 23);
69806
+ i0.ɵɵelementStart(3, "span", 24);
69797
69807
  i0.ɵɵtext(4, " Health ");
69798
69808
  i0.ɵɵelementEnd()();
69799
- i0.ɵɵelementStart(5, "div", 25);
69809
+ i0.ɵɵelementStart(5, "div", 28);
69800
69810
  i0.ɵɵtext(6);
69801
- i0.ɵɵelementEnd()();
69811
+ i0.ɵɵelementEnd();
69812
+ i0.ɵɵconditionalCreate(7, MetricExecutiveSummaryComponent_Conditional_18_Conditional_7_Template, 2, 4, "div", 29);
69813
+ i0.ɵɵelementEnd();
69802
69814
  } if (rf & 2) {
69803
69815
  let tmp_6_0;
69804
69816
  const ctx_r0 = i0.ɵɵnextContext();
69805
69817
  i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
69806
69818
  i0.ɵɵadvance(2);
69807
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c6$1, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69819
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(7, _c6$1, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
69808
69820
  i0.ɵɵadvance();
69809
69821
  i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
69810
69822
  i0.ɵɵadvance(2);
69811
69823
  i0.ɵɵproperty("ngClass", ctx_r0.getHealthValueClasses());
69812
69824
  i0.ɵɵadvance();
69813
69825
  i0.ɵɵtextInterpolate1(" ", (tmp_6_0 = ctx_r0.summary().metricHealth) == null ? null : tmp_6_0.replace("_", " "), " ");
69826
+ i0.ɵɵadvance();
69827
+ i0.ɵɵconditional(ctx_r0.summary().metricHealthDescription ? 7 : -1);
69814
69828
  } }
69815
- function MetricExecutiveSummaryComponent_Conditional_24_Conditional_4_Template(rf, ctx) { if (rf & 1) {
69816
- i0.ɵɵelementStart(0, "div", 28);
69817
- i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 31);
69829
+ function MetricExecutiveSummaryComponent_Conditional_30_Conditional_4_Template(rf, ctx) { if (rf & 1) {
69830
+ i0.ɵɵelementStart(0, "div", 32);
69831
+ i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 35);
69818
69832
  i0.ɵɵelementEnd();
69819
69833
  } if (rf & 2) {
69820
69834
  const ctx_r0 = i0.ɵɵnextContext(2);
69821
69835
  i0.ɵɵadvance();
69822
69836
  i0.ɵɵproperty("visual", ctx_r0.summary().napkinVisual)("viewMode", ctx_r0.viewMode());
69823
69837
  } }
69824
- function MetricExecutiveSummaryComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
69825
- i0.ɵɵelementStart(0, "div", 16)(1, "h3", 26);
69838
+ function MetricExecutiveSummaryComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
69839
+ i0.ɵɵelementStart(0, "div", 19)(1, "h3", 30);
69826
69840
  i0.ɵɵtext(2, " Analysis Narrative ");
69827
69841
  i0.ɵɵelementEnd();
69828
- i0.ɵɵelementStart(3, "div", 27);
69829
- i0.ɵɵconditionalCreate(4, MetricExecutiveSummaryComponent_Conditional_24_Conditional_4_Template, 2, 2, "div", 28);
69830
- i0.ɵɵelementStart(5, "p", 29);
69842
+ i0.ɵɵelementStart(3, "div", 31);
69843
+ i0.ɵɵconditionalCreate(4, MetricExecutiveSummaryComponent_Conditional_30_Conditional_4_Template, 2, 2, "div", 32);
69844
+ i0.ɵɵelementStart(5, "p", 33);
69831
69845
  i0.ɵɵtext(6);
69832
69846
  i0.ɵɵelementEnd();
69833
- i0.ɵɵelement(7, "div", 30);
69847
+ i0.ɵɵelement(7, "div", 34);
69834
69848
  i0.ɵɵelementEnd()();
69835
69849
  } if (rf & 2) {
69836
69850
  let tmp_3_0;
@@ -69845,13 +69859,13 @@ function MetricExecutiveSummaryComponent_Conditional_24_Template(rf, ctx) { if (
69845
69859
  i0.ɵɵadvance();
69846
69860
  i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().narrative, " ");
69847
69861
  } }
69848
- function MetricExecutiveSummaryComponent_Conditional_25_For_5_Conditional_8_Template(rf, ctx) { if (rf & 1) {
69849
- i0.ɵɵelementStart(0, "div", 40)(1, "div", 41);
69850
- i0.ɵɵelement(2, "symphiq-icon", 42);
69851
- i0.ɵɵelementStart(3, "div")(4, "span", 43);
69862
+ function MetricExecutiveSummaryComponent_Conditional_31_For_5_Conditional_8_Template(rf, ctx) { if (rf & 1) {
69863
+ i0.ɵɵelementStart(0, "div", 44)(1, "div", 45);
69864
+ i0.ɵɵelement(2, "symphiq-icon", 46);
69865
+ i0.ɵɵelementStart(3, "div")(4, "span", 47);
69852
69866
  i0.ɵɵtext(5, " Expected Impact ");
69853
69867
  i0.ɵɵelementEnd();
69854
- i0.ɵɵelementStart(6, "p", 44);
69868
+ i0.ɵɵelementStart(6, "p", 48);
69855
69869
  i0.ɵɵtext(7);
69856
69870
  i0.ɵɵelementEnd()()()();
69857
69871
  } if (rf & 2) {
@@ -69867,20 +69881,20 @@ function MetricExecutiveSummaryComponent_Conditional_25_For_5_Conditional_8_Temp
69867
69881
  i0.ɵɵadvance();
69868
69882
  i0.ɵɵtextInterpolate1(" ", priority_r4.expectedImpact, " ");
69869
69883
  } }
69870
- function MetricExecutiveSummaryComponent_Conditional_25_For_5_Template(rf, ctx) { if (rf & 1) {
69884
+ function MetricExecutiveSummaryComponent_Conditional_31_For_5_Template(rf, ctx) { if (rf & 1) {
69871
69885
  const _r2 = i0.ɵɵgetCurrentView();
69872
- i0.ɵɵelementStart(0, "button", 35);
69873
- i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Conditional_25_For_5_Template_button_click_0_listener() { const ctx_r2 = i0.ɵɵrestoreView(_r2); const priority_r4 = ctx_r2.$implicit; const $index_r5 = ctx_r2.$index; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.priorityDetailClick.emit({ priority: priority_r4, index: $index_r5 })); });
69874
- i0.ɵɵelementStart(1, "div", 36)(2, "span", 37);
69886
+ i0.ɵɵelementStart(0, "button", 39);
69887
+ i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Conditional_31_For_5_Template_button_click_0_listener() { const ctx_r2 = i0.ɵɵrestoreView(_r2); const priority_r4 = ctx_r2.$implicit; const $index_r5 = ctx_r2.$index; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.priorityDetailClick.emit({ priority: priority_r4, index: $index_r5 })); });
69888
+ i0.ɵɵelementStart(1, "div", 40)(2, "span", 41);
69875
69889
  i0.ɵɵtext(3);
69876
69890
  i0.ɵɵelementEnd();
69877
- i0.ɵɵelementStart(4, "h4", 38);
69891
+ i0.ɵɵelementStart(4, "h4", 42);
69878
69892
  i0.ɵɵtext(5);
69879
69893
  i0.ɵɵelementEnd()();
69880
- i0.ɵɵelementStart(6, "p", 39);
69894
+ i0.ɵɵelementStart(6, "p", 43);
69881
69895
  i0.ɵɵtext(7);
69882
69896
  i0.ɵɵelementEnd();
69883
- i0.ɵɵconditionalCreate(8, MetricExecutiveSummaryComponent_Conditional_25_For_5_Conditional_8_Template, 8, 8, "div", 40);
69897
+ i0.ɵɵconditionalCreate(8, MetricExecutiveSummaryComponent_Conditional_31_For_5_Conditional_8_Template, 8, 8, "div", 44);
69884
69898
  i0.ɵɵelementEnd();
69885
69899
  } if (rf & 2) {
69886
69900
  const priority_r4 = ctx.$implicit;
@@ -69902,12 +69916,12 @@ function MetricExecutiveSummaryComponent_Conditional_25_For_5_Template(rf, ctx)
69902
69916
  i0.ɵɵadvance();
69903
69917
  i0.ɵɵconditional(priority_r4.expectedImpact ? 8 : -1);
69904
69918
  } }
69905
- function MetricExecutiveSummaryComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
69906
- i0.ɵɵelementStart(0, "div", 17)(1, "h3", 32);
69919
+ function MetricExecutiveSummaryComponent_Conditional_31_Template(rf, ctx) { if (rf & 1) {
69920
+ i0.ɵɵelementStart(0, "div", 20)(1, "h3", 36);
69907
69921
  i0.ɵɵtext(2, "Top Priorities");
69908
69922
  i0.ɵɵelementEnd();
69909
- i0.ɵɵelementStart(3, "div", 33);
69910
- i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_25_For_5_Template, 9, 8, "button", 34, i0.ɵɵrepeaterTrackByIndex);
69923
+ i0.ɵɵelementStart(3, "div", 37);
69924
+ i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_31_For_5_Template, 9, 8, "button", 38, i0.ɵɵrepeaterTrackByIndex);
69911
69925
  i0.ɵɵelementEnd()();
69912
69926
  } if (rf & 2) {
69913
69927
  const ctx_r0 = i0.ɵɵnextContext();
@@ -69916,8 +69930,8 @@ function MetricExecutiveSummaryComponent_Conditional_25_Template(rf, ctx) { if (
69916
69930
  i0.ɵɵadvance(3);
69917
69931
  i0.ɵɵrepeater(ctx_r0.summary().topPriorities);
69918
69932
  } }
69919
- function MetricExecutiveSummaryComponent_Conditional_26_For_5_Conditional_12_Template(rf, ctx) { if (rf & 1) {
69920
- i0.ɵɵelementStart(0, "div", 53);
69933
+ function MetricExecutiveSummaryComponent_Conditional_32_For_5_Conditional_12_Template(rf, ctx) { if (rf & 1) {
69934
+ i0.ɵɵelementStart(0, "div", 57);
69921
69935
  i0.ɵɵelement(1, "symphiq-icon", 15);
69922
69936
  i0.ɵɵelementStart(2, "span");
69923
69937
  i0.ɵɵtext(3);
@@ -69931,11 +69945,11 @@ function MetricExecutiveSummaryComponent_Conditional_26_For_5_Conditional_12_Tem
69931
69945
  i0.ɵɵadvance(2);
69932
69946
  i0.ɵɵtextInterpolate(win_r6.estimatedTimeframe);
69933
69947
  } }
69934
- function MetricExecutiveSummaryComponent_Conditional_26_For_5_Conditional_13_Template(rf, ctx) { if (rf & 1) {
69935
- i0.ɵɵelementStart(0, "div", 54)(1, "h4", 21);
69948
+ function MetricExecutiveSummaryComponent_Conditional_32_For_5_Conditional_13_Template(rf, ctx) { if (rf & 1) {
69949
+ i0.ɵɵelementStart(0, "div", 58)(1, "h4", 24);
69936
69950
  i0.ɵɵtext(2, " Related Goal ");
69937
69951
  i0.ɵɵelementEnd();
69938
- i0.ɵɵelement(3, "symphiq-related-goal-chips", 55);
69952
+ i0.ɵɵelement(3, "symphiq-related-goal-chips", 59);
69939
69953
  i0.ɵɵelementEnd();
69940
69954
  } if (rf & 2) {
69941
69955
  const win_r6 = i0.ɵɵnextContext().$implicit;
@@ -69945,21 +69959,21 @@ function MetricExecutiveSummaryComponent_Conditional_26_For_5_Conditional_13_Tem
69945
69959
  i0.ɵɵadvance(2);
69946
69960
  i0.ɵɵproperty("relatedGoalIds", i0.ɵɵpureFunction1(4, _c9, win_r6.relatedGoalId))("allGoals", ctx_r0.allGoals() || i0.ɵɵpureFunction0(6, _c10))("viewMode", ctx_r0.viewMode());
69947
69961
  } }
69948
- function MetricExecutiveSummaryComponent_Conditional_26_For_5_Template(rf, ctx) { if (rf & 1) {
69949
- i0.ɵɵelementStart(0, "div", 47)(1, "div", 48)(2, "div", 49)(3, "span", 37);
69962
+ function MetricExecutiveSummaryComponent_Conditional_32_For_5_Template(rf, ctx) { if (rf & 1) {
69963
+ i0.ɵɵelementStart(0, "div", 51)(1, "div", 52)(2, "div", 53)(3, "span", 41);
69950
69964
  i0.ɵɵtext(4);
69951
69965
  i0.ɵɵelementEnd();
69952
- i0.ɵɵelementStart(5, "p", 50);
69966
+ i0.ɵɵelementStart(5, "p", 54);
69953
69967
  i0.ɵɵtext(6);
69954
69968
  i0.ɵɵelementEnd()();
69955
- i0.ɵɵelementStart(7, "div", 51)(8, "span", 52);
69969
+ i0.ɵɵelementStart(7, "div", 55)(8, "span", 56);
69956
69970
  i0.ɵɵtext(9);
69957
69971
  i0.ɵɵelementEnd();
69958
- i0.ɵɵelementStart(10, "span", 52);
69972
+ i0.ɵɵelementStart(10, "span", 56);
69959
69973
  i0.ɵɵtext(11);
69960
69974
  i0.ɵɵelementEnd()();
69961
- i0.ɵɵconditionalCreate(12, MetricExecutiveSummaryComponent_Conditional_26_For_5_Conditional_12_Template, 4, 5, "div", 53);
69962
- i0.ɵɵconditionalCreate(13, MetricExecutiveSummaryComponent_Conditional_26_For_5_Conditional_13_Template, 4, 7, "div", 54);
69975
+ i0.ɵɵconditionalCreate(12, MetricExecutiveSummaryComponent_Conditional_32_For_5_Conditional_12_Template, 4, 5, "div", 57);
69976
+ i0.ɵɵconditionalCreate(13, MetricExecutiveSummaryComponent_Conditional_32_For_5_Conditional_13_Template, 4, 7, "div", 58);
69963
69977
  i0.ɵɵelementEnd()();
69964
69978
  } if (rf & 2) {
69965
69979
  const win_r6 = ctx.$implicit;
@@ -69987,12 +70001,12 @@ function MetricExecutiveSummaryComponent_Conditional_26_For_5_Template(rf, ctx)
69987
70001
  i0.ɵɵadvance();
69988
70002
  i0.ɵɵconditional(win_r6.relatedGoalId && ctx_r0.allGoals() ? 13 : -1);
69989
70003
  } }
69990
- function MetricExecutiveSummaryComponent_Conditional_26_Template(rf, ctx) { if (rf & 1) {
69991
- i0.ɵɵelementStart(0, "div", 18)(1, "h3", 45);
70004
+ function MetricExecutiveSummaryComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
70005
+ i0.ɵɵelementStart(0, "div", 21)(1, "h3", 49);
69992
70006
  i0.ɵɵtext(2, "Quick Wins");
69993
70007
  i0.ɵɵelementEnd();
69994
- i0.ɵɵelementStart(3, "div", 46);
69995
- i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_26_For_5_Template, 14, 11, "div", 47, i0.ɵɵrepeaterTrackByIndex);
70008
+ i0.ɵɵelementStart(3, "div", 50);
70009
+ i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_32_For_5_Template, 14, 11, "div", 51, i0.ɵɵrepeaterTrackByIndex);
69996
70010
  i0.ɵɵelementEnd()();
69997
70011
  } if (rf & 2) {
69998
70012
  const ctx_r0 = i0.ɵɵnextContext();
@@ -70010,6 +70024,7 @@ class MetricExecutiveSummaryComponent {
70010
70024
  this.topPrioritiesClick = output();
70011
70025
  this.priorityDetailClick = output();
70012
70026
  this.viewMetricDetailsClick = output();
70027
+ this.viewReportClick = output();
70013
70028
  this.iconSource = IconSourceEnum.HEROICONS;
70014
70029
  this.isDark = computed(() => this.viewMode() === ViewModeEnum.DARK, ...(ngDevMode ? [{ debugName: "isDark" }] : []));
70015
70030
  this.projectedValue = computed(() => this.summary().projectedValue, ...(ngDevMode ? [{ debugName: "projectedValue" }] : []));
@@ -70058,6 +70073,9 @@ class MetricExecutiveSummaryComponent {
70058
70073
  this.viewDetailsButtonClasses = computed(() => this.isDark()
70059
70074
  ? 'bg-blue-500/20 text-blue-300 border border-blue-500/40 hover:bg-blue-500/30'
70060
70075
  : 'bg-blue-50 text-blue-700 border border-blue-200 hover:bg-blue-100', ...(ngDevMode ? [{ debugName: "viewDetailsButtonClasses" }] : []));
70076
+ this.viewReportButtonClasses = computed(() => this.isDark()
70077
+ ? 'bg-slate-700/50 text-slate-300 border border-slate-600 hover:bg-slate-600/50'
70078
+ : 'bg-slate-100 text-slate-700 border border-slate-300 hover:bg-slate-200', ...(ngDevMode ? [{ debugName: "viewReportButtonClasses" }] : []));
70061
70079
  this.metricLabelClasses = computed(() => this.isDark() ? 'text-slate-400' : 'text-slate-600', ...(ngDevMode ? [{ debugName: "metricLabelClasses" }] : []));
70062
70080
  this.metricValueClasses = computed(() => this.isDark() ? 'text-slate-100' : 'text-slate-900', ...(ngDevMode ? [{ debugName: "metricValueClasses" }] : []));
70063
70081
  this.yoyChangeClasses = computed(() => {
@@ -70072,6 +70090,7 @@ class MetricExecutiveSummaryComponent {
70072
70090
  }
70073
70091
  return this.metricLabelClasses();
70074
70092
  }, ...(ngDevMode ? [{ debugName: "yoyChangeClasses" }] : []));
70093
+ this.healthDescriptionClasses = computed(() => this.isDark() ? 'text-slate-400' : 'text-slate-500', ...(ngDevMode ? [{ debugName: "healthDescriptionClasses" }] : []));
70075
70094
  this.narrativeClasses = computed(() => this.isDark()
70076
70095
  ? 'bg-slate-800/50 border border-slate-600/20'
70077
70096
  : 'bg-white border border-slate-200', ...(ngDevMode ? [{ debugName: "narrativeClasses" }] : []));
@@ -70107,6 +70126,10 @@ class MetricExecutiveSummaryComponent {
70107
70126
  this.viewMetricDetailsClick.emit();
70108
70127
  console.log('[MetricExecutiveSummary] Event emitted');
70109
70128
  }
70129
+ handleViewReportClick() {
70130
+ console.log('[MetricExecutiveSummary] View Report button clicked!');
70131
+ this.viewReportClick.emit();
70132
+ }
70110
70133
  getYoyIcon() {
70111
70134
  const change = this.summary().yoyChange;
70112
70135
  if (!change)
@@ -70198,7 +70221,7 @@ class MetricExecutiveSummaryComponent {
70198
70221
  return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
70199
70222
  }
70200
70223
  static { this.ɵfac = function MetricExecutiveSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MetricExecutiveSummaryComponent)(); }; }
70201
- 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: 27, 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", "mt-4"], [1, "inline-flex", "items-center", "gap-2", "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "duration-200", "group-hover:scale-105", 3, "ngClass"], ["size", "w-4 h-4", 3, "icon"], [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"], [3, "relatedGoalIds", "allGoals", "viewMode"]], template: function MetricExecutiveSummaryComponent_Template(rf, ctx) { if (rf & 1) {
70224
+ 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", viewReportClick: "viewReportClick" }, decls: 33, vars: 24, 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", "mt-4"], [1, "inline-flex", "items-center", "gap-2", "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "duration-200", "group-hover:scale-105", 3, "ngClass"], ["size", "w-4 h-4", 3, "icon"], ["type", "button", 1, "inline-flex", "items-center", "gap-2", "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [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-xs", "mt-1", "truncate", "max-w-full", "cursor-help", 3, "libSymphiqTooltip", "tooltipPosition", "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"], [3, "relatedGoalIds", "allGoals", "viewMode"]], template: function MetricExecutiveSummaryComponent_Template(rf, ctx) { if (rf & 1) {
70202
70225
  i0.ɵɵelementStart(0, "section", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5);
70203
70226
  i0.ɵɵelement(6, "symphiq-icon", 6);
70204
70227
  i0.ɵɵelementStart(7, "h2", 7);
@@ -70216,24 +70239,34 @@ class MetricExecutiveSummaryComponent {
70216
70239
  i0.ɵɵconditionalCreate(15, MetricExecutiveSummaryComponent_Conditional_15_Template, 7, 8, "div", 12);
70217
70240
  i0.ɵɵconditionalCreate(16, MetricExecutiveSummaryComponent_Conditional_16_Template, 7, 8, "div", 12);
70218
70241
  i0.ɵɵconditionalCreate(17, MetricExecutiveSummaryComponent_Conditional_17_Template, 7, 8, "div", 12);
70219
- i0.ɵɵconditionalCreate(18, MetricExecutiveSummaryComponent_Conditional_18_Template, 7, 8, "div", 12);
70242
+ i0.ɵɵconditionalCreate(18, MetricExecutiveSummaryComponent_Conditional_18_Template, 8, 9, "div", 12);
70220
70243
  i0.ɵɵelementEnd();
70221
70244
  i0.ɵɵelementStart(19, "div", 13)(20, "div", 14)(21, "span");
70222
70245
  i0.ɵɵtext(22, "View Metric Details");
70223
70246
  i0.ɵɵelementEnd();
70224
70247
  i0.ɵɵelement(23, "symphiq-icon", 15);
70225
70248
  i0.ɵɵelementEnd()()();
70226
- i0.ɵɵconditionalCreate(24, MetricExecutiveSummaryComponent_Conditional_24_Template, 8, 5, "div", 16);
70227
- i0.ɵɵconditionalCreate(25, MetricExecutiveSummaryComponent_Conditional_25_Template, 6, 1, "div", 17);
70228
- i0.ɵɵconditionalCreate(26, MetricExecutiveSummaryComponent_Conditional_26_Template, 6, 1, "div", 18);
70249
+ i0.ɵɵelementStart(24, "div", 13)(25, "button", 16);
70250
+ i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Template_button_click_25_listener() { return ctx.handleViewReportClick(); });
70251
+ i0.ɵɵnamespaceSVG();
70252
+ i0.ɵɵelementStart(26, "svg", 17);
70253
+ i0.ɵɵelement(27, "path", 18);
70254
+ i0.ɵɵelementEnd();
70255
+ i0.ɵɵnamespaceHTML();
70256
+ i0.ɵɵelementStart(28, "span");
70257
+ i0.ɵɵtext(29, "View Report");
70258
+ i0.ɵɵelementEnd()()();
70259
+ i0.ɵɵconditionalCreate(30, MetricExecutiveSummaryComponent_Conditional_30_Template, 8, 5, "div", 19);
70260
+ i0.ɵɵconditionalCreate(31, MetricExecutiveSummaryComponent_Conditional_31_Template, 6, 1, "div", 20);
70261
+ i0.ɵɵconditionalCreate(32, MetricExecutiveSummaryComponent_Conditional_32_Template, 6, 1, "div", 21);
70229
70262
  i0.ɵɵelementEnd()()();
70230
70263
  } if (rf & 2) {
70231
- let tmp_17_0;
70232
70264
  let tmp_18_0;
70265
+ let tmp_19_0;
70233
70266
  i0.ɵɵadvance();
70234
70267
  i0.ɵɵproperty("ngClass", ctx.bannerClasses());
70235
70268
  i0.ɵɵadvance(5);
70236
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(19, _c0$u, ctx.iconSource))("size", "w-8 h-8")("ngClass", ctx.iconClasses());
70269
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(20, _c0$u, ctx.iconSource))("size", "w-8 h-8")("ngClass", ctx.iconClasses());
70237
70270
  i0.ɵɵadvance();
70238
70271
  i0.ɵɵproperty("ngClass", ctx.titleClasses());
70239
70272
  i0.ɵɵadvance();
@@ -70257,17 +70290,20 @@ class MetricExecutiveSummaryComponent {
70257
70290
  i0.ɵɵadvance(2);
70258
70291
  i0.ɵɵproperty("ngClass", ctx.viewDetailsButtonClasses());
70259
70292
  i0.ɵɵadvance(3);
70260
- i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(21, _c1$d, ctx.iconSource));
70261
- i0.ɵɵadvance();
70262
- i0.ɵɵconditional(ctx.summary().narrative ? 24 : -1);
70293
+ i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(22, _c1$d, ctx.iconSource));
70294
+ i0.ɵɵadvance(2);
70295
+ i0.ɵɵproperty("ngClass", ctx.viewReportButtonClasses());
70296
+ i0.ɵɵadvance(5);
70297
+ i0.ɵɵconditional(ctx.summary().narrative ? 30 : -1);
70263
70298
  i0.ɵɵadvance();
70264
- i0.ɵɵconditional(ctx.summary().topPriorities && (((tmp_17_0 = ctx.summary().topPriorities) == null ? null : tmp_17_0.length) ?? 0) > 0 ? 25 : -1);
70299
+ i0.ɵɵconditional(ctx.summary().topPriorities && (((tmp_18_0 = ctx.summary().topPriorities) == null ? null : tmp_18_0.length) ?? 0) > 0 ? 31 : -1);
70265
70300
  i0.ɵɵadvance();
70266
- i0.ɵɵconditional(ctx.summary().quickWins && (((tmp_18_0 = ctx.summary().quickWins) == null ? null : tmp_18_0.length) ?? 0) > 0 ? 26 : -1);
70301
+ i0.ɵɵconditional(ctx.summary().quickWins && (((tmp_19_0 = ctx.summary().quickWins) == null ? null : tmp_19_0.length) ?? 0) > 0 ? 32 : -1);
70267
70302
  } }, dependencies: [CommonModule, i1$1.NgClass, GradeBadgeComponent,
70268
70303
  SymphiqIconComponent,
70269
70304
  NapkinVisualPlaceholderComponent,
70270
- RelatedGoalChipsComponent], encapsulation: 2, changeDetection: 0 }); }
70305
+ RelatedGoalChipsComponent,
70306
+ TooltipDirective], encapsulation: 2, changeDetection: 0 }); }
70271
70307
  }
70272
70308
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MetricExecutiveSummaryComponent, [{
70273
70309
  type: Component,
@@ -70279,7 +70315,8 @@ class MetricExecutiveSummaryComponent {
70279
70315
  GradeBadgeComponent,
70280
70316
  SymphiqIconComponent,
70281
70317
  NapkinVisualPlaceholderComponent,
70282
- RelatedGoalChipsComponent
70318
+ RelatedGoalChipsComponent,
70319
+ TooltipDirective
70283
70320
  ],
70284
70321
  changeDetection: ChangeDetectionStrategy.OnPush,
70285
70322
  template: `
@@ -70425,6 +70462,16 @@ class MetricExecutiveSummaryComponent {
70425
70462
  <div [ngClass]="getHealthValueClasses()" class="text-xl font-bold">
70426
70463
  {{ summary().metricHealth?.replace('_', ' ') }}
70427
70464
  </div>
70465
+ @if (summary().metricHealthDescription) {
70466
+ <div
70467
+ [libSymphiqTooltip]="summary().metricHealthDescription!"
70468
+ [tooltipPosition]="'top'"
70469
+ [ngClass]="healthDescriptionClasses()"
70470
+ class="text-xs mt-1 truncate max-w-full cursor-help"
70471
+ >
70472
+ {{ summary().metricHealthDescription }}
70473
+ </div>
70474
+ }
70428
70475
  </div>
70429
70476
  }
70430
70477
  </div>
@@ -70441,6 +70488,20 @@ class MetricExecutiveSummaryComponent {
70441
70488
  </div>
70442
70489
  </button>
70443
70490
 
70491
+ <!-- View Report Button -->
70492
+ <div class="flex items-center justify-center mt-4">
70493
+ <button
70494
+ type="button"
70495
+ (click)="handleViewReportClick()"
70496
+ [ngClass]="viewReportButtonClasses()"
70497
+ class="inline-flex items-center gap-2 px-4 py-2.5 rounded-lg font-medium text-sm transition-all duration-200 hover:scale-105">
70498
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
70499
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
70500
+ </svg>
70501
+ <span>View Report</span>
70502
+ </button>
70503
+ </div>
70504
+
70444
70505
  <!-- Narrative with Napkin Visual -->
70445
70506
  @if (summary().narrative) {
70446
70507
  <div [ngClass]="narrativeClasses()" class="rounded-xl p-6 mt-6">
@@ -70576,8 +70637,8 @@ class MetricExecutiveSummaryComponent {
70576
70637
  </section>
70577
70638
  `
70578
70639
  }]
70579
- }], () => [], { 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"] }] }); })();
70580
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricExecutiveSummaryComponent, { className: "MetricExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-shop-dashboard/metric-executive-summary.component.ts", lineNumber: 314 }); })();
70640
+ }], () => [], { 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"] }], viewReportClick: [{ type: i0.Output, args: ["viewReportClick"] }] }); })();
70641
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricExecutiveSummaryComponent, { className: "MetricExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-shop-dashboard/metric-executive-summary.component.ts", lineNumber: 340 }); })();
70581
70642
 
70582
70643
  const _c0$t = a0 => ({ name: "chevron-right", source: a0 });
70583
70644
  function GoalCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
@@ -75008,7 +75069,7 @@ class PerformanceMetricsCardComponent {
75008
75069
  pacingStatus: PacingStatusEnum.ON_TRACK,
75009
75070
  percentToTarget: '0%',
75010
75071
  trendDirection: ProfileAnalysisTrendDirectionEnum.STABLE,
75011
- projectedValue: undefined
75072
+ projectedValue: ''
75012
75073
  }, ...(ngDevMode ? [{ debugName: "metrics" }] : []));
75013
75074
  this.viewMode = signal(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
75014
75075
  this.iconSource = IconSourceEnum.HEROICONS;
@@ -75151,7 +75212,7 @@ class PerformanceMetricsCardComponent {
75151
75212
  pacingStatus: val.pacingStatus ?? PacingStatusEnum.ON_TRACK,
75152
75213
  percentToTarget: val.percentToTarget ?? '0%',
75153
75214
  trendDirection: val.trendDirection ?? ProfileAnalysisTrendDirectionEnum.STABLE,
75154
- projectedValue: valWithProjected.projectedValue
75215
+ projectedValue: valWithProjected.projectedValue ?? ''
75155
75216
  });
75156
75217
  }
75157
75218
  });
@@ -75729,7 +75790,8 @@ class MetricComparisonStatsComponent {
75729
75790
  targetValue: '0',
75730
75791
  pacingStatus: PacingStatusEnum.ON_TRACK,
75731
75792
  percentToTarget: '0%',
75732
- trendDirection: ProfileAnalysisTrendDirectionEnum.STABLE
75793
+ trendDirection: ProfileAnalysisTrendDirectionEnum.STABLE,
75794
+ projectedValue: ''
75733
75795
  }, ...(ngDevMode ? [{ debugName: "stats" }] : []));
75734
75796
  this.viewMode = signal(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
75735
75797
  this.iconSource = IconSourceEnum.HEROICONS;
@@ -75883,7 +75945,8 @@ class MetricComparisonStatsComponent {
75883
75945
  targetValue: val.targetValue ?? '0',
75884
75946
  pacingStatus: val.pacingStatus ?? PacingStatusEnum.ON_TRACK,
75885
75947
  percentToTarget: val.percentToTarget ?? '0%',
75886
- trendDirection: val.trendDirection ?? ProfileAnalysisTrendDirectionEnum.STABLE
75948
+ trendDirection: val.trendDirection ?? ProfileAnalysisTrendDirectionEnum.STABLE,
75949
+ projectedValue: val.projectedValue ?? ''
75887
75950
  });
75888
75951
  }
75889
75952
  });
@@ -77795,9 +77858,36 @@ class ProfileSectionContentComponent {
77795
77858
  normalizedName.includes(m.metric?.toUpperCase() || ''));
77796
77859
  }
77797
77860
  if (metric) {
77798
- this.modalService.openMetricModal(metric, this.allCharts());
77861
+ const charts = this.chartsForMetric(metric);
77862
+ this.modalService.openMetricModal(metric, charts);
77799
77863
  }
77800
77864
  }
77865
+ chartsForMetric(metric) {
77866
+ const metricId = metric.performanceItemId;
77867
+ const metricName = metric.metric;
77868
+ if (!metricId && !metricName) {
77869
+ return [];
77870
+ }
77871
+ const allChartsArr = this.allCharts();
77872
+ const matchingCharts = [];
77873
+ const metricNameLower = metricName?.toLowerCase() || '';
77874
+ const metricNameNormalized = metricNameLower.replace(/\s+/g, '_');
77875
+ for (const chart of allChartsArr) {
77876
+ const chartId = chart.performanceItemId || '';
77877
+ const chartIdLower = chartId.toLowerCase();
77878
+ if (metricId) {
77879
+ const prefix = metricId + '_';
77880
+ if (chartId === metricId || chartId.startsWith(prefix)) {
77881
+ matchingCharts.push(chart);
77882
+ continue;
77883
+ }
77884
+ }
77885
+ if (metricName && chartIdLower.includes(metricNameNormalized)) {
77886
+ matchingCharts.push(chart);
77887
+ }
77888
+ }
77889
+ return matchingCharts;
77890
+ }
77801
77891
  getEffortBadgeClasses(effort) {
77802
77892
  if (!effort)
77803
77893
  return '';
@@ -85742,7 +85832,7 @@ function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_7_Template(
85742
85832
  function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template(rf, ctx) { if (rf & 1) {
85743
85833
  const _r6 = i0.ɵɵgetCurrentView();
85744
85834
  i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 32);
85745
- i0.ɵɵlistener("topPrioritiesClick", function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleMetricTopPrioritiesClick()); })("priorityDetailClick", function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleMetricPriorityDetailClick($event)); });
85835
+ i0.ɵɵlistener("topPrioritiesClick", function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleMetricTopPrioritiesClick()); })("priorityDetailClick", function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleMetricPriorityDetailClick($event)); })("viewMetricDetailsClick", function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template_symphiq_metric_executive_summary_viewMetricDetailsClick_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleViewMetricDetailsClick()); })("viewReportClick", function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template_symphiq_metric_executive_summary_viewReportClick_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleViewReportClick()); });
85746
85836
  i0.ɵɵelementEnd();
85747
85837
  } if (rf & 2) {
85748
85838
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -85876,6 +85966,7 @@ class CollapsibleAnalysisSectionGroupComponent {
85876
85966
  this.allCharts = input([], ...(ngDevMode ? [{ debugName: "allCharts" }] : []));
85877
85967
  this.allInsights = input([], ...(ngDevMode ? [{ debugName: "allInsights" }] : []));
85878
85968
  this.businessProfile = input(undefined, ...(ngDevMode ? [{ debugName: "businessProfile" }] : []));
85969
+ this.viewReportClick = output();
85879
85970
  this.modalService = inject(ModalService);
85880
85971
  this.profileContextService = inject(ProfileContextService);
85881
85972
  this.expandedSections = signal([], ...(ngDevMode ? [{ debugName: "expandedSections" }] : []));
@@ -86040,6 +86131,49 @@ class CollapsibleAnalysisSectionGroupComponent {
86040
86131
  this.modalService.navigateToTopPriorityDetail(event.priority, event.index, this.viewMode(), this.metricName(), totalCount);
86041
86132
  }
86042
86133
  }
86134
+ handleViewMetricDetailsClick() {
86135
+ console.log('[CollapsibleAnalysisSectionGroup] handleViewMetricDetailsClick called');
86136
+ const metricKey = this.metricExecutiveSummary()?.metric;
86137
+ console.log('[CollapsibleAnalysisSectionGroup] metricKey:', metricKey);
86138
+ if (!metricKey) {
86139
+ console.log('[CollapsibleAnalysisSectionGroup] No metricKey found');
86140
+ return;
86141
+ }
86142
+ const allMetrics = this.allMetrics();
86143
+ const metric = allMetrics.find(m => m.metric === metricKey);
86144
+ console.log('[CollapsibleAnalysisSectionGroup] Found metric:', !!metric);
86145
+ if (metric) {
86146
+ const allCharts = this.allCharts();
86147
+ const metricCharts = allCharts.filter(chart => {
86148
+ const chartId = chart.performanceItemId?.toLowerCase() || '';
86149
+ const metricId = metricKey.toLowerCase();
86150
+ return chartId.includes(metricId) || chartId.startsWith(metricId);
86151
+ });
86152
+ console.log('[CollapsibleAnalysisSectionGroup] Opening modal with metric and', metricCharts.length, 'charts');
86153
+ this.modalService.openMetricModal(metric, metricCharts);
86154
+ }
86155
+ else {
86156
+ const summary = this.metricExecutiveSummary();
86157
+ if (summary) {
86158
+ const constructedMetric = {
86159
+ metric: metricKey,
86160
+ currentValue: typeof summary.currentValue === 'string' ? parseFloat(summary.currentValue) || 0 : (summary.currentValue ?? 0),
86161
+ targetValue: typeof summary.targetValue === 'string' ? parseFloat(summary.targetValue) || 0 : (summary.targetValue ?? 0),
86162
+ description: summary.gradeRationale
86163
+ };
86164
+ console.log('[CollapsibleAnalysisSectionGroup] Opening modal with constructed metric');
86165
+ this.modalService.openMetricModal(constructedMetric, []);
86166
+ }
86167
+ }
86168
+ }
86169
+ handleViewReportClick() {
86170
+ console.log('[CollapsibleAnalysisSectionGroup] handleViewReportClick called');
86171
+ const metricKey = this.metricExecutiveSummary()?.metric;
86172
+ console.log('[CollapsibleAnalysisSectionGroup] Emitting viewReportClick with metricKey:', metricKey);
86173
+ if (metricKey) {
86174
+ this.viewReportClick.emit(metricKey);
86175
+ }
86176
+ }
86043
86177
  formatDescription(description) {
86044
86178
  if (!description)
86045
86179
  return description;
@@ -86058,7 +86192,7 @@ class CollapsibleAnalysisSectionGroupComponent {
86058
86192
  });
86059
86193
  }
86060
86194
  static { this.ɵfac = function CollapsibleAnalysisSectionGroupComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CollapsibleAnalysisSectionGroupComponent)(); }; }
86061
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollapsibleAnalysisSectionGroupComponent, selectors: [["symphiq-collapsible-analysis-section-group"]], inputs: { sections: [1, "sections"], viewMode: [1, "viewMode"], executiveSummary: [1, "executiveSummary"], focusAreaExecutiveSummary: [1, "focusAreaExecutiveSummary"], metricExecutiveSummary: [1, "metricExecutiveSummary"], metricName: [1, "metricName"], allGoals: [1, "allGoals"], allMetrics: [1, "allMetrics"], allCharts: [1, "allCharts"], allInsights: [1, "allInsights"], businessProfile: [1, "businessProfile"] }, decls: 24, vars: 12, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "mb-6", "p-4", "rounded-xl", "border", "flex", "items-start", "gap-3", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "flex-1"], [1, "font-semibold", "text-sm", "mb-1", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "space-y-3"], [1, "rounded-xl", "border", "overflow-hidden", "transition-all", "duration-200", 3, "id", "ngClass"], ["type", "button", 1, "cursor-pointer", "w-full", "px-5", "py-4", "flex", "items-center", "justify-between", "gap-4", "text-left", "transition-colors", "duration-200", 3, "click", "ngClass"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0"], [1, "p-2", "rounded-lg", "flex-shrink-0", "transition-colors", "duration-200", 3, "ngClass"], [1, "flex-1", "min-w-0"], [1, "font-semibold", "transition-colors", "duration-200", 3, "ngClass"], [1, "text-sm", "mt-0.5", "line-clamp-1", "transition-colors", "duration-200", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "flex-shrink-0", "transition-transform", "duration-200", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 9l-7 7-7-7"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out"], [1, "overflow-hidden"], [1, "border-t", "p-6", 3, "ngClass"], [3, "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "summary", "allGoals"], ["size", "w-4 h-4", 3, "icon"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [1, "mb-6"], [3, "section", "viewMode", "sectionIndex", "executiveSummary", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [1, "relative"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[50%]"], [1, "mb-6", "lg:float-right", "lg:ml-6", "lg:mb-4", "lg:max-w-[50%]"], [3, "visual", "viewMode"]], template: function CollapsibleAnalysisSectionGroupComponent_Template(rf, ctx) { if (rf & 1) {
86195
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollapsibleAnalysisSectionGroupComponent, selectors: [["symphiq-collapsible-analysis-section-group"]], inputs: { sections: [1, "sections"], viewMode: [1, "viewMode"], executiveSummary: [1, "executiveSummary"], focusAreaExecutiveSummary: [1, "focusAreaExecutiveSummary"], metricExecutiveSummary: [1, "metricExecutiveSummary"], metricName: [1, "metricName"], allGoals: [1, "allGoals"], allMetrics: [1, "allMetrics"], allCharts: [1, "allCharts"], allInsights: [1, "allInsights"], businessProfile: [1, "businessProfile"] }, outputs: { viewReportClick: "viewReportClick" }, decls: 24, vars: 12, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "mb-6", "p-4", "rounded-xl", "border", "flex", "items-start", "gap-3", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "flex-1"], [1, "font-semibold", "text-sm", "mb-1", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "space-y-3"], [1, "rounded-xl", "border", "overflow-hidden", "transition-all", "duration-200", 3, "id", "ngClass"], ["type", "button", 1, "cursor-pointer", "w-full", "px-5", "py-4", "flex", "items-center", "justify-between", "gap-4", "text-left", "transition-colors", "duration-200", 3, "click", "ngClass"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0"], [1, "p-2", "rounded-lg", "flex-shrink-0", "transition-colors", "duration-200", 3, "ngClass"], [1, "flex-1", "min-w-0"], [1, "font-semibold", "transition-colors", "duration-200", 3, "ngClass"], [1, "text-sm", "mt-0.5", "line-clamp-1", "transition-colors", "duration-200", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "flex-shrink-0", "transition-transform", "duration-200", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 9l-7 7-7-7"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out"], [1, "overflow-hidden"], [1, "border-t", "p-6", 3, "ngClass"], [3, "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "summary", "allGoals"], ["size", "w-4 h-4", 3, "icon"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMetricDetailsClick", "viewReportClick", "viewMode", "summary", "metricName", "allGoals"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [1, "mb-6"], [3, "section", "viewMode", "sectionIndex", "executiveSummary", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [1, "relative"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[50%]"], [1, "mb-6", "lg:float-right", "lg:ml-6", "lg:mb-4", "lg:max-w-[50%]"], [3, "visual", "viewMode"]], template: function CollapsibleAnalysisSectionGroupComponent_Template(rf, ctx) { if (rf & 1) {
86062
86196
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
86063
86197
  i0.ɵɵnamespaceSVG();
86064
86198
  i0.ɵɵelementStart(5, "svg", 5);
@@ -86208,6 +86342,8 @@ class CollapsibleAnalysisSectionGroupComponent {
86208
86342
  [allGoals]="allGoals()"
86209
86343
  (topPrioritiesClick)="handleMetricTopPrioritiesClick()"
86210
86344
  (priorityDetailClick)="handleMetricPriorityDetailClick($event)"
86345
+ (viewMetricDetailsClick)="handleViewMetricDetailsClick()"
86346
+ (viewReportClick)="handleViewReportClick()"
86211
86347
  />
86212
86348
  } @else if (section.id === 'focus-area-executive-summary' && focusAreaExecutiveSummary()) {
86213
86349
  <symphiq-focus-area-executive-summary
@@ -86275,8 +86411,8 @@ class CollapsibleAnalysisSectionGroupComponent {
86275
86411
  </div>
86276
86412
  `
86277
86413
  }]
86278
- }], null, { sections: [{ type: i0.Input, args: [{ isSignal: true, alias: "sections", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], executiveSummary: [{ type: i0.Input, args: [{ isSignal: true, alias: "executiveSummary", required: false }] }], focusAreaExecutiveSummary: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaExecutiveSummary", required: false }] }], metricExecutiveSummary: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricExecutiveSummary", required: false }] }], metricName: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricName", required: false }] }], allGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "allGoals", required: false }] }], allMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "allMetrics", required: false }] }], allCharts: [{ type: i0.Input, args: [{ isSignal: true, alias: "allCharts", required: false }] }], allInsights: [{ type: i0.Input, args: [{ isSignal: true, alias: "allInsights", required: false }] }], businessProfile: [{ type: i0.Input, args: [{ isSignal: true, alias: "businessProfile", required: false }] }] }); })();
86279
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollapsibleAnalysisSectionGroupComponent, { className: "CollapsibleAnalysisSectionGroupComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/collapsible-analysis-section-group.component.ts", lineNumber: 172 }); })();
86414
+ }], null, { sections: [{ type: i0.Input, args: [{ isSignal: true, alias: "sections", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], executiveSummary: [{ type: i0.Input, args: [{ isSignal: true, alias: "executiveSummary", required: false }] }], focusAreaExecutiveSummary: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaExecutiveSummary", required: false }] }], metricExecutiveSummary: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricExecutiveSummary", required: false }] }], metricName: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricName", required: false }] }], allGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "allGoals", required: false }] }], allMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "allMetrics", required: false }] }], allCharts: [{ type: i0.Input, args: [{ isSignal: true, alias: "allCharts", required: false }] }], allInsights: [{ type: i0.Input, args: [{ isSignal: true, alias: "allInsights", required: false }] }], businessProfile: [{ type: i0.Input, args: [{ isSignal: true, alias: "businessProfile", required: false }] }], viewReportClick: [{ type: i0.Output, args: ["viewReportClick"] }] }); })();
86415
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollapsibleAnalysisSectionGroupComponent, { className: "CollapsibleAnalysisSectionGroupComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/collapsible-analysis-section-group.component.ts", lineNumber: 174 }); })();
86280
86416
 
86281
86417
  const _forTrack0$g = ($index, $item) => $item.code;
86282
86418
  function BillingCurrencySelectorCardComponent_For_15_Template(rf, ctx) { if (rf & 1) {
@@ -99917,12 +100053,12 @@ class SymphiqProfileMetricDashboardComponent {
99917
100053
  const _c0$5 = ["funnelModalComponent"];
99918
100054
  const _forTrack0$5 = ($index, $item) => $item.id;
99919
100055
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99920
- i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
99921
- i0.ɵɵelement(2, "symphiq-indeterminate-spinner", 25);
99922
- i0.ɵɵelementStart(3, "div", 26)(4, "h3", 27);
100056
+ i0.ɵɵelementStart(0, "div", 24)(1, "div", 25);
100057
+ i0.ɵɵelement(2, "symphiq-indeterminate-spinner", 26);
100058
+ i0.ɵɵelementStart(3, "div", 27)(4, "h3", 28);
99923
100059
  i0.ɵɵtext(5, " Loading Your Metric Analysis ");
99924
100060
  i0.ɵɵelementEnd();
99925
- i0.ɵɵelementStart(6, "p", 28);
100061
+ i0.ɵɵelementStart(6, "p", 29);
99926
100062
  i0.ɵɵtext(7, " Please wait while we prepare your personalized insights... ");
99927
100063
  i0.ɵɵelementEnd()()()();
99928
100064
  } if (rf & 2) {
@@ -99936,10 +100072,10 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditiona
99936
100072
  i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600" : "text-slate-400");
99937
100073
  } }
99938
100074
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
99939
- i0.ɵɵelementStart(0, "div", 21);
99940
- i0.ɵɵelement(1, "symphiq-metric-welcome-banner", 22);
100075
+ i0.ɵɵelementStart(0, "div", 22);
100076
+ i0.ɵɵelement(1, "symphiq-metric-welcome-banner", 23);
99941
100077
  i0.ɵɵelementEnd();
99942
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 23);
100078
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 24);
99943
100079
  } if (rf & 2) {
99944
100080
  const ctx_r1 = i0.ɵɵnextContext();
99945
100081
  i0.ɵɵadvance();
@@ -99948,8 +100084,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Template(r
99948
100084
  i0.ɵɵconditional(ctx_r1.isLoading() ? 2 : -1);
99949
100085
  } }
99950
100086
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
99951
- i0.ɵɵelementStart(0, "div", 30);
99952
- i0.ɵɵelement(1, "symphiq-content-generation-progress", 32);
100087
+ i0.ɵɵelementStart(0, "div", 31);
100088
+ i0.ɵɵelement(1, "symphiq-content-generation-progress", 33);
99953
100089
  i0.ɵɵelementEnd();
99954
100090
  } if (rf & 2) {
99955
100091
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -99959,7 +100095,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99959
100095
  } }
99960
100096
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99961
100097
  const _r3 = i0.ɵɵgetCurrentView();
99962
- i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 33);
100098
+ i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 34);
99963
100099
  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)); });
99964
100100
  i0.ɵɵelementEnd();
99965
100101
  } if (rf & 2) {
@@ -99967,8 +100103,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99967
100103
  i0.ɵɵproperty("goals", ctx_r1.strategicRoadmapGoals())("viewMode", ctx_r1.viewMode());
99968
100104
  } }
99969
100105
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
99970
- i0.ɵɵelementStart(0, "div", 29);
99971
- 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);
100106
+ i0.ɵɵelementStart(0, "div", 30);
100107
+ i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template, 2, 3, "div", 31)(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 32);
99972
100108
  i0.ɵɵelementEnd();
99973
100109
  } if (rf & 2) {
99974
100110
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -99976,16 +100112,17 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
99976
100112
  i0.ɵɵconditional(ctx_r1.isProfileAnalysisGenerating() ? 1 : 2);
99977
100113
  } }
99978
100114
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
99979
- i0.ɵɵelementStart(0, "div");
99980
- i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 34);
99981
- i0.ɵɵelementEnd();
100115
+ const _r4 = i0.ɵɵgetCurrentView();
100116
+ i0.ɵɵelementStart(0, "div")(1, "symphiq-collapsible-analysis-section-group", 35);
100117
+ i0.ɵɵlistener("viewReportClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template_symphiq_collapsible_analysis_section_group_viewReportClick_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleViewReportClick($event)); });
100118
+ i0.ɵɵelementEnd()();
99982
100119
  } if (rf & 2) {
99983
100120
  const ctx_r1 = i0.ɵɵnextContext(2);
99984
100121
  i0.ɵɵadvance();
99985
100122
  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());
99986
100123
  } }
99987
100124
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
99988
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 29);
100125
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 30);
99989
100126
  i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template, 2, 9, "div");
99990
100127
  } if (rf & 2) {
99991
100128
  const ctx_r1 = i0.ɵɵnextContext();
@@ -99994,115 +100131,115 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(r
99994
100131
  i0.ɵɵconditional(ctx_r1.nonStrategicSections().length > 0 ? 1 : -1);
99995
100132
  } }
99996
100133
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template(rf, ctx) { if (rf & 1) {
99997
- const _r4 = i0.ɵɵgetCurrentView();
99998
- i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 37);
99999
- 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()); });
100134
+ const _r5 = i0.ɵɵgetCurrentView();
100135
+ i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 38);
100136
+ i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r5); 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(_r5); 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(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleViewMetricDetailsClick()); });
100000
100137
  i0.ɵɵelementEnd();
100001
100138
  } if (rf & 2) {
100002
100139
  const ctx_r1 = i0.ɵɵnextContext(2);
100003
100140
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("summary", ctx)("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals());
100004
100141
  } }
100005
100142
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
100006
- i0.ɵɵelement(0, "symphiq-section-divider", 38);
100143
+ i0.ɵɵelement(0, "symphiq-section-divider", 39);
100007
100144
  } if (rf & 2) {
100008
- const sectionList_r5 = i0.ɵɵnextContext();
100145
+ const sectionList_r6 = i0.ɵɵnextContext();
100009
100146
  const ctx_r1 = i0.ɵɵnextContext(2);
100010
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r5[0].icon);
100147
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r6[0].icon);
100011
100148
  } }
100012
100149
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
100013
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 38);
100150
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 39);
100014
100151
  } if (rf & 2) {
100015
- const sectionList_r5 = ctx;
100016
- i0.ɵɵconditional(sectionList_r5.length > 0 && sectionList_r5[0].icon ? 0 : -1);
100152
+ const sectionList_r6 = ctx;
100153
+ i0.ɵɵconditional(sectionList_r6.length > 0 && sectionList_r6[0].icon ? 0 : -1);
100017
100154
  } }
100018
100155
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
100019
- i0.ɵɵelementStart(0, "div", 41);
100020
- i0.ɵɵelement(1, "symphiq-icon", 46);
100156
+ i0.ɵɵelementStart(0, "div", 42);
100157
+ i0.ɵɵelement(1, "symphiq-icon", 47);
100021
100158
  i0.ɵɵelementEnd();
100022
100159
  } if (rf & 2) {
100023
- const section_r6 = i0.ɵɵnextContext().$implicit;
100160
+ const section_r7 = i0.ɵɵnextContext().$implicit;
100024
100161
  const ctx_r1 = i0.ɵɵnextContext(3);
100025
100162
  i0.ɵɵproperty("ngClass", ctx_r1.getSectionIconClasses());
100026
100163
  i0.ɵɵadvance();
100027
- i0.ɵɵproperty("icon", section_r6.icon);
100164
+ i0.ɵɵproperty("icon", section_r7.icon);
100028
100165
  } }
100029
100166
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
100030
- i0.ɵɵelementStart(0, "div", 48);
100031
- i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 50);
100167
+ i0.ɵɵelementStart(0, "div", 49);
100168
+ i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 51);
100032
100169
  i0.ɵɵelementEnd();
100033
100170
  } if (rf & 2) {
100034
- const section_r6 = i0.ɵɵnextContext(2).$implicit;
100171
+ const section_r7 = i0.ɵɵnextContext(2).$implicit;
100035
100172
  const ctx_r1 = i0.ɵɵnextContext(3);
100036
100173
  i0.ɵɵadvance();
100037
- i0.ɵɵproperty("visual", section_r6.visual)("viewMode", ctx_r1.viewMode());
100174
+ i0.ɵɵproperty("visual", section_r7.visual)("viewMode", ctx_r1.viewMode());
100038
100175
  } }
100039
100176
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
100040
- i0.ɵɵelementStart(0, "div", 51)(1, "p", 52);
100177
+ i0.ɵɵelementStart(0, "div", 52)(1, "p", 53);
100041
100178
  i0.ɵɵtext(2);
100042
100179
  i0.ɵɵelementEnd()();
100043
100180
  } if (rf & 2) {
100044
- const section_r6 = i0.ɵɵnextContext(2).$implicit;
100181
+ const section_r7 = i0.ɵɵnextContext(2).$implicit;
100045
100182
  const ctx_r1 = i0.ɵɵnextContext(3);
100046
- i0.ɵɵclassProp("lg:w-1/3", section_r6.visual && section_r6.visual.enabled)("lg:w-full", !section_r6.visual || !section_r6.visual.enabled);
100183
+ i0.ɵɵclassProp("lg:w-1/3", section_r7.visual && section_r7.visual.enabled)("lg:w-full", !section_r7.visual || !section_r7.visual.enabled);
100047
100184
  i0.ɵɵadvance();
100048
100185
  i0.ɵɵproperty("ngClass", ctx_r1.getSectionDescriptionClasses());
100049
100186
  i0.ɵɵadvance();
100050
- i0.ɵɵtextInterpolate1(" ", section_r6.description, " ");
100187
+ i0.ɵɵtextInterpolate1(" ", section_r7.description, " ");
100051
100188
  } }
100052
100189
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
100053
- i0.ɵɵelementStart(0, "div", 47);
100054
- i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 48);
100055
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 49);
100190
+ i0.ɵɵelementStart(0, "div", 48);
100191
+ i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 49);
100192
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 50);
100056
100193
  i0.ɵɵelementEnd();
100057
100194
  } if (rf & 2) {
100058
- const ctx_r6 = i0.ɵɵnextContext();
100059
- const section_r6 = ctx_r6.$implicit;
100060
- const ɵ$index_63_r8 = ctx_r6.$index;
100061
- i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$index_63_r8 % 2 === 0);
100195
+ const ctx_r7 = i0.ɵɵnextContext();
100196
+ const section_r7 = ctx_r7.$implicit;
100197
+ const ɵ$index_63_r9 = ctx_r7.$index;
100198
+ i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$index_63_r9 % 2 === 0);
100062
100199
  i0.ɵɵadvance();
100063
- i0.ɵɵconditional(section_r6.visual && section_r6.visual.enabled ? 1 : -1);
100200
+ i0.ɵɵconditional(section_r7.visual && section_r7.visual.enabled ? 1 : -1);
100064
100201
  i0.ɵɵadvance();
100065
- i0.ɵɵconditional(section_r6.description ? 2 : -1);
100202
+ i0.ɵɵconditional(section_r7.description ? 2 : -1);
100066
100203
  } }
100067
100204
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
100068
- i0.ɵɵelement(0, "symphiq-section-divider", 38);
100205
+ i0.ɵɵelement(0, "symphiq-section-divider", 39);
100069
100206
  } if (rf & 2) {
100070
- const ɵ$index_63_r8 = i0.ɵɵnextContext().$index;
100071
- const sectionList_r9 = i0.ɵɵnextContext();
100207
+ const ɵ$index_63_r9 = i0.ɵɵnextContext().$index;
100208
+ const sectionList_r10 = i0.ɵɵnextContext();
100072
100209
  const ctx_r1 = i0.ɵɵnextContext(2);
100073
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r9[ɵ$index_63_r8 + 1].icon);
100210
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r10[ɵ$index_63_r9 + 1].icon);
100074
100211
  } }
100075
100212
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
100076
- i0.ɵɵelementStart(0, "div", 39)(1, "div", 40);
100077
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div", 41);
100078
- i0.ɵɵelementStart(3, "div", 42)(4, "h3", 43);
100213
+ i0.ɵɵelementStart(0, "div", 40)(1, "div", 41);
100214
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div", 42);
100215
+ i0.ɵɵelementStart(3, "div", 43)(4, "h3", 44);
100079
100216
  i0.ɵɵtext(5);
100080
100217
  i0.ɵɵelementEnd()()();
100081
- i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div", 44);
100082
- i0.ɵɵelement(7, "symphiq-profile-section-content", 45);
100218
+ i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div", 45);
100219
+ i0.ɵɵelement(7, "symphiq-profile-section-content", 46);
100083
100220
  i0.ɵɵelementEnd();
100084
- i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 38);
100221
+ i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 39);
100085
100222
  } if (rf & 2) {
100086
- const section_r6 = ctx.$implicit;
100087
- const ɵ$index_63_r8 = ctx.$index;
100088
- const ɵ$count_63_r10 = ctx.$count;
100223
+ const section_r7 = ctx.$implicit;
100224
+ const ɵ$index_63_r9 = ctx.$index;
100225
+ const ɵ$count_63_r11 = ctx.$count;
100089
100226
  const ctx_r1 = i0.ɵɵnextContext(3);
100090
- i0.ɵɵproperty("id", "section-" + section_r6.id)("ngClass", ctx_r1.getSectionCardClasses());
100227
+ i0.ɵɵproperty("id", "section-" + section_r7.id)("ngClass", ctx_r1.getSectionCardClasses());
100091
100228
  i0.ɵɵadvance(2);
100092
- i0.ɵɵconditional(section_r6.icon ? 2 : -1);
100229
+ i0.ɵɵconditional(section_r7.icon ? 2 : -1);
100093
100230
  i0.ɵɵadvance(2);
100094
100231
  i0.ɵɵproperty("ngClass", ctx_r1.getSectionTitleClasses());
100095
100232
  i0.ɵɵadvance();
100096
- i0.ɵɵtextInterpolate1(" ", section_r6.title, " ");
100233
+ i0.ɵɵtextInterpolate1(" ", section_r7.title, " ");
100097
100234
  i0.ɵɵadvance();
100098
- i0.ɵɵconditional(section_r6.description || section_r6.visual && section_r6.visual.enabled ? 6 : -1);
100235
+ i0.ɵɵconditional(section_r7.description || section_r7.visual && section_r7.visual.enabled ? 6 : -1);
100099
100236
  i0.ɵɵadvance();
100100
- i0.ɵɵproperty("section", section_r6)("viewMode", ctx_r1.viewMode())("sectionIndex", ɵ$index_63_r8)("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
100237
+ i0.ɵɵproperty("section", section_r7)("viewMode", ctx_r1.viewMode())("sectionIndex", ɵ$index_63_r9)("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
100101
100238
  i0.ɵɵadvance();
100102
- i0.ɵɵconditional(!(ɵ$index_63_r8 === ɵ$count_63_r10 - 1) ? 8 : -1);
100239
+ i0.ɵɵconditional(!(ɵ$index_63_r9 === ɵ$count_63_r11 - 1) ? 8 : -1);
100103
100240
  } }
100104
100241
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
100105
- i0.ɵɵelementStart(0, "section", 36);
100242
+ i0.ɵɵelementStart(0, "section", 37);
100106
100243
  i0.ɵɵrepeaterCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Template, 9, 15, null, null, _forTrack0$5);
100107
100244
  i0.ɵɵelementEnd();
100108
100245
  } if (rf & 2) {
@@ -100110,9 +100247,9 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
100110
100247
  i0.ɵɵrepeater(ctx);
100111
100248
  } }
100112
100249
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
100113
- i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template, 1, 4, "symphiq-metric-executive-summary", 35);
100250
+ i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template, 1, 4, "symphiq-metric-executive-summary", 36);
100114
100251
  i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Template, 1, 1);
100115
- i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 36);
100252
+ i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 37);
100116
100253
  } if (rf & 2) {
100117
100254
  let tmp_2_0;
100118
100255
  let tmp_3_0;
@@ -100139,55 +100276,55 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_11_Template(
100139
100276
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
100140
100277
  i0.ɵɵelement(0, "symphiq-goal-card", 11);
100141
100278
  } if (rf & 2) {
100142
- const data_r11 = ctx;
100279
+ const data_r12 = ctx;
100143
100280
  const ctx_r1 = i0.ɵɵnextContext();
100144
- i0.ɵɵproperty("goal", data_r11.goal)("viewMode", data_r11.viewMode)("isInModal", true)("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("currentModalState", ctx_r1.getCurrentModalState())("businessProfile", ctx_r1.profile());
100281
+ i0.ɵɵproperty("goal", data_r12.goal)("viewMode", data_r12.viewMode)("isInModal", true)("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("currentModalState", ctx_r1.getCurrentModalState())("businessProfile", ctx_r1.profile());
100145
100282
  } }
100146
100283
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
100147
100284
  i0.ɵɵelement(0, "symphiq-goal-objectives-modal-content", 12);
100148
100285
  } if (rf & 2) {
100149
- const data_r12 = ctx;
100150
- i0.ɵɵproperty("goal", data_r12.goal)("viewMode", data_r12.viewMode);
100286
+ const data_r13 = ctx;
100287
+ i0.ɵɵproperty("goal", data_r13.goal)("viewMode", data_r13.viewMode);
100151
100288
  } }
100152
100289
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
100153
100290
  i0.ɵɵelement(0, "symphiq-objective-strategies-modal-content", 13);
100154
100291
  } if (rf & 2) {
100155
- const data_r13 = ctx;
100156
- i0.ɵɵproperty("objective", data_r13.objective)("goalTitle", data_r13.goalTitle)("viewMode", data_r13.viewMode);
100292
+ const data_r14 = ctx;
100293
+ i0.ɵɵproperty("objective", data_r14.objective)("goalTitle", data_r14.goalTitle)("viewMode", data_r14.viewMode);
100157
100294
  } }
100158
100295
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
100159
100296
  i0.ɵɵelement(0, "symphiq-strategy-recommendations-modal-content", 14);
100160
100297
  } if (rf & 2) {
100161
- const data_r14 = ctx;
100298
+ const data_r15 = ctx;
100162
100299
  const ctx_r1 = i0.ɵɵnextContext();
100163
- i0.ɵɵproperty("strategy", data_r14.strategy)("objectiveTitle", data_r14.objectiveTitle)("goalTitle", data_r14.goalTitle)("viewMode", data_r14.viewMode)("expandedRecommendationId", data_r14.expandedRecommendationId)("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("allBusinessInsights", ctx_r1.allBusinessInsights())("currentModalState", ctx_r1.getCurrentModalState());
100300
+ i0.ɵɵproperty("strategy", data_r15.strategy)("objectiveTitle", data_r15.objectiveTitle)("goalTitle", data_r15.goalTitle)("viewMode", data_r15.viewMode)("expandedRecommendationId", data_r15.expandedRecommendationId)("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("allBusinessInsights", ctx_r1.allBusinessInsights())("currentModalState", ctx_r1.getCurrentModalState());
100164
100301
  } }
100165
100302
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
100166
100303
  i0.ɵɵelement(0, "symphiq-category-detail-modal-content", 15);
100167
100304
  } if (rf & 2) {
100168
- const data_r15 = ctx;
100169
- i0.ɵɵproperty("category", data_r15.category)("viewMode", data_r15.viewMode)("scrollToSection", data_r15.scrollToSection);
100305
+ const data_r16 = ctx;
100306
+ i0.ɵɵproperty("category", data_r16.category)("viewMode", data_r16.viewMode)("scrollToSection", data_r16.scrollToSection);
100170
100307
  } }
100171
100308
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
100172
100309
  i0.ɵɵelement(0, "symphiq-strength-detail-modal-content", 16);
100173
100310
  } if (rf & 2) {
100174
- const data_r16 = ctx;
100311
+ const data_r17 = ctx;
100175
100312
  const ctx_r1 = i0.ɵɵnextContext();
100176
- i0.ɵɵproperty("strength", data_r16.strength)("viewMode", data_r16.viewMode)("allFunnelStrengths", ctx_r1.funnelStrengths())("currentModalState", ctx_r1.getCurrentModalState());
100313
+ i0.ɵɵproperty("strength", data_r17.strength)("viewMode", data_r17.viewMode)("allFunnelStrengths", ctx_r1.funnelStrengths())("currentModalState", ctx_r1.getCurrentModalState());
100177
100314
  } }
100178
100315
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
100179
100316
  i0.ɵɵelement(0, "symphiq-gap-detail-modal-content", 17);
100180
100317
  } if (rf & 2) {
100181
- const data_r17 = ctx;
100318
+ const data_r18 = ctx;
100182
100319
  const ctx_r1 = i0.ɵɵnextContext();
100183
- i0.ɵɵproperty("gap", data_r17.gap)("viewMode", data_r17.viewMode)("allGoals", ctx_r1.allGoals())("allWeaknesses", ctx_r1.funnelWeaknesses())("currentModalState", ctx_r1.getCurrentModalState());
100320
+ i0.ɵɵproperty("gap", data_r18.gap)("viewMode", data_r18.viewMode)("allGoals", ctx_r1.allGoals())("allWeaknesses", ctx_r1.funnelWeaknesses())("currentModalState", ctx_r1.getCurrentModalState());
100184
100321
  } }
100185
100322
  function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
100186
100323
  i0.ɵɵelement(0, "symphiq-opportunity-detail-modal-content", 18);
100187
100324
  } if (rf & 2) {
100188
- const data_r18 = ctx;
100325
+ const data_r19 = ctx;
100189
100326
  const ctx_r1 = i0.ɵɵnextContext();
100190
- i0.ɵɵproperty("opportunity", data_r18.opportunity)("viewMode", data_r18.viewMode)("allStrengths", ctx_r1.funnelStrengths())("currentModalState", ctx_r1.getCurrentModalState());
100327
+ i0.ɵɵproperty("opportunity", data_r19.opportunity)("viewMode", data_r19.viewMode)("allStrengths", ctx_r1.funnelStrengths())("currentModalState", ctx_r1.getCurrentModalState());
100191
100328
  } }
100192
100329
  class SymphiqProfileAnalysisMetricDashboardComponent {
100193
100330
  constructor() {
@@ -100203,6 +100340,11 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100203
100340
  this.funnelMetric = input(...(ngDevMode ? [undefined, { debugName: "funnelMetric" }] : []));
100204
100341
  this.itemStatusProfileAnalysis = input(...(ngDevMode ? [undefined, { debugName: "itemStatusProfileAnalysis" }] : []));
100205
100342
  this.isMarkingAsReviewed = input(false, ...(ngDevMode ? [{ debugName: "isMarkingAsReviewed" }] : []));
100343
+ this.pacingResponse = input(...(ngDevMode ? [undefined, { debugName: "pacingResponse" }] : []));
100344
+ this.targets = input(...(ngDevMode ? [undefined, { debugName: "targets" }] : []));
100345
+ this.trendUiData = input(...(ngDevMode ? [undefined, { debugName: "trendUiData" }] : []));
100346
+ this.funnelMetrics = input([], ...(ngDevMode ? [{ debugName: "funnelMetrics" }] : []));
100347
+ this.mainUiData = input(...(ngDevMode ? [undefined, { debugName: "mainUiData" }] : []));
100206
100348
  this.nextStepClick = output();
100207
100349
  this.markAsReviewedClick = output();
100208
100350
  this.viewMetricDetailsClick = output();
@@ -100220,6 +100362,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100220
100362
  this.modalType = signal(null, ...(ngDevMode ? [{ debugName: "modalType" }] : []));
100221
100363
  this.modalData = signal(null, ...(ngDevMode ? [{ debugName: "modalData" }] : []));
100222
100364
  this.currentModalNavigationStack = signal([], ...(ngDevMode ? [{ debugName: "currentModalNavigationStack" }] : []));
100365
+ this.isMetricReportOpen = signal(false, ...(ngDevMode ? [{ debugName: "isMetricReportOpen" }] : []));
100366
+ this.selectedMetricEnum = signal('', ...(ngDevMode ? [{ debugName: "selectedMetricEnum" }] : []));
100223
100367
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
100224
100368
  this.isSimplifiedView = computed(() => this.currentDisplayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
100225
100369
  this.isProfileAnalysisGenerating = computed(() => {
@@ -100239,6 +100383,50 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100239
100383
  return profileAnalysis.selfContentStatus === AiDynamicContentStatusEnum.GENERATED &&
100240
100384
  profileAnalysis.reviewStatus === ProfileAnalysisReviewStatusEnum.NOT_REVIEWED;
100241
100385
  }, ...(ngDevMode ? [{ debugName: "shouldShowReviewFooter" }] : []));
100386
+ this.currencySymbol = computed(() => {
100387
+ return this.pacingResponse()?.currencySymbol || '$';
100388
+ }, ...(ngDevMode ? [{ debugName: "currencySymbol" }] : []));
100389
+ this.displayedMetricCalculations = computed(() => {
100390
+ const targets = this.targets();
100391
+ if (!targets || targets.length === 0) {
100392
+ return [];
100393
+ }
100394
+ return this.buildCalculationsFromTargets(targets);
100395
+ }, ...(ngDevMode ? [{ debugName: "displayedMetricCalculations" }] : []));
100396
+ this.selectedMetricData = computed(() => {
100397
+ const metricEnum = this.selectedMetricEnum();
100398
+ const calcs = this.displayedMetricCalculations();
100399
+ return calcs.find(c => c.metric === metricEnum);
100400
+ }, ...(ngDevMode ? [{ debugName: "selectedMetricData" }] : []));
100401
+ this.selectedContributingMetrics = computed(() => {
100402
+ const metricEnum = this.selectedMetricEnum();
100403
+ const calcs = this.displayedMetricCalculations();
100404
+ const selectedMetric = calcs.find(c => c.metric === metricEnum);
100405
+ if (!selectedMetric || !selectedMetric.isFunnelStage) {
100406
+ return [];
100407
+ }
100408
+ return calcs.filter(c => !c.isFunnelStage && c.funnelMetric === selectedMetric.metric);
100409
+ }, ...(ngDevMode ? [{ debugName: "selectedContributingMetrics" }] : []));
100410
+ this.revenueChartData = computed(() => {
100411
+ const trendData = this.trendUiData();
100412
+ if (!trendData?.convertedDataResults) {
100413
+ return null;
100414
+ }
100415
+ const metricEnum = this.selectedMetricEnum() || MetricEnum.PURCHASE_REVENUE;
100416
+ const series = transformTrendUiDataToChartSeries(trendData, metricEnum);
100417
+ if (series.length === 0) {
100418
+ return null;
100419
+ }
100420
+ return {
100421
+ title: MetricEnumUtil.title(metricEnum) + ' Trend',
100422
+ areaChartData: {
100423
+ series: series.map(s => ({
100424
+ name: s.name,
100425
+ data: s.data
100426
+ }))
100427
+ }
100428
+ };
100429
+ }, ...(ngDevMode ? [{ debugName: "revenueChartData" }] : []));
100242
100430
  this.COLLAPSE_THRESHOLD = 20;
100243
100431
  this.EXPAND_THRESHOLD = 10;
100244
100432
  this.embeddedScrollEffect = effect(() => {
@@ -100622,6 +100810,18 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100622
100810
  }
100623
100811
  console.log('[ViewMetricDetails] openMetricModal called - check FunnelAnalysisModal logs');
100624
100812
  }
100813
+ handleViewReportClick(metricKey) {
100814
+ console.log('[ViewReport] Handler called with metricKey:', metricKey);
100815
+ this.openMetricReport(metricKey);
100816
+ }
100817
+ openMetricReport(metricEnum) {
100818
+ this.selectedMetricEnum.set(metricEnum);
100819
+ this.isMetricReportOpen.set(true);
100820
+ }
100821
+ closeMetricReport() {
100822
+ this.isMetricReportOpen.set(false);
100823
+ this.selectedMetricEnum.set('');
100824
+ }
100625
100825
  getCurrentModalState() {
100626
100826
  return {
100627
100827
  type: this.modalType(),
@@ -100734,6 +100934,57 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100734
100934
  .replace(/F_PLUS/g, 'F+')
100735
100935
  .replace(/F_MINUS/g, 'F-');
100736
100936
  }
100937
+ buildCalculationsFromTargets(targets) {
100938
+ const results = [];
100939
+ const funnelMetricsList = this.funnelMetrics();
100940
+ for (const target of targets) {
100941
+ const metric = target.metric;
100942
+ if (!metric)
100943
+ continue;
100944
+ const targetValue = target.amount ?? 0;
100945
+ const currentValue = sumMetricFromUiData(this.mainUiData(), metric, 'priorYear');
100946
+ const isPercentageMetric = MetricEnumUtil.numberType(metric) === NumberTypeEnum.PERCENTAGE;
100947
+ let percentageIncrease = 0;
100948
+ if (currentValue > 0) {
100949
+ if (isPercentageMetric) {
100950
+ const normalizedCurrent = currentValue * 100;
100951
+ percentageIncrease = ((targetValue - normalizedCurrent) / normalizedCurrent) * 100;
100952
+ }
100953
+ else {
100954
+ percentageIncrease = ((targetValue - currentValue) / currentValue) * 100;
100955
+ }
100956
+ }
100957
+ const funnelMetricMatch = funnelMetricsList.find(fm => fm.funnelMetric === metric && fm.funnelMetric === fm.relatedMetric);
100958
+ const relatedMetricMatch = funnelMetricsList.find(fm => fm.relatedMetric === metric && fm.funnelMetric !== fm.relatedMetric);
100959
+ if (funnelMetricMatch) {
100960
+ results.push({
100961
+ metric,
100962
+ funnelMetric: metric,
100963
+ currentValue,
100964
+ targetValue,
100965
+ percentageIncrease,
100966
+ isFunnelStage: true,
100967
+ funnelInd: funnelMetricMatch.funnelInd,
100968
+ relatedInd: 0,
100969
+ description: funnelMetricMatch.funnelMetricDescription
100970
+ });
100971
+ }
100972
+ else if (relatedMetricMatch) {
100973
+ results.push({
100974
+ metric,
100975
+ funnelMetric: relatedMetricMatch.funnelMetric,
100976
+ currentValue,
100977
+ targetValue,
100978
+ percentageIncrease,
100979
+ isFunnelStage: false,
100980
+ funnelInd: relatedMetricMatch.funnelInd,
100981
+ relatedInd: relatedMetricMatch.relatedInd,
100982
+ description: relatedMetricMatch.relatedMetricDescription
100983
+ });
100984
+ }
100985
+ }
100986
+ return results;
100987
+ }
100737
100988
  static { this.ɵfac = function SymphiqProfileAnalysisMetricDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileAnalysisMetricDashboardComponent)(); }; }
100738
100989
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileAnalysisMetricDashboardComponent, selectors: [["symphiq-profile-analysis-metric-dashboard"]], viewQuery: function SymphiqProfileAnalysisMetricDashboardComponent_Query(rf, ctx) { if (rf & 1) {
100739
100990
  i0.ɵɵviewQuery(_c0$5, 5);
@@ -100742,7 +100993,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100742
100993
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
100743
100994
  } }, hostBindings: function SymphiqProfileAnalysisMetricDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
100744
100995
  i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisMetricDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
100745
- } }, 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", viewMetricDetailsClick: "viewMetricDetailsClick" }, 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) {
100996
+ } }, 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"], pacingResponse: [1, "pacingResponse"], targets: [1, "targets"], trendUiData: [1, "trendUiData"], funnelMetrics: [1, "funnelMetrics"], mainUiData: [1, "mainUiData"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick", viewMetricDetailsClick: "viewMetricDetailsClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 29, vars: 57, 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"], [3, "closed", "viewMode", "metricEnum", "metricData", "contributingMetrics", "pacingResponse", "trendChartData", "currencySymbol", "isOpen"], [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, "viewReportClick", "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) {
100746
100997
  const _r1 = i0.ɵɵgetCurrentView();
100747
100998
  i0.ɵɵelementStart(0, "div", 1);
100748
100999
  i0.ɵɵelement(1, "div", 2);
@@ -100780,7 +101031,9 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100780
101031
  i0.ɵɵlistener("markAsReviewedClick", function SymphiqProfileAnalysisMetricDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMarkAsReviewedClick()); });
100781
101032
  i0.ɵɵelementEnd();
100782
101033
  i0.ɵɵelement(27, "symphiq-tooltip-container");
100783
- i0.ɵɵelementEnd()();
101034
+ i0.ɵɵelementStart(28, "symphiq-metric-report-modal", 21);
101035
+ i0.ɵɵlistener("closed", function SymphiqProfileAnalysisMetricDashboardComponent_Template_symphiq_metric_report_modal_closed_28_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.closeMetricReport()); });
101036
+ i0.ɵɵelementEnd()()();
100784
101037
  } if (rf & 2) {
100785
101038
  let tmp_14_0;
100786
101039
  let tmp_32_0;
@@ -100842,6 +101095,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100842
101095
  i0.ɵɵproperty("isLightMode", ctx.isLightMode());
100843
101096
  i0.ɵɵadvance();
100844
101097
  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());
101098
+ i0.ɵɵadvance(2);
101099
+ i0.ɵɵproperty("viewMode", ctx.viewMode())("metricEnum", ctx.selectedMetricEnum())("metricData", ctx.selectedMetricData())("contributingMetrics", ctx.selectedContributingMetrics())("pacingResponse", ctx.pacingResponse())("trendChartData", ctx.revenueChartData())("currencySymbol", ctx.currencySymbol())("isOpen", ctx.isMetricReportOpen());
100845
101100
  } }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent,
100846
101101
  SearchModalComponent,
100847
101102
  ViewModeSwitcherModalComponent,
@@ -100869,7 +101124,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100869
101124
  CollapsibleAnalysisSectionGroupComponent,
100870
101125
  ContentGenerationProgressComponent,
100871
101126
  IndeterminateSpinnerComponent,
100872
- MarkAsReviewedFooterComponent], encapsulation: 2, changeDetection: 0 }); }
101127
+ MarkAsReviewedFooterComponent,
101128
+ MetricReportModalComponent], encapsulation: 2, changeDetection: 0 }); }
100873
101129
  }
100874
101130
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileAnalysisMetricDashboardComponent, [{
100875
101131
  type: Component,
@@ -100905,7 +101161,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
100905
101161
  CollapsibleAnalysisSectionGroupComponent,
100906
101162
  ContentGenerationProgressComponent,
100907
101163
  IndeterminateSpinnerComponent,
100908
- MarkAsReviewedFooterComponent
101164
+ MarkAsReviewedFooterComponent,
101165
+ MetricReportModalComponent
100909
101166
  ],
100910
101167
  changeDetection: ChangeDetectionStrategy.OnPush,
100911
101168
  template: `
@@ -101009,6 +101266,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
101009
101266
  [allCharts]="allCharts()"
101010
101267
  [allInsights]="allInsights()"
101011
101268
  [businessProfile]="profile()"
101269
+ (viewReportClick)="handleViewReportClick($event)"
101012
101270
  />
101013
101271
  </div>
101014
101272
  }
@@ -101249,6 +101507,19 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
101249
101507
 
101250
101508
  <!-- Tooltip Container -->
101251
101509
  <symphiq-tooltip-container />
101510
+
101511
+ <!-- Metric Report Modal -->
101512
+ <symphiq-metric-report-modal
101513
+ [viewMode]="viewMode()"
101514
+ [metricEnum]="selectedMetricEnum()"
101515
+ [metricData]="selectedMetricData()"
101516
+ [contributingMetrics]="selectedContributingMetrics()"
101517
+ [pacingResponse]="pacingResponse()"
101518
+ [trendChartData]="revenueChartData()"
101519
+ [currencySymbol]="currencySymbol()"
101520
+ [isOpen]="isMetricReportOpen()"
101521
+ (closed)="closeMetricReport()"
101522
+ />
101252
101523
  </div>
101253
101524
  </div>
101254
101525
  `
@@ -101256,11 +101527,11 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
101256
101527
  }], null, { funnelModalComponent: [{
101257
101528
  type: ViewChild,
101258
101529
  args: ['funnelModalComponent']
101259
- }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], profileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalysis", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], funnelMetric: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelMetric", required: false }] }], itemStatusProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusProfileAnalysis", required: false }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }], viewMetricDetailsClick: [{ type: i0.Output, args: ["viewMetricDetailsClick"] }], onWindowScroll: [{
101530
+ }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], profileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalysis", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], funnelMetric: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelMetric", required: false }] }], itemStatusProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusProfileAnalysis", required: false }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], pacingResponse: [{ type: i0.Input, args: [{ isSignal: true, alias: "pacingResponse", required: false }] }], targets: [{ type: i0.Input, args: [{ isSignal: true, alias: "targets", required: false }] }], trendUiData: [{ type: i0.Input, args: [{ isSignal: true, alias: "trendUiData", required: false }] }], funnelMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelMetrics", required: false }] }], mainUiData: [{ type: i0.Input, args: [{ isSignal: true, alias: "mainUiData", required: false }] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }], viewMetricDetailsClick: [{ type: i0.Output, args: ["viewMetricDetailsClick"] }], onWindowScroll: [{
101260
101531
  type: HostListener,
101261
101532
  args: ['window:scroll', ['$event']]
101262
101533
  }] }); })();
101263
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber: 490 }); })();
101534
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber: 512 }); })();
101264
101535
 
101265
101536
  const _forTrack0$4 = ($index, $item) => $item.id;
101266
101537
  function ShopProfileCategoryListComponent_For_2_Template(rf, ctx) { if (rf & 1) {