@eric-emg/symphiq-components 1.2.406 → 1.2.407

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.
@@ -12791,6 +12791,7 @@ class ProfileContextService {
12791
12791
  break;
12792
12792
  case 'competitor-analysis':
12793
12793
  index.competitors = subsection.items || [];
12794
+ console.log('[ProfileContextService.indexProfile] Found competitor-analysis subsection, items:', index.competitors);
12794
12795
  break;
12795
12796
  }
12796
12797
  }
@@ -12838,6 +12839,7 @@ class ProfileContextService {
12838
12839
  }
12839
12840
  getCompetitorsByIds(ids) {
12840
12841
  const competitors = this.getCompetitors();
12842
+ console.log('[ProfileContextService.getCompetitorsByIds] all competitors:', competitors, 'looking for ids:', ids);
12841
12843
  return ids.map(id => competitors.find(comp => comp.id === id)).filter(Boolean);
12842
12844
  }
12843
12845
  getRecommendationsByProfileItemIds(itemIds) {
@@ -73562,7 +73564,7 @@ function PhaseTimelineCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1
73562
73564
  i0.ɵɵtext(4, " Recommendations ");
73563
73565
  i0.ɵɵelementEnd();
73564
73566
  i0.ɵɵnamespaceHTML();
73565
- i0.ɵɵelementStart(5, "div", 13);
73567
+ i0.ɵɵelementStart(5, "div", 18);
73566
73568
  i0.ɵɵrepeaterCreate(6, PhaseTimelineCardComponent_Conditional_9_For_7_Template, 4, 5, "button", 14, _forTrack0$j);
73567
73569
  i0.ɵɵelementEnd()();
73568
73570
  } if (rf & 2) {
@@ -73573,13 +73575,13 @@ function PhaseTimelineCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1
73573
73575
  i0.ɵɵrepeater(ctx_r2.recommendationObjects());
73574
73576
  } }
73575
73577
  function PhaseTimelineCardComponent_Conditional_10_For_10_Template(rf, ctx) { if (rf & 1) {
73576
- i0.ɵɵelementStart(0, "li", 23);
73578
+ i0.ɵɵelementStart(0, "li", 24);
73577
73579
  i0.ɵɵnamespaceSVG();
73578
- i0.ɵɵelementStart(1, "svg", 24);
73579
- i0.ɵɵelement(2, "path", 25);
73580
+ i0.ɵɵelementStart(1, "svg", 25);
73581
+ i0.ɵɵelement(2, "path", 26);
73580
73582
  i0.ɵɵelementEnd();
73581
73583
  i0.ɵɵnamespaceHTML();
73582
- i0.ɵɵelementStart(3, "span", 26);
73584
+ i0.ɵɵelementStart(3, "span", 27);
73583
73585
  i0.ɵɵtext(4);
73584
73586
  i0.ɵɵelementEnd()();
73585
73587
  } if (rf & 2) {
@@ -73593,16 +73595,16 @@ function PhaseTimelineCardComponent_Conditional_10_For_10_Template(rf, ctx) { if
73593
73595
  i0.ɵɵtextInterpolate(outcome_r6);
73594
73596
  } }
73595
73597
  function PhaseTimelineCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
73596
- i0.ɵɵelementStart(0, "div", 18)(1, "div", 19)(2, "div")(3, "h6", 10);
73598
+ i0.ɵɵelementStart(0, "div", 19)(1, "div", 20)(2, "div")(3, "h6", 10);
73597
73599
  i0.ɵɵnamespaceSVG();
73598
73600
  i0.ɵɵelementStart(4, "svg", 11);
73599
- i0.ɵɵelement(5, "path", 20);
73601
+ i0.ɵɵelement(5, "path", 21);
73600
73602
  i0.ɵɵelementEnd();
73601
73603
  i0.ɵɵtext(6, " Expected Outcomes ");
73602
73604
  i0.ɵɵelementEnd();
73603
73605
  i0.ɵɵnamespaceHTML();
73604
- i0.ɵɵelementStart(7, "div", 21)(8, "ul", 22);
73605
- i0.ɵɵrepeaterCreate(9, PhaseTimelineCardComponent_Conditional_10_For_10_Template, 5, 3, "li", 23, i0.ɵɵrepeaterTrackByIndex);
73606
+ i0.ɵɵelementStart(7, "div", 22)(8, "ul", 23);
73607
+ i0.ɵɵrepeaterCreate(9, PhaseTimelineCardComponent_Conditional_10_For_10_Template, 5, 3, "li", 24, i0.ɵɵrepeaterTrackByIndex);
73606
73608
  i0.ɵɵelementEnd()()()()();
73607
73609
  } if (rf & 2) {
73608
73610
  const ctx_r2 = i0.ɵɵnextContext();
@@ -73616,14 +73618,14 @@ function PhaseTimelineCardComponent_Conditional_10_Template(rf, ctx) { if (rf &
73616
73618
  } }
73617
73619
  function PhaseTimelineCardComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
73618
73620
  const _r7 = i0.ɵɵgetCurrentView();
73619
- i0.ɵɵelementStart(0, "div", 27);
73621
+ i0.ɵɵelementStart(0, "div", 28);
73620
73622
  i0.ɵɵlistener("click", function PhaseTimelineCardComponent_Conditional_11_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleExpanded($event)); });
73621
- i0.ɵɵelementStart(1, "span", 28);
73623
+ i0.ɵɵelementStart(1, "span", 29);
73622
73624
  i0.ɵɵtext(2);
73623
73625
  i0.ɵɵelementEnd();
73624
73626
  i0.ɵɵnamespaceSVG();
73625
- i0.ɵɵelementStart(3, "svg", 29);
73626
- i0.ɵɵelement(4, "path", 30);
73627
+ i0.ɵɵelementStart(3, "svg", 30);
73628
+ i0.ɵɵelement(4, "path", 31);
73627
73629
  i0.ɵɵelementEnd()();
73628
73630
  } if (rf & 2) {
73629
73631
  const ctx_r2 = i0.ɵɵnextContext();
@@ -73800,7 +73802,7 @@ class PhaseTimelineCardComponent {
73800
73802
  this.modalService.navigateToBusinessInsightDetail(recommendation, goalContext, this.viewMode());
73801
73803
  }
73802
73804
  static { this.ɵfac = function PhaseTimelineCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PhaseTimelineCardComponent)(); }; }
73803
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PhaseTimelineCardComponent, selectors: [["symphiq-phase-timeline-card"]], inputs: { phase: [1, "phase"], viewMode: [1, "viewMode"], isLast: [1, "isLast"], allGoals: [1, "allGoals"] }, decls: 12, vars: 12, consts: [[1, "rounded-lg", "p-5", "relative", 3, "click", "ngClass"], [1, "flex", "items-start", "gap-4", "relative"], [1, "z-10", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"], [1, "flex-1"], [1, "font-bold", "text-lg", "mb-4", 3, "ngClass"], [1, "mb-4"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out", 3, "grid-template-rows"], [1, "flex", "items-center", "gap-2", "mt-3", "cursor-pointer"], [1, "text-sm", "font-semibold", "mb-2", "flex", "items-center", "gap-2", 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", "M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"], [1, "flex", "flex-wrap", "gap-2"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", "hover:shadow-md", 3, "ngClass"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", "hover:shadow-md", 3, "click", "ngClass"], ["size", "w-3.5 h-3.5", 1, "flex-shrink-0", "opacity-60", 3, "icon"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out"], [1, "overflow-hidden"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "p-3", "rounded-lg", 3, "ngClass"], [1, "space-y-1.5"], [1, "flex", "items-start", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M5 13l4 4L19 7"], [1, "text-sm", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mt-3", "cursor-pointer", 3, "click"], [1, "text-sm", "font-medium", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "transition-transform", "duration-200", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 9l-7 7-7-7"]], template: function PhaseTimelineCardComponent_Template(rf, ctx) { if (rf & 1) {
73805
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PhaseTimelineCardComponent, selectors: [["symphiq-phase-timeline-card"]], inputs: { phase: [1, "phase"], viewMode: [1, "viewMode"], isLast: [1, "isLast"], allGoals: [1, "allGoals"] }, decls: 12, vars: 12, consts: [[1, "rounded-lg", "p-5", "relative", 3, "click", "ngClass"], [1, "flex", "items-start", "gap-4", "relative"], [1, "z-10", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"], [1, "flex-1"], [1, "font-bold", "text-lg", "mb-4", 3, "ngClass"], [1, "mb-4"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out", 3, "grid-template-rows"], [1, "flex", "items-center", "gap-2", "mt-3", "cursor-pointer"], [1, "text-sm", "font-semibold", "mb-2", "flex", "items-center", "gap-2", 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", "M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"], [1, "flex", "flex-wrap", "gap-2"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", "hover:shadow-md", 3, "ngClass"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", "hover:shadow-md", 3, "click", "ngClass"], ["size", "w-3.5 h-3.5", 1, "flex-shrink-0", "opacity-60", 3, "icon"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"], [1, "flex", "flex-wrap", "gap-3"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out"], [1, "overflow-hidden"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "p-3", "rounded-lg", 3, "ngClass"], [1, "space-y-1.5"], [1, "flex", "items-start", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M5 13l4 4L19 7"], [1, "text-sm", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mt-3", "cursor-pointer", 3, "click"], [1, "text-sm", "font-medium", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "transition-transform", "duration-200", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 9l-7 7-7-7"]], template: function PhaseTimelineCardComponent_Template(rf, ctx) { if (rf & 1) {
73804
73806
  i0.ɵɵelementStart(0, "div", 0);
73805
73807
  i0.ɵɵlistener("click", function PhaseTimelineCardComponent_Template_div_click_0_listener($event) { return ctx.onCardClick($event); });
73806
73808
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
@@ -73894,7 +73896,7 @@ class PhaseTimelineCardComponent {
73894
73896
  </svg>
73895
73897
  Recommendations
73896
73898
  </h6>
73897
- <div class="flex flex-wrap gap-2">
73899
+ <div class="flex flex-wrap gap-3">
73898
73900
  @for (recommendation of recommendationObjects(); track recommendation.id) {
73899
73901
  <button
73900
73902
  type="button"