@eric-emg/symphiq-components 1.2.96 → 1.2.97

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.
@@ -10365,7 +10365,7 @@ function ModalComponent_Conditional_0_Conditional_21_For_4_Template(rf, ctx) { i
10365
10365
  const metric_r7 = ctx.$implicit;
10366
10366
  const $index_r9 = ctx.$index;
10367
10367
  const ctx_r1 = i0.ɵɵnextContext(3);
10368
- i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "bg-slate-50 hover:bg-slate-100 border-slate-200" : "bg-slate-900/30 hover:bg-slate-900/50 border-slate-700/50")("libSymphiqTooltip", ctx_r1.getMetricTooltip(metric_r7))("tooltipPosition", "top");
10368
+ i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "bg-slate-50 hover:bg-slate-100 border-slate-200" : "bg-slate-900/30 hover:bg-slate-900/50 border-slate-700/50");
10369
10369
  i0.ɵɵadvance(2);
10370
10370
  i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-700 group-hover:text-slate-900" : "text-slate-300 group-hover:text-white");
10371
10371
  i0.ɵɵadvance();
@@ -10385,7 +10385,7 @@ function ModalComponent_Conditional_0_Conditional_21_Template(rf, ctx) { if (rf
10385
10385
  i0.ɵɵelementStart(0, "div", 20);
10386
10386
  i0.ɵɵconditionalCreate(1, ModalComponent_Conditional_0_Conditional_21_Conditional_1_Template, 14, 8, "div", 19);
10387
10387
  i0.ɵɵelementStart(2, "div", 19);
10388
- i0.ɵɵrepeaterCreate(3, ModalComponent_Conditional_0_Conditional_21_For_4_Template, 12, 10, "button", 37, i0.ɵɵrepeaterTrackByIndex);
10388
+ i0.ɵɵrepeaterCreate(3, ModalComponent_Conditional_0_Conditional_21_For_4_Template, 12, 8, "button", 37, i0.ɵɵrepeaterTrackByIndex);
10389
10389
  i0.ɵɵelementEnd()();
10390
10390
  } if (rf & 2) {
10391
10391
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -10430,28 +10430,28 @@ function ModalComponent_Conditional_0_Conditional_22_Conditional_1_Template(rf,
10430
10430
  i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-700" : "text-slate-300");
10431
10431
  } }
10432
10432
  function ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_9_Template(rf, ctx) { if (rf & 1) {
10433
- i0.ɵɵelement(0, "symphiq-line-chart", 59);
10433
+ i0.ɵɵelement(0, "symphiq-line-chart", 60);
10434
10434
  } if (rf & 2) {
10435
10435
  const chart_r11 = i0.ɵɵnextContext().$implicit;
10436
10436
  const ctx_r1 = i0.ɵɵnextContext(3);
10437
10437
  i0.ɵɵproperty("chart", chart_r11)("viewMode", ctx_r1.viewMode())("showAxisLabels", false);
10438
10438
  } }
10439
10439
  function ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_10_Template(rf, ctx) { if (rf & 1) {
10440
- i0.ɵɵelement(0, "symphiq-bar-chart", 59);
10440
+ i0.ɵɵelement(0, "symphiq-bar-chart", 60);
10441
10441
  } if (rf & 2) {
10442
10442
  const chart_r11 = i0.ɵɵnextContext().$implicit;
10443
10443
  const ctx_r1 = i0.ɵɵnextContext(3);
10444
10444
  i0.ɵɵproperty("chart", chart_r11)("viewMode", ctx_r1.viewMode())("showAxisLabels", false);
10445
10445
  } }
10446
10446
  function ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_11_Template(rf, ctx) { if (rf & 1) {
10447
- i0.ɵɵelement(0, "symphiq-pie-chart", 59);
10447
+ i0.ɵɵelement(0, "symphiq-pie-chart", 60);
10448
10448
  } if (rf & 2) {
10449
10449
  const chart_r11 = i0.ɵɵnextContext().$implicit;
10450
10450
  const ctx_r1 = i0.ɵɵnextContext(3);
10451
10451
  i0.ɵɵproperty("chart", chart_r11)("viewMode", ctx_r1.viewMode())("showAxisLabels", false);
10452
10452
  } }
10453
10453
  function ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_12_Template(rf, ctx) { if (rf & 1) {
10454
- i0.ɵɵelement(0, "symphiq-area-chart", 59);
10454
+ i0.ɵɵelement(0, "symphiq-area-chart", 60);
10455
10455
  } if (rf & 2) {
10456
10456
  const chart_r11 = i0.ɵɵnextContext().$implicit;
10457
10457
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -10461,17 +10461,17 @@ function ModalComponent_Conditional_0_Conditional_22_For_4_Template(rf, ctx) { i
10461
10461
  const _r10 = i0.ɵɵgetCurrentView();
10462
10462
  i0.ɵɵelementStart(0, "button", 54);
10463
10463
  i0.ɵɵlistener("click", function ModalComponent_Conditional_0_Conditional_22_For_4_Template_button_click_0_listener() { const chart_r11 = i0.ɵɵrestoreView(_r10).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.openChartModalFromList(chart_r11)); });
10464
- i0.ɵɵelementStart(1, "div", 55)(2, "div", 43)(3, "h5", 56);
10464
+ i0.ɵɵelementStart(1, "div", 55)(2, "div", 56)(3, "h5", 57);
10465
10465
  i0.ɵɵtext(4);
10466
10466
  i0.ɵɵelementEnd();
10467
10467
  i0.ɵɵelementStart(5, "p", 39);
10468
10468
  i0.ɵɵtext(6);
10469
10469
  i0.ɵɵelementEnd()();
10470
- i0.ɵɵelementStart(7, "div", 57)(8, "div", 58);
10471
- i0.ɵɵconditionalCreate(9, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_9_Template, 1, 3, "symphiq-line-chart", 59);
10472
- i0.ɵɵconditionalCreate(10, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_10_Template, 1, 3, "symphiq-bar-chart", 59);
10473
- i0.ɵɵconditionalCreate(11, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_11_Template, 1, 3, "symphiq-pie-chart", 59);
10474
- i0.ɵɵconditionalCreate(12, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_12_Template, 1, 3, "symphiq-area-chart", 59);
10470
+ i0.ɵɵelementStart(7, "div", 58)(8, "div", 59);
10471
+ i0.ɵɵconditionalCreate(9, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_9_Template, 1, 3, "symphiq-line-chart", 60);
10472
+ i0.ɵɵconditionalCreate(10, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_10_Template, 1, 3, "symphiq-bar-chart", 60);
10473
+ i0.ɵɵconditionalCreate(11, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_11_Template, 1, 3, "symphiq-pie-chart", 60);
10474
+ i0.ɵɵconditionalCreate(12, ModalComponent_Conditional_0_Conditional_22_For_4_Conditional_12_Template, 1, 3, "symphiq-area-chart", 60);
10475
10475
  i0.ɵɵelementEnd();
10476
10476
  i0.ɵɵnamespaceSVG();
10477
10477
  i0.ɵɵelementStart(13, "svg", 35);
@@ -10551,10 +10551,10 @@ function ModalComponent_Conditional_0_Conditional_23_Conditional_1_Template(rf,
10551
10551
  i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-700" : "text-slate-300");
10552
10552
  } }
10553
10553
  function ModalComponent_Conditional_0_Conditional_23_For_4_Template(rf, ctx) { if (rf & 1) {
10554
- i0.ɵɵelementStart(0, "div", 60);
10554
+ i0.ɵɵelementStart(0, "div", 61);
10555
10555
  i0.ɵɵnamespaceSVG();
10556
- i0.ɵɵelementStart(1, "svg", 61);
10557
- i0.ɵɵelement(2, "path", 62);
10556
+ i0.ɵɵelementStart(1, "svg", 62);
10557
+ i0.ɵɵelement(2, "path", 63);
10558
10558
  i0.ɵɵelementEnd();
10559
10559
  i0.ɵɵnamespaceHTML();
10560
10560
  i0.ɵɵelementStart(3, "span", 39);
@@ -10573,7 +10573,7 @@ function ModalComponent_Conditional_0_Conditional_23_Template(rf, ctx) { if (rf
10573
10573
  i0.ɵɵelementStart(0, "div", 20);
10574
10574
  i0.ɵɵconditionalCreate(1, ModalComponent_Conditional_0_Conditional_23_Conditional_1_Template, 14, 8, "div", 19);
10575
10575
  i0.ɵɵelementStart(2, "div", 19);
10576
- i0.ɵɵrepeaterCreate(3, ModalComponent_Conditional_0_Conditional_23_For_4_Template, 5, 3, "div", 60, i0.ɵɵrepeaterTrackByIndex);
10576
+ i0.ɵɵrepeaterCreate(3, ModalComponent_Conditional_0_Conditional_23_For_4_Template, 5, 3, "div", 61, i0.ɵɵrepeaterTrackByIndex);
10577
10577
  i0.ɵɵelementEnd()();
10578
10578
  } if (rf & 2) {
10579
10579
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -10595,13 +10595,13 @@ function ModalComponent_Conditional_0_Conditional_24_Conditional_1_Template(rf,
10595
10595
  i0.ɵɵelementStart(9, "p", 39);
10596
10596
  i0.ɵɵtext(10);
10597
10597
  i0.ɵɵelementEnd()();
10598
- i0.ɵɵelementStart(11, "div", 40)(12, "div", 64);
10598
+ i0.ɵɵelementStart(11, "div", 40)(12, "div", 65);
10599
10599
  i0.ɵɵnamespaceSVG();
10600
- i0.ɵɵelementStart(13, "svg", 65);
10601
- i0.ɵɵelement(14, "path", 66);
10600
+ i0.ɵɵelementStart(13, "svg", 66);
10601
+ i0.ɵɵelement(14, "path", 67);
10602
10602
  i0.ɵɵelementEnd();
10603
10603
  i0.ɵɵnamespaceHTML();
10604
- i0.ɵɵelementStart(15, "h4", 67);
10604
+ i0.ɵɵelementStart(15, "h4", 68);
10605
10605
  i0.ɵɵtext(16, "Industry Context");
10606
10606
  i0.ɵɵelementEnd()()()();
10607
10607
  } if (rf & 2) {
@@ -10628,7 +10628,7 @@ function ModalComponent_Conditional_0_Conditional_24_Conditional_1_Template(rf,
10628
10628
  function ModalComponent_Conditional_0_Conditional_24_Template(rf, ctx) { if (rf & 1) {
10629
10629
  i0.ɵɵelementStart(0, "div", 20);
10630
10630
  i0.ɵɵconditionalCreate(1, ModalComponent_Conditional_0_Conditional_24_Conditional_1_Template, 17, 9, "div", 19);
10631
- i0.ɵɵelementStart(2, "div", 63)(3, "p", 39);
10631
+ i0.ɵɵelementStart(2, "div", 64)(3, "p", 39);
10632
10632
  i0.ɵɵtext(4);
10633
10633
  i0.ɵɵelementEnd()()();
10634
10634
  } if (rf & 2) {
@@ -10644,10 +10644,10 @@ function ModalComponent_Conditional_0_Conditional_24_Template(rf, ctx) { if (rf
10644
10644
  } }
10645
10645
  function ModalComponent_Conditional_0_Conditional_26_Template(rf, ctx) { if (rf & 1) {
10646
10646
  const _r13 = i0.ɵɵgetCurrentView();
10647
- i0.ɵɵelementStart(0, "button", 68);
10647
+ i0.ɵɵelementStart(0, "button", 69);
10648
10648
  i0.ɵɵlistener("click", function ModalComponent_Conditional_0_Conditional_26_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.goBack()); });
10649
10649
  i0.ɵɵnamespaceSVG();
10650
- i0.ɵɵelementStart(1, "svg", 69);
10650
+ i0.ɵɵelementStart(1, "svg", 70);
10651
10651
  i0.ɵɵelement(2, "path", 24);
10652
10652
  i0.ɵɵelementEnd();
10653
10653
  i0.ɵɵnamespaceHTML();
@@ -10660,7 +10660,7 @@ function ModalComponent_Conditional_0_Conditional_26_Template(rf, ctx) { if (rf
10660
10660
  } }
10661
10661
  function ModalComponent_Conditional_0_Conditional_27_Template(rf, ctx) { if (rf & 1) {
10662
10662
  const _r14 = i0.ɵɵgetCurrentView();
10663
- i0.ɵɵelementStart(0, "button", 70);
10663
+ i0.ɵɵelementStart(0, "button", 71);
10664
10664
  i0.ɵɵlistener("click", function ModalComponent_Conditional_0_Conditional_27_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeModal()); });
10665
10665
  i0.ɵɵtext(1, " Close ");
10666
10666
  i0.ɵɵelementEnd();
@@ -10749,9 +10749,6 @@ function ModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
10749
10749
  i0.ɵɵconditional(ctx_r1.hasPreviousState() ? 26 : 27);
10750
10750
  } }
10751
10751
  class ModalComponent {
10752
- getMetricTooltip(metric) {
10753
- return this.tooltipDataService.extractMetricTooltipData(metric);
10754
- }
10755
10752
  constructor() {
10756
10753
  this.isLightMode = input(false, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
10757
10754
  this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
@@ -10940,7 +10937,6 @@ class ModalComponent {
10940
10937
  this.expandedSection = computed(() => this.modalStateSignal().expandedSection, ...(ngDevMode ? [{ debugName: "expandedSection" }] : []));
10941
10938
  this.modalTitle = computed(() => this.computeModalTitle(), ...(ngDevMode ? [{ debugName: "modalTitle" }] : []));
10942
10939
  this.modalService = inject(ModalService);
10943
- this.tooltipDataService = inject(TooltipDataService);
10944
10940
  // Subscribe to modal state changes with automatic cleanup
10945
10941
  this.modalService.modalState$
10946
10942
  .pipe(takeUntilDestroyed())
@@ -11232,11 +11228,11 @@ class ModalComponent {
11232
11228
  });
11233
11229
  }
11234
11230
  static { this.ɵfac = function ModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalComponent)(); }; }
11235
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalComponent, selectors: [["symphiq-funnel-analysis-modal"]], inputs: { isLightMode: [1, "isLightMode"], viewMode: [1, "viewMode"] }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "z-50", "overflow-y-auto"], [1, "fixed", "inset-0", "z-50", "overflow-y-auto", 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", "z-40", "backdrop-blur-md", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "z-50", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "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-center", "gap-3"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "ngClass"], [1, "flex-shrink-0", 3, "class", "animate-pulse"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 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", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [3, "insight", "allMetrics", "charts", "allCharts", "isLightMode", "isInModal", "currentModalState"], [3, "metric", "insights", "charts", "allCharts", "isLightMode", "isInModal", "currentModalState", "initialExpandedSection"], [1, "chart-modal-content"], [1, "space-y-3"], [1, "space-y-5"], [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]", "cursor-pointer", "flex", "items-center", "justify-center", "gap-2", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "flex-shrink-0"], [1, "text-sm", "mb-4", 3, "ngClass"], [1, "min-h-[500px]"], [3, "chart", "showAxisLabels", "viewMode"], [1, "flex", "items-center", "justify-center", "py-12"], [1, "animate-spin", "rounded-full", "h-8", "w-8", 3, "ngClass"], [1, "w-full", "text-left", "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "ngClass"], [1, "w-full", "text-left", "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "click", "ngClass"], [1, "inline-flex", "items-center", "justify-center", "w-8", "h-8", "rounded-full", "text-sm", "font-bold", "flex-shrink-0", 3, "ngClass"], [1, "text-base", "font-medium", "transition-colors", "flex-1", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "group-hover:text-blue-400", "transition-colors", "flex-shrink-0", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], ["tooltipType", "metric", 1, "w-full", "text-left", "flex", "flex-col", "sm:flex-row", "items-start", "sm:items-center", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "ngClass", "libSymphiqTooltip", "tooltipPosition"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wide", "mb-2", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "border-t", "pt-4", 3, "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wide", "mb-3", 3, "ngClass"], ["tooltipType", "metric", 1, "w-full", "text-left", "flex", "flex-col", "sm:flex-row", "items-start", "sm:items-center", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "click", "ngClass", "libSymphiqTooltip", "tooltipPosition"], [1, "flex-1", "min-w-0"], [1, "text-base", "font-medium", "transition-colors", "mb-1", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "flex-shrink-0"], [1, "flex", "items-baseline", "gap-2"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "text-sm", "font-semibold", "flex", "items-center", "gap-1", 3, "class"], [1, "text-sm", "font-semibold", "flex", "items-center", "gap-1"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z", "clip-rule", "evenodd"], [1, "w-full", "text-left", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "hover:shadow-lg", "active:scale-[0.99]", 3, "ngClass"], [1, "w-full", "text-left", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "hover:shadow-lg", "active:scale-[0.99]", 3, "click", "ngClass"], [1, "flex", "flex-col", "sm:flex-row", "items-start", "gap-4"], [1, "text-base", "font-semibold", "mb-1", "transition-colors", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "w-full", "sm:w-auto", "sm:flex-shrink-0"], [1, "rounded-md", "border", "overflow-hidden", "w-full", "sm:w-32", "h-20", 3, "ngClass"], [3, "chart", "viewMode", "showAxisLabels"], [1, "w-full", "text-left", "flex", "items-start", "gap-3", "p-4", "rounded-lg", "border", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-emerald-400", "flex-shrink-0", "mt-0.5"], ["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"], [1, "p-4", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mb-3"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wide", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", "flex", "items-center", "justify-center", "gap-2", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "click", "ngClass"]], template: function ModalComponent_Template(rf, ctx) { if (rf & 1) {
11231
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalComponent, selectors: [["symphiq-funnel-analysis-modal"]], inputs: { isLightMode: [1, "isLightMode"], viewMode: [1, "viewMode"] }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "z-50", "overflow-y-auto"], [1, "fixed", "inset-0", "z-50", "overflow-y-auto", 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", "z-40", "backdrop-blur-md", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "z-50", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "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-center", "gap-3"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "ngClass"], [1, "flex-shrink-0", 3, "class", "animate-pulse"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 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", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [3, "insight", "allMetrics", "charts", "allCharts", "isLightMode", "isInModal", "currentModalState"], [3, "metric", "insights", "charts", "allCharts", "isLightMode", "isInModal", "currentModalState", "initialExpandedSection"], [1, "chart-modal-content"], [1, "space-y-3"], [1, "space-y-5"], [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]", "cursor-pointer", "flex", "items-center", "justify-center", "gap-2", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "flex-shrink-0"], [1, "text-sm", "mb-4", 3, "ngClass"], [1, "min-h-[500px]"], [3, "chart", "showAxisLabels", "viewMode"], [1, "flex", "items-center", "justify-center", "py-12"], [1, "animate-spin", "rounded-full", "h-8", "w-8", 3, "ngClass"], [1, "w-full", "text-left", "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "ngClass"], [1, "w-full", "text-left", "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "click", "ngClass"], [1, "inline-flex", "items-center", "justify-center", "w-8", "h-8", "rounded-full", "text-sm", "font-bold", "flex-shrink-0", 3, "ngClass"], [1, "text-base", "font-medium", "transition-colors", "flex-1", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "group-hover:text-blue-400", "transition-colors", "flex-shrink-0", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "w-full", "text-left", "grid", "grid-cols-1", "sm:grid-cols-[1fr_auto]", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wide", "mb-2", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "border-t", "pt-4", 3, "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wide", "mb-3", 3, "ngClass"], [1, "w-full", "text-left", "grid", "grid-cols-1", "sm:grid-cols-[1fr_auto]", "gap-3", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "click", "ngClass"], [1, "min-w-0"], [1, "text-base", "font-medium", "transition-colors", "mb-1", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "min-w-[260px]", "justify-end"], [1, "flex", "items-baseline", "gap-2"], [1, "text-2xl", "font-bold", "tabular-nums", 3, "ngClass"], [1, "text-sm", "font-semibold", "flex", "items-center", "gap-1", "tabular-nums", 3, "class"], [1, "text-sm", "font-semibold", "flex", "items-center", "gap-1", "tabular-nums"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z", "clip-rule", "evenodd"], [1, "w-full", "text-left", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "hover:shadow-lg", "active:scale-[0.99]", 3, "ngClass"], [1, "w-full", "text-left", "p-4", "rounded-lg", "border", "hover:border-blue-500/50", "transition-all", "cursor-pointer", "group", "hover:scale-[1.01]", "hover:shadow-lg", "active:scale-[0.99]", 3, "click", "ngClass"], [1, "flex", "flex-col", "sm:flex-row", "items-start", "gap-4"], [1, "flex-1", "min-w-0"], [1, "text-base", "font-semibold", "mb-1", "transition-colors", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "w-full", "sm:w-auto", "sm:flex-shrink-0"], [1, "rounded-md", "border", "overflow-hidden", "w-full", "sm:w-32", "h-20", 3, "ngClass"], [3, "chart", "viewMode", "showAxisLabels"], [1, "w-full", "text-left", "flex", "items-start", "gap-3", "p-4", "rounded-lg", "border", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-emerald-400", "flex-shrink-0", "mt-0.5"], ["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"], [1, "p-4", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mb-3"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wide", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", "flex", "items-center", "justify-center", "gap-2", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", "cursor-pointer", 3, "click", "ngClass"]], template: function ModalComponent_Template(rf, ctx) { if (rf & 1) {
11236
11232
  i0.ɵɵconditionalCreate(0, ModalComponent_Conditional_0_Template, 28, 29, "div", 0);
11237
11233
  } if (rf & 2) {
11238
11234
  i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
11239
- } }, dependencies: [CommonModule, i1$1.NgClass, InsightCardComponent, MetricCardComponent, LineChartComponent, BarChartComponent, PieChartComponent, AreaChartComponent, TooltipDirective], encapsulation: 2, data: { animation: [
11235
+ } }, dependencies: [CommonModule, i1$1.NgClass, InsightCardComponent, MetricCardComponent, LineChartComponent, BarChartComponent, PieChartComponent, AreaChartComponent], encapsulation: 2, data: { animation: [
11240
11236
  trigger('fadeIn', [
11241
11237
  transition(':enter', [
11242
11238
  style({ opacity: 0 }),
@@ -11257,7 +11253,7 @@ class ModalComponent {
11257
11253
  selector: 'symphiq-funnel-analysis-modal',
11258
11254
  standalone: true,
11259
11255
  changeDetection: ChangeDetectionStrategy.OnPush,
11260
- imports: [CommonModule, InsightCardComponent, MetricCardComponent, LineChartComponent, BarChartComponent, PieChartComponent, AreaChartComponent, TooltipDirective],
11256
+ imports: [CommonModule, InsightCardComponent, MetricCardComponent, LineChartComponent, BarChartComponent, PieChartComponent, AreaChartComponent],
11261
11257
  animations: [
11262
11258
  trigger('fadeIn', [
11263
11259
  transition(':enter', [
@@ -11435,23 +11431,20 @@ class ModalComponent {
11435
11431
  <button
11436
11432
  (click)="openMetricModalFromList(metric)"
11437
11433
  [ngClass]="isLightMode() ? 'bg-slate-50 hover:bg-slate-100 border-slate-200' : 'bg-slate-900/30 hover:bg-slate-900/50 border-slate-700/50'"
11438
- class="w-full text-left flex flex-col sm:flex-row items-start sm:items-center gap-3 p-4 rounded-lg border hover:border-blue-500/50 transition-all cursor-pointer group hover:scale-[1.01] active:scale-[0.99]"
11439
- [libSymphiqTooltip]="getMetricTooltip(metric)"
11440
- tooltipType="metric"
11441
- [tooltipPosition]="'top'">
11442
- <div class="flex-1 min-w-0">
11434
+ class="w-full text-left grid grid-cols-1 sm:grid-cols-[1fr_auto] gap-3 p-4 rounded-lg border hover:border-blue-500/50 transition-all cursor-pointer group hover:scale-[1.01] active:scale-[0.99]">
11435
+ <div class="min-w-0">
11443
11436
  <div [ngClass]="isLightMode() ? 'text-slate-700 group-hover:text-slate-900' : 'text-slate-300 group-hover:text-white'" class="text-base font-medium transition-colors mb-1">{{ formatMetricName(metric.metric || 'UNKNOWN') }}</div>
11444
11437
  @if (metric.description) {
11445
11438
  <p [ngClass]="isLightMode() ? 'text-slate-600' : 'text-slate-400'" class="text-sm leading-relaxed">{{ metric.description }}</p>
11446
11439
  }
11447
11440
  </div>
11448
- <div class="flex items-center gap-3 flex-shrink-0">
11441
+ <div class="flex items-center gap-3 min-w-[260px] justify-end">
11449
11442
  <div class="flex items-baseline gap-2">
11450
- <span [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-2xl font-bold">
11443
+ <span [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-2xl font-bold tabular-nums">
11451
11444
  {{ formatAnimatedMetricValue(metric, getAnimatedMetricValue($index)) }}
11452
11445
  </span>
11453
11446
  @if (metric.trendPercent !== undefined && metric.trendPercent !== null) {
11454
- <span [class]="getMetricTrendClass(metric)" class="text-sm font-semibold flex items-center gap-1">
11447
+ <span [class]="getMetricTrendClass(metric)" class="text-sm font-semibold flex items-center gap-1 tabular-nums">
11455
11448
  @if (metric.trendDirection === 'UP') {
11456
11449
  <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
11457
11450
  <path fill-rule="evenodd" d="M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z" clip-rule="evenodd" />
@@ -11620,7 +11613,7 @@ class ModalComponent {
11620
11613
  `,
11621
11614
  }]
11622
11615
  }], () => [], { isLightMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLightMode", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }] }); })();
11623
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalComponent, { className: "ModalComponent", filePath: "lib/components/funnel-analysis-dashboard/modal.component.ts", lineNumber: 383 }); })();
11616
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalComponent, { className: "ModalComponent", filePath: "lib/components/funnel-analysis-dashboard/modal.component.ts", lineNumber: 378 }); })();
11624
11617
 
11625
11618
  function MetricValueTooltipComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
11626
11619
  i0.ɵɵelementStart(0, "div", 2);