@eric-emg/symphiq-components 1.2.37 → 1.2.39

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.
@@ -21289,7 +21289,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
21289
21289
  ];
21290
21290
  // Computed signals (automatically memoized)
21291
21291
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
21292
- this.performanceOverview = computed(() => normalizeToV3(this.funnelAnalysis().performanceOverviewStructured), ...(ngDevMode ? [{ debugName: "performanceOverview" }] : []));
21292
+ this.performanceOverview = computed(() => normalizeToV3(this.funnelAnalysis()?.performanceOverviewStructured), ...(ngDevMode ? [{ debugName: "performanceOverview" }] : []));
21293
21293
  // Derived data signals
21294
21294
  this.insights = computed(() => {
21295
21295
  const overview = this.performanceOverview();
@@ -22221,7 +22221,9 @@ class SymphiqFunnelAnalysisDashboardComponent {
22221
22221
  i0.ɵɵlistener("navigate", function SymphiqFunnelAnalysisDashboardComponent_Template_symphiq_mobile_bottom_nav_navigate_87_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMobileNavigation($event)); });
22222
22222
  i0.ɵɵelementEnd()();
22223
22223
  } if (rf & 2) {
22224
+ let tmp_21_0;
22224
22225
  let tmp_36_0;
22226
+ let tmp_43_0;
22225
22227
  i0.ɵɵstyleProp("display", ctx.embedded() ? "block" : null)("min-height", ctx.embedded() ? "auto" : null);
22226
22228
  i0.ɵɵclassProp("min-h-screen", !ctx.embedded())("relative", !ctx.embedded());
22227
22229
  i0.ɵɵadvance(2);
@@ -22248,7 +22250,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
22248
22250
  i0.ɵɵadvance();
22249
22251
  i0.ɵɵclassProp("pointer-events-none", ctx.isScrolled())("pointer-events-auto", !ctx.isScrolled());
22250
22252
  i0.ɵɵadvance(5);
22251
- i0.ɵɵtextInterpolate(ctx.funnelAnalysis().title);
22253
+ i0.ɵɵtextInterpolate((tmp_21_0 = ctx.funnelAnalysis()) == null ? null : tmp_21_0.title);
22252
22254
  i0.ɵɵadvance();
22253
22255
  i0.ɵɵconditional(ctx.isLoading() && !ctx.isShowingLoader() ? 19 : -1);
22254
22256
  i0.ɵɵadvance(2);
@@ -22283,7 +22285,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
22283
22285
  i0.ɵɵadvance();
22284
22286
  i0.ɵɵclassProp("pointer-events-none", !ctx.isScrolled())("pointer-events-auto", ctx.isScrolled());
22285
22287
  i0.ɵɵadvance(4);
22286
- i0.ɵɵtextInterpolate(ctx.funnelAnalysis().title);
22288
+ i0.ɵɵtextInterpolate((tmp_43_0 = ctx.funnelAnalysis()) == null ? null : tmp_43_0.title);
22287
22289
  i0.ɵɵadvance();
22288
22290
  i0.ɵɵconditional(ctx.revenueMetric() ? 57 : -1);
22289
22291
  i0.ɵɵadvance(2);
@@ -22429,7 +22431,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
22429
22431
  <div class="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3 sm:gap-0">
22430
22432
  <div class="flex-1">
22431
22433
  <div class="flex items-center gap-3">
22432
- <h1 class="text-2xl sm:text-3xl font-bold mb-2 bg-gradient-to-r from-blue-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent">{{funnelAnalysis().title}}</h1>
22434
+ <h1 class="text-2xl sm:text-3xl font-bold mb-2 bg-gradient-to-r from-blue-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent">{{funnelAnalysis()?.title}}</h1>
22433
22435
  @if (isLoading() && !isShowingLoader()) {
22434
22436
  <!-- Subtle refresh indicator -->
22435
22437
  <div class="animate-spin w-4 h-4 border-2 border-blue-500/30 border-t-blue-500 rounded-full" title="Refreshing data..."></div>
@@ -22514,7 +22516,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
22514
22516
  [class.pointer-events-auto]="isScrolled()">
22515
22517
  <div class="flex items-center justify-between gap-4">
22516
22518
  <div class="flex items-center gap-4 flex-1 min-w-0">
22517
- <h1 class="text-lg font-bold truncate bg-gradient-to-r from-blue-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent">{{funnelAnalysis().title}}</h1>
22519
+ <h1 class="text-lg font-bold truncate bg-gradient-to-r from-blue-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent">{{funnelAnalysis()?.title}}</h1>
22518
22520
  @if (revenueMetric()) {
22519
22521
  <div class="hidden lg:flex items-center gap-3 px-4 py-1.5 rounded-lg" [ngClass]="isLightMode() ? 'bg-emerald-50 border border-emerald-200' : 'bg-emerald-500/10 border border-emerald-500/20'">
22520
22522
  <span [class]="metaLabelClass()" class="text-xs font-medium">Revenue:</span>