@eric-emg/symphiq-components 1.3.55 → 1.3.56
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.
|
@@ -103594,72 +103594,84 @@ class UnifiedGoalRelatedMetricsModalContentComponent {
|
|
|
103594
103594
|
const _c0$8 = ["modalContent"];
|
|
103595
103595
|
const _c1$4 = ["modalWrapper"];
|
|
103596
103596
|
const _c2$2 = () => [];
|
|
103597
|
-
function
|
|
103597
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
103598
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
103599
|
+
i0.ɵɵelementStart(0, "button", 26);
|
|
103600
|
+
i0.ɵɵlistener("click", function UnifiedDashboardModalComponent_Conditional_0_Conditional_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onBackClick()); });
|
|
103601
|
+
i0.ɵɵnamespaceSVG();
|
|
103602
|
+
i0.ɵɵelementStart(1, "svg", 27);
|
|
103603
|
+
i0.ɵɵelement(2, "path", 28);
|
|
103604
|
+
i0.ɵɵelementEnd()();
|
|
103605
|
+
} if (rf & 2) {
|
|
103606
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103607
|
+
i0.ɵɵproperty("ngClass", ctx_r1.backButtonClasses());
|
|
103608
|
+
} }
|
|
103609
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
103598
103610
|
i0.ɵɵnamespaceSVG();
|
|
103599
|
-
i0.ɵɵelementStart(0, "svg",
|
|
103600
|
-
i0.ɵɵelement(1, "path",
|
|
103611
|
+
i0.ɵɵelementStart(0, "svg", 31);
|
|
103612
|
+
i0.ɵɵelement(1, "path", 32);
|
|
103601
103613
|
i0.ɵɵelementEnd();
|
|
103602
103614
|
} if (rf & 2) {
|
|
103603
103615
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
103604
103616
|
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbChevronClasses());
|
|
103605
103617
|
} }
|
|
103606
|
-
function
|
|
103607
|
-
const
|
|
103608
|
-
i0.ɵɵelementStart(0, "button",
|
|
103609
|
-
i0.ɵɵlistener("click", function
|
|
103618
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
103619
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
103620
|
+
i0.ɵɵelementStart(0, "button", 30);
|
|
103621
|
+
i0.ɵɵlistener("click", function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Template_button_click_0_listener() { const $index_r5 = i0.ɵɵrestoreView(_r4).$index; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.navigateToBreadcrumb($index_r5)); });
|
|
103610
103622
|
i0.ɵɵtext(1);
|
|
103611
103623
|
i0.ɵɵelementEnd();
|
|
103612
|
-
i0.ɵɵconditionalCreate(2,
|
|
103624
|
+
i0.ɵɵconditionalCreate(2, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Conditional_2_Template, 2, 1, ":svg:svg", 31);
|
|
103613
103625
|
} if (rf & 2) {
|
|
103614
|
-
const
|
|
103615
|
-
const ɵ$
|
|
103616
|
-
const ɵ$
|
|
103626
|
+
const item_r6 = ctx.$implicit;
|
|
103627
|
+
const ɵ$index_26_r7 = ctx.$index;
|
|
103628
|
+
const ɵ$count_26_r8 = ctx.$count;
|
|
103617
103629
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
103618
103630
|
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbButtonClasses());
|
|
103619
103631
|
i0.ɵɵadvance();
|
|
103620
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.getBreadcrumbLabel(
|
|
103632
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.getBreadcrumbLabel(item_r6), " ");
|
|
103621
103633
|
i0.ɵɵadvance();
|
|
103622
|
-
i0.ɵɵconditional(!(ɵ$
|
|
103634
|
+
i0.ɵɵconditional(!(ɵ$index_26_r7 === ɵ$count_26_r8 - 1) || ctx_r1.modalType() !== null ? 2 : -1);
|
|
103623
103635
|
} }
|
|
103624
|
-
function
|
|
103625
|
-
i0.ɵɵelementStart(0, "span",
|
|
103636
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
103637
|
+
i0.ɵɵelementStart(0, "span", 29);
|
|
103626
103638
|
i0.ɵɵtext(1, "Objectives");
|
|
103627
103639
|
i0.ɵɵelementEnd();
|
|
103628
103640
|
} if (rf & 2) {
|
|
103629
103641
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
103630
103642
|
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbCurrentClasses());
|
|
103631
103643
|
} }
|
|
103632
|
-
function
|
|
103633
|
-
i0.ɵɵelementStart(0, "span",
|
|
103644
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
103645
|
+
i0.ɵɵelementStart(0, "span", 29);
|
|
103634
103646
|
i0.ɵɵtext(1, "Related Metrics");
|
|
103635
103647
|
i0.ɵɵelementEnd();
|
|
103636
103648
|
} if (rf & 2) {
|
|
103637
103649
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
103638
103650
|
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbCurrentClasses());
|
|
103639
103651
|
} }
|
|
103640
|
-
function
|
|
103641
|
-
i0.ɵɵelementStart(0, "span",
|
|
103652
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
103653
|
+
i0.ɵɵelementStart(0, "span", 29);
|
|
103642
103654
|
i0.ɵɵtext(1, "Strategies");
|
|
103643
103655
|
i0.ɵɵelementEnd();
|
|
103644
103656
|
} if (rf & 2) {
|
|
103645
103657
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
103646
103658
|
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbCurrentClasses());
|
|
103647
103659
|
} }
|
|
103648
|
-
function
|
|
103649
|
-
i0.ɵɵelementStart(0, "span",
|
|
103660
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
103661
|
+
i0.ɵɵelementStart(0, "span", 29);
|
|
103650
103662
|
i0.ɵɵtext(1, "Recommendations");
|
|
103651
103663
|
i0.ɵɵelementEnd();
|
|
103652
103664
|
} if (rf & 2) {
|
|
103653
103665
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
103654
103666
|
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbCurrentClasses());
|
|
103655
103667
|
} }
|
|
103656
|
-
function
|
|
103657
|
-
i0.ɵɵelementStart(0, "div",
|
|
103658
|
-
i0.ɵɵrepeaterCreate(1,
|
|
103659
|
-
i0.ɵɵconditionalCreate(3,
|
|
103660
|
-
i0.ɵɵconditionalCreate(4,
|
|
103661
|
-
i0.ɵɵconditionalCreate(5,
|
|
103662
|
-
i0.ɵɵconditionalCreate(6,
|
|
103668
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
103669
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
103670
|
+
i0.ɵɵrepeaterCreate(1, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_For_2_Template, 3, 3, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
103671
|
+
i0.ɵɵconditionalCreate(3, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_3_Template, 2, 1, "span", 29);
|
|
103672
|
+
i0.ɵɵconditionalCreate(4, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_4_Template, 2, 1, "span", 29);
|
|
103673
|
+
i0.ɵɵconditionalCreate(5, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_5_Template, 2, 1, "span", 29);
|
|
103674
|
+
i0.ɵɵconditionalCreate(6, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Conditional_6_Template, 2, 1, "span", 29);
|
|
103663
103675
|
i0.ɵɵelementEnd();
|
|
103664
103676
|
} if (rf & 2) {
|
|
103665
103677
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -103674,8 +103686,8 @@ function UnifiedDashboardModalComponent_Conditional_0_Conditional_7_Template(rf,
|
|
|
103674
103686
|
i0.ɵɵadvance();
|
|
103675
103687
|
i0.ɵɵconditional(ctx_r1.modalType() === "strategy-recommendations" ? 6 : -1);
|
|
103676
103688
|
} }
|
|
103677
|
-
function
|
|
103678
|
-
i0.ɵɵelementStart(0, "div",
|
|
103689
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
103690
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "span", 33);
|
|
103679
103691
|
i0.ɵɵtext(2);
|
|
103680
103692
|
i0.ɵɵelementEnd()();
|
|
103681
103693
|
} if (rf & 2) {
|
|
@@ -103685,50 +103697,50 @@ function UnifiedDashboardModalComponent_Conditional_0_Conditional_8_Template(rf,
|
|
|
103685
103697
|
i0.ɵɵadvance();
|
|
103686
103698
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.modalType() === "unified-goal-objectives" ? "Objectives" : ctx_r1.modalType() === "unified-goal-related-metrics" ? "Related Metrics" : ctx_r1.modalType() === "objective-strategies" ? "Strategies" : ctx_r1.modalType() === "strategy-recommendations" ? "Recommendations" : "Unified Goal", " ");
|
|
103687
103699
|
} }
|
|
103688
|
-
function
|
|
103689
|
-
i0.ɵɵelement(0, "symphiq-priority-badge",
|
|
103700
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
103701
|
+
i0.ɵɵelement(0, "symphiq-priority-badge", 15);
|
|
103690
103702
|
} if (rf & 2) {
|
|
103691
103703
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103692
103704
|
i0.ɵɵproperty("priority", ctx_r1.currentGoal().priority)("viewMode", ctx_r1.viewMode());
|
|
103693
103705
|
} }
|
|
103694
|
-
function
|
|
103695
|
-
i0.ɵɵelement(0, "symphiq-timeframe-badge",
|
|
103706
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
103707
|
+
i0.ɵɵelement(0, "symphiq-timeframe-badge", 16);
|
|
103696
103708
|
} if (rf & 2) {
|
|
103697
103709
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103698
103710
|
i0.ɵɵproperty("timeframe", ctx_r1.currentGoal().timeframe)("viewMode", ctx_r1.viewMode());
|
|
103699
103711
|
} }
|
|
103700
|
-
function
|
|
103701
|
-
const
|
|
103702
|
-
i0.ɵɵelementStart(0, "symphiq-unified-goal-detail-modal-content",
|
|
103703
|
-
i0.ɵɵlistener("sourceAnalysisClick", function
|
|
103712
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
103713
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
103714
|
+
i0.ɵɵelementStart(0, "symphiq-unified-goal-detail-modal-content", 34);
|
|
103715
|
+
i0.ɵɵlistener("sourceAnalysisClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_sourceAnalysisClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onSourceAnalysisClick($event)); })("metricClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_metricClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onMetricClick($event)); })("contributingMetricsClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_contributingMetricsClick_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onContributingMetricsClick()); })("showObjectives", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_showObjectives_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowObjectives()); })("close", function UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template_symphiq_unified_goal_detail_modal_content_close_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeModal()); });
|
|
103704
103716
|
i0.ɵɵelementEnd();
|
|
103705
103717
|
} if (rf & 2) {
|
|
103706
103718
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103707
103719
|
i0.ɵɵproperty("goal", ctx_r1.unifiedGoalData().goal)("allMetrics", ctx_r1.unifiedGoalData().allMetrics)("allCharts", ctx_r1.unifiedGoalData().allCharts)("loadedSourceAnalysisIds", ctx_r1.loadedSourceAnalysisIdsAsNumbers())("loadingSourceAnalysisId", ctx_r1.loadingSourceAnalysisIdAsNumber())("viewMode", ctx_r1.viewMode())("currentModalState", ctx_r1.currentModalState());
|
|
103708
103720
|
} }
|
|
103709
|
-
function
|
|
103710
|
-
i0.ɵɵelement(0, "symphiq-goal-objectives-modal-content",
|
|
103721
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
103722
|
+
i0.ɵɵelement(0, "symphiq-goal-objectives-modal-content", 22);
|
|
103711
103723
|
} if (rf & 2) {
|
|
103712
103724
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103713
103725
|
i0.ɵɵproperty("objectives", ctx_r1.objectivesData().goal.objectives ?? i0.ɵɵpureFunction0(3, _c2$2))("goalTitle", ctx_r1.objectivesData().goal.title ?? "")("viewMode", ctx_r1.viewMode());
|
|
103714
103726
|
} }
|
|
103715
|
-
function
|
|
103716
|
-
const
|
|
103717
|
-
i0.ɵɵelementStart(0, "symphiq-unified-goal-related-metrics-modal-content",
|
|
103718
|
-
i0.ɵɵlistener("metricClick", function
|
|
103727
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
103728
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
103729
|
+
i0.ɵɵelementStart(0, "symphiq-unified-goal-related-metrics-modal-content", 35);
|
|
103730
|
+
i0.ɵɵlistener("metricClick", function UnifiedDashboardModalComponent_Conditional_0_Conditional_23_Template_symphiq_unified_goal_related_metrics_modal_content_metricClick_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onRelatedMetricClick($event)); });
|
|
103719
103731
|
i0.ɵɵelementEnd();
|
|
103720
103732
|
} if (rf & 2) {
|
|
103721
103733
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103722
103734
|
i0.ɵɵproperty("goal", ctx_r1.relatedMetricsData().goal)("contributingMetrics", ctx_r1.relatedMetricsData().contributingMetrics)("viewMode", ctx_r1.viewMode());
|
|
103723
103735
|
} }
|
|
103724
|
-
function
|
|
103725
|
-
i0.ɵɵelement(0, "symphiq-objective-strategies-modal-content",
|
|
103736
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
103737
|
+
i0.ɵɵelement(0, "symphiq-objective-strategies-modal-content", 24);
|
|
103726
103738
|
} if (rf & 2) {
|
|
103727
103739
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103728
103740
|
i0.ɵɵproperty("objective", ctx_r1.strategiesData().objective)("viewMode", ctx_r1.viewMode());
|
|
103729
103741
|
} }
|
|
103730
|
-
function
|
|
103731
|
-
i0.ɵɵelement(0, "symphiq-strategy-recommendations-modal-content",
|
|
103742
|
+
function UnifiedDashboardModalComponent_Conditional_0_Conditional_25_Template(rf, ctx) { if (rf & 1) {
|
|
103743
|
+
i0.ɵɵelement(0, "symphiq-strategy-recommendations-modal-content", 25);
|
|
103732
103744
|
} if (rf & 2) {
|
|
103733
103745
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103734
103746
|
i0.ɵɵproperty("strategy", ctx_r1.recommendationsData().strategy)("viewMode", ctx_r1.viewMode())("allMetrics", ctx_r1.allMetricsFromStack())("allCharts", ctx_r1.allChartsFromStack())("allInsights", ctx_r1.allInsightsFromStack())("goalTitle", ctx_r1.recommendationsData().goalTitle)("objectiveTitle", ctx_r1.recommendationsData().objectiveTitle);
|
|
@@ -103741,30 +103753,32 @@ function UnifiedDashboardModalComponent_Conditional_0_Template(rf, ctx) { if (rf
|
|
|
103741
103753
|
i0.ɵɵelementStart(3, "div", 5);
|
|
103742
103754
|
i0.ɵɵlistener("click", function UnifiedDashboardModalComponent_Conditional_0_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
103743
103755
|
i0.ɵɵelementStart(4, "div", 6)(5, "div", 7)(6, "div", 8);
|
|
103744
|
-
i0.ɵɵconditionalCreate(7, UnifiedDashboardModalComponent_Conditional_0_Conditional_7_Template,
|
|
103745
|
-
i0.ɵɵelementStart(
|
|
103746
|
-
i0.ɵɵ
|
|
103747
|
-
i0.ɵɵ
|
|
103748
|
-
i0.ɵɵ
|
|
103749
|
-
i0.ɵɵ
|
|
103750
|
-
i0.ɵɵ
|
|
103751
|
-
i0.ɵɵ
|
|
103752
|
-
i0.ɵɵ
|
|
103756
|
+
i0.ɵɵconditionalCreate(7, UnifiedDashboardModalComponent_Conditional_0_Conditional_7_Template, 3, 1, "button", 9);
|
|
103757
|
+
i0.ɵɵelementStart(8, "div", 10);
|
|
103758
|
+
i0.ɵɵconditionalCreate(9, UnifiedDashboardModalComponent_Conditional_0_Conditional_9_Template, 7, 4, "div", 11)(10, UnifiedDashboardModalComponent_Conditional_0_Conditional_10_Template, 3, 2, "div", 12);
|
|
103759
|
+
i0.ɵɵelementStart(11, "h3", 13);
|
|
103760
|
+
i0.ɵɵtext(12);
|
|
103761
|
+
i0.ɵɵelementEnd()()();
|
|
103762
|
+
i0.ɵɵelementStart(13, "div", 14);
|
|
103763
|
+
i0.ɵɵconditionalCreate(14, UnifiedDashboardModalComponent_Conditional_0_Conditional_14_Template, 1, 2, "symphiq-priority-badge", 15);
|
|
103764
|
+
i0.ɵɵconditionalCreate(15, UnifiedDashboardModalComponent_Conditional_0_Conditional_15_Template, 1, 2, "symphiq-timeframe-badge", 16);
|
|
103765
|
+
i0.ɵɵelementStart(16, "button", 17);
|
|
103766
|
+
i0.ɵɵlistener("click", function UnifiedDashboardModalComponent_Conditional_0_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeModal()); });
|
|
103753
103767
|
i0.ɵɵnamespaceSVG();
|
|
103754
|
-
i0.ɵɵelementStart(
|
|
103755
|
-
i0.ɵɵelement(
|
|
103768
|
+
i0.ɵɵelementStart(17, "svg", 18);
|
|
103769
|
+
i0.ɵɵelement(18, "path", 19);
|
|
103756
103770
|
i0.ɵɵelementEnd()()()()();
|
|
103757
103771
|
i0.ɵɵnamespaceHTML();
|
|
103758
|
-
i0.ɵɵelementStart(
|
|
103759
|
-
i0.ɵɵconditionalCreate(
|
|
103760
|
-
i0.ɵɵconditionalCreate(
|
|
103761
|
-
i0.ɵɵconditionalCreate(
|
|
103762
|
-
i0.ɵɵconditionalCreate(
|
|
103763
|
-
i0.ɵɵconditionalCreate(
|
|
103772
|
+
i0.ɵɵelementStart(19, "div", 20, 1);
|
|
103773
|
+
i0.ɵɵconditionalCreate(21, UnifiedDashboardModalComponent_Conditional_0_Conditional_21_Template, 1, 7, "symphiq-unified-goal-detail-modal-content", 21);
|
|
103774
|
+
i0.ɵɵconditionalCreate(22, UnifiedDashboardModalComponent_Conditional_0_Conditional_22_Template, 1, 4, "symphiq-goal-objectives-modal-content", 22);
|
|
103775
|
+
i0.ɵɵconditionalCreate(23, UnifiedDashboardModalComponent_Conditional_0_Conditional_23_Template, 1, 3, "symphiq-unified-goal-related-metrics-modal-content", 23);
|
|
103776
|
+
i0.ɵɵconditionalCreate(24, UnifiedDashboardModalComponent_Conditional_0_Conditional_24_Template, 1, 2, "symphiq-objective-strategies-modal-content", 24);
|
|
103777
|
+
i0.ɵɵconditionalCreate(25, UnifiedDashboardModalComponent_Conditional_0_Conditional_25_Template, 1, 7, "symphiq-strategy-recommendations-modal-content", 25);
|
|
103764
103778
|
i0.ɵɵelementEnd()()();
|
|
103765
103779
|
} if (rf & 2) {
|
|
103766
|
-
let tmp_15_0;
|
|
103767
103780
|
let tmp_16_0;
|
|
103781
|
+
let tmp_17_0;
|
|
103768
103782
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
103769
103783
|
i0.ɵɵstyleProp("z-index", ctx_r1.baseZIndex())("visibility", ctx_r1.modalReady() ? "visible" : "hidden");
|
|
103770
103784
|
i0.ɵɵadvance(2);
|
|
@@ -103776,30 +103790,32 @@ function UnifiedDashboardModalComponent_Conditional_0_Template(rf, ctx) { if (rf
|
|
|
103776
103790
|
i0.ɵɵadvance();
|
|
103777
103791
|
i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "bg-white/50 border-slate-200/50" : "bg-slate-800/50 border-slate-700/50");
|
|
103778
103792
|
i0.ɵɵadvance(3);
|
|
103779
|
-
i0.ɵɵconditional(ctx_r1.navigationStack().length > 0 ? 7 :
|
|
103793
|
+
i0.ɵɵconditional(ctx_r1.navigationStack().length > 0 ? 7 : -1);
|
|
103794
|
+
i0.ɵɵadvance(2);
|
|
103795
|
+
i0.ɵɵconditional(ctx_r1.navigationStack().length > 0 ? 9 : 10);
|
|
103780
103796
|
i0.ɵɵadvance(2);
|
|
103781
103797
|
i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-900" : "text-white");
|
|
103782
103798
|
i0.ɵɵadvance();
|
|
103783
103799
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.modalTitle(), " ");
|
|
103784
103800
|
i0.ɵɵadvance(2);
|
|
103785
|
-
i0.ɵɵconditional(((
|
|
103801
|
+
i0.ɵɵconditional(((tmp_16_0 = ctx_r1.currentGoal()) == null ? null : tmp_16_0.priority) ? 14 : -1);
|
|
103786
103802
|
i0.ɵɵadvance();
|
|
103787
|
-
i0.ɵɵconditional(((
|
|
103803
|
+
i0.ɵɵconditional(((tmp_17_0 = ctx_r1.currentGoal()) == null ? null : tmp_17_0.timeframe) ? 15 : -1);
|
|
103788
103804
|
i0.ɵɵadvance();
|
|
103789
103805
|
i0.ɵɵstyleProp("z-index", ctx_r1.contentZIndex() + 1);
|
|
103790
103806
|
i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600 hover:text-slate-900 hover:bg-slate-100" : "text-slate-400 hover:text-white hover:bg-slate-700");
|
|
103791
103807
|
i0.ɵɵadvance(3);
|
|
103792
103808
|
i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "bg-white/30" : "bg-slate-800/30");
|
|
103793
103809
|
i0.ɵɵadvance(2);
|
|
103794
|
-
i0.ɵɵconditional(ctx_r1.modalType() === "unified-goal-detail" && ctx_r1.unifiedGoalData() ?
|
|
103810
|
+
i0.ɵɵconditional(ctx_r1.modalType() === "unified-goal-detail" && ctx_r1.unifiedGoalData() ? 21 : -1);
|
|
103795
103811
|
i0.ɵɵadvance();
|
|
103796
|
-
i0.ɵɵconditional(ctx_r1.modalType() === "unified-goal-objectives" && ctx_r1.objectivesData() ?
|
|
103812
|
+
i0.ɵɵconditional(ctx_r1.modalType() === "unified-goal-objectives" && ctx_r1.objectivesData() ? 22 : -1);
|
|
103797
103813
|
i0.ɵɵadvance();
|
|
103798
|
-
i0.ɵɵconditional(ctx_r1.modalType() === "unified-goal-related-metrics" && ctx_r1.relatedMetricsData() ?
|
|
103814
|
+
i0.ɵɵconditional(ctx_r1.modalType() === "unified-goal-related-metrics" && ctx_r1.relatedMetricsData() ? 23 : -1);
|
|
103799
103815
|
i0.ɵɵadvance();
|
|
103800
|
-
i0.ɵɵconditional(ctx_r1.modalType() === "objective-strategies" && ctx_r1.strategiesData() ?
|
|
103816
|
+
i0.ɵɵconditional(ctx_r1.modalType() === "objective-strategies" && ctx_r1.strategiesData() ? 24 : -1);
|
|
103801
103817
|
i0.ɵɵadvance();
|
|
103802
|
-
i0.ɵɵconditional(ctx_r1.modalType() === "strategy-recommendations" && ctx_r1.recommendationsData() ?
|
|
103818
|
+
i0.ɵɵconditional(ctx_r1.modalType() === "strategy-recommendations" && ctx_r1.recommendationsData() ? 25 : -1);
|
|
103803
103819
|
} }
|
|
103804
103820
|
class UnifiedDashboardModalComponent {
|
|
103805
103821
|
constructor() {
|
|
@@ -103951,6 +103967,9 @@ class UnifiedDashboardModalComponent {
|
|
|
103951
103967
|
this.breadcrumbButtonClasses = computed(() => this.isLightMode() ? 'text-slate-500 hover:text-slate-700' : 'text-slate-400 hover:text-slate-200', ...(ngDevMode ? [{ debugName: "breadcrumbButtonClasses" }] : []));
|
|
103952
103968
|
this.breadcrumbChevronClasses = computed(() => this.isLightMode() ? 'text-slate-400' : 'text-slate-500', ...(ngDevMode ? [{ debugName: "breadcrumbChevronClasses" }] : []));
|
|
103953
103969
|
this.breadcrumbCurrentClasses = computed(() => this.isLightMode() ? 'text-slate-700' : 'text-slate-200', ...(ngDevMode ? [{ debugName: "breadcrumbCurrentClasses" }] : []));
|
|
103970
|
+
this.backButtonClasses = computed(() => this.isLightMode()
|
|
103971
|
+
? 'text-slate-500 hover:text-slate-700 hover:bg-slate-100'
|
|
103972
|
+
: 'text-slate-400 hover:text-white hover:bg-slate-700', ...(ngDevMode ? [{ debugName: "backButtonClasses" }] : []));
|
|
103954
103973
|
effect(() => {
|
|
103955
103974
|
const open = this.isOpen();
|
|
103956
103975
|
if (open) {
|
|
@@ -104113,6 +104132,12 @@ class UnifiedDashboardModalComponent {
|
|
|
104113
104132
|
navigateToBreadcrumb(index) {
|
|
104114
104133
|
this.modalService.navigateToStackIndex(index);
|
|
104115
104134
|
}
|
|
104135
|
+
onBackClick() {
|
|
104136
|
+
const stack = this.navigationStack();
|
|
104137
|
+
if (stack.length > 0) {
|
|
104138
|
+
this.modalService.navigateToStackIndex(stack.length - 1);
|
|
104139
|
+
}
|
|
104140
|
+
}
|
|
104116
104141
|
getBreadcrumbLabel(state) {
|
|
104117
104142
|
if (state.type === 'unified-goal-detail') {
|
|
104118
104143
|
const data = state.data;
|
|
@@ -104161,8 +104186,8 @@ class UnifiedDashboardModalComponent {
|
|
|
104161
104186
|
let _t;
|
|
104162
104187
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
104163
104188
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalWrapper = _t.first);
|
|
104164
|
-
} }, inputs: { viewMode: [1, "viewMode"] }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], [1, "fixed", "inset-0", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto", 3, "z-index", "visibility"], [1, "fixed", "inset-0", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "click", "ngClass"], [1, "relative", "w-full", "max-w-4xl", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1", "min-w-0"], [1, "flex", "items-center", "gap-1.5", "mb-2", "text-xs"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xl", "font-bold", "leading-tight", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "ml-4", "flex-shrink-0"], [3, "priority", "viewMode"], [3, "timeframe", "viewMode"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", "flex-shrink-0", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[80vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [3, "goal", "allMetrics", "allCharts", "loadedSourceAnalysisIds", "loadingSourceAnalysisId", "viewMode", "currentModalState"], [3, "objectives", "goalTitle", "viewMode"], [3, "goal", "contributingMetrics", "viewMode"], [3, "objective", "viewMode"], [3, "strategy", "viewMode", "allMetrics", "allCharts", "allInsights", "goalTitle", "objectiveTitle"], [1, "font-medium", 3, "ngClass"], ["type", "button", 1, "hover:underline", "cursor-pointer", "transition-colors", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3", "flex-shrink-0", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [3, "sourceAnalysisClick", "metricClick", "contributingMetricsClick", "showObjectives", "close", "goal", "allMetrics", "allCharts", "loadedSourceAnalysisIds", "loadingSourceAnalysisId", "viewMode", "currentModalState"], [3, "metricClick", "goal", "contributingMetrics", "viewMode"]], template: function UnifiedDashboardModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
104165
|
-
i0.ɵɵconditionalCreate(0, UnifiedDashboardModalComponent_Conditional_0_Template,
|
|
104189
|
+
} }, inputs: { viewMode: [1, "viewMode"] }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], [1, "fixed", "inset-0", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto", 3, "z-index", "visibility"], [1, "fixed", "inset-0", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "click", "ngClass"], [1, "relative", "w-full", "max-w-4xl", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex", "items-start", "gap-3", "flex-1", "min-w-0"], ["type", "button", 1, "mt-0.5", "p-1.5", "rounded-lg", "transition-all", "hover:scale-105", "active:scale-95", "cursor-pointer", "flex-shrink-0", 3, "ngClass"], [1, "flex-1", "min-w-0"], [1, "flex", "items-center", "gap-1.5", "mb-2", "text-xs"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xl", "font-bold", "leading-tight", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "ml-4", "flex-shrink-0"], [3, "priority", "viewMode"], [3, "timeframe", "viewMode"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", "flex-shrink-0", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[80vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [3, "goal", "allMetrics", "allCharts", "loadedSourceAnalysisIds", "loadingSourceAnalysisId", "viewMode", "currentModalState"], [3, "objectives", "goalTitle", "viewMode"], [3, "goal", "contributingMetrics", "viewMode"], [3, "objective", "viewMode"], [3, "strategy", "viewMode", "allMetrics", "allCharts", "allInsights", "goalTitle", "objectiveTitle"], ["type", "button", 1, "mt-0.5", "p-1.5", "rounded-lg", "transition-all", "hover:scale-105", "active:scale-95", "cursor-pointer", "flex-shrink-0", 3, "click", "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", "M15 19l-7-7 7-7"], [1, "font-medium", 3, "ngClass"], ["type", "button", 1, "hover:underline", "cursor-pointer", "transition-colors", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3", "flex-shrink-0", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [3, "sourceAnalysisClick", "metricClick", "contributingMetricsClick", "showObjectives", "close", "goal", "allMetrics", "allCharts", "loadedSourceAnalysisIds", "loadingSourceAnalysisId", "viewMode", "currentModalState"], [3, "metricClick", "goal", "contributingMetrics", "viewMode"]], template: function UnifiedDashboardModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
104190
|
+
i0.ɵɵconditionalCreate(0, UnifiedDashboardModalComponent_Conditional_0_Template, 26, 28, "div", 2);
|
|
104166
104191
|
} if (rf & 2) {
|
|
104167
104192
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
104168
104193
|
} }, dependencies: [CommonModule, i1$1.NgClass, UnifiedGoalDetailModalContentComponent,
|
|
@@ -104230,7 +104255,20 @@ class UnifiedDashboardModalComponent {
|
|
|
104230
104255
|
|
|
104231
104256
|
<div [ngClass]="isLightMode() ? 'bg-white/50 border-slate-200/50' : 'bg-slate-800/50 border-slate-700/50'" class="px-6 py-5 border-b backdrop-blur-sm">
|
|
104232
104257
|
<div class="flex items-start justify-between">
|
|
104233
|
-
<div class="flex-1 min-w-0">
|
|
104258
|
+
<div class="flex items-start gap-3 flex-1 min-w-0">
|
|
104259
|
+
<!-- Back Button -->
|
|
104260
|
+
@if (navigationStack().length > 0) {
|
|
104261
|
+
<button
|
|
104262
|
+
type="button"
|
|
104263
|
+
(click)="onBackClick()"
|
|
104264
|
+
[ngClass]="backButtonClasses()"
|
|
104265
|
+
class="mt-0.5 p-1.5 rounded-lg transition-all hover:scale-105 active:scale-95 cursor-pointer flex-shrink-0">
|
|
104266
|
+
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
104267
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
|
|
104268
|
+
</svg>
|
|
104269
|
+
</button>
|
|
104270
|
+
}
|
|
104271
|
+
<div class="flex-1 min-w-0">
|
|
104234
104272
|
<!-- Breadcrumb Navigation -->
|
|
104235
104273
|
@if (navigationStack().length > 0) {
|
|
104236
104274
|
<div class="flex items-center gap-1.5 mb-2 text-xs">
|
|
@@ -104272,6 +104310,7 @@ class UnifiedDashboardModalComponent {
|
|
|
104272
104310
|
<h3 [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-xl font-bold leading-tight">
|
|
104273
104311
|
{{ modalTitle() }}
|
|
104274
104312
|
</h3>
|
|
104313
|
+
</div>
|
|
104275
104314
|
</div>
|
|
104276
104315
|
|
|
104277
104316
|
<div class="flex items-center gap-2 ml-4 flex-shrink-0">
|
|
@@ -104358,7 +104397,7 @@ class UnifiedDashboardModalComponent {
|
|
|
104358
104397
|
type: ViewChild,
|
|
104359
104398
|
args: ['modalWrapper']
|
|
104360
104399
|
}] }); })();
|
|
104361
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnifiedDashboardModalComponent, { className: "UnifiedDashboardModalComponent", filePath: "lib/components/profile-analysis-unified-dashboard/modals/unified-dashboard-modal.component.ts", lineNumber:
|
|
104400
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnifiedDashboardModalComponent, { className: "UnifiedDashboardModalComponent", filePath: "lib/components/profile-analysis-unified-dashboard/modals/unified-dashboard-modal.component.ts", lineNumber: 216 }); })();
|
|
104362
104401
|
|
|
104363
104402
|
const _c0$7 = () => [];
|
|
104364
104403
|
const _c1$3 = a0 => ({ name: "flag", source: a0 });
|