@eric-emg/symphiq-components 1.2.252 → 1.2.253

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.
@@ -55883,7 +55883,7 @@ function StickySubmitBarComponent_Conditional_5_Template(rf, ctx) { if (rf & 1)
55883
55883
  i0.ɵɵelementEnd();
55884
55884
  i0.ɵɵnamespaceHTML();
55885
55885
  i0.ɵɵelementStart(3, "p", 10);
55886
- i0.ɵɵtext(4, " Ready to set your targets ");
55886
+ i0.ɵɵtext(4, " Ready to save your targets ");
55887
55887
  i0.ɵɵelementEnd()();
55888
55888
  } if (rf & 2) {
55889
55889
  const ctx_r0 = i0.ɵɵnextContext();
@@ -55907,7 +55907,7 @@ function StickySubmitBarComponent_Conditional_9_Template(rf, ctx) { if (rf & 1)
55907
55907
  i0.ɵɵelementEnd();
55908
55908
  i0.ɵɵnamespaceHTML();
55909
55909
  i0.ɵɵelementStart(3, "span");
55910
- i0.ɵɵtext(4, "Setting Targets...");
55910
+ i0.ɵɵtext(4, "Saving Targets...");
55911
55911
  i0.ɵɵelementEnd();
55912
55912
  } }
55913
55913
  function StickySubmitBarComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
@@ -55929,7 +55929,7 @@ class StickySubmitBarComponent {
55929
55929
  this.isValid = input(false, ...(ngDevMode ? [{ debugName: "isValid" }] : []));
55930
55930
  this.isSubmitting = input(false, ...(ngDevMode ? [{ debugName: "isSubmitting" }] : []));
55931
55931
  this.validationMessage = input('', ...(ngDevMode ? [{ debugName: "validationMessage" }] : []));
55932
- this.buttonText = input('Set Revenue Targets', ...(ngDevMode ? [{ debugName: "buttonText" }] : []));
55932
+ this.buttonText = input('Save Metric Targets', ...(ngDevMode ? [{ debugName: "buttonText" }] : []));
55933
55933
  this.showCancelButton = input(false, ...(ngDevMode ? [{ debugName: "showCancelButton" }] : []));
55934
55934
  this.submitClick = output();
55935
55935
  this.cancelClick = output();
@@ -56020,7 +56020,7 @@ class StickySubmitBarComponent {
56020
56020
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
56021
56021
  </svg>
56022
56022
  <p [ngClass]="readyMessageClasses()" class="text-sm font-medium">
56023
- Ready to set your targets
56023
+ Ready to save your targets
56024
56024
  </p>
56025
56025
  </div>
56026
56026
  }
@@ -56045,7 +56045,7 @@ class StickySubmitBarComponent {
56045
56045
  <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
56046
56046
  <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
56047
56047
  </svg>
56048
- <span>Setting Targets...</span>
56048
+ <span>Saving Targets...</span>
56049
56049
  } @else {
56050
56050
  <span>{{ buttonText() }}</span>
56051
56051
  <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -57440,17 +57440,17 @@ class ProgressToTargetChartComponent {
57440
57440
 
57441
57441
  const _forTrack0$i = ($index, $item) => $item.metric;
57442
57442
  function MetricReportModalComponent_Conditional_0_Conditional_12_Template(rf, ctx) { if (rf & 1) {
57443
- i0.ɵɵelementStart(0, "button", 11);
57443
+ i0.ɵɵelementStart(0, "button", 10);
57444
57444
  i0.ɵɵnamespaceSVG();
57445
- i0.ɵɵelementStart(1, "svg", 32);
57446
- i0.ɵɵelement(2, "path", 33);
57445
+ i0.ɵɵelementStart(1, "svg", 33);
57446
+ i0.ɵɵelement(2, "path", 34);
57447
57447
  i0.ɵɵelementEnd()();
57448
57448
  } if (rf & 2) {
57449
57449
  const ctx_r1 = i0.ɵɵnextContext(2);
57450
57450
  i0.ɵɵproperty("ngClass", ctx_r1.headerInfoIconClasses())("libSymphiqTooltip", ctx_r1.getMarkdownTooltipContent(ctx_r1.metricData().description, ctx_r1.metricTitle()));
57451
57451
  } }
57452
57452
  function MetricReportModalComponent_Conditional_0_Conditional_31_Template(rf, ctx) { if (rf & 1) {
57453
- i0.ɵɵelement(0, "symphiq-target-change-badge", 23);
57453
+ i0.ɵɵelement(0, "symphiq-target-change-badge", 22);
57454
57454
  } if (rf & 2) {
57455
57455
  let tmp_4_0;
57456
57456
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -57460,11 +57460,9 @@ function MetricReportModalComponent_Conditional_0_Conditional_47_Template(rf, ct
57460
57460
  i0.ɵɵelementStart(0, "div")(1, "p", 24);
57461
57461
  i0.ɵɵtext(2);
57462
57462
  i0.ɵɵelementEnd();
57463
- i0.ɵɵelementStart(3, "p", 22);
57463
+ i0.ɵɵelementStart(3, "p", 23);
57464
57464
  i0.ɵɵtext(4);
57465
- i0.ɵɵelementEnd();
57466
- i0.ɵɵelement(5, "symphiq-pacing-status-badge", 34);
57467
- i0.ɵɵelementEnd();
57465
+ i0.ɵɵelementEnd()();
57468
57466
  } if (rf & 2) {
57469
57467
  let tmp_5_0;
57470
57468
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -57476,30 +57474,37 @@ function MetricReportModalComponent_Conditional_0_Conditional_47_Template(rf, ct
57476
57474
  i0.ɵɵproperty("ngClass", ctx_r1.projectedValueClasses());
57477
57475
  i0.ɵɵadvance();
57478
57476
  i0.ɵɵtextInterpolate1(" ", ctx_r1.formatMetricValue(ctx_r1.pacingInfo().projectedValue, ((tmp_5_0 = ctx_r1.metricData()) == null ? null : tmp_5_0.metric) || "", false), " ");
57479
- i0.ɵɵadvance();
57480
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("pacingPercentage", ctx_r1.pacingInfo().pacingPercentage)("status", ctx_r1.pacingInfo().status)("showAsFullText", false)("isCompact", true)("showEmphasizedPercentage", true);
57481
57477
  } }
57482
57478
  function MetricReportModalComponent_Conditional_0_Conditional_53_Template(rf, ctx) { if (rf & 1) {
57479
+ const _r3 = i0.ɵɵgetCurrentView();
57483
57480
  i0.ɵɵelementStart(0, "div")(1, "p", 24);
57484
57481
  i0.ɵɵtext(2, " Year-over-Year Trend ");
57485
57482
  i0.ɵɵelementEnd();
57486
- i0.ɵɵelement(3, "symphiq-area-chart", 35);
57487
- i0.ɵɵelementEnd();
57483
+ i0.ɵɵelementStart(3, "div", 35);
57484
+ i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_53_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.openExpandedChart(); return i0.ɵɵresetView($event.stopPropagation()); });
57485
+ i0.ɵɵelement(4, "symphiq-area-chart", 36);
57486
+ i0.ɵɵelementStart(5, "div", 37);
57487
+ i0.ɵɵnamespaceSVG();
57488
+ i0.ɵɵelementStart(6, "svg", 38);
57489
+ i0.ɵɵelement(7, "path", 39);
57490
+ i0.ɵɵelementEnd()()()();
57488
57491
  } if (rf & 2) {
57489
57492
  const ctx_r1 = i0.ɵɵnextContext(2);
57490
57493
  i0.ɵɵadvance();
57491
57494
  i0.ɵɵproperty("ngClass", ctx_r1.labelClasses());
57492
- i0.ɵɵadvance(2);
57495
+ i0.ɵɵadvance(3);
57493
57496
  i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", false)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "80px");
57497
+ i0.ɵɵadvance();
57498
+ i0.ɵɵproperty("ngClass", ctx_r1.expandIconClasses());
57494
57499
  } }
57495
57500
  function MetricReportModalComponent_Conditional_0_Conditional_64_Template(rf, ctx) { if (rf & 1) {
57496
57501
  i0.ɵɵelementStart(0, "div", 25);
57497
- i0.ɵɵelement(1, "symphiq-pacing-status-badge", 34);
57502
+ i0.ɵɵelement(1, "symphiq-pacing-status-badge", 40);
57498
57503
  i0.ɵɵelementEnd();
57499
57504
  i0.ɵɵelementStart(2, "div", 25)(3, "p", 28);
57500
57505
  i0.ɵɵtext(4);
57501
57506
  i0.ɵɵelementEnd()();
57502
- i0.ɵɵelement(5, "symphiq-progress-to-target-chart", 36);
57507
+ i0.ɵɵelement(5, "symphiq-progress-to-target-chart", 41);
57503
57508
  } if (rf & 2) {
57504
57509
  const ctx_r1 = i0.ɵɵnextContext(2);
57505
57510
  i0.ɵɵadvance();
@@ -57512,64 +57517,64 @@ function MetricReportModalComponent_Conditional_0_Conditional_64_Template(rf, ct
57512
57517
  i0.ɵɵproperty("data", ctx_r1.progressToTargetData())("viewMode", ctx_r1.viewMode());
57513
57518
  } }
57514
57519
  function MetricReportModalComponent_Conditional_0_Conditional_65_For_15_Conditional_5_Template(rf, ctx) { if (rf & 1) {
57515
- i0.ɵɵelementStart(0, "button", 11);
57520
+ i0.ɵɵelementStart(0, "button", 10);
57516
57521
  i0.ɵɵnamespaceSVG();
57517
- i0.ɵɵelementStart(1, "svg", 51);
57518
- i0.ɵɵelement(2, "path", 33);
57522
+ i0.ɵɵelementStart(1, "svg", 56);
57523
+ i0.ɵɵelement(2, "path", 34);
57519
57524
  i0.ɵɵelementEnd()();
57520
57525
  } if (rf & 2) {
57521
- const metric_r3 = i0.ɵɵnextContext().$implicit;
57526
+ const metric_r4 = i0.ɵɵnextContext().$implicit;
57522
57527
  const ctx_r1 = i0.ɵɵnextContext(3);
57523
- i0.ɵɵproperty("ngClass", ctx_r1.infoIconClasses())("libSymphiqTooltip", ctx_r1.getMarkdownTooltipContent(metric_r3.description, ctx_r1.getMetricTitle(metric_r3)));
57528
+ i0.ɵɵproperty("ngClass", ctx_r1.infoIconClasses())("libSymphiqTooltip", ctx_r1.getMarkdownTooltipContent(metric_r4.description, ctx_r1.getMetricTitle(metric_r4)));
57524
57529
  } }
57525
57530
  function MetricReportModalComponent_Conditional_0_Conditional_65_For_15_Template(rf, ctx) { if (rf & 1) {
57526
- i0.ɵɵelementStart(0, "tr", 42)(1, "td", 43)(2, "div", 44)(3, "span", 45);
57531
+ i0.ɵɵelementStart(0, "tr", 47)(1, "td", 48)(2, "div", 49)(3, "span", 50);
57527
57532
  i0.ɵɵtext(4);
57528
57533
  i0.ɵɵelementEnd();
57529
- i0.ɵɵconditionalCreate(5, MetricReportModalComponent_Conditional_0_Conditional_65_For_15_Conditional_5_Template, 3, 2, "button", 11);
57534
+ i0.ɵɵconditionalCreate(5, MetricReportModalComponent_Conditional_0_Conditional_65_For_15_Conditional_5_Template, 3, 2, "button", 10);
57530
57535
  i0.ɵɵelementEnd()();
57531
- i0.ɵɵelementStart(6, "td", 46)(7, "span", 47);
57536
+ i0.ɵɵelementStart(6, "td", 51)(7, "span", 52);
57532
57537
  i0.ɵɵtext(8);
57533
57538
  i0.ɵɵelementEnd()();
57534
- i0.ɵɵelementStart(9, "td", 46)(10, "div", 48)(11, "span", 45);
57539
+ i0.ɵɵelementStart(9, "td", 51)(10, "div", 53)(11, "span", 50);
57535
57540
  i0.ɵɵtext(12);
57536
57541
  i0.ɵɵelementEnd();
57537
57542
  i0.ɵɵnamespaceSVG();
57538
- i0.ɵɵelementStart(13, "svg", 49);
57539
- i0.ɵɵelement(14, "path", 50);
57543
+ i0.ɵɵelementStart(13, "svg", 54);
57544
+ i0.ɵɵelement(14, "path", 55);
57540
57545
  i0.ɵɵelementEnd()()()();
57541
57546
  } if (rf & 2) {
57542
- const metric_r3 = ctx.$implicit;
57547
+ const metric_r4 = ctx.$implicit;
57543
57548
  const ctx_r1 = i0.ɵɵnextContext(3);
57544
57549
  i0.ɵɵproperty("ngClass", ctx_r1.tableRowClasses());
57545
57550
  i0.ɵɵadvance(4);
57546
- i0.ɵɵtextInterpolate(ctx_r1.getMetricTitle(metric_r3));
57551
+ i0.ɵɵtextInterpolate(ctx_r1.getMetricTitle(metric_r4));
57547
57552
  i0.ɵɵadvance();
57548
- i0.ɵɵconditional(metric_r3.description ? 5 : -1);
57553
+ i0.ɵɵconditional(metric_r4.description ? 5 : -1);
57549
57554
  i0.ɵɵadvance(2);
57550
57555
  i0.ɵɵproperty("ngClass", ctx_r1.targetValueClasses());
57551
57556
  i0.ɵɵadvance();
57552
- i0.ɵɵtextInterpolate1(" ", ctx_r1.formatMetricValue(metric_r3.targetValue, metric_r3.metric, false), " ");
57557
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.formatMetricValue(metric_r4.targetValue, metric_r4.metric, false), " ");
57553
57558
  i0.ɵɵadvance(4);
57554
- i0.ɵɵtextInterpolate1(" ", ctx_r1.formatPercentage(ctx_r1.Math.abs(metric_r3.percentageIncrease), 1), " ");
57559
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.formatPercentage(ctx_r1.Math.abs(metric_r4.percentageIncrease), 1), " ");
57555
57560
  i0.ɵɵadvance(2);
57556
- i0.ɵɵattribute("d", metric_r3.percentageIncrease >= 0 ? "M5 10l7-7m0 0l7 7m-7-7v18" : "M19 14l-7 7m0 0l-7-7m7 7V3");
57561
+ i0.ɵɵattribute("d", metric_r4.percentageIncrease >= 0 ? "M5 10l7-7m0 0l7 7m-7-7v18" : "M19 14l-7 7m0 0l-7-7m7 7V3");
57557
57562
  } }
57558
57563
  function MetricReportModalComponent_Conditional_0_Conditional_65_Template(rf, ctx) { if (rf & 1) {
57559
- i0.ɵɵelementStart(0, "div", 16)(1, "h4", 17);
57564
+ i0.ɵɵelementStart(0, "div", 15)(1, "h4", 16);
57560
57565
  i0.ɵɵtext(2, " Contributing Metric Targets ");
57561
57566
  i0.ɵɵelementEnd();
57562
- i0.ɵɵelementStart(3, "div", 37)(4, "table", 38)(5, "thead")(6, "tr", 39)(7, "th", 40);
57567
+ i0.ɵɵelementStart(3, "div", 42)(4, "table", 43)(5, "thead")(6, "tr", 44)(7, "th", 45);
57563
57568
  i0.ɵɵtext(8, "Metric");
57564
57569
  i0.ɵɵelementEnd();
57565
- i0.ɵɵelementStart(9, "th", 41);
57570
+ i0.ɵɵelementStart(9, "th", 46);
57566
57571
  i0.ɵɵtext(10, "Target");
57567
57572
  i0.ɵɵelementEnd();
57568
- i0.ɵɵelementStart(11, "th", 41);
57573
+ i0.ɵɵelementStart(11, "th", 46);
57569
57574
  i0.ɵɵtext(12, "Improve by");
57570
57575
  i0.ɵɵelementEnd()()();
57571
57576
  i0.ɵɵelementStart(13, "tbody");
57572
- i0.ɵɵrepeaterCreate(14, MetricReportModalComponent_Conditional_0_Conditional_65_For_15_Template, 15, 7, "tr", 42, _forTrack0$i);
57577
+ i0.ɵɵrepeaterCreate(14, MetricReportModalComponent_Conditional_0_Conditional_65_For_15_Template, 15, 7, "tr", 47, _forTrack0$i);
57573
57578
  i0.ɵɵelementEnd()()()();
57574
57579
  } if (rf & 2) {
57575
57580
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -57582,19 +57587,19 @@ function MetricReportModalComponent_Conditional_0_Conditional_65_Template(rf, ct
57582
57587
  i0.ɵɵrepeater(ctx_r1.contributingMetrics());
57583
57588
  } }
57584
57589
  function MetricReportModalComponent_Conditional_0_Conditional_66_Template(rf, ctx) { if (rf & 1) {
57585
- i0.ɵɵelementStart(0, "div", 29)(1, "h4", 17);
57590
+ i0.ɵɵelementStart(0, "div", 29)(1, "h4", 16);
57586
57591
  i0.ɵɵtext(2, " Pace ");
57587
57592
  i0.ɵɵelementEnd();
57588
- i0.ɵɵelementStart(3, "div", 52);
57589
- i0.ɵɵelement(4, "symphiq-line-chart", 35);
57593
+ i0.ɵɵelementStart(3, "div", 57);
57594
+ i0.ɵɵelement(4, "symphiq-line-chart", 36);
57590
57595
  i0.ɵɵelementEnd();
57591
- i0.ɵɵelementStart(5, "p", 53);
57596
+ i0.ɵɵelementStart(5, "p", 58);
57592
57597
  i0.ɵɵtext(6);
57593
57598
  i0.ɵɵelementEnd();
57594
- i0.ɵɵelementStart(7, "p", 54);
57599
+ i0.ɵɵelementStart(7, "p", 59);
57595
57600
  i0.ɵɵtext(8);
57596
57601
  i0.ɵɵelementEnd();
57597
- i0.ɵɵelementStart(9, "p", 54);
57602
+ i0.ɵɵelementStart(9, "p", 59);
57598
57603
  i0.ɵɵtext(10);
57599
57604
  i0.ɵɵelementEnd()();
57600
57605
  } if (rf & 2) {
@@ -57617,74 +57622,118 @@ function MetricReportModalComponent_Conditional_0_Conditional_66_Template(rf, ct
57617
57622
  i0.ɵɵadvance();
57618
57623
  i0.ɵɵtextInterpolate1(" ", ctx_r1.chartDescriptionSentence2(), " ");
57619
57624
  } }
57625
+ function MetricReportModalComponent_Conditional_0_Conditional_70_Conditional_11_Template(rf, ctx) { if (rf & 1) {
57626
+ i0.ɵɵelement(0, "symphiq-area-chart", 36);
57627
+ } if (rf & 2) {
57628
+ const ctx_r1 = i0.ɵɵnextContext(3);
57629
+ i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "400px");
57630
+ } }
57631
+ function MetricReportModalComponent_Conditional_0_Conditional_70_Template(rf, ctx) { if (rf & 1) {
57632
+ const _r5 = i0.ɵɵgetCurrentView();
57633
+ 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()); });
57635
+ i0.ɵɵelementStart(1, "div", 61);
57636
+ i0.ɵɵelement(2, "div", 2);
57637
+ 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()); });
57639
+ i0.ɵɵelementStart(4, "div", 63)(5, "h3", 64);
57640
+ i0.ɵɵtext(6, " Year-over-Year Trend ");
57641
+ i0.ɵɵelementEnd();
57642
+ 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()); });
57644
+ i0.ɵɵnamespaceSVG();
57645
+ i0.ɵɵelementStart(8, "svg", 12);
57646
+ i0.ɵɵelement(9, "path", 13);
57647
+ i0.ɵɵelementEnd()()();
57648
+ i0.ɵɵnamespaceHTML();
57649
+ i0.ɵɵelementStart(10, "div", 66);
57650
+ i0.ɵɵconditionalCreate(11, MetricReportModalComponent_Conditional_0_Conditional_70_Conditional_11_Template, 1, 5, "symphiq-area-chart", 36);
57651
+ i0.ɵɵelementEnd()()()();
57652
+ } if (rf & 2) {
57653
+ const ctx_r1 = i0.ɵɵnextContext(2);
57654
+ i0.ɵɵadvance(2);
57655
+ i0.ɵɵproperty("ngClass", ctx_r1.backdropClasses())("@fadeIn", undefined);
57656
+ i0.ɵɵadvance();
57657
+ i0.ɵɵproperty("ngClass", ctx_r1.modalContainerClasses())("@slideUpFade", undefined);
57658
+ i0.ɵɵadvance();
57659
+ i0.ɵɵproperty("ngClass", ctx_r1.headerClasses());
57660
+ i0.ɵɵadvance();
57661
+ i0.ɵɵproperty("ngClass", ctx_r1.titleClasses());
57662
+ i0.ɵɵadvance(2);
57663
+ i0.ɵɵproperty("ngClass", ctx_r1.closeButtonClasses());
57664
+ i0.ɵɵadvance(3);
57665
+ i0.ɵɵproperty("ngClass", ctx_r1.contentClasses());
57666
+ i0.ɵɵadvance();
57667
+ i0.ɵɵconditional(ctx_r1.trendChartData() ? 11 : -1);
57668
+ } }
57620
57669
  function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
57621
57670
  const _r1 = i0.ɵɵgetCurrentView();
57622
- i0.ɵɵelementStart(0, "div", 1);
57671
+ i0.ɵɵelementStart(0, "div", 0);
57623
57672
  i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
57624
- i0.ɵɵelementStart(1, "div", 2);
57625
- i0.ɵɵelement(2, "div", 3);
57626
- i0.ɵɵelementStart(3, "span", 4);
57673
+ i0.ɵɵelementStart(1, "div", 1);
57674
+ i0.ɵɵelement(2, "div", 2);
57675
+ i0.ɵɵelementStart(3, "span", 3);
57627
57676
  i0.ɵɵtext(4, "\u200B");
57628
57677
  i0.ɵɵelementEnd();
57629
- i0.ɵɵelementStart(5, "div", 5);
57678
+ i0.ɵɵelementStart(5, "div", 4);
57630
57679
  i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Template_div_click_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.stopPropagation()); });
57631
- i0.ɵɵelementStart(6, "div", 6)(7, "div", 7)(8, "div", 8)(9, "div", 9)(10, "h3", 10);
57680
+ i0.ɵɵelementStart(6, "div", 5)(7, "div", 6)(8, "div", 7)(9, "div", 8)(10, "h3", 9);
57632
57681
  i0.ɵɵtext(11);
57633
57682
  i0.ɵɵelementEnd();
57634
- i0.ɵɵconditionalCreate(12, MetricReportModalComponent_Conditional_0_Conditional_12_Template, 3, 2, "button", 11);
57683
+ i0.ɵɵconditionalCreate(12, MetricReportModalComponent_Conditional_0_Conditional_12_Template, 3, 2, "button", 10);
57635
57684
  i0.ɵɵelementEnd()();
57636
- i0.ɵɵelementStart(13, "button", 12);
57685
+ i0.ɵɵelementStart(13, "button", 11);
57637
57686
  i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
57638
57687
  i0.ɵɵnamespaceSVG();
57639
- i0.ɵɵelementStart(14, "svg", 13);
57640
- i0.ɵɵelement(15, "path", 14);
57688
+ i0.ɵɵelementStart(14, "svg", 12);
57689
+ i0.ɵɵelement(15, "path", 13);
57641
57690
  i0.ɵɵelementEnd()()()();
57642
57691
  i0.ɵɵnamespaceHTML();
57643
- i0.ɵɵelementStart(16, "div", 15)(17, "div", 16)(18, "h4", 17);
57692
+ i0.ɵɵelementStart(16, "div", 14)(17, "div", 15)(18, "h4", 16);
57644
57693
  i0.ɵɵtext(19, " At a Glance ");
57645
57694
  i0.ɵɵelementEnd();
57646
- i0.ɵɵelementStart(20, "div", 18)(21, "div")(22, "div", 19)(23, "p", 20);
57695
+ i0.ɵɵelementStart(20, "div", 17)(21, "div")(22, "div", 18)(23, "p", 19);
57647
57696
  i0.ɵɵtext(24, " Year to date ");
57648
57697
  i0.ɵɵelementEnd();
57649
- i0.ɵɵelementStart(25, "p", 21);
57698
+ i0.ɵɵelementStart(25, "p", 20);
57650
57699
  i0.ɵɵtext(26);
57651
57700
  i0.ɵɵelementEnd();
57652
- i0.ɵɵelementStart(27, "p", 21);
57701
+ i0.ɵɵelementStart(27, "p", 20);
57653
57702
  i0.ɵɵtext(28);
57654
57703
  i0.ɵɵelementEnd()();
57655
- i0.ɵɵelementStart(29, "p", 22);
57704
+ i0.ɵɵelementStart(29, "p", 21);
57656
57705
  i0.ɵɵtext(30);
57657
57706
  i0.ɵɵelementEnd();
57658
- i0.ɵɵconditionalCreate(31, MetricReportModalComponent_Conditional_0_Conditional_31_Template, 1, 5, "symphiq-target-change-badge", 23);
57707
+ i0.ɵɵconditionalCreate(31, MetricReportModalComponent_Conditional_0_Conditional_31_Template, 1, 5, "symphiq-target-change-badge", 22);
57659
57708
  i0.ɵɵelementEnd();
57660
- i0.ɵɵelementStart(32, "div")(33, "div", 19)(34, "p", 20);
57709
+ i0.ɵɵelementStart(32, "div")(33, "div", 18)(34, "p", 19);
57661
57710
  i0.ɵɵtext(35, " Same period last year ");
57662
57711
  i0.ɵɵelementEnd();
57663
- i0.ɵɵelementStart(36, "p", 21);
57712
+ i0.ɵɵelementStart(36, "p", 20);
57664
57713
  i0.ɵɵtext(37);
57665
57714
  i0.ɵɵelementEnd();
57666
- i0.ɵɵelementStart(38, "p", 21);
57715
+ i0.ɵɵelementStart(38, "p", 20);
57667
57716
  i0.ɵɵtext(39);
57668
57717
  i0.ɵɵelementEnd()();
57669
- i0.ɵɵelementStart(40, "p", 10);
57718
+ i0.ɵɵelementStart(40, "p", 23);
57670
57719
  i0.ɵɵtext(41);
57671
57720
  i0.ɵɵelementEnd()();
57672
57721
  i0.ɵɵelementStart(42, "div")(43, "p", 24);
57673
57722
  i0.ɵɵtext(44);
57674
57723
  i0.ɵɵelementEnd();
57675
- i0.ɵɵelementStart(45, "p", 10);
57724
+ i0.ɵɵelementStart(45, "p", 23);
57676
57725
  i0.ɵɵtext(46);
57677
57726
  i0.ɵɵelementEnd()();
57678
- i0.ɵɵconditionalCreate(47, MetricReportModalComponent_Conditional_0_Conditional_47_Template, 6, 10, "div");
57727
+ i0.ɵɵconditionalCreate(47, MetricReportModalComponent_Conditional_0_Conditional_47_Template, 5, 4, "div");
57679
57728
  i0.ɵɵelementStart(48, "div")(49, "p", 24);
57680
57729
  i0.ɵɵtext(50);
57681
57730
  i0.ɵɵelementEnd();
57682
- i0.ɵɵelementStart(51, "p", 10);
57731
+ i0.ɵɵelementStart(51, "p", 23);
57683
57732
  i0.ɵɵtext(52);
57684
57733
  i0.ɵɵelementEnd()();
57685
- i0.ɵɵconditionalCreate(53, MetricReportModalComponent_Conditional_0_Conditional_53_Template, 4, 6, "div");
57734
+ i0.ɵɵconditionalCreate(53, MetricReportModalComponent_Conditional_0_Conditional_53_Template, 8, 7, "div");
57686
57735
  i0.ɵɵelementEnd()();
57687
- i0.ɵɵelementStart(54, "div", 16)(55, "h4", 17);
57736
+ i0.ɵɵelementStart(54, "div", 15)(55, "h4", 16);
57688
57737
  i0.ɵɵtext(56, " Target Analysis ");
57689
57738
  i0.ɵɵelementEnd();
57690
57739
  i0.ɵɵelementStart(57, "div", 25)(58, "p", 26);
@@ -57698,13 +57747,14 @@ function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
57698
57747
  i0.ɵɵelementEnd()();
57699
57748
  i0.ɵɵconditionalCreate(64, MetricReportModalComponent_Conditional_0_Conditional_64_Template, 6, 10);
57700
57749
  i0.ɵɵelementEnd();
57701
- i0.ɵɵconditionalCreate(65, MetricReportModalComponent_Conditional_0_Conditional_65_Template, 16, 3, "div", 16);
57750
+ i0.ɵɵconditionalCreate(65, MetricReportModalComponent_Conditional_0_Conditional_65_Template, 16, 3, "div", 15);
57702
57751
  i0.ɵɵconditionalCreate(66, MetricReportModalComponent_Conditional_0_Conditional_66_Template, 11, 13, "div", 29);
57703
57752
  i0.ɵɵelementEnd();
57704
57753
  i0.ɵɵelementStart(67, "div", 30)(68, "button", 31);
57705
57754
  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()); });
57706
57755
  i0.ɵɵtext(69, " Close ");
57707
57756
  i0.ɵɵelementEnd()()()()();
57757
+ i0.ɵɵconditionalCreate(70, MetricReportModalComponent_Conditional_0_Conditional_70_Template, 12, 9, "div", 32);
57708
57758
  } if (rf & 2) {
57709
57759
  let tmp_8_0;
57710
57760
  let tmp_19_0;
@@ -57808,6 +57858,8 @@ function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
57808
57858
  i0.ɵɵproperty("ngClass", ctx_r1.footerClasses());
57809
57859
  i0.ɵɵadvance();
57810
57860
  i0.ɵɵproperty("ngClass", ctx_r1.closeFooterButtonClasses());
57861
+ i0.ɵɵadvance(2);
57862
+ i0.ɵɵconditional(ctx_r1.isExpandedChartOpen() ? 70 : -1);
57811
57863
  } }
57812
57864
  class MetricReportModalComponent {
57813
57865
  constructor() {
@@ -57820,6 +57872,7 @@ class MetricReportModalComponent {
57820
57872
  this.isOpen = input(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : []));
57821
57873
  this.closed = output();
57822
57874
  this.showDefinition = signal(false, ...(ngDevMode ? [{ debugName: "showDefinition" }] : []));
57875
+ this.isExpandedChartOpen = signal(false, ...(ngDevMode ? [{ debugName: "isExpandedChartOpen" }] : []));
57823
57876
  this.Math = Math;
57824
57877
  this.currentYear = computed(() => new Date().getFullYear(), ...(ngDevMode ? [{ debugName: "currentYear" }] : []));
57825
57878
  this.priorYear = computed(() => new Date().getFullYear() - 1, ...(ngDevMode ? [{ debugName: "priorYear" }] : []));
@@ -58025,6 +58078,11 @@ class MetricReportModalComponent {
58025
58078
  };
58026
58079
  }, ...(ngDevMode ? [{ debugName: "pacingChartData" }] : []));
58027
58080
  }
58081
+ onEscapeKey() {
58082
+ if (this.isExpandedChartOpen()) {
58083
+ this.closeExpandedChart();
58084
+ }
58085
+ }
58028
58086
  formatDateForChart(year, month, day) {
58029
58087
  const m = String(month + 1).padStart(2, '0');
58030
58088
  const d = String(day).padStart(2, '0');
@@ -58116,6 +58174,12 @@ class MetricReportModalComponent {
58116
58174
  close() {
58117
58175
  this.closed.emit();
58118
58176
  }
58177
+ openExpandedChart() {
58178
+ this.isExpandedChartOpen.set(true);
58179
+ }
58180
+ closeExpandedChart() {
58181
+ this.isExpandedChartOpen.set(false);
58182
+ }
58119
58183
  isLightMode() {
58120
58184
  return this.viewMode() === ViewModeEnum.LIGHT;
58121
58185
  }
@@ -58220,6 +58284,11 @@ class MetricReportModalComponent {
58220
58284
  ? 'bg-slate-100 text-slate-500 hover:bg-slate-200 hover:text-slate-700'
58221
58285
  : 'bg-slate-700/50 text-slate-400 hover:bg-slate-600/50 hover:text-slate-300';
58222
58286
  }
58287
+ expandIconClasses() {
58288
+ return this.isLightMode()
58289
+ ? 'bg-white/90 text-slate-600 hover:bg-white hover:text-slate-800 shadow-sm'
58290
+ : 'bg-slate-700/90 text-slate-300 hover:bg-slate-600 hover:text-white shadow-sm';
58291
+ }
58223
58292
  footerClasses() {
58224
58293
  return this.isLightMode()
58225
58294
  ? 'bg-slate-50 border-slate-200'
@@ -58231,8 +58300,10 @@ class MetricReportModalComponent {
58231
58300
  : 'bg-slate-700 hover:bg-slate-600 text-white';
58232
58301
  }
58233
58302
  static { this.ɵfac = function MetricReportModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MetricReportModalComponent)(); }; }
58234
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricReportModalComponent, selectors: [["symphiq-metric-report-modal"]], 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"], [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", 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-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"], ["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"], [3, "viewMode", "pacingPercentage", "status", "showAsFullText", "isCompact", "showEmphasizedPercentage"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [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"]], template: function MetricReportModalComponent_Template(rf, ctx) { if (rf & 1) {
58235
- i0.ɵɵconditionalCreate(0, MetricReportModalComponent_Conditional_0_Template, 70, 52, "div", 0);
58303
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricReportModalComponent, selectors: [["symphiq-metric-report-modal"]], hostBindings: function MetricReportModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
58304
+ 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);
58236
58307
  } if (rf & 2) {
58237
58308
  i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
58238
58309
  } }, dependencies: [CommonModule, i1$1.NgClass, PacingStatusBadgeComponent,
@@ -58308,7 +58379,7 @@ class MetricReportModalComponent {
58308
58379
  <div class="flex items-start justify-between">
58309
58380
  <div class="flex-1">
58310
58381
  <div class="flex items-center gap-2 mb-2">
58311
- <h3 [ngClass]="titleClasses()" class="text-xl font-bold">
58382
+ <h3 [ngClass]="titleClasses()" class="text-xl font-bold mb-0">
58312
58383
  {{ metricTitle() }}
58313
58384
  </h3>
58314
58385
  @if (metricData()?.description) {
@@ -58406,17 +58477,9 @@ class MetricReportModalComponent {
58406
58477
  <p [ngClass]="labelClasses()" class="text-xs font-medium uppercase tracking-wider mb-1.5">
58407
58478
  Pace for {{ currentYear() }}
58408
58479
  </p>
58409
- <p [ngClass]="projectedValueClasses()" class="text-xl font-bold mb-2">
58480
+ <p [ngClass]="projectedValueClasses()" class="text-xl font-bold">
58410
58481
  {{ formatMetricValue(pacingInfo()!.projectedValue, metricData()?.metric || '', false) }}
58411
58482
  </p>
58412
- <symphiq-pacing-status-badge
58413
- [viewMode]="viewMode()"
58414
- [pacingPercentage]="pacingInfo()!.pacingPercentage"
58415
- [status]="pacingInfo()!.status"
58416
- [showAsFullText]="false"
58417
- [isCompact]="true"
58418
- [showEmphasizedPercentage]="true"
58419
- />
58420
58483
  </div>
58421
58484
  }
58422
58485
 
@@ -58436,13 +58499,24 @@ class MetricReportModalComponent {
58436
58499
  <p [ngClass]="labelClasses()" class="text-xs font-medium uppercase tracking-wider mb-1.5">
58437
58500
  Year-over-Year Trend
58438
58501
  </p>
58439
- <symphiq-area-chart
58440
- [chart]="trendChartData()!"
58441
- [showAxisLabels]="false"
58442
- [viewMode]="viewMode()"
58443
- [currencySymbol]="'$'"
58444
- [height]="'80px'"
58445
- />
58502
+ <div
58503
+ class="relative cursor-pointer group"
58504
+ (click)="openExpandedChart(); $event.stopPropagation()">
58505
+ <symphiq-area-chart
58506
+ [chart]="trendChartData()!"
58507
+ [showAxisLabels]="false"
58508
+ [viewMode]="viewMode()"
58509
+ [currencySymbol]="'$'"
58510
+ [height]="'80px'"
58511
+ />
58512
+ <div
58513
+ [ngClass]="expandIconClasses()"
58514
+ class="absolute top-1 right-1 p-1 rounded opacity-0 group-hover:opacity-100 transition-opacity">
58515
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58516
+ <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" />
58517
+ </svg>
58518
+ </div>
58519
+ </div>
58446
58520
  </div>
58447
58521
  }
58448
58522
  </div>
@@ -58602,11 +58676,63 @@ class MetricReportModalComponent {
58602
58676
  </div>
58603
58677
  </div>
58604
58678
  </div>
58679
+
58680
+ <!-- Expanded Chart Modal (Stacked) -->
58681
+ @if (isExpandedChartOpen()) {
58682
+ <div class="fixed inset-0 overflow-y-auto z-[60]" (click)="closeExpandedChart()">
58683
+ <div class="flex items-center justify-center min-h-screen p-4">
58684
+ <div
58685
+ [ngClass]="backdropClasses()"
58686
+ class="fixed inset-0 backdrop-blur-md"
58687
+ aria-hidden="true"
58688
+ @fadeIn>
58689
+ </div>
58690
+
58691
+ <div
58692
+ (click)="$event.stopPropagation()"
58693
+ [ngClass]="modalContainerClasses()"
58694
+ class="relative inline-block rounded-2xl text-left overflow-hidden shadow-xl w-full max-w-6xl border backdrop-blur-xl"
58695
+ @slideUpFade>
58696
+
58697
+ <!-- Header -->
58698
+ <div [ngClass]="headerClasses()" class="px-6 py-4 border-b backdrop-blur-sm flex items-center justify-between">
58699
+ <h3 [ngClass]="titleClasses()" class="text-lg font-bold">
58700
+ Year-over-Year Trend
58701
+ </h3>
58702
+ <button
58703
+ (click)="closeExpandedChart()"
58704
+ [ngClass]="closeButtonClasses()"
58705
+ class="transition-all rounded-lg p-1 hover:scale-110 active:scale-90">
58706
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58707
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
58708
+ </svg>
58709
+ </button>
58710
+ </div>
58711
+
58712
+ <!-- Content -->
58713
+ <div [ngClass]="contentClasses()" class="p-6 backdrop-blur-sm">
58714
+ @if (trendChartData()) {
58715
+ <symphiq-area-chart
58716
+ [chart]="trendChartData()!"
58717
+ [showAxisLabels]="true"
58718
+ [viewMode]="viewMode()"
58719
+ [currencySymbol]="'$'"
58720
+ [height]="'400px'"
58721
+ />
58722
+ }
58723
+ </div>
58724
+ </div>
58725
+ </div>
58726
+ </div>
58727
+ }
58605
58728
  }
58606
58729
  `
58607
58730
  }]
58608
- }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], metricEnum: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricEnum", required: false }] }], metricData: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricData", required: false }] }], contributingMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "contributingMetrics", required: false }] }], pacingMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "pacingMetrics", required: false }] }], trendChartData: [{ type: i0.Input, args: [{ isSignal: true, alias: "trendChartData", required: false }] }], isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }] }); })();
58609
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricReportModalComponent, { className: "MetricReportModalComponent", filePath: "lib/components/revenue-calculator-dashboard/metric-report-modal.component.ts", lineNumber: 364 }); })();
58731
+ }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], metricEnum: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricEnum", required: false }] }], metricData: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricData", required: false }] }], contributingMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "contributingMetrics", required: false }] }], pacingMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "pacingMetrics", required: false }] }], trendChartData: [{ type: i0.Input, args: [{ isSignal: true, alias: "trendChartData", required: false }] }], isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }], onEscapeKey: [{
58732
+ type: HostListener,
58733
+ args: ['document:keydown.escape']
58734
+ }] }); })();
58735
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricReportModalComponent, { className: "MetricReportModalComponent", filePath: "lib/components/revenue-calculator-dashboard/metric-report-modal.component.ts", lineNumber: 416 }); })();
58610
58736
 
58611
58737
  const _c0$q = ["absoluteInputRef"];
58612
58738
  const _c1$b = ["percentageInputRef"];