@eric-emg/symphiq-components 1.2.127 → 1.2.128

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.
@@ -73269,14 +73269,22 @@ class SymphiqProfileAnalysisDashboardComponent {
73269
73269
  this.embeddedScrollEffect = effect(() => {
73270
73270
  const scrollEvent = this.scrollEvent();
73271
73271
  const isEmbedded = this.embedded();
73272
+ console.log('[ProfileAnalysis] embeddedScrollEffect triggered', {
73273
+ isEmbedded,
73274
+ hasScrollEvent: !!scrollEvent,
73275
+ scrollEventDetail: scrollEvent?.detail
73276
+ });
73272
73277
  if (isEmbedded && !scrollEvent) {
73278
+ console.log('[ProfileAnalysis] Early return: embedded but no scrollEvent');
73273
73279
  return;
73274
73280
  }
73275
73281
  if (!scrollEvent || !isEmbedded) {
73282
+ console.log('[ProfileAnalysis] Early return: no scrollEvent or not embedded');
73276
73283
  return;
73277
73284
  }
73278
73285
  const detail = scrollEvent.detail;
73279
73286
  if (!detail) {
73287
+ console.log('[ProfileAnalysis] Early return: no detail in scrollEvent');
73280
73288
  return;
73281
73289
  }
73282
73290
  const scrollTop = detail.scrollTop || 0;
@@ -73288,14 +73296,27 @@ class SymphiqProfileAnalysisDashboardComponent {
73288
73296
  this.headerScrollService.isScrolled.set(false);
73289
73297
  }
73290
73298
  const scrollElement = this.scrollElement();
73299
+ console.log('[ProfileAnalysis] Scroll progress calculation', {
73300
+ scrollTop,
73301
+ hasScrollElement: !!scrollElement,
73302
+ scrollHeight: scrollElement?.scrollHeight,
73303
+ clientHeight: scrollElement?.clientHeight
73304
+ });
73291
73305
  if (scrollElement) {
73292
73306
  const scrollHeight = scrollElement.scrollHeight || 0;
73293
73307
  const clientHeight = scrollElement.clientHeight || 0;
73294
73308
  const maxScroll = scrollHeight - clientHeight;
73295
73309
  if (maxScroll > 0) {
73296
73310
  const progress = (scrollTop / maxScroll) * 100;
73311
+ console.log('[ProfileAnalysis] Setting scrollProgress', { maxScroll, progress: Math.min(100, Math.max(0, progress)) });
73297
73312
  this.scrollProgress.set(Math.min(100, Math.max(0, progress)));
73298
73313
  }
73314
+ else {
73315
+ console.log('[ProfileAnalysis] maxScroll <= 0, not updating progress', { maxScroll });
73316
+ }
73317
+ }
73318
+ else {
73319
+ console.log('[ProfileAnalysis] No scrollElement available');
73299
73320
  }
73300
73321
  }, ...(ngDevMode ? [{ debugName: "embeddedScrollEffect" }] : []));
73301
73322
  // Signal version of funnelAnalysis for reactive computed signals
@@ -73368,8 +73389,6 @@ class SymphiqProfileAnalysisDashboardComponent {
73368
73389
  };
73369
73390
  }, ...(ngDevMode ? [{ debugName: "executiveSummary" }] : []));
73370
73391
  this.sections = computed(() => {
73371
- console.log('this.profileAnalysis()', this.profileAnalysis());
73372
- console.log('this.profileAnalysis()?.profileAnalysisStructured', this.profileAnalysis()?.profileAnalysisStructured);
73373
73392
  return this.profileAnalysis()?.profileAnalysisStructured?.sections;
73374
73393
  }, ...(ngDevMode ? [{ debugName: "sections" }] : []));
73375
73394
  this.allGoals = computed(() => {