@eric-emg/symphiq-components 1.2.455 → 1.2.457

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.
@@ -45566,12 +45566,39 @@ class BusinessAnalysisModalComponent {
45566
45566
  }] }); })();
45567
45567
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BusinessAnalysisModalComponent, { className: "BusinessAnalysisModalComponent", filePath: "lib/components/business-analysis-dashboard/business-analysis-modal.component.ts", lineNumber: 171 }); })();
45568
45568
 
45569
- function ContentGenerationProgressComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
45570
- i0.ɵɵelementStart(0, "div", 20);
45571
- i0.ɵɵelement(1, "div", 21)(2, "div", 22)(3, "div", 23)(4, "div", 24)(5, "div", 25)(6, "div", 26);
45572
- i0.ɵɵelementEnd();
45569
+ function ContentGenerationProgressComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
45570
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 2);
45571
+ i0.ɵɵelement(2, "div", 3);
45572
+ i0.ɵɵelementStart(3, "span", 4);
45573
+ i0.ɵɵtext(4);
45574
+ i0.ɵɵelementEnd()();
45575
+ i0.ɵɵelementStart(5, "div", 5)(6, "div", 6);
45576
+ i0.ɵɵelement(7, "div", 7);
45577
+ i0.ɵɵelementEnd()();
45578
+ i0.ɵɵelementStart(8, "div", 8);
45579
+ i0.ɵɵtext(9);
45580
+ i0.ɵɵelementEnd()();
45573
45581
  } if (rf & 2) {
45574
45582
  const ctx_r0 = i0.ɵɵnextContext();
45583
+ i0.ɵɵadvance(3);
45584
+ i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-blue-600" : "text-blue-400");
45585
+ i0.ɵɵadvance();
45586
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.progressMessage(), " ");
45587
+ i0.ɵɵadvance();
45588
+ i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "bg-slate-200" : "bg-slate-700");
45589
+ i0.ɵɵadvance();
45590
+ i0.ɵɵstyleProp("width", ctx_r0.progressPercentage(), "%");
45591
+ i0.ɵɵadvance(2);
45592
+ i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-slate-500" : "text-slate-400");
45593
+ i0.ɵɵadvance();
45594
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.progressPercentage(), "% complete ");
45595
+ } }
45596
+ function ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template(rf, ctx) { if (rf & 1) {
45597
+ i0.ɵɵelementStart(0, "div", 27);
45598
+ i0.ɵɵelement(1, "div", 28)(2, "div", 29)(3, "div", 30)(4, "div", 31)(5, "div", 32)(6, "div", 33);
45599
+ i0.ɵɵelementEnd();
45600
+ } if (rf & 2) {
45601
+ const ctx_r0 = i0.ɵɵnextContext(2);
45575
45602
  i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
45576
45603
  i0.ɵɵadvance();
45577
45604
  i0.ɵɵstyleProp("background-color", ctx_r0.dotColor());
@@ -45586,13 +45613,75 @@ function ContentGenerationProgressComponent_Conditional_20_Template(rf, ctx) { i
45586
45613
  i0.ɵɵadvance();
45587
45614
  i0.ɵɵstyleProp("background-color", ctx_r0.dotColor());
45588
45615
  } }
45589
- function ContentGenerationProgressComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
45590
- i0.ɵɵelement(0, "div", 27);
45616
+ function ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template(rf, ctx) { if (rf & 1) {
45617
+ i0.ɵɵelement(0, "div", 34);
45591
45618
  } if (rf & 2) {
45592
- const ctx_r0 = i0.ɵɵnextContext();
45619
+ const ctx_r0 = i0.ɵɵnextContext(2);
45593
45620
  i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
45594
45621
  i0.ɵɵproperty("ngClass", ctx_r0.progressGlowClasses());
45595
45622
  } }
45623
+ function ContentGenerationProgressComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
45624
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 9)(2, "div", 10)(3, "div", 11)(4, "div", 12);
45625
+ i0.ɵɵnamespaceSVG();
45626
+ i0.ɵɵelementStart(5, "svg", 13);
45627
+ i0.ɵɵelement(6, "path", 14);
45628
+ i0.ɵɵelementEnd();
45629
+ i0.ɵɵnamespaceHTML();
45630
+ i0.ɵɵelement(7, "div", 15);
45631
+ i0.ɵɵelementEnd()();
45632
+ i0.ɵɵelementStart(8, "h2", 16);
45633
+ i0.ɵɵtext(9);
45634
+ i0.ɵɵelementEnd();
45635
+ i0.ɵɵelementStart(10, "p", 17);
45636
+ i0.ɵɵtext(11);
45637
+ i0.ɵɵelementEnd()();
45638
+ i0.ɵɵelementStart(12, "div", 18)(13, "div", 19)(14, "p", 20);
45639
+ i0.ɵɵtext(15);
45640
+ i0.ɵɵelementEnd()();
45641
+ i0.ɵɵelementStart(16, "div", 21);
45642
+ i0.ɵɵelement(17, "div", 22);
45643
+ i0.ɵɵelementStart(18, "div", 23);
45644
+ i0.ɵɵelement(19, "div", 7);
45645
+ i0.ɵɵelementEnd();
45646
+ i0.ɵɵconditionalCreate(20, ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template, 7, 14, "div", 24);
45647
+ i0.ɵɵconditionalCreate(21, ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template, 1, 3, "div", 25);
45648
+ i0.ɵɵelementEnd();
45649
+ i0.ɵɵelementStart(22, "div", 19)(23, "span", 26);
45650
+ i0.ɵɵtext(24);
45651
+ i0.ɵɵelementEnd()()()()();
45652
+ } if (rf & 2) {
45653
+ const ctx_r0 = i0.ɵɵnextContext();
45654
+ i0.ɵɵproperty("ngClass", ctx_r0.containerClasses());
45655
+ i0.ɵɵadvance(4);
45656
+ i0.ɵɵproperty("ngClass", ctx_r0.iconContainerClasses());
45657
+ i0.ɵɵadvance(4);
45658
+ i0.ɵɵproperty("ngClass", ctx_r0.titleClasses());
45659
+ i0.ɵɵadvance();
45660
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.title(), " ");
45661
+ i0.ɵɵadvance();
45662
+ i0.ɵɵproperty("ngClass", ctx_r0.subtitleClasses());
45663
+ i0.ɵɵadvance();
45664
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.subtitle(), " ");
45665
+ i0.ɵɵadvance(3);
45666
+ i0.ɵɵproperty("ngClass", ctx_r0.progressMessageClasses());
45667
+ i0.ɵɵadvance();
45668
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.progressMessage(), " ");
45669
+ i0.ɵɵadvance();
45670
+ i0.ɵɵproperty("ngClass", ctx_r0.progressBarContainerClasses());
45671
+ i0.ɵɵadvance();
45672
+ i0.ɵɵproperty("ngClass", ctx_r0.progressBarBackgroundClasses());
45673
+ i0.ɵɵadvance();
45674
+ i0.ɵɵstyleProp("width", ctx_r0.progressPercentage(), "%");
45675
+ i0.ɵɵproperty("ngClass", ctx_r0.progressBarFillClasses());
45676
+ i0.ɵɵadvance(2);
45677
+ i0.ɵɵconditional(ctx_r0.progressPercentage() > 0 && ctx_r0.progressPercentage() < 100 ? 20 : -1);
45678
+ i0.ɵɵadvance();
45679
+ i0.ɵɵconditional(ctx_r0.progressPercentage() > 0 && ctx_r0.progressPercentage() < 100 ? 21 : -1);
45680
+ i0.ɵɵadvance(2);
45681
+ i0.ɵɵproperty("ngClass", ctx_r0.percentageClasses());
45682
+ i0.ɵɵadvance();
45683
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.progressPercentage(), "% complete ");
45684
+ } }
45596
45685
  class ContentGenerationProgressComponent {
45597
45686
  constructor() {
45598
45687
  this.itemStatus = input(...(ngDevMode ? [undefined, { debugName: "itemStatus" }] : []));
@@ -45600,6 +45689,7 @@ class ContentGenerationProgressComponent {
45600
45689
  this.subtitle = input('This will appear when ready. You can check back later as this will take a few minutes to complete.', ...(ngDevMode ? [{ debugName: "subtitle" }] : []));
45601
45690
  this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
45602
45691
  this.showIcon = input(true, ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
45692
+ this.compact = input(false, ...(ngDevMode ? [{ debugName: "compact" }] : []));
45603
45693
  this.progressPercentage = computed(() => {
45604
45694
  const status = this.itemStatus();
45605
45695
  if (!status?.percentageComplete) {
@@ -45673,154 +45763,109 @@ class ContentGenerationProgressComponent {
45673
45763
  }, ...(ngDevMode ? [{ debugName: "percentageClasses" }] : []));
45674
45764
  }
45675
45765
  static { this.ɵfac = function ContentGenerationProgressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContentGenerationProgressComponent)(); }; }
45676
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentGenerationProgressComponent, selectors: [["symphiq-content-generation-progress"]], inputs: { itemStatus: [1, "itemStatus"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], showIcon: [1, "showIcon"] }, decls: 25, vars: 17, consts: [[1, "min-h-[60vh]", "flex", "items-center", "justify-center", "px-4", "py-12", 3, "ngClass"], [1, "max-w-3xl", "w-full", "space-y-8"], [1, "text-center", "space-y-3"], [1, "flex", "items-center", "justify-center", "mb-4"], [1, "relative", "w-20", "h-20", "rounded-2xl", "flex", "items-center", "justify-center", "icon-pulse", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-10", "h-10"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "absolute", "inset-0", "rounded-2xl", "icon-glow"], [1, "text-3xl", "sm:text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", "sm:text-lg", "max-w-2xl", "mx-auto", 3, "ngClass"], [1, "space-y-4"], [1, "text-center"], [1, "text-lg", "sm:text-xl", "font-medium", "message-fade", 3, "ngClass"], [1, "relative", "h-3", "rounded-full", 2, "overflow", "visible", 3, "ngClass"], [1, "absolute", "inset-0", "rounded-full", 3, "ngClass"], [1, "absolute", "inset-y-0", "left-0", "rounded-full", "transition-all", "duration-700", "ease-out", "overflow-hidden", 3, "ngClass"], [1, "absolute", "inset-0", "shimmer-effect"], [1, "absolute", "pointer-events-none", 2, "right", "0", "top", "-4px", "bottom", "-4px", "overflow", "visible", 3, "left"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass", "left"], [1, "text-sm", "font-medium", "tabular-nums", 3, "ngClass"], [1, "absolute", "pointer-events-none", 2, "right", "0", "top", "-4px", "bottom", "-4px", "overflow", "visible"], [1, "animated-dot", "animated-dot-1"], [1, "animated-dot", "animated-dot-2"], [1, "animated-dot", "animated-dot-3"], [1, "animated-dot", "animated-dot-4"], [1, "animated-dot", "animated-dot-5"], [1, "animated-dot", "animated-dot-6"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass"]], template: function ContentGenerationProgressComponent_Template(rf, ctx) { if (rf & 1) {
45677
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
45678
- i0.ɵɵnamespaceSVG();
45679
- i0.ɵɵelementStart(5, "svg", 5);
45680
- i0.ɵɵelement(6, "path", 6);
45681
- i0.ɵɵelementEnd();
45682
- i0.ɵɵnamespaceHTML();
45683
- i0.ɵɵelement(7, "div", 7);
45684
- i0.ɵɵelementEnd()();
45685
- i0.ɵɵelementStart(8, "h2", 8);
45686
- i0.ɵɵtext(9);
45687
- i0.ɵɵelementEnd();
45688
- i0.ɵɵelementStart(10, "p", 9);
45689
- i0.ɵɵtext(11);
45690
- i0.ɵɵelementEnd()();
45691
- i0.ɵɵelementStart(12, "div", 10)(13, "div", 11)(14, "p", 12);
45692
- i0.ɵɵtext(15);
45693
- i0.ɵɵelementEnd()();
45694
- i0.ɵɵelementStart(16, "div", 13);
45695
- i0.ɵɵelement(17, "div", 14);
45696
- i0.ɵɵelementStart(18, "div", 15);
45697
- i0.ɵɵelement(19, "div", 16);
45698
- i0.ɵɵelementEnd();
45699
- i0.ɵɵconditionalCreate(20, ContentGenerationProgressComponent_Conditional_20_Template, 7, 14, "div", 17);
45700
- i0.ɵɵconditionalCreate(21, ContentGenerationProgressComponent_Conditional_21_Template, 1, 3, "div", 18);
45701
- i0.ɵɵelementEnd();
45702
- i0.ɵɵelementStart(22, "div", 11)(23, "span", 19);
45703
- i0.ɵɵtext(24);
45704
- i0.ɵɵelementEnd()()()()();
45766
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentGenerationProgressComponent, selectors: [["symphiq-content-generation-progress"]], inputs: { itemStatus: [1, "itemStatus"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], showIcon: [1, "showIcon"], compact: [1, "compact"] }, decls: 2, vars: 1, consts: [[1, "w-full", "space-y-2", "py-2"], [1, "min-h-[60vh]", "flex", "items-center", "justify-center", "px-4", "py-12", 3, "ngClass"], [1, "flex", "items-center", "gap-2"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "w-full", "h-2", "rounded-full", "relative", 2, "overflow", "visible", 3, "ngClass"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500", "overflow-hidden"], [1, "absolute", "inset-0", "shimmer-effect"], [1, "text-xs", "tabular-nums", 3, "ngClass"], [1, "max-w-3xl", "w-full", "space-y-8"], [1, "text-center", "space-y-3"], [1, "flex", "items-center", "justify-center", "mb-4"], [1, "relative", "w-20", "h-20", "rounded-2xl", "flex", "items-center", "justify-center", "icon-pulse", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-10", "h-10"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "absolute", "inset-0", "rounded-2xl", "icon-glow"], [1, "text-3xl", "sm:text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", "sm:text-lg", "max-w-2xl", "mx-auto", 3, "ngClass"], [1, "space-y-4"], [1, "text-center"], [1, "text-lg", "sm:text-xl", "font-medium", "message-fade", 3, "ngClass"], [1, "relative", "h-3", "rounded-full", 2, "overflow", "visible", 3, "ngClass"], [1, "absolute", "inset-0", "rounded-full", 3, "ngClass"], [1, "absolute", "inset-y-0", "left-0", "rounded-full", "transition-all", "duration-700", "ease-out", "overflow-hidden", 3, "ngClass"], [1, "absolute", "pointer-events-none", 2, "right", "0", "top", "-4px", "bottom", "-4px", "overflow", "visible", 3, "left"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass", "left"], [1, "text-sm", "font-medium", "tabular-nums", 3, "ngClass"], [1, "absolute", "pointer-events-none", 2, "right", "0", "top", "-4px", "bottom", "-4px", "overflow", "visible"], [1, "animated-dot", "animated-dot-1"], [1, "animated-dot", "animated-dot-2"], [1, "animated-dot", "animated-dot-3"], [1, "animated-dot", "animated-dot-4"], [1, "animated-dot", "animated-dot-5"], [1, "animated-dot", "animated-dot-6"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass"]], template: function ContentGenerationProgressComponent_Template(rf, ctx) { if (rf & 1) {
45767
+ i0.ɵɵconditionalCreate(0, ContentGenerationProgressComponent_Conditional_0_Template, 10, 7, "div", 0)(1, ContentGenerationProgressComponent_Conditional_1_Template, 25, 17, "div", 1);
45705
45768
  } if (rf & 2) {
45706
- i0.ɵɵproperty("ngClass", ctx.containerClasses());
45707
- i0.ɵɵadvance(4);
45708
- i0.ɵɵproperty("ngClass", ctx.iconContainerClasses());
45709
- i0.ɵɵadvance(4);
45710
- i0.ɵɵproperty("ngClass", ctx.titleClasses());
45711
- i0.ɵɵadvance();
45712
- i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
45713
- i0.ɵɵadvance();
45714
- i0.ɵɵproperty("ngClass", ctx.subtitleClasses());
45715
- i0.ɵɵadvance();
45716
- i0.ɵɵtextInterpolate1(" ", ctx.subtitle(), " ");
45717
- i0.ɵɵadvance(3);
45718
- i0.ɵɵproperty("ngClass", ctx.progressMessageClasses());
45719
- i0.ɵɵadvance();
45720
- i0.ɵɵtextInterpolate1(" ", ctx.progressMessage(), " ");
45721
- i0.ɵɵadvance();
45722
- i0.ɵɵproperty("ngClass", ctx.progressBarContainerClasses());
45723
- i0.ɵɵadvance();
45724
- i0.ɵɵproperty("ngClass", ctx.progressBarBackgroundClasses());
45725
- i0.ɵɵadvance();
45726
- i0.ɵɵstyleProp("width", ctx.progressPercentage(), "%");
45727
- i0.ɵɵproperty("ngClass", ctx.progressBarFillClasses());
45728
- i0.ɵɵadvance(2);
45729
- i0.ɵɵconditional(ctx.progressPercentage() > 0 && ctx.progressPercentage() < 100 ? 20 : -1);
45730
- i0.ɵɵadvance();
45731
- i0.ɵɵconditional(ctx.progressPercentage() > 0 && ctx.progressPercentage() < 100 ? 21 : -1);
45732
- i0.ɵɵadvance(2);
45733
- i0.ɵɵproperty("ngClass", ctx.percentageClasses());
45734
- i0.ɵɵadvance();
45735
- i0.ɵɵtextInterpolate1(" ", ctx.progressPercentage(), "% complete ");
45769
+ i0.ɵɵconditional(ctx.compact() ? 0 : 1);
45736
45770
  } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["@keyframes _ngcontent-%COMP%_icon-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes _ngcontent-%COMP%_icon-glow-pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes _ngcontent-%COMP%_shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes _ngcontent-%COMP%_dots-move{0%{left:0%;opacity:0}3%{left:3%;opacity:1}97%{left:97%;opacity:1}to{left:100%;opacity:0}}@keyframes _ngcontent-%COMP%_dots-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.4)}}@keyframes _ngcontent-%COMP%_message-fade{0%,to{opacity:1}50%{opacity:.7}}.icon-pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-pulse 2s ease-in-out infinite}.icon-glow[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-glow-pulse 2s ease-in-out infinite}.shimmer-effect[_ngcontent-%COMP%]{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:_ngcontent-%COMP%_shimmer 2s ease-in-out infinite}.message-fade[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_message-fade 3s ease-in-out infinite}.animated-dot[_ngcontent-%COMP%]{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;margin-top:-6px;margin-left:-6px;animation:_ngcontent-%COMP%_dots-move 6s linear infinite,_ngcontent-%COMP%_dots-pulse 2s ease-in-out infinite;will-change:left,transform,opacity;z-index:20;box-shadow:0 0 8px currentColor,0 0 16px currentColor}.animated-dot-1[_ngcontent-%COMP%]{animation-delay:0s,0s}.animated-dot-2[_ngcontent-%COMP%]{animation-delay:1s,0s}.animated-dot-3[_ngcontent-%COMP%]{animation-delay:2s,0s}.animated-dot-4[_ngcontent-%COMP%]{animation-delay:3s,0s}.animated-dot-5[_ngcontent-%COMP%]{animation-delay:4s,0s}.animated-dot-6[_ngcontent-%COMP%]{animation-delay:5s,0s}"], changeDetection: 0 }); }
45737
45771
  }
45738
45772
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentGenerationProgressComponent, [{
45739
45773
  type: Component,
45740
- args: [{ selector: 'symphiq-content-generation-progress', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
45741
- <div [ngClass]="containerClasses()" class="min-h-[60vh] flex items-center justify-center px-4 py-12">
45742
- <div class="max-w-3xl w-full space-y-8">
45743
- <!-- Title Section -->
45744
- <div class="text-center space-y-3">
45745
- <div class="flex items-center justify-center mb-4">
45746
- <div [ngClass]="iconContainerClasses()" class="relative w-20 h-20 rounded-2xl flex items-center justify-center icon-pulse">
45747
- <svg class="w-10 h-10" fill="none" stroke="currentColor" viewBox="0 0 24 24">
45748
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
45749
- </svg>
45750
- <div class="absolute inset-0 rounded-2xl icon-glow"></div>
45751
- </div>
45752
- </div>
45753
-
45754
- <h2 [ngClass]="titleClasses()" class="text-3xl sm:text-4xl font-bold">
45755
- {{ title() }}
45756
- </h2>
45757
-
45758
- <p [ngClass]="subtitleClasses()" class="text-base sm:text-lg max-w-2xl mx-auto">
45759
- {{ subtitle() }}
45760
- </p>
45761
- </div>
45762
-
45763
- <!-- Progress Section -->
45764
- <div class="space-y-4">
45765
- <!-- Progress Message -->
45766
- <div class="text-center">
45767
- <p [ngClass]="progressMessageClasses()" class="text-lg sm:text-xl font-medium message-fade">
45768
- {{ progressMessage() }}
45769
- </p>
45770
- </div>
45771
-
45772
- <!-- Progress Bar Container -->
45773
- <div [ngClass]="progressBarContainerClasses()" class="relative h-3 rounded-full" style="overflow: visible;">
45774
- <!-- Background Track -->
45775
- <div [ngClass]="progressBarBackgroundClasses()" class="absolute inset-0 rounded-full"></div>
45776
-
45777
- <!-- Solid Fill with Gradient -->
45778
- <div
45779
- [ngClass]="progressBarFillClasses()"
45780
- [style.width.%]="progressPercentage()"
45781
- class="absolute inset-y-0 left-0 rounded-full transition-all duration-700 ease-out overflow-hidden">
45782
- <!-- Inner shimmer effect -->
45783
- <div class="absolute inset-0 shimmer-effect"></div>
45784
- </div>
45785
-
45786
- <!-- Animated Dots Overlay (container positioned at progress edge, dots animate within) -->
45787
- @if (progressPercentage() > 0 && progressPercentage() < 100) {
45788
- <div
45789
- class="absolute pointer-events-none"
45790
- [style.left.%]="progressPercentage()"
45791
- style="right: 0; top: -4px; bottom: -4px; overflow: visible;">
45792
- <div class="animated-dot animated-dot-1" [style.background-color]="dotColor()"></div>
45793
- <div class="animated-dot animated-dot-2" [style.background-color]="dotColor()"></div>
45794
- <div class="animated-dot animated-dot-3" [style.background-color]="dotColor()"></div>
45795
- <div class="animated-dot animated-dot-4" [style.background-color]="dotColor()"></div>
45796
- <div class="animated-dot animated-dot-5" [style.background-color]="dotColor()"></div>
45797
- <div class="animated-dot animated-dot-6" [style.background-color]="dotColor()"></div>
45798
- </div>
45799
- }
45800
-
45801
- <!-- Glow effect at the progress edge -->
45802
- @if (progressPercentage() > 0 && progressPercentage() < 100) {
45803
- <div
45804
- [ngClass]="progressGlowClasses()"
45805
- [style.left.%]="progressPercentage()"
45806
- class="absolute top-1/2 -translate-y-1/2 w-4 h-4 rounded-full blur-md transition-all duration-700 ease-out"
45807
- style="margin-left: -8px;">
45808
- </div>
45809
- }
45810
- </div>
45811
-
45812
- <!-- Progress Percentage -->
45813
- <div class="text-center">
45814
- <span [ngClass]="percentageClasses()" class="text-sm font-medium tabular-nums">
45815
- {{ progressPercentage() }}% complete
45816
- </span>
45817
- </div>
45818
- </div>
45819
- </div>
45820
- </div>
45774
+ args: [{ selector: 'symphiq-content-generation-progress', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
45775
+ @if (compact()) {
45776
+ <div class="w-full space-y-2 py-2">
45777
+ <div class="flex items-center gap-2">
45778
+ <div class="animate-spin w-4 h-4 border-2 border-blue-500/30 border-t-blue-500 rounded-full"></div>
45779
+ <span class="text-xs font-medium" [ngClass]="isLightMode() ? 'text-blue-600' : 'text-blue-400'">
45780
+ {{ progressMessage() }}
45781
+ </span>
45782
+ </div>
45783
+ <div class="w-full h-2 rounded-full relative" [ngClass]="isLightMode() ? 'bg-slate-200' : 'bg-slate-700'" style="overflow: visible;">
45784
+ <div
45785
+ class="h-full bg-gradient-to-r from-blue-500 to-cyan-500 rounded-full transition-all duration-500 overflow-hidden"
45786
+ [style.width.%]="progressPercentage()">
45787
+ <div class="absolute inset-0 shimmer-effect"></div>
45788
+ </div>
45789
+ </div>
45790
+ <div class="text-xs tabular-nums" [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-400'">
45791
+ {{ progressPercentage() }}% complete
45792
+ </div>
45793
+ </div>
45794
+ } @else {
45795
+ <div [ngClass]="containerClasses()" class="min-h-[60vh] flex items-center justify-center px-4 py-12">
45796
+ <div class="max-w-3xl w-full space-y-8">
45797
+ <div class="text-center space-y-3">
45798
+ <div class="flex items-center justify-center mb-4">
45799
+ <div [ngClass]="iconContainerClasses()" class="relative w-20 h-20 rounded-2xl flex items-center justify-center icon-pulse">
45800
+ <svg class="w-10 h-10" fill="none" stroke="currentColor" viewBox="0 0 24 24">
45801
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
45802
+ </svg>
45803
+ <div class="absolute inset-0 rounded-2xl icon-glow"></div>
45804
+ </div>
45805
+ </div>
45806
+
45807
+ <h2 [ngClass]="titleClasses()" class="text-3xl sm:text-4xl font-bold">
45808
+ {{ title() }}
45809
+ </h2>
45810
+
45811
+ <p [ngClass]="subtitleClasses()" class="text-base sm:text-lg max-w-2xl mx-auto">
45812
+ {{ subtitle() }}
45813
+ </p>
45814
+ </div>
45815
+
45816
+ <div class="space-y-4">
45817
+ <div class="text-center">
45818
+ <p [ngClass]="progressMessageClasses()" class="text-lg sm:text-xl font-medium message-fade">
45819
+ {{ progressMessage() }}
45820
+ </p>
45821
+ </div>
45822
+
45823
+ <div [ngClass]="progressBarContainerClasses()" class="relative h-3 rounded-full" style="overflow: visible;">
45824
+ <div [ngClass]="progressBarBackgroundClasses()" class="absolute inset-0 rounded-full"></div>
45825
+
45826
+ <div
45827
+ [ngClass]="progressBarFillClasses()"
45828
+ [style.width.%]="progressPercentage()"
45829
+ class="absolute inset-y-0 left-0 rounded-full transition-all duration-700 ease-out overflow-hidden">
45830
+ <div class="absolute inset-0 shimmer-effect"></div>
45831
+ </div>
45832
+
45833
+ @if (progressPercentage() > 0 && progressPercentage() < 100) {
45834
+ <div
45835
+ class="absolute pointer-events-none"
45836
+ [style.left.%]="progressPercentage()"
45837
+ style="right: 0; top: -4px; bottom: -4px; overflow: visible;">
45838
+ <div class="animated-dot animated-dot-1" [style.background-color]="dotColor()"></div>
45839
+ <div class="animated-dot animated-dot-2" [style.background-color]="dotColor()"></div>
45840
+ <div class="animated-dot animated-dot-3" [style.background-color]="dotColor()"></div>
45841
+ <div class="animated-dot animated-dot-4" [style.background-color]="dotColor()"></div>
45842
+ <div class="animated-dot animated-dot-5" [style.background-color]="dotColor()"></div>
45843
+ <div class="animated-dot animated-dot-6" [style.background-color]="dotColor()"></div>
45844
+ </div>
45845
+ }
45846
+
45847
+ @if (progressPercentage() > 0 && progressPercentage() < 100) {
45848
+ <div
45849
+ [ngClass]="progressGlowClasses()"
45850
+ [style.left.%]="progressPercentage()"
45851
+ class="absolute top-1/2 -translate-y-1/2 w-4 h-4 rounded-full blur-md transition-all duration-700 ease-out"
45852
+ style="margin-left: -8px;">
45853
+ </div>
45854
+ }
45855
+ </div>
45856
+
45857
+ <div class="text-center">
45858
+ <span [ngClass]="percentageClasses()" class="text-sm font-medium tabular-nums">
45859
+ {{ progressPercentage() }}% complete
45860
+ </span>
45861
+ </div>
45862
+ </div>
45863
+ </div>
45864
+ </div>
45865
+ }
45821
45866
  `, styles: ["@keyframes icon-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes icon-glow-pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes dots-move{0%{left:0%;opacity:0}3%{left:3%;opacity:1}97%{left:97%;opacity:1}to{left:100%;opacity:0}}@keyframes dots-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.4)}}@keyframes message-fade{0%,to{opacity:1}50%{opacity:.7}}.icon-pulse{animation:icon-pulse 2s ease-in-out infinite}.icon-glow{animation:icon-glow-pulse 2s ease-in-out infinite}.shimmer-effect{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shimmer 2s ease-in-out infinite}.message-fade{animation:message-fade 3s ease-in-out infinite}.animated-dot{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;margin-top:-6px;margin-left:-6px;animation:dots-move 6s linear infinite,dots-pulse 2s ease-in-out infinite;will-change:left,transform,opacity;z-index:20;box-shadow:0 0 8px currentColor,0 0 16px currentColor}.animated-dot-1{animation-delay:0s,0s}.animated-dot-2{animation-delay:1s,0s}.animated-dot-3{animation-delay:2s,0s}.animated-dot-4{animation-delay:3s,0s}.animated-dot-5{animation-delay:4s,0s}.animated-dot-6{animation-delay:5s,0s}\n"] }]
45822
- }], null, { itemStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatus", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }] }); })();
45823
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentGenerationProgressComponent, { className: "ContentGenerationProgressComponent", filePath: "lib/components/shared/content-generation-progress.component.ts", lineNumber: 222 }); })();
45867
+ }], null, { itemStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatus", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }] }); })();
45868
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentGenerationProgressComponent, { className: "ContentGenerationProgressComponent", filePath: "lib/components/shared/content-generation-progress.component.ts", lineNumber: 233 }); })();
45824
45869
 
45825
45870
  class ContentGenerationProgressWithConfettiComponent {
45826
45871
  constructor() {
@@ -90889,6 +90934,7 @@ class ProfileStatusCardComponent {
90889
90934
  this.questionAnswerRequested = output();
90890
90935
  this.answerSave = output();
90891
90936
  this.adminAnswerAction = output();
90937
+ this.confettiService = inject(ConfettiService);
90892
90938
  this.currentView = signal('category', ...(ngDevMode ? [{ debugName: "currentView" }] : []));
90893
90939
  this.questionsModalOpen = signal(false, ...(ngDevMode ? [{ debugName: "questionsModalOpen" }] : []));
90894
90940
  this.selectedCategoryId = signal(null, ...(ngDevMode ? [{ debugName: "selectedCategoryId" }] : []));
@@ -91074,6 +91120,16 @@ class ProfileStatusCardComponent {
91074
91120
  this.questionAnswerRequested.emit(question);
91075
91121
  }
91076
91122
  onAnswerSave(event) {
91123
+ const questions = this.questions();
91124
+ const questionBeingAnswered = questions.find(q => q.id === event.profileQuestionId);
91125
+ const wasUnanswered = questionBeingAnswered && questionBeingAnswered.answered !== true;
91126
+ const unansweredCount = this.unansweredQuestions();
91127
+ if (wasUnanswered && unansweredCount === 1) {
91128
+ this.confettiService.trigger({
91129
+ intensity: 'celebration',
91130
+ viewMode: this.viewMode()
91131
+ });
91132
+ }
91077
91133
  this.answerSave.emit(event);
91078
91134
  }
91079
91135
  formatCategoryName(category) {
@@ -91433,7 +91489,7 @@ class ProfileStatusCardComponent {
91433
91489
  type: ViewChild,
91434
91490
  args: ['chartdiv', { static: false }]
91435
91491
  }] }); })();
91436
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileStatusCardComponent, { className: "ProfileStatusCardComponent", filePath: "lib/components/shared/profile/profile-status-card.component.ts", lineNumber: 174 }); })();
91492
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileStatusCardComponent, { className: "ProfileStatusCardComponent", filePath: "lib/components/shared/profile/profile-status-card.component.ts", lineNumber: 176 }); })();
91437
91493
 
91438
91494
  function ProfileStickyFooterComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
91439
91495
  i0.ɵɵelementStart(0, "div", 5);
@@ -94625,69 +94681,55 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
94625
94681
  i0.ɵɵrepeater(focusArea_r3.tools);
94626
94682
  } }
94627
94683
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template(rf, ctx) { if (rf & 1) {
94628
- i0.ɵɵelementStart(0, "div", 44)(1, "div", 48);
94629
- i0.ɵɵelement(2, "div", 52);
94630
- i0.ɵɵelementStart(3, "span", 53);
94631
- i0.ɵɵtext(4);
94632
- i0.ɵɵelementEnd()();
94633
- i0.ɵɵelementStart(5, "div", 54);
94634
- i0.ɵɵelement(6, "div", 55);
94635
- i0.ɵɵelementEnd();
94636
- i0.ɵɵelementStart(7, "div", 56);
94637
- i0.ɵɵtext(8);
94638
- i0.ɵɵelementEnd()();
94684
+ i0.ɵɵelement(0, "symphiq-content-generation-progress", 44);
94639
94685
  } if (rf & 2) {
94640
94686
  const focusArea_r3 = i0.ɵɵnextContext().$implicit;
94641
94687
  const ctx_r1 = i0.ɵɵnextContext();
94642
- i0.ɵɵadvance(3);
94643
- i0.ɵɵclassMap(ctx_r1.isLightMode() ? "text-blue-600" : "text-blue-400");
94644
- i0.ɵɵadvance();
94645
- i0.ɵɵtextInterpolate1(" ", (focusArea_r3.itemStatus == null ? null : focusArea_r3.itemStatus.message) || "Generating Profile...", " ");
94646
- i0.ɵɵadvance();
94647
- i0.ɵɵclassMap(ctx_r1.isLightMode() ? "bg-slate-200" : "bg-slate-700");
94648
- i0.ɵɵadvance();
94649
- i0.ɵɵstyleProp("width", (focusArea_r3.itemStatus == null ? null : focusArea_r3.itemStatus.percentageComplete) ?? 0, "%");
94650
- i0.ɵɵadvance();
94651
- i0.ɵɵclassMap(ctx_r1.isLightMode() ? "text-slate-500" : "text-slate-400");
94652
- i0.ɵɵadvance();
94653
- i0.ɵɵtextInterpolate1(" ", (focusArea_r3.itemStatus == null ? null : focusArea_r3.itemStatus.percentageComplete) ?? 0, "% complete ");
94688
+ i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileFocusArea ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true);
94654
94689
  } }
94655
94690
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template(rf, ctx) { if (rf & 1) {
94691
+ i0.ɵɵelement(0, "symphiq-content-generation-progress", 44);
94692
+ } if (rf & 2) {
94693
+ const focusArea_r3 = i0.ɵɵnextContext().$implicit;
94694
+ const ctx_r1 = i0.ɵɵnextContext();
94695
+ i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileAnalysis ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true);
94696
+ } }
94697
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template(rf, ctx) { if (rf & 1) {
94656
94698
  i0.ɵɵelementStart(0, "div", 45);
94657
- i0.ɵɵelement(1, "div", 57);
94658
- i0.ɵɵelementStart(2, "span", 58);
94699
+ i0.ɵɵelement(1, "div", 52);
94700
+ i0.ɵɵelementStart(2, "span", 53);
94659
94701
  i0.ɵɵtext(3, "Profile Generation Pending");
94660
94702
  i0.ɵɵelementEnd()();
94661
94703
  } }
94662
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Conditional_8_Template(rf, ctx) { if (rf & 1) {
94663
- i0.ɵɵelementStart(0, "div", 60);
94704
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_8_Template(rf, ctx) { if (rf & 1) {
94705
+ i0.ɵɵelementStart(0, "div", 56);
94664
94706
  i0.ɵɵnamespaceSVG();
94665
- i0.ɵɵelementStart(1, "svg", 63);
94707
+ i0.ɵɵelementStart(1, "svg", 59);
94666
94708
  i0.ɵɵelement(2, "path", 29);
94667
94709
  i0.ɵɵelementEnd();
94668
94710
  i0.ɵɵtext(3, " Complete ");
94669
94711
  i0.ɵɵelementEnd();
94670
94712
  } }
94671
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Conditional_9_Template(rf, ctx) { if (rf & 1) {
94672
- i0.ɵɵelementStart(0, "div", 61);
94713
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_9_Template(rf, ctx) { if (rf & 1) {
94714
+ i0.ɵɵelementStart(0, "div", 57);
94673
94715
  i0.ɵɵnamespaceSVG();
94674
- i0.ɵɵelementStart(1, "svg", 63);
94675
- i0.ɵɵelement(2, "path", 64);
94716
+ i0.ɵɵelementStart(1, "svg", 59);
94717
+ i0.ɵɵelement(2, "path", 60);
94676
94718
  i0.ɵɵelementEnd();
94677
94719
  i0.ɵɵtext(3, " In Progress ");
94678
94720
  i0.ɵɵelementEnd();
94679
94721
  } }
94680
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Conditional_10_Template(rf, ctx) { if (rf & 1) {
94681
- i0.ɵɵelementStart(0, "div", 62);
94722
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_10_Template(rf, ctx) { if (rf & 1) {
94723
+ i0.ɵɵelementStart(0, "div", 58);
94682
94724
  i0.ɵɵnamespaceSVG();
94683
- i0.ɵɵelementStart(1, "svg", 63);
94684
- i0.ɵɵelement(2, "path", 65);
94725
+ i0.ɵɵelementStart(1, "svg", 59);
94726
+ i0.ɵɵelement(2, "path", 61);
94685
94727
  i0.ɵɵelementEnd();
94686
94728
  i0.ɵɵtext(3, " Not Started ");
94687
94729
  i0.ɵɵelementEnd();
94688
94730
  } }
94689
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template(rf, ctx) { if (rf & 1) {
94690
- i0.ɵɵelementStart(0, "div", 46)(1, "div", 59)(2, "span");
94731
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template(rf, ctx) { if (rf & 1) {
94732
+ i0.ɵɵelementStart(0, "div", 46)(1, "div", 54)(2, "span");
94691
94733
  i0.ɵɵtext(3, "Progress");
94692
94734
  i0.ɵɵelementEnd();
94693
94735
  i0.ɵɵelementStart(4, "span");
@@ -94696,7 +94738,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
94696
94738
  i0.ɵɵelementStart(6, "div");
94697
94739
  i0.ɵɵelement(7, "div", 55);
94698
94740
  i0.ɵɵelementEnd();
94699
- i0.ɵɵconditionalCreate(8, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Conditional_8_Template, 4, 0, "div", 60)(9, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Conditional_9_Template, 4, 0, "div", 61)(10, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Conditional_10_Template, 4, 0, "div", 62);
94741
+ i0.ɵɵconditionalCreate(8, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_8_Template, 4, 0, "div", 56)(9, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_9_Template, 4, 0, "div", 57)(10, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_10_Template, 4, 0, "div", 58);
94700
94742
  i0.ɵɵelementEnd();
94701
94743
  } if (rf & 2) {
94702
94744
  const focusArea_r3 = i0.ɵɵnextContext().$implicit;
@@ -94714,28 +94756,28 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
94714
94756
  i0.ɵɵadvance();
94715
94757
  i0.ɵɵconditional(focusArea_r3.status === "complete" ? 8 : focusArea_r3.status === "in-progress" ? 9 : 10);
94716
94758
  } }
94717
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_3_Template(rf, ctx) { if (rf & 1) {
94759
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_3_Template(rf, ctx) { if (rf & 1) {
94718
94760
  i0.ɵɵtext(0, " View Details ");
94719
94761
  } }
94720
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_4_Template(rf, ctx) { if (rf & 1) {
94762
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_4_Template(rf, ctx) { if (rf & 1) {
94721
94763
  i0.ɵɵtext(0, " All Questions Answered ");
94722
94764
  } }
94723
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_5_Template(rf, ctx) { if (rf & 1) {
94765
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_5_Template(rf, ctx) { if (rf & 1) {
94724
94766
  i0.ɵɵtext(0, " Continue Answering Questions ");
94725
94767
  } }
94726
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_6_Template(rf, ctx) { if (rf & 1) {
94768
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_6_Template(rf, ctx) { if (rf & 1) {
94727
94769
  i0.ɵɵtext(0, " Start Answering Questions ");
94728
94770
  } }
94729
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template(rf, ctx) { if (rf & 1) {
94771
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template(rf, ctx) { if (rf & 1) {
94730
94772
  const _r5 = i0.ɵɵgetCurrentView();
94731
- i0.ɵɵelementStart(0, "div", 66);
94732
- i0.ɵɵlistener("click", function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r5); const focusArea_r3 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleFooterClick(focusArea_r3.profileFocusArea)); });
94733
- i0.ɵɵelementStart(1, "div", 67)(2, "span", 68);
94734
- i0.ɵɵconditionalCreate(3, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_3_Template, 1, 0)(4, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_4_Template, 1, 0)(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_5_Template, 1, 0)(6, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_6_Template, 1, 0);
94773
+ i0.ɵɵelementStart(0, "div", 62);
94774
+ i0.ɵɵlistener("click", function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r5); const focusArea_r3 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleFooterClick(focusArea_r3.profileFocusArea)); });
94775
+ i0.ɵɵelementStart(1, "div", 63)(2, "span", 64);
94776
+ i0.ɵɵconditionalCreate(3, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_3_Template, 1, 0)(4, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_4_Template, 1, 0)(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_5_Template, 1, 0)(6, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_6_Template, 1, 0);
94735
94777
  i0.ɵɵelementEnd();
94736
94778
  i0.ɵɵnamespaceSVG();
94737
- i0.ɵɵelementStart(7, "svg", 69);
94738
- i0.ɵɵelement(8, "path", 70);
94779
+ i0.ɵɵelementStart(7, "svg", 65);
94780
+ i0.ɵɵelement(8, "path", 66);
94739
94781
  i0.ɵɵelementEnd()()();
94740
94782
  } if (rf & 2) {
94741
94783
  const focusArea_r3 = i0.ɵɵnextContext().$implicit;
@@ -94759,9 +94801,9 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
94759
94801
  i0.ɵɵtext(11);
94760
94802
  i0.ɵɵelementEnd();
94761
94803
  i0.ɵɵconditionalCreate(12, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_Template, 7, 1, "div", 43);
94762
- i0.ɵɵconditionalCreate(13, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template, 9, 10, "div", 44)(14, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template, 4, 0, "div", 45)(15, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template, 11, 11, "div", 46);
94804
+ i0.ɵɵconditionalCreate(13, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template, 1, 3, "symphiq-content-generation-progress", 44)(14, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template, 1, 3, "symphiq-content-generation-progress", 44)(15, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template, 4, 0, "div", 45)(16, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template, 11, 11, "div", 46);
94763
94805
  i0.ɵɵelementEnd();
94764
- i0.ɵɵconditionalCreate(16, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template, 9, 3, "div", 47);
94806
+ i0.ɵɵconditionalCreate(17, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template, 9, 3, "div", 47);
94765
94807
  i0.ɵɵelementEnd();
94766
94808
  } if (rf & 2) {
94767
94809
  const focusArea_r3 = ctx.$implicit;
@@ -94784,9 +94826,9 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
94784
94826
  i0.ɵɵadvance();
94785
94827
  i0.ɵɵconditional(focusArea_r3.engagementStatus === ctx_r1.FocusAreaDetailStatusEnum.ENGAGED && focusArea_r3.tools.length > 0 ? 12 : -1);
94786
94828
  i0.ɵɵadvance();
94787
- i0.ɵɵconditional(focusArea_r3.selfContentStatus !== null && focusArea_r3.selfContentStatus !== ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 13 : focusArea_r3.selfContentStatus === null && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 14 : focusArea_r3.selfContentStatus === ctx_r1.AiDynamicContentStatusEnum.GENERATED || focusArea_r3.status !== "pending" ? 15 : -1);
94788
- i0.ɵɵadvance(3);
94789
- i0.ɵɵconditional(focusArea_r3.canViewDetails && focusArea_r3.profileFocusArea ? 16 : -1);
94829
+ i0.ɵɵconditional(focusArea_r3.profileFocusArea && focusArea_r3.selfContentStatusProfileFocusArea !== ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 13 : focusArea_r3.profileAnalysis && focusArea_r3.selfContentStatusProfileAnalysis !== null && focusArea_r3.selfContentStatusProfileAnalysis !== ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 14 : focusArea_r3.selfContentStatusProfileFocusArea === null && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 15 : focusArea_r3.selfContentStatusProfileFocusArea === ctx_r1.AiDynamicContentStatusEnum.GENERATED && (focusArea_r3.selfContentStatusProfileAnalysis === null || focusArea_r3.selfContentStatusProfileAnalysis === ctx_r1.AiDynamicContentStatusEnum.GENERATED) || focusArea_r3.status !== "pending" ? 16 : -1);
94830
+ i0.ɵɵadvance(4);
94831
+ i0.ɵɵconditional(focusArea_r3.canViewDetails && focusArea_r3.profileFocusArea ? 17 : -1);
94790
94832
  } }
94791
94833
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
94792
94834
  i0.ɵɵelementStart(0, "div", 41);
@@ -94801,14 +94843,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
94801
94843
  } }
94802
94844
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template(rf, ctx) { if (rf & 1) {
94803
94845
  const _r7 = i0.ɵɵgetCurrentView();
94804
- i0.ɵɵelementStart(0, "div", 66);
94846
+ i0.ɵɵelementStart(0, "div", 62);
94805
94847
  i0.ɵɵlistener("click", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r7); const focusArea_r6 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleFooterClick(focusArea_r6.profileFocusArea)); });
94806
- i0.ɵɵelementStart(1, "div", 67)(2, "span", 68);
94848
+ i0.ɵɵelementStart(1, "div", 63)(2, "span", 64);
94807
94849
  i0.ɵɵtext(3, "View Details");
94808
94850
  i0.ɵɵelementEnd();
94809
94851
  i0.ɵɵnamespaceSVG();
94810
- i0.ɵɵelementStart(4, "svg", 69);
94811
- i0.ɵɵelement(5, "path", 70);
94852
+ i0.ɵɵelementStart(4, "svg", 65);
94853
+ i0.ɵɵelement(5, "path", 66);
94812
94854
  i0.ɵɵelementEnd()()();
94813
94855
  } if (rf & 2) {
94814
94856
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -94849,14 +94891,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
94849
94891
  i0.ɵɵconditional(focusArea_r6.canViewDetails && focusArea_r6.profileFocusArea ? 11 : -1);
94850
94892
  } }
94851
94893
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Template(rf, ctx) { if (rf & 1) {
94852
- i0.ɵɵelementStart(0, "div", 35)(1, "div", 71);
94853
- i0.ɵɵelement(2, "div", 72);
94854
- i0.ɵɵelementStart(3, "span", 73);
94894
+ i0.ɵɵelementStart(0, "div", 35)(1, "div", 67);
94895
+ i0.ɵɵelement(2, "div", 68);
94896
+ i0.ɵɵelementStart(3, "span", 69);
94855
94897
  i0.ɵɵtext(4, "Not Interested");
94856
94898
  i0.ɵɵelementEnd();
94857
- i0.ɵɵelement(5, "div", 72);
94899
+ i0.ɵɵelement(5, "div", 68);
94858
94900
  i0.ɵɵelementEnd();
94859
- i0.ɵɵelementStart(6, "div", 74);
94901
+ i0.ɵɵelementStart(6, "div", 70);
94860
94902
  i0.ɵɵrepeaterCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Template, 12, 11, "div", 34, _forTrack0$5);
94861
94903
  i0.ɵɵelementEnd()();
94862
94904
  } if (rf & 2) {
@@ -94872,7 +94914,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Templ
94872
94914
  } }
94873
94915
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_67_Template(rf, ctx) { if (rf & 1) {
94874
94916
  const _r8 = i0.ɵɵgetCurrentView();
94875
- i0.ɵɵelementStart(0, "symphiq-search-modal", 75);
94917
+ i0.ɵɵelementStart(0, "symphiq-search-modal", 71);
94876
94918
  i0.ɵɵlistener("closeModal", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_67_Template_symphiq_search_modal_closeModal_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleCloseSearchModal()); });
94877
94919
  i0.ɵɵelementEnd();
94878
94920
  } }
@@ -94882,14 +94924,14 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94882
94924
  this.createdDate = input(...(ngDevMode ? [undefined, { debugName: "createdDate" }] : []));
94883
94925
  this.embedded = input(false, ...(ngDevMode ? [{ debugName: "embedded" }] : []));
94884
94926
  this.profileAnalyses = input(...(ngDevMode ? [undefined, { debugName: "profileAnalyses" }] : []));
94927
+ this.profileFocusAreas = input(...(ngDevMode ? [undefined, { debugName: "profileFocusAreas" }] : []));
94928
+ this.itemStatusesProfileFocusArea = input(...(ngDevMode ? [undefined, { debugName: "itemStatusesProfileFocusArea" }] : []));
94929
+ this.itemStatusesProfileAnalysis = input(...(ngDevMode ? [undefined, { debugName: "itemStatusesProfileAnalysis" }] : []));
94885
94930
  this.profile = input(...(ngDevMode ? [undefined, { debugName: "profile" }] : []));
94886
94931
  this.funnelAnalysis = input(...(ngDevMode ? [undefined, { debugName: "funnelAnalysis" }] : []));
94887
94932
  this.focusAreaDetails = input(...(ngDevMode ? [undefined, { debugName: "focusAreaDetails" }] : []));
94888
94933
  this.account = input(...(ngDevMode ? [undefined, { debugName: "account" }] : []));
94889
- this.profileFocusAreas = input(...(ngDevMode ? [undefined, { debugName: "profileFocusAreas" }] : []));
94890
94934
  this.profileFocusAreaQuestions = input(...(ngDevMode ? [undefined, { debugName: "profileFocusAreaQuestions" }] : []));
94891
- this.itemStatusesProfileFocusArea = input(...(ngDevMode ? [undefined, { debugName: "itemStatusesProfileFocusArea" }] : []));
94892
- this.itemStatusesProfileAnalysis = input(...(ngDevMode ? [undefined, { debugName: "itemStatusesProfileAnalysis" }] : []));
94893
94935
  this.isOnboarded = input(false, ...(ngDevMode ? [{ debugName: "isOnboarded" }] : []));
94894
94936
  this.scrollEvent = input(...(ngDevMode ? [undefined, { debugName: "scrollEvent" }] : []));
94895
94937
  this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
@@ -94954,7 +94996,8 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94954
94996
  const focusAreaDetailsData = this.focusAreaDetails();
94955
94997
  const profileFocusAreasData = this.profileFocusAreas();
94956
94998
  const profileAnalysesData = this.profileAnalyses();
94957
- const itemStatusesData = this.itemStatusesProfileFocusArea();
94999
+ const itemStatusesProfileFocusAreaData = this.itemStatusesProfileFocusArea();
95000
+ const itemStatusesProfileAnalysisData = this.itemStatusesProfileAnalysis();
94958
95001
  const profileFocusAreaQuestionsData = this.profileFocusAreaQuestions();
94959
95002
  const isDemo = this.forDemo();
94960
95003
  const mockProgressData = {
@@ -94981,23 +95024,28 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94981
95024
  const profileAnalysesMap = new Map(profileAnalysesData
94982
95025
  ?.filter(pa => pa.profileFocusAreaId !== undefined)
94983
95026
  .map(pa => [profileFocusAreaIdToDomainMap.get(pa.profileFocusAreaId), pa]));
94984
- const itemStatusesMap = new Map(itemStatusesData?.map(is => [is.itemId, is]));
95027
+ const itemStatusesProfileFocusAreaMap = new Map(itemStatusesProfileFocusAreaData?.map(is => [is.itemId, is]));
95028
+ const itemStatusesProfileAnalysisMap = new Map(itemStatusesProfileAnalysisData?.map(is => [is.itemId, is]));
94985
95029
  return allDomains.map(domain => {
94986
95030
  let questionsAnswered = 0;
94987
95031
  let totalQuestions = 0;
94988
95032
  let hasAnalysis = false;
94989
95033
  let status = 'pending';
94990
95034
  let canViewDetails = false;
94991
- let selfContentStatus = null;
94992
- let itemStatus = null;
95035
+ let selfContentStatusProfileFocusArea = null;
95036
+ let selfContentStatusProfileAnalysis = null;
95037
+ let itemStatusProfileFocusArea = null;
95038
+ let itemStatusProfileAnalysis = null;
94993
95039
  let profileFocusArea = null;
95040
+ let profileAnalysis = null;
94994
95041
  if (isDemo) {
94995
95042
  const mockData = mockProgressData[domain];
94996
95043
  questionsAnswered = mockData.answered;
94997
95044
  totalQuestions = mockData.total;
94998
95045
  hasAnalysis = mockData.hasAnalysis;
94999
95046
  canViewDetails = true;
95000
- selfContentStatus = AiDynamicContentStatusEnum.GENERATED;
95047
+ selfContentStatusProfileFocusArea = AiDynamicContentStatusEnum.GENERATED;
95048
+ selfContentStatusProfileAnalysis = AiDynamicContentStatusEnum.GENERATED;
95001
95049
  if (questionsAnswered === totalQuestions && totalQuestions > 0) {
95002
95050
  status = 'complete';
95003
95051
  }
@@ -95010,14 +95058,14 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95010
95058
  }
95011
95059
  else {
95012
95060
  profileFocusArea = profileFocusAreasMap.get(domain) ?? null;
95013
- const profileAnalysis = profileAnalysesMap.get(domain);
95061
+ profileAnalysis = profileAnalysesMap.get(domain) ?? null;
95014
95062
  hasAnalysis = !!profileAnalysis;
95015
95063
  if (profileFocusArea) {
95016
- selfContentStatus = profileFocusArea.selfContentStatus ?? null;
95017
- canViewDetails = selfContentStatus === AiDynamicContentStatusEnum.GENERATED;
95064
+ selfContentStatusProfileFocusArea = profileFocusArea.selfContentStatus ?? null;
95065
+ canViewDetails = selfContentStatusProfileFocusArea === AiDynamicContentStatusEnum.GENERATED;
95018
95066
  const profileFocusAreaId = profileFocusArea.id;
95019
95067
  if (profileFocusAreaId) {
95020
- itemStatus = itemStatusesMap.get(profileFocusAreaId) ?? null;
95068
+ itemStatusProfileFocusArea = itemStatusesProfileFocusAreaMap.get(profileFocusAreaId) ?? null;
95021
95069
  }
95022
95070
  const questionsForFocusArea = profileFocusAreaQuestionsData?.filter(q => q.profileFocusAreaId === profileFocusAreaId) ?? [];
95023
95071
  totalQuestions = questionsForFocusArea.length;
@@ -95032,12 +95080,19 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95032
95080
  status = 'not-started';
95033
95081
  }
95034
95082
  }
95083
+ if (profileAnalysis) {
95084
+ selfContentStatusProfileAnalysis = profileAnalysis.selfContentStatus ?? null;
95085
+ const profileAnalysisId = profileAnalysis.id;
95086
+ if (profileAnalysisId) {
95087
+ itemStatusProfileAnalysis = itemStatusesProfileAnalysisMap.get(profileAnalysisId) ?? null;
95088
+ }
95089
+ }
95035
95090
  }
95036
95091
  const progressPercent = totalQuestions > 0 ? (questionsAnswered / totalQuestions) * 100 : 0;
95037
95092
  const focusAreaDetail = focusAreaDetailsMap.get(domain);
95038
95093
  const engagementStatus = focusAreaDetail?.status ?? null;
95039
95094
  const tools = focusAreaDetail?.tools ?? [];
95040
- return {
95095
+ const cardData = {
95041
95096
  domain,
95042
95097
  title: FocusAreaDomainEnumUtil.title(domain),
95043
95098
  description: FocusAreaDomainEnumUtil.subtitle(domain),
@@ -95050,10 +95105,26 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95050
95105
  engagementStatus,
95051
95106
  tools,
95052
95107
  canViewDetails,
95053
- selfContentStatus,
95054
- itemStatus,
95055
- profileFocusArea
95108
+ selfContentStatusProfileFocusArea,
95109
+ selfContentStatusProfileAnalysis,
95110
+ itemStatusProfileFocusArea,
95111
+ itemStatusProfileAnalysis,
95112
+ profileFocusArea,
95113
+ profileAnalysis
95056
95114
  };
95115
+ if (profileAnalysis && selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED) {
95116
+ console.log('[FocusAreaCard] ProfileAnalysis generating:', {
95117
+ domain,
95118
+ title: FocusAreaDomainEnumUtil.title(domain),
95119
+ profileAnalysisId: profileAnalysis?.id,
95120
+ selfContentStatusProfileAnalysis,
95121
+ selfContentStatusProfileFocusArea,
95122
+ itemStatusProfileAnalysis,
95123
+ hasProfileFocusArea: !!profileFocusArea,
95124
+ engagementStatus
95125
+ });
95126
+ }
95127
+ return cardData;
95057
95128
  });
95058
95129
  }, ...(ngDevMode ? [{ debugName: "focusAreaCards" }] : []));
95059
95130
  this.interestedFocusAreaCards = computed(() => {
@@ -95067,7 +95138,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95067
95138
  if (interestedCards.length === 0) {
95068
95139
  return false;
95069
95140
  }
95070
- return interestedCards.every(card => card.selfContentStatus === AiDynamicContentStatusEnum.GENERATED);
95141
+ return interestedCards.every(card => card.selfContentStatusProfileFocusArea === AiDynamicContentStatusEnum.GENERATED);
95071
95142
  }, ...(ngDevMode ? [{ debugName: "allInterestedFocusAreasGenerated" }] : []));
95072
95143
  }
95073
95144
  onScroll() {
@@ -95237,7 +95308,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95237
95308
  static { this.ɵfac = function SymphiqProfileFocusAreasAnalysesDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileFocusAreasAnalysesDashboardComponent)(); }; }
95238
95309
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileFocusAreasAnalysesDashboardComponent, selectors: [["symphiq-profile-focus-areas-analyses-dashboard"]], hostBindings: function SymphiqProfileFocusAreasAnalysesDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
95239
95310
  i0.ɵɵlistener("scroll", function SymphiqProfileFocusAreasAnalysesDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
95240
- } }, inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalyses: [1, "profileAnalyses"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], profileFocusAreas: [1, "profileFocusAreas"], profileFocusAreaQuestions: [1, "profileFocusAreaQuestions"], itemStatusesProfileFocusArea: [1, "itemStatusesProfileFocusArea"], itemStatusesProfileAnalysis: [1, "itemStatusesProfileAnalysis"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], maxAccessibleStepId: [1, "maxAccessibleStepId"], viewMode: [1, "viewMode"], displayMode: [1, "displayMode"], currentStepId: [1, "currentStepId"] }, outputs: { navigateToProfileFocusArea: "navigateToProfileFocusArea", stepClick: "stepClick", nextStepClick: "nextStepClick", answerFocusAreaProfileQuestions: "answerFocusAreaProfileQuestions", continueFocusAreaProfileQuestions: "continueFocusAreaProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", focusAreaProfileAdminAnswerAction: "focusAreaProfileAdminAnswerAction" }, decls: 68, vars: 29, consts: [[1, "min-h-screen", "relative"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "fixed", "top-0", "left-0", "right-0", "h-1", "z-[60]", "bg-slate-200/30"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "container", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8", "md:py-12", "relative", "z-10"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "px-8", "py-8"], [1, "flex", "items-start", "gap-6"], [1, "flex-shrink-0", "w-16", "h-16", "rounded-2xl", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "flex-1"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-3", "gap-6", "mb-6"], [1, "lg:col-span-2", "space-y-3"], [1, "text-base", "leading-relaxed", 3, "ngClass"], [1, "font-semibold"], [1, "lg:col-span-1"], ["currentStepId", "focus-areas", 3, "viewMode", "focusAreaDetails"], [1, "mt-6", "p-5", "rounded-xl", "border-l-4", "flex", "items-start", "gap-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["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, "font-bold", "text-lg", "mb-2", 3, "ngClass"], [1, "space-y-2", "text-sm", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], [1, "mt-6", "p-5", "rounded-xl", "border", "flex", "items-start", "gap-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6"], [3, "class"], [1, "mt-12"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "p-6", "flex-1"], [1, "flex", "items-start", "justify-between", "mb-4"], [1, "text-4xl"], [1, "flex", "flex-col", "items-end", "gap-2"], [3, "ngClass"], [1, "px-3", "py-1", "bg-green-100", "dark:bg-green-900/30", "text-green-700", "dark:text-green-400", "text-xs", "font-semibold", "rounded-full"], [1, "mt-3", "mb-2"], [1, "w-full", "space-y-2", "py-2"], [1, "flex", "items-center", "gap-2", "py-2"], [1, "space-y-2"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "class"], [1, "flex", "items-center", "gap-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "text-xs", "font-medium"], [1, "w-full", "h-2", "rounded-full"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "text-xs", "tabular-nums"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-amber-500/30", "border-t-amber-500", "rounded-full"], [1, "text-xs", "text-amber-600", "dark:text-amber-400", "font-medium"], [1, "flex", "items-center", "justify-between", "text-sm"], [1, "flex", "items-center", "gap-1", "text-xs", "text-green-600", "dark:text-green-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-blue-600", "dark:text-blue-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-slate-500", "dark:text-slate-400", "font-medium"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", "clip-rule", "evenodd"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "click"], [1, "flex", "items-center", "justify-between"], [1, "text-sm", "font-medium", "text-slate-600", "dark:text-slate-400"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-slate-400", "dark:text-slate-500", "hover:text-blue-500", "dark:hover:text-blue-400", "hover:translate-x-1", "transition-all"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "flex", "items-center", "gap-4", "mb-6"], [1, "flex-1", "h-px", 3, "ngClass"], [1, "text-sm", "font-medium", "px-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6", "opacity-60"], [3, "closeModal"]], template: function SymphiqProfileFocusAreasAnalysesDashboardComponent_Template(rf, ctx) { if (rf & 1) {
95311
+ } }, inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalyses: [1, "profileAnalyses"], profileFocusAreas: [1, "profileFocusAreas"], itemStatusesProfileFocusArea: [1, "itemStatusesProfileFocusArea"], itemStatusesProfileAnalysis: [1, "itemStatusesProfileAnalysis"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], profileFocusAreaQuestions: [1, "profileFocusAreaQuestions"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], maxAccessibleStepId: [1, "maxAccessibleStepId"], viewMode: [1, "viewMode"], displayMode: [1, "displayMode"], currentStepId: [1, "currentStepId"] }, outputs: { navigateToProfileFocusArea: "navigateToProfileFocusArea", stepClick: "stepClick", nextStepClick: "nextStepClick", answerFocusAreaProfileQuestions: "answerFocusAreaProfileQuestions", continueFocusAreaProfileQuestions: "continueFocusAreaProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", focusAreaProfileAdminAnswerAction: "focusAreaProfileAdminAnswerAction" }, decls: 68, vars: 29, consts: [[1, "min-h-screen", "relative"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "fixed", "top-0", "left-0", "right-0", "h-1", "z-[60]", "bg-slate-200/30"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "container", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8", "md:py-12", "relative", "z-10"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "px-8", "py-8"], [1, "flex", "items-start", "gap-6"], [1, "flex-shrink-0", "w-16", "h-16", "rounded-2xl", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "flex-1"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-3", "gap-6", "mb-6"], [1, "lg:col-span-2", "space-y-3"], [1, "text-base", "leading-relaxed", 3, "ngClass"], [1, "font-semibold"], [1, "lg:col-span-1"], ["currentStepId", "focus-areas", 3, "viewMode", "focusAreaDetails"], [1, "mt-6", "p-5", "rounded-xl", "border-l-4", "flex", "items-start", "gap-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["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, "font-bold", "text-lg", "mb-2", 3, "ngClass"], [1, "space-y-2", "text-sm", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], [1, "mt-6", "p-5", "rounded-xl", "border", "flex", "items-start", "gap-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6"], [3, "class"], [1, "mt-12"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "p-6", "flex-1"], [1, "flex", "items-start", "justify-between", "mb-4"], [1, "text-4xl"], [1, "flex", "flex-col", "items-end", "gap-2"], [3, "ngClass"], [1, "px-3", "py-1", "bg-green-100", "dark:bg-green-900/30", "text-green-700", "dark:text-green-400", "text-xs", "font-semibold", "rounded-full"], [1, "mt-3", "mb-2"], [3, "itemStatus", "viewMode", "compact"], [1, "flex", "items-center", "gap-2", "py-2"], [1, "space-y-2"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "class"], [1, "flex", "items-center", "gap-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-amber-500/30", "border-t-amber-500", "rounded-full"], [1, "text-xs", "text-amber-600", "dark:text-amber-400", "font-medium"], [1, "flex", "items-center", "justify-between", "text-sm"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "flex", "items-center", "gap-1", "text-xs", "text-green-600", "dark:text-green-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-blue-600", "dark:text-blue-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-slate-500", "dark:text-slate-400", "font-medium"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", "clip-rule", "evenodd"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "click"], [1, "flex", "items-center", "justify-between"], [1, "text-sm", "font-medium", "text-slate-600", "dark:text-slate-400"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-slate-400", "dark:text-slate-500", "hover:text-blue-500", "dark:hover:text-blue-400", "hover:translate-x-1", "transition-all"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "flex", "items-center", "gap-4", "mb-6"], [1, "flex-1", "h-px", 3, "ngClass"], [1, "text-sm", "font-medium", "px-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6", "opacity-60"], [3, "closeModal"]], template: function SymphiqProfileFocusAreasAnalysesDashboardComponent_Template(rf, ctx) { if (rf & 1) {
95241
95312
  i0.ɵɵelementStart(0, "div", 0);
95242
95313
  i0.ɵɵelement(1, "div", 1);
95243
95314
  i0.ɵɵelementStart(2, "div", 2);
@@ -95321,7 +95392,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95321
95392
  i0.ɵɵtext(62, " The final step\u2014Metric Analysis\u2014lets you provide funnel-specific context for each conversion point. This granular knowledge ensures recommendations address the precise bottlenecks in your customer journey, creating a complete picture from top-of-funnel awareness to revenue. ");
95322
95393
  i0.ɵɵelementEnd()()()()()()();
95323
95394
  i0.ɵɵelementStart(63, "div", 33);
95324
- i0.ɵɵrepeaterCreate(64, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template, 17, 14, "div", 34, _forTrack0$5);
95395
+ i0.ɵɵrepeaterCreate(64, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template, 18, 14, "div", 34, _forTrack0$5);
95325
95396
  i0.ɵɵelementEnd();
95326
95397
  i0.ɵɵconditionalCreate(66, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Template, 9, 3, "div", 35);
95327
95398
  i0.ɵɵelementEnd()();
@@ -95372,11 +95443,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95372
95443
  i0.ɵɵconditional(ctx.notInterestedFocusAreaCards().length > 0 ? 66 : -1);
95373
95444
  i0.ɵɵadvance();
95374
95445
  i0.ɵɵconditional(ctx.showSearchModal() ? 67 : -1);
95375
- } }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent], styles: [".animated-bubbles[_ngcontent-%COMP%]{background:linear-gradient(135deg,#6366f10d,#a855f70d)}.animated-bubbles.light-mode[_ngcontent-%COMP%]{background:linear-gradient(135deg,#3b82f608,#9333ea08)}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out}.animated-bubbles[_ngcontent-%COMP%]:before{width:500px;height:500px;background:radial-gradient(circle,rgba(99,102,241,.1) 0%,transparent 70%);top:-250px;right:-250px;animation-delay:-5s}.animated-bubbles[_ngcontent-%COMP%]:after{width:400px;height:400px;background:radial-gradient(circle,rgba(168,85,247,.1) 0%,transparent 70%);bottom:-200px;left:-200px;animation-delay:-10s}@keyframes _ngcontent-%COMP%_float{0%,to{transform:translateY(0) translate(0)}25%{transform:translateY(-50px) translate(50px)}50%{transform:translateY(-100px) translate(-50px)}75%{transform:translateY(-50px) translate(-100px)}}"], changeDetection: 0 }); }
95446
+ } }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent], styles: [".animated-bubbles[_ngcontent-%COMP%]{background:linear-gradient(135deg,#6366f10d,#a855f70d)}.animated-bubbles.light-mode[_ngcontent-%COMP%]{background:linear-gradient(135deg,#3b82f608,#9333ea08)}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out}.animated-bubbles[_ngcontent-%COMP%]:before{width:500px;height:500px;background:radial-gradient(circle,rgba(99,102,241,.1) 0%,transparent 70%);top:-250px;right:-250px;animation-delay:-5s}.animated-bubbles[_ngcontent-%COMP%]:after{width:400px;height:400px;background:radial-gradient(circle,rgba(168,85,247,.1) 0%,transparent 70%);bottom:-200px;left:-200px;animation-delay:-10s}@keyframes _ngcontent-%COMP%_float{0%,to{transform:translateY(0) translate(0)}25%{transform:translateY(-50px) translate(50px)}50%{transform:translateY(-100px) translate(-50px)}75%{transform:translateY(-50px) translate(-100px)}}"], changeDetection: 0 }); }
95376
95447
  }
95377
95448
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileFocusAreasAnalysesDashboardComponent, [{
95378
95449
  type: Component,
95379
- args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
95450
+ args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
95380
95451
  <div [class]="getContainerClasses()" class="min-h-screen relative">
95381
95452
  <div class="animated-bubbles" [class.light-mode]="isLightMode()"
95382
95453
  style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
@@ -95544,30 +95615,24 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95544
95615
  </div>
95545
95616
  }
95546
95617
 
95547
- @if (focusArea.selfContentStatus !== null && focusArea.selfContentStatus !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
95548
- <div class="w-full space-y-2 py-2">
95549
- <div class="flex items-center gap-2">
95550
- <div class="animate-spin w-4 h-4 border-2 border-blue-500/30 border-t-blue-500 rounded-full"></div>
95551
- <span class="text-xs font-medium" [class]="isLightMode() ? 'text-blue-600' : 'text-blue-400'">
95552
- {{ focusArea.itemStatus?.message || 'Generating Profile...' }}
95553
- </span>
95554
- </div>
95555
- <div class="w-full h-2 rounded-full" [class]="isLightMode() ? 'bg-slate-200' : 'bg-slate-700'">
95556
- <div
95557
- class="h-full bg-gradient-to-r from-blue-500 to-cyan-500 rounded-full transition-all duration-500"
95558
- [style.width.%]="focusArea.itemStatus?.percentageComplete ?? 0"
95559
- ></div>
95560
- </div>
95561
- <div class="text-xs tabular-nums" [class]="isLightMode() ? 'text-slate-500' : 'text-slate-400'">
95562
- {{ focusArea.itemStatus?.percentageComplete ?? 0 }}% complete
95563
- </div>
95564
- </div>
95565
- } @else if (focusArea.selfContentStatus === null && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
95618
+ @if (focusArea.profileFocusArea && focusArea.selfContentStatusProfileFocusArea !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
95619
+ <symphiq-content-generation-progress
95620
+ [itemStatus]="focusArea.itemStatusProfileFocusArea ?? undefined"
95621
+ [viewMode]="viewMode()"
95622
+ [compact]="true"
95623
+ />
95624
+ } @else if (focusArea.profileAnalysis && focusArea.selfContentStatusProfileAnalysis !== null && focusArea.selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
95625
+ <symphiq-content-generation-progress
95626
+ [itemStatus]="focusArea.itemStatusProfileAnalysis ?? undefined"
95627
+ [viewMode]="viewMode()"
95628
+ [compact]="true"
95629
+ />
95630
+ } @else if (focusArea.selfContentStatusProfileFocusArea === null && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
95566
95631
  <div class="flex items-center gap-2 py-2">
95567
95632
  <div class="animate-spin w-4 h-4 border-2 border-amber-500/30 border-t-amber-500 rounded-full"></div>
95568
95633
  <span class="text-xs text-amber-600 dark:text-amber-400 font-medium">Profile Generation Pending</span>
95569
95634
  </div>
95570
- } @else if (focusArea.selfContentStatus === AiDynamicContentStatusEnum.GENERATED || focusArea.status !== 'pending') {
95635
+ } @else if ((focusArea.selfContentStatusProfileFocusArea === AiDynamicContentStatusEnum.GENERATED && (focusArea.selfContentStatusProfileAnalysis === null || focusArea.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED)) || focusArea.status !== 'pending') {
95571
95636
  <div class="space-y-2">
95572
95637
  <div class="flex items-center justify-between text-sm">
95573
95638
  <span [class]="getLabelClasses()">Progress</span>
@@ -95698,11 +95763,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95698
95763
  }
95699
95764
  </div>
95700
95765
  `, styles: [".animated-bubbles{background:linear-gradient(135deg,#6366f10d,#a855f70d)}.animated-bubbles.light-mode{background:linear-gradient(135deg,#3b82f608,#9333ea08)}.animated-bubbles:before,.animated-bubbles:after{content:\"\";position:absolute;border-radius:50%;animation:float 20s infinite ease-in-out}.animated-bubbles:before{width:500px;height:500px;background:radial-gradient(circle,rgba(99,102,241,.1) 0%,transparent 70%);top:-250px;right:-250px;animation-delay:-5s}.animated-bubbles:after{width:400px;height:400px;background:radial-gradient(circle,rgba(168,85,247,.1) 0%,transparent 70%);bottom:-200px;left:-200px;animation-delay:-10s}@keyframes float{0%,to{transform:translateY(0) translate(0)}25%{transform:translateY(-50px) translate(50px)}50%{transform:translateY(-100px) translate(-50px)}75%{transform:translateY(-50px) translate(-100px)}}\n"] }]
95701
- }], null, { requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], profileAnalyses: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalyses", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], focusAreaDetails: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaDetails", required: false }] }], account: [{ type: i0.Input, args: [{ isSignal: true, alias: "account", required: false }] }], profileFocusAreas: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreas", required: false }] }], profileFocusAreaQuestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreaQuestions", required: false }] }], itemStatusesProfileFocusArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileFocusArea", required: false }] }], itemStatusesProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileAnalysis", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], currentUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentUser", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], displayMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayMode", required: false }] }], currentStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentStepId", required: false }] }], navigateToProfileFocusArea: [{ type: i0.Output, args: ["navigateToProfileFocusArea"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], answerFocusAreaProfileQuestions: [{ type: i0.Output, args: ["answerFocusAreaProfileQuestions"] }], continueFocusAreaProfileQuestions: [{ type: i0.Output, args: ["continueFocusAreaProfileQuestions"] }], profileQuestionAnswerSave: [{ type: i0.Output, args: ["profileQuestionAnswerSave"] }], focusAreaProfileAdminAnswerAction: [{ type: i0.Output, args: ["focusAreaProfileAdminAnswerAction"] }], onScroll: [{
95766
+ }], null, { requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], profileAnalyses: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalyses", required: false }] }], profileFocusAreas: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreas", required: false }] }], itemStatusesProfileFocusArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileFocusArea", required: false }] }], itemStatusesProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileAnalysis", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], focusAreaDetails: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaDetails", required: false }] }], account: [{ type: i0.Input, args: [{ isSignal: true, alias: "account", required: false }] }], profileFocusAreaQuestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreaQuestions", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], currentUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentUser", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], displayMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayMode", required: false }] }], currentStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentStepId", required: false }] }], navigateToProfileFocusArea: [{ type: i0.Output, args: ["navigateToProfileFocusArea"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], answerFocusAreaProfileQuestions: [{ type: i0.Output, args: ["answerFocusAreaProfileQuestions"] }], continueFocusAreaProfileQuestions: [{ type: i0.Output, args: ["continueFocusAreaProfileQuestions"] }], profileQuestionAnswerSave: [{ type: i0.Output, args: ["profileQuestionAnswerSave"] }], focusAreaProfileAdminAnswerAction: [{ type: i0.Output, args: ["focusAreaProfileAdminAnswerAction"] }], onScroll: [{
95702
95767
  type: HostListener,
95703
95768
  args: ['window:scroll', ['$event']]
95704
95769
  }] }); })();
95705
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileFocusAreasAnalysesDashboardComponent, { className: "SymphiqProfileFocusAreasAnalysesDashboardComponent", filePath: "lib/components/profile-analyses-focus-areas-dashboard/symphiq-profile-focus-areas-analyses-dashboard.component.ts", lineNumber: 437 }); })();
95770
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileFocusAreasAnalysesDashboardComponent, { className: "SymphiqProfileFocusAreasAnalysesDashboardComponent", filePath: "lib/components/profile-analyses-focus-areas-dashboard/symphiq-profile-focus-areas-analyses-dashboard.component.ts", lineNumber: 435 }); })();
95706
95771
 
95707
95772
  const _c0$5 = () => [];
95708
95773
  function SymphiqProfileFocusAreaDashboardComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {