@eric-emg/symphiq-components 1.2.253 → 1.2.256

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.
@@ -57587,20 +57587,27 @@ function MetricReportModalComponent_Conditional_0_Conditional_65_Template(rf, ct
57587
57587
  i0.ɵɵrepeater(ctx_r1.contributingMetrics());
57588
57588
  } }
57589
57589
  function MetricReportModalComponent_Conditional_0_Conditional_66_Template(rf, ctx) { if (rf & 1) {
57590
+ const _r5 = i0.ɵɵgetCurrentView();
57590
57591
  i0.ɵɵelementStart(0, "div", 29)(1, "h4", 16);
57591
57592
  i0.ɵɵtext(2, " Pace ");
57592
57593
  i0.ɵɵelementEnd();
57593
57594
  i0.ɵɵelementStart(3, "div", 57);
57595
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_66_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.openExpandedPaceChart(); return i0.ɵɵresetView($event.stopPropagation()); });
57594
57596
  i0.ɵɵelement(4, "symphiq-line-chart", 36);
57597
+ i0.ɵɵelementStart(5, "div", 37);
57598
+ i0.ɵɵnamespaceSVG();
57599
+ i0.ɵɵelementStart(6, "svg", 38);
57600
+ i0.ɵɵelement(7, "path", 39);
57601
+ i0.ɵɵelementEnd()()();
57602
+ i0.ɵɵnamespaceHTML();
57603
+ i0.ɵɵelementStart(8, "p", 58);
57604
+ i0.ɵɵtext(9);
57595
57605
  i0.ɵɵelementEnd();
57596
- i0.ɵɵelementStart(5, "p", 58);
57597
- i0.ɵɵtext(6);
57598
- i0.ɵɵelementEnd();
57599
- i0.ɵɵelementStart(7, "p", 59);
57600
- i0.ɵɵtext(8);
57606
+ i0.ɵɵelementStart(10, "p", 59);
57607
+ i0.ɵɵtext(11);
57601
57608
  i0.ɵɵelementEnd();
57602
- i0.ɵɵelementStart(9, "p", 59);
57603
- i0.ɵɵtext(10);
57609
+ i0.ɵɵelementStart(12, "p", 59);
57610
+ i0.ɵɵtext(13);
57604
57611
  i0.ɵɵelementEnd()();
57605
57612
  } if (rf & 2) {
57606
57613
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -57610,6 +57617,8 @@ function MetricReportModalComponent_Conditional_0_Conditional_66_Template(rf, ct
57610
57617
  i0.ɵɵadvance(3);
57611
57618
  i0.ɵɵproperty("chart", ctx_r1.pacingChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "250px");
57612
57619
  i0.ɵɵadvance();
57620
+ i0.ɵɵproperty("ngClass", ctx_r1.expandIconClasses());
57621
+ i0.ɵɵadvance(3);
57613
57622
  i0.ɵɵproperty("ngClass", ctx_r1.descriptionClasses());
57614
57623
  i0.ɵɵadvance();
57615
57624
  i0.ɵɵtextInterpolate1(" ", ctx_r1.chartLegendDescription(), " ");
@@ -57626,21 +57635,21 @@ function MetricReportModalComponent_Conditional_0_Conditional_70_Conditional_11_
57626
57635
  i0.ɵɵelement(0, "symphiq-area-chart", 36);
57627
57636
  } if (rf & 2) {
57628
57637
  const ctx_r1 = i0.ɵɵnextContext(3);
57629
- i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "400px");
57638
+ i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "500px");
57630
57639
  } }
57631
57640
  function MetricReportModalComponent_Conditional_0_Conditional_70_Template(rf, ctx) { if (rf & 1) {
57632
- const _r5 = i0.ɵɵgetCurrentView();
57641
+ const _r6 = i0.ɵɵgetCurrentView();
57633
57642
  i0.ɵɵelementStart(0, "div", 60);
57634
- i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
57643
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
57635
57644
  i0.ɵɵelementStart(1, "div", 61);
57636
57645
  i0.ɵɵelement(2, "div", 2);
57637
57646
  i0.ɵɵelementStart(3, "div", 62);
57638
- i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r5); return i0.ɵɵresetView($event.stopPropagation()); });
57647
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r6); return i0.ɵɵresetView($event.stopPropagation()); });
57639
57648
  i0.ɵɵelementStart(4, "div", 63)(5, "h3", 64);
57640
57649
  i0.ɵɵtext(6, " Year-over-Year Trend ");
57641
57650
  i0.ɵɵelementEnd();
57642
57651
  i0.ɵɵelementStart(7, "button", 65);
57643
- i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
57652
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
57644
57653
  i0.ɵɵnamespaceSVG();
57645
57654
  i0.ɵɵelementStart(8, "svg", 12);
57646
57655
  i0.ɵɵelement(9, "path", 13);
@@ -57666,6 +57675,71 @@ function MetricReportModalComponent_Conditional_0_Conditional_70_Template(rf, ct
57666
57675
  i0.ɵɵadvance();
57667
57676
  i0.ɵɵconditional(ctx_r1.trendChartData() ? 11 : -1);
57668
57677
  } }
57678
+ function MetricReportModalComponent_Conditional_0_Conditional_71_Conditional_11_Template(rf, ctx) { if (rf & 1) {
57679
+ i0.ɵɵelement(0, "symphiq-line-chart", 36);
57680
+ i0.ɵɵelementStart(1, "p", 58);
57681
+ i0.ɵɵtext(2);
57682
+ i0.ɵɵelementEnd();
57683
+ i0.ɵɵelementStart(3, "p", 59);
57684
+ i0.ɵɵtext(4);
57685
+ i0.ɵɵelementEnd();
57686
+ i0.ɵɵelementStart(5, "p", 59);
57687
+ i0.ɵɵtext(6);
57688
+ i0.ɵɵelementEnd();
57689
+ } if (rf & 2) {
57690
+ const ctx_r1 = i0.ɵɵnextContext(3);
57691
+ i0.ɵɵproperty("chart", ctx_r1.pacingChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "500px");
57692
+ i0.ɵɵadvance();
57693
+ i0.ɵɵproperty("ngClass", ctx_r1.descriptionClasses());
57694
+ i0.ɵɵadvance();
57695
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.chartLegendDescription(), " ");
57696
+ i0.ɵɵadvance();
57697
+ i0.ɵɵproperty("ngClass", ctx_r1.descriptionClasses());
57698
+ i0.ɵɵadvance();
57699
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.chartDescriptionSentence1(), " ");
57700
+ i0.ɵɵadvance();
57701
+ i0.ɵɵproperty("ngClass", ctx_r1.descriptionClasses());
57702
+ i0.ɵɵadvance();
57703
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.chartDescriptionSentence2(), " ");
57704
+ } }
57705
+ function MetricReportModalComponent_Conditional_0_Conditional_71_Template(rf, ctx) { if (rf & 1) {
57706
+ const _r7 = i0.ɵɵgetCurrentView();
57707
+ i0.ɵɵelementStart(0, "div", 60);
57708
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_71_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedPaceChart()); });
57709
+ i0.ɵɵelementStart(1, "div", 61);
57710
+ i0.ɵɵelement(2, "div", 2);
57711
+ i0.ɵɵelementStart(3, "div", 62);
57712
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_71_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r7); return i0.ɵɵresetView($event.stopPropagation()); });
57713
+ i0.ɵɵelementStart(4, "div", 63)(5, "h3", 67);
57714
+ i0.ɵɵtext(6, " Pace ");
57715
+ i0.ɵɵelementEnd();
57716
+ i0.ɵɵelementStart(7, "button", 65);
57717
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_71_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedPaceChart()); });
57718
+ i0.ɵɵnamespaceSVG();
57719
+ i0.ɵɵelementStart(8, "svg", 12);
57720
+ i0.ɵɵelement(9, "path", 13);
57721
+ i0.ɵɵelementEnd()()();
57722
+ i0.ɵɵnamespaceHTML();
57723
+ i0.ɵɵelementStart(10, "div", 66);
57724
+ i0.ɵɵconditionalCreate(11, MetricReportModalComponent_Conditional_0_Conditional_71_Conditional_11_Template, 7, 11);
57725
+ i0.ɵɵelementEnd()()()();
57726
+ } if (rf & 2) {
57727
+ const ctx_r1 = i0.ɵɵnextContext(2);
57728
+ i0.ɵɵadvance(2);
57729
+ i0.ɵɵproperty("ngClass", ctx_r1.backdropClasses())("@fadeIn", undefined);
57730
+ i0.ɵɵadvance();
57731
+ i0.ɵɵproperty("ngClass", ctx_r1.modalContainerClasses())("@slideUpFade", undefined);
57732
+ i0.ɵɵadvance();
57733
+ i0.ɵɵproperty("ngClass", ctx_r1.headerClasses());
57734
+ i0.ɵɵadvance();
57735
+ i0.ɵɵproperty("ngClass", ctx_r1.titleClasses());
57736
+ i0.ɵɵadvance(2);
57737
+ i0.ɵɵproperty("ngClass", ctx_r1.closeButtonClasses());
57738
+ i0.ɵɵadvance(3);
57739
+ i0.ɵɵproperty("ngClass", ctx_r1.contentClasses());
57740
+ i0.ɵɵadvance();
57741
+ i0.ɵɵconditional(ctx_r1.pacingChartData() ? 11 : -1);
57742
+ } }
57669
57743
  function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
57670
57744
  const _r1 = i0.ɵɵgetCurrentView();
57671
57745
  i0.ɵɵelementStart(0, "div", 0);
@@ -57748,13 +57822,14 @@ function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
57748
57822
  i0.ɵɵconditionalCreate(64, MetricReportModalComponent_Conditional_0_Conditional_64_Template, 6, 10);
57749
57823
  i0.ɵɵelementEnd();
57750
57824
  i0.ɵɵconditionalCreate(65, MetricReportModalComponent_Conditional_0_Conditional_65_Template, 16, 3, "div", 15);
57751
- i0.ɵɵconditionalCreate(66, MetricReportModalComponent_Conditional_0_Conditional_66_Template, 11, 13, "div", 29);
57825
+ i0.ɵɵconditionalCreate(66, MetricReportModalComponent_Conditional_0_Conditional_66_Template, 14, 14, "div", 29);
57752
57826
  i0.ɵɵelementEnd();
57753
57827
  i0.ɵɵelementStart(67, "div", 30)(68, "button", 31);
57754
57828
  i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Template_button_click_68_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
57755
57829
  i0.ɵɵtext(69, " Close ");
57756
57830
  i0.ɵɵelementEnd()()()()();
57757
57831
  i0.ɵɵconditionalCreate(70, MetricReportModalComponent_Conditional_0_Conditional_70_Template, 12, 9, "div", 32);
57832
+ i0.ɵɵconditionalCreate(71, MetricReportModalComponent_Conditional_0_Conditional_71_Template, 12, 9, "div", 32);
57758
57833
  } if (rf & 2) {
57759
57834
  let tmp_8_0;
57760
57835
  let tmp_19_0;
@@ -57860,6 +57935,8 @@ function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
57860
57935
  i0.ɵɵproperty("ngClass", ctx_r1.closeFooterButtonClasses());
57861
57936
  i0.ɵɵadvance(2);
57862
57937
  i0.ɵɵconditional(ctx_r1.isExpandedChartOpen() ? 70 : -1);
57938
+ i0.ɵɵadvance();
57939
+ i0.ɵɵconditional(ctx_r1.isExpandedPaceChartOpen() ? 71 : -1);
57863
57940
  } }
57864
57941
  class MetricReportModalComponent {
57865
57942
  constructor() {
@@ -57873,6 +57950,7 @@ class MetricReportModalComponent {
57873
57950
  this.closed = output();
57874
57951
  this.showDefinition = signal(false, ...(ngDevMode ? [{ debugName: "showDefinition" }] : []));
57875
57952
  this.isExpandedChartOpen = signal(false, ...(ngDevMode ? [{ debugName: "isExpandedChartOpen" }] : []));
57953
+ this.isExpandedPaceChartOpen = signal(false, ...(ngDevMode ? [{ debugName: "isExpandedPaceChartOpen" }] : []));
57876
57954
  this.Math = Math;
57877
57955
  this.currentYear = computed(() => new Date().getFullYear(), ...(ngDevMode ? [{ debugName: "currentYear" }] : []));
57878
57956
  this.priorYear = computed(() => new Date().getFullYear() - 1, ...(ngDevMode ? [{ debugName: "priorYear" }] : []));
@@ -58079,7 +58157,10 @@ class MetricReportModalComponent {
58079
58157
  }, ...(ngDevMode ? [{ debugName: "pacingChartData" }] : []));
58080
58158
  }
58081
58159
  onEscapeKey() {
58082
- if (this.isExpandedChartOpen()) {
58160
+ if (this.isExpandedPaceChartOpen()) {
58161
+ this.closeExpandedPaceChart();
58162
+ }
58163
+ else if (this.isExpandedChartOpen()) {
58083
58164
  this.closeExpandedChart();
58084
58165
  }
58085
58166
  }
@@ -58180,6 +58261,12 @@ class MetricReportModalComponent {
58180
58261
  closeExpandedChart() {
58181
58262
  this.isExpandedChartOpen.set(false);
58182
58263
  }
58264
+ openExpandedPaceChart() {
58265
+ this.isExpandedPaceChartOpen.set(true);
58266
+ }
58267
+ closeExpandedPaceChart() {
58268
+ this.isExpandedPaceChartOpen.set(false);
58269
+ }
58183
58270
  isLightMode() {
58184
58271
  return this.viewMode() === ViewModeEnum.LIGHT;
58185
58272
  }
@@ -58302,8 +58389,8 @@ class MetricReportModalComponent {
58302
58389
  static { this.ɵfac = function MetricReportModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MetricReportModalComponent)(); }; }
58303
58390
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricReportModalComponent, selectors: [["symphiq-metric-report-modal"]], hostBindings: function MetricReportModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
58304
58391
  i0.ɵɵlistener("keydown.escape", function MetricReportModalComponent_keydown_escape_HostBindingHandler() { return ctx.onEscapeKey(); }, i0.ɵɵresolveDocument);
58305
- } }, inputs: { viewMode: [1, "viewMode"], metricEnum: [1, "metricEnum"], metricData: [1, "metricData"], contributingMetrics: [1, "contributingMetrics"], pacingMetrics: [1, "pacingMetrics"], trendChartData: [1, "trendChartData"], isOpen: [1, "isOpen"] }, outputs: { closed: "closed" }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "overflow-y-auto", "z-50", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-md", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xl", "font-bold", "mb-0", 3, "ngClass"], ["type", "button", "tooltipType", "markdown", "tooltipPosition", "right", 1, "flex-shrink-0", "w-5", "h-5", "rounded-full", "inline-flex", "items-center", "justify-center", "transition-colors", 3, "ngClass", "libSymphiqTooltip"], [1, "ml-4", "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 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-6", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "rounded-xl", "p-6", "mb-6", 3, "ngClass"], [1, "text-sm", "font-semibold", "uppercase", "tracking-wider", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "lg:grid-cols-3", "gap-6"], [1, "mb-1.5"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "percentageChange", "metric", "priorYear", "isCompact"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1.5", 3, "ngClass"], [1, "mb-4"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-3xl", "font-extrabold", "mb-3", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "px-6", "py-4", "border-t", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", 3, "click", "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3.5", "h-3.5"], ["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, "relative", "cursor-pointer", "group", 3, "click"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [1, "absolute", "top-1", "right-1", "p-1", "rounded", "opacity-0", "group-hover:opacity-100", "transition-opacity", 3, "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", "M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"], [3, "viewMode", "pacingPercentage", "status", "showAsFullText", "isCompact", "showEmphasizedPercentage"], [3, "data", "viewMode"], [1, "overflow-x-auto"], [1, "w-full"], [1, "border-b", 3, "ngClass"], [1, "text-left", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "text-right", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "border-b", "transition-colors", 3, "ngClass"], [1, "py-3", "px-4"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium"], [1, "py-3", "px-4", "text-right"], [1, "text-sm", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "justify-end", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "text-emerald-500"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], [1, "min-h-[250px]"], [1, "text-sm", "leading-relaxed", "mt-4", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mt-2", 3, "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "p-4"], [1, "relative", "inline-block", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "w-full", "max-w-6xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-4", "border-b", "backdrop-blur-sm", "flex", "items-center", "justify-between", 3, "ngClass"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 3, "click", "ngClass"], [1, "p-6", "backdrop-blur-sm", 3, "ngClass"]], template: function MetricReportModalComponent_Template(rf, ctx) { if (rf & 1) {
58306
- i0.ɵɵconditionalCreate(0, MetricReportModalComponent_Conditional_0_Template, 71, 53);
58392
+ } }, inputs: { viewMode: [1, "viewMode"], metricEnum: [1, "metricEnum"], metricData: [1, "metricData"], contributingMetrics: [1, "contributingMetrics"], pacingMetrics: [1, "pacingMetrics"], trendChartData: [1, "trendChartData"], isOpen: [1, "isOpen"] }, outputs: { closed: "closed" }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "overflow-y-auto", "z-50", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-md", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xl", "font-bold", "mb-0", 3, "ngClass"], ["type", "button", "tooltipType", "markdown", "tooltipPosition", "right", 1, "flex-shrink-0", "w-5", "h-5", "rounded-full", "inline-flex", "items-center", "justify-center", "transition-colors", 3, "ngClass", "libSymphiqTooltip"], [1, "ml-4", "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 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-6", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "rounded-xl", "p-6", "mb-6", 3, "ngClass"], [1, "text-sm", "font-semibold", "uppercase", "tracking-wider", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "lg:grid-cols-3", "gap-6"], [1, "mb-1.5"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "percentageChange", "metric", "priorYear", "isCompact"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1.5", 3, "ngClass"], [1, "mb-4"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-3xl", "font-extrabold", "mb-3", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "px-6", "py-4", "border-t", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", 3, "click", "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3.5", "h-3.5"], ["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, "relative", "cursor-pointer", "group", 3, "click"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [1, "absolute", "top-1", "right-1", "p-1", "rounded", "opacity-0", "group-hover:opacity-100", "transition-opacity", 3, "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", "M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"], [3, "viewMode", "pacingPercentage", "status", "showAsFullText", "isCompact", "showEmphasizedPercentage"], [3, "data", "viewMode"], [1, "overflow-x-auto"], [1, "w-full"], [1, "border-b", 3, "ngClass"], [1, "text-left", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "text-right", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "border-b", "transition-colors", 3, "ngClass"], [1, "py-3", "px-4"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium"], [1, "py-3", "px-4", "text-right"], [1, "text-sm", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "justify-end", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "text-emerald-500"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], [1, "min-h-[250px]", "relative", "cursor-pointer", "group", 3, "click"], [1, "text-sm", "leading-relaxed", "mt-4", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mt-2", 3, "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "p-4"], [1, "relative", "inline-block", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "w-full", "max-w-6xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-4", "border-b", "backdrop-blur-sm", "flex", "items-center", "justify-between", 3, "ngClass"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 3, "click", "ngClass"], [1, "p-6", "backdrop-blur-sm", 3, "ngClass"], [1, "text-lg", "font-bold", "mb-0", 3, "ngClass"]], template: function MetricReportModalComponent_Template(rf, ctx) { if (rf & 1) {
58393
+ i0.ɵɵconditionalCreate(0, MetricReportModalComponent_Conditional_0_Template, 72, 54);
58307
58394
  } if (rf & 2) {
58308
58395
  i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
58309
58396
  } }, dependencies: [CommonModule, i1$1.NgClass, PacingStatusBadgeComponent,
@@ -58642,7 +58729,9 @@ class MetricReportModalComponent {
58642
58729
  <h4 [ngClass]="sectionTitleClasses()" class="text-sm font-semibold uppercase tracking-wider mb-4">
58643
58730
  Pace
58644
58731
  </h4>
58645
- <div class="min-h-[250px]">
58732
+ <div
58733
+ class="min-h-[250px] relative cursor-pointer group"
58734
+ (click)="openExpandedPaceChart(); $event.stopPropagation()">
58646
58735
  <symphiq-line-chart
58647
58736
  [chart]="pacingChartData()!"
58648
58737
  [showAxisLabels]="true"
@@ -58650,6 +58739,13 @@ class MetricReportModalComponent {
58650
58739
  [currencySymbol]="'$'"
58651
58740
  [height]="'250px'"
58652
58741
  />
58742
+ <div
58743
+ [ngClass]="expandIconClasses()"
58744
+ class="absolute top-1 right-1 p-1 rounded opacity-0 group-hover:opacity-100 transition-opacity">
58745
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58746
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4" />
58747
+ </svg>
58748
+ </div>
58653
58749
  </div>
58654
58750
  <p [ngClass]="descriptionClasses()" class="text-sm leading-relaxed mt-4">
58655
58751
  {{ chartLegendDescription() }}
@@ -58717,7 +58813,7 @@ class MetricReportModalComponent {
58717
58813
  [showAxisLabels]="true"
58718
58814
  [viewMode]="viewMode()"
58719
58815
  [currencySymbol]="'$'"
58720
- [height]="'400px'"
58816
+ [height]="'500px'"
58721
58817
  />
58722
58818
  }
58723
58819
  </div>
@@ -58725,6 +58821,64 @@ class MetricReportModalComponent {
58725
58821
  </div>
58726
58822
  </div>
58727
58823
  }
58824
+
58825
+ <!-- Expanded Pace Chart Modal (Stacked) -->
58826
+ @if (isExpandedPaceChartOpen()) {
58827
+ <div class="fixed inset-0 overflow-y-auto z-[60]" (click)="closeExpandedPaceChart()">
58828
+ <div class="flex items-center justify-center min-h-screen p-4">
58829
+ <div
58830
+ [ngClass]="backdropClasses()"
58831
+ class="fixed inset-0 backdrop-blur-md"
58832
+ aria-hidden="true"
58833
+ @fadeIn>
58834
+ </div>
58835
+
58836
+ <div
58837
+ (click)="$event.stopPropagation()"
58838
+ [ngClass]="modalContainerClasses()"
58839
+ class="relative inline-block rounded-2xl text-left overflow-hidden shadow-xl w-full max-w-6xl border backdrop-blur-xl"
58840
+ @slideUpFade>
58841
+
58842
+ <!-- Header -->
58843
+ <div [ngClass]="headerClasses()" class="px-6 py-4 border-b backdrop-blur-sm flex items-center justify-between">
58844
+ <h3 [ngClass]="titleClasses()" class="text-lg font-bold mb-0">
58845
+ Pace
58846
+ </h3>
58847
+ <button
58848
+ (click)="closeExpandedPaceChart()"
58849
+ [ngClass]="closeButtonClasses()"
58850
+ class="transition-all rounded-lg p-1 hover:scale-110 active:scale-90">
58851
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58852
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
58853
+ </svg>
58854
+ </button>
58855
+ </div>
58856
+
58857
+ <!-- Content -->
58858
+ <div [ngClass]="contentClasses()" class="p-6 backdrop-blur-sm">
58859
+ @if (pacingChartData()) {
58860
+ <symphiq-line-chart
58861
+ [chart]="pacingChartData()!"
58862
+ [showAxisLabels]="true"
58863
+ [viewMode]="viewMode()"
58864
+ [currencySymbol]="'$'"
58865
+ [height]="'500px'"
58866
+ />
58867
+ <p [ngClass]="descriptionClasses()" class="text-sm leading-relaxed mt-4">
58868
+ {{ chartLegendDescription() }}
58869
+ </p>
58870
+ <p [ngClass]="descriptionClasses()" class="text-sm leading-relaxed mt-2">
58871
+ {{ chartDescriptionSentence1() }}
58872
+ </p>
58873
+ <p [ngClass]="descriptionClasses()" class="text-sm leading-relaxed mt-2">
58874
+ {{ chartDescriptionSentence2() }}
58875
+ </p>
58876
+ }
58877
+ </div>
58878
+ </div>
58879
+ </div>
58880
+ </div>
58881
+ }
58728
58882
  }
58729
58883
  `
58730
58884
  }]
@@ -58732,7 +58886,7 @@ class MetricReportModalComponent {
58732
58886
  type: HostListener,
58733
58887
  args: ['document:keydown.escape']
58734
58888
  }] }); })();
58735
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricReportModalComponent, { className: "MetricReportModalComponent", filePath: "lib/components/revenue-calculator-dashboard/metric-report-modal.component.ts", lineNumber: 416 }); })();
58889
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricReportModalComponent, { className: "MetricReportModalComponent", filePath: "lib/components/revenue-calculator-dashboard/metric-report-modal.component.ts", lineNumber: 483 }); })();
58736
58890
 
58737
58891
  const _c0$q = ["absoluteInputRef"];
58738
58892
  const _c1$b = ["percentageInputRef"];
@@ -59289,7 +59443,7 @@ class InitialTargetSettingComponent {
59289
59443
  return 'Calculating...';
59290
59444
  }
59291
59445
  else if (state === 'results') {
59292
- return 'Set Revenue Targets';
59446
+ return 'Save Metric Targets';
59293
59447
  }
59294
59448
  else {
59295
59449
  return 'Calculate Metric Targets';