@eric-emg/symphiq-components 1.2.534 → 1.2.535
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/symphiq-components.mjs +172 -156
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +42 -39
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/styles.css +7 -0
|
@@ -858,16 +858,18 @@ class ModalService {
|
|
|
858
858
|
const data = { priorities, viewMode, focusAreaName };
|
|
859
859
|
this.modalState.next({ type: 'top-priorities-list', data, charts: [], previousState: null, navigationStack: [] });
|
|
860
860
|
}
|
|
861
|
-
navigateToTopPriorityDetail(priority, index, viewMode, focusAreaName) {
|
|
861
|
+
navigateToTopPriorityDetail(priority, index, viewMode, focusAreaName, providedTotalCount) {
|
|
862
862
|
const currentState = this.modalState.value;
|
|
863
|
-
let totalCount = 1;
|
|
864
|
-
if (
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
863
|
+
let totalCount = providedTotalCount ?? 1;
|
|
864
|
+
if (!providedTotalCount) {
|
|
865
|
+
if (currentState.type === 'top-priorities-list' && currentState.data) {
|
|
866
|
+
const listData = currentState.data;
|
|
867
|
+
totalCount = listData.priorities.length;
|
|
868
|
+
}
|
|
869
|
+
else if (currentState.type === 'top-priority-detail' && currentState.data) {
|
|
870
|
+
const detailData = currentState.data;
|
|
871
|
+
totalCount = detailData.totalCount;
|
|
872
|
+
}
|
|
871
873
|
}
|
|
872
874
|
const data = { priority, index, totalCount, viewMode, focusAreaName };
|
|
873
875
|
const currentStack = currentState.navigationStack || [];
|
|
@@ -24580,13 +24582,13 @@ class JourneyProgressIndicatorComponent {
|
|
|
24580
24582
|
},
|
|
24581
24583
|
{
|
|
24582
24584
|
id: JourneyStepIdEnum.FOCUS_AREA_ANALYSIS,
|
|
24583
|
-
title: 'Focus Area
|
|
24585
|
+
title: 'Focus Area Analyses',
|
|
24584
24586
|
description: 'Dive deep into specific marketing channels and strategies',
|
|
24585
24587
|
icon: 'target'
|
|
24586
24588
|
},
|
|
24587
24589
|
{
|
|
24588
24590
|
id: JourneyStepIdEnum.METRIC_ANALYSIS,
|
|
24589
|
-
title: 'Metric
|
|
24591
|
+
title: 'Metric Analyses',
|
|
24590
24592
|
description: 'Provide context for funnel stage metrics and performance',
|
|
24591
24593
|
icon: 'chart-line'
|
|
24592
24594
|
},
|
|
@@ -51557,13 +51559,13 @@ class SymphiqWelcomeDashboardComponent {
|
|
|
51557
51559
|
{
|
|
51558
51560
|
id: 'focus-area-analysis',
|
|
51559
51561
|
number: 8,
|
|
51560
|
-
title: 'Focus Area
|
|
51562
|
+
title: 'Focus Area Analyses',
|
|
51561
51563
|
description: 'Deep-dive into marketing channels and operational focus areas'
|
|
51562
51564
|
},
|
|
51563
51565
|
{
|
|
51564
51566
|
id: 'metric-analysis',
|
|
51565
51567
|
number: 9,
|
|
51566
|
-
title: 'Metric
|
|
51568
|
+
title: 'Metric Analyses',
|
|
51567
51569
|
description: 'Provide detailed context for each funnel metric and stage'
|
|
51568
51570
|
},
|
|
51569
51571
|
{
|
|
@@ -68700,7 +68702,7 @@ class GradeBadgeComponent {
|
|
|
68700
68702
|
this.formattedGrade = computed(() => this.formatGrade(this.grade()), ...(ngDevMode ? [{ debugName: "formattedGrade" }] : []));
|
|
68701
68703
|
this.shouldPulse = computed(() => {
|
|
68702
68704
|
const baseGrade = this.grade().replace(/_PLUS|_MINUS/g, '');
|
|
68703
|
-
return baseGrade === '
|
|
68705
|
+
return baseGrade === 'D' || baseGrade === 'F';
|
|
68704
68706
|
}, ...(ngDevMode ? [{ debugName: "shouldPulse" }] : []));
|
|
68705
68707
|
this.tooltip = computed(() => ({
|
|
68706
68708
|
title: 'Performance Grade',
|
|
@@ -68791,17 +68793,17 @@ class GradeBadgeComponent {
|
|
|
68791
68793
|
standalone: true,
|
|
68792
68794
|
imports: [CommonModule, TooltipDirective],
|
|
68793
68795
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
68794
|
-
template: `
|
|
68795
|
-
<div
|
|
68796
|
-
[class]="gradeBadgeClass()"
|
|
68797
|
-
[class.animate-pulse]="shouldPulse()"
|
|
68798
|
-
class="transition-all duration-300 hover:scale-110"
|
|
68799
|
-
[libSymphiqTooltip]="tooltip()"
|
|
68800
|
-
tooltipType="badge"
|
|
68801
|
-
[tooltipPosition]="tooltipPosition()">
|
|
68802
|
-
<div [class]="badgeLabelClass()" class="text-xs font-semibold uppercase tracking-wider mb-1">{{ label() }}</div>
|
|
68803
|
-
<div class="text-3xl sm:text-4xl font-bold">{{ formattedGrade() }}</div>
|
|
68804
|
-
</div>
|
|
68796
|
+
template: `
|
|
68797
|
+
<div
|
|
68798
|
+
[class]="gradeBadgeClass()"
|
|
68799
|
+
[class.animate-pulse]="shouldPulse()"
|
|
68800
|
+
class="transition-all duration-300 hover:scale-110"
|
|
68801
|
+
[libSymphiqTooltip]="tooltip()"
|
|
68802
|
+
tooltipType="badge"
|
|
68803
|
+
[tooltipPosition]="tooltipPosition()">
|
|
68804
|
+
<div [class]="badgeLabelClass()" class="text-xs font-semibold uppercase tracking-wider mb-1">{{ label() }}</div>
|
|
68805
|
+
<div class="text-3xl sm:text-4xl font-bold">{{ formattedGrade() }}</div>
|
|
68806
|
+
</div>
|
|
68805
68807
|
`
|
|
68806
68808
|
}]
|
|
68807
68809
|
}], null, { grade: [{ type: i0.Input, args: [{ isSignal: true, alias: "grade", required: false }] }], gradeRationale: [{ type: i0.Input, args: [{ isSignal: true, alias: "gradeRationale", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], tooltipPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipPosition", required: false }] }] }); })();
|
|
@@ -69590,62 +69592,53 @@ class RelatedGoalChipsComponent {
|
|
|
69590
69592
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RelatedGoalChipsComponent, { className: "RelatedGoalChipsComponent", filePath: "lib/components/profile-analysis-shop-dashboard/shared/related-goal-chips.component.ts", lineNumber: 31 }); })();
|
|
69591
69593
|
|
|
69592
69594
|
const _c0$u = a0 => ({ name: "chart-bar", source: a0 });
|
|
69593
|
-
const _c1$d = a0 => ({ name: "
|
|
69594
|
-
const _c2$b =
|
|
69595
|
-
const _c3$7 = a0 => ({ name:
|
|
69596
|
-
const _c4$3 = a0 => ({ name: "
|
|
69597
|
-
const _c5$2 = a0 => ({ name: "
|
|
69598
|
-
const _c6$1 = a0 => ({ name: "
|
|
69599
|
-
const _c7 = a0 => ({ name: "
|
|
69600
|
-
const _c8 = a0 =>
|
|
69601
|
-
const _c9 =
|
|
69602
|
-
|
|
69603
|
-
|
|
69604
|
-
i0.ɵɵ
|
|
69605
|
-
i0.ɵɵelementEnd();
|
|
69606
|
-
} if (rf & 2) {
|
|
69607
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
69608
|
-
i0.ɵɵproperty("ngClass", ctx_r0.pacingBadgeClasses());
|
|
69609
|
-
i0.ɵɵadvance();
|
|
69610
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().pacingStatus, " ");
|
|
69611
|
-
} }
|
|
69612
|
-
function MetricExecutiveSummaryComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
69613
|
-
i0.ɵɵelement(0, "symphiq-grade-badge", 11);
|
|
69595
|
+
const _c1$d = a0 => ({ name: "arrow-right", source: a0 });
|
|
69596
|
+
const _c2$b = a0 => ({ name: "signal", source: a0 });
|
|
69597
|
+
const _c3$7 = (a0, a1) => ({ name: a0, source: a1 });
|
|
69598
|
+
const _c4$3 = a0 => ({ name: "flag", source: a0 });
|
|
69599
|
+
const _c5$2 = a0 => ({ name: "arrow-trending-up", source: a0 });
|
|
69600
|
+
const _c6$1 = a0 => ({ name: "heart", source: a0 });
|
|
69601
|
+
const _c7 = a0 => ({ name: "light-bulb", source: a0 });
|
|
69602
|
+
const _c8 = a0 => ({ name: "clock", source: a0 });
|
|
69603
|
+
const _c9 = a0 => [a0];
|
|
69604
|
+
const _c10 = () => [];
|
|
69605
|
+
function MetricExecutiveSummaryComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
69606
|
+
i0.ɵɵelement(0, "symphiq-grade-badge", 9);
|
|
69614
69607
|
} if (rf & 2) {
|
|
69615
69608
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
69616
69609
|
i0.ɵɵproperty("grade", ctx_r0.summary().overallGrade)("gradeRationale", ctx_r0.summary().gradeRationale || "")("viewMode", ctx_r0.viewMode());
|
|
69617
69610
|
} }
|
|
69618
|
-
function
|
|
69619
|
-
i0.ɵɵelementStart(0, "div",
|
|
69620
|
-
i0.ɵɵelement(1, "symphiq-icon",
|
|
69621
|
-
i0.ɵɵelementStart(2, "span",
|
|
69611
|
+
function MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
69612
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
69613
|
+
i0.ɵɵelement(1, "symphiq-icon", 15);
|
|
69614
|
+
i0.ɵɵelementStart(2, "span", 14);
|
|
69622
69615
|
i0.ɵɵtext(3);
|
|
69623
69616
|
i0.ɵɵelementEnd()();
|
|
69624
69617
|
} if (rf & 2) {
|
|
69625
69618
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
69626
69619
|
i0.ɵɵadvance();
|
|
69627
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction2(4,
|
|
69620
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction2(4, _c3$7, ctx_r0.getYoyIcon(), ctx_r0.iconSource))("ngClass", ctx_r0.yoyChangeClasses());
|
|
69628
69621
|
i0.ɵɵadvance();
|
|
69629
69622
|
i0.ɵɵproperty("ngClass", ctx_r0.yoyChangeClasses());
|
|
69630
69623
|
i0.ɵɵadvance();
|
|
69631
69624
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().yoyChange, " YoY ");
|
|
69632
69625
|
} }
|
|
69633
|
-
function
|
|
69634
|
-
i0.ɵɵelementStart(0, "div",
|
|
69635
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69636
|
-
i0.ɵɵelementStart(3, "span",
|
|
69626
|
+
function MetricExecutiveSummaryComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
69627
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
|
|
69628
|
+
i0.ɵɵelement(2, "symphiq-icon", 15);
|
|
69629
|
+
i0.ɵɵelementStart(3, "span", 20);
|
|
69637
69630
|
i0.ɵɵtext(4, " Current Value ");
|
|
69638
69631
|
i0.ɵɵelementEnd()();
|
|
69639
|
-
i0.ɵɵelementStart(5, "div",
|
|
69632
|
+
i0.ɵɵelementStart(5, "div", 21);
|
|
69640
69633
|
i0.ɵɵtext(6);
|
|
69641
69634
|
i0.ɵɵelementEnd();
|
|
69642
|
-
i0.ɵɵconditionalCreate(7,
|
|
69635
|
+
i0.ɵɵconditionalCreate(7, MetricExecutiveSummaryComponent_Conditional_14_Conditional_7_Template, 4, 7, "div", 22);
|
|
69643
69636
|
i0.ɵɵelementEnd();
|
|
69644
69637
|
} if (rf & 2) {
|
|
69645
69638
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
69646
69639
|
i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
|
|
69647
69640
|
i0.ɵɵadvance(2);
|
|
69648
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(7,
|
|
69641
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(7, _c2$b, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
|
|
69649
69642
|
i0.ɵɵadvance();
|
|
69650
69643
|
i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
|
|
69651
69644
|
i0.ɵɵadvance(2);
|
|
@@ -69655,20 +69648,20 @@ function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (
|
|
|
69655
69648
|
i0.ɵɵadvance();
|
|
69656
69649
|
i0.ɵɵconditional(ctx_r0.summary().yoyChange ? 7 : -1);
|
|
69657
69650
|
} }
|
|
69658
|
-
function
|
|
69659
|
-
i0.ɵɵelementStart(0, "div",
|
|
69660
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69661
|
-
i0.ɵɵelementStart(3, "span",
|
|
69651
|
+
function MetricExecutiveSummaryComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
69652
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
|
|
69653
|
+
i0.ɵɵelement(2, "symphiq-icon", 15);
|
|
69654
|
+
i0.ɵɵelementStart(3, "span", 20);
|
|
69662
69655
|
i0.ɵɵtext(4, " Target ");
|
|
69663
69656
|
i0.ɵɵelementEnd()();
|
|
69664
|
-
i0.ɵɵelementStart(5, "div",
|
|
69657
|
+
i0.ɵɵelementStart(5, "div", 21);
|
|
69665
69658
|
i0.ɵɵtext(6);
|
|
69666
69659
|
i0.ɵɵelementEnd()();
|
|
69667
69660
|
} if (rf & 2) {
|
|
69668
69661
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
69669
69662
|
i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
|
|
69670
69663
|
i0.ɵɵadvance(2);
|
|
69671
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6,
|
|
69664
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c4$3, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
|
|
69672
69665
|
i0.ɵɵadvance();
|
|
69673
69666
|
i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
|
|
69674
69667
|
i0.ɵɵadvance(2);
|
|
@@ -69676,10 +69669,10 @@ function MetricExecutiveSummaryComponent_Conditional_18_Template(rf, ctx) { if (
|
|
|
69676
69669
|
i0.ɵɵadvance();
|
|
69677
69670
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().targetValue, " ");
|
|
69678
69671
|
} }
|
|
69679
|
-
function
|
|
69680
|
-
i0.ɵɵelementStart(0, "div",
|
|
69681
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69682
|
-
i0.ɵɵelementStart(3, "span",
|
|
69672
|
+
function MetricExecutiveSummaryComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
69673
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
|
|
69674
|
+
i0.ɵɵelement(2, "symphiq-icon", 15);
|
|
69675
|
+
i0.ɵɵelementStart(3, "span", 20);
|
|
69683
69676
|
i0.ɵɵtext(4, " Pacing ");
|
|
69684
69677
|
i0.ɵɵelementEnd()();
|
|
69685
69678
|
i0.ɵɵelementStart(5, "div", 23);
|
|
@@ -69689,7 +69682,7 @@ function MetricExecutiveSummaryComponent_Conditional_19_Template(rf, ctx) { if (
|
|
|
69689
69682
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
69690
69683
|
i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
|
|
69691
69684
|
i0.ɵɵadvance(2);
|
|
69692
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6,
|
|
69685
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c5$2, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
|
|
69693
69686
|
i0.ɵɵadvance();
|
|
69694
69687
|
i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
|
|
69695
69688
|
i0.ɵɵadvance(2);
|
|
@@ -69697,10 +69690,10 @@ function MetricExecutiveSummaryComponent_Conditional_19_Template(rf, ctx) { if (
|
|
|
69697
69690
|
i0.ɵɵadvance();
|
|
69698
69691
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().pacingStatus, " ");
|
|
69699
69692
|
} }
|
|
69700
|
-
function
|
|
69701
|
-
i0.ɵɵelementStart(0, "div",
|
|
69702
|
-
i0.ɵɵelement(2, "symphiq-icon",
|
|
69703
|
-
i0.ɵɵelementStart(3, "span",
|
|
69693
|
+
function MetricExecutiveSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
69694
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "div", 19);
|
|
69695
|
+
i0.ɵɵelement(2, "symphiq-icon", 15);
|
|
69696
|
+
i0.ɵɵelementStart(3, "span", 20);
|
|
69704
69697
|
i0.ɵɵtext(4, " Health ");
|
|
69705
69698
|
i0.ɵɵelementEnd()();
|
|
69706
69699
|
i0.ɵɵelementStart(5, "div", 23);
|
|
@@ -69711,7 +69704,7 @@ function MetricExecutiveSummaryComponent_Conditional_20_Template(rf, ctx) { if (
|
|
|
69711
69704
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
69712
69705
|
i0.ɵɵproperty("ngClass", ctx_r0.metricCardClasses());
|
|
69713
69706
|
i0.ɵɵadvance(2);
|
|
69714
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6,
|
|
69707
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c6$1, ctx_r0.iconSource))("ngClass", ctx_r0.metricLabelClasses());
|
|
69715
69708
|
i0.ɵɵadvance();
|
|
69716
69709
|
i0.ɵɵproperty("ngClass", ctx_r0.metricLabelClasses());
|
|
69717
69710
|
i0.ɵɵadvance(2);
|
|
@@ -69719,7 +69712,7 @@ function MetricExecutiveSummaryComponent_Conditional_20_Template(rf, ctx) { if (
|
|
|
69719
69712
|
i0.ɵɵadvance();
|
|
69720
69713
|
i0.ɵɵtextInterpolate1(" ", (tmp_6_0 = ctx_r0.summary().metricHealth) == null ? null : tmp_6_0.replace("_", " "), " ");
|
|
69721
69714
|
} }
|
|
69722
|
-
function
|
|
69715
|
+
function MetricExecutiveSummaryComponent_Conditional_22_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
69723
69716
|
i0.ɵɵelementStart(0, "div", 26);
|
|
69724
69717
|
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 29);
|
|
69725
69718
|
i0.ɵɵelementEnd();
|
|
@@ -69728,12 +69721,12 @@ function MetricExecutiveSummaryComponent_Conditional_21_Conditional_4_Template(r
|
|
|
69728
69721
|
i0.ɵɵadvance();
|
|
69729
69722
|
i0.ɵɵproperty("visual", ctx_r0.summary().napkinVisual)("viewMode", ctx_r0.viewMode());
|
|
69730
69723
|
} }
|
|
69731
|
-
function
|
|
69732
|
-
i0.ɵɵelementStart(0, "div",
|
|
69724
|
+
function MetricExecutiveSummaryComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
69725
|
+
i0.ɵɵelementStart(0, "div", 16)(1, "h3", 24);
|
|
69733
69726
|
i0.ɵɵtext(2, " Analysis Narrative ");
|
|
69734
69727
|
i0.ɵɵelementEnd();
|
|
69735
69728
|
i0.ɵɵelementStart(3, "div", 25);
|
|
69736
|
-
i0.ɵɵconditionalCreate(4,
|
|
69729
|
+
i0.ɵɵconditionalCreate(4, MetricExecutiveSummaryComponent_Conditional_22_Conditional_4_Template, 2, 2, "div", 26);
|
|
69737
69730
|
i0.ɵɵelementStart(5, "p", 27);
|
|
69738
69731
|
i0.ɵɵtext(6);
|
|
69739
69732
|
i0.ɵɵelementEnd();
|
|
@@ -69752,7 +69745,7 @@ function MetricExecutiveSummaryComponent_Conditional_21_Template(rf, ctx) { if (
|
|
|
69752
69745
|
i0.ɵɵadvance();
|
|
69753
69746
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.summary().narrative, " ");
|
|
69754
69747
|
} }
|
|
69755
|
-
function
|
|
69748
|
+
function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
69756
69749
|
i0.ɵɵelementStart(0, "div", 38)(1, "div", 39);
|
|
69757
69750
|
i0.ɵɵelement(2, "symphiq-icon", 40);
|
|
69758
69751
|
i0.ɵɵelementStart(3, "div")(4, "span", 41);
|
|
@@ -69766,7 +69759,7 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Conditional_8_Temp
|
|
|
69766
69759
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
69767
69760
|
i0.ɵɵproperty("ngClass", ctx_r0.impactBoxClasses());
|
|
69768
69761
|
i0.ɵɵadvance(2);
|
|
69769
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6,
|
|
69762
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(6, _c7, ctx_r0.iconSource))("ngClass", ctx_r0.impactLabelClasses());
|
|
69770
69763
|
i0.ɵɵadvance(2);
|
|
69771
69764
|
i0.ɵɵproperty("ngClass", ctx_r0.impactLabelClasses());
|
|
69772
69765
|
i0.ɵɵadvance(2);
|
|
@@ -69774,10 +69767,10 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Conditional_8_Temp
|
|
|
69774
69767
|
i0.ɵɵadvance();
|
|
69775
69768
|
i0.ɵɵtextInterpolate1(" ", priority_r3.expectedImpact, " ");
|
|
69776
69769
|
} }
|
|
69777
|
-
function
|
|
69770
|
+
function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
69778
69771
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
69779
69772
|
i0.ɵɵelementStart(0, "button", 33);
|
|
69780
|
-
i0.ɵɵlistener("click", function
|
|
69773
|
+
i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template_button_click_0_listener() { const priority_r3 = i0.ɵɵrestoreView(_r2).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.priorityDetailClick.emit(priority_r3)); });
|
|
69781
69774
|
i0.ɵɵelementStart(1, "div", 34)(2, "span", 35);
|
|
69782
69775
|
i0.ɵɵtext(3);
|
|
69783
69776
|
i0.ɵɵelementEnd();
|
|
@@ -69787,7 +69780,7 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Template(rf, ctx)
|
|
|
69787
69780
|
i0.ɵɵelementStart(6, "p", 37);
|
|
69788
69781
|
i0.ɵɵtext(7);
|
|
69789
69782
|
i0.ɵɵelementEnd();
|
|
69790
|
-
i0.ɵɵconditionalCreate(8,
|
|
69783
|
+
i0.ɵɵconditionalCreate(8, MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_8_Template, 8, 8, "div", 38);
|
|
69791
69784
|
i0.ɵɵelementEnd();
|
|
69792
69785
|
} if (rf & 2) {
|
|
69793
69786
|
const priority_r3 = ctx.$implicit;
|
|
@@ -69809,12 +69802,12 @@ function MetricExecutiveSummaryComponent_Conditional_22_For_5_Template(rf, ctx)
|
|
|
69809
69802
|
i0.ɵɵadvance();
|
|
69810
69803
|
i0.ɵɵconditional(priority_r3.expectedImpact ? 8 : -1);
|
|
69811
69804
|
} }
|
|
69812
|
-
function
|
|
69813
|
-
i0.ɵɵelementStart(0, "div",
|
|
69805
|
+
function MetricExecutiveSummaryComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
69806
|
+
i0.ɵɵelementStart(0, "div", 17)(1, "h3", 30);
|
|
69814
69807
|
i0.ɵɵtext(2, "Top Priorities");
|
|
69815
69808
|
i0.ɵɵelementEnd();
|
|
69816
69809
|
i0.ɵɵelementStart(3, "div", 31);
|
|
69817
|
-
i0.ɵɵrepeaterCreate(4,
|
|
69810
|
+
i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_23_For_5_Template, 9, 8, "button", 32, i0.ɵɵrepeaterTrackByIndex);
|
|
69818
69811
|
i0.ɵɵelementEnd()();
|
|
69819
69812
|
} if (rf & 2) {
|
|
69820
69813
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -69823,7 +69816,7 @@ function MetricExecutiveSummaryComponent_Conditional_22_Template(rf, ctx) { if (
|
|
|
69823
69816
|
i0.ɵɵadvance(3);
|
|
69824
69817
|
i0.ɵɵrepeater(ctx_r0.summary().topPriorities);
|
|
69825
69818
|
} }
|
|
69826
|
-
function
|
|
69819
|
+
function MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
69827
69820
|
i0.ɵɵelementStart(0, "div", 51);
|
|
69828
69821
|
i0.ɵɵelement(1, "symphiq-icon", 53);
|
|
69829
69822
|
i0.ɵɵelementStart(2, "span");
|
|
@@ -69834,12 +69827,12 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_12_Tem
|
|
|
69834
69827
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
69835
69828
|
i0.ɵɵproperty("ngClass", ctx_r0.metaTextClasses());
|
|
69836
69829
|
i0.ɵɵadvance();
|
|
69837
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(3,
|
|
69830
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(3, _c8, ctx_r0.iconSource));
|
|
69838
69831
|
i0.ɵɵadvance(2);
|
|
69839
69832
|
i0.ɵɵtextInterpolate(win_r5.estimatedTimeframe);
|
|
69840
69833
|
} }
|
|
69841
|
-
function
|
|
69842
|
-
i0.ɵɵelementStart(0, "div", 52)(1, "h4",
|
|
69834
|
+
function MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
69835
|
+
i0.ɵɵelementStart(0, "div", 52)(1, "h4", 20);
|
|
69843
69836
|
i0.ɵɵtext(2, " Related Goal ");
|
|
69844
69837
|
i0.ɵɵelementEnd();
|
|
69845
69838
|
i0.ɵɵelement(3, "symphiq-related-goal-chips", 54);
|
|
@@ -69850,9 +69843,9 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Conditional_13_Tem
|
|
|
69850
69843
|
i0.ɵɵadvance();
|
|
69851
69844
|
i0.ɵɵproperty("ngClass", ctx_r0.metaTextClasses());
|
|
69852
69845
|
i0.ɵɵadvance(2);
|
|
69853
|
-
i0.ɵɵproperty("relatedGoalIds", i0.ɵɵpureFunction1(4,
|
|
69846
|
+
i0.ɵɵproperty("relatedGoalIds", i0.ɵɵpureFunction1(4, _c9, win_r5.relatedGoalId))("allGoals", ctx_r0.allGoals() || i0.ɵɵpureFunction0(6, _c10))("viewMode", ctx_r0.viewMode());
|
|
69854
69847
|
} }
|
|
69855
|
-
function
|
|
69848
|
+
function MetricExecutiveSummaryComponent_Conditional_24_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
69856
69849
|
i0.ɵɵelementStart(0, "div", 45)(1, "div", 46)(2, "div", 47)(3, "span", 35);
|
|
69857
69850
|
i0.ɵɵtext(4);
|
|
69858
69851
|
i0.ɵɵelementEnd();
|
|
@@ -69865,8 +69858,8 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx)
|
|
|
69865
69858
|
i0.ɵɵelementStart(10, "span", 50);
|
|
69866
69859
|
i0.ɵɵtext(11);
|
|
69867
69860
|
i0.ɵɵelementEnd()();
|
|
69868
|
-
i0.ɵɵconditionalCreate(12,
|
|
69869
|
-
i0.ɵɵconditionalCreate(13,
|
|
69861
|
+
i0.ɵɵconditionalCreate(12, MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_12_Template, 4, 5, "div", 51);
|
|
69862
|
+
i0.ɵɵconditionalCreate(13, MetricExecutiveSummaryComponent_Conditional_24_For_5_Conditional_13_Template, 4, 7, "div", 52);
|
|
69870
69863
|
i0.ɵɵelementEnd()();
|
|
69871
69864
|
} if (rf & 2) {
|
|
69872
69865
|
const win_r5 = ctx.$implicit;
|
|
@@ -69894,12 +69887,12 @@ function MetricExecutiveSummaryComponent_Conditional_23_For_5_Template(rf, ctx)
|
|
|
69894
69887
|
i0.ɵɵadvance();
|
|
69895
69888
|
i0.ɵɵconditional(win_r5.relatedGoalId && ctx_r0.allGoals() ? 13 : -1);
|
|
69896
69889
|
} }
|
|
69897
|
-
function
|
|
69898
|
-
i0.ɵɵelementStart(0, "div",
|
|
69890
|
+
function MetricExecutiveSummaryComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
69891
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "h3", 43);
|
|
69899
69892
|
i0.ɵɵtext(2, "Quick Wins");
|
|
69900
69893
|
i0.ɵɵelementEnd();
|
|
69901
69894
|
i0.ɵɵelementStart(3, "div", 44);
|
|
69902
|
-
i0.ɵɵrepeaterCreate(4,
|
|
69895
|
+
i0.ɵɵrepeaterCreate(4, MetricExecutiveSummaryComponent_Conditional_24_For_5_Template, 14, 11, "div", 45, i0.ɵɵrepeaterTrackByIndex);
|
|
69903
69896
|
i0.ɵɵelementEnd()();
|
|
69904
69897
|
} if (rf & 2) {
|
|
69905
69898
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -69916,6 +69909,7 @@ class MetricExecutiveSummaryComponent {
|
|
|
69916
69909
|
this.allGoals = input(...(ngDevMode ? [undefined, { debugName: "allGoals" }] : []));
|
|
69917
69910
|
this.topPrioritiesClick = output();
|
|
69918
69911
|
this.priorityDetailClick = output();
|
|
69912
|
+
this.viewMetricDetailsClick = output();
|
|
69919
69913
|
this.iconSource = IconSourceEnum.HEROICONS;
|
|
69920
69914
|
this.isDark = computed(() => this.viewMode() === ViewModeEnum.DARK, ...(ngDevMode ? [{ debugName: "isDark" }] : []));
|
|
69921
69915
|
this.bannerClasses = computed(() => this.isDark()
|
|
@@ -69959,6 +69953,7 @@ class MetricExecutiveSummaryComponent {
|
|
|
69959
69953
|
this.metricCardClasses = computed(() => this.isDark()
|
|
69960
69954
|
? 'bg-slate-800/50 border border-slate-700/50'
|
|
69961
69955
|
: 'bg-white border border-slate-200', ...(ngDevMode ? [{ debugName: "metricCardClasses" }] : []));
|
|
69956
|
+
this.viewDetailsTextClasses = computed(() => this.isDark() ? 'text-blue-400' : 'text-blue-600', ...(ngDevMode ? [{ debugName: "viewDetailsTextClasses" }] : []));
|
|
69962
69957
|
this.metricLabelClasses = computed(() => this.isDark() ? 'text-slate-400' : 'text-slate-600', ...(ngDevMode ? [{ debugName: "metricLabelClasses" }] : []));
|
|
69963
69958
|
this.metricValueClasses = computed(() => this.isDark() ? 'text-slate-100' : 'text-slate-900', ...(ngDevMode ? [{ debugName: "metricValueClasses" }] : []));
|
|
69964
69959
|
this.yoyChangeClasses = computed(() => {
|
|
@@ -70092,34 +70087,35 @@ class MetricExecutiveSummaryComponent {
|
|
|
70092
70087
|
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
|
|
70093
70088
|
}
|
|
70094
70089
|
static { this.ɵfac = function MetricExecutiveSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MetricExecutiveSummaryComponent)(); }; }
|
|
70095
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricExecutiveSummaryComponent, selectors: [["symphiq-metric-executive-summary"]], inputs: { viewMode: [1, "viewMode"], summary: [1, "summary"], metricName: [1, "metricName"], allGoals: [1, "allGoals"] }, outputs: { topPrioritiesClick: "topPrioritiesClick", priorityDetailClick: "priorityDetailClick" }, decls:
|
|
70090
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricExecutiveSummaryComponent, selectors: [["symphiq-metric-executive-summary"]], inputs: { viewMode: [1, "viewMode"], summary: [1, "summary"], metricName: [1, "metricName"], allGoals: [1, "allGoals"] }, outputs: { topPrioritiesClick: "topPrioritiesClick", priorityDetailClick: "priorityDetailClick", viewMetricDetailsClick: "viewMetricDetailsClick" }, decls: 25, vars: 23, consts: [["id", "section-metric-executive-summary", 1, "space-y-6", "scroll-mt-24"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "flex", "items-center", "gap-3", "mb-3"], [3, "icon", "size", "ngClass"], [1, "text-3xl", "font-bold", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], ["type", "button", 1, "w-full", "text-left", "cursor-pointer", "group", 3, "click"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-4", "gap-4"], [1, "rounded-xl", "p-4", "transition-all", "duration-200", "group-hover:scale-[1.02]", "group-hover:shadow-lg", 3, "ngClass"], [1, "flex", "items-center", "justify-center", "gap-2", "mt-3", "opacity-0", "group-hover:opacity-100", "transition-opacity", "duration-200"], [1, "text-sm", "font-medium", 3, "ngClass"], ["size", "w-4 h-4", 3, "icon", "ngClass"], [1, "rounded-xl", "p-6", "mt-6", 3, "ngClass"], [1, "mt-6"], ["id", "quick-wins-section", 1, "mt-8", "scroll-mt-24"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "flex", "items-center", "gap-1", "mt-2"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-4"], ["type", "button", 1, "rounded-xl", "p-6", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "ngClass"], ["type", "button", 1, "rounded-xl", "p-6", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "click", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "text-lg", "font-semibold", "flex-1", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mb-3", 3, "ngClass"], [1, "rounded-lg", "p-3", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["size", "w-4 h-4", 1, "mt-0.5", 3, "icon", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "block", "mb-1", 3, "ngClass"], [1, "text-xs", "leading-relaxed", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["size", "w-4 h-4", 3, "icon"], [3, "relatedGoalIds", "allGoals", "viewMode"]], template: function MetricExecutiveSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
70096
70091
|
i0.ɵɵelementStart(0, "section", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5);
|
|
70097
70092
|
i0.ɵɵelement(6, "symphiq-icon", 6);
|
|
70098
70093
|
i0.ɵɵelementStart(7, "h2", 7);
|
|
70099
70094
|
i0.ɵɵtext(8);
|
|
70100
70095
|
i0.ɵɵelementEnd()();
|
|
70101
|
-
i0.ɵɵelementStart(9, "
|
|
70102
|
-
i0.ɵɵtext(
|
|
70096
|
+
i0.ɵɵelementStart(9, "p", 8);
|
|
70097
|
+
i0.ɵɵtext(10);
|
|
70098
|
+
i0.ɵɵelementEnd()();
|
|
70099
|
+
i0.ɵɵconditionalCreate(11, MetricExecutiveSummaryComponent_Conditional_11_Template, 1, 3, "symphiq-grade-badge", 9);
|
|
70103
70100
|
i0.ɵɵelementEnd();
|
|
70104
|
-
i0.ɵɵ
|
|
70101
|
+
i0.ɵɵelementStart(12, "button", 10);
|
|
70102
|
+
i0.ɵɵlistener("click", function MetricExecutiveSummaryComponent_Template_button_click_12_listener() { return ctx.viewMetricDetailsClick.emit(); });
|
|
70103
|
+
i0.ɵɵelementStart(13, "div", 11);
|
|
70104
|
+
i0.ɵɵconditionalCreate(14, MetricExecutiveSummaryComponent_Conditional_14_Template, 8, 9, "div", 12);
|
|
70105
|
+
i0.ɵɵconditionalCreate(15, MetricExecutiveSummaryComponent_Conditional_15_Template, 7, 8, "div", 12);
|
|
70106
|
+
i0.ɵɵconditionalCreate(16, MetricExecutiveSummaryComponent_Conditional_16_Template, 7, 8, "div", 12);
|
|
70107
|
+
i0.ɵɵconditionalCreate(17, MetricExecutiveSummaryComponent_Conditional_17_Template, 7, 8, "div", 12);
|
|
70105
70108
|
i0.ɵɵelementEnd();
|
|
70106
|
-
i0.ɵɵelementStart(13, "
|
|
70107
|
-
i0.ɵɵtext(
|
|
70108
|
-
i0.ɵɵelementEnd()();
|
|
70109
|
-
i0.ɵɵconditionalCreate(15, MetricExecutiveSummaryComponent_Conditional_15_Template, 1, 3, "symphiq-grade-badge", 11);
|
|
70109
|
+
i0.ɵɵelementStart(18, "div", 13)(19, "span", 14);
|
|
70110
|
+
i0.ɵɵtext(20, " View Metric Details ");
|
|
70110
70111
|
i0.ɵɵelementEnd();
|
|
70111
|
-
i0.ɵɵ
|
|
70112
|
-
i0.ɵɵ
|
|
70113
|
-
i0.ɵɵconditionalCreate(
|
|
70114
|
-
i0.ɵɵconditionalCreate(
|
|
70115
|
-
i0.ɵɵconditionalCreate(
|
|
70116
|
-
i0.ɵɵelementEnd();
|
|
70117
|
-
i0.ɵɵconditionalCreate(21, MetricExecutiveSummaryComponent_Conditional_21_Template, 8, 5, "div", 14);
|
|
70118
|
-
i0.ɵɵconditionalCreate(22, MetricExecutiveSummaryComponent_Conditional_22_Template, 6, 1, "div", 15);
|
|
70119
|
-
i0.ɵɵconditionalCreate(23, MetricExecutiveSummaryComponent_Conditional_23_Template, 6, 1, "div", 16);
|
|
70112
|
+
i0.ɵɵelement(21, "symphiq-icon", 15);
|
|
70113
|
+
i0.ɵɵelementEnd()();
|
|
70114
|
+
i0.ɵɵconditionalCreate(22, MetricExecutiveSummaryComponent_Conditional_22_Template, 8, 5, "div", 16);
|
|
70115
|
+
i0.ɵɵconditionalCreate(23, MetricExecutiveSummaryComponent_Conditional_23_Template, 6, 1, "div", 17);
|
|
70116
|
+
i0.ɵɵconditionalCreate(24, MetricExecutiveSummaryComponent_Conditional_24_Template, 6, 1, "div", 18);
|
|
70120
70117
|
i0.ɵɵelementEnd()()();
|
|
70121
70118
|
} if (rf & 2) {
|
|
70122
|
-
let tmp_7_0;
|
|
70123
70119
|
let tmp_17_0;
|
|
70124
70120
|
let tmp_18_0;
|
|
70125
70121
|
i0.ɵɵadvance();
|
|
@@ -70130,32 +70126,30 @@ class MetricExecutiveSummaryComponent {
|
|
|
70130
70126
|
i0.ɵɵproperty("ngClass", ctx.titleClasses());
|
|
70131
70127
|
i0.ɵɵadvance();
|
|
70132
70128
|
i0.ɵɵtextInterpolate1(" ", ctx.formatMetricName(ctx.metricName()), " ");
|
|
70133
|
-
i0.ɵɵadvance(2);
|
|
70134
|
-
i0.ɵɵproperty("ngClass", ctx.healthBadgeClasses());
|
|
70135
|
-
i0.ɵɵadvance();
|
|
70136
|
-
i0.ɵɵtextInterpolate1(" ", (tmp_7_0 = ctx.summary().metricHealth) == null ? null : tmp_7_0.replace("_", " "), " ");
|
|
70137
|
-
i0.ɵɵadvance();
|
|
70138
|
-
i0.ɵɵconditional(ctx.summary().pacingStatus ? 12 : -1);
|
|
70139
70129
|
i0.ɵɵadvance();
|
|
70140
70130
|
i0.ɵɵproperty("ngClass", ctx.textClasses());
|
|
70141
70131
|
i0.ɵɵadvance();
|
|
70142
70132
|
i0.ɵɵtextInterpolate1(" ", ctx.summary().gradeRationale, " ");
|
|
70143
70133
|
i0.ɵɵadvance();
|
|
70144
|
-
i0.ɵɵconditional(ctx.summary().overallGrade ?
|
|
70145
|
-
i0.ɵɵadvance(
|
|
70146
|
-
i0.ɵɵconditional(ctx.summary().currentValue ?
|
|
70134
|
+
i0.ɵɵconditional(ctx.summary().overallGrade ? 11 : -1);
|
|
70135
|
+
i0.ɵɵadvance(3);
|
|
70136
|
+
i0.ɵɵconditional(ctx.summary().currentValue ? 14 : -1);
|
|
70147
70137
|
i0.ɵɵadvance();
|
|
70148
|
-
i0.ɵɵconditional(ctx.summary().targetValue ?
|
|
70138
|
+
i0.ɵɵconditional(ctx.summary().targetValue ? 15 : -1);
|
|
70149
70139
|
i0.ɵɵadvance();
|
|
70150
|
-
i0.ɵɵconditional(ctx.summary().pacingStatus ?
|
|
70140
|
+
i0.ɵɵconditional(ctx.summary().pacingStatus ? 16 : -1);
|
|
70151
70141
|
i0.ɵɵadvance();
|
|
70152
|
-
i0.ɵɵconditional(ctx.summary().metricHealth ?
|
|
70142
|
+
i0.ɵɵconditional(ctx.summary().metricHealth ? 17 : -1);
|
|
70143
|
+
i0.ɵɵadvance(2);
|
|
70144
|
+
i0.ɵɵproperty("ngClass", ctx.viewDetailsTextClasses());
|
|
70145
|
+
i0.ɵɵadvance(2);
|
|
70146
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(21, _c1$d, ctx.iconSource))("ngClass", ctx.viewDetailsTextClasses());
|
|
70153
70147
|
i0.ɵɵadvance();
|
|
70154
|
-
i0.ɵɵconditional(ctx.summary().narrative ?
|
|
70148
|
+
i0.ɵɵconditional(ctx.summary().narrative ? 22 : -1);
|
|
70155
70149
|
i0.ɵɵadvance();
|
|
70156
|
-
i0.ɵɵconditional(ctx.summary().topPriorities && (((tmp_17_0 = ctx.summary().topPriorities) == null ? null : tmp_17_0.length) ?? 0) > 0 ?
|
|
70150
|
+
i0.ɵɵconditional(ctx.summary().topPriorities && (((tmp_17_0 = ctx.summary().topPriorities) == null ? null : tmp_17_0.length) ?? 0) > 0 ? 23 : -1);
|
|
70157
70151
|
i0.ɵɵadvance();
|
|
70158
|
-
i0.ɵɵconditional(ctx.summary().quickWins && (((tmp_18_0 = ctx.summary().quickWins) == null ? null : tmp_18_0.length) ?? 0) > 0 ?
|
|
70152
|
+
i0.ɵɵconditional(ctx.summary().quickWins && (((tmp_18_0 = ctx.summary().quickWins) == null ? null : tmp_18_0.length) ?? 0) > 0 ? 24 : -1);
|
|
70159
70153
|
} }, dependencies: [CommonModule, i1$1.NgClass, GradeBadgeComponent,
|
|
70160
70154
|
SymphiqIconComponent,
|
|
70161
70155
|
NapkinVisualPlaceholderComponent,
|
|
@@ -70192,16 +70186,7 @@ class MetricExecutiveSummaryComponent {
|
|
|
70192
70186
|
{{ formatMetricName(metricName()) }}
|
|
70193
70187
|
</h2>
|
|
70194
70188
|
</div>
|
|
70195
|
-
|
|
70196
|
-
<span [ngClass]="healthBadgeClasses()" class="px-4 py-2 rounded-full text-sm font-semibold uppercase tracking-wider">
|
|
70197
|
-
{{ summary().metricHealth?.replace('_', ' ') }}
|
|
70198
|
-
</span>
|
|
70199
|
-
@if (summary().pacingStatus) {
|
|
70200
|
-
<span [ngClass]="pacingBadgeClasses()" class="px-4 py-2 rounded-full text-sm font-semibold uppercase tracking-wider">
|
|
70201
|
-
{{ summary().pacingStatus }}
|
|
70202
|
-
</span>
|
|
70203
|
-
}
|
|
70204
|
-
</div>
|
|
70189
|
+
|
|
70205
70190
|
<p [ngClass]="textClasses()" class="text-lg leading-relaxed">
|
|
70206
70191
|
{{ summary().gradeRationale }}
|
|
70207
70192
|
</p>
|
|
@@ -70216,10 +70201,15 @@ class MetricExecutiveSummaryComponent {
|
|
|
70216
70201
|
</div>
|
|
70217
70202
|
|
|
70218
70203
|
<!-- Metric Performance Cards -->
|
|
70219
|
-
<
|
|
70204
|
+
<button
|
|
70205
|
+
type="button"
|
|
70206
|
+
(click)="viewMetricDetailsClick.emit()"
|
|
70207
|
+
class="w-full text-left cursor-pointer group"
|
|
70208
|
+
>
|
|
70209
|
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
|
|
70220
70210
|
<!-- Current Value -->
|
|
70221
70211
|
@if (summary().currentValue) {
|
|
70222
|
-
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
|
|
70212
|
+
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
|
|
70223
70213
|
<div class="flex items-center gap-2 mb-2">
|
|
70224
70214
|
<symphiq-icon
|
|
70225
70215
|
[icon]="{ name: 'signal', source: iconSource }"
|
|
@@ -70250,7 +70240,7 @@ class MetricExecutiveSummaryComponent {
|
|
|
70250
70240
|
|
|
70251
70241
|
<!-- Target Value -->
|
|
70252
70242
|
@if (summary().targetValue) {
|
|
70253
|
-
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
|
|
70243
|
+
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
|
|
70254
70244
|
<div class="flex items-center gap-2 mb-2">
|
|
70255
70245
|
<symphiq-icon
|
|
70256
70246
|
[icon]="{ name: 'flag', source: iconSource }"
|
|
@@ -70269,7 +70259,7 @@ class MetricExecutiveSummaryComponent {
|
|
|
70269
70259
|
|
|
70270
70260
|
<!-- Pacing Status -->
|
|
70271
70261
|
@if (summary().pacingStatus) {
|
|
70272
|
-
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
|
|
70262
|
+
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
|
|
70273
70263
|
<div class="flex items-center gap-2 mb-2">
|
|
70274
70264
|
<symphiq-icon
|
|
70275
70265
|
[icon]="{ name: 'arrow-trending-up', source: iconSource }"
|
|
@@ -70288,7 +70278,7 @@ class MetricExecutiveSummaryComponent {
|
|
|
70288
70278
|
|
|
70289
70279
|
<!-- Health Status -->
|
|
70290
70280
|
@if (summary().metricHealth) {
|
|
70291
|
-
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4">
|
|
70281
|
+
<div [ngClass]="metricCardClasses()" class="rounded-xl p-4 transition-all duration-200 group-hover:scale-[1.02] group-hover:shadow-lg">
|
|
70292
70282
|
<div class="flex items-center gap-2 mb-2">
|
|
70293
70283
|
<symphiq-icon
|
|
70294
70284
|
[icon]="{ name: 'heart', source: iconSource }"
|
|
@@ -70306,6 +70296,19 @@ class MetricExecutiveSummaryComponent {
|
|
|
70306
70296
|
}
|
|
70307
70297
|
</div>
|
|
70308
70298
|
|
|
70299
|
+
<!-- View Details Indicator -->
|
|
70300
|
+
<div class="flex items-center justify-center gap-2 mt-3 opacity-0 group-hover:opacity-100 transition-opacity duration-200">
|
|
70301
|
+
<span [ngClass]="viewDetailsTextClasses()" class="text-sm font-medium">
|
|
70302
|
+
View Metric Details
|
|
70303
|
+
</span>
|
|
70304
|
+
<symphiq-icon
|
|
70305
|
+
[icon]="{ name: 'arrow-right', source: iconSource }"
|
|
70306
|
+
size="w-4 h-4"
|
|
70307
|
+
[ngClass]="viewDetailsTextClasses()"
|
|
70308
|
+
/>
|
|
70309
|
+
</div>
|
|
70310
|
+
</button>
|
|
70311
|
+
|
|
70309
70312
|
<!-- Narrative with Napkin Visual -->
|
|
70310
70313
|
@if (summary().narrative) {
|
|
70311
70314
|
<div [ngClass]="narrativeClasses()" class="rounded-xl p-6 mt-6">
|
|
@@ -70441,8 +70444,8 @@ class MetricExecutiveSummaryComponent {
|
|
|
70441
70444
|
</section>
|
|
70442
70445
|
`
|
|
70443
70446
|
}]
|
|
70444
|
-
}], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: true }] }], metricName: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricName", required: false }] }], allGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "allGoals", required: false }] }], topPrioritiesClick: [{ type: i0.Output, args: ["topPrioritiesClick"] }], priorityDetailClick: [{ type: i0.Output, args: ["priorityDetailClick"] }] }); })();
|
|
70445
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricExecutiveSummaryComponent, { className: "MetricExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-shop-dashboard/metric-executive-summary.component.ts", lineNumber:
|
|
70447
|
+
}], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: true }] }], metricName: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricName", required: false }] }], allGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "allGoals", required: false }] }], topPrioritiesClick: [{ type: i0.Output, args: ["topPrioritiesClick"] }], priorityDetailClick: [{ type: i0.Output, args: ["priorityDetailClick"] }], viewMetricDetailsClick: [{ type: i0.Output, args: ["viewMetricDetailsClick"] }] }); })();
|
|
70448
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricExecutiveSummaryComponent, { className: "MetricExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-shop-dashboard/metric-executive-summary.component.ts", lineNumber: 296 }); })();
|
|
70446
70449
|
|
|
70447
70450
|
const _c0$t = a0 => ({ name: "chevron-right", source: a0 });
|
|
70448
70451
|
function GoalCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -97917,7 +97920,8 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
97917
97920
|
const summary = this.focusAreaExecutiveSummary();
|
|
97918
97921
|
if (summary?.topPriorities) {
|
|
97919
97922
|
const focusAreaName = this.focusAreaName();
|
|
97920
|
-
|
|
97923
|
+
const totalCount = summary.topPriorities.length;
|
|
97924
|
+
this.modalService.navigateToTopPriorityDetail(event.priority, event.index, this.viewMode(), focusAreaName, totalCount);
|
|
97921
97925
|
}
|
|
97922
97926
|
}
|
|
97923
97927
|
getCurrentModalState() {
|
|
@@ -98105,7 +98109,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98105
98109
|
i0.ɵɵadvance();
|
|
98106
98110
|
i0.ɵɵconditional(ctx.isSimplifiedView() ? 7 : -1);
|
|
98107
98111
|
i0.ɵɵadvance();
|
|
98108
|
-
i0.ɵɵconditional(ctx.isSimplifiedView() ? 8 : -1);
|
|
98112
|
+
i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isLoading() ? 8 : -1);
|
|
98109
98113
|
i0.ɵɵadvance();
|
|
98110
98114
|
i0.ɵɵconditional(!ctx.isSimplifiedView() ? 9 : -1);
|
|
98111
98115
|
i0.ɵɵadvance();
|
|
@@ -98269,7 +98273,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98269
98273
|
}
|
|
98270
98274
|
|
|
98271
98275
|
<!-- Simplified View Content -->
|
|
98272
|
-
@if (isSimplifiedView()) {
|
|
98276
|
+
@if (isSimplifiedView() && !isLoading()) {
|
|
98273
98277
|
<!-- Strategic Insights & Goals -->
|
|
98274
98278
|
@if (profileAnalysis()) {
|
|
98275
98279
|
<div class="mb-8">
|
|
@@ -99737,7 +99741,7 @@ function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_8_Template(r
|
|
|
99737
99741
|
function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
99738
99742
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
99739
99743
|
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 37);
|
|
99740
|
-
i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handlePriorityDetailClick($event)); });
|
|
99744
|
+
i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handlePriorityDetailClick($event)); })("viewMetricDetailsClick", function SymphiqProfileAnalysisMetricDashboardComponent_Conditional_9_Conditional_0_Template_symphiq_metric_executive_summary_viewMetricDetailsClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleViewMetricDetailsClick()); });
|
|
99741
99745
|
i0.ɵɵelementEnd();
|
|
99742
99746
|
} if (rf & 2) {
|
|
99743
99747
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -100269,7 +100273,18 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100269
100273
|
if (summary?.topPriorities) {
|
|
100270
100274
|
const metricName = this.metricName();
|
|
100271
100275
|
const index = summary.topPriorities.indexOf(priority);
|
|
100272
|
-
|
|
100276
|
+
const totalCount = summary.topPriorities.length;
|
|
100277
|
+
this.modalService.navigateToTopPriorityDetail(priority, index, this.viewMode(), metricName, totalCount);
|
|
100278
|
+
}
|
|
100279
|
+
}
|
|
100280
|
+
handleViewMetricDetailsClick() {
|
|
100281
|
+
const funnelMetric = this.funnelMetric();
|
|
100282
|
+
const relatedMetricEnum = funnelMetric?.relatedMetric;
|
|
100283
|
+
if (!relatedMetricEnum)
|
|
100284
|
+
return;
|
|
100285
|
+
const metric = this.allMetrics().find(m => m.metric === relatedMetricEnum);
|
|
100286
|
+
if (metric) {
|
|
100287
|
+
this.modalService.openMetricModal(metric, this.allCharts());
|
|
100273
100288
|
}
|
|
100274
100289
|
}
|
|
100275
100290
|
getCurrentModalState() {
|
|
@@ -100390,7 +100405,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100390
100405
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
|
|
100391
100406
|
} }, hostBindings: function SymphiqProfileAnalysisMetricDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
100392
100407
|
i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisMetricDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
|
|
100393
|
-
} }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], funnelMetric: [1, "funnelMetric"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 28, vars: 49, consts: [["funnelModalComponent", ""], [1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "metricName", "isOnboarded"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Metric Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisMetricDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
100408
|
+
} }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], funnelMetric: [1, "funnelMetric"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 28, vars: 49, consts: [["funnelModalComponent", ""], [1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "metricName", "isOnboarded"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Metric Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMetricDetailsClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisMetricDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
100394
100409
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
100395
100410
|
i0.ɵɵelementStart(0, "div", 1);
|
|
100396
100411
|
i0.ɵɵelement(1, "div", 2);
|
|
@@ -100457,7 +100472,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100457
100472
|
i0.ɵɵadvance();
|
|
100458
100473
|
i0.ɵɵconditional(ctx.isSimplifiedView() ? 7 : -1);
|
|
100459
100474
|
i0.ɵɵadvance();
|
|
100460
|
-
i0.ɵɵconditional(ctx.isSimplifiedView() ? 8 : -1);
|
|
100475
|
+
i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isLoading() ? 8 : -1);
|
|
100461
100476
|
i0.ɵɵadvance();
|
|
100462
100477
|
i0.ɵɵconditional(!ctx.isSimplifiedView() ? 9 : -1);
|
|
100463
100478
|
i0.ɵɵadvance();
|
|
@@ -100621,7 +100636,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100621
100636
|
}
|
|
100622
100637
|
|
|
100623
100638
|
<!-- Simplified View Content -->
|
|
100624
|
-
@if (isSimplifiedView()) {
|
|
100639
|
+
@if (isSimplifiedView() && !isLoading()) {
|
|
100625
100640
|
<!-- Strategic Insights & Goals -->
|
|
100626
100641
|
@if (profileAnalysis()) {
|
|
100627
100642
|
<div class="mb-8">
|
|
@@ -100673,6 +100688,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100673
100688
|
[allGoals]="allGoals()"
|
|
100674
100689
|
(topPrioritiesClick)="handleTopPrioritiesClick()"
|
|
100675
100690
|
(priorityDetailClick)="handlePriorityDetailClick($event)"
|
|
100691
|
+
(viewMetricDetailsClick)="handleViewMetricDetailsClick()"
|
|
100676
100692
|
/>
|
|
100677
100693
|
}
|
|
100678
100694
|
|
|
@@ -100907,7 +100923,7 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100907
100923
|
type: HostListener,
|
|
100908
100924
|
args: ['window:scroll', ['$event']]
|
|
100909
100925
|
}] }); })();
|
|
100910
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber:
|
|
100926
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisMetricDashboardComponent, { className: "SymphiqProfileAnalysisMetricDashboardComponent", filePath: "lib/components/profile-analysis-metric-dashboard/symphiq-profile-analysis-metric-dashboard.component.ts", lineNumber: 489 }); })();
|
|
100911
100927
|
|
|
100912
100928
|
const _forTrack0$4 = ($index, $item) => $item.id;
|
|
100913
100929
|
function ShopProfileCategoryListComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|