@eric-emg/symphiq-components 1.2.545 → 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.
- package/fesm2022/symphiq-components.mjs +389 -181
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +40 -2
- package/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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",
|
|
69692
|
-
i0.ɵɵelement(1, "symphiq-icon",
|
|
69693
|
-
i0.ɵɵelementStart(2, "span",
|
|
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",
|
|
69707
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69708
|
-
i0.ɵɵelementStart(3, "span",
|
|
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",
|
|
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",
|
|
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",
|
|
69732
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69733
|
-
i0.ɵɵelementStart(3, "span",
|
|
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",
|
|
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",
|
|
69753
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69754
|
-
i0.ɵɵelementStart(3, "span",
|
|
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",
|
|
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",
|
|
69774
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69775
|
-
i0.ɵɵelementStart(3, "span",
|
|
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",
|
|
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",
|
|
69795
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69796
|
-
i0.ɵɵelementStart(3, "span",
|
|
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",
|
|
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(
|
|
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
|
|
69816
|
-
i0.ɵɵelementStart(0, "div",
|
|
69817
|
-
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder",
|
|
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
|
|
69825
|
-
i0.ɵɵelementStart(0, "div",
|
|
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",
|
|
69829
|
-
i0.ɵɵconditionalCreate(4,
|
|
69830
|
-
i0.ɵɵelementStart(5, "p",
|
|
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",
|
|
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
|
|
69849
|
-
i0.ɵɵelementStart(0, "div",
|
|
69850
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69851
|
-
i0.ɵɵelementStart(3, "div")(4, "span",
|
|
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",
|
|
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
|
|
69884
|
+
function MetricExecutiveSummaryComponent_Conditional_31_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
69871
69885
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
69872
|
-
i0.ɵɵelementStart(0, "button",
|
|
69873
|
-
i0.ɵɵlistener("click", function
|
|
69874
|
-
i0.ɵɵelementStart(1, "div",
|
|
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",
|
|
69891
|
+
i0.ɵɵelementStart(4, "h4", 42);
|
|
69878
69892
|
i0.ɵɵtext(5);
|
|
69879
69893
|
i0.ɵɵelementEnd()();
|
|
69880
|
-
i0.ɵɵelementStart(6, "p",
|
|
69894
|
+
i0.ɵɵelementStart(6, "p", 43);
|
|
69881
69895
|
i0.ɵɵtext(7);
|
|
69882
69896
|
i0.ɵɵelementEnd();
|
|
69883
|
-
i0.ɵɵconditionalCreate(8,
|
|
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
|
|
69906
|
-
i0.ɵɵelementStart(0, "div",
|
|
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",
|
|
69910
|
-
i0.ɵɵrepeaterCreate(4,
|
|
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
|
|
69920
|
-
i0.ɵɵelementStart(0, "div",
|
|
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
|
|
69935
|
-
i0.ɵɵelementStart(0, "div",
|
|
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",
|
|
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
|
|
69949
|
-
i0.ɵɵelementStart(0, "div",
|
|
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",
|
|
69966
|
+
i0.ɵɵelementStart(5, "p", 54);
|
|
69953
69967
|
i0.ɵɵtext(6);
|
|
69954
69968
|
i0.ɵɵelementEnd()();
|
|
69955
|
-
i0.ɵɵelementStart(7, "div",
|
|
69969
|
+
i0.ɵɵelementStart(7, "div", 55)(8, "span", 56);
|
|
69956
69970
|
i0.ɵɵtext(9);
|
|
69957
69971
|
i0.ɵɵelementEnd();
|
|
69958
|
-
i0.ɵɵelementStart(10, "span",
|
|
69972
|
+
i0.ɵɵelementStart(10, "span", 56);
|
|
69959
69973
|
i0.ɵɵtext(11);
|
|
69960
69974
|
i0.ɵɵelementEnd()();
|
|
69961
|
-
i0.ɵɵconditionalCreate(12,
|
|
69962
|
-
i0.ɵɵconditionalCreate(13,
|
|
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
|
|
69991
|
-
i0.ɵɵelementStart(0, "div",
|
|
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",
|
|
69995
|
-
i0.ɵɵrepeaterCreate(4,
|
|
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:
|
|
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,
|
|
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.ɵɵ
|
|
70227
|
-
i0.ɵɵ
|
|
70228
|
-
i0.ɵɵ
|
|
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(
|
|
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(
|
|
70261
|
-
i0.ɵɵadvance();
|
|
70262
|
-
i0.ɵɵ
|
|
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 && (((
|
|
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 && (((
|
|
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
|
|
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:
|
|
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:
|
|
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
|
});
|
|
@@ -85769,7 +85832,7 @@ function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_7_Template(
|
|
|
85769
85832
|
function CollapsibleAnalysisSectionGroupComponent_For_23_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
85770
85833
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
85771
85834
|
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 32);
|
|
85772
|
-
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()); });
|
|
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()); });
|
|
85773
85836
|
i0.ɵɵelementEnd();
|
|
85774
85837
|
} if (rf & 2) {
|
|
85775
85838
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -85903,6 +85966,7 @@ class CollapsibleAnalysisSectionGroupComponent {
|
|
|
85903
85966
|
this.allCharts = input([], ...(ngDevMode ? [{ debugName: "allCharts" }] : []));
|
|
85904
85967
|
this.allInsights = input([], ...(ngDevMode ? [{ debugName: "allInsights" }] : []));
|
|
85905
85968
|
this.businessProfile = input(undefined, ...(ngDevMode ? [{ debugName: "businessProfile" }] : []));
|
|
85969
|
+
this.viewReportClick = output();
|
|
85906
85970
|
this.modalService = inject(ModalService);
|
|
85907
85971
|
this.profileContextService = inject(ProfileContextService);
|
|
85908
85972
|
this.expandedSections = signal([], ...(ngDevMode ? [{ debugName: "expandedSections" }] : []));
|
|
@@ -86102,6 +86166,14 @@ class CollapsibleAnalysisSectionGroupComponent {
|
|
|
86102
86166
|
}
|
|
86103
86167
|
}
|
|
86104
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
|
+
}
|
|
86105
86177
|
formatDescription(description) {
|
|
86106
86178
|
if (!description)
|
|
86107
86179
|
return description;
|
|
@@ -86120,7 +86192,7 @@ class CollapsibleAnalysisSectionGroupComponent {
|
|
|
86120
86192
|
});
|
|
86121
86193
|
}
|
|
86122
86194
|
static { this.ɵfac = function CollapsibleAnalysisSectionGroupComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CollapsibleAnalysisSectionGroupComponent)(); }; }
|
|
86123
|
-
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", "viewMetricDetailsClick", "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) {
|
|
86124
86196
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
86125
86197
|
i0.ɵɵnamespaceSVG();
|
|
86126
86198
|
i0.ɵɵelementStart(5, "svg", 5);
|
|
@@ -86271,6 +86343,7 @@ class CollapsibleAnalysisSectionGroupComponent {
|
|
|
86271
86343
|
(topPrioritiesClick)="handleMetricTopPrioritiesClick()"
|
|
86272
86344
|
(priorityDetailClick)="handleMetricPriorityDetailClick($event)"
|
|
86273
86345
|
(viewMetricDetailsClick)="handleViewMetricDetailsClick()"
|
|
86346
|
+
(viewReportClick)="handleViewReportClick()"
|
|
86274
86347
|
/>
|
|
86275
86348
|
} @else if (section.id === 'focus-area-executive-summary' && focusAreaExecutiveSummary()) {
|
|
86276
86349
|
<symphiq-focus-area-executive-summary
|
|
@@ -86338,8 +86411,8 @@ class CollapsibleAnalysisSectionGroupComponent {
|
|
|
86338
86411
|
</div>
|
|
86339
86412
|
`
|
|
86340
86413
|
}]
|
|
86341
|
-
}], 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 }] }] }); })();
|
|
86342
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollapsibleAnalysisSectionGroupComponent, { className: "CollapsibleAnalysisSectionGroupComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/collapsible-analysis-section-group.component.ts", lineNumber:
|
|
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 }); })();
|
|
86343
86416
|
|
|
86344
86417
|
const _forTrack0$g = ($index, $item) => $item.code;
|
|
86345
86418
|
function BillingCurrencySelectorCardComponent_For_15_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -99980,12 +100053,12 @@ class SymphiqProfileMetricDashboardComponent {
|
|
|
99980
100053
|
const _c0$5 = ["funnelModalComponent"];
|
|
99981
100054
|
const _forTrack0$5 = ($index, $item) => $item.id;
|
|
99982
100055
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
99983
|
-
i0.ɵɵelementStart(0, "div",
|
|
99984
|
-
i0.ɵɵelement(2, "symphiq-indeterminate-spinner",
|
|
99985
|
-
i0.ɵɵelementStart(3, "div",
|
|
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);
|
|
99986
100059
|
i0.ɵɵtext(5, " Loading Your Metric Analysis ");
|
|
99987
100060
|
i0.ɵɵelementEnd();
|
|
99988
|
-
i0.ɵɵelementStart(6, "p",
|
|
100061
|
+
i0.ɵɵelementStart(6, "p", 29);
|
|
99989
100062
|
i0.ɵɵtext(7, " Please wait while we prepare your personalized insights... ");
|
|
99990
100063
|
i0.ɵɵelementEnd()()()();
|
|
99991
100064
|
} if (rf & 2) {
|
|
@@ -99999,10 +100072,10 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditiona
|
|
|
99999
100072
|
i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600" : "text-slate-400");
|
|
100000
100073
|
} }
|
|
100001
100074
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
100002
|
-
i0.ɵɵelementStart(0, "div",
|
|
100003
|
-
i0.ɵɵelement(1, "symphiq-metric-welcome-banner",
|
|
100075
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
100076
|
+
i0.ɵɵelement(1, "symphiq-metric-welcome-banner", 23);
|
|
100004
100077
|
i0.ɵɵelementEnd();
|
|
100005
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div",
|
|
100078
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Conditional_2_Template, 8, 4, "div", 24);
|
|
100006
100079
|
} if (rf & 2) {
|
|
100007
100080
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
100008
100081
|
i0.ɵɵadvance();
|
|
@@ -100011,8 +100084,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_7_Template(r
|
|
|
100011
100084
|
i0.ɵɵconditional(ctx_r1.isLoading() ? 2 : -1);
|
|
100012
100085
|
} }
|
|
100013
100086
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
100014
|
-
i0.ɵɵelementStart(0, "div",
|
|
100015
|
-
i0.ɵɵelement(1, "symphiq-content-generation-progress",
|
|
100087
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
100088
|
+
i0.ɵɵelement(1, "symphiq-content-generation-progress", 33);
|
|
100016
100089
|
i0.ɵɵelementEnd();
|
|
100017
100090
|
} if (rf & 2) {
|
|
100018
100091
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -100022,7 +100095,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
|
|
|
100022
100095
|
} }
|
|
100023
100096
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
100024
100097
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
100025
|
-
i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid",
|
|
100098
|
+
i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 34);
|
|
100026
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)); });
|
|
100027
100100
|
i0.ɵɵelementEnd();
|
|
100028
100101
|
} if (rf & 2) {
|
|
@@ -100030,8 +100103,8 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
|
|
|
100030
100103
|
i0.ɵɵproperty("goals", ctx_r1.strategicRoadmapGoals())("viewMode", ctx_r1.viewMode());
|
|
100031
100104
|
} }
|
|
100032
100105
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
100033
|
-
i0.ɵɵelementStart(0, "div",
|
|
100034
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Conditional_1_Template, 2, 3, "div",
|
|
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);
|
|
100035
100108
|
i0.ɵɵelementEnd();
|
|
100036
100109
|
} if (rf & 2) {
|
|
100037
100110
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -100039,16 +100112,17 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditiona
|
|
|
100039
100112
|
i0.ɵɵconditional(ctx_r1.isProfileAnalysisGenerating() ? 1 : 2);
|
|
100040
100113
|
} }
|
|
100041
100114
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
100042
|
-
i0.ɵɵ
|
|
100043
|
-
i0.ɵɵ
|
|
100044
|
-
i0.ɵɵ
|
|
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()();
|
|
100045
100119
|
} if (rf & 2) {
|
|
100046
100120
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
100047
100121
|
i0.ɵɵadvance();
|
|
100048
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());
|
|
100049
100123
|
} }
|
|
100050
100124
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
100051
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div",
|
|
100125
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_0_Template, 3, 1, "div", 30);
|
|
100052
100126
|
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Conditional_1_Template, 2, 9, "div");
|
|
100053
100127
|
} if (rf & 2) {
|
|
100054
100128
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -100057,115 +100131,115 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(r
|
|
|
100057
100131
|
i0.ɵɵconditional(ctx_r1.nonStrategicSections().length > 0 ? 1 : -1);
|
|
100058
100132
|
} }
|
|
100059
100133
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
100060
|
-
const
|
|
100061
|
-
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary",
|
|
100062
|
-
i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(
|
|
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()); });
|
|
100063
100137
|
i0.ɵɵelementEnd();
|
|
100064
100138
|
} if (rf & 2) {
|
|
100065
100139
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
100066
100140
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("summary", ctx)("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals());
|
|
100067
100141
|
} }
|
|
100068
100142
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
100069
|
-
i0.ɵɵelement(0, "symphiq-section-divider",
|
|
100143
|
+
i0.ɵɵelement(0, "symphiq-section-divider", 39);
|
|
100070
100144
|
} if (rf & 2) {
|
|
100071
|
-
const
|
|
100145
|
+
const sectionList_r6 = i0.ɵɵnextContext();
|
|
100072
100146
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
100073
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon",
|
|
100147
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r6[0].icon);
|
|
100074
100148
|
} }
|
|
100075
100149
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
100076
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider",
|
|
100150
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Conditional_0_Template, 1, 2, "symphiq-section-divider", 39);
|
|
100077
100151
|
} if (rf & 2) {
|
|
100078
|
-
const
|
|
100079
|
-
i0.ɵɵconditional(
|
|
100152
|
+
const sectionList_r6 = ctx;
|
|
100153
|
+
i0.ɵɵconditional(sectionList_r6.length > 0 && sectionList_r6[0].icon ? 0 : -1);
|
|
100080
100154
|
} }
|
|
100081
100155
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
100082
|
-
i0.ɵɵelementStart(0, "div",
|
|
100083
|
-
i0.ɵɵelement(1, "symphiq-icon",
|
|
100156
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
100157
|
+
i0.ɵɵelement(1, "symphiq-icon", 47);
|
|
100084
100158
|
i0.ɵɵelementEnd();
|
|
100085
100159
|
} if (rf & 2) {
|
|
100086
|
-
const
|
|
100160
|
+
const section_r7 = i0.ɵɵnextContext().$implicit;
|
|
100087
100161
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
100088
100162
|
i0.ɵɵproperty("ngClass", ctx_r1.getSectionIconClasses());
|
|
100089
100163
|
i0.ɵɵadvance();
|
|
100090
|
-
i0.ɵɵproperty("icon",
|
|
100164
|
+
i0.ɵɵproperty("icon", section_r7.icon);
|
|
100091
100165
|
} }
|
|
100092
100166
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
100093
|
-
i0.ɵɵelementStart(0, "div",
|
|
100094
|
-
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder",
|
|
100167
|
+
i0.ɵɵelementStart(0, "div", 49);
|
|
100168
|
+
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 51);
|
|
100095
100169
|
i0.ɵɵelementEnd();
|
|
100096
100170
|
} if (rf & 2) {
|
|
100097
|
-
const
|
|
100171
|
+
const section_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
100098
100172
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
100099
100173
|
i0.ɵɵadvance();
|
|
100100
|
-
i0.ɵɵproperty("visual",
|
|
100174
|
+
i0.ɵɵproperty("visual", section_r7.visual)("viewMode", ctx_r1.viewMode());
|
|
100101
100175
|
} }
|
|
100102
100176
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
100103
|
-
i0.ɵɵelementStart(0, "div",
|
|
100177
|
+
i0.ɵɵelementStart(0, "div", 52)(1, "p", 53);
|
|
100104
100178
|
i0.ɵɵtext(2);
|
|
100105
100179
|
i0.ɵɵelementEnd()();
|
|
100106
100180
|
} if (rf & 2) {
|
|
100107
|
-
const
|
|
100181
|
+
const section_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
100108
100182
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
100109
|
-
i0.ɵɵclassProp("lg:w-1/3",
|
|
100183
|
+
i0.ɵɵclassProp("lg:w-1/3", section_r7.visual && section_r7.visual.enabled)("lg:w-full", !section_r7.visual || !section_r7.visual.enabled);
|
|
100110
100184
|
i0.ɵɵadvance();
|
|
100111
100185
|
i0.ɵɵproperty("ngClass", ctx_r1.getSectionDescriptionClasses());
|
|
100112
100186
|
i0.ɵɵadvance();
|
|
100113
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
100187
|
+
i0.ɵɵtextInterpolate1(" ", section_r7.description, " ");
|
|
100114
100188
|
} }
|
|
100115
100189
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
100116
|
-
i0.ɵɵelementStart(0, "div",
|
|
100117
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div",
|
|
100118
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div",
|
|
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);
|
|
100119
100193
|
i0.ɵɵelementEnd();
|
|
100120
100194
|
} if (rf & 2) {
|
|
100121
|
-
const
|
|
100122
|
-
const
|
|
100123
|
-
const ɵ$
|
|
100124
|
-
i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$
|
|
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);
|
|
100125
100199
|
i0.ɵɵadvance();
|
|
100126
|
-
i0.ɵɵconditional(
|
|
100200
|
+
i0.ɵɵconditional(section_r7.visual && section_r7.visual.enabled ? 1 : -1);
|
|
100127
100201
|
i0.ɵɵadvance();
|
|
100128
|
-
i0.ɵɵconditional(
|
|
100202
|
+
i0.ɵɵconditional(section_r7.description ? 2 : -1);
|
|
100129
100203
|
} }
|
|
100130
100204
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
100131
|
-
i0.ɵɵelement(0, "symphiq-section-divider",
|
|
100205
|
+
i0.ɵɵelement(0, "symphiq-section-divider", 39);
|
|
100132
100206
|
} if (rf & 2) {
|
|
100133
|
-
const ɵ$
|
|
100134
|
-
const
|
|
100207
|
+
const ɵ$index_63_r9 = i0.ɵɵnextContext().$index;
|
|
100208
|
+
const sectionList_r10 = i0.ɵɵnextContext();
|
|
100135
100209
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
100136
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon",
|
|
100210
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r10[ɵ$index_63_r9 + 1].icon);
|
|
100137
100211
|
} }
|
|
100138
100212
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
100139
|
-
i0.ɵɵelementStart(0, "div",
|
|
100140
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_2_Template, 2, 2, "div",
|
|
100141
|
-
i0.ɵɵelementStart(3, "div",
|
|
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);
|
|
100142
100216
|
i0.ɵɵtext(5);
|
|
100143
100217
|
i0.ɵɵelementEnd()()();
|
|
100144
|
-
i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_6_Template, 3, 4, "div",
|
|
100145
|
-
i0.ɵɵelement(7, "symphiq-profile-section-content",
|
|
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);
|
|
100146
100220
|
i0.ɵɵelementEnd();
|
|
100147
|
-
i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider",
|
|
100221
|
+
i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 39);
|
|
100148
100222
|
} if (rf & 2) {
|
|
100149
|
-
const
|
|
100150
|
-
const ɵ$
|
|
100151
|
-
const ɵ$
|
|
100223
|
+
const section_r7 = ctx.$implicit;
|
|
100224
|
+
const ɵ$index_63_r9 = ctx.$index;
|
|
100225
|
+
const ɵ$count_63_r11 = ctx.$count;
|
|
100152
100226
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
100153
|
-
i0.ɵɵproperty("id", "section-" +
|
|
100227
|
+
i0.ɵɵproperty("id", "section-" + section_r7.id)("ngClass", ctx_r1.getSectionCardClasses());
|
|
100154
100228
|
i0.ɵɵadvance(2);
|
|
100155
|
-
i0.ɵɵconditional(
|
|
100229
|
+
i0.ɵɵconditional(section_r7.icon ? 2 : -1);
|
|
100156
100230
|
i0.ɵɵadvance(2);
|
|
100157
100231
|
i0.ɵɵproperty("ngClass", ctx_r1.getSectionTitleClasses());
|
|
100158
100232
|
i0.ɵɵadvance();
|
|
100159
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
100233
|
+
i0.ɵɵtextInterpolate1(" ", section_r7.title, " ");
|
|
100160
100234
|
i0.ɵɵadvance();
|
|
100161
|
-
i0.ɵɵconditional(
|
|
100235
|
+
i0.ɵɵconditional(section_r7.description || section_r7.visual && section_r7.visual.enabled ? 6 : -1);
|
|
100162
100236
|
i0.ɵɵadvance();
|
|
100163
|
-
i0.ɵɵproperty("section",
|
|
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());
|
|
100164
100238
|
i0.ɵɵadvance();
|
|
100165
|
-
i0.ɵɵconditional(!(ɵ$
|
|
100239
|
+
i0.ɵɵconditional(!(ɵ$index_63_r9 === ɵ$count_63_r11 - 1) ? 8 : -1);
|
|
100166
100240
|
} }
|
|
100167
100241
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
100168
|
-
i0.ɵɵelementStart(0, "section",
|
|
100242
|
+
i0.ɵɵelementStart(0, "section", 37);
|
|
100169
100243
|
i0.ɵɵrepeaterCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_For_2_Template, 9, 15, null, null, _forTrack0$5);
|
|
100170
100244
|
i0.ɵɵelementEnd();
|
|
100171
100245
|
} if (rf & 2) {
|
|
@@ -100173,9 +100247,9 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditiona
|
|
|
100173
100247
|
i0.ɵɵrepeater(ctx);
|
|
100174
100248
|
} }
|
|
100175
100249
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
100176
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template, 1, 4, "symphiq-metric-executive-summary",
|
|
100250
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template, 1, 4, "symphiq-metric-executive-summary", 36);
|
|
100177
100251
|
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_1_Template, 1, 1);
|
|
100178
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section",
|
|
100252
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_2_Template, 3, 0, "section", 37);
|
|
100179
100253
|
} if (rf & 2) {
|
|
100180
100254
|
let tmp_2_0;
|
|
100181
100255
|
let tmp_3_0;
|
|
@@ -100202,55 +100276,55 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_11_Template(
|
|
|
100202
100276
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
100203
100277
|
i0.ɵɵelement(0, "symphiq-goal-card", 11);
|
|
100204
100278
|
} if (rf & 2) {
|
|
100205
|
-
const
|
|
100279
|
+
const data_r12 = ctx;
|
|
100206
100280
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
100207
|
-
i0.ɵɵproperty("goal",
|
|
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());
|
|
100208
100282
|
} }
|
|
100209
100283
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
100210
100284
|
i0.ɵɵelement(0, "symphiq-goal-objectives-modal-content", 12);
|
|
100211
100285
|
} if (rf & 2) {
|
|
100212
|
-
const
|
|
100213
|
-
i0.ɵɵproperty("goal",
|
|
100286
|
+
const data_r13 = ctx;
|
|
100287
|
+
i0.ɵɵproperty("goal", data_r13.goal)("viewMode", data_r13.viewMode);
|
|
100214
100288
|
} }
|
|
100215
100289
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
100216
100290
|
i0.ɵɵelement(0, "symphiq-objective-strategies-modal-content", 13);
|
|
100217
100291
|
} if (rf & 2) {
|
|
100218
|
-
const
|
|
100219
|
-
i0.ɵɵproperty("objective",
|
|
100292
|
+
const data_r14 = ctx;
|
|
100293
|
+
i0.ɵɵproperty("objective", data_r14.objective)("goalTitle", data_r14.goalTitle)("viewMode", data_r14.viewMode);
|
|
100220
100294
|
} }
|
|
100221
100295
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
100222
100296
|
i0.ɵɵelement(0, "symphiq-strategy-recommendations-modal-content", 14);
|
|
100223
100297
|
} if (rf & 2) {
|
|
100224
|
-
const
|
|
100298
|
+
const data_r15 = ctx;
|
|
100225
100299
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
100226
|
-
i0.ɵɵproperty("strategy",
|
|
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());
|
|
100227
100301
|
} }
|
|
100228
100302
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
100229
100303
|
i0.ɵɵelement(0, "symphiq-category-detail-modal-content", 15);
|
|
100230
100304
|
} if (rf & 2) {
|
|
100231
|
-
const
|
|
100232
|
-
i0.ɵɵproperty("category",
|
|
100305
|
+
const data_r16 = ctx;
|
|
100306
|
+
i0.ɵɵproperty("category", data_r16.category)("viewMode", data_r16.viewMode)("scrollToSection", data_r16.scrollToSection);
|
|
100233
100307
|
} }
|
|
100234
100308
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
100235
100309
|
i0.ɵɵelement(0, "symphiq-strength-detail-modal-content", 16);
|
|
100236
100310
|
} if (rf & 2) {
|
|
100237
|
-
const
|
|
100311
|
+
const data_r17 = ctx;
|
|
100238
100312
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
100239
|
-
i0.ɵɵproperty("strength",
|
|
100313
|
+
i0.ɵɵproperty("strength", data_r17.strength)("viewMode", data_r17.viewMode)("allFunnelStrengths", ctx_r1.funnelStrengths())("currentModalState", ctx_r1.getCurrentModalState());
|
|
100240
100314
|
} }
|
|
100241
100315
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
100242
100316
|
i0.ɵɵelement(0, "symphiq-gap-detail-modal-content", 17);
|
|
100243
100317
|
} if (rf & 2) {
|
|
100244
|
-
const
|
|
100318
|
+
const data_r18 = ctx;
|
|
100245
100319
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
100246
|
-
i0.ɵɵproperty("gap",
|
|
100320
|
+
i0.ɵɵproperty("gap", data_r18.gap)("viewMode", data_r18.viewMode)("allGoals", ctx_r1.allGoals())("allWeaknesses", ctx_r1.funnelWeaknesses())("currentModalState", ctx_r1.getCurrentModalState());
|
|
100247
100321
|
} }
|
|
100248
100322
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
100249
100323
|
i0.ɵɵelement(0, "symphiq-opportunity-detail-modal-content", 18);
|
|
100250
100324
|
} if (rf & 2) {
|
|
100251
|
-
const
|
|
100325
|
+
const data_r19 = ctx;
|
|
100252
100326
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
100253
|
-
i0.ɵɵproperty("opportunity",
|
|
100327
|
+
i0.ɵɵproperty("opportunity", data_r19.opportunity)("viewMode", data_r19.viewMode)("allStrengths", ctx_r1.funnelStrengths())("currentModalState", ctx_r1.getCurrentModalState());
|
|
100254
100328
|
} }
|
|
100255
100329
|
class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
100256
100330
|
constructor() {
|
|
@@ -100266,6 +100340,11 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100266
100340
|
this.funnelMetric = input(...(ngDevMode ? [undefined, { debugName: "funnelMetric" }] : []));
|
|
100267
100341
|
this.itemStatusProfileAnalysis = input(...(ngDevMode ? [undefined, { debugName: "itemStatusProfileAnalysis" }] : []));
|
|
100268
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" }] : []));
|
|
100269
100348
|
this.nextStepClick = output();
|
|
100270
100349
|
this.markAsReviewedClick = output();
|
|
100271
100350
|
this.viewMetricDetailsClick = output();
|
|
@@ -100283,6 +100362,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100283
100362
|
this.modalType = signal(null, ...(ngDevMode ? [{ debugName: "modalType" }] : []));
|
|
100284
100363
|
this.modalData = signal(null, ...(ngDevMode ? [{ debugName: "modalData" }] : []));
|
|
100285
100364
|
this.currentModalNavigationStack = signal([], ...(ngDevMode ? [{ debugName: "currentModalNavigationStack" }] : []));
|
|
100365
|
+
this.isMetricReportOpen = signal(false, ...(ngDevMode ? [{ debugName: "isMetricReportOpen" }] : []));
|
|
100366
|
+
this.selectedMetricEnum = signal('', ...(ngDevMode ? [{ debugName: "selectedMetricEnum" }] : []));
|
|
100286
100367
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
100287
100368
|
this.isSimplifiedView = computed(() => this.currentDisplayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
|
|
100288
100369
|
this.isProfileAnalysisGenerating = computed(() => {
|
|
@@ -100302,6 +100383,50 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100302
100383
|
return profileAnalysis.selfContentStatus === AiDynamicContentStatusEnum.GENERATED &&
|
|
100303
100384
|
profileAnalysis.reviewStatus === ProfileAnalysisReviewStatusEnum.NOT_REVIEWED;
|
|
100304
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" }] : []));
|
|
100305
100430
|
this.COLLAPSE_THRESHOLD = 20;
|
|
100306
100431
|
this.EXPAND_THRESHOLD = 10;
|
|
100307
100432
|
this.embeddedScrollEffect = effect(() => {
|
|
@@ -100685,6 +100810,18 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100685
100810
|
}
|
|
100686
100811
|
console.log('[ViewMetricDetails] openMetricModal called - check FunnelAnalysisModal logs');
|
|
100687
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
|
+
}
|
|
100688
100825
|
getCurrentModalState() {
|
|
100689
100826
|
return {
|
|
100690
100827
|
type: this.modalType(),
|
|
@@ -100797,6 +100934,57 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100797
100934
|
.replace(/F_PLUS/g, 'F+')
|
|
100798
100935
|
.replace(/F_MINUS/g, 'F-');
|
|
100799
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
|
+
}
|
|
100800
100988
|
static { this.ɵfac = function SymphiqProfileAnalysisMetricDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileAnalysisMetricDashboardComponent)(); }; }
|
|
100801
100989
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileAnalysisMetricDashboardComponent, selectors: [["symphiq-profile-analysis-metric-dashboard"]], viewQuery: function SymphiqProfileAnalysisMetricDashboardComponent_Query(rf, ctx) { if (rf & 1) {
|
|
100802
100990
|
i0.ɵɵviewQuery(_c0$5, 5);
|
|
@@ -100805,7 +100993,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100805
100993
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
|
|
100806
100994
|
} }, hostBindings: function SymphiqProfileAnalysisMetricDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
100807
100995
|
i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisMetricDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
|
|
100808
|
-
} }, 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:
|
|
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) {
|
|
100809
100997
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
100810
100998
|
i0.ɵɵelementStart(0, "div", 1);
|
|
100811
100999
|
i0.ɵɵelement(1, "div", 2);
|
|
@@ -100843,7 +101031,9 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100843
101031
|
i0.ɵɵlistener("markAsReviewedClick", function SymphiqProfileAnalysisMetricDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMarkAsReviewedClick()); });
|
|
100844
101032
|
i0.ɵɵelementEnd();
|
|
100845
101033
|
i0.ɵɵelement(27, "symphiq-tooltip-container");
|
|
100846
|
-
i0.ɵɵ
|
|
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()()();
|
|
100847
101037
|
} if (rf & 2) {
|
|
100848
101038
|
let tmp_14_0;
|
|
100849
101039
|
let tmp_32_0;
|
|
@@ -100905,6 +101095,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100905
101095
|
i0.ɵɵproperty("isLightMode", ctx.isLightMode());
|
|
100906
101096
|
i0.ɵɵadvance();
|
|
100907
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());
|
|
100908
101100
|
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent,
|
|
100909
101101
|
SearchModalComponent,
|
|
100910
101102
|
ViewModeSwitcherModalComponent,
|
|
@@ -100932,7 +101124,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100932
101124
|
CollapsibleAnalysisSectionGroupComponent,
|
|
100933
101125
|
ContentGenerationProgressComponent,
|
|
100934
101126
|
IndeterminateSpinnerComponent,
|
|
100935
|
-
MarkAsReviewedFooterComponent
|
|
101127
|
+
MarkAsReviewedFooterComponent,
|
|
101128
|
+
MetricReportModalComponent], encapsulation: 2, changeDetection: 0 }); }
|
|
100936
101129
|
}
|
|
100937
101130
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileAnalysisMetricDashboardComponent, [{
|
|
100938
101131
|
type: Component,
|
|
@@ -100968,7 +101161,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100968
101161
|
CollapsibleAnalysisSectionGroupComponent,
|
|
100969
101162
|
ContentGenerationProgressComponent,
|
|
100970
101163
|
IndeterminateSpinnerComponent,
|
|
100971
|
-
MarkAsReviewedFooterComponent
|
|
101164
|
+
MarkAsReviewedFooterComponent,
|
|
101165
|
+
MetricReportModalComponent
|
|
100972
101166
|
],
|
|
100973
101167
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
100974
101168
|
template: `
|
|
@@ -101072,6 +101266,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
101072
101266
|
[allCharts]="allCharts()"
|
|
101073
101267
|
[allInsights]="allInsights()"
|
|
101074
101268
|
[businessProfile]="profile()"
|
|
101269
|
+
(viewReportClick)="handleViewReportClick($event)"
|
|
101075
101270
|
/>
|
|
101076
101271
|
</div>
|
|
101077
101272
|
}
|
|
@@ -101312,6 +101507,19 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
101312
101507
|
|
|
101313
101508
|
<!-- Tooltip Container -->
|
|
101314
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
|
+
/>
|
|
101315
101523
|
</div>
|
|
101316
101524
|
</div>
|
|
101317
101525
|
`
|
|
@@ -101319,11 +101527,11 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
101319
101527
|
}], null, { funnelModalComponent: [{
|
|
101320
101528
|
type: ViewChild,
|
|
101321
101529
|
args: ['funnelModalComponent']
|
|
101322
|
-
}], 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: [{
|
|
101323
101531
|
type: HostListener,
|
|
101324
101532
|
args: ['window:scroll', ['$event']]
|
|
101325
101533
|
}] }); })();
|
|
101326
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber:
|
|
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 }); })();
|
|
101327
101535
|
|
|
101328
101536
|
const _forTrack0$4 = ($index, $item) => $item.id;
|
|
101329
101537
|
function ShopProfileCategoryListComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|